Home
last modified time | relevance | path

Searched refs:portno (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/sun4v/io/
H A Dvldc.c76 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 Dvcc.c85 uint_t portno, char *domain_name);
86 static int i_vcc_config_port(vcc_t *vccp, uint_t portno, uint64_t ldc_id);
675 i_vcc_config_port(vcc_t *vccp, uint_t portno, uint64_t ldc_id) in i_vcc_config_port() argument
680 if ((portno >= VCC_MAX_PORTS) || (portno == VCC_CONTROL_PORT)) { in i_vcc_config_port()
682 portno); in i_vcc_config_port()
686 vport = &(vccp->port[portno]); in i_vcc_config_port()
689 portno); in i_vcc_config_port()
696 "configured\n", portno); in i_vcc_config_port()
729 uint_t portno, char *domain_name) in i_vcc_add_port() argument
738 if ((portno >= VCC_MAX_PORTS) || (portno == VCC_CONTROL_PORT)) { in i_vcc_add_port()
[all …]
H A Dvlds.c1068 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 …]
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c361 uftdi_register_cb(ds_hdl_t hdl, uint_t portno, ds_cb_t *cb) in uftdi_register_cb() argument
365 ASSERT(portno == 0); in uftdi_register_cb()
377 uftdi_unregister_cb(ds_hdl_t hdl, uint_t portno) in uftdi_unregister_cb() argument
381 ASSERT(portno == 0); in uftdi_unregister_cb()
392 uftdi_open_port(ds_hdl_t hdl, uint_t portno) in uftdi_open_port() argument
397 USB_DPRINTF_L4(DPRINT_OPEN, uf->uf_lh, "uftdi_open_port %d", portno); in uftdi_open_port()
399 ASSERT(portno == 0); in uftdi_open_port()
437 uftdi_close_port(ds_hdl_t hdl, uint_t portno) in uftdi_close_port() argument
441 USB_DPRINTF_L4(DPRINT_CLOSE, uf->uf_lh, "uftdi_close_port %d", portno); in uftdi_close_port()
443 ASSERT(portno == 0); in uftdi_close_port()
[all …]
/titanic_41/usr/src/uts/sun4v/sys/
H A Dvldc_impl.h58 ((vldcp)->minor_tbl[(minor) & VLDC_MINOR_MASK].portno)
91 uint_t portno; /* port number */ member
H A Dvcc_impl.h220 VCC_CONTROL_PORT)].portno)
243 uint_t portno; /* port number */ member
/titanic_41/usr/src/uts/common/io/ntxn/
H A Dunm_nic_isr.c57 u32 portno = adapter->portnum; in unm_nic_isr_other() local
69 portno, ((linkup == 0) ? "down" : "up")); in unm_nic_isr_other()
/titanic_41/usr/src/cmd/vntsd/
H A Dvntsd.c615 vntsd_vcc_ioctl(int ioctl_code, uint_t portno, void *buf) in vntsd_vcc_ioctl() argument
617 D1(stderr, "t@%d vcc_ioctl@%d code=%x\n", thr_self(), portno, in vntsd_vcc_ioctl()
623 *((uint_t *)buf) = portno; in vntsd_vcc_ioctl()
H A Dvntsd.h469 int vntsd_vcc_ioctl(int ioctl_code, uint_t portno, void *buf);
/titanic_41/usr/src/cmd/sendmail/src/
H A Ddaemon.c1437 short portno; local
1775 portno = htons((unsigned short) atoi(port));
1789 portno = sp->s_port;
1793 (char *) &portno, 2);
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dhubdi.c669 usb_port_t portno; in hubd_set_child_pwrlvl() local
680 for (portno = 1; portno <= hubd->h_hub_descr.bNbrPorts; portno++) { in hubd_set_child_pwrlvl()
681 old_power += hubpm->hubp_child_pwrstate[portno]; in hubd_set_child_pwrlvl()