Home
last modified time | relevance | path

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

12

/linux-6.15/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-6.15/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-6.15/drivers/phy/cadence/
H A Dphy-cadence-sierra.c67 ((0x4000 << (block_offset)) + \
205 #define SIERRA_PHY_PCS_COMMON_OFFSET(block_offset) \ argument
206 (0xc000 << (block_offset))
212 ((0xD000 << (block_offset)) + \
218 #define SIERRA_PHY_PMA_COMMON_OFFSET(block_offset) \ argument
219 (0xE000 << (block_offset))
224 ((0xF000 << (block_offset)) + \
976 u32 block_offset, u8 reg_offset_shift, in cdns_regmap_init() argument
986 ctx->base = base + block_offset; in cdns_regmap_init()
1079 u32 block_offset; in cdns_regmap_init_blocks() local
[all …]
H A Dphy-cadence-torrent.c42 ((0x4000 << (block_offset)) + \
46 ((0x8000 << (block_offset)) + \
50 (0xC000 << (block_offset))
53 ((0xD000 << (block_offset)) + \
57 (0xE000 << (block_offset))
2102 u32 block_offset, in cdns_regmap_init() argument
2113 ctx->base = base + block_offset; in cdns_regmap_init()
2210 u32 block_offset; in cdns_torrent_dp_regmap_init() local
2214 block_offset = TORRENT_DPTX_PHY_OFFSET; in cdns_torrent_dp_regmap_init()
2233 u32 block_offset; in cdns_torrent_regmap_init() local
[all …]
/linux-6.15/drivers/md/
H A Ddm-verity-fec.c115 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
293 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
/linux-6.15/include/uapi/linux/
H A Dip.h143 __be16 block_offset; member
149 __be16 block_offset; member
/linux-6.15/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-6.15/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()
/linux-6.15/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-6.15/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-6.15/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-6.15/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
/linux-6.15/drivers/input/rmi4/
H A Drmi_f34.h134 __le16 block_offset; member
/linux-6.15/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-6.15/drivers/dma/
H A Dfsl-qdma.c137 (((fsl_qdma_engine)->block_offset) * (x))
228 int block_offset; member
1176 fsl_qdma->block_offset = blk_off; in fsl_qdma_probe()
/linux-6.15/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_v6_0.c136 u32 block_offset, u32 reg) in dce_v6_0_audio_endpt_rreg() argument
142 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v6_0_audio_endpt_rreg()
143 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v6_0_audio_endpt_rreg()
150 u32 block_offset, u32 reg, u32 v) in dce_v6_0_audio_endpt_wreg() argument
155 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce_v6_0_audio_endpt_wreg()
157 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v6_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-6.15/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-6.15/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()

12