| /linux/drivers/gpu/drm/radeon/ |
| H A D | dce6_afmt.c | 35 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 D | jfs_metapage.c | 427 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 += xlen; in metapage_read_folio() [all …]
|
| H A D | jfs_imap.c | 300 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/phy/cadence/ |
| H A D | phy-cadence-sierra.c | 69 #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)) + \ [all …]
|
| H A D | phy-cadence-torrent.c | 41 #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)) [all …]
|
| /linux/drivers/md/ |
| H A D | dm-verity-fec.c | 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() 207 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument 294 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | security.c | 226 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/fs/ceph/ |
| H A D | ioctl.h | 62 __u64 block_offset; /* out: offset in block */ member
|
| H A D | ioctl.c | 207 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | io-factory.h | 37 int __must_check uds_make_bufio(struct io_factory *factory, off_t block_offset,
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | hv_vhca.c | 340 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 D | generic_bandwidth_allocation.c | 44 port_bo = t_data->block_offset; in sdw_compute_slave_ports() 83 port_bo = t_data->block_offset; in sdw_compute_slave_ports() 182 t_data.block_offset = *port_bo; in sdw_compute_master_ports()
|
| H A D | bus.h | 180 int block_offset; member
|
| H A D | amd_manager.c | 472 t_data.block_offset = port_bo; in amd_sdw_compute_params()
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f34.h | 134 __le16 block_offset; member
|
| /linux/fs/iomap/ |
| H A D | buffered-io.c | 267 unsigned block_offset = end_pos & (block_size - 1); in iomap_bytes_to_truncate() local 269 if (!block_offset) in iomap_bytes_to_truncate() 272 return ((blocks_truncated - 1) << block_bits) + block_offset; in iomap_bytes_to_truncate() 304 unsigned long block_offset = *pos & (block_size - 1); in iomap_adjust_read_range() local 306 (blocks_skipped << block_bits) - block_offset; in iomap_adjust_read_range()
|
| /linux/drivers/dma/ |
| H A D | fsl-qdma.c | 137 (((fsl_qdma_engine)->block_offset) * (x)) 231 int block_offset; member 1179 fsl_qdma->block_offset = blk_off; in fsl_qdma_probe()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 124 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 D | dce_v10_0.c | 173 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 D | dce_v6_0.c | 136 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()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | slab-depot.c | 1187 size_t block_offset; in write_reference_block() local 1195 block_offset = (block - block->slab->reference_blocks); in write_reference_block() 1196 pbn = (block->slab->ref_counts_origin + block_offset); in write_reference_block() 2350 u32 block_offset = block - block->slab->reference_blocks; in load_reference_block_group() local 2351 u32 max_block_count = block->slab->reference_block_count - block_offset; in load_reference_block_group() 2355 vdo_submit_metadata_vio_with_size(vio, block->slab->ref_counts_origin + block_offset, in load_reference_block_group()
|
| /linux/drivers/hid/usbhid/ |
| H A D | hid-pidff.c | 1053 const u8 block_offset = pidff_set_condition[PID_PARAM_BLOCK_OFFSET]; in pidff_find_fields() local 1078 } else if (table[i] == block_offset) { in pidff_find_fields()
|
| /linux/drivers/infiniband/core/ |
| H A D | verbs.c | 3117 unsigned int block_offset; in __rdma_block_iter_next() local 3124 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next() 3125 delta = BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
|
| /linux/fs/ocfs2/ |
| H A D | xattr.c | 1757 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local 1761 block_offset = offset % loc->xl_inode->i_sb->s_blocksize; in ocfs2_xa_bucket_offset_pointer() 1763 return bucket_block(bucket, block) + block_offset; in ocfs2_xa_bucket_offset_pointer() 1901 int block_offset = nameval_offset >> sb->s_blocksize_bits; in ocfs2_xa_bucket_fill_value_buf() local 1904 BUG_ON(block_offset != in ocfs2_xa_bucket_fill_value_buf() 1907 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf() 1910 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
|