Home
last modified time | relevance | path

Searched refs:props (Results 201 - 225 of 1485) sorted by relevance

12345678910>>...60

/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dlocomolcd.c174 struct backlight_properties props; in locomolcd_probe() local
184 memset(&props, 0, sizeof(struct backlight_properties)); in locomolcd_probe()
185 props.type = BACKLIGHT_RAW; in locomolcd_probe()
186 props.max_brightness = 4; in locomolcd_probe()
189 &locomobl_data, &props); in locomolcd_probe()
195 locomolcd_bl_device->props.brightness = 2; in locomolcd_probe()
205 locomolcd_bl_device->props.brightness = 0; in locomolcd_remove()
206 locomolcd_bl_device->props.power = 0; in locomolcd_remove()
H A Dcr_bllcd.c154 struct backlight_properties props; in cr_backlight_probe() local
174 memset(&props, 0, sizeof(struct backlight_properties)); in cr_backlight_probe()
175 props.type = BACKLIGHT_RAW; in cr_backlight_probe()
178 &props); in cr_backlight_probe()
203 crp->cr_backlight_device->props.power = FB_BLANK_UNBLANK; in cr_backlight_probe()
204 crp->cr_backlight_device->props.brightness = 0; in cr_backlight_probe()
217 crp->cr_backlight_device->props.power = FB_BLANK_POWERDOWN; in cr_backlight_remove()
218 crp->cr_backlight_device->props.brightness = 0; in cr_backlight_remove()
219 crp->cr_backlight_device->props.max_brightness = 0; in cr_backlight_remove()
H A Dktz8866.c130 struct backlight_properties props; in ktz8866_probe() local
154 memset(&props, 0, sizeof(props)); in ktz8866_probe()
155 props.type = BACKLIGHT_RAW; in ktz8866_probe()
156 props.max_brightness = MAX_BRIGHTNESS; in ktz8866_probe()
157 props.brightness = DEFAULT_BRIGHTNESS; in ktz8866_probe()
158 props.scale = BACKLIGHT_SCALE_LINEAR; in ktz8866_probe()
161 &client->dev, ktz, &ktz8866_backlight_ops, &props); in ktz8866_probe()
177 backlight_dev->props.brightness = 0; in ktz8866_remove()
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/
H A Dradeon_backlight.c125 struct backlight_properties props; in radeonfb_bl_init() local
147 memset(&props, 0, sizeof(struct backlight_properties)); in radeonfb_bl_init()
148 props.type = BACKLIGHT_RAW; in radeonfb_bl_init()
149 props.max_brightness = FB_BACKLIGHT_LEVELS - 1; in radeonfb_bl_init()
151 &radeon_bl_data, &props); in radeonfb_bl_init()
181 bd->props.brightness = bd->props.max_brightness; in radeonfb_bl_init()
182 bd->props.power = FB_BLANK_UNBLANK; in radeonfb_bl_init()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dbind_test.cc29 bool Extract(const char *s, UnboundConversion *props, int *next) const { in Extract() argument
30 return ConsumeUnboundConversion(s, s + strlen(s), props, next) == in Extract()
85 UnboundConversion props; in TEST_F() local
89 if (Extract(e.fmt, &props, &next)) { in TEST_F()
91 if (BindWithPack(&props, args, &bound)) { in TEST_F()
106 UnboundConversion props; in TEST_F() local
112 ASSERT_TRUE(Extract("*d", &props, &next)); in TEST_F()
113 ASSERT_TRUE(BindWithPack(&props, args, &bound)); in TEST_F()
/third_party/typescript/tests/baselines/reference/
H A DdestructuringWithConstraint.js8 function foo<P extends Props>(props: Readonly<P>) {
9 let { foo = false } = props;
17 function foo(props) {
18 var _a = props.foo, foo = _a === void 0 ? false : _a;
H A DjsxEmptyExpressionNotCountedAsChild(jsx=react).js9 function Wrapper(props: Props) {
10 return <div>{props.children}</div>
25 function Wrapper(props) {
26 return React.createElement("div", null, props.children);
H A DjsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).js9 function Wrapper(props: Props) {
10 return <div>{props.children}</div>
24 function Wrapper(props) {
25 return (0, jsx_runtime_1.jsx)("div", { children: props.children });
H A DtsxGenericAttributesType2.js5 return (props) => <Component {...props} y={"blah"} ></Component>
13 return function (props) { return <Component {...props} y={"blah"}></Component>; };
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dlp8788_bl.c164 if (bl_dev->props.state & BL_CORE_SUSPENDED) in lp8788_bl_update_status()
165 bl_dev->props.brightness = 0; in lp8788_bl_update_status()
168 int brt = bl_dev->props.brightness; in lp8788_bl_update_status()
169 int max = bl_dev->props.max_brightness; in lp8788_bl_update_status()
173 u8 brt = bl_dev->props.brightness; in lp8788_bl_update_status()
189 struct backlight_properties props; in lp8788_backlight_register() local
194 props.type = BACKLIGHT_PLATFORM; in lp8788_backlight_register()
195 props.max_brightness = MAX_BRIGHTNESS; in lp8788_backlight_register()
200 props.max_brightness); in lp8788_backlight_register()
204 props in lp8788_backlight_register()
[all...]
H A Dlm3630a_bl.c191 lm3630a_pwm_ctrl(pchip, bl->props.brightness, in lm3630a_bank_a_update_status()
192 bl->props.max_brightness); in lm3630a_bank_a_update_status()
202 ret = lm3630a_write(pchip, REG_BRT_A, bl->props.brightness); in lm3630a_bank_a_update_status()
203 if (bl->props.brightness < 0x4) in lm3630a_bank_a_update_status()
246 bl->props.brightness = brightness; in lm3630a_bank_a_get_brightness()
247 return bl->props.brightness; in lm3630a_bank_a_get_brightness()
268 lm3630a_pwm_ctrl(pchip, bl->props.brightness, in lm3630a_bank_b_update_status()
269 bl->props.max_brightness); in lm3630a_bank_b_update_status()
279 ret = lm3630a_write(pchip, REG_BRT_B, bl->props.brightness); in lm3630a_bank_b_update_status()
280 if (bl->props in lm3630a_bank_b_update_status()
339 struct backlight_properties props; lm3630a_backlight_register() local
[all...]
H A Dbd6107.c121 struct backlight_properties props; in bd6107_probe() local
157 memset(&props, 0, sizeof(props)); in bd6107_probe()
158 props.type = BACKLIGHT_RAW; in bd6107_probe()
159 props.max_brightness = 128; in bd6107_probe()
160 props.brightness = clamp_t(unsigned int, pdata->def_value, 0, in bd6107_probe()
161 props.max_brightness); in bd6107_probe()
166 &bd6107_backlight_ops, &props); in bd6107_probe()
182 backlight->props.brightness = 0; in bd6107_remove()
H A Dcr_bllcd.c154 struct backlight_properties props; in cr_backlight_probe() local
174 memset(&props, 0, sizeof(struct backlight_properties)); in cr_backlight_probe()
175 props.type = BACKLIGHT_RAW; in cr_backlight_probe()
178 &props); in cr_backlight_probe()
203 crp->cr_backlight_device->props.power = FB_BLANK_UNBLANK; in cr_backlight_probe()
204 crp->cr_backlight_device->props.brightness = 0; in cr_backlight_probe()
217 crp->cr_backlight_device->props.power = FB_BLANK_POWERDOWN; in cr_backlight_remove()
218 crp->cr_backlight_device->props.brightness = 0; in cr_backlight_remove()
219 crp->cr_backlight_device->props.max_brightness = 0; in cr_backlight_remove()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dmms114.c68 struct touchscreen_properties props; member
186 touchscreen_report_pos(input_dev, &data->props, x, y, true); in mms114_process_mt()
337 const struct touchscreen_properties *props = &data->props; in mms114_setup_regs() local
354 val = (props->max_x >> 8) & 0xf; in mms114_setup_regs()
355 val |= ((props->max_y >> 8) & 0xf) << 4; in mms114_setup_regs()
360 val = props->max_x & 0xff; in mms114_setup_regs()
365 val = props->max_x & 0xff; in mms114_setup_regs()
452 struct touchscreen_properties *props = &data->props; in mms114_parse_legacy_bindings() local
[all...]
/third_party/lzma/CPP/7zip/Common/
H A DFileStreams.cpp353 Z7_COM7F_IMF(CInFileStream::GetProps2(CStreamFileProps *props)) in GetProps2() argument
366 props->Size = (((UInt64)info.nFileSizeHigh) << 32) + info.nFileSizeLow; in GetProps2()
367 props->VolID = info.dwVolumeSerialNumber; in GetProps2()
368 props->FileID_Low = (((UInt64)info.nFileIndexHigh) << 32) + info.nFileIndexLow; in GetProps2()
369 props->FileID_High = 0; in GetProps2()
370 props->NumLinks = SupportHardLinks ? info.nNumberOfLinks : 1; in GetProps2()
371 props->Attrib = info.dwFileAttributes; in GetProps2()
372 props->CTime = info.ftCreationTime; in GetProps2()
373 props->ATime = info.ftLastAccessTime; in GetProps2()
374 props in GetProps2()
496 GetProps2(CStreamFileProps *props) GetProps2() argument
[all...]
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/util/
H A DensureObject.js6 for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7 props[_key - 1] = arguments[_key];
9 while (props.length > 0) {
10 var prop = props.shift();
H A DgetProp.js6 for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7 props[_key - 1] = arguments[_key];
9 while (props.length > 0) {
10 var prop = props.shift();
/kernel/linux/linux-5.10/drivers/regulator/
H A Drtmv20-regulator.c207 } props[] = { in rtmv20_properties_init() local
237 for (i = 0; i < ARRAY_SIZE(props); i++) { in rtmv20_properties_init()
241 int significant_bit = fls(props[i].mask); in rtmv20_properties_init()
242 int shift = ffs(props[i].mask) - 1; in rtmv20_properties_init()
244 if (props[i].max > 1) { in rtmv20_properties_init()
245 ret = device_property_read_u32(priv->dev, props[i].name, &temp); in rtmv20_properties_init()
247 temp = props[i].def; in rtmv20_properties_init()
249 temp = device_property_read_bool(priv->dev, props[i].name); in rtmv20_properties_init()
251 temp = clamp_to_selector(temp, props[i].min, props[ in rtmv20_properties_init()
[all...]
/kernel/linux/linux-6.6/drivers/regulator/
H A Drtmv20-regulator.c207 } props[] = { in rtmv20_properties_init() local
237 for (i = 0; i < ARRAY_SIZE(props); i++) { in rtmv20_properties_init()
241 int significant_bit = fls(props[i].mask); in rtmv20_properties_init()
242 int shift = ffs(props[i].mask) - 1; in rtmv20_properties_init()
244 if (props[i].max > 1) { in rtmv20_properties_init()
245 ret = device_property_read_u32(priv->dev, props[i].name, &temp); in rtmv20_properties_init()
247 temp = props[i].def; in rtmv20_properties_init()
249 temp = device_property_read_bool(priv->dev, props[i].name); in rtmv20_properties_init()
251 temp = clamp_to_selector(temp, props[i].min, props[ in rtmv20_properties_init()
[all...]
/kernel/linux/linux-5.10/drivers/misc/mei/
H A Dclient.h57 return &me_cl->props.protocol_name; in mei_me_cl_uuid()
69 return me_cl->props.protocol_version; in mei_me_cl_ver()
81 return me_cl->props.max_number_of_connections; in mei_me_cl_max_conn()
93 return me_cl->props.fixed_address; in mei_me_cl_fixed()
105 return me_cl->props.vt_supported == 1; in mei_me_cl_vt()
117 return me_cl->props.max_msg_length; in mei_me_cl_max_len()
189 return cl->me_cl ? cl->me_cl->props.max_msg_length : 0; in mei_cl_mtu()
201 return cl->me_cl && cl->me_cl->props.fixed_address; in mei_cl_is_fixed_address()
214 return cl->me_cl->props.single_recv_buf; in mei_cl_is_single_recv_buf()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dwm97xx_battery.c159 int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ in wm97xx_bat_probe() local
186 props++; /* POWER_SUPPLY_PROP_STATUS */ in wm97xx_bat_probe()
190 props++; /* POWER_SUPPLY_PROP_TECHNOLOGY */ in wm97xx_bat_probe()
192 props++; /* POWER_SUPPLY_PROP_TEMP */ in wm97xx_bat_probe()
194 props++; /* POWER_SUPPLY_PROP_VOLTAGE_NOW */ in wm97xx_bat_probe()
196 props++; /* POWER_SUPPLY_PROP_VOLTAGE_MAX */ in wm97xx_bat_probe()
198 props++; /* POWER_SUPPLY_PROP_VOLTAGE_MIN */ in wm97xx_bat_probe()
200 prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); in wm97xx_bat_probe()
231 bat_psy_desc.num_properties = props; in wm97xx_bat_probe()
/kernel/linux/linux-6.6/drivers/misc/mei/
H A Dclient.h57 return &me_cl->props.protocol_name; in mei_me_cl_uuid()
69 return me_cl->props.protocol_version; in mei_me_cl_ver()
81 return me_cl->props.max_number_of_connections; in mei_me_cl_max_conn()
93 return me_cl->props.fixed_address; in mei_me_cl_fixed()
105 return me_cl->props.vt_supported == 1; in mei_me_cl_vt()
117 return me_cl->props.max_msg_length; in mei_me_cl_max_len()
189 return cl->me_cl ? cl->me_cl->props.max_msg_length : 0; in mei_cl_mtu()
201 return cl->me_cl && cl->me_cl->props.fixed_address; in mei_cl_is_fixed_address()
214 return cl->me_cl->props.single_recv_buf; in mei_cl_is_single_recv_buf()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dwm97xx_battery.c159 int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ in wm97xx_bat_probe() local
187 props++; /* POWER_SUPPLY_PROP_STATUS */ in wm97xx_bat_probe()
191 props++; /* POWER_SUPPLY_PROP_TECHNOLOGY */ in wm97xx_bat_probe()
193 props++; /* POWER_SUPPLY_PROP_TEMP */ in wm97xx_bat_probe()
195 props++; /* POWER_SUPPLY_PROP_VOLTAGE_NOW */ in wm97xx_bat_probe()
197 props++; /* POWER_SUPPLY_PROP_VOLTAGE_MAX */ in wm97xx_bat_probe()
199 props++; /* POWER_SUPPLY_PROP_VOLTAGE_MIN */ in wm97xx_bat_probe()
201 prop = kcalloc(props, sizeof(*prop), GFP_KERNEL); in wm97xx_bat_probe()
232 bat_psy_desc.num_properties = props; in wm97xx_bat_probe()
/third_party/node/deps/v8/tools/v8windbg/src/
H A Dv8-debug-helper-interop.cc134 auto props = d::GetObjectProperties(tagged_ptr, reader_scope.GetReader(), in GetHeapObject() local
136 obj.friendly_name = ConvertToU16String(props->brief); in GetHeapObject()
138 GetPropertiesAsVector(props->num_properties, props->properties); in GetHeapObject()
143 for (size_t type_index = 0; type_index < props->num_guessed_types; in GetHeapObject()
145 const std::string& type_name = props->guessed_types[type_index]; in GetHeapObject()
173 auto props = d::GetStackFrame(static_cast<uintptr_t>(frame_pointer), in GetStackFrame() local
175 return GetPropertiesAsVector(props->num_properties, props->properties); in GetStackFrame()
/kernel/linux/linux-6.6/sound/soc/generic/
H A Dsimple-card-utils.c283 struct simple_dai_props *props = simple_priv_to_props(priv, rtd->num); in asoc_simple_startup() local
289 for_each_prop_dai_cpu(props, i1, dai) { in asoc_simple_startup()
298 for_each_prop_dai_codec(props, i2, dai) { in asoc_simple_startup()
307 if (fixed_sysclk && props->mclk_fs) { in asoc_simple_startup()
308 unsigned int fixed_rate = fixed_sysclk / props->mclk_fs; in asoc_simple_startup()
310 if (fixed_sysclk % props->mclk_fs) { in asoc_simple_startup()
312 fixed_sysclk, props->mclk_fs); in asoc_simple_startup()
325 for_each_prop_dai_codec(props, i, dai) { in asoc_simple_startup()
331 for_each_prop_dai_cpu(props, i, dai) { in asoc_simple_startup()
344 struct simple_dai_props *props in asoc_simple_shutdown() local
435 struct simple_dai_props *props = simple_priv_to_props(priv, rtd->num); asoc_simple_hw_params() local
616 struct simple_dai_props *props = simple_priv_to_props(priv, rtd->num); asoc_simple_dai_init() local
[all...]

Completed in 14 milliseconds

12345678910>>...60