Searched refs:pattr (Results 1 – 5 of 5) sorted by relevance
207 struct ib_port_attr pattr; in mthca_process_mad() local248 !ib_query_port(ibdev, port_num, &pattr)) in mthca_process_mad()249 prev_lid = ib_lid_cpu16(pattr.lid); in mthca_process_mad()
77 struct bfa_port_attr_s pattr; in bfad_iocmd_ioc_get_info() local81 bfa_fcport_get_attr(&bfad->bfa, &pattr); in bfad_iocmd_ioc_get_info()82 iocmd->nwwn = pattr.nwwn; in bfad_iocmd_ioc_get_info()83 iocmd->pwwn = pattr.pwwn; in bfad_iocmd_ioc_get_info()88 iocmd->factorynwwn = pattr.factorynwwn; in bfad_iocmd_ioc_get_info()89 iocmd->factorypwwn = pattr.factorypwwn; in bfad_iocmd_ioc_get_info()
1331 struct smart_attr *pattr; in mtip_get_smart_attr() local1356 pattr = (struct smart_attr *)(port->smart_buf + 2); in mtip_get_smart_attr()1357 for (i = 0; i < 29; i++, pattr++) in mtip_get_smart_attr()1358 if (pattr->attr_id == id) { in mtip_get_smart_attr()1359 memcpy(attrib, pattr, sizeof(struct smart_attr)); in mtip_get_smart_attr()
2309 const struct rocker_tlv *pattr; in rocker_cmd_get_port_stats_ethtool_proc() local2330 pattr = stats_attrs[rocker_port_stats[i].type]; in rocker_cmd_get_port_stats_ethtool_proc()2331 if (!pattr) in rocker_cmd_get_port_stats_ethtool_proc()2334 data[i] = rocker_tlv_get_u64(pattr); in rocker_cmd_get_port_stats_ethtool_proc()
828 struct ib_port_attr pattr; in ib_process_mad() local863 !ib_query_port(ibdev, port_num, &pattr)) in ib_process_mad()864 prev_lid = ib_lid_cpu16(pattr.lid); in ib_process_mad()