Home
last modified time | relevance | path

Searched refs:ac_desc (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/gadget/function/
Df_uac1.c934 struct uac1_ac_header_descriptor *ac_desc; in build_ac_header_desc() local
945 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()
/drivers/power/supply/
Dgoldfish_battery.c190 static const struct power_supply_desc ac_desc = { variable
237 data->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in goldfish_battery_probe()
Dmax8925_power.c348 static const struct power_supply_desc ac_desc = { variable
531 info->ac = power_supply_register(&pdev->dev, &ac_desc, &psy_cfg); in max8925_power_probe()