/drivers/hwtracing/coresight/ |
D | coresight-etm4x-sysfs.c | 17 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 …]
|
D | coresight-etm3x-sysfs.c | 72 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() 100 struct etm_config *config = &drvdata->config; in mode_show() local 102 val = config->mode; in mode_show() 113 struct etm_config *config = &drvdata->config; in mode_store() local 120 config->mode = val & ETM_MODE_ALL; in mode_store() [all …]
|
D | coresight-cti-core.c | 63 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 …]
|
D | coresight-etm3x-core.c | 191 void etm_set_default(struct etm_config *config) in etm_set_default() argument 195 if (WARN_ON_ONCE(!config)) in etm_set_default() 207 config->enable_ctrl1 = ETMTECR1_INC_EXC; in etm_set_default() 208 config->enable_ctrl2 = 0x0; in etm_set_default() 209 config->enable_event = ETM_HARD_WIRE_RES_A; in etm_set_default() 211 config->trigger_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default() 212 config->enable_event = ETM_HARD_WIRE_RES_A; in etm_set_default() 214 config->seq_12_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default() 215 config->seq_21_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default() 216 config->seq_23_event = ETM_DEFAULT_EVENT_VAL; in etm_set_default() [all …]
|
D | coresight-etm4x-core.c | 60 static void etm4_set_default_config(struct etmv4_config *config); 63 static u64 etm4_get_access_type(struct etmv4_config *config); 86 (drvdata->config.ss_status[n] & TRCSSCSRn_PC); in etm4x_sspcicrn_present() 273 if (drvdata->config.mode & ETM_MODE_EXCL_KERN) in etm4x_allow_trace() 275 if (drvdata->config.mode & ETM_MODE_EXCL_USER) in etm4x_allow_trace() 375 struct etmv4_config *config = &drvdata->config; in etm4_enable_hw() local 407 etm4x_relaxed_write32(csa, config->pe_sel, TRCPROCSELR); in etm4_enable_hw() 408 etm4x_relaxed_write32(csa, config->cfg, TRCCONFIGR); in etm4_enable_hw() 411 etm4x_relaxed_write32(csa, config->eventctrl0, TRCEVENTCTL0R); in etm4_enable_hw() 412 etm4x_relaxed_write32(csa, config->eventctrl1, TRCEVENTCTL1R); in etm4_enable_hw() [all …]
|
/drivers/staging/media/atomisp/pci/ |
D | ia_css_isp_params.c | 1784 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 …]
|
D | ia_css_isp_params.h | 159 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 …]
|
D | ia_css_isp_configs.c | 32 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/ |
D | rtc-spear.c | 85 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 …]
|
D | rtc-da9063.c | 69 const struct da9063_compatible_rtc_regmap *config; member 169 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_data_to_tm() local 171 tm->tm_sec = data[RTC_SEC] & config->rtc_count_sec_mask; in da9063_data_to_tm() 172 tm->tm_min = data[RTC_MIN] & config->rtc_count_min_mask; in da9063_data_to_tm() 173 tm->tm_hour = data[RTC_HOUR] & config->rtc_count_hour_mask; in da9063_data_to_tm() 174 tm->tm_mday = data[RTC_DAY] & config->rtc_count_day_mask; in da9063_data_to_tm() 176 config->rtc_count_month_mask); in da9063_data_to_tm() 178 config->rtc_count_year_mask); in da9063_data_to_tm() 184 const struct da9063_compatible_rtc_regmap *config = rtc->config; in da9063_tm_to_data() local 186 data[RTC_SEC] = tm->tm_sec & config->rtc_count_sec_mask; in da9063_tm_to_data() [all …]
|
/drivers/staging/sm750fb/ |
D | ddk750_sii164.c | 132 unsigned char config; in sii164InitChip() local 151 config = SII164_CONFIGURATION_LATCH_FALLING; in sii164InitChip() 153 config = SII164_CONFIGURATION_LATCH_RISING; in sii164InitChip() 157 config |= SII164_CONFIGURATION_BUS_12BITS; in sii164InitChip() 159 config |= SII164_CONFIGURATION_BUS_24BITS; in sii164InitChip() 163 config |= SII164_CONFIGURATION_CLOCK_SINGLE; in sii164InitChip() 165 config |= SII164_CONFIGURATION_CLOCK_DUAL; in sii164InitChip() 169 config |= SII164_CONFIGURATION_HSYNC_FORCE_LOW; in sii164InitChip() 171 config |= SII164_CONFIGURATION_HSYNC_AS_IS; in sii164InitChip() 175 config |= SII164_CONFIGURATION_VSYNC_FORCE_LOW; in sii164InitChip() [all …]
|
/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-ram.c | 11 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/iio/adc/ |
D | mcp3422.c | 41 #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/ |
D | gpio-regulator.c | 133 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/ |
D | spectrum_nve_vxlan.c | 131 struct mlxsw_sp_nve_config *config) in mlxsw_sp_nve_vxlan_ul_proto_sip_config() argument 135 config->ul_proto = MLXSW_SP_L3_PROTO_IPV4; in mlxsw_sp_nve_vxlan_ul_proto_sip_config() 136 config->ul_sip.addr4 = cfg->saddr.sin.sin_addr.s_addr; in mlxsw_sp_nve_vxlan_ul_proto_sip_config() 139 config->ul_proto = MLXSW_SP_L3_PROTO_IPV6; in mlxsw_sp_nve_vxlan_ul_proto_sip_config() 140 config->ul_sip.addr6 = cfg->saddr.sin6.sin6_addr; in mlxsw_sp_nve_vxlan_ul_proto_sip_config() 147 struct mlxsw_sp_nve_config *config) in mlxsw_sp_nve_vxlan_config() argument 152 config->type = MLXSW_SP_NVE_TYPE_VXLAN; in mlxsw_sp_nve_vxlan_config() 153 config->ttl = cfg->ttl; in mlxsw_sp_nve_vxlan_config() 154 config->flowlabel = cfg->label; in mlxsw_sp_nve_vxlan_config() 155 config->learning_en = cfg->flags & VXLAN_F_LEARN ? 1 : 0; in mlxsw_sp_nve_vxlan_config() [all …]
|
/drivers/clk/renesas/ |
D | Kconfig | 3 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/irqchip/ |
D | Kconfig | 4 config IRQCHIP 8 config ARM_GIC 13 config ARM_GIC_PM 18 config ARM_GIC_MAX_NR 24 config ARM_GIC_V2M 30 config GIC_NON_BANKED 33 config ARM_GIC_V3 39 config ARM_GIC_V3_ITS 44 config ARM_GIC_V3_ITS_PCI 51 config ARM_GIC_V3_ITS_FSL_MC [all …]
|
/drivers/soc/renesas/ |
D | Kconfig | 9 config ARCH_RCAR_GEN1 17 config ARCH_RCAR_GEN2 26 config ARCH_RCAR_GEN3 35 config ARCH_RMOBILE 43 config ARCH_RZG2L 49 config ARCH_RZN1 59 config ARCH_EMEV2 64 config ARCH_R8A7794 70 config ARCH_R8A7779 79 config ARCH_R8A7790 [all …]
|
/drivers/mmc/host/ |
D | mmci_qcom_dml.c | 50 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/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/ |
D | ia_css_ynr2.host.c | 96 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/ |
D | mtk_mdp_regs.c | 71 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/ |
D | Kconfig | 2 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/ |
D | fimc-is-param.c | 43 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 …]
|
/drivers/block/ |
D | nbd.c | 110 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/media/dvb-frontends/ |
D | isl6405.c | 22 u8 config; member 34 .buf = &isl6405->config, in isl6405_set_voltage() 35 .len = sizeof(isl6405->config) }; in isl6405_set_voltage() 38 isl6405->config &= ~(ISL6405_VSEL2 | ISL6405_EN2); in isl6405_set_voltage() 43 isl6405->config |= ISL6405_EN2; in isl6405_set_voltage() 46 isl6405->config |= (ISL6405_EN2 | ISL6405_VSEL2); in isl6405_set_voltage() 52 isl6405->config &= ~(ISL6405_VSEL1 | ISL6405_EN1); in isl6405_set_voltage() 57 isl6405->config |= ISL6405_EN1; in isl6405_set_voltage() 60 isl6405->config |= (ISL6405_EN1 | ISL6405_VSEL1); in isl6405_set_voltage() 66 isl6405->config |= isl6405->override_or; in isl6405_set_voltage() [all …]
|