Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpio/
Dgpio-104-idio-16.c48 unsigned out_state; member
111 idio16gpio->out_state |= mask; in idio_16_gpio_set()
113 idio16gpio->out_state &= ~mask; in idio_16_gpio_set()
116 outb(idio16gpio->out_state >> 8, idio16gpio->base + 4); in idio_16_gpio_set()
118 outb(idio16gpio->out_state, idio16gpio->base); in idio_16_gpio_set()
131 idio16gpio->out_state &= ~*mask; in idio_16_gpio_set_multiple()
132 idio16gpio->out_state |= *mask & *bits; in idio_16_gpio_set_multiple()
135 outb(idio16gpio->out_state, idio16gpio->base); in idio_16_gpio_set_multiple()
137 outb(idio16gpio->out_state >> 8, idio16gpio->base + 4); in idio_16_gpio_set_multiple()
257 idio16gpio->out_state = 0xFFFF; in idio_16_probe()
Dgpio-pci-idio-16.c154 unsigned int out_state; in idio_16_gpio_set() local
168 out_state = ioread8(base) | mask; in idio_16_gpio_set()
170 out_state = ioread8(base) & ~mask; in idio_16_gpio_set()
172 iowrite8(out_state, base); in idio_16_gpio_set()
182 unsigned int out_state; in idio_16_gpio_set_multiple() local
188 out_state = ioread8(&idio16gpio->reg->out0_7) & ~*mask; in idio_16_gpio_set_multiple()
189 out_state |= *mask & *bits; in idio_16_gpio_set_multiple()
190 iowrite8(out_state, &idio16gpio->reg->out0_7); in idio_16_gpio_set_multiple()
199 out_state = ioread8(&idio16gpio->reg->out8_15) & ~*mask; in idio_16_gpio_set_multiple()
200 out_state |= *mask & *bits; in idio_16_gpio_set_multiple()
[all …]
Dgpio-gpio-mm.c42 unsigned char out_state[6]; member
129 gpiommgpio->out_state[io_port] |= mask; in gpiomm_gpio_direction_output()
131 gpiommgpio->out_state[io_port] &= ~mask; in gpiomm_gpio_direction_output()
136 outb(gpiommgpio->out_state[io_port], gpiommgpio->base + out_port); in gpiomm_gpio_direction_output()
224 gpiommgpio->out_state[port] |= mask; in gpiomm_gpio_set()
226 gpiommgpio->out_state[port] &= ~mask; in gpiomm_gpio_set()
228 outb(gpiommgpio->out_state[port], gpiommgpio->base + out_port); in gpiomm_gpio_set()
259 gpiommgpio->out_state[port] &= ~mask[BIT_WORD(i)]; in gpiomm_gpio_set_multiple()
260 gpiommgpio->out_state[port] |= bitmask; in gpiomm_gpio_set_multiple()
261 outb(gpiommgpio->out_state[port], gpiommgpio->base + out_port); in gpiomm_gpio_set_multiple()
Dgpio-ws16c48.c46 unsigned char out_state[6]; member
72 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_input()
73 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_direction_input()
92 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_direction_output()
94 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_output()
95 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_direction_output()
186 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_set()
188 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_set()
189 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_set()
222 ws16c48gpio->out_state[port] &= ~iomask; in ws16c48_gpio_set_multiple()
[all …]
Dgpio-pcie-idio-24.c260 unsigned int out_state; in idio_24_gpio_set() local
284 out_state = ioread8(base) | mask; in idio_24_gpio_set()
286 out_state = ioread8(base) & ~mask; in idio_24_gpio_set()
288 iowrite8(out_state, base); in idio_24_gpio_set()
303 unsigned int out_state; in idio_24_gpio_set_multiple() local
330 out_state = ioread8(ports[i]) & ~gpio_mask; in idio_24_gpio_set_multiple()
331 out_state |= (*bits >> bits_offset) & gpio_mask; in idio_24_gpio_set_multiple()
332 iowrite8(out_state, ports[i]); in idio_24_gpio_set_multiple()
345 out_state = ioread8(&idio24gpio->reg->ttl_out0_7) & ~ttl_mask; in idio_24_gpio_set_multiple()
346 out_state |= ttl_bits; in idio_24_gpio_set_multiple()
[all …]
Dgpio-104-dio-48e.c49 unsigned char out_state[6]; member
137 dio48egpio->out_state[io_port] |= mask; in dio48e_gpio_direction_output()
139 dio48egpio->out_state[io_port] &= ~mask; in dio48e_gpio_direction_output()
144 outb(dio48egpio->out_state[io_port], dio48egpio->base + out_port); in dio48e_gpio_direction_output()
234 dio48egpio->out_state[port] |= mask; in dio48e_gpio_set()
236 dio48egpio->out_state[port] &= ~mask; in dio48e_gpio_set()
238 outb(dio48egpio->out_state[port], dio48egpio->base + out_port); in dio48e_gpio_set()
269 dio48egpio->out_state[port] &= ~mask[BIT_WORD(i)]; in dio48e_gpio_set_multiple()
270 dio48egpio->out_state[port] |= bitmask; in dio48e_gpio_set_multiple()
271 outb(dio48egpio->out_state[port], dio48egpio->base + out_port); in dio48e_gpio_set_multiple()
Dgpio-twl4030.c61 unsigned int out_state; member
325 status = priv->out_state & BIT(offset); in twl_get()
346 priv->out_state |= BIT(offset); in twl_set()
348 priv->out_state &= ~BIT(offset); in twl_set()
/Linux-v5.4/drivers/iio/adc/
Dstx104.c68 unsigned int out_state; member
251 stx104gpio->out_state |= mask; in stx104_gpio_set()
253 stx104gpio->out_state &= ~mask; in stx104_gpio_set()
255 outb(stx104gpio->out_state, stx104gpio->base); in stx104_gpio_set()
280 stx104gpio->out_state &= ~*mask; in stx104_gpio_set_multiple()
281 stx104gpio->out_state |= *mask & *bits; in stx104_gpio_set_multiple()
282 outb(stx104gpio->out_state, stx104gpio->base); in stx104_gpio_set_multiple()
351 stx104gpio->out_state = 0x0; in stx104_probe()
/Linux-v5.4/drivers/crypto/qce/
Dsha.c149 struct sha1_state *out_state = out; in qce_ahash_export() local
151 out_state->count = rctx->count; in qce_ahash_export()
152 qce_cpu_to_be32p_array((__be32 *)out_state->state, in qce_ahash_export()
154 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export()
156 struct sha256_state *out_state = out; in qce_ahash_export() local
158 out_state->count = rctx->count; in qce_ahash_export()
159 qce_cpu_to_be32p_array((__be32 *)out_state->state, in qce_ahash_export()
161 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export()
/Linux-v5.4/drivers/crypto/marvell/
Dhash.c877 struct md5_state *out_state = out; in mv_cesa_md5_export() local
879 return mv_cesa_ahash_export(req, out_state->hash, in mv_cesa_md5_export()
880 &out_state->byte_count, out_state->block); in mv_cesa_md5_export()
947 struct sha1_state *out_state = out; in mv_cesa_sha1_export() local
949 return mv_cesa_ahash_export(req, out_state->state, &out_state->count, in mv_cesa_sha1_export()
950 out_state->buffer); in mv_cesa_sha1_export()
1031 struct sha256_state *out_state = out; in mv_cesa_sha256_export() local
1033 return mv_cesa_ahash_export(req, out_state->state, &out_state->count, in mv_cesa_sha256_export()
1034 out_state->buf); in mv_cesa_sha256_export()
/Linux-v5.4/net/ipv6/
Dxfrm6_policy.c289 goto out_state; in xfrm6_init()
294 out_state: in xfrm6_init()
/Linux-v5.4/fs/xfs/scrub/
Ddabtree.c518 goto out_state; in xchk_da_btree()
525 goto out_state; in xchk_da_btree()
597 out_state: in xchk_da_btree()
/Linux-v5.4/arch/powerpc/include/asm/
Dxive.h138 extern int xive_native_get_vp_state(u32 vp_id, u64 *out_state);
/Linux-v5.4/arch/powerpc/sysdev/xive/
Dnative.c836 int xive_native_get_vp_state(u32 vp_id, u64 *out_state) in xive_native_get_vp_state() argument
848 if (out_state) in xive_native_get_vp_state()
849 *out_state = be64_to_cpu(state); in xive_native_get_vp_state()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_client_modeset.c922 goto out_state; in drm_client_modeset_commit_atomic()
933 goto out_state; in drm_client_modeset_commit_atomic()
950 goto out_state; in drm_client_modeset_commit_atomic()
966 out_state: in drm_client_modeset_commit_atomic()
Ddrm_fb_helper.c1063 goto out_state; in setcmap_atomic()
1069 goto out_state; in setcmap_atomic()
1082 goto out_state; in setcmap_atomic()
1096 out_state: in setcmap_atomic()
/Linux-v5.4/net/xfrm/
Dxfrm_policy.c4120 goto out_state; in xfrm_net_init()
4134 out_state: in xfrm_net_init()