Home
last modified time | relevance | path

Searched full:locality (Results 1 – 25 of 127) sorted by relevance

123456

/linux/Documentation/driver-api/cxl/platform/acpi/
H A Dslit.rst4 SLIT - System Locality Information Table
7 The system locality information table provides "abstract distances" between
16 Signature : "SLIT" [System Locality Information Table]
18 Locality 0 : 10 20 20 30
19 Locality 1 : 20 10 30 20
20 Locality 2 : FF FF 0A FF
21 Locality 3 : FF FF FF 0A
H A Dhmat.rst13 The System Locality Latency and Bandwidth Information records latency and
/linux/include/linux/
H A Dtpm_svsm.h60 * @locality: The locality
69 * 0x004     1          Locality (must-be-0)
78 u8 locality; member
103 * @locality: The locality
110 svsm_vtpm_cmd_request_fill(struct svsm_vtpm_cmd_request *req, u8 locality, in svsm_vtpm_cmd_request_fill() argument
117 req->locality = locality; in svsm_vtpm_cmd_request_fill()
/linux/drivers/char/tpm/
H A Dtpm_crb_ffa.c81 * Notifies the TPM service that a TPM command or TPM locality request is
90 * 1: Notifies TPM that a locality request is ready to be processed
91 * w6: TPM locality, one of 0..4
92 * -If the start function qualifier is 0, identifies the locality
94 * -If the start function qualifier is 1, identifies the locality
95 * of the locality request
106 * CRB_FFA_INV_CRB_CTRL_DATA: CRB control data or locality control
107 * data at the given TPM locality is not valid
108 * CRB_FFA_DENIED: the TPM has previously disabled locality requests and
109 * command processing at the given locality
[all …]
H A Dtpm_tis_core.c163 priv->locality = l; in check_locality()
251 rc = tpm_tis_read8(priv, TPM_STS(priv->locality), &status); in tpm_tis_status()
259 * returning 0xff because the locality hasn't been in tpm_tis_status()
285 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); in tpm_tis_ready()
301 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); in get_burstcount()
332 rc = tpm_tis_read_bytes(priv, TPM_DATA_FIFO(priv->locality), in recv_data()
415 tpm_tis_write8(priv, TPM_STS(priv->locality), in tpm_tis_recv()
457 rc = tpm_tis_write_bytes(priv, TPM_DATA_FIFO(priv->locality), in tpm_tis_send_data()
480 rc = tpm_tis_write8(priv, TPM_DATA_FIFO(priv->locality), buf[count]); in tpm_tis_send_data()
516 tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &int_mask); in __tpm_tis_disable_interrupts()
[all …]
H A Dtpm_i2c_infineon.c61 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()
400 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) in get_burstcount()
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()
553 rc = iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), in tpm_tis_i2c_send()
576 iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), &(buf[count]), 1); in tpm_tis_i2c_send()
584 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send()
[all …]
H A Dtpm_tis_i2c_cr50.c285 * tpm_cr50_check_locality() - Verify if required TPM locality is active.
287 * @loc: Locality to be verified
310 * tpm_cr50_release_locality() - Release TPM locality.
312 * @loc: Locality to be released
341 * tpm_cr50_request_locality() - Request TPM locality.
343 * @loc: Locality to be requested.
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()
[all …]
H A Dtpm_tis_i2c.c80 * For most addresses this can be done by simply stripping off the locality
86 * Locality information is ignored, since this driver assumes exclusive access
87 * to the TPM and always uses locality 0.
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 Dtpm_crb_ffa.h14 int tpm_crb_ffa_start(int request_type, int locality);
17 static inline int tpm_crb_ffa_start(int request_type, int locality) { return 0; } in tpm_crb_ffa_start() argument
H A Dtpm_vtpm_proxy.c396 static int vtpm_proxy_request_locality(struct tpm_chip *chip, int locality) in vtpm_proxy_request_locality() argument
411 tpm_buf_append_u8(&buf, locality); in vtpm_proxy_request_locality()
415 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to set locality"); in vtpm_proxy_request_locality()
420 locality = rc; in vtpm_proxy_request_locality()
427 locality = -1; in vtpm_proxy_request_locality()
432 return locality; in vtpm_proxy_request_locality()
H A Dtpm_crb.c228 return __crb_go_idle(dev, priv, chip->locality); in crb_go_idle()
281 return __crb_cmd_ready(dev, priv, chip->locality); in crb_cmd_ready()
458 __crb_cmd_ready(&chip->dev, priv, chip->locality); in crb_send()
485 rc = tpm_crb_ffa_start(CRB_FFA_START_TYPE_COMMAND, chip->locality); in crb_send()
507 rc = tpm_crb_ffa_start(CRB_FFA_START_TYPE_COMMAND, chip->locality); in crb_cancel()
/linux/Documentation/driver-api/cxl/platform/example-configurations/
H A Dflexible.rst268 Signature : "SLIT" [System Locality Information Table]
270 Locality 0 : 10 20 20 20 20 20 20 20
271 Locality 1 : FF 0A FF FF FF FF FF FF
272 Locality 2 : FF FF 0A FF FF FF FF FF
273 Locality 3 : FF FF FF 0A FF FF FF FF
274 Locality 4 : FF FF FF FF 0A FF FF FF
275 Locality 5 : FF FF FF FF FF 0A FF FF
276 Locality 6 : FF FF FF FF FF FF 0A FF
277 Locality 7 : FF FF FF FF FF FF FF 0A
H A Dmulti-dev-per-hb.rst74 Signature : "SLIT" [System Locality Information Table]
76 Locality 0 : 10 20
77 Locality 1 : FF 0A
H A Dhb-interleave.rst85 Signature : "SLIT" [System Locality Information Table]
87 Locality 0 : 10 20
88 Locality 1 : FF 0A
/linux/Documentation/security/tpm/
H A Dtpm_tis.rst28 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.
36 - Locality 0 has the lowest priority.
37 - Locality 5 has the highest priority.
/linux/Documentation/filesystems/ext4/
H A Dallocators.rst6 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/drivers/char/tpm/st33zp24/
H A Dst33zp24.c101 * if the locality is active
126 return tpm_dev->locality; in request_locality()
135 /* Request locality is usually effective after the request */ in request_locality()
138 return tpm_dev->locality; in request_locality()
142 /* could not get locality */ in request_locality()
472 tpm_dev->locality = LOCALITY0; in st33zp24_probe()
H A Dst33zp24.h20 int locality; member
/linux/Documentation/mm/
H A Dmultigen_lru.rst18 * 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/net/netfilter/ipvs/
H A DKconfig179 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/lib/
H A Ddhry.h101 * (distribution of statements, operand types and locality)
172 * - operand locality
281 * 4. Operand Locality:
H A Dsmp_processor_id.c29 * It is valid to assume CPU-locality during early bootup: in check_preemption_disabled()
/linux/arch/sh/mm/
H A Dsram.c27 * This is a global pool, we don't care about node locality. in sram_pool_init()
/linux/fs/xfs/libxfs/
H A Dxfs_alloc.c1046 /* deactivate a bnobt cursor outside of locality range */ in xfs_alloc_cur_check()
1062 * the candidate extent size. Compare locality for near allocation mode. in xfs_alloc_cur_check()
1071 * Deactivate a bnobt cursor with worse locality than the current best. in xfs_alloc_cur_check()
1131 * Locality allocation lookup algorithm. This expects a cntbt cursor and uses
1132 * bno optimized lookup to search for extents with ideal size and locality.
1148 /* locality optimized lookup */ in xfs_alloc_cntbt_iter()
1189 * than absolute best locality. in xfs_alloc_cntbt_iter()
1480 * ideal locality based on the NEAR mode ->agbno locality hint.
1509 * right and lookup the closest extent to the locality hint for each in xfs_alloc_ag_vextent_locality()
1512 * locality. Otherwise the search continues until the cntbt cursor runs in xfs_alloc_ag_vextent_locality()
[all …]
/linux/Documentation/admin-guide/mm/
H A Dnumaperf.rst5 NUMA Locality
14 under different domains, or "nodes", based on locality and performance

123456