Home
last modified time | relevance | path

Searched refs:packet_size (Results 1 – 13 of 13) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/
Dswdmx_ts_parser.c32 tsp->packet_size = 188; in swdmx_ts_parser_new()
51 tsp->packet_size = size; in swdmx_ts_parser_set_packet_size()
96 pkt.packet_len = tsp->packet_size; in ts_packet()
153 while (left >= tsp->packet_size) { in swdmx_ts_parser_run()
157 p += tsp->packet_size; in swdmx_ts_parser_run()
158 left -= tsp->packet_size; in swdmx_ts_parser_run()
Dswdemux_internal.h60 SWDMX_Int packet_size; /**< Packet size.*/ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/
Dcmd_loop.c601 … if (ctx->status >= CMD_RX_STATUS_WAIT_START_1 && (head->packet_size > UART_PACKET_PAYLOAD_MAX)) { in loader_frame_head_rx()
623 while (ctx->received < (head->packet_size - sizeof(packet_data_head))) { in loader_frame_data_rx()
631 …ctx->packet.check_sum = (payload[head->packet_size - 9] << 8) | payload[head->packet_size - 10]; /… in loader_frame_data_rx()
632 payload[head->packet_size - 9] = 0; /* 9: sub 9 */ in loader_frame_data_rx()
633 payload[head->packet_size - 10] = 0; /* 10: sub 10 */ in loader_frame_data_rx()
635 if (ctx->received == (head->packet_size - sizeof(packet_data_head))) { in loader_frame_data_rx()
650 head->packet_size = ACK_LEN; in loader_ack()
653 hi_u32 cs = 0 ^ (uintptr_t)(hi_u8 *)&(ctx->packet) ^ (head->packet_size - CHECKSUM_SIZE); in loader_ack()
654 …ctx->packet.check_sum = crc16_ccitt(0, (hi_u8 *)&(ctx->packet), head->packet_size - CHECKSUM_SIZE,… in loader_ack()
656 serial_put_buf ((const char *)&(ctx->packet), (int)(head->packet_size - CHECKSUM_SIZE)); in loader_ack()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/rfcomm/
Dport_utils.c148 UINT16 packet_size; in port_select_mtu() local
153 packet_size = btm_get_max_packet_size (p_port->bd_addr); in port_select_mtu()
154 if (packet_size == 0) { in port_select_mtu()
167 if ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) >= packet_size) { in port_select_mtu()
168 …p_port->mtu = ((L2CAP_MTU_SIZE + L2CAP_PKT_OVERHEAD) / packet_size * packet_size) - RFCOMM_DATA_OV… in port_select_mtu()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/fixed/include/
Duart_auth.h42 hi_u16 packet_size; /* Packet length: actual length of data to be transmitted. member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/usb/sunxi_usb/udc/
Dsunxi_udc_dma.c184 __u32 packet_size = 0; in sunxi_udc_dma_set_config() local
191 packet_size = ep->ep.maxpacket; in sunxi_udc_dma_set_config()
208 DmaConfig.dma_bst_len = packet_size; in sunxi_udc_dma_set_config()
/device/soc/amlogic/a311d/hardware/media/libamcodec/include/
Dcodec_type.h123 int packet_size; ///< data size per packet member
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_diag.h698 const hi_void *packet, hi_u16 packet_size);
/device/soc/rockchip/rk3588/hardware/mpp/include/
Dmpi_enc_utils.h173 size_t packet_size; member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c2634 UINT16 packet_size; in l2cu_adjust_out_mps() local
2637 packet_size = btm_get_max_packet_size (p_ccb->p_lcb->remote_bd_addr); in l2cu_adjust_out_mps()
2639 …if (packet_size <= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_L… in l2cu_adjust_out_mps()
2641 …L2CAP_TRACE_DEBUG ("l2cu_adjust_out_mps bad packet size: %u will use MPS: %u", packet_size, p_ccb… in l2cu_adjust_out_mps()
2644packet_size -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD + L2CAP_SDU_LEN_OVERHEAD + L2CAP_FCS_LEN); in l2cu_adjust_out_mps()
2654 if (p_ccb->peer_cfg.fcr.mps >= packet_size) { in l2cu_adjust_out_mps()
2655 p_ccb->tx_mps = p_ccb->peer_cfg.fcr.mps / packet_size * packet_size; in l2cu_adjust_out_mps()
2661 p_ccb->tx_mps, p_ccb->peer_cfg.fcr.mps, packet_size); in l2cu_adjust_out_mps()
/device/qemu/arm_mps2_an386/liteos_m/board/driver/net/
Dlan9118_eth_drv.c1044 uint32_t packet_size = 0; in lan9118_peek_next_packet_size() local
1048 packet_size = in lan9118_peek_next_packet_size()
1051 return packet_size; in lan9118_peek_next_packet_size()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_profiling.c250 …32 _mali_profiling_read_packet_int(unsigned char *const buf, u32 *const pos, u32 const packet_size) in _mali_profiling_read_packet_int() argument
257 if ((*pos) >= packet_size) in _mali_profiling_read_packet_int()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_profiling.c254 …32 _mali_profiling_read_packet_int(unsigned char *const buf, u32 *const pos, u32 const packet_size) in _mali_profiling_read_packet_int() argument
261 if ((*pos) >= packet_size) { in _mali_profiling_read_packet_int()