Home
last modified time | relevance | path

Searched refs:gpio_port (Results 1 – 3 of 3) sorted by relevance

/drivers/pinctrl/
Dpinctrl-adi2.c173 struct gpio_port { struct
196 static inline u32 hwirq_to_pintbit(struct gpio_port *port, int hwirq) in hwirq_to_pintbit() argument
215 static inline void port_setup(struct gpio_port *port, unsigned offset, in port_setup()
227 static inline void portmux_setup(struct gpio_port *port, unsigned offset, in portmux_setup()
244 static inline u16 get_portmux(struct gpio_port *port, unsigned offset) in get_portmux()
258 struct gpio_port *port = irq_data_get_irq_chip_data(d); in adi_gpio_ack_irq()
281 struct gpio_port *port = irq_data_get_irq_chip_data(d); in adi_gpio_mask_ack_irq()
305 struct gpio_port *port = irq_data_get_irq_chip_data(d); in adi_gpio_mask_irq()
320 struct gpio_port *port = irq_data_get_irq_chip_data(d); in adi_gpio_unmask_irq()
335 struct gpio_port *port = irq_data_get_irq_chip_data(d); in adi_gpio_irq_startup()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c424 u8 gpio_port = (pin_cfg - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_set_cfg_pin() local
425 bnx2x_set_gpio(bp, gpio_num, (u8)val, gpio_port); in bnx2x_set_cfg_pin()
437 u8 gpio_port = (pin_cfg - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_get_cfg_pin() local
438 *val = bnx2x_get_gpio(bp, gpio_num, gpio_port); in bnx2x_get_cfg_pin()
4337 u8 *gpio_num, u8 *gpio_port) in bnx2x_get_mod_abs_int_cfg() argument
4341 *gpio_port = 0; in bnx2x_get_mod_abs_int_cfg()
4364 *gpio_port = (cfg_pin - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_get_mod_abs_int_cfg()
4367 *gpio_port = port; in bnx2x_get_mod_abs_int_cfg()
4377 u8 gpio_num, gpio_port; in bnx2x_is_sfp_module_plugged() local
4381 &gpio_num, &gpio_port) != 0) in bnx2x_is_sfp_module_plugged()
[all …]
Dbnx2x_main.c2071 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_get_gpio() local
2074 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_get_gpio()
2099 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_set_gpio() local
2102 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_set_gpio()
2202 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_set_gpio_int() local
2205 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_set_gpio_int()