Home
last modified time | relevance | path

Searched refs:opc (Results 1 – 16 of 16) sorted by relevance

/drivers/misc/sgi-gru/
Dgruhandles.c64 static int wait_instruction_complete(void *h, enum mcs_op opc) in wait_instruction_complete() argument
80 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
88 cch->opc = CCHOP_ALLOCATE; in cch_allocate()
102 cch->opc = CCHOP_START; in cch_start()
109 cch->opc = CCHOP_INTERRUPT; in cch_interrupt()
118 cch->opc = CCHOP_DEALLOCATE; in cch_deallocate()
133 cch->opc = CCHOP_INTERRUPT_SYNC; in cch_interrupt_sync()
150 tgh->opc = TGHOP_TLBINV; in tgh_invalidate()
166 tfh->opc = TFHOP_WRITE_ONLY; in tfh_write_only()
182 tfh->opc = TFHOP_WRITE_RESTART; in tfh_write_restart()
[all …]
Dgruhandles.h186 unsigned int opc:1; member
262 unsigned int opc:3; member
354 unsigned int opc:3; member
Dgru_instructions.h80 int opc; member
106 unsigned char opc: 8; /* opcode */ member
Dgrufault.c710 excdet.opc = cbe->opccpy; in gru_get_exception_detail()
727 excdet.cb, excdet.opc, excdet.exopc, excdet.cbrstate, excdet.cbrexecstatus, in gru_get_exception_detail()
Dgrukservices.c415 excdet->opc = cbe->opccpy; in gru_get_cb_exception_detail()
435 gen, excdet.opc, excdet.exopc, excdet.ecause, in gru_get_cb_exception_detail_str()
/drivers/spmi/
Dspmi-pmic-arb.c190 u32 (*fmt_cmd)(u8 opc, u8 sid, u16 addr, u8 bc);
191 int (*non_data_cmd)(struct spmi_controller *ctrl, u8 opc, u8 sid);
292 pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v1() argument
305 cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20); in pmic_arb_non_data_cmd_v1()
317 pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v2() argument
323 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_cmd() argument
327 dev_dbg(&ctrl->dev, "cmd op:0x%x sid:%d\n", opc, sid); in pmic_arb_cmd()
330 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmic_arb_cmd()
333 return pmic_arb->ver_ops->non_data_cmd(ctrl, opc, sid); in pmic_arb_cmd()
336 static int pmic_arb_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_read_cmd() argument
[all …]
/drivers/mmc/host/
Dsh_mmcif.c802 u32 opc = cmd->opcode; in sh_mmcif_set_cmd() local
856 if (opc == MMC_WRITE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) in sh_mmcif_set_cmd()
859 if (opc == MMC_READ_MULTIPLE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) { in sh_mmcif_set_cmd()
865 if (opc == MMC_SEND_OP_COND || opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
866 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
869 if (opc == MMC_SEND_OP_COND) in sh_mmcif_set_cmd()
872 if (opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
873 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
876 return (opc << 24) | tmp; in sh_mmcif_set_cmd()
880 struct mmc_request *mrq, u32 opc) in sh_mmcif_data_trans() argument
[all …]
Dusdhi6rol0.c280 int opc = host->mrq ? host->mrq->cmd->opcode : -1; in usdhi6_error_code() local
287 err, rsp54, host->wait, opc); in usdhi6_error_code()
291 err, rsp54, host->wait, opc); in usdhi6_error_code()
931 u16 opc = cmd->opcode; in usdhi6_cmd_flags() local
935 opc |= USDHI6_SD_CMD_APP; in usdhi6_cmd_flags()
939 opc |= USDHI6_SD_CMD_DATA; in usdhi6_cmd_flags()
942 opc |= USDHI6_SD_CMD_READ; in usdhi6_cmd_flags()
948 opc |= USDHI6_SD_CMD_MULTI; in usdhi6_cmd_flags()
950 opc |= USDHI6_SD_CMD_CMD12_AUTO_OFF; in usdhi6_cmd_flags()
955 opc |= USDHI6_SD_CMD_MODE_RSP_NONE; in usdhi6_cmd_flags()
[all …]
/drivers/scsi/pm8001/
Dpm80xx_hwi.c868 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; in pm80xx_set_thermal_config() local
888 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); in pm80xx_set_thermal_config()
908 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; in pm80xx_set_sas_protocol_timer_config() local
970 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); in pm80xx_set_sas_protocol_timer_config()
1078 u32 opc = OPC_INB_KEK_MANAGEMENT; in pm80xx_encrypt_update() local
1093 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); in pm80xx_encrypt_update()
1410 u32 opc = OPC_INB_SATA_ABORT; in pm80xx_send_abort_all() local
1446 ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, 0); in pm80xx_send_abort_all()
1464 u32 opc = OPC_INB_SATA_HOST_OPSTART; in pm80xx_send_read_log() local
1522 res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, 0); in pm80xx_send_read_log()
[all …]
Dpm8001_hwi.c1727 u32 opc = OPC_INB_SATA_ABORT; in pm8001_send_abort_all() local
1761 ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, 0); in pm8001_send_abort_all()
1778 u32 opc = OPC_INB_SATA_HOST_OPSTART; in pm8001_send_read_log() local
1834 res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, 0); in pm8001_send_read_log()
3347 u32 opc = OPC_INB_SAS_HW_EVENT_ACK; in pm8001_hw_event_ack_req() local
3358 pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); in pm8001_hw_event_ack_req()
4008 u8 opc = (u8)((le32_to_cpu(pHeader)) & 0xFFF); in process_one_iomb() local
4012 switch (opc) { in process_one_iomb()
4166 opc)); in process_one_iomb()
4248 u32 opc; in pm8001_chip_smp_req() local
[all …]
/drivers/net/ethernet/intel/ice/
Dice_switch.c66 enum ice_adminq_opc opc, struct ice_sq_cd *cd) in ice_aq_alloc_free_res() argument
79 ice_fill_dflt_direct_cmd_desc(&desc, opc); in ice_aq_alloc_free_res()
482 enum ice_adminq_opc opc) in ice_aq_alloc_free_vsi_list() argument
510 if (opc == ice_aqc_opc_free_res) in ice_aq_alloc_free_vsi_list()
513 status = ice_aq_alloc_free_res(hw, 1, sw_buf, buf_len, opc, NULL); in ice_aq_alloc_free_vsi_list()
517 if (opc == ice_aqc_opc_alloc_res) { in ice_aq_alloc_free_vsi_list()
540 u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd) in ice_aq_sw_rules() argument
544 if (opc != ice_aqc_opc_add_sw_rules && in ice_aq_sw_rules()
545 opc != ice_aqc_opc_update_sw_rules && in ice_aq_sw_rules()
546 opc != ice_aqc_opc_remove_sw_rules) in ice_aq_sw_rules()
[all …]
Dice_common.c1618 enum ice_adminq_opc opc) in ice_parse_caps() argument
1632 if (opc == ice_aqc_opc_list_dev_caps) { in ice_parse_caps()
1636 } else if (opc == ice_aqc_opc_list_func_caps) { in ice_parse_caps()
1779 enum ice_adminq_opc opc, struct ice_sq_cd *cd) in ice_aq_discover_caps() argument
1787 if (opc != ice_aqc_opc_list_func_caps && in ice_aq_discover_caps()
1788 opc != ice_aqc_opc_list_dev_caps) in ice_aq_discover_caps()
1791 ice_fill_dflt_direct_cmd_desc(&desc, opc); in ice_aq_discover_caps()
1795 ice_parse_caps(hw, buf, le32_to_cpu(cmd->count), opc); in ice_aq_discover_caps()
1807 ice_discover_caps(struct ice_hw *hw, enum ice_adminq_opc opc) in ice_discover_caps() argument
1837 opc, NULL); in ice_discover_caps()
/drivers/dma/ppc4xx/
Dadma.c146 cdb->attr, cdb->opc, le32_to_cpu(cdb->cnt), in print_cb()
373 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
381 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
389 hw_desc->opc = dopc; in ppc440spe_desc_init_dma01pq()
402 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
409 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
420 hw_desc->opc = dopc; in ppc440spe_desc_init_dma01pq()
470 hw_desc->opc = dopc; in ppc440spe_desc_init_dma01pqzero_sum()
473 hw_desc->opc = DMA_CDB_OPC_DCHECK128; in ppc440spe_desc_init_dma01pqzero_sum()
516 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_memcpy()
[all …]
Ddma.h111 u8 opc; /* opcode */ member
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c2188 unsigned int opc; in t4_uld_rx_handler() local
2212 opc = rpl->ot.opcode; in t4_uld_rx_handler()
2215 cdev, opc, rpl->ot.opcode_tid, ntohl(rpl->ot.opcode_tid), skb); in t4_uld_rx_handler()
2216 if (opc >= ARRAY_SIZE(cxgb4i_cplhandlers) || !cxgb4i_cplhandlers[opc]) { in t4_uld_rx_handler()
2217 pr_err("No handler for opcode 0x%x.\n", opc); in t4_uld_rx_handler()
2220 cxgb4i_cplhandlers[opc](cdev, skb); in t4_uld_rx_handler()
/drivers/atm/
Didt77252.c1594 int n, unsigned int opc) in __fill_tst() argument
1616 data = opc & TSTE_OPC_MASK; in __fill_tst()
1617 if (vc && (opc != TSTE_OPC_NULL)) in __fill_tst()
1618 data = opc | vc->index; in __fill_tst()
1653 fill_tst(struct idt77252_dev *card, struct vc_map *vc, int n, unsigned int opc) in fill_tst() argument
1660 res = __fill_tst(card, vc, n, opc); in fill_tst()
1715 int n, unsigned int opc) in change_tst() argument
1723 res = __fill_tst(card, vc, n, opc); in change_tst()