Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpio/
Dgpio-104-idio-16.c73 unsigned int out_state; member
139 idio16gpio->out_state |= mask; in idio_16_gpio_set()
141 idio16gpio->out_state &= ~mask; in idio_16_gpio_set()
144 iowrite8(idio16gpio->out_state >> 8, &idio16gpio->reg->out8_15); in idio_16_gpio_set()
146 iowrite8(idio16gpio->out_state, &idio16gpio->reg->out0_7); in idio_16_gpio_set()
159 idio16gpio->out_state &= ~*mask; in idio_16_gpio_set_multiple()
160 idio16gpio->out_state |= *mask & *bits; in idio_16_gpio_set_multiple()
163 iowrite8(idio16gpio->out_state, &idio16gpio->reg->out0_7); in idio_16_gpio_set_multiple()
165 iowrite8(idio16gpio->out_state >> 8, &idio16gpio->reg->out8_15); in idio_16_gpio_set_multiple()
304 idio16gpio->out_state = 0xFFFF; in idio_16_probe()
Dgpio-ws16c48.c61 unsigned char out_state[6]; member
90 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_input()
91 iowrite8(ws16c48gpio->out_state[port], ws16c48gpio->reg->port + port); in ws16c48_gpio_direction_input()
110 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_direction_output()
112 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_output()
113 iowrite8(ws16c48gpio->out_state[port], ws16c48gpio->reg->port + port); in ws16c48_gpio_direction_output()
183 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_set()
185 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_set()
186 iowrite8(ws16c48gpio->out_state[port], ws16c48gpio->reg->port + port); in ws16c48_gpio_set()
213 ws16c48gpio->out_state[index] &= ~gpio_mask; in ws16c48_gpio_set_multiple()
[all …]
Dgpio-pcie-idio-24.c287 unsigned int out_state; in idio_24_gpio_set() local
311 out_state = ioread8(base) | mask; in idio_24_gpio_set()
313 out_state = ioread8(base) & ~mask; in idio_24_gpio_set()
315 iowrite8(out_state, base); in idio_24_gpio_set()
333 unsigned long out_state; in idio_24_gpio_set_multiple() local
345 out_state = ioread8(ports[index]); in idio_24_gpio_set_multiple()
347 out_state = ioread8(&idio24gpio->reg->ttl_out0_7); in idio_24_gpio_set_multiple()
355 out_state &= ~gpio_mask; in idio_24_gpio_set_multiple()
356 out_state |= bitmask; in idio_24_gpio_set_multiple()
360 iowrite8(out_state, ports[index]); in idio_24_gpio_set_multiple()
[all …]
Dgpio-pci-idio-16.c132 unsigned int out_state; in idio_16_gpio_set() local
146 out_state = ioread8(base) | mask; in idio_16_gpio_set()
148 out_state = ioread8(base) & ~mask; in idio_16_gpio_set()
150 iowrite8(out_state, base); in idio_16_gpio_set()
168 unsigned long out_state; in idio_16_gpio_set_multiple() local
178 out_state = ioread8(port_addr) & ~gpio_mask; in idio_16_gpio_set_multiple()
179 out_state |= bitmask; in idio_16_gpio_set_multiple()
180 iowrite8(out_state, port_addr); in idio_16_gpio_set_multiple()
Dgpio-i8255.c64 unsigned long out_state; in i8255_set_port() local
68 out_state = ioread8(&ppi[bank].port[ppi_port]); in i8255_set_port()
69 out_state = (out_state & ~mask) | (bits & mask); in i8255_set_port()
70 iowrite8(out_state, &ppi[bank].port[ppi_port]); in i8255_set_port()
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-v6.1/drivers/iio/addac/
Dstx104.c91 unsigned int out_state; member
277 stx104gpio->out_state |= mask; in stx104_gpio_set()
279 stx104gpio->out_state &= ~mask; in stx104_gpio_set()
281 iowrite8(stx104gpio->out_state, stx104gpio->base); in stx104_gpio_set()
306 stx104gpio->out_state &= ~*mask; in stx104_gpio_set_multiple()
307 stx104gpio->out_state |= *mask & *bits; in stx104_gpio_set_multiple()
308 iowrite8(stx104gpio->out_state, stx104gpio->base); in stx104_gpio_set_multiple()
378 stx104gpio->out_state = 0x0; in stx104_probe()
/Linux-v6.1/drivers/crypto/marvell/cesa/
Dhash.c911 struct md5_state *out_state = out; in mv_cesa_md5_export() local
913 return mv_cesa_ahash_export(req, out_state->hash, in mv_cesa_md5_export()
914 &out_state->byte_count, out_state->block); in mv_cesa_md5_export()
982 struct sha1_state *out_state = out; in mv_cesa_sha1_export() local
984 return mv_cesa_ahash_export(req, out_state->state, &out_state->count, in mv_cesa_sha1_export()
985 out_state->buffer); in mv_cesa_sha1_export()
1067 struct sha256_state *out_state = out; in mv_cesa_sha256_export() local
1069 return mv_cesa_ahash_export(req, out_state->state, &out_state->count, in mv_cesa_sha256_export()
1070 out_state->buf); in mv_cesa_sha256_export()
/Linux-v6.1/net/ceph/
Dmessenger_v2.c1515 con->v2.out_state = OUT_S_FINISH_MESSAGE; in prepare_message_plain()
1521 con->v2.out_state = OUT_S_QUEUE_DATA; in prepare_message_plain()
1543 con->v2.out_state = OUT_S_QUEUE_DATA; in prepare_message_plain()
1547 con->v2.out_state = OUT_S_FINISH_MESSAGE; in prepare_message_plain()
1579 con->v2.out_state = OUT_S_FINISH_MESSAGE; in prepare_message_secure()
1614 con->v2.out_state = OUT_S_QUEUE_ENC_PAGE; in prepare_message_secure()
2352 con->v2.out_state = OUT_S_GET_NEXT; in process_server_ident()
2403 con->v2.out_state = OUT_S_GET_NEXT; in process_session_reconnect_ok()
2965 con->v2.out_state = OUT_S_QUEUE_DATA_CONT; in queue_data()
2980 WARN_ON(con->v2.out_state != OUT_S_QUEUE_DATA_CONT); in queue_data_cont()
[all …]
/Linux-v6.1/net/ipv6/
Dxfrm6_policy.c288 goto out_state; in xfrm6_init()
297 out_state: in xfrm6_init()
/Linux-v6.1/fs/xfs/scrub/
Ddabtree.c515 goto out_state; in xchk_da_btree()
522 goto out_state; in xchk_da_btree()
592 out_state: in xchk_da_btree()
/Linux-v6.1/arch/powerpc/sysdev/xive/
Dnative.c862 int xive_native_get_vp_state(u32 vp_id, u64 *out_state) in xive_native_get_vp_state() argument
873 if (out_state) in xive_native_get_vp_state()
874 *out_state = be64_to_cpu(state); in xive_native_get_vp_state()
/Linux-v6.1/arch/powerpc/include/asm/
Dxive.h142 int xive_native_get_vp_state(u32 vp_id, u64 *out_state);
/Linux-v6.1/drivers/gpu/drm/
Ddrm_client_modeset.c1004 goto out_state; in drm_client_modeset_commit_atomic()
1015 goto out_state; in drm_client_modeset_commit_atomic()
1032 goto out_state; in drm_client_modeset_commit_atomic()
1051 out_state: in drm_client_modeset_commit_atomic()
Ddrm_fb_helper.c1115 goto out_state; in setcmap_atomic()
1121 goto out_state; in setcmap_atomic()
1139 goto out_state; in setcmap_atomic()
1153 out_state: in setcmap_atomic()
/Linux-v6.1/include/linux/ceph/
Dmessenger.h369 int out_state; /* OUT_S_* */ member
/Linux-v6.1/net/xfrm/
Dxfrm_policy.c4136 goto out_state; in xfrm_net_init()
4150 out_state: in xfrm_net_init()