Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/input/mouse/
Dcypress_ps2.c108 int pktsize; in cypress_ps2_read_cmd_status() local
116 pktsize = (cmd == CYTP_CMD_READ_TP_METRICS) ? 8 : 3; in cypress_ps2_read_cmd_status()
117 memset(param, 0, pktsize); in cypress_ps2_read_cmd_status()
124 (psmouse->pktcnt >= pktsize), in cypress_ps2_read_cmd_status()
127 memcpy(param, psmouse->packet, pktsize); in cypress_ps2_read_cmd_status()
130 cmd, pktsize, param); in cypress_ps2_read_cmd_status()
670 psmouse->pktsize = 8; in cypress_init()
Dtouchkit_ps2.c96 psmouse->pktsize = 5; in touchkit_ps2_detect()
Dpsmouse-base.c159 if (psmouse->pktcnt < psmouse->pktsize) in psmouse_process_byte()
500 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)); in psmouse_poll()
570 psmouse->pktsize = 4; in genius_detect()
603 psmouse->pktsize = 4; in intellimouse_detect()
649 psmouse->pktsize = 4; in im_explorer_detect()
990 psmouse->pktsize = 3; in psmouse_apply_defaults()
1385 for (i = 0; i < psmouse->pktsize; i++) { in psmouse_resync()
1555 if (psmouse->pktsize == 3) in psmouse_switch_protocol()
Dbyd.c287 if (psmouse->pktcnt < psmouse->pktsize) in byd_process_byte()
489 psmouse->pktsize = 4; in byd_init()
Dhgpk.c470 if (psmouse->pktcnt >= psmouse->pktsize) { in hgpk_process_byte()
514 psmouse->pktsize = 3; in hgpk_select_mode()
519 psmouse->pktsize = 6; in hgpk_select_mode()
Dlifebook.c352 psmouse->pktsize = 3; in lifebook_init()
Dpsmouse.h100 unsigned char pktsize; member
Dsynaptics.c668 if (child->pktsize == 4) in synaptics_pass_pt_packet()
682 if (child->pktsize == 4) in synaptics_pt_activate()
1600 psmouse->pktsize = 6; in synaptics_init_ps2()
1604 psmouse->pktsize = 3; in synaptics_init_ps2()
Dalps.c1586 if (psmouse->pktcnt == psmouse->pktsize) { in alps_flush_packet()
1647 psmouse->pktcnt >= 2 && psmouse->pktcnt <= psmouse->pktsize && in alps_process_byte()
1654 psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()
1680 if (psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()
1999 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)) < 0; in alps_poll()
3137 psmouse->pktsize = priv->proto_version == ALPS_PROTO_V4 ? 8 : 6; in alps_init()
3143 psmouse->resetafter = psmouse->pktsize * 2; in alps_init()
Dfocaltech.c438 psmouse->pktsize = 6; in focaltech_init()
Dlogips2pp.c335 psmouse->pktsize = 3; in ps2pp_setup_protocol()
Delantech.c229 psmouse->pktsize, psmouse->packet); in elantech_packet_dump()
830 if (psmouse->pktcnt < psmouse->pktsize) in elantech_process_byte()
1960 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()
/Linux-v4.19/drivers/media/dvb-core/
Ddvb_demux.c523 const int pktsize) in find_next_packet() argument
529 (pktsize == 204 && buf[pos] == 0xB8)) in find_next_packet()
537 int backtrack = pos - pktsize; in find_next_packet()
539 (pktsize == 204 && buf[backtrack] == 0xB8))) in find_next_packet()
548 size_t count, const int pktsize) in _dvb_dmx_swfilter() argument
558 j = pktsize - i; in _dvb_dmx_swfilter()
572 p = find_next_packet(buf, p, count, pktsize); in _dvb_dmx_swfilter()
575 if (count - p < pktsize) in _dvb_dmx_swfilter()
580 if (pktsize == 204 && (*q == 0xB8)) { in _dvb_dmx_swfilter()
586 p += pktsize; in _dvb_dmx_swfilter()
[all …]
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-usb-isoc.h27 int pos, size, pktsize; member
Dtm6000-video.c126 unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0; in copy_streams() local
186 pktsize = TM6000_URB_MSG_LEN; in copy_streams()
223 size = pktsize; /* Size is always 180 bytes */ in copy_streams()
231 pktsize = dev->isoc_ctl.pktsize; in copy_streams()
264 if (ptr + pktsize > endp) { in copy_streams()
273 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); in copy_streams()
277 ptr += pktsize; in copy_streams()
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_hw.h308 u8 pktsize[14]; /* dword 0 */ member
342 u8 pktsize[14]; /* dword 0 */ member
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1205 int pktsize = status->wake_packet_bufsize; in iwl_mvm_report_wakeup_reasons() local
1209 int truncated = pktlen - pktsize; in iwl_mvm_report_wakeup_reasons()
1219 pkt = alloc_skb(pktsize, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons()
1225 pktsize -= hdrlen; in iwl_mvm_report_wakeup_reasons()
1252 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons()
1255 skb_put_data(pkt, pktdata, pktsize); in iwl_mvm_report_wakeup_reasons()
1273 pktsize -= fcslen; in iwl_mvm_report_wakeup_reasons()
1275 wakeup.packet_present_len = pktsize; in iwl_mvm_report_wakeup_reasons()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_user_sdma.c911 int pktsize, tidsmsize, n; in qib_user_sdma_queue_pkts() local
914 pktsize = sizeof(*pkt) + sizeof(pkt->addr[0])*n; in qib_user_sdma_queue_pkts()
929 pkt = kmalloc(pktsize+tidsmsize, GFP_KERNEL); in qib_user_sdma_queue_pkts()
939 char *tidsm = (char *)pkt + pktsize; in qib_user_sdma_queue_pkts()
/Linux-v4.19/drivers/media/usb/au0828/
Dau0828.h142 int pos, size, pktsize; member
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx.h176 int pos, size, pktsize; member
210 int pos, size, pktsize; member
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dsb1250-mac.c791 int pktsize = ENET_PACKET_SIZE; in sbdma_add_rcvbuffer() local
853 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | 0; in sbdma_add_rcvbuffer()
856 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | in sbdma_add_rcvbuffer()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dsched.c60 p->u.params.weight, p->u.params.pktsize); in t4_sched_class_fw_cmd()
Dcxgb4_main.c2740 u16 pktsize; in cxgb4_mgmt_set_vf_rate() local
2771 pktsize = mtu; in cxgb4_mgmt_set_vf_rate()
2773 pktsize = pktsize - sizeof(struct ethhdr) - 4; in cxgb4_mgmt_set_vf_rate()
2775 pktsize = pktsize - sizeof(struct iphdr) - sizeof(struct tcphdr); in cxgb4_mgmt_set_vf_rate()
2783 max_tx_rate * 1000, 0, pktsize); in cxgb4_mgmt_set_vf_rate()
2791 class_id, pktsize, max_tx_rate); in cxgb4_mgmt_set_vf_rate()
2935 p.u.params.pktsize = dev->mtu; in cxgb_set_tx_maxrate()
/Linux-v4.19/include/net/
Dtcp.h602 static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) in tcp_bound_to_half_wnd() argument
618 if (cutoff && pktsize > cutoff) in tcp_bound_to_half_wnd()
621 return pktsize; in tcp_bound_to_half_wnd()
/Linux-v4.19/drivers/net/ethernet/
Djme.h196 __le16 pktsize; member

12