| /linux/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/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/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),\ 187 SFB(blk, GRPH_X_END, GRPH_X_END, mask_sh),\ 188 SFB(blk, GRPH_Y_END, GRPH_Y_END, mask_sh),\ 189 SFB(blk, GRPH_PITCH, GRPH_PITCH, mask_sh),\ 207 SFB(blk, GRPH_ENABLE, GRPH_ENABLE, mask_sh),\ 212 SFB(blk, GRPH_X_END, GRPH_X_END, mask_sh),\ 213 SFB(blk, GRPH_Y_END, GRPH_Y_END, mask_sh),\ 214 SFB(blk, GRPH_PITCH, GRPH_PITCH, mask_sh),\ [all …]
|
| /linux/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() 1484 memset(hw->blk[blk].masks.masks, 0, sizeof(hw->blk[blk].masks.masks)); in ice_init_prof_masks() 1487 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) in ice_init_prof_masks() 1524 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) in ice_alloc_prof_mask() 1584 mask_idx < hw->blk[blk].masks.first + hw->blk[blk].masks.count)) in ice_free_prof_mask() 1650 i < hw->blk[blk].masks.first + hw->blk[blk].masks.count; i++) { in ice_shutdown_prof_masks() [all …]
|
| A D | ice_flow.c | 927 u8 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_fld() 1099 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_fld() 1142 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_raws() 1171 if (params->es_cnt >= hw->blk[params->blk].es.count || in ice_flow_xtract_raws() 1176 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_raws() 1383 ids = &hw->blk[blk].prof_id; in ice_flow_add_prof_sync() 1405 params->blk = blk; in ice_flow_add_prof_sync() 1478 clear_bit(prof->id, hw->blk[blk].prof_id.id); in ice_flow_rem_prof_sync() 1577 u8 fv_words = hw->blk[blk].es.fvw; in ice_flow_set_parser_prof() 1591 if (hw->blk[blk].es.reverse) in ice_flow_set_parser_prof() [all …]
|
| A D | ice_flex_pipe.h | 15 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, 45 ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id, u8 ptypes[], 49 ice_search_prof_id(struct ice_hw *hw, enum ice_block blk, u64 id); 51 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl); 53 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl); 55 ice_flow_assoc_fdir_prof(struct ice_hw *hw, enum ice_block blk, 66 int ice_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 id);
|
| /linux/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 \ 17 obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o 30 obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o 33 obj-$(CONFIG_BLK_WBT) += blk-wbt.o 36 obj-$(CONFIG_BLK_PM) += blk-pm.o 37 obj-$(CONFIG_BLK_INLINE_ENCRYPTION) += blk-crypto.o blk-crypto-profile.o \ [all …]
|
| /linux/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() 320 if (blk == NULL) { in snd_emu10k1_alloc_pages() [all …]
|
| /linux/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 917 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_read_rx_fifo_v1() local 954 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_v1() local 996 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_xfer_v1() local 1040 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_write_one() local 1051 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_read_one() local 1123 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_count_v2() local 1154 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_conf_mode_v2() local 1193 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_recv_data() local [all …]
|
| /linux/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/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/fs/xfs/scrub/ |
| A D | dabtree.c | 102 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() local 281 altpath->blk[plevel].bp == path->blk[plevel].bp)) in xchk_da_btree_block_check_sibling() 345 blk = &ds->state->path.blk[level]; in xchk_da_btree_block() 349 if (blk->bp) { in xchk_da_btree_block() 351 blk->bp = NULL; in xchk_da_btree_block() 365 if (blk->bp) in xchk_da_btree_block() 410 blk->hashval = xfs_attr_leaf_lasthash(blk->bp, pmaxrecs); in xchk_da_btree_block() 419 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block() 428 blk->hashval = xfs_dir2_leaf_lasthash(ip, blk->bp, pmaxrecs); in xchk_da_btree_block() 486 blk->bp = NULL; in xchk_da_btree_block() [all …]
|
| /linux/mm/ |
| A D | numa_memblks.c | 27 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo() 170 memmove(&mi->blk[idx], &mi->blk[idx + 1], in numa_remove_memblk_from() 183 dst->blk[dst->nr_blks++] = src->blk[idx]; in numa_move_tail_memblk() 300 mi->blk[i].start = mi->blk[i].end = 0; in numa_cleanup_meminfo() 502 blk[count] = &mi->blk[i]; in numa_fill_memblks() 510 sort(&blk[0], count, sizeof(blk[0]), cmp_memblk, NULL); in numa_fill_memblks() 513 blk[0]->start = min(blk[0]->start, start); in numa_fill_memblks() 514 blk[count - 1]->end = max(blk[count - 1]->end, end); in numa_fill_memblks() 520 prev_end = blk[0]->end; in numa_fill_memblks() 541 if (mi->blk[i].start <= start && mi->blk[i].end > start) in meminfo_to_nid() [all …]
|
| /linux/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/fs/quota/ |
| A D | quota_tree.c | 119 int ret, blk; in get_free_dqblk() local 142 ret = blk; in get_free_dqblk() 167 uint blk) in remove_free_dqentry() argument 214 uint blk) in insert_free_dqentry() argument 262 uint blk, i; in find_free_dqentry() local 284 *err = blk; in find_free_dqentry() 321 blk); in find_free_dqentry() 328 return blk; in find_free_dqentry() 480 uint blk) in free_dqentry() argument 498 blk); in free_dqentry() [all …]
|
| /linux/block/partitions/ |
| A D | amiga.c | 43 sector_t blk, end_sect; in amiga_partition() local 50 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 51 if (blk == RDB_ALLOCATION_LIMIT) in amiga_partition() 56 state->disk->disk_name, blk); in amiga_partition() 73 blk); in amiga_partition() 78 state->disk->disk_name, blk); in amiga_partition() 91 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition() 95 if (check_mul_overflow(blk, (sector_t) blksize, &blk)) { in amiga_partition() 97 state->disk->disk_name, blk, part); in amiga_partition() 103 state->disk->disk_name, blk); in amiga_partition() [all …]
|
| /linux/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/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/drivers/vdpa/vdpa_sim/ |
| A D | vdpa_sim_blk.c | 69 if (blk->shared_backend) in vdpasim_blk_buffer_lock() 75 if (blk->shared_backend) in vdpasim_blk_buffer_unlock() 178 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req() 201 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req() 396 if (!blk->shared_backend) in vdpasim_blk_free() 397 kvfree(blk->buffer); in vdpasim_blk_free() 413 struct vdpasim_blk *blk; in vdpasim_blk_dev_add() local 434 blk = sim_to_blk(simdev); in vdpasim_blk_dev_add() 437 if (blk->shared_backend) { in vdpasim_blk_dev_add() 438 blk->buffer = shared_buffer; in vdpasim_blk_dev_add() [all …]
|
| /linux/fs/xfs/libxfs/ |
| A D | xfs_attr.c | 133 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 134 if (blk->bp) { 135 blk->disk_blkno = xfs_buf_daddr(blk->bp); 148 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 149 if (blk->bp) { 150 blk->disk_blkno = xfs_buf_daddr(blk->bp); 181 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 199 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { 1406 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_try_addname() 1453 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_removename() [all …]
|
| A D | xfs_da_btree.c | 1332 blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_node_toosmall() 1472 blk = &path->blk[ level ]; in xfs_da3_fixhashpath() 1490 for (blk--, level--; level >= 0; blk--, level--) { in xfs_da3_fixhashpath() 1676 for (blk = &state->path.blk[0], state->path.active = 1; in xfs_da3_node_lookup_int() 1702 blk->hashval = xfs_attr_leaf_lasthash(blk->bp, NULL); in xfs_da3_node_lookup_int() 2130 blk = &path->blk[level]; in xfs_da3_path_shift() 2135 blk->index++; in xfs_da3_path_shift() 2139 blk->index--; in xfs_da3_path_shift() 2154 for (blk++, level++; level < path->active; blk++, level++) { in xfs_da3_path_shift() 2172 blk->bp = bp; in xfs_da3_path_shift() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce/ |
| A D | dce_hwseq.h | 66 SRII(PIXEL_RATE_CNTL, blk, 0), \ 67 SRII(PIXEL_RATE_CNTL, blk, 1), \ 71 SRII(PIXEL_RATE_CNTL, blk, 5) 75 SRII(PIXEL_RATE_CNTL, blk, 1) 87 SRII(PIXEL_RATE_CNTL, blk, 1),\ 88 SRII(PIXEL_RATE_CNTL, blk, 2),\ 91 SRII(PIXEL_RATE_CNTL, blk, 5) 103 SRII(PIXEL_RATE_CNTL, blk, 1),\ 104 SRII(PIXEL_RATE_CNTL, blk, 2),\ 106 SRII(PIXEL_RATE_CNTL, blk, 4) [all …]
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| A D | dpu_hw_ctl.h | 115 enum dpu_wb blk); 124 enum dpu_intf blk); 133 enum dpu_intf blk); 142 enum dpu_merge_3d blk); 151 enum dpu_sspp blk); 160 enum dpu_lm blk); 170 enum dpu_dspp blk, u32 dspp_sub_blk); 179 enum dpu_dsc blk);
|