Searched refs:ord (Results 1 - 22 of 22) sorted by relevance

/drivers/scsi/aic94xx/
H A Daic94xx_reg.c126 #define ASD_READ_SW(ww, type, ord) \
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) \
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) \
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_h
[all...]
H A Daic94xx_reg.h77 #define ASD_READ_OCM(type, ord, S) \
78 static inline type asd_read_ocm_##ord (struct asd_ha_struct *asd_ha, \
91 #define ASD_WRITE_OCM(type, ord, S) \
92 static inline void asd_write_ocm_##ord (struct asd_ha_struct *asd_ha, \
104 #define ASD_DDBSITE_READ(type, ord) \
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) \
131 static inline void asd_ddbsite_write_##ord (struct asd_ha_struct *asd_ha, \
137 asd_write_reg_##ord (asd_h
[all...]
/drivers/infiniband/hw/cxgb4/
H A Dcm.c554 mpa_v2_params.ord = htons((u16)ep->ord);
559 mpa_v2_params.ord |=
562 mpa_v2_params.ord |=
643 mpa_v2_params.ord = htons(((u16)ep->ord) | (peer2peer ?
721 mpa_v2_params.ord = htons((u16)ep->ord);
727 mpa_v2_params.ord |=
730 mpa_v2_params.ord |
[all...]
H A Diw_cxgb4.h544 __be16 ord; member in struct:mpa_v2_conn_params
662 u32 ord; member in struct:c4iw_ep
/drivers/infiniband/hw/amso1100/
H A Dc2_intr.c187 * Until ird/ord negotiation via MPAv2 support is added, send
190 cm_event.ird = cm_event.ord = 128;
H A Dc2_cm.c70 err = c2_qp_set_read_limits(c2dev, qp, iw_param->ord, iw_param->ird);
299 err = c2_qp_set_read_limits(c2dev, qp, iw_param->ord, iw_param->ird);
H A Dc2_qp.c158 wr.ord = cpu_to_be32(C2_QP_NO_ATTR_CHANGE);
254 int ord, int ird)
269 wr.ord = cpu_to_be32(ord);
472 wr.ord = cpu_to_be32(C2_MAX_ORD_PER_QP);
253 c2_qp_set_read_limits(struct c2_dev *c2dev, struct c2_qp *qp, int ord, int ird) argument
H A Dc2_wr.h602 __be32 ord; member in struct:c2wr_qp_create_req
614 u32 ord; member in struct:c2wr_qp_create_rep
645 u32 ord; member in struct:c2wr_qp_query_rep
671 __be32 ord; member in struct:c2wr_qp_modify_req
680 u32 ord; member in struct:c2wr_qp_modify_rep
H A Dc2_ae.c292 * Until ird/ord negotiation via MPAv2 support is added, send
295 cm_event.ird = cm_event.ord = 128;
H A Dc2.h496 int ord, int ird);
/drivers/infiniband/hw/cxgb3/
H A Diwch_cm.h193 u32 ord; member in struct:iwch_ep
H A Diwch_cm.c757 * Until ird/ord negotiation via MPAv2 support is added, send max
760 event.ird = event.ord = 8;
779 * Until ird/ord negotiation via MPAv2 support is added, send max
782 event.ird = event.ord = 8;
912 attrs.max_ord = ep->ord;
1809 if ((conn_param->ord > qp->rhp->attr.max_rdma_read_qp_depth) ||
1821 ep->ord = conn_param->ord;
1826 PDBG("%s %d ird %d ord %d\n", __func__, __LINE__, ep->ird, ep->ord);
[all...]
H A Diwch_qp.c920 init_attr.ord = qhp->attr.max_ord;
929 if (init_attr.ord == 0 && qhp->attr.mpa_attr.initiator)
930 init_attr.ord = 1;
H A Dcxio_wr.h346 u32 ord; member in struct:t3_rdma_init_attr
371 __be32 ord; /* 6 */ member in struct:t3_rdma_init_wr
H A Dcxio_hal.c861 wqe->ord = cpu_to_be32(attr->ord);
/drivers/net/wireless/ipw2x00/
H A Dipw2100.c519 static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, argument
535 if (IS_ORDINAL_TABLE_ONE(ordinals, ord)) {
547 ordinals->table1_addr + (ord << 2), &addr);
555 if (IS_ORDINAL_TABLE_TWO(ordinals, ord)) {
557 ord -= IPW_START_ORD_TAB_2;
561 ordinals->table2_addr + (ord << 3), &addr);
566 ordinals->table2_addr + (ord << 3) + sizeof(u32),
593 "in table 2\n", ord);
598 static int ipw2100_set_ordinal(struct ipw2100_priv *priv, u32 ord, u32 * val, argument
604 if (IS_ORDINAL_TABLE_ONE(ordinals, ord)) {
1122 struct ipw2100_ordinals *ord = &priv->ordinals; local
[all...]
H A Dipw2200.c690 static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len) argument
694 IPW_DEBUG_ORD("ordinal = %i\n", ord);
707 switch (IPW_ORD_TABLE_ID_MASK & ord) {
717 ord &= IPW_ORD_TABLE_VALUE_MASK;
720 if (ord > priv->table0_len) {
722 "max (%i)\n", ord, priv->table0_len);
734 ord, priv->table0_addr + (ord << 2));
737 ord <<= 2;
738 *((u32 *) val) = ipw_read32(priv, priv->table0_addr + ord);
[all...]
/drivers/block/
H A Damiflop.c712 unsigned char ord; member in struct:header
745 hdr.magic, hdr.track, hdr.sect, hdr.ord,
768 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt,
827 hdr.ord = unit[disk].dtype->sects * unit[disk].type->sect_mult - cnt;
/drivers/infiniband/core/
H A Dcma.c1346 event.param.conn.responder_resources = iw_event->ord;
1363 event.param.conn.responder_resources = iw_event->ord;
1455 event.param.conn.responder_resources = iw_event->ord;
2647 iw_param.ord = conn_param->initiator_depth;
2744 iw_param.ord = conn_param->initiator_depth;
/drivers/infiniband/hw/nes/
H A Dnes_cm.c3179 cpu_to_le32((u32)conn_param->ord);
3322 nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32((u32)conn_param->ord);
3323 nes_debug(NES_DBG_CM, "requested ord = 0x%08X.\n", (u32)conn_param->ord);
3600 cm_event.ord = cm_node->ord_size;
3761 cm_event.ord = cm_node->ord_size;
/drivers/target/iscsi/
H A Discsi_target.c3426 int ord, cpu; local
3435 ord = ts->thread_id % cpumask_weight(cpu_online_mask);
3437 pr_debug(">>>>>>>>>>>>>>>>>>>> Generated ord: %d from"
3438 " thread_id: %d\n", ord, ts->thread_id);
3441 if (ord-- == 0) {
/drivers/block/drbd/
H A Ddrbd_main.c1793 int ord, cpu; local
1799 ord = mdev_to_minor(mdev) % cpumask_weight(cpu_online_mask);
1801 if (ord-- == 0) {

Completed in 412 milliseconds