/kernel/linux/linux-6.6/drivers/char/tpm/st33zp24/ |
H A D | st33zp24.c | 67 static u8 clear_interruption(struct st33zp24_dev *tpm_dev) in clear_interruption() argument 71 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 72 tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 81 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_cancel() local 85 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel() 93 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_status() local 96 tpm_dev in st33zp24_status() 105 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); check_locality() local 120 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); request_locality() local 148 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); release_locality() local 161 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); get_burstcount() local 208 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); wait_for_stat() local 265 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); recv_data() local 290 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); tpm_ioserirq_handler() local 305 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); st33zp24_send() local 452 struct st33zp24_dev *tpm_dev; st33zp24_probe() local 551 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); st33zp24_pm_suspend() local 567 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); st33zp24_pm_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/ |
H A D | st33zp24.c | 65 * @param: tpm_dev, the tpm device device. 68 static u8 clear_interruption(struct st33zp24_dev *tpm_dev) in clear_interruption() argument 72 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 73 tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 84 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_cancel() local 88 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel() 98 struct st33zp24_dev *tpm_dev in st33zp24_status() local 112 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); check_locality() local 132 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); request_locality() local 164 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); release_locality() local 179 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); get_burstcount() local 242 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); wait_for_stat() local 306 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); recv_data() local 337 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); tpm_ioserirq_handler() local 358 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); st33zp24_send() local 516 struct st33zp24_dev *tpm_dev; st33zp24_probe() local 608 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); st33zp24_pm_suspend() local 629 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); st33zp24_pm_resume() local [all...] |
H A D | i2c.c | 112 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_i2c_acpi_request_resources() local 113 struct st33zp24_i2c_phy *phy = tpm_dev->phy_id; in st33zp24_i2c_acpi_request_resources() 144 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_i2c_of_request_resources() local 145 struct st33zp24_i2c_phy *phy = tpm_dev->phy_id; in st33zp24_i2c_of_request_resources() 184 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_i2c_request_resources() local 185 struct st33zp24_i2c_phy *phy = tpm_dev->phy_id; in st33zp24_i2c_request_resources()
|
H A D | spi.c | 231 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_spi_acpi_request_resources() local 232 struct st33zp24_spi_phy *phy = tpm_dev->phy_id; in st33zp24_spi_acpi_request_resources() 262 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_spi_of_request_resources() local 263 struct st33zp24_spi_phy *phy = tpm_dev->phy_id; in st33zp24_spi_of_request_resources() 302 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_spi_request_resources() local 303 struct st33zp24_spi_phy *phy = tpm_dev->phy_id; in st33zp24_spi_request_resources()
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
H A D | tpm_infineon.c | 50 static struct tpm_inf_dev tpm_dev; variable 54 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_out() 55 outb(data, tpm_dev.data_regs + offset); in tpm_data_out() 57 writeb(data, tpm_dev.mem_base + tpm_dev.data_regs + offset); in tpm_data_out() 62 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_in() 63 return inb(tpm_dev.data_regs + offset); in tpm_data_in() 65 return readb(tpm_dev.mem_base + tpm_dev.data_regs + offset); in tpm_data_in() 70 if (tpm_dev in tpm_config_out() [all...] |
H A D | tpm_i2c_infineon.c | 71 static struct tpm_inf_dev tpm_dev; variable 96 .addr = tpm_dev.client->addr, in iic_tpm_read() 101 .addr = tpm_dev.client->addr, in iic_tpm_read() 113 if (!tpm_dev.client->adapter->algo->master_xfer) in iic_tpm_read() 115 i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); in iic_tpm_read() 117 if (tpm_dev.chip_type == SLB9645) { in iic_tpm_read() 125 rc = __i2c_transfer(tpm_dev.client->adapter, msgs, 2); in iic_tpm_read() 137 rc = __i2c_transfer(tpm_dev.client->adapter, in iic_tpm_read() 154 if (tpm_dev.adapterlimit) { in iic_tpm_read() 156 tpm_dev in iic_tpm_read() [all...] |
/kernel/linux/linux-6.6/drivers/char/tpm/ |
H A D | tpm_infineon.c | 50 static struct tpm_inf_dev tpm_dev; variable 54 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_out() 55 outb(data, tpm_dev.data_regs + offset); in tpm_data_out() 57 writeb(data, tpm_dev.mem_base + tpm_dev.data_regs + offset); in tpm_data_out() 62 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_in() 63 return inb(tpm_dev.data_regs + offset); in tpm_data_in() 65 return readb(tpm_dev.mem_base + tpm_dev.data_regs + offset); in tpm_data_in() 70 if (tpm_dev in tpm_config_out() [all...] |
H A D | tpm_i2c_infineon.c | 71 static struct tpm_inf_dev tpm_dev; variable 96 .addr = tpm_dev.client->addr, in iic_tpm_read() 101 .addr = tpm_dev.client->addr, in iic_tpm_read() 113 if (!tpm_dev.client->adapter->algo->master_xfer) in iic_tpm_read() 115 i2c_lock_bus(tpm_dev.client->adapter, I2C_LOCK_SEGMENT); in iic_tpm_read() 117 if (tpm_dev.chip_type == SLB9645) { in iic_tpm_read() 125 rc = __i2c_transfer(tpm_dev.client->adapter, msgs, 2); in iic_tpm_read() 137 rc = __i2c_transfer(tpm_dev.client->adapter, in iic_tpm_read() 154 if (tpm_dev.adapterlimit) { in iic_tpm_read() 156 tpm_dev in iic_tpm_read() [all...] |