| /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 …]
|
| /linux/drivers/md/ |
| H A D | dm-verity-fec.c | 101 unsigned int block_offset, int neras) in fec_decode_bufs() argument 110 par = fec_read_parity(v, rsb, block_offset, &offset, in fec_decode_bufs() 132 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs() 134 block_offset++; in fec_decode_bufs() 135 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs() 152 par = fec_read_parity(v, rsb, block_offset, &offset, in fec_decode_bufs() 193 u64 rsb, u64 target, unsigned int block_offset, in fec_read_bufs() argument 280 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/media/platform/arm/mali-c55/ |
| H A D | mali-c55-params.c | 695 size_t block_offset = 0; in mali_c55_params_write_config() local 719 while (max_offset && block_offset < max_offset) { in mali_c55_params_write_config() 723 block.data = &config->data[block_offset]; in mali_c55_params_write_config() 729 block_offset += block.header->size; in mali_c55_params_write_config()
|
| /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/fs/squashfs/ |
| H A D | block.c | 217 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 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
|
| /linux/fs/iomap/ |
| H A D | buffered-io.c | 276 unsigned block_offset = end_pos & (block_size - 1); in iomap_bytes_to_truncate() local 278 if (!block_offset) in iomap_bytes_to_truncate() 281 return ((blocks_truncated - 1) << block_bits) + block_offset; in iomap_bytes_to_truncate() 313 unsigned long block_offset = *pos & (block_size - 1); in iomap_adjust_read_range() local 315 (blocks_skipped << block_bits) - block_offset; in iomap_adjust_read_range()
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f34.h | 134 __le16 block_offset; member
|
| /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_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()
|
| 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()
|
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec.c | 1581 int i, j, matrix_offset, matrix_size, new_value, input_idx, line_offset, block_offset; in vdpu383_flatten_matrices() local 1589 block_offset = (block & 1) * 32 + (block & 2) * 2; in vdpu383_flatten_matrices() 1590 input_idx = ((j % 4) * row_length) + line_offset + block_offset; in vdpu383_flatten_matrices()
|
| /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/net/xfrm/ |
| H A D | xfrm_iptfs.c | 1245 trace_iptfs_egress_recv(skb, xtfs, be16_to_cpu(ipth->block_offset)); in iptfs_input_ordered() 1270 blkoff = ntohs(ipth->block_offset); in iptfs_input_ordered() 1938 h->block_offset = htons(blkoff);
|
| /linux/drivers/hid/usbhid/ |
| H A D | hid-pidff.c | 1063 const u8 block_offset = pidff_set_condition[PID_PARAM_BLOCK_OFFSET]; in pidff_find_fields() local 1088 } else if (table[i] == block_offset) { in pidff_find_fields()
|
| /linux/drivers/infiniband/core/ |
| H A D | verbs.c | 3172 unsigned int block_offset; in __rdma_block_iter_next() local 3179 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next() 3180 delta = BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
|