Home
last modified time | relevance | path

Searched refs:nr_cmds (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/nvme/target/
H A Dtcp.c158 unsigned int nr_cmds; member
221 if (unlikely(!queue->nr_cmds)) { in nvmet_tcp_cmd_tag()
1001 if (likely(queue->nr_cmds)) { in nvmet_tcp_handle_h2c_data_pdu()
1002 if (unlikely(data->ttag >= queue->nr_cmds)) { in nvmet_tcp_handle_h2c_data_pdu()
1004 queue->idx, data->ttag, queue->nr_cmds); in nvmet_tcp_handle_h2c_data_pdu()
1091 queue->idx, queue->nr_cmds, queue->send_list_len, in nvmet_tcp_done_recv_pdu()
1541 int i, ret = -EINVAL, nr_cmds = queue->nr_cmds; in nvmet_tcp_alloc_cmds() local
1543 cmds = kvzalloc_objs(struct nvmet_tcp_cmd, nr_cmds); in nvmet_tcp_alloc_cmds()
1547 for (i = 0; i < nr_cmds; i++) { in nvmet_tcp_alloc_cmds()
1569 for (i = 0; i < queue->nr_cmds; i++) in nvmet_tcp_free_cmds()
[all …]
/linux/sound/soc/codecs/
H A Dtas2781-fmwlib.c1228 block->nr_cmds = get_unaligned_be32(&data[offset]); in fw_parse_block_data()
1231 n = block->nr_cmds * 4; in fw_parse_block_data()
1712 unsigned int len, unsigned int *nr_cmds, in tasdev_multibytes_wr() argument
1736 *nr_cmds += 1; in tasdev_multibytes_wr()
1738 *nr_cmds += ((len - 2) / 4) + 1; in tasdev_multibytes_wr()
1783 unsigned int nr_cmds; in tasdev_load_blk() local
1803 nr_cmds = 0; in tasdev_load_blk()
1805 while (nr_cmds < block->nr_cmds) { in tasdev_load_blk()
1806 data = block->data + nr_cmds * 4; in tasdev_load_blk()
1813 nr_cmds++; in tasdev_load_blk()
[all …]
/linux/drivers/gpu/drm/msm/
H A Dmsm_rd.c399 for (i = 0; i < submit->nr_cmds; i++) { in msm_rd_dump_submit()
415 for (i = 0; i < submit->nr_cmds; i++) { in msm_rd_dump_submit()
/linux/drivers/scsi/
H A Dhpsa.c1734 qdepth = min(h->nr_cmds, qdepth + in hpsa_figure_phys_disk_ptrs()
1766 logical_drive->queue_depth = h->nr_cmds; in hpsa_figure_phys_disk_ptrs()
1830 for (i = 0; i < h->nr_cmds; i++) { in hpsa_find_outstanding_commands_for_dev()
2187 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_ioaccel2_sg_chain_blocks()
2203 kzalloc_objs(*h->ioaccel2_cmd_sg_list, h->nr_cmds); in hpsa_allocate_ioaccel2_sg_chain_blocks()
2206 for (i = 0; i < h->nr_cmds; i++) { in hpsa_allocate_ioaccel2_sg_chain_blocks()
2226 for (i = 0; i < h->nr_cmds; i++) { in hpsa_free_sg_chain_blocks()
2241 h->cmd_sg_list = kzalloc_objs(*h->cmd_sg_list, h->nr_cmds); in hpsa_alloc_sg_chain_blocks()
2245 for (i = 0; i < h->nr_cmds; i++) { in hpsa_alloc_sg_chain_blocks()
4014 this_device->queue_depth = h->nr_cmds; in hpsa_update_device_info()
[all …]
/linux/drivers/thermal/mediatek/
H A Dlvts_thermal.c1034 static void lvts_write_config(struct lvts_ctrl *lvts_ctrl, const u32 *cmds, int nr_cmds) in lvts_write_config() argument
1041 for (i = 0; i < nr_cmds; i++) { in lvts_write_config()