Home
last modified time | relevance | path

Searched refs:ccw (Results 1 – 25 of 29) sorted by relevance

12

/drivers/s390/char/
A Dtape.h308 ccw->cda = 0; in tape_ccw_cc()
311 return ccw + 1; in tape_ccw_cc()
318 ccw->flags = 0; in tape_ccw_end()
320 ccw->cda = 0; in tape_ccw_end()
323 return ccw + 1; in tape_ccw_end()
332 ccw->cda = virt_to_dma32(&ccw->cmd_code); in tape_ccw_cmd()
343 ccw->cda = virt_to_dma32(&ccw->cmd_code); in tape_ccw_repeat()
344 ccw++; in tape_ccw_repeat()
346 return ccw; in tape_ccw_repeat()
355 return ccw++; in tape_ccw_cc_idal()
[all …]
A Dtape_std.c280 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsf()
281 ccw = tape_ccw_end(ccw, NOP, 0, NULL); in tape_std_mtfsf()
305 ccw = tape_ccw_repeat(ccw, FORSPACEBLOCK, mt_count); in tape_std_mtfsr()
306 ccw = tape_ccw_end(ccw, NOP, 0, NULL); in tape_std_mtfsr()
338 ccw = tape_ccw_end(ccw, NOP, 0, NULL); in tape_std_mtbsr()
367 ccw = tape_ccw_repeat(ccw, WRITETAPEMARK, mt_count); in tape_std_mtweof()
368 ccw = tape_ccw_end(ccw, NOP, 0, NULL); in tape_std_mtweof()
393 ccw = tape_ccw_end(ccw, NOP, 0, NULL); in tape_std_mtbsfm()
418 ccw = tape_ccw_end(ccw, NOP, 0, NULL); in tape_std_mtbsf()
448 ccw = tape_ccw_repeat(ccw, FORSPACEFILE, mt_count); in tape_std_mtfsfm()
[all …]
A Draw3270.c169 rq->ccw.flags = CCW_FLAG_SLI; in raw3270_request_alloc()
192 rq->ccw.cmd_code = 0; in raw3270_request_reset()
193 rq->ccw.count = 0; in raw3270_request_reset()
196 rq->ccw.flags = CCW_FLAG_SLI; in raw3270_request_reset()
208 rq->ccw.cmd_code = cmd; in raw3270_request_set_cmd()
220 rq->ccw.count += size; in raw3270_request_add_data()
230 rq->ccw.cda = virt_to_dma32(data); in raw3270_request_set_data()
231 rq->ccw.count = size; in raw3270_request_set_data()
241 rq->ccw.count = ib->size; in raw3270_request_set_idal()
242 rq->ccw.flags |= CCW_FLAG_IDA; in raw3270_request_set_idal()
[all …]
A Dcon3215.c147 struct ccw1 *ccw; in raw3215_mk_read_req() local
159 ccw = req->ccws; in raw3215_mk_read_req()
162 ccw->count = 160; in raw3215_mk_read_req()
175 struct ccw1 *ccw; in raw3215_mk_write_req() local
192 ccw = req->ccws; in raw3215_mk_write_req()
226 ccw->count = count; in raw3215_mk_write_req()
229 ccw++; in raw3215_mk_write_req()
236 if (ccw > req->ccws) in raw3215_mk_write_req()
239 ccw->flags = 0; in raw3215_mk_write_req()
240 ccw->cda = 0; in raw3215_mk_write_req()
[all …]
A Draw3270.h23 struct ccw1 ccw; /* single ccw. */ member
A Dfs3270.c132 fp->init->ccw.count = 1; in fs3270_activate()
137 fp->init->ccw.count = fp->rdbuf_size; in fs3270_activate()
/drivers/s390/virtio/
A Dvirtio_ccw.c537 if (!ccw) in virtio_ccw_del_vqs()
545 ccw_device_dma_free(vcdev->cdev, ccw, sizeof(*ccw)); in virtio_ccw_del_vqs()
712 if (!ccw) in virtio_ccw_find_vqs()
789 if (!ccw) in virtio_ccw_reset()
813 if (!ccw) in virtio_ccw_get_features()
875 if (!ccw) in virtio_ccw_finalize_features()
928 if (!ccw) in virtio_ccw_get_config()
968 if (!ccw) in virtio_ccw_set_config()
1005 if (!ccw) in virtio_ccw_get_status()
1032 if (!ccw) in virtio_ccw_set_status()
[all …]
/drivers/s390/block/
A Ddasd_fba.c80 ccw->flags = 0; in define_extent()
81 ccw->count = 16; in define_extent()
100 ccw->flags = 0; in locate_record()
101 ccw->count = 8; in locate_record()
250 ccw->count = 0; in ccw_write_no_data()
517 ccw++; in dasd_fba_build_cp_regular()
534 ccw++; in dasd_fba_build_cp_regular()
578 ccw++; in dasd_fba_free_cp()
580 ccw++; in dasd_fba_free_cp()
586 ccw++; in dasd_fba_free_cp()
[all …]
A Ddasd_eckd.c1545 ccw++; in dasd_eckd_read_features()
1614 ccw++; in dasd_eckd_read_vol_info()
1798 ccw++; in dasd_eckd_read_ext_pool_info()
2256 ccw++; in dasd_eckd_analysis_ccw()
2641 ccw++; in dasd_eckd_build_check()
4897 ccw++; in dasd_eckd_free_cp()
5303 ccw++; in dasd_eckd_performance()
5452 ccw++; in dasd_symm_io()
5908 ccw++; in dasd_eckd_read_message_buffer()
5996 ccw++; in dasd_eckd_query_host_access()
[all …]
A Ddasd_3990_erp.c197 struct ccw1 *ccw; in dasd_3990_erp_DCTL() local
218 ccw->count = 4; in dasd_3990_erp_DCTL()
1689 ccw->count = 16; in dasd_3990_erp_action_1B_32()
1693 ccw++; in dasd_3990_erp_action_1B_32()
1697 ccw->count = 16; in dasd_3990_erp_action_1B_32()
1701 ccw++; in dasd_3990_erp_action_1B_32()
1703 ccw->cda = cpa; in dasd_3990_erp_action_1B_32()
1748 struct ccw1 *ccw; in dasd_3990_update_1B() local
1828 ccw->cda = cpa; in dasd_3990_update_1B()
2341 struct ccw1 *ccw; in dasd_3990_erp_add_erp() local
[all …]
A Ddasd_alias.c412 struct ccw1 *ccw; in read_unit_address_configuration() local
434 ccw = cqr->cpaddr; in read_unit_address_configuration()
435 ccw->cmd_code = DASD_ECKD_CCW_PSF; in read_unit_address_configuration()
437 ccw->flags |= CCW_FLAG_CC; in read_unit_address_configuration()
438 ccw->cda = virt_to_dma32(prssdp); in read_unit_address_configuration()
443 ccw++; in read_unit_address_configuration()
445 ccw->count = sizeof(*(lcu->uac)); in read_unit_address_configuration()
733 struct ccw1 *ccw; in reset_summary_unit_check() local
738 ccw = cqr->cpaddr; in reset_summary_unit_check()
740 ccw->flags = CCW_FLAG_SLI; in reset_summary_unit_check()
[all …]
A Ddasd_eer.c456 struct ccw1 *ccw; in dasd_eer_enable() local
485 ccw = cqr->cpaddr; in dasd_eer_enable()
486 ccw->cmd_code = DASD_ECKD_CCW_SNSS; in dasd_eer_enable()
487 ccw->count = SNSS_DATA_SIZE; in dasd_eer_enable()
488 ccw->flags = 0; in dasd_eer_enable()
489 ccw->cda = virt_to_dma32(cqr->data); in dasd_eer_enable()
A Ddasd.c3978 struct ccw1 *ccw; in dasd_generic_build_rdc() local
3989 ccw = cqr->cpaddr; in dasd_generic_build_rdc()
3990 ccw->cmd_code = CCW_CMD_RDC; in dasd_generic_build_rdc()
3991 ccw->cda = virt_to_dma32(cqr->data); in dasd_generic_build_rdc()
3992 ccw->flags = 0; in dasd_generic_build_rdc()
3993 ccw->count = rdc_buffer_size; in dasd_generic_build_rdc()
/drivers/dma/
A Dmxs-dma.c404 if (!mxs_chan->ccw) { in mxs_dma_alloc_chan_resources()
506 ccw = &mxs_chan->ccw[idx - 1]; in mxs_dma_prep_slave_sg()
507 ccw->next = mxs_chan->ccw_phys + sizeof(*ccw) * idx; in mxs_dma_prep_slave_sg()
516 ccw = &mxs_chan->ccw[idx++]; in mxs_dma_prep_slave_sg()
522 ccw->bits = 0; in mxs_dma_prep_slave_sg()
541 ccw = &mxs_chan->ccw[idx++]; in mxs_dma_prep_slave_sg()
543 ccw->next = mxs_chan->ccw_phys + sizeof(*ccw) * idx; in mxs_dma_prep_slave_sg()
547 ccw->bits = 0; in mxs_dma_prep_slave_sg()
605 struct mxs_dma_ccw *ccw = &mxs_chan->ccw[i]; in mxs_dma_prep_dma_cyclic() local
610 ccw->next = mxs_chan->ccw_phys + sizeof(*ccw) * (i + 1); in mxs_dma_prep_dma_cyclic()
[all …]
/drivers/s390/cio/
A Dvfio_ccw_cp.c264 if (ccw->count == 0) in ccw_does_data_transfer()
268 if (ccw_is_noop(ccw)) in ccw_does_data_transfer()
280 if (ccw_is_read(ccw) || ccw_is_read_backward(ccw)) in ccw_does_data_transfer()
312 if (!ccw_is_tic(ccw)) in is_tic_within_range()
357 if (ccw_is_tic(ccw)) in ccwchain_cda_free()
392 if (!ccw_is_chain(ccw) && !is_tic_within_range(ccw, iova, cnt)) in ccwchain_calc_length()
395 ccw++; in ccwchain_calc_length()
575 if (ccw->count) in ccw_count_idaws()
576 bytes = ccw->count; in ccw_count_idaws()
674 ccw->cda = 0; in ccwchain_fetch_ccw()
[all …]
A Dqdio_main.c938 kfree(irq_ptr->ccw); in qdio_free()
968 irq_ptr->ccw = kmalloc(sizeof(*irq_ptr->ccw), GFP_KERNEL | GFP_DMA); in qdio_allocate()
969 if (!irq_ptr->ccw) in qdio_allocate()
973 kmemleak_not_leak(irq_ptr->ccw); in qdio_allocate()
1012 kfree(irq_ptr->ccw); in qdio_allocate()
1088 irq_ptr->ccw->cmd_code = ciw->cmd; in qdio_establish()
1089 irq_ptr->ccw->flags = CCW_FLAG_SLI; in qdio_establish()
1090 irq_ptr->ccw->count = ciw->count; in qdio_establish()
1169 irq_ptr->ccw->cmd_code = ciw->cmd; in qdio_activate()
1171 irq_ptr->ccw->count = ciw->count; in qdio_activate()
[all …]
A Dblacklist.c179 from_ssid = ipl_info.data.ccw.dev_id.ssid; in blacklist_parse_parameters()
180 from = ipl_info.data.ccw.dev_id.devno; in blacklist_parse_parameters()
A Dqdio.h238 struct ccw1 *ccw; member
/drivers/s390/net/
A Dctcm_mpc.c1697 ch->ccw[8].count = 0; in mpc_action_side_xid()
1698 ch->ccw[8].cda = 0x00; in mpc_action_side_xid()
1718 ch->ccw[10].count = XID2_LENGTH; in mpc_action_side_xid()
1728 ch->ccw[12].count = XID2_LENGTH; in mpc_action_side_xid()
1735 ch->ccw[9].cmd_code = CCW_CMD_READ; in mpc_action_side_xid()
1742 ch->ccw[10].count = XID2_LENGTH; in mpc_action_side_xid()
1756 ch->ccw[12].count = XID2_LENGTH; in mpc_action_side_xid()
1766 ch->ccw[13].count = 4; in mpc_action_side_xid()
1769 ch->ccw[14].flags = CCW_FLAG_SLI; in mpc_action_side_xid()
1770 ch->ccw[14].count = 0; in mpc_action_side_xid()
[all …]
A Dctcm_fsms.c606 ch->ccw[1].count = 0; in ctcm_chx_start()
610 ch->ccw[1].count = 0; in ctcm_chx_start()
622 ch->ccw[0].count = 0; in ctcm_chx_start()
623 ch->ccw[0].cda = 0; in ctcm_chx_start()
625 ch->ccw[2].flags = CCW_FLAG_SLI; in ctcm_chx_start()
626 ch->ccw[2].count = 0; in ctcm_chx_start()
627 ch->ccw[2].cda = 0; in ctcm_chx_start()
628 memcpy(&ch->ccw[3], &ch->ccw[0], sizeof(struct ccw1) * 3); in ctcm_chx_start()
629 ch->ccw[4].cda = 0; in ctcm_chx_start()
1020 ch->ccw[4].count = skb->len; in ctcm_chx_txretry()
[all …]
A Dctcm_main.c230 kfree(ch->ccw); in channel_remove()
384 clear_normalized_cda(&ch->ccw[1]); in ctcm_ch_alloc_buffer()
407 ch->ccw[1].count = 0; in ctcm_ch_alloc_buffer()
534 ch->ccw[4].count = block_len; in ctcm_transmit_skb()
554 ch->ccw[1].count = skb->len; in ctcm_transmit_skb()
755 ch->ccw[4].count = skb->len; in ctcmpc_transmit_skb()
771 ch->ccw[1].count = skb->len; in ctcmpc_transmit_skb()
1332 if (ch->ccw == NULL) in add_channel()
1383 ch->ccw[6].flags = CCW_FLAG_SLI; in add_channel()
1386 ch->ccw[7].flags = CCW_FLAG_SLI; in add_channel()
[all …]
A Dctcm_main.h149 struct ccw1 *ccw; member
A Dqeth_core_main.c430 ccw->cmd_code = cmd_code; in qeth_setup_ccw()
431 ccw->flags = flags | CCW_FLAG_SLI; in qeth_setup_ccw()
432 ccw->count = len; in qeth_setup_ccw()
433 ccw->cda = virt_to_dma32(data); in qeth_setup_ccw()
440 struct ccw1 *ccw = __ccw_from_cmd(iob); in __qeth_issue_next_read() local
448 qeth_setup_ccw(ccw, CCW_CMD_READ, 0, iob->length, iob->data); in __qeth_issue_next_read()
454 rc = ccw_device_start(channel->ccwdev, ccw, (addr_t) iob, 0, 0); in __qeth_issue_next_read()
2262 struct ccw1 *ccw = __ccw_from_cmd(iob); in qeth_idx_setup_activate_cmd() local
2264 qeth_setup_ccw(&ccw[0], CCW_CMD_WRITE, CCW_FLAG_CC, IDX_ACTIVATE_SIZE, in qeth_idx_setup_activate_cmd()
2266 qeth_setup_ccw(&ccw[1], CCW_CMD_READ, 0, iob->length, iob->data); in qeth_idx_setup_activate_cmd()
[all …]
/drivers/crypto/nx/
A Dnx-common-powernv.c462 u32 ccw; in nx842_exec_icswx() local
483 ccw = 0; in nx842_exec_icswx()
484 ccw = SET_FIELD(CCW_CT, ccw, nx842_ct); in nx842_exec_icswx()
485 ccw = SET_FIELD(CCW_CI_842, ccw, 0); /* use 0 for hw auto-selection */ in nx842_exec_icswx()
486 ccw = SET_FIELD(CCW_FC_842, ccw, fc); in nx842_exec_icswx()
491 ret = icswx(cpu_to_be32(ccw), crb); in nx842_exec_icswx()
494 (unsigned int)ccw, in nx842_exec_icswx()
566 u32 ccw; in nx842_exec_vas() local
580 ccw = 0; in nx842_exec_vas()
581 ccw = SET_FIELD(CCW_FC_842, ccw, fc); in nx842_exec_vas()
[all …]
/drivers/s390/scsi/
A Dzfcp_ccw.c87 MODULE_DEVICE_TABLE(ccw, zfcp_ccw_device_id);

Completed in 89 milliseconds

12