Home
last modified time | relevance | path

Searched refs:ndplen (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/usb/
H A Dcdc_ncm.c1198 u16 n = 0, index, ndplen; in cdc_ncm_fill_tx_frame() local
1328 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame()
1329 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1; in cdc_ncm_fill_tx_frame()
1334 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame()
1336 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame()
1337 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp32)) / sizeof(struct usb_cdc_ncm_dpe32) - 1; in cdc_ncm_fill_tx_frame()
1341 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_fill_tx_frame()
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dcdc_ncm.c1212 u16 n = 0, index, ndplen; in cdc_ncm_fill_tx_frame() local
1342 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame()
1343 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1; in cdc_ncm_fill_tx_frame()
1348 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame()
1350 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame()
1351 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp32)) / sizeof(struct usb_cdc_ncm_dpe32) - 1; in cdc_ncm_fill_tx_frame()
1355 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_fill_tx_frame()

Completed in 6 milliseconds