Home
last modified time | relevance | path

Searched refs:port_offset (Results 1 – 10 of 10) 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.c915 int offset, port_offset; member
924 .port_offset = 0,
932 .port_offset = 0,
940 .port_offset = 0,
948 .port_offset = 0,
956 .port_offset = 0,
964 .port_offset = 0,
972 .port_offset = 0,
980 .port_offset = 0,
988 .port_offset = 0,
[all …]
/linux/drivers/gpio/
H A Dgpio-zevio.c63 unsigned port_offset) in zevio_gpio_port_get() argument
66 return readl(c->regs + section_offset + port_offset); in zevio_gpio_port_get()
70 unsigned port_offset, u32 val) in zevio_gpio_port_set() argument
73 writel(val, c->regs + section_offset + port_offset); in zevio_gpio_port_set()
/linux/net/ipv6/
H A Dinet6_hashtables.c395 u64 port_offset = 0; in inet6_hash_connect() local
399 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect()
405 return __inet_hash_connect(death_row, sk, port_offset, hash_port0, in inet6_hash_connect()
/linux/drivers/usb/host/
H A Dehci-fsl.c193 unsigned int port_offset) in ehci_fsl_setup_phy() argument
206 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
283 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c1125 u32 temp, port_offset, port_count; in cdnsp_add_in_port() local
1133 port_offset = CDNSP_EXT_PORT_OFF(temp); in cdnsp_add_in_port()
1142 port_offset++; in cdnsp_add_in_port()
1148 trace_cdnsp_port_info(addr, port_offset, port_count, port->maj_rev); in cdnsp_add_in_port()
1150 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.h525 struct sock *sk, u64 port_offset,
/linux/arch/mips/include/asm/sn/
H A Dklconfig.h591 klconf_off_t port_offset; member
/linux/drivers/net/phy/realtek/
H A Drealtek_main.c2702 u8 port_offset = phydev->mdio.addr & 3; in rtl8224_mdi_config_order() local
2720 BIT(port_offset), in rtl8224_mdi_config_order()
2721 order ? BIT(port_offset) : 0); in rtl8224_mdi_config_order()