Home
last modified time | relevance | path

Searched refs:maxpkt (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-mtk-sch.c238 u32 maxpkt; in setup_sch_info() local
247 maxpkt = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
257 sch_ep->maxpkt = maxpkt; in setup_sch_info()
278 sch_ep->bw_cost_per_microframe = maxpkt * sch_ep->pkts; in setup_sch_info()
289 esit_pkts = DIV_ROUND_UP(max_esit_payload, maxpkt); in setup_sch_info()
296 bwb_table[0] = maxpkt * sch_ep->pkts; in setup_sch_info()
314 sch_ep->bw_cost_per_microframe = maxpkt * sch_ep->pkts; in setup_sch_info()
318 remainder -= (maxpkt * esit_pkts); in setup_sch_info()
332 sch_ep->cs_count = DIV_ROUND_UP(maxpkt, FS_PAYLOAD_MA in setup_sch_info()
[all...]
H A Dxhci-mtk.h60 * @maxpkt: max packet size of endpoint
88 u32 maxpkt; member
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-mtk-sch.c277 u32 maxpkt; in setup_sch_info() local
284 maxpkt = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
295 sch_ep->maxpkt = maxpkt; in setup_sch_info()
316 sch_ep->bw_cost_per_microframe = maxpkt * sch_ep->pkts; in setup_sch_info()
326 esit_pkts = DIV_ROUND_UP(max_esit_payload, maxpkt); in setup_sch_info()
350 sch_ep->bw_cost_per_microframe = maxpkt * sch_ep->pkts; in setup_sch_info()
358 sch_ep->cs_count = DIV_ROUND_UP(maxpkt, FS_PAYLOAD_MAX); in setup_sch_info()
360 sch_ep->bw_cost_per_microframe = min_t(u32, maxpkt, FS_PAYLOAD_MAX); in setup_sch_info()
447 u32 cs_count = DIV_ROUND_UP(sch_ep->maxpkt, FS_PAYLOAD_MA in check_sch_tt()
[all...]
H A Dxhci-mtk.h68 * @maxpkt: max packet size of endpoint
98 u32 maxpkt; member
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h233 #define USB_EP_DEF(addr, bname, dir, type, maxpkt, ctype, cdir) \
234 { .usb_ep = { .name = bname, .ops = &pxa_ep_ops, .maxpacket = maxpkt, \
238 .wMaxPacketSize = maxpkt, }, \
263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \
270 .type = _type, .fifo_size = maxpkt, \
H A Dpxa27x_udc.c141 int i, maxpkt; in queues_dbg_show() local
149 maxpkt = ep->fifo_size; in queues_dbg_show()
151 EPNAME(ep), maxpkt, "pio"); in queues_dbg_show()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h233 #define USB_EP_DEF(addr, bname, dir, type, maxpkt, ctype, cdir) \
234 { .usb_ep = { .name = bname, .ops = &pxa_ep_ops, .maxpacket = maxpkt, \
238 .wMaxPacketSize = maxpkt, }, \
263 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \
270 .type = _type, .fifo_size = maxpkt, \
H A Dpxa27x_udc.c141 int i, maxpkt; in queues_dbg_show() local
149 maxpkt = ep->fifo_size; in queues_dbg_show()
151 EPNAME(ep), maxpkt, "pio"); in queues_dbg_show()
/kernel/linux/linux-5.10/drivers/usb/mtu3/
H A Dmtu3_core.c634 u32 maxpkt = 64; in mtu3_link_isr() local
667 maxpkt = 512; in mtu3_link_isr()
671 maxpkt = 512; in mtu3_link_isr()
682 mtu->g.ep0->maxpacket = maxpkt; in mtu3_link_isr()
/kernel/linux/linux-6.6/drivers/usb/mtu3/
H A Dmtu3_core.c673 u32 maxpkt = 64; in mtu3_link_isr() local
706 maxpkt = 512; in mtu3_link_isr()
710 maxpkt = 512; in mtu3_link_isr()
721 mtu->g.ep0->maxpacket = maxpkt; in mtu3_link_isr()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Dgadget.c672 unsigned int maxpkt; in get_ep_limit() local
676 maxpkt = DXEPTSIZ_PKTCNT_LIMIT + 1; in get_ep_limit()
680 maxpkt = DIEPTSIZ0_PKTCNT_LIMIT + 1; in get_ep_limit()
682 maxpkt = 2; in get_ep_limit()
686 maxpkt--; in get_ep_limit()
694 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit()
695 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit()
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Dgadget.c671 unsigned int maxpkt; in get_ep_limit() local
675 maxpkt = DXEPTSIZ_PKTCNT_LIMIT + 1; in get_ep_limit()
679 maxpkt = DIEPTSIZ0_PKTCNT_LIMIT + 1; in get_ep_limit()
681 maxpkt = 2; in get_ep_limit()
685 maxpkt--; in get_ep_limit()
693 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit()
694 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit()
/kernel/linux/linux-5.10/net/tipc/
H A Dsocket.c1559 int maxpkt = tsk->max_pkt; in __tipc_sendstream() local
1610 rc = tipc_msg_build(hdr, m, sent, send, maxpkt, txq); in __tipc_sendstream()
/kernel/linux/linux-6.6/net/tipc/
H A Dsocket.c1569 int maxpkt = tsk->max_pkt; in __tipc_sendstream() local
1620 rc = tipc_msg_build(hdr, m, sent, send, maxpkt, txq); in __tipc_sendstream()

Completed in 34 milliseconds