Home
last modified time | relevance | path

Searched refs:pktcnt (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/input/mouse/
Dhgpk.c309 int pktcnt = psmouse->pktcnt; in hgpk_is_byte_valid() local
318 valid = pktcnt == 1 ? in hgpk_is_byte_valid()
319 packet[0] == HGPK_GS : !(packet[pktcnt - 1] & 0x80); in hgpk_is_byte_valid()
323 valid = pktcnt == 1 ? in hgpk_is_byte_valid()
324 packet[0] == HGPK_PT : !(packet[pktcnt - 1] & 0x80); in hgpk_is_byte_valid()
335 priv->mode, pktcnt, 6, psmouse->packet); in hgpk_is_byte_valid()
467 if (psmouse->pktcnt >= psmouse->pktsize) { in hgpk_process_byte()
Dpsmouse-base.c153 if (psmouse->pktcnt < psmouse->pktsize) in psmouse_process_byte()
249 psmouse->pktcnt = psmouse->out_of_sync_cnt = 0; in __psmouse_set_state()
280 psmouse->pktcnt); in psmouse_handle_byte()
289 psmouse->pktcnt = 0; in psmouse_handle_byte()
293 psmouse->pktcnt = 0; in psmouse_handle_byte()
376 psmouse->pktcnt && time_after(jiffies, psmouse->last + HZ/2)) { in psmouse_interrupt()
378 psmouse->name, psmouse->phys, psmouse->pktcnt); in psmouse_interrupt()
385 psmouse->packet[psmouse->pktcnt++] = data; in psmouse_interrupt()
388 if (unlikely(psmouse->packet[0] == PSMOUSE_RET_BAT && psmouse->pktcnt <= 2)) { in psmouse_interrupt()
389 if (psmouse->pktcnt == 1) { in psmouse_interrupt()
[all …]
Dalps.c940 switch (psmouse->pktcnt) { in alps_is_valid_package_v7()
1390 if (psmouse->pktcnt == 4 && ((psmouse->packet[3] & 0x08) != 0x08)) in alps_is_valid_package_ss4_v2()
1392 if (psmouse->pktcnt == 6 && ((psmouse->packet[5] & 0x10) != 0x0)) in alps_is_valid_package_ss4_v2()
1502 if (psmouse->pktcnt < 6) in alps_handle_interleaved_ps2()
1505 if (psmouse->pktcnt == 6) { in alps_handle_interleaved_ps2()
1540 psmouse->pktcnt = 1; in alps_handle_interleaved_ps2()
1571 psmouse->pktcnt = 4; in alps_handle_interleaved_ps2()
1584 if (psmouse->pktcnt == psmouse->pktsize) { in alps_flush_packet()
1600 psmouse->pktcnt = 0; in alps_flush_packet()
1621 if (psmouse->pktcnt == 3) { in alps_process_byte()
[all …]
Dcypress_ps2.c111 psmouse->pktcnt = 0; in cypress_ps2_read_cmd_status()
121 (psmouse->pktcnt >= pktsize), in cypress_ps2_read_cmd_status()
131 psmouse->pktcnt = 0; in cypress_ps2_read_cmd_status()
561 int index = psmouse->pktcnt - 1; in cypress_validate_byte()
604 if (psmouse->pktcnt >= cytp->pkt_size) { in cypress_protocol_handler()
Dlifebook.c141 if (psmouse->pktcnt != 3) in lifebook_process_byte()
144 switch (psmouse->pktcnt) { in lifebook_process_byte()
Dtouchkit_ps2.c45 if (psmouse->pktcnt != 5) in touchkit_ps2_process_byte()
Dbyd.c278 if (psmouse->pktcnt > 0 && !(pkt[0] & PS2_ALWAYS_1)) { in byd_process_byte()
284 if (psmouse->pktcnt < psmouse->pktsize) in byd_process_byte()
Dpsmouse.h99 unsigned char pktcnt; member
Dvmmouse.c227 switch (psmouse->pktcnt) { in vmmouse_process_byte()
Dfocaltech.c253 if (psmouse->pktcnt >= 6) { /* Full packet received */ in focaltech_process_byte()
Dlogips2pp.c46 if (psmouse->pktcnt < 3) in ps2pp_process_byte()
Dsynaptics.c1213 if (psmouse->pktcnt >= 6) { /* Full packet received */ in synaptics_process_byte()
1228 return synaptics_validate_byte(psmouse, psmouse->pktcnt - 1, priv->pkt_type) ? in synaptics_process_byte()
Dsentelic.c701 if (psmouse->pktcnt < 4) in fsp_process_byte()
Delantech.c927 if (psmouse->pktcnt < psmouse->pktsize) in elantech_process_byte()
/linux-6.1.9/include/uapi/linux/
Dmroute6.h102 unsigned long pktcnt; member
Dmroute.h95 unsigned long pktcnt; member
/linux-6.1.9/drivers/usb/host/
Docteon-hcd.c284 int pktcnt; member
1483 usbc_hctsiz.s.pktcnt = packets_to_transfer; in cvmx_usb_start_channel_control()
1730 usbc_hctsiz.s.pktcnt = packets_to_transfer; in cvmx_usb_start_channel()
1822 transaction->pktcnt = usbc_hctsiz.s.pktcnt; in cvmx_usb_start_channel()
2703 packets_processed = transaction->pktcnt - usbc_hctsiz.s.pktcnt; in cvmx_usb_poll_channel()
Docteon-hcd.h1271 __BITFIELD_FIELD(u32 pktcnt : 10,
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddma.c933 int pktcnt = 1; in dma_rx() local
958 pktcnt++; in dma_rx()
983 pktcnt = 1; in dma_rx()
989 return pktcnt; in dma_rx()
/linux-6.1.9/net/tipc/
Dlink.c1981 u16 pktlen, pktcnt, seqno = l->snd_nxt; in tipc_link_tnl_prepare() local
2033 pktcnt = l->snd_nxt - buf_seqno(skb_peek(&l->transmq)); in tipc_link_tnl_prepare()
2035 pktcnt = skb_queue_len(&l->transmq); in tipc_link_tnl_prepare()
2036 pktcnt += skb_queue_len(&l->backlogq); in tipc_link_tnl_prepare()
2037 msg_set_msgcnt(&tnlhdr, pktcnt); in tipc_link_tnl_prepare()
2065 pktcnt += skb_queue_len(&frags) - 1; in tipc_link_tnl_prepare()
2097 msg_set_msgcnt(hdr, pktcnt); in tipc_link_tnl_prepare()
/linux-6.1.9/net/ipv6/
Dip6mr.c1925 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_ioctl()
1945 compat_ulong_t pktcnt; member
2000 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_compat_ioctl()
/linux-6.1.9/net/ipv4/
Dipmr.c1638 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_ioctl()
1658 compat_ulong_t pktcnt; member
1713 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_compat_ioctl()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2728 struct brcmf_pktcnt_le pktcnt; in brcmf_cfg80211_get_station_ibss() local
2753 err = brcmf_fil_cmd_data_get(ifp, BRCMF_C_GET_GET_PKTCNTS, &pktcnt, in brcmf_cfg80211_get_station_ibss()
2754 sizeof(pktcnt)); in brcmf_cfg80211_get_station_ibss()
2763 sinfo->rx_packets = le32_to_cpu(pktcnt.rx_good_pkt); in brcmf_cfg80211_get_station_ibss()
2764 sinfo->rx_dropped_misc = le32_to_cpu(pktcnt.rx_bad_pkt); in brcmf_cfg80211_get_station_ibss()
2765 sinfo->tx_packets = le32_to_cpu(pktcnt.tx_good_pkt); in brcmf_cfg80211_get_station_ibss()
2766 sinfo->tx_failed = le32_to_cpu(pktcnt.tx_bad_pkt); in brcmf_cfg80211_get_station_ibss()