/drivers/misc/sgi-gru/ |
H A D | gruhandles.c | 77 static int wait_instruction_complete(void *h, enum mcs_op opc) argument 93 update_mcs_stats(opc, get_cycles() - start_time); 101 cch->opc = CCHOP_ALLOCATE; 115 cch->opc = CCHOP_START; 122 cch->opc = CCHOP_INTERRUPT; 131 cch->opc = CCHOP_DEALLOCATE; 146 cch->opc = CCHOP_INTERRUPT_SYNC; 163 tgh->opc = TGHOP_TLBINV; 179 tfh->opc = TFHOP_WRITE_ONLY; 195 tfh->opc [all...] |
H A D | gruhandles.h | 199 unsigned int opc:1; member in struct:gru_tlb_global_handle 275 unsigned int opc:3; member in struct:gru_tlb_fault_handle 367 unsigned int opc:3; member in struct:gru_context_configuration_handle
|
H A D | gru_instructions.h | 80 int opc; member in struct:control_block_extended_exc_detail 106 unsigned char opc: 8; /* opcode */ member in struct:gru_instruction_bits 134 unsigned long op64; /* icmd,xtype,iaa0,ima,opc,tri0 */ 169 /* GRU instruction opcodes (opc field) */
|
/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 215 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) argument 223 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) 226 cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20); 236 static int pmic_arb_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, argument 253 if (opc >= 0x60 && opc <= 0x7F) 254 opc = PMIC_ARB_OP_READ; 255 else if (opc >= 0x20 && opc < 282 pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, u16 addr, const u8 *buf, size_t len) argument [all...] |
/drivers/staging/lustre/lustre/include/ |
H A D | lprocfs_status.h | 209 static inline int opcode_offset(__u32 opc) { argument 210 if (opc < OST_LAST_OPC) { 212 return (opc - OST_FIRST_OPC); 213 } else if (opc < MDS_LAST_OPC) { 215 return (opc - MDS_FIRST_OPC + 217 } else if (opc < LDLM_LAST_OPC) { 219 return (opc - LDLM_FIRST_OPC + 222 } else if (opc < MGS_LAST_OPC) { 224 return (opc - MGS_FIRST_OPC + 228 } else if (opc < OBD_LAST_OP 389 lprocfs_stats_lock(struct lprocfs_stats *stats, int opc, unsigned long *flags) argument 431 lprocfs_stats_unlock(struct lprocfs_stats *stats, int opc, unsigned long *flags) argument [all...] |
H A D | lustre_capa.h | 285 static inline int capa_opc_supported(struct lustre_capa *capa, __u64 opc) argument 287 return (capa_opc(capa) & opc) == opc;
|
/drivers/staging/lustre/lnet/selftest/ |
H A D | brw_test.c | 76 int opc; local 86 opc = breq->blk_opc; 100 opc = breq->blk_opc; 109 if (opc != LST_BRW_READ && opc != LST_BRW_WRITE) 118 npg, len, opc == LST_BRW_READ); 266 int opc; local 275 opc = breq->blk_opc; 287 opc = breq->blk_opc; 298 if (opc [all...] |
H A D | conctl.c | 819 int opc = data->ioc_u32[0]; local 850 if (opc != LSTIO_SESSION_NEW && 859 switch (opc) {
|
/drivers/staging/lustre/lustre/llite/ |
H A D | llite_capa.c | 318 struct obd_capa *ll_osscapa_get(struct inode *inode, __u64 opc) argument 327 LASSERT(opc == CAPA_OPC_OSS_WRITE || opc == CAPA_OPC_OSS_RW || 328 opc == CAPA_OPC_OSS_TRUNC); 334 if ((opc & CAPA_OPC_OSS_WRITE) && 338 } else if ((opc & CAPA_OPC_OSS_READ) && 343 } else if ((opc & CAPA_OPC_OSS_TRUNC) && 344 capa_opc_supported(&ocapa->c_capa, opc)) { 362 CERROR("no capability for "DFID" opc %#llx\n", 363 PFID(&lli->lli_fid), opc); 420 do_lookup_oss_capa(struct inode *inode, int opc) argument [all...] |
H A D | namei.c | 506 __u32 opc; local 534 opc = LUSTRE_OPC_CREATE; 536 opc = LUSTRE_OPC_ANY; 539 dentry->d_name.len, lookup_flags, opc, 780 struct dentry *dchild, __u32 opc) 793 name->len, 0, opc, NULL); 778 ll_new_node(struct inode *dir, struct qstr *name, const char *tgt, int mode, int rdev, struct dentry *dchild, __u32 opc) argument
|
H A D | llite_internal.h | 829 int mode, __u32 opc, void *data); 1099 struct obd_capa *ll_osscapa_get(struct inode *inode, __u64 opc); 1403 int opc = (crt == CRT_READ) ? LPROC_LL_OSC_READ : local 1406 ll_stats_ops_tally(ll_s2sbi(cl2ccc_dev(dev)->cdv_sb), opc, rc);
|
/drivers/mmc/host/ |
H A D | sh_mmcif.c | 764 u32 opc = cmd->opcode; local 784 switch (opc) { 826 if (opc == MMC_WRITE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) 829 if (opc == MMC_READ_MULTIPLE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) { 835 if (opc == MMC_SEND_OP_COND || opc == MMC_ALL_SEND_CID || 836 opc == MMC_SEND_CSD || opc 849 sh_mmcif_data_trans(struct sh_mmcif_host *host, struct mmc_request *mrq, u32 opc) argument 876 u32 opc = cmd->opcode; local [all...] |
H A D | usdhi6rol0.c | 277 int opc = host->mrq ? host->mrq->cmd->opcode : -1; local 284 err, rsp54, host->wait, opc); local 288 err, rsp54, host->wait, opc); local 928 u16 opc = cmd->opcode; local 932 opc |= USDHI6_SD_CMD_APP; 936 opc |= USDHI6_SD_CMD_DATA; 939 opc |= USDHI6_SD_CMD_READ; 945 opc |= USDHI6_SD_CMD_MULTI; 947 opc |= USDHI6_SD_CMD_CMD12_AUTO_OFF; 952 opc | 982 int opc = usdhi6_cmd_flags(host); local [all...] |
/drivers/staging/lustre/lustre/mdc/ |
H A D | mdc_internal.h | 57 int mdc_pack_req(struct ptlrpc_request *req, int version, int opc); 174 struct ptlrpc_request *req, int opc, 177 return ldlm_prep_elc_req(exp, req, LUSTRE_MDS_VERSION, opc, 0, cancels, 173 mdc_prep_elc_req(struct obd_export *exp, struct ptlrpc_request *req, int opc, struct list_head *cancels, int count) argument
|
H A D | mdc_locks.c | 350 lit->opc = (__u64)it->it_op; 391 lit->opc = IT_GETXATTR; 439 lit->opc = (__u64)it->it_op; 484 lit->opc = (__u64)it->it_op; 526 lit->opc = (__u64)it->it_op;
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | nrs.c | 75 enum ptlrpc_nrs_ctl opc, void *arg) 87 policy->pol_desc->pd_ops->op_policy_ctl(policy, opc, arg) : 620 * \param[in] opc the opcode of the operation being carried out. 630 enum ptlrpc_nrs_ctl opc, void *arg) 643 switch (opc) { 649 rc = nrs_policy_ctl_locked(policy, opc, arg); 832 int opc = lustre_msg_get_opc(req->rq_reqmsg); local 837 if (opc != OBD_PING) 1646 * Carries out a control operation \a opc on the policy identified by the 1655 * \param[in] opc th 74 nrs_policy_ctl_locked(struct ptlrpc_nrs_policy *policy, enum ptlrpc_nrs_ctl opc, void *arg) argument 629 nrs_policy_ctl(struct ptlrpc_nrs *nrs, char *name, enum ptlrpc_nrs_ctl opc, void *arg) argument 1671 ptlrpc_nrs_policy_control(const struct ptlrpc_service *svc, enum ptlrpc_nrs_queue_type queue, char *name, enum ptlrpc_nrs_ctl opc, bool single, void *arg) argument [all...] |
H A D | lproc_ptlrpc.c | 913 /* being handled, so basic msg swabbed, and opc is valid 918 seq_printf(sf, "opc %d\n", lustre_msg_get_opc(req->rq_reqmsg)); 1120 int opc = opcode_offset(op); local 1123 if (svc_stats == NULL || opc <= 0) 1125 LASSERT(opc < LUSTRE_MAX_OPCODES); 1127 lprocfs_counter_add(svc_stats, opc + EXTRA_MAX_OPCODES, amount);
|
H A D | ptlrpc_internal.h | 148 enum ptlrpc_nrs_ctl opc, bool single, void *arg);
|
H A D | pack_generic.c | 416 "(required %d, opc=%d)\n", m, n, buflen, min_size, 1390 void lustre_msg_set_opc(struct lustre_msg *msg, __u32 opc) argument 1396 pb->pb_opc = opc; 1538 __u32 opc = lustre_msg_get_opc(msg); local 1543 if (!opc || opc == LDLM_BL_CALLBACK || 1544 opc == LDLM_CP_CALLBACK || opc == LDLM_GL_CALLBACK) 2232 __swab64s(&i->opc);
|
H A D | service.c | 1563 int opc = lustre_msg_get_opc(req->rq_reqmsg); local 1568 (opc == OBD_PING || opc == MDS_CONNECT || opc == OST_CONNECT)) 1794 CERROR("drop incoming rpc opc %u, x%llu\n", 1955 CDEBUG(D_RPCTRACE, "Handling RPC pname:cluuid+ref:pid:xid:nid:opc " 1989 CDEBUG(D_RPCTRACE, "Handled RPC pname:cluuid+ref:pid:xid:nid:opc " 2011 int opc = opcode_offset(op); local 2012 if (opc > 0 && !(op == LDLM_ENQUEUE || op == MDS_REINT)) { 2013 LASSERT(opc < LUSTRE_MAX_OPCODE [all...] |
/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 1719 u32 opc = OPC_INB_SATA_ABORT; local 1753 ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, 0); 1770 u32 opc = OPC_INB_SATA_HOST_OPSTART; local 1826 res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, 0); 3329 u32 opc = OPC_INB_SAS_HW_EVENT_ACK; local 3340 pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); 3989 u8 opc = (u8)((le32_to_cpu(pHeader)) & 0xFFF); local 3993 switch (opc) { 4147 opc)); 4229 u32 opc; local 4299 u32 opc = OPC_INB_SSPINIIOSTART; local 4355 u32 opc = OPC_INB_SATA_HOST_OPSTART; local 4513 u32 opc; local 4572 u32 opc = OPC_INB_DEREG_DEV_HANDLE; local 4599 u32 opc = OPC_INB_LOCAL_PHY_CONTROL; local 4637 send_task_abort(struct pm8001_hba_info *pm8001_ha, u32 opc, u32 dev_id, u8 flag, u32 task_tag, u32 cmd_tag) argument 4667 u32 opc, device_id; local 4698 u32 opc = OPC_INB_SSPINITMSTART; local 4719 u32 opc = OPC_INB_GET_NVMD_DATA; local 4813 u32 opc = OPC_INB_SET_NVMD_DATA; local 4907 u32 opc = OPC_INB_FW_FLASH_UPDATE; local 5054 u32 opc = OPC_INB_SET_DEVICE_STATE; local 5079 u32 opc = OPC_INB_SAS_RE_INITIALIZE; local [all...] |
H A D | pm80xx_hwi.c | 845 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; local 858 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); 878 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; local 940 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); 1048 u32 opc = OPC_INB_KEK_MANAGEMENT; local 1063 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, 0); 1371 u32 opc = OPC_INB_SATA_ABORT; local 1407 ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, 0); 1425 u32 opc = OPC_INB_SATA_HOST_OPSTART; local 1482 res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, 2815 u32 opc = OPC_INB_SAS_HW_EVENT_ACK; local 3456 u32 opc = (u32)((le32_to_cpu(pHeader)) & 0xFFF); local 3733 u32 opc; local 3899 u32 opc = OPC_INB_SSPINIIOSTART; local 4063 u32 opc = OPC_INB_SATA_HOST_OPSTART; local 4371 u32 opc; local 4446 u32 opc = OPC_INB_LOCAL_PHY_CONTROL; local 4491 u32 opc = OPC_INB_SET_PHY_PROFILE; local [all...] |
/drivers/staging/lustre/lustre/fid/ |
H A D | fid_request.c | 57 struct lu_seq_range *output, __u32 opc, 74 *op = opc; 88 if (opc == SEQ_ALLOC_SUPER) { 56 seq_client_rpc(struct lu_client_seq *seq, struct lu_seq_range *output, __u32 opc, const char *opcname) argument
|
/drivers/dma/ppc4xx/ |
H A D | dma.h | 111 u8 opc; /* opcode */ member in struct:dma_cdb
|
H A D | adma.c | 157 "\t attr 0x%02x opc 0x%02x cnt 0x%08x\n" 162 cdb->attr, cdb->opc, le32_to_cpu(cdb->cnt), 389 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; 397 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; 405 hw_desc->opc = dopc; 418 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; 425 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; 436 hw_desc->opc = dopc; 486 hw_desc->opc = dopc; 489 hw_desc->opc [all...] |