/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
D | rv1_clk_mgr_clk.c | 52 void rv1_dump_clk_registers(struct clk_state_registers *regs, struct clk_bypass *bypass, struct clk… in rv1_dump_clk_registers() argument 58 bypass->dcfclk_bypass = REG_READ(CLK0_CLK8_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() 59 if (bypass->dcfclk_bypass < 0 || bypass->dcfclk_bypass > 4) in rv1_dump_clk_registers() 60 bypass->dcfclk_bypass = 0; in rv1_dump_clk_registers() 69 bypass->dispclk_pypass = REG_READ(CLK0_CLK10_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() 70 if (bypass->dispclk_pypass < 0 || bypass->dispclk_pypass > 4) in rv1_dump_clk_registers() 71 bypass->dispclk_pypass = 0; in rv1_dump_clk_registers() 75 bypass->dprefclk_bypass = REG_READ(CLK0_CLK11_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() 76 if (bypass->dprefclk_bypass < 0 || bypass->dprefclk_bypass > 4) in rv1_dump_clk_registers() 77 bypass->dprefclk_bypass = 0; in rv1_dump_clk_registers()
|
/drivers/usb/misc/ |
D | usb3503.c | 49 struct gpio_desc *bypass; member 113 int rst, bypass, conn; in usb3503_switch_mode() local 119 bypass = 0; in usb3503_switch_mode() 124 bypass = 1; in usb3503_switch_mode() 130 bypass = 1; in usb3503_switch_mode() 143 if (hub->bypass) in usb3503_switch_mode() 144 gpiod_set_value_cansleep(hub->bypass, bypass); in usb3503_switch_mode() 261 hub->bypass = devm_gpiod_get_optional(dev, "bypass", GPIOD_OUT_HIGH); in usb3503_probe() 262 if (IS_ERR(hub->bypass)) { in usb3503_probe() 263 err = PTR_ERR(hub->bypass); in usb3503_probe() [all …]
|
/drivers/regulator/ |
D | anatop-regulator.c | 30 bool bypass; member 65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable() 85 if (anatop_reg->bypass || !anatop_regmap_is_enabled(reg)) { in anatop_regmap_core_set_voltage_sel() 100 if (anatop_reg->bypass || !anatop_regmap_is_enabled(reg)) in anatop_regmap_core_get_voltage_sel() 113 WARN_ON(!anatop_reg->bypass); in anatop_regmap_get_bypass() 115 WARN_ON(anatop_reg->bypass); in anatop_regmap_get_bypass() 117 *enable = anatop_reg->bypass; in anatop_regmap_get_bypass() 126 if (enable == anatop_reg->bypass) in anatop_regmap_set_bypass() 130 anatop_reg->bypass = enable; in anatop_regmap_set_bypass() 270 sreg->bypass = true; in anatop_regulator_probe() [all …]
|
/drivers/clk/imx/ |
D | clk-sscg-pll.c | 75 int bypass; member 146 temp_setup->bypass = PLL_BYPASS1; in clk_sscg_divq_lookup() 220 temp_setup->bypass = PLL_BYPASS_NONE; in clk_sscg_divf1_lookup() 280 setup->bypass = PLL_BYPASS2; in clk_sscg_pll_find_setup() 368 val |= FIELD_PREP(SSCG_PLL_BYPASS_MASK, setup->bypass); in clk_sscg_pll_set_rate() 405 val |= FIELD_PREP(SSCG_PLL_BYPASS_MASK, pll->setup.bypass); in clk_sscg_pll_set_parent() 416 int bypass) in __clk_sscg_pll_determine_rate() argument 427 switch (bypass) { in __clk_sscg_pll_determine_rate() 443 rate, bypass); in __clk_sscg_pll_determine_rate()
|
/drivers/md/bcache/ |
D | stats.c | 184 bool hit, bool bypass) in mark_cache_stats() argument 186 if (!bypass) in mark_cache_stats() 199 bool hit, bool bypass) in bch_mark_cache_accounting() argument 203 mark_cache_stats(&dc->accounting.collector, hit, bypass); in bch_mark_cache_accounting() 204 mark_cache_stats(&c->accounting.collector, hit, bypass); in bch_mark_cache_accounting()
|
D | request.c | 192 if (op->bypass) in bch_data_insert_start() 271 op->bypass = true; in bch_data_insert_start() 313 op->writeback, op->bypass); in bch_data_insert() 867 !s->cache_missed, s->iop.bypass); in cached_dev_read_done_bh() 868 trace_bcache_read(s->orig_bio, !s->cache_missed, s->iop.bypass); in cached_dev_read_done_bh() 888 if (s->cache_miss || s->iop.bypass) { in cached_dev_cache_miss() 982 s->iop.bypass = false; in cached_dev_write() 994 s->iop.bypass = true; in cached_dev_write() 998 s->iop.bypass)) { in cached_dev_write() 999 s->iop.bypass = false; in cached_dev_write() [all …]
|
D | request.h | 20 unsigned int bypass:1; member
|
/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-hw.c | 122 bool *bypass) in mxc_isi_channel_set_scaling() argument 165 *bypass = in_size->height == out_size->height && in mxc_isi_channel_set_scaling() 211 bool *bypass) in mxc_isi_channel_set_csc() argument 256 *bypass = !cscen; in mxc_isi_channel_set_csc() 306 bool bypass) in mxc_isi_channel_set_control() argument 321 if (bypass) in mxc_isi_channel_set_control() 540 mxc_isi_pipe_irq_t irq_handler, bool bypass) in mxc_isi_channel_acquire() argument 558 | (!bypass ? MXC_ISI_CHANNEL_RES_LINE_BUF : 0); in mxc_isi_channel_acquire() 592 int mxc_isi_channel_chain(struct mxc_isi_pipe *pipe, bool bypass) in mxc_isi_channel_chain() argument
|
/drivers/clk/at91/ |
D | sckc.c | 122 bool bypass, in at91_clk_register_slow_osc() argument 148 if (bypass) in at91_clk_register_slow_osc() 378 bool bypass; in at91sam9x5_sckc_register() local 398 bypass = of_property_read_bool(child, "atmel,osc-bypass"); in at91sam9x5_sckc_register() 402 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91sam9x5_sckc_register() 411 &parent_data, 1200000, bypass, bits); in at91sam9x5_sckc_register() 479 bool bypass; in of_sam9x60_sckc_setup() local 496 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in of_sam9x60_sckc_setup() 498 &parent_data, 5000000, bypass, in of_sam9x60_sckc_setup()
|
D | at91rm9200.c | 86 bool bypass; in at91rm9200_pmc_setup() local 109 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91rm9200_pmc_setup() 112 bypass); in at91rm9200_pmc_setup()
|
D | at91sam9g45.c | 101 bool bypass; in at91sam9g45_pmc_setup() local 124 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91sam9g45_pmc_setup() 127 bypass); in at91sam9g45_pmc_setup()
|
D | at91sam9n12.c | 121 bool bypass; in at91sam9n12_pmc_setup() local 148 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91sam9n12_pmc_setup() 151 bypass); in at91sam9n12_pmc_setup()
|
D | sama5d3.c | 123 bool bypass; in sama5d3_pmc_setup() local 151 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in sama5d3_pmc_setup() 154 bypass); in sama5d3_pmc_setup()
|
D | sama5d4.c | 138 bool bypass; in sama5d4_pmc_setup() local 166 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in sama5d4_pmc_setup() 169 bypass); in sama5d4_pmc_setup()
|
D | at91sam9x5.c | 143 bool bypass; in at91sam9x5_pmc_setup() local 170 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91sam9x5_pmc_setup() 173 bypass); in at91sam9x5_pmc_setup()
|
D | at91sam9260.c | 340 bool bypass; in at91sam926x_pmc_setup() local 364 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in at91sam926x_pmc_setup() 367 bypass); in at91sam926x_pmc_setup()
|
/drivers/clk/socfpga/ |
D | clk-pll.c | 44 unsigned long bypass; in clk_pll_recalc_rate() local 47 bypass = readl(clk_mgr_base_addr + CLKMGR_BYPASS); in clk_pll_recalc_rate() 48 if (bypass & MAINPLL_BYPASS) in clk_pll_recalc_rate()
|
/drivers/power/supply/ |
D | bq25980_charger.c | 31 bool bypass; member 306 if (bq->state.bypass) in bq25980_set_input_curr_lim() 328 if (bq->state.bypass) { in bq25980_get_input_volt_lim() 350 if (bq->state.bypass) { in bq25980_set_input_volt_lim() 454 bq->state.bypass = en_bypass; in bq25980_set_bypass() 456 return bq->state.bypass; in bq25980_set_bypass() 604 state->bypass = chg_ctrl_2 & BQ25980_EN_BYPASS; in bq25980_get_state() 766 else if (state.bypass) in bq25980_get_charger_property() 768 else if (!state.bypass) in bq25980_get_charger_property() 828 old_state.bypass != new_state->bypass); in bq25980_state_changed() [all …]
|
/drivers/pwm/ |
D | pwm-sun4i.c | 173 bool *bypass) in sun4i_pwm_calculate() argument 180 *bypass = sun4i_pwm->data->has_direct_mod_clk_output && in sun4i_pwm_calculate() 187 if (*bypass) in sun4i_pwm_calculate() 241 bool bypass; in sun4i_pwm_apply() local 254 &bypass); in sun4i_pwm_apply() 266 if (bypass) { in sun4i_pwm_apply()
|
D | pwm-lpss.c | 57 .bypass = true, 176 pwm_lpss_cond_enable(pwm, lpwm->info->bypass == false); in pwm_lpss_prepare_enable() 181 pwm_lpss_cond_enable(pwm, lpwm->info->bypass == true); in pwm_lpss_prepare_enable()
|
/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3-common.c | 59 bool *bypass) in arm_smmu_device_dt_probe() argument 64 *bypass = true; in arm_smmu_device_dt_probe() 70 *bypass = false; in arm_smmu_device_dt_probe() 97 bool *bypass) in arm_smmu_device_acpi_probe() argument 113 *bypass = false; in arm_smmu_device_acpi_probe() 120 bool *bypass) in arm_smmu_device_acpi_probe() argument 127 struct arm_smmu_device *smmu, bool *bypass) in arm_smmu_fw_probe() argument 130 return arm_smmu_device_dt_probe(pdev, smmu, bypass); in arm_smmu_fw_probe() 132 return arm_smmu_device_acpi_probe(pdev, smmu, bypass); in arm_smmu_fw_probe()
|
/drivers/base/regmap/ |
D | regcache.c | 358 bool bypass; in regcache_sync() local 368 bypass = map->cache_bypass; in regcache_sync() 399 map->cache_bypass = bypass; in regcache_sync() 451 bool bypass; in regcache_sync_region() local 461 bypass = map->cache_bypass; in regcache_sync_region() 480 map->cache_bypass = bypass; in regcache_sync_region()
|
/drivers/dma-buf/heaps/ |
D | page_pool.c | 130 bool bypass = false; in dmabuf_page_pool_free() local 135 trace_android_vh_dmabuf_page_pool_free_bypass(page, &bypass); in dmabuf_page_pool_free() 136 if (bypass) in dmabuf_page_pool_free()
|
/drivers/gpu/drm/loongson/ |
D | lsdc_pixpll.c | 33 unsigned bypass : 1; /* 44 */ member 323 pixpll_reg.bitmap.bypass = 1; in __pixpll_ops_bypass() 334 pixpll_reg.bitmap.bypass = 0; in __pixpll_ops_unbypass()
|
/drivers/gpu/drm/sun4i/ |
D | sun4i_frontend.c | 413 u32 bypass; in sun4i_frontend_update_formats() local 467 bypass = 0; in sun4i_frontend_update_formats() 474 bypass = SUN4I_FRONTEND_BYPASS_CSC_EN; in sun4i_frontend_update_formats() 478 SUN4I_FRONTEND_BYPASS_CSC_EN, bypass); in sun4i_frontend_update_formats()
|