Home
last modified time | relevance | path

Searched refs:pcomp (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/iio/pressure/
Dmpl115.c49 int a1, y1, pcomp; in mpl115_comp_pressure() local
72 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; in mpl115_comp_pressure()
74 kpa = pcomp * (115 - 50) / 1023 + (50 << 4); in mpl115_comp_pressure()
/Linux-v5.4/drivers/net/wireless/broadcom/b43/
Dphy_n.c4377 struct b43_phy_n_iq_comp *pcomp) in b43_nphy_rx_iq_coeffs() argument
4380 b43_phy_write(dev, B43_NPHY_C1_RXIQ_COMPA0, pcomp->a0); in b43_nphy_rx_iq_coeffs()
4381 b43_phy_write(dev, B43_NPHY_C1_RXIQ_COMPB0, pcomp->b0); in b43_nphy_rx_iq_coeffs()
4382 b43_phy_write(dev, B43_NPHY_C2_RXIQ_COMPA1, pcomp->a1); in b43_nphy_rx_iq_coeffs()
4383 b43_phy_write(dev, B43_NPHY_C2_RXIQ_COMPB1, pcomp->b1); in b43_nphy_rx_iq_coeffs()
4385 pcomp->a0 = b43_phy_read(dev, B43_NPHY_C1_RXIQ_COMPA0); in b43_nphy_rx_iq_coeffs()
4386 pcomp->b0 = b43_phy_read(dev, B43_NPHY_C1_RXIQ_COMPB0); in b43_nphy_rx_iq_coeffs()
4387 pcomp->a1 = b43_phy_read(dev, B43_NPHY_C2_RXIQ_COMPA1); in b43_nphy_rx_iq_coeffs()
4388 pcomp->b1 = b43_phy_read(dev, B43_NPHY_C2_RXIQ_COMPB1); in b43_nphy_rx_iq_coeffs()
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic79xx_osm.c2725 static void ahd_linux_set_pcomp_en(struct scsi_target *starget, int pcomp) in ahd_linux_set_pcomp_en() argument
2744 pcomp ? "Enable" : "Disable"); in ahd_linux_set_pcomp_en()
2747 if (pcomp && spi_max_width(starget)) { in ahd_linux_set_pcomp_en()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c26062 struct nphy_iq_comp *pcomp) in wlc_phy_rx_iq_coeffs_nphy() argument
26065 write_phy_reg(pi, 0x9a, pcomp->a0); in wlc_phy_rx_iq_coeffs_nphy()
26066 write_phy_reg(pi, 0x9b, pcomp->b0); in wlc_phy_rx_iq_coeffs_nphy()
26067 write_phy_reg(pi, 0x9c, pcomp->a1); in wlc_phy_rx_iq_coeffs_nphy()
26068 write_phy_reg(pi, 0x9d, pcomp->b1); in wlc_phy_rx_iq_coeffs_nphy()
26070 pcomp->a0 = read_phy_reg(pi, 0x9a); in wlc_phy_rx_iq_coeffs_nphy()
26071 pcomp->b0 = read_phy_reg(pi, 0x9b); in wlc_phy_rx_iq_coeffs_nphy()
26072 pcomp->a1 = read_phy_reg(pi, 0x9c); in wlc_phy_rx_iq_coeffs_nphy()
26073 pcomp->b1 = read_phy_reg(pi, 0x9d); in wlc_phy_rx_iq_coeffs_nphy()