Home
last modified time | relevance | path

Searched refs:ccmd (Results 1 – 4 of 4) sorted by relevance

/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c235 struct cxgbit_cmd *ccmd = iscsit_priv_cmd(cmd); in cxgbit_get_r2t_ttt() local
236 struct cxgbi_task_tag_info *ttinfo = &ccmd->ttinfo; in cxgbit_get_r2t_ttt()
239 if ((!ccmd->setup_ddp) || in cxgbit_get_r2t_ttt()
243 ccmd->setup_ddp = false; in cxgbit_get_r2t_ttt()
256 ccmd->release = true; in cxgbit_get_r2t_ttt()
265 struct cxgbit_cmd *ccmd = iscsit_priv_cmd(cmd); in cxgbit_unmap_cmd() local
267 if (ccmd->release) { in cxgbit_unmap_cmd()
269 put_page(sg_page(&ccmd->sg)); in cxgbit_unmap_cmd()
274 struct cxgbi_task_tag_info *ttinfo = &ccmd->ttinfo; in cxgbit_unmap_cmd()
292 ccmd->release = false; in cxgbit_unmap_cmd()
Dcxgbit_target.c839 struct cxgbit_cmd *ccmd; in cxgbit_allocate_cmd() local
848 ccmd = iscsit_priv_cmd(cmd); in cxgbit_allocate_cmd()
849 ccmd->ttinfo.tag = ppm->tformat.no_ddp_mask; in cxgbit_allocate_cmd()
850 ccmd->setup_ddp = true; in cxgbit_allocate_cmd()
880 struct cxgbit_cmd *ccmd = iscsit_priv_cmd(cmd); in cxgbit_handle_immediate_data() local
884 sg_init_table(&ccmd->sg, 1); in cxgbit_handle_immediate_data()
885 sg_set_page(&ccmd->sg, skb_frag_page(dfrag), in cxgbit_handle_immediate_data()
889 cmd->se_cmd.t_data_sg = &ccmd->sg; in cxgbit_handle_immediate_data()
892 ccmd->release = true; in cxgbit_handle_immediate_data()
1000 struct cxgbit_cmd *ccmd; in cxgbit_handle_iscsi_dataout() local
[all …]
/drivers/i3c/master/
Di3c-master-cdns.c700 struct cdns_i3c_cmd *ccmd; in cdns_i3c_master_send_ccc_cmd() local
707 ccmd = xfer->cmds; in cdns_i3c_master_send_ccc_cmd()
708 ccmd->cmd1 = CMD1_FIFO_CCC(cmd->id); in cdns_i3c_master_send_ccc_cmd()
709 ccmd->cmd0 = CMD0_FIFO_IS_CCC | in cdns_i3c_master_send_ccc_cmd()
713 ccmd->cmd0 |= CMD0_FIFO_DEV_ADDR(cmd->dests[0].addr); in cdns_i3c_master_send_ccc_cmd()
716 ccmd->cmd0 |= CMD0_FIFO_RNW; in cdns_i3c_master_send_ccc_cmd()
717 ccmd->rx_buf = cmd->dests[0].payload.data; in cdns_i3c_master_send_ccc_cmd()
718 ccmd->rx_len = cmd->dests[0].payload.len; in cdns_i3c_master_send_ccc_cmd()
720 ccmd->tx_buf = cmd->dests[0].payload.data; in cdns_i3c_master_send_ccc_cmd()
721 ccmd->tx_len = cmd->dests[0].payload.len; in cdns_i3c_master_send_ccc_cmd()
[all …]
/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c453 struct scatterlist *sgs[1], ccmd; in virtio_gpu_queue_cursor() local
462 sg_init_one(&ccmd, vbuf->buf, vbuf->size); in virtio_gpu_queue_cursor()
463 sgs[0] = &ccmd; in virtio_gpu_queue_cursor()