Home
last modified time | relevance | path

Searched refs:cmd_num (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Ddbhistry.c22 u32 cmd_num; member
76 acpi_gbl_history_buffer[acpi_gbl_next_history_index].cmd_num = in acpi_db_add_to_history()
125 cmd_num, in acpi_db_display_history()
152 u32 cmd_num; in acpi_db_get_from_history() local
155 cmd_num = acpi_gbl_next_cmd_num - 1; in acpi_db_get_from_history()
159 cmd_num = strtoul(command_num_arg, NULL, 0); in acpi_db_get_from_history()
162 return (acpi_db_get_history_by_index(cmd_num)); in acpi_db_get_from_history()
178 char *acpi_db_get_history_by_index(u32 cmd_num) in acpi_db_get_history_by_index() argument
187 if (acpi_gbl_history_buffer[history_index].cmd_num == cmd_num) { in acpi_db_get_history_by_index()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Drtw_android.c67 int cmd_num; in rtw_android_cmdstr_to_num() local
69 for (cmd_num = 0; cmd_num < ANDROID_WIFI_CMD_MAX; cmd_num++) in rtw_android_cmdstr_to_num()
70 if (!strncasecmp(cmdstr, android_wifi_cmd_str[cmd_num], in rtw_android_cmdstr_to_num()
71 strlen(android_wifi_cmd_str[cmd_num]))) in rtw_android_cmdstr_to_num()
73 return cmd_num; in rtw_android_cmdstr_to_num()
134 int cmd_num; in rtw_android_priv_cmd() local
150 cmd_num = rtw_android_cmdstr_to_num(command); in rtw_android_priv_cmd()
151 switch (cmd_num) { in rtw_android_priv_cmd()
163 switch (cmd_num) { in rtw_android_priv_cmd()
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/
Danybuss-client.h84 int anybuss_send_msg(struct anybuss_client *client, u16 cmd_num,
86 int anybuss_send_ext(struct anybuss_client *client, u16 cmd_num,
88 int anybuss_recv_msg(struct anybuss_client *client, u16 cmd_num,
Dhost.c223 __be16 cmd_num; member
805 u16 cmd_num, bool is_fb_cmd, in _anybus_mbox_cmd() argument
833 h->cmd_num = cpu_to_be16(cmd_num); in _anybus_mbox_cmd()
1136 int anybuss_send_msg(struct anybuss_client *client, u16 cmd_num, in anybuss_send_msg() argument
1141 return _anybus_mbox_cmd(cd, cmd_num, true, buf, count, NULL, 0, in anybuss_send_msg()
1146 int anybuss_send_ext(struct anybuss_client *client, u16 cmd_num, in anybuss_send_ext() argument
1151 return _anybus_mbox_cmd(cd, cmd_num, true, NULL, 0, NULL, 0, in anybuss_send_ext()
1156 int anybuss_recv_msg(struct anybuss_client *client, u16 cmd_num, in anybuss_recv_msg() argument
1161 return _anybus_mbox_cmd(cd, cmd_num, true, NULL, 0, buf, count, in anybuss_recv_msg()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c538 u32 cmd_num, num_init_ops; in qed_init_run() local
549 for (cmd_num = 0; cmd_num < num_init_ops; cmd_num++) { in qed_init_run()
550 union init_op *cmd = &init_ops[cmd_num]; in qed_init_run()
562 cmd_num += qed_init_cmd_mode(p_hwfn, &cmd->if_mode, in qed_init_run()
566 cmd_num += qed_init_cmd_phase(p_hwfn, &cmd->if_phase, in qed_init_run()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_ioctl.c282 int cmd_num; in qxl_execbuffer_ioctl() local
285 for (cmd_num = 0; cmd_num < execbuffer->commands_num; ++cmd_num) { in qxl_execbuffer_ioctl()
290 if (copy_from_user(&user_cmd, commands + cmd_num, in qxl_execbuffer_ioctl()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c424 u32 cmd_num, u32 *pelement_id, u32 *pcmd_len, in _rtl92s_fill_h2c_cmd() argument
467 if (i < cmd_num - 1) in _rtl92s_fill_h2c_cmd()
475 } while (++i < cmd_num); in _rtl92s_fill_h2c_cmd()
480 static u32 _rtl92s_get_h2c_cmdlen(u32 h2cbufferlen, u32 cmd_num, u32 *pcmd_len) in _rtl92s_get_h2c_cmdlen() argument
494 } while (++i < cmd_num); in _rtl92s_get_h2c_cmdlen()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c303 int cmd_num; in am65_cpsw_est_check_scheds() local
305 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio, in am65_cpsw_est_check_scheds()
307 if (cmd_num < 0) in am65_cpsw_est_check_scheds()
308 return cmd_num; in am65_cpsw_est_check_scheds()
310 if (cmd_num > AM65_CPSW_FETCH_RAM_CMD_NUM / 2) { in am65_cpsw_est_check_scheds()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dhal_rx.c439 status->uniform_hdr.cmd_num = in ath11k_hal_reo_status_queue_stats()
448 status->uniform_hdr.cmd_num, in ath11k_hal_reo_status_queue_stats()
514 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_queue_status()
533 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_cache_status()
575 status->uniform_hdr.cmd_num = in ath11k_hal_reo_unblk_cache_status()
603 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_timeout_list_status()
633 status->uniform_hdr.cmd_num = in ath11k_hal_reo_desc_thresh_reached_status()
669 status->uniform_hdr.cmd_num = in ath11k_hal_reo_update_rx_reo_queue_status()
785 int i, cmd_num = 1; in ath11k_hal_reo_init_cmd_ring() local
799 FIELD_PREP(HAL_REO_CMD_HDR_INFO0_CMD_NUMBER, cmd_num++); in ath11k_hal_reo_init_cmd_ring()
Ddp_tx.c614 int cmd_num; in ath11k_dp_tx_send_reo_cmd() local
617 cmd_num = ath11k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath11k_dp_tx_send_reo_cmd()
620 if (cmd_num < 0) in ath11k_dp_tx_send_reo_cmd()
621 return cmd_num; in ath11k_dp_tx_send_reo_cmd()
624 if (cmd_num == 0) in ath11k_dp_tx_send_reo_cmd()
640 dp_cmd->cmd_num = cmd_num; in ath11k_dp_tx_send_reo_cmd()
Dhal.h766 u16 cmd_num; member
Ddp.h54 int cmd_num; member
Ddp_rx.c4186 if (reo_status.uniform_hdr.cmd_num == cmd->cmd_num) { in ath11k_dp_process_reo_status()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c637 cmd_idx = pfhwdev->proc.cmd_num; in hinic_comm_recv_mgmt_self_cmd_reg()
646 pfhwdev->proc.cmd_num++; in hinic_comm_recv_mgmt_self_cmd_reg()
654 cmd_idx = pfhwdev->proc.cmd_num; in hinic_comm_recv_mgmt_self_cmd_unreg()
665 pfhwdev->proc.cmd_num--; in hinic_comm_recv_mgmt_self_cmd_unreg()
676 for (cmd_idx = 0; cmd_idx < pfhwdev->proc.cmd_num; cmd_idx++) { in comm_mgmt_msg_handler()
Dhinic_hw_dev.h393 u8 cmd_num; member
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dmeson_nand.c582 u32 cmd0, cmd_num, row_start; in meson_nfc_rw_cmd_prepare_and_execute() local
585 cmd_num = sizeof(struct nand_rw_cmd) / sizeof(int); in meson_nfc_rw_cmd_prepare_and_execute()
592 cmd_num--; in meson_nfc_rw_cmd_prepare_and_execute()
606 cmd_num--; in meson_nfc_rw_cmd_prepare_and_execute()
609 cmd_num--; in meson_nfc_rw_cmd_prepare_and_execute()
611 for (i = 0; i < cmd_num; i++) in meson_nfc_rw_cmd_prepare_and_execute()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c98 bp->fw_stats_req->hdr.cmd_num, in bnx2x_dp_stats()
105 for (i = 0; i < bp->fw_stats_req->hdr.cmd_num; i++) { in bnx2x_dp_stats()
1445 stats_hdr->cmd_num = bp->fw_stats_num; in bnx2x_prep_fw_stats_req()
Dbnx2x_sriov.c1954 bp->fw_stats_req->hdr.cmd_num = bp->fw_stats_num + stats_count; in bnx2x_iov_adjust_stats_req()
Dbnx2x_hsi.h5885 u8 cmd_num; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c10791 int cmd_num; in hclge_get_32_bit_regs() local
10799 cmd_num = DIV_ROUND_UP(regs_num + nodata_num, in hclge_get_32_bit_regs()
10801 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_32_bit_regs()
10806 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_32_bit_regs()
10814 for (i = 0; i < cmd_num; i++) { in hclge_get_32_bit_regs()
10845 int cmd_num; in hclge_get_64_bit_regs() local
10853 cmd_num = DIV_ROUND_UP(regs_num + nodata_len, in hclge_get_64_bit_regs()
10855 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_64_bit_regs()
10860 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_64_bit_regs()
10868 for (i = 0; i < cmd_num; i++) { in hclge_get_64_bit_regs()