Home
last modified time | relevance | path

Searched refs:port_offset (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/char/
H A Dpc8736x_gpio.c71 static int port_offset[] = { 0, 4, 8, 10 }; /* non-uniform offsets ! */ variable
159 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_get()
164 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, in pc8736x_gpio_get()
177 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
180 pc8736x_gpio_base + port_offset[port] + PORT_OUT, in pc8736x_gpio_set()
188 outb_p(val, pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
190 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
191 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_set()
247 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
/linux/drivers/net/ethernet/ti/
H A Dcpsw_ale.c910 int offset, port_offset; member
919 .port_offset = 0,
927 .port_offset = 0,
935 .port_offset = 0,
943 .port_offset = 0,
951 .port_offset = 0,
959 .port_offset = 0,
967 .port_offset = 0,
975 .port_offset = 0,
983 .port_offset = 0,
[all …]
/linux/drivers/comedi/drivers/
H A Dni_65xx.c422 int port_offset; in ni_65xx_dio_insn_bits() local
424 for (port_offset = NI_65XX_CHAN_TO_PORT(base_chan); in ni_65xx_dio_insn_bits()
425 port_offset <= last_port_offset; port_offset++) { in ni_65xx_dio_insn_bits()
426 unsigned int port = base_port + port_offset; in ni_65xx_dio_insn_bits()
427 int base_port_channel = NI_65XX_PORT_TO_CHAN(port_offset); in ni_65xx_dio_insn_bits()
H A Dadl_pci7x3x.c126 unsigned long port_offset; member
135 unsigned long reg = sd_priv->port_offset; in process_irq()
284 unsigned long reg = (unsigned long)sd_priv->port_offset; in adl_pci7x3x_dirq_insn_bits()
480 sd_priv->port_offset = PCI7X3X_DIO_REG; in adl_pci7x3x_auto_attach()
H A Dadv_pci_dio.c233 unsigned long port_offset; member
242 unsigned long reg = sd_priv->port_offset; in process_irq()
398 unsigned long reg = (unsigned long)sd_priv->port_offset; in pci_dio_insn_bits_dirq_b()
694 sd_priv->port_offset = d->addr; in pci_dio_auto_attach()
/linux/arch/mips/sgi-ip27/
H A Dip27-memory.c78 router_a->rou_port[port].port_offset); in router_recurse()
125 router->rou_port[port].port_offset); in compute_node_distance()
218 router->rou_port[port].port_offset); in dump_topology()
/linux/drivers/fpga/
H A Ddfl-fme-pr.c378 u64 fme_cap, port_offset; in pr_mgmt_init()
401 port_offset = readq(fme_hdr + FME_HDR_PORT_OFST(i)); in pr_mgmt_init()
402 if (!(port_offset & FME_PORT_OFST_IMP)) in pr_mgmt_init()
379 u64 fme_cap, port_offset; pr_mgmt_init() local
/linux/net/ipv6/
H A Dinet6_hashtables.c342 u64 port_offset = 0; in inet6_hash_connect() local
345 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect()
346 return __inet_hash_connect(death_row, sk, port_offset, in inet6_hash_connect()
/linux/net/ipv4/
H A Dinet_hashtables.c995 struct sock *sk, u64 port_offset, in __inet_hash_connect() argument
1032 index = port_offset & (INET_TABLE_PERTURB_SIZE - 1); in __inet_hash_connect()
1034 offset = READ_ONCE(table_perturb[index]) + (port_offset >> 32); in __inet_hash_connect()
1169 u64 port_offset = 0; in inet_hash_connect() local
1172 port_offset = inet_sk_port_offset(sk); in inet_hash_connect()
1173 return __inet_hash_connect(death_row, sk, port_offset, in inet_hash_connect()
/linux/drivers/usb/host/
H A Dxhci-mem.c1981 u32 temp, port_offset, port_count; in xhci_add_in_port() local
2023 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port()
2027 addr, port_offset, port_count, major_revision); in xhci_add_in_port()
2029 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port()
2088 port_offset--; in xhci_add_in_port()
2089 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c1126 u32 temp, port_offset, port_count; in cdnsp_add_in_port() local
1134 port_offset = CDNSP_EXT_PORT_OFF(temp); in cdnsp_add_in_port()
1137 trace_cdnsp_port_info(addr, port_offset, port_count, port->maj_rev); in cdnsp_add_in_port()
1139 port->port_num = port_offset; in cdnsp_add_in_port()
/linux/drivers/usb/early/
H A Dxhci-dbc.c369 u32 val, port_offset, port_count; in xdbc_reset_debug_port() local
382 port_offset = XHCI_EXT_PORT_OFF(val); in xdbc_reset_debug_port()
385 xdbc_do_reset_debug_port(port_offset, port_count); in xdbc_reset_debug_port()
/linux/include/net/
H A Dinet_hashtables.h529 struct sock *sk, u64 port_offset,
/linux/arch/mips/include/asm/sn/
H A Dklconfig.h591 klconf_off_t port_offset; member