Home
last modified time | relevance | path

Searched refs:port_addr (Results 1 – 22 of 22) sorted by relevance

/drivers/usb/host/
Duhci-hub.c81 status = uhci_readw(uhci, port_addr); \
85 uhci_writew(uhci, status, port_addr)
88 status = uhci_readw(uhci, port_addr); \
91 uhci_writew(uhci, status, port_addr)
97 unsigned long port_addr) in uhci_finish_suspend() argument
102 if (uhci_readw(uhci, port_addr) & SUSPEND_BITS) { in uhci_finish_suspend()
113 if (!(uhci_readw(uhci, port_addr) & SUSPEND_BITS)) in uhci_finish_suspend()
125 static void wait_for_HP(struct uhci_hcd *uhci, unsigned long port_addr) in wait_for_HP() argument
130 if (uhci_readw(uhci, port_addr) & USBPORTSC_CSC) in wait_for_HP()
140 unsigned long port_addr; in uhci_check_ports() local
[all …]
/drivers/gpio/
Dgpio-pci-idio-16.c109 void __iomem *port_addr; in idio_16_gpio_get_multiple() local
116 port_addr = ports[offset / 8]; in idio_16_gpio_get_multiple()
117 port_state = ioread8(port_addr) & gpio_mask; in idio_16_gpio_get_multiple()
165 void __iomem *port_addr; in idio_16_gpio_set_multiple() local
172 port_addr = ports[index]; in idio_16_gpio_set_multiple()
178 out_state = ioread8(port_addr) & ~gpio_mask; in idio_16_gpio_set_multiple()
180 iowrite8(out_state, port_addr); in idio_16_gpio_set_multiple()
Dgpio-gpio-mm.c178 unsigned int port_addr; in gpiomm_gpio_get_multiple() local
185 port_addr = gpiommgpio->base + ports[offset / 8]; in gpiomm_gpio_get_multiple()
186 port_state = inb(port_addr) & gpio_mask; in gpiomm_gpio_get_multiple()
222 unsigned int port_addr; in gpiomm_gpio_set_multiple() local
228 port_addr = gpiommgpio->base + ports[index]; in gpiomm_gpio_set_multiple()
237 outb(gpiommgpio->out_state[index], port_addr); in gpiomm_gpio_set_multiple()
Dgpio-104-dio-48e.c189 unsigned int port_addr; in dio48e_gpio_get_multiple() local
196 port_addr = dio48egpio->base + ports[offset / 8]; in dio48e_gpio_get_multiple()
197 port_state = inb(port_addr) & gpio_mask; in dio48e_gpio_get_multiple()
232 unsigned int port_addr; in dio48e_gpio_set_multiple() local
238 port_addr = dio48egpio->base + ports[index]; in dio48e_gpio_set_multiple()
247 outb(dio48egpio->out_state[index], port_addr); in dio48e_gpio_set_multiple()
Dgpio-ws16c48.c134 unsigned int port_addr; in ws16c48_gpio_get_multiple() local
141 port_addr = ws16c48gpio->base + offset / 8; in ws16c48_gpio_get_multiple()
142 port_state = inb(port_addr) & gpio_mask; in ws16c48_gpio_get_multiple()
181 unsigned int port_addr; in ws16c48_gpio_set_multiple() local
187 port_addr = ws16c48gpio->base + index; in ws16c48_gpio_set_multiple()
198 outb(ws16c48gpio->out_state[index], port_addr); in ws16c48_gpio_set_multiple()
Dgpio-104-idi-48.c91 unsigned int port_addr; in idi_48_gpio_get_multiple() local
98 port_addr = idi48gpio->base + ports[offset / 8]; in idi_48_gpio_get_multiple()
99 port_state = inb(port_addr) & gpio_mask; in idi_48_gpio_get_multiple()
/drivers/net/wireless/st/cw1200/
Dhwio.c172 size_t buf_len, u32 prefetch, u16 port_addr) in cw1200_indirect_read() argument
224 ret = __cw1200_reg_read(priv, port_addr, buf, buf_len, 0); in cw1200_indirect_read()
Dhwio.h200 size_t buf_len, u32 prefetch, u16 port_addr);
/drivers/ptp/
Dptp_ines.c200 unsigned long port_addr; in ines_clock_init() local
212 port_addr = (unsigned long) clock->base + in ines_clock_init()
214 port->regs = (struct ines_port_registers *) port_addr; in ines_clock_init()
/drivers/i2c/busses/
Di2c-sh_mobile.c480 enum dma_transfer_direction dir, dma_addr_t port_addr) in sh_mobile_i2c_request_dma_chan() argument
497 cfg.dst_addr = port_addr; in sh_mobile_i2c_request_dma_chan()
500 cfg.src_addr = port_addr; in sh_mobile_i2c_request_dma_chan()
Di2c-rcar.c713 dma_addr_t port_addr) in rcar_i2c_request_dma_chan() argument
730 cfg.dst_addr = port_addr; in rcar_i2c_request_dma_chan()
733 cfg.src_addr = port_addr; in rcar_i2c_request_dma_chan()
/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c65 p_hwfn->mcp_info->port_addr = SECTION_ADDR(mfw_mb_offsize, in qed_mcp_cmd_port_init()
69 p_hwfn->mcp_info->port_addr, MFW_PORT(p_hwfn)); in qed_mcp_cmd_port_init()
1215 p_hwfn->mcp_info->port_addr + in qed_mcp_handle_transceiver_change()
1223 (u32)(p_hwfn->mcp_info->port_addr + in qed_mcp_handle_transceiver_change()
1245 p_hwfn->mcp_info->port_addr + in qed_mcp_read_eee_config()
1320 p_hwfn->mcp_info->port_addr + in qed_mcp_handle_link_change()
1325 (u32)(p_hwfn->mcp_info->port_addr + in qed_mcp_handle_link_change()
1916 port_cfg = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in qed_mcp_read_ufp_config()
2181 p_hwfn->mcp_info->port_addr + in qed_mcp_get_media_type()
2207 p_hwfn->mcp_info->port_addr + in qed_mcp_get_transceiver_data()
Dqed_dcbx.c747 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_local_lldp_mib()
765 data.addr = p_hwfn->mcp_info->port_addr + offsetof(struct public_port, in qed_dcbx_read_remote_lldp_mib()
783 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_operational_mib()
800 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_remote_mib()
816 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_read_local_mib()
1223 data.addr = p_hwfn->mcp_info->port_addr + in qed_dcbx_config_params()
Dqed_mcp.h740 u32 port_addr; member
Dqed_l2.c1769 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats()
1845 p_hwfn->mcp_info->port_addr + in __qed_get_vport_port_stats()
Dqed_dev.c4424 eee_status = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in qed_get_eee_caps()
/drivers/spi/
Dspi-rspi.c1095 dma_addr_t port_addr) in rspi_request_dma_chan() argument
1114 cfg.dst_addr = port_addr + RSPI_SPDR; in rspi_request_dma_chan()
1115 cfg.src_addr = port_addr + RSPI_SPDR; in rspi_request_dma_chan()
Dspi-sh-msiof.c1139 enum dma_transfer_direction dir, unsigned int id, dma_addr_t port_addr) in sh_msiof_request_dma_chan() argument
1160 cfg.dst_addr = port_addr; in sh_msiof_request_dma_chan()
1163 cfg.src_addr = port_addr; in sh_msiof_request_dma_chan()
/drivers/scsi/megaraid/
Dmegaraid_sas.h951 u64 port_addr[8]; member
967 u64 port_addr[8]; member
/drivers/net/ethernet/intel/i40e/
Di40e_type.h317 u8 port_addr[ETH_ALEN]; member
Di40e_debugfs.c152 pf->hw.mac.port_addr); in i40e_dbg_dump_vsi_seid()
Di40e_main.c12437 ppid->id_len = min_t(int, sizeof(hw->mac.port_addr), sizeof(ppid->id)); in i40e_get_phys_port_id()
12438 memcpy(ppid->id, hw->mac.port_addr, ppid->id_len); in i40e_get_phys_port_id()
15207 i40e_get_port_mac_addr(hw, hw->mac.port_addr); in i40e_probe()
15208 if (is_valid_ether_addr(hw->mac.port_addr)) in i40e_probe()