Lines Matching refs:sysfs_emit
39 rc = sysfs_emit(buf, format_string, \
65 rc = sysfs_emit(buf, "%dmA\n", usb_get_max_power(udev, actconfig)); in bMaxPower_show()
84 rc = sysfs_emit(buf, "%s\n", actconfig->string); in configuration_show()
118 return sysfs_emit(buf, "%pOF\n", of_node); in devspec_show()
135 retval = sysfs_emit(buf, "%s\n", udev->name); \
176 return sysfs_emit(buf, "%s\n", speed); in speed_show()
186 return sysfs_emit(buf, "%d\n", udev->rx_lanes); in rx_lanes_show()
196 return sysfs_emit(buf, "%d\n", udev->tx_lanes); in tx_lanes_show()
206 return sysfs_emit(buf, "%d\n", udev->bus->busnum); in busnum_show()
216 return sysfs_emit(buf, "%d\n", udev->devnum); in devnum_show()
226 return sysfs_emit(buf, "%s\n", udev->devpath); in devpath_show()
238 return sysfs_emit(buf, "%2x.%02x\n", bcdUSB >> 8, bcdUSB & 0xff); in version_show()
248 return sysfs_emit(buf, "%d\n", udev->maxchild); in maxchild_show()
258 return sysfs_emit(buf, "0x%x\n", udev->quirks); in quirks_show()
268 return sysfs_emit(buf, "%d\n", !!(udev->quirks & USB_QUIRK_RESET)); in avoid_reset_quirk_show()
298 return sysfs_emit(buf, "%d\n", atomic_read(&udev->urbnum)); in urbnum_show()
306 return sysfs_emit(buf, "%s\n", "yes"); in ltm_capable_show()
307 return sysfs_emit(buf, "%s\n", "no"); in ltm_capable_show()
318 return sysfs_emit(buf, "%d\n", udev->persist_enabled); in persist_show()
373 return sysfs_emit(buf, "%u\n", in connected_duration_show()
395 return sysfs_emit(buf, "%u\n", duration); in active_duration_show()
402 return sysfs_emit(buf, "%d\n", dev->power.autosuspend_delay / 1000); in autosuspend_show()
443 return sysfs_emit(buf, "%s\n", p); in level_show()
491 return sysfs_emit(buf, "%s\n", p); in usb2_hardware_lpm_show()
530 return sysfs_emit(buf, "%d\n", udev->l1_params.timeout); in usb2_lpm_l1_timeout_show()
553 return sysfs_emit(buf, "%d\n", udev->l1_params.besl); in usb2_lpm_besl_show()
590 return sysfs_emit(buf, "%s\n", p); in usb3_hardware_lpm_u1_show()
612 return sysfs_emit(buf, "%s\n", p); in usb3_hardware_lpm_u2_show()
695 return sysfs_emit(buf, format_string, \
712 return sysfs_emit(buf, format_string, udev->descriptor.field); \
728 return sysfs_emit(buf, "%u\n", usb_dev->authorized); in authorized_show()
914 return sysfs_emit(buf, "%u\n", hcd->dev_policy); in authorized_default_show()
953 return sysfs_emit(buf, "%u\n", !!HCD_INTF_AUTHORIZED(hcd)); in interface_authorized_default_show()
1062 return sysfs_emit(buf, format_string, \
1081 return sysfs_emit(buf, format_string, \
1103 return sysfs_emit(buf, "%s\n", string); in interface_show()
1118 return sysfs_emit(buf, in modalias_show()
1147 return sysfs_emit(buf, "%u\n", s); in supports_autosuspend_show()
1160 return sysfs_emit(buf, "%u\n", intf->authorized); in interface_authorized_show()
1234 return sysfs_emit(buf, "%s\n", "disconnected"); in wireless_status_show()
1235 return sysfs_emit(buf, "%s\n", "connected"); in wireless_status_show()