Home
last modified time | relevance | path

Searched refs:cmd_count (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h329 int cmd_count, in cvmx_cmd_queue_write() argument
356 if (likely(qptr->index + cmd_count < qptr->pool_size_m1)) { in cvmx_cmd_queue_write()
361 qptr->index += cmd_count; in cvmx_cmd_queue_write()
362 while (cmd_count--) in cvmx_cmd_queue_write()
388 cmd_count -= count; in cvmx_cmd_queue_write()
398 qptr->index = cmd_count; in cvmx_cmd_queue_write()
400 while (cmd_count--) in cvmx_cmd_queue_write()
/linux-6.1.9/include/uapi/linux/
Disst_if.h62 __u32 cmd_count; member
131 __u32 cmd_count; member
162 __u32 cmd_count; member
Dfd.h373 unsigned char cmd_count; member
/linux-6.1.9/drivers/crypto/ccp/
Dccp-crypto-main.c56 unsigned int cmd_count; member
136 req_queue.cmd_count--; in ccp_crypto_cmd_complete()
221 if (req_queue.cmd_count >= CCP_CRYPTO_MAX_QLEN) { in ccp_crypto_enqueue_cmd()
246 if (req_queue.cmd_count >= CCP_CRYPTO_MAX_QLEN) { in ccp_crypto_enqueue_cmd()
253 req_queue.cmd_count++; in ccp_crypto_enqueue_cmd()
415 req_queue.cmd_count = 0; in ccp_crypto_init()
Dccp-dev.c312 if (ccp->cmd_count >= MAX_CMD_QLEN) { in ccp_enqueue_cmd()
321 ccp->cmd_count++; in ccp_enqueue_cmd()
356 ccp->cmd_count++; in ccp_do_cmd_backlog()
394 if (ccp->cmd_count) { in ccp_dequeue_cmd()
400 ccp->cmd_count--; in ccp_dequeue_cmd()
Dccp-debugfs.c61 oboff += OSCNPRINTF(" # Cmds: %d\n", ccp->cmd_count); in ccp5_debugfs_info_read()
Dccp-dev.h373 unsigned int cmd_count; member
/linux-6.1.9/drivers/target/iscsi/
Discsi_target_erl2.c213 return --cr->cmd_count; in iscsit_remove_cmd_from_connection_recovery()
251 if (!cr->cmd_count) { in iscsit_discard_cr_cmds_by_expstatsn()
309 u32 cmd_count = 0; in iscsit_prepare_cmds_for_reallegiance() local
374 cmd_count++; in iscsit_prepare_cmds_for_reallegiance()
411 cr->cmd_count = cmd_count; in iscsit_prepare_cmds_for_reallegiance()
/linux-6.1.9/drivers/platform/x86/intel/speed_select_if/
Disst_if_common.c534 u32 cmd_count; in isst_if_exec_multi_cmd() local
540 if (copy_from_user(&cmd_count, argp, sizeof(cmd_count))) in isst_if_exec_multi_cmd()
543 if (!cmd_count || cmd_count > ISST_IF_CMD_LIMIT) in isst_if_exec_multi_cmd()
553 for (i = 0; i < cmd_count; ++i) { in isst_if_exec_multi_cmd()
/linux-6.1.9/drivers/w1/
Dw1_netlink.c498 static void w1_list_count_cmds(struct w1_netlink_msg *msg, int *cmd_count, in w1_list_count_cmds() argument
515 ++*cmd_count; in w1_list_count_cmds()
546 int cmd_count = 0; in w1_cn_callback() local
572 w1_list_count_cmds(msg, &cmd_count, &slave_len); in w1_cn_callback()
585 reply_size += 2 * cmd_count * (sizeof(struct cn_msg) + in w1_cn_callback()
/linux-6.1.9/drivers/dma/ptdma/
Dptdma-debugfs.c30 seq_printf(s, " # Cmds: %d\n", pt->cmd_count); in pt_debugfs_info_show()
Dptdma.h244 unsigned int cmd_count; member
/linux-6.1.9/drivers/usb/serial/
Dcypress_m8.c96 int cmd_count; /* used for statistics */ member
410 ++priv->cmd_count; in cypress_serial_control()
596 priv->cmd_count = 0; in cypress_open()
653 priv->bytes_in, priv->bytes_out, priv->cmd_count); in cypress_close()
728 priv->cmd_count++; in cypress_send()
/linux-6.1.9/drivers/firmware/arm_scmi/
Dbase.c343 r->cmd_count = ERROR_CMD_COUNT(le32_to_cpu(p->error_status)); in scmi_base_fill_custom_report()
344 for (i = 0; i < r->cmd_count; i++) in scmi_base_fill_custom_report()
/linux-6.1.9/drivers/target/
Dtarget_core_transport.c225 struct se_session *sess = container_of(ref, typeof(*sess), cmd_count); in target_release_sess_cmd_refcnt()
244 return percpu_ref_init(&se_sess->cmd_count, in transport_init_session()
257 percpu_ref_put(&se_sess->cmd_count); in transport_uninit_session()
259 percpu_ref_exit(&se_sess->cmd_count); in transport_uninit_session()
2973 if (!percpu_ref_tryget_live(&se_sess->cmd_count)) in target_get_sess_cmd()
3007 percpu_ref_put(&se_sess->cmd_count); in target_release_cmd_kref()
3129 cmd_count); in target_stop_session_confirm()
3141 percpu_ref_kill_and_confirm(&se_sess->cmd_count, in target_stop_session()
3159 percpu_ref_is_zero(&se_sess->cmd_count), in target_wait_for_sess_cmds()
/linux-6.1.9/drivers/scsi/
Dqlogicpti.h349 int cmd_count[MAX_TARGETS]; member
Dqlogicpti.c879 if (qpti->cmd_count[Cmnd->device->id] == 0) in cmd_frob()
962 qpti->cmd_count[Cmnd->device->id]++; in load_cmd()
1193 qpti->cmd_count[Cmnd->device->id]--; in qlogicpti_intr_handler()
/linux-6.1.9/drivers/i2c/busses/
Di2c-jz4780.c413 int cmd_count, in jz4780_i2c_send_rcmd() argument
418 for (i = 0; i < cmd_count - 1; i++) in jz4780_i2c_send_rcmd()
/linux-6.1.9/include/linux/
Dscmi_protocol.h955 unsigned int cmd_count; member
/linux-6.1.9/drivers/hid/
Dhid-lg4ff.c107 const u8 cmd_count; /* Number of commands to send */ member
785 for (i = 0; i < s->cmd_count; i++) { in lg4ff_switch_compatibility_mode()
/linux-6.1.9/drivers/block/
Dfloppy.c1073 raw_cmd->fullcmd, raw_cmd->cmd_count, false); in setup_DMA()
1517 for (i = 0; i < raw_cmd->cmd_count; i++) in setup_rw_floppy()
2155 raw_cmd->cmd_count = NR_F; in setup_format_params()
2553 raw_cmd->cmd_count = NR_RW; in make_raw_rw_request()
2897 raw_cmd->cmd_count = 0; in poll_drive()
3104 if (ptr->cmd_count > FD_RAW_CMD_FULLSIZE) in raw_cmd_copyin()
/linux-6.1.9/include/target/
Dtarget_core_base.h628 struct percpu_ref cmd_count; member
/linux-6.1.9/include/target/iscsi/
Discsi_target_core.h615 u32 cmd_count; member
/linux-6.1.9/tools/power/x86/intel-speed-select/
Disst-config.c664 map.cmd_count = 1; in create_cpu_map()
832 mbox_cmds.cmd_count = 1; in isst_send_mbox_command()
889 msr_cmds.cmd_count = 1; in isst_send_msr_command()
/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_target.c918 int cmd_count; member
939 tmp->cmd_count += logo->cmd_count; in qlt_send_first_logo()
959 logo->cmd_count, res); in qlt_send_first_logo()
990 logo.cmd_count = 0; in qlt_free_session_done()
6247 logo.cmd_count = 1; in qlt_make_local_sess()