Home
last modified time | relevance | path

Searched refs:cmd (Results 76 – 100 of 6312) sorted by relevance

12345678910>>...253

/openbmc/linux/drivers/media/dvb-frontends/
H A Dtda10071.c54 ret = regmap_bulk_write(dev->regmap, 0x00, cmd->args, cmd->len); in tda10071_cmd_execute()
118 cmd.args[1] = 0; in tda10071_set_tone()
122 cmd.len = 5; in tda10071_set_tone()
168 cmd.len = 3; in tda10071_set_voltage()
283 cmd.len = 2; in tda10071_diseqc_recv_slave_reply()
352 cmd.len = 3; in tda10071_diseqc_send_burst()
398 cmd.len = 2; in tda10071_read_status()
463 cmd.len = 3; in tda10071_read_status()
679 cmd.len = 15; in tda10071_set_frontend()
832 cmd.len = 3; in tda10071_init()
[all …]
H A Dcx24120.c422 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1)); in cx24120_message_sendrcv()
447 cmd.len = 4; in cx24120_msg_mpeg_output_global_config()
474 cmd.len = 7; in cx24120_msg_mpeg_output_config()
502 cmd.len = 0; in cx24120_diseqc_send_burst()
522 cmd.len = 4; in cx24120_set_tone()
540 cmd.len = 2; in cx24120_set_voltage()
557 cmd.len = 11; in cx24120_send_diseqc_msg()
619 cmd.len = 1; in cx24120_get_stats()
947 cmd.len = 1; in cx24120_set_clock_ratios()
955 cmd.arg[2] | (cmd.arg[1] << 8) | (cmd.arg[0] << 16), in cx24120_set_clock_ratios()
[all …]
/openbmc/linux/drivers/s390/net/
H A Dism_drv.c153 memset(&cmd, 0, sizeof(cmd)); in ism_cmd_simple()
154 cmd.request.hdr.cmd = cmd_code; in ism_cmd_simple()
164 memset(&cmd, 0, sizeof(cmd)); in query_info()
188 memset(&cmd, 0, sizeof(cmd)); in register_sba()
215 memset(&cmd, 0, sizeof(cmd)); in register_ieq()
278 memset(&cmd, 0, sizeof(cmd)); in ism_read_local_gid()
357 memset(&cmd, 0, sizeof(cmd)); in ism_register_dmb()
388 memset(&cmd, 0, sizeof(cmd)); in ism_unregister_dmb()
412 memset(&cmd, 0, sizeof(cmd)); in ism_add_vlan_id()
425 memset(&cmd, 0, sizeof(cmd)); in ism_del_vlan_id()
[all …]
/openbmc/linux/tools/testing/cxl/test/
H A Dmem.c237 memset(cmd->payload_out, 0, cmd->size_out); in mock_get_event()
243 pl = cmd->payload_out; in mock_get_event()
426 if (cmd->size_out != 0) in mock_set_timestamp()
574 if (cmd->size_in != 0) in mock_sanitize()
577 if (cmd->size_out != 0) in mock_sanitize()
595 if (cmd->size_in != 0) in mock_secure_erase()
617 if (cmd->size_in) in mock_get_security_state()
780 if (cmd->size_in != 0) in mock_freeze_security()
1278 rc = mock_gsl(cmd); in cxl_mock_mbox_send()
1287 rc = mock_id(cmd); in cxl_mock_mbox_send()
[all …]
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_dynamic_config.c295 if (cmd->search) in sja1105pqrs_common_l2_lookup_cmd_packing()
301 if (cmd->valident) in sja1105pqrs_common_l2_lookup_cmd_packing()
791 u8 *cmd = buf + size; in sja1105et_cbs_entry_packing() local
1198 if (cmd.valid) in sja1105_dynamic_config_poll_valid()
1287 cmd.index = 0; in sja1105_dynamic_config_read()
1288 cmd.search = true; in sja1105_dynamic_config_read()
1290 cmd.index = index; in sja1105_dynamic_config_read()
1291 cmd.search = false; in sja1105_dynamic_config_read()
1293 cmd.valident = true; in sja1105_dynamic_config_read()
1296 if (cmd.search) in sja1105_dynamic_config_read()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Dspi.c45 u8 *cmd; in wl1251_spi_reset() local
50 if (!cmd) { in wl1251_spi_reset()
68 kfree(cmd); in wl1251_spi_reset()
78 if (!cmd) { in wl1251_spi_wake()
92 cmd[3] = 0; in wl1251_spi_wake()
93 cmd[4] = 0; in wl1251_spi_wake()
121 kfree(cmd); in wl1251_spi_wake()
137 u32 *cmd; in wl1251_spi_read() local
142 *cmd = 0; in wl1251_spi_read()
177 u32 *cmd; in wl1251_spi_write() local
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c28 u32 cmd; member
36 struct qlcnic_cmd_args cmd; in qlcnic_sriov_pf_set_vport_info() local
63 qlcnic_free_mbx_args(&cmd); in qlcnic_sriov_pf_set_vport_info()
183 cmd.req.arg[1] = 0x2; in qlcnic_sriov_get_pf_info()
339 cmd.req.arg[1] = 0x4; in qlcnic_sriov_pf_cfg_vlan_filtering()
392 cmd.req.arg[1] |= BIT_0; in qlcnic_sriov_pf_cfg_eswitch()
802 cmd = kzalloc(sizeof(*cmd), GFP_ATOMIC); in qlcnic_sriov_cfg_vf_def_mac()
803 if (!cmd) in qlcnic_sriov_cfg_vf_def_mac()
832 buf = &cmd->req.arg[2]; in qlcnic_sriov_cfg_vf_def_mac()
843 kfree(cmd); in qlcnic_sriov_cfg_vf_def_mac()
[all …]
/openbmc/linux/drivers/s390/cio/
H A Ddevice_status.c236 cdev_irb->scsw.cmd.key = irb->scsw.cmd.key; in ccw_device_accumulate_irb()
238 cdev_irb->scsw.cmd.sctl = irb->scsw.cmd.sctl; in ccw_device_accumulate_irb()
240 cdev_irb->scsw.cmd.cc |= irb->scsw.cmd.cc; in ccw_device_accumulate_irb()
242 cdev_irb->scsw.cmd.fmt = irb->scsw.cmd.fmt; in ccw_device_accumulate_irb()
244 cdev_irb->scsw.cmd.pfch = irb->scsw.cmd.pfch; in ccw_device_accumulate_irb()
246 cdev_irb->scsw.cmd.isic = irb->scsw.cmd.isic; in ccw_device_accumulate_irb()
248 cdev_irb->scsw.cmd.alcc = irb->scsw.cmd.alcc; in ccw_device_accumulate_irb()
250 cdev_irb->scsw.cmd.ssi = irb->scsw.cmd.ssi; in ccw_device_accumulate_irb()
257 cdev_irb->scsw.cmd.fctl |= irb->scsw.cmd.fctl; in ccw_device_accumulate_irb()
259 cdev_irb->scsw.cmd.actl = irb->scsw.cmd.actl; in ccw_device_accumulate_irb()
[all …]
/openbmc/linux/drivers/bus/fsl-mc/
H A Ddpcon.c33 struct fsl_mc_command cmd = { 0 }; in dpcon_open() local
45 err = mc_send_command(mc_io, &cmd); in dpcon_open()
50 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open()
71 struct fsl_mc_command cmd = { 0 }; in dpcon_close() local
79 return mc_send_command(mc_io, &cmd); in dpcon_close()
95 struct fsl_mc_command cmd = { 0 }; in dpcon_enable() local
103 return mc_send_command(mc_io, &cmd); in dpcon_enable()
119 struct fsl_mc_command cmd = { 0 }; in dpcon_disable() local
143 struct fsl_mc_command cmd = { 0 }; in dpcon_reset() local
168 struct fsl_mc_command cmd = { 0 }; in dpcon_get_attributes() local
[all …]
H A Ddpbp.c33 struct fsl_mc_command cmd = { 0 }; in dpbp_open() local
44 err = mc_send_command(mc_io, &cmd); in dpbp_open()
49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open()
70 struct fsl_mc_command cmd = { 0 }; in dpbp_close() local
77 return mc_send_command(mc_io, &cmd); in dpbp_close()
93 struct fsl_mc_command cmd = { 0 }; in dpbp_enable() local
100 return mc_send_command(mc_io, &cmd); in dpbp_enable()
116 struct fsl_mc_command cmd = { 0 }; in dpbp_disable() local
139 struct fsl_mc_command cmd = { 0 }; in dpbp_reset() local
165 struct fsl_mc_command cmd = { 0 }; in dpbp_get_attributes() local
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpmac.c32 struct fsl_mc_command cmd = { 0 }; in dpmac_open() local
43 err = mc_send_command(mc_io, &cmd); in dpmac_open()
48 *token = mc_cmd_hdr_read_token(&cmd); in dpmac_open()
68 struct fsl_mc_command cmd = { 0 }; in dpmac_close() local
75 return mc_send_command(mc_io, &cmd); in dpmac_close()
94 struct fsl_mc_command cmd = { 0 }; in dpmac_get_attributes() local
103 err = mc_send_command(mc_io, &cmd); in dpmac_get_attributes()
132 struct fsl_mc_command cmd = { 0 }; in dpmac_set_link_state() local
166 struct fsl_mc_command cmd = { 0 }; in dpmac_get_counter() local
198 struct fsl_mc_command cmd = { 0 }; in dpmac_get_api_version() local
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Ddpseci.c30 struct fsl_mc_command cmd = { 0 }; in dpseci_open() local
39 err = mc_send_command(mc_io, &cmd); in dpseci_open()
43 *token = mc_cmd_hdr_read_token(&cmd); in dpseci_open()
61 struct fsl_mc_command cmd = { 0 }; in dpseci_close() local
66 return mc_send_command(mc_io, &cmd); in dpseci_close()
79 struct fsl_mc_command cmd = { 0 }; in dpseci_enable() local
97 struct fsl_mc_command cmd = { 0 }; in dpseci_disable() local
116 struct fsl_mc_command cmd = { 0 }; in dpseci_reset() local
136 struct fsl_mc_command cmd = { 0 }; in dpseci_is_enabled() local
165 struct fsl_mc_command cmd = { 0 }; in dpseci_get_attributes() local
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_tcm.c335 fu->cmd.req->buf = fu->cmd.buf; in bot_prepare_reqs()
778 fu->cmd.req->buf = fu->cmd.buf; in uasp_alloc_cmd()
1056 cmd->prio_attr, cmd->sense_iu.sense, in usbg_cmd_work()
1062 cmd->sense_iu.sense, cmd->unpacked_lun, 0, in usbg_cmd_work()
1084 memset(cmd, 0, sizeof(*cmd)); in usbg_get_cmd()
1087 cmd->se_cmd.tag = cmd->tag = scsi_tag; in usbg_get_cmd()
1134 cmd->stream = &fu->stream[cmd->tag - 1]; in usbg_submit_command()
1185 cmd->prio_attr, cmd->sense_iu.sense, in bot_cmd_work()
1191 cmd->cmd_buf, cmd->sense_iu.sense, cmd->unpacked_lun, in bot_cmd_work()
1192 cmd->data_len, cmd->prio_attr, dir, 0); in bot_cmd_work()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ctx.c68 cmd->rsp.cmd = NX_RCODE_SUCCESS; in netxen_issue_cmd()
87 memset(&cmd, 0, sizeof(cmd)); in netxen_get_minidump_template_size()
123 memset(&cmd, 0, sizeof(cmd)); in netxen_get_minidump_template()
135 cmd.rsp.cmd, size, cmd.rsp.arg2); in netxen_get_minidump_template()
223 memset(&cmd, 0, sizeof(cmd)); in nx_fw_cmd_set_mtu()
244 memset(&cmd, 0, sizeof(cmd)); in nx_fw_cmd_set_gbe_port()
347 memset(&cmd, 0, sizeof(cmd)); in nx_fw_cmd_create_rx_ctx()
404 memset(&cmd, 0, sizeof(cmd)); in nx_fw_cmd_destroy_rx_ctx()
473 memset(&cmd, 0, sizeof(cmd)); in nx_fw_cmd_create_tx_ctx()
510 memset(&cmd, 0, sizeof(cmd)); in nx_fw_cmd_destroy_tx_ctx()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-clone-metadata.h51 int dm_clone_cond_set_range(struct dm_clone_metadata *cmd, unsigned long start,
74 void dm_clone_metadata_close(struct dm_clone_metadata *cmd);
94 int dm_clone_metadata_pre_commit(struct dm_clone_metadata *cmd);
95 int dm_clone_metadata_commit(struct dm_clone_metadata *cmd);
114 int dm_clone_reload_in_core_bitset(struct dm_clone_metadata *cmd);
119 bool dm_clone_changed_this_transaction(struct dm_clone_metadata *cmd);
125 int dm_clone_metadata_abort(struct dm_clone_metadata *cmd);
137 void dm_clone_metadata_set_read_only(struct dm_clone_metadata *cmd);
138 void dm_clone_metadata_set_read_write(struct dm_clone_metadata *cmd);
143 bool dm_clone_is_hydration_done(struct dm_clone_metadata *cmd);
[all …]
/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_ftp.c102 return pdesc->cmd; in hmcdrv_ftp_cmd_getid()
120 while (*cmd != '\0') { in hmcdrv_ftp_parse()
122 while (isspace(*cmd)) in hmcdrv_ftp_parse()
123 ++cmd; in hmcdrv_ftp_parse()
125 if (*cmd == '\0') in hmcdrv_ftp_parse()
128 start = cmd; in hmcdrv_ftp_parse()
132 while ((*cmd != '\0') && !isspace(*cmd)) in hmcdrv_ftp_parse()
133 ++cmd; in hmcdrv_ftp_parse()
137 while ((*cmd != '\0') && !iscntrl(*cmd)) in hmcdrv_ftp_parse()
138 ++cmd; in hmcdrv_ftp_parse()
[all …]
/openbmc/linux/tools/testing/selftests/membarrier/
H A Dmembarrier_test_impl.h14 static int sys_membarrier(int cmd, int flags) in sys_membarrier() argument
16 return syscall(__NR_membarrier, cmd, flags); in sys_membarrier()
25 registrations |= cmd; in test_membarrier_get_registrations()
46 int cmd = -1, flags = 0; in test_membarrier_cmd_fail() local
49 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_cmd_fail()
52 test_name, cmd, flags); in test_membarrier_cmd_fail()
63 test_name, cmd, flags, errno); in test_membarrier_cmd_fail()
72 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_flags_fail()
95 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_global_success()
134 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_register_private_expedited_success()
[all …]
/openbmc/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c2466 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_get_hw_spec_sta()
2531 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_get_hw_spec_ap()
2633 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_set_hw_spec()
2747 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_get_stat()
2790 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_radio_control()
2848 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_rf_tx_power()
2889 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_tx_power()
2942 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_rf_antenna()
2999 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_set_pre_scan()
3032 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in mwl8k_cmd_bbp_reg_access()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dcam.c18 u8 *cmd; in rtw89_cam_get_sec_key_cmd() local
36 cmd = skb->data; in rtw89_cam_get_sec_key_cmd()
654 u8 *cmd) in rtw89_cam_fill_addr_cam_info() argument
691 FWCMD_SET_ADDR_SMA0(cmd, sma[0]); in rtw89_cam_fill_addr_cam_info()
692 FWCMD_SET_ADDR_SMA1(cmd, sma[1]); in rtw89_cam_fill_addr_cam_info()
693 FWCMD_SET_ADDR_SMA2(cmd, sma[2]); in rtw89_cam_fill_addr_cam_info()
694 FWCMD_SET_ADDR_SMA3(cmd, sma[3]); in rtw89_cam_fill_addr_cam_info()
695 FWCMD_SET_ADDR_SMA4(cmd, sma[4]); in rtw89_cam_fill_addr_cam_info()
696 FWCMD_SET_ADDR_SMA5(cmd, sma[5]); in rtw89_cam_fill_addr_cam_info()
742 u8 *cmd) in rtw89_cam_fill_dctl_sec_cam_info_v1() argument
[all …]
/openbmc/linux/include/trace/events/
H A Dscsi.h158 TP_PROTO(struct scsi_cmnd *cmd),
160 TP_ARGS(cmd),
180 __entry->id = cmd->device->id;
189 memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len);
206 TP_ARGS(cmd, rtn),
237 memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len);
256 TP_ARGS(cmd),
292 memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len);
293 if (cmd->sense_buffer && SCSI_SENSE_VALID(cmd) &&
324 TP_ARGS(cmd));
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_cmd.c284 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_get_context()
381 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_query_device()
405 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_query_port()
428 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_alloc_pd()
473 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_dealloc_pd()
578 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_open_xrcd()
726 mr = pd->device->ops.reg_user_mr(pd, cmd.start, cmd.length, cmd.hca_va, in ib_uverbs_reg_mr()
830 new_mr = ib_dev->ops.rereg_user_mr(mr, cmd.flags, cmd.start, cmd.length, in ib_uverbs_rereg_mr()
831 cmd.hca_va, cmd.access_flags, new_pd, in ib_uverbs_rereg_mr()
1332 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp()
[all …]
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_client.c135 cmd->hdr.payload_length = in ncsi_cmd_set_mac()
137 memcpy(cmd->mac_addr.octet, mac->octet, sizeof(cmd->mac_addr.octet)); in ncsi_cmd_set_mac()
138 cmd->mac_addr_num = 1; in ncsi_cmd_set_mac()
140 cmd->misc = 0x01; in ncsi_cmd_set_mac()
224 memset(cmd->oem_header.reserved, 0, sizeof(cmd->oem_header.reserved)); in ncsi_oem_cmd_get_host_mac()
236 memset(cmd->oem_header.reserved, 0, sizeof(cmd->oem_header.reserved)); in ncsi_oem_cmd_get_filter()
249 memset(cmd->oem_header.reserved, 0, sizeof(cmd->oem_header.reserved)); in ncsi_oem_cmd_set_filter()
253 memcpy(cmd->filter.mac, mac->octet, sizeof(cmd->filter.mac)); in ncsi_oem_cmd_set_filter()
258 memset(cmd->filter.regid, 0, sizeof(cmd->filter.regid)); // reserved for set in ncsi_oem_cmd_set_filter()
269 memset(cmd->oem_header.reserved, 0, sizeof(cmd->oem_header.reserved)); in ncsi_oem_cmd_echo()
[all …]
/openbmc/linux/drivers/media/cec/usb/pulse8/
H A Dpulse8-cec.c240 pulse8_msgname(cmd[0]), cmd_len, cmd); in pulse8_send_and_wait_once()
289 u8 cmd[2]; in pulse8_tx_work_handler() local
322 pulse8_msgname(cmd[0]), cmd[1], in pulse8_tx_work_handler()
485 u8 cmd[16]; in pulse8_cec_adap_enable() local
506 u8 cmd[16]; in pulse8_cec_adap_log_addr() local
667 u8 cmd[2]; in pulse8_setup() local
674 err = pulse8_send_and_wait(pulse8, cmd, 1, cmd[0], 2); in pulse8_setup()
685 err = pulse8_send_and_wait(pulse8, cmd, 1, cmd[0], 4); in pulse8_setup()
693 err = pulse8_send_and_wait(pulse8, cmd, 1, cmd[0], 1); in pulse8_setup()
709 err = pulse8_send_and_wait(pulse8, cmd, 1, cmd[0], 1); in pulse8_setup()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Damplc_pci230.c1021 cmd = &s->async->cmd; in pci230_ao_stop()
1064 struct comedi_cmd *cmd = &async->cmd; in pci230_handle_ao_nofifo() local
1095 struct comedi_cmd *cmd = &async->cmd; in pci230_handle_ao_fifo() local
1212 struct comedi_cmd *cmd = &async->cmd; in pci230_ao_start() local
1288 struct comedi_cmd *cmd = &s->async->cmd; in pci230_ao_inttrig_start() local
1306 struct comedi_cmd *cmd = &s->async->cmd; in pci230_ao_cmd() local
1714 struct comedi_cmd *cmd = &s->async->cmd; in pci230_ai_update_fifo_trigger_level() local
1823 cmd = &s->async->cmd; in pci230_ai_stop()
1864 struct comedi_cmd *cmd = &async->cmd; in pci230_ai_start() local
2015 struct comedi_cmd *cmd = &async->cmd; in pci230_handle_ai() local
[all …]
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_cmd.c57 mbox_msg->cmd, ret); in __hns_roce_cmd_mbox_poll()
69 down(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
71 up(&hr_dev->cmd.poll_sem); in hns_roce_cmd_mbox_poll()
80 &hr_dev->cmd.context[token % hr_dev->cmd.max_cmds]; in hns_roce_cmd_event()
97 struct hns_roce_cmdq *cmd = &hr_dev->cmd; in __hns_roce_cmd_mbox_wait() local
105 context = &cmd->context[cmd->free_head]; in __hns_roce_cmd_mbox_wait()
121 mbox_msg->cmd, ret); in __hns_roce_cmd_mbox_wait()
150 up(&hr_dev->cmd.event_sem); in hns_roce_cmd_mbox_wait()
167 mbox_msg.cmd = cmd; in hns_roce_cmd_mbox()
185 hr_dev->cmd.use_events = 0; in hns_roce_cmd_init()
[all …]

12345678910>>...253