Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_acpi_sar.c270 limit = &asar->dyn->tbl[0].frp[0]; in mt792x_asar_range_pwr()
271 max = ARRAY_SIZE(asar->dyn->tbl[0].frp); in mt792x_asar_range_pwr()
273 limit = &asar->dyn_v2->tbl[0].frp[0]; in mt792x_asar_range_pwr()
274 max = ARRAY_SIZE(asar->dyn_v2->tbl[0].frp); in mt792x_asar_range_pwr()
303 struct mt76_freq_range_power *frp = &phy->mt76->frp[i]; in mt792x_init_acpi_sar_power() local
305 frp->range = set_default ? &capa->freq_ranges[i] : frp->range; in mt792x_init_acpi_sar_power()
306 if (!frp->range) in mt792x_init_acpi_sar_power()
309 frp->power = min_t(s8, set_default ? 127 : frp->power, in mt792x_init_acpi_sar_power()
310 mt792x_asar_range_pwr(phy, frp->range, i)); in mt792x_init_acpi_sar_power()
H A Dmt792x_acpi_sar.h20 u8 frp[5]; member
32 u8 frp[11]; member
H A Dmac80211.c449 phy->frp = devm_kcalloc(dev->dev, wiphy->sar_capa->num_freq_ranges, in mt76_phy_init()
452 if (!phy->frp) in mt76_phy_init()
1629 phy->frp[index].range = &capa->freq_ranges[index]; in mt76_init_sar_power()
1630 phy->frp[index].power = power; in mt76_init_sar_power()
1644 if (!capa || !phy->frp) in mt76_get_sar_power()
1652 if (phy->frp[i].range && in mt76_get_sar_power()
1653 freq >= phy->frp[i].range->start_freq && in mt76_get_sar_power()
1654 freq < phy->frp[i].range->end_freq) { in mt76_get_sar_power()
1655 power = min_t(int, phy->frp[i].power, power); in mt76_get_sar_power()
H A Dmt76.h815 struct mt76_freq_range_power *frp; member
/linux/fs/xfs/libxfs/
H A Dxfs_bmap.c1147 struct xfs_bmbt_rec *frp; in xfs_iread_bmbt_block() local
1167 frp = xfs_bmbt_rec_addr(mp, block, 1); in xfs_iread_bmbt_block()
1168 for (j = 0; j < num_recs; j++, frp++, ir->loaded++) { in xfs_iread_bmbt_block()
1172 xfs_bmbt_disk_get_all(frp, &new); in xfs_iread_bmbt_block()
1176 "xfs_iread_extents(2)", frp, in xfs_iread_bmbt_block()
1177 sizeof(*frp), fa); in xfs_iread_bmbt_block()