/linux/drivers/soundwire/ |
A D | generic_bandwidth_allocation.c | 34 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() 134 t_data.block_offset = port_bo; in sdw_compute_master_ports() 147 int block_offset, port_bo, i; in _sdw_compute_port_params() local 152 block_offset = 1; in _sdw_compute_port_params() 158 block_offset += m_rt->ch_count * in _sdw_compute_port_params() 160 port_bo = block_offset; in _sdw_compute_port_params()
|
/linux/drivers/gpu/drm/radeon/ |
A D | dce6_afmt.c | 34 u32 block_offset, u32 reg) in dce6_endpoint_rreg() argument 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() argument 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()
|
/linux/fs/jfs/ |
A D | jfs_metapage.c | 339 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() 476 int block_offset; in metapage_readpage() local 488 block_offset = 0; in metapage_readpage() 489 while (block_offset < blocks_per_page) { in metapage_readpage() 490 xlen = blocks_per_page - block_offset; in metapage_readpage() 491 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_readpage() 508 offset = block_offset << inode->i_blkbits; in metapage_readpage() 511 block_offset += xlen; in metapage_readpage() [all …]
|
A D | jfs_imap.c | 299 int block_offset; in diRead() local 347 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diRead() 352 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diRead() 355 rel_inode += block_offset << sbi->l2niperblk; in diRead() 585 int block_offset; in diWrite() local 619 if ((block_offset = ((u32) blkno & (sbi->nbperpage - 1)))) { in diWrite() 624 (sbi->nbperpage - block_offset) << sbi->l2niperblk; in diWrite() 627 rel_inode += block_offset << sbi->l2niperblk; in diWrite()
|
/linux/drivers/phy/cadence/ |
A D | phy-cadence-sierra.c | 41 #define SIERRA_LANE_CDB_OFFSET(ln, block_offset, reg_offset) \ argument 42 ((0x4000 << (block_offset)) + \ 145 #define SIERRA_PHY_CONFIG_CTRL_OFFSET(block_offset) \ argument 146 (0xc000 << (block_offset)) 601 u32 block_offset, u8 reg_offset_shift, in cdns_regmap_init() argument 611 ctx->base = base + block_offset; in cdns_regmap_init() 686 u32 block_offset; in cdns_regmap_init_blocks() local 690 block_offset = SIERRA_LANE_CDB_OFFSET(i, block_offset_shift, in cdns_regmap_init_blocks() 692 regmap = cdns_regmap_init(dev, base, block_offset, in cdns_regmap_init_blocks() 711 block_offset = SIERRA_PHY_CONFIG_CTRL_OFFSET(block_offset_shift); in cdns_regmap_init_blocks() [all …]
|
A D | phy-cadence-torrent.c | 44 ((0x4000 << (block_offset)) + \ 48 ((0x8000 << (block_offset)) + \ 52 (0xC000 << (block_offset)) 55 ((0xD000 << (block_offset)) + \ 59 (0xE000 << (block_offset)) 1938 u32 block_offset, in cdns_regmap_init() argument 1949 ctx->base = base + block_offset; in cdns_regmap_init() 2046 u32 block_offset; in cdns_torrent_dp_regmap_init() local 2050 block_offset = TORRENT_DPTX_PHY_OFFSET; in cdns_torrent_dp_regmap_init() 2069 u32 block_offset; in cdns_torrent_regmap_init() local [all …]
|
/linux/drivers/md/ |
A D | dm-verity-fec.c | 124 u64 rsb, int byte_index, unsigned block_offset, in fec_decode_bufs() argument 132 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs() 149 fio->output[block_offset] = block[byte_index]; in fec_decode_bufs() 151 block_offset++; in fec_decode_bufs() 152 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs() 160 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs() 200 u64 rsb, u64 target, unsigned block_offset, in fec_read_bufs() argument 286 k = fec_buffer_rs_index(n, j) + block_offset; in fec_read_bufs()
|
/linux/drivers/cxl/ |
A D | pci.c | 314 resource_size_t offset = map->block_offset; in cxl_map_regblock() 332 map->base = addr + map->block_offset; in cxl_map_regblock() 339 pci_iounmap(pdev, map->base - map->block_offset); in cxl_unmap_regblock() 406 map->block_offset = in cxl_decode_regblock()
|
A D | cxl.h | 128 u64 block_offset; member
|
/linux/drivers/net/wireless/intersil/orinoco/ |
A D | fw.c | 48 __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()
|
/linux/fs/squashfs/ |
A D | block.c | 76 struct bio **biop, int *block_offset) in squashfs_bio_read() argument 123 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
|
/linux/drivers/cxl/core/ |
A D | regs.c | 192 phys_addr += map->block_offset; in cxl_map_component_regs() 212 phys_addr += map->block_offset; in cxl_map_device_regs()
|
/linux/fs/ceph/ |
A D | ioctl.h | 62 __u64 block_offset; /* out: offset in block */ member
|
A D | ioctl.c | 206 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
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/input/rmi4/ |
A D | rmi_f34.h | 134 __le16 block_offset; member
|
/linux/drivers/dma/ |
A D | fsl-qdma.c | 136 (((fsl_qdma_engine)->block_offset) * (x)) 223 int block_offset; member 1177 fsl_qdma->block_offset = blk_off; in fsl_qdma_probe()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | dce_v8_0.c | 123 u32 block_offset, u32 reg) in dce_v8_0_audio_endpt_rreg() argument 129 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v8_0_audio_endpt_rreg() 130 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v8_0_audio_endpt_rreg() 137 u32 block_offset, u32 reg, u32 v) in dce_v8_0_audio_endpt_wreg() argument 142 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v8_0_audio_endpt_wreg() 143 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v8_0_audio_endpt_wreg()
|
A D | dce_v6_0.c | 126 u32 block_offset, u32 reg) in dce_v6_0_audio_endpt_rreg() argument 132 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v6_0_audio_endpt_rreg() 133 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v6_0_audio_endpt_rreg() 140 u32 block_offset, u32 reg, u32 v) in dce_v6_0_audio_endpt_wreg() argument 145 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, in dce_v6_0_audio_endpt_wreg() 147 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v6_0_audio_endpt_wreg()
|
A D | dce_v10_0.c | 175 u32 block_offset, u32 reg) in dce_v10_0_audio_endpt_rreg() argument 181 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_rreg() 182 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v10_0_audio_endpt_rreg() 189 u32 block_offset, u32 reg, u32 v) in dce_v10_0_audio_endpt_wreg() argument 194 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v10_0_audio_endpt_wreg() 195 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v10_0_audio_endpt_wreg()
|
A D | dce_v11_0.c | 193 u32 block_offset, u32 reg) in dce_v11_0_audio_endpt_rreg() argument 199 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_rreg() 200 r = RREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset); in dce_v11_0_audio_endpt_rreg() 207 u32 block_offset, u32 reg, u32 v) in dce_v11_0_audio_endpt_wreg() argument 212 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_INDEX + block_offset, reg); in dce_v11_0_audio_endpt_wreg() 213 WREG32(mmAZALIA_F0_CODEC_ENDPOINT_DATA + block_offset, v); in dce_v11_0_audio_endpt_wreg()
|
/linux/drivers/infiniband/core/ |
A D | verbs.c | 2964 unsigned int block_offset; in __rdma_block_iter_next() local 2970 block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1); in __rdma_block_iter_next() 2971 biter->__sg_advance += BIT_ULL(biter->__pg_bit) - block_offset; in __rdma_block_iter_next()
|
/linux/fs/ocfs2/ |
A D | xattr.c | 1722 int block, block_offset; in ocfs2_xa_bucket_offset_pointer() local 1726 block_offset = offset % loc->xl_inode->i_sb->s_blocksize; in ocfs2_xa_bucket_offset_pointer() 1728 return bucket_block(bucket, block) + block_offset; in ocfs2_xa_bucket_offset_pointer() 1866 int block_offset = nameval_offset >> sb->s_blocksize_bits; in ocfs2_xa_bucket_fill_value_buf() local 1869 BUG_ON(block_offset != in ocfs2_xa_bucket_fill_value_buf() 1872 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf() 1875 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_main.c | 10481 u16 block_offset = 0xffff; in i40e_get_oem_version() local 10496 i40e_read_nvm_word(hw, I40E_SR_NVM_OEM_VERSION_PTR, &block_offset); in i40e_get_oem_version() 10497 if (block_offset == 0xffff) in i40e_get_oem_version() 10501 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_LENGTH_OFFSET, in i40e_get_oem_version() 10507 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_CAPABILITIES_OFFSET, in i40e_get_oem_version() 10512 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_GEN_OFFSET, in i40e_get_oem_version() 10514 i40e_read_nvm_word(hw, block_offset + I40E_NVM_OEM_RELEASE_OFFSET, in i40e_get_oem_version()
|