Home
last modified time | relevance | path

Searched full:blk (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.h158 #define MI_GFX6_TILE_MASK_SH_LIST(mask_sh, blk)\ argument
159 SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\
160 SFB(blk, GRPH_CONTROL, GRPH_BANK_WIDTH, mask_sh),\
161 SFB(blk, GRPH_CONTROL, GRPH_BANK_HEIGHT, mask_sh),\
162 SFB(blk, GRPH_CONTROL, GRPH_MACRO_TILE_ASPECT, mask_sh),\
163 SFB(blk, GRPH_CONTROL, GRPH_TILE_SPLIT, mask_sh),\
164 SFB(blk, GRPH_CONTROL, GRPH_PIPE_CONFIG, mask_sh),\
165 SFB(blk, GRPH_CONTROL, GRPH_ARRAY_MODE, mask_sh),\
166 SFB(blk, GRPH_CONTROL, GRPH_COLOR_EXPANSION_MODE, mask_sh)
169 #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\ argument
[all …]
/linux/sound/pci/ctxfi/
H A Dcthardware.h89 int (*src_rsc_put_ctrl_blk)(void *blk);
90 int (*src_set_state)(void *blk, unsigned int state);
91 int (*src_set_bm)(void *blk, unsigned int bm);
92 int (*src_set_rsr)(void *blk, unsigned int rsr);
93 int (*src_set_sf)(void *blk, unsigned int sf);
94 int (*src_set_wr)(void *blk, unsigned int wr);
95 int (*src_set_pm)(void *blk, unsigned int pm);
96 int (*src_set_rom)(void *blk, unsigned int rom);
97 int (*src_set_vo)(void *blk, unsigned int vo);
98 int (*src_set_st)(void *blk, unsigne
[all...]
H A Dcthw20k1.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc_obj(*blk); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() argument
187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm()
[all …]
H A Dcthw20k2.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc_obj(*blk); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() argument
187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c78 * @blk: block type
84 static u32 ice_sect_id(enum ice_block blk, enum ice_sect sect) in ice_sect_id() argument
86 return ice_sect_lkup[blk][sect]; in ice_sect_id()
619 * @blk: hardware block
626 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() argument
631 if (prof >= hw->blk[blk].es.count) in ice_find_prot_off()
634 if (fv_idx >= hw->blk[blk].es.fvw) in ice_find_prot_off()
637 fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw); in ice_find_prot_off()
650 * @blk: HW block
659 ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg) in ice_ptg_find_ptype() argument
[all …]
H A Dice_flow.c695 enum ice_block blk; member
1010 u8 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_fld()
1182 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_fld()
1225 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_raws()
1254 if (params->es_cnt >= hw->blk[params->blk].es.count || in ice_flow_xtract_raws()
1259 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_raws()
1329 switch (params->blk) { in ice_flow_proc_segs()
1349 * @blk: classification stage
1358 ice_flow_find_prof_conds(struct ice_hw *hw, enum ice_block blk, in ice_flow_find_prof_conds() argument
1364 mutex_lock(&hw->fl_profs_locks[blk]); in ice_flow_find_prof_conds()
[all …]
H A Dice_flex_pipe.h15 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
42 ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id,
47 ice_search_prof_id(struct ice_hw *hw, enum ice_block blk, u64 id);
49 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
51 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
53 ice_flow_assoc_fdir_prof(struct ice_hw *hw, enum ice_block blk,
64 int ice_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 id);
/linux/arch/powerpc/lib/
H A Drheap.c47 rh_block_t *block, *blk; in grow() local
73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow()
74 fixup(blks, blke, delta, &blk->list); in grow()
91 blk = block + info->max_blocks - new_blocks; in grow()
92 for (i = 0; i < new_blocks; i++, blk++) in grow()
93 list_add(&blk->list, &info->empty_list); in grow()
123 rh_block_t *blk; in get_slot() local
133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot()
134 list_del_init(&blk->list); in get_slot()
138 blk->start = 0; in get_slot()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-qup.c245 struct qup_i2c_block blk; member
291 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_interrupt() local
342 blk->tx_fifo_free += qup->out_blk_sz; in qup_i2c_interrupt()
353 if (!blk->is_rx_blk_mode) { in qup_i2c_interrupt()
354 blk->fifo_available += qup->in_fifo_sz; in qup_i2c_interrupt()
357 blk->fifo_available += qup->in_blk_sz; in qup_i2c_interrupt()
363 if (!blk->rx_bytes_read) in qup_i2c_interrupt()
373 if (blk->is_tx_blk_mode && !(opflags & QUP_MX_OUTPUT_DONE)) in qup_i2c_interrupt()
485 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_write_tx_fifo_v1() local
495 blk->tx_fifo_free--; in qup_i2c_write_tx_fifo_v1()
[all …]
/linux/fs/xfs/scrub/
H A Ddabtree.c57 ds->state->path.blk[level].blkno), in xchk_da_process_error()
79 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt()
94 ds->state->path.blk[level].blkno), in xchk_da_set_preen()
104 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() local
107 ASSERT(blk->magic == XFS_DA_NODE_MAGIC); in xchk_da_btree_node_entry()
109 xfs_da3_node_hdr_from_disk(ds->sc->mp, &hdr, blk->bp->b_addr); in xchk_da_btree_node_entry()
110 return hdr.btree + blk->index; in xchk_da_btree_node_entry()
271 if (altpath->blk[level].bp) in xchk_da_btree_block_check_sibling()
272 xchk_buffer_recheck(ds->sc, altpath->blk[level].bp); in xchk_da_btree_block_check_sibling()
275 if (altpath->blk[level].blkno != sibling) in xchk_da_btree_block_check_sibling()
[all …]
/linux/sound/synth/
H A Dutil_mem.c62 struct snd_util_memblk *blk; in __snd_util_mem_alloc() local
79 blk = get_memblk(p); in __snd_util_mem_alloc()
80 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc()
82 prev_offset = blk->offset + blk->size; in __snd_util_mem_alloc()
100 struct snd_util_memblk *blk; in __snd_util_memblk_new() local
102 blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size, in __snd_util_memblk_new()
104 if (blk == NULL) in __snd_util_memblk_new()
108 blk->offset = 0; in __snd_util_memblk_new()
111 blk->offset = p->offset + p->size; in __snd_util_memblk_new()
113 blk->size = units; in __snd_util_memblk_new()
[all …]
/linux/fs/quota/
H A Dquota_tree.c56 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() argument
62 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in read_blk()
65 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() argument
71 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in write_blk()
119 int ret, blk; in get_free_dqblk() local
124 blk = info->dqi_free_blk; in get_free_dqblk()
125 ret = read_blk(info, blk, buf); in get_free_dqblk()
139 blk = info->dqi_blocks++; in get_free_dqblk()
142 ret = blk; in get_free_dqblk()
149 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk() argument
[all …]
/linux/sound/soc/intel/catpt/
H A Dloader.c244 struct catpt_fw_block_hdr *blk) in catpt_restore_fwimage()
250 blk, sizeof(*blk), false); in catpt_restore_fwimage()
252 resource_set_range(&r1, cdev->dram.start + blk->ram_offset, blk->size); in catpt_restore_fwimage()
254 paddr += sizeof(*blk); in catpt_restore_fwimage()
293 struct catpt_fw_block_hdr *blk, bool alloc) in catpt_load_block()
300 blk, sizeof(*blk), false); in catpt_load_block()
302 switch (blk in catpt_load_block()
240 catpt_restore_fwimage(struct catpt_dev * cdev,struct dma_chan * chan,dma_addr_t paddr,struct catpt_fw_block_hdr * blk) catpt_restore_fwimage() argument
291 catpt_load_block(struct catpt_dev * cdev,struct dma_chan * chan,dma_addr_t paddr,struct catpt_fw_block_hdr * blk,bool alloc) catpt_load_block() argument
340 struct catpt_fw_block_hdr *blk; catpt_restore_basefw() local
382 struct catpt_fw_block_hdr *blk; catpt_restore_module() local
426 struct catpt_fw_block_hdr *blk; catpt_load_module() local
[all...]
/linux/mm/
H A Dnuma_memblks.c28 for (i = 0; i < ARRAY_SIZE(mi->blk); i++) in numa_nodemask_from_meminfo()
29 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo()
30 mi->blk[i].nid != NUMA_NO_NODE) in numa_nodemask_from_meminfo()
31 node_set(mi->blk[i].nid, *nodemask); in numa_nodemask_from_meminfo()
154 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to()
155 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to()
156 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to()
166 * Remove @idx'th numa_memblk from @mi by shifting @mi->blk[] and
172 memmove(&mi->blk[idx], &mi->blk[idx + 1], in numa_remove_memblk_from()
173 (mi->nr_blks - idx) * sizeof(mi->blk[0])); in numa_remove_memblk_from()
[all …]
H A Dnuma_emulation.c30 if (mi->blk[i].nid == nid) in emu_find_memblk_by_nid()
53 struct numa_memblk *eb = &ei->blk[ei->nr_blks]; in emu_setup_memblk()
54 struct numa_memblk *pb = &pi->blk[phys_blk]; in emu_setup_memblk()
140 start = pi->blk[phys_blk].start; in split_nodes_interleave()
141 limit = pi->blk[phys_blk].end; in split_nodes_interleave()
288 start = pi->blk[phys_blk].start; in split_nodes_size_interleave_uniform()
289 limit = pi->blk[phys_blk].end; in split_nodes_size_interleave_uniform()
407 * The reason we pass in blk[0] is due to in numa_emulation()
410 * and then move everything else up in the pi.blk in numa_emulation()
412 * at blk[0]. in numa_emulation()
[all …]
/linux/drivers/soc/samsung/
H A Dgs101-pmu.c77 #define SUBBLK_RANGE(blk) \ argument
78 regmap_reg_range(GS101_SUBBLK_CONFIGURATION(blk), \
79 GS101_SUBBLK_CTRL(blk)), \
80 regmap_reg_range(GS101_SUBBLK_OUT(blk), GS101_SUBBLK_IN(blk)), \
81 regmap_reg_range(GS101_SUBBLK_INT_IN(blk), \
82 GS101_SUBBLK_INT_DIR(blk)), \
83 regmap_reg_range(GS101_SUBBLK_MEMORY_OUT(blk), \
84 GS101_SUBBLK_MEMORY_IN(blk))
129 #define SUBBLK_CPU_RANGE(blk) \ argument
130 regmap_reg_range(GS101_SUBBLK_CPU_CONFIGURATION(blk), \
[all …]
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_blk.c61 MODULE_PARM_DESC(shared_backend, "Enable the shared backend between virtio-blk devices");
67 static void vdpasim_blk_buffer_lock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_lock() argument
69 if (blk->shared_backend) in vdpasim_blk_buffer_lock()
73 static void vdpasim_blk_buffer_unlock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_unlock() argument
75 if (blk->shared_backend) in vdpasim_blk_buffer_unlock()
112 struct vdpasim_blk *blk = sim_to_blk(vdpasim); in vdpasim_blk_handle_req() local
178 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req()
180 blk->buffer + offset, to_push); in vdpasim_blk_handle_req()
181 vdpasim_blk_buffer_unlock(blk); in vdpasim_blk_handle_req()
201 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req()
[all …]
/linux/fs/pstore/
H A DKconfig88 The common layer for pstore/blk (and pstore/ram in the future)
101 For more information, see Documentation/admin-guide/pstore-blk.rst
110 Which block device should be used for pstore/blk.
132 pstore/blk, but module parameters have priority over Kconfig.
140 pstore/blk. The size is in KB and must be a multiple of 4.
143 pstore/blk, but module parameters have priority over Kconfig.
155 pstore/blk, but module parameters have priority over Kconfig.
163 This just sets size of pmsg (pmsg_size) for pstore/blk. The size is
167 pstore/blk, but module parameters have priority over Kconfig.
176 pstore/blk. The size is in KB and must be a multiple of 4.
[all …]
/linux/Documentation/admin-guide/
H A Dpstore-blk.rst9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a
19 pstore/blk provides efficient configuration method for pstore/blk, which
23 Configurations for user determine how pstore/blk works, such as pmsg_size,
46 It's required for pstore/blk. It is also used for MTD device.
48 When pstore/blk is built as a module, "blkdev" accepts the following variants:
56 When pstore/blk is built into the kernel, "blkdev" accepts the following variants:
84 pstore/blk will log to oops/panic chunks one by one, and always overwrite the
97 */sys/fs/pstore/pmsg-pstore-blk-0*.
108 available in */sys/fs/pstore/console-pstore-blk-0*.
121 combined and available in */sys/fs/pstore/ftrace-pstore-blk-0*.
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_ctl.h119 * @blk : writeback block index
122 enum dpu_wb blk);
129 * @blk : concurrent writeback block index
132 enum dpu_cwb blk);
139 * @blk : interface block index
142 enum dpu_intf blk);
149 * @blk : interface block index
152 enum dpu_intf blk);
159 * @blk : interface block index
162 enum dpu_merge_3d blk);
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c105 state->altpath.blk[i].bp = NULL; in xfs_da_state_kill_altpath()
579 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_split()
580 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split()
582 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da3_split()
584 oldblk = &state->path.blk[i]; in xfs_da3_split()
585 newblk = &state->altpath.blk[i]; in xfs_da3_split()
661 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split()
667 oldblk = &state->path.blk[0]; in xfs_da3_split()
1138 drop_blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_join()
1139 save_blk = &state->altpath.blk[ state->path.active-1 ]; in xfs_da3_join()
[all …]
/linux/Documentation/translations/zh_CN/block/
H A Dblk-mq.rst4 :Original: Documentation/block/blk-mq.rst
15 多队列块设备 I/O 排队机制 (blk-mq)
40 的拥塞问题。为了解决这些问题,blk-mq API 引入了多个队列,每个队列在本地 CPU
47 当用户空间执行对块设备的 I/O(例如读写文件)时,blk-mq 便会介入:它将存储和
51 blk-mq 由两组队列组成:软件暂存队列和硬件派发队列。当请求到达块层时,它会尝
57 多请求,blk-mq 会将请求放置在临时队列中,待硬件资源充足时再发送。
117 - `Linux 块 I/O:多队列 SSD 并发访问简介 <http://kernel.dk/blk-mq.pdf>`_
128 include/linux/blk-mq.h
130 block/blk-mq.c
/linux/Documentation/devicetree/bindings/soc/imx/
H A Dfsl,imx8mm-vpu-blk-ctrl.yaml4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml#
7 title: NXP i.MX8MM VPU blk-ctrl
13 The i.MX8MM VPU blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mm-vpu-blk-ctrl
60 const: fsl,imx8mm-vpu-blk-ctrl
105 const: fsl,imx8mp-vpu-blk-ctrl
153 blk-ctrl@38330000 {
154 compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon";
H A Dfsl,imx8mq-vpu-blk-ctrl.yaml4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml#
7 title: NXP i.MX8MQ VPU blk-ctrl
13 The i.MX8MQ VPU blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mq-vpu-blk-ctrl
62 blk-ctrl@38320000 {
63 compatible = "fsl,imx8mq-vpu-blk-ctrl";
H A Dfsl,imx8mp-hsio-blk-ctrl.yaml4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml#
7 title: NXP i.MX8MP HSIO blk-ctrl
13 The i.MX8MP HSIO blk-ctrl is a top-level peripheral providing access to
20 - const: fsl,imx8mp-hsio-blk-ctrl
79 blk-ctrl@32f10000 {
80 compatible = "fsl,imx8mp-hsio-blk-ctrl", "syscon";

12345678910>>...14