Lines Matching refs:bos
155 if (!udev->bos) in usb_device_supports_lpm()
162 if (udev->bos->ext_cap && in usb_device_supports_lpm()
164 le32_to_cpu(udev->bos->ext_cap->bmAttributes))) in usb_device_supports_lpm()
174 if (!udev->bos->ss_cap) { in usb_device_supports_lpm()
179 if (udev->bos->ss_cap->bU1devExitLat == 0 && in usb_device_supports_lpm()
180 udev->bos->ss_cap->bU2DevExitLat == 0) { in usb_device_supports_lpm()
335 if (!udev->bos) in usb_set_lpm_parameters()
345 udev_u1_del = udev->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
346 udev_u2_del = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
347 hub_u1_del = udev->parent->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
348 hub_u2_del = le16_to_cpu(udev->parent->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
2768 if (!hdev->bos) in get_port_ssp_rate()
2771 ssp_cap = hdev->bos->ssp_cap; in get_port_ssp_rate()
4299 if (!udev->bos) in usb_enable_link_state()
4302 u1_mel = udev->bos->ss_cap->bU1devExitLat; in usb_enable_link_state()
4303 u2_mel = udev->bos->ss_cap->bU2DevExitLat; in usb_enable_link_state()
4760 if (!udev->usb2_hw_lpm_capable || !udev->bos) in hub_set_initial_usb2_lpm_policy()
4766 if ((udev->bos->ext_cap->bmAttributes & cpu_to_le32(USB_BESL_SUPPORT)) || in hub_set_initial_usb2_lpm_policy()
5295 if ((old_bos && !udev->bos) || (!old_bos && udev->bos)) in descriptors_changed()
5297 if (udev->bos) { in descriptors_changed()
5298 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed()
5301 if (memcmp(udev->bos->desc, old_bos->desc, len)) in descriptors_changed()
5652 udev->bos)) { in hub_port_connect_change()
6091 struct usb_host_bos *bos; in usb_reset_and_verify_device() local
6122 bos = udev->bos; in usb_reset_and_verify_device()
6123 udev->bos = NULL; in usb_reset_and_verify_device()
6146 if (descriptors_changed(udev, &descriptor, bos)) { in usb_reset_and_verify_device()
6223 udev->bos = bos; in usb_reset_and_verify_device()
6228 udev->bos = bos; in usb_reset_and_verify_device()