Lines Matching refs:cq_cb
43 struct hl_cb *cq_cb; member
1113 hl_cb_put(pend->ts_reg_info.cq_cb); in wake_pending_user_interrupt_threads()
3217 struct hl_cb *cq_cb, u32 cq_offset, u32 target_value) in set_record_cq_info() argument
3219 record->ts_reg_info.cq_cb = cq_cb; in set_record_cq_info()
3220 record->cq_kernel_addr = (u64 *) cq_cb->kernel_address + cq_offset; in set_record_cq_info()
3267 hl_cb_put(record->ts_reg_info.cq_cb); in unregister_timestamp_node()
3311 set_record_cq_info(req_offset_record, data->cq_cb, data->cq_offset, in ts_get_and_handle_kernel_record()
3329 data->cq_cb = hl_cb_get(data->mmg, data->cq_handle); in _hl_interrupt_ts_reg_ioctl()
3330 if (!data->cq_cb) { in _hl_interrupt_ts_reg_ioctl()
3336 if (((u64 *) data->cq_cb->kernel_address + data->cq_offset) >= in _hl_interrupt_ts_reg_ioctl()
3337 ((u64 *) data->cq_cb->kernel_address + (data->cq_cb->size / sizeof(u64)))) { in _hl_interrupt_ts_reg_ioctl()
3382 hl_cb_put(data->cq_cb); in _hl_interrupt_ts_reg_ioctl()
3402 data->cq_cb = hl_cb_get(data->mmg, data->cq_handle); in _hl_interrupt_wait_ioctl()
3403 if (!data->cq_cb) { in _hl_interrupt_wait_ioctl()
3409 if (((u64 *) data->cq_cb->kernel_address + data->cq_offset) >= in _hl_interrupt_wait_ioctl()
3410 ((u64 *) data->cq_cb->kernel_address + (data->cq_cb->size / sizeof(u64)))) { in _hl_interrupt_wait_ioctl()
3422 pend->cq_kernel_addr = (u64 *) data->cq_cb->kernel_address + data->cq_offset; in _hl_interrupt_wait_ioctl()
3495 hl_cb_put(data->cq_cb); in _hl_interrupt_wait_ioctl()
3501 hl_cb_put(data->cq_cb); in _hl_interrupt_wait_ioctl()