Searched refs:ac_desc (Results 1 – 3 of 3) sorted by relevance
934 struct uac1_ac_header_descriptor *ac_desc; in build_ac_header_desc() local945 ac_desc = kzalloc(ac_header_desc_size, GFP_KERNEL); in build_ac_header_desc()946 if (!ac_desc) in build_ac_header_desc()949 ac_desc->bLength = ac_header_desc_size; in build_ac_header_desc()950 ac_desc->bDescriptorType = USB_DT_CS_INTERFACE; in build_ac_header_desc()951 ac_desc->bDescriptorSubtype = UAC_HEADER; in build_ac_header_desc()952 ac_desc->bcdADC = cpu_to_le16(0x0100); in build_ac_header_desc()953 ac_desc->bInCollection = num_ifaces; in build_ac_header_desc()957 return ac_desc; in build_ac_header_desc()
190 static const struct power_supply_desc ac_desc = { variable237 data->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in goldfish_battery_probe()
348 static const struct power_supply_desc ac_desc = { variable531 info->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in max8925_power_probe()