/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | kgdboc.c | 34 static char config[MAX_CONFIG_LEN]; variable 36 .string = config, 172 char *cptr = config; in configure_kgdboc() 175 if (!strlen(config) || isspace(config[0])) { in configure_kgdboc() 323 pr_err("config string too long\n"); in param_set_kgdboc_var() 334 strcpy(config, kmessage); in param_set_kgdboc_var() 336 if (len && config[len - 1] == '\n') in param_set_kgdboc_var() 337 config[len - 1] = '\0'; in param_set_kgdboc_var() 352 * If we couldn't configure then clear out the config in param_set_kgdboc_var() [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | mpq7920.c | 125 struct regulator_config *config); 212 struct regulator_config *config) in mpq7920_parse_cb() 216 struct mpq7920_regulator_info *info = config->driver_data; in mpq7920_parse_cb() 220 regmap_update_bits(config->regmap, in mpq7920_parse_cb() 227 regmap_update_bits(config->regmap, in mpq7920_parse_cb() 267 struct regulator_config config = { NULL, }; in mpq7920_i2c_probe() local 289 config.dev = dev; in mpq7920_i2c_probe() 290 config.regmap = regmap; in mpq7920_i2c_probe() 291 config.driver_data = info; in mpq7920_i2c_probe() 296 &config); in mpq7920_i2c_probe() 210 mpq7920_parse_cb(struct device_node *np, const struct regulator_desc *desc, struct regulator_config *config) mpq7920_parse_cb() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | lgs8gl5.c | 45 const struct lgs8gl5_config *config; member 65 .addr = state->config->demod_address, in lgs8gl5_write_reg() 88 .addr = state->config->demod_address, in lgs8gl5_read_reg() 94 .addr = state->config->demod_address, in lgs8gl5_read_reg() 129 .addr = state->config->demod_address + 2, in lgs8gl5_update_alt_reg() 135 .addr = state->config->demod_address + 2, in lgs8gl5_update_alt_reg() 141 .addr = state->config->demod_address + 2, in lgs8gl5_update_alt_reg() 371 lgs8gl5_attach(const struct lgs8gl5_config *config, struct i2c_adapter *i2c) in lgs8gl5_attach() argument 383 state->config = config; in lgs8gl5_attach() [all...] |
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | pata_pxa.c | 168 struct dma_slave_config config; in pxa_ata_probe() local 266 memset(&config, 0, sizeof(config)); in pxa_ata_probe() 267 config.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe() 268 config.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe() 269 config.src_addr = dma_res->start; in pxa_ata_probe() 270 config.dst_addr = dma_res->start; in pxa_ata_probe() 271 config.src_maxburst = 32; in pxa_ata_probe() 272 config.dst_maxburst = 32; in pxa_ata_probe() 281 ret = dmaengine_slave_config(data->dma_chan, &config); in pxa_ata_probe() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | kgdboc.c | 34 static char config[MAX_CONFIG_LEN]; variable 36 .string = config, 172 char *cptr = config; in configure_kgdboc() 176 if (!strlen(config) || isspace(config[0])) { in configure_kgdboc() 335 pr_err("config string too long\n"); in param_set_kgdboc_var() 346 strcpy(config, kmessage); in param_set_kgdboc_var() 348 if (len && config[len - 1] == '\n') in param_set_kgdboc_var() 349 config[len - 1] = '\0'; in param_set_kgdboc_var() 364 * If we couldn't configure then clear out the config in param_set_kgdboc_var() [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | mpq7920.c | 124 struct regulator_config *config); 211 struct regulator_config *config) in mpq7920_parse_cb() 215 struct mpq7920_regulator_info *info = config->driver_data; in mpq7920_parse_cb() 219 regmap_update_bits(config->regmap, in mpq7920_parse_cb() 226 regmap_update_bits(config->regmap, in mpq7920_parse_cb() 266 struct regulator_config config = { NULL, }; in mpq7920_i2c_probe() local 288 config.dev = dev; in mpq7920_i2c_probe() 289 config.regmap = regmap; in mpq7920_i2c_probe() 290 config.driver_data = info; in mpq7920_i2c_probe() 295 &config); in mpq7920_i2c_probe() 209 mpq7920_parse_cb(struct device_node *np, const struct regulator_desc *desc, struct regulator_config *config) mpq7920_parse_cb() argument [all...] |
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | internal.h | 252 int regcache_init(struct regmap *map, const struct regmap_config *config); 287 const struct regmap_config *config); 327 struct regmap *__regmap_init_ram(const struct regmap_config *config, 332 #define regmap_init_ram(config, data) \ 333 __regmap_lockdep_wrapper(__regmap_init_ram, #config, config, data) 335 struct regmap *__regmap_init_raw_ram(const struct regmap_config *config, 340 #define regmap_init_raw_ram(config, data) \ 341 __regmap_lockdep_wrapper(__regmap_init_raw_ram, #config, config, dat [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/ |
H A D | pinconf-generic.c | 3 * Core driver for the generic pin config portions of the pin control subsystem 65 unsigned long config; in pinconf_generic_dump_one() local 69 config = pinconf_to_config_packed(items[i].param, 0); in pinconf_generic_dump_one() 72 gname, &config); in pinconf_generic_dump_one() 74 ret = pin_config_get_for_pin(pctldev, pin, &config); in pinconf_generic_dump_one() 90 pinconf_to_config_argument(config)); in pinconf_generic_dump_one() 132 struct seq_file *s, unsigned long config) in pinconf_generic_dump_config() 137 if (pinconf_to_config_param(config) != conf_items[i].param) in pinconf_generic_dump_config() 140 pinconf_to_config_argument(config)); in pinconf_generic_dump_config() 148 if (pinconf_to_config_param(config) ! in pinconf_generic_dump_config() 131 pinconf_generic_dump_config(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned long config) pinconf_generic_dump_config() argument [all...] |
/third_party/ffmpeg/ |
H A D | Makefile | 2 include ffbuild/config.mak 85 config_components.h: ffbuild/.config 86 ffbuild/.config: $(CONFIGURABLE_COMPONENTS) 136 .version: $(wildcard $(GIT_LOG)) $(VERSION_SH) ffbuild/config.mak 166 $(RM) .version config.asm config.h config_components.h mapfile \ 167 ffbuild/.config ffbuild/config.* libavutil/avconfig.h \ 178 config: 197 .PHONY: all all-yes alltools build check config testprog [all...] |
/third_party/icu/icu4c/source/python/icutools/databuilder/ |
H A D | __main__.py | 191 def add_copy_input_requests(requests, config, common_vars): 208 json_data = config.filters_json_data["fileReplacements"] 252 # Within the Python code, including BUILDRULES.py and user-provided config files, 266 config = Config(args) 279 common["FILTERS_DIR"] = config.filter_dir 288 "FILTERS_DIR": config.filter_dir, 304 requests = BUILDRULES.generate(config, io, common) 306 if "fileReplacements" in config.filters_json_data: 312 requests = add_copy_input_requests(requests, config, common) 314 requests = filtration.apply_filters(requests, config, i [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | img2webp.c | 23 #include "webp/config.h" 136 WebPConfig config; in main() local 154 !WebPConfigInit(&config) || in main() 185 config.lossless = 0; in main() 216 config.lossless = 1; in main() 222 if (!anim_config.allow_mixed) config.lossless = 0; in main() 224 if (!anim_config.allow_mixed) config.lossless = 1; in main() 226 config.quality = ExUtilGetFloat(argv[++c], &parse_error); in main() 228 config.method = ExUtilGetInt(argv[++c], 0, &parse_error); in main() 245 ok = WebPValidateConfig(&config); in main() [all...] |
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/ |
H A D | __main__.py | 191 def add_copy_input_requests(requests, config, common_vars): 208 json_data = config.filters_json_data["fileReplacements"] 252 # Within the Python code, including BUILDRULES.py and user-provided config files, 266 config = Config(args) 279 common["FILTERS_DIR"] = config.filter_dir 288 "FILTERS_DIR": config.filter_dir, 304 requests = BUILDRULES.generate(config, io, common) 306 if "fileReplacements" in config.filters_json_data: 312 requests = add_copy_input_requests(requests, config, common) 314 requests = filtration.apply_filters(requests, config, i [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFboUtil.hpp | 194 namespace config namespace 324 } // config 326 class FboBuilder : public config::Framebuffer 330 const config::Attachment* att); 331 glw::GLuint glCreateTexture (const config::Texture& texCfg); 332 glw::GLuint glCreateRbo (const config::Renderbuffer& rbCfg); 339 //! subclass of `config::Config`), and return a referenc to it. The newly 350 typedef std::set<config::Config*> Configs; 391 void logFramebufferConfig (const config::Framebuffer& cfg, tcu::TestLog& log); 407 const config [all...] |
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/ |
H A D | ohos_context_i.h | 94 virtual void* OH_createContext(void* dpy, void* config, void* share_context, const int32_t *attrib_list) = 0; 97 virtual void* OH_createPbufferFromClientBuffer(void* dpy, uint32_t buftype, void* buffer, void* config, const int32_t *attrib_list) = 0; 98 virtual void* OH_createPbufferSurface(void* dpy, void* config, const int32_t *attrib_list) = 0; 99 virtual void* OH_createPixmapSurface(void* dpy, void* config, void* pixmap, const int32_t *attrib_list) = 0; 100 virtual void* OH_createPlatformPixmapSurface(void* dpy, void* config, void *native_pixmap, const int *attrib_list) = 0; 101 virtual void* OH_createPlatformPixmapSurfaceEXT(void* dpy, void* config, void *native_pixmap, const int32_t *attrib_list) = 0; 102 virtual void* OH_createPlatformWindowSurface(void* dpy, void* config, void *native_window, const int *attrib_list) = 0; 103 virtual void* OH_createPlatformWindowSurfaceEXT(void* dpy, void* config, void *native_window, const int32_t *attrib_list) = 0; 106 virtual void* OH_createWindowSurface(void* dpy, void* config, void* win, const int32_t *attrib_list) = 0; 113 virtual uint32_t OH_getConfigAttrib(void* dpy, void* config, int32_ [all...] |
H A D | rosen_context_impl.h | 62 void* OH_createContext(void* dpy, void* config, void* share_context, const int32_t *attrib_list) override; 65 void* OH_createPbufferFromClientBuffer(void* dpy, uint32_t buftype, void* buffer, void* config, const int32_t *attrib_list) override; 66 void* OH_createPbufferSurface(void* dpy, void* config, const int32_t *attrib_list) override; 67 void* OH_createPixmapSurface(void* dpy, void* config, void* pixmap, const int32_t *attrib_list) override; 68 void* OH_createPlatformPixmapSurface(void* dpy, void* config, void *native_pixmap, const int *attrib_list) override; 69 void* OH_createPlatformPixmapSurfaceEXT(void* dpy, void* config, void *native_pixmap, const int32_t *attrib_list) override; 70 void* OH_createPlatformWindowSurface(void* dpy, void* config, void *native_window, const int *attrib_list) override; 71 void* OH_createPlatformWindowSurfaceEXT(void* dpy, void* config, void *native_window, const int32_t *attrib_list) override; 74 void* OH_createWindowSurface(void* dpy, void* config, void* win, const int32_t *attrib_list) override; 81 uint32_t OH_getConfigAttrib(void* dpy, void* config, int32_ [all...] |
/drivers/hdf_core/adapter/platform/gpio/ |
H A D | gpio_bes.c | 48 uint32_t config; member 63 enum GPIO_CONFIG config; /* gpio config */ member 150 if ((device->config == OUTPUT_PUSH_PULL) || (device->config == OUTPUT_OPEN_DRAIN_PULL_UP) || in InitGpioDevice() 151 (device->config == INPUT_PULL_UP) || (device->config == IRQ_MODE)) { in InitGpioDevice() 153 } else if ((device->config == INPUT_PULL_DOWN)) { in InitGpioDevice() 182 uint32_t configs[] = HCS_ARRAYS(HCS_NODE(PLATFORM_GPIO_CONFIG, config)); in GetGpioDeviceResource() 186 resource->config in GetGpioDeviceResource() [all...] |
/drivers/hdf_core/adapter/platform/pwm/ |
H A D | pwm_stm32f4xx.c | 137 static int32_t PwmDevSetConfig(struct PwmDev *pwm, struct PwmConfig *config);
399 static int32_t InitPwmFreqAndPeriod(const struct PwmConfig *config, PwmFreqArg* arg, const PwmResource *resource)
argument 411 if (config->period != 0) {
412 freq = (uint32_t)(PER_SEC_NSEC / config->period);
428 duty = (uint32_t)(((double)config->duty / (double)config->period) * period);
440 static void InitTimPwm(const PwmFreqArg* arg, const struct PwmConfig *config,
argument 461 if (config->polarity == PWM_NORMAL_POLARITY) {
514 static int32_t PwmDevSetConfig(struct PwmDev *pwm, struct PwmConfig *config)
argument 522 if (pwm == NULL || config [all...] |
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | dev_interface_state.cpp | 282 void DevInterfaceState::UpdateLanLinkInfo(const sptr<StaticConfiguration> &config) in UpdateLanLinkInfo() argument 284 if (config == nullptr) { in UpdateLanLinkInfo() 285 NETMGR_EXT_LOG_E("config is nullptr"); in UpdateLanLinkInfo() 297 for (const auto &ipAddr : config->ipAddrList_) { in UpdateLanLinkInfo() 301 for (const auto &routeAddr : config->routeList_) { in UpdateLanLinkInfo() 305 GetRoutePrefixlen(routeAddr.address_, config->netMaskList_, routeStc.destination_); in UpdateLanLinkInfo() 306 GetTargetNetAddrWithSameFamily(routeAddr.address_, config->gatewayList_, routeStc.gateway_); in UpdateLanLinkInfo() 311 void DevInterfaceState::UpdateLinkInfo(const sptr<StaticConfiguration> &config) in UpdateLinkInfo() argument 313 if (config == nullptr) { in UpdateLinkInfo() 314 NETMGR_EXT_LOG_E("config i in UpdateLinkInfo() [all...] |
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
H A D | perf_event.c | 113 static int xtensa_pmu_cache_event(u64 config) in xtensa_pmu_cache_event() argument 118 cache_type = (config >> 0) & 0xff; in xtensa_pmu_cache_event() 119 cache_op = (config >> 8) & 0xff; in xtensa_pmu_cache_event() 120 cache_result = (config >> 16) & 0xff; in xtensa_pmu_cache_event() 213 if (event->attr.config >= ARRAY_SIZE(xtensa_hw_ctl) || in xtensa_pmu_event_init() 214 xtensa_hw_ctl[event->attr.config] == 0) in xtensa_pmu_event_init() 216 event->hw.config = xtensa_hw_ctl[event->attr.config]; in xtensa_pmu_event_init() 220 ret = xtensa_pmu_cache_event(event->attr.config); in xtensa_pmu_event_init() 223 event->hw.config in xtensa_pmu_event_init() [all...] |
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
H A D | uncore.h | 123 u64 config, config1, config2; member 155 /* event config registers are 8-byte apart */ 162 const char *config; member 201 .config = _config, \ 330 static inline unsigned int uncore_freerunning_idx(u64 config) in uncore_freerunning_idx() argument 332 return ((config >> 8) & 0xf); in uncore_freerunning_idx() 337 static inline unsigned int uncore_freerunning_type(u64 config) in uncore_freerunning_type() argument 339 return ((((config >> 8) - UNCORE_FREERUNNING_UMASK_START) >> 4) & 0xf); in uncore_freerunning_type() 346 unsigned int type = uncore_freerunning_type(event->hw.config); in uncore_freerunning_counter() 347 unsigned int idx = uncore_freerunning_idx(event->hw.config); in uncore_freerunning_counter() [all...] |
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
H A D | clk-mix.c | 447 struct mmp_clk_mix_config *config, in mmp_clk_register_mix() 465 memcpy(&mix->reg_info, &config->reg_info, sizeof(config->reg_info)); in mmp_clk_register_mix() 466 if (config->table) { in mmp_clk_register_mix() 467 table_bytes = sizeof(*config->table) * config->table_size; in mmp_clk_register_mix() 468 mix->table = kmemdup(config->table, table_bytes, GFP_KERNEL); in mmp_clk_register_mix() 472 mix->table_size = config->table_size; in mmp_clk_register_mix() 475 if (config->mux_table) { in mmp_clk_register_mix() 477 mix->mux_table = kmemdup(config in mmp_clk_register_mix() 442 mmp_clk_register_mix(struct device *dev, const char *name, const char * const *parent_names, u8 num_parents, unsigned long flags, struct mmp_clk_mix_config *config, spinlock_t *lock) mmp_clk_register_mix() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | gpio_service.c | 221 struct gpio_generic_mux_config *config) in dal_mux_setup_config() 225 if (!config) in dal_mux_setup_config() 228 config_data.config.generic_mux = *config; in dal_mux_setup_config() 409 struct gpio_hpd_config *config) in dal_irq_setup_hpd_filter() 413 if (!config) in dal_irq_setup_hpd_filter() 417 config_data.config.hpd = *config; in dal_irq_setup_hpd_filter() 571 config_data.config.ddc.type = config_type; in dal_ddc_open() 576 config_data.config in dal_ddc_open() 219 dal_mux_setup_config( struct gpio *mux, struct gpio_generic_mux_config *config) dal_mux_setup_config() argument 407 dal_irq_setup_hpd_filter( struct gpio *irq, struct gpio_hpd_config *config) dal_irq_setup_hpd_filter() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
H A D | com20020.c | 121 lp->config = (lp->timeout << 3) | (lp->backplane << 2) | SUB_NODE; in com20020_check() 123 arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); in com20020_check() 172 lp->config |= TXENcfg; in com20020_netdev_open() 173 arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); in com20020_netdev_open() 186 lp->config &= ~TXENcfg; in com20020_netdev_close() 187 arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); in com20020_netdev_close() 237 lp->config = (lp->timeout << 3) | (lp->backplane << 2) | SUB_NODE; in com20020_found() 239 arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); in com20020_found() 294 lp->config |= (lp->timeout << 3) | (lp->backplane << 2); in com20020_reset() 296 arcnet_outb(lp->config, ioadd in com20020_reset() [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | max77620.c | 315 unsigned int mask = 0, config = 0; in max77620_config_fps() local 355 config |= tperiod << MAX77620_FPS_TIME_PERIOD_SHIFT; in max77620_config_fps() 372 config |= param_val << MAX77620_FPS_EN_SRC_SHIFT; in max77620_config_fps() 375 config |= MAX77620_FPS_ENFPS_SW; in max77620_config_fps() 392 mask, config); in max77620_config_fps() 405 u8 config; in max77620_initialise_fps() local 428 config = chip->enable_global_lpm ? MAX77620_ONOFFCNFG2_SLP_LPM_MSK : 0; in max77620_initialise_fps() 430 MAX77620_ONOFFCNFG2_SLP_LPM_MSK, config); in max77620_initialise_fps() 451 config = MAX77620_ONOFFCNFG1_SLPEN | MAX20024_ONOFFCNFG1_CLRSE; in max77620_initialise_fps() 453 config, confi in max77620_initialise_fps() 601 unsigned int config; max77620_i2c_suspend() local [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | tda10021.c | 27 const struct tda1002x_config* config; member 63 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 }; in _tda10021_writereg() 79 struct i2c_msg msg [] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 1 }, in tda10021_readreg() 80 { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 1 } }; in tda10021_readreg() 95 struct i2c_msg msg = {.addr=state->config->demod_address, .flags=0, .buf=buf, .len=2}; in lock_tuner() 109 struct i2c_msg msg_post={.addr=state->config->demod_address, .flags=0, .buf=buf, .len=2}; in unlock_tuner() 124 if ((INVERSION_ON == inversion) ^ (state->config->invert == 0)) in tda10021_setup_reg0() 352 u8 config = tda10021_readreg(state, 0x02); in tda10021_read_signal_strength() local 354 if (config & 0x02) in tda10021_read_signal_strength() 404 p->inversion = ((state->reg0 & 0x20) == 0x20) ^ (state->config in tda10021_get_frontend() 446 tda10021_attach(const struct tda1002x_config* config, struct i2c_adapter* i2c, u8 pwm) tda10021_attach() argument [all...] |