Searched refs:bits_offset (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/gpio/ |
D | gpio-pcie-idio-24.c | 203 unsigned int bits_offset; in idio_24_gpio_get_multiple() local 222 bits_offset = i * gpio_reg_size; in idio_24_gpio_get_multiple() 225 word_index = BIT_WORD(bits_offset); in idio_24_gpio_get_multiple() 228 word_offset = bits_offset % BITS_PER_LONG; in idio_24_gpio_get_multiple() 298 unsigned long bits_offset; in idio_24_gpio_set_multiple() local 318 bits_offset = i * gpio_reg_size; in idio_24_gpio_set_multiple() 321 gpio_mask = (*mask >> bits_offset) & port_mask; in idio_24_gpio_set_multiple() 331 out_state |= (*bits >> bits_offset) & gpio_mask; in idio_24_gpio_set_multiple()
|
D | gpio-104-idi-48.c | 99 unsigned int bits_offset; in idi_48_gpio_get_multiple() local 112 bits_offset = i * gpio_reg_size; in idi_48_gpio_get_multiple() 115 word_index = BIT_WORD(bits_offset); in idi_48_gpio_get_multiple() 118 word_offset = bits_offset % BITS_PER_LONG; in idi_48_gpio_get_multiple()
|
D | gpio-gpio-mm.c | 182 unsigned int bits_offset; in gpiomm_gpio_get_multiple() local 195 bits_offset = i * gpio_reg_size; in gpiomm_gpio_get_multiple() 198 word_index = BIT_WORD(bits_offset); in gpiomm_gpio_get_multiple() 201 word_offset = bits_offset % BITS_PER_LONG; in gpiomm_gpio_get_multiple()
|
D | gpio-pci-idio-16.c | 113 unsigned int bits_offset; in idio_16_gpio_get_multiple() local 130 bits_offset = i * gpio_reg_size; in idio_16_gpio_get_multiple() 133 word_index = BIT_WORD(bits_offset); in idio_16_gpio_get_multiple() 136 word_offset = bits_offset % BITS_PER_LONG; in idio_16_gpio_get_multiple()
|
D | gpio-ws16c48.c | 140 unsigned int bits_offset; in ws16c48_gpio_get_multiple() local 153 bits_offset = i * gpio_reg_size; in ws16c48_gpio_get_multiple() 156 word_index = BIT_WORD(bits_offset); in ws16c48_gpio_get_multiple() 159 word_offset = bits_offset % BITS_PER_LONG; in ws16c48_gpio_get_multiple()
|
D | gpio-104-dio-48e.c | 193 unsigned int bits_offset; in dio48e_gpio_get_multiple() local 206 bits_offset = i * gpio_reg_size; in dio48e_gpio_get_multiple() 209 word_index = BIT_WORD(bits_offset); in dio48e_gpio_get_multiple() 212 word_offset = bits_offset % BITS_PER_LONG; in dio48e_gpio_get_multiple()
|
/Linux-v4.19/kernel/bpf/ |
D | btf.c | 991 void *data, u8 bits_offset, in btf_int_bits_seq_show() argument 1006 total_bits_offset = bits_offset + BTF_INT_OFFSET(int_data); in btf_int_bits_seq_show() 1008 bits_offset = BITS_PER_BYTE_MASKED(total_bits_offset); in btf_int_bits_seq_show() 1009 nr_copy_bits = nr_bits + bits_offset; in btf_int_bits_seq_show() 1016 left_shift_bits = bits_offset; in btf_int_bits_seq_show() 1029 u32 type_id, void *data, u8 bits_offset, in btf_int_seq_show() argument 1037 if (bits_offset || BTF_INT_OFFSET(int_data) || in btf_int_seq_show() 1039 btf_int_bits_seq_show(btf, t, data, bits_offset, m); in btf_int_seq_show() 1069 btf_int_bits_seq_show(btf, t, data, bits_offset, m); in btf_int_seq_show() 1252 u8 bits_offset, struct seq_file *m) in btf_modifier_seq_show() argument [all …]
|
D | core.c | 152 const u32 bits_offset = SHA_MESSAGE_BYTES - sizeof(__be64); in bpf_prog_calc_tag() local 203 bits = (__be64 *)(todo + bsize + bits_offset); in bpf_prog_calc_tag()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_btf.c | 69 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ argument 70 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits)) 71 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument 73 BTF_INT_ENC(encoding, bits_offset, bits) 81 #define BTF_MEMBER_ENC(name, type, bits_offset) \ argument 82 (name), (type), (bits_offset)
|