Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 2787) sorted by relevance

12345678910>>...112

/drivers/md/
Ddm-cache-metadata.c237 static int superblock_read_lock(struct dm_cache_metadata *cmd, in superblock_read_lock() argument
240 return dm_bm_read_lock(cmd->bm, CACHE_SUPERBLOCK_LOCATION, in superblock_read_lock()
244 static int superblock_lock_zero(struct dm_cache_metadata *cmd, in superblock_lock_zero() argument
247 return dm_bm_write_lock_zero(cmd->bm, CACHE_SUPERBLOCK_LOCATION, in superblock_lock_zero()
251 static int superblock_lock(struct dm_cache_metadata *cmd, in superblock_lock() argument
254 return dm_bm_write_lock(cmd->bm, CACHE_SUPERBLOCK_LOCATION, in superblock_lock()
289 static void __setup_mapping_info(struct dm_cache_metadata *cmd) in __setup_mapping_info() argument
298 dm_array_info_init(&cmd->info, cmd->tm, &vt); in __setup_mapping_info()
300 if (cmd->policy_hint_size) { in __setup_mapping_info()
302 dm_array_info_init(&cmd->hint_info, cmd->tm, &vt); in __setup_mapping_info()
[all …]
Ddm-clone-metadata.c273 static inline int superblock_read_lock(struct dm_clone_metadata *cmd, in superblock_read_lock() argument
276 return dm_bm_read_lock(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_read_lock()
279 static inline int superblock_write_lock_zero(struct dm_clone_metadata *cmd, in superblock_write_lock_zero() argument
282 return dm_bm_write_lock_zero(cmd->bm, SUPERBLOCK_LOCATION, &sb_validator, sblock); in superblock_write_lock_zero()
285 static int __copy_sm_root(struct dm_clone_metadata *cmd) in __copy_sm_root() argument
290 r = dm_sm_root_size(cmd->sm, &root_size); in __copy_sm_root()
294 return dm_sm_copy_root(cmd->sm, &cmd->metadata_space_map_root, root_size); in __copy_sm_root()
298 static void __prepare_superblock(struct dm_clone_metadata *cmd, in __prepare_superblock() argument
310 memcpy(&sb->metadata_space_map_root, &cmd->metadata_space_map_root, in __prepare_superblock()
311 sizeof(cmd->metadata_space_map_root)); in __prepare_superblock()
[all …]
/drivers/target/
Dtarget_core_transport.c54 static void transport_complete_task_attr(struct se_cmd *cmd);
55 static void translate_sense_reason(struct se_cmd *cmd, sense_reason_t reason);
56 static void transport_handle_queue_full(struct se_cmd *cmd,
663 static void target_remove_from_state_list(struct se_cmd *cmd) in target_remove_from_state_list() argument
665 struct se_device *dev = cmd->se_dev; in target_remove_from_state_list()
671 spin_lock_irqsave(&dev->queues[cmd->cpuid].lock, flags); in target_remove_from_state_list()
672 if (cmd->state_active) { in target_remove_from_state_list()
673 list_del(&cmd->state_list); in target_remove_from_state_list()
674 cmd->state_active = false; in target_remove_from_state_list()
676 spin_unlock_irqrestore(&dev->queues[cmd->cpuid].lock, flags); in target_remove_from_state_list()
[all …]
Dtarget_core_sbc.c29 static sense_reason_t sbc_execute_unmap(struct se_cmd *cmd);
32 sbc_emulate_readcapacity(struct se_cmd *cmd) in sbc_emulate_readcapacity() argument
34 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity()
35 unsigned char *cdb = cmd->t_task_cdb; in sbc_emulate_readcapacity()
64 rbuf = transport_kmap_data_sg(cmd); in sbc_emulate_readcapacity()
66 memcpy(rbuf, buf, min_t(u32, sizeof(buf), cmd->data_length)); in sbc_emulate_readcapacity()
67 transport_kunmap_data_sg(cmd); in sbc_emulate_readcapacity()
70 target_complete_cmd_with_length(cmd, SAM_STAT_GOOD, 8); in sbc_emulate_readcapacity()
75 sbc_emulate_readcapacity_16(struct se_cmd *cmd) in sbc_emulate_readcapacity_16() argument
77 struct se_device *dev = cmd->se_dev; in sbc_emulate_readcapacity_16()
[all …]
/drivers/target/iscsi/
Discsi_target_erl1.c90 struct iscsi_cmd *cmd, in iscsit_send_recovery_r2t_for_snack() argument
98 spin_lock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack()
100 spin_unlock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack()
104 spin_unlock_bh(&cmd->r2t_lock); in iscsit_send_recovery_r2t_for_snack()
106 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_send_recovery_r2t_for_snack()
112 struct iscsi_cmd *cmd, in iscsit_handle_r2t_snack() argument
124 if ((cmd->cmd_flags & ICF_GOT_DATACK_SNACK) && in iscsit_handle_r2t_snack()
125 (begrun <= cmd->acked_data_sn)) { in iscsit_handle_r2t_snack()
129 " protocol error.\n", cmd->init_task_tag, begrun, in iscsit_handle_r2t_snack()
130 (begrun + runlength), cmd->acked_data_sn); in iscsit_handle_r2t_snack()
[all …]
Discsi_target_tmr.c31 struct iscsi_cmd *cmd, in iscsit_tmr_abort_task() argument
35 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_abort_task()
36 struct iscsi_tmr_req *tmr_req = cmd->tmr_req; in iscsit_tmr_abort_task()
37 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; in iscsit_tmr_abort_task()
106 struct iscsi_cmd *cmd, in iscsit_tmr_task_reassign() argument
110 struct iscsi_conn *conn = cmd->conn; in iscsit_tmr_task_reassign()
112 struct iscsi_tmr_req *tmr_req = cmd->tmr_req; in iscsit_tmr_task_reassign()
113 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; in iscsit_tmr_task_reassign()
178 struct iscsi_cmd *cmd, in iscsit_task_reassign_remove_cmd() argument
185 ret = iscsit_remove_cmd_from_connection_recovery(cmd, sess); in iscsit_task_reassign_remove_cmd()
[all …]
Discsi_target.c477 int iscsit_queue_rsp(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_queue_rsp() argument
479 return iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_queue_rsp()
483 void iscsit_aborted_task(struct iscsi_conn *conn, struct iscsi_cmd *cmd) in iscsit_aborted_task() argument
486 if (!list_empty(&cmd->i_conn_node)) in iscsit_aborted_task()
487 list_del_init(&cmd->i_conn_node); in iscsit_aborted_task()
490 __iscsit_free_cmd(cmd, true); in iscsit_aborted_task()
499 iscsit_xmit_nondatain_pdu(struct iscsi_conn *conn, struct iscsi_cmd *cmd, in iscsit_xmit_nondatain_pdu() argument
502 struct iscsi_hdr *hdr = (struct iscsi_hdr *)cmd->pdu; in iscsit_xmit_nondatain_pdu()
507 iov = &cmd->iov_misc[0]; in iscsit_xmit_nondatain_pdu()
508 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu()
[all …]
Discsi_target_erl0.c32 struct iscsi_cmd *cmd) in iscsit_set_dataout_sequence_values() argument
34 struct iscsi_conn *conn = cmd->conn; in iscsit_set_dataout_sequence_values()
39 if (cmd->unsolicited_data) { in iscsit_set_dataout_sequence_values()
40 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values()
41 cmd->seq_end_offset = min(cmd->se_cmd.data_length, in iscsit_set_dataout_sequence_values()
49 if (!cmd->seq_start_offset && !cmd->seq_end_offset) { in iscsit_set_dataout_sequence_values()
50 cmd->seq_start_offset = cmd->write_data_done; in iscsit_set_dataout_sequence_values()
51 cmd->seq_end_offset = (cmd->se_cmd.data_length > in iscsit_set_dataout_sequence_values()
53 (cmd->write_data_done + in iscsit_set_dataout_sequence_values()
54 conn->sess->sess_ops->MaxBurstLength) : cmd->se_cmd.data_length; in iscsit_set_dataout_sequence_values()
[all …]
Discsi_target_erl2.c29 struct iscsi_cmd *cmd, in iscsit_create_conn_recovery_datain_values() argument
33 struct iscsi_conn *conn = cmd->conn; in iscsit_create_conn_recovery_datain_values()
35 cmd->next_burst_len = 0; in iscsit_create_conn_recovery_datain_values()
36 cmd->read_data_done = 0; in iscsit_create_conn_recovery_datain_values()
39 if ((cmd->next_burst_len + in iscsit_create_conn_recovery_datain_values()
42 cmd->read_data_done += in iscsit_create_conn_recovery_datain_values()
44 cmd->next_burst_len += in iscsit_create_conn_recovery_datain_values()
47 cmd->read_data_done += in iscsit_create_conn_recovery_datain_values()
49 cmd->next_burst_len); in iscsit_create_conn_recovery_datain_values()
50 cmd->next_burst_len = 0; in iscsit_create_conn_recovery_datain_values()
[all …]
Discsi_target_seq_pdu_list.c21 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) in iscsit_dump_seq_list() argument
27 cmd->init_task_tag); in iscsit_dump_seq_list()
29 for (i = 0; i < cmd->seq_count; i++) { in iscsit_dump_seq_list()
30 seq = &cmd->seq_list[i]; in iscsit_dump_seq_list()
39 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) in iscsit_dump_pdu_list() argument
45 cmd->init_task_tag); in iscsit_dump_pdu_list()
47 for (i = 0; i < cmd->pdu_count; i++) { in iscsit_dump_pdu_list()
48 pdu = &cmd->pdu_list[i]; in iscsit_dump_pdu_list()
55 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) {} in iscsit_dump_seq_list() argument
56 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) {} in iscsit_dump_pdu_list() argument
[all …]
Discsi_target_util.c35 struct iscsi_cmd *cmd, in iscsit_add_r2t_to_list() argument
43 lockdep_assert_held(&cmd->r2t_lock); in iscsit_add_r2t_to_list()
55 r2t->r2t_sn = (!r2t_sn) ? cmd->r2t_sn++ : r2t_sn; in iscsit_add_r2t_to_list()
58 list_add_tail(&r2t->r2t_list, &cmd->cmd_r2t_list); in iscsit_add_r2t_to_list()
59 spin_unlock_bh(&cmd->r2t_lock); in iscsit_add_r2t_to_list()
61 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T); in iscsit_add_r2t_to_list()
63 spin_lock_bh(&cmd->r2t_lock); in iscsit_add_r2t_to_list()
68 struct iscsi_cmd *cmd, in iscsit_get_r2t_for_eos() argument
74 spin_lock_bh(&cmd->r2t_lock); in iscsit_get_r2t_for_eos()
75 list_for_each_entry(r2t, &cmd->cmd_r2t_list, r2t_list) { in iscsit_get_r2t_for_eos()
[all …]
/drivers/media/usb/cpia2/
Dcpia2_core.c132 struct cpia2_command cmd; in cpia2_do_command() local
135 cmd.command = command; in cpia2_do_command()
136 cmd.reg_count = 2; /* default */ in cpia2_do_command()
137 cmd.direction = direction; in cpia2_do_command()
144 cmd.req_mode = in cpia2_do_command()
146 cmd.start = CPIA2_SYSTEM_DEVICE_HI; in cpia2_do_command()
149 cmd.req_mode = in cpia2_do_command()
151 cmd.reg_count = 8; in cpia2_do_command()
152 cmd.start = CPIA2_SYSTEM_DESCRIP_VID_HI; in cpia2_do_command()
155 cmd.req_mode = CAMERAACCESS_TYPE_BLOCK | CAMERAACCESS_VC; in cpia2_do_command()
[all …]
/drivers/net/wireless/microchip/wilc1000/
Dsdio.c63 static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd) in wilc_sdio_cmd52() argument
71 func->num = cmd->function; in wilc_sdio_cmd52()
72 if (cmd->read_write) { /* write */ in wilc_sdio_cmd52()
73 if (cmd->raw) { in wilc_sdio_cmd52()
74 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52()
75 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52()
76 cmd->data = data; in wilc_sdio_cmd52()
78 sdio_writeb(func, cmd->data, cmd->address, &ret); in wilc_sdio_cmd52()
81 data = sdio_readb(func, cmd->address, &ret); in wilc_sdio_cmd52()
82 cmd->data = data; in wilc_sdio_cmd52()
[all …]
/drivers/net/wireless/ti/wl18xx/
Dcmd.c18 struct wl18xx_cmd_channel_switch *cmd; in wl18xx_cmd_channel_switch() local
25 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl18xx_cmd_channel_switch()
26 if (!cmd) { in wl18xx_cmd_channel_switch()
31 cmd->role_id = wlvif->role_id; in wl18xx_cmd_channel_switch()
32 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch()
33 cmd->switch_time = ch_switch->count; in wl18xx_cmd_channel_switch()
34 cmd->stop_tx = ch_switch->block_tx; in wl18xx_cmd_channel_switch()
38 cmd->band = WLCORE_BAND_2_4GHZ; in wl18xx_cmd_channel_switch()
41 cmd->band = WLCORE_BAND_5GHZ; in wl18xx_cmd_channel_switch()
58 cmd->local_supported_rates = cpu_to_le32(supported_rates); in wl18xx_cmd_channel_switch()
[all …]
Dscan.c12 static void wl18xx_adjust_channels(struct wl18xx_cmd_scan_params *cmd, in wl18xx_adjust_channels() argument
15 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive)); in wl18xx_adjust_channels()
16 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active)); in wl18xx_adjust_channels()
17 cmd->dfs = cmd_channels->dfs; in wl18xx_adjust_channels()
18 cmd->passive_active = cmd_channels->passive_active; in wl18xx_adjust_channels()
20 memcpy(cmd->channels_2, cmd_channels->channels_2, in wl18xx_adjust_channels()
21 sizeof(cmd->channels_2)); in wl18xx_adjust_channels()
22 memcpy(cmd->channels_5, cmd_channels->channels_5, in wl18xx_adjust_channels()
23 sizeof(cmd->channels_5)); in wl18xx_adjust_channels()
30 struct wl18xx_cmd_scan_params *cmd; in wl18xx_scan_send() local
[all …]
/drivers/net/wireless/marvell/libertas/
Dcmd.c68 static u8 is_command_allowed_in_ps(u16 cmd) in is_command_allowed_in_ps() argument
70 switch (cmd) { in is_command_allowed_in_ps()
91 struct cmd_ds_get_hw_spec cmd; in lbs_update_hw_spec() local
95 memset(&cmd, 0, sizeof(cmd)); in lbs_update_hw_spec()
96 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_update_hw_spec()
97 memcpy(cmd.permanentaddr, priv->current_addr, ETH_ALEN); in lbs_update_hw_spec()
98 ret = lbs_cmd_with_response(priv, CMD_GET_HW_SPEC, &cmd); in lbs_update_hw_spec()
102 priv->fwcapinfo = le32_to_cpu(cmd.fwcapinfo); in lbs_update_hw_spec()
106 priv->fwrelease = le32_to_cpu(cmd.fwrelease); in lbs_update_hw_spec()
115 cmd.permanentaddr, in lbs_update_hw_spec()
[all …]
/drivers/net/wireless/ti/wlcore/
Dcmd.c43 struct wl1271_cmd_header *cmd; in __wlcore_cmd_send() local
54 if (WARN_ON_ONCE(len < sizeof(*cmd))) in __wlcore_cmd_send()
57 cmd = buf; in __wlcore_cmd_send()
58 cmd->id = cpu_to_le16(id); in __wlcore_cmd_send()
59 cmd->status = 0; in __wlcore_cmd_send()
103 ret = wlcore_read(wl, wl->cmd_box_addr, cmd, res_len, false); in __wlcore_cmd_send()
107 status = le16_to_cpu(cmd->status); in __wlcore_cmd_send()
229 struct wl12xx_cmd_role_enable *cmd; in wl12xx_cmd_role_enable() local
237 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); in wl12xx_cmd_role_enable()
238 if (!cmd) { in wl12xx_cmd_role_enable()
[all …]
/drivers/macintosh/
Dsmu.c68 u8 cmd; member
113 struct smu_cmd *cmd; in smu_start_cmd() local
119 cmd = list_entry(smu->cmd_list.next, struct smu_cmd, link); in smu_start_cmd()
120 smu->cmd_cur = cmd; in smu_start_cmd()
121 list_del(&cmd->link); in smu_start_cmd()
123 DPRINTK("SMU: starting cmd %x, %d bytes data\n", cmd->cmd, in smu_start_cmd()
124 cmd->data_len); in smu_start_cmd()
125 DPRINTK("SMU: data buffer: %8ph\n", cmd->data_buf); in smu_start_cmd()
128 smu->cmd_buf->cmd = cmd->cmd; in smu_start_cmd()
129 smu->cmd_buf->length = cmd->data_len; in smu_start_cmd()
[all …]
/drivers/media/dvb-frontends/
Dsi2168.c14 static void cmd_init(struct si2168_cmd *cmd, const u8 *buf, int wlen, int rlen) in cmd_init() argument
16 memcpy(cmd->args, buf, wlen); in cmd_init()
17 cmd->wlen = wlen; in cmd_init()
18 cmd->rlen = rlen; in cmd_init()
22 static int si2168_cmd_execute(struct i2c_client *client, struct si2168_cmd *cmd) in si2168_cmd_execute() argument
30 if (cmd->wlen) { in si2168_cmd_execute()
32 ret = i2c_master_send(client, cmd->args, cmd->wlen); in si2168_cmd_execute()
35 } else if (ret != cmd->wlen) { in si2168_cmd_execute()
41 if (cmd->rlen) { in si2168_cmd_execute()
46 ret = i2c_master_recv(client, cmd->args, cmd->rlen); in si2168_cmd_execute()
[all …]
/drivers/media/tuners/
Dsi2157.c17 static int si2157_cmd_execute(struct i2c_client *client, struct si2157_cmd *cmd) in si2157_cmd_execute() argument
25 if (cmd->wlen) { in si2157_cmd_execute()
27 ret = i2c_master_send(client, cmd->args, cmd->wlen); in si2157_cmd_execute()
30 } else if (ret != cmd->wlen) { in si2157_cmd_execute()
36 if (cmd->rlen) { in si2157_cmd_execute()
41 ret = i2c_master_recv(client, cmd->args, cmd->rlen); in si2157_cmd_execute()
44 } else if (ret != cmd->rlen) { in si2157_cmd_execute()
50 if ((cmd->args[0] >> 7) & 0x01) in si2157_cmd_execute()
57 cmd->args[0]); in si2157_cmd_execute()
59 if (!((cmd->args[0] >> 7) & 0x01)) { in si2157_cmd_execute()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dpower.c23 struct iwl_beacon_filter_cmd *cmd, in iwl_mvm_beacon_filter_send_cmd() argument
29 le32_to_cpu(cmd->ba_enable_beacon_abort)); in iwl_mvm_beacon_filter_send_cmd()
31 le32_to_cpu(cmd->ba_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
33 le32_to_cpu(cmd->bf_debug_flag)); in iwl_mvm_beacon_filter_send_cmd()
35 le32_to_cpu(cmd->bf_enable_beacon_filter)); in iwl_mvm_beacon_filter_send_cmd()
37 le32_to_cpu(cmd->bf_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
39 le32_to_cpu(cmd->bf_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
41 le32_to_cpu(cmd->bf_roaming_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
43 le32_to_cpu(cmd->bf_roaming_state)); in iwl_mvm_beacon_filter_send_cmd()
45 le32_to_cpu(cmd->bf_temp_threshold)); in iwl_mvm_beacon_filter_send_cmd()
[all …]
/drivers/nvme/target/
Dtcp.c124 struct nvmet_tcp_cmd *cmd; member
169 static void nvmet_tcp_finish_cmd(struct nvmet_tcp_cmd *cmd);
172 struct nvmet_tcp_cmd *cmd) in nvmet_tcp_cmd_tag() argument
179 return cmd - queue->cmds; in nvmet_tcp_cmd_tag()
182 static inline bool nvmet_tcp_has_data_in(struct nvmet_tcp_cmd *cmd) in nvmet_tcp_has_data_in() argument
184 return nvme_is_write(cmd->req.cmd) && in nvmet_tcp_has_data_in()
185 cmd->rbytes_done < cmd->req.transfer_len; in nvmet_tcp_has_data_in()
188 static inline bool nvmet_tcp_need_data_in(struct nvmet_tcp_cmd *cmd) in nvmet_tcp_need_data_in() argument
190 return nvmet_tcp_has_data_in(cmd) && !cmd->req.cqe->status; in nvmet_tcp_need_data_in()
193 static inline bool nvmet_tcp_need_data_out(struct nvmet_tcp_cmd *cmd) in nvmet_tcp_need_data_out() argument
[all …]
/drivers/mmc/core/
Dsd_ops.c25 struct mmc_command cmd = {}; in mmc_app_cmd() local
30 cmd.opcode = MMC_APP_CMD; in mmc_app_cmd()
33 cmd.arg = card->rca << 16; in mmc_app_cmd()
34 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_AC; in mmc_app_cmd()
36 cmd.arg = 0; in mmc_app_cmd()
37 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_BCR; in mmc_app_cmd()
40 err = mmc_wait_for_cmd(host, &cmd, 0); in mmc_app_cmd()
45 if (!mmc_host_is_spi(host) && !(cmd.resp[0] & R1_APP_CMD)) in mmc_app_cmd()
53 struct mmc_command *cmd) in mmc_wait_for_app_cmd() argument
67 if (cmd->resp[0] & R1_SPI_ILLEGAL_COMMAND) in mmc_wait_for_app_cmd()
[all …]
/drivers/net/ethernet/freescale/dpaa2/
Ddpni.c100 struct fsl_mc_command cmd = { 0 }; in dpni_open() local
106 cmd.header = mc_encode_cmd_header(DPNI_CMDID_OPEN, in dpni_open()
109 cmd_params = (struct dpni_cmd_open *)cmd.params; in dpni_open()
113 err = mc_send_command(mc_io, &cmd); in dpni_open()
118 *token = mc_cmd_hdr_read_token(&cmd); in dpni_open()
138 struct fsl_mc_command cmd = { 0 }; in dpni_close() local
141 cmd.header = mc_encode_cmd_header(DPNI_CMDID_CLOSE, in dpni_close()
146 return mc_send_command(mc_io, &cmd); in dpni_close()
166 struct fsl_mc_command cmd = { 0 }; in dpni_set_pools() local
171 cmd.header = mc_encode_cmd_header(DPNI_CMDID_SET_POOLS, in dpni_set_pools()
[all …]
Ddpsw.c41 struct fsl_mc_command cmd = { 0 }; in dpsw_open() local
46 cmd.header = mc_encode_cmd_header(DPSW_CMDID_OPEN, in dpsw_open()
49 cmd_params = (struct dpsw_cmd_open *)cmd.params; in dpsw_open()
53 err = mc_send_command(mc_io, &cmd); in dpsw_open()
58 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open()
76 struct fsl_mc_command cmd = { 0 }; in dpsw_close() local
79 cmd.header = mc_encode_cmd_header(DPSW_CMDID_CLOSE, in dpsw_close()
84 return mc_send_command(mc_io, &cmd); in dpsw_close()
97 struct fsl_mc_command cmd = { 0 }; in dpsw_enable() local
100 cmd.header = mc_encode_cmd_header(DPSW_CMDID_ENABLE, in dpsw_enable()
[all …]

12345678910>>...112