/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/ |
D | swdmx_ts_parser.c | 85 SWDMX_TsPacket pkt; in ts_packet() local 91 pkt.pid = ((p[1] & 0x1f) << 8) | p[2]; in ts_packet() 92 if (pkt.pid == 0x1fff) in ts_packet() 95 pkt.packet = p; in ts_packet() 96 pkt.packet_len = tsp->packet_size; in ts_packet() 97 pkt.error = (p[1] & 0x80) >> 7; in ts_packet() 98 pkt.payload_start = (p[1] & 0x40) >> 6; in ts_packet() 99 pkt.priority = (p[1] & 0x20) >> 5; in ts_packet() 100 pkt.scramble = p[3] >> 6; in ts_packet() 102 pkt.cc = p[3] & 0x0f; in ts_packet() [all …]
|
D | swdmx_dvbcsa2.c | 59 dvbcsa2_desc (SWDMX_DescAlgo *p, SWDMX_TsPacket *pkt) in dvbcsa2_desc() argument 63 if (pkt->scramble == 2) { in dvbcsa2_desc() 64 dvbcsa_decrypt(algo->even_key, pkt->payload, pkt->payload_len); in dvbcsa2_desc() 65 } else if (pkt->scramble == 3) { in dvbcsa2_desc() 66 dvbcsa_decrypt(algo->odd_key, pkt->payload, pkt->payload_len); in dvbcsa2_desc()
|
D | swdmx_descrambler.c | 58 SWDMX_TsPacket *pkt, in swdmx_descrambler_ts_packet_cb() argument 65 SWDMX_ASSERT(pkt && desc); in swdmx_descrambler_ts_packet_cb() 67 if (pkt->scramble && pkt->payload) { in swdmx_descrambler_ts_packet_cb() 69 if ((ch->enable) && (ch->pid == pkt->pid)) { in swdmx_descrambler_ts_packet_cb() 72 r = ch->algo->desc_fn(ch->algo, pkt); in swdmx_descrambler_ts_packet_cb() 74 pkt->scramble = 0; in swdmx_descrambler_ts_packet_cb() 75 pkt->packet[3] &= 0x3f; in swdmx_descrambler_ts_packet_cb() 85 cb(pkt, ce->data); in swdmx_descrambler_ts_packet_cb()
|
D | swdmx_aes_ecb.c | 84 aes_ecb_desc_pkt (SWDMX_AesEcbAlgo *algo, SWDMX_Int key_type, SWDMX_TsPacket *pkt, SWDMX_Int align) in aes_ecb_desc_pkt() argument 86 SWDMX_UInt8 *p = pkt->payload; in aes_ecb_desc_pkt() 87 SWDMX_Int left = pkt->payload_len, len; in aes_ecb_desc_pkt() 139 aes_ecb_desc (SWDMX_DescAlgo *p, SWDMX_TsPacket *pkt) in aes_ecb_desc() argument 143 if (pkt->scramble == 2) { in aes_ecb_desc() 144 aes_ecb_desc_pkt(algo,0, pkt, algo->align); in aes_ecb_desc() 145 } else if (pkt->scramble == 3) { in aes_ecb_desc() 146 aes_ecb_desc_pkt(algo,1, pkt, algo->align); in aes_ecb_desc()
|
D | swdmx_aes_cbc.c | 95 aes_cbc_desc_pkt (SWDMX_AesCbcAlgo *algo, SWDMX_Int key_type, SWDMX_UInt8 *iv, SWDMX_TsPacket *pkt,… in aes_cbc_desc_pkt() argument 97 SWDMX_UInt8 *p = pkt->payload; in aes_cbc_desc_pkt() 98 SWDMX_Int left = pkt->payload_len, len; in aes_cbc_desc_pkt() 157 aes_cbc_desc (SWDMX_DescAlgo *p, SWDMX_TsPacket *pkt) in aes_cbc_desc() argument 161 if (pkt->scramble == 2) { in aes_cbc_desc() 162 aes_cbc_desc_pkt(algo,0, algo->even_iv, pkt, algo->align); in aes_cbc_desc() 163 } else if (pkt->scramble == 3) { in aes_cbc_desc() 164 aes_cbc_desc_pkt(algo,1, algo->odd_iv, pkt, algo->align); in aes_cbc_desc()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/sdio/ |
D | rtl8822cs_recv.c | 188 skb_put(recvframe->u.hdr.pkt, attrib->pkt_len); 191 FUNC_ADPT_ARG(adapter), recvframe->u.hdr.pkt->len); 194 copypkt = rtw_skb_copy(recvframe->u.hdr.pkt); 203 copypkt = rtw_skb_clone(recvframe->u.hdr.pkt); 213 copyframe->u.hdr.pkt = copypkt; 278 recvframe->u.hdr.pkt->dev = adapter->pnetdev; in recv_entry() 296 _pkt *pkt = NULL; in prepare_recvframe_pkt() local 306 pkt = recvframe->u.hdr.pkt; in prepare_recvframe_pkt() 307 if (pkt) { in prepare_recvframe_pkt() 309 return pkt; in prepare_recvframe_pkt() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | recv_linux.c | 45 pcloneframe->u.hdr.pkt = pkt_copy; in rtw_os_recvframe_duplicate_skb() 65 precvframe->u.hdr.pkt = NULL; in rtw_os_alloc_recvframe() 94 precvframe->u.hdr.pkt = pkt_copy; in rtw_os_alloc_recvframe() 121 precvframe->u.hdr.pkt = NULL; in rtw_os_alloc_recvframe() 140 precvframe->u.hdr.pkt = rtw_skb_clone(pskb); in rtw_os_alloc_recvframe() 141 if (precvframe->u.hdr.pkt) { in rtw_os_alloc_recvframe() 143 precvframe->u.hdr.pkt->dev = padapter->pnetdev; in rtw_os_alloc_recvframe() 163 if (precvframe->u.hdr.pkt) { in rtw_os_free_recvframe() 164 rtw_os_pkt_free(precvframe->u.hdr.pkt); in rtw_os_free_recvframe() 165 precvframe->u.hdr.pkt = NULL; in rtw_os_free_recvframe() [all …]
|
D | xmit_linux.c | 29 pfile->pkt = pktptr; in _rtw_open_pktfile() 46 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read() 66 void rtw_set_tx_chksum_offload(_pkt *pkt, struct pkt_attrib *pattrib) in rtw_set_tx_chksum_offload() argument 69 struct sk_buff *skb = (struct sk_buff *)pkt; in rtw_set_tx_chksum_offload() 276 void rtw_os_pkt_complete(_adapter *padapter, _pkt *pkt) in rtw_os_pkt_complete() argument 278 rtw_skb_free(pkt); in rtw_os_pkt_complete() 283 if (pxframe->pkt) in rtw_os_xmit_complete() 284 rtw_os_pkt_complete(padapter, pxframe->pkt); in rtw_os_xmit_complete() 286 pxframe->pkt = NULL; in rtw_os_xmit_complete() 392 int _rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev) in _rtw_xmit_entry() argument [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | xmit_osdep.h | 20 _pkt *pkt; member 48 NDIS_PACKET *pkt, 56 extern int rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev); 70 extern int _rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev); 73 extern netdev_tx_t rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev); 75 extern int rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev); 85 extern void rtw_set_tx_chksum_offload(_pkt *pkt, struct pkt_attrib *pattrib); 88 extern void _rtw_open_pktfile(_pkt *pkt, struct pkt_file *pfile); 92 extern void rtw_os_pkt_complete(_adapter *padapter, _pkt *pkt);
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | dhd_debug.h | 580 void *pkt; member 589 void *pkt; member 619 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid); 620 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt, 622 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt); 662 #define DHD_DBG_PKT_MON_TX(dhdp, pkt, pktid) \ argument 664 if ((dhdp) && (dhdp)->dbg && (dhdp)->dbg->pkt_mon.tx_pkt_mon && (pkt)) { \ 665 (dhdp)->dbg->pkt_mon.tx_pkt_mon((dhdp), (pkt), (pktid)); \ 668 #define DHD_DBG_PKT_MON_TX_STATUS(dhdp, pkt, pktid, status) \ argument 670 if ((dhdp) && (dhdp)->dbg && (dhdp)->dbg->pkt_mon.tx_status_mon && (pkt)) { \ [all …]
|
D | dhd_ip.h | 60 extern tcp_hdr_flag_t dhd_tcpdata_get_flag(dhd_pub_t *dhdp, void *pkt); 87 extern int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt); 88 extern bool dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt); 89 extern bool dhd_tcpdata_info_get(dhd_pub_t *dhdp, void *pkt); 90 extern bool dhd_tcpack_hold(dhd_pub_t *dhdp, void *pkt, int ifidx);
|
D | dhd_ip.c | 309 void* pkt; in dhd_tcpack_send() local 341 pkt = cur_tbl->pkt_in_q; in dhd_tcpack_send() 343 if (!pkt) { in dhd_tcpack_send() 358 dhd_sendpkt(dhdp, ifidx, pkt); in dhd_tcpack_send() 575 inline int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_check_xmit() argument 589 pdata = PKTDATA(dhdp->osh, pkt); in dhd_tcpack_check_xmit() 590 pktlen = PKTLEN(dhdp->osh, pkt) - dhd_prot_hdrlen(dhdp, pdata); in dhd_tcpack_check_xmit() 613 if (tcpack_info_tbl[i].pkt_in_q == pkt) { in dhd_tcpack_check_xmit() 615 __FUNCTION__, __LINE__, pkt, i, tbl_cnt)); in dhd_tcpack_check_xmit() 719 dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_suppress() argument [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | dhd_debug.h | 584 void *pkt; member 593 void *pkt; member 620 typedef int (*dbg_mon_tx_pkts_t)(dhd_pub_t *dhdp, void *pkt, uint32 pktid); 621 typedef int (*dbg_mon_tx_status_t)(dhd_pub_t *dhdp, void *pkt, uint32 pktid, 623 typedef int (*dbg_mon_rx_pkts_t)(dhd_pub_t *dhdp, void *pkt); 662 #define DHD_DBG_PKT_MON_TX(dhdp, pkt, pktid) \ argument 665 (pkt)) { \ 666 (dhdp)->dbg->pkt_mon.tx_pkt_mon((dhdp), (pkt), (pktid)); \ 669 #define DHD_DBG_PKT_MON_TX_STATUS(dhdp, pkt, pktid, status) \ argument 672 (pkt)) { \ [all …]
|
D | dhd_ip.h | 58 extern tcp_hdr_flag_t dhd_tcpdata_get_flag(dhd_pub_t *dhdp, void *pkt); 86 extern int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt); 87 extern bool dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt); 88 extern bool dhd_tcpdata_info_get(dhd_pub_t *dhdp, void *pkt); 89 extern bool dhd_tcpack_hold(dhd_pub_t *dhdp, void *pkt, int ifidx);
|
D | dhd_ip.c | 325 void *pkt; in dhd_tcpack_send() local 356 pkt = cur_tbl->pkt_in_q; in dhd_tcpack_send() 358 if (!pkt) { in dhd_tcpack_send() 373 dhd_sendpkt(dhdp, ifidx, pkt); in dhd_tcpack_send() 594 inline int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_check_xmit() argument 609 pdata = PKTDATA(dhdp->osh, pkt); in dhd_tcpack_check_xmit() 610 pktlen = PKTLEN(dhdp->osh, pkt) - dhd_prot_hdrlen(dhdp, pdata); in dhd_tcpack_check_xmit() 633 if (tcpack_info_tbl[i].pkt_in_q == pkt) { in dhd_tcpack_check_xmit() 635 __FUNCTION__, __LINE__, pkt, i, tbl_cnt)); in dhd_tcpack_check_xmit() 746 bool dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_suppress() argument [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | dhd_debug.h | 603 void *pkt; member 612 void *pkt; member 642 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid); 643 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt, 645 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt); 685 #define DHD_DBG_PKT_MON_TX(dhdp, pkt, pktid) \ argument 687 if ((dhdp) && (dhdp)->dbg && (dhdp)->dbg->pkt_mon.tx_pkt_mon && (pkt)) { \ 688 (dhdp)->dbg->pkt_mon.tx_pkt_mon((dhdp), (pkt), (pktid)); \ 691 #define DHD_DBG_PKT_MON_TX_STATUS(dhdp, pkt, pktid, status) \ argument 693 if ((dhdp) && (dhdp)->dbg && (dhdp)->dbg->pkt_mon.tx_status_mon && (pkt)) { \ [all …]
|
D | dhd_ip.h | 55 extern tcp_hdr_flag_t dhd_tcpdata_get_flag(dhd_pub_t *dhdp, void *pkt); 82 extern int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt); 83 extern bool dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt); 84 extern bool dhd_tcpdata_info_get(dhd_pub_t *dhdp, void *pkt); 85 extern bool dhd_tcpack_hold(dhd_pub_t *dhdp, void *pkt, int ifidx);
|
D | dhd_ip.c | 303 void* pkt; in dhd_tcpack_send() local 335 pkt = cur_tbl->pkt_in_q; in dhd_tcpack_send() 337 if (!pkt) { in dhd_tcpack_send() 352 dhd_sendpkt(dhdp, ifidx, pkt); in dhd_tcpack_send() 569 inline int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_check_xmit() argument 583 pdata = PKTDATA(dhdp->osh, pkt); in dhd_tcpack_check_xmit() 584 pktlen = PKTLEN(dhdp->osh, pkt) - dhd_prot_hdrlen(dhdp, pdata); in dhd_tcpack_check_xmit() 607 if (tcpack_info_tbl[i].pkt_in_q == pkt) { in dhd_tcpack_check_xmit() 609 __FUNCTION__, __LINE__, pkt, i, tbl_cnt)); in dhd_tcpack_check_xmit() 713 dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_suppress() argument [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | dhd_debug.h | 616 void *pkt; member 625 void *pkt; member 655 typedef int (*dbg_mon_tx_pkts_t) (dhd_pub_t *dhdp, void *pkt, uint32 pktid); 656 typedef int (*dbg_mon_tx_status_t) (dhd_pub_t *dhdp, void *pkt, 658 typedef int (*dbg_mon_rx_pkts_t) (dhd_pub_t *dhdp, void *pkt); 730 #define DHD_DBG_PKT_MON_TX(dhdp, pkt, pktid) \ argument 732 if ((dhdp) && (dhdp)->dbg && (dhdp)->dbg->pkt_mon.tx_pkt_mon && (pkt)) { \ 733 (dhdp)->dbg->pkt_mon.tx_pkt_mon((dhdp), (pkt), (pktid)); \ 736 #define DHD_DBG_PKT_MON_TX_STATUS(dhdp, pkt, pktid, status) \ argument 738 if ((dhdp) && (dhdp)->dbg && (dhdp)->dbg->pkt_mon.tx_status_mon && (pkt)) { \ [all …]
|
D | dhd_ip.h | 75 extern int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt); 76 extern bool dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt); 77 extern bool dhd_tcpdata_info_get(dhd_pub_t *dhdp, void *pkt); 78 extern bool dhd_tcpack_hold(dhd_pub_t *dhdp, void *pkt, int ifidx);
|
D | dhd_ip.c | 306 void* pkt; in dhd_tcpack_send() local 327 pkt = cur_tbl->pkt_in_q; in dhd_tcpack_send() 329 if (!pkt) { in dhd_tcpack_send() 344 dhd_sendpkt(dhdp, ifidx, pkt); in dhd_tcpack_send() 540 inline int dhd_tcpack_check_xmit(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_check_xmit() argument 554 pdata = PKTDATA(dhdp->osh, pkt); in dhd_tcpack_check_xmit() 555 pktlen = PKTLEN(dhdp->osh, pkt) - dhd_prot_hdrlen(dhdp, pdata); in dhd_tcpack_check_xmit() 578 if (tcpack_info_tbl[i].pkt_in_q == pkt) { in dhd_tcpack_check_xmit() 580 __FUNCTION__, __LINE__, pkt, i, tbl_cnt)); in dhd_tcpack_check_xmit() 684 dhd_tcpack_suppress(dhd_pub_t *dhdp, void *pkt) in dhd_tcpack_suppress() argument [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/ |
D | ble_monitor.c | 353 struct ble_monitor_new_index pkt; in ble_monitor_new_index() local 354 pkt.type = 0; /* Primary controller, we don't support other */ in ble_monitor_new_index() 355 pkt.bus = bus; in ble_monitor_new_index() 356 memcpy_s(pkt.bdaddr, sizeof(pkt.bdaddr), addr, 6); // 6:size in ble_monitor_new_index() 357 strncpy_s(pkt.name, sizeof(pkt.name), name, sizeof(pkt.name) - 1); in ble_monitor_new_index() 358 pkt.name[sizeof(pkt.name) - 1] = '\0'; in ble_monitor_new_index() 359 ble_monitor_send(BLE_MONITOR_OPCODE_NEW_INDEX, &pkt, sizeof(pkt)); in ble_monitor_new_index()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/hci/ |
D | hci_hal_h4.c | 318 BT_HDR *pkt; in host_recv_pkt_cb() local 326 pkt = (BT_HDR *) osi_calloc(pkt_size); in host_recv_pkt_cb() 328 if (!pkt) { in host_recv_pkt_cb() 332 pkt->offset = 0; in host_recv_pkt_cb() 333 pkt->len = len; in host_recv_pkt_cb() 334 pkt->layer_specific = 0; in host_recv_pkt_cb() 335 memcpy(pkt->data, data, len); in host_recv_pkt_cb() 336 fixed_queue_enqueue(hci_hal_env.rx_q, pkt, FIXED_QUEUE_MAX_TIMEOUT); in host_recv_pkt_cb() 340 BTTRC_DUMP_BUFFER("Recv Pkt", pkt->data, len); in host_recv_pkt_cb()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/test/ |
D | vcodec_m2m_test.c | 61 static void decode(AVCodecContext *dec_ctx, AVFrame *frame, AVPacket *pkt, in decode() argument 67 ret = avcodec_send_packet(dec_ctx, pkt); in decode() 100 AVPacket pkt1, *pkt = &pkt1; in read_thread() local 225 ret = av_read_frame(ic, pkt); in read_thread() 239 if (pkt->stream_index == vctx->vst_idx) { in read_thread() 242 if (pkt->size) in read_thread() 243 decode(dec_ctx, frame, pkt, DUMP_DIR); in read_thread() 246 av_packet_unref(pkt); in read_thread()
|
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/ |
D | vpu_api_legacy.cpp | 495 MppPacket pkt = nullptr; in init() local 497 (*(mRKMppApi.HdiMppPacketInit))(&pkt, extraData, extra_size); in init() 498 (*(mRKMppApi.Hdimpp_packet_set_extra_data))(pkt); in init() 499 mpi->decode_put_packet(mpp_ctx, pkt); in init() 500 (*(mRKMppApi.HdiMppPacketDeinit))(&pkt); in init() 630 RK_S32 VpuApiLegacy::decode(VpuCodecContext *ctx, VideoPacket_t *pkt, DecoderOut_t *aDecOut) in decode() argument 647 if (!pkt || !aDecOut) { in decode() 648 HDF_LOGE("%s invalid input %p and output %p", __func__, pkt, aDecOut); in decode() 652 if (pkt->size <= 0) { in decode() 653 HDF_LOGE("%s invalid input size %d", __func__, pkt->size); in decode() [all …]
|