Home
last modified time | relevance | path

Searched refs:word_offset (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi_security.c490 u8 word_offset; in gaudi_init_mme_protection_bits() local
514 word_offset = ((mmMME0_CTRL_RESET & PROT_BITS_OFFS) >> 7) << 2; in gaudi_init_mme_protection_bits()
546 WREG32(pb_addr + word_offset, ~mask); in gaudi_init_mme_protection_bits()
549 word_offset = ((mmMME0_CTRL_SHADOW_0_STATUS & PROT_BITS_OFFS) >> 7) in gaudi_init_mme_protection_bits()
553 WREG32(pb_addr + word_offset, ~mask); in gaudi_init_mme_protection_bits()
556 word_offset = ((mmMME0_QM_GLBL_CFG0 & PROT_BITS_OFFS) >> 7) << 2; in gaudi_init_mme_protection_bits()
587 WREG32(pb_addr + word_offset, ~mask); in gaudi_init_mme_protection_bits()
590 word_offset = ((mmMME0_QM_PQ_BASE_HI_0 & PROT_BITS_OFFS) >> 7) << 2; in gaudi_init_mme_protection_bits()
624 WREG32(pb_addr + word_offset, ~mask); in gaudi_init_mme_protection_bits()
627 word_offset = ((mmMME0_QM_PQ_STS1_0 & PROT_BITS_OFFS) >> 7) << 2; in gaudi_init_mme_protection_bits()
[all …]
/linux/drivers/accel/habanalabs/goya/
H A Dgoya_security.c31 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/sound/soc/codecs/
H A Dcs35l41-lib.c705 .word_offset = 2,
712 .word_offset = 2,
719 .word_offset = 2,
726 .word_offset = 2,
733 .word_offset = 2,
819 int bit_offset, word_offset, ret, i; in cs35l41_otp_unpack() local
851 word_offset = otp_map_match->word_offset; in cs35l41_otp_unpack()
855 bit_offset, word_offset, bit_sum % 32, otp_map[i].size); in cs35l41_otp_unpack()
857 otp_val = (otp_mem[word_offset] & in cs35l41_otp_unpack()
859 otp_val |= (otp_mem[++word_offset] & in cs35l41_otp_unpack()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c361 unsigned int word_offset; in get_filter_count() local
397 word_offset = 4; in get_filter_count()
399 tcbaddr + (word_offset * sizeof(__be32)), in get_filter_count()
410 word_offset = 4; in get_filter_count()
412 tcbaddr + (word_offset * sizeof(__be32)), in get_filter_count()
421 word_offset = 6; in get_filter_count()
423 tcbaddr + (word_offset * sizeof(__be32)), in get_filter_count()
/linux/arch/powerpc/kvm/
H A Dpowerpc.c970 int dword_offset, word_offset; in kvmppc_set_vsr_word() local
981 word_offset = offset % 2; in kvmppc_set_vsr_word()
983 val.vsx32val[word_offset] = gpr32; in kvmppc_set_vsr_word()
1387 u32 dword_offset, word_offset; in kvmppc_get_vsr_data() local
1422 word_offset = vsx_offset % 2; in kvmppc_get_vsr_data()
1424 *val = reg.vsx32val[word_offset]; in kvmppc_get_vsr_data()
/linux/drivers/block/drbd/
H A Ddrbd_int.h123 unsigned long word_offset; member
143 c->word_offset = c->bit_offset >> 6; in bm_xfer_ctx_bit_to_word_offset()
145 c->word_offset = c->bit_offset >> 5; in bm_xfer_ctx_bit_to_word_offset()
146 c->word_offset &= ~(1UL); in bm_xfer_ctx_bit_to_word_offset()
H A Ddrbd_main.c1164 c->bit_offset = c->word_offset * BITS_PER_LONG; in fill_bitmap_rle_bits()
1217 c->bm_words - c->word_offset); in send_bitmap_rle_or_plain()
1220 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain()
1223 c->word_offset += num_words; in send_bitmap_rle_or_plain()
1224 c->bit_offset = c->word_offset * BITS_PER_LONG; in send_bitmap_rle_or_plain()
H A Ddrbd_receiver.c4455 c->bm_words - c->word_offset); in receive_bitmap_plain()
4469 drbd_bm_merge_lel(peer_device->device, c->word_offset, num_words, p); in receive_bitmap_plain()
4471 c->word_offset += num_words; in receive_bitmap_plain()
4472 c->bit_offset = c->word_offset * BITS_PER_LONG; in receive_bitmap_plain()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c1821 u8 module, u32 word_offset) in _i40e_read_lldp_cfg() argument
1823 u32 address, offset = (2 * word_offset); in _i40e_read_lldp_cfg()
1858 offset = mem + word_offset; in _i40e_read_lldp_cfg()
/linux/include/sound/
H A Dcs35l41.h832 u32 word_offset; member