Searched refs:ap_id (Results 1 - 25 of 42) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c34 * the HCA static ap_id, and the IB static ap_id.
38 * packed nvlist data structure to hold ap_id related information.
99 "ap_id [ap_id...]\n",
148 "Invalid ap_id supplied " },
251 * node_path - Physical path of the ap_id node
253 * logpp - Logical path to the ap_id node
259 * Given a physical path to an ap_id ensure that it exists
379 * ap_id
399 ib_err_msg(char **errstring, cfga_ib_ret_t rv, const char *ap_id, int l_errno) argument
493 ib_verify_valid_apid(const char *ap_id) argument
544 ib_verify_params(const char *ap_id, const char *options, char **errstring) argument
616 ib_setup_for_devctl_cmd(char *ap_id, boolean_t use_static_ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp) argument
751 ib_do_control_ioctl(char *ap_id, uint_t sub_cmd1, uint_t sub_cmd2, uint_t misc_arg, void **descrp, size_t *sizep) argument
860 cfga_change_state(cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1048 cfga_private_func(const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1529 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1553 ib_fill_static_apids(char *ap_id, cfga_list_data_t *clp) argument
1639 cfga_list_ext(const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
2113 ib_get_devicepath(const char *ap_id) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c62 " cfgadm -c [configure|unconfigure|disconnect] ap_id [ap_id...]\n",
63 " cfgadm -x usb_reset ap_id [ap_id...]\n",
64 " cfgadm -x usb_config -o config=<index of desired configuration> ap_id\n",
321 * Some messages may display ap_id or errno, which is why they are passed
325 usb_err_msg(char **errstring, cfga_usb_ret_t rv, const char *ap_id, int l_errno) argument
366 /* These messages also print ap_id. */
368 "ap_id: ", ap_id, "", NUL
415 verify_valid_apid(const char *ap_id) argument
444 verify_params( const char *ap_id, const char *options, char **errstring) argument
478 get_port_num(const char *ap_id, uint_t *port) argument
515 setup_for_devctl_cmd(const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument
623 do_control_ioctl(const char *ap_id, uint_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument
735 set_configuration(const char *ap_id, uint_t config, char *driver, usb_dev_descr_t *descrp, char **errstring) argument
828 get_config(const char *ap_id, uint_t *config) argument
887 fill_in_ap_info(const char *ap_id, char *info_buf, size_t info_size) argument
1001 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1214 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1443 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1457 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
1723 usb_get_devicepath(const char *ap_id) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c61 " cfgadm -c [configure|unconfigure|disconnect|connect] ap_id "
62 "[ap_id...]\n",
63 " cfgadm -x sata_reset_port ap_id [ap_id...]\n",
64 " cfgadm -x sata_reset_device ap_id [ap_id...]\n",
65 " cfgadm -x sata_reset_all ap_id\n",
66 " cfgadm -x sata_port_deactivate ap_id [ap_id...]\n",
67 " cfgadm -x sata_port_activate ap_id [ap_i
457 sata_err_msg( char **errstring, cfga_sata_ret_t rv, const char *ap_id, int l_errno) argument
563 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
915 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1126 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1235 sata_make_dyncomp(const char *ap_id, char **dyncomp, const char *type) argument
1411 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
1785 verify_valid_apid(const char *ap_id) argument
1814 verify_params( const char *ap_id, const char *options, char **errstring) argument
1854 get_port_num(const char *ap_id, uint32_t *port) argument
1898 setup_for_devctl_cmd( const char *ap_id, devctl_hdl_t *devctl_hdl, nvlist_t **user_nvlistp, uint_t oflag) argument
1990 do_control_ioctl(const char *ap_id, sata_cfga_apctl_t subcommand, uint_t arg, void **descrp, size_t *sizep) argument
2102 sata_get_devicepath(const char *ap_id) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/acpihpd/
H A Dnotify.c194 event_process(char *ap_id, char *req, char *acpi_event_type) argument
202 "Event is not supported (ap_id = %s, req = %s)",
203 ap_id, req);
207 apids[0] = ap_id;
218 "board '%s' has been assigned successfully", ap_id);
227 "board '%s' has been powered on successfully", ap_id);
236 "board '%s' has been connected successfully", ap_id);
245 "board '%s' has been configured successfully", ap_id);
251 "board '%s' has been added into system successfully", ap_id);
259 syslog(LOG_ERR, "failed to add board '%s' into system", ap_id);
270 char *ap_id, *req, *acpi_event_type; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.c59 const char *ap_id,
86 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
110 const char *ap_id,
137 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
163 const char *ap_id,
183 const char *ap_id,
218 if (GET_DYN(ap_id) == NULL) {
240 if ((ret = apidt_create(ap_id, &apidt, errstring)) != SCFGA_OK) {
57 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
108 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
162 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
182 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c159 static cfga_err_t fix_ap_name(char *ap_log_id, const char *ap_id,
172 "ap_id [ap_id...]",
173 "\t-x enable_slot ap_id [ap_id...]",
174 "\t-x disable_slot ap_id [ap_id...]",
175 "\t-x enable_autoconfig ap_id [ap_id...]",
176 "\t-x disable_autoconfig ap_id [ap_i
272 get_occupants(const char *ap_id, hpc_occupant_info_t *occupant) argument
510 check_rcm(const char *ap_id, hpc_occupant_info_t *occupant, rcm_handle_t **rhandlep, char **errstring, cfga_flags_t flags) argument
579 cfga_change_state(cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
828 get_logical_name(const char *ap_id, char *buf, dev_t rdev) argument
867 prt_led_mode(const char *ap_id, int repeat, char **errstring, struct cfga_msg *msgp) argument
1003 cfga_private_func(const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1139 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1367 check_devlinks(char *ap_log_id, const char *ap_id) argument
1397 fix_ap_name(char *ap_log_id, const char *ap_id, char *slot_name, char **errstring) argument
1499 cfga_list_ext(const char *ap_id, cfga_list_data_t **cs, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/oplhpd/
H A Dscf_notify.c66 * Note the size of the ap_id must be SCFDATA_APID for proper data alignment
71 char ap_id[SCFDATA_APID]; member in struct:__anon1160
83 * pci_name is an ap_id phys path for the hot pluggable pci device.
99 void scf_get_slotinfo(char *ap_id, cfga_stat_t *o_state,
112 const char *ap_id)
122 syslog(LOG_DEBUG, "%s: %s (%s), ap_id = %s\n",
123 func_name, ep, errstr, ap_id);
125 syslog(LOG_DEBUG, "%s: %s , ap_id = %s\n",
126 func_name, ep, ap_id);
196 char *ap_lid_ptr; /* logical ap_id pointe
111 config_error(cfga_err_t err, const char *func_name, const char *errstr, const char *ap_id) argument
372 char *ap_id = NULL; /* attachment point */ local
[all...]
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dcfga.c43 const char *ap_id,
60 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL)
102 const char *ap_id,
113 DBG("cfga_private_func(%s)\n", ap_id);
117 if ((a = apd_alloc(ap_id, flags, errstring, msgp, confp)) == NULL)
137 const char *ap_id,
148 DBG("cfga_test(%s)\n", ap_id);
159 if ((a = apd_alloc(ap_id, flags, errstring, msgp, NULL)) == NULL)
173 const char *ap_id,
194 DBG("cfga_list_ext(%s %x)\n", ap_id, flag
41 cfga_change_state( cfga_cmd_t cfga_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
100 cfga_private_func( const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
136 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
172 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.c45 const char *ap_id,
77 if ((ret = apidt_create(ap_id, &apidt, errstring)) != CFGA_OK) {
161 const char *ap_id,
183 const char *ap_id,
204 const char *ap_id,
270 if (GET_DYN(ap_id) == NULL) {
296 ret = do_list_FCP_dev(ap_id, fp_flags, cmd, &ldatalistp, &nelem,
303 if ((ret = apidt_create(ap_id, &apidt, errstring))
43 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
159 cfga_private_func( const char *func, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
182 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
203 cfga_list_ext( const char *ap_id, cfga_list_data_t **ap_id_list, int *nlistp, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c379 static int create_i2c_node(char *ap_id);
380 static void delete_i2c_node(char *ap_id);
386 static void get_fantray_path(char *ap_id, char *path, int bufsz);
1422 get_fantray_path(char *ap_id, char *path, int bufsz) argument
1426 (void) strlcpy(ft_id, ap_id, FT_ID_BUFSZ);
1430 if ((strncmp(ap_id, "FT0", 3) == 0) ||
1431 (strncmp(ap_id, "FT1", 3) == 0) ||
1432 (strncmp(ap_id, "FT2", 3) == 0)) {
1434 } else if ((strncmp(ap_id, "FT3", 3) == 0) ||
1435 (strncmp(ap_id, "FT
1476 char *ap_id; local
2848 create_i2c_node(char *ap_id) argument
2903 delete_i2c_node(char *ap_id) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c160 static cfga_err_t fix_ap_name(char *ap_log_id, const char *ap_id,
171 "ap_id [ap_id...]",
172 "\t-x enable_slot ap_id [ap_id...]",
173 "\t-x disable_slot ap_id [ap_id...]",
174 "\t-x enable_autoconfig ap_id [ap_id...]",
175 "\t-x disable_autoconfig ap_id [ap_i
616 cfga_change_state(cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
787 prt_led_mode(const char *ap_id, int repeat, char **errstring, struct cfga_msg *msgp) argument
880 cfga_private_func(const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1005 cfga_test(const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1213 check_devlinks(char *ap_log_id, const char *ap_id) argument
1243 fix_ap_name(char *ap_log_id, const char *ap_id, char *slot_name, char **errstring) argument
1374 cfga_list_ext(const char *ap_id, cfga_list_data_t **cs, int *nlist, const char *options, const char *listopts, char **errstring, cfga_flags_t flags) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c105 char *ap_id; local
127 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id)) {
146 (void) update_devices(ap_id, DEV_ADD);
148 (void) update_devices(ap_id, DEV_REMOVE);
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c191 /* n */ "\t-x quiesce-test ap_id [ap_id...]",
192 /* n */ "\t-x insert-test ap_id [ap_id...]",
193 /* n */ "\t-x remove-test ap_id [ap_id...]",
536 sysc_stat(const char *ap_id, int *fdp) argument
542 if ((fd = open(ap_id, O_RDWR, 0)) == -1)
568 sim_sysc_stat(const char *ap_id, int *fdp) argument
592 } else if ((fd = open(ap_id, O_RDW
826 ap_idx(const char *ap_id) argument
868 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1057 cfga_private_func( const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1149 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1347 cfga_list( const char *ap_id, cfga_stat_data_t **ap_list, int *nlist, const char *options, char **errstring) argument
1388 cfga_stat( const char *ap_id, struct cfga_stat_data *cs, const char *options, char **errstring) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/usb/
H A Dusb.xcl100 msgid "ap_id: "
109 msgid "verify_params: dynamic ap_id passed\n"
127 msgid "set_configuration: ap_id: %s, config:%d\n"
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpicl_slm.c250 char *ap_id = NULL; local
257 if (nvlist_lookup_string(nvlist, DR_AP_ID, &ap_id) != 0 ||
258 ap_id == NULL) {
263 if (nvlist_add_string(nvl, PICLEVENTARG_AP_ID, ap_id)) {
280 (dr_req ? dr_req : "Investigate"), ap_id);
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclscsi.c231 * caller should allocate memory for ap_id
234 find_scsi_controller(char *devfs_path, plist_t *list, char *ap_id) argument
241 if (devfs_path == NULL || ap_id == NULL) {
257 (void) strncpy(ap_id, tmp->data->ap_log_id,
258 sizeof (ap_id));
337 char addr[BUF_SIZE], ap_id[BUF_SIZE]; local
340 (void) strncpy(ap_id, scsi_loc, sizeof (ap_id));
341 ap = strrchr(ap_id, ':');
343 ap = ap_idp = ap_id;
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.h79 char ap_id[32]; /* Attachment point name */ member in struct:cardbus_dev
/opensolaris-onvv-gate/usr/src/uts/sun4u/starcat/sys/
H A Dschpc.h87 char ap_id[MAXNAMELEN]; /* Attachment point name */ member in struct:__anon10126
/opensolaris-onvv-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c44 static int create_ap_instance(char *ap_id, char *wwn_string,
282 create_ap_instance(char *ap_id, char *wwn_string, argument
313 if ((bus_handle = devctl_bus_acquire(ap_id, 0)) == NULL) {
/opensolaris-onvv-gate/usr/src/cmd/sf880drd/
H A Dsf880drd.c184 pushbutton_event(char *ap_id) argument
192 rv = config_list_ext(1, &ap_id, &stat, &nlist,
219 rv = config_change_state(cmd, 1, &ap_id, NULL, NULL, NULL, &errstr, 0);
/opensolaris-onvv-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c607 sysevent_process_dr(gchar *ap_id, gchar *hint_val) argument
615 if ((ap_id == NULL) || (hint_val == NULL))
617 HAL_DEBUG (("sysevent_process_dr: %s", ap_id));
619 cfgerr = config_list_ext (1, (char *const *)&ap_id, &cfg_stat, &nlist,
624 ap_id, errstr));
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema.c194 "\t-o {quick, normal, extended},[max_errors=#] -t ap_id [ap_id...]\n";
195 static const char private_funcs[] = "\t-x relocate-test ap_id [ap_id...]\n";
418 ap_bk_idx(const char *ap_id) argument
424 DBG("ap_bk_idx(%s)\n", ap_id);
426 if ((s = strstr(ap_id, bank)) == NULL)
724 const char *ap_id,
741 rc = mema_add(ap_id, options, errstring, force);
745 rc = mema_delete(ap_id, option
722 cfga_change_state( cfga_cmd_t state_change_cmd, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
758 cfga_private_func( const char *function, const char *ap_id, const char *options, struct cfga_confirm *confp, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1087 cfga_test( const char *ap_id, const char *options, struct cfga_msg *msgp, char **errstring, cfga_flags_t flags) argument
1379 cfga_stat( const char *ap_id, struct cfga_stat_data *cs, const char *options, char **errstring) argument
1411 cfga_list( const char *ap_id, cfga_stat_data_t **ap_list, int *nlist, const char *options, char **errstring) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c1206 char *ap_id; local
1218 ap_id = kmem_zalloc(ap_id_len, kmflag);
1219 if (ap_id == NULL) {
1228 (void) strcpy(ap_id, cn_path);
1229 (void) strcat(ap_id, ":");
1230 (void) strcat(ap_id, slot_name);
1239 kmem_free(ap_id, ap_id_len);
1274 err = nvlist_add_string(ev_attr_list, DR_AP_ID, ap_id);
1299 kmem_free(ap_id, ap_id_len);
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dddi_hp_impl.c424 char *cn_path, *ap_id; local
452 ap_id = kmem_zalloc(ap_id_len, kmflag);
453 if (ap_id == NULL) {
463 (void) strcpy(ap_id, cn_path);
464 (void) strcat(ap_id, ":");
465 (void) strcat(ap_id, hdlp->cn_info.cn_name);
475 kmem_free(ap_id, ap_id_len);
551 err = nvlist_add_string(ev_attr_list, DR_AP_ID, ap_id);
574 kmem_free(ap_id, ap_id_len);
/opensolaris-onvv-gate/usr/src/uts/sun4u/starcat/io/
H A Dschpc.c603 schpc_p->schpc_slot[slot].ap_id);
615 schpc_p->schpc_slot[slot].ap_id);
631 SCHPC_SLOT_NUM(slot), schpc_p->schpc_slot[slot].ap_id);
643 SCHPC_SLOT_NUM(slot), schpc_p->schpc_slot[slot].ap_id);
668 schpc_p->schpc_slot[slot].ap_id);
691 schpc_p->schpc_slot[slot].ap_id);
717 SCHPC_SLOT_NUM(slot), schpc_p->schpc_slot[slot].ap_id);
746 schpc_p->schpc_slot[slot].ap_id);
759 schpc_p->schpc_slot[slot].ap_id);
772 schpc_p->schpc_slot[slot].ap_id);
3500 char ap_id[MAXNAMELEN]; local
3848 schpc_buildapid(dev_info_t *dip, int slot, char *ap_id) argument
[all...]

Completed in 174 milliseconds

12