Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c155 if (psmouse->pktcnt < psmouse->pktsize) in psmouse_process_byte()
251 psmouse->pktcnt = psmouse->out_of_sync_cnt = 0; in __psmouse_set_state()
282 psmouse->pktcnt); in psmouse_handle_byte()
291 psmouse->pktcnt = 0; in psmouse_handle_byte()
295 psmouse->pktcnt = 0; in psmouse_handle_byte()
378 psmouse->pktcnt && time_after(jiffies, psmouse->last + HZ/2)) { in psmouse_interrupt()
380 psmouse->name, psmouse->phys, psmouse->pktcnt); in psmouse_interrupt()
387 psmouse->packet[psmouse->pktcnt++] = data; in psmouse_interrupt()
390 if (unlikely(psmouse->packet[0] == PSMOUSE_RET_BAT && psmouse->pktcnt <= 2)) { in psmouse_interrupt()
391 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
Dfocaltech.c253 if (psmouse->pktcnt >= 6) { /* Full packet received */ in focaltech_process_byte()
Dvmmouse.c227 switch (psmouse->pktcnt) { in vmmouse_process_byte()
Dlogips2pp.c46 if (psmouse->pktcnt < 3) in ps2pp_process_byte()
Dsynaptics.c1209 if (psmouse->pktcnt >= 6) { /* Full packet received */ in synaptics_process_byte()
1224 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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dmroute6.h63 unsigned long pktcnt; member
Dmroute.h66 unsigned long pktcnt; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dmroute6.h102 unsigned long pktcnt; member
Dmroute.h95 unsigned long pktcnt; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dmroute6.h81 unsigned long pktcnt; member
Dmroute.h84 unsigned long pktcnt; member
/kernel/linux/linux-5.10/drivers/staging/octeon-usb/
Docteon-hcd.c282 int pktcnt; member
1481 usbc_hctsiz.s.pktcnt = packets_to_transfer; in cvmx_usb_start_channel_control()
1728 usbc_hctsiz.s.pktcnt = packets_to_transfer; in cvmx_usb_start_channel()
1820 transaction->pktcnt = usbc_hctsiz.s.pktcnt; in cvmx_usb_start_channel()
2699 packets_processed = transaction->pktcnt - usbc_hctsiz.s.pktcnt; in cvmx_usb_poll_channel()
Docteon-hcd.h1271 __BITFIELD_FIELD(u32 pktcnt : 10,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/tipc/
Dlink.c1940 u16 pktlen, pktcnt, seqno = l->snd_nxt; in tipc_link_tnl_prepare() local
1992 pktcnt = l->snd_nxt - buf_seqno(skb_peek(&l->transmq)); in tipc_link_tnl_prepare()
1994 pktcnt = skb_queue_len(&l->transmq); in tipc_link_tnl_prepare()
1995 pktcnt += skb_queue_len(&l->backlogq); in tipc_link_tnl_prepare()
1996 msg_set_msgcnt(&tnlhdr, pktcnt); in tipc_link_tnl_prepare()
2024 pktcnt += skb_queue_len(&frags) - 1; in tipc_link_tnl_prepare()
2056 msg_set_msgcnt(hdr, pktcnt); in tipc_link_tnl_prepare()
/kernel/linux/linux-5.10/net/ipv6/
Dip6mr.c1897 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_ioctl()
1917 compat_ulong_t pktcnt; member
1972 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_compat_ioctl()
/kernel/linux/linux-5.10/net/ipv4/
Dipmr.c1627 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_ioctl()
1647 compat_ulong_t pktcnt; member
1702 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_compat_ioctl()

12