/openbmc/linux/drivers/phy/ |
H A D | phy-core-mipi-dphy.c | 28 if (!cfg) in phy_mipi_dphy_calc_config() 48 cfg->eot = 0; in phy_mipi_dphy_calc_config() 70 cfg->ta_get = 5 * cfg->lpx; in phy_mipi_dphy_calc_config() 71 cfg->ta_go = 4 * cfg->lpx; in phy_mipi_dphy_calc_config() 72 cfg->ta_sure = cfg->lpx; in phy_mipi_dphy_calc_config() 111 if (!cfg) in phy_mipi_dphy_config_validate() 129 if (cfg->clk_settle < 95000 || cfg->clk_settle > 300000) in phy_mipi_dphy_config_validate() 138 if ((cfg->clk_prepare + cfg->clk_zero) < 300000) in phy_mipi_dphy_config_validate() 173 if (cfg->ta_get != (5 * cfg->lpx)) in phy_mipi_dphy_config_validate() 176 if (cfg->ta_go != (4 * cfg->lpx)) in phy_mipi_dphy_config_validate() [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 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 64 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument 75 #define CFG_GET_MAX_VFS(cfg) ((cfg)->sriov_cfg.max_vfs) argument [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-regs.c | 22 u32 cfg; in gsc_wait_reset() local 26 if (!cfg) in gsc_wait_reset() 36 u32 cfg; in gsc_hw_set_frm_done_irq_mask() local 48 u32 cfg; in gsc_hw_set_gsc_irq_enable() local 124 u32 cfg; in gsc_hw_set_in_size() local 146 u32 cfg; in gsc_hw_set_in_image_rgb() local 167 u32 cfg; in gsc_hw_set_in_image_format() local 237 u32 cfg; in gsc_hw_set_out_size() local 266 u32 cfg; in gsc_hw_set_out_image_rgb() local 287 u32 cfg; in gsc_hw_set_out_image_format() local [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-reg.c | 21 u32 cfg; in fimc_hw_reset() local 73 u32 cfg, flip; in fimc_hw_set_rotation() local 106 u32 cfg; in fimc_hw_set_target_format() local 151 u32 cfg; in fimc_hw_set_out_dma_size() local 172 u32 cfg; in fimc_hw_set_out_dma() local 316 u32 cfg; in fimc_hw_set_mainscaler() local 349 u32 cfg; in fimc_hw_enable_capture() local 375 u32 cfg = 0; in fimc_hw_set_effect() local 392 u32 cfg; in fimc_hw_set_rgb_alpha() local 425 u32 cfg; in fimc_hw_set_in_dma() local [all …]
|
H A D | fimc-lite-reg.c | 23 u32 cfg; in flite_hw_reset() local 36 cfg |= FLITE_REG_CIGCTRL_SWRST; in flite_hw_reset() 63 u32 cfg, intsrc; in flite_hw_set_interrupt_mask() local 79 cfg &= ~intsrc; in flite_hw_set_interrupt_mask() 131 u32 cfg; in flite_hw_set_source_format() local 161 u32 cfg; in flite_hw_set_window_offset() local 249 u32 cfg; in flite_hw_set_dma_window() local 267 u32 cfg; in flite_hw_set_dma_buffer() local 280 cfg |= BIT(index); in flite_hw_set_dma_buffer() 286 u32 cfg; in flite_hw_mask_dma_buffer() local [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 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 131 #define CFG_GET_OQ_MAX_Q(cfg) ((cfg)->oq.max_oqs) argument 134 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument 135 #define CFG_GET_OQ_INTR_TIME(cfg) ((cfg)->oq.oq_intr_time) argument 141 #define CFG_GET_NUM_NIC_PORTS(cfg) ((cfg)->num_nic_ports) argument [all …]
|
/openbmc/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-regs.c | 18 u32 cfg; in camif_hw_reset() local 107 u32 cfg; in camif_hw_set_source_format() local 133 u32 cfg; in camif_hw_set_camera_crop() local 154 u32 cfg; in camif_hw_clear_fifo_overflow() local 221 u32 cfg; in camif_hw_set_out_dma_size() local 261 u32 cfg; in camif_hw_set_output_dma() local 300 u32 cfg; in camif_hw_set_target_format() local 384 u32 cfg; in camif_s3c244x_hw_set_scaler() local 431 u32 cfg; in camif_s3c64xx_hw_set_scaler() local 488 u32 cfg; in camif_hw_enable_scaler() local [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | ecam.c | 40 cfg = kzalloc(sizeof(*cfg), GFP_KERNEL); in pci_ecam_create() 41 if (!cfg) in pci_ecam_create() 49 cfg->ops = ops; in pci_ecam_create() 79 if (!cfg->winp) in pci_ecam_create() 83 if (!cfg->win) in pci_ecam_create() 92 dev_info(dev, "ECAM at %pR for %pR\n", &cfg->res, &cfg->busr); in pci_ecam_create() 93 return cfg; in pci_ecam_create() 117 if (cfg->win) in pci_ecam_free() 122 kfree(cfg); in pci_ecam_free() 136 if (busn < cfg->busr.start || busn > cfg->busr.end) in pci_ecam_add_bus() [all …]
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | phy_tbl.h | 45 PHY_ENGINE cfg; member 91 .cfg.fp_clr = NULL }, 97 .cfg.fp_clr = NULL }, 103 .cfg.fp_clr = NULL }, 109 .cfg.fp_clr = NULL }, 163 .cfg.fp_clr = NULL }, 169 .cfg.fp_clr = NULL }, 205 .cfg.fp_clr = NULL }, 211 .cfg.fp_clr = NULL }, 217 .cfg.fp_clr = NULL }, [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | ssd2828.c | 199 gpio_free(cfg->csx_pin); in ssd2828_enable_gpio() 204 gpio_free(cfg->csx_pin); in ssd2828_enable_gpio() 205 gpio_free(cfg->sck_pin); in ssd2828_enable_gpio() 210 gpio_free(cfg->csx_pin); in ssd2828_enable_gpio() 216 if (cfg->sdo_pin != -1 && gpio_request(cfg->sdo_pin, "ssd2828_sdo")) { in ssd2828_enable_gpio() 228 if (cfg->sdo_pin != -1) in ssd2828_enable_gpio() 236 gpio_free(cfg->csx_pin); in ssd2828_free_gpio() 237 gpio_free(cfg->sck_pin); in ssd2828_free_gpio() 238 gpio_free(cfg->sdi_pin); in ssd2828_free_gpio() 240 if (cfg->sdo_pin != -1) in ssd2828_free_gpio() [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_auto_parser.c | 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() 183 memset(cfg, 0, sizeof(*cfg)); in snd_hda_parse_pin_defcfg() 295 cfg->dig_out_type[cfg->dig_outs] = in snd_hda_parse_pin_defcfg() 382 cfg->line_outs = cfg->speaker_outs; in snd_hda_parse_pin_defcfg() 389 cfg->line_outs = cfg->hp_outs; in snd_hda_parse_pin_defcfg() 403 sort(cfg->inputs, cfg->num_inputs, sizeof(cfg->inputs[0]), in snd_hda_parse_pin_defcfg() 421 cfg->hp_outs, cfg->hp_pins[0], in snd_hda_parse_pin_defcfg() 810 for (; cfg->nid; cfg++) in snd_hda_apply_pincfgs() 818 for (; cfg->nid; cfg++) in set_pin_targets() [all …]
|
/openbmc/linux/arch/x86/pci/ |
H A D | mmconfig-shared.c | 42 kfree(cfg); in pci_mmconfig_remove() 125 cfg->start_bus <= bus && bus <= cfg->end_bus) in pci_mmconfig_lookup() 331 if (cfg->end_bus < cfg->start_bus) in pci_mmcfg_check_end_bus_number() 502 num_buses = cfg->end_bus - cfg->start_bus + 1; in is_mmconf_reserved() 503 cfg->res.end = cfg->res.start + in is_mmconf_reserved() 507 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved() 513 &cfg->res, (unsigned long) cfg->address); in is_mmconf_reserved() 518 cfg->segment, cfg->start_bus, cfg->end_bus, in is_mmconf_reserved() 519 &cfg->res, (unsigned long) cfg->address); in is_mmconf_reserved() 605 cfg->start_bus_number, cfg->end_bus_number, cfg->address); in acpi_mcfg_check_entry() [all …]
|
H A D | mmconfig_64.c | 23 if (cfg && cfg->virt) in pci_dev_base() 105 start = cfg->address + PCI_MMCFG_BUS_OFFSET(cfg->start_bus); in mcfg_ioremap() 106 num_buses = cfg->end_bus - cfg->start_bus + 1; in mcfg_ioremap() 116 struct pci_mmcfg_region *cfg; in pci_mmcfg_arch_init() local 131 struct pci_mmcfg_region *cfg; in pci_mmcfg_arch_free() local 134 pci_mmcfg_arch_unmap(cfg); in pci_mmcfg_arch_free() 139 cfg->virt = mcfg_ioremap(cfg); in pci_mmcfg_arch_map() 140 if (!cfg->virt) { in pci_mmcfg_arch_map() 150 if (cfg && cfg->virt) { in pci_mmcfg_arch_unmap() 151 iounmap(cfg->virt + PCI_MMCFG_BUS_OFFSET(cfg->start_bus)); in pci_mmcfg_arch_unmap() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rpm.c | 147 u64 cfg; in rpm_lmac_rx_tx_enable() local 165 u64 cfg; in rpm_lmac_enadis_rx_pause_fwding() local 193 u64 cfg; in rpm_lmac_get_pause_frm_status() local 289 u64 cfg; in rpm2_lmac_cfg_bp() local 309 u64 cfg; in rpm_lmac_cfg_bp() local 331 u64 cfg; in rpm_lmac_enadis_pause_frm() local 391 cfg = FIELD_SET(RPM_PFC_CLASS_MASK, 0, cfg); in rpm_lmac_pause_frm_config() 490 u64 cfg; in rpmusx_lmac_internal_loopback() local 555 u64 cfg; in rpm_lmac_internal_loopback() local 584 u64 cfg; in rpm_lmac_ptp_config() local [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | sifive-e-aon-watchdog-test.c | 196 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, SCALE, i); in test_scaled_wdogs() 218 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, SCALE, 0); in test_watchdog() 240 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, IP0, 0); in test_watchdog() 260 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, SCALE, 15); in test_scaled_watchdog() 282 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, IP0, 0); in test_scaled_watchdog() 302 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, SCALE, 0); in test_periodic_int() 303 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, ZEROCMP, 1); in test_periodic_int() 321 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, IP0, 0); in test_periodic_int() 340 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, IP0, 0); in test_periodic_int() 360 cfg = FIELD_DP32(cfg, AON_WDT_WDOGCFG, SCALE, 15); in test_enable_disable() [all …]
|
/openbmc/qemu/target/microblaze/ |
H A D | cpu.c | 218 if (cpu->cfg.addr_size < 32 || cpu->cfg.addr_size > 64) { in mb_cpu_realizefn() 226 version = cpu->cfg.version ? cpu->cfg.version : DEFAULT_CPU_VERSION; in mb_cpu_realizefn() 238 cpu->cfg.pvr_regs[0] = in mb_cpu_realizefn() 253 cpu->cfg.pvr_regs[1] = cpu->cfg.pvr_user2; in mb_cpu_realizefn() 255 cpu->cfg.pvr_regs[2] = in mb_cpu_realizefn() 276 cpu->cfg.pvr_regs[5] |= in mb_cpu_realizefn() 279 cpu->cfg.pvr_regs[10] = in mb_cpu_realizefn() 283 cpu->cfg.pvr_regs[11] = ((cpu->cfg.use_mmu ? PVR11_USE_MMU : 0) | in mb_cpu_realizefn() 286 cpu->cfg.mmu = 3; in mb_cpu_realizefn() 288 cpu->cfg.mmu_zones = 16; in mb_cpu_realizefn() [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gsc.c | 380 u32 cfg; in gsc_sw_reset() local 421 u32 cfg; in gsc_handle_irq() local 450 u32 cfg; in gsc_src_set_fmt() local 523 u32 cfg; in gsc_src_set_transf() local 567 u32 cfg; in gsc_src_set_size() local 610 u32 cfg; in gsc_src_set_buf_seq() local 637 u32 cfg; in gsc_dst_set_fmt() local 746 u32 cfg; in gsc_set_prescaler() local 849 u32 cfg; in gsc_set_scaler() local 867 u32 cfg; in gsc_dst_set_size() local [all …]
|
H A D | exynos_drm_fimc.c | 139 u32 cfg; in fimc_sw_reset() local 164 u32 cfg; in fimc_set_type_ctrl() local 184 u32 cfg; in fimc_handle_jpeg() local 199 u32 cfg; in fimc_mask_irq() local 243 u32 cfg; in fimc_check_frame_end() local 260 u32 cfg; in fimc_get_buf_id() local 286 u32 cfg; in fimc_handle_lastend() local 301 u32 cfg; in fimc_src_set_fmt_order() local 366 u32 cfg; in fimc_src_set_fmt() local 506 u32 cfg; in fimc_src_set_size() local [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_phy_8996.c | 303 cfg->com_lock_cmp_en = 0x0; in pll_calculate() 304 cfg->com_core_clk_en = 0x2c; in pll_calculate() 309 cfg->tx_lx_lane_mode[0] = in pll_calculate() 321 cfg->tx_lx_tx_drv_lvl[0] = in pll_calculate() 322 cfg->tx_lx_tx_drv_lvl[1] = in pll_calculate() 331 cfg->tx_lx_vmode_ctrl1[0] = in pll_calculate() 336 cfg->tx_lx_vmode_ctrl2[0] = in pll_calculate() 348 cfg->tx_lx_vmode_ctrl2[0] = in pll_calculate() 403 memset(&cfg, 0x00, sizeof(cfg)); in hdmi_8996_pll_set_clk_rate() 430 cfg.tx_lx_tx_band[i]); in hdmi_8996_pll_set_clk_rate() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | core_extern.c | 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", 63 { .name = "bool (y)", .cfg = CFG"CONFIG_BOOL=y\n", 65 { .name = "bool (n)", .cfg = CFG"CONFIG_BOOL=n\n", 76 { .name = "str (empty)", .cfg = CFG"CONFIG_STR=\"\"\n", 87 .cfg = CFG 111 { .name = "ushort (min)", .cfg = CFG"CONFIG_USHORT=0", 117 { .name = "u64 (min)", .cfg = CFG"CONFIG_ULONG=0", [all …]
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | main.c | 830 stop_afu(cfg); in term_afu() 956 wait_event(cfg->reset_waitq, cfg->state != STATE_RESET && in cxlflash_remove() 983 cfg->ops->destroy_afu(cfg->afu_cookie); in cxlflash_remove() 1019 cfg->afu->parent = cfg; in alloc_mem() 1995 ctx = cfg->ops->get_context(cfg->dev, cfg->afu_cookie); in init_mc() 1998 ctx = cfg->ops->dev_context_init(cfg->dev, cfg->afu_cookie); in init_mc() 2257 cfg); in cxlflash_schedule_async_reset() 2466 wait_event(cfg->reset_waitq, cfg->state != STATE_RESET); in cxlflash_eh_device_reset_handler() 2515 wait_event(cfg->reset_waitq, cfg->state != STATE_RESET); in cxlflash_eh_host_reset_handler() 2996 wait_event(cfg->reset_waitq, cfg->state != STATE_RESET); in num_hwqs_store() [all …]
|
/openbmc/qemu/util/ |
H A D | throttle.c | 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() 303 if (cfg->buckets[i].avg > 0) { in throttle_enabled() 344 if (cfg->op_size && in throttle_is_valid() 402 ts->cfg = *cfg; in throttle_config() 406 ts->cfg.buckets[i].level = 0; in throttle_config() 420 *cfg = ts->cfg; in throttle_get_config() 486 if (ts->cfg.op_size && size > ts->cfg.op_size) { in throttle_account() 605 cfg->op_size = arg->iops_size; in throttle_limits_to_config() [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() 160 while (cfg->hw[i].id != WID_NIL && cfg->hw[i].id != wid) 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() 180 while (cfg->s[i].id != WID_NIL && cfg->s[i].id != wid) in wilc_wlan_parse_response_frame() 274 struct wilc_cfg *cfg = &wl->cfg; in wilc_wlan_cfg_get_val() local 278 while (cfg->b[i].id != WID_NIL && cfg->b[i].id != wid) in wilc_wlan_cfg_get_val() 286 while (cfg->hw[i].id != WID_NIL && cfg->hw[i].id != wid) in wilc_wlan_cfg_get_val() 294 while (cfg->w[i].id != WID_NIL && cfg->w[i].id != wid) in wilc_wlan_cfg_get_val() 302 while (cfg->s[i].id != WID_NIL && cfg->s[i].id != wid) in wilc_wlan_cfg_get_val() [all …]
|
/openbmc/u-boot/drivers/video/exynos/ |
H A D | exynos_fb.c | 105 unsigned int cfg = 0; in exynos_fimd_set_dualrgb() local 116 writel(cfg, ®->dualrgb); in exynos_fimd_set_dualrgb() 123 unsigned int cfg = 0; in exynos_fimd_set_dp_clkcon() local 135 unsigned int cfg = 0; in exynos_fimd_set_par() local 259 unsigned int cfg = 0; in exynos_set_trigger() local 271 unsigned int cfg = 0; in exynos_is_i80_frame_done() local 286 unsigned int cfg = 0; in exynos_fimd_lcd_on() local 298 unsigned int cfg = 0; in exynos_fimd_window_on() local 315 unsigned int cfg = 0; in exynos_fimd_lcd_off() local 325 unsigned int cfg = 0; in exynos_fimd_window_off() local [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_xcv.c | 67 u64 cfg; in xcv_init_hw() local 71 cfg &= ~DLL_RESET; in xcv_init_hw() 76 cfg &= ~CLK_RESET; in xcv_init_hw() 85 cfg &= ~0xFF03; in xcv_init_hw() 86 cfg |= CLKRX_BYP; in xcv_init_hw() 93 cfg |= COMP_EN; in xcv_init_hw() 101 cfg |= PORT_EN; in xcv_init_hw() 105 cfg |= CLK_RESET; in xcv_init_hw() 112 u64 cfg; in xcv_setup_link() local 128 cfg &= ~0x03; in xcv_setup_link() [all …]
|