/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 | 715 __be16 ord; member 895 u32 ord; member
|
D | restrack.c | 252 if (rdma_nl_put_driver_u32(msg, "ord", ep->ord)) in fill_res_ep_entry()
|
/drivers/infiniband/hw/qedr/ |
D | qedr_iw_cm.c | 110 event.ord = params->cm_info->ord; in qedr_iw_mpa_request() 130 event.ord = params->cm_info->ord; in qedr_iw_issue_event() 573 conn_param->ord, conn_param->ird, conn_param->private_data, in qedr_iw_connect() 576 cm_info->ord = conn_param->ord; in qedr_iw_connect() 701 params.ord = conn_param->ord; in qedr_iw_accept()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_iwarp.c | 54 __be16 ord; member 773 mpa_ord = ntohs(mpa_v2->ord); in qed_iwarp_mpa_received() 779 ep->cm_info.ord = (u8)min_t(u16, in qed_iwarp_mpa_received() 808 ep->cm_info.ord = QED_IWARP_ORD_DEFAULT; in qed_iwarp_mpa_received() 815 mpa_rev, ep->cm_info.ord, ep->cm_info.ird, ep->rtr_type, in qed_iwarp_mpa_received() 877 p_mpa_ramrod->common.out_rq.ord = ep->cm_info.ord; in qed_iwarp_mpa_offload() 923 ep->cm_info.ord, ep->rtr_type, ep->mpa_rev, reject); in qed_iwarp_mpa_offload() 963 mpa_ord = ntohs(mpa_v2_params->ord); in qed_iwarp_parse_private_data() 966 ep->cm_info.ord = (u8)(mpa_ird & MPA_V2_IRD_ORD_MASK); in qed_iwarp_parse_private_data() 992 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 | 56 uint16_t ord = dc_get_vmid_use_vector(core_vmid->dc); in evict_vmids() local 60 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 | 65 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 | ccp-dev.h | 343 unsigned int ord; member
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 760 event.ird = event.ord = 8; in connect_request_upcall() 782 event.ird = event.ord = 8; in established_upcall() 912 attrs.max_ord = ep->ord; in process_mpa_reply() 1798 if ((conn_param->ord > qp->rhp->attr.max_rdma_read_qp_depth) || in iwch_accept_cr() 1810 ep->ord = conn_param->ord; in iwch_accept_cr() 1815 pr_debug("%s %d ird %d ord %d\n", __func__, __LINE__, ep->ird, ep->ord); in iwch_accept_cr() 1820 attrs.max_ord = ep->ord; in iwch_accept_cr() 1906 ep->ord = conn_param->ord; in iwch_connect() 1908 if (peer2peer && ep->ord == 0) in iwch_connect() 1909 ep->ord = 1; in iwch_connect()
|
D | iwch_cm.h | 193 u32 ord; member
|
D | cxio_wr.h | 346 u32 ord; member 371 __be32 ord; /* 6 */ member
|
D | iwch_qp.c | 842 init_attr.ord = qhp->attr.max_ord; in rdma_init() 851 if (init_attr.ord == 0 && qhp->attr.mpa_attr.initiator) in rdma_init() 852 init_attr.ord = 1; in rdma_init()
|
D | cxio_hal.c | 834 wqe->ord = cpu_to_be32(attr->ord); in cxio_rdma_init()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 517 static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, in ipw2100_get_ordinal() argument 533 if (IS_ORDINAL_TABLE_ONE(ordinals, ord)) { in ipw2100_get_ordinal() 545 ordinals->table1_addr + (ord << 2), &addr); in ipw2100_get_ordinal() 553 if (IS_ORDINAL_TABLE_TWO(ordinals, ord)) { in ipw2100_get_ordinal() 555 ord -= IPW_START_ORD_TAB_2; in ipw2100_get_ordinal() 559 ordinals->table2_addr + (ord << 3), &addr); in ipw2100_get_ordinal() 564 ordinals->table2_addr + (ord << 3) + sizeof(u32), in ipw2100_get_ordinal() 591 "in table 2\n", ord); in ipw2100_get_ordinal() 596 static int ipw2100_set_ordinal(struct ipw2100_priv *priv, u32 ord, u32 * val, in ipw2100_set_ordinal() argument 602 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 | 829 unsigned char ord; member 862 hdr.magic, hdr.track, hdr.sect, hdr.ord, in amiga_read() 885 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, in amiga_read() 944 hdr.ord = unit[disk].dtype->sects * unit[disk].type->sect_mult - cnt; in putsec()
|
/drivers/infiniband/core/ |
D | cma.c | 2290 event.param.conn.responder_resources = iw_event->ord; in cma_iw_handler() 2307 event.param.conn.responder_resources = iw_event->ord; in cma_iw_handler() 2345 event.param.conn.responder_resources = iw_event->ord; in iw_conn_req_handler() 3885 iw_param.ord = conn_param->initiator_depth; in cma_connect_iw() 3980 iw_param.ord = conn_param->initiator_depth; in cma_accept_iw()
|