Searched refs:gpio_state (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/spi/ |
D | spi-tle62x0.c | 30 unsigned int gpio_state; member 41 unsigned int gpio_state = st->gpio_state; in tle62x0_write() local 46 buff[1] = gpio_state >> 8; in tle62x0_write() 47 buff[2] = gpio_state; in tle62x0_write() 49 buff[1] = gpio_state; in tle62x0_write() 141 value = (st->gpio_state >> gpio_num) & 1; in tle62x0_gpio_show() 165 st->gpio_state |= 1 << gpio_num; in tle62x0_gpio_store() 167 st->gpio_state &= ~(1 << gpio_num); in tle62x0_gpio_store() 258 st->gpio_state = pdata->init_state; in tle62x0_probe()
|
/linux-6.12.1/drivers/platform/x86/ |
D | lenovo-yoga-tab2-pro-1380-fastcharger.c | 39 struct pinctrl_state *gpio_state; member 51 struct pinctrl_state *state = enable ? fc->gpio_state : fc->uart_state; in yt2_1380_fc_set_gpio_mode() 181 fc->gpio_state = pinctrl_lookup_state(fc->pinctrl, "uart3_gpio"); in yt2_1380_fc_serdev_probe() 183 if (IS_ERR(fc->gpio_state) || IS_ERR(fc->uart_state)) in yt2_1380_fc_serdev_probe()
|
/linux-6.12.1/drivers/media/i2c/ |
D | max9286.c | 181 u8 gpio_state; member 1188 priv->gpio_state |= BIT(offset); in max9286_gpio_set() 1190 priv->gpio_state &= ~BIT(offset); in max9286_gpio_set() 1193 MAX9286_0X0F_RESERVED | priv->gpio_state); in max9286_gpio_set() 1208 return priv->gpio_state & BIT(offset); in max9286_gpiochip_get() 1592 priv->gpio_state = BIT(0) | BIT(1); in max9286_probe()
|
/linux-6.12.1/drivers/media/usb/dvb-usb/ |
D | cxusb.c | 134 u8 o[2], gpio_state; in cxusb_bluebird_gpio_rw() local 140 rc = cxusb_ctrl_msg(d, CMD_BLUEBIRD_GPIO_RW, o, 2, &gpio_state, 1); in cxusb_bluebird_gpio_rw() 141 if (rc < 0 || (gpio_state & changemask) != (newval & changemask)) in cxusb_bluebird_gpio_rw() 144 return rc < 0 ? rc : gpio_state; in cxusb_bluebird_gpio_rw()
|
/linux-6.12.1/sound/soc/codecs/ |
D | rt5645.c | 3321 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local 3331 gpio_state = gpiod_get_value(rt5645->gpiod_hp_det); in rt5645_jack_detect_work() 3333 gpio_state ^= 1; in rt5645_jack_detect_work() 3335 gpio_state); in rt5645_jack_detect_work() 3336 report = rt5645_jack_detect(rt5645->component, gpio_state); in rt5645_jack_detect_work()
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | drxk_hard.c | 5913 bool gpio_state; in switch_antenna_to_qam() local 5920 gpio_state = state->m_gpio & state->antenna_gpio; in switch_antenna_to_qam() 5922 if (state->antenna_dvbt ^ gpio_state) { in switch_antenna_to_qam() 5938 bool gpio_state; in switch_antenna_to_dvbt() local 5945 gpio_state = state->m_gpio & state->antenna_gpio; in switch_antenna_to_dvbt() 5947 if (!(state->antenna_dvbt ^ gpio_state)) { in switch_antenna_to_dvbt()
|