Home
last modified time | relevance | path

Searched refs:buf_count (Results 1 – 5 of 5) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_hwcnt_backend_csf_if_fw.c66 size_t buf_count; member
291 struct kbase_hwcnt_backend_csf_if_ctx *ctx, u32 buf_count, in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc() argument
323 if (!is_power_of_2(buf_count)) in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc()
334 num_pages = PFN_UP(fw_ctx->buf_bytes * buf_count); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc()
375 fw_ring_buf->buf_count = buf_count; in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc()
430 ring_buf_index_first = buf_index_first & (fw_ring_buf->buf_count - 1); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_sync()
432 (buf_index_last - 1) & (fw_ring_buf->buf_count - 1); in kbasep_hwcnt_backend_csf_if_fw_ring_buf_sync()
543 prfcnt_config = fw_ring_buf->buf_count; in kbasep_hwcnt_backend_csf_if_fw_dump_enable()
Dmali_kbase_hwcnt_backend_csf_if.h135 struct kbase_hwcnt_backend_csf_if_ctx *ctx, u32 buf_count,
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_enet_drv.c329 uint32_t buf_count = 0, size = 0, i = 0; in enet_prepare_transmission_descriptors() local
339 buf_count = frame_length / tx_buff_size; in enet_prepare_transmission_descriptors()
341 buf_count++; in enet_prepare_transmission_descriptors()
344 buf_count = 1; in enet_prepare_transmission_descriptors()
347 if (buf_count == 1) { in enet_prepare_transmission_descriptors()
367 for (i = 0; i < buf_count; i++) { in enet_prepare_transmission_descriptors()
380 if (i == (buf_count - 1)) { in enet_prepare_transmission_descriptors()
383 size = frame_length - (buf_count - 1) * tx_buff_size; in enet_prepare_transmission_descriptors()
/device/soc/st/stm32f407zg/uniproton/board/common/STM32F4x7_ETH_Driver/src/
Dstm32f4x7_eth.c1097 uint32_t buf_count =0, size=0,i=0; in ETH_Prepare_Transmit_Descriptors() local
1111 buf_count = FrameLength/ETH_TX_BUF_SIZE; in ETH_Prepare_Transmit_Descriptors()
1112 if (FrameLength%ETH_TX_BUF_SIZE) buf_count++; in ETH_Prepare_Transmit_Descriptors()
1114 else buf_count =1; in ETH_Prepare_Transmit_Descriptors()
1116 if (buf_count ==1) in ETH_Prepare_Transmit_Descriptors()
1128 for (i=0; i< buf_count; i++) in ETH_Prepare_Transmit_Descriptors()
1139 if (i== (buf_count-1)) in ETH_Prepare_Transmit_Descriptors()
1143 size = FrameLength - (buf_count-1)*ETH_TX_BUF_SIZE; in ETH_Prepare_Transmit_Descriptors()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/frame_provider/tvin/
Dtvin.h359 unsigned int buf_count; member