Home
last modified time | relevance | path

Searched refs:attr_id (Results 1 – 18 of 18) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_mad.c115 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) { in smp_snoop()
139 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) { in smp_snoop()
154 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override()
232 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO || in mthca_process_mad()
233 ((in_mad->mad_hdr.attr_id & IB_SMP_ATTR_VENDOR_MASK) == in mthca_process_mad()
247 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in mthca_process_mad()
Dmthca_provider.c78 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_query_device()
148 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mthca_query_port()
241 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; in mthca_query_pkey()
270 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in mthca_query_gid()
281 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in mthca_query_gid()
1224 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; in mthca_init_node_data()
1233 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mthca_init_node_data()
/drivers/scsi/osd/
Dosd_initiator.c233 attr->attr_id = cpu_to_be32(oa->attr_id); in _osd_req_alist_elem_encode()
240 attr->attr_id = cpu_to_be32(oa->attr_id); in _osd_req_alist_elem_encode()
262 oa->attr_id = be32_to_cpu(attr->attr_id); in _osd_req_alist_elem_decode()
282 oa->attr_id = be32_to_cpu(attr->attr_id); in _osd_req_alist_elem_decode()
1276 attrid->attr_id = cpu_to_be32(oa->attr_id); in osd_req_add_get_attr_list()
1359 oa->attr_id = 0; in osd_req_decode_get_attr_list()
1445 cdbh->attrs_page.set_attr_id = cpu_to_be32(set_one_attr->attr_id); in osd_req_add_get_attr_page()
1851 u32 attr_id = be32_to_cpu(pattr->attr_id); in osd_req_decode_sense_full() local
1855 osi->attr.attr_id = attr_id; in osd_req_decode_sense_full()
1860 bad_attr_list->attr_id = attr_id; in osd_req_decode_sense_full()
[all …]
/drivers/infiniband/hw/mlx4/
Dmad.c161 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO) { in smp_snoop()
184 if (mad->mad_hdr.attr_id == IB_SMP_ATTR_PKEY_TABLE) { in smp_snoop()
199 mad->mad_hdr.attr_id == IB_SMP_ATTR_NODE_DESC) { in node_desc_override()
262 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_SM_INFO) in ib_process_mad()
277 in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in ib_process_mad()
Dmain.c99 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in mlx4_ib_query_device()
198 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in ib_link_query_port()
244 in_mad->attr_id = MLX4_ATTR_EXTENDED_PORT_INFO; in ib_link_query_port()
350 in_mad->attr_id = IB_SMP_ATTR_PORT_INFO; in __mlx4_ib_query_gid()
360 in_mad->attr_id = IB_SMP_ATTR_GUID_INFO; in __mlx4_ib_query_gid()
407 in_mad->attr_id = IB_SMP_ATTR_PKEY_TABLE; in mlx4_ib_query_pkey()
811 in_mad->attr_id = IB_SMP_ATTR_NODE_DESC; in init_node_data()
819 in_mad->attr_id = IB_SMP_ATTR_NODE_INFO; in init_node_data()
/drivers/infiniband/hw/qib/
Dqib_mad.c85 smp->attr_id = IB_SMP_ATTR_NOTICE; in qib_send_trap()
174 data.details.ntc_256.attr_id = smp->attr_id; in qib_bad_mkey()
1832 if (in_mad->mad_hdr.attr_id == IB_SMP_ATTR_PORT_INFO && in process_subn()
1843 switch (smp->attr_id) { in process_subn()
1883 switch (smp->attr_id) { in process_subn()
1917 if (smp->attr_id == IB_SMP_ATTR_NOTICE) in process_subn()
1939 smp->attr_id == QIB_VENDOR_IPG) { in process_subn()
1972 switch (pmp->mad_hdr.attr_id) { in process_perf()
2001 switch (pmp->mad_hdr.attr_id) { in process_perf()
Dqib_mad.h99 __be16 attr_id; member
Dqib_iba7322.c5179 smp->attr_id = QIB_VENDOR_IPG; in try_7322_ipg()
/drivers/block/mtip32xx/
Dmtip32xx.h145 u8 attr_id; member
Dmtip32xx.c1657 if (pattr->attr_id == id) { in mtip_get_smart_attr()
/drivers/block/
Dosdblk.c189 (cur_attr.attr_id == attr->attr_id)) { in extract_attr_from_req()
/drivers/infiniband/hw/ehca/
Dehca_sqp.c171 out_perf->mad_hdr.attr_id = IB_PMA_CLASS_PORT_INFO; in ehca_process_perf()
Dehca_reqs.c133 mad_hdr->tid, mad_hdr->attr_id, in trace_send_wr_ud()
/drivers/infiniband/hw/ipath/
Dipath_mad.c1303 switch (smp->attr_id) { in process_subn()
1337 switch (smp->attr_id) { in process_subn()
1401 switch (pmp->mad_hdr.attr_id) { in process_perf()
1431 switch (pmp->mad_hdr.attr_id) { in process_perf()
/drivers/infiniband/core/
Dsa_query.c710 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_PATH_REC); in ib_sa_path_rec_get()
832 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_SERVICE_REC); in ib_sa_service_rec_query()
924 mad->mad_hdr.attr_id = cpu_to_be16(IB_SA_ATTR_MC_MEMBER_REC); in ib_sa_mcmember_rec_query()
Dcm.c990 __be16 attr_id, __be64 tid) in cm_format_mad_hdr() argument
996 hdr->attr_id = attr_id; in cm_format_mad_hdr()
3210 msg->mad)->attr_id) - CM_ATTR_ID_OFFSET; in cm_send_handler()
3387 u16 attr_id; in cm_recv_handler() local
3390 switch (mad_recv_wc->recv_buf.mad->mad_hdr.attr_id) { in cm_recv_handler()
3432 attr_id = be16_to_cpu(mad_recv_wc->recv_buf.mad->mad_hdr.attr_id); in cm_recv_handler()
3434 counter[attr_id - CM_ATTR_ID_OFFSET]); in cm_recv_handler()
Dsysfs.c345 in_mad->mad_hdr.attr_id = cpu_to_be16(0x12); /* PortCounters */ in show_pma_counter()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c414 u16 attr_id; in srpt_mgmt_method_get() local
418 attr_id = be16_to_cpu(rq_mad->mad_hdr.attr_id); in srpt_mgmt_method_get()
419 switch (attr_id) { in srpt_mgmt_method_get()