Searched refs:gpio_port (Results 1 – 3 of 3) sorted by relevance
/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 | 2082 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_get_gpio() local 2085 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_get_gpio() 2110 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_set_gpio() local 2113 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_set_gpio() 2213 int gpio_port = (REG_RD(bp, NIG_REG_PORT_SWAP) && in bnx2x_set_gpio_int() local 2216 (gpio_port ? MISC_REGISTERS_GPIO_PORT_SHIFT : 0); in bnx2x_set_gpio_int()
|
/drivers/pinctrl/ |
D | pinctrl-lpc18xx.c | 753 unsigned int gpio_port, gpio_pin; in lpc18xx_gpio_to_pintsel_val() local 755 gpio_port = gpio / LPC18XX_GPIO_PINS_PER_PORT; in lpc18xx_gpio_to_pintsel_val() 758 return gpio_pin | (gpio_port << LPC18XX_SCU_PINTSEL_PORT_SHIFT); in lpc18xx_gpio_to_pintsel_val()
|