Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 1991) sorted by relevance

12345678910>>...80

/linux-6.15/tools/testing/selftests/drivers/net/
H A Dping.py19 cmd("ping -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote)
21 cmd("ping -s 65000 -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote)
28 cmd("ping -c 1 -W5 " + cfg.addr_v["6"], host=cfg.remote)
30 cmd("ping -s 65000 -c 1 -W0.5 " + cfg.addr_v["6"], host=cfg.remote)
143 _test_v4(cfg)
146 _test_v4(cfg)
153 _test_v6(cfg)
156 _test_v6(cfg)
162 _test_v4(cfg)
163 _test_v6(cfg)
[all …]
H A Dshaper.py44 cfg.queues = True;
48 cfg.rx_type = 'rx'
53 if cfg.nr_queues < 3:
95 if not cfg.queues:
117 cfg.netdev = True;
129 if not cfg.netdev:
138 if not cfg.netdev:
140 if cfg.nr_queues < 3:
207 cfg.groups = True;
285 if not cfg.groups:
[all …]
H A Dhds.py22 def _xdp_onoff(cfg): argument
25 (cfg.ifname, prog))
49 def get_hds(cfg, netnl) -> None: argument
50 _get_hds_mode(cfg, netnl)
184 _xdp_onoff(cfg)
192 _get_hds_mode(cfg, netnl)
200 _xdp_onoff(cfg)
213 _xdp_onoff(cfg)
229 _xdp_onoff(cfg)
251 _xdp_onoff(cfg)
[all …]
/linux-6.15/drivers/phy/
H A Dphy-core-mipi-dphy.c28 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.15/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-regs.c22 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.15/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-reg.c21 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 Dfimc-lite-reg.c23 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
250 u32 cfg; in flite_hw_set_dma_window() local
268 u32 cfg; in flite_hw_set_dma_buffer() local
281 cfg |= BIT(index); in flite_hw_set_dma_buffer()
287 u32 cfg; in flite_hw_mask_dma_buffer() local
[all …]
/linux-6.15/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_config.h60 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) argument
61 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) argument
62 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) argument
64 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) argument
65 #define CFG_GET_IQ_INTR_THRESHOLD(cfg) ((cfg)->iq.intr_threshold) argument
67 #define CFG_GET_OQ_NUM_DESC(cfg) ((cfg)->oq.num_descs) argument
68 #define CFG_GET_OQ_BUF_SIZE(cfg) ((cfg)->oq.buf_size) argument
70 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument
72 #define CFG_GET_OQ_WMARK(cfg) ((cfg)->oq.wmark) argument
81 #define CFG_GET_MAX_VFS(cfg) ((cfg)->sriov_cfg.max_vfs) argument
[all …]
/linux-6.15/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-regs.c18 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.15/drivers/net/ethernet/cavium/liquidio/
H A Docteon_config.h121 #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.15/drivers/pci/
H A Decam.c40 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.15/sound/pci/hda/
H A Dhda_auto_parser.c60 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()
187 memset(cfg, 0, sizeof(*cfg)); in snd_hda_parse_pin_defcfg()
299 cfg->dig_out_type[cfg->dig_outs] = in snd_hda_parse_pin_defcfg()
386 cfg->line_outs = cfg->speaker_outs; in snd_hda_parse_pin_defcfg()
393 cfg->line_outs = cfg->hp_outs; in snd_hda_parse_pin_defcfg()
409 sort(cfg->inputs, cfg->num_inputs, sizeof(cfg->inputs[0]), in snd_hda_parse_pin_defcfg()
427 cfg->hp_outs, cfg->hp_pins[0], in snd_hda_parse_pin_defcfg()
816 for (; cfg->nid; cfg++) in snd_hda_apply_pincfgs()
824 for (; cfg->nid; cfg++) in set_pin_targets()
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py33 def get_rss(cfg, context=0): argument
37 def get_drop_err_sum(cfg): argument
54 def require_ntuple(cfg): argument
66 if need_cnt and cfg.context_cnt and cfg.context_cnt < need_cnt:
123 data = get_rss(cfg)
138 data = get_rss(cfg)
146 data = get_rss(cfg)
154 data = get_rss(cfg)
161 data = get_rss(cfg)
315 data = get_rss(cfg)
[all …]
H A Diou-zcrx.py11 def _get_rx_ring_entries(cfg): argument
17 def _get_combined_channels(cfg): argument
23 def _set_flow_rule(cfg, chan): argument
29 def test_zcrx(cfg) -> None: argument
30 cfg.require_ipver('6')
35 rx_ring = _get_rx_ring_entries(cfg)
55 def test_zcrx_oneshot(cfg) -> None: argument
56 cfg.require_ipver('6')
61 rx_ring = _get_rx_ring_entries(cfg)
82 with NetDrvEpEnv(__file__) as cfg:
[all …]
H A Dcsum.py14 if not cfg.have_rx_csum:
24 cmd(tx_cmd, host=cfg.remote)
53 def f(cfg): argument
54 cfg.require_ipver(ipver)
70 cfg.have_tx_csum_ipv4 = False
71 cfg.have_tx_csum_ipv6 = False
72 cfg.have_rx_csum = False
84 cfg.have_rx_csum = True
89 check_nic_features(cfg)
91 cfg.bin_local = cfg.net_lib_dir / "csum"
[all …]
H A Dtso.py57 qstat_old = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0]
61 qstat_new = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0]
113 host=cfg.remote)
124 def f(cfg): argument
179 cfg.features = set()
180 features = cfg.ethnl.features_get({"header": {"dev-index": cfg.ifindex}})
185 cfg.partial_features = set()
190 features = cfg.ethnl.features_get({"header": {"dev-index": cfg.ifindex}})
193 cfg.partial_features = cfg.features - no_partial
196 stats = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)
[all …]
/linux-6.15/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_phy_8998.c330 cfg->com_svs_mode_clk_sel = 1; in pll_calculate()
332 cfg->com_svs_mode_clk_sel = 2; in pll_calculate()
337 cfg->com_cp_ctrl_mode0 = cpctrl; in pll_calculate()
347 cfg->com_lock_cmp_en = 0x0; in pll_calculate()
348 cfg->com_core_clk_en = 0x2c; in pll_calculate()
470 cfg.tx_lx_tx_band[i]); in hdmi_8998_pll_set_clk_rate()
494 cfg.com_hsclk_sel); in hdmi_8998_pll_set_clk_rate()
496 cfg.com_lock_cmp_en); in hdmi_8998_pll_set_clk_rate()
503 cfg.com_cp_ctrl_mode0); in hdmi_8998_pll_set_clk_rate()
527 cfg.com_core_clk_en); in hdmi_8998_pll_set_clk_rate()
[all …]
H A Dhdmi_phy_8996.c303 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.15/arch/x86/pci/
H A Dmmconfig-shared.c42 kfree(cfg); in pci_mmconfig_remove()
124 cfg->start_bus <= bus && bus <= cfg->end_bus) in pci_mmconfig_lookup()
330 if (cfg->end_bus < cfg->start_bus) in pci_mmcfg_check_end_bus_number()
497 num_buses = cfg->end_bus - cfg->start_bus + 1; in is_mmconf_reserved()
498 cfg->res.end = cfg->res.start + in is_mmconf_reserved()
502 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved()
506 &cfg->res, (unsigned long) cfg->address); in is_mmconf_reserved()
509 &cfg->res, (unsigned long) cfg->address, in is_mmconf_reserved()
510 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved()
611 cfg->address, cfg->pci_segment, cfg->start_bus_number, in acpi_mcfg_valid_entry()
[all …]
/linux-6.15/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_config.h56 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) argument
57 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) argument
58 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) argument
60 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) argument
61 #define CFG_GET_IQ_INTR_THRESHOLD(cfg) ((cfg)->iq.intr_threshold) argument
63 #define CFG_GET_OQ_NUM_DESC(cfg) ((cfg)->oq.num_descs) argument
64 #define CFG_GET_OQ_BUF_SIZE(cfg) ((cfg)->oq.buf_size) argument
66 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument
67 #define CFG_GET_OQ_INTR_TIME(cfg) ((cfg)->oq.oq_intr_time) argument
68 #define CFG_GET_OQ_WMARK(cfg) ((cfg)->oq.wmark) argument
[all …]
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/
H A Drpm.c153 u64 cfg; in rpm_lmac_rx_tx_enable() local
171 u64 cfg; in rpm_lmac_enadis_rx_pause_fwding() local
199 u64 cfg; in rpm_lmac_get_pause_frm_status() local
295 u64 cfg; in rpm2_lmac_cfg_bp() local
315 u64 cfg; in rpm_lmac_cfg_bp() local
337 u64 cfg; in rpm_lmac_enadis_pause_frm() local
397 cfg = FIELD_SET(RPM_PFC_CLASS_MASK, 0, cfg); in rpm_lmac_pause_frm_config()
455 u64 cfg; in rpm_stats_reset() local
511 u64 cfg; in rpmusx_lmac_internal_loopback() local
576 u64 cfg; in rpm_lmac_internal_loopback() local
[all …]
/linux-6.15/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c381 u32 cfg; in gsc_sw_reset() local
422 u32 cfg; in gsc_handle_irq() local
451 u32 cfg; in gsc_src_set_fmt() local
524 u32 cfg; in gsc_src_set_transf() local
568 u32 cfg; in gsc_src_set_size() local
611 u32 cfg; in gsc_src_set_buf_seq() local
638 u32 cfg; in gsc_dst_set_fmt() local
747 u32 cfg; in gsc_set_prescaler() local
850 u32 cfg; in gsc_set_scaler() local
868 u32 cfg; in gsc_dst_set_size() local
[all …]
H A Dexynos_drm_fimc.c139 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.15/tools/testing/selftests/bpf/prog_tests/
H A Dcore_extern.c25 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.15/drivers/net/wireless/microchip/wilc1000/
H A Dwlan_cfg.c142 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 …]

12345678910>>...80