/linux-6.3-rc2/sound/pci/ctxfi/ |
A D | cthardware.h | 87 int (*src_rsc_put_ctrl_blk)(void *blk); 107 int (*src_set_dirty_all)(void *blk); 110 unsigned int (*src_get_dirty)(void *blk); 113 int (*src_mgr_put_ctrl_blk)(void *blk); 124 int (*srcimp_mgr_put_ctrl_blk)(void *blk); 133 int (*amixer_rsc_put_ctrl_blk)(void *blk); 143 int (*amixer_set_dirty_all)(void *blk); 145 int (*amixer_get_y)(void *blk); 150 int (*dai_put_ctrl_blk)(void *blk); 159 int (*dao_put_ctrl_blk)(void *blk); [all …]
|
A D | cthw20k2.c | 160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk() 161 if (!blk) in src_get_rsc_ctrl_blk() 171 kfree(blk); in src_put_rsc_ctrl_blk() 486 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_mgr_get_ctrl_blk() 487 if (!blk) in src_mgr_get_ctrl_blk() 507 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in srcimp_mgr_get_ctrl_blk() 508 if (!blk) in srcimp_mgr_get_ctrl_blk() 696 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in amixer_rsc_get_ctrl_blk() 885 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in dai_get_ctrl_blk() 935 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in dao_get_ctrl_blk() [all …]
|
A D | cthw20k1.c | 160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk() 161 if (!blk) in src_get_rsc_ctrl_blk() 171 kfree(blk); in src_put_rsc_ctrl_blk() 486 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_mgr_get_ctrl_blk() 487 if (!blk) in src_mgr_get_ctrl_blk() 507 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in srcimp_mgr_get_ctrl_blk() 508 if (!blk) in srcimp_mgr_get_ctrl_blk() 694 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in amixer_rsc_get_ctrl_blk() 901 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in dai_get_ctrl_blk() 950 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in dao_get_ctrl_blk() [all …]
|
/linux-6.3-rc2/arch/powerpc/lib/ |
A D | rheap.c | 73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow() 142 return blk; in get_slot() 323 for (i = 0, blk = block; i < max_blocks; i++, blk++) in rh_init() 394 blk = NULL; in rh_detach_region() 399 be = blk->start + blk->size; in rh_detach_region() 459 blk = NULL; in rh_alloc_align() 464 if (start + size <= blk->start + blk->size) in rh_alloc_align() 556 be = blk->start + blk->size; in rh_alloc_fixed() 627 if (blk == NULL || start > (blk->start + blk->size)) in rh_free() 694 if (blk == NULL || start > (blk->start + blk->size)) in rh_set_owner() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_flex_pipe.c | 641 fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw); in ice_find_prot_off() 778 hw->blk[blk].xlt1.t[ptype] = ptg; in ice_ptg_add_mv_ptype() 1144 &hw->blk[blk].xlt2.vsis[vsi]; in ice_vsig_add_mv_vsi() 1146 hw->blk[blk].xlt2.t[vsi] = vsig; in ice_vsig_add_mv_vsi() 1173 for (i = hw->blk[blk].masks.first; i < hw->blk[blk].masks.first + in ice_prof_has_mask_idx() 1479 memset(hw->blk[blk].masks.masks, 0, sizeof(hw->blk[blk].masks.masks)); in ice_init_prof_masks() 1482 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) in ice_init_prof_masks() 1519 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) in ice_alloc_prof_mask() 1579 mask_idx < hw->blk[blk].masks.first + hw->blk[blk].masks.count)) in ice_free_prof_mask() 1645 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) { in ice_shutdown_prof_masks() [all …]
|
A D | ice_flow.c | 589 enum ice_block blk; member 904 u8 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_fld() 1076 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_fld() 1119 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_raws() 1148 if (params->es_cnt >= hw->blk[params->blk].es.count || in ice_flow_xtract_raws() 1153 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_raws() 1223 switch (params->blk) { in ice_flow_proc_segs() 1256 mutex_lock(&hw->fl_profs_locks[blk]); in ice_flow_find_prof_conds() 1385 params->blk = blk; in ice_flow_add_prof_sync() 1648 switch (blk) { in ice_flow_add_entry() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_mem_input.h | 180 #define MI_DCP_MASK_SH_LIST(mask_sh, blk)\ argument 181 SFB(blk, GRPH_ENABLE, GRPH_ENABLE, mask_sh),\ 182 SFB(blk, GRPH_CONTROL, GRPH_DEPTH, mask_sh),\ 186 SFB(blk, GRPH_X_END, GRPH_X_END, mask_sh),\ 187 SFB(blk, GRPH_Y_END, GRPH_Y_END, mask_sh),\ 188 SFB(blk, GRPH_PITCH, GRPH_PITCH, mask_sh),\ 206 SFB(blk, GRPH_ENABLE, GRPH_ENABLE, mask_sh),\ 211 SFB(blk, GRPH_X_END, GRPH_X_END, mask_sh),\ 212 SFB(blk, GRPH_Y_END, GRPH_Y_END, mask_sh),\ 213 SFB(blk, GRPH_PITCH, GRPH_PITCH, mask_sh),\ [all …]
|
A D | dce_hwseq.h | 66 SRII(PIXEL_RATE_CNTL, blk, 0), \ 67 SRII(PIXEL_RATE_CNTL, blk, 1), \ 68 SRII(PIXEL_RATE_CNTL, blk, 2), \ 69 SRII(PIXEL_RATE_CNTL, blk, 3), \ 70 SRII(PIXEL_RATE_CNTL, blk, 4), \ 71 SRII(PIXEL_RATE_CNTL, blk, 5) 74 SRII(PIXEL_RATE_CNTL, blk, 0), \ 75 SRII(PIXEL_RATE_CNTL, blk, 1) 87 SRII(PIXEL_RATE_CNTL, blk, 1),\ 88 SRII(PIXEL_RATE_CNTL, blk, 2),\ [all …]
|
/linux-6.3-rc2/block/ |
A D | Makefile | 6 obj-y := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \ 7 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ 8 blk-merge.o blk-timeout.o \ 9 blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \ 10 blk-mq-sysfs.o blk-mq-cpumap.o blk-mq-sched.o ioctl.o \ 12 disk-events.o blk-ia-ranges.o 17 obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o 35 obj-$(CONFIG_BLK_WBT) += blk-wbt.o 39 obj-$(CONFIG_BLK_PM) += blk-pm.o 40 obj-$(CONFIG_BLK_INLINE_ENCRYPTION) += blk-crypto.o blk-crypto-profile.o \ [all …]
|
/linux-6.3-rc2/sound/pci/emu10k1/ |
A D | memory.c | 81 blk->map_locked = 0; in emu10k1_memblk_init() 83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init() 84 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); in emu10k1_memblk_init() 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 118 page = blk->mapped_page + blk->pages; in search_empty_map_area() 152 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in map_memblk() 192 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in unmap_memblk() 226 if (blk == NULL) in search_empty() 230 return blk; in search_empty() 322 if (blk == NULL) { in snd_emu10k1_alloc_pages() [all …]
|
/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-qup.c | 283 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_interrupt() local 458 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_write_tx_fifo_v1() local 919 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_read_rx_fifo_v1() local 956 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_v1() local 998 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_xfer_v1() local 1042 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_write_one() local 1053 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_read_one() local 1125 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_count_v2() local 1156 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_mode_v2() local 1195 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_recv_data() local [all …]
|
/linux-6.3-rc2/sound/synth/ |
A D | util_mem.c | 62 struct snd_util_memblk *blk; in __snd_util_mem_alloc() local 79 blk = get_memblk(p); in __snd_util_mem_alloc() 82 prev_offset = blk->offset + blk->size; in __snd_util_mem_alloc() 104 if (blk == NULL) in __snd_util_memblk_new() 108 blk->offset = 0; in __snd_util_memblk_new() 113 blk->size = units; in __snd_util_memblk_new() 117 return blk; in __snd_util_memblk_new() 131 return blk; in snd_util_mem_alloc() 142 list_del(&blk->list); in __snd_util_mem_free() 144 hdr->used -= blk->size; in __snd_util_mem_free() [all …]
|
/linux-6.3-rc2/sound/pci/trident/ |
A D | trident_memory.c | 120 page = lastpg(blk) + 1; in search_empty() 128 if (blk == NULL) in search_empty() 131 firstpg(blk) = page; in search_empty() 133 return blk; in search_empty() 177 if (blk == NULL) { in snd_trident_alloc_sg_pages() 184 for (page = firstpg(blk); page <= lastpg(blk); page++, idx++) { in snd_trident_alloc_sg_pages() 195 return blk; in snd_trident_alloc_sg_pages() 221 if (blk == NULL) { in snd_trident_alloc_cont_pages() 228 for (page = firstpg(blk); page <= lastpg(blk); page++, in snd_trident_alloc_cont_pages() 238 return blk; in snd_trident_alloc_cont_pages() [all …]
|
/linux-6.3-rc2/fs/xfs/scrub/ |
A D | dabtree.c | 85 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() local 264 altpath->blk[plevel].bp == path->blk[plevel].bp)) in xchk_da_btree_block_check_sibling() 327 blk = &ds->state->path.blk[level]; in xchk_da_btree_block() 331 if (blk->bp) { in xchk_da_btree_block() 333 blk->bp = NULL; in xchk_da_btree_block() 347 if (blk->bp) in xchk_da_btree_block() 392 blk->hashval = xfs_attr_leaf_lasthash(blk->bp, pmaxrecs); in xchk_da_btree_block() 401 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block() 410 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block() 462 blk->bp = NULL; in xchk_da_btree_block() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/ |
A D | hermes_dld.c | 104 return le16_to_cpu(blk->len); in dblock_len() 260 end -= sizeof(*blk); in hermes_blocks_length() 266 len = dblock_len(blk); in hermes_blocks_length() 268 blk = (struct dblock *) &blk->data[len]; in hermes_blocks_length() 279 const struct dblock *blk; in hermes_program() local 286 if ((void *) blk > (end - sizeof(*blk))) in hermes_program() 289 blkaddr = dblock_addr(blk); in hermes_program() 290 blklen = dblock_len(blk); in hermes_program() 301 blk = (const struct dblock *) &blk->data[blklen]; in hermes_program() 303 if ((void *) blk > (end - sizeof(*blk))) in hermes_program() [all …]
|
/linux-6.3-rc2/fs/quota/ |
A D | quota_tree.c | 113 int ret, blk; in get_free_dqblk() local 136 ret = blk; in get_free_dqblk() 256 uint blk, i; in find_free_dqentry() local 278 *err = blk; in find_free_dqentry() 315 blk); in find_free_dqentry() 322 return blk; in find_free_dqentry() 449 uint blk) in free_dqentry() argument 467 blk); in free_dqentry() 526 *blk); in remove_tree() 551 *blk = 0; in remove_tree() [all …]
|
/linux-6.3-rc2/drivers/net/phy/mscc/ |
A D | mscc_ptp.c | 70 switch (blk) { in vsc85xx_ts_read_csr() 117 blk == PROCESSOR; in vsc85xx_ts_write_csr() 120 switch (blk) { in vsc85xx_ts_write_csr() 321 vsc85xx_ts_write_csr(phydev, blk, in vsc85xx_ts_disable_flows() 323 vsc85xx_ts_write_csr(phydev, blk, in vsc85xx_ts_disable_flows() 325 vsc85xx_ts_write_csr(phydev, blk, in vsc85xx_ts_disable_flows() 327 vsc85xx_ts_write_csr(phydev, blk, in vsc85xx_ts_disable_flows() 329 vsc85xx_ts_write_csr(phydev, blk, in vsc85xx_ts_disable_flows() 555 vsc85xx_ts_write_csr(phydev, blk, in vsc85xx_eth_cmp1_init() 558 vsc85xx_ts_write_csr(phydev, blk, in vsc85xx_eth_cmp1_init() [all …]
|
/linux-6.3-rc2/block/partitions/ |
A D | amiga.c | 34 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local 38 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 39 if (blk == RDB_ALLOCATION_LIMIT) in amiga_partition() 41 data = read_part_sector(state, blk, §); in amiga_partition() 44 state->disk->disk_name, blk); in amiga_partition() 61 blk); in amiga_partition() 66 state->disk->disk_name, blk); in amiga_partition() 79 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition() 83 data = read_part_sector(state, blk, §); in amiga_partition() 86 state->disk->disk_name, blk); in amiga_partition() [all …]
|
/linux-6.3-rc2/sound/soc/intel/catpt/ |
A D | loader.c | 246 blk, sizeof(*blk), false); in catpt_restore_fwimage() 251 paddr += sizeof(*blk); in catpt_restore_fwimage() 298 blk, sizeof(*blk), false); in catpt_load_block() 300 switch (blk->ram_type) { in catpt_load_block() 317 paddr += sizeof(*blk); in catpt_load_block() 347 blk, false); in catpt_restore_basefw() 351 blk); in catpt_restore_basefw() 360 offset += sizeof(*blk) + blk->size; in catpt_restore_basefw() 397 blk, false); in catpt_restore_module() 406 offset += sizeof(*blk) + blk->size; in catpt_restore_module() [all …]
|
/linux-6.3-rc2/fs/affs/ |
A D | bitmap.c | 44 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local 144 blk = goal - sbi->s_reserved; in affs_alloc_block() 182 bit = blk % sbi->s_bmap_bits; in affs_alloc_block() 186 blk &= ~31UL; in affs_alloc_block() 194 blk += 32; in affs_alloc_block() 207 blk += bit + sbi->s_reserved; in affs_alloc_block() 231 pr_debug("%d\n", blk); in affs_alloc_block() 232 return blk; in affs_alloc_block() 276 end = blk + 25; in affs_init_bitmap() 300 if (++blk < end || i == 1) in affs_init_bitmap() [all …]
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | numa.c | 145 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 146 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 162 memmove(&mi->blk[idx], &mi->blk[idx + 1], in numa_remove_memblk_from() 175 dst->blk[dst->nr_blks++] = src->blk[idx]; in numa_move_tail_memblk() 325 mi->blk[i].start = mi->blk[i].end = 0; in numa_cleanup_meminfo() 326 mi->blk[i].nid = NUMA_NO_NODE; in numa_cleanup_meminfo() 341 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo() 595 if (nid != mi->blk[i].nid) in numa_register_memblks() 935 if (mi->blk[i].start <= start && mi->blk[i].end > start) in meminfo_to_nid() 936 return mi->blk[i].nid; in meminfo_to_nid() [all …]
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_attr.c | 131 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 132 if (blk->bp) { 133 blk->disk_blkno = xfs_buf_daddr(blk->bp); 146 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 147 if (blk->bp) { 148 blk->disk_blkno = xfs_buf_daddr(blk->bp); 179 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 197 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 1428 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_try_addname() 1475 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_removename() [all …]
|
A D | xfs_da_btree.c | 1276 blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_node_toosmall() 1409 blk = &path->blk[ level ]; in xfs_da3_fixhashpath() 1427 for (blk--, level--; level >= 0; blk--, level--) { in xfs_da3_fixhashpath() 1612 for (blk = &state->path.blk[0], state->path.active = 1; in xfs_da3_node_lookup_int() 1632 blk->hashval = xfs_attr_leaf_lasthash(blk->bp, NULL); in xfs_da3_node_lookup_int() 2008 blk = &path->blk[level]; in xfs_da3_path_shift() 2013 blk->index++; in xfs_da3_path_shift() 2017 blk->index--; in xfs_da3_path_shift() 2032 for (blk++, level++; level < path->active; blk++, level++) { in xfs_da3_path_shift() 2050 blk->bp = bp; in xfs_da3_path_shift() [all …]
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_buf_item_recover.c | 716 void *blk = bp->b_addr; in xlog_recover_get_buf_lsn() local 733 magic32 = be32_to_cpu(*(__be32 *)blk); in xlog_recover_get_buf_lsn() 745 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn() 753 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn() 761 uuid = &((struct xfs_agf *)blk)->agf_uuid; in xlog_recover_get_buf_lsn() 765 uuid = &((struct xfs_agfl *)blk)->agfl_uuid; in xlog_recover_get_buf_lsn() 769 uuid = &((struct xfs_agi *)blk)->agi_uuid; in xlog_recover_get_buf_lsn() 779 uuid = &((struct xfs_dir3_blk_hdr *)blk)->uuid; in xlog_recover_get_buf_lsn() 802 uuid = &((struct xfs_dsb *)blk)->sb_uuid; in xlog_recover_get_buf_lsn() 821 uuid = &((struct xfs_da3_blkinfo *)blk)->uuid; in xlog_recover_get_buf_lsn() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_hw_ctl.h | 112 enum dpu_wb blk); 121 enum dpu_intf blk); 130 enum dpu_merge_3d blk); 139 enum dpu_sspp blk); 148 enum dpu_lm blk); 157 enum dpu_dspp blk);
|