Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/pressure/
H A Dmpl115.c51 int a1, y1, pcomp; in mpl115_comp_pressure() local
74 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; in mpl115_comp_pressure()
76 kpa = pcomp * (115 - 50) / 1023 + (50 << 4); in mpl115_comp_pressure()
/openbmc/libpldm/src/firmware_device/
H A Dfd.c492 struct pldm_pass_component_table_req_full pcomp; in pldm_fd_pass_comp() local
506 rc = decode_pass_component_table_req(req, req_payload_len, &pcomp); in pldm_fd_pass_comp()
511 fd->update_comp.comp_classification = pcomp.comp_classification; in pldm_fd_pass_comp()
512 fd->update_comp.comp_identifier = pcomp.comp_identifier; in pldm_fd_pass_comp()
514 pcomp.comp_classification_index; in pldm_fd_pass_comp()
515 fd->update_comp.comp_comparison_stamp = pcomp.comp_comparison_stamp; in pldm_fd_pass_comp()
516 memcpy(&fd->update_comp.version, &pcomp.version, sizeof(pcomp.version)); in pldm_fd_pass_comp()
533 if (pcomp.transfer_flag & PLDM_END) { in pldm_fd_pass_comp()
/openbmc/libpldm/src/dsp/
H A Dfirmware_update.c1805 struct pldm_pass_component_table_req_full *pcomp) in decode_pass_component_table_req() argument
1812 if (msg == NULL || pcomp == NULL) { in decode_pass_component_table_req()
1821 pldm_msgbuf_extract(buf, pcomp->transfer_flag); in decode_pass_component_table_req()
1822 pldm_msgbuf_extract(buf, pcomp->comp_classification); in decode_pass_component_table_req()
1823 pldm_msgbuf_extract(buf, pcomp->comp_identifier); in decode_pass_component_table_req()
1824 pldm_msgbuf_extract(buf, pcomp->comp_classification_index); in decode_pass_component_table_req()
1825 pldm_msgbuf_extract(buf, pcomp->comp_comparison_stamp); in decode_pass_component_table_req()
1833 pcomp->version.str_type = (enum pldm_firmware_update_string_type)t; in decode_pass_component_table_req()
1834 rc = pldm_msgbuf_extract(buf, pcomp->version.str_len); in decode_pass_component_table_req()
1838 rc = pldm_msgbuf_extract_array(buf, pcomp->version.str_len, in decode_pass_component_table_req()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A 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()
/openbmc/linux/drivers/scsi/aic7xxx/
H A 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()
/openbmc/libpldm/include/libpldm/
H A Dfirmware_update.h1579 struct pldm_pass_component_table_req_full *pcomp);
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_n.c26034 struct nphy_iq_comp *pcomp) in wlc_phy_rx_iq_coeffs_nphy() argument
26037 write_phy_reg(pi, 0x9a, pcomp->a0); in wlc_phy_rx_iq_coeffs_nphy()
26038 write_phy_reg(pi, 0x9b, pcomp->b0); in wlc_phy_rx_iq_coeffs_nphy()
26039 write_phy_reg(pi, 0x9c, pcomp->a1); in wlc_phy_rx_iq_coeffs_nphy()
26040 write_phy_reg(pi, 0x9d, pcomp->b1); in wlc_phy_rx_iq_coeffs_nphy()
26042 pcomp->a0 = read_phy_reg(pi, 0x9a); in wlc_phy_rx_iq_coeffs_nphy()
26043 pcomp->b0 = read_phy_reg(pi, 0x9b); in wlc_phy_rx_iq_coeffs_nphy()
26044 pcomp->a1 = read_phy_reg(pi, 0x9c); in wlc_phy_rx_iq_coeffs_nphy()
26045 pcomp->b1 = read_phy_reg(pi, 0x9d); in wlc_phy_rx_iq_coeffs_nphy()