/openbmc/linux/drivers/comedi/drivers/ |
H A D | comedi_test.c | 204 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_timer() local 225 cmd->scan_end_arg; in waveform_ai_timer() 234 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 280 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in waveform_ai_cmdtest() 322 arg = cmd->convert_arg; in waveform_ai_cmdtest() 343 arg = max(arg, cmd->convert_arg * cmd->scan_end_arg); in waveform_ai_cmdtest() 358 struct comedi_cmd *cmd = &s->async->cmd; in waveform_ai_cmd() local 451 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer() local 502 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer() 528 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_inttrig_start() local [all …]
|
H A D | ni_labpc_common.c | 301 if (cmd->convert_arg > cmd->scan_begin_arg) in labpc_set_ai_convert_period() 302 cmd->convert_arg = cmd->scan_begin_arg; in labpc_set_ai_convert_period() 532 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 564 cmd->convert_arg * cmd->chanlist_len); in labpc_ai_cmdtest() 595 if (tmp != cmd->convert_arg || tmp2 != cmd->scan_begin_arg) in labpc_ai_cmdtest() 602 if (cmd->chanlist && cmd->chanlist_len > 0) in labpc_ai_cmdtest() 616 struct comedi_cmd *cmd = &async->cmd; in labpc_ai_cmd() local 619 cmd->chanlist[cmd->chanlist_len - 1] : in labpc_ai_cmd() 632 devpriv->count = cmd->stop_arg * cmd->chanlist_len; in labpc_ai_cmd() 770 struct comedi_cmd *cmd = &async->cmd; in labpc_drain_fifo() local [all …]
|
H A D | adl_pci9111.c | 265 if (cmd->scan_begin_src != cmd->convert_src) in pci9111_ai_do_cmd_test() 304 arg = cmd->convert_arg; in pci9111_ai_do_cmd_test() 314 arg = cmd->chanlist_len * cmd->convert_arg; in pci9111_ai_do_cmd_test() 326 if (cmd->chanlist && cmd->chanlist_len > 0) in pci9111_ai_do_cmd_test() 339 struct comedi_cmd *cmd = &s->async->cmd; in pci9111_ai_do_cmd() local 340 unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); in pci9111_ai_do_cmd() 370 (cmd->convert_arg * cmd->chanlist_len)) - 1; in pci9111_ai_do_cmd() 409 struct comedi_cmd *cmd = &s->async->cmd; in pci9111_handle_fifo_half_full() local 455 struct comedi_cmd *cmd; in pci9111_interrupt() local 467 cmd = &async->cmd; in pci9111_interrupt() [all …]
|
H A D | adl_pci9118.c | 409 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_samples_ready() local 466 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_dma_xfer() local 536 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_calc_divisors() local 622 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_get_onesample() local 639 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_get_dma() local 787 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_inttrig() local 802 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_setup_dma() local 920 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_cmd() local 1216 cmd->convert_arg = cmd->scan_begin_arg; in pci9118_ai_cmdtest() 1252 if ((cmd->scan_end_arg % cmd->chanlist_len)) { in pci9118_ai_cmdtest() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | cx24117.c | 290 memcpy(&buf[1], cmd->args, cmd->len); in cx24117_writecmd() 637 cmd.len = 4; in cx24117_load_firmware() 687 cmd.len = 6; in cx24117_load_firmware() 714 cmd.len = 2; in cx24117_load_firmware() 795 cmd.len = 2; in cx24117_read_signal_strength() 915 cmd.len = 3; in cx24117_set_voltage() 978 cmd.len = 5; in cx24117_set_tone() 1231 cmd.len = 3; in cx24117_initfe() 1245 cmd.len = 4; in cx24117_initfe() 1254 cmd.len = 3; in cx24117_initfe() [all …]
|
H A D | cx24116.c | 623 cmd.len = 0x0a; in cx24116_load_firmware() 634 cmd.len = 0x03; in cx24116_load_firmware() 651 cmd.len = 0x06; in cx24116_load_firmware() 658 cmd.len = 0x02; in cx24116_load_firmware() 722 cmd.len = 0x01; in cx24116_read_signal_strength() 852 cmd.len = 0x02; in cx24116_set_voltage() 895 cmd.len = 0x04; in cx24116_set_tone() 919 cmd.len = 0x08; in cx24116_diseqc_init() 1159 cmd.len = 0x02; in cx24116_initfe() 1186 cmd.len = 0x02; in cx24116_sleep() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | ucode.c | 31 struct iwl_calib_xtal_freq_cmd cmd; in iwl_set_Xtal_calib() local 37 return iwl_calib_set(priv, (void *)&cmd, sizeof(cmd)); in iwl_set_Xtal_calib() 44 memset(&cmd, 0, sizeof(cmd)); in iwl_set_temperature_offset_calib() 47 if (!(cmd.radio_sensor_offset)) in iwl_set_temperature_offset_calib() 52 return iwl_calib_set(priv, (void *)&cmd, sizeof(cmd)); in iwl_set_temperature_offset_calib() 59 memset(&cmd, 0, sizeof(cmd)); in iwl_set_temperature_offset_calib_v2() 63 if (!cmd.radio_sensor_offset_low) { in iwl_set_temperature_offset_calib_v2() 77 return iwl_calib_set(priv, (void *)&cmd, sizeof(cmd)); in iwl_set_temperature_offset_calib_v2() 83 struct iwl_host_cmd cmd = { in iwl_send_calib_cfg() local 359 struct iwl_calib_cmd *cmd; in iwlagn_wait_calib() local [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | gpg_sign.py | 36 cmd += ["--homedir", self.gpg_path] 38 cmd += ["--armor"] 39 cmd += [keyid] 74 cmd += ['--homedir', self.gpg_path] 76 cmd += ['--armor'] 78 cmd += ['--digest-algo', "SHA256"] 83 cmd += ['--pinentry-mode', 'loopback'] 95 cmd += ['-o', tmp_file] 97 cmd += [input_file] 129 cmd += ["--homedir", self.gpg_path] [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 132 ent->cmd = cmd; in cmd_alloc_ent() 189 struct mlx5_cmd *cmd = ent->cmd; in cmd_ent_put() local 966 struct mlx5_cmd *cmd = ent->cmd; in cmd_work_handler() local 1152 struct mlx5_cmd *cmd = &dev->cmd; in wait_func() local 1207 struct mlx5_cmd *cmd = &dev->cmd; in mlx5_cmd_invoke() local 1563 struct mlx5_cmd *cmd = &dev->cmd; in set_wqname() local 1594 struct mlx5_cmd *cmd = &dev->cmd; in mlx5_cmd_allowed_opcode() local 1610 struct mlx5_cmd *cmd = &dev->cmd; in mlx5_cmd_change_mod() local 1670 struct mlx5_cmd *cmd = &dev->cmd; in mlx5_cmd_comp_handler() local 1763 struct mlx5_cmd *cmd = &dev->cmd; in mlx5_cmd_trigger_completions() local [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-cmdq.c | 334 mdp = cmd->mdp; in mdp_auto_release_work() 347 kfree(cmd); in mdp_auto_release_work() 348 cmd = NULL; in mdp_auto_release_work() 366 mdp = cmd->mdp; in mdp_handle_cmdq_callback() 394 kfree(cmd); in mdp_handle_cmdq_callback() 395 cmd = NULL; in mdp_handle_cmdq_callback() 415 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mdp_cmdq_send() 416 if (!cmd) { in mdp_cmdq_send() 481 cmd->mdp = mdp; in mdp_cmdq_send() 493 cmd->pkt.pa_base, cmd->pkt.cmd_buf_size, in mdp_cmdq_send() [all …]
|
H A D | mtk-mdp3-comp.h | 13 cmdq_pkt_write_mask(&((cmd)->pkt), id, \ 24 #define MM_REG_WAIT(cmd, evt) \ argument 26 typeof(cmd) (c) = (cmd); \ 31 #define MM_REG_WAIT_NO_CLEAR(cmd, evt) \ argument 33 typeof(cmd) (c) = (cmd); \ 38 #define MM_REG_CLEAR(cmd, evt) \ argument 40 typeof(cmd) (c) = (cmd); \ 45 #define MM_REG_SET_EVENT(cmd, evt) \ argument 47 typeof(cmd) (c) = (cmd); \ 55 cmdq_pkt_poll_mask(&((cmd)->pkt), id, \ [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | NCR5380.c | 547 scsi_done(cmd); in complete_cmd() 645 cmd, scmd_id(cmd), hostdata->busy[scmd_id(cmd)], cmd->device->lun); in dequeue_next_cmd() 651 return cmd; in dequeue_next_cmd() 664 return cmd; in dequeue_next_cmd() 705 if (!cmd) in NCR5380_main() 1214 hostdata->busy[cmd->device->id] |= 1 << cmd->device->lun; in NCR5380_select() 1747 hostdata->busy[scmd_id(cmd)] &= ~(1 << cmd->device->lun); in NCR5380_information_transfer() 1824 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer() 1874 cmd, scmd_id(cmd), cmd->device->lun); in NCR5380_information_transfer() 2128 tmp = cmd; in NCR5380_reselect() [all …]
|
H A D | vmw_pvscsi.c | 161 if (ctx->cmd == cmd) in pvscsi_find_context() 176 ctx->cmd = cmd; in pvscsi_acquire_context() 263 cmd.target = ctx->cmd->device->id; in pvscsi_abort_cmd() 324 &cmd, sizeof(cmd)); in ll_device_reset() 420 cmd = ctx->cmd; in pvscsi_unmap_buffers() 513 &cmd, sizeof(cmd)); in pvscsi_setup_all_rings() 553 cmd = ctx->cmd; in pvscsi_complete_request() 647 cmd, cmd->cmnd[0], ctx, cmd->result, btstat, sdstat); in pvscsi_complete_request() 857 cmd); in DEF_SCSI_QCMD() 884 struct scsi_cmnd *cmd = ctx->cmd; in pvscsi_reset_all() local [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | tx-gen2.c | 49 cmddata[i] = cmd->data[i]; in iwl_pcie_gen2_enqueue_hcmd() 50 cmdlen[i] = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd() 52 if (!cmd->len[i]) in iwl_pcie_gen2_enqueue_hcmd() 97 cmd_size += cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd() 107 iwl_get_cmd_string(trans, cmd->id), cmd->id, copy_size)) { in iwl_pcie_gen2_enqueue_hcmd() 133 out_meta->source = cmd; in iwl_pcie_gen2_enqueue_hcmd() 136 out_cmd->hdr_wide.cmd = iwl_cmd_opcode(cmd->id); in iwl_pcie_gen2_enqueue_hcmd() 153 if (!cmd->len[i]) in iwl_pcie_gen2_enqueue_hcmd() 159 copy = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd() 181 if (copy > cmd->len[i]) in iwl_pcie_gen2_enqueue_hcmd() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_replay.c | 70 union dmub_rb_cmd cmd; in dmub_replay_enable() local 75 memset(&cmd, 0, sizeof(cmd)); in dmub_replay_enable() 77 cmd.replay_enable.data.panel_inst = panel_inst; in dmub_replay_enable() 81 cmd.replay_enable.data.enable = REPLAY_ENABLE; in dmub_replay_enable() 83 cmd.replay_enable.data.enable = REPLAY_DISABLE; in dmub_replay_enable() 120 union dmub_rb_cmd cmd; in dmub_replay_set_power_opt() local 123 memset(&cmd, 0, sizeof(cmd)); in dmub_replay_set_power_opt() 141 union dmub_rb_cmd cmd; in dmub_replay_copy_settings() local 164 memset(&cmd, 0, sizeof(cmd)); in dmub_replay_copy_settings() 225 union dmub_rb_cmd cmd; in dmub_replay_set_coasting_vtotal() local [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | wmi.c | 1938 cmd = ptr; in ath12k_wmi_send_peer_assoc_cmd() 2085 cmd->peer_flags, cmd->peer_rate_caps, cmd->peer_caps, in ath12k_wmi_send_peer_assoc_cmd() 2086 cmd->peer_listen_intval, cmd->peer_ht_caps, in ath12k_wmi_send_peer_assoc_cmd() 2087 cmd->peer_max_mpdu, cmd->peer_nss, cmd->peer_phymode, in ath12k_wmi_send_peer_assoc_cmd() 2089 cmd->peer_vht_caps, cmd->peer_he_cap_info, in ath12k_wmi_send_peer_assoc_cmd() 2090 cmd->peer_he_ops, cmd->peer_he_cap_info_ext, in ath12k_wmi_send_peer_assoc_cmd() 2998 cmd->vdev_id, cmd->evt_type, cmd->current_bss_color, in ath12k_wmi_obss_color_cfg_cmd() 3033 cmd->vdev_id, cmd->enable); in ath12k_wmi_send_bss_color_change_enable_cmd() 3393 get_random_bytes(cmd->th_4, sizeof(cmd->th_4)); in ath12k_wmi_pdev_lro_cfg() 3394 get_random_bytes(cmd->th_6, sizeof(cmd->th_6)); in ath12k_wmi_pdev_lro_cfg() [all …]
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-sx8.c | 63 struct mci_command cmd; in get_info() local 65 memset(&cmd, 0, sizeof(cmd)); in get_info() 104 struct mci_command cmd; in read_status() local 129 struct mci_command cmd; in mci_set_tuner() local 131 memset(&cmd, 0, sizeof(cmd)); in mci_set_tuner() 146 memset(&cmd, 0, sizeof(cmd)); in stop() 154 cmd.output = 0; in stop() 266 memset(&cmd, 0, sizeof(cmd)); in start() 271 cmd.output = 0; in start() 293 cmd.output |= 0x80; in start() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | wmi.c | 2062 cmd->peer_flags, cmd->peer_rate_caps, cmd->peer_caps, in ath11k_wmi_send_peer_assoc_cmd() 2064 cmd->peer_max_mpdu, cmd->peer_nss, cmd->peer_phymode, in ath11k_wmi_send_peer_assoc_cmd() 3299 cmd->vdev_id, cmd->dialog_id, cmd->wake_intvl_us, in ath11k_wmi_send_twt_add_dialog_cmd() 3422 cmd->vdev_id, cmd->dialog_id, cmd->sp_offset_us, in ath11k_wmi_send_twt_resume_dialog_cmd() 3500 cmd->pdev_id, cmd->bitmap[0], cmd->bitmap[1]); in ath11k_wmi_pdev_set_srg_bss_color_bitmap() 3539 cmd->pdev_id, cmd->bitmap[0], cmd->bitmap[1]); in ath11k_wmi_pdev_set_srg_patial_bssid_bitmap() 3578 cmd->pdev_id, cmd->bitmap[0], cmd->bitmap[1]); in ath11k_wmi_pdev_srg_obss_color_enable_bitmap() 3617 cmd->pdev_id, cmd->bitmap[0], cmd->bitmap[1]); in ath11k_wmi_pdev_srg_obss_bssid_enable_bitmap() 3656 cmd->pdev_id, cmd->bitmap[0], cmd->bitmap[1]); in ath11k_wmi_pdev_non_srg_obss_color_enable_bitmap() 3695 cmd->pdev_id, cmd->bitmap[0], cmd->bitmap[1]); in ath11k_wmi_pdev_non_srg_obss_bssid_enable_bitmap() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc_boot.c | 27 struct mmc_cmd cmd; in mmc_boot_partition_size_change() local 30 cmd.cmdidx = MMC_CMD_RES_MAN; in mmc_boot_partition_size_change() 31 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 32 cmd.cmdarg = MMC_CMD62_ARG1; in mmc_boot_partition_size_change() 41 cmd.cmdidx = MMC_CMD_RES_MAN; in mmc_boot_partition_size_change() 42 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 43 cmd.cmdarg = MMC_CMD62_ARG2; in mmc_boot_partition_size_change() 55 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 56 cmd.cmdarg = bootsize; in mmc_boot_partition_size_change() 67 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | mgmt_util.c | 226 return cmd; in mgmt_pending_find() 243 return cmd; in mgmt_pending_find_data() 259 cb(cmd, data); in mgmt_pending_foreach() 269 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mgmt_pending_new() 270 if (!cmd) in mgmt_pending_new() 278 kfree(cmd); in mgmt_pending_new() 284 cmd->sk = sk; in mgmt_pending_new() 287 return cmd; in mgmt_pending_new() 297 if (!cmd) in mgmt_pending_add() 302 return cmd; in mgmt_pending_add() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | runqueue.py | 56 cmd = ["bitbake", "a1"] 66 cmd = ["bitbake", "a1"] 78 cmd = ["bitbake", "a1"] 89 cmd = ["bitbake", "a1"] 100 cmd = ["bitbake", "a1"] 146 cmd = ["bitbake", "a1"] 159 cmd = ["bitbake", "a1"] 175 cmd = ["bitbake", "d1"] 189 cmd = ["bitbake", "b1"] 201 cmd = ["bitbake", "b1"] [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | ucma.c | 383 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_get_event() 452 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_create_id() 602 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_destroy_id() 632 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_bind_ip() 657 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_bind() 660 if (cmd.reserved || !cmd.addr_size || in ucma_bind() 683 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_resolve_ip() 710 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_resolve_addr() 714 (cmd.src_size && (cmd.src_size != rdma_addr_size_kss(&cmd.src_addr))) || in ucma_resolve_addr() 715 !cmd.dst_size || (cmd.dst_size != rdma_addr_size_kss(&cmd.dst_addr))) in ucma_resolve_addr() [all …]
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_srq.c | 72 memset(cmd, 0, sizeof(*cmd)); in pvrdma_query_srq() 73 cmd->hdr.cmd = PVRDMA_CMD_QUERY_SRQ; in pvrdma_query_srq() 74 cmd->srq_handle = srq->srq_handle; in pvrdma_query_srq() 173 memset(cmd, 0, sizeof(*cmd)); in pvrdma_create_srq() 174 cmd->hdr.cmd = PVRDMA_CMD_CREATE_SRQ; in pvrdma_create_srq() 176 cmd->nchunks = srq->npages; in pvrdma_create_srq() 251 memset(cmd, 0, sizeof(*cmd)); in pvrdma_destroy_srq() 252 cmd->hdr.cmd = PVRDMA_CMD_DESTROY_SRQ; in pvrdma_destroy_srq() 287 memset(cmd, 0, sizeof(*cmd)); in pvrdma_modify_srq() 288 cmd->hdr.cmd = PVRDMA_CMD_MODIFY_SRQ; in pvrdma_modify_srq() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-virgl.c | 219 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in virgl_cmd_submit_3d() 426 switch (cmd->cmd_hdr.type) { in virtio_gpu_virgl_process_cmd() 440 virgl_cmd_submit_3d(g, cmd); in virtio_gpu_virgl_process_cmd() 484 virtio_gpu_get_edid(g, cmd); in virtio_gpu_virgl_process_cmd() 491 if (cmd->finished) { in virtio_gpu_virgl_process_cmd() 494 if (cmd->error) { in virtio_gpu_virgl_process_cmd() 496 cmd->cmd_hdr.type, cmd->error); in virtio_gpu_virgl_process_cmd() 497 virtio_gpu_ctrl_response_nodata(g, cmd, cmd->error); in virtio_gpu_virgl_process_cmd() 505 trace_virtio_gpu_fence_ctrl(cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in virtio_gpu_virgl_process_cmd() 506 virgl_renderer_create_fence(cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in virtio_gpu_virgl_process_cmd() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | offloading.c | 40 } cmd = {}; in iwl_mvm_send_proto_offload() local 44 .data[0] = &cmd, in iwl_mvm_send_proto_offload() 72 nsc = cmd.v3s.ns_config; in iwl_mvm_send_proto_offload() 77 nsc = cmd.v4.ns_config; in iwl_mvm_send_proto_offload() 174 size = sizeof(cmd.v3s); in iwl_mvm_send_proto_offload() 176 common = &cmd.v4.common; in iwl_mvm_send_proto_offload() 177 size = sizeof(cmd.v4); in iwl_mvm_send_proto_offload() 188 common = &cmd.v2.common; in iwl_mvm_send_proto_offload() 189 size = sizeof(cmd.v2); in iwl_mvm_send_proto_offload() 191 common = &cmd.v1.common; in iwl_mvm_send_proto_offload() [all …]
|