Home
last modified time | relevance | path

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

12345678910>>...134

/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c17 struct etmv4_config *config = &drvdata->config; in etm4_set_mode_exclude() local
19 idx = config->addr_idx; in etm4_set_mode_exclude()
25 if (FIELD_GET(TRCACATRn_TYPE_MASK, config->addr_acc[idx]) == TRCACATRn_TYPE_ADDR) { in etm4_set_mode_exclude()
34 if (config->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude()
35 config->addr_type[idx + 1] != ETM_ADDR_TYPE_RANGE) in etm4_set_mode_exclude()
43 config->viiectlr |= BIT(idx / 2 + 16); in etm4_set_mode_exclude()
44 config->viiectlr &= ~BIT(idx / 2); in etm4_set_mode_exclude()
50 config->viiectlr |= BIT(idx / 2); in etm4_set_mode_exclude()
51 config->viiectlr &= ~BIT(idx / 2 + 16); in etm4_set_mode_exclude()
172 struct etmv4_config *config = &drvdata->config; in reset_store() local
[all …]
Dcoresight-etm3x-sysfs.c72 struct etm_config *config = &drvdata->config; in reset_store() local
80 memset(config, 0, sizeof(struct etm_config)); in reset_store()
81 config->mode = ETM_MODE_EXCLUDE; in reset_store()
82 config->trigger_event = ETM_DEFAULT_EVENT_VAL; in reset_store()
84 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store()
87 etm_set_default(config); in reset_store()
101 struct etm_config *config = &drvdata->config; in mode_show() local
103 val = config->mode; in mode_show()
114 struct etm_config *config = &drvdata->config; in mode_store() local
121 config->mode = val & ETM_MODE_ALL; in mode_store()
[all …]
Dcoresight-cti-core.c63 struct cti_config *config = &drvdata->config; in cti_write_all_hw_regs() local
72 for (i = 0; i < config->nr_trig_max; i++) { in cti_write_all_hw_regs()
73 writel_relaxed(config->ctiinen[i], drvdata->base + CTIINEN(i)); in cti_write_all_hw_regs()
74 writel_relaxed(config->ctiouten[i], in cti_write_all_hw_regs()
79 writel_relaxed(config->ctigate, drvdata->base + CTIGATE); in cti_write_all_hw_regs()
80 writel_relaxed(config->asicctl, drvdata->base + ASICCTL); in cti_write_all_hw_regs()
81 writel_relaxed(config->ctiappset, drvdata->base + CTIAPPSET); in cti_write_all_hw_regs()
92 struct cti_config *config = &drvdata->config; in cti_enable_hw() local
99 if (config->hw_enabled || !config->hw_powered) in cti_enable_hw()
109 config->hw_enabled = true; in cti_enable_hw()
[all …]
Dcoresight-etm3x-core.c192 void etm_set_default(struct etm_config *config) in etm_set_default() argument
196 if (WARN_ON_ONCE(!config)) in etm_set_default()
208 config->enable_ctrl1 = ETMTECR1_INC_EXC; in etm_set_default()
209 config->enable_ctrl2 = 0x0; in etm_set_default()
210 config->enable_event = ETM_HARD_WIRE_RES_A; in etm_set_default()
212 config->trigger_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default()
213 config->enable_event = ETM_HARD_WIRE_RES_A; in etm_set_default()
215 config->seq_12_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default()
216 config->seq_21_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default()
217 config->seq_23_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default()
[all …]
/drivers/staging/media/atomisp/pci/
Dia_css_isp_params.c1784 struct ia_css_dp_config *config) in ia_css_get_dp_config() argument
1786 if (!config) in ia_css_get_dp_config()
1792 config); in ia_css_get_dp_config()
1794 *config = params->dp_config; in ia_css_get_dp_config()
1798 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_get_dp_config()
1805 const struct ia_css_dp_config *config) in ia_css_set_dp_config() argument
1807 if (!config) in ia_css_set_dp_config()
1812 ia_css_dp_debug_dtrace(config, IA_CSS_DEBUG_TRACE); in ia_css_set_dp_config()
1813 params->dp_config = *config; in ia_css_set_dp_config()
1823 struct ia_css_wb_config *config) in ia_css_get_wb_config() argument
[all …]
Dia_css_isp_params.h159 const struct ia_css_dp_config *config);
165 const struct ia_css_wb_config *config);
171 const struct ia_css_tnr_config *config);
177 const struct ia_css_ob_config *config);
183 const struct ia_css_de_config *config);
189 const struct ia_css_anr_config *config);
195 const struct ia_css_anr_thres *config);
201 const struct ia_css_ce_config *config);
207 const struct ia_css_ecd_config *config);
213 const struct ia_css_ynr_config *config);
[all …]
Dia_css_isp_configs.c32 if (!binary->info->mem_offsets.offsets.config) in ia_css_configure_iterator()
35 size = binary->info->mem_offsets.offsets.config->dmem.iterator.size; in ia_css_configure_iterator()
39 offset = binary->info->mem_offsets.offsets.config->dmem.iterator.offset; in ia_css_configure_iterator()
55 if (!binary->info->mem_offsets.offsets.config) in ia_css_configure_copy_output()
58 size = binary->info->mem_offsets.offsets.config->dmem.copy_output.size; in ia_css_configure_copy_output()
62 offset = binary->info->mem_offsets.offsets.config->dmem.copy_output.offset; in ia_css_configure_copy_output()
80 if (!binary->info->mem_offsets.offsets.config) in ia_css_configure_crop()
83 size = binary->info->mem_offsets.offsets.config->dmem.crop.size; in ia_css_configure_crop()
87 offset = binary->info->mem_offsets.offsets.config->dmem.crop.offset; in ia_css_configure_crop()
103 if (!binary->info->mem_offsets.offsets.config) in ia_css_configure_fpn()
[all …]
/drivers/rtc/
Drtc-spear.c85 static inline void spear_rtc_clear_interrupt(struct spear_rtc_config *config) in spear_rtc_clear_interrupt() argument
90 spin_lock_irqsave(&config->lock, flags); in spear_rtc_clear_interrupt()
91 val = readl(config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
93 writel(val, config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
94 spin_unlock_irqrestore(&config->lock, flags); in spear_rtc_clear_interrupt()
97 static inline void spear_rtc_enable_interrupt(struct spear_rtc_config *config) in spear_rtc_enable_interrupt() argument
101 val = readl(config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()
103 spear_rtc_clear_interrupt(config); in spear_rtc_enable_interrupt()
105 writel(val, config->ioaddr + CTRL_REG); in spear_rtc_enable_interrupt()
109 static inline void spear_rtc_disable_interrupt(struct spear_rtc_config *config) in spear_rtc_disable_interrupt() argument
[all …]
Drtc-da9063.c70 const struct da9063_compatible_rtc_regmap *config; member
170 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_data_to_tm() local
172 tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask; in da9063_data_to_tm()
173 tm->tm_min = data[RTC_MIN] & config->rtc_count_min_mask; in da9063_data_to_tm()
174 tm->tm_hour = data[RTC_HOUR] & config->rtc_count_hour_mask; in da9063_data_to_tm()
175 tm->tm_mday = data[RTC_DAY] & config->rtc_count_day_mask; in da9063_data_to_tm()
177 config->rtc_count_month_mask); in da9063_data_to_tm()
179 config->rtc_count_year_mask); in da9063_data_to_tm()
185 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_tm_to_data() local
187 data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask; in da9063_tm_to_data()
[all …]
/drivers/staging/sm750fb/
Dddk750_sii164.c132 unsigned char config; in sii164_init_chip() local
151 config = SII164_CONFIGURATION_LATCH_FALLING; in sii164_init_chip()
153 config = SII164_CONFIGURATION_LATCH_RISING; in sii164_init_chip()
157 config |= SII164_CONFIGURATION_BUS_12BITS; in sii164_init_chip()
159 config |= SII164_CONFIGURATION_BUS_24BITS; in sii164_init_chip()
163 config |= SII164_CONFIGURATION_CLOCK_SINGLE; in sii164_init_chip()
165 config |= SII164_CONFIGURATION_CLOCK_DUAL; in sii164_init_chip()
169 config |= SII164_CONFIGURATION_HSYNC_FORCE_LOW; in sii164_init_chip()
171 config |= SII164_CONFIGURATION_HSYNC_AS_IS; in sii164_init_chip()
175 config |= SII164_CONFIGURATION_VSYNC_FORCE_LOW; in sii164_init_chip()
[all …]
/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-ram.c11 static inline u8 can_ram_clamp(const struct can_ram_config *config, in can_ram_clamp() argument
17 max = min_t(u8, obj->max, obj->fifo_num * config->fifo_depth); in can_ram_clamp()
22 can_ram_rounddown_pow_of_two(const struct can_ram_config *config, in can_ram_rounddown_pow_of_two() argument
29 val = can_ram_clamp(config, obj, val); in can_ram_rounddown_pow_of_two()
38 ret = min_t(u8, coalesce * 2, config->fifo_depth); in can_ram_rounddown_pow_of_two()
47 config->fifo_depth); in can_ram_rounddown_pow_of_two()
61 const struct can_ram_config *config, in can_ram_get_layout() argument
71 num_tx = config->tx.def[fd_mode]; in can_ram_get_layout()
72 num_tx = can_ram_rounddown_pow_of_two(config, &config->tx, 0, num_tx); in can_ram_get_layout()
74 ram_free = config->size; in can_ram_get_layout()
[all …]
/drivers/base/regmap/
Dregmap-kunit.c69 static struct regmap *gen_regmap(struct regmap_config *config, in gen_regmap() argument
74 size_t size = (config->max_register + 1) * sizeof(unsigned int); in gen_regmap()
78 config->disable_locking = config->cache_type == REGCACHE_RBTREE || in gen_regmap()
79 config->cache_type == REGCACHE_MAPLE; in gen_regmap()
92 if (config->num_reg_defaults) { in gen_regmap()
93 defaults = kcalloc(config->num_reg_defaults, in gen_regmap()
98 config->reg_defaults = defaults; in gen_regmap()
100 for (i = 0; i < config->num_reg_defaults; i++) { in gen_regmap()
101 defaults[i].reg = i * config->reg_stride; in gen_regmap()
102 defaults[i].def = buf[i * config->reg_stride]; in gen_regmap()
[all …]
/drivers/iio/adc/
Dmcp3422.c41 #define MCP3422_CHANNEL(config) (((config) & MCP3422_CHANNEL_MASK) >> 5) argument
42 #define MCP3422_PGA(config) ((config) & MCP3422_PGA_MASK) argument
43 #define MCP3422_SAMPLE_RATE(config) (((config) & MCP3422_SRATE_MASK) >> 2) argument
90 u8 config; member
101 adc->config = newconfig; in mcp3422_update_config()
108 static int mcp3422_read(struct mcp3422 *adc, int *value, u8 *config) in mcp3422_read() argument
111 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_read()
118 *config = buf[3]; in mcp3422_read()
122 *config = buf[2]; in mcp3422_read()
134 u8 config; in mcp3422_read_channel() local
[all …]
/drivers/regulator/
Dgpio-regulator.c133 struct gpio_regulator_config *config; in of_get_gpio_regulator_config() local
139 config = devm_kzalloc(dev, in of_get_gpio_regulator_config()
142 if (!config) in of_get_gpio_regulator_config()
145 config->init_data = of_get_regulator_init_data(dev, np, desc); in of_get_gpio_regulator_config()
146 if (!config->init_data) in of_get_gpio_regulator_config()
149 config->supply_name = config->init_data->constraints.name; in of_get_gpio_regulator_config()
151 if (config->init_data->constraints.boot_on) in of_get_gpio_regulator_config()
152 config->enabled_at_boot = true; in of_get_gpio_regulator_config()
159 config->enabled_at_boot = true; in of_get_gpio_regulator_config()
161 of_property_read_u32(np, "startup-delay-us", &config->startup_delay); in of_get_gpio_regulator_config()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c133 struct mlxsw_sp_nve_config *config) in mlxsw_sp_nve_vxlan_ul_proto_sip_config() argument
137 config->ul_proto = MLXSW_SP_L3_PROTO_IPV4; in mlxsw_sp_nve_vxlan_ul_proto_sip_config()
138 config->ul_sip.addr4 = cfg->saddr.sin.sin_addr.s_addr; in mlxsw_sp_nve_vxlan_ul_proto_sip_config()
141 config->ul_proto = MLXSW_SP_L3_PROTO_IPV6; in mlxsw_sp_nve_vxlan_ul_proto_sip_config()
142 config->ul_sip.addr6 = cfg->saddr.sin6.sin6_addr; in mlxsw_sp_nve_vxlan_ul_proto_sip_config()
149 struct mlxsw_sp_nve_config *config) in mlxsw_sp_nve_vxlan_config() argument
154 config->type = MLXSW_SP_NVE_TYPE_VXLAN; in mlxsw_sp_nve_vxlan_config()
155 config->ttl = cfg->ttl; in mlxsw_sp_nve_vxlan_config()
156 config->flowlabel = cfg->label; in mlxsw_sp_nve_vxlan_config()
157 config->learning_en = cfg->flags & VXLAN_F_LEARN ? 1 : 0; in mlxsw_sp_nve_vxlan_config()
[all …]
/drivers/irqchip/
DKconfig4 config IRQCHIP
8 config ARM_GIC
14 config ARM_GIC_PM
19 config ARM_GIC_MAX_NR
25 config ARM_GIC_V2M
31 config GIC_NON_BANKED
34 config ARM_GIC_V3
41 config ARM_GIC_V3_ITS
46 config ARM_GIC_V3_ITS_PCI
53 config ARM_GIC_V3_ITS_FSL_MC
[all …]
/drivers/clk/renesas/
DKconfig3 config CLK_RENESAS
46 config CLK_EMEV2
49 config CLK_RZA1
53 config CLK_R7S9210
57 config CLK_R8A73A4
62 config CLK_R8A7740
67 config CLK_R8A7742
71 config CLK_R8A7743
75 config CLK_R8A7745
79 config CLK_R8A77470
[all …]
/drivers/bluetooth/
Dbtqca.c293 struct qca_fw_config *config, in qca_tlv_check_data() argument
304 uint8_t nvm_baud_rate = config->user_baud_rate; in qca_tlv_check_data()
307 config->dnld_mode = QCA_SKIP_EVT_NONE; in qca_tlv_check_data()
308 config->dnld_type = QCA_SKIP_EVT_NONE; in qca_tlv_check_data()
310 switch (config->type) { in qca_tlv_check_data()
315 config->dnld_mode = QCA_SKIP_EVT_VSE_CC; in qca_tlv_check_data()
316 config->dnld_type = QCA_SKIP_EVT_VSE_CC; in qca_tlv_check_data()
336 config->dnld_mode = tlv_patch->download_mode; in qca_tlv_check_data()
337 config->dnld_type = config->dnld_mode; in qca_tlv_check_data()
415 memcpy(&config->bdaddr, tlv_nvm->data, sizeof(bdaddr_t)); in qca_tlv_check_data()
[all …]
/drivers/soc/renesas/
DKconfig11 config ARCH_RCAR_GEN1
19 config ARCH_RCAR_GEN2
28 config ARCH_RCAR_GEN3
37 config ARCH_RMOBILE
45 config ARCH_RZG2L
51 config ARCH_RZN1
61 config ARCH_EMEV2
66 config ARCH_R8A7794
72 config ARCH_R8A7779
81 config ARCH_R8A7790
[all …]
/drivers/mmc/host/
Dmmci_qcom_dml.c50 u32 config; in qcom_dma_start() local
61 config = readl_relaxed(base + DML_CONFIG); in qcom_dma_start()
62 config = (config & ~PRODUCER_CRCI_MSK) | PRODUCER_CRCI_X_SEL; in qcom_dma_start()
63 config = (config & ~CONSUMER_CRCI_MSK) | CONSUMER_CRCI_DISABLE; in qcom_dma_start()
64 writel_relaxed(config, base + DML_CONFIG); in qcom_dma_start()
73 config = readl_relaxed(base + DML_CONFIG); in qcom_dma_start()
74 config |= PRODUCER_TRANS_END_EN; in qcom_dma_start()
75 writel_relaxed(config, base + DML_CONFIG); in qcom_dma_start()
81 config = readl_relaxed(base + DML_CONFIG); in qcom_dma_start()
82 config = (config & ~CONSUMER_CRCI_MSK) | CONSUMER_CRCI_X_SEL; in qcom_dma_start()
[all …]
/drivers/block/
Dnbd.c110 static inline unsigned int nbd_blksize(struct nbd_config *config) in nbd_blksize() argument
112 return 1u << config->blksize_bits; in nbd_blksize()
121 struct nbd_config *config; member
284 static int nbd_disconnected(struct nbd_config *config) in nbd_disconnected() argument
286 return test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags) || in nbd_disconnected()
287 test_bit(NBD_RT_DISCONNECT_REQUESTED, &config->runtime_flags); in nbd_disconnected()
293 if (!nsock->dead && notify && !nbd_disconnected(nbd->config)) { in nbd_mark_nsock_dead()
304 if (atomic_dec_return(&nbd->config->live_connections) == 0) { in nbd_mark_nsock_dead()
306 &nbd->config->runtime_flags)) { in nbd_mark_nsock_dead()
308 &nbd->config->runtime_flags); in nbd_mark_nsock_dead()
[all …]
/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/
Dia_css_ynr2.host.c96 const struct ia_css_fc_config *config, in ia_css_fc_debug_dtrace() argument
101 config->gain_exp, in ia_css_fc_debug_dtrace()
102 config->coring_pos_0, config->coring_pos_1, in ia_css_fc_debug_dtrace()
103 config->coring_neg_0, config->coring_neg_1, in ia_css_fc_debug_dtrace()
104 config->gain_pos_0, config->gain_pos_1, in ia_css_fc_debug_dtrace()
105 config->gain_neg_0, config->gain_neg_1, in ia_css_fc_debug_dtrace()
106 config->crop_pos_0, config->crop_pos_1, in ia_css_fc_debug_dtrace()
107 config->crop_neg_0, config->crop_neg_1); in ia_css_fc_debug_dtrace()
112 const struct ia_css_ynr_config *config, in ia_css_ynr_debug_dtrace() argument
117 config->edge_sense_gain_0, config->edge_sense_gain_1, in ia_css_ynr_debug_dtrace()
[all …]
/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_regs.c71 struct mdp_config *config = &ctx->vpu.vsi->src_config; in mtk_mdp_hw_set_in_size() local
74 config->crop_x = frame->crop.left; in mtk_mdp_hw_set_in_size()
75 config->crop_y = frame->crop.top; in mtk_mdp_hw_set_in_size()
78 config->crop_w = frame->crop.width; in mtk_mdp_hw_set_in_size()
79 config->crop_h = frame->crop.height; in mtk_mdp_hw_set_in_size()
82 config->x = 0; in mtk_mdp_hw_set_in_size()
83 config->y = 0; in mtk_mdp_hw_set_in_size()
84 config->w = frame->width; in mtk_mdp_hw_set_in_size()
85 config->h = frame->height; in mtk_mdp_hw_set_in_size()
92 struct mdp_config *config = &ctx->vpu.vsi->src_config; in mtk_mdp_hw_set_in_image_format() local
[all …]
/drivers/clk/mvebu/
DKconfig2 config MVEBU_CLK_COMMON
5 config MVEBU_CLK_CPU
8 config MVEBU_CLK_COREDIV
11 config ARMADA_AP_CP_HELPER
14 config ARMADA_370_CLK
19 config ARMADA_375_CLK
23 config ARMADA_38X_CLK
27 config ARMADA_39X_CLK
31 config ARMADA_37XX_CLK
34 config ARMADA_XP_CLK
[all …]
/drivers/media/platform/samsung/exynos4-is/
Dfimc-is-param.c43 src = &is->config[is->config_index].global.shotmode; in __fimc_is_hw_update_param_global_shotmode()
52 src = &is->config[is->config_index].sensor.frame_rate; in __fimc_is_hw_update_param_sensor_framerate()
59 struct chain_config *cfg = &is->config[is->config_index]; in __fimc_is_hw_update_param()
151 __hw_param_copy(&par->fd.config, &cfg->fd.config); in __fimc_is_hw_update_param()
163 struct chain_config *config = &is->config[is->config_index]; in __get_pending_param_count() local
168 count = hweight32(config->p_region_index[0]); in __get_pending_param_count()
169 count += hweight32(config->p_region_index[1]); in __get_pending_param_count()
181 p_index = &is->config[id].p_region_index[0]; in __is_hw_update_params()
211 isp = &is->config[is->config_index].isp; in __is_get_frame_size()
223 isp = &is->config[index].isp; in __is_set_frame_size()
[all …]

12345678910>>...134