| /Linux-v6.6/drivers/gpu/drm/radeon/ |
| D | dce6_afmt.c | 34 u32 block_offset, u32 reg) in dce6_endpoint_rreg() argument 40 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce6_endpoint_rreg() 41 r = RREG32(AZ_F0_CODEC_ENDPOINT_DATA + block_offset); in dce6_endpoint_rreg() 48 u32 block_offset, u32 reg, u32 v) in dce6_endpoint_wreg() argument 54 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce6_endpoint_wreg() 56 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce6_endpoint_wreg() 58 WREG32(AZ_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce6_endpoint_wreg()
|
| /Linux-v6.6/fs/jfs/ |
| D | jfs_metapage.c | 339 int block_offset; /* block offset of mp within page */ in metapage_writepage() local 381 block_offset = offset >> inode->i_blkbits; in metapage_writepage() 382 lblock = page_start + block_offset; in metapage_writepage() 475 int block_offset; in metapage_read_folio() local 487 block_offset = 0; in metapage_read_folio() 488 while (block_offset < blocks_per_page) { in metapage_read_folio() 489 xlen = blocks_per_page - block_offset; in metapage_read_folio() 490 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_read_folio() 506 offset = block_offset << inode->i_blkbits; in metapage_read_folio() 509 block_offset += xlen; in metapage_read_folio() [all …]
|
| D | jfs_imap.c | 300 int block_offset; in diRead() local 348 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead() 353 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead() 356 rel_inode += block_offset << sbi->l2niperblk; in diRead() 586 int block_offset; in diWrite() local 620 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite() 625 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite() 628 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
|
| /Linux-v6.6/drivers/phy/cadence/ |
| D | phy-cadence-sierra.c | 66 #define SIERRA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument 67 ((0x4000 << (block_offset)) + \ 204 #define SIERRA_PHY_PCS_COMMON_OFFSET(block_offset) \ argument 205 (0xc000 << (block_offset)) 210 #define SIERRA_PHY_PCS_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument 211 ((0xD000 << (block_offset)) + \ 217 #define SIERRA_PHY_PMA_COMMON_OFFSET(block_offset) \ argument 218 (0xE000 << (block_offset)) 222 #define SIERRA_PHY_PMA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument 223 ((0xF000 << (block_offset)) + \ [all …]
|
| D | phy-cadence-torrent.c | 41 #define TORRENT_TX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument 42 ((0x4000 << (block_offset)) + \ 45 #define TORRENT_RX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument 46 ((0x8000 << (block_offset)) + \ 49 #define TORRENT_PHY_PCS_COMMON_OFFSET(block_offset) \ argument 50 (0xC000 << (block_offset)) 52 #define TORRENT_PHY_PCS_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument 53 ((0xD000 << (block_offset)) + \ 56 #define TORRENT_PHY_PMA_COMMON_OFFSET(block_offset) \ argument 57 (0xE000 << (block_offset)) [all …]
|
| /Linux-v6.6/drivers/md/ |
| D | dm-verity-fec.c | 124 u64 rsb, int byte_index, unsigned int block_offset, in fec_decode_bufs() argument 132 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs() 149 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs() 151 block_offset++; in fec_decode_bufs() 152 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs() 160 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs() 200 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument 286 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
|
| /Linux-v6.6/drivers/net/wireless/intersil/orinoco/ |
| D | fw.c | 48 __le32 block_offset; /* Offset of block data from eof header */ member 69 if ((hdrsize + le32_to_cpu(hdr->block_offset)) > len) in validate_fw() 161 le32_to_cpu(hdr->block_offset)); in orinoco_dl_firmware()
|
| /Linux-v6.6/drivers/soundwire/ |
| D | generic_bandwidth_allocation.c | 42 port_bo = t_data->block_offset; in sdw_compute_slave_ports() 78 port_bo = t_data->block_offset; in sdw_compute_slave_ports() 129 t_data.block_offset = port_bo; in sdw_compute_master_ports()
|
| D | bus.h | 150 int block_offset; member
|
| D | amd_manager.c | 426 t_data.block_offset = port_bo; in amd_sdw_compute_params()
|
| /Linux-v6.6/fs/ceph/ |
| D | ioctl.h | 62 __u64 block_offset; /* out: offset in block */ member
|
| D | ioctl.c | 207 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
|
| /Linux-v6.6/drivers/accel/habanalabs/common/ |
| D | security.c | 210 const u32 pb_blocks[], u32 block_offset, int array_size) in hl_ack_pb_security_violations() argument 216 block_base = pb_blocks[i] + block_offset; in hl_ack_pb_security_violations() 238 struct hl_block_glbl_sec sgs_array[], u32 block_offset, in hl_config_glbl_sec() argument 248 sgs_base = block_offset + pb_blocks[i] + in hl_config_glbl_sec()
|
| D | habanalabs.h | 4069 struct hl_block_glbl_sec sgs_array[], u32 block_offset,
|
| /Linux-v6.6/fs/squashfs/ |
| D | block.c | 190 struct bio **biop, int *block_offset) in squashfs_bio_read() argument 244 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | hv_vhca.c | 340 int block_offset = 0; in mlx5_hv_vhca_agent_write() local 350 len, &block_offset); in mlx5_hv_vhca_agent_write()
|
| /Linux-v6.6/drivers/input/rmi4/ |
| D | rmi_f34.h | 134 __le16 block_offset; member
|
| /Linux-v6.6/drivers/dma/ |
| D | fsl-qdma.c | 136 (((fsl_qdma_engine)->block_offset) * (x)) 223 int block_offset; member 1176 fsl_qdma->block_offset = blk_off; in fsl_qdma_probe()
|
| /Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | dce_v6_0.c | 128 u32 block_offset, u32 reg) in dce_v6_0_audio_endpt_rreg() argument 134 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v6_0_audio_endpt_rreg() 135 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v6_0_audio_endpt_rreg() 142 u32 block_offset, u32 reg, u32 v) in dce_v6_0_audio_endpt_wreg() argument 147 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce_v6_0_audio_endpt_wreg() 149 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v6_0_audio_endpt_wreg()
|
| D | dce_v8_0.c | 123 u32 block_offset, u32 reg) in dce_v8_0_audio_endpt_rreg() argument 129 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v8_0_audio_endpt_rreg() 130 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v8_0_audio_endpt_rreg() 137 u32 block_offset, u32 reg, u32 v) in dce_v8_0_audio_endpt_wreg() argument 142 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v8_0_audio_endpt_wreg() 143 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v8_0_audio_endpt_wreg()
|
| D | dce_v10_0.c | 171 u32 block_offset, u32 reg) in dce_v10_0_audio_endpt_rreg() argument 177 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_rreg() 178 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v10_0_audio_endpt_rreg() 185 u32 block_offset, u32 reg, u32 v) in dce_v10_0_audio_endpt_wreg() argument 190 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_wreg() 191 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v10_0_audio_endpt_wreg()
|
| D | dce_v11_0.c | 195 u32 block_offset, u32 reg) in dce_v11_0_audio_endpt_rreg() argument 201 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_rreg() 202 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v11_0_audio_endpt_rreg() 209 u32 block_offset, u32 reg, u32 v) in dce_v11_0_audio_endpt_wreg() argument 214 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_wreg() 215 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v11_0_audio_endpt_wreg()
|
| /Linux-v6.6/drivers/infiniband/core/ |
| D | verbs.c | 3028 unsigned int block_offset; in __rdma_block_iter_next() local 3035 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next() 3036 sg_delta = BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
|
| /Linux-v6.6/fs/ocfs2/ |
| D | xattr.c | 1718 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local 1722 block_offset = offset % loc->xl_inode->i_sb->s_blocksize; in ocfs2_xa_bucket_offset_pointer() 1724 return bucket_block(bucket, block) + block_offset; in ocfs2_xa_bucket_offset_pointer() 1862 int block_offset = nameval_offset >> sb->s_blocksize_bits; in ocfs2_xa_bucket_fill_value_buf() local 1865 BUG_ON(block_offset != in ocfs2_xa_bucket_fill_value_buf() 1868 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf() 1871 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
|
| /Linux-v6.6/drivers/net/ethernet/intel/i40e/ |
| D | i40e_main.c | 10756 u16 block_offset = 0xffff; in i40e_get_oem_version() local 10771 i40e_read_nvm_word(hw, I40E_SR_NVM_OEM_VERSION_PTR, &block_offset); in i40e_get_oem_version() 10772 if (block_offset == 0xffff) in i40e_get_oem_version() 10776 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_LENGTH_OFFSET, in i40e_get_oem_version() 10782 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_CAPABILITIES_OFFSET, in i40e_get_oem_version() 10787 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_GEN_OFFSET, in i40e_get_oem_version() 10789 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_RELEASE_OFFSET, in i40e_get_oem_version()
|