Lines Matching refs:phy_id
31 static int write8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size)
33 struct st33zp24_i2c_phy *phy = phy_id;
48 static int read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size)
50 struct st33zp24_i2c_phy *phy = phy_id;
64 * @param: phy_id, the phy description
70 static int st33zp24_i2c_send(void *phy_id, u8 tpm_register, u8 *tpm_data,
73 return write8_reg(phy_id, tpm_register | TPM_WRITE_DIRECTION, tpm_data,
80 * @param: phy_id, the phy description
86 static int st33zp24_i2c_recv(void *phy_id, u8 tpm_register, u8 *tpm_data,
89 return read8_reg(phy_id, tpm_register, tpm_data, tpm_size);