Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/acpica/
Ddbhistry.c22 u32 cmd_num; member
77 acpi_gbl_history_buffer[acpi_gbl_next_history_index].cmd_num = in acpi_db_add_to_history()
126 cmd_num, in acpi_db_display_history()
153 u32 cmd_num; in acpi_db_get_from_history() local
156 cmd_num = acpi_gbl_next_cmd_num - 1; in acpi_db_get_from_history()
160 cmd_num = strtoul(command_num_arg, NULL, 0); in acpi_db_get_from_history()
163 return (acpi_db_get_history_by_index(cmd_num)); in acpi_db_get_from_history()
179 char *acpi_db_get_history_by_index(u32 cmd_num) in acpi_db_get_history_by_index() argument
188 if (acpi_gbl_history_buffer[history_index].cmd_num == cmd_num) { in acpi_db_get_history_by_index()
/Linux-v5.4/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()
/Linux-v5.4/drivers/staging/fieldbus/anybuss/
Danybuss-client.h87 int anybuss_send_msg(struct anybuss_client *client, u16 cmd_num,
89 int anybuss_send_ext(struct anybuss_client *client, u16 cmd_num,
91 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()
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c494 u32 cmd_num, num_init_ops; in qed_init_run() local
506 for (cmd_num = 0; cmd_num < num_init_ops; cmd_num++) { in qed_init_run()
507 union init_op *cmd = &init_ops[cmd_num]; in qed_init_run()
519 cmd_num += qed_init_cmd_mode(p_hwfn, &cmd->if_mode, in qed_init_run()
523 cmd_num += qed_init_cmd_phase(p_hwfn, &cmd->if_phase, in qed_init_run()
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_ioctl.c285 int cmd_num; in qxl_execbuffer_ioctl() local
288 for (cmd_num = 0; cmd_num < execbuffer->commands_num; ++cmd_num) { in qxl_execbuffer_ioctl()
293 if (copy_from_user(&user_cmd, commands + cmd_num, in qxl_execbuffer_ioctl()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c424 u32 cmd_num, u32 *pelement_id, u32 *pcmd_len, in _rtl92s_fill_h2c_cmd() argument
464 if (i < cmd_num - 1) in _rtl92s_fill_h2c_cmd()
471 } while (++i < cmd_num); in _rtl92s_fill_h2c_cmd()
476 static u32 _rtl92s_get_h2c_cmdlen(u32 h2cbufferlen, u32 cmd_num, u32 *pcmd_len) in _rtl92s_get_h2c_cmdlen() argument
490 } while (++i < cmd_num); in _rtl92s_get_h2c_cmdlen()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c96 bp->fw_stats_req->hdr.cmd_num, in bnx2x_dp_stats()
103 for (i = 0; i < bp->fw_stats_req->hdr.cmd_num; i++) { in bnx2x_dp_stats()
1443 stats_hdr->cmd_num = bp->fw_stats_num; in bnx2x_prep_fw_stats_req()
Dbnx2x_sriov.c1964 bp->fw_stats_req->hdr.cmd_num = bp->fw_stats_num + stats_count; in bnx2x_iov_adjust_stats_req()
Dbnx2x_hsi.h5884 u8 cmd_num; member
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c9641 int cmd_num; in hclge_get_32_bit_regs() local
9649 cmd_num = DIV_ROUND_UP(regs_num + nodata_num, in hclge_get_32_bit_regs()
9651 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_32_bit_regs()
9656 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_32_bit_regs()
9664 for (i = 0; i < cmd_num; i++) { in hclge_get_32_bit_regs()
9695 int cmd_num; in hclge_get_64_bit_regs() local
9703 cmd_num = DIV_ROUND_UP(regs_num + nodata_len, in hclge_get_64_bit_regs()
9705 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_64_bit_regs()
9710 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_64_bit_regs()
9718 for (i = 0; i < cmd_num; i++) { in hclge_get_64_bit_regs()