Searched refs:circ (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/acpi/ |
| A D | acpi_dbg.c | 27 #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 …]
|
| /linux/drivers/char/hw_random/ |
| A D | cctrng.c | 64 struct circ_buf circ; member 205 return CIRC_SPACE(drvdata->circ.head, in circ_buf_space() 216 u32 *buf = (u32 *)drvdata->circ.buf; in cctrng_read() 229 cnt_w = CIRC_CNT_TO_END(drvdata->circ.head, in cctrng_read() 234 circ_idx_inc(&drvdata->circ.tail, size); in cctrng_read() 238 cnt_w = CIRC_CNT(drvdata->circ.head, in cctrng_read() 243 circ_idx_inc(&drvdata->circ.tail, size); in cctrng_read() 358 u32 *buf = (u32 *)drvdata->circ.buf; in cc_trng_compwork_handler() 360 buf[drvdata->circ.head] = cc_ioread(drvdata, in cc_trng_compwork_handler() 366 if (buf[drvdata->circ.head] == 0) { in cc_trng_compwork_handler() [all …]
|
| /linux/drivers/gpu/drm/msm/ |
| A D | msm_rd.c | 71 #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))
|
| /linux/tools/power/acpi/tools/acpidbg/ |
| A D | acpidbg.c | 41 #define circ_count(circ) \ argument 42 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 43 #define circ_count_to_end(circ) \ argument 44 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 45 #define circ_space(circ) \ argument 46 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 47 #define circ_space_to_end(circ) \ argument 48 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
|
Completed in 14 milliseconds