| /drivers/gpu/drm/radeon/ |
| A D | radeon_semaphore.c | 40 if (*semaphore == NULL) { in radeon_semaphore_create() 46 kfree(*semaphore); in radeon_semaphore_create() 47 *semaphore = NULL; in radeon_semaphore_create() 50 (*semaphore)->waiters = 0; in radeon_semaphore_create() 51 (*semaphore)->gpu_addr = radeon_sa_bo_gpu_addr((*semaphore)->sa_bo); in radeon_semaphore_create() 66 --semaphore->waiters; in radeon_semaphore_emit_signal() 83 ++semaphore->waiters; in radeon_semaphore_emit_wait() 96 if (semaphore == NULL || *semaphore == NULL) { in radeon_semaphore_free() 99 if ((*semaphore)->waiters > 0) { in radeon_semaphore_free() 104 kfree(*semaphore); in radeon_semaphore_free() [all …]
|
| A D | radeon_test.c | 318 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync() local 321 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync() 332 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync() 344 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync() 363 radeon_semaphore_emit_signal(rdev, ringB->idx, semaphore); in radeon_test_ring_sync() 394 radeon_semaphore_free(rdev, &semaphore, NULL); in radeon_test_ring_sync() 412 struct radeon_semaphore *semaphore = NULL; in radeon_test_ring_sync2() local 416 r = radeon_semaphore_create(rdev, &semaphore); in radeon_test_ring_sync2() 427 radeon_semaphore_emit_wait(rdev, ringA->idx, semaphore); in radeon_test_ring_sync2() 439 radeon_semaphore_emit_wait(rdev, ringB->idx, semaphore); in radeon_test_ring_sync2() [all …]
|
| A D | radeon_sync.c | 130 struct radeon_semaphore *semaphore; in radeon_sync_rings() local 149 r = radeon_semaphore_create(rdev, &semaphore); in radeon_sync_rings() 153 sync->semaphores[count++] = semaphore; in radeon_sync_rings() 161 if (!radeon_semaphore_emit_signal(rdev, i, semaphore)) { in radeon_sync_rings() 171 if (!radeon_semaphore_emit_wait(rdev, ring, semaphore)) { in radeon_sync_rings()
|
| A D | uvd_v3_1.c | 41 struct radeon_semaphore *semaphore, in uvd_v3_1_semaphore_emit() argument 44 uint64_t addr = semaphore->gpu_addr; in uvd_v3_1_semaphore_emit()
|
| A D | uvd_v2_2.c | 74 struct radeon_semaphore *semaphore, in uvd_v2_2_semaphore_emit() argument 77 uint64_t addr = semaphore->gpu_addr; in uvd_v2_2_semaphore_emit()
|
| A D | radeon_asic.h | 80 struct radeon_semaphore *semaphore, 326 struct radeon_semaphore *semaphore, 332 struct radeon_semaphore *semaphore, 792 struct radeon_semaphore *semaphore, 812 struct radeon_semaphore *semaphore, 946 struct radeon_semaphore *semaphore, 956 struct radeon_semaphore *semaphore, 962 struct radeon_semaphore *semaphore,
|
| /drivers/input/serio/ |
| A D | hp_sdc_mlc.c | 193 if (priv->trans.act.semaphore != &mlc->csem) in hp_sdc_mlc_cts() 203 priv->trans.act.semaphore = &mlc->csem; in hp_sdc_mlc_cts() 217 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_cts() 245 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_out() 286 priv->trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_out() 316 hp_sdc_mlc_priv.trans.act.semaphore = &mlc->osem; in hp_sdc_mlc_init()
|
| A D | hp_sdc.c | 201 if (curr->act.semaphore) in hp_sdc_take() 202 up(curr->act.semaphore); in hp_sdc_take() 328 if (curr->act.semaphore) in hp_sdc_tasklet() 329 up(curr->act.semaphore); in hp_sdc_tasklet() 566 up(curr->act.semaphore); in hp_sdc_put() 833 struct semaphore s_sync; in hp_sdc_init() 903 t_sync.act.semaphore = &s_sync; in hp_sdc_init() 998 struct semaphore tq_init_sem; in hp_sdc_register() 1039 tq_init.act.semaphore = &tq_init_sem; in hp_sdc_register()
|
| /drivers/acpi/acpica/ |
| A D | exsystem.c | 31 acpi_status acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout) in acpi_ex_system_wait_semaphore() argument 37 status = acpi_os_wait_semaphore(semaphore, 1, ACPI_DO_NOT_WAIT); in acpi_ex_system_wait_semaphore() 47 status = acpi_os_wait_semaphore(semaphore, 1, timeout); in acpi_ex_system_wait_semaphore()
|
| /drivers/input/misc/ |
| A D | hp_sdc_rtc.c | 58 static struct semaphore i8042tregs; 68 struct semaphore tsem; in hp_sdc_rtc_do_read_bbrtc() 87 t.act.semaphore = &tsem; in hp_sdc_rtc_do_read_bbrtc() 159 t.act.semaphore = &i8042tregs; in hp_sdc_rtc_read_i8042timer()
|
| /drivers/md/dm-vdo/indexer/ |
| A D | sparse-cache.c | 145 struct semaphore lock; 147 struct semaphore wait; 178 static inline void __down(struct semaphore *semaphore) in __down() argument 184 while (down_interruptible(semaphore) != 0) { in __down()
|
| /drivers/staging/vc04_services/interface/vchiq_arm/ |
| A D | vchiq_arm.h | 48 struct semaphore free_fragments_sema; 49 struct semaphore free_fragments_mutex;
|
| /drivers/md/bcache/ |
| A D | bcache.h | 311 struct semaphore sb_write_mutex; 343 struct semaphore in_flight; 541 struct semaphore sb_write_mutex; 667 struct semaphore moving_in_flight; 684 struct semaphore uuid_write_mutex;
|
| /drivers/acpi/ |
| A D | osl.c | 1228 struct semaphore *sem = NULL; in acpi_os_create_semaphore() 1230 sem = acpi_os_allocate_zeroed(sizeof(struct semaphore)); in acpi_os_create_semaphore() 1253 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_delete_semaphore() 1273 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_wait_semaphore() 1317 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_signal_semaphore()
|
| /drivers/net/ethernet/huawei/hinic/ |
| A D | hinic_hw_mbox.h | 92 struct semaphore mbox_send_sem; 93 struct semaphore msg_send_sem;
|
| A D | hinic_hw_io.h | 47 struct semaphore idx_lock;
|
| A D | hinic_dev.h | 91 struct semaphore mgmt_lock;
|
| /drivers/gpu/drm/i915/ |
| A D | i915_request.c | 133 i915_sw_fence_fini(&rq->semaphore); in i915_fence_release() 658 i915_sw_fence_signaled(&request->semaphore)) in __i915_request_submit() 810 struct i915_request *rq = container_of(fence, typeof(*rq), semaphore); in semaphore_notify() 879 i915_sw_fence_init(&rq->semaphore, semaphore_notify); in __i915_request_ctor() 968 i915_sw_fence_reinit(&i915_request_get(rq)->semaphore); in __i915_request_create() 1240 wait = &to->semaphore; in emit_semaphore_wait() 1818 i915_sw_fence_commit(&rq->semaphore); in __i915_request_queue_bh() 2165 if (!i915_sw_fence_signaled(&rq->semaphore)) in run_status()
|
| /drivers/net/wireless/st/cw1200/ |
| A D | scan.h | 22 struct semaphore lock;
|
| /drivers/scsi/qla4xxx/ |
| A D | ql4_dbg.c | 71 (uint8_t) offsetof(struct isp_reg, u1.isp4022.semaphore), in qla4xxx_dump_registers() 72 readw(&ha->reg->u1.isp4022.semaphore)); in qla4xxx_dump_registers()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_guc_submit_types.h | 39 u32 semaphore; member
|
| /drivers/platform/x86/amd/hsmp/ |
| A D | hsmp.h | 45 struct semaphore hsmp_sem;
|
| /drivers/gpu/drm/ci/xfails/ |
| A D | i915-tgl-skips.txt | 48 perf_pmu@semaphore-wait-idle
|
| A D | i915-tgl-fails.txt | 19 perf_pmu@semaphore-wait-idle,Timeout
|
| /drivers/infiniband/core/ |
| A D | iwpm_util.h | 71 struct semaphore sem;
|