| /linux-6.15/drivers/char/tpm/ |
| H A D | tpm_tis_core.c | 163 priv->locality = l; in check_locality() 251 rc = tpm_tis_read8(priv, TPM_STS(priv->locality), &status); in tpm_tis_status() 301 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); in get_burstcount() 415 tpm_tis_write8(priv, TPM_STS(priv->locality), in tpm_tis_recv() 778 tpm_tis_relinquish_locality(chip, priv->locality); in probe_itpm() 943 rc = tpm_tis_read8(priv, TPM_INT_VECTOR(priv->locality), in tpm_tis_probe_irq_single() 946 tpm_tis_relinquish_locality(chip, priv->locality); in tpm_tis_probe_irq_single() 981 TPM_INT_VECTOR(priv->locality)); in tpm_tis_probe_irq_single() 985 tpm_tis_relinquish_locality(chip, priv->locality); in tpm_tis_probe_irq_single() 1000 rc = tpm_tis_read8(priv, TPM_INT_VECTOR(priv->locality), in tpm_tis_probe_irq() [all …]
|
| H A D | tpm_i2c_infineon.c | 61 int locality; member 323 tpm_dev.locality = loc; in check_locality() 372 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) in tpm_tis_i2c_status() 386 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); in tpm_tis_i2c_ready() 454 rc = iic_tpm_read(TPM_DATA_FIFO(tpm_dev.locality), in recv_data() 513 release_locality(chip, tpm_dev.locality, 0); in tpm_tis_i2c_recv() 552 rc = iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), in tpm_tis_i2c_send() 583 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send() 592 release_locality(chip, tpm_dev.locality, 0); in tpm_tis_i2c_send() 657 release_locality(chip, tpm_dev.locality, 1); in tpm_tis_i2c_init() [all …]
|
| H A D | tpm_crb_ffa.h | 15 int tpm_crb_ffa_start(int request_type, int locality); 19 static inline int tpm_crb_ffa_start(int request_type, int locality) { return 0; } in tpm_crb_ffa_start() argument
|
| H A D | tpm_tis_i2c_cr50.c | 393 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) in tpm_cr50_i2c_tis_status() 409 tpm_cr50_i2c_write(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)); in tpm_cr50_i2c_tis_set_ready() 439 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) { in tpm_cr50_i2c_get_burst_and_status() 473 u8 addr = TPM_I2C_DATA_FIFO(chip->locality); in tpm_cr50_i2c_tis_recv() 591 rc = tpm_cr50_i2c_write(chip, TPM_I2C_DATA_FIFO(chip->locality), in tpm_cr50_i2c_tis_send() 613 rc = tpm_cr50_i2c_write(chip, TPM_I2C_STS(chip->locality), tpm_go, in tpm_cr50_i2c_tis_send()
|
| H A D | tpm-chip.c | 51 chip->locality = rc; in tpm_request_locality() 62 rc = chip->ops->relinquish_locality(chip, chip->locality); in tpm_relinquish_locality() 66 chip->locality = -1; in tpm_relinquish_locality() 111 if (chip->locality == -1) { in tpm_chip_start() 382 chip->locality = -1; in tpm_chip_alloc()
|
| H A D | tpm_vtpm_proxy.c | 394 static int vtpm_proxy_request_locality(struct tpm_chip *chip, int locality) in vtpm_proxy_request_locality() argument 409 tpm_buf_append_u8(&buf, locality); in vtpm_proxy_request_locality() 418 locality = rc; in vtpm_proxy_request_locality() 425 locality = -1; in vtpm_proxy_request_locality() 430 return locality; in vtpm_proxy_request_locality()
|
| H A D | tpm_tis_i2c.c | 334 const u8 locality = 0; in tpm_tis_i2c_probe() local 354 ret = tpm_tis_i2c_write_bytes(&phy->priv, TPM_LOC_SEL, sizeof(locality), in tpm_tis_i2c_probe() 355 &locality, TPM_TIS_PHYS_8); in tpm_tis_i2c_probe()
|
| H A D | tpm_crb_ffa.c | 255 int tpm_crb_ffa_start(int request_type, int locality) in tpm_crb_ffa_start() argument 265 return __tpm_crb_ffa_send_recieve(CRB_FFA_START, request_type, locality, 0x00); in tpm_crb_ffa_start()
|
| H A D | tpm_tis_spi_cr50.c | 252 tpm_tis_write8(data, TPM_CR50_FW_VER(data->locality), 0); in cr50_print_fw_version() 256 tpm_tis_read_bytes(data, TPM_CR50_FW_VER(data->locality), 4, in cr50_print_fw_version()
|
| H A D | tpm_tis_core.h | 100 int locality; member
|
| H A D | tpm_crb.c | 474 rc = tpm_crb_ffa_start(CRB_FFA_START_TYPE_COMMAND, chip->locality); in crb_send() 496 rc = tpm_crb_ffa_start(CRB_FFA_START_TYPE_COMMAND, chip->locality); in crb_cancel()
|
| /linux-6.15/Documentation/filesystems/ext4/ |
| H A D | allocators.rst | 6 ext4 recognizes (better than ext3, anyway) that data locality is 11 but locality can increase the size of each transfer request while 12 reducing the total number of requests. This locality may also have the 45 maintain data locality. However, there is a deliberate quirk -- when a
|
| /linux-6.15/include/xen/interface/io/ |
| H A D | tpmif.h | 45 uint8_t locality; /* for the current request */ member
|
| /linux-6.15/Documentation/security/tpm/ |
| H A D | tpm_tis.rst | 28 locality 0 by setting the requestUse bit in the TPM_ACCESS register. The bit is 31 informs the chip that the locality has been relinquished.
|
| H A D | tpm_ffa_crb.rst | 30 and chip selects) away from the OS and can protect locality 4 from access 52 and locality request/relinquish it invokes the tpm_crb_ffa_start() funnction
|
| /linux-6.15/drivers/char/tpm/st33zp24/ |
| H A D | st33zp24.h | 20 int locality; member
|
| H A D | st33zp24.c | 126 return tpm_dev->locality; in request_locality() 138 return tpm_dev->locality; in request_locality() 472 tpm_dev->locality = LOCALITY0; in st33zp24_probe()
|
| /linux-6.15/Documentation/core-api/ |
| H A D | workqueue.rst | 106 things like CPU locality, concurrency limits, priority and more. To 192 possible. Unbound wq sacrifices locality but is useful for 367 level of locality in wq operations and work item execution. 374 cache locality. For example, if a workqueue is using the default affinity 428 locality while still being able to utilize other CPUs if necessary and 443 kernel, there exists a pronounced trade-off between locality and utilization 446 Higher locality leads to higher efficiency where more work is performed for 447 the same number of consumed CPU cycles. However, higher locality may also 469 execution locality matter between the issuer and ``kcryptd``. The following 497 locality. [all …]
|
| /linux-6.15/Documentation/mm/ |
| H A D | multigen_lru.rst | 18 * Try to profit from spatial locality 29 Exploiting spatial locality improves efficiency when gathering the 72 * Accesses exhibiting temporal locality 73 * Accesses not exhibiting temporal locality 189 ``lru_gen_look_around()`` exploits spatial locality to reduce the
|
| /linux-6.15/net/netfilter/ipvs/ |
| H A D | Kconfig | 179 tristate "locality-based least-connection scheduling" 181 The locality-based least-connection scheduling algorithm is for 193 tristate "locality-based least-connection with replication scheduling" 195 The locality-based least-connection with replication scheduling
|
| /linux-6.15/Documentation/filesystems/nfs/ |
| H A D | localio.rst | 30 beginning, the ultimate use case this locality makes possible is the 108 advantage of NFS client and server locality. Policy that initiates 118 allows the NFS client to negotiate and leverage locality without 119 requiring more elaborate modeling and discovery of such locality in a
|
| /linux-6.15/Documentation/arch/x86/ |
| H A D | orc-unwinder.rst | 44 instruction cache locality improvement: 3.2% .text savings almost 47 whose cache locality is borderline."
|
| /linux-6.15/include/linux/ |
| H A D | tpm.h | 203 int locality; member
|
| /linux-6.15/Documentation/admin-guide/mm/ |
| H A D | numaperf.rst | 14 under different domains, or "nodes", based on locality and performance
|
| /linux-6.15/Documentation/networking/ |
| H A D | scaling.rst | 236 CPU. If NUMA locality is not an issue, this could also be all CPUs in 316 application locality. This is accomplished by Receive Flow Steering 440 closest in cache locality.
|