Searched refs:gpio_port (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 418 u8 gpio_port = (pin_cfg - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_set_cfg_pin() local 419 bnx2x_set_gpio(bp, gpio_num, (u8)val, gpio_port); in bnx2x_set_cfg_pin() 431 u8 gpio_port = (pin_cfg - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_get_cfg_pin() local 432 *val = bnx2x_get_gpio(bp, gpio_num, gpio_port); in bnx2x_get_cfg_pin() 4331 u8 *gpio_num, u8 *gpio_port) in bnx2x_get_mod_abs_int_cfg() argument 4335 *gpio_port = 0; in bnx2x_get_mod_abs_int_cfg() 4358 *gpio_port = (cfg_pin - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_get_mod_abs_int_cfg() 4361 *gpio_port = port; in bnx2x_get_mod_abs_int_cfg() 4371 u8 gpio_num, gpio_port; in bnx2x_is_sfp_module_plugged() local 4375 &gpio_num, &gpio_port) != 0) in bnx2x_is_sfp_module_plugged() [all …]
|
D | bnx2x_main.c | 2083 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_get_gpio() local 2086 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_get_gpio() 2111 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_set_gpio() local 2114 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_set_gpio() 2214 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_set_gpio_int() local 2217 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_set_gpio_int()
|
/linux-6.1.9/drivers/pinctrl/ |
D | pinctrl-lpc18xx.c | 751 unsigned int gpio_port, gpio_pin; in lpc18xx_gpio_to_pintsel_val() local 753 gpio_port = gpio / LPC18XX_GPIO_PINS_PER_PORT; in lpc18xx_gpio_to_pintsel_val() 756 return gpio_pin | (gpio_port << LPC18XX_SCU_PINTSEL_PORT_SHIFT); in lpc18xx_gpio_to_pintsel_val()
|