Home
last modified time | relevance | path

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

/drivers/usb/gadget/
Df_ncm.c870 int ncb_len = 0; in ncm_wrap_ntb() local
885 ncb_len += opts->nth_size; in ncm_wrap_ntb()
886 ndp_pad = ALIGN(ncb_len, ndp_align) - ncb_len; in ncm_wrap_ntb()
887 ncb_len += ndp_pad; in ncm_wrap_ntb()
888 ncb_len += opts->ndp_size; in ncm_wrap_ntb()
889 ncb_len += 2 * 2 * opts->dgram_item_len; /* Datagram entry */ in ncm_wrap_ntb()
890 ncb_len += 2 * 2 * opts->dgram_item_len; /* Zero datagram entry */ in ncm_wrap_ntb()
891 pad = ALIGN(ncb_len, div) + rem - ncb_len; in ncm_wrap_ntb()
892 ncb_len += pad; in ncm_wrap_ntb()
894 if (ncb_len + skb->len + crc_len > max_size) { in ncm_wrap_ntb()
[all …]