Home
last modified time | relevance | path

Searched refs:gpio_en (Results 1 – 6 of 6) sorted by relevance

/drivers/nfc/pn544/
Di2c.c168 unsigned int gpio_en; member
219 gpio_set_value_cansleep(phy->gpio_en, in pn544_hci_i2c_platform_init()
224 gpio_set_value_cansleep(phy->gpio_en, phy->en_polarity); in pn544_hci_i2c_platform_init()
243 gpio_set_value_cansleep(phy->gpio_en, !phy->en_polarity); in pn544_hci_i2c_platform_init()
251 gpio_set_value_cansleep(phy->gpio_en, phy->en_polarity); in pn544_hci_i2c_enable_mode()
275 gpio_set_value_cansleep(phy->gpio_en, !phy->en_polarity); in pn544_hci_i2c_disable()
278 gpio_set_value_cansleep(phy->gpio_en, phy->en_polarity); in pn544_hci_i2c_disable()
281 gpio_set_value_cansleep(phy->gpio_en, !phy->en_polarity); in pn544_hci_i2c_disable()
906 phy->gpio_en = desc_to_gpio(gpiod_en); in pn544_hci_i2c_acpi_request_resources()
964 phy->gpio_en = ret; in pn544_hci_i2c_of_request_resources()
[all …]
/drivers/nfc/s3fwrn5/
Di2c.c40 int gpio_en; member
70 gpio_set_value(phy->gpio_en, 1); in s3fwrn5_i2c_set_mode()
77 gpio_set_value(phy->gpio_en, 0); in s3fwrn5_i2c_set_mode()
214 phy->gpio_en = of_get_named_gpio(np, "s3fwrn5,en-gpios", 0); in s3fwrn5_i2c_parse_dt()
215 if (!gpio_is_valid(phy->gpio_en)) in s3fwrn5_i2c_parse_dt()
246 ret = devm_gpio_request_one(&phy->i2c_dev->dev, phy->gpio_en, in s3fwrn5_i2c_probe()
/drivers/nfc/nxp-nci/
Di2c.c53 unsigned int gpio_en; member
69 gpio_set_value(phy->gpio_en, (mode != NXP_NCI_MODE_COLD) ? 1 : 0); in nxp_nci_i2c_set_mode()
288 phy->gpio_en = r; in nxp_nci_i2c_parse_devtree()
338 phy->gpio_en = desc_to_gpio(gpiod_en); in nxp_nci_i2c_acpi_config()
377 phy->gpio_en = pdata->gpio_en; in nxp_nci_i2c_probe()
391 r = devm_gpio_request_one(&phy->i2c_dev->dev, phy->gpio_en, in nxp_nci_i2c_probe()
/drivers/pinctrl/
Dpinctrl-tz1090.c967 u32 gpio_en[3]; member
1259 pmx->gpio_en[pmx_index]) >> pmx_shift) & 1; in tz1090_pinctrl_select()
1289 u32 gpio_en; in tz1090_pinctrl_gpio_select() local
1301 gpio_en = pmx->gpio_en[index]; in tz1090_pinctrl_gpio_select()
1302 gpio_en &= ~BIT(shift); in tz1090_pinctrl_gpio_select()
1304 gpio_en |= BIT(shift); in tz1090_pinctrl_gpio_select()
1305 pmx->gpio_en[index] = gpio_en; in tz1090_pinctrl_gpio_select()
Dpinctrl-tz1090-pdc.c240 u32 gpio_en; member
539 select = ((pmx->mux_en & ~pmx->gpio_en) >> pin_shift) & 1; in tz1090_pdc_pinctrl_mux()
610 pmx->gpio_en |= BIT(pin); in tz1090_pdc_pinctrl_gpio_request_enable()
628 pmx->gpio_en &= ~BIT(pin); in tz1090_pdc_pinctrl_gpio_disable_free()
/drivers/regulator/
Dmax8952.c151 pd->gpio_en = of_get_named_gpio(np, "max8952,en-gpio", 0); in max8952_parse_dt()
227 config.ena_gpio = pdata->gpio_en; in max8952_pmic_probe()