Home
last modified time | relevance | path

Searched refs:bInterval (Results 1 – 25 of 154) sorted by relevance

1234567

/openbmc/linux/drivers/usb/common/
H A Dcommon.c241 interval = epd->bInterval; in usb_decode_interval()
244 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
249 interval = epd->bInterval; in usb_decode_interval()
253 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
255 interval = epd->bInterval; in usb_decode_interval()
/openbmc/linux/sound/usb/
H A Dhelper.c113 if (get_endpoint(alts, 0)->bInterval >= 1 && in snd_usb_parse_datainterval()
114 get_endpoint(alts, 0)->bInterval <= 4) in snd_usb_parse_datainterval()
115 return get_endpoint(alts, 0)->bInterval - 1; in snd_usb_parse_datainterval()
/openbmc/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-uac211 c_hs_bint capture bInterval for HS/SS (1-4: fixed, 0: auto)
26 p_hs_bint playback bInterval for HS/SS (1-4: fixed, 0: auto)
/openbmc/linux/drivers/usb/gadget/function/
H A Df_sourcesink.c105 .bInterval = 4,
115 .bInterval = 4,
155 .bInterval = 4,
164 .bInterval = 4,
222 .bInterval = 4,
240 .bInterval = 4,
357 fs_iso_source_desc.bInterval = ss->isoc_interval; in sourcesink_bind()
360 fs_iso_sink_desc.bInterval = ss->isoc_interval; in sourcesink_bind()
396 hs_iso_source_desc.bInterval = ss->isoc_interval; in sourcesink_bind()
402 hs_iso_sink_desc.bInterval = ss->isoc_interval; in sourcesink_bind()
[all …]
H A Df_uac2.c272 .bInterval = 1,
281 .bInterval = 4,
291 .bInterval = 4,
353 .bInterval = 1,
403 .bInterval = 1,
412 .bInterval = 4,
422 .bInterval = 4,
487 .bInterval = 1,
727 bint = ep_desc->bInterval; in set_ep_max_packet_size_bint()
775 ep_desc->bInterval = bint; in set_ep_max_packet_size_bint()
[all …]
H A Df_hid.c133 .bInterval = 4, /* FIXME: Add this field in the
154 .bInterval = 4, /* FIXME: Add this field in the
195 .bInterval = 4, /* FIXME: Add this field in the
207 .bInterval = 4, /* FIXME: Add this field in the
236 .bInterval = 10, /* FIXME: Add this field in the
248 .bInterval = 10, /* FIXME: Add this field in the
/openbmc/qemu/hw/usb/
H A Ddev-hid.c105 .bInterval = 0x0a,
136 .bInterval = 7, /* 2 ^ (8-1) * 125 usecs = 8 ms */
166 .bInterval = 0x0a,
196 .bInterval = 4, /* 2 ^ (4-1) * 125 usecs = 1 ms */
227 .bInterval = 0x0a,
258 .bInterval = 7, /* 2 ^ (8-1) * 125 usecs = 8 ms */
H A Ddesc.h62 uint8_t bInterval; member
167 uint8_t bInterval; member
H A Du2f.c82 .bInterval = 0x05,
87 .bInterval = 0x05,
H A Ddev-audio.c230 .bInterval = 1,
394 .bInterval = 1,
447 .bInterval = 1,
500 .bInterval = 1,
/openbmc/u-boot/drivers/usb/gadget/
H A Dstorage_common.c445 .bInterval = 32, /* frames -> 32 ms */
495 .bInterval = 1, /* NAK every 1 uframe */
508 .bInterval = 9, /* 2**(9-1) = 256 uframes -> 32 ms */
/openbmc/u-boot/drivers/serial/
H A Dusbtty.c222 .bInterval = 0xFF,
249 .bInterval = 0xFF,
260 .bInterval = 0xFF,
328 .bInterval= 0xFF,
338 .bInterval = 0xFF,
348 .bInterval = 0xFF,
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_keyb.c109 .bInterval = 0xa,
143 .bInterval = 0xa,
H A Dsandbox_flash.c148 .bInterval = 0,
158 .bInterval = 0,
/openbmc/linux/drivers/usb/core/
H A Dconfig.c335 n = fls(d->bInterval*8); in usb_parse_endpoint()
347 n = clamp(fls(d->bInterval) + 3, i, j); in usb_parse_endpoint()
355 n = clamp(fls(d->bInterval), i, j); in usb_parse_endpoint()
380 if (d->bInterval < i || d->bInterval > j) { in usb_parse_endpoint()
385 d->bEndpointAddress, d->bInterval, n); in usb_parse_endpoint()
386 endpoint->desc.bInterval = n; in usb_parse_endpoint()
398 endpoint->desc.bInterval = 1; in usb_parse_endpoint()
/openbmc/linux/drivers/usb/image/
H A Dmdc800.c179 .bInterval = 0,
189 .bInterval = 0,
199 .bInterval = 0,
209 .bInterval = 0,
469 irq_interval=intf_desc->endpoint [j].desc.bInterval; in mdc800_usb_probe()
/openbmc/linux/drivers/usb/class/
H A Dcdc-acm.h102 u8 bInterval; member
/openbmc/linux/drivers/media/usb/uvc/
H A Duvc_status.c247 urb->interval = dev->int_ep->desc.bInterval; in uvc_status_complete()
281 interval = ep->desc.bInterval; in uvc_status_init()
/openbmc/linux/include/uapi/linux/usb/
H A Dfunctionfs.h37 __u8 bInterval; member
/openbmc/linux/drivers/input/joystick/iforce/
H A Diforce-usb.c231 iforce_usb_irq, iforce_usb, epirq->bInterval); in iforce_usb_probe()
236 iforce_usb_out, iforce_usb, epout->bInterval); in iforce_usb_probe()
/openbmc/linux/drivers/usb/misc/
H A Dadutux.c277 dev->interrupt_in_endpoint->bInterval); in adu_open()
430 dev->interrupt_in_endpoint->bInterval); in adu_read()
488 dev->interrupt_in_endpoint->bInterval); in adu_read()
593 dev->interrupt_out_endpoint->bInterval); in adu_write()
H A Dusbtest.c263 u8 bInterval, in usbtest_alloc_urb() argument
272 if (bInterval) in usbtest_alloc_urb()
274 NULL, bInterval); in usbtest_alloc_urb()
321 u8 bInterval) in simple_alloc_urb() argument
324 bInterval, simple_callback); in simple_alloc_urb()
331 u8 bInterval) in complicated_alloc_urb() argument
334 bInterval, complicated_callback); in complicated_alloc_urb()
2094 1 << (desc->bInterval - 1), in test_queue()
2101 (packets * (1 << (desc->bInterval - 1))) in test_queue()
2572 dev->int_out->bInterval); in usbtest_do_ioctl()
[all …]
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_gadget.c79 interval = desc->bInterval; in mtu3_ep_enable()
91 interval = desc->bInterval; in mtu3_ep_enable()
98 interval = clamp_val(desc->bInterval, 1, 16); in mtu3_ep_enable()
100 interval = clamp_val(desc->bInterval, 1, 255); in mtu3_ep_enable()
/openbmc/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_cmd.c152 si = desc->bInterval; in bdc_config_ep()
196 si = fls(desc->bInterval * 8) - 1; in bdc_config_ep()
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c282 if (endpt_desc->bInterval == 0) in xhci_parse_microframe_interval()
285 return xhci_microframes_to_exponent(endpt_desc->bInterval, 0, 15); in xhci_parse_microframe_interval()
291 return xhci_microframes_to_exponent(endpt_desc->bInterval * 8, 3, 10); in xhci_parse_frame_interval()
303 interval = clamp_val(endpt_desc->bInterval, 1, 16) - 1; in xhci_parse_exponent_interval()
304 if (interval != endpt_desc->bInterval - 1) in xhci_parse_exponent_interval()

1234567