Home
last modified time | relevance | path

Searched refs:out_state (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/drivers/gpio/
Dgpio-104-idio-16.c56 unsigned out_state; member
119 idio16gpio->out_state |= mask; in idio_16_gpio_set()
121 idio16gpio->out_state &= ~mask; in idio_16_gpio_set()
124 outb(idio16gpio->out_state >> 8, idio16gpio->base + 4); in idio_16_gpio_set()
126 outb(idio16gpio->out_state, idio16gpio->base); in idio_16_gpio_set()
139 idio16gpio->out_state &= ~*mask; in idio_16_gpio_set_multiple()
140 idio16gpio->out_state |= *mask & *bits; in idio_16_gpio_set_multiple()
143 outb(idio16gpio->out_state, idio16gpio->base); in idio_16_gpio_set_multiple()
145 outb(idio16gpio->out_state >> 8, idio16gpio->base + 4); in idio_16_gpio_set_multiple()
265 idio16gpio->out_state = 0xFFFF; in idio_16_probe()
Dgpio-pci-idio-16.c162 unsigned int out_state; in idio_16_gpio_set() local
176 out_state = ioread8(base) | mask; in idio_16_gpio_set()
178 out_state = ioread8(base) & ~mask; in idio_16_gpio_set()
180 iowrite8(out_state, base); in idio_16_gpio_set()
190 unsigned int out_state; in idio_16_gpio_set_multiple() local
196 out_state = ioread8(&idio16gpio->reg->out0_7) & ~*mask; in idio_16_gpio_set_multiple()
197 out_state |= *mask & *bits; in idio_16_gpio_set_multiple()
198 iowrite8(out_state, &idio16gpio->reg->out0_7); in idio_16_gpio_set_multiple()
207 out_state = ioread8(&idio16gpio->reg->out8_15) & ~*mask; in idio_16_gpio_set_multiple()
208 out_state |= *mask & *bits; in idio_16_gpio_set_multiple()
[all …]
Dgpio-gpio-mm.c50 unsigned char out_state[6]; member
137 gpiommgpio->out_state[io_port] |= mask; in gpiomm_gpio_direction_output()
139 gpiommgpio->out_state[io_port] &= ~mask; in gpiomm_gpio_direction_output()
144 outb(gpiommgpio->out_state[io_port], gpiommgpio->base + out_port); in gpiomm_gpio_direction_output()
232 gpiommgpio->out_state[port] |= mask; in gpiomm_gpio_set()
234 gpiommgpio->out_state[port] &= ~mask; in gpiomm_gpio_set()
236 outb(gpiommgpio->out_state[port], gpiommgpio->base + out_port); in gpiomm_gpio_set()
267 gpiommgpio->out_state[port] &= ~mask[BIT_WORD(i)]; in gpiomm_gpio_set_multiple()
268 gpiommgpio->out_state[port] |= bitmask; in gpiomm_gpio_set_multiple()
269 outb(gpiommgpio->out_state[port], gpiommgpio->base + out_port); in gpiomm_gpio_set_multiple()
Dgpio-ws16c48.c54 unsigned char out_state[6]; member
80 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_input()
81 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_direction_input()
100 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_direction_output()
102 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_output()
103 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_direction_output()
194 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_set()
196 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_set()
197 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_set()
230 ws16c48gpio->out_state[port] &= ~iomask; in ws16c48_gpio_set_multiple()
[all …]
Dgpio-pcie-idio-24.c302 unsigned int out_state; in idio_24_gpio_set() local
326 out_state = ioread8(base) | mask; in idio_24_gpio_set()
328 out_state = ioread8(base) & ~mask; in idio_24_gpio_set()
330 iowrite8(out_state, base); in idio_24_gpio_set()
345 unsigned int out_state; in idio_24_gpio_set_multiple() local
372 out_state = ioread8(ports[i]) & ~gpio_mask; in idio_24_gpio_set_multiple()
373 out_state |= (*bits >> bits_offset) & gpio_mask; in idio_24_gpio_set_multiple()
374 iowrite8(out_state, ports[i]); in idio_24_gpio_set_multiple()
387 out_state = ioread8(&idio24gpio->reg->ttl_out0_7) & ~ttl_mask; in idio_24_gpio_set_multiple()
388 out_state |= ttl_bits; in idio_24_gpio_set_multiple()
[all …]
Dgpio-104-dio-48e.c57 unsigned char out_state[6]; member
145 dio48egpio->out_state[io_port] |= mask; in dio48e_gpio_direction_output()
147 dio48egpio->out_state[io_port] &= ~mask; in dio48e_gpio_direction_output()
152 outb(dio48egpio->out_state[io_port], dio48egpio->base + out_port); in dio48e_gpio_direction_output()
242 dio48egpio->out_state[port] |= mask; in dio48e_gpio_set()
244 dio48egpio->out_state[port] &= ~mask; in dio48e_gpio_set()
246 outb(dio48egpio->out_state[port], dio48egpio->base + out_port); in dio48e_gpio_set()
277 dio48egpio->out_state[port] &= ~mask[BIT_WORD(i)]; in dio48e_gpio_set_multiple()
278 dio48egpio->out_state[port] |= bitmask; in dio48e_gpio_set_multiple()
279 outb(dio48egpio->out_state[port], dio48egpio->base + out_port); in dio48e_gpio_set_multiple()
Dgpio-twl4030.c74 unsigned int out_state; member
321 status = priv->out_state & BIT(offset); in twl_get()
342 priv->out_state |= BIT(offset); in twl_set()
344 priv->out_state &= ~BIT(offset); in twl_set()
/linux-4.19.296/drivers/iio/adc/
Dstx104.c102 unsigned int out_state; member
295 stx104gpio->out_state |= mask; in stx104_gpio_set()
297 stx104gpio->out_state &= ~mask; in stx104_gpio_set()
299 iowrite8(stx104gpio->out_state, stx104gpio->base); in stx104_gpio_set()
324 stx104gpio->out_state &= ~*mask; in stx104_gpio_set_multiple()
325 stx104gpio->out_state |= *mask & *bits; in stx104_gpio_set_multiple()
326 iowrite8(stx104gpio->out_state, stx104gpio->base); in stx104_gpio_set_multiple()
399 stx104gpio->out_state = 0x0; in stx104_probe()
/linux-4.19.296/fs/xfs/scrub/
Ddabtree.c522 goto out_state; in xchk_da_btree()
529 goto out_state; in xchk_da_btree()
596 out_state: in xchk_da_btree()