Home
last modified time | relevance | path

Searched refs:cmd_code (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.1.9/drivers/s390/char/
Dtape.h303 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()
313 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_end() argument
315 ccw->cmd_code = cmd_code; in tape_ccw_end()
323 tape_ccw_cmd(struct ccw1 *ccw, __u8 cmd_code) in tape_ccw_cmd() argument
325 ccw->cmd_code = cmd_code; in tape_ccw_cmd()
328 ccw->cda = (__u32)(addr_t) &ccw->cmd_code; in tape_ccw_cmd()
333 tape_ccw_repeat(struct ccw1 *ccw, __u8 cmd_code, int count) in tape_ccw_repeat() argument
336 ccw->cmd_code = cmd_code; in tape_ccw_repeat()
339 ccw->cda = (__u32)(addr_t) &ccw->cmd_code; in tape_ccw_repeat()
[all …]
Draw3270.c182 rq->ccw.cmd_code = 0; in raw3270_request_reset()
196 rq->ccw.cmd_code = cmd; in raw3270_request_set_cmd()
540 rp->init_readmod.ccw.cmd_code = TC_READMOD; in raw3270_read_modified()
559 rp->init_readpart.ccw.cmd_code = TC_WRITESF; in raw3270_writesf_readpart()
598 rp->init_reset.ccw.cmd_code = TC_EWRITEA; in __raw3270_reset_device()
/linux-6.1.9/drivers/s390/cio/
Dvfio_ccw_cp.c217 if ((pccw1->cmd_code & 0x0f) == CCW_CMD_TIC) { in convert_ccw0_to_ccw1()
218 pccw1->cmd_code = CCW_CMD_TIC; in convert_ccw0_to_ccw1()
222 pccw1->cmd_code = ccw0.cmd_code; in convert_ccw0_to_ccw1()
279 #define ccw_is_read(_ccw) (((_ccw)->cmd_code & 0x03) == 0x02)
280 #define ccw_is_read_backward(_ccw) (((_ccw)->cmd_code & 0x0F) == 0x0C)
281 #define ccw_is_sense(_ccw) (((_ccw)->cmd_code & 0x0F) == CCW_CMD_BASIC_SENSE)
283 #define ccw_is_noop(_ccw) ((_ccw)->cmd_code == CCW_CMD_NOOP)
285 #define ccw_is_tic(_ccw) ((_ccw)->cmd_code == CCW_CMD_TIC)
Ddevice_pgid.c62 cp->cmd_code = CCW_CMD_NOOP; in nop_build_cp()
142 cp->cmd_code = CCW_CMD_SET_PGID; in spid_build_cp()
443 cp->cmd_code = CCW_CMD_SENSE_PGID; in snid_build_cp()
633 cp[0].cmd_code = CCW_CMD_STLCK; in stlck_build_cp()
637 cp[1].cmd_code = CCW_CMD_RELEASE; in stlck_build_cp()
Ddevice_id.c212 cp->cmd_code = CCW_CMD_SENSE_ID; in ccw_device_sense_id_start()
/linux-6.1.9/drivers/s390/virtio/
Dvirtio_ccw.c364 ccw->cmd_code = CCW_CMD_SET_IND_ADAPTER; in virtio_ccw_drop_indicator()
374 ccw->cmd_code = CCW_CMD_SET_IND; in virtio_ccw_drop_indicator()
417 ccw->cmd_code = CCW_CMD_READ_VQ_CONF; in virtio_ccw_read_vq_conf()
455 ccw->cmd_code = CCW_CMD_SET_VQ; in virtio_ccw_del_vq()
557 ccw->cmd_code = CCW_CMD_SET_VQ; in virtio_ccw_setup_vq()
613 ccw->cmd_code = CCW_CMD_SET_IND_ADAPTER; in virtio_ccw_register_adapter_ind()
686 ccw->cmd_code = CCW_CMD_SET_IND; in virtio_ccw_find_vqs()
697 ccw->cmd_code = CCW_CMD_SET_CONF_IND; in virtio_ccw_find_vqs()
732 ccw->cmd_code = CCW_CMD_VDEV_RESET; in virtio_ccw_reset()
759 ccw->cmd_code = CCW_CMD_READ_FEAT; in virtio_ccw_get_features()
[all …]
/linux-6.1.9/drivers/input/mouse/
Dcyapa_gen6.c48 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()
Dcyapa_gen5.c258 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-6.1.9/include/linux/mtd/
Dpfow.h101 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-6.1.9/drivers/nfc/pn533/
Dpn533.c247 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 …]
Dpn533.h198 void (*tx_frame_init)(void *frame, u8 cmd_code);
/linux-6.1.9/drivers/s390/net/
Dctcm_mpc.c1705 ch->ccw[9].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid()
1712 ch->ccw[10].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid()
1717 ch->ccw[11].cmd_code = CCW_CMD_READ; in mpc_action_side_xid()
1722 ch->ccw[12].cmd_code = CCW_CMD_READ; in mpc_action_side_xid()
1727 ch->ccw[13].cmd_code = CCW_CMD_READ; in mpc_action_side_xid()
1731 ch->ccw[9].cmd_code = CCW_CMD_READ; in mpc_action_side_xid()
1736 ch->ccw[10].cmd_code = CCW_CMD_READ; in mpc_action_side_xid()
1743 ch->ccw[11].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid()
1750 ch->ccw[12].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid()
1757 ch->ccw[13].cmd_code = CCW_CMD_WRITE; in mpc_action_side_xid()
[all …]
Dqeth_core.h1012 u16 cmd_code, u32 *data,
1017 u16 cmd_code, u32 *data) in qeth_send_simple_setassparms() argument
1019 return qeth_send_simple_setassparms_prot(card, ipa_func, cmd_code, in qeth_send_simple_setassparms()
1025 u16 cmd_code, u32 *data) in qeth_send_simple_setassparms_v6() argument
1027 return qeth_send_simple_setassparms_prot(card, ipa_func, cmd_code, in qeth_send_simple_setassparms_v6()
1056 enum qeth_ipa_cmds cmd_code,
1061 u16 cmd_code,
Dlcs.c217 card->read.ccws[cnt].cmd_code = LCS_CCW_READ; in lcs_setup_read_ccws()
237 card->read.ccws[LCS_NUM_BUFFS].cmd_code = LCS_CCW_TRANSFER; in lcs_setup_read_ccws()
272 card->write.ccws[cnt].cmd_code = LCS_CCW_WRITE; in lcs_setup_write_ccws()
284 card->write.ccws[LCS_NUM_BUFFS].cmd_code = LCS_CCW_TRANSFER; in lcs_setup_write_ccws()
893 cmd->cmd_code = LCS_CMD_STARTUP; in lcs_send_startup()
911 cmd->cmd_code = LCS_CMD_SHUTDOWN; in lcs_send_shutdown()
936 cmd->cmd_code = LCS_CMD_LANSTAT; in lcs_send_lanstat()
955 cmd->cmd_code = LCS_CMD_STOPLAN; in lcs_send_stoplan()
982 cmd->cmd_code = LCS_CMD_STARTLAN; in lcs_send_startlan()
1002 cmd->cmd_code = LCS_CMD_SETIPM; in lcs_send_setipm()
[all …]
/linux-6.1.9/drivers/mtd/lpddr/
Dlpddr2_nvm.c163 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-6.1.9/drivers/nfc/
Dport100.c540 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-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c169 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-6.1.9/arch/s390/include/asm/
Dcio.h32 __u8 cmd_code; member
49 __u8 cmd_code; member
Deadm.h13 u16 cmd_code; member
/linux-6.1.9/drivers/s390/block/
Ddasd_eckd.c288 ccw->cmd_code = DASD_ECKD_CCW_DEFINE_EXTENT; in define_extent()
395 ccw->cmd_code = DASD_ECKD_CCW_LOCATE_RECORD_EXT; in locate_record_ext()
543 ccw->cmd_code = DASD_ECKD_CCW_PFX; in prefix_LRE()
615 ccw->cmd_code = DASD_ECKD_CCW_LOCATE_RECORD; in locate_record()
831 ccw->cmd_code = DASD_ECKD_CCW_RCD; in dasd_eckd_fill_rcd_cqr()
1547 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_features()
1557 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_eckd_read_features()
1616 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_vol_info()
1626 ccw->cmd_code = DASD_ECKD_CCW_RSSD; in dasd_eckd_read_vol_info()
1801 ccw->cmd_code = DASD_ECKD_CCW_PSF; in dasd_eckd_read_ext_pool_info()
[all …]
Ddasd_fba.c83 ccw->cmd_code = DASD_FBA_CCW_DEFINE_EXTENT; in define_extent()
103 ccw->cmd_code = DASD_FBA_CCW_LOCATE; in locate_record()
252 ccw->cmd_code = DASD_FBA_CCW_WRITE; in ccw_write_no_data()
262 ccw->cmd_code = DASD_FBA_CCW_WRITE; in ccw_write_zero()
528 ccw->cmd_code = cmd; in dasd_fba_build_cp_regular()
Ddasd_3990_erp.c221 ccw->cmd_code = CCW_CMD_DCTL; in dasd_3990_erp_DCTL()
1675 if (oldccw->cmd_code == DASD_ECKD_CCW_PFX) { in dasd_3990_erp_action_1B_32()
1714 ccw->cmd_code = DASD_ECKD_CCW_DEFINE_EXTENT; in dasd_3990_erp_action_1B_32()
1722 ccw->cmd_code = DASD_ECKD_CCW_LOCATE_RECORD; in dasd_3990_erp_action_1B_32()
1729 ccw->cmd_code = CCW_CMD_TIC; in dasd_3990_erp_action_1B_32()
2423 } else if (ccw->cmd_code == DASD_ECKD_CCW_PSF) { in dasd_3990_erp_add_erp()
2429 ccw->cmd_code = CCW_CMD_NOOP; in dasd_3990_erp_add_erp()
2432 ccw->cmd_code = CCW_CMD_TIC; in dasd_3990_erp_add_erp()
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fcbuild.c914 fc_gs_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_cthdr_build() argument
920 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_cthdr_build()
924 fc_gs_fdmi_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code) in fc_gs_fdmi_cthdr_build() argument
930 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_fdmi_cthdr_build()
934 fc_gs_ms_cthdr_build(struct ct_hdr_s *cthdr, u32 s_id, u16 cmd_code, in fc_gs_ms_cthdr_build() argument
941 cthdr->cmd_rsp_code = cpu_to_be16(cmd_code); in fc_gs_ms_cthdr_build()
1278 u16 cmd_code) in fc_fdmi_reqhdr_build() argument
1285 fc_gs_fdmi_cthdr_build(cthdr, s_id, cmd_code); in fc_fdmi_reqhdr_build()
/linux-6.1.9/arch/s390/boot/
Dipl_data.c10 { .cmd_code = cmd, .cda = addr, .count = cnt, .flags = flg, }
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.h299 unsigned char cmd_code; member

12