/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-regs.c | 22 u32 cfg; in gsc_wait_reset() local 25 cfg = readl(dev->regs + GSC_SW_RESET); in gsc_wait_reset() 26 if (!cfg) in gsc_wait_reset() 36 u32 cfg; in gsc_hw_set_frm_done_irq_mask() local 38 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask() 40 cfg |= GSC_IRQ_FRMDONE_MASK; in gsc_hw_set_frm_done_irq_mask() 42 cfg &= ~GSC_IRQ_FRMDONE_MASK; in gsc_hw_set_frm_done_irq_mask() 43 writel(cfg, dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask() 48 u32 cfg; in gsc_hw_set_gsc_irq_enable() local 50 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_gsc_irq_enable() [all …]
|
/openbmc/linux/drivers/phy/ |
H A D | phy-core-mipi-dphy.c | 24 struct phy_configure_opts_mipi_dphy *cfg) in phy_mipi_dphy_calc_config() argument 28 if (!cfg) in phy_mipi_dphy_calc_config() 39 cfg->clk_miss = 0; in phy_mipi_dphy_calc_config() 40 cfg->clk_post = 60000 + 52 * ui; in phy_mipi_dphy_calc_config() 41 cfg->clk_pre = 8; in phy_mipi_dphy_calc_config() 42 cfg->clk_prepare = 38000; in phy_mipi_dphy_calc_config() 43 cfg->clk_settle = 95000; in phy_mipi_dphy_calc_config() 44 cfg->clk_term_en = 0; in phy_mipi_dphy_calc_config() 45 cfg->clk_trail = 60000; in phy_mipi_dphy_calc_config() 46 cfg->clk_zero = 262000; in phy_mipi_dphy_calc_config() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-reg.c | 21 u32 cfg; in fimc_hw_reset() local 23 cfg = readl(dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 24 cfg |= FIMC_REG_CISRCFMT_ITU601_8BIT; in fimc_hw_reset() 25 writel(cfg, dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 28 cfg = readl(dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 29 cfg |= (FIMC_REG_CIGCTRL_SWRST | FIMC_REG_CIGCTRL_IRQ_LEVEL); in fimc_hw_reset() 30 writel(cfg, dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 33 cfg = readl(dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 34 cfg &= ~FIMC_REG_CIGCTRL_SWRST; in fimc_hw_reset() 35 writel(cfg, dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() [all …]
|
H A D | fimc-lite-reg.c | 23 u32 cfg; in flite_hw_reset() local 25 cfg = readl(dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 26 cfg |= FLITE_REG_CIGCTRL_SWRST_REQ; in flite_hw_reset() 27 writel(cfg, dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 30 cfg = readl(dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 31 if (cfg & FLITE_REG_CIGCTRL_SWRST_RDY) in flite_hw_reset() 36 cfg |= FLITE_REG_CIGCTRL_SWRST; in flite_hw_reset() 37 writel(cfg, dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 42 u32 cfg = readl(dev->regs + FLITE_REG_CISTATUS); in flite_hw_clear_pending_irq() local 43 cfg &= ~FLITE_REG_CISTATUS_IRQ_CAM; in flite_hw_clear_pending_irq() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_extern.c | 21 #define CFG "CONFIG_BPF_SYSCALL=n\n" macro 25 const char *cfg; member 32 .cfg = "CONFIG_BPF_SYSCALL=n\n" 54 { .name = "tristate (y)", .cfg = CFG"CONFIG_TRISTATE=y\n", 56 { .name = "tristate (n)", .cfg = CFG"CONFIG_TRISTATE=n\n", 58 { .name = "tristate (m)", .cfg = CFG"CONFIG_TRISTATE=m\n", 60 { .name = "tristate (int)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=1" }, 61 { .name = "tristate (bad)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=M" }, 63 { .name = "bool (y)", .cfg = CFG"CONFIG_BOOL=y\n", 65 { .name = "bool (n)", .cfg = CFG"CONFIG_BOOL=n\n", [all …]
|
/openbmc/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-regs.c | 18 u32 cfg; in camif_hw_reset() local 20 cfg = camif_read(camif, S3C_CAMIF_REG_CISRCFMT); in camif_hw_reset() 21 cfg |= CISRCFMT_ITU601_8BIT; in camif_hw_reset() 22 camif_write(camif, S3C_CAMIF_REG_CISRCFMT, cfg); in camif_hw_reset() 25 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset() 26 cfg |= CIGCTRL_SWRST; in camif_hw_reset() 28 cfg |= CIGCTRL_IRQ_LEVEL; in camif_hw_reset() 29 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_reset() 32 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset() 33 cfg &= ~CIGCTRL_SWRST; in camif_hw_reset() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | ecam.c | 32 struct pci_config_window *cfg; in pci_ecam_create() local 40 cfg = kzalloc(sizeof(*cfg), GFP_KERNEL); in pci_ecam_create() 41 if (!cfg) in pci_ecam_create() 48 cfg->parent = dev; in pci_ecam_create() 49 cfg->ops = ops; in pci_ecam_create() 50 cfg->busr.start = busr->start; in pci_ecam_create() 51 cfg->busr.end = busr->end; in pci_ecam_create() 52 cfg->busr.flags = IORESOURCE_BUS; in pci_ecam_create() 53 cfg->bus_shift = bus_shift; in pci_ecam_create() 54 bus_range = resource_size(&cfg->busr); in pci_ecam_create() [all …]
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | phy_tbl.h | 45 PHY_ENGINE cfg; member 54 .cfg.fp_set = phy_realtek5, 55 .cfg.fp_clr = recov_phy_realtek5 }, 60 .cfg.fp_set = phy_realtek5, 61 .cfg.fp_clr = recov_phy_realtek5 }, 66 .cfg.fp_set = phy_realtek5, 67 .cfg.fp_clr = recov_phy_realtek5 }, 72 .cfg.fp_set = phy_realtek2, 73 .cfg.fp_clr = recov_phy_realtek2 }, 78 .cfg.fp_set = phy_realtek1, [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rpm.c | 133 u64 cfg, last; in rpm_lmac_tx_enable() local 138 cfg = rpm_read(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG); in rpm_lmac_tx_enable() 139 last = cfg; in rpm_lmac_tx_enable() 141 cfg |= RPM_TX_EN; in rpm_lmac_tx_enable() 143 cfg &= ~(RPM_TX_EN); in rpm_lmac_tx_enable() 145 if (cfg != last) in rpm_lmac_tx_enable() 146 rpm_write(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG, cfg); in rpm_lmac_tx_enable() 153 u64 cfg; in rpm_lmac_rx_tx_enable() local 158 cfg = rpm_read(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG); in rpm_lmac_rx_tx_enable() 160 cfg |= RPM_RX_EN | RPM_TX_EN; in rpm_lmac_rx_tx_enable() [all …]
|
H A D | cgx.c | 210 u64 cfg; in cgx_lmac_get_p2x() local 212 cfg = cgx_read(cgx_dev, lmac_id, CGXX_CMRX_CFG); in cgx_lmac_get_p2x() 214 return (cfg & CMR_P2X_SEL_MASK) >> CMR_P2X_SEL_SHIFT; in cgx_lmac_get_p2x() 258 u64 cfg; in cgx_lmac_addr_set() local 267 /* memcpy(&cfg, mac_addr, 6); */ in cgx_lmac_addr_set() 269 cfg = ether_addr_to_u64(mac_addr); in cgx_lmac_addr_set() 276 cfg | CGX_DMAC_CAM_ADDR_ENABLE | ((u64)lmac_id << 49)); in cgx_lmac_addr_set() 278 cfg = cgx_read(cgx_dev, lmac_id, CGXX_CMRX_RX_DMAC_CTL0); in cgx_lmac_addr_set() 279 cfg |= (CGX_DMAC_CTL0_CAM_ENABLE | CGX_DMAC_BCAST_MODE | in cgx_lmac_addr_set() 281 cgx_write(cgx_dev, lmac_id, CGXX_CMRX_RX_DMAC_CTL0, cfg); in cgx_lmac_addr_set() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | sifive-e-aon-watchdog-test.c | 182 uint32_t cfg; in test_scaled_wdogs() local 195 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_scaled_wdogs() 196 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, SCALE, i); in test_scaled_wdogs() 198 qtest_writel(qts, WDOG_BASE + WDOGCFG, cfg); in test_scaled_wdogs() 201 FIELD_EX32(cfg, AON_WDT_WDOGCFG, SCALE))); in test_scaled_wdogs() 209 uint32_t cfg; in test_watchdog() local 217 cfg = qtest_readl(qts, WDOG_BASE + WDOGCFG); in test_watchdog() 218 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, SCALE, 0); in test_watchdog() 219 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, EN_ALWAYS, 1); in test_watchdog() 221 qtest_writel(qts, WDOG_BASE + WDOGCFG, cfg); in test_watchdog() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_config.h | 53 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) argument 54 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) argument 55 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) argument 56 #define CFG_GET_IQ_PKIND(cfg) ((cfg)->iq.pkind) argument 57 #define CFG_GET_IQ_INSTR_SIZE(cfg) (64) argument 58 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) argument 59 #define CFG_GET_IQ_INTR_THRESHOLD(cfg) ((cfg)->iq.intr_threshold) argument 61 #define CFG_GET_OQ_NUM_DESC(cfg) ((cfg)->oq.num_descs) argument 62 #define CFG_GET_OQ_BUF_SIZE(cfg) ((cfg)->oq.buf_size) argument 63 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold) argument [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_auto_parser.c | 55 /* add the found input-pin to the cfg->inputs[] table */ 56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin() argument 59 if (cfg->num_inputs < AUTO_CFG_MAX_INS) { in add_auto_cfg_input_pin() 60 cfg->inputs[cfg->num_inputs].pin = nid; in add_auto_cfg_input_pin() 61 cfg->inputs[cfg->num_inputs].type = type; in add_auto_cfg_input_pin() 62 cfg->inputs[cfg->num_inputs].has_boost_on_pin = in add_auto_cfg_input_pin() 64 cfg->num_inputs++; in add_auto_cfg_input_pin() 152 * Parse all pin widgets and store the useful pin nids to cfg 169 struct auto_pin_cfg *cfg, in snd_hda_parse_pin_defcfg() argument 175 struct auto_out_pin line_out[ARRAY_SIZE(cfg->line_out_pins)]; in snd_hda_parse_pin_defcfg() [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 139 u32 cfg; in fimc_sw_reset() local 142 cfg = fimc_read(ctx, EXYNOS_CISTATUS); in fimc_sw_reset() 143 if (EXYNOS_CISTATUS_GET_ENVID_STATUS(cfg)) in fimc_sw_reset() 164 u32 cfg; in fimc_set_type_ctrl() local 166 cfg = fimc_read(ctx, EXYNOS_CIGCTRL); in fimc_set_type_ctrl() 167 cfg &= ~(EXYNOS_CIGCTRL_TESTPATTERN_MASK | in fimc_set_type_ctrl() 174 cfg |= (EXYNOS_CIGCTRL_SELCAM_ITU_A | in fimc_set_type_ctrl() 179 fimc_write(ctx, cfg, EXYNOS_CIGCTRL); in fimc_set_type_ctrl() 184 u32 cfg; in fimc_handle_jpeg() local 188 cfg = fimc_read(ctx, EXYNOS_CIGCTRL); in fimc_handle_jpeg() [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_phy_8996.c | 219 struct hdmi_8996_phy_pll_reg_cfg *cfg) in pll_calculate() argument 286 cfg->com_svs_mode_clk_sel = 1; in pll_calculate() 288 cfg->com_svs_mode_clk_sel = 2; in pll_calculate() 290 cfg->com_hsclk_sel = (0x20 | pd.hsclk_divsel); in pll_calculate() 291 cfg->com_pll_cctrl_mode0 = cctrl; in pll_calculate() 292 cfg->com_pll_rctrl_mode0 = rctrl; in pll_calculate() 293 cfg->com_cp_ctrl_mode0 = cpctrl; in pll_calculate() 294 cfg->com_dec_start_mode0 = dec_start; in pll_calculate() 295 cfg->com_div_frac_start1_mode0 = (frac_start & 0xff); in pll_calculate() 296 cfg->com_div_frac_start2_mode0 = ((frac_start & 0xff00) >> 8); in pll_calculate() [all …]
|
/openbmc/linux/arch/x86/pci/ |
H A D | mmconfig-shared.c | 37 static void __init pci_mmconfig_remove(struct pci_mmcfg_region *cfg) in pci_mmconfig_remove() argument 39 if (cfg->res.parent) in pci_mmconfig_remove() 40 release_resource(&cfg->res); in pci_mmconfig_remove() 41 list_del(&cfg->list); in pci_mmconfig_remove() 42 kfree(cfg); in pci_mmconfig_remove() 47 struct pci_mmcfg_region *cfg, *tmp; in free_all_mmcfg() local 50 list_for_each_entry_safe(cfg, tmp, &pci_mmcfg_list, list) in free_all_mmcfg() 51 pci_mmconfig_remove(cfg); in free_all_mmcfg() 56 struct pci_mmcfg_region *cfg; in list_add_sorted() local 59 list_for_each_entry_rcu(cfg, &pci_mmcfg_list, list, pci_mmcfg_lock_held()) { in list_add_sorted() [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | ssd2828.c | 153 static u32 read_hw_register(const struct ssd2828_config *cfg, u8 regnum) in read_hw_register() argument 155 soft_spi_xfer_24bit_3wire(cfg, 0x700000 | regnum); in read_hw_register() 156 return soft_spi_xfer_24bit_3wire(cfg, 0x730000); in read_hw_register() 162 static void write_hw_register(const struct ssd2828_config *cfg, u8 regnum, in write_hw_register() argument 165 soft_spi_xfer_24bit_3wire(cfg, 0x700000 | regnum); in write_hw_register() 166 soft_spi_xfer_24bit_3wire(cfg, 0x720000 | val); in write_hw_register() 172 static void send_mipi_dcs_command(const struct ssd2828_config *cfg, u8 cmdnum) in send_mipi_dcs_command() argument 175 write_hw_register(cfg, SSD2828_PSCR1, 1); in send_mipi_dcs_command() 177 write_hw_register(cfg, SSD2828_PDR, cmdnum); in send_mipi_dcs_command() 183 static void ssd2828_reset(const struct ssd2828_config *cfg) in ssd2828_reset() argument [all …]
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan_cfg.c | 142 struct wilc_cfg *cfg = &wl->cfg; in wilc_wlan_parse_response_frame() local 150 while (cfg->b[i].id != WID_NIL && cfg->b[i].id != wid) in wilc_wlan_parse_response_frame() 153 if (cfg->b[i].id == wid) in wilc_wlan_parse_response_frame() 154 cfg->b[i].val = info[4]; in wilc_wlan_parse_response_frame() 160 while (cfg->hw[i].id != WID_NIL && cfg->hw[i].id != wid) in wilc_wlan_parse_response_frame() 163 if (cfg->hw[i].id == wid) in wilc_wlan_parse_response_frame() 164 cfg->hw[i].val = get_unaligned_le16(&info[4]); in wilc_wlan_parse_response_frame() 170 while (cfg->w[i].id != WID_NIL && cfg->w[i].id != wid) in wilc_wlan_parse_response_frame() 173 if (cfg->w[i].id == wid) in wilc_wlan_parse_response_frame() 174 cfg->w[i].val = get_unaligned_le32(&info[4]); in wilc_wlan_parse_response_frame() [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_config.h | 121 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) argument 122 #define CFG_GET_IQ_MAX_Q(cfg) ((cfg)->iq.max_iqs) argument 123 #define CFG_GET_IQ_PENDING_LIST_SIZE(cfg) ((cfg)->iq.pending_list_size) argument 124 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) argument 125 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) argument 126 #define CFG_GET_IQ_DB_TIMEOUT(cfg) ((cfg)->iq.db_timeout) argument 128 #define CFG_GET_IQ_INTR_PKT(cfg) ((cfg)->iq.iq_intr_pkt) argument 129 #define CFG_SET_IQ_INTR_PKT(cfg, val) (cfg)->iq.iq_intr_pkt = val argument 131 #define CFG_GET_OQ_MAX_Q(cfg) ((cfg)->oq.max_oqs) argument 132 #define CFG_GET_OQ_PKTS_PER_INTR(cfg) ((cfg)->oq.pkts_per_intr) argument [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_mdb.c | 711 static int br_mdb_replace_group_sg(const struct br_mdb_config *cfg, in br_mdb_replace_group_sg() argument 720 pg->rt_protocol = cfg->rt_protocol; in br_mdb_replace_group_sg() 721 if (!(flags & MDB_PG_FLAGS_PERMANENT) && !cfg->src_entry) in br_mdb_replace_group_sg() 727 br_mdb_notify(cfg->br->dev, mp, pg, RTM_NEWMDB); in br_mdb_replace_group_sg() 732 static int br_mdb_add_group_sg(const struct br_mdb_config *cfg, in br_mdb_add_group_sg() argument 743 (p = mlock_dereference(*pp, cfg->br)) != NULL; in br_mdb_add_group_sg() 745 if (p->key.port == cfg->p) { in br_mdb_add_group_sg() 746 if (!(cfg->nlflags & NLM_F_REPLACE)) { in br_mdb_add_group_sg() 750 return br_mdb_replace_group_sg(cfg, mp, p, brmctx, in br_mdb_add_group_sg() 753 if ((unsigned long)p->key.port < (unsigned long)cfg->p) in br_mdb_add_group_sg() [all …]
|
/openbmc/qemu/target/microblaze/ |
H A D | cpu.c | 128 if (!(env->msr & MSR_VM) || !cpu->cfg.use_mmu) { in mb_cpu_mmu_index() 142 bool en = cpu->cfg.use_non_secure & USE_NON_SECURE_M_AXI_DP_MASK; in mb_cpu_ns_axi_dp() 150 bool en = cpu->cfg.use_non_secure & USE_NON_SECURE_M_AXI_IP_MASK; in mb_cpu_ns_axi_ip() 158 bool en = cpu->cfg.use_non_secure & USE_NON_SECURE_M_AXI_DC_MASK; in mb_cpu_ns_axi_dc() 166 bool en = cpu->cfg.use_non_secure & USE_NON_SECURE_M_AXI_IC_MASK; in mb_cpu_ns_axi_ic() 202 env->pc = cpu->cfg.base_vectors; in mb_cpu_reset_hold() 242 if (cpu->cfg.addr_size < 32 || cpu->cfg.addr_size > 64) { in mb_cpu_realizefn() 244 cpu->cfg.addr_size); in mb_cpu_realizefn() 250 version = cpu->cfg.version ? cpu->cfg.version : DEFAULT_CPU_VERSION; in mb_cpu_realizefn() 259 qemu_log("Invalid MicroBlaze version number: %s\n", cpu->cfg.version); in mb_cpu_realizefn() [all …]
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | main.c | 45 struct cxlflash_cfg *cfg = afu->parent; in process_cmd_err() local 46 struct device *dev = &cfg->dev->dev; in process_cmd_err() 157 struct cxlflash_cfg *cfg = afu->parent; in cmd_complete() local 158 struct device *dev = &cfg->dev->dev; in cmd_complete() 176 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in cmd_complete() 177 cfg->tmf_active = false; in cmd_complete() 178 wake_up_all_locked(&cfg->tmf_waitq); in cmd_complete() 179 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in cmd_complete() 193 struct cxlflash_cfg *cfg = hwq->afu->parent; in flush_pending_cmds() local 213 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in flush_pending_cmds() [all …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | path.c | 148 struct avs_copier_cfg *cfg; in avs_copier_create() local 236 cfg_size = sizeof(*cfg) + data_size; in avs_copier_create() 239 cfg_size -= sizeof(cfg->gtw_cfg.config.attrs); in avs_copier_create() 241 cfg = kzalloc(cfg_size, GFP_KERNEL); in avs_copier_create() 242 if (!cfg) in avs_copier_create() 245 cfg->base.cpc = t->cfg_base->cpc; in avs_copier_create() 246 cfg->base.ibs = t->cfg_base->ibs; in avs_copier_create() 247 cfg->base.obs = t->cfg_base->obs; in avs_copier_create() 248 cfg->base.is_pages = t->cfg_base->is_pages; in avs_copier_create() 249 cfg->base.audio_fmt = *t->in_fmt; in avs_copier_create() [all …]
|
/openbmc/qemu/util/ |
H A D | throttle.c | 73 throttle_leak_bucket(&ts->cfg.buckets[i], delta_ns); in throttle_do_leak() 159 wait = throttle_compute_wait(&ts->cfg.buckets[index]); in throttle_compute_wait_for() 216 * @cfg: the config to initialize 218 void throttle_config_init(ThrottleConfig *cfg) in throttle_config_init() argument 221 memset(cfg, 0, sizeof(*cfg)); in throttle_config_init() 223 cfg->buckets[i].burst_length = 1; in throttle_config_init() 231 throttle_config_init(&ts->cfg); in throttle_init() 295 * @cfg: the throttling configuration to inspect 298 bool throttle_enabled(ThrottleConfig *cfg) in throttle_enabled() argument 303 if (cfg->buckets[i].avg > 0) { in throttle_enabled() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | virtual_isys.c | 36 isp2401_input_system_cfg_t *cfg, 44 isp2401_input_system_cfg_t *cfg, 104 pixelgen_tpg_cfg_t *cfg); 110 pixelgen_prbs_cfg_t *cfg); 114 csi_rx_frontend_cfg_t *cfg); 120 csi_rx_backend_cfg_t *cfg); 125 stream2mmio_cfg_t *cfg); 131 ibuf_ctrl_cfg_t *cfg); 136 isys2401_dma_cfg_t *cfg); 142 isys2401_dma_port_cfg_t *cfg); [all …]
|