Home
last modified time | relevance | path

Searched refs:block_offset (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Ddce6_afmt.c33 u32 block_offset, u32 reg) in dce6_endpoint_rreg()
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()
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()
32 dce6_endpoint_rreg(struct radeon_device *rdev, u32 block_offset, u32 reg) dce6_endpoint_rreg() argument
46 dce6_endpoint_wreg(struct radeon_device *rdev, u32 block_offset, u32 reg, u32 v) dce6_endpoint_wreg() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Ddce6_afmt.c34 u32 block_offset, u32 reg) in dce6_endpoint_rreg()
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()
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()
33 dce6_endpoint_rreg(struct radeon_device *rdev, u32 block_offset, u32 reg) dce6_endpoint_rreg() argument
47 dce6_endpoint_wreg(struct radeon_device *rdev, u32 block_offset, u32 reg, u32 v) dce6_endpoint_wreg() argument
/kernel/linux/linux-5.10/drivers/soundwire/
H A 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/phy/cadence/
H A Dphy-cadence-sierra.c35 #define SIERRA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
36 ((0x4000 << (block_offset)) + \
139 #define SIERRA_PHY_CONFIG_CTRL_OFFSET(block_offset) \
140 (0xc000 << (block_offset))
385 u32 block_offset, u8 reg_offset_shift, in cdns_regmap_init()
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 in cdns_regmap_init_blocks()
384 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
[all...]
H A Dphy-cadence-torrent.c39 #define TORRENT_TX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
40 ((0x4000 << (block_offset)) + \
43 #define TORRENT_RX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
44 ((0x8000 << (block_offset)) + \
47 #define TORRENT_PHY_PCS_COMMON_OFFSET(block_offset) \
48 (0xC000 << (block_offset))
50 #define TORRENT_PHY_PMA_COMMON_OFFSET(block_offset) \
51 (0xE000 << (block_offset))
1658 u32 block_offset, in cdns_regmap_init()
1669 ctx->base = base + block_offset; in cdns_regmap_init()
1657 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
1739 u32 block_offset; cdns_torrent_dp_regmap_init() local
1762 u32 block_offset; cdns_torrent_regmap_init() local
[all...]
/kernel/linux/linux-5.10/fs/jfs/
H A 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 in metapage_readpage()
[all...]
H A Djfs_imap.c302 int block_offset; in diRead() local
350 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
355 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
358 rel_inode += block_offset << sbi->l2niperblk; in diRead()
588 int block_offset; in diWrite() local
622 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
627 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
630 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
/kernel/linux/linux-6.6/fs/jfs/
H A 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 in metapage_read_folio()
[all...]
H A Djfs_imap.c300 int block_offset; in diRead() local
348 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead()
353 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead()
356 rel_inode += block_offset << sbi->l2niperblk; in diRead()
586 int block_offset; in diWrite() local
620 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite()
625 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite()
628 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-verity-fec.c122 * starting from block_offset.
125 u64 rsb, int byte_index, unsigned block_offset, in fec_decode_bufs()
133 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
150 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs()
152 block_offset++; in fec_decode_bufs()
153 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs()
161 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
201 u64 rsb, u64 target, unsigned block_offset, in fec_read_bufs()
284 * starting from block_offset in fec_read_bufs()
287 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
124 fec_decode_bufs(struct dm_verity *v, struct dm_verity_fec_io *fio, u64 rsb, int byte_index, unsigned block_offset, int neras) fec_decode_bufs() argument
200 fec_read_bufs(struct dm_verity *v, struct dm_verity_io *io, u64 rsb, u64 target, unsigned block_offset, int *neras) fec_read_bufs() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-verity-fec.c122 * starting from block_offset.
125 u64 rsb, int byte_index, unsigned int block_offset, in fec_decode_bufs()
133 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
150 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs()
152 block_offset++; in fec_decode_bufs()
153 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs()
161 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
201 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs()
284 * starting from block_offset in fec_read_bufs()
287 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
124 fec_decode_bufs(struct dm_verity *v, struct dm_verity_fec_io *fio, u64 rsb, int byte_index, unsigned int block_offset, int neras) fec_decode_bufs() argument
200 fec_read_bufs(struct dm_verity *v, struct dm_verity_io *io, u64 rsb, u64 target, unsigned int block_offset, int *neras) fec_read_bufs() argument
[all...]
/kernel/linux/linux-6.6/drivers/phy/cadence/
H A Dphy-cadence-sierra.c66 #define SIERRA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
67 ((0x4000 << (block_offset)) + \
204 #define SIERRA_PHY_PCS_COMMON_OFFSET(block_offset) \
205 (0xc000 << (block_offset))
210 #define SIERRA_PHY_PCS_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
211 ((0xD000 << (block_offset)) + \
217 #define SIERRA_PHY_PMA_COMMON_OFFSET(block_offset) \
218 (0xE000 << (block_offset))
222 #define SIERRA_PHY_PMA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
223 ((0xF000 << (block_offset))
974 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
1078 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) \
42 ((0x4000 << (block_offset)) + \
45 #define TORRENT_RX_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
46 ((0x8000 << (block_offset)) + \
49 #define TORRENT_PHY_PCS_COMMON_OFFSET(block_offset) \
50 (0xC000 << (block_offset))
52 #define TORRENT_PHY_PCS_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \
53 ((0xD000 << (block_offset)) + \
56 #define TORRENT_PHY_PMA_COMMON_OFFSET(block_offset) \
57 (0xE000 << (block_offset))
2085 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
2194 u32 block_offset; cdns_torrent_dp_regmap_init() local
2217 u32 block_offset; cdns_torrent_regmap_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A 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-6.6/drivers/net/wireless/intersil/orinoco/
H A 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-6.6/drivers/accel/habanalabs/common/
H A Dsecurity.c205 * @block_offset: additional offset to the block
210 const u32 pb_blocks[], u32 block_offset, int array_size) in hl_ack_pb_security_violations()
216 block_base = pb_blocks[i] + block_offset; in hl_ack_pb_security_violations()
233 * @block_offset: additional offset to the block
238 struct hl_block_glbl_sec sgs_array[], u32 block_offset, in hl_config_glbl_sec()
248 sgs_base = block_offset + pb_blocks[i] + in hl_config_glbl_sec()
209 hl_ack_pb_security_violations(struct hl_device *hdev, const u32 pb_blocks[], u32 block_offset, int array_size) hl_ack_pb_security_violations() argument
237 hl_config_glbl_sec(struct hl_device *hdev, const u32 pb_blocks[], struct hl_block_glbl_sec sgs_array[], u32 block_offset, int array_size) hl_config_glbl_sec() argument
/kernel/linux/linux-5.10/fs/ceph/
H A Dioctl.h62 __u64 block_offset; /* out: offset in block */ member
/kernel/linux/linux-6.6/fs/ceph/
H A Dioctl.h62 __u64 block_offset; /* out: offset in block */ member
/kernel/linux/linux-5.10/fs/squashfs/
H A Dblock.c77 struct bio **biop, int *block_offset) in squashfs_bio_read()
124 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
76 squashfs_bio_read(struct super_block *sb, u64 index, int length, struct bio **biop, int *block_offset) squashfs_bio_read() argument
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/fs/squashfs/
H A Dblock.c190 struct bio **biop, int *block_offset) in squashfs_bio_read()
244 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
189 squashfs_bio_read(struct super_block *sb, u64 index, int length, struct bio **biop, int *block_offset) squashfs_bio_read() argument
/kernel/linux/linux-5.10/drivers/input/rmi4/
H A Drmi_f34.h134 __le16 block_offset; member

Completed in 42 milliseconds

12