Home
last modified time | relevance | path

Searched refs:pattr (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_mad.c207 struct ib_port_attr pattr; in mthca_process_mad() local
248 !ib_query_port(ibdev, port_num, &pattr)) in mthca_process_mad()
249 prev_lid = ib_lid_cpu16(pattr.lid); in mthca_process_mad()
/drivers/scsi/bfa/
Dbfad_bsg.c77 struct bfa_port_attr_s pattr; in bfad_iocmd_ioc_get_info() local
81 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()
/drivers/block/mtip32xx/
Dmtip32xx.c1331 struct smart_attr *pattr; in mtip_get_smart_attr() local
1356 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()
/drivers/net/ethernet/rocker/
Drocker_main.c2309 const struct rocker_tlv *pattr; in rocker_cmd_get_port_stats_ethtool_proc() local
2330 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()
/drivers/infiniband/hw/mlx4/
Dmad.c828 struct ib_port_attr pattr; in ib_process_mad() local
863 !ib_query_port(ibdev, port_num, &pattr)) in ib_process_mad()
864 prev_lid = ib_lid_cpu16(pattr.lid); in ib_process_mad()