Lines Matching refs:bos

158 		if (udev->bos->ext_cap &&  in usb_device_supports_lpm()
160 le32_to_cpu(udev->bos->ext_cap->bmAttributes))) in usb_device_supports_lpm()
170 if (!udev->bos->ss_cap) { in usb_device_supports_lpm()
175 if (udev->bos->ss_cap->bU1devExitLat == 0 && in usb_device_supports_lpm()
176 udev->bos->ss_cap->bU2DevExitLat == 0) { in usb_device_supports_lpm()
337 udev_u1_del = udev->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
338 udev_u2_del = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
339 hub_u1_del = udev->parent->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
340 hub_u2_del = le16_to_cpu(udev->parent->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
2704 struct usb_ssp_cap_descriptor *ssp_cap = hdev->bos->ssp_cap; in get_port_ssp_rate()
4186 __u8 u1_mel = udev->bos->ss_cap->bU1devExitLat; in usb_enable_link_state()
4187 __le16 u2_mel = udev->bos->ss_cap->bU2DevExitLat; in usb_enable_link_state()
4638 if (!udev->usb2_hw_lpm_capable || !udev->bos) in hub_set_initial_usb2_lpm_policy()
4644 if ((udev->bos->ext_cap->bmAttributes & cpu_to_le32(USB_BESL_SUPPORT)) || in hub_set_initial_usb2_lpm_policy()
5115 if ((old_bos && !udev->bos) || (!old_bos && udev->bos)) in descriptors_changed()
5117 if (udev->bos) { in descriptors_changed()
5118 len = le16_to_cpu(udev->bos->desc->wTotalLength); in descriptors_changed()
5121 if (memcmp(udev->bos->desc, old_bos->desc, len)) in descriptors_changed()
5470 udev->bos)) { in hub_port_connect_change()
5916 struct usb_host_bos *bos; in usb_reset_and_verify_device() local
5937 bos = udev->bos; in usb_reset_and_verify_device()
5938 udev->bos = NULL; in usb_reset_and_verify_device()
5957 if (descriptors_changed(udev, &descriptor, bos)) { in usb_reset_and_verify_device()
6035 udev->bos = bos; in usb_reset_and_verify_device()
6040 udev->bos = bos; in usb_reset_and_verify_device()