Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A Ddce6_afmt.c35 u32 block_offset, u32 reg) in dce6_endpoint_rreg() argument
41 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce6_endpoint_rreg()
42 r = RREG32(AZ_F0_CODEC_ENDPOINT_DATA + block_offset); in dce6_endpoint_rreg()
49 u32 block_offset, u32 reg, u32 v) in dce6_endpoint_wreg() argument
55 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce6_endpoint_wreg()
57 WREG32(AZ_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce6_endpoint_wreg()
59 WREG32(AZ_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce6_endpoint_wreg()
/linux/fs/jfs/
H A Djfs_metapage.c345 int block_offset; /* block offset of mp within page */ in metapage_write_folio() local
386 block_offset = offset >> inode->i_blkbits; in metapage_write_folio()
387 lblock = page_start + block_offset; in metapage_write_folio()
484 int block_offset; in metapage_read_folio() local
495 block_offset = 0; in metapage_read_folio()
496 while (block_offset < blocks_per_page) { in metapage_read_folio()
497 xlen = blocks_per_page - block_offset; in metapage_read_folio()
498 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_read_folio()
514 offset = block_offset << inode->i_blkbits; in metapage_read_folio()
516 block_offset += xlen; in metapage_read_folio()
[all …]
H A Djfs_imap.c300 int block_offset; in diRead() local
351 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
356 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
359 rel_inode += block_offset << sbi->l2niperblk; in diRead()
589 int block_offset; in diWrite() local
623 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
628 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
631 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
/linux/drivers/md/
H A Ddm-verity-fec.c127 unsigned int block_offset, int neras) in fec_decode_bufs() argument
135 par = fec_read_parity(v, rsb, block_offset, &offset, &buf, bio_prio(bio)); in fec_decode_bufs()
152 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs()
154 block_offset++; in fec_decode_bufs()
155 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs()
163 par = fec_read_parity(v, rsb, block_offset, &offset, &buf, bio_prio(bio)); in fec_decode_bufs()
202 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument
289 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
/linux/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c42 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()
H A Dbus.h150 int block_offset; member
H A Damd_manager.c421 t_data.block_offset = port_bo; in amd_sdw_compute_params()
/linux/drivers/accel/habanalabs/common/
H A Dsecurity.c226 const u32 pb_blocks[], u32 block_offset, int array_size) in hl_ack_pb_security_violations() argument
232 block_base = pb_blocks[i] + block_offset; in hl_ack_pb_security_violations()
254 struct hl_block_glbl_sec sgs_array[], u32 block_offset, in hl_config_glbl_sec() argument
264 sgs_base = block_offset + pb_blocks[i] + in hl_config_glbl_sec()
H A Dhabanalabs.h4198 struct hl_block_glbl_sec sgs_array[], u32 block_offset,
/linux/fs/ceph/
H A Dioctl.h62 __u64 block_offset; /* out: offset in block */ member
H A Dioctl.c207 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
/linux/drivers/md/dm-vdo/indexer/
H A Dio-factory.h37 int __must_check uds_make_bufio(struct io_factory *factory, off_t block_offset,
/linux/fs/squashfs/
H A Dblock.c190 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/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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/drivers/input/rmi4/
H A Drmi_f34.h134 __le16 block_offset; member
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-params.c2127 size_t block_offset = 0; in rkisp1_ext_params_config() local
2133 while (block_offset < cfg->data_size) { in rkisp1_ext_params_config()
2138 &cfg->data[block_offset]; in rkisp1_ext_params_config()
2139 block_offset += block->header.size; in rkisp1_ext_params_config()
2561 size_t block_offset = 0; in rkisp1_params_prepare_ext_params() local
2612 &cfg->data[block_offset]; in rkisp1_params_prepare_ext_params()
2642 block_offset += block->size; in rkisp1_params_prepare_ext_params()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v6_0.c129 u32 block_offset, u32 reg) in dce_v6_0_audio_endpt_rreg() argument
135 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v6_0_audio_endpt_rreg()
136 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v6_0_audio_endpt_rreg()
143 u32 block_offset, u32 reg, u32 v) in dce_v6_0_audio_endpt_wreg() argument
148 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce_v6_0_audio_endpt_wreg()
150 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v6_0_audio_endpt_wreg()
H A Ddce_v8_0.c124 u32 block_offset, u32 reg) in dce_v8_0_audio_endpt_rreg() argument
130 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v8_0_audio_endpt_rreg()
131 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v8_0_audio_endpt_rreg()
138 u32 block_offset, u32 reg, u32 v) in dce_v8_0_audio_endpt_wreg() argument
143 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v8_0_audio_endpt_wreg()
144 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v8_0_audio_endpt_wreg()
H A Ddce_v10_0.c173 u32 block_offset, u32 reg) in dce_v10_0_audio_endpt_rreg() argument
179 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_rreg()
180 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v10_0_audio_endpt_rreg()
187 u32 block_offset, u32 reg, u32 v) in dce_v10_0_audio_endpt_wreg() argument
192 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_wreg()
193 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v10_0_audio_endpt_wreg()
H A Ddce_v11_0.c197 u32 block_offset, u32 reg) in dce_v11_0_audio_endpt_rreg() argument
203 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_rreg()
204 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v11_0_audio_endpt_rreg()
211 u32 block_offset, u32 reg, u32 v) in dce_v11_0_audio_endpt_wreg() argument
216 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_wreg()
217 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v11_0_audio_endpt_wreg()
/linux/drivers/infiniband/core/
H A Dverbs.c3111 unsigned int block_offset; in __rdma_block_iter_next() local
3118 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next()
3119 sg_delta = BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
/linux/fs/ocfs2/
H A Dxattr.c1727 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local
1731 block_offset = offset % loc->xl_inode->i_sb->s_blocksize; in ocfs2_xa_bucket_offset_pointer()
1733 return bucket_block(bucket, block) + block_offset; in ocfs2_xa_bucket_offset_pointer()
1871 int block_offset = nameval_offset >> sb->s_blocksize_bits; in ocfs2_xa_bucket_fill_value_buf() local
1874 BUG_ON(block_offset != in ocfs2_xa_bucket_fill_value_buf()
1877 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf()
1880 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c10824 u16 block_offset = 0xffff; in i40e_get_oem_version() local
10839 i40e_read_nvm_word(hw, I40E_SR_NVM_OEM_VERSION_PTR, &block_offset); in i40e_get_oem_version()
10840 if (block_offset == 0xffff) in i40e_get_oem_version()
10844 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_LENGTH_OFFSET, in i40e_get_oem_version()
10850 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_CAPABILITIES_OFFSET, in i40e_get_oem_version()
10855 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_GEN_OFFSET, in i40e_get_oem_version()
10857 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_RELEASE_OFFSET, in i40e_get_oem_version()