Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
135 t_data.block_offset = port_bo; in sdw_compute_master_ports()
148 int block_offset, port_bo, i; in _sdw_compute_port_params() local
153 block_offset = 1; in _sdw_compute_port_params()
159 block_offset += m_rt->ch_count * in _sdw_compute_port_params()
161 port_bo = block_offset; in _sdw_compute_port_params()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Ddce6_afmt.c33 u32 block_offset, u32 reg) in dce6_endpoint_rreg() argument
39 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce6_endpoint_rreg()
40 r = RREG32(AZ_F0_CODEC_ENDPOINT_DATA + block_offset); in dce6_endpoint_rreg()
47 u32 block_offset, u32 reg, u32 v) in dce6_endpoint_wreg() argument
53 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce6_endpoint_wreg()
55 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce6_endpoint_wreg()
57 WREG32(AZ_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce6_endpoint_wreg()
/kernel/linux/linux-5.10/drivers/phy/cadence/
Dphy-cadence-sierra.c35 #define SIERRA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
36 ((0x4000 << (block_offset)) + \
139 #define SIERRA_PHY_CONFIG_CTRL_OFFSET(block_offset) \ argument
140 (0xc000 << (block_offset))
385 u32 block_offset, u8 reg_offset_shift, in cdns_regmap_init() argument
395 ctx->base = base + block_offset; in cdns_regmap_init()
443 u32 block_offset; in cdns_regmap_init_blocks() local
447 block_offset = SIERRA_LANE_CDB_OFFSET(i, block_offset_shift, in cdns_regmap_init_blocks()
449 regmap = cdns_regmap_init(dev, base, block_offset, in cdns_regmap_init_blocks()
468 block_offset = SIERRA_PHY_CONFIG_CTRL_OFFSET(block_offset_shift); in cdns_regmap_init_blocks()
[all …]
Dphy-cadence-torrent.c39 #define TORRENT_TX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
40 ((0x4000 << (block_offset)) + \
43 #define TORRENT_RX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
44 ((0x8000 << (block_offset)) + \
47 #define TORRENT_PHY_PCS_COMMON_OFFSET(block_offset) \ argument
48 (0xC000 << (block_offset))
50 #define TORRENT_PHY_PMA_COMMON_OFFSET(block_offset) \ argument
51 (0xE000 << (block_offset))
1658 u32 block_offset, in cdns_regmap_init() argument
1669 ctx->base = base + block_offset; in cdns_regmap_init()
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Djfs_metapage.c338 int block_offset; /* block offset of mp within page */ in metapage_writepage() local
380 block_offset = offset >> inode->i_blkbits; in metapage_writepage()
381 lblock = page_start + block_offset; in metapage_writepage()
475 int block_offset; in metapage_readpage() local
487 block_offset = 0; in metapage_readpage()
488 while (block_offset < blocks_per_page) { in metapage_readpage()
489 xlen = blocks_per_page - block_offset; in metapage_readpage()
490 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_readpage()
507 offset = block_offset << inode->i_blkbits; in metapage_readpage()
510 block_offset += xlen; in metapage_readpage()
[all …]
Djfs_imap.c301 int block_offset; in diRead() local
349 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
354 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
357 rel_inode += block_offset << sbi->l2niperblk; in diRead()
587 int block_offset; in diWrite() local
621 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
626 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
629 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/squashfs/
Dblock.c77 struct bio **biop, int *block_offset) in squashfs_bio_read() argument
124 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f34.h134 __le16 block_offset; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/ide/
Dide-tape.c1379 int block_offset = 0, position = tape->first_frame; in do_idetape_chrdev_ioctl() local
1389 block_offset = tape->valid / in do_idetape_chrdev_ioctl()
1403 mtget.mt_blkno = position / tape->user_bs_factor - block_offset; in do_idetape_chrdev_ioctl()
1413 mtpos.mt_blkno = position / tape->user_bs_factor - block_offset; in do_idetape_chrdev_ioctl()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c2910 unsigned int block_offset; in __rdma_block_iter_next() local
2916 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next()
2917 biter->__sg_advance += BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
/kernel/linux/linux-5.10/fs/ocfs2/
Dxattr.c1724 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local
1728 block_offset = offset % loc->xl_inode->i_sb->s_blocksize; in ocfs2_xa_bucket_offset_pointer()
1730 return bucket_block(bucket, block) + block_offset; in ocfs2_xa_bucket_offset_pointer()
1868 int block_offset = nameval_offset >> sb->s_blocksize_bits; in ocfs2_xa_bucket_fill_value_buf() local
1871 BUG_ON(block_offset != in ocfs2_xa_bucket_fill_value_buf()
1874 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf()
1877 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
/kernel/linux/linux-5.10/drivers/tty/
Dcyclades.c114 u32 block_offset; member
3413 bs = ptr + h->block_offset; in __cyz_load_fw()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c10043 u16 block_offset = 0xffff; in i40e_get_oem_version() local
10058 i40e_read_nvm_word(hw, I40E_SR_NVM_OEM_VERSION_PTR, &block_offset); in i40e_get_oem_version()
10059 if (block_offset == 0xffff) in i40e_get_oem_version()
10063 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_LENGTH_OFFSET, in i40e_get_oem_version()
10069 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_CAPABILITIES_OFFSET, in i40e_get_oem_version()
10074 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_GEN_OFFSET, in i40e_get_oem_version()
10076 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_RELEASE_OFFSET, in i40e_get_oem_version()