Home
last modified time | relevance | path

Searched refs:rec_len (Results 1 – 7 of 7) sorted by relevance

/drivers/input/touchscreen/
Diqs5xx.c711 u8 rec_len, rec_type, rec_chksm, chksm; in iqs5xx_fw_file_parse() local
754 rec_len = *rec_hdr; in iqs5xx_fw_file_parse()
755 rec_addr = get_unaligned_be16(rec_hdr + sizeof(rec_len)); in iqs5xx_fw_file_parse()
756 rec_type = *(rec_hdr + sizeof(rec_len) + sizeof(rec_addr)); in iqs5xx_fw_file_parse()
758 if (pos + rec_len * 2 > fw->size) { in iqs5xx_fw_file_parse()
763 pos += (rec_len * 2); in iqs5xx_fw_file_parse()
765 error = hex2bin(rec_data, rec->data, rec_len); in iqs5xx_fw_file_parse()
773 rec->data + rec_len * 2, sizeof(rec_chksm)); in iqs5xx_fw_file_parse()
783 for (i = 0; i < rec_len; i++) in iqs5xx_fw_file_parse()
805 rec_data, rec_len); in iqs5xx_fw_file_parse()
/drivers/net/can/usb/peak_usb/
Dpcan_usb.c581 u8 rec_len = status_len & PCAN_USB_STATUSLEN_DLC; in pcan_usb_decode_status() local
614 rec_len = 2; in pcan_usb_decode_status()
619 rec_len = 1; in pcan_usb_decode_status()
639 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_status()
642 mc->ptr += rec_len; in pcan_usb_decode_status()
652 u8 rec_len = status_len & PCAN_USB_STATUSLEN_DLC; in pcan_usb_decode_data() local
678 can_frame_set_cc_len(cf, rec_len, mc->pdev->dev.can.ctrlmode); in pcan_usb_decode_data()
692 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_data()
696 mc->ptr += rec_len; in pcan_usb_decode_data()
Dpcan_usb_pro.c248 u16 rec_len; in pcan_usb_pro_wait_rsp() local
279 rec_len = pcan_usb_pro_sizeof_rec[pr->data_type]; in pcan_usb_pro_wait_rsp()
280 if (!rec_len) { in pcan_usb_pro_wait_rsp()
306 pc += rec_len; in pcan_usb_pro_wait_rsp()
/drivers/s390/char/
Dvmur.h36 __s16 rec_len; member
Dvmur.c675 rc = fcb->rec_len; in get_uri_file_reclen()
/drivers/s390/scsi/
Dzfcp_dbf.c487 u16 rec_len; in zfcp_dbf_san() local
502 rec_len = min_t(unsigned int, sg->length, ZFCP_DBF_SAN_MAX_PAYLOAD); in zfcp_dbf_san()
503 memcpy(rec->payload, sg_virt(sg), rec_len); /* part of 1st sg entry */ in zfcp_dbf_san()
504 if (len <= rec_len) in zfcp_dbf_san()
/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c1018 u16 rec_len; in qtnf_parse_variable_mac_info() local
1079 rec_len = sizeof(*rec) + rec->n_limits * sizeof(*lim); in qtnf_parse_variable_mac_info()
1081 if (unlikely(tlv_value_len != rec_len)) { in qtnf_parse_variable_mac_info()
1134 rec_len = sizeof(*wowlan) + le16_to_cpu(wowlan->len); in qtnf_parse_variable_mac_info()
1135 if (unlikely(tlv_value_len != rec_len)) { in qtnf_parse_variable_mac_info()