/linux/drivers/input/mouse/ |
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()
|
A D | psmouse-base.c | 155 if (psmouse->pktcnt < psmouse->pktsize) in psmouse_process_byte() 498 PSMOUSE_CMD_POLL | (psmouse->pktsize << 8)); in psmouse_poll() 568 psmouse->pktsize = 4; in genius_detect() 601 psmouse->pktsize = 4; in intellimouse_detect() 647 psmouse->pktsize = 4; in im_explorer_detect() 988 psmouse->pktsize = 3; in psmouse_apply_defaults() 1383 for (i = 0; i < psmouse->pktsize; i++) { in psmouse_resync() 1553 if (psmouse->pktsize == 3) in psmouse_switch_protocol()
|
A D | byd.c | 284 if (psmouse->pktcnt < psmouse->pktsize) in byd_process_byte() 486 psmouse->pktsize = 4; in byd_init()
|
A D | touchkit_ps2.c | 83 psmouse->pktsize = 5; in touchkit_ps2_detect()
|
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()
|
A D | synaptics.c | 680 if (child->pktsize == 4) in synaptics_pass_pt_packet() 694 if (child->pktsize == 4) in synaptics_pt_activate() 1615 psmouse->pktsize = 6; in synaptics_init_ps2() 1619 psmouse->pktsize = 3; in synaptics_init_ps2()
|
A D | psmouse.h | 100 unsigned char pktsize; member
|
A D | lifebook.c | 349 psmouse->pktsize = 3; in lifebook_init()
|
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()
|
A D | focaltech.c | 434 psmouse->pktsize = 6; in focaltech_init()
|
A D | logips2pp.c | 332 psmouse->pktsize = 3; in ps2pp_setup_protocol()
|
A D | elantech.c | 267 psmouse->pktsize, psmouse->packet); in elantech_packet_dump() 927 if (psmouse->pktcnt < psmouse->pktsize) in elantech_process_byte() 2116 psmouse->pktsize = info->hw_version > 1 ? 6 : 4; in elantech_setup_ps2()
|
/linux/drivers/media/dvb-core/ |
A D | dvb_demux.c | 523 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/drivers/net/ethernet/emulex/benet/ |
A D | be_hw.h | 304 u8 pktsize[14]; /* dword 0 */ member 338 u8 pktsize[14]; /* dword 0 */ member
|
/linux/drivers/media/usb/tm6000/ |
A D | tm6000-usb-isoc.h | 27 int pos, size, pktsize; member
|
A D | tm6000-video.c | 123 unsigned int cmd, cpysize, pktsize, size, field, block, line, pos = 0; in copy_streams() local 183 pktsize = TM6000_URB_MSG_LEN; in copy_streams() 220 size = pktsize; /* Size is always 180 bytes */ in copy_streams() 228 pktsize = dev->isoc_ctl.pktsize; in copy_streams() 261 if (ptr + pktsize > endp) { in copy_streams() 270 dev->isoc_ctl.pktsize = pktsize - (endp - ptr); in copy_streams() 274 ptr += pktsize; in copy_streams()
|
/linux/drivers/mtd/nand/raw/ |
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() 599 unsigned int offset, naddrs, pktsize; in anfc_parse_instructions() local 638 &pktsize); in anfc_parse_instructions() 656 nfc_op->pkt_reg |= PKT_SIZE(round_up(pktsize, 4)) | in anfc_parse_instructions()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | d3.c | 1478 int pktsize = status->wake_packet_bufsize; in iwl_mvm_report_wakeup_reasons() local 1482 int truncated = pktlen - pktsize; in iwl_mvm_report_wakeup_reasons() 1492 pkt = alloc_skb(pktsize, GFP_KERNEL); in iwl_mvm_report_wakeup_reasons() 1498 pktsize -= hdrlen; in iwl_mvm_report_wakeup_reasons() 1525 pktsize -= ivlen + icvlen; in iwl_mvm_report_wakeup_reasons() 1528 skb_put_data(pkt, pktdata, pktsize); in iwl_mvm_report_wakeup_reasons() 1546 pktsize -= fcslen; in iwl_mvm_report_wakeup_reasons() 1548 wakeup.packet_present_len = pktsize; in iwl_mvm_report_wakeup_reasons()
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_user_sdma.c | 911 size_t tidsmsize, n, pktsize, sz, addrlimit; in qib_user_sdma_queue_pkts() local 914 pktsize = struct_size(pkt, addr, n); in qib_user_sdma_queue_pkts() 929 if (check_add_overflow(pktsize, tidsmsize, &sz)) { in qib_user_sdma_queue_pkts() 949 char *tidsm = (char *)pkt + pktsize; in qib_user_sdma_queue_pkts()
|
/linux/drivers/infiniband/hw/irdma/ |
A D | cm.c | 311 u16 pktsize; in irdma_form_ah_cm_frame() local 340 memset(buf, 0, pktsize); 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 …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
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()
|
/linux/drivers/media/usb/au0828/ |
A D | au0828.h | 133 int pos, size, pktsize; member
|
/linux/drivers/media/usb/cx231xx/ |
A D | cx231xx.h | 163 int pos, size, pktsize; member 197 int pos, size, pktsize; member
|
/linux/drivers/net/ethernet/broadcom/ |
A D | sb1250-mac.c | 778 int pktsize = ENET_PACKET_SIZE; in sbdma_add_rcvbuffer() local 840 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | 0; in sbdma_add_rcvbuffer() 843 V_DMA_DSCRA_A_SIZE(NUMCACHEBLKS(pktsize + NET_IP_ALIGN)) | in sbdma_add_rcvbuffer()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | trx.h | 353 u32 pktsize:16; member
|