Searched refs:config (Results 201 - 225 of 3097) sorted by relevance

1234567891011>>

/linux-master/drivers/media/dvb-frontends/
H A Disl6421.c22 u8 config; member in struct:isl6421
41 .buf = &isl6421->config,
52 isl6421->config &= ~(ISL6421_VSEL1 | ISL6421_EN1);
60 isl6421->config |= ISL6421_EN1;
64 isl6421->config |= (ISL6421_EN1 | ISL6421_VSEL1);
76 isl6421->config |= ISL6421_DCL;
78 isl6421->config |= isl6421->override_or;
79 isl6421->config &= isl6421->override_and;
95 if ((isl6421->config & ISL6421_DCL) &&
97 isl6421->config
[all...]
H A Dtda665x.c19 const struct tda665x_config *config; member in struct:tda665x_state
27 const struct tda665x_config *config = state->config; local
29 struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD, .buf = buf, .len = 2 };
43 const struct tda665x_config *config = state->config; local
45 struct i2c_msg msg = { .addr = config->addr, .flags = 0, .buf = buf, .len = length };
93 const struct tda665x_config *config = state->config; local
98 if ((new_frequency < config
203 tda665x_attach(struct dvb_frontend *fe, const struct tda665x_config *config, struct i2c_adapter *i2c) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dadau1977-spi.c34 struct regmap_config config; local
39 config = adau1977_regmap_config;
40 config.val_bits = 8;
41 config.reg_bits = 16;
42 config.read_flag_mask = 0x1;
45 devm_regmap_init_spi(spi, &config),
/linux-master/drivers/nvmem/
H A Dapple-efuses.c37 struct nvmem_config config = { local
49 priv = devm_kzalloc(config.dev, sizeof(*priv), GFP_KERNEL);
57 config.priv = priv;
58 config.size = resource_size(res);
60 return PTR_ERR_OR_ZERO(devm_nvmem_register(config.dev, &config));
/linux-master/drivers/mtd/ubi/
H A Dnvmem.c64 struct nvmem_config config = {}; local
82 config.id = NVMEM_DEVID_NONE;
83 config.dev = vi->dev;
84 config.name = dev_name(vi->dev);
85 config.owner = THIS_MODULE;
86 config.priv = unv;
87 config.reg_read = ubi_nvmem_reg_read;
88 config.size = vi->usable_leb_size * vi->size;
89 config.word_size = 1;
90 config
[all...]
/linux-master/drivers/gpu/drm/vkms/
H A Dvkms_drv.c99 seq_printf(m, "writeback=%d\n", vkmsdev->config->writeback);
100 seq_printf(m, "cursor=%d\n", vkmsdev->config->cursor);
101 seq_printf(m, "overlay=%d\n", vkmsdev->config->overlay);
176 static int vkms_create(struct vkms_config *config) argument
198 vkms_device->config = config;
199 config->dev = vkms_device;
240 struct vkms_config *config; local
242 config = kmalloc(sizeof(*config), GFP_KERNE
259 vkms_destroy(struct vkms_config *config) argument
[all...]
/linux-master/drivers/clk/renesas/
H A Dclk-r8a7779.c85 const struct cpg_clk_config *config,
96 div = config->z_div;
97 mult = config->z_mult;
99 div = config->zs_and_s_div;
101 div = config->s1_div;
103 div = config->p_div;
105 div = config->b_and_out_div;
115 const struct cpg_clk_config *config; local
143 config = &cpg_clk_configs[CPG_CLK_CONFIG_INDEX(mode)];
153 clk = r8a7779_cpg_register_clock(np, config, plla_mul
84 r8a7779_cpg_register_clock(struct device_node *np, const struct cpg_clk_config *config, unsigned int plla_mult, const char *name) argument
[all...]
/linux-master/drivers/base/regmap/
H A Dregmap-sdw.c53 static int regmap_sdw_config_check(const struct regmap_config *config) argument
56 if (config->reg_bits != 32)
59 if (config->pad_bits != 0)
63 if (config->can_multi_write)
70 const struct regmap_config *config,
76 ret = regmap_sdw_config_check(config);
81 &sdw->dev, config, lock_key, lock_name);
86 const struct regmap_config *config,
92 ret = regmap_sdw_config_check(config);
97 &sdw->dev, config, lock_ke
69 __regmap_init_sdw(struct sdw_slave *sdw, const struct regmap_config *config, struct lock_class_key *lock_key, const char *lock_name) argument
85 __devm_regmap_init_sdw(struct sdw_slave *sdw, const struct regmap_config *config, struct lock_class_key *lock_key, const char *lock_name) argument
[all...]
H A Dregmap-fsi.c153 const struct regmap_config *config)
157 if (config->reg_bits == 8 || config->reg_bits == 16 || config->reg_bits == 32) {
158 switch (config->val_bits) {
163 switch (regmap_get_val_endian(&fsi_dev->dev, NULL, config)) {
182 switch (regmap_get_val_endian(&fsi_dev->dev, NULL, config)) {
206 struct regmap *__regmap_init_fsi(struct fsi_device *fsi_dev, const struct regmap_config *config, argument
209 const struct regmap_bus *bus = regmap_get_fsi_bus(fsi_dev, config);
214 return __regmap_init(&fsi_dev->dev, bus, fsi_dev->slave, config, lock_ke
152 regmap_get_fsi_bus(struct fsi_device *fsi_dev, const struct regmap_config *config) argument
218 __devm_regmap_init_fsi(struct fsi_device *fsi_dev, const struct regmap_config *config, struct lock_class_key *lock_key, const char *lock_name) argument
[all...]
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-param.c43 src = &is->config[is->config_index].global.shotmode;
52 src = &is->config[is->config_index].sensor.frame_rate;
59 struct chain_config *cfg = &is->config[is->config_index];
151 __hw_param_copy(&par->fd.config, &cfg->fd.config);
163 struct chain_config *config = &is->config[is->config_index]; local
168 count = hweight32(config->p_region_index[0]);
169 count += hweight32(config->p_region_index[1]);
181 p_index = &is->config[i
[all...]
/linux-master/drivers/media/platform/amphion/
H A Dvpu_imx8q.c100 int vpu_imx8q_set_system_cfg_common(struct vpu_rpc_system_config *config, u32 regs, u32 core_id) argument
102 if (!config)
107 config->malone_base_addr[0] = regs + DEC_MFD_XREG_SLV_BASE;
108 config->num_malones = 1;
109 config->num_windsors = 0;
112 config->windsor_base_addr[0] = regs + ENC_MFD_XREG_SLV_0_BASE;
113 config->num_windsors = 1;
114 config->num_malones = 0;
117 config->windsor_base_addr[0] = regs + ENC_MFD_XREG_SLV_1_BASE;
118 config
[all...]
/linux-master/drivers/gpio/
H A Dgpio-sl28cpld.c50 struct gpio_regmap_config *config)
77 config->regmap, irq,
83 config->irq_domain = regmap_irq_get_domain(irq_data);
90 struct gpio_regmap_config config = {0}; local
111 config.regmap = regmap;
112 config.parent = &pdev->dev;
113 config.ngpio = 8;
117 config.reg_dat_base = base + GPIO_REG_IN;
118 config.reg_set_base = base + GPIO_REG_OUT;
120 config
48 sl28cpld_gpio_irq_init(struct platform_device *pdev, unsigned int base, struct gpio_regmap_config *config) argument
[all...]
/linux-master/drivers/comedi/drivers/
H A Dpcm3724.c62 static int compute_buffer(int config, int devno, struct comedi_subdevice *s) argument
67 config |= PCM3724_DIO_DIR_A0_OUT;
69 config |= PCM3724_DIO_DIR_A1_OUT;
73 config |= PCM3724_DIO_DIR_B0_OUT;
75 config |= PCM3724_DIO_DIR_B1_OUT;
79 config |= PCM3724_DIO_DIR_C0_OUT;
81 config |= PCM3724_DIO_DIR_C1_OUT;
83 return config;
91 int config; local
95 config
[all...]
/linux-master/tools/perf/util/
H A Dstat-shadow.c187 static void print_ratio(struct perf_stat_config *config, argument
199 out->print_metric(config, out->ctx, color, "%7.2f%%", unit, ratio);
201 out->print_metric(config, out->ctx, NULL, NULL, unit, 0);
204 static void print_stalled_cycles_front(struct perf_stat_config *config, argument
211 print_ratio(config, evsel, aggr_idx, stalled, out, STAT_CYCLES, color_ratios,
215 static void print_stalled_cycles_back(struct perf_stat_config *config, argument
222 print_ratio(config, evsel, aggr_idx, stalled, out, STAT_CYCLES, color_ratios,
226 static void print_branch_miss(struct perf_stat_config *config, argument
233 print_ratio(config, evsel, aggr_idx, misses, out, STAT_BRANCHES, color_ratios,
237 static void print_l1d_miss(struct perf_stat_config *config, argument
248 print_l1i_miss(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx, double misses, struct perf_stat_output_ctx *out) argument
259 print_ll_miss(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx, double misses, struct perf_stat_output_ctx *out) argument
270 print_dtlb_miss(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx, double misses, struct perf_stat_output_ctx *out) argument
281 print_itlb_miss(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx, double misses, struct perf_stat_output_ctx *out) argument
292 print_cache_miss(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx, double misses, struct perf_stat_output_ctx *out) argument
303 print_instructions(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx, double instructions, struct perf_stat_output_ctx *out) argument
327 print_cycles(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx, double cycles, struct perf_stat_output_ctx *out) argument
342 print_nsecs(struct perf_stat_config *config, const struct evsel *evsel, int aggr_idx __maybe_unused, double nsecs, struct perf_stat_output_ctx *out) argument
462 generic_metric(struct perf_stat_config *config, struct metric_expr *mexp, struct evsel *evsel, int aggr_idx, struct perf_stat_output_ctx *out) argument
561 perf_stat__print_metricgroup_header(struct perf_stat_config *config, struct evsel *evsel, void *ctxp, const char *name, struct perf_stat_output_ctx *out) argument
608 perf_stat__print_shadow_stats_metricgroup(struct perf_stat_config *config, struct evsel *evsel, int aggr_idx, int *num, void *from, struct perf_stat_output_ctx *out, struct rblist *metric_events) argument
658 perf_stat__print_shadow_stats(struct perf_stat_config *config, struct evsel *evsel, double avg, int aggr_idx, struct perf_stat_output_ctx *out, struct rblist *metric_events) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/
H A Dia_css_tnr.host.c65 const struct ia_css_tnr_config *config,
69 "config.gain=%d, config.threshold_y=%d, config.threshold_uv=%d\n",
70 config->gain,
71 config->threshold_y, config->threshold_uv);
102 struct ia_css_tnr_configuration config; local
106 config.tnr_frames[i] = frames[i];
108 return ia_css_configure_tnr(binary, &config);
64 ia_css_tnr_debug_dtrace( const struct ia_css_tnr_config *config, unsigned int level) argument
[all...]
/linux-master/drivers/regulator/
H A Dstw481x-vmmc.c58 struct regulator_config config = { }; local
71 config.dev = &pdev->dev;
72 config.driver_data = stw481x;
73 config.regmap = stw481x->map;
74 config.of_node = pdev->dev.of_node;
75 config.init_data = of_get_regulator_init_data(&pdev->dev,
79 rdev = devm_regulator_register(&pdev->dev, &vmmc_regulator, &config);
H A Dtps6105x-regulator.c62 struct regulator_config config = { }; local
72 config.dev = &tps6105x->client->dev;
73 config.init_data = pdata->regulator_data;
74 config.driver_data = tps6105x;
75 config.of_node = pdev->dev.parent->of_node;
76 config.regmap = tps6105x->regmap;
81 &config);
H A Dfixed.c168 struct fixed_voltage_config *config; local
172 config = devm_kzalloc(dev, sizeof(struct fixed_voltage_config),
174 if (!config)
177 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc);
178 if (!config->init_data)
181 init_data = config->init_data;
184 config->supply_name = init_data->constraints.name;
186 config->microvolts = init_data->constraints.min_uV;
194 config->enabled_at_boot = true;
196 of_property_read_u32(np, "startup-delay-us", &config
223 struct fixed_voltage_config *config; local
[all...]
/linux-master/drivers/input/misc/
H A Dda9063_onkey.c43 const struct da906x_chip_config *config; member in struct:da9063_onkey
83 const struct da906x_chip_config *config = onkey->config; local
91 config->onkey_status,
99 if (!(val & config->onkey_nonkey_mask)) {
101 config->onkey_pwr_signalling,
102 config->onkey_nonkey_lock_mask,
121 config->onkey_fault_log,
126 } else if (fault_log & config->onkey_key_reset_mask) {
128 config
158 const struct da906x_chip_config *config = onkey->config; local
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-cti-core.c63 struct cti_config *config = &drvdata->config; local
72 for (i = 0; i < config->nr_trig_max; i++) {
73 writel_relaxed(config->ctiinen[i], drvdata->base + CTIINEN(i));
74 writel_relaxed(config->ctiouten[i],
79 writel_relaxed(config->ctigate, drvdata->base + CTIGATE);
80 writel_relaxed(config->asicctl, drvdata->base + ASICCTL);
81 writel_relaxed(config->ctiappset, drvdata->base + CTIAPPSET);
92 struct cti_config *config = &drvdata->config; local
126 struct cti_config *config = &drvdata->config; local
152 struct cti_config *config = &drvdata->config; local
199 struct cti_config *config = &drvdata->config; local
220 struct cti_config *config = &drvdata->config; local
341 struct cti_config *config = &drvdata->config; local
399 struct cti_config *config = &drvdata->config; local
437 struct cti_config *config = &drvdata->config; local
[all...]
/linux-master/scripts/kconfig/
H A DMakefile24 /lib/modules/$(kernel-release)/.config \
25 /etc/kernel-config \
26 /boot/config-$(kernel-release)
41 config-prog := conf
56 $(foreach c, config menuconfig nconfig gconfig xconfig, $(eval $(call config_rule,$(c))))
60 $(Q)$(PERL) $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config
61 $(Q)if [ -f .config ]; then \
62 cmp -s .tmp.config .config || \
63 (mv -f .config
[all...]
/linux-master/drivers/vdpa/
H A Dvdpa.c27 vdev->config->set_status(vdev, status);
38 const struct vdpa_config_ops *ops = vdev->config;
129 const struct vdpa_config_ops *ops = vdev->config;
144 * @config: the bus operations that is supported by this device
154 * Return: Returns an error when parent/config/dma_dev is not set or fail to get
158 const struct vdpa_config_ops *config,
166 if (!config)
169 if (!!config->dma_map != !!config->dma_unmap)
173 if (use_va && !(config
157 __vdpa_alloc_device(struct device *parent, const struct vdpa_config_ops *config, unsigned int ngroups, unsigned int nas, size_t size, const char *name, bool use_va) argument
597 struct vdpa_dev_set_config config = {}; local
873 vdpa_dev_net_mq_config_fill(struct sk_buff *msg, u64 features, const struct virtio_net_config *config) argument
887 vdpa_dev_net_mtu_config_fill(struct sk_buff *msg, u64 features, const struct virtio_net_config *config) argument
900 vdpa_dev_net_mac_config_fill(struct sk_buff *msg, u64 features, const struct virtio_net_config *config) argument
910 vdpa_dev_net_status_config_fill(struct sk_buff *msg, u64 features, const struct virtio_net_config *config) argument
924 struct virtio_net_config config = {}; local
948 vdpa_dev_blk_capacity_config_fill(struct sk_buff *msg, const struct virtio_blk_config *config) argument
960 vdpa_dev_blk_seg_size_config_fill(struct sk_buff *msg, u64 features, const struct virtio_blk_config *config) argument
975 vdpa_dev_blk_block_size_config_fill(struct sk_buff *msg, u64 features, const struct virtio_blk_config *config) argument
989 vdpa_dev_blk_seg_max_config_fill(struct sk_buff *msg, u64 features, const struct virtio_blk_config *config) argument
1002 vdpa_dev_blk_mq_config_fill(struct sk_buff *msg, u64 features, const struct virtio_blk_config *config) argument
1015 vdpa_dev_blk_topology_config_fill(struct sk_buff *msg, u64 features, const struct virtio_blk_config *config) argument
1044 vdpa_dev_blk_discard_config_fill(struct sk_buff *msg, u64 features, const struct virtio_blk_config *config) argument
1068 vdpa_dev_blk_write_zeroes_config_fill(struct sk_buff *msg, u64 features, const struct virtio_blk_config *config) argument
1112 struct virtio_blk_config config = {}; local
1224 struct virtio_net_config config = {}; local
[all...]
/linux-master/arch/mips/ath25/
H A Dboard.c39 /* config magic found */
87 /* AR2316 relocates radio config to new location */
105 struct ath25_boarddata *config; local
117 ath25_board.config = NULL;
140 ath25_board.config = (struct ath25_boarddata *)board_data;
144 config = ath25_board.config;
145 if (is_zero_ether_addr(config->enet0_mac)) {
147 config->reset_config_gpio = 0xffff;
148 config
[all...]
/linux-master/drivers/nfc/nfcmrvl/
H A Duart.c46 const struct nfcmrvl_fw_uart_config *config = param; local
48 nci_uart_set_config(nu, le32_to_cpu(config->baudrate),
49 config->flow_control);
94 struct nfcmrvl_platform_data config; local
105 if (nfcmrvl_uart_parse_dt(dev->parent->of_node, &config) == 0)
106 pdata = &config;
110 config.hci_muxed = hci_muxed;
111 config.reset_n_io = reset_n_io;
112 config.flow_control = flow_control;
113 config
[all...]
/linux-master/drivers/irqchip/
H A Dirq-st.c39 unsigned int config; member in struct:st_irq_syscfg
59 ddata->config |= ST_A9_IRQ_EN_EXT_0;
62 ddata->config |= ST_A9_IRQ_EN_EXT_1;
65 ddata->config |= ST_A9_IRQ_EN_EXT_2;
68 ddata->config |= ST_A9_IRQ_EN_CTI_0;
71 ddata->config |= ST_A9_IRQ_EN_CTI_1;
74 ddata->config |= ST_A9_IRQ_EN_PMU_0;
77 ddata->config |= ST_A9_IRQ_EN_PMU_1;
80 ddata->config |= ST_A9_IRQ_EN_PL310_L2;
90 ddata->config |
[all...]

Completed in 237 milliseconds

1234567891011>>