/linux/drivers/acpi/acpica/ |
A D | dbhistry.c | 22 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/drivers/staging/fieldbus/anybuss/ |
A D | anybuss-client.h | 84 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,
|
A D | host.c | 223 __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/drivers/net/ethernet/qlogic/qed/ |
A D | qed_init_ops.c | 554 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/drivers/gpu/drm/qxl/ |
A D | qxl_ioctl.c | 281 int cmd_num; in qxl_execbuffer_ioctl() local 284 for (cmd_num = 0; cmd_num < execbuffer->commands_num; ++cmd_num) { in qxl_execbuffer_ioctl() 289 if (copy_from_user(&user_cmd, commands + cmd_num, in qxl_execbuffer_ioctl()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | hal_rx.c | 441 status->uniform_hdr.cmd_num = in ath11k_hal_reo_status_queue_stats() 450 status->uniform_hdr.cmd_num, in ath11k_hal_reo_status_queue_stats() 516 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_queue_status() 535 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_cache_status() 577 status->uniform_hdr.cmd_num = in ath11k_hal_reo_unblk_cache_status() 605 status->uniform_hdr.cmd_num = in ath11k_hal_reo_flush_timeout_list_status() 635 status->uniform_hdr.cmd_num = in ath11k_hal_reo_desc_thresh_reached_status() 671 status->uniform_hdr.cmd_num = in ath11k_hal_reo_update_rx_reo_queue_status() 787 int i, cmd_num = 1; in ath11k_hal_reo_init_cmd_ring() local 801 FIELD_PREP(HAL_REO_CMD_HDR_INFO0_CMD_NUMBER, cmd_num++); in ath11k_hal_reo_init_cmd_ring()
|
A D | dp_tx.c | 620 int cmd_num; in ath11k_dp_tx_send_reo_cmd() local 626 cmd_num = ath11k_hal_reo_cmd_send(ab, cmd_ring, type, cmd); in ath11k_dp_tx_send_reo_cmd() 629 if (cmd_num < 0) in ath11k_dp_tx_send_reo_cmd() 630 return cmd_num; in ath11k_dp_tx_send_reo_cmd() 633 if (cmd_num == 0) in ath11k_dp_tx_send_reo_cmd() 649 dp_cmd->cmd_num = cmd_num; in ath11k_dp_tx_send_reo_cmd()
|
A D | hal.h | 779 u16 cmd_num; member
|
A D | dp.h | 55 int cmd_num; member
|
A D | dp_rx.c | 4326 if (reo_status.uniform_hdr.cmd_num == cmd->cmd_num) { in ath11k_dp_process_reo_status()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | fw.c | 424 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/drivers/net/ethernet/ti/ |
A D | am65-cpsw-qos.c | 303 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()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_dev.c | 637 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()
|
A D | hinic_hw_dev.h | 393 u8 cmd_num; member
|
/linux/drivers/mtd/nand/raw/ |
A D | meson_nand.c | 582 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/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_stats.c | 98 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()
|
A D | bnx2x_sriov.c | 1938 bp->fw_stats_req->hdr.cmd_num = bp->fw_stats_num + stats_count; in bnx2x_iov_adjust_stats_req()
|
A D | bnx2x_hsi.h | 5884 u8 cmd_num; member
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.c | 12398 int cmd_num; in hclge_get_32_bit_regs() local 12406 cmd_num = DIV_ROUND_UP(regs_num + nodata_num, in hclge_get_32_bit_regs() 12408 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_32_bit_regs() 12413 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_32_bit_regs() 12421 for (i = 0; i < cmd_num; i++) { in hclge_get_32_bit_regs() 12452 int cmd_num; in hclge_get_64_bit_regs() local 12460 cmd_num = DIV_ROUND_UP(regs_num + nodata_len, in hclge_get_64_bit_regs() 12462 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_64_bit_regs() 12467 ret = hclge_cmd_send(&hdev->hw, desc, cmd_num); in hclge_get_64_bit_regs() 12475 for (i = 0; i < cmd_num; i++) { in hclge_get_64_bit_regs()
|