Home
last modified time | relevance | path

Searched refs:pktsize (Results 1 – 25 of 42) sorted by relevance

12

/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_max_descriptors.sh244 local pktsize=30
252 log_info "Send many small packets, packet size = $pktsize bytes"
253 start_traffic_pktsize $pktsize $h1.111 192.0.2.33 192.0.2.34 $h2mac
/linux/drivers/media/dvb-core/
H A Ddvb_demux.c513 const int pktsize) in find_next_packet() argument
519 (pktsize == 204 && buf[pos] == 0xB8)) in find_next_packet()
527 int backtrack = pos - pktsize; in find_next_packet()
529 (pktsize == 204 && buf[backtrack] == 0xB8))) in find_next_packet()
538 size_t count, const int pktsize) in _dvb_dmx_swfilter() argument
548 j = pktsize - i; in _dvb_dmx_swfilter()
562 p = find_next_packet(buf, p, count, pktsize); in _dvb_dmx_swfilter()
565 if (count - p < pktsize) in _dvb_dmx_swfilter()
570 if (pktsize == 204 && (*q == 0xB8)) { in _dvb_dmx_swfilter()
576 p += pktsize; in _dvb_dmx_swfilter()
[all …]
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_hw.h304 u8 pktsize[14]; /* dword 0 */ member
338 u8 pktsize[14]; /* dword 0 */ member
/linux/tools/testing/selftests/net/forwarding/
H A Dlib.sh1699 local pktsize=$1; shift
1707 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \
1714 local pktsize=$1; shift
1721 __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \
1727 local pktsize=$1; shift
1734 __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \
/linux/drivers/input/mouse/
H A Dpsmouse-base.c160 if (psmouse->pktcnt < psmouse->pktsize) in psmouse_process_byte()
495 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)); in psmouse_poll()
565 psmouse->pktsize = 4; in genius_detect()
598 psmouse->pktsize = 4; in intellimouse_detect()
644 psmouse->pktsize = 4; in im_explorer_detect()
985 psmouse->pktsize = 3; in psmouse_apply_defaults()
1380 for (i = 0; i < psmouse->pktsize; i++) { in psmouse_resync()
1548 if (psmouse->pktsize == 3) in psmouse_switch_protocol()
H A Dbyd.c284 if (psmouse->pktcnt < psmouse->pktsize) in byd_process_byte()
486 psmouse->pktsize = 4; in byd_init()
H A Dtouchkit_ps2.c83 psmouse->pktsize = 5; in touchkit_ps2_detect()
H A Dhgpk.c467 if (psmouse->pktcnt >= psmouse->pktsize) { in hgpk_process_byte()
511 psmouse->pktsize = 3; in hgpk_select_mode()
516 psmouse->pktsize = 6; in hgpk_select_mode()
H A Dsynaptics.c683 if (child->pktsize == 4) in synaptics_pass_pt_packet()
697 if (child->pktsize == 4) in synaptics_pt_activate()
1618 psmouse->pktsize = 6; in synaptics_init_ps2()
1622 psmouse->pktsize = 3; in synaptics_init_ps2()
H A Dpsmouse.h100 unsigned char pktsize; member
H A Dlifebook.c349 psmouse->pktsize = 3; in lifebook_init()
H A Dalps.c1584 if (psmouse->pktcnt == psmouse->pktsize) { in alps_flush_packet()
1645 psmouse->pktcnt >= 2 && psmouse->pktcnt <= psmouse->pktsize && in alps_process_byte()
1652 psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()
1678 if (psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()
1997 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)) < 0; in alps_poll()
3152 psmouse->pktsize = priv->proto_version == ALPS_PROTO_V4 ? 8 : 6; in alps_init()
3158 psmouse->resetafter = psmouse->pktsize * 2; in alps_init()
H A Dlogips2pp.c332 psmouse->pktsize = 3; in ps2pp_setup_protocol()
H A Dfocaltech.c433 psmouse->pktsize = 6; in focaltech_init()
H A Delantech.c267 psmouse->pktsize, psmouse->packet); in elantech_packet_dump()
928 if (psmouse->pktcnt < psmouse->pktsize) in elantech_process_byte()
2149 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dtrx.h23 u32 pktsize:16; member
/linux/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c906 size_t tidsmsize, n, pktsize, sz, addrlimit; in qib_user_sdma_queue_pkts() local
909 pktsize = struct_size(pkt, addr, n); in qib_user_sdma_queue_pkts()
924 if (check_add_overflow(pktsize, tidsmsize, &sz)) { in qib_user_sdma_queue_pkts()
944 char *tidsm = (char *)pkt + pktsize; in qib_user_sdma_queue_pkts()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsched.c60 p->u.params.weight, p->u.params.pktsize, in t4_sched_class_fw_cmd()
628 p.u.params.pktsize = 0; in cxgb4_sched_class_free()
/linux/drivers/infiniband/hw/irdma/
H A Dcm.c311 u16 pktsize; in irdma_form_ah_cm_frame() local
338 pktsize = sizeof(*tcph) + opts_len + hdr_len + pd_len; in irdma_form_ah_cm_frame()
342 sqbuf->totallen = pktsize; in irdma_form_ah_cm_frame()
424 u16 pktsize; in irdma_form_uda_cm_frame() local
451 pktsize = sizeof(*iph) + sizeof(*tcph); in irdma_form_uda_cm_frame()
453 pktsize = sizeof(*ip6h) + sizeof(*tcph); in irdma_form_uda_cm_frame()
454 pktsize += opts_len + hdr_len + pd_len; in irdma_form_uda_cm_frame()
456 memset(buf, 0, eth_hlen + pktsize); in irdma_form_uda_cm_frame()
458 sqbuf->totallen = pktsize + eth_hlen; in irdma_form_uda_cm_frame()
495 iph->tot_len = htons(pktsize); in irdma_form_uda_cm_frame()
[all …]
/linux/drivers/media/usb/au0828/
H A Dau0828.h133 int pos, size, pktsize; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c1527 int pktsize = status->wake_packet_bufsize; in iwl_mvm_report_wakeup_reasons() local
1531 int truncated = pktlen - pktsize; in iwl_mvm_report_wakeup_reasons()
1541 pkt = alloc_skb(pktsize, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons()
1547 pktsize -= hdrlen; in iwl_mvm_report_wakeup_reasons()
1574 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons()
1577 skb_put_data(pkt, pktdata, pktsize); in iwl_mvm_report_wakeup_reasons()
1595 pktsize -= fcslen; in iwl_mvm_report_wakeup_reasons()
1597 wakeup.packet_present_len = pktsize; in iwl_mvm_report_wakeup_reasons()
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx.h166 int pos, size, pktsize; member
200 int pos, size, pktsize; member
/linux/drivers/net/ethernet/broadcom/
H A Dsb1250-mac.c778 int pktsize = ENET_PACKET_SIZE; in sbdma_add_rcvbuffer() local
840 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | 0; in sbdma_add_rcvbuffer()
843 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | in sbdma_add_rcvbuffer()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dtrx.h353 u32 pktsize:16; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dtrx.h355 u32 pktsize:16; member

12