/Linux-v5.10/drivers/pps/clients/ |
D | pps-gpio.c | 32 struct gpio_desc *gpio_pin; /* GPIO port descriptors */ member 56 rising_edge = gpiod_get_value(info->gpio_pin); in pps_gpio_irq_handler() 110 data->gpio_pin = devm_gpiod_get(&pdev->dev, in pps_gpio_setup() 113 if (IS_ERR(data->gpio_pin)) { in pps_gpio_setup() 116 return PTR_ERR(data->gpio_pin); in pps_gpio_setup() 180 data->gpio_pin = pdata->gpio_pin; in pps_gpio_probe() 193 ret = gpiod_to_irq(data->gpio_pin); in pps_gpio_probe()
|
/Linux-v5.10/drivers/pinctrl/renesas/ |
D | gpio.c | 49 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_get_data_reg() local 51 *reg = &chip->regs[gpio_pin->dreg]; in gpio_get_data_reg() 52 *bit = gpio_pin->dbit; in gpio_get_data_reg() 76 struct sh_pfc_gpio_pin *gpio_pin = &chip->pins[idx]; in gpio_setup_data_reg() local 85 gpio_pin->dreg = i; in gpio_setup_data_reg() 86 gpio_pin->dbit = bit; in gpio_setup_data_reg()
|
/Linux-v5.10/include/linux/ |
D | pps-gpio.h | 12 struct gpio_desc *gpio_pin; member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser2.c | 384 header->gpio_pin[table_index].gpio_id & in get_gpio_i2c_info() 387 (header->gpio_pin[table_index].gpio_id & in get_gpio_i2c_info() 390 (header->gpio_pin[table_index].gpio_id & in get_gpio_i2c_info() 413 header->gpio_pin[table_index].data_a_reg_index); in get_gpio_i2c_info() 415 header->gpio_pin[table_index].gpio_bitshift; in get_gpio_i2c_info() 526 struct atom_gpio_pin_assignment gpio_pin[8] = { in bios_parser_get_gpio_pin_info() local 536 memmove(header->gpio_pin, gpio_pin, sizeof(gpio_pin)); in bios_parser_get_gpio_pin_info() 544 if (header->gpio_pin[i].gpio_id != gpio_id) in bios_parser_get_gpio_pin_info() 549 header->gpio_pin[i].data_a_reg_index); in bios_parser_get_gpio_pin_info() 555 header->gpio_pin[i].gpio_bitshift); in bios_parser_get_gpio_pin_info()
|
/Linux-v5.10/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.h | 60 int gpio_pin; /* GPIO pin where output appears */ member
|
D | lan743x_ptp.c | 460 if (perout->gpio_pin >= 0) { in lan743x_ptp_perout_off() 461 lan743x_gpio_release(adapter, perout->gpio_pin); in lan743x_ptp_perout_off() 462 perout->gpio_pin = -1; in lan743x_ptp_perout_off() 510 perout->gpio_pin >= 0) { in lan743x_ptp_perout() 524 perout->gpio_pin = lan743x_gpio_rsrv_ptp_out(adapter, in lan743x_ptp_perout() 528 if (perout->gpio_pin < 0) { in lan743x_ptp_perout() 960 ptp->perout[i].gpio_pin = -1; in lan743x_ptp_init()
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-amd-fch.c | 134 unsigned int gpio_pin) in amd_fch_gpio_request() argument
|
D | gpio-mmio.c | 564 static int bgpio_request(struct gpio_chip *chip, unsigned gpio_pin) in bgpio_request() argument 566 if (gpio_pin < chip->ngpio) in bgpio_request()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vegam_smumgr.c | 1929 struct pp_atomctrl_gpio_pin_assignment gpio_pin; in vegam_init_smc_table() local 2052 VDDC_VRHOT_GPIO_PINID, &gpio_pin)) { in vegam_init_smc_table() 2053 table->VRHotGpio = gpio_pin.uc_gpio_pin_bit_shift; in vegam_init_smc_table() 2064 PP_AC_DC_SWITCH_GPIO_PINID, &gpio_pin)) { in vegam_init_smc_table() 2065 table->AcDcGpio = gpio_pin.uc_gpio_pin_bit_shift; in vegam_init_smc_table() 2079 THERMAL_INT_OUTPUT_GPIO_PINID, &gpio_pin)) { in vegam_init_smc_table() 2080 table->ThermOutGpio = gpio_pin.uc_gpio_pin_bit_shift; in vegam_init_smc_table() 2089 (1 << gpio_pin.uc_gpio_pin_bit_shift))) ? 1:0; in vegam_init_smc_table()
|
D | fiji_smumgr.c | 1929 struct pp_atomctrl_gpio_pin_assignment gpio_pin; in fiji_init_smc_table() local 2040 if (atomctrl_get_pp_assign_pin(hwmgr, VDDC_VRHOT_GPIO_PINID, &gpio_pin)) { in fiji_init_smc_table() 2041 table->VRHotGpio = gpio_pin.uc_gpio_pin_bit_shift; in fiji_init_smc_table() 2051 &gpio_pin)) { in fiji_init_smc_table() 2052 table->AcDcGpio = gpio_pin.uc_gpio_pin_bit_shift; in fiji_init_smc_table() 2063 &gpio_pin)) { in fiji_init_smc_table() 2067 table->ThermOutGpio = gpio_pin.uc_gpio_pin_bit_shift; in fiji_init_smc_table() 2075 (1 << gpio_pin.uc_gpio_pin_bit_shift))) ? 1:0; in fiji_init_smc_table()
|
D | polaris10_smumgr.c | 1831 struct pp_atomctrl_gpio_pin_assignment gpio_pin; in polaris10_init_smc_table() local 1942 if (atomctrl_get_pp_assign_pin(hwmgr, VDDC_VRHOT_GPIO_PINID, &gpio_pin)) { in polaris10_init_smc_table() 1943 table->VRHotGpio = gpio_pin.uc_gpio_pin_bit_shift; in polaris10_init_smc_table() 1951 &gpio_pin)) { in polaris10_init_smc_table() 1952 table->AcDcGpio = gpio_pin.uc_gpio_pin_bit_shift; in polaris10_init_smc_table() 1963 &gpio_pin)) { in polaris10_init_smc_table() 1967 table->ThermOutGpio = gpio_pin.uc_gpio_pin_bit_shift; in polaris10_init_smc_table() 1975 & (1 << gpio_pin.uc_gpio_pin_bit_shift))) ? 1:0; in polaris10_init_smc_table()
|
D | ci_smumgr.c | 1947 struct pp_atomctrl_gpio_pin_assignment gpio_pin; in ci_init_smc_table() local 2072 if (atomctrl_get_pp_assign_pin(hwmgr, VDDC_VRHOT_GPIO_PINID, &gpio_pin)) { in ci_init_smc_table() 2073 table->VRHotGpio = gpio_pin.uc_gpio_pin_bit_shift; in ci_init_smc_table()
|
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_utils.h | 173 enum gpio_pin_function gpio_pin[3]; member
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-lpc18xx.c | 751 unsigned int gpio_port, gpio_pin; in lpc18xx_gpio_to_pintsel_val() local 754 gpio_pin = 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()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomfwctrl.c | 186 offsetof(struct atom_gpio_pin_lut_v2_1, gpio_pin[0]); in pp_atomfwctrl_lookup_gpio_pin()
|
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 1111 if (hw_info->gpio_pin[i] == in aq_ptp_gpio_init()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 7821 u16 gpio_pin; in bnx2x_sfp_e1e2_set_transmitter() local 7828 gpio_pin = tx_en_mode - PORT_HW_CFG_TX_LASER_GPIO0; in bnx2x_sfp_e1e2_set_transmitter() 7830 bnx2x_set_gpio(bp, gpio_pin, gpio_mode, gpio_port); in bnx2x_sfp_e1e2_set_transmitter() 8546 u16 gpio_pin = fault_led_gpio - in bnx2x_set_e1e2_module_fault_led() local 8550 gpio_pin, gpio_port, gpio_mode); in bnx2x_set_e1e2_module_fault_led() 8551 bnx2x_set_gpio(bp, gpio_pin, gpio_mode, gpio_port); in bnx2x_set_e1e2_module_fault_led()
|
/Linux-v5.10/drivers/gpu/drm/amd/include/ |
D | atomfirmware.h | 693 struct atom_gpio_pin_assignment gpio_pin[8]; member
|
/Linux-v5.10/sound/pci/hda/ |
D | patch_ca0132.c | 3521 static void ca0113_mmio_gpio_set(struct hda_codec *codec, unsigned int gpio_pin, in ca0113_mmio_gpio_set() argument 3527 gpio_data = gpio_pin & 0xF; in ca0113_mmio_gpio_set()
|