Home
last modified time | relevance | path

Searched refs:word_offset (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/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 in goya_init_mme_protection_bits()
275 u8 word_offset; goya_init_dma_protection_bits() local
675 u8 word_offset; goya_init_tpc_protection_bits() local
2276 u8 word_offset; goya_init_protection_bits() local
[all...]
/kernel/linux/linux-6.6/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 in goya_init_mme_protection_bits()
275 u8 word_offset; goya_init_dma_protection_bits() local
675 u8 word_offset; goya_init_tpc_protection_bits() local
2276 u8 word_offset; goya_init_protection_bits() local
[all...]
/kernel/linux/linux-5.10/drivers/misc/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 in gaudi_init_mme_protection_bits()
1474 u8 word_offset; gaudi_init_dma_protection_bits() local
5188 u8 word_offset; gaudi_init_tpc_protection_bits() local
[all...]
/kernel/linux/linux-6.6/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 in gaudi_init_mme_protection_bits()
1474 u8 word_offset; gaudi_init_dma_protection_bits() local
5190 u8 word_offset; gaudi_init_nic_protection_bits() local
9161 u8 word_offset; gaudi_init_tpc_protection_bits() local
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dcs35l41-lib.c702 .word_offset = 2,
709 .word_offset = 2,
716 .word_offset = 2,
723 .word_offset = 2,
730 .word_offset = 2,
816 int bit_offset, word_offset, ret, i; in cs35l41_otp_unpack() local
848 word_offset = otp_map_match->word_offset; in cs35l41_otp_unpack()
851 dev_dbg(dev, "bitoffset= %d, word_offset=%d, bit_sum mod 32=%d, otp_map[i].size = %u\n", in cs35l41_otp_unpack()
852 bit_offset, word_offset, bit_su in cs35l41_otp_unpack()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c208 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()
345 * | tid | word_offset(addr) | cur_sweep_id |
352 * | tid | word_offset(addr) | prev_sweep_id |
482 * | tid | word_offset(addr) | 0 | in rim_fn()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c207 unsigned int word_offset = compute_word_offset(start, addr); in compute_store_pattern() local
210 ret += (word_offset & WORD_OFFSET_MASK) << WORD_OFFSET_SHIFT; in compute_store_pattern()
344 * | tid | word_offset(addr) | cur_sweep_id |
351 * | tid | word_offset(addr) | prev_sweep_id |
481 * | tid | word_offset(addr) | 0 | in rim_fn()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c940 * @word_offset: offset of LLDP configuration
946 u8 module, u32 word_offset) in _i40e_read_lldp_cfg()
948 u32 address, offset = (2 * word_offset); in _i40e_read_lldp_cfg()
983 offset = mem + word_offset; in _i40e_read_lldp_cfg()
944 _i40e_read_lldp_cfg(struct i40e_hw *hw, struct i40e_lldp_variables *lldp_cfg, u8 module, u32 word_offset) _i40e_read_lldp_cfg() argument
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dpowerpc.c956 int dword_offset, word_offset; in kvmppc_set_vsr_word() local
967 word_offset = offset % 2; in kvmppc_set_vsr_word()
969 val.vsx32val[word_offset] = gpr32; in kvmppc_set_vsr_word()
1379 u32 dword_offset, word_offset; in kvmppc_get_vsr_data() local
1414 word_offset = vsx_offset % 2; in kvmppc_get_vsr_data()
1416 *val = reg.vsx32val[word_offset]; in kvmppc_get_vsr_data()
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dpowerpc.c988 int dword_offset, word_offset; in kvmppc_set_vsr_word() local
999 word_offset = offset % 2; in kvmppc_set_vsr_word()
1001 val.vsx32val[word_offset] = gpr32; in kvmppc_set_vsr_word()
1405 u32 dword_offset, word_offset; in kvmppc_get_vsr_data() local
1440 word_offset = vsx_offset % 2; in kvmppc_get_vsr_data()
1442 *val = reg.vsx32val[word_offset]; in kvmppc_get_vsr_data()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_int.h196 unsigned long word_offset; member
208 /* word_offset counts "native long words" (32 or 64 bit), in bm_xfer_ctx_bit_to_word_offset()
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()
H A Ddrbd_main.c1198 c->bit_offset = c->word_offset * BITS_PER_LONG; in fill_bitmap_rle_bits()
1203 * update c->word_offset. */ in fill_bitmap_rle_bits()
1250 c->bm_words - c->word_offset); in send_bitmap_rle_or_plain()
1253 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain()
1255 c->word_offset += num_words; in send_bitmap_rle_or_plain()
1256 c->bit_offset = c->word_offset * BITS_PER_LONG; in send_bitmap_rle_or_plain()
H A Ddrbd_receiver.c4686 c->bm_words - c->word_offset); in receive_bitmap_plain()
4700 drbd_bm_merge_lel(peer_device->device, c->word_offset, num_words, p); in receive_bitmap_plain()
4702 c->word_offset += num_words; in receive_bitmap_plain()
4703 c->bit_offset = c->word_offset * BITS_PER_LONG; in receive_bitmap_plain()
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_int.h123 unsigned long word_offset; member
135 /* word_offset counts "native long words" (32 or 64 bit), in bm_xfer_ctx_bit_to_word_offset()
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.c1184 c->bit_offset = c->word_offset * BITS_PER_LONG; in fill_bitmap_rle_bits()
1189 * update c->word_offset. */ in fill_bitmap_rle_bits()
1237 c->bm_words - c->word_offset); in send_bitmap_rle_or_plain()
1240 drbd_bm_get_lel(device, c->word_offset, num_words, p); in send_bitmap_rle_or_plain()
1243 c->word_offset += num_words; in send_bitmap_rle_or_plain()
1244 c->bit_offset = c->word_offset * BITS_PER_LONG; in send_bitmap_rle_or_plain()
H A Ddrbd_receiver.c4639 c->bm_words - c->word_offset); in receive_bitmap_plain()
4653 drbd_bm_merge_lel(peer_device->device, c->word_offset, num_words, p); in receive_bitmap_plain()
4655 c->word_offset += num_words; in receive_bitmap_plain()
4656 c->bit_offset = c->word_offset * BITS_PER_LONG; in receive_bitmap_plain()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c1887 * @word_offset: offset of LLDP configuration
1893 u8 module, u32 word_offset) in _i40e_read_lldp_cfg()
1895 u32 address, offset = (2 * word_offset); in _i40e_read_lldp_cfg()
1930 offset = mem + word_offset; in _i40e_read_lldp_cfg()
1891 _i40e_read_lldp_cfg(struct i40e_hw *hw, struct i40e_lldp_variables *lldp_cfg, u8 module, u32 word_offset) _i40e_read_lldp_cfg() argument
/kernel/linux/linux-6.6/include/sound/
H A Dcs35l41.h814 u32 word_offset; member

Completed in 54 milliseconds