Searched refs:gpio_state (Results 1 – 4 of 4) sorted by relevance
51 u32 gpio_state; member97 chip->gpio_state |= BIT(gpio); in xgpio_set()99 chip->gpio_state &= ~BIT(gpio); in xgpio_set()102 chip->gpio_state); in xgpio_set()157 chip->gpio_state |= BIT(gpio); in xgpio_dir_out()159 chip->gpio_state &= ~BIT(gpio); in xgpio_dir_out()161 chip->gpio_state); in xgpio_dir_out()182 chip->gpio_state); in xgpio_save_regs()207 of_property_read_u32(np, "xlnx,dout-default", &chip->gpio_state); in xgpio_of_probe()255 &chip->gpio_state); in xgpio_of_probe()
33 unsigned int gpio_state; member44 unsigned int gpio_state = st->gpio_state; in tle62x0_write() local49 buff[1] = gpio_state >> 8; in tle62x0_write()50 buff[2] = gpio_state; in tle62x0_write()52 buff[1] = gpio_state; in tle62x0_write()144 value = (st->gpio_state >> gpio_num) & 1; in tle62x0_gpio_show()168 st->gpio_state |= 1 << gpio_num; in tle62x0_gpio_store()170 st->gpio_state &= ~(1 << gpio_num); in tle62x0_gpio_store()261 st->gpio_state = pdata->init_state; in tle62x0_probe()
106 u8 o[2], gpio_state; in cxusb_bluebird_gpio_rw() local112 rc = cxusb_ctrl_msg(d, CMD_BLUEBIRD_GPIO_RW, o, 2, &gpio_state, 1); in cxusb_bluebird_gpio_rw()113 if (rc < 0 || (gpio_state & changemask) != (newval & changemask)) in cxusb_bluebird_gpio_rw()116 return rc < 0 ? rc : gpio_state; in cxusb_bluebird_gpio_rw()
5968 bool gpio_state; in switch_antenna_to_qam() local5975 gpio_state = state->m_gpio & state->antenna_gpio; in switch_antenna_to_qam()5977 if (state->antenna_dvbt ^ gpio_state) { in switch_antenna_to_qam()5993 bool gpio_state; in switch_antenna_to_dvbt() local6000 gpio_state = state->m_gpio & state->antenna_gpio; in switch_antenna_to_dvbt()6002 if (!(state->antenna_dvbt ^ gpio_state)) { in switch_antenna_to_dvbt()