Searched refs:buf_count (Results 1 – 5 of 5) sorted by relevance
66 size_t buf_count; member291 struct kbase_hwcnt_backend_csf_if_ctx *ctx, u32 buf_count, in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc() argument323 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()
135 struct kbase_hwcnt_backend_csf_if_ctx *ctx, u32 buf_count,
329 uint32_t buf_count = 0, size = 0, i = 0; in enet_prepare_transmission_descriptors() local339 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()
1097 uint32_t buf_count =0, size=0,i=0; in ETH_Prepare_Transmit_Descriptors() local1111 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()
359 unsigned int buf_count; member