/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dibbler/dibbler/ |
H A D | dibbler_fix_getSize_crash.patch | 36 int pktsize=0; 41 - pktsize += (*opt)->getSize(); 44 + pktsize += (*opt)->getSize(); 46 + Log(Info) << "### CPE Debug - Packet size of option (Add 4) " << pktsize << LogEnd ; 48 return pktsize + 4;
|
/openbmc/qemu/hw/net/ |
H A D | msf2-emac.c | 90 uint32_t pktsize; member 117 d->pktsize = le32_to_cpu(d->pktsize); in emac_load_desc() 129 outd.pktsize = cpu_to_le32(d->pktsize); in emac_store_desc() 151 if (d.pktsize & EMPTY_MASK) { in msf2_dma_tx() 154 size = d.pktsize & PKT_SIZE; in msf2_dma_tx() 167 d.pktsize |= EMPTY_MASK; in msf2_dma_tx() 477 if (d.pktsize & EMPTY_MASK) { in emac_rx() 480 d.pktsize = size & PKT_SIZE; in emac_rx()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | arasan_nfc.c | 327 u32 reg_val, i, pktsize, pktnum; in arasan_nand_read_page() local 338 if (size % pktsize) in arasan_nand_read_page() 339 pktnum = size/pktsize + 1; in arasan_nand_read_page() 341 pktnum = size/pktsize; in arasan_nand_read_page() 352 pktsize; in arasan_nand_read_page() 395 for (i = 0; i < pktsize/4; i++) in arasan_nand_read_page() 399 bufptr += pktsize/4; in arasan_nand_read_page() 515 if (size % pktsize) in arasan_nand_write_page_hwecc() 516 pktnum = size/pktsize + 1; in arasan_nand_write_page_hwecc() 518 pktnum = size/pktsize; in arasan_nand_write_page_hwecc() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_max_descriptors.sh | 244 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
|
/openbmc/linux/drivers/input/mouse/ |
H A D | cypress_ps2.c | 105 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()
|
H A D | touchkit_ps2.c | 83 psmouse->pktsize = 5; in touchkit_ps2_detect()
|
H A D | psmouse-base.c | 160 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 D | byd.c | 284 if (psmouse->pktcnt < psmouse->pktsize) in byd_process_byte() 486 psmouse->pktsize = 4; in byd_init()
|
H A D | hgpk.c | 467 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 D | lifebook.c | 349 psmouse->pktsize = 3; in lifebook_init()
|
H A D | psmouse.h | 100 unsigned char pktsize; member
|
H A D | synaptics.c | 683 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 D | alps.c | 1584 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()
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_demux.c | 513 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 …]
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_hw.h | 304 u8 pktsize[14]; /* dword 0 */ member 338 u8 pktsize[14]; /* dword 0 */ member
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | lib.sh | 1445 local pktsize=$1; shift 1452 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1459 local pktsize=$1; shift 1461 __start_traffic $pktsize udp "$@" 1466 local pktsize=$1; shift 1468 __start_traffic $pktsize tcp "$@"
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | lib.sh | 1445 local pktsize=$1; shift 1452 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1459 local pktsize=$1; shift 1461 __start_traffic $pktsize udp "$@" 1466 local pktsize=$1; shift 1468 __start_traffic $pktsize tcp "$@"
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | net_forwarding_lib.sh | 1445 local pktsize=$1; shift 1452 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1459 local pktsize=$1; shift 1461 __start_traffic $pktsize udp "$@" 1466 local pktsize=$1; shift 1468 __start_traffic $pktsize tcp "$@"
|
/openbmc/linux/tools/testing/selftests/drivers/net/team/ |
H A D | net_forwarding_lib.sh | 1445 local pktsize=$1; shift 1452 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1459 local pktsize=$1; shift 1461 __start_traffic $pktsize udp "$@" 1466 local pktsize=$1; shift 1468 __start_traffic $pktsize tcp "$@"
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | arasan-nand-controller.c | 282 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() 611 unsigned int offset, naddrs, pktsize; in anfc_parse_instructions() local 650 &pktsize); in anfc_parse_instructions() 668 nfc_op->pkt_reg |= PKT_SIZE(round_up(pktsize, 4)) | in anfc_parse_instructions()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_user_sdma.c | 906 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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sched.c | 60 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()
|
/openbmc/linux/drivers/media/usb/au0828/ |
H A D | au0828.h | 133 int pos, size, pktsize; member
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 1503 int pktsize = status->wake_packet_bufsize; in iwl_mvm_report_wakeup_reasons() local 1507 int truncated = pktlen - pktsize; in iwl_mvm_report_wakeup_reasons() 1517 pkt = alloc_skb(pktsize, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons() 1523 pktsize -= hdrlen; in iwl_mvm_report_wakeup_reasons() 1550 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons() 1553 skb_put_data(pkt, pktdata, pktsize); in iwl_mvm_report_wakeup_reasons() 1571 pktsize -= fcslen; in iwl_mvm_report_wakeup_reasons() 1573 wakeup.packet_present_len = pktsize; in iwl_mvm_report_wakeup_reasons()
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 311 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 …]
|