Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 915) sorted by relevance

12345678910>>...37

/linux-4.19.296/drivers/rtc/
Drtc-spear.c88 static inline void spear_rtc_clear_interrupt(struct spear_rtc_config *config) in spear_rtc_clear_interrupt() argument
93 spin_lock_irqsave(&config->lock, flags); in spear_rtc_clear_interrupt()
94 val = readl(config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
96 writel(val, config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
97 spin_unlock_irqrestore(&config->lock, flags); in spear_rtc_clear_interrupt()
100 static inline void spear_rtc_enable_interrupt(struct spear_rtc_config *config) in spear_rtc_enable_interrupt() argument
104 val = readl(config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()
106 spear_rtc_clear_interrupt(config); in spear_rtc_enable_interrupt()
108 writel(val, config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()
112 static inline void spear_rtc_disable_interrupt(struct spear_rtc_config *config) in spear_rtc_disable_interrupt() argument
[all …]
Drtc-da9063.c77 const struct da9063_compatible_rtc_regmap *config; member
177 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_data_to_tm() local
179 tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask; in da9063_data_to_tm()
180 tm->tm_min = data[RTC_MIN] & config->rtc_count_min_mask; in da9063_data_to_tm()
181 tm->tm_hour = data[RTC_HOUR] & config->rtc_count_hour_mask; in da9063_data_to_tm()
182 tm->tm_mday = data[RTC_DAY] & config->rtc_count_day_mask; in da9063_data_to_tm()
184 config->rtc_count_month_mask); in da9063_data_to_tm()
186 config->rtc_count_year_mask); in da9063_data_to_tm()
192 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_tm_to_data() local
194 data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask; in da9063_tm_to_data()
[all …]
/linux-4.19.296/lib/
Dtest_kmod.c131 struct test_config config; member
182 struct test_config *config = &test_dev->config; in kmod_test_done_check() local
187 if (test_dev->done == config->num_threads) { in kmod_test_done_check()
198 struct test_config *config = &test_dev->config; in test_kmod_put_module() local
203 switch (config->test_case) { in test_kmod_put_module()
221 struct test_config *config = &test_dev->config; in run_request() local
223 switch (config->test_case) { in run_request()
225 info->ret_sync = request_module("%s", config->test_driver); in run_request()
228 info->fs_sync = get_fs_type(config->test_fs); in run_request()
252 struct test_config *config = &test_dev->config; in tally_work_test() local
[all …]
DKconfig5 config BINARY_PRINTF
10 config RAID6_PQ
13 config BITREVERSE
16 config HAVE_ARCH_BITREVERSE
23 config RATIONAL
26 config GENERIC_STRNCPY_FROM_USER
29 config GENERIC_STRNLEN_USER
32 config GENERIC_NET_UTILS
35 config GENERIC_FIND_FIRST_BIT
38 config NO_GENERIC_PCI_IOPORT_MAP
[all …]
/linux-4.19.296/drivers/regulator/
Dfixed.c53 struct fixed_voltage_config *config; in of_get_fixed_voltage_config() local
57 config = devm_kzalloc(dev, sizeof(struct fixed_voltage_config), in of_get_fixed_voltage_config()
59 if (!config) in of_get_fixed_voltage_config()
62 config->init_data = of_get_regulator_init_data(dev, dev->of_node, desc); in of_get_fixed_voltage_config()
63 if (!config->init_data) in of_get_fixed_voltage_config()
66 init_data = config->init_data; in of_get_fixed_voltage_config()
69 config->supply_name = init_data->constraints.name; in of_get_fixed_voltage_config()
71 config->microvolts = init_data->constraints.min_uV; in of_get_fixed_voltage_config()
79 config->enabled_at_boot = true; in of_get_fixed_voltage_config()
81 config->gpio = of_get_named_gpio(np, "gpio", 0); in of_get_fixed_voltage_config()
[all …]
Dgpio-regulator.c139 struct gpio_regulator_config *config; in of_get_gpio_regulator_config() local
144 config = devm_kzalloc(dev, in of_get_gpio_regulator_config()
147 if (!config) in of_get_gpio_regulator_config()
150 config->init_data = of_get_regulator_init_data(dev, np, desc); in of_get_gpio_regulator_config()
151 if (!config->init_data) in of_get_gpio_regulator_config()
154 config->supply_name = config->init_data->constraints.name; in of_get_gpio_regulator_config()
157 config->enable_high = true; in of_get_gpio_regulator_config()
160 config->enabled_at_boot = true; in of_get_gpio_regulator_config()
162 of_property_read_u32(np, "startup-delay-us", &config->startup_delay); in of_get_gpio_regulator_config()
164 config->enable_gpio = of_get_named_gpio(np, "enable-gpio", 0); in of_get_gpio_regulator_config()
[all …]
/linux-4.19.296/virt/kvm/
DKconfig4 config HAVE_KVM
7 config HAVE_KVM_IRQCHIP
10 config HAVE_KVM_IRQFD
13 config HAVE_KVM_IRQ_ROUTING
16 config HAVE_KVM_EVENTFD
20 config KVM_MMIO
23 config KVM_ASYNC_PF
27 config KVM_ASYNC_PF_SYNC
30 config HAVE_KVM_MSI
33 config HAVE_KVM_CPU_RELAX_INTERCEPT
[all …]
/linux-4.19.296/drivers/irqchip/
DKconfig3 config IRQCHIP
7 config ARM_GIC
14 config ARM_GIC_PM
20 config ARM_GIC_MAX_NR
25 config ARM_GIC_V2M
31 config GIC_NON_BANKED
34 config ARM_GIC_V3
42 config ARM_GIC_V3_ITS
47 config ARM_GIC_V3_ITS_PCI
54 config ARM_GIC_V3_ITS_FSL_MC
[all …]
/linux-4.19.296/include/linux/
Dregmap.h520 const struct regmap_config *config,
524 const struct regmap_config *config,
528 const struct regmap_config *config,
532 const struct regmap_config *config,
536 const struct regmap_config *config,
540 const struct regmap_config *config,
544 const struct regmap_config *config,
548 const struct regmap_config *config,
553 const struct regmap_config *config,
557 const struct regmap_config *config,
[all …]
/linux-4.19.296/fs/fscache/
Dobject-list.c24 unsigned long config; /* display configuration */ member
169 unsigned long config = data->config; in fscache_objlist_show() local
177 if (config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show()
180 if (config & FSCACHE_OBJLIST_CONFIG_KEY) in fscache_objlist_show()
182 if ((config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show()
186 if (config & FSCACHE_OBJLIST_CONFIG_AUX) in fscache_objlist_show()
196 if (config & (FSCACHE_OBJLIST_CONFIG_KEY | in fscache_objlist_show()
209 if (!(config & yes)) \ in fscache_objlist_show()
212 if (!(config & no)) \ in fscache_objlist_show()
218 if (~config) { in fscache_objlist_show()
[all …]
/linux-4.19.296/drivers/iio/adc/
Dmcp3422.c44 #define MCP3422_CHANNEL(config) (((config) & MCP3422_CHANNEL_MASK) >> 5) argument
45 #define MCP3422_PGA(config) ((config) & MCP3422_PGA_MASK) argument
46 #define MCP3422_SAMPLE_RATE(config) (((config) & MCP3422_SRATE_MASK) >> 2) argument
93 u8 config; member
104 adc->config = newconfig; in mcp3422_update_config()
111 static int mcp3422_read(struct mcp3422 *adc, int *value, u8 *config) in mcp3422_read() argument
114 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_read()
121 *config = buf[3]; in mcp3422_read()
125 *config = buf[2]; in mcp3422_read()
137 u8 config; in mcp3422_read_channel() local
[all …]
/linux-4.19.296/drivers/clk/mvebu/
DKconfig1 config MVEBU_CLK_COMMON
4 config MVEBU_CLK_CPU
7 config MVEBU_CLK_COREDIV
10 config ARMADA_370_CLK
15 config ARMADA_375_CLK
19 config ARMADA_38X_CLK
23 config ARMADA_39X_CLK
27 config ARMADA_37XX_CLK
30 config ARMADA_XP_CLK
35 config ARMADA_AP806_SYSCON
[all …]
/linux-4.19.296/drivers/misc/
Dspear13xx_pcie_gadget.c57 struct spear_pcie_gadget_config config; member
62 ssize_t (*show)(struct spear_pcie_gadget_config *config,
64 ssize_t (*store)(struct spear_pcie_gadget_config *config,
89 static void spear_dbi_read_reg(struct spear_pcie_gadget_config *config, in spear_dbi_read_reg() argument
92 struct pcie_app_reg __iomem *app_reg = config->va_app_base; in spear_dbi_read_reg()
98 va_address = (ulong)config->va_dbi_base + (where & ~0x3); in spear_dbi_read_reg()
111 static void spear_dbi_write_reg(struct spear_pcie_gadget_config *config, in spear_dbi_write_reg() argument
114 struct pcie_app_reg __iomem *app_reg = config->va_app_base; in spear_dbi_write_reg()
120 va_address = (ulong)config->va_dbi_base + (where & ~0x3); in spear_dbi_write_reg()
135 static int pci_find_own_next_cap_ttl(struct spear_pcie_gadget_config *config, in pci_find_own_next_cap_ttl() argument
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Disl6405.c36 u8 config; member
48 .buf = &isl6405->config, in isl6405_set_voltage()
49 .len = sizeof(isl6405->config) }; in isl6405_set_voltage()
52 isl6405->config &= ~(ISL6405_VSEL2 | ISL6405_EN2); in isl6405_set_voltage()
57 isl6405->config |= ISL6405_EN2; in isl6405_set_voltage()
60 isl6405->config |= (ISL6405_EN2 | ISL6405_VSEL2); in isl6405_set_voltage()
66 isl6405->config &= ~(ISL6405_VSEL1 | ISL6405_EN1); in isl6405_set_voltage()
71 isl6405->config |= ISL6405_EN1; in isl6405_set_voltage()
74 isl6405->config |= (ISL6405_EN1 | ISL6405_VSEL1); in isl6405_set_voltage()
80 isl6405->config |= isl6405->override_or; in isl6405_set_voltage()
[all …]
Disl6421.c36 u8 config; member
55 .buf = &isl6421->config, in isl6421_set_voltage()
66 isl6421->config &= ~(ISL6421_VSEL1 | ISL6421_EN1); in isl6421_set_voltage()
74 isl6421->config |= ISL6421_EN1; in isl6421_set_voltage()
78 isl6421->config |= (ISL6421_EN1 | ISL6421_VSEL1); in isl6421_set_voltage()
90 isl6421->config |= ISL6421_DCL; in isl6421_set_voltage()
92 isl6421->config |= isl6421->override_or; in isl6421_set_voltage()
93 isl6421->config &= isl6421->override_and; in isl6421_set_voltage()
109 if ((isl6421->config & ISL6421_DCL) && in isl6421_set_voltage()
111 isl6421->config &= ~ISL6421_DCL; in isl6421_set_voltage()
[all …]
Dlnbp21.c37 u8 config; member
49 .buf = &lnbp21->config, in lnbp21_set_voltage()
50 .len = sizeof(lnbp21->config) }; in lnbp21_set_voltage()
52 lnbp21->config &= ~(LNBP21_VSEL | LNBP21_EN); in lnbp21_set_voltage()
58 lnbp21->config |= LNBP21_EN; in lnbp21_set_voltage()
61 lnbp21->config |= (LNBP21_EN | LNBP21_VSEL); in lnbp21_set_voltage()
67 lnbp21->config |= lnbp21->override_or; in lnbp21_set_voltage()
68 lnbp21->config &= lnbp21->override_and; in lnbp21_set_voltage()
77 .buf = &lnbp21->config, in lnbp21_enable_high_lnb_voltage()
78 .len = sizeof(lnbp21->config) }; in lnbp21_enable_high_lnb_voltage()
[all …]
Dtda665x.c31 const struct tda665x_config *config; member
39 const struct tda665x_config *config = state->config; in tda665x_read() local
41 struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD, .buf = buf, .len = 2 }; in tda665x_read()
55 const struct tda665x_config *config = state->config; in tda665x_write() local
57 struct i2c_msg msg = { .addr = config->addr, .flags = 0, .buf = buf, .len = length }; in tda665x_write()
105 const struct tda665x_config *config = state->config; in tda665x_set_frequency() local
110 if ((new_frequency < config->frequency_max) in tda665x_set_frequency()
111 || (new_frequency > config->frequency_min)) { in tda665x_set_frequency()
119 frequency += config->frequency_offst; in tda665x_set_frequency()
120 frequency *= config->ref_multiplier; in tda665x_set_frequency()
[all …]
Dlnbp22.c44 u8 config[4]; member
55 .buf = (char *)&lnbp22->config, in lnbp22_set_voltage()
56 .len = sizeof(lnbp22->config), in lnbp22_set_voltage()
62 lnbp22->config[3] = 0x60; /* Power down */ in lnbp22_set_voltage()
67 lnbp22->config[3] |= LNBP22_EN; in lnbp22_set_voltage()
70 lnbp22->config[3] |= (LNBP22_EN | LNBP22_VSEL); in lnbp22_set_voltage()
76 dprintk(1, "%s: 0x%02x)\n", __func__, lnbp22->config[3]); in lnbp22_set_voltage()
86 .buf = (char *)&lnbp22->config, in lnbp22_enable_high_lnb_voltage()
87 .len = sizeof(lnbp22->config), in lnbp22_enable_high_lnb_voltage()
92 lnbp22->config[3] |= LNBP22_LLC; in lnbp22_enable_high_lnb_voltage()
[all …]
Dtda8261.c32 const struct tda8261_config *config; member
41 const struct tda8261_config *config = state->config; in tda8261_read() local
43 struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD,.buf = buf, .len = 1 }; in tda8261_read()
53 const struct tda8261_config *config = state->config; in tda8261_write() local
55 struct i2c_msg msg = { .addr = config->addr, .flags = 0, .buf = buf, .len = 4 }; in tda8261_write()
99 const struct tda8261_config *config = state->config; in tda8261_set_params() local
115 N = (frequency + (div_tab[config->step_size] - 1)) / div_tab[config->step_size]; in tda8261_set_params()
117 __func__, config->step_size, div_tab[config->step_size], N, N); in tda8261_set_params()
121 buf[2] = (0x01 << 7) | ((ref_div[config->step_size] & 0x07) << 1); in tda8261_set_params()
178 const struct tda8261_config *config, in tda8261_attach() argument
[all …]
Dor51211.c55 const struct or51211_config* config; member
130 state->config->reset(fe); in or51211_load_firmware()
132 if (i2c_writebytes(state,state->config->demod_address,tudata,585)) { in or51211_load_firmware()
138 if (i2c_writebytes(state,state->config->demod_address, in or51211_load_firmware()
145 if (i2c_writebytes(state,state->config->demod_address,run_buf,2)) { in or51211_load_firmware()
152 if (i2c_writebytes(state,state->config->demod_address,run_buf,2)) { in or51211_load_firmware()
167 state->config->setmode(fe, mode); in or51211_setmode()
169 if (i2c_writebytes(state,state->config->demod_address,run_buf,2)) { in or51211_setmode()
176 if (i2c_writebytes(state,state->config->demod_address,run_buf,2)) { in or51211_setmode()
192 if (i2c_writebytes(state,state->config->demod_address,cmd_buf,3)) { in or51211_setmode()
[all …]
/linux-4.19.296/drivers/clk/renesas/
DKconfig1 config CLK_RENESAS
29 config CLK_RENESAS_LEGACY
41 config CLK_EMEV2
44 config CLK_RZA1
48 config CLK_R8A73A4
53 config CLK_R8A7740
58 config CLK_R8A7743
62 config CLK_R8A7745
66 config CLK_R8A77470
70 config CLK_R8A7778
[all …]
/linux-4.19.296/fs/overlayfs/
Dsuper.c244 kfree(ofs->config.lowerdir); in ovl_free_fs()
245 kfree(ofs->config.upperdir); in ovl_free_fs()
246 kfree(ofs->config.workdir); in ovl_free_fs()
247 kfree(ofs->config.redirect_mode); in ovl_free_fs()
355 seq_show_option(m, "lowerdir", ofs->config.lowerdir); in ovl_show_options()
356 if (ofs->config.upperdir) { in ovl_show_options()
357 seq_show_option(m, "upperdir", ofs->config.upperdir); in ovl_show_options()
358 seq_show_option(m, "workdir", ofs->config.workdir); in ovl_show_options()
360 if (ofs->config.default_permissions) in ovl_show_options()
362 if (strcmp(ofs->config.redirect_mode, ovl_redirect_mode_def()) != 0) in ovl_show_options()
[all …]
/linux-4.19.296/drivers/base/regmap/
DKconfig6 config REGMAP
11 config REGCACHE_COMPRESSED
16 config REGMAP_AC97
19 config REGMAP_I2C
23 config REGMAP_SLIMBUS
27 config REGMAP_SPI
31 config REGMAP_SPMI
35 config REGMAP_W1
39 config REGMAP_MMIO
42 config REGMAP_IRQ
[all …]
/linux-4.19.296/drivers/clk/sunxi/
Dclk-factors.c50 const struct clk_factors_config *config = factors->config; in clk_factors_recalc_rate() local
56 if (config->nwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
57 n = FACTOR_GET(config->nshift, config->nwidth, reg); in clk_factors_recalc_rate()
58 if (config->kwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
59 k = FACTOR_GET(config->kshift, config->kwidth, reg); in clk_factors_recalc_rate()
60 if (config->mwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
61 m = FACTOR_GET(config->mshift, config->mwidth, reg); in clk_factors_recalc_rate()
62 if (config->pwidth != SUNXI_FACTORS_NOT_APPLICABLE) in clk_factors_recalc_rate()
63 p = FACTOR_GET(config->pshift, config->pwidth, reg); in clk_factors_recalc_rate()
86 rate = (parent_rate * (n + config->n_start) * (k + 1) >> p) / (m + 1); in clk_factors_recalc_rate()
[all …]
/linux-4.19.296/drivers/bluetooth/
Dbtqca.c115 static void qca_tlv_check_data(struct rome_config *config, in qca_tlv_check_data() argument
134 config->dnld_mode = ROME_SKIP_EVT_NONE; in qca_tlv_check_data()
136 switch (config->type) { in qca_tlv_check_data()
146 config->dnld_mode = tlv_patch->download_mode; in qca_tlv_check_data()
191 tlv_nvm->data[2] = config->user_baud_rate; in qca_tlv_check_data()
209 BT_ERR("Unknown TLV type %d", config->type); in qca_tlv_check_data()
268 struct rome_config *config) in qca_download_firmware() argument
274 bt_dev_info(hdev, "QCA Downloading %s", config->fwname); in qca_download_firmware()
276 ret = request_firmware(&fw, config->fwname, &hdev->dev); in qca_download_firmware()
279 config->fwname, ret); in qca_download_firmware()
[all …]

12345678910>>...37