Lines Matching refs:phy_id
36 static int write8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size)
38 struct st33zp24_i2c_phy *phy = phy_id;
53 static int read8_reg(void *phy_id, u8 tpm_register, u8 *tpm_data, int tpm_size)
55 struct st33zp24_i2c_phy *phy = phy_id;
69 * @param: phy_id, the phy description
75 static int st33zp24_i2c_send(void *phy_id, u8 tpm_register, u8 *tpm_data,
78 return write8_reg(phy_id, tpm_register | TPM_WRITE_DIRECTION, tpm_data,
85 * @param: phy_id, the phy description
91 static int st33zp24_i2c_recv(void *phy_id, u8 tpm_register, u8 *tpm_data,
94 return read8_reg(phy_id, tpm_register, tpm_data, tpm_size);
113 struct st33zp24_i2c_phy *phy = tpm_dev->phy_id;
145 struct st33zp24_i2c_phy *phy = tpm_dev->phy_id;
185 struct st33zp24_i2c_phy *phy = tpm_dev->phy_id;