Home
last modified time | relevance | path

Searched refs:gpio_state (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/gpio/
Dxilinx_gpio.c30 u32 gpio_state; /* GPIO state shadow register */ member
70 chip->gpio_state |= 1 << gpio; in xgpio_set()
72 chip->gpio_state &= ~(1 << gpio); in xgpio_set()
73 out_be32(mm_gc->regs + XGPIO_DATA_OFFSET, chip->gpio_state); in xgpio_set()
126 chip->gpio_state |= 1 << gpio; in xgpio_dir_out()
128 chip->gpio_state &= ~(1 << gpio); in xgpio_dir_out()
129 out_be32(mm_gc->regs + XGPIO_DATA_OFFSET, chip->gpio_state); in xgpio_dir_out()
149 out_be32(mm_gc->regs + XGPIO_DATA_OFFSET, chip->gpio_state); in xgpio_save_regs()
174 chip->gpio_state = be32_to_cpup(tree_info); in xgpio_of_probe()
/linux-2.6.39/drivers/spi/
Dtle62x0.c32 unsigned int gpio_state; member
43 unsigned int gpio_state = st->gpio_state; in tle62x0_write() local
48 buff[1] = gpio_state >> 8; in tle62x0_write()
49 buff[2] = gpio_state; in tle62x0_write()
51 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()
263 st->gpio_state = pdata->init_state; in tle62x0_probe()
/linux-2.6.39/drivers/media/dvb/dvb-usb/
Dcxusb.c93 u8 o[2], gpio_state; in cxusb_bluebird_gpio_rw() local
99 rc = cxusb_ctrl_msg(d, CMD_BLUEBIRD_GPIO_RW, o, 2, &gpio_state, 1); in cxusb_bluebird_gpio_rw()
100 if (rc < 0 || (gpio_state & changemask) != (newval & changemask)) in cxusb_bluebird_gpio_rw()
103 return rc < 0 ? rc : gpio_state; in cxusb_bluebird_gpio_rw()