/linux/drivers/s390/char/ |
H A D | tape.h | 303 tape_ccw_cc(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_cc() argument 305 ccw->cmd_code = cmd_code; in tape_ccw_cc() 315 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_end() argument 317 ccw->cmd_code = cmd_code; in tape_ccw_end() 327 tape_ccw_cmd(struct ccw1 *ccw, __u8 cmd_code) in tape_ccw_cmd() argument 329 ccw->cmd_code = cmd_code; in tape_ccw_cmd() 332 ccw->cda = virt_to_dma32(&ccw->cmd_code); in tape_ccw_cmd() 337 tape_ccw_repeat(struct ccw1 *ccw, __u8 cmd_code, int count) in tape_ccw_repeat() argument 340 ccw->cmd_code = cmd_code; in tape_ccw_repeat() 343 ccw->cda = virt_to_dma32(&ccw->cmd_code); in tape_ccw_repeat() [all …]
|
H A D | raw3270.c | 190 rq->ccw.cmd_code = 0; in raw3270_request_reset() 206 rq->ccw.cmd_code = cmd; in raw3270_request_set_cmd() 581 rp->init_readmod.ccw.cmd_code = TC_READMOD; in raw3270_read_modified() 601 rp->init_readpart.ccw.cmd_code = TC_WRITESF; in raw3270_writesf_readpart() 639 rp->init_reset.ccw.cmd_code = TC_EWRITEA; in __raw3270_reset_device()
|
/linux/drivers/s390/cio/ |
H A D | vfio_ccw_cp.c | 221 if ((pccw1->cmd_code & 0x0f) == CCW_CMD_TIC) { in convert_ccw0_to_ccw1() 222 pccw1->cmd_code = CCW_CMD_TIC; in convert_ccw0_to_ccw1() 226 pccw1->cmd_code = ccw0.cmd_code; in convert_ccw0_to_ccw1() 240 #define ccw_is_read(_ccw) (((_ccw)->cmd_code & 0x03) == 0x02) 241 #define ccw_is_read_backward(_ccw) (((_ccw)->cmd_code & 0x0F) == 0x0C) 242 #define ccw_is_sense(_ccw) (((_ccw)->cmd_code & 0x0F) == CCW_CMD_BASIC_SENSE) 244 #define ccw_is_noop(_ccw) ((_ccw)->cmd_code == CCW_CMD_NOOP) 246 #define ccw_is_tic(_ccw) ((_ccw)->cmd_code == CCW_CMD_TIC)
|
H A D | device_pgid.c | 63 cp->cmd_code = CCW_CMD_NOOP; in nop_build_cp() 143 cp->cmd_code = CCW_CMD_SET_PGID; in spid_build_cp() 444 cp->cmd_code = CCW_CMD_SENSE_PGID; in snid_build_cp() 634 cp[0].cmd_code = CCW_CMD_STLCK; in stlck_build_cp() 638 cp[1].cmd_code = CCW_CMD_RELEASE; in stlck_build_cp()
|
H A D | device_id.c | 212 cp->cmd_code = CCW_CMD_SENSE_ID; in ccw_device_sense_id_start()
|
/linux/drivers/input/mouse/ |
H A D | cyapa_gen6.c | 48 u8 cmd_code; /* bit7: resv, set to 0; bit6~0: command code.*/ member 55 u8 cmd_code; /* bit7: TGL; bit6~0: command code.*/ member 290 static int cyapa_gen6_config_dev_irq(struct cyapa *cyapa, u8 cmd_code) in cyapa_gen6_config_dev_irq() argument 292 u8 cmd[] = { 0x04, 0x00, 0x05, 0x00, 0x2f, 0x00, cmd_code }; in cyapa_gen6_config_dev_irq() 301 if (error || !VALID_CMD_RESP_HEADER(resp_data, cmd_code) || in cyapa_gen6_config_dev_irq() 349 u8 cmd_code; in cyapa_gen6_set_interval_setting() member 363 set_interval_cmd.cmd_code = GEN6_SET_POWER_MODE_INTERVAL; in cyapa_gen6_set_interval_setting() 578 cmd.head.cmd_code = PIP_RETRIEVE_DATA_STRUCTURE; in cyapa_pip_retrieve_data_structure()
|
H A D | cyapa_gen5.c | 258 u8 cmd_code; member 316 u8 cmd_code; member 1078 bl_packet_start->cmd_code = PIP_BL_CMD_INITIATE_BL; in cyapa_pip_bl_initiate() 1351 bl_packet_start->cmd_code = PIP_BL_CMD_PROGRAM_VERIFY_ROW; in cyapa_pip_write_fw_block() 1471 app_cmd_head->cmd_code = GEN5_CMD_SET_PARAMETER; in cyapa_gen5_set_interval_time() 1526 app_cmd_head->cmd_code = GEN5_CMD_GET_PARAMETER; in cyapa_gen5_get_interval_time() 1559 app_cmd_head->cmd_code = GEN5_CMD_SET_PARAMETER; in cyapa_gen5_disable_pip_report() 1806 app_cmd_head->cmd_code = PIP_CMD_CALIBRATE; in cyapa_pip_calibrate_pwcs() 1934 u8 cmd_code, u8 idac_data_type, int *data_size, in cyapa_gen5_read_idac_data() argument 1952 if (cmd_code != PIP_RETRIEVE_DATA_STRUCTURE || in cyapa_gen5_read_idac_data() [all …]
|
/linux/include/linux/mtd/ |
H A D | pfow.h | 101 unsigned long cmd_code, unsigned long adr, in send_pfow_command() argument 106 map_write(map, CMD(cmd_code), map->pfow_base + PFOW_COMMAND_CODE); in send_pfow_command()
|
/linux/drivers/nfc/pn533/ |
H A D | pn533.c | 247 static void pn533_std_tx_frame_init(void *_frame, u8 cmd_code) in pn533_std_tx_frame_init() argument 254 PN533_FRAME_CMD(frame) = cmd_code; in pn533_std_tx_frame_init() 381 static void pn533_build_cmd_frame(struct pn533 *dev, u8 cmd_code, in pn533_build_cmd_frame() argument 392 ops->tx_frame_init(skb->data, cmd_code); in pn533_build_cmd_frame() 437 static int __pn533_send_async(struct pn533 *dev, u8 cmd_code, in __pn533_send_async() argument 445 dev_dbg(dev->dev, "Sending command 0x%x\n", cmd_code); in __pn533_send_async() 451 cmd->code = cmd_code; in __pn533_send_async() 456 pn533_build_cmd_frame(dev, cmd_code, req); in __pn533_send_async() 473 __func__, cmd_code); in __pn533_send_async() 487 static int pn533_send_data_async(struct pn533 *dev, u8 cmd_code, in pn533_send_data_async() argument [all …]
|
H A D | pn533.h | 198 void (*tx_frame_init)(void *frame, u8 cmd_code);
|
H A D | usb.c | 278 static void pn533_acr122_tx_frame_init(void *_frame, u8 cmd_code) in pn533_acr122_tx_frame_init() argument 292 frame->data[1] = cmd_code; in pn533_acr122_tx_frame_init()
|
/linux/drivers/s390/net/ |
H A D | ctcm_mpc.c | 1708 ch->ccw[9].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid() 1715 ch->ccw[10].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid() 1720 ch->ccw[11].cmd_code = CCW_CMD_READ; in mpc_action_side_xid() 1725 ch->ccw[12].cmd_code = CCW_CMD_READ; in mpc_action_side_xid() 1730 ch->ccw[13].cmd_code = CCW_CMD_READ; in mpc_action_side_xid() 1734 ch->ccw[9].cmd_code = CCW_CMD_READ; in mpc_action_side_xid() 1739 ch->ccw[10].cmd_code = CCW_CMD_READ; in mpc_action_side_xid() 1746 ch->ccw[11].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid() 1753 ch->ccw[12].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid() 1760 ch->ccw[13].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid() [all …]
|
H A D | qeth_core.h | 1010 u16 cmd_code, u32 *data, 1015 u16 cmd_code, u32 *data) in qeth_send_simple_setassparms() argument 1017 return qeth_send_simple_setassparms_prot(card, ipa_func, cmd_code, in qeth_send_simple_setassparms() 1023 u16 cmd_code, u32 *data) in qeth_send_simple_setassparms_v6() argument 1025 return qeth_send_simple_setassparms_prot(card, ipa_func, cmd_code, in qeth_send_simple_setassparms_v6() 1054 enum qeth_ipa_cmds cmd_code, 1059 u16 cmd_code,
|
H A D | lcs.c | 212 card->read.ccws[cnt].cmd_code = LCS_CCW_READ; in lcs_setup_read_ccws() 232 card->read.ccws[LCS_NUM_BUFFS].cmd_code = LCS_CCW_TRANSFER; in lcs_setup_read_ccws() 266 card->write.ccws[cnt].cmd_code = LCS_CCW_WRITE; in lcs_setup_write_ccws() 278 card->write.ccws[LCS_NUM_BUFFS].cmd_code = LCS_CCW_TRANSFER; in lcs_setup_write_ccws() 886 cmd->cmd_code = LCS_CMD_STARTUP; in lcs_send_startup() 904 cmd->cmd_code = LCS_CMD_SHUTDOWN; in lcs_send_shutdown() 929 cmd->cmd_code = LCS_CMD_LANSTAT; in lcs_send_lanstat() 948 cmd->cmd_code = LCS_CMD_STOPLAN; in lcs_send_stoplan() 975 cmd->cmd_code = LCS_CMD_STARTLAN; in lcs_send_startlan() 995 cmd->cmd_code = LCS_CMD_SETIPM; in lcs_send_setipm() [all …]
|
/linux/drivers/mtd/lpddr/ |
H A D | lpddr2_nvm.c | 163 static int lpddr2_nvm_do_op(struct map_info *map, u_long cmd_code, in lpddr2_nvm_do_op() argument 179 cmd.x[0] = cmd_code & 0x0000FFFF; in lpddr2_nvm_do_op() 201 if ((cmd_code == LPDDR2_NVM_BUF_PROGRAM) || in lpddr2_nvm_do_op() 202 (cmd_code == LPDDR2_NVM_BUF_OVERWRITE)) { in lpddr2_nvm_do_op()
|
/linux/drivers/nfc/ |
H A D | port100.c | 540 static void port100_tx_frame_init(void *_frame, u8 cmd_code) in port100_tx_frame_init() argument 548 PORT100_FRAME_CMD(frame) = cmd_code; in port100_tx_frame_init() 797 static void port100_build_cmd_frame(struct port100 *dev, u8 cmd_code, in port100_build_cmd_frame() argument 806 port100_tx_frame_init(skb->data, cmd_code); in port100_build_cmd_frame() 840 static int port100_send_cmd_async(struct port100 *dev, u8 cmd_code, in port100_send_cmd_async() argument 868 cmd->code = cmd_code; in port100_send_cmd_async() 875 port100_build_cmd_frame(dev, cmd_code, req); in port100_send_cmd_async() 911 static struct sk_buff *port100_send_cmd_sync(struct port100 *dev, u8 cmd_code, in port100_send_cmd_sync() argument 919 rc = port100_send_cmd_async(dev, cmd_code, req, in port100_send_cmd_sync()
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_fcbuild.c | 572 fc_gs_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_cthdr_build() argument 578 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build() 582 fc_gs_fdmi_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_fdmi_cthdr_build() argument 588 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_fdmi_cthdr_build() 592 fc_gs_ms_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code, in fc_gs_ms_cthdr_build() argument 599 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_ms_cthdr_build() 796 u16 cmd_code) in fc_fdmi_reqhdr_build() argument 803 fc_gs_fdmi_cthdr_build(cthdr, s_id, cmd_code); in fc_fdmi_reqhdr_build()
|
/linux/drivers/s390/block/ |
H A D | dasd_eckd.c | 284 ccw->cmd_code = DASD_ECKD_CCW_DEFINE_EXTENT; in define_extent() 391 ccw->cmd_code = DASD_ECKD_CCW_LOCATE_RECORD_EXT; in locate_record_ext() 539 ccw->cmd_code = DASD_ECKD_CCW_PFX; in prefix_LRE() 611 ccw->cmd_code = DASD_ECKD_CCW_LOCATE_RECORD; in locate_record() 827 ccw->cmd_code = DASD_ECKD_CCW_RCD; in dasd_eckd_fill_rcd_cqr() 1535 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_features() 1545 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_eckd_read_features() 1604 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_vol_info() 1614 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_eckd_read_vol_info() 1789 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_ext_pool_info() [all …]
|
H A D | dasd_fba.c | 79 ccw->cmd_code = DASD_FBA_CCW_DEFINE_EXTENT; in define_extent() 99 ccw->cmd_code = DASD_FBA_CCW_LOCATE; in locate_record() 248 ccw->cmd_code = DASD_FBA_CCW_WRITE; in ccw_write_no_data() 258 ccw->cmd_code = DASD_FBA_CCW_WRITE; in ccw_write_zero() 524 ccw->cmd_code = cmd; in dasd_fba_build_cp_regular()
|
H A D | dasd_3990_erp.c | 217 ccw->cmd_code = CCW_CMD_DCTL; in dasd_3990_erp_DCTL() 1648 if (oldccw->cmd_code == DASD_ECKD_CCW_PFX) { in dasd_3990_erp_action_1B_32() 1687 ccw->cmd_code = DASD_ECKD_CCW_DEFINE_EXTENT; in dasd_3990_erp_action_1B_32() 1695 ccw->cmd_code = DASD_ECKD_CCW_LOCATE_RECORD; in dasd_3990_erp_action_1B_32() 1702 ccw->cmd_code = CCW_CMD_TIC; in dasd_3990_erp_action_1B_32() 2384 } else if (ccw->cmd_code == DASD_ECKD_CCW_PSF) { in dasd_3990_erp_add_erp() 2390 ccw->cmd_code = CCW_CMD_NOOP; in dasd_3990_erp_add_erp() 2393 ccw->cmd_code = CCW_CMD_TIC; in dasd_3990_erp_add_erp()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | cmdevt.c | 169 uint16_t cmd_code; in mwifiex_dnld_cmd_to_fw() local 188 cmd_code = le16_to_cpu(host_cmd->command); in mwifiex_dnld_cmd_to_fw() 189 cmd_node->cmd_no = cmd_code; in mwifiex_dnld_cmd_to_fw() 193 cmd_code != HostCmd_CMD_FUNC_SHUTDOWN && in mwifiex_dnld_cmd_to_fw() 194 cmd_code != HostCmd_CMD_FUNC_INIT) { in mwifiex_dnld_cmd_to_fw() 197 cmd_code); in mwifiex_dnld_cmd_to_fw() 231 cmd_code, in mwifiex_dnld_cmd_to_fw() 274 adapter->dbg.last_cmd_id[adapter->dbg.last_cmd_index] = cmd_code; in mwifiex_dnld_cmd_to_fw() 281 if (cmd_code != HostCmd_CMD_FW_DUMP_EVENT) in mwifiex_dnld_cmd_to_fw() 286 cmd_code &= HostCmd_CMD_ID_MASK; in mwifiex_dnld_cmd_to_fw()
|
/linux/arch/s390/include/asm/ |
H A D | cio.h | 33 __u8 cmd_code; member 50 __u8 cmd_code; member
|
H A D | eadm.h | 14 u16 cmd_code; member
|
/linux/arch/s390/boot/ |
H A D | ipl_data.c | 10 { .cmd_code = cmd, .cda = addr, .count = cnt, .flags = flg, }
|
/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-hdw.h | 299 unsigned char cmd_code; member
|