/linux/drivers/gpio/ |
A D | gpio-sch.c | 107 sch_gpio_reg_set(sch, gpio_num, GIO, 1); in sch_gpio_direction_in() 116 return sch_gpio_reg_get(sch, gpio_num, GLV); in sch_gpio_get() 125 sch_gpio_reg_set(sch, gpio_num, GLV, val); in sch_gpio_set() 136 sch_gpio_reg_set(sch, gpio_num, GIO, 0); in sch_gpio_direction_out() 148 sch_gpio_set(gc, gpio_num, val); in sch_gpio_direction_out() 156 if (sch_gpio_reg_get(sch, gpio_num, GIO)) in sch_gpio_get_direction() 176 irq_hw_number_t gpio_num = irqd_to_hwirq(d); in sch_irq_type() local 213 irq_hw_number_t gpio_num = irqd_to_hwirq(d); in sch_irq_ack() local 217 sch_gpio_reg_set(sch, gpio_num, GTS, 1); in sch_irq_ack() 225 irq_hw_number_t gpio_num = irqd_to_hwirq(d); in sch_irq_mask_unmask() local [all …]
|
A D | gpio-it87.c | 152 mask = 1 << (gpio_num % 8); in it87_gpio_request() 153 group = (gpio_num / 8); in it87_gpio_request() 185 mask = 1 << (gpio_num % 8); in it87_gpio_get() 197 mask = 1 << (gpio_num % 8); in it87_gpio_direction_in() 198 group = (gpio_num / 8); in it87_gpio_direction_in() 217 unsigned gpio_num, int val) in it87_gpio_set() argument 223 mask = 1 << (gpio_num % 8); in it87_gpio_set() 234 unsigned gpio_num, int val) in it87_gpio_direction_out() argument 240 mask = 1 << (gpio_num % 8); in it87_gpio_direction_out() 241 group = (gpio_num / 8); in it87_gpio_direction_out() [all …]
|
A D | gpio-winbond.c | 351 static bool winbond_gpio_get_info(unsigned int *gpio_num, in winbond_gpio_get_info() argument 358 if (*gpio_num < 8) in winbond_gpio_get_info() 361 *gpio_num -= 8; in winbond_gpio_get_info() 372 if (*gpio_num == 0 && !params.pledgpio) in winbond_gpio_get_info() 374 else if (*gpio_num == 1 && !params.beepgpio) in winbond_gpio_get_info() 376 else if ((*gpio_num == 5 || *gpio_num == 6) && !params.i2cgpio) in winbond_gpio_get_info()
|
A D | gpio-amd-fch.c | 159 priv->gc.ngpio = priv->pdata->gpio_num; in amd_fch_gpio_probe()
|
/linux/drivers/spi/ |
A D | spi-tle62x0.c | 137 int gpio_num = to_gpio_num(attr); in tle62x0_gpio_show() local 141 value = (st->gpio_state >> gpio_num) & 1; in tle62x0_gpio_show() 152 int gpio_num = to_gpio_num(attr); in tle62x0_gpio_store() local 160 dev_dbg(dev, "setting gpio %d to %ld\n", gpio_num, val); in tle62x0_gpio_store() 165 st->gpio_state |= 1 << gpio_num; in tle62x0_gpio_store() 167 st->gpio_state &= ~(1 << gpio_num); in tle62x0_gpio_store()
|
/linux/include/linux/platform_data/gpio/ |
A D | gpio-amd-fch.h | 41 int gpio_num; member
|
/linux/arch/arm/mach-davinci/include/mach/ |
A D | common.h | 47 unsigned gpio_num; member
|
/linux/drivers/pinctrl/ |
A D | core.c | 1631 int gpio_num; in pinctrl_pins_show() local 1651 gpio_num = -1; in pinctrl_pins_show() 1655 gpio_num = range->base + (pin - range->pin_base); in pinctrl_pins_show() 1659 if (gpio_num >= 0) in pinctrl_pins_show() 1660 chip = gpio_to_chip(gpio_num); in pinctrl_pins_show() 1664 seq_printf(s, "%u:%s ", gpio_num - chip->gpiodev->base, chip->label); in pinctrl_pins_show()
|
/linux/drivers/platform/x86/ |
A D | pcengines-apuv2.c | 70 .gpio_num = ARRAY_SIZE(apu2_gpio_regs),
|
/linux/drivers/net/phy/ |
A D | dp83640.c | 477 u16 evnt, event_num, gpio_num; in ptp_dp83640_enable() local 500 gpio_num = 1 + ptp_find_pin(clock->ptp_clock, in ptp_dp83640_enable() 502 if (gpio_num < 1) in ptp_dp83640_enable() 504 evnt |= (gpio_num & EVNT_GPIO_MASK) << EVNT_GPIO_SHIFT; in ptp_dp83640_enable()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_link.c | 4331 u8 *gpio_num, u8 *gpio_port) in bnx2x_get_mod_abs_int_cfg() argument 4334 *gpio_num = 0; in bnx2x_get_mod_abs_int_cfg() 4360 *gpio_num = MISC_REGISTERS_GPIO_3; 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() 8741 u8 gpio_num, gpio_port; in bnx2x_handle_module_detect_int() local 8768 bnx2x_set_gpio_int(bp, gpio_num, in bnx2x_handle_module_detect_int() 8795 bnx2x_set_gpio_int(bp, gpio_num, in bnx2x_handle_module_detect_int() 14007 &gpio_num, in bnx2x_init_mod_abs_int() 14028 if (gpio_num == 0xff) in bnx2x_init_mod_abs_int() [all …]
|
A D | bnx2x.h | 2027 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port); 2028 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port); 2030 int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port);
|
A D | bnx2x_main.c | 2074 int gpio_shift = gpio_num + in bnx2x_get_gpio() 2080 if (gpio_num > MISC_REGISTERS_GPIO_3) { in bnx2x_get_gpio() 2102 int gpio_shift = gpio_num + in bnx2x_set_gpio() 2107 if (gpio_num > MISC_REGISTERS_GPIO_3) { in bnx2x_set_gpio() 2120 gpio_num, gpio_shift); in bnx2x_set_gpio() 2129 gpio_num, gpio_shift); in bnx2x_set_gpio() 2138 gpio_num, gpio_shift); in bnx2x_set_gpio() 2205 int gpio_shift = gpio_num + in bnx2x_set_gpio_int() 2210 if (gpio_num > MISC_REGISTERS_GPIO_3) { in bnx2x_set_gpio_int() 2223 gpio_num, gpio_shift); in bnx2x_set_gpio_int() [all …]
|
/linux/drivers/scsi/mpi3mr/mpi/ |
A D | mpi30_ioc.h | 300 u8 gpio_num; member
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | wmi.h | 2933 u32 gpio_num; member 2961 u32 gpio_num; member 2968 u32 gpio_num; member 2974 u32 gpio_num; member
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_adminq_cmd.h | 1355 u8 gpio_num; member
|
A D | ice_common.c | 4840 cmd->gpio_num = pin_idx; in ice_aq_set_gpio() 4868 cmd->gpio_num = pin_idx; in ice_aq_get_gpio()
|