| /linux/tools/testing/selftests/drivers/net/ |
| H A D | psp.py | 35 response = cfg.comm_sock.recv(4) argument 40 def _remote_read_len(cfg): argument 47 remote_addr = cfg.remote_addr_v[ipver] if ipver else cfg argument 28 _send_with_ack(cfg, msg) global() argument 54 _close_conn(cfg, s) global() argument 59 _close_psp_conn(cfg, s) global() argument 72 _send_careful(cfg, s, rounds) global() argument 92 _check_data_rx(cfg, exp_len) global() argument 113 _get_stat(cfg, key) global() argument 120 _init_psp_dev(cfg) global() argument 143 dev_list_devices(cfg) global() argument 155 dev_get_device(cfg) global() argument 163 dev_get_device_bad(cfg) global() argument 174 dev_rotate(cfg) global() argument 189 dev_rotate_spi(cfg) global() argument 211 assoc_basic(cfg) global() argument 231 assoc_bad_dev(cfg) global() argument 243 assoc_sk_only_conn(cfg) global() argument 257 assoc_sk_only_mismatch(cfg) global() argument 272 assoc_sk_only_mismatch_tx(cfg) global() argument 290 assoc_sk_only_unconn(cfg) global() argument 303 assoc_version_mismatch(cfg) global() argument 329 assoc_twice(cfg) global() argument 363 _data_basic_send(cfg, version, ipver) global() argument 397 __bad_xfer_do(cfg, s, tx, version='hdr0-aes-gcm-128') global() argument 412 data_send_bad_key(cfg) global() argument 427 data_send_disconnect(cfg) global() argument 446 _data_mss_adjust(cfg, ipver) global() argument 485 data_stale_key(cfg) global() argument 519 __nsim_psp_rereg(cfg) global() argument 532 removal_device_rx(cfg) global() argument 552 removal_device_bi(cfg) global() argument 576 test_case(cfg) global() argument 586 test_case(cfg) global() argument [all...] |
| H A D | shaper.py | 15 def _delete_shaper(cfg, nl_shaper, handle) -> None: argument 24 def _require_queues(cfg, count): argument 31 def _cap_get(cfg, nl_shaper, scope): argument 41 def _require_caps(cfg, nl_shaper, scope, caps, msg) -> None: argument 53 def get_shapers(cfg, nl_shaper) -> None: argument 64 def get_caps(cfg, nl_shaper) -> None: argument 76 def set_qshapers(cfg, nl_shaper) -> None: argument 128 def del_qshapers(cfg, nl_shaper) -> None: argument 139 def set_nshapers(cfg, nl_shaper) -> None: argument 162 def del_nshapers(cfg, nl_shaper) -> None: argument [all …]
|
| H A D | ping.py | 14 def _test_v4(cfg) -> None: argument 23 def _test_v6(cfg) -> None: argument 32 def _test_tcp(cfg) -> None: argument 53 def _schedule_checksum_reset(cfg, netnl) -> None: argument 63 def _set_offload_checksum(cfg, netnl, on) -> None: argument 69 def _set_xdp_generic_sb_on(cfg) -> None: argument 78 def _set_xdp_generic_mb_on(cfg) -> None: argument 88 def _set_xdp_native_sb_on(cfg) -> None: argument 105 def _set_xdp_native_mb_on(cfg) -> None: argument 118 def _set_xdp_offload_on(cfg) -> None: argument [all …]
|
| H A D | hds.py | 14 def _get_hds_mode(cfg, netnl) -> str: argument 24 def _xdp_onoff(cfg): argument 31 def _ioctl_ringparam_modify(cfg, netnl) -> None: argument 51 def get_hds(cfg, netnl) -> None: argument 55 def get_hds_thresh(cfg, netnl) -> None: argument 64 def _hds_reset(cfg, netnl, rings) -> None: argument 85 def _defer_reset_hds(cfg, netnl) -> Union[dict, None]: argument 94 def set_hds_enable(cfg, netnl) -> None: argument 112 def set_hds_disable(cfg, netnl) -> None: argument 130 def set_hds_thresh_zero(cfg, netnl) -> None: argument [all …]
|
| H A D | xdp.py | 58 def _exchg_udp(cfg, port, test_string): argument 82 def _test_udp(cfg, port, size=256): argument 100 def _load_xdp_prog(cfg, bpf_info): argument 152 def _test_pass(cfg, bpf_info, msg_sz): argument 181 def _set_ipver_defer_restore(cfg, ipver): argument 188 def test_xdp_native_pass_sb(cfg, ipver): argument 204 def test_xdp_native_pass_mb(cfg, ipver): argument 219 def _test_drop(cfg, bpf_info, msg_sz): argument 243 def test_xdp_native_drop_sb(cfg, ipver): argument 259 def test_xdp_native_drop_mb(cfg, ipver): argument [all …]
|
| H A D | ring_reconfig.py | 29 def channels(cfg) -> None: argument 88 def _configure_min_ring_cnt(cfg) -> None: argument 114 def ringparam(cfg) -> None: argument 185 def _get_qdisc_backlog(cfg, mq_handle, queue): argument 194 def _setup_fq_qdisc(cfg, port, target_queue, other_queue, flow_limit): argument 260 def _create_sotxtime_socket(cfg, sndbuf): argument 281 def _send_sotxtime_burst(cfg, sock, port, count, delay_ns, pkt_size): argument 295 def _set_small_tx_ring(cfg, ehdr): argument 314 def reconfig_tx_stall(cfg) -> None: argument
|
| H A D | stats.py | 24 def check_pause(cfg) -> None: argument 42 def check_fec(cfg) -> None: argument 60 def check_fec_hist(cfg) -> None: argument 98 qstat_by_ifindex(cfg) global() argument 171 check_down(cfg) global() argument 208 procfs_hammer(cfg) global() argument 231 procfs_downup_hammer(cfg) global() argument [all...] |
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | rss_ctx.py | 27 def _rss_key_check(cfg, data=None, context=0): argument 36 def get_rss(cfg, context=0): argument 40 def get_drop_err_sum(cfg): argument 50 def ethtool_create(cfg, act, opts): argument 57 def require_ntuple(cfg): argument 66 def require_context_cnt(cfg, need_cnt): argument 76 def _get_rx_cnts(cfg, prev=None): argument 89 def _send_traffic_check(cfg, port, name, params): argument 113 def _ntuple_rule_check(cfg, rule_id, ctx_id): argument 120 def test_rss_key_indir(cfg): argument [all …]
|
| H A D | rss_api.py | 18 def _require_2qs(cfg): argument 25 def _ethtool_create(cfg, act, opts): argument 32 def _ethtool_get_cfg(cfg, fl_type, to_nl=False): argument 64 def test_rxfh_nl_set_fail(cfg): argument 84 def test_rxfh_nl_set_indir(cfg): argument 115 def test_rxfh_nl_set_indir_ctx(cfg): argument 153 def test_rxfh_indir_ntf(cfg): argument 181 def test_rxfh_indir_ctx_ntf(cfg): argument 204 def test_rxfh_nl_set_key(cfg): argument 236 def test_rxfh_fields(cfg): argument [all …]
|
| H A D | devmem_lib.py | 45 def _probe_devmem(cfg, rx_page_size): argument 53 def require_devmem(cfg, rx_page_size=RX_PAGE_SIZE_DEFAULT): argument 82 def configure_nic(cfg): argument 134 def set_flow_rule(cfg, port): argument 143 def ncdevmem_rx(cfg, port, verify=True, fail_on_linear=False, flow_steer=False, argument 172 def ncdevmem_tx(cfg, port, chunk_size=0): argument 191 def socat_send(cfg, port, buf_size=0): argument 214 def socat_listen(cfg, port): argument 219 def setup_test(cfg, bin_local): argument 225 def run_rx(cfg): argument [all …]
|
| H A D | iou-zcrx.py | 16 def mp_clear_wait(cfg): argument 11 _get_current_settings(cfg) global() argument 22 _create_rss_ctx(cfg, chan) global() argument 29 _set_flow_rule(cfg, port, chan) global() argument 35 _set_flow_rule_rss(cfg, port, ctx_id) global() argument 41 test_zcrx(cfg) global() argument 72 test_zcrx_oneshot(cfg) global() argument 103 test_zcrx_rss(cfg) global() argument [all...] |
| H A D | toeplitz.py | 28 def _check_rps_and_rfs_not_configured(cfg): argument 53 def _cap_queue_count(cfg): argument 72 def _get_irq_cpus(cfg): argument 93 def _get_unused_rps_cpus(cfg, count=2): argument 115 def _configure_rps(cfg, rps_cpus): argument 133 def _send_traffic(cfg, proto_flag, ipver, port): argument 167 def test(cfg, proto_flag, ipver, grp): argument
|
| H A D | devlink_rate_tc_bw.py | 106 setup_vf(cfg, set_tc_mapping=True) global() argument 155 get_vf_info(cfg) global() argument 175 setup_bridge(cfg) global() argument 197 setup_devlink_rate(cfg) global() argument 227 setup_remote_server(cfg) global() argument 245 setup_test_environment(cfg, set_tc_mapping=True) global() argument 399 run_bandwidth_distribution_test(cfg, set_tc_mapping) global() argument 414 test_no_tc_mapping_bandwidth(cfg) global() argument 431 test_tc_mapping_bandwidth(cfg) global() argument [all...] |
| H A D | nk_devmem.py | 13 def check_nk_rx(cfg) -> None: argument 19 def check_nk_tx(cfg) -> None: argument 25 def check_nk_tx_chunks(cfg) -> None: argument 30 def check_nk_rx_hds(cfg) -> None: argument 35 def check_nk_rx_large_niov(cfg) -> None: argument
|
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_config.h | 60 #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 63 #define CFG_GET_IQ_INSTR_SIZE(cfg) (64) 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 69 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold) argument 70 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument [all …]
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-lite-reg.c | 23 u32 cfg; in flite_hw_reset() local 42 u32 cfg = readl(dev->regs + FLITE_REG_CISTATUS); in flite_hw_clear_pending_irq() local 56 u32 cfg = readl(dev->regs + FLITE_REG_CISTATUS2); in flite_hw_clear_last_capture_end() local 63 u32 cfg, intsrc; in flite_hw_set_interrupt_mask() local 85 u32 cfg = readl(dev->regs + FLITE_REG_CIIMGCPT); in flite_hw_capture_start() local 92 u32 cfg = readl(dev->regs + FLITE_REG_CIIMGCPT); in flite_hw_capture_stop() local 103 u32 cfg = readl(dev->regs + FLITE_REG_CIGCTRL); in flite_hw_set_test_pattern() local 131 u32 cfg; in flite_hw_set_source_format() local 161 u32 cfg; in flite_hw_set_window_offset() local 179 u32 cfg = readl(dev->regs + FLITE_REG_CIGENERAL); in flite_hw_set_camera_port() local [all …]
|
| 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 213 u32 cfg = readl(dev->regs + FIMC_REG_ORGISIZE); in fimc_hw_en_autoload() local 223 u32 cfg = readl(dev->regs + FIMC_REG_CIOCTRL); in fimc_hw_en_lastirq() local 235 u32 cfg, shfactor; in fimc_hw_set_prescaler() local 254 u32 cfg = readl(dev->regs + FIMC_REG_CISCCTRL); in fimc_hw_set_scaler() local 316 u32 cfg; in fimc_hw_set_mainscaler() local [all …]
|
| /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 …]
|
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-regs.c | 22 u32 cfg; in gsc_wait_reset() local 36 u32 cfg; in gsc_hw_set_frm_done_irq_mask() local 48 u32 cfg; in gsc_hw_set_gsc_irq_enable() local 61 u32 cfg = readl(dev->regs + GSC_IN_BASE_ADDR_Y_MASK); in gsc_hw_set_input_buf_masking() local 75 u32 cfg = readl(dev->regs + GSC_OUT_BASE_ADDR_Y_MASK); in gsc_hw_set_output_buf_masking() local 111 u32 cfg = readl(dev->regs + GSC_IN_CON); in gsc_hw_set_input_path() 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 222 u32 cfg = readl(dev->regs + GSC_OUT_CON); in gsc_hw_set_output_path() local [all …]
|
| /linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
| H A D | octep_vf_config.h | 56 #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 59 #define CFG_GET_IQ_INSTR_SIZE(cfg) (64) 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 65 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold) argument 66 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_tc_tunnel.c | 80 static int build_subtest_name(struct subtest_cfg *cfg, char *dst, size_t size) in build_subtest_name() 90 static int set_subtest_progs(struct subtest_cfg *cfg, struct test_tc_tunnel *skel) in set_subtest_progs() 111 static void set_subtest_addresses(struct subtest_cfg *cfg) in set_subtest_addresses() 134 static int run_server(struct subtest_cfg *cfg) in run_server() 155 static int check_server_rx_data(struct subtest_cfg *cfg, in check_server_rx_data() 169 static struct connection *connect_client_to_server(struct subtest_cfg *cfg) in connect_client_to_server() 201 static void disconnect_client_from_server(struct subtest_cfg *cfg, in disconnect_client_from_server() 209 static int send_and_test_data(struct subtest_cfg *cfg) in send_and_test_data() 241 static void vxlan_decap_mod_args_cb(struct subtest_cfg *cfg, char *dst) in vxlan_decap_mod_args_cb() 247 static void udp_decap_mod_args_cb(struct subtest_cfg *cfg, char *dst) in udp_decap_mod_args_cb() [all …]
|
| /linux/drivers/media/platform/samsung/s3c-camif/ |
| H A D | camif-regs.c | 18 u32 cfg; in camif_hw_reset() local 40 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_clear_pending_irq() local 51 u32 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_set_test_pattern() local 70 unsigned int i, cfg; in camif_hw_set_effect() 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 171 u32 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_set_camera_bus() local 221 u32 cfg; in camif_hw_set_out_dma_size() local 261 u32 cfg; in camif_hw_set_output_dma() local [all …]
|
| /linux/drivers/acpi/ |
| H A D | acpi_configfs.c | 19 struct config_item cfg; member 24 static ssize_t acpi_table_aml_write(struct config_item *cfg, in acpi_table_aml_write() 66 static inline struct acpi_table_header *get_header(struct config_item *cfg) in get_header() 76 static ssize_t acpi_table_aml_read(struct config_item *cfg, in acpi_table_aml_read() 99 static ssize_t acpi_table_signature_show(struct config_item *cfg, char *str) in acpi_table_signature_show() 109 static ssize_t acpi_table_length_show(struct config_item *cfg, char *str) in acpi_table_length_show() 119 static ssize_t acpi_table_revision_show(struct config_item *cfg, char *str) in acpi_table_revision_show() 129 static ssize_t acpi_table_oem_id_show(struct config_item *cfg, char *str) in acpi_table_oem_id_show() 139 static ssize_t acpi_table_oem_table_id_show(struct config_item *cfg, char *str) in acpi_table_oem_table_id_show() 149 static ssize_t acpi_table_oem_revision_show(struct config_item *cfg, char *str) in acpi_table_oem_revision_show() [all …]
|
| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | syscall-abi.c | 66 static void setup_gpr(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in setup_gpr() 74 static int check_gpr(struct syscall_cfg *cfg, int sve_vl, int sme_vl, uint64_t svcr) in check_gpr() 99 static void setup_fpr(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in setup_fpr() 106 static int check_fpr(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in check_fpr() 145 static void setup_z(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in setup_z() 152 static int check_z(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in check_z() 204 static void setup_p(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in setup_p() 211 static int check_p(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in check_p() 236 static void setup_ffr(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in setup_ffr() 258 static int check_ffr(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in check_ffr() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rpm.c | 133 u64 cfg, last; in rpm_lmac_tx_enable() local 153 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 217 u64 quanta_offset = 0, quanta_thresh = 0, cfg; in rpm_cfg_pfc_quanta_thresh() 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 364 u64 cfg, pfc_class_mask_cfg; in rpm_lmac_pause_frm_config() local 455 u64 cfg; in rpm_stats_reset() local [all …]
|