Home
last modified time | relevance | path

Searched refs:circ (Results 1 – 3 of 3) sorted by relevance

/drivers/acpi/
A Dacpi_dbg.c27 #define circ_count(circ) \ argument
28 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
29 #define circ_count_to_end(circ) \ argument
30 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
31 #define circ_space(circ) \ argument
32 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
33 #define circ_space_to_end(circ) \ argument
34 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
97 if (!(acpi_aml_io.flags & flag) && circ_count(circ)) in __acpi_aml_readable()
212 if (!__acpi_aml_writable(circ, flag)) { in acpi_aml_lock_write()
[all …]
/drivers/char/hw_random/
A Dcctrng.c64 struct circ_buf circ; member
204 return CIRC_SPACE(drvdata->circ.head, in circ_buf_space()
215 u32 *buf = (u32 *)drvdata->circ.buf; in cctrng_read()
228 cnt_w = CIRC_CNT_TO_END(drvdata->circ.head, in cctrng_read()
233 circ_idx_inc(&drvdata->circ.tail, size); in cctrng_read()
237 cnt_w = CIRC_CNT(drvdata->circ.head, in cctrng_read()
242 circ_idx_inc(&drvdata->circ.tail, size); in cctrng_read()
357 u32 *buf = (u32 *)drvdata->circ.buf; in cc_trng_compwork_handler()
359 buf[drvdata->circ.head] = cc_ioread(drvdata, in cc_trng_compwork_handler()
365 if (buf[drvdata->circ.head] == 0) { in cc_trng_compwork_handler()
[all …]
/drivers/gpu/drm/msm/
A Dmsm_rd.c71 #define circ_count(circ) \ argument
72 (CIRC_CNT((circ)->head, (circ)->tail, BUF_SZ))
73 #define circ_count_to_end(circ) \ argument
74 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ))
76 #define circ_space(circ) \ argument
77 (CIRC_SPACE((circ)->head, (circ)->tail, BUF_SZ))
78 #define circ_space_to_end(circ) \ argument
79 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, BUF_SZ))

Completed in 8 milliseconds