Home
last modified time | relevance | path

Searched refs:block_offset (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/soundwire/
Dgeneric_bandwidth_allocation.c34 int block_offset; member
48 port_bo = t_data->block_offset; in sdw_compute_slave_ports()
84 port_bo = t_data->block_offset; in sdw_compute_slave_ports()
134 t_data.block_offset = port_bo; in sdw_compute_master_ports()
147 int block_offset, port_bo, i; in _sdw_compute_port_params() local
152 block_offset = 1; in _sdw_compute_port_params()
158 block_offset += m_rt->ch_count * in _sdw_compute_port_params()
160 port_bo = block_offset; in _sdw_compute_port_params()
/linux-6.1.9/drivers/gpu/drm/radeon/
Ddce6_afmt.c34 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-6.1.9/fs/jfs/
Djfs_metapage.c339 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 …]
Djfs_imap.c299 int block_offset; in diRead() local
347 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
352 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
355 rel_inode += block_offset << sbi->l2niperblk; in diRead()
585 int block_offset; in diWrite() local
619 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
624 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
627 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
/linux-6.1.9/drivers/cxl/core/
Dregs.c192 phys_addr += map->block_offset; in cxl_map_component_regs()
212 phys_addr += map->block_offset; in cxl_map_device_regs()
254 map->block_offset = ((u64)reg_hi << 32) | in cxl_decode_regblock()
277 map->block_offset = U64_MAX; in cxl_find_regblock()
301 map->block_offset = U64_MAX; in cxl_find_regblock()
/linux-6.1.9/drivers/cxl/
Dcxlpci.h68 if (map->block_offset == U64_MAX) in cxl_regmap_to_base()
71 return pci_resource_start(pdev, map->barno) + map->block_offset; in cxl_regmap_to_base()
Dpci.c282 resource_size_t offset = map->block_offset; in cxl_map_regblock()
300 map->base = addr + map->block_offset; in cxl_map_regblock()
307 pci_iounmap(pdev, map->base - map->block_offset); in cxl_unmap_regblock()
Dcxl.h198 u64 block_offset; member
/linux-6.1.9/drivers/phy/cadence/
Dphy-cadence-sierra.c53 #define SIERRA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
54 ((0x4000 << (block_offset)) + \
180 #define SIERRA_PHY_PCS_COMMON_OFFSET(block_offset) \ argument
181 (0xc000 << (block_offset))
186 #define SIERRA_PHY_PCS_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
187 ((0xD000 << (block_offset)) + \
193 #define SIERRA_PHY_PMA_COMMON_OFFSET(block_offset) \ argument
194 (0xE000 << (block_offset))
198 #define SIERRA_PHY_PMA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
199 ((0xF000 << (block_offset)) + \
[all …]
Dphy-cadence-torrent.c43 #define TORRENT_TX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
44 ((0x4000 << (block_offset)) + \
47 #define TORRENT_RX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
48 ((0x8000 << (block_offset)) + \
51 #define TORRENT_PHY_PCS_COMMON_OFFSET(block_offset) \ argument
52 (0xC000 << (block_offset))
54 #define TORRENT_PHY_PCS_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
55 ((0xD000 << (block_offset)) + \
58 #define TORRENT_PHY_PMA_COMMON_OFFSET(block_offset) \ argument
59 (0xE000 << (block_offset))
[all …]
/linux-6.1.9/drivers/md/
Ddm-verity-fec.c124 u64 rsb, int byte_index, unsigned 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 block_offset, in fec_read_bufs() argument
286 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
/linux-6.1.9/drivers/misc/habanalabs/common/
Dsecurity.c197 const u32 pb_blocks[], u32 block_offset, int array_size) in hl_ack_pb_security_violations() argument
203 block_base = pb_blocks[i] + block_offset; in hl_ack_pb_security_violations()
225 struct hl_block_glbl_sec sgs_array[], u32 block_offset, in hl_config_glbl_sec() argument
235 sgs_base = block_offset + pb_blocks[i] + in hl_config_glbl_sec()
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dfw.c48 __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-6.1.9/fs/ceph/
Dioctl.h62 __u64 block_offset; /* out: offset in block */ member
Dioctl.c206 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
/linux-6.1.9/fs/squashfs/
Dblock.c80 struct bio **biop, int *block_offset) in squashfs_bio_read() argument
121 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dhv_vhca.c340 int block_offset = 0; in mlx5_hv_vhca_agent_write() local
350 len, &block_offset); in mlx5_hv_vhca_agent_write()
/linux-6.1.9/drivers/input/rmi4/
Drmi_f34.h134 __le16 block_offset; member
/linux-6.1.9/drivers/dma/
Dfsl-qdma.c136 (((fsl_qdma_engine)->block_offset) * (x))
223 int block_offset; member
1177 fsl_qdma->block_offset = blk_off; in fsl_qdma_probe()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c126 u32 block_offset, u32 reg) in dce_v6_0_audio_endpt_rreg() argument
132 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v6_0_audio_endpt_rreg()
133 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v6_0_audio_endpt_rreg()
140 u32 block_offset, u32 reg, u32 v) in dce_v6_0_audio_endpt_wreg() argument
145 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce_v6_0_audio_endpt_wreg()
147 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v6_0_audio_endpt_wreg()
Ddce_v8_0.c123 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()
Ddce_v10_0.c175 u32 block_offset, u32 reg) in dce_v10_0_audio_endpt_rreg() argument
181 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_rreg()
182 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v10_0_audio_endpt_rreg()
189 u32 block_offset, u32 reg, u32 v) in dce_v10_0_audio_endpt_wreg() argument
194 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_wreg()
195 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v10_0_audio_endpt_wreg()
Ddce_v11_0.c193 u32 block_offset, u32 reg) in dce_v11_0_audio_endpt_rreg() argument
199 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_rreg()
200 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v11_0_audio_endpt_rreg()
207 u32 block_offset, u32 reg, u32 v) in dce_v11_0_audio_endpt_wreg() argument
212 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_wreg()
213 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v11_0_audio_endpt_wreg()
/linux-6.1.9/drivers/infiniband/core/
Dverbs.c2959 unsigned int block_offset; in __rdma_block_iter_next() local
2966 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next()
2967 sg_delta = BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
/linux-6.1.9/fs/ocfs2/
Dxattr.c1722 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local
1726 block_offset = offset % loc->xl_inode->i_sb->s_blocksize; in ocfs2_xa_bucket_offset_pointer()
1728 return bucket_block(bucket, block) + block_offset; in ocfs2_xa_bucket_offset_pointer()
1866 int block_offset = nameval_offset >> sb->s_blocksize_bits; in ocfs2_xa_bucket_fill_value_buf() local
1869 BUG_ON(block_offset != in ocfs2_xa_bucket_fill_value_buf()
1872 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf()
1875 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()

12