/linux-master/drivers/char/ |
H A D | nsc_gpio.c | 25 /* retrieve current config w/o changing it */ 26 u32 config = amp->gpio_config(index, ~0, 0); local 30 index, config, 31 (config & 1) ? "OE" : "TS", /* output-enabled/tristate */ 32 (config & 2) ? "PP" : "OD", /* push pull / open drain */ 33 (config & 4) ? "PUE" : "PUD", /* pull up enabled/disabled */ 34 (config & 8) ? "LOCKED" : "", /* locked / unlocked */ 35 (config & 16) ? "LEVEL" : "EDGE",/* level/edge input */ 36 (config & 32) ? "HI" : "LO", /* trigger on rise/fall edge */ 37 (config [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regmap-sccb.c | 89 const struct regmap_config *config) 91 if (config->val_bits == 8 && config->reg_bits == 8 && 99 const struct regmap_config *config, 103 const struct regmap_bus *bus = regmap_get_sccb_bus(i2c, config); 108 return __regmap_init(&i2c->dev, bus, &i2c->dev, config, 114 const struct regmap_config *config, 118 const struct regmap_bus *bus = regmap_get_sccb_bus(i2c, config); 123 return __devm_regmap_init(&i2c->dev, bus, &i2c->dev, config, 88 regmap_get_sccb_bus(struct i2c_client *i2c, const struct regmap_config *config) argument 98 __regmap_init_sccb(struct i2c_client *i2c, const struct regmap_config *config, struct lock_class_key *lock_key, const char *lock_name) argument 113 __devm_regmap_init_sccb(struct i2c_client *i2c, const struct regmap_config *config, struct lock_class_key *lock_key, const char *lock_name) argument
|
H A D | regmap-ram.c | 56 struct regmap *__regmap_init_ram(const struct regmap_config *config, argument 63 if (!config->max_register) { 68 data->read = kcalloc(config->max_register + 1, sizeof(bool), 73 data->written = kcalloc(config->max_register + 1, sizeof(bool), 78 map = __regmap_init(NULL, ®map_ram, data, config,
|
/linux-master/arch/um/kernel/ |
H A D | Makefile | 17 obj-y = config.o exec.o exitcode.o irq.o ksyms.o mem.o \ 30 USER_OBJS := config.o 34 targets := config.c config.tmp capflags.c 39 $(obj)/config.tmp: $(objtree)/.config FORCE 46 $(obj)/config.c: $(src)/config.c.in $(obj)/config.tmp FORCE 61 -e 'r $(obj)/config [all...] |
/linux-master/include/media/ |
H A D | v4l2-flash-led-class.h | 24 * @config: initialization data for a control 25 * @cid: contains v4l2 flash control id if the config 29 struct v4l2_ctrl_config config; member in struct:v4l2_flash_ctrl_data 121 * @config: initialization data for V4L2 Flash sub-device 125 * references are held to config nor its contents once this function 135 const struct v4l2_flash_ops *ops, struct v4l2_flash_config *config); 142 * @config: initialization data for V4L2 Flash sub-device 146 * references are held to config nor its contents once this function 155 struct led_classdev *iled_cdev, struct v4l2_flash_config *config); 169 const struct v4l2_flash_ops *ops, struct v4l2_flash_config *config) 166 v4l2_flash_init( struct device *dev, struct fwnode_handle *fwn, struct led_classdev_flash *fled_cdev, const struct v4l2_flash_ops *ops, struct v4l2_flash_config *config) argument 174 v4l2_flash_indicator_init( struct device *dev, struct fwnode_handle *fwn, struct led_classdev *iled_cdev, struct v4l2_flash_config *config) argument [all...] |
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | init.c | 24 wl1251_warning("couldn't set feature config"); 89 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) argument 97 ret = wl1251_acx_rx_config(wl, config, filter); 218 struct acx_tx_queue_qos_config *config, 221 config->qid = qid; 225 config->high_threshold = 227 config->low_threshold = 231 config->high_threshold = 233 config->low_threshold = 237 config 217 wl1251_hw_init_txq_fill(u8 qid, struct acx_tx_queue_qos_config *config, u32 num_blocks) argument 258 struct acx_tx_queue_qos_config *config; local [all...] |
/linux-master/sound/soc/codecs/ |
H A D | adau1761-i2c.c | 21 struct regmap_config config; local 24 config = adau1761_regmap_config; 25 config.val_bits = 8; 26 config.reg_bits = 16; 29 devm_regmap_init_i2c(client, &config),
|
H A D | tlv320aic3x-i2c.c | 33 struct regmap_config config; local 36 config = aic3x_regmap; 37 config.reg_bits = 8; 38 config.val_bits = 8; 40 regmap = devm_regmap_init_i2c(i2c, &config);
|
H A D | tlv320aic32x4-i2c.c | 22 struct regmap_config config; local 25 config = aic32x4_regmap_config; 26 config.reg_bits = 8; 27 config.val_bits = 8; 29 regmap = devm_regmap_init_i2c(i2c, &config);
|
H A D | cs42l51-i2c.c | 30 struct regmap_config config; local 32 config = cs42l51_regmap; 34 return cs42l51_probe(&i2c->dev, devm_regmap_init_i2c(i2c, &config));
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-etm4x-core.c | 63 static void etm4_set_default_config(struct etmv4_config *config); 66 static u64 etm4_get_access_type(struct etmv4_config *config); 91 (drvdata->config.ss_status[n] & TRCSSCSRn_PC); 279 * as configured by the drvdata->config.mode for the current 295 if (drvdata->config.mode & ETM_MODE_EXCL_KERN) 297 if (drvdata->config.mode & ETM_MODE_EXCL_USER) 405 struct etmv4_config *config = &drvdata->config; local 437 etm4x_relaxed_write32(csa, config->pe_sel, TRCPROCSELR); 438 etm4x_relaxed_write32(csa, config 572 struct etmv4_config *config = &drvdata->config; local 644 struct etmv4_config *config = &drvdata->config; local 871 struct etmv4_config *config = &drvdata->config; local 1341 etm4_get_victlr_access_type(struct etmv4_config *config) argument 1347 etm4_set_victlr_access(struct etmv4_config *config) argument 1353 etm4_set_default_config(struct etmv4_config *config) argument 1375 etm4_get_ns_access_type(struct etmv4_config *config) argument 1404 etm4_get_access_type(struct etmv4_config *config) argument 1410 etm4_get_comparator_access_type(struct etmv4_config *config) argument 1415 etm4_set_comparator_filter(struct etmv4_config *config, u64 start, u64 stop, int comparator) argument 1448 etm4_set_start_stop_filter(struct etmv4_config *config, u64 address, int comparator, enum etm_addr_type type) argument 1469 etm4_set_default_filter(struct etmv4_config *config) argument 1485 etm4_set_default(struct etmv4_config *config) argument 1504 struct etmv4_config *config = &drvdata->config; local 1545 struct etmv4_config *config = &drvdata->config; local 1631 etm4_config_trace_mode(struct etmv4_config *config) argument [all...] |
H A D | coresight-etm3x-core.c | 192 void etm_set_default(struct etm_config *config) argument 196 if (WARN_ON_ONCE(!config)) 208 config->enable_ctrl1 = ETMTECR1_INC_EXC; 209 config->enable_ctrl2 = 0x0; 210 config->enable_event = ETM_HARD_WIRE_RES_A; 212 config->trigger_event = ETM_DEFAULT_EVENT_VAL; 213 config->enable_event = ETM_HARD_WIRE_RES_A; 215 config->seq_12_event = ETM_DEFAULT_EVENT_VAL; 216 config->seq_21_event = ETM_DEFAULT_EVENT_VAL; 217 config 240 etm_config_trace_mode(struct etm_config *config) argument 310 struct etm_config *config = &drvdata->config; local 365 struct etm_config *config = &drvdata->config; local 588 struct etm_config *config = &drvdata->config; local [all...] |
/linux-master/sound/soc/ux500/ |
H A D | ux500_msp_i2s.c | 170 struct ux500_msp_config *config) 176 data_size = config->data_size; 177 msp->def_elem_len = config->def_elem_len; 178 if (config->default_protdesc == 1) { 179 if (config->protocol >= MSP_INVALID_PROTOCOL) { 185 (struct msp_protdesc *)&prot_descs[config->protocol]; 187 protdesc = (struct msp_protdesc *)&config->protdesc; 197 if (config->direction & MSP_DIR_TX) 199 if (config->direction & MSP_DIR_RX) 213 static int setup_bitclk(struct ux500_msp *msp, struct ux500_msp_config *config) argument 169 configure_protocol(struct ux500_msp *msp, struct ux500_msp_config *config) argument 268 configure_multichannel(struct ux500_msp *msp, struct ux500_msp_config *config) argument 347 enable_msp(struct ux500_msp *msp, struct ux500_msp_config *config) argument 414 ux500_msp_i2s_open(struct ux500_msp *msp, struct ux500_msp_config *config) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pmu.c | 80 const char *config; member in struct:amdgpu_pmu_attr 105 * - Event config typed 115 { .name = "event", .config = "config:0-7" }, 116 { .name = "instance", .config = "config:8-15" }, 117 { .name = "umask", .config = "config:16-23"}, 118 { .name = "type", .config = "config 442 amdgpu_pmu_alloc_pmu_attrs( struct attribute_group *fmt_attr_group, struct amdgpu_pmu_event_attribute **fmt_attr, struct attribute_group *evt_attr_group, struct amdgpu_pmu_event_attribute **evt_attr, struct amdgpu_pmu_config *config) argument 483 init_pmu_entry_by_type_and_add(struct amdgpu_pmu_entry *pmu_entry, struct amdgpu_pmu_config *config) argument [all...] |
/linux-master/drivers/clk/sunxi/ |
H A D | clk-factors.c | 47 const struct clk_factors_config *config = factors->config; local 53 if (config->nwidth != SUNXI_FACTORS_NOT_APPLICABLE) 54 n = FACTOR_GET(config->nshift, config->nwidth, reg); 55 if (config->kwidth != SUNXI_FACTORS_NOT_APPLICABLE) 56 k = FACTOR_GET(config->kshift, config->kwidth, reg); 57 if (config->mwidth != SUNXI_FACTORS_NOT_APPLICABLE) 58 m = FACTOR_GET(config 141 const struct clk_factors_config *config = factors->config; local [all...] |
/linux-master/scripts/kconfig/ |
H A D | streamline_config.pl | 21 # 1. Boot up the kernel that you want to stream line the config on. 24 # 3. Copy the configuration file to this directory as .config 29 # 6. Back up your old config (if you want too). 30 # 7. copy the config_strip file to .config 39 # cp /boot/config-2.6.10-1-686-smp .config 41 # mv .config config_sav 42 # mv config_strip .config 64 "file" => ".config", 68 "file" => "/proc/config [all...] |
/linux-master/arch/x86/events/intel/ |
H A D | uncore_nhmex.c | 190 DEFINE_UNCORE_FORMAT_ATTR(event, event, "config:0-7"); 191 DEFINE_UNCORE_FORMAT_ATTR(event5, event, "config:1-5"); 192 DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15"); 193 DEFINE_UNCORE_FORMAT_ATTR(edge, edge, "config:18"); 194 DEFINE_UNCORE_FORMAT_ATTR(inv, inv, "config:23"); 195 DEFINE_UNCORE_FORMAT_ATTR(thresh8, thresh, "config:24-31"); 196 DEFINE_UNCORE_FORMAT_ATTR(counter, counter, "config:6-7"); 213 u64 config; local 216 rdmsrl(msr, config); 217 config 228 u64 config; local 553 nhmex_mbox_get_shared_reg(struct intel_uncore_box *box, int idx, u64 config) argument 634 u64 config = reg1->config; local 823 u64 config; local [all...] |
/linux-master/drivers/clk/qcom/ |
H A D | clk-pll.c | 83 u32 l, m, n, config; local 103 regmap_read(pll->clkr.regmap, pll->config_reg, &config); 104 config >>= pll->post_div_shift; 105 config &= BIT(pll->post_div_width) - 1; 106 rate /= config + 1; 219 const struct pll_config *config) 224 regmap_write(regmap, pll->l_reg, config->l); 225 regmap_write(regmap, pll->m_reg, config->m); 226 regmap_write(regmap, pll->n_reg, config->n); 228 val = config 218 clk_pll_configure(struct clk_pll *pll, struct regmap *regmap, const struct pll_config *config) argument 245 clk_pll_configure_sr(struct clk_pll *pll, struct regmap *regmap, const struct pll_config *config, bool fsm_mode) argument 254 clk_pll_configure_sr_hpm_lp(struct clk_pll *pll, struct regmap *regmap, const struct pll_config *config, bool fsm_mode) argument [all...] |
/linux-master/drivers/clk/tegra/ |
H A D | clk-tegra210-emc.c | 123 struct tegra210_clk_emc_config *config; local 136 config = &provider->configs[i]; 142 config = &provider->configs[i - 1]; 145 new_idx = FIELD_GET(CLK_SOURCE_EMC_2X_CLK_SRC, config->value); 151 if (config->parent_rate != clk_hw_get_rate(old)) { 199 if (clk_get_rate(clk) != config->parent_rate) { 200 err = clk_set_rate(clk, config->parent_rate); 203 config->parent_rate, clk, err); 219 config->value &= ~CLK_SOURCE_EMC_2X_CLK_SRC; 220 config 308 struct tegra210_clk_emc_config *config = &provider->configs[i]; local [all...] |
/linux-master/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_tuner.c | 108 * @config: The configuration used to start the tuner module, usually filled 115 struct vidtv_tuner_config config; member in struct:vidtv_tuner_dev 128 struct vidtv_tuner_config config = tuner_dev->config; local 137 valid_freqs = config.vidtv_valid_dvb_t_freqs; 138 array_sz = ARRAY_SIZE(config.vidtv_valid_dvb_t_freqs); 142 valid_freqs = config.vidtv_valid_dvb_s_freqs; 143 array_sz = ARRAY_SIZE(config.vidtv_valid_dvb_s_freqs); 146 valid_freqs = config.vidtv_valid_dvb_c_freqs; 147 array_sz = ARRAY_SIZE(config 257 struct vidtv_tuner_config config = tuner_dev->config; local 294 struct vidtv_tuner_config config = tuner_dev->config; local 395 struct vidtv_tuner_config *config = client->dev.platform_data; local [all...] |
/linux-master/tools/thermal/thermometer/ |
H A D | thermometer.c | 41 const char *config; member in struct:options 71 struct configuration *config) 75 for (i = 0; i < config->nr_tz_regex; i++) { 77 if (!regexec(&config->tz_regex[i].regex, expr, 0, NULL, 0)) 78 return &config->tz_regex[i]; 84 static int configuration_default_init(struct configuration *config) argument 86 config->tz_regex = realloc(config->tz_regex, sizeof(*config->tz_regex) * 87 (config 70 configuration_tz_match(const char *expr, struct configuration *config) argument 101 configuration_init(const char *path, struct configuration *config) argument 288 thermometer_init(struct configuration *config, struct thermometer *thermometer) argument 539 struct configuration config = { 0 }; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ |
H A D | ifmtr.c | 32 const struct ia_css_stream_config *config, 37 const struct ia_css_stream_config *config, 53 const struct ia_css_stream_config *config) 55 assert(config); 56 if ((config->input_config.bayer_order == IA_CSS_BAYER_ORDER_BGGR) 57 || (config->input_config.bayer_order == IA_CSS_BAYER_ORDER_GBRG)) 64 const struct ia_css_stream_config *config) 66 assert(config); 67 if ((config->input_config.bayer_order == IA_CSS_BAYER_ORDER_RGGB) 68 || (config 52 ia_css_ifmtr_lines_needed_for_bayer_order( const struct ia_css_stream_config *config) argument 63 ia_css_ifmtr_columns_needed_for_bayer_order( const struct ia_css_stream_config *config) argument 74 ia_css_ifmtr_configure(struct ia_css_stream_config *config, struct ia_css_binary *binary) argument 499 ifmtr_start_column( const struct ia_css_stream_config *config, unsigned int bin_in, unsigned int *start_column) argument 525 ifmtr_input_start_line( const struct ia_css_stream_config *config, unsigned int bin_in, unsigned int *start_line) argument [all...] |
/linux-master/drivers/video/fbdev/via/ |
H A D | via_clock.h | 35 void (*set_primary_pll)(struct via_pll_config config); 40 void (*set_secondary_pll)(struct via_pll_config config); 43 void (*set_engine_pll)(struct via_pll_config config);
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/crop/crop_1.0/ |
H A D | ia_css_crop.host.c | 62 struct ia_css_crop_configuration config = default_config; local 64 config.info = info; 66 return ia_css_configure_crop(binary, &config);
|
/linux-master/drivers/nvmem/ |
H A D | imx-ocotp-ele.c | 41 struct nvmem_config config; member in struct:imx_ocotp_priv 124 priv->config.dev = dev; 125 priv->config.name = "ELE-OCOTP"; 126 priv->config.id = NVMEM_DEVID_AUTO; 127 priv->config.owner = THIS_MODULE; 128 priv->config.size = priv->data->size; 129 priv->config.reg_read = priv->data->reg_read; 130 priv->config.word_size = 4; 131 priv->config.stride = 1; 132 priv->config [all...] |