/drivers/scsi/aic94xx/ |
D | aic94xx_reg.c | 108 #define ASD_READ_SW(ww, type, ord) \ argument 109 static type asd_read_##ww##_##ord(struct asd_ha_struct *asd_ha, \ 114 return asd_read_##ord(asd_ha, (unsigned long)map_offs); \ 117 #define ASD_WRITE_SW(ww, type, ord) \ argument 118 static void asd_write_##ww##_##ord(struct asd_ha_struct *asd_ha, \ 123 asd_write_##ord(asd_ha, (unsigned long)map_offs, val); \ 197 #define ASD_WRITE_REG(type, ord) \ argument 198 void asd_write_reg_##ord (struct asd_ha_struct *asd_ha, u32 reg, type val)\ 206 asd_write_swa_##ord (asd_ha, reg,val); \ 209 asd_write_swb_##ord (asd_ha, reg, val); \ [all …]
|
D | aic94xx_reg.h | 59 #define ASD_READ_OCM(type, ord, S) \ argument 60 static inline type asd_read_ocm_##ord (struct asd_ha_struct *asd_ha, \ 73 #define ASD_WRITE_OCM(type, ord, S) \ argument 74 static inline void asd_write_ocm_##ord (struct asd_ha_struct *asd_ha, \ 86 #define ASD_DDBSITE_READ(type, ord) \ argument 87 static inline type asd_ddbsite_read_##ord (struct asd_ha_struct *asd_ha, \ 93 return asd_read_reg_##ord (asd_ha, CTXACCESS); \ 112 #define ASD_DDBSITE_WRITE(type, ord) \ argument 113 static inline void asd_ddbsite_write_##ord (struct asd_ha_struct *asd_ha, \ 119 asd_write_reg_##ord (asd_ha, CTXACCESS, val); \ [all …]
|
/drivers/infiniband/sw/siw/ |
D | siw_cm.c | 330 event.ord = cep->ord; in siw_cm_upcall() 332 event.ird = cep->ord; in siw_cm_upcall() 333 event.ord = cep->ird; in siw_cm_upcall() 654 cep->ord = ntohs(v2->ird) & MPA_IRD_ORD_MASK; in siw_proc_mpareq() 655 cep->ord = min(cep->ord, SIW_MAX_ORD_QP); in siw_proc_mpareq() 656 cep->ird = ntohs(v2->ord) & MPA_IRD_ORD_MASK; in siw_proc_mpareq() 661 cep->mpa.v2_ctrl.ord = htons(cep->ord); in siw_proc_mpareq() 674 if (v2->ord & MPA_V2_RDMA_WRITE_RTR) in siw_proc_mpareq() 675 cep->mpa.v2_ctrl.ord |= MPA_V2_RDMA_WRITE_RTR; in siw_proc_mpareq() 676 else if (v2->ord & MPA_V2_RDMA_READ_RTR) in siw_proc_mpareq() [all …]
|
D | siw_cm.h | 57 int ord; member
|
D | iwarp.h | 71 __be16 ord; member
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 1002 ep->ord); in send_mpa_req() 1004 mpa_v2_params.ord = htons((u16)ep->ord); in send_mpa_req() 1009 mpa_v2_params.ord |= in send_mpa_req() 1012 mpa_v2_params.ord |= in send_mpa_req() 1096 mpa_v2_params.ord = htons(((u16)ep->ord) | (peer2peer ? in send_mpa_reject() 1178 mpa_v2_params.ord = htons((u16)ep->ord); in send_mpa_reply() 1184 mpa_v2_params.ord |= in send_mpa_reply() 1187 mpa_v2_params.ord |= in send_mpa_reply() 1333 event.ord = ep->ird; in connect_reply_upcall() 1334 event.ird = ep->ord; in connect_reply_upcall() [all …]
|
D | iw_cxgb4.h | 704 __be16 ord; member 884 u32 ord; member
|
D | restrack.c | 249 if (rdma_nl_put_driver_u32(msg, "ord", ep->ord)) in c4iw_fill_res_cm_id_entry()
|
D | qp.c | 1756 qhp->wq.sq.qid, qhp->ep->hwtid, qhp->ep->ird, qhp->ep->ord); in rdma_init()
|
/drivers/infiniband/hw/qedr/ |
D | qedr_iw_cm.c | 132 event.ord = params->cm_info->ord; in qedr_iw_mpa_request() 152 event.ord = params->cm_info->ord; in qedr_iw_issue_event() 628 conn_param->ord, conn_param->ird, conn_param->private_data, in qedr_iw_connect() 631 cm_info->ord = conn_param->ord; in qedr_iw_connect() 762 params.ord = conn_param->ord; in qedr_iw_accept()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_iwarp.c | 29 __be16 ord; member 756 mpa_ord = ntohs(mpa_v2->ord); in qed_iwarp_mpa_received() 762 ep->cm_info.ord = (u8)min_t(u16, in qed_iwarp_mpa_received() 791 ep->cm_info.ord = QED_IWARP_ORD_DEFAULT; in qed_iwarp_mpa_received() 798 mpa_rev, ep->cm_info.ord, ep->cm_info.ird, ep->rtr_type, in qed_iwarp_mpa_received() 864 common->out_rq.ord = cpu_to_le32(ep->cm_info.ord); in qed_iwarp_mpa_offload() 911 ep->cm_info.ord, ep->rtr_type, ep->mpa_rev, reject); in qed_iwarp_mpa_offload() 952 mpa_ord = ntohs(mpa_v2_params->ord); in qed_iwarp_parse_private_data() 955 ep->cm_info.ord = (u8)(mpa_ird & MPA_V2_IRD_ORD_MASK); in qed_iwarp_parse_private_data() 982 ep->mpa_rev, ep->cm_info.ord, ep->cm_info.ird); in qed_iwarp_mpa_reply_arrived() [all …]
|
/drivers/gpu/drm/amd/display/modules/vmid/ |
D | vmid.c | 60 uint16_t ord = dc_get_vmid_use_vector(core_vmid->dc); in evict_vmids() local 64 if (!(ord & (1u << i))) in evict_vmids()
|
/drivers/dma/ |
D | dma-jz4780.c | 267 int ord = ffs(val) - 1; in jz4780_dma_transfer_size() local 276 if (ord == 3) in jz4780_dma_transfer_size() 277 ord = 2; in jz4780_dma_transfer_size() 278 else if (ord > jzdma->soc_data->transfer_ord_max) in jz4780_dma_transfer_size() 279 ord = jzdma->soc_data->transfer_ord_max; in jz4780_dma_transfer_size() 281 *shift = ord; in jz4780_dma_transfer_size() 283 switch (ord) { in jz4780_dma_transfer_size()
|
/drivers/crypto/ccp/ |
D | sp-dev.c | 185 sp->ord = atomic_inc_return(&sp_ordinal); in sp_alloc_struct() 186 snprintf(sp->name, SP_MAX_NAME_LEN, "sp-%u", sp->ord); in sp_alloc_struct()
|
D | sp-dev.h | 78 unsigned int ord; member
|
D | ccp-dev.c | 500 snprintf(ccp->name, MAX_CCP_NAME_LEN, "ccp-%u", sp->ord); in ccp_alloc_struct() 501 snprintf(ccp->rngname, MAX_CCP_NAME_LEN, "ccp-%u-rng", sp->ord); in ccp_alloc_struct()
|
D | psp-dev.c | 32 snprintf(psp->name, sizeof(psp->name), "psp-%u", sp->ord); in psp_alloc_struct()
|
D | ccp-dev.h | 343 unsigned int ord; member
|
/drivers/dma/ptdma/ |
D | ptdma.h | 225 unsigned int ord; member
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 516 static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, in ipw2100_get_ordinal() argument 532 if (IS_ORDINAL_TABLE_ONE(ordinals, ord)) { in ipw2100_get_ordinal() 544 ordinals->table1_addr + (ord << 2), &addr); in ipw2100_get_ordinal() 552 if (IS_ORDINAL_TABLE_TWO(ordinals, ord)) { in ipw2100_get_ordinal() 554 ord -= IPW_START_ORD_TAB_2; in ipw2100_get_ordinal() 558 ordinals->table2_addr + (ord << 3), &addr); in ipw2100_get_ordinal() 563 ordinals->table2_addr + (ord << 3) + sizeof(u32), in ipw2100_get_ordinal() 590 "in table 2\n", ord); in ipw2100_get_ordinal() 595 static int ipw2100_set_ordinal(struct ipw2100_priv *priv, u32 ord, u32 * val, in ipw2100_set_ordinal() argument 601 if (IS_ORDINAL_TABLE_ONE(ordinals, ord)) { in ipw2100_set_ordinal() [all …]
|
D | ipw2200.c | 676 static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len) in ipw_get_ordinal() argument 680 IPW_DEBUG_ORD("ordinal = %i\n", ord); in ipw_get_ordinal() 693 switch (IPW_ORD_TABLE_ID_MASK & ord) { in ipw_get_ordinal() 703 ord &= IPW_ORD_TABLE_VALUE_MASK; in ipw_get_ordinal() 706 if (ord > priv->table0_len) { in ipw_get_ordinal() 708 "max (%i)\n", ord, priv->table0_len); in ipw_get_ordinal() 720 ord, priv->table0_addr + (ord << 2)); in ipw_get_ordinal() 723 ord <<= 2; in ipw_get_ordinal() 724 *((u32 *) val) = ipw_read32(priv, priv->table0_addr + ord); in ipw_get_ordinal() 737 ord &= IPW_ORD_TABLE_VALUE_MASK; in ipw_get_ordinal() [all …]
|
/drivers/block/ |
D | amiflop.c | 830 unsigned char ord; member 863 hdr.magic, hdr.track, hdr.sect, hdr.ord, in amiga_read() 886 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, in amiga_read() 945 hdr.ord = unit[disk].dtype->sects * unit[disk].type->sect_mult - cnt; in putsec()
|
/drivers/infiniband/core/ |
D | cma.c | 2365 event.param.conn.responder_resources = iw_event->ord; in cma_iw_handler() 2382 event.param.conn.responder_resources = iw_event->ord; in cma_iw_handler() 2417 event.param.conn.responder_resources = iw_event->ord; in iw_conn_req_handler() 4200 iw_param.ord = conn_param->initiator_depth; in cma_connect_iw() 4353 iw_param.ord = conn_param->initiator_depth; in cma_accept_iw()
|
/drivers/infiniband/hw/irdma/ |
D | cm.c | 148 event->ord = cm_node->ord_size; in irdma_get_cmevent_info() 191 event.ord = cm_node->ord_size; in irdma_send_cm_event() 2979 irdma_record_ird_ord(cm_node, conn_param->ird, conn_param->ord); in irdma_create_cm_node()
|
/drivers/target/iscsi/ |
D | iscsi_target.c | 3589 int ord, cpu; in iscsit_thread_get_cpumask() local 3598 ord = conn->bitmap_id % cpumask_weight(cpu_online_mask); in iscsit_thread_get_cpumask() 3600 if (ord-- == 0) { in iscsit_thread_get_cpumask()
|