/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vldc.c | 76 static int i_vldc_remove_port(vldc_t *vldcp, uint_t portno); 77 static int i_vldc_close_port(vldc_t *vldcp, uint_t portno); 352 uint64_t portno; in i_vldc_mdeg_cb() local 396 if (md_get_prop_val(mdp, node, "id", &portno)) { in i_vldc_mdeg_cb() 403 if ((rv = i_vldc_remove_port(vldcp, portno)) != 0) { in i_vldc_mdeg_cb() 405 "port %lu, err %d", portno, rv); in i_vldc_mdeg_cb() 581 uint64_t portno; in i_vldc_add_port() local 591 if (md_get_prop_val(mdp, node, "id", &portno)) { in i_vldc_add_port() 597 if (portno >= VLDC_MAX_PORTS) { in i_vldc_add_port() 599 "larger than maximum supported number of ports", portno); in i_vldc_add_port() [all …]
|
H A D | vcc.c | 88 uint_t portno, char *domain_name); 89 static int i_vcc_config_port(vcc_t *vccp, uint_t portno, uint64_t ldc_id); 678 i_vcc_config_port(vcc_t *vccp, uint_t portno, uint64_t ldc_id) in i_vcc_config_port() argument 683 if ((portno >= VCC_MAX_PORTS) || (portno == VCC_CONTROL_PORT)) { in i_vcc_config_port() 685 portno); in i_vcc_config_port() 689 vport = &(vccp->port[portno]); in i_vcc_config_port() 692 portno); in i_vcc_config_port() 699 "configured\n", portno); in i_vcc_config_port() 732 uint_t portno, char *domain_name) in i_vcc_add_port() argument 741 if ((portno >= VCC_MAX_PORTS) || (portno == VCC_CONTROL_PORT)) { in i_vcc_add_port() [all …]
|
H A D | vlds.c | 1068 uint64_t portno; in vlds_mdeg_cb() local 1107 if (md_get_prop_val(mdp, node, "id", &portno)) { in vlds_mdeg_cb() 1114 if ((rv = ds_remove_port(portno, 0)) != 0) { in vlds_mdeg_cb() 1116 " err %d", __func__, portno, rv); in vlds_mdeg_cb() 1206 uint64_t portno; in vlds_add_mdeg_port() local 1213 if (md_get_prop_val(mdp, node, "id", &portno)) { in vlds_add_mdeg_port() 1219 if (portno >= DS_MAX_PORTS) { in vlds_add_mdeg_port() 1222 portno); in vlds_add_mdeg_port() 1232 cmn_err(CE_NOTE, "!ds%lx: %s no %s property", portno, __func__, in vlds_add_mdeg_port() 1239 cmn_err(CE_NOTE, "!ds%lx: %s no %s property", portno, __func__, in vlds_add_mdeg_port() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/ |
H A D | uftdi_dsd.c | 363 uftdi_register_cb(ds_hdl_t hdl, uint_t portno, ds_cb_t *cb) in uftdi_register_cb() argument 367 ASSERT(portno == 0); in uftdi_register_cb() 379 uftdi_unregister_cb(ds_hdl_t hdl, uint_t portno) in uftdi_unregister_cb() argument 383 ASSERT(portno == 0); in uftdi_unregister_cb() 394 uftdi_open_port(ds_hdl_t hdl, uint_t portno) in uftdi_open_port() argument 399 USB_DPRINTF_L4(DPRINT_OPEN, uf->uf_lh, "uftdi_open_port %d", portno); in uftdi_open_port() 401 ASSERT(portno == 0); in uftdi_open_port() 439 uftdi_close_port(ds_hdl_t hdl, uint_t portno) in uftdi_close_port() argument 443 USB_DPRINTF_L4(DPRINT_CLOSE, uf->uf_lh, "uftdi_close_port %d", portno); in uftdi_close_port() 445 ASSERT(portno == 0); in uftdi_close_port() [all …]
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vldc_impl.h | 58 ((vldcp)->minor_tbl[(minor) & VLDC_MINOR_MASK].portno) 91 uint_t portno; /* port number */ member
|
H A D | vcc_impl.h | 220 VCC_CONTROL_PORT)].portno) 243 uint_t portno; /* port number */ member
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_isr.c | 57 u32 portno = adapter->portnum; in unm_nic_isr_other() local 69 portno, ((linkup == 0) ? "down" : "up")); in unm_nic_isr_other()
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | vntsd.c | 618 vntsd_vcc_ioctl(int ioctl_code, uint_t portno, void *buf) in vntsd_vcc_ioctl() argument 620 D1(stderr, "t@%d vcc_ioctl@%d code=%x\n", thr_self(), portno, in vntsd_vcc_ioctl() 626 *((uint_t *)buf) = portno; in vntsd_vcc_ioctl()
|
H A D | vntsd.h | 469 int vntsd_vcc_ioctl(int ioctl_code, uint_t portno, void *buf);
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/ |
H A D | topo_usb.c | 419 int64_t *portno; in topo_usb_gather_acpi_port() local 434 &portno) != 1 || *portno < 1 || *portno >= USB_TOPO_PORT_MAX) { in topo_usb_gather_acpi_port() 458 lport = topo_usb_lport_find(plist, (uint_t)*portno); in topo_usb_gather_acpi_port() 461 "%s/%u", acpi, (uint_t)*portno); in topo_usb_gather_acpi_port() 602 topo_usb_port_create(topo_mod_t *mod, uint_t portno, const char *parent, in topo_usb_port_create() argument 611 l->tul_portno = portno; in topo_usb_port_create() 613 portno) >= sizeof (l->tul_name)) { in topo_usb_port_create()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | daemon.c | 1437 short portno; local 1775 portno = htons((unsigned short) atoi(port)); 1789 portno = sp->s_port; 1793 (char *) &portno, 2);
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 672 usb_port_t portno; in hubd_set_child_pwrlvl() local 683 for (portno = 1; portno <= hubd->h_nports; portno++) { in hubd_set_child_pwrlvl() 684 old_power += hubpm->hubp_child_pwrstate[portno]; in hubd_set_child_pwrlvl()
|