Lines Matching +full:bd +full:- +full:address

1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2010-2011 Intel Corporation
44 * This is the devices status address in EC space, and the control bits
64 * This is the address in EC space and commands used to control LCD backlight:
73 * LCD backlight brightness range: 0 - 100 (OT_EC_BL_BRIGHTNESS_MAX)
123 rfkill_dev = rfkill_alloc(name, &oaktrail_device->dev, type, in oaktrail_rfkill_new()
126 return ERR_PTR(-ENOMEM); in oaktrail_rfkill_new()
160 wifi_rfkill = oaktrail_rfkill_new("oaktrail-wifi", in oaktrail_rfkill_init()
169 bt_rfkill = oaktrail_rfkill_new("oaktrail-bluetooth", in oaktrail_rfkill_init()
178 gps_rfkill = oaktrail_rfkill_new("oaktrail-gps", in oaktrail_rfkill_init()
187 wwan_rfkill = oaktrail_rfkill_new("oaktrail-wwan", in oaktrail_rfkill_init()
215 u8 percent = (u8) b->props.brightness; in set_backlight_brightness()
217 return -EINVAL; in set_backlight_brightness()
232 struct backlight_device *bd; in oaktrail_backlight_init() local
238 bd = backlight_device_register(DRIVER_NAME, in oaktrail_backlight_init()
239 &oaktrail_device->dev, NULL, in oaktrail_backlight_init()
243 if (IS_ERR(bd)) { in oaktrail_backlight_init()
246 return PTR_ERR(bd); in oaktrail_backlight_init()
249 oaktrail_bl_device = bd; in oaktrail_backlight_init()
251 bd->props.brightness = get_backlight_brightness(bd); in oaktrail_backlight_init()
252 bd->props.power = BACKLIGHT_POWER_ON; in oaktrail_backlight_init()
253 backlight_update_status(bd); in oaktrail_backlight_init()
277 pr_info("Identified model '%s'\n", id->ident); in dmi_check_cb()
299 return -ENODEV; in oaktrail_init()
303 pr_err("Platform not recognized (You could try the module's force-parameter)"); in oaktrail_init()
304 return -ENODEV; in oaktrail_init()
316 ret = -ENOMEM; in oaktrail_init()