/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
H A D | backlight.c | 108 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 D | backlight.c | 107 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-6.6/include/sound/ |
H A D | simple_card_utils.h | 84 #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-v2/ |
H A D | usb_urb.c | 17 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 D | dvb_usb_core.c | 29 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 D | usb_urb.c | 17 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 D | dvb_usb_core.c | 29 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-5.10/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-init.c | 31 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 D | dvb-usb-remote.c | 49 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...] |
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-init.c | 31 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 D | dvb-usb-remote.c | 49 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...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.c | 60 * @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 D | pvrdma_verbs.c | 60 * @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...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_item_layout_algorithm.cpp | 24 auto props = AceType::DynamicCast<GridItemLayoutProperty>(layoutWrapper->GetLayoutProperty()); in Measure() local 25 CHECK_NULL_VOID(props); in Measure() 36 auto props = AceType::DynamicCast<GridItemLayoutProperty>(layoutWrapper->GetLayoutProperty()); in CreateChildConstraint() local 37 auto layoutConstraint = props->CreateChildConstraint(); in CreateChildConstraint() 39 if (!props->GetNeedStretch()) { in CreateChildConstraint() 40 if (props->GetStretchChild()) { in CreateChildConstraint() 41 props->SetStretchChild(false); in CreateChildConstraint() 58 if (props->GetStretchChild() || (!childConstraint->selfIdealSize.MainSize(props->GetAxis()).has_value() && in CreateChildConstraint() 59 layoutConstraint.parentIdealSize.MainSize(props in CreateChildConstraint() [all...] |
H A D | grid_utils.cpp | 47 inline float GetRowGap(const RefPtr<GridLayoutProperty>& props, float frameHeight) in GetRowGap() argument 49 auto scale = props->GetLayoutConstraint()->scaleProperty; in GetRowGap() 50 return ConvertToPx(props->GetRowsGap().value_or(0.0_vp), scale, frameHeight).value_or(0); in GetRowGap() 53 inline float GetColumnGap(const RefPtr<GridLayoutProperty>& props, float frameWidth) in GetColumnGap() argument 55 auto scale = props->GetLayoutConstraint()->scaleProperty; in GetColumnGap() 56 return ConvertToPx(props->GetColumnsGap().value_or(0.0_vp), scale, frameWidth).value_or(0); in GetColumnGap() 60 float GridUtils::GetMainGap(const RefPtr<GridLayoutProperty>& props, const SizeF& frameSize, Axis axis) in GetMainGap() argument 62 return axis == Axis::HORIZONTAL ? GetColumnGap(props, frameSize.Width()) : GetRowGap(props, frameSize.Height()); in GetMainGap() 65 float GridUtils::GetCrossGap(const RefPtr<GridLayoutProperty>& props, cons argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | accessibility_property_test_ng.cpp | 66 AccessibilityProperty props; in HWTEST_F() local 67 auto actions = props.GetSupportAction(); in HWTEST_F() 74 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_SCROLL_FORWARD); in HWTEST_F() 75 actions = props.GetSupportAction(); in HWTEST_F() 82 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY); in HWTEST_F() 83 actions = props.GetSupportAction(); in HWTEST_F() 90 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_SET_TEXT); in HWTEST_F() 91 actions = props.GetSupportAction(); in HWTEST_F() 98 props.supportActions_ = static_cast<uint32_t>(AceAction::ACTION_COPY); in HWTEST_F() 99 actions = props in HWTEST_F() 154 AccessibilityProperty props; HWTEST_F() local 203 AccessibilityProperty props; HWTEST_F() local 395 AccessibilityProperty props; HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 278 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...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/ |
H A D | option_pattern.cpp | 268 auto props = GetPaintProperty<OptionPaintProperty>(); in OnPress() local 269 CHECK_NULL_VOID(props); in OnPress() 281 props->UpdatePress(true); in OnPress() 294 props->UpdatePress(false); in OnPress() 310 auto props = GetPaintProperty<OptionPaintProperty>(); in OnHover() local 311 CHECK_NULL_VOID(props); in OnHover() 319 props->UpdateHover(true); in OnHover() 325 props->UpdateHover(false); in OnHover() 352 auto props = DynamicCast<FrameNode>(nextNode)->GetPaintProperty<OptionPaintProperty>(); in UpdateNextNodeDivider() local 353 CHECK_NULL_VOID(props); in UpdateNextNodeDivider() 370 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontSize() local 380 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetItalicFontStyle() local 389 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontWeight() local 398 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontFamily() local 407 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); SetFontColor() local 421 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); InspectorGetFont() local 440 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontSize() local 450 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetItalicFontStyle() local 459 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontWeight() local 468 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontFamily() local 477 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); GetFontColor() local 494 auto props = text_->GetLayoutProperty<TextLayoutProperty>(); UpdateText() local 526 auto props = icon_->GetLayoutProperty<ImageLayoutProperty>(); UpdateIcon() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 279 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...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_layout_property.h | 37 auto props = MakeRefPtr<DialogLayoutProperty>(); variable 38 props->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this)); 39 props->propDialogAlignment_ = CloneDialogAlignment(); 40 props->propDialogOffset_ = CloneDialogOffset(); 41 props->propGridCount_ = CloneGridCount(); 42 props->propUseCustomStyle_ = CloneUseCustomStyle(); 43 props->propAutoCancel_ = CloneAutoCancel(); 44 props->propShowInSubWindow_ = CloneShowInSubWindow(); 45 props->propIsModal_ = CloneIsModal(); 46 props [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/ |
H A D | menu_item_group_paint_method.cpp | 28 auto props = DynamicCast<MenuItemGroupPaintProperty>(paintWrapper->GetPaintProperty()); in GetOverlayDrawFunction() local 29 CHECK_NULL_VOID(props); in GetOverlayDrawFunction() 30 bool needHeaderPadding = props->GetNeedHeaderPadding().value_or(false); in GetOverlayDrawFunction() 33 GroupDividerInfo info = group->PreparePaintData(pipeline, props, paintWrapper); in GetOverlayDrawFunction() 34 bool needHeaderDivider = props->GetNeedHeaderDivider().value_or(true); in GetOverlayDrawFunction() 35 bool needFooterDivider = props->GetNeedFooterDivider().value_or(true); in GetOverlayDrawFunction() 39 bool needFooterPadding = props->GetNeedFooterPadding().value_or(false); in GetOverlayDrawFunction() 50 RefPtr<PipelineBase>& pipeline, RefPtr<MenuItemGroupPaintProperty>& props, PaintWrapper* paintWrapper) in PreparePaintData() 66 if (props->GetStrokeWidth()->Unit() != DimensionUnit::INVALID) { in PreparePaintData() 67 info.strokeWidth = props in PreparePaintData() 49 PreparePaintData( RefPtr<PipelineBase>& pipeline, RefPtr<MenuItemGroupPaintProperty>& props, PaintWrapper* paintWrapper) PreparePaintData() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A D | aat2870_bl.c | 35 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...] |
/kernel/linux/linux-5.10/drivers/acpi/x86/ |
H A D | apple.c | 30 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 D | apple.c | 31 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 D | backlight.h | 282 * @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...] |