Home
last modified time | relevance | path

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

12

/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.c427 int block_offset; /* block offset of mp within page */ in metapage_write_folio() local
468 block_offset = offset >> inode->i_blkbits; in metapage_write_folio()
469 lblock = page_start + block_offset; in metapage_write_folio()
568 int block_offset; in metapage_read_folio() local
579 block_offset = 0; in metapage_read_folio()
580 while (block_offset < blocks_per_page) { in metapage_read_folio()
581 xlen = blocks_per_page - block_offset; in metapage_read_folio()
582 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_read_folio()
598 offset = block_offset << inode->i_blkbits; in metapage_read_folio()
600 block_offset in metapage_read_folio()
[all...]
/linux/drivers/phy/cadence/
H A Dphy-cadence-sierra.c69 #define SIERRA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
70 ((0x4000 << (block_offset)) + \
208 #define SIERRA_PHY_PCS_COMMON_OFFSET(block_offset) \ argument
209 (0xc000 << (block_offset))
214 #define SIERRA_PHY_PCS_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
215 ((0xD000 << (block_offset)) + \
221 #define SIERRA_PHY_PMA_COMMON_OFFSET(block_offset) \ argument
222 (0xE000 << (block_offset))
226 #define SIERRA_PHY_PMA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument
227 ((0xF000 << (block_offset))
979 cdns_regmap_init(struct device * dev,void __iomem * base,u32 block_offset,u8 reg_offset_shift,const struct regmap_config * config) cdns_regmap_init() argument
1082 u32 block_offset; cdns_regmap_init_blocks() local
[all...]
H A Dphy-cadence-torrent.c41 #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))
2108 cdns_regmap_init(struct device * dev,void __iomem * base,u32 block_offset,u8 reg_offset_shift,const struct regmap_config * config) cdns_regmap_init() argument
2216 u32 block_offset; cdns_torrent_dp_regmap_init() local
2239 u32 block_offset; cdns_torrent_regmap_init() local
[all...]
/linux/drivers/md/
H A Ddm-verity-fec.c111 * starting from block_offset.
115 unsigned int block_offset, int neras) in fec_decode_bufs() argument
124 par = fec_read_parity(v, rsb, block_offset, &offset, in fec_decode_bufs()
146 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs()
148 block_offset++; in fec_decode_bufs()
149 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs()
166 par = fec_read_parity(v, rsb, block_offset, &offset, in fec_decode_bufs()
206 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument
290 * starting from block_offset in fec_read_bufs()
293 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
[all...]
/linux/include/uapi/linux/
H A Dip.h143 __be16 block_offset; member
149 __be16 block_offset; member
/linux/drivers/media/platform/amlogic/c3/isp/
H A Dc3-isp-params.c564 size_t block_offset = 0; in c3_isp_params_cfg_blocks() local
570 while (block_offset < config->data_size) { in c3_isp_params_cfg_blocks()
575 &config->data[block_offset]; in c3_isp_params_cfg_blocks()
580 block_offset += block->header.size; in c3_isp_params_cfg_blocks()
778 size_t block_offset = 0; in c3_isp_params_vb2_buf_prepare() local
824 &cfg->data[block_offset]; in c3_isp_params_vb2_buf_prepare()
854 block_offset += block->size; in c3_isp_params_vb2_buf_prepare()
/linux/fs/ceph/
H A Dioctl.h62 __u64 block_offset; /* out: offset in block */ member
H A Dioctl.c205 /* block_offset = object_offset % block_size */ in ceph_ioctl_get_dataloc()
207 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,
H A Dio-factory.c97 int uds_make_bufio(struct io_factory *factory, off_t block_offset, size_t block_size, in uds_make_bufio() argument
107 dm_bufio_set_sector_offset(client, block_offset * SECTORS_PER_BLOCK); in uds_make_bufio()
/linux/fs/squashfs/
H A Dblock.c217 struct bio **biop, int *block_offset) in squashfs_bio_read() argument
271 *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/soundwire/
H A Dgeneric_bandwidth_allocation.c44 port_bo = t_data->block_offset; in sdw_compute_slave_ports()
83 port_bo = t_data->block_offset; in sdw_compute_slave_ports()
179 t_data.block_offset = *port_bo; in sdw_compute_master_ports()
H A Dbus.h170 int block_offset; member
H A Damd_manager.c472 t_data.block_offset = port_bo; in amd_sdw_compute_params()
/linux/drivers/input/rmi4/
H A Drmi_f34.h134 __le16 block_offset; member
/linux/drivers/dma/
H A Dfsl-qdma.c137 (((fsl_qdma_engine)->block_offset) * (x))
231 int block_offset; member
1179 fsl_qdma->block_offset = blk_off; in fsl_qdma_probe()
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-params.c2220 size_t block_offset = 0; in rkisp1_ext_params_config() local
2226 while (block_offset < cfg->data_size) { in rkisp1_ext_params_config()
2231 &cfg->data[block_offset]; in rkisp1_ext_params_config()
2232 block_offset += block->header.size; in rkisp1_ext_params_config()
2654 size_t block_offset = 0; in rkisp1_params_prepare_ext_params() local
2705 &cfg->data[block_offset]; in rkisp1_params_prepare_ext_params()
2735 block_offset += block->size; in rkisp1_params_prepare_ext_params()
/linux/drivers/gpu/drm/amd/amdgpu/
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()
/linux/drivers/md/dm-vdo/
H A Dslab-depot.c1186 size_t block_offset; in write_reference_block() local
1194 block_offset = (block - block->slab->reference_blocks); in write_reference_block()
1195 pbn = (block->slab->ref_counts_origin + block_offset); in write_reference_block()
2341 u32 block_offset = block - block->slab->reference_blocks; in load_reference_block_group() local
2342 u32 max_block_count = block->slab->reference_block_count - block_offset; in load_reference_block_group()
2346 vdo_submit_metadata_vio_with_size(vio, block->slab->ref_counts_origin + block_offset, in load_reference_block_group()
/linux/net/xfrm/
H A Dxfrm_iptfs.c1234 trace_iptfs_egress_recv(skb, xtfs, be16_to_cpu(ipth->block_offset)); in iptfs_input_ordered()
1259 blkoff = ntohs(ipth->block_offset); in iptfs_input_ordered()
1927 h->block_offset = htons(blkoff); in iptfs_output_prepare_skb()
/linux/drivers/infiniband/core/
H A Dverbs.c3114 unsigned int block_offset; in __rdma_block_iter_next() local
3121 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next()
3122 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()

12