Lines Matching refs:connection

61 hp_init(const char *path, const char *connection, uint_t flags)
68 i_hp_dprintf("hp_init: path=%p, connection=%p, flags=0x%x\n",
69 (void *)path, (void *)connection, flags);
79 if ((args = i_hp_set_args(HP_CMD_GETINFO, path, connection, flags,
307 * Return a type description (e.g. "PCI slot") for connection nodes.
338 * Return when the state of a connection was last changed.
436 * Return the path (and maybe connection name) of a node.
440 hp_path(hp_node_t node, char *path, char *connection)
448 i_hp_dprintf("hp_path: node=%p, path=%p, connection=%p\n", (void *)node,
449 (void *)path, (void *)connection);
451 if ((node == NULL) || (path == NULL) || (connection == NULL)) {
457 (void) memset(connection, 0, MAXPATHLEN);
460 /* Set 'connection' only for connectors and ports */
463 (void) strlcpy(connection, node->hp_name, MAXPATHLEN);
514 char connection[MAXPATHLEN];
556 /* Get path and connection of specified node */
557 if ((rv = hp_path(node, path, connection)) != 0)
561 if ((args = i_hp_set_args(HP_CMD_CHANGESTATE, path, connection, flags,
585 * Set bus private options on the hotplug connection
596 char connection[MAXPATHLEN];
616 /* Get path and connection of specified node */
617 if ((rv = hp_path(node, path, connection)) != 0)
621 if ((args = i_hp_set_args(HP_CMD_SETPRIVATE, path, connection, 0,
645 * Get bus private options on the hotplug connection
656 char connection[MAXPATHLEN];
676 /* Get path and connection of specified node */
677 if ((rv = hp_path(node, path, connection)) != 0)
681 if ((args = i_hp_set_args(HP_CMD_GETPRIVATE, path, connection, 0,
1279 i_hp_set_args(hp_cmd_t cmd, const char *path, const char *connection,
1295 /* Add connection, but only if defined */
1296 if ((connection != NULL) && (connection[0] != '\0') &&
1297 (nvlist_add_string(args, HPD_CONNECTION, connection) != 0)) {