Home
last modified time | relevance | path

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

12

/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()
672 psmouse->pktsize = 8; in cypress_init()
Dpsmouse-base.c137 if (psmouse->pktcnt < psmouse->pktsize) in psmouse_process_byte()
463 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)); in psmouse_poll()
507 psmouse->pktsize = 4; in genius_detect()
540 psmouse->pktsize = 4; in intellimouse_detect()
586 psmouse->pktsize = 4; in im_explorer_detect()
694 psmouse->pktsize = 3; in psmouse_apply_defaults()
1242 for (i = 0; i < psmouse->pktsize; i++) { in psmouse_resync()
1412 if (psmouse->pktsize == 3) in psmouse_switch_protocol()
Dtouchkit_ps2.c96 psmouse->pktsize = 5; in touchkit_ps2_detect()
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()
Dalps.c1169 if (psmouse->pktcnt == psmouse->pktsize) { in alps_flush_packet()
1226 psmouse->pktcnt >= 2 && psmouse->pktcnt <= psmouse->pktsize && in alps_process_byte()
1233 psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()
1257 if (psmouse->pktcnt == psmouse->pktsize) { in alps_process_byte()
1576 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)) < 0; in alps_poll()
2444 psmouse->pktsize = priv->proto_version == ALPS_PROTO_V4 ? 8 : 6; in alps_init()
2450 psmouse->resetafter = psmouse->pktsize * 2; in alps_init()
Dpsmouse.h49 unsigned char pktsize; member
Dsynaptics.c578 if (child->pktsize == 4) in synaptics_pass_pt_packet()
591 if (child->pktsize == 4) in synaptics_pt_activate()
1834 psmouse->pktsize = 6; in __synaptics_init()
1838 psmouse->pktsize = 3; in __synaptics_init()
Dlifebook.c348 psmouse->pktsize = 3; in lifebook_init()
Delantech.c228 for (i = 0; i < psmouse->pktsize; i++) in elantech_packet_dump()
828 if (psmouse->pktcnt < psmouse->pktsize) in elantech_process_byte()
1715 psmouse->pktsize = etd->hw_version > 1 ? 6 : 4; in elantech_init()
Dlogips2pp.c399 psmouse->pktsize = 3; in ps2pp_init()
Dsentelic.c1062 psmouse->pktsize = 4; in fsp_init()
/drivers/media/dvb-core/
Ddvb_demux.c495 const int pktsize) in find_next_packet() argument
501 (pktsize == 204 && buf[pos] == 0xB8)) in find_next_packet()
509 int backtrack = pos - pktsize; in find_next_packet()
511 (pktsize == 204 && buf[backtrack] == 0xB8))) in find_next_packet()
520 size_t count, const int pktsize) in _dvb_dmx_swfilter() argument
530 j = pktsize - i; in _dvb_dmx_swfilter()
544 p = find_next_packet(buf, p, count, pktsize); in _dvb_dmx_swfilter()
547 if (count - p < pktsize) in _dvb_dmx_swfilter()
552 if (pktsize == 204 && (*q == 0xB8)) { in _dvb_dmx_swfilter()
558 p += pktsize; in _dvb_dmx_swfilter()
[all …]
/drivers/media/usb/tm6000/
Dtm6000-usb-isoc.h39 int pos, size, pktsize; member
Dtm6000-video.c140 unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0; in copy_streams() local
200 pktsize = TM6000_URB_MSG_LEN; in copy_streams()
237 size = pktsize; /* Size is always 180 bytes */ in copy_streams()
245 pktsize = dev->isoc_ctl.pktsize; in copy_streams()
278 if (ptr + pktsize > endp) { in copy_streams()
287 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); in copy_streams()
291 ptr += pktsize; in copy_streams()
/drivers/net/wireless/iwlwifi/mvm/
Dd3.c1143 int pktsize = status->wake_packet_bufsize; in iwl_mvm_report_wakeup_reasons() local
1147 int truncated = pktlen - pktsize; in iwl_mvm_report_wakeup_reasons()
1157 pkt = alloc_skb(pktsize, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons()
1163 pktsize -= hdrlen; in iwl_mvm_report_wakeup_reasons()
1190 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons()
1193 memcpy(skb_put(pkt, pktsize), pktdata, pktsize); in iwl_mvm_report_wakeup_reasons()
1211 pktsize -= fcslen; in iwl_mvm_report_wakeup_reasons()
1213 wakeup.packet_present_len = pktsize; in iwl_mvm_report_wakeup_reasons()
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h370 u8 pktsize[14]; /* dword 0 */ member
404 u8 pktsize[14]; /* dword 0 */ member
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c910 int pktsize, tidsmsize, n; in qib_user_sdma_queue_pkts() local
913 pktsize = sizeof(*pkt) + sizeof(pkt->addr[0])*n; in qib_user_sdma_queue_pkts()
928 pkt = kmalloc(pktsize+tidsmsize, GFP_KERNEL); in qib_user_sdma_queue_pkts()
938 char *tidsm = (char *)pkt + pktsize; in qib_user_sdma_queue_pkts()
/drivers/media/usb/au0828/
Dau0828.h156 int pos, size, pktsize; member
/drivers/media/usb/cx231xx/
Dcx231xx.h169 int pos, size, pktsize; member
203 int pos, size, pktsize; member
/drivers/net/ethernet/broadcom/
Dsb1250-mac.c792 int pktsize = ENET_PACKET_SIZE; in sbdma_add_rcvbuffer() local
854 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | 0; in sbdma_add_rcvbuffer()
857 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | in sbdma_add_rcvbuffer()
/drivers/net/ethernet/
Djme.h196 __le16 pktsize; member
/drivers/net/wireless/rtlwifi/rtl8723be/
Dtrx.h440 u32 pktsize:16; member
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dtrx.h435 u32 pktsize:16; member
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.h554 u32 pktsize:16; member
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dtrx.h539 u32 pktsize:16; member

12