Home
last modified time | relevance | path

Searched refs:ielength (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/uwb/
Dhwa-rc.c124 size_t bytes_left, ielength; in hwarc_filter_evt_beacon_WUSB_0100() local
136 ielength = le16_to_cpu(be->wBeaconInfoLength); in hwarc_filter_evt_beacon_WUSB_0100()
137 if (bytes_left < ielength) { in hwarc_filter_evt_beacon_WUSB_0100()
140 bytes_left, ielength); in hwarc_filter_evt_beacon_WUSB_0100()
143 newbe = kzalloc(sizeof(*newbe) + ielength, GFP_ATOMIC); in hwarc_filter_evt_beacon_WUSB_0100()
153 memcpy(newbe->BeaconInfo, be->BeaconInfo, ielength); in hwarc_filter_evt_beacon_WUSB_0100()
155 *new_size = sizeof(*newbe) + ielength; in hwarc_filter_evt_beacon_WUSB_0100()
183 size_t bytes_left, ielength; in hwarc_filter_evt_drp_avail_WUSB_0100() local
196 ielength = le16_to_cpu(da->wIELength); in hwarc_filter_evt_drp_avail_WUSB_0100()
197 if (bytes_left < ielength) { in hwarc_filter_evt_drp_avail_WUSB_0100()
[all …]
Ddrp.c808 size_t ielength, bytes_left; in uwbd_evt_handle_rc_drp() local
822 ielength = le16_to_cpu(drp_evt->ie_length); in uwbd_evt_handle_rc_drp()
823 if (bytes_left != ielength) { in uwbd_evt_handle_rc_drp()
826 bytes_left, ielength); in uwbd_evt_handle_rc_drp()
847 uwb_drp_process_all(rc, drp_evt, ielength, src_dev); in uwbd_evt_handle_rc_drp()