/linux-6.3-rc2/drivers/phy/ |
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 …]
|
/linux-6.3-rc2/drivers/media/platform/samsung/exynos-gsc/ |
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 …]
|
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/ |
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 …]
|
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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/ |
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 …]
|
/linux-6.3-rc2/drivers/media/platform/samsung/s3c-camif/ |
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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/ |
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 …]
|
/linux-6.3-rc2/drivers/pci/ |
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 …]
|
/linux-6.3-rc2/sound/pci/hda/ |
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 …]
|
A D | hda_auto_parser.h | 42 const struct auto_pin_cfg *cfg, 45 const struct auto_pin_cfg *cfg, 86 struct auto_pin_cfg *cfg, 92 snd_hda_parse_pin_defcfg(codec, cfg, ignore, 0) 96 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ? in auto_cfg_hp_outs() 97 cfg->line_outs : cfg->hp_outs; in auto_cfg_hp_outs() 101 return (cfg->line_out_type == AUTO_PIN_HP_OUT) ? in auto_cfg_hp_pins() 102 cfg->line_out_pins : cfg->hp_pins; in auto_cfg_hp_pins() 106 return (cfg->line_out_type == AUTO_PIN_SPEAKER_OUT) ? in auto_cfg_speaker_outs() 107 cfg->line_outs : cfg->speaker_outs; in auto_cfg_speaker_outs() [all …]
|
/linux-6.3-rc2/arch/x86/pci/ |
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() 594 cfg->start_bus_number, cfg->end_bus_number, cfg->address); in acpi_mcfg_check_entry() [all …]
|
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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | rpm.c | 145 u64 cfg; in rpm_lmac_rx_tx_enable() local 163 u64 cfg; in rpm_lmac_enadis_rx_pause_fwding() local 191 u64 cfg; in rpm_lmac_get_pause_frm_status() local 287 u64 cfg; in rpm2_lmac_cfg_bp() local 307 u64 cfg; in rpm_lmac_cfg_bp() local 329 u64 cfg; in rpm_lmac_enadis_pause_frm() local 357 u64 cfg; in rpm_lmac_pause_frm_config() local 382 cfg = FIELD_SET(RPM_PFC_CLASS_MASK, 0, cfg); in rpm_lmac_pause_frm_config() 481 u64 cfg; in rpmusx_lmac_internal_loopback() local 541 u64 cfg; in rpm_lmac_internal_loopback() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/exynos/ |
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 …]
|
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 …]
|
/linux-6.3-rc2/drivers/gpu/drm/msm/hdmi/ |
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 …]
|
/linux-6.3-rc2/drivers/scsi/cxlflash/ |
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 …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
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 …]
|
/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/ |
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 …]
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/ |
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 …]
|
/linux-6.3-rc2/arch/loongarch/pci/ |
A D | acpi.c | 104 cfg = kzalloc(sizeof(*cfg), GFP_KERNEL); in arch_pci_ecam_create() 105 if (!cfg) in arch_pci_ecam_create() 108 cfg->parent = dev; in arch_pci_ecam_create() 109 cfg->ops = ops; in arch_pci_ecam_create() 131 if (!cfg->win) in arch_pci_ecam_create() 139 dev_info(dev, "ECAM at %pR for %pR\n", &cfg->res, &cfg->busr); in arch_pci_ecam_create() 141 return cfg; in arch_pci_ecam_create() 147 pci_ecam_free(cfg); in arch_pci_ecam_create() 185 if (IS_ERR(cfg)) { in pci_acpi_setup_ecam_mapping() 190 return cfg; in pci_acpi_setup_ecam_mapping() [all …]
|
/linux-6.3-rc2/drivers/net/wwan/t7xx/ |
A D | t7xx_pcie_mac.c | 90 if (cfg->transparent) { in t7xx_pcie_mac_atr_cfg() 94 if (cfg->src_addr & (cfg->size - 1)) { in t7xx_pcie_mac_atr_cfg() 99 if (cfg->trsl_addr & (cfg->size - 1)) { in t7xx_pcie_mac_atr_cfg() 101 cfg->trsl_addr, cfg->size - 1); in t7xx_pcie_mac_atr_cfg() 105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg() 111 offset = ATR_PORT_OFFSET * cfg->port + ATR_TABLE_OFFSET * cfg->table; in t7xx_pcie_mac_atr_cfg() 118 iowrite32(cfg->trsl_id, reg); in t7xx_pcie_mac_atr_cfg() 137 struct t7xx_atr_config cfg; in t7xx_pcie_mac_atr_init() local 144 memset(&cfg, 0, sizeof(cfg)); in t7xx_pcie_mac_atr_init() 149 cfg.port = T7XX_PCIE_REG_PORT; in t7xx_pcie_mac_atr_init() [all …]
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
A D | virtual_isys.c | 104 pixelgen_tpg_cfg_t *cfg); 125 stream2mmio_cfg_t *cfg); 131 ibuf_ctrl_cfg_t *cfg); 326 cfg->online, in create_input_system_channel() 673 memcpy(&cfg->lut_entry, in calculate_be_cfg() 691 cfg->csi_mipi_cfg.comp_bit_idx = cfg->csi_mipi_cfg.data_type - in calculate_be_cfg() 707 cfg->enable_blocking = in calculate_stream2mmio_cfg() 760 if (cfg->online) { in calculate_ibuf_ctrl_cfg() 812 cfg->height = 1; in calculate_isys2401_dma_cfg() 846 cfg->cropping = 0; in calculate_isys2401_dma_port_cfg() [all …]
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | path.c | 242 if (!cfg) in avs_copier_create() 345 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_updown_mix_create() 362 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_src_create() 381 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_asrc_create() 400 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_aec_create() 418 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_mux_create() 435 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_wov_create() 452 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_micsel_create() 468 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_modbase_create() 723 struct avs_tplg_pplcfg *cfg = template->cfg; in avs_path_pipeline_create() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/crypto/ |
A D | ipsec.c | 275 struct nfp_ipsec_cfg_add_sa *cfg; in nfp_net_xfrm_add_state() local 280 cfg = &msg.cfg_add_sa; in nfp_net_xfrm_add_state() 317 cfg->spi = ntohl(x->id.spi); in nfp_net_xfrm_add_state() 343 set_md5hmac(cfg, &trunc_len); in nfp_net_xfrm_add_state() 346 set_sha1hmac(cfg, &trunc_len); in nfp_net_xfrm_add_state() 349 set_sha2_256hmac(cfg, &trunc_len); in nfp_net_xfrm_add_state() 463 cfg->ipv6 = 0; in nfp_net_xfrm_add_state() 468 cfg->ipv6 = 1; in nfp_net_xfrm_add_state() 480 cfg->pmtu_limit = 0xffff; in nfp_net_xfrm_add_state() 481 cfg->ctrl_word.encap_dsbl = 1; in nfp_net_xfrm_add_state() [all …]
|