Home
last modified time | relevance | path

Searched refs:props (Results 1 - 25 of 702) sorted by relevance

12345678910>>...29

/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A Dbacklight.c108 struct backlight_properties *props; in pmac_backlight_key_worker() local
111 props = &pmac_backlight->props; in pmac_backlight_key_worker()
113 brightness = props->brightness + in pmac_backlight_key_worker()
115 (props->max_brightness / 15)); in pmac_backlight_key_worker()
119 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()
120 brightness = props->max_brightness; in pmac_backlight_key_worker()
122 props->brightness = brightness; in pmac_backlight_key_worker()
147 struct backlight_properties *props; in __pmac_backlight_set_legacy_brightness() local
149 props in __pmac_backlight_set_legacy_brightness()
196 struct backlight_properties *props; pmac_backlight_get_legacy_brightness() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/
H A Dbacklight.c107 struct backlight_properties *props; in pmac_backlight_key_worker() local
110 props = &pmac_backlight->props; in pmac_backlight_key_worker()
112 brightness = props->brightness + in pmac_backlight_key_worker()
114 (props->max_brightness / 15)); in pmac_backlight_key_worker()
118 else if (brightness > props->max_brightness) in pmac_backlight_key_worker()
119 brightness = props->max_brightness; in pmac_backlight_key_worker()
121 props->brightness = brightness; in pmac_backlight_key_worker()
146 struct backlight_properties *props; in __pmac_backlight_set_legacy_brightness() local
148 props in __pmac_backlight_set_legacy_brightness()
195 struct backlight_properties *props; pmac_backlight_get_legacy_brightness() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c17 struct usb_data_stream_properties *props);
92 struct usb_data_stream_properties *props) in usb_urb_submitv2()
96 if (props) { in usb_urb_submitv2()
97 ret = usb_urb_reconfig(stream, props); in usb_urb_submitv2()
141 for (i = 0; i < stream->props.count; i++) { in usb_urb_alloc_bulk_urbs()
153 stream->props.endpoint), in usb_urb_alloc_bulk_urbs()
155 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs()
168 for (i = 0; i < stream->props.count; i++) { in usb_urb_alloc_isoc_urbs()
173 stream->props.u.isoc.framesperurb, GFP_ATOMIC); in usb_urb_alloc_isoc_urbs()
187 stream->props in usb_urb_alloc_isoc_urbs()
91 usb_urb_submitv2(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_submitv2() argument
250 usb_urb_reconfig(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_reconfig() argument
306 usb_urb_initv2(struct usb_data_stream *stream, const struct usb_data_stream_properties *props) usb_urb_initv2() argument
[all...]
H A Ddvb_usb_core.c29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware()
45 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware()
61 if (!d->props->i2c_algo) in dvb_usbv2_i2c_init()
65 d->i2c_adap.algo = d->props->i2c_algo; in dvb_usbv2_i2c_init()
125 if (dvb_usbv2_disable_rc_polling || !d->props->get_rc_config) in dvb_usbv2_remote_init()
129 ret = d->props->get_rc_config(d, &d->rc); in dvb_usbv2_remote_init()
149 dev->driver_name = d->props->driver_name; in dvb_usbv2_remote_init()
230 return usb_urb_initv2(&adap->stream, &adap->props->stream); in dvb_usbv2_adapter_stream_init()
267 if (d->props->get_stream_config) { in dvb_usb_start_feed()
268 memcpy(&stream_props, &adap->props in dvb_usb_start_feed()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c17 struct usb_data_stream_properties *props);
92 struct usb_data_stream_properties *props) in usb_urb_submitv2()
96 if (props) { in usb_urb_submitv2()
97 ret = usb_urb_reconfig(stream, props); in usb_urb_submitv2()
141 for (i = 0; i < stream->props.count; i++) { in usb_urb_alloc_bulk_urbs()
153 stream->props.endpoint), in usb_urb_alloc_bulk_urbs()
155 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs()
168 for (i = 0; i < stream->props.count; i++) { in usb_urb_alloc_isoc_urbs()
173 stream->props.u.isoc.framesperurb, GFP_ATOMIC); in usb_urb_alloc_isoc_urbs()
187 stream->props in usb_urb_alloc_isoc_urbs()
91 usb_urb_submitv2(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_submitv2() argument
250 usb_urb_reconfig(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_reconfig() argument
306 usb_urb_initv2(struct usb_data_stream *stream, const struct usb_data_stream_properties *props) usb_urb_initv2() argument
[all...]
H A Ddvb_usb_core.c29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware()
45 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware()
61 if (!d->props->i2c_algo) in dvb_usbv2_i2c_init()
65 d->i2c_adap.algo = d->props->i2c_algo; in dvb_usbv2_i2c_init()
125 if (dvb_usbv2_disable_rc_polling || !d->props->get_rc_config) in dvb_usbv2_remote_init()
129 ret = d->props->get_rc_config(d, &d->rc); in dvb_usbv2_remote_init()
149 dev->driver_name = d->props->driver_name; in dvb_usbv2_remote_init()
230 return usb_urb_initv2(&adap->stream, &adap->props->stream); in dvb_usbv2_adapter_stream_init()
267 if (d->props->get_stream_config) { in dvb_usb_start_feed()
268 memcpy(&stream_props, &adap->props in dvb_usb_start_feed()
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Dsimple_card_utils.h84 #define simple_props_to_dlc_cpu(props, i) ((props)->cpus + i)
85 #define simple_props_to_dlc_codec(props, i) ((props)->codecs + i)
86 #define simple_props_to_dlc_platform(props, i) ((props)->platforms + i)
88 #define simple_props_to_dai_cpu(props, i) ((props)->cpu_dai + i)
89 #define simple_props_to_dai_codec(props, i) ((props)
242 struct simple_dai_props *props = simple_priv_to_props(priv, i); asoc_simple_debug_info() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init()
36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init()
38 for (o = 0; o < adap->props.num_frontends; o++) { in dvb_usb_adapter_init()
39 struct dvb_usb_adapter_fe_properties *props = &adap->props.fe[o]; in dvb_usb_adapter_init() local
41 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { in dvb_usb_adapter_init()
46 if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || in dvb_usb_adapter_init()
47 (props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) { in dvb_usb_adapter_init()
48 info("will use the device's hardware PID filter (table count: %d).", props in dvb_usb_adapter_init()
210 dvb_usb_find_device(struct usb_device *udev, const struct dvb_usb_device_properties *props, int *cold) dvb_usb_find_device() argument
267 dvb_usb_device_init(struct usb_interface *intf, const struct dvb_usb_device_properties *props, struct module *owner, struct dvb_usb_device **du, short *adapter_nums) dvb_usb_device_init() argument
[all...]
H A Ddvb-usb-remote.c49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode()
50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode()
72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode()
73 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_setkeycode()
123 if (d->props.rc.legacy.rc_query(d,&event,&state)) { in legacy_dvb_usb_read_remote_control()
187 schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc.legacy.rc_interval)); in legacy_dvb_usb_read_remote_control()
211 deb_rc("key map size: %d\n", d->props.rc.legacy.rc_map_size); in legacy_dvb_usb_remote_init()
212 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { in legacy_dvb_usb_remote_init()
214 d->props.rc.legacy.rc_map_table[i].keycode, i); in legacy_dvb_usb_remote_init()
215 set_bit(d->props in legacy_dvb_usb_remote_init()
[all...]
H A Dusb-urb.c142 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, in usb_bulk_urb_init()
143 stream->props.u.bulk.buffersize)) < 0) in usb_bulk_urb_init()
147 for (i = 0; i < stream->props.count; i++) { in usb_bulk_urb_init()
156 usb_rcvbulkpipe(stream->udev,stream->props.endpoint), in usb_bulk_urb_init()
158 stream->props.u.bulk.buffersize, in usb_bulk_urb_init()
172 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, in usb_isoc_urb_init()
173 stream->props.u.isoc.framesize*stream->props.u.isoc.framesperurb)) < 0) in usb_isoc_urb_init()
177 for (i = 0; i < stream->props.count; i++) { in usb_isoc_urb_init()
181 stream->urb_list[i] = usb_alloc_urb(stream->props in usb_isoc_urb_init()
213 usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Ddvb-usb-init.c31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init()
36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init()
38 for (o = 0; o < adap->props.num_frontends; o++) { in dvb_usb_adapter_init()
39 struct dvb_usb_adapter_fe_properties *props = &adap->props.fe[o]; in dvb_usb_adapter_init() local
41 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { in dvb_usb_adapter_init()
46 if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || in dvb_usb_adapter_init()
47 (props->caps & DVB_USB_ADAP_NEED_PID_FILTERING)) { in dvb_usb_adapter_init()
48 info("will use the device's hardware PID filter (table count: %d).", props in dvb_usb_adapter_init()
210 dvb_usb_find_device(struct usb_device *udev, const struct dvb_usb_device_properties *props, int *cold) dvb_usb_find_device() argument
267 dvb_usb_device_init(struct usb_interface *intf, const struct dvb_usb_device_properties *props, struct module *owner, struct dvb_usb_device **du, short *adapter_nums) dvb_usb_device_init() argument
[all...]
H A Ddvb-usb-remote.c49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode()
50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode()
72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode()
73 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_setkeycode()
123 if (d->props.rc.legacy.rc_query(d,&event,&state)) { in legacy_dvb_usb_read_remote_control()
187 schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc.legacy.rc_interval)); in legacy_dvb_usb_read_remote_control()
211 deb_rc("key map size: %d\n", d->props.rc.legacy.rc_map_size); in legacy_dvb_usb_remote_init()
212 for (i = 0; i < d->props.rc.legacy.rc_map_size; i++) { in legacy_dvb_usb_remote_init()
214 d->props.rc.legacy.rc_map_table[i].keycode, i); in legacy_dvb_usb_remote_init()
215 set_bit(d->props in legacy_dvb_usb_remote_init()
[all...]
H A Dusb-urb.c142 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, in usb_bulk_urb_init()
143 stream->props.u.bulk.buffersize)) < 0) in usb_bulk_urb_init()
147 for (i = 0; i < stream->props.count; i++) { in usb_bulk_urb_init()
156 usb_rcvbulkpipe(stream->udev,stream->props.endpoint), in usb_bulk_urb_init()
158 stream->props.u.bulk.buffersize, in usb_bulk_urb_init()
172 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, in usb_isoc_urb_init()
173 stream->props.u.isoc.framesize*stream->props.u.isoc.framesperurb)) < 0) in usb_isoc_urb_init()
177 for (i = 0; i < stream->props.count; i++) { in usb_isoc_urb_init()
181 stream->urb_list[i] = usb_alloc_urb(stream->props in usb_isoc_urb_init()
213 usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c60 * @props: the device properties
66 struct ib_device_attr *props, in pvrdma_query_device()
74 props->fw_ver = dev->dsr->caps.fw_ver; in pvrdma_query_device()
75 props->sys_image_guid = dev->dsr->caps.sys_image_guid; in pvrdma_query_device()
76 props->max_mr_size = dev->dsr->caps.max_mr_size; in pvrdma_query_device()
77 props->page_size_cap = dev->dsr->caps.page_size_cap; in pvrdma_query_device()
78 props->vendor_id = dev->dsr->caps.vendor_id; in pvrdma_query_device()
79 props->vendor_part_id = dev->pdev->device; in pvrdma_query_device()
80 props->hw_ver = dev->dsr->caps.hw_ver; in pvrdma_query_device()
81 props in pvrdma_query_device()
65 pvrdma_query_device(struct ib_device *ibdev, struct ib_device_attr *props, struct ib_udata *uhw) pvrdma_query_device() argument
128 pvrdma_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *props) pvrdma_query_port() argument
240 pvrdma_modify_device(struct ib_device *ibdev, int mask, struct ib_device_modify *props) pvrdma_modify_device() argument
277 pvrdma_modify_port(struct ib_device *ibdev, u8 port, int mask, struct ib_port_modify *props) pvrdma_modify_port() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c60 * @props: the device properties
66 struct ib_device_attr *props, in pvrdma_query_device()
74 props->fw_ver = dev->dsr->caps.fw_ver; in pvrdma_query_device()
75 props->sys_image_guid = dev->dsr->caps.sys_image_guid; in pvrdma_query_device()
76 props->max_mr_size = dev->dsr->caps.max_mr_size; in pvrdma_query_device()
77 props->page_size_cap = dev->dsr->caps.page_size_cap; in pvrdma_query_device()
78 props->vendor_id = dev->dsr->caps.vendor_id; in pvrdma_query_device()
79 props->vendor_part_id = dev->pdev->device; in pvrdma_query_device()
80 props->hw_ver = dev->dsr->caps.hw_ver; in pvrdma_query_device()
81 props in pvrdma_query_device()
65 pvrdma_query_device(struct ib_device *ibdev, struct ib_device_attr *props, struct ib_udata *uhw) pvrdma_query_device() argument
128 pvrdma_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) pvrdma_query_port() argument
240 pvrdma_modify_device(struct ib_device *ibdev, int mask, struct ib_device_modify *props) pvrdma_modify_device() argument
277 pvrdma_modify_port(struct ib_device *ibdev, u32 port, int mask, struct ib_port_modify *props) pvrdma_modify_port() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c278 struct ib_device_attr *props, in usnic_ib_query_device()
292 memset(props, 0, sizeof(*props)); in usnic_ib_query_device()
295 memcpy(&props->sys_image_guid, &gid.global.interface_id, in usnic_ib_query_device()
297 usnic_ib_fw_string_to_u64(&info.fw_version[0], &props->fw_ver); in usnic_ib_query_device()
298 props->max_mr_size = USNIC_UIOM_MAX_MR_SIZE; in usnic_ib_query_device()
299 props->page_size_cap = USNIC_UIOM_PAGE_SIZE; in usnic_ib_query_device()
300 props->vendor_id = PCI_VENDOR_ID_CISCO; in usnic_ib_query_device()
301 props->vendor_part_id = PCI_DEVICE_ID_CISCO_VIC_USPACE_NIC; in usnic_ib_query_device()
302 props in usnic_ib_query_device()
277 usnic_ib_query_device(struct ib_device *ibdev, struct ib_device_attr *props, struct ib_udata *uhw) usnic_ib_query_device() argument
335 usnic_ib_query_port(struct ib_device *ibdev, u32 port, struct ib_port_attr *props) usnic_ib_query_port() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c279 struct ib_device_attr *props, in usnic_ib_query_device()
293 memset(props, 0, sizeof(*props)); in usnic_ib_query_device()
296 memcpy(&props->sys_image_guid, &gid.global.interface_id, in usnic_ib_query_device()
298 usnic_ib_fw_string_to_u64(&info.fw_version[0], &props->fw_ver); in usnic_ib_query_device()
299 props->max_mr_size = USNIC_UIOM_MAX_MR_SIZE; in usnic_ib_query_device()
300 props->page_size_cap = USNIC_UIOM_PAGE_SIZE; in usnic_ib_query_device()
301 props->vendor_id = PCI_VENDOR_ID_CISCO; in usnic_ib_query_device()
302 props->vendor_part_id = PCI_DEVICE_ID_CISCO_VIC_USPACE_NIC; in usnic_ib_query_device()
303 props in usnic_ib_query_device()
278 usnic_ib_query_device(struct ib_device *ibdev, struct ib_device_attr *props, struct ib_udata *uhw) usnic_ib_query_device() argument
335 usnic_ib_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr *props) usnic_ib_query_port() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Daat2870_bl.c35 val /= bd->props.max_brightness; in aat2870_brightness()
62 int brightness = bd->props.brightness; in aat2870_bl_update_status()
65 if ((brightness < 0) || (bd->props.max_brightness < brightness)) { in aat2870_bl_update_status()
71 bd->props.brightness, bd->props.power, bd->props.state); in aat2870_bl_update_status()
73 if ((bd->props.power != FB_BLANK_UNBLANK) || in aat2870_bl_update_status()
74 (bd->props.state & BL_CORE_FBBLANK) || in aat2870_bl_update_status()
75 (bd->props.state & BL_CORE_SUSPENDED)) in aat2870_bl_update_status()
114 struct backlight_properties props; in aat2870_bl_probe() local
[all...]
H A Dtosa_bl.c53 struct backlight_properties *props = &dev->props; in tosa_bl_update_status() local
55 int power = max(props->power, props->fb_blank); in tosa_bl_update_status()
56 int brightness = props->brightness; in tosa_bl_update_status()
68 struct backlight_properties *props = &dev->props; in tosa_bl_get_brightness() local
70 return props->brightness; in tosa_bl_get_brightness()
81 struct backlight_properties props; in tosa_bl_probe() local
101 memset(&props, in tosa_bl_probe()
[all...]
H A Dbacklight.c120 bd->props.state &= ~BL_CORE_FBBLANK; in fb_notifier_callback()
121 bd->props.fb_blank = FB_BLANK_UNBLANK; in fb_notifier_callback()
127 bd->props.state |= BL_CORE_FBBLANK; in fb_notifier_callback()
128 bd->props.fb_blank = fb_blank; in fb_notifier_callback()
186 return sprintf(buf, "%d\n", bd->props.power); in bl_power_show()
204 if (bd->props.power != power) { in bl_power_store()
205 old_power = bd->props.power; in bl_power_store()
206 bd->props.power = power; in bl_power_store()
209 bd->props.power = old_power; in bl_power_store()
227 return sprintf(buf, "%d\n", bd->props in brightness_show()
393 backlight_device_register(const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) backlight_device_register() argument
602 devm_backlight_device_register(struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) devm_backlight_device_register() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/x86/
H A Dapple.c30 union acpi_object *props, *newprops; in acpi_extract_apple_properties() local
37 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 0, in acpi_extract_apple_properties()
39 if (!props) in acpi_extract_apple_properties()
42 if (!props->buffer.length) in acpi_extract_apple_properties()
45 if (props->buffer.pointer[0] != 3) { in acpi_extract_apple_properties()
48 props->buffer.length, props->buffer.pointer); in acpi_extract_apple_properties()
52 ACPI_FREE(props); in acpi_extract_apple_properties()
53 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 1, in acpi_extract_apple_properties()
55 if (!props) in acpi_extract_apple_properties()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/x86/
H A Dapple.c31 union acpi_object *props, *newprops; in acpi_extract_apple_properties() local
38 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 0, in acpi_extract_apple_properties()
40 if (!props) in acpi_extract_apple_properties()
43 if (!props->buffer.length) in acpi_extract_apple_properties()
46 if (props->buffer.pointer[0] != 3) { in acpi_extract_apple_properties()
49 props->buffer.length, props->buffer.pointer); in acpi_extract_apple_properties()
53 ACPI_FREE(props); in acpi_extract_apple_properties()
54 props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 1, in acpi_extract_apple_properties()
56 if (!props) in acpi_extract_apple_properties()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dbacklight.h282 * @props: Backlight properties
284 struct backlight_properties props; member
368 bd->props.power = FB_BLANK_UNBLANK; in backlight_enable()
369 bd->props.fb_blank = FB_BLANK_UNBLANK; in backlight_enable()
370 bd->props.state &= ~BL_CORE_FBBLANK; in backlight_enable()
384 bd->props.power = FB_BLANK_POWERDOWN; in backlight_disable()
385 bd->props.fb_blank = FB_BLANK_POWERDOWN; in backlight_disable()
386 bd->props.state |= BL_CORE_FBBLANK; in backlight_disable()
405 return bd->props.power != FB_BLANK_UNBLANK || in backlight_is_blank()
406 bd->props in backlight_is_blank()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dbacklight.h282 * @props: Backlight properties
284 struct backlight_properties props; member
368 bd->props.power = FB_BLANK_UNBLANK; in backlight_enable()
369 bd->props.fb_blank = FB_BLANK_UNBLANK; in backlight_enable()
370 bd->props.state &= ~BL_CORE_FBBLANK; in backlight_enable()
384 bd->props.power = FB_BLANK_POWERDOWN; in backlight_disable()
385 bd->props.fb_blank = FB_BLANK_POWERDOWN; in backlight_disable()
386 bd->props.state |= BL_CORE_FBBLANK; in backlight_disable()
405 return bd->props.power != FB_BLANK_UNBLANK || in backlight_is_blank()
406 bd->props in backlight_is_blank()
[all...]
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dbacklight.c120 bd->props.state &= ~BL_CORE_FBBLANK; in fb_notifier_callback()
121 bd->props.fb_blank = FB_BLANK_UNBLANK; in fb_notifier_callback()
127 bd->props.state |= BL_CORE_FBBLANK; in fb_notifier_callback()
128 bd->props.fb_blank = fb_blank; in fb_notifier_callback()
186 return sprintf(buf, "%d\n", bd->props.power); in bl_power_show()
204 if (bd->props.power != power) { in bl_power_store()
205 old_power = bd->props.power; in bl_power_store()
206 bd->props.power = power; in bl_power_store()
209 bd->props.power = old_power; in bl_power_store()
227 return sprintf(buf, "%d\n", bd->props in brightness_show()
405 backlight_device_register(const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) backlight_device_register() argument
614 devm_backlight_device_register(struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, const struct backlight_properties *props) devm_backlight_device_register() argument
[all...]

Completed in 13 milliseconds

12345678910>>...29