Home
last modified time | relevance | path

Searched refs:ord (Results 1 – 23 of 23) sorted by relevance

/drivers/scsi/aic94xx/
Daic94xx_reg.c126 #define ASD_READ_SW(ww, type, ord) \ argument
127 static type asd_read_##ww##_##ord(struct asd_ha_struct *asd_ha, \
132 return asd_read_##ord(asd_ha, (unsigned long)map_offs); \
135 #define ASD_WRITE_SW(ww, type, ord) \ argument
136 static void asd_write_##ww##_##ord(struct asd_ha_struct *asd_ha, \
141 asd_write_##ord(asd_ha, (unsigned long)map_offs, val); \
215 #define ASD_WRITE_REG(type, ord) \ argument
216 void asd_write_reg_##ord (struct asd_ha_struct *asd_ha, u32 reg, type val)\
224 asd_write_swa_##ord (asd_ha, reg,val); \
227 asd_write_swb_##ord (asd_ha, reg, val); \
[all …]
Daic94xx_reg.h77 #define ASD_READ_OCM(type, ord, S) \ argument
78 static inline type asd_read_ocm_##ord (struct asd_ha_struct *asd_ha, \
91 #define ASD_WRITE_OCM(type, ord, S) \ argument
92 static inline void asd_write_ocm_##ord (struct asd_ha_struct *asd_ha, \
104 #define ASD_DDBSITE_READ(type, ord) \ argument
105 static inline type asd_ddbsite_read_##ord (struct asd_ha_struct *asd_ha, \
111 return asd_read_reg_##ord (asd_ha, CTXACCESS); \
130 #define ASD_DDBSITE_WRITE(type, ord) \ argument
131 static inline void asd_ddbsite_write_##ord (struct asd_ha_struct *asd_ha, \
137 asd_write_reg_##ord (asd_ha, CTXACCESS, val); \
[all …]
/drivers/infiniband/hw/cxgb4/
Dcm.c904 ep->ord); in send_mpa_req()
906 mpa_v2_params.ord = htons((u16)ep->ord); in send_mpa_req()
911 mpa_v2_params.ord |= in send_mpa_req()
914 mpa_v2_params.ord |= in send_mpa_req()
996 mpa_v2_params.ord = htons(((u16)ep->ord) | (peer2peer ? in send_mpa_reject()
1075 mpa_v2_params.ord = htons((u16)ep->ord); in send_mpa_reply()
1081 mpa_v2_params.ord |= in send_mpa_reply()
1084 mpa_v2_params.ord |= in send_mpa_reply()
1227 event.ord = ep->ird; in connect_reply_upcall()
1228 event.ird = ep->ord; in connect_reply_upcall()
[all …]
Diw_cxgb4.h673 __be16 ord; member
827 u32 ord; member
Dqp.c1278 qhp->wq.sq.qid, qhp->ep->hwtid, qhp->ep->ird, qhp->ep->ord); in rdma_init()
/drivers/dma/
Ddma-jz4780.c220 int ord = ffs(val) - 1; in jz4780_dma_transfer_size() local
229 if (ord == 3) in jz4780_dma_transfer_size()
230 ord = 2; in jz4780_dma_transfer_size()
231 else if (ord > 7) in jz4780_dma_transfer_size()
232 ord = 7; in jz4780_dma_transfer_size()
234 *shift = ord; in jz4780_dma_transfer_size()
236 switch (ord) { in jz4780_dma_transfer_size()
/drivers/staging/rdma/amso1100/
Dc2_qp.c158 wr.ord = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_modify()
254 int ord, int ird) in c2_qp_set_read_limits() argument
269 wr.ord = cpu_to_be32(ord); in c2_qp_set_read_limits()
474 wr.ord = cpu_to_be32(C2_MAX_ORD_PER_QP); in c2_alloc_qp()
Dc2_cm.c74 err = c2_qp_set_read_limits(c2dev, qp, iw_param->ord, iw_param->ird); in c2_llp_connect()
304 err = c2_qp_set_read_limits(c2dev, qp, iw_param->ord, iw_param->ird); in c2_llp_accept()
Dc2_wr.h602 __be32 ord; member
614 u32 ord; member
645 u32 ord; member
671 __be32 ord; member
680 u32 ord; member
Dc2_intr.c191 cm_event.ird = cm_event.ord = 128; in handle_vq()
Dc2_ae.c297 cm_event.ird = cm_event.ord = 128; in c2_ae_event()
Dc2.h495 int ord, int ird);
/drivers/infiniband/hw/cxgb3/
Diwch_cm.c764 event.ird = event.ord = 8; in connect_request_upcall()
786 event.ird = event.ord = 8; in established_upcall()
916 attrs.max_ord = ep->ord; in process_mpa_reply()
1812 if ((conn_param->ord > qp->rhp->attr.max_rdma_read_qp_depth) || in iwch_accept_cr()
1824 ep->ord = conn_param->ord; in iwch_accept_cr()
1829 PDBG("%s %d ird %d ord %d\n", __func__, __LINE__, ep->ird, ep->ord); in iwch_accept_cr()
1834 attrs.max_ord = ep->ord; in iwch_accept_cr()
1920 ep->ord = conn_param->ord; in iwch_connect()
1922 if (peer2peer && ep->ord == 0) in iwch_connect()
1923 ep->ord = 1; in iwch_connect()
Diwch_cm.h193 u32 ord; member
Dcxio_wr.h346 u32 ord; member
371 __be32 ord; /* 6 */ member
Diwch_qp.c923 init_attr.ord = qhp->attr.max_ord; in rdma_init()
932 if (init_attr.ord == 0 && qhp->attr.mpa_attr.initiator) in rdma_init()
933 init_attr.ord = 1; in rdma_init()
Dcxio_hal.c859 wqe->ord = cpu_to_be32(attr->ord); in cxio_rdma_init()
/drivers/net/wireless/ipw2x00/
Dipw2100.c531 static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, in ipw2100_get_ordinal() argument
547 if (IS_ORDINAL_TABLE_ONE(ordinals, ord)) { in ipw2100_get_ordinal()
559 ordinals->table1_addr + (ord << 2), &addr); in ipw2100_get_ordinal()
567 if (IS_ORDINAL_TABLE_TWO(ordinals, ord)) { in ipw2100_get_ordinal()
569 ord -= IPW_START_ORD_TAB_2; in ipw2100_get_ordinal()
573 ordinals->table2_addr + (ord << 3), &addr); in ipw2100_get_ordinal()
578 ordinals->table2_addr + (ord << 3) + sizeof(u32), in ipw2100_get_ordinal()
605 "in table 2\n", ord); in ipw2100_get_ordinal()
610 static int ipw2100_set_ordinal(struct ipw2100_priv *priv, u32 ord, u32 * val, in ipw2100_set_ordinal() argument
616 if (IS_ORDINAL_TABLE_ONE(ordinals, ord)) { in ipw2100_set_ordinal()
[all …]
Dipw2200.c690 static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len) in ipw_get_ordinal() argument
694 IPW_DEBUG_ORD("ordinal = %i\n", ord); in ipw_get_ordinal()
707 switch (IPW_ORD_TABLE_ID_MASK & ord) { in ipw_get_ordinal()
717 ord &= IPW_ORD_TABLE_VALUE_MASK; in ipw_get_ordinal()
720 if (ord > priv->table0_len) { in ipw_get_ordinal()
722 "max (%i)\n", ord, priv->table0_len); in ipw_get_ordinal()
734 ord, priv->table0_addr + (ord << 2)); in ipw_get_ordinal()
737 ord <<= 2; in ipw_get_ordinal()
738 *((u32 *) val) = ipw_read32(priv, priv->table0_addr + ord); in ipw_get_ordinal()
751 ord &= IPW_ORD_TABLE_VALUE_MASK; in ipw_get_ordinal()
[all …]
/drivers/block/
Damiflop.c712 unsigned char ord; member
745 hdr.magic, hdr.track, hdr.sect, hdr.ord, in amiga_read()
768 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, in amiga_read()
827 hdr.ord = unit[disk].dtype->sects * unit[disk].type->sect_mult - cnt; in putsec()
/drivers/infiniband/hw/nes/
Dnes_cm.c3303 record_ird_ord(cm_node, (u16)conn_param->ird, (u16)conn_param->ord); in nes_accept()
3448 cm_event.ord = cm_node->ord_size; in nes_accept()
3552 nes_debug(NES_DBG_CM, "requested ord = 0x%08X.\n", (u32)conn_param->ord); in nes_connect()
3615 record_ird_ord(cm_node, (u16)conn_param->ird, (u16)conn_param->ord); in nes_connect()
3869 cm_event.ord = cm_node->ord_size; in cm_event_connected()
4042 cm_event.ord = NES_MAX_ORD; in cm_event_mpa_req()
4045 cm_event.ord = cm_node->ord_size; in cm_event_mpa_req()
/drivers/infiniband/core/
Dcma.c1865 event.param.conn.responder_resources = iw_event->ord; in cma_iw_handler()
1882 event.param.conn.responder_resources = iw_event->ord; in cma_iw_handler()
1966 event.param.conn.responder_resources = iw_event->ord; in iw_conn_req_handler()
3282 iw_param.ord = conn_param->initiator_depth; in cma_connect_iw()
3377 iw_param.ord = conn_param->initiator_depth; in cma_accept_iw()
/drivers/target/iscsi/
Discsi_target.c3708 int ord, cpu; in iscsit_thread_get_cpumask() local
3717 ord = conn->bitmap_id % cpumask_weight(cpu_online_mask); in iscsit_thread_get_cpumask()
3719 if (ord-- == 0) { in iscsit_thread_get_cpumask()