Searched refs:out_state (Results 1 – 8 of 8) sorted by relevance
/drivers/gpio/ |
D | gpio-ws16c48.c | 54 unsigned char out_state[6]; member 81 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_input() 82 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_direction_input() 101 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_direction_output() 103 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_output() 104 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_direction_output() 150 ws16c48gpio->out_state[port] |= mask; in ws16c48_gpio_set() 152 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_set() 153 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_set()
|
D | gpio-gpio-mm.c | 49 unsigned char out_state[6]; member 136 gpiommgpio->out_state[io_port] |= mask; in gpiomm_gpio_direction_output() 138 gpiommgpio->out_state[io_port] &= ~mask; in gpiomm_gpio_direction_output() 143 outb(gpiommgpio->out_state[io_port], gpiommgpio->base + out_port); in gpiomm_gpio_direction_output() 186 gpiommgpio->out_state[port] |= mask; in gpiomm_gpio_set() 188 gpiommgpio->out_state[port] &= ~mask; in gpiomm_gpio_set() 190 outb(gpiommgpio->out_state[port], gpiommgpio->base + out_port); in gpiomm_gpio_set()
|
D | gpio-104-idio-16.c | 58 unsigned out_state; member 107 idio16gpio->out_state |= mask; in idio_16_gpio_set() 109 idio16gpio->out_state &= ~mask; in idio_16_gpio_set() 112 outb(idio16gpio->out_state >> 8, idio16gpio->base + 4); in idio_16_gpio_set() 114 outb(idio16gpio->out_state, idio16gpio->base); in idio_16_gpio_set() 224 idio16gpio->out_state = 0xFFFF; in idio_16_probe()
|
D | gpio-104-dio-48e.c | 57 unsigned char out_state[6]; member 146 dio48egpio->out_state[io_port] |= mask; in dio48e_gpio_direction_output() 148 dio48egpio->out_state[io_port] &= ~mask; in dio48e_gpio_direction_output() 153 outb(dio48egpio->out_state[io_port], dio48egpio->base + out_port); in dio48e_gpio_direction_output() 198 dio48egpio->out_state[port] |= mask; in dio48e_gpio_set() 200 dio48egpio->out_state[port] &= ~mask; in dio48e_gpio_set() 202 outb(dio48egpio->out_state[port], dio48egpio->base + out_port); in dio48e_gpio_set()
|
D | gpio-twl4030.c | 74 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()
|
/drivers/iio/adc/ |
D | stx104.c | 76 unsigned int out_state; member 260 stx104gpio->out_state |= mask; in stx104_gpio_set() 262 stx104gpio->out_state &= ~mask; in stx104_gpio_set() 264 outb(stx104gpio->out_state, stx104gpio->base); in stx104_gpio_set() 334 stx104gpio->out_state = 0x0; in stx104_probe()
|
/drivers/crypto/qce/ |
D | sha.c | 157 struct sha1_state *out_state = out; in qce_ahash_export() local 159 out_state->count = rctx->count; in qce_ahash_export() 160 qce_cpu_to_be32p_array((__be32 *)out_state->state, in qce_ahash_export() 162 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export() 164 struct sha256_state *out_state = out; in qce_ahash_export() local 166 out_state->count = rctx->count; in qce_ahash_export() 167 qce_cpu_to_be32p_array((__be32 *)out_state->state, in qce_ahash_export() 169 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export()
|
/drivers/crypto/marvell/ |
D | hash.c | 847 struct md5_state *out_state = out; in mv_cesa_md5_export() local 849 return mv_cesa_ahash_export(req, out_state->hash, in mv_cesa_md5_export() 850 &out_state->byte_count, out_state->block); in mv_cesa_md5_export() 917 struct sha1_state *out_state = out; in mv_cesa_sha1_export() local 919 return mv_cesa_ahash_export(req, out_state->state, &out_state->count, in mv_cesa_sha1_export() 920 out_state->buffer); in mv_cesa_sha1_export() 1001 struct sha256_state *out_state = out; in mv_cesa_sha256_export() local 1003 return mv_cesa_ahash_export(req, out_state->state, &out_state->count, in mv_cesa_sha256_export() 1004 out_state->buf); in mv_cesa_sha256_export()
|