Home
last modified time | relevance | path

Searched refs:gpio_pin (Results 1 – 5 of 5) sorted by relevance

/drivers/pps/clients/
Dpps-gpio.c46 unsigned int gpio_pin; member
64 rising_edge = gpio_get_value(info->gpio_pin); in pps_gpio_irq_handler()
106 data->gpio_pin = pdata->gpio_pin; in pps_gpio_probe()
117 data->gpio_pin = ret; in pps_gpio_probe()
125 ret = devm_gpio_request(&pdev->dev, data->gpio_pin, gpio_label); in pps_gpio_probe()
128 data->gpio_pin); in pps_gpio_probe()
132 ret = gpio_direction_input(data->gpio_pin); in pps_gpio_probe()
139 ret = gpio_to_irq(data->gpio_pin); in pps_gpio_probe()
/drivers/pinctrl/sh-pfc/
Dgpio.c56 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_get_data_reg() local
58 *reg = &chip->regs[gpio_pin->dreg]; in gpio_get_data_reg()
59 *bit = gpio_pin->dbit; in gpio_get_data_reg()
83 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_setup_data_reg() local
92 gpio_pin->dreg = i; in gpio_setup_data_reg()
93 gpio_pin->dbit = bit; in gpio_setup_data_reg()
/drivers/ata/
Dpata_rb532_cf.c136 gpio = pdata->gpio_pin; in rb532_pata_driver_probe()
/drivers/gpio/
Dgpio-generic.c518 static int bgpio_request(struct gpio_chip *chip, unsigned gpio_pin) in bgpio_request() argument
520 if (gpio_pin < chip->ngpio) in bgpio_request()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c7836 u16 gpio_pin; in bnx2x_sfp_e1e2_set_transmitter() local
7843 gpio_pin = tx_en_mode - PORT_HW_CFG_TX_LASER_GPIO0; in bnx2x_sfp_e1e2_set_transmitter()
7845 bnx2x_set_gpio(bp, gpio_pin, gpio_mode, gpio_port); in bnx2x_sfp_e1e2_set_transmitter()
8561 u16 gpio_pin = fault_led_gpio - in bnx2x_set_e1e2_module_fault_led() local
8565 gpio_pin, gpio_port, gpio_mode); in bnx2x_set_e1e2_module_fault_led()
8566 bnx2x_set_gpio(bp, gpio_pin, gpio_mode, gpio_port); in bnx2x_set_e1e2_module_fault_led()