/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_bitmap.c | 42 --bitmap->avail; in _mali_osk_bitmap_alloc() 90 bitmap->avail -= cnt; in _mali_osk_bitmap_alloc_range() 102 return bitmap->avail; in _mali_osk_bitmap_avail() 113 bitmap->avail += cnt; in _mali_osk_bitmap_free_range() 125 bitmap->avail = num - reserve; in _mali_osk_bitmap_init()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_bitmap.c | 45 --bitmap->avail; in _mali_osk_bitmap_alloc() 91 bitmap->avail -= cnt; in _mali_osk_bitmap_alloc_range() 103 return bitmap->avail; in _mali_osk_bitmap_avail() 114 bitmap->avail += cnt; in _mali_osk_bitmap_free_range() 126 bitmap->avail = num - reserve; in _mali_osk_bitmap_init()
|
/device/qemu/riscv32_virt/liteos_m/board/driver/ |
D | virtnet.c | 233 nic->dev.vq[0].avail->ring[nic->dev.vq[0].avail->index % nic->dev.vq[0].qsz] = pc->id; in ReleaseRxEntry() 235 nic->dev.vq[0].avail->index++; in ReleaseRxEntry() 263 q->avail->ring[i] = i; in ConfigRxBuffer() 381 trans->avail->ring[trans->avail->index % trans->qsz] = head; in LowLevelOutput() 383 trans->avail->index++; in LowLevelOutput() 426 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtnetRxHandle() 429 q->avail->flag = 0; in VirtnetRxHandle() 435 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtnetRxHandle() 456 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtnetTxHandle() 463 q->avail->flag = 0; in VirtnetTxHandle() [all …]
|
D | virtinput.c | 122 q->avail->ring[i] = i; in PopulateEventQ() 125 in->dev.vq[0].avail->index += in->dev.vq[0].qsz; in PopulateEventQ() 161 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtinHandleEv() 171 q->avail->ring[(q->avail->index + add++) % q->qsz] = idx; in VirtinHandleEv() 175 q->avail->index += add; in VirtinHandleEv() 176 q->avail->flag = 0; in VirtinHandleEv()
|
D | virtgpu.c | 185 q->avail->ring[q->avail->index % q->qsz] = 0; in NotifyAndWaitResponse() 187 q->avail->index++; in NotifyAndWaitResponse() 253 if (abs(q->avail->index - (volatile uint16_t)q->used->index) >= VIRTQ_CONTROL_QSZ) { in RequestNoResponse() 262 q->avail->ring[q->avail->index % q->qsz] = head; in RequestNoResponse() 264 q->avail->index++; in RequestNoResponse() 551 gpu->dev.vq[i].avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtgpuInitDev()
|
D | virtmmio.c | 164 WriteQueueAddr(u32_to_u64(q->avail), dev, VIRTMMIO_REG_QUEUEDRIVERLOW); in CompleteConfigQueue() 177 q->avail = (struct VirtqAvail *)base; in CalculateQueueAddr()
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | hnd_pktpool.c | 340 pktp->avail++; in BCMATTACHFN() 351 pktp->n_pkts = pktp->avail; in BCMATTACHFN() 397 pktp->avail -= freed; in BCMATTACHFN() 398 ASSERT(pktp->avail == 0); in BCMATTACHFN() 504 if (pktp->avail < free_cnt) { in pktpool_reclaim() 505 free_cnt = pktp->avail; in pktpool_reclaim() 559 pktp->avail--; in pktpool_reclaim() 623 pktp->avail -= freed; in pktpool_empty() 624 ASSERT(pktp->avail == 0); in pktpool_empty() 640 int avail = pktpool->avail; in BCMPOSTTRAPFN() local [all …]
|
/device/qemu/drivers/virtio/ |
D | virtnet.c | 187 q->avail->ring[i] = i; in PopulateRxBuffer() 252 trans->avail->ring[trans->avail->index % trans->qsz] = head; in LowLevelOutput() 254 trans->avail->index++; in LowLevelOutput() 290 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtnetRxHandle() 293 q->avail->flag = 0; in VirtnetRxHandle() 299 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtnetRxHandle() 314 q->avail->ring[(q->avail->index + add++) % q->qsz] = e->id; in VirtnetRxHandle() 318 q->avail->index += add; in VirtnetRxHandle() 331 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtnetTxHandle() 338 q->avail->flag = 0; in VirtnetTxHandle() [all …]
|
D | virtinput.c | 120 q->avail->ring[i] = i; in PopulateEventQ() 123 in->dev.vq[0].avail->index += in->dev.vq[0].qsz; in PopulateEventQ() 149 q->avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtinHandleEv() 158 q->avail->ring[(q->avail->index + add++) % q->qsz] = idx; in VirtinHandleEv() 162 q->avail->index += add; in VirtinHandleEv() 163 q->avail->flag = 0; in VirtinHandleEv()
|
D | virtgpu.c | 184 q->avail->ring[q->avail->index % q->qsz] = 0; in NotifyAndWaitResponse() 186 q->avail->index++; in NotifyAndWaitResponse() 252 if (abs(q->avail->index - (volatile uint16_t)q->used->index) >= VIRTQ_CONTROL_QSZ) { in RequestNoResponse() 261 q->avail->ring[q->avail->index % q->qsz] = head; in RequestNoResponse() 263 q->avail->index++; in RequestNoResponse() 542 gpu->dev.vq[i].avail->flag = VIRTQ_AVAIL_F_NO_INTERRUPT; in VirtgpuInitDev()
|
D | virtrng.c | 73 q->avail->ring[q->avail->index % q->qsz] = 0; in VirtrngIO() 75 q->avail->index++; in VirtrngIO()
|
D | virtmmio.c | 156 WriteQueueAddr((uint64_t)q->avail, dev, VIRTMMIO_REG_QUEUEDRIVERLOW); in CompleteConfigQueue() 169 q->avail = (struct VirtqAvail *)base; in CalculateQueueAddr()
|
D | virtmmio.h | 117 struct VirtqAvail *avail; member
|
D | virtblock.c | 158 q->avail->ring[q->avail->index % q->qsz] = 0; in VirtblkIO() 160 q->avail->index++; in VirtblkIO()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | hnd_pktpool.c | 282 pktp->avail++; in pktpool_init() 290 pktp->n_pkts = pktp->avail; in pktpool_init() 335 pktp->avail -= freed; in pktpool_deinit() 336 ASSERT(pktp->avail == 0); in pktpool_deinit() 416 if (pktp->avail < free_cnt) { in pktpool_reclaim() 417 free_cnt = pktp->avail; in pktpool_reclaim() 459 pktp->avail -= freed; in pktpool_reclaim() 511 pktp->avail -= freed; in pktpool_empty() 512 ASSERT(pktp->avail == 0); in pktpool_empty() 530 if (pktp->avail == 0) in pktpool_deq() [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | hnd_pktpool.c | 275 pktp->avail++; in pktpool_init() 283 pktp->n_pkts = pktp->avail; in pktpool_init() 327 pktp->avail -= freed; in pktpool_deinit() 328 ASSERT(pktp->avail == 0); in pktpool_deinit() 410 if (pktp->avail < free_cnt) { in pktpool_reclaim() 411 free_cnt = pktp->avail; in pktpool_reclaim() 452 pktp->avail -= freed; in pktpool_reclaim() 505 pktp->avail -= freed; in pktpool_empty() 506 ASSERT(pktp->avail == 0); in pktpool_empty() 524 if (pktp->avail == 0) { in pktpool_deq() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | hnd_pktpool.c | 276 pktp->avail++; in pktpool_init() 284 pktp->len = pktp->avail; in pktpool_init() 329 pktp->avail -= freed; in pktpool_deinit() 330 ASSERT(pktp->avail == 0); in pktpool_deinit() 395 if (pktp->avail == 0) in pktpool_deq() 406 pktp->avail--; in pktpool_deq() 420 pktp->avail++; in pktpool_enq() 421 ASSERT(pktp->avail <= pktp->len); in pktpool_enq() 804 int avail; in pktpool_avail_notify() local 814 avail = pktp->avail; in pktpool_avail_notify() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/cimax/ |
D | dvb_ringbuffer.c | 88 ssize_t avail; in dvb_ringbuffer_avail() local 94 avail = smp_load_acquire(&rbuf->pwrite) - rbuf->pread; in dvb_ringbuffer_avail() 95 if (avail < 0) in dvb_ringbuffer_avail() 96 avail += rbuf->size; in dvb_ringbuffer_avail() 97 return avail; in dvb_ringbuffer_avail()
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/ |
D | rwnx_defs.h | 62 int avail, last_idx; member
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/ |
D | hnd_pktpool.h | 112 uint16 avail; /**< number of packets in pool's free list */ member 168 #define pktpool_avail(pp) (POOLPTR(pp)->avail)
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
D | hnd_pktpool.h | 117 uint16 avail; /**< number of packets in pool's free list */ member 176 #define pktpool_avail(pp) (POOLPTR(pp)->avail)
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/ |
D | hnd_pktpool.h | 119 uint16 avail; /**< number of packets in pool's free list */ member 186 #define pktpool_avail(pp) (POOLPTR(pp)->avail)
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/ |
D | hal_trace.c | 1367 uint32_t avail; in hal_trace_output() local 1374 avail = TRACE_BUF_SIZE - (p_trace->wptr - p_trace->rptr) - 1; in hal_trace_output() 1376 avail = (p_trace->rptr - p_trace->wptr) - 1; in hal_trace_output() 1387 if (avail < out_len) { in hal_trace_output() 1432 if (avail < out_len) { in hal_trace_output() 1434 } else if (avail - out_len < TRACE_NEAR_FULL_THRESH) { in hal_trace_output() 3882 uint32_t avail = 0; in hal_trace_output_crlf() local 3887 avail = TRACE_BUF_SIZE - (p_trace->wptr - p_trace->rptr) - 1; in hal_trace_output_crlf() 3889 avail = (p_trace->rptr - p_trace->wptr) - 1; in hal_trace_output_crlf() 3892 if (avail < (len+1024)) { in hal_trace_output_crlf() [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
D | mali_osk_types.h | 441 u32 avail; member
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
D | mali_osk_types.h | 461 u32 avail; member
|