Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
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-6.1.9/drivers/input/mouse/
Dcypress_ps2.c105 int pktsize; in cypress_ps2_read_cmd_status() local
113 pktsize = (cmd == CYTP_CMD_READ_TP_METRICS) ? 8 : 3; in cypress_ps2_read_cmd_status()
114 memset(param, 0, pktsize); in cypress_ps2_read_cmd_status()
121 (psmouse->pktcnt >= pktsize), in cypress_ps2_read_cmd_status()
124 memcpy(param, psmouse->packet, pktsize); in cypress_ps2_read_cmd_status()
127 cmd, pktsize, param); in cypress_ps2_read_cmd_status()
667 psmouse->pktsize = 8; in cypress_init()
Dtouchkit_ps2.c83 psmouse->pktsize = 5; in touchkit_ps2_detect()
Dpsmouse-base.c153 if (psmouse->pktcnt < psmouse->pktsize) in psmouse_process_byte()
496 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)); in psmouse_poll()
566 psmouse->pktsize = 4; in genius_detect()
599 psmouse->pktsize = 4; in intellimouse_detect()
645 psmouse->pktsize = 4; in im_explorer_detect()
986 psmouse->pktsize = 3; in psmouse_apply_defaults()
1381 for (i = 0; i < psmouse->pktsize; i++) { in psmouse_resync()
1549 if (psmouse->pktsize == 3) in psmouse_switch_protocol()
Dbyd.c284 if (psmouse->pktcnt < psmouse->pktsize) in byd_process_byte()
486 psmouse->pktsize = 4; in byd_init()
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()
Dlifebook.c349 psmouse->pktsize = 3; in lifebook_init()
Dpsmouse.h100 unsigned char pktsize; member
Dsynaptics.c681 if (child->pktsize == 4) in synaptics_pass_pt_packet()
695 if (child->pktsize == 4) in synaptics_pt_activate()
1616 psmouse->pktsize = 6; in synaptics_init_ps2()
1620 psmouse->pktsize = 3; in synaptics_init_ps2()
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()
Dfocaltech.c434 psmouse->pktsize = 6; in focaltech_init()
/linux-6.1.9/drivers/media/dvb-core/
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-6.1.9/drivers/staging/media/deprecated/tm6000/
Dtm6000-usb-isoc.h27 int pos, size, pktsize; member
Dtm6000-video.c123 unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0; in copy_streams() local
183 pktsize = TM6000_URB_MSG_LEN; in copy_streams()
220 size = pktsize; /* Size is always 180 bytes */ in copy_streams()
228 pktsize = dev->isoc_ctl.pktsize; in copy_streams()
261 if (ptr + pktsize > endp) { in copy_streams()
270 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); in copy_streams()
274 ptr += pktsize; in copy_streams()
/linux-6.1.9/tools/testing/selftests/drivers/net/dsa/
Dlib.sh1393 local pktsize=$1; shift
1400 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \
1407 local pktsize=$1; shift
1409 __start_traffic $pktsize udp "$@"
1414 local pktsize=$1; shift
1416 __start_traffic $pktsize tcp "$@"
/linux-6.1.9/tools/testing/selftests/drivers/net/bonding/
Dnet_forwarding_lib.sh1393 local pktsize=$1; shift
1400 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \
1407 local pktsize=$1; shift
1409 __start_traffic $pktsize udp "$@"
1414 local pktsize=$1; shift
1416 __start_traffic $pktsize tcp "$@"
/linux-6.1.9/tools/testing/selftests/drivers/net/team/
Dnet_forwarding_lib.sh1393 local pktsize=$1; shift
1400 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \
1407 local pktsize=$1; shift
1409 __start_traffic $pktsize udp "$@"
1414 local pktsize=$1; shift
1416 __start_traffic $pktsize tcp "$@"
/linux-6.1.9/tools/testing/selftests/net/forwarding/
Dlib.sh1393 local pktsize=$1; shift
1400 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \
1407 local pktsize=$1; shift
1409 __start_traffic $pktsize udp "$@"
1414 local pktsize=$1; shift
1416 __start_traffic $pktsize tcp "$@"
/linux-6.1.9/drivers/net/ethernet/emulex/benet/
Dbe_hw.h304 u8 pktsize[14]; /* dword 0 */ member
338 u8 pktsize[14]; /* dword 0 */ member
/linux-6.1.9/drivers/mtd/nand/raw/
Darasan-nand-controller.c282 unsigned int *pktsize) in anfc_pkt_len_config() argument
298 if (pktsize) in anfc_pkt_len_config()
299 *pktsize = sz; in anfc_pkt_len_config()
599 unsigned int offset, naddrs, pktsize; in anfc_parse_instructions() local
638 &pktsize); in anfc_parse_instructions()
656 nfc_op->pkt_reg |= PKT_SIZE(round_up(pktsize, 4)) | in anfc_parse_instructions()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_user_sdma.c911 size_t tidsmsize, n, pktsize, sz, addrlimit; in qib_user_sdma_queue_pkts() local
914 pktsize = struct_size(pkt, addr, n); in qib_user_sdma_queue_pkts()
929 if (check_add_overflow(pktsize, tidsmsize, &sz)) { in qib_user_sdma_queue_pkts()
949 char *tidsm = (char *)pkt + pktsize; in qib_user_sdma_queue_pkts()
/linux-6.1.9/drivers/infiniband/hw/irdma/
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()
340 memset(buf, 0, pktsize); 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()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
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-6.1.9/drivers/media/usb/au0828/
Dau0828.h133 int pos, size, pktsize; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1484 int pktsize = status->wake_packet_bufsize; in iwl_mvm_report_wakeup_reasons() local
1488 int truncated = pktlen - pktsize; in iwl_mvm_report_wakeup_reasons()
1498 pkt = alloc_skb(pktsize, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons()
1504 pktsize -= hdrlen; in iwl_mvm_report_wakeup_reasons()
1531 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons()
1534 skb_put_data(pkt, pktdata, pktsize); in iwl_mvm_report_wakeup_reasons()
1552 pktsize -= fcslen; in iwl_mvm_report_wakeup_reasons()
1554 wakeup.packet_present_len = pktsize; in iwl_mvm_report_wakeup_reasons()

12