| /Linux-v5.4/drivers/misc/habanalabs/goya/ |
| D | goya_security.c | 31 u8 word_offset; in goya_init_mme_protection_bits() local 68 word_offset = ((mmMME_DUMMY & PROT_BITS_OFFS) >> 7) << 2; in goya_init_mme_protection_bits() 81 WREG32(pb_addr + word_offset, ~mask); in goya_init_mme_protection_bits() 84 word_offset = ((mmMME_STORE_MAX_CREDIT & PROT_BITS_OFFS) >> 7) << 2; in goya_init_mme_protection_bits() 104 WREG32(pb_addr + word_offset, ~mask); in goya_init_mme_protection_bits() 107 word_offset = ((mmMME_QM_GLBL_CFG0 & PROT_BITS_OFFS) >> 7) << 2; in goya_init_mme_protection_bits() 128 WREG32(pb_addr + word_offset, ~mask); in goya_init_mme_protection_bits() 131 word_offset = ((mmMME_QM_PQ_PUSH0 & PROT_BITS_OFFS) >> 7) << 2; in goya_init_mme_protection_bits() 160 WREG32(pb_addr + word_offset, ~mask); in goya_init_mme_protection_bits() 163 word_offset = ((mmMME_QM_CQ_IFIFO_CNT & PROT_BITS_OFFS) >> 7) << 2; in goya_init_mme_protection_bits() [all …]
|
| /Linux-v5.4/drivers/gpio/ |
| D | gpio-pcie-idio-24.c | 205 unsigned int word_offset; in idio_24_gpio_get_multiple() local 228 word_offset = bits_offset % BITS_PER_LONG; in idio_24_gpio_get_multiple() 231 word_mask = mask[word_index] & (port_mask << word_offset); in idio_24_gpio_get_multiple() 246 bits[word_index] |= (port_state << word_offset) & word_mask; in idio_24_gpio_get_multiple() 311 const unsigned int word_offset = ttl_offset % BITS_PER_LONG; in idio_24_gpio_set_multiple() local 312 const unsigned long ttl_mask = (mask[ttl_i] >> word_offset) & port_mask; in idio_24_gpio_set_multiple() 313 const unsigned long ttl_bits = (bits[ttl_i] >> word_offset) & ttl_mask; in idio_24_gpio_set_multiple()
|
| D | gpio-104-idi-48.c | 93 unsigned int word_offset; in idi_48_gpio_get_multiple() local 110 word_offset = bits_offset % BITS_PER_LONG; in idi_48_gpio_get_multiple() 113 word_mask = mask[word_index] & (port_mask << word_offset); in idi_48_gpio_get_multiple() 123 bits[word_index] |= (port_state << word_offset) & word_mask; in idi_48_gpio_get_multiple()
|
| D | gpio-pci-idio-16.c | 107 unsigned int word_offset; in idio_16_gpio_get_multiple() local 128 word_offset = bits_offset % BITS_PER_LONG; in idio_16_gpio_get_multiple() 131 word_mask = mask[word_index] & (port_mask << word_offset); in idio_16_gpio_get_multiple() 141 bits[word_index] |= (port_state << word_offset) & word_mask; in idio_16_gpio_get_multiple()
|
| D | gpio-gpio-mm.c | 176 unsigned int word_offset; in gpiomm_gpio_get_multiple() local 193 word_offset = bits_offset % BITS_PER_LONG; in gpiomm_gpio_get_multiple() 196 word_mask = mask[word_index] & (port_mask << word_offset); in gpiomm_gpio_get_multiple() 206 bits[word_index] |= (port_state << word_offset) & word_mask; in gpiomm_gpio_get_multiple()
|
| D | gpio-ws16c48.c | 134 unsigned int word_offset; in ws16c48_gpio_get_multiple() local 151 word_offset = bits_offset % BITS_PER_LONG; in ws16c48_gpio_get_multiple() 154 word_mask = mask[word_index] & (port_mask << word_offset); in ws16c48_gpio_get_multiple() 164 bits[word_index] |= (port_state << word_offset) & word_mask; in ws16c48_gpio_get_multiple()
|
| D | gpio-104-dio-48e.c | 187 unsigned int word_offset; in dio48e_gpio_get_multiple() local 204 word_offset = bits_offset % BITS_PER_LONG; in dio48e_gpio_get_multiple() 207 word_mask = mask[word_index] & (port_mask << word_offset); in dio48e_gpio_get_multiple() 217 bits[word_index] |= (port_state << word_offset) & word_mask; in dio48e_gpio_get_multiple()
|
| /Linux-v5.4/tools/testing/selftests/powerpc/mm/ |
| D | tlbie_test.c | 208 unsigned int word_offset = compute_word_offset(start, addr); in compute_store_pattern() local 211 ret += (word_offset & WORD_OFFSET_MASK) << WORD_OFFSET_SHIFT; in compute_store_pattern()
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_dcb.c | 944 u8 module, u32 word_offset) in _i40e_read_lldp_cfg() argument 946 u32 address, offset = (2 * word_offset); in _i40e_read_lldp_cfg() 981 offset = mem + word_offset; in _i40e_read_lldp_cfg()
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_filter.c | 357 unsigned int word_offset; in get_filter_count() local 391 word_offset = 4; in get_filter_count() 393 tcbaddr + (word_offset * sizeof(__be32)), in get_filter_count() 404 word_offset = 4; in get_filter_count() 406 tcbaddr + (word_offset * sizeof(__be32)), in get_filter_count() 415 word_offset = 6; in get_filter_count() 417 tcbaddr + (word_offset * sizeof(__be32)), in get_filter_count()
|
| /Linux-v5.4/arch/powerpc/kvm/ |
| D | powerpc.c | 953 int dword_offset, word_offset; in kvmppc_set_vsr_word() local 964 word_offset = offset % 2; in kvmppc_set_vsr_word() 966 val.vsx32val[word_offset] = gpr32; in kvmppc_set_vsr_word() 1374 u32 dword_offset, word_offset; in kvmppc_get_vsr_data() local 1409 word_offset = vsx_offset % 2; in kvmppc_get_vsr_data() 1411 *val = reg.vsx32val[word_offset]; in kvmppc_get_vsr_data()
|
| /Linux-v5.4/drivers/block/drbd/ |
| D | drbd_int.h | 196 unsigned long word_offset; member 216 c->word_offset = c->bit_offset >> 6; in bm_xfer_ctx_bit_to_word_offset() 218 c->word_offset = c->bit_offset >> 5; in bm_xfer_ctx_bit_to_word_offset() 219 c->word_offset &= ~(1UL); in bm_xfer_ctx_bit_to_word_offset()
|
| D | drbd_main.c | 1191 c->bit_offset = c->word_offset * BITS_PER_LONG; in fill_bitmap_rle_bits() 1243 c->bm_words - c->word_offset); in send_bitmap_rle_or_plain() 1246 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain() 1248 c->word_offset += num_words; in send_bitmap_rle_or_plain() 1249 c->bit_offset = c->word_offset * BITS_PER_LONG; in send_bitmap_rle_or_plain()
|
| D | drbd_receiver.c | 4685 c->bm_words - c->word_offset); in receive_bitmap_plain() 4699 drbd_bm_merge_lel(peer_device->device, c->word_offset, num_words, p); in receive_bitmap_plain() 4701 c->word_offset += num_words; in receive_bitmap_plain() 4702 c->bit_offset = c->word_offset * BITS_PER_LONG; in receive_bitmap_plain()
|