/linux-2.6.39/drivers/staging/cxt1e1/ |
D | pmcc4_drv.c | 186 int portnum, gchan; in c4_find_chan() local 189 for (portnum = 0; portnum < ci->max_port; portnum++) in c4_find_chan() 192 if ((ch = ci->port[portnum].chan[gchan])) in c4_find_chan() 278 u_int8_t portnum; in checkPorts() local 281 for (portnum = 0; portnum < ci->max_port; portnum++) in checkPorts() 283 copyVal = 0x12f & (ci->alarmed[portnum]); /* port's alarm record */ in checkPorts() 284 comet = ci->port[portnum].cometbase; in checkPorts() 294 ci->devname, portnum); in checkPorts() 297 ci->devname, portnum); in checkPorts() 300 ci->devname, portnum); in checkPorts() [all …]
|
D | linux.c | 193 __func__, pi->portnum, ch->channum, ch); in c4_wk_chan_restart() 231 sprintf (np, "%s%d", pi->up->devname, pi->portnum); /* IE pmcc4-01) */ in c4_wq_port_init() 235 __func__, name, pi->portnum); /* RLD DEBUG */ in c4_wq_port_init() 520 if (pp.portnum >= MUSYCC_NPORTS) in do_get_port() 526 ret = mkret (c4_get_port (ci, pp.portnum)); in do_get_port() 529 if (copy_to_user (data, &ci->port[pp.portnum].p, in do_get_port() 544 if (pp.portnum >= MUSYCC_NPORTS) in do_set_port() 550 if (pp.portnum >= ci->max_port) /* sanity check */ in do_set_port() 553 memcpy (&ci->port[pp.portnum].p, &pp, sizeof (struct sbecom_port_param)); in do_set_port() 554 return mkret (c4_set_port (ci, pp.portnum)); in do_set_port() [all …]
|
D | musycc.c | 578 pr_info(">> same SR, Port %d Req %x\n", pi->portnum, req); in musycc_serv_req() 594 pr_info(">> same CHAN ACT SR, Port %d Req %x => issue SR_NOOP CMD\n", pi->portnum, req); in musycc_serv_req() 604 pr_info(">> same Port SR_NOOP skipped, Port %d\n", pi->portnum); in musycc_serv_req() 633 (pi->portnum * MUSYCC_NCHANS) + (req & 0x1f)); in musycc_serv_req() 641 pi->up->devname, MUSYCC_SR_RETRY_CNT, req, pi->portnum); in musycc_serv_req() 753 gchan = ((pi->portnum * MUSYCC_NCHANS) + (i & hmask)) % MUSYCC_NCHANS; in musycc_update_timeslots() 759 ts = ((pi->portnum % 4) == (i / 32)) ? (tsen << 5) | (i & hmask) : 0; in musycc_update_timeslots() 1008 pi->up->devname, pi->portnum, ch->channum, in musycc_bh_tx_eom() 1021 pi->up->devname, pi->portnum, ch->channum, readCount, md, status); in musycc_bh_tx_eom() 1041 int hdlcnum = (pi->portnum * 32 + gchan); in musycc_bh_tx_eom() [all …]
|
D | pmcc4_private.h | 151 char portnum; member
|
/linux-2.6.39/drivers/rapidio/switches/ |
D | tsi57x.c | 162 int portnum; in tsi57x_em_init() local 166 for (portnum = 0; in tsi57x_em_init() 167 portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { in tsi57x_em_init() 170 TSI578_SP_MODE(portnum), ®val); in tsi57x_em_init() 172 TSI578_SP_MODE(portnum), in tsi57x_em_init() 178 RIO_PORT_N_ERR_STS_CSR(portnum), in tsi57x_em_init() 182 RIO_PORT_N_ERR_STS_CSR(portnum), in tsi57x_em_init() 186 TSI578_SP_INT_STATUS(portnum), ®val); in tsi57x_em_init() 188 TSI578_SP_INT_STATUS(portnum), in tsi57x_em_init() 193 TSI578_SP_CTL_INDEP(portnum), ®val); in tsi57x_em_init() [all …]
|
D | tsi568.c | 117 int portnum; in tsi568_em_init() local 122 for (portnum = 0; in tsi568_em_init() 123 portnum < RIO_GET_TOTAL_PORTS(rdev->swpinfo); portnum++) { in tsi568_em_init() 124 rio_read_config_32(rdev, TSI568_SP_MODE(portnum), ®val); in tsi568_em_init() 125 rio_write_config_32(rdev, TSI568_SP_MODE(portnum), in tsi568_em_init()
|
D | idt_gen2.c | 322 idtg2_em_handler(struct rio_dev *rdev, u8 portnum) in idtg2_em_handler() argument 346 rdev->em_efptr + RIO_EM_PN_ERR_DETECT(portnum), &em_perrdet); in idtg2_em_handler() 354 IDT_PORT_ISERR_DET(portnum), ®val); in idtg2_em_handler() 361 IDT_PORT_ISERR_DET(portnum), 0); in idtg2_em_handler()
|
/linux-2.6.39/drivers/rapidio/ |
D | rio.c | 726 int rc, portnum; in rio_inb_pwrite_handler() local 762 portnum = pw_msg->em.is_port & 0xFF; in rio_inb_pwrite_handler() 774 if (rio_chk_dev_route(rdev, &rdev, &portnum)) { in rio_inb_pwrite_handler() 796 rdev->rswitch->em_handle(rdev, portnum); in rio_inb_pwrite_handler() 799 rdev->phys_efptr + RIO_PORT_N_ERR_STS_CSR(portnum), in rio_inb_pwrite_handler() 801 pr_debug("RIO_PW: SP%d_ERR_STS_CSR=0x%08x\n", portnum, err_status); in rio_inb_pwrite_handler() 805 if (!(rdev->rswitch->port_ok & (1 << portnum))) { in rio_inb_pwrite_handler() 806 rdev->rswitch->port_ok |= (1 << portnum); in rio_inb_pwrite_handler() 807 rio_set_port_lockout(rdev, portnum, 0); in rio_inb_pwrite_handler() 810 rio_name(rdev), portnum); in rio_inb_pwrite_handler() [all …]
|
/linux-2.6.39/drivers/message/fusion/ |
D | mptfc.c | 693 mptfc_display_port_link_speed(MPT_ADAPTER *ioc, int portnum, FCPortPage0_t *pp0dest) in DEF_SCSI_QCMD() 698 if (portnum >= 2) in DEF_SCSI_QCMD() 701 old_speed = ioc->fc_link_speed[portnum]; in DEF_SCSI_QCMD() 725 ioc->fc_link_speed[portnum] = new_speed; in DEF_SCSI_QCMD() 742 mptfc_GetFcPortPage0(MPT_ADAPTER *ioc, int portnum) in mptfc_GetFcPortPage0() argument 754 if (portnum > 1) in mptfc_GetFcPortPage0() 766 cfg.pageAddr = portnum; in mptfc_GetFcPortPage0() 787 pp0dest = &ioc->fc_port_page0[portnum]; in mptfc_GetFcPortPage0() 828 mptfc_display_port_link_speed(ioc, portnum, pp0dest); in mptfc_GetFcPortPage0() 838 mptfc_WriteFcPortPage1(MPT_ADAPTER *ioc, int portnum) in mptfc_WriteFcPortPage1() argument [all …]
|
/linux-2.6.39/drivers/usb/host/ |
D | ehci-hub.c | 499 static void set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) in set_owner() argument 505 status_reg = &ehci->regs->port_status[portnum]; in set_owner() 540 int portnum, new_owner; in store_companion() local 544 if (sscanf(buf, "%d", &portnum) != 1) in store_companion() 546 if (portnum < 0) { in store_companion() 547 portnum = - portnum; in store_companion() 550 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in store_companion() 552 portnum--; in store_companion() 554 set_bit(portnum, &ehci->companion_ports); in store_companion() 556 clear_bit(portnum, &ehci->companion_ports); in store_companion() [all …]
|
D | ehci-vt8500.c | 30 rc = ehci_lpm_set_da(ehci, udev->devnum, udev->portnum); in ehci_update_device() 32 rc = ehci_lpm_check(ehci, udev->portnum); in ehci_update_device()
|
D | ehci-xilinx-of.c | 72 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_xilinx_port_handed_over() argument 74 dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); in ehci_xilinx_port_handed_over()
|
D | ehci-pci.c | 417 rc = ehci_lpm_set_da(ehci, udev->devnum, udev->portnum); in ehci_update_device() 419 rc = ehci_lpm_check(ehci, udev->portnum); in ehci_update_device()
|
/linux-2.6.39/drivers/net/qlcnic/ |
D | qlcnic_hw.c | 291 QLCWR32(adapter, id_reg, adapter->portnum); in qlcnic_pcie_sem_lock() 371 word = QLCNIC_MAC_EVENT | ((u64)adapter->portnum << 16); in qlcnic_sre_macaddr_change() 461 ((u64)adapter->portnum << 16); in qlcnic_nic_set_promisc() 550 word[0] = QLCNIC_CONFIG_INTR_COALESCE | ((u64)adapter->portnum << 16); in qlcnic_config_intr_coalesce() 575 word = QLCNIC_H2C_OPCODE_CONFIG_HW_LRO | ((u64)adapter->portnum << 16); in qlcnic_config_hw_lro() 602 ((u64)adapter->portnum << 16); in qlcnic_config_bridged_mode() 635 word = QLCNIC_H2C_OPCODE_CONFIG_RSS | ((u64)adapter->portnum << 16); in qlcnic_config_rss() 673 word = QLCNIC_H2C_OPCODE_CONFIG_IPADDR | ((u64)adapter->portnum << 16); in qlcnic_config_ipaddr() 698 word = QLCNIC_H2C_OPCODE_GET_LINKEVENT | ((u64)adapter->portnum << 16); in qlcnic_linkevent_request() 720 ((u64)adapter->portnum << 16) | in qlcnic_send_lro_cleanup() [all …]
|
D | qlcnic_ethtool.c | 643 adapter->fw_hal_version, adapter->portnum, in qlcnic_irq_test() 888 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol() 892 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol() 906 if (!(wol_cfg & (1 << adapter->portnum))) in qlcnic_set_wol() 911 wol_cfg |= 1UL << adapter->portnum; in qlcnic_set_wol() 913 wol_cfg &= ~(1UL << adapter->portnum); in qlcnic_set_wol()
|
D | qlcnic_main.c | 1520 adapter->portnum = adapter->ahw.pci_func; in qlcnic_probe() 1543 if (adapter->portnum == 0) { in qlcnic_probe() 1811 word = QLCNIC_MAC_EVENT | ((u64)(adapter->portnum) << 16); in qlcnic_change_filter() 2170 qlcnic_set_tx_port(first_desc, adapter->portnum); in qlcnic_xmit_frame() 2524 val = adapter->portnum & 0xf; in qlcnic_idc_debug_info() 2546 QLC_DEV_SET_RST_RDY(val, adapter->portnum); in qlcnic_set_drv_state() 2548 QLC_DEV_SET_QSCNT_RDY(val, adapter->portnum); in qlcnic_set_drv_state() 2566 QLC_DEV_CLR_RST_QSCNT(val, adapter->portnum); in qlcnic_clr_drv_state() 2583 QLC_DEV_CLR_REF_CNT(val, adapter->portnum); in qlcnic_clr_all_drv_state() 2594 QLC_DEV_CLR_RST_QSCNT(val, adapter->portnum); in qlcnic_clr_all_drv_state() [all …]
|
/linux-2.6.39/drivers/usb/serial/ |
D | keyspan.h | 69 u8 *prescaler, int portnum); 73 u8 *prescaler, int portnum); 77 u8 *prescaler, int portnum); 81 u8 *prescaler, int portnum); 192 u8 *rate_hi, u8 *rate_low, u8 *prescaler, int portnum);
|
/linux-2.6.39/drivers/net/netxen/ |
D | netxen_nic_hw.c | 339 NXWR32(adapter, id_reg, adapter->portnum); in netxen_pcie_sem_lock() 647 word = NX_MAC_EVENT | ((u64)adapter->portnum << 16); in nx_p3_sre_macaddr_change() 744 ((u64)adapter->portnum << 16); in netxen_p3_nic_set_promisc() 790 word[0] = NETXEN_CONFIG_INTR_COALESCE | ((u64)adapter->portnum << 16); in netxen_config_intr_coalesce() 816 word = NX_NIC_H2C_OPCODE_CONFIG_HW_LRO | ((u64)adapter->portnum << 16); in netxen_config_hw_lro() 844 ((u64)adapter->portnum << 16); in netxen_config_bridged_mode() 879 word = NX_NIC_H2C_OPCODE_CONFIG_RSS | ((u64)adapter->portnum << 16); in netxen_config_rss() 919 word = NX_NIC_H2C_OPCODE_CONFIG_IPADDR | ((u64)adapter->portnum << 16); in netxen_config_ipaddr() 943 word = NX_NIC_H2C_OPCODE_GET_LINKEVENT | ((u64)adapter->portnum << 16); in netxen_linkevent_request() 966 ((u64)adapter->portnum << 16) | in netxen_send_lro_cleanup() [all …]
|
D | netxen_nic_main.c | 738 if (adapter->portnum == 0) { in netxen_check_options() 974 netxen_nic_driver_name, adapter->portnum); in __netxen_nic_up() 1101 crb_cmd_producer[adapter->portnum]); in netxen_nic_attach() 1103 crb_cmd_consumer[adapter->portnum]); in netxen_nic_attach() 1334 adapter->portnum = pci_func_id; in netxen_nic_probe() 1351 adapter->portnum = pci_func_id - 2; in netxen_nic_probe() 1357 if (adapter->portnum == 0) { in netxen_nic_probe() 1372 adapter->physical_port = adapter->portnum; in netxen_nic_probe() 1374 i = NXRD32(adapter, CRB_V2P(adapter->portnum)); in netxen_nic_probe() 1450 if (adapter->portnum == 0) in netxen_nic_remove() [all …]
|
D | netxen_nic_ethtool.c | 748 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol() 752 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol() 769 if (!(wol_cfg & (1 << adapter->portnum))) in netxen_nic_set_wol() 774 wol_cfg |= 1UL << adapter->portnum; in netxen_nic_set_wol() 776 wol_cfg &= ~(1UL << adapter->portnum); in netxen_nic_set_wol()
|
/linux-2.6.39/drivers/media/video/tlg2300/ |
D | pd-main.c | 264 pd->portnum = udev->portnum; in set_map_flags() 296 if (pd->portnum == udev->portnum && in_hibernation(pd)) in find_old_poseidon()
|
/linux-2.6.39/drivers/usb/wusbcore/ |
D | wa-rpipe.c | 336 rpipe->descr.bHSHubPort = wusb_port_no_to_idx(urb->dev->portnum); in rpipe_aim() 393 u8 portnum = wusb_port_no_to_idx(urb->dev->portnum); in rpipe_check_aim() local 407 AIM_CHECK(bHSHubPort, portnum, "(%u vs %u)"); in rpipe_check_aim()
|
D | dev-sysfs.c | 50 port_idx = wusb_port_no_to_idx(usb_dev->portnum); in wusb_disconnect_store()
|
/linux-2.6.39/drivers/infiniband/hw/cxgb3/ |
D | iwch.c | 210 u32 portnum = port_id + 1; in iwch_event_handler() local 261 event.element.port_num = portnum; in iwch_event_handler()
|
/linux-2.6.39/drivers/parport/ |
D | daisy.c | 81 extra->portnum = real->portnum; in clone_parport()
|