Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_regs.c183 int cmd_num; in hclge_get_32_bit_regs() local
191 cmd_num = DIV_ROUND_UP(regs_num + nodata_num, in hclge_get_32_bit_regs()
193 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_32_bit_regs()
198 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_32_bit_regs()
206 for (i = 0; i < cmd_num; i++) { in hclge_get_32_bit_regs()
237 int cmd_num; in hclge_get_64_bit_regs() local
245 cmd_num = DIV_ROUND_UP(regs_num + nodata_len, in hclge_get_64_bit_regs()
247 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_64_bit_regs()
252 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_64_bit_regs()
260 for (i = 0; i < cmd_num; i++) { in hclge_get_64_bit_regs()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c554 u32 cmd_num, num_init_ops; in qed_init_run() local
565 for (cmd_num = 0; cmd_num < num_init_ops; cmd_num++) { in qed_init_run()
566 union init_op *cmd = &init_ops[cmd_num]; in qed_init_run()
578 cmd_num += qed_init_cmd_mode(p_hwfn, &cmd->if_mode, in qed_init_run()
582 cmd_num += qed_init_cmd_phase(&cmd->if_phase, in qed_init_run()
/linux-6.6.21/drivers/gpu/drm/qxl/
Dqxl_ioctl.c277 int cmd_num; in qxl_execbuffer_ioctl() local
280 for (cmd_num = 0; cmd_num < execbuffer->commands_num; ++cmd_num) { in qxl_execbuffer_ioctl()
285 if (copy_from_user(&user_cmd, commands + cmd_num, in qxl_execbuffer_ioctl()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dhal_rx.c468 status->uniform_hdr.cmd_num = in ath12k_hal_reo_status_queue_stats()
477 status->uniform_hdr.cmd_num, in ath12k_hal_reo_status_queue_stats()
531 status->uniform_hdr.cmd_num = in ath12k_hal_reo_flush_queue_status()
549 status->uniform_hdr.cmd_num = in ath12k_hal_reo_flush_cache_status()
590 status->uniform_hdr.cmd_num = in ath12k_hal_reo_unblk_cache_status()
617 status->uniform_hdr.cmd_num = in ath12k_hal_reo_flush_timeout_list_status()
646 status->uniform_hdr.cmd_num = in ath12k_hal_reo_desc_thresh_reached_status()
681 status->uniform_hdr.cmd_num = in ath12k_hal_reo_update_rx_reo_queue_status()
797 int i, cmd_num = 1; in ath12k_hal_reo_init_cmd_ring() local
810 desc->cmd.info0 = le32_encode_bits(cmd_num++, in ath12k_hal_reo_init_cmd_ring()
Ddp_rx.h45 int cmd_num; member
Ddp_rx.c614 int cmd_num; in ath12k_dp_reo_cmd_send() local
617 cmd_num = ath12k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath12k_dp_reo_cmd_send()
620 if (cmd_num < 0) in ath12k_dp_reo_cmd_send()
621 return cmd_num; in ath12k_dp_reo_cmd_send()
624 if (cmd_num == 0) in ath12k_dp_reo_cmd_send()
640 dp_cmd->cmd_num = cmd_num; in ath12k_dp_reo_cmd_send()
3903 if (reo_status.uniform_hdr.cmd_num == cmd->cmd_num) { in ath12k_dp_rx_process_reo_status()
Dhal.h902 u16 cmd_num; member
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dhal_rx.c438 status->uniform_hdr.cmd_num = in ath11k_hal_reo_status_queue_stats()
447 status->uniform_hdr.cmd_num, in ath11k_hal_reo_status_queue_stats()
515 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_queue_status()
534 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_cache_status()
576 status->uniform_hdr.cmd_num = in ath11k_hal_reo_unblk_cache_status()
604 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_timeout_list_status()
634 status->uniform_hdr.cmd_num = in ath11k_hal_reo_desc_thresh_reached_status()
670 status->uniform_hdr.cmd_num = in ath11k_hal_reo_update_rx_reo_queue_status()
788 int i, cmd_num = 1; in ath11k_hal_reo_init_cmd_ring() local
802 FIELD_PREP(HAL_REO_CMD_HDR_INFO0_CMD_NUMBER, cmd_num++); in ath11k_hal_reo_init_cmd_ring()
Ddp_tx.c766 int cmd_num; in ath11k_dp_tx_send_reo_cmd() local
772 cmd_num = ath11k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath11k_dp_tx_send_reo_cmd()
775 if (cmd_num < 0) in ath11k_dp_tx_send_reo_cmd()
776 return cmd_num; in ath11k_dp_tx_send_reo_cmd()
779 if (cmd_num == 0) in ath11k_dp_tx_send_reo_cmd()
795 dp_cmd->cmd_num = cmd_num; in ath11k_dp_tx_send_reo_cmd()
Dhal.h790 u16 cmd_num; member
Ddp.h56 int cmd_num; member
Ddp_rx.c4337 if (reo_status.uniform_hdr.cmd_num == cmd->cmd_num) { in ath11k_dp_process_reo_status()
/linux-6.6.21/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c305 int cmd_num; in am65_cpsw_est_check_scheds() local
307 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio, in am65_cpsw_est_check_scheds()
309 if (cmd_num < 0) in am65_cpsw_est_check_scheds()
310 return cmd_num; in am65_cpsw_est_check_scheds()
312 if (cmd_num > AM65_CPSW_FETCH_RAM_CMD_NUM / 2) { in am65_cpsw_est_check_scheds()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c630 cmd_idx = pfhwdev->proc.cmd_num; in hinic_comm_recv_mgmt_self_cmd_reg()
639 pfhwdev->proc.cmd_num++; in hinic_comm_recv_mgmt_self_cmd_reg()
647 cmd_idx = pfhwdev->proc.cmd_num; in hinic_comm_recv_mgmt_self_cmd_unreg()
658 pfhwdev->proc.cmd_num--; in hinic_comm_recv_mgmt_self_cmd_unreg()
669 for (cmd_idx = 0; cmd_idx < pfhwdev->proc.cmd_num; cmd_idx++) { in comm_mgmt_msg_handler()
Dhinic_hw_dev.h459 u8 cmd_num; member
/linux-6.6.21/drivers/mtd/nand/raw/
Dmeson_nand.c673 u32 cmd0, cmd_num, row_start; in meson_nfc_rw_cmd_prepare_and_execute() local
676 cmd_num = sizeof(struct nand_rw_cmd) / sizeof(int); in meson_nfc_rw_cmd_prepare_and_execute()
683 cmd_num--; in meson_nfc_rw_cmd_prepare_and_execute()
697 cmd_num--; in meson_nfc_rw_cmd_prepare_and_execute()
700 cmd_num--; in meson_nfc_rw_cmd_prepare_and_execute()
702 for (i = 0; i < cmd_num; i++) in meson_nfc_rw_cmd_prepare_and_execute()
/linux-6.6.21/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()
1446 stats_hdr->cmd_num = bp->fw_stats_num; in bnx2x_prep_fw_stats_req()
Dbnx2x_sriov.c1951 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