Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/wireless/broadcom/b43/ !
Dphy_n.c4374 struct b43_phy_n_iq_comp *pcomp) in b43_nphy_rx_iq_coeffs() argument
4377 b43_phy_write(dev, B43_NPHY_C1_RXIQ_COMPA0, pcomp->a0); in b43_nphy_rx_iq_coeffs()
4378 b43_phy_write(dev, B43_NPHY_C1_RXIQ_COMPB0, pcomp->b0); in b43_nphy_rx_iq_coeffs()
4379 b43_phy_write(dev, B43_NPHY_C2_RXIQ_COMPA1, pcomp->a1); in b43_nphy_rx_iq_coeffs()
4380 b43_phy_write(dev, B43_NPHY_C2_RXIQ_COMPB1, pcomp->b1); in b43_nphy_rx_iq_coeffs()
4382 pcomp->a0 = b43_phy_read(dev, B43_NPHY_C1_RXIQ_COMPA0); in b43_nphy_rx_iq_coeffs()
4383 pcomp->b0 = b43_phy_read(dev, B43_NPHY_C1_RXIQ_COMPB0); in b43_nphy_rx_iq_coeffs()
4384 pcomp->a1 = b43_phy_read(dev, B43_NPHY_C2_RXIQ_COMPA1); in b43_nphy_rx_iq_coeffs()
4385 pcomp->b1 = b43_phy_read(dev, B43_NPHY_C2_RXIQ_COMPB1); in b43_nphy_rx_iq_coeffs()
/linux-6.1.9/drivers/scsi/aic7xxx/ !
Daic79xx_osm.c2692 static void ahd_linux_set_pcomp_en(struct scsi_target *starget, int pcomp) in ahd_linux_set_pcomp_en() argument
2711 pcomp ? "Enable" : "Disable"); in ahd_linux_set_pcomp_en()
2714 if (pcomp && spi_max_width(starget)) { in ahd_linux_set_pcomp_en()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ !
Dphy_n.c26031 struct nphy_iq_comp *pcomp) in wlc_phy_rx_iq_coeffs_nphy() argument
26034 write_phy_reg(pi, 0x9a, pcomp->a0); in wlc_phy_rx_iq_coeffs_nphy()
26035 write_phy_reg(pi, 0x9b, pcomp->b0); in wlc_phy_rx_iq_coeffs_nphy()
26036 write_phy_reg(pi, 0x9c, pcomp->a1); in wlc_phy_rx_iq_coeffs_nphy()
26037 write_phy_reg(pi, 0x9d, pcomp->b1); in wlc_phy_rx_iq_coeffs_nphy()
26039 pcomp->a0 = read_phy_reg(pi, 0x9a); in wlc_phy_rx_iq_coeffs_nphy()
26040 pcomp->b0 = read_phy_reg(pi, 0x9b); in wlc_phy_rx_iq_coeffs_nphy()
26041 pcomp->a1 = read_phy_reg(pi, 0x9c); in wlc_phy_rx_iq_coeffs_nphy()
26042 pcomp->b1 = read_phy_reg(pi, 0x9d); in wlc_phy_rx_iq_coeffs_nphy()