Home
last modified time | relevance | path

Searched refs:queue_state (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Dgfx_v7_0.c3307 struct hqd_registers queue_state; member
3424 mqd->queue_state.cp_hqd_pq_doorbell_control = in gfx_v7_0_cp_compute_resume()
3427 mqd->queue_state.cp_hqd_pq_doorbell_control |= CP_HQD_PQ_DOORBELL_CONTROL__DOORBELL_EN_MASK; in gfx_v7_0_cp_compute_resume()
3429 mqd->queue_state.cp_hqd_pq_doorbell_control &= ~CP_HQD_PQ_DOORBELL_CONTROL__DOORBELL_EN_MASK; in gfx_v7_0_cp_compute_resume()
3431 mqd->queue_state.cp_hqd_pq_doorbell_control); in gfx_v7_0_cp_compute_resume()
3434 mqd->queue_state.cp_hqd_dequeue_request = 0; in gfx_v7_0_cp_compute_resume()
3435 mqd->queue_state.cp_hqd_pq_rptr = 0; in gfx_v7_0_cp_compute_resume()
3436 mqd->queue_state.cp_hqd_pq_wptr= 0; in gfx_v7_0_cp_compute_resume()
3444 WREG32(mmCP_HQD_DEQUEUE_REQUEST, mqd->queue_state.cp_hqd_dequeue_request); in gfx_v7_0_cp_compute_resume()
3445 WREG32(mmCP_HQD_PQ_RPTR, mqd->queue_state.cp_hqd_pq_rptr); in gfx_v7_0_cp_compute_resume()
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dcik.c4912 struct hqd_registers queue_state; member
5028 mqd->queue_state.cp_hqd_pq_doorbell_control = in cik_cp_compute_resume()
5031 mqd->queue_state.cp_hqd_pq_doorbell_control |= DOORBELL_EN; in cik_cp_compute_resume()
5033 mqd->queue_state.cp_hqd_pq_doorbell_control &= ~DOORBELL_EN; in cik_cp_compute_resume()
5035 mqd->queue_state.cp_hqd_pq_doorbell_control); in cik_cp_compute_resume()
5038 mqd->queue_state.cp_hqd_dequeue_request = 0; in cik_cp_compute_resume()
5039 mqd->queue_state.cp_hqd_pq_rptr = 0; in cik_cp_compute_resume()
5040 mqd->queue_state.cp_hqd_pq_wptr= 0; in cik_cp_compute_resume()
5048 WREG32(CP_HQD_DEQUEUE_REQUEST, mqd->queue_state.cp_hqd_dequeue_request); in cik_cp_compute_resume()
5049 WREG32(CP_HQD_PQ_RPTR, mqd->queue_state.cp_hqd_pq_rptr); in cik_cp_compute_resume()
[all …]
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.h773 int queue_state; member
Ds2io.c512 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_STOP; in s2io_stop_all_tx_queue()
520 sp->mac_control.fifos[fifo_no].queue_state = in s2io_stop_tx_queue()
532 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; in s2io_start_all_tx_queue()
543 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; in s2io_wake_all_tx_queue()
555 } else if (cnt && (fifo->queue_state == FIFO_QUEUE_STOP)) { in s2io_wake_tx_queue()
557 fifo->queue_state = FIFO_QUEUE_START; in s2io_wake_tx_queue()
4099 } else if (unlikely(fifo->queue_state == FIFO_QUEUE_STOP)) { in s2io_xmit()