Home
last modified time | relevance | path

Searched refs:self (Results 1 - 25 of 1201) sorted by relevance

12345678910>>...49

/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dmm.py24 def __init__(self):
28 self.ops = aarch64_page_ops()
33 def __init__(self):
34 self.SUBSECTION_SHIFT = 21
35 self.SEBSECTION_SIZE = 1 << self.SUBSECTION_SHIFT
36 self.MODULES_VSIZE = 128 * 1024 * 1024
39 self.SECTION_SIZE_BITS = 29
41 self.SECTION_SIZE_BITS = 27
42 self
[all...]
/kernel/linux/linux-6.6/tools/crypto/ccp/
H A Dtest_dbc.py34 def __init__(self, data) -> None:
35 self.d = None
36 self.signature = b"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
37 self.uid = b"1111111111111111"
40 def setUp(self) -> None:
41 self.d = open(DEVICE_NODE)
44 def tearDown(self) -> None:
45 if self.d:
46 self.d.close()
51 def setUp(self)
[all...]
/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dnlspec.py31 def __init__(self, family, yaml):
32 self.yaml = yaml
33 self.family = family
35 if 'name' in self.yaml:
36 self.name = self.yaml['name']
37 self.ident_name = self.name.replace('-', '_')
39 self._super_resolved = False
40 family.add_unresolved(self)
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexported-sql-viewer.py193 def __init__(self, task, param=None, parent=None):
194 super(Thread, self).__init__(parent)
195 self.task = task
196 self.param = param
198 def run(self):
200 if self.param is None:
201 done, result = self.task()
203 done, result = self.task(self.param)
204 self
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DSchedGui.py23 def __init__(self, sched_tracer, title, parent = None, id = -1):
24 wx.Frame.__init__(self, parent, id, title)
26 (self.screen_width, self.screen_height) = wx.GetDisplaySize()
27 self.screen_width -= 10
28 self.screen_height -= 10
29 self.zoom = 0.5
30 self.scroll_scale = 20
31 self.sched_tracer = sched_tracer
32 self
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DSchedGui.py23 def __init__(self, sched_tracer, title, parent = None, id = -1):
24 wx.Frame.__init__(self, parent, id, title)
26 (self.screen_width, self.screen_height) = wx.GetDisplaySize()
27 self.screen_width -= 10
28 self.screen_height -= 10
29 self.zoom = 0.5
30 self.scroll_scale = 20
31 self.sched_tracer = sched_tracer
32 self
[all...]
/kernel/linux/linux-6.6/tools/verification/dot2/
H A Ddot2c.py25 def __init__(self, file_path):
27 self.line_length = 100
29 def __buff_to_string(self, buff):
38 def __get_enum_states_content(self):
40 buff.append("\t%s%s = 0," % (self.initial_state, self.enum_suffix))
41 for state in self.states:
42 if state != self.initial_state:
43 buff.append("\t%s%s," % (state, self.enum_suffix))
44 buff.append("\tstate_max%s" % (self
[all...]
H A Ddot2k.py20 def __init__(self, file_path, MonitorType):
23 self.monitor_type = self.monitor_types.get(MonitorType)
24 if self.monitor_type == None:
27 self.monitor_type = MonitorType
28 self.__fill_rv_templates_dir()
29 self.main_c = self.__open_file(self.monitor_templates_dir + "main_" + MonitorType + ".c")
30 self
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drust_is_available_test.py98 def run_script(self, expected, override_env):
100 "RUSTC": self.default_rustc,
101 "BINDGEN": self.default_bindgen,
102 "CC": self.default_cc,
114 self.assertEqual(result.stdout, b"")
116 if expected == self.Expected.SUCCESS:
119 self.assertEqual(result.returncode, 0)
120 self.assertEqual(result.stderr, b"")
121 elif expected == self.Expected.SUCCESS_WITH_EXTRA_OUTPUT:
126 self
[all...]
H A Dbpf_doc.py24 def __init__(self, line='<line not provided>', reader=None):
26 BaseException.__init__(self,
30 BaseException.__init__(self, 'Error parsing line: %s' % line)
40 def __init__(self, proto='', desc='', ret=''):
41 self.proto = proto
42 self.desc = desc
43 self.ret = ret
53 def __init__(self, *args, **kwargs):
55 self.enum_val = None
57 def proto_break_down(self)
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dexported-sql-viewer.py194 def __init__(self, task, param=None, parent=None):
195 super(Thread, self).__init__(parent)
196 self.task = task
197 self.param = param
199 def run(self):
201 if self.param is None:
202 done, result = self.task()
204 done, result = self.task(self.param)
205 self
[all...]
/kernel/uniproton/
H A Dbuild.py39 def get_config(self, cpu_type, cpu_plat):
40 self.compile_mode = get_compile_mode()
41 self.lib_type, self.plam_type, self.hcc_path, self.kconf_dir, self.system, self.core = get_cpu_info(cpu_type, cpu_plat, self.build_machine_platform)
42 if not self
[all...]
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Djson_writer.c29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() argument
32 for (i = 0; i < self->depth; ++i) in jsonw_indent()
33 fputs(" ", self->out); in jsonw_indent()
37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() argument
39 if (!self->pretty) in jsonw_eol()
42 putc('\n', self->out); in jsonw_eol()
43 jsonw_indent(self); in jsonw_eol()
47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() argument
49 if (self->sep != '\0') in jsonw_eor()
50 putc(self in jsonw_eor()
57 jsonw_puts(json_writer_t *self, const char *str) jsonw_puts() argument
92 json_writer_t *self = malloc(sizeof(*self)); jsonw_new() local
105 json_writer_t *self = *self_p; jsonw_destroy() local
114 jsonw_pretty(json_writer_t *self, bool on) jsonw_pretty() argument
119 jsonw_reset(json_writer_t *self) jsonw_reset() argument
126 jsonw_begin(json_writer_t *self, int c) jsonw_begin() argument
134 jsonw_end(json_writer_t *self, int c) jsonw_end() argument
147 jsonw_name(json_writer_t *self, const char *name) jsonw_name() argument
158 jsonw_vprintf_enquote(json_writer_t *self, const char *fmt, va_list ap) jsonw_vprintf_enquote() argument
166 jsonw_printf(json_writer_t *self, const char *fmt, ...) jsonw_printf() argument
177 jsonw_start_object(json_writer_t *self) jsonw_start_object() argument
182 jsonw_end_object(json_writer_t *self) jsonw_end_object() argument
187 jsonw_start_array(json_writer_t *self) jsonw_start_array() argument
192 jsonw_end_array(json_writer_t *self) jsonw_end_array() argument
198 jsonw_string(json_writer_t *self, const char *value) jsonw_string() argument
204 jsonw_bool(json_writer_t *self, bool val) jsonw_bool() argument
209 jsonw_null(json_writer_t *self) jsonw_null() argument
214 jsonw_float_fmt(json_writer_t *self, const char *fmt, double num) jsonw_float_fmt() argument
220 jsonw_float(json_writer_t *self, double num) jsonw_float() argument
226 jsonw_hu(json_writer_t *self, unsigned short num) jsonw_hu() argument
231 jsonw_uint(json_writer_t *self, uint64_t num) jsonw_uint() argument
236 jsonw_lluint(json_writer_t *self, unsigned long long int num) jsonw_lluint() argument
241 jsonw_int(json_writer_t *self, int64_t num) jsonw_int() argument
247 jsonw_string_field(json_writer_t *self, const char *prop, const char *val) jsonw_string_field() argument
253 jsonw_bool_field(json_writer_t *self, const char *prop, bool val) jsonw_bool_field() argument
260 jsonw_float_field(json_writer_t *self, const char *prop, double val) jsonw_float_field() argument
267 jsonw_float_field_fmt(json_writer_t *self, const char *prop, const char *fmt, double val) jsonw_float_field_fmt() argument
276 jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) jsonw_uint_field() argument
282 jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num) jsonw_hu_field() argument
288 jsonw_lluint_field(json_writer_t *self, const char *prop, unsigned long long int num) jsonw_lluint_field() argument
296 jsonw_int_field(json_writer_t *self, const char *prop, int64_t num) jsonw_int_field() argument
302 jsonw_null_field(json_writer_t *self, const char *prop) jsonw_null_field() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Djson_writer.c29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() argument
32 for (i = 0; i < self->depth; ++i) in jsonw_indent()
33 fputs(" ", self->out); in jsonw_indent()
37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() argument
39 if (!self->pretty) in jsonw_eol()
42 putc('\n', self->out); in jsonw_eol()
43 jsonw_indent(self); in jsonw_eol()
47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() argument
49 if (self->sep != '\0') in jsonw_eor()
50 putc(self in jsonw_eor()
57 jsonw_puts(json_writer_t *self, const char *str) jsonw_puts() argument
92 json_writer_t *self = malloc(sizeof(*self)); jsonw_new() local
105 json_writer_t *self = *self_p; jsonw_destroy() local
114 jsonw_pretty(json_writer_t *self, bool on) jsonw_pretty() argument
119 jsonw_reset(json_writer_t *self) jsonw_reset() argument
126 jsonw_begin(json_writer_t *self, int c) jsonw_begin() argument
134 jsonw_end(json_writer_t *self, int c) jsonw_end() argument
147 jsonw_name(json_writer_t *self, const char *name) jsonw_name() argument
158 jsonw_vprintf_enquote(json_writer_t *self, const char *fmt, va_list ap) jsonw_vprintf_enquote() argument
166 jsonw_printf(json_writer_t *self, const char *fmt, ...) jsonw_printf() argument
177 jsonw_start_object(json_writer_t *self) jsonw_start_object() argument
182 jsonw_end_object(json_writer_t *self) jsonw_end_object() argument
187 jsonw_start_array(json_writer_t *self) jsonw_start_array() argument
192 jsonw_end_array(json_writer_t *self) jsonw_end_array() argument
198 jsonw_string(json_writer_t *self, const char *value) jsonw_string() argument
204 jsonw_bool(json_writer_t *self, bool val) jsonw_bool() argument
209 jsonw_null(json_writer_t *self) jsonw_null() argument
214 jsonw_float_fmt(json_writer_t *self, const char *fmt, double num) jsonw_float_fmt() argument
220 jsonw_float(json_writer_t *self, double num) jsonw_float() argument
226 jsonw_hu(json_writer_t *self, unsigned short num) jsonw_hu() argument
231 jsonw_uint(json_writer_t *self, uint64_t num) jsonw_uint() argument
236 jsonw_lluint(json_writer_t *self, unsigned long long int num) jsonw_lluint() argument
241 jsonw_int(json_writer_t *self, int64_t num) jsonw_int() argument
247 jsonw_string_field(json_writer_t *self, const char *prop, const char *val) jsonw_string_field() argument
253 jsonw_bool_field(json_writer_t *self, const char *prop, bool val) jsonw_bool_field() argument
260 jsonw_float_field(json_writer_t *self, const char *prop, double val) jsonw_float_field() argument
267 jsonw_float_field_fmt(json_writer_t *self, const char *prop, const char *fmt, double val) jsonw_float_field_fmt() argument
276 jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) jsonw_uint_field() argument
282 jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num) jsonw_hu_field() argument
288 jsonw_lluint_field(json_writer_t *self, const char *prop, unsigned long long int num) jsonw_lluint_field() argument
296 jsonw_int_field(json_writer_t *self, const char *prop, int64_t num) jsonw_int_field() argument
302 jsonw_null_field(json_writer_t *self, const char *prop) jsonw_null_field() argument
[all...]
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Djson_writer.c29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() argument
32 for (i = 0; i < self->depth; ++i) in jsonw_indent()
33 fputs(" ", self->out); in jsonw_indent()
37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() argument
39 if (!self->pretty) in jsonw_eol()
42 putc('\n', self->out); in jsonw_eol()
43 jsonw_indent(self); in jsonw_eol()
47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() argument
49 if (self->sep != '\0') in jsonw_eor()
50 putc(self in jsonw_eor()
57 jsonw_puts(json_writer_t *self, const char *str) jsonw_puts() argument
92 json_writer_t *self = malloc(sizeof(*self)); jsonw_new() local
105 json_writer_t *self = *self_p; jsonw_destroy() local
114 jsonw_pretty(json_writer_t *self, bool on) jsonw_pretty() argument
119 jsonw_reset(json_writer_t *self) jsonw_reset() argument
126 jsonw_begin(json_writer_t *self, int c) jsonw_begin() argument
134 jsonw_end(json_writer_t *self, int c) jsonw_end() argument
147 jsonw_name(json_writer_t *self, const char *name) jsonw_name() argument
158 jsonw_vprintf_enquote(json_writer_t *self, const char *fmt, va_list ap) jsonw_vprintf_enquote() argument
166 jsonw_printf(json_writer_t *self, const char *fmt, ...) jsonw_printf() argument
177 jsonw_start_object(json_writer_t *self) jsonw_start_object() argument
182 jsonw_end_object(json_writer_t *self) jsonw_end_object() argument
187 jsonw_start_array(json_writer_t *self) jsonw_start_array() argument
192 jsonw_end_array(json_writer_t *self) jsonw_end_array() argument
198 jsonw_string(json_writer_t *self, const char *value) jsonw_string() argument
204 jsonw_bool(json_writer_t *self, bool val) jsonw_bool() argument
209 jsonw_null(json_writer_t *self) jsonw_null() argument
214 jsonw_float_fmt(json_writer_t *self, const char *fmt, double num) jsonw_float_fmt() argument
220 jsonw_float(json_writer_t *self, double num) jsonw_float() argument
226 jsonw_hu(json_writer_t *self, unsigned short num) jsonw_hu() argument
231 jsonw_uint(json_writer_t *self, uint64_t num) jsonw_uint() argument
236 jsonw_lluint(json_writer_t *self, unsigned long long int num) jsonw_lluint() argument
241 jsonw_int(json_writer_t *self, int64_t num) jsonw_int() argument
247 jsonw_string_field(json_writer_t *self, const char *prop, const char *val) jsonw_string_field() argument
253 jsonw_bool_field(json_writer_t *self, const char *prop, bool val) jsonw_bool_field() argument
260 jsonw_float_field(json_writer_t *self, const char *prop, double val) jsonw_float_field() argument
267 jsonw_float_field_fmt(json_writer_t *self, const char *prop, const char *fmt, double val) jsonw_float_field_fmt() argument
276 jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) jsonw_uint_field() argument
282 jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num) jsonw_hu_field() argument
288 jsonw_lluint_field(json_writer_t *self, const char *prop, unsigned long long int num) jsonw_lluint_field() argument
296 jsonw_int_field(json_writer_t *self, const char *prop, int64_t num) jsonw_int_field() argument
302 jsonw_null_field(json_writer_t *self, const char *prop) jsonw_null_field() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/pmu-events/
H A Dmetric.py13 def ToPerfJson(self) -> str:
17 def ToPython(self) -> str:
21 def Simplify(self):
22 """Returns a simplified version of self."""
25 def Equals(self, other) -> bool:
29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression':
32 def __str__(self) -> str:
33 return self.ToPerfJson()
35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator':
36 return Operator('|', self, othe
[all...]
/kernel/linux/linux-5.10/tools/testing/kunit/
H A Dkunit_tool_test.py37 def test_is_subset_of(self):
39 self.assertTrue(kconfig0.is_subset_of(kconfig0))
43 self.assertTrue(kconfig1.is_subset_of(kconfig1))
44 self.assertTrue(kconfig0.is_subset_of(kconfig1))
45 self.assertFalse(kconfig1.is_subset_of(kconfig0))
47 def test_read_from_file(self):
66 self.assertEqual(kconfig.entries(), expected_kconfig.entries())
68 def test_write_to_file(self):
88 self.assertEqual(actual_kconfig.entries(),
93 def assertContains(self, needl
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.c61 static int aq_get_rxpages(struct aq_ring_s *self, struct aq_ring_buff_s *rxbuf, in aq_get_rxpages() argument
73 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
74 self->stats.rx.pg_flips++; in aq_get_rxpages()
75 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
81 aq_nic_get_dev(self->aq_nic)); in aq_get_rxpages()
82 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
83 self->stats.rx.pg_losts++; in aq_get_rxpages()
84 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
88 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
89 self in aq_get_rxpages()
108 aq_ring_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic) aq_ring_alloc() argument
137 aq_ring_tx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, unsigned int idx, struct aq_nic_cfg_s *aq_nic_cfg) aq_ring_tx_alloc() argument
164 aq_ring_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, unsigned int idx, struct aq_nic_cfg_s *aq_nic_cfg) aq_ring_rx_alloc() argument
197 aq_ring_hwts_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, unsigned int idx, unsigned int size, unsigned int dx_size) aq_ring_hwts_rx_alloc() argument
220 aq_ring_init(struct aq_ring_s *self, const enum atl_ring_type ring_type) aq_ring_init() argument
275 aq_ring_tx_clean(struct aq_ring_s *self) aq_ring_tx_clean() argument
317 aq_rx_checksum(struct aq_ring_s *self, struct aq_ring_buff_s *buff, struct sk_buff *skb) aq_rx_checksum() argument
342 aq_ring_rx_clean(struct aq_ring_s *self, struct napi_struct *napi, int *work_done, int budget) aq_ring_rx_clean() argument
514 aq_ring_hwts_rx_clean(struct aq_ring_s *self, struct aq_nic_s *aq_nic) aq_ring_hwts_rx_clean() argument
531 aq_ring_rx_fill(struct aq_ring_s *self) aq_ring_rx_fill() argument
561 aq_ring_rx_deinit(struct aq_ring_s *self) aq_ring_rx_deinit() argument
574 aq_ring_free(struct aq_ring_s *self) aq_ring_free() argument
590 aq_ring_fill_stats_data(struct aq_ring_s *self, u64 *data) aq_ring_fill_stats_data() argument
[all...]
H A Daq_vec.c35 struct aq_vec_s *self = container_of(napi, struct aq_vec_s, napi); in aq_vec_poll() local
43 if (!self) { in aq_vec_poll()
46 for (i = 0U; self->tx_rings > i; ++i) { in aq_vec_poll()
47 ring = self->ring[i]; in aq_vec_poll()
51 if (self->aq_hw_ops->hw_ring_tx_head_update) { in aq_vec_poll()
52 err = self->aq_hw_ops->hw_ring_tx_head_update( in aq_vec_poll()
53 self->aq_hw, in aq_vec_poll()
65 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll()
85 err = self in aq_vec_poll()
110 struct aq_vec_s *self = NULL; aq_vec_alloc() local
134 aq_vec_ring_alloc(struct aq_vec_s *self, struct aq_nic_s *aq_nic, unsigned int idx, struct aq_nic_cfg_s *aq_nic_cfg) aq_vec_ring_alloc() argument
175 aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops, struct aq_hw_s *aq_hw) aq_vec_init() argument
221 aq_vec_start(struct aq_vec_s *self) aq_vec_start() argument
246 aq_vec_stop(struct aq_vec_s *self) aq_vec_stop() argument
263 aq_vec_deinit(struct aq_vec_s *self) aq_vec_deinit() argument
280 aq_vec_free(struct aq_vec_s *self) aq_vec_free() argument
292 aq_vec_ring_free(struct aq_vec_s *self) aq_vec_ring_free() argument
314 struct aq_vec_s *self = private; aq_vec_isr() local
329 struct aq_vec_s *self = private; aq_vec_isr_legacy() local
351 aq_vec_get_affinity_mask(struct aq_vec_s *self) aq_vec_get_affinity_mask() argument
356 aq_vec_is_valid_tc(struct aq_vec_s *self, const unsigned int tc) aq_vec_is_valid_tc() argument
361 aq_vec_get_sw_stats(struct aq_vec_s *self, const unsigned int tc, u64 *data) aq_vec_get_sw_stats() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_a0.c86 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset() argument
91 hw_atl_glb_glb_reg_res_dis_set(self, 1U); in hw_atl_a0_hw_reset()
92 hw_atl_pci_pci_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
93 hw_atl_rx_rx_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
94 hw_atl_tx_tx_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
97 hw_atl_glb_soft_res_set(self, 1); in hw_atl_a0_hw_reset()
101 self, val, val == 0, in hw_atl_a0_hw_reset()
106 hw_atl_itr_irq_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
107 hw_atl_itr_res_irq_set(self, 1U); in hw_atl_a0_hw_reset()
111 self, va in hw_atl_a0_hw_reset()
124 hw_atl_a0_hw_qos_set(struct aq_hw_s *self) hw_atl_a0_hw_qos_set() argument
183 hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, struct aq_rss_parameters *rss_params) hw_atl_a0_hw_rss_hash_set() argument
211 hw_atl_a0_hw_rss_set(struct aq_hw_s *self, struct aq_rss_parameters *rss_params) hw_atl_a0_hw_rss_set() argument
247 hw_atl_a0_hw_offload_set(struct aq_hw_s *self, struct aq_nic_cfg_s *aq_nic_cfg) hw_atl_a0_hw_offload_set() argument
264 hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) hw_atl_a0_hw_init_tx_path() argument
283 hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) hw_atl_a0_hw_init_rx_path() argument
325 hw_atl_a0_hw_mac_addr_set(struct aq_hw_s *self, u8 *mac_addr) hw_atl_a0_hw_mac_addr_set() argument
351 hw_atl_a0_hw_init(struct aq_hw_s *self, u8 *mac_addr) hw_atl_a0_hw_init() argument
405 hw_atl_a0_hw_ring_tx_start(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_tx_start() argument
413 hw_atl_a0_hw_ring_rx_start(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_rx_start() argument
421 hw_atl_a0_hw_start(struct aq_hw_s *self) hw_atl_a0_hw_start() argument
429 hw_atl_a0_hw_tx_ring_tail_update(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_tx_ring_tail_update() argument
437 hw_atl_a0_hw_ring_tx_xmit(struct aq_hw_s *self, struct aq_ring_s *ring, unsigned int frags) hw_atl_a0_hw_ring_tx_xmit() argument
513 hw_atl_a0_hw_ring_rx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, struct aq_ring_param_s *aq_ring_param) hw_atl_a0_hw_ring_rx_init() argument
555 hw_atl_a0_hw_ring_tx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, struct aq_ring_param_s *aq_ring_param) hw_atl_a0_hw_ring_tx_init() argument
585 hw_atl_a0_hw_ring_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring, unsigned int sw_tail_old) hw_atl_a0_hw_ring_rx_fill() argument
606 hw_atl_a0_hw_ring_tx_head_update(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_tx_head_update() argument
623 hw_atl_a0_hw_ring_rx_receive(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_rx_receive() argument
726 hw_atl_a0_hw_irq_enable(struct aq_hw_s *self, u64 mask) hw_atl_a0_hw_irq_enable() argument
734 hw_atl_a0_hw_irq_disable(struct aq_hw_s *self, u64 mask) hw_atl_a0_hw_irq_disable() argument
745 hw_atl_a0_hw_irq_read(struct aq_hw_s *self, u64 *mask) hw_atl_a0_hw_irq_read() argument
754 hw_atl_a0_hw_packet_filter_set(struct aq_hw_s *self, unsigned int packet_filter) hw_atl_a0_hw_packet_filter_set() argument
779 hw_atl_a0_hw_multicast_list_set(struct aq_hw_s *self, u8 ar_mac [AQ_HW_MULTICAST_ADDRESS_MAX] [ETH_ALEN], u32 count) hw_atl_a0_hw_multicast_list_set() argument
819 hw_atl_a0_hw_interrupt_moderation_set(struct aq_hw_s *self) hw_atl_a0_hw_interrupt_moderation_set() argument
867 hw_atl_a0_hw_stop(struct aq_hw_s *self) hw_atl_a0_hw_stop() argument
874 hw_atl_a0_hw_ring_tx_stop(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_tx_stop() argument
882 hw_atl_a0_hw_ring_rx_stop(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_rx_stop() argument
890 hw_atl_a0_hw_fl3l4_clear(struct aq_hw_s *self, struct aq_rx_filter_l3l4 *data) hw_atl_a0_hw_fl3l4_clear() argument
916 hw_atl_a0_hw_fl3l4_set(struct aq_hw_s *self, struct aq_rx_filter_l3l4 *data) hw_atl_a0_hw_fl3l4_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_a0.c86 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset() argument
91 hw_atl_glb_glb_reg_res_dis_set(self, 1U); in hw_atl_a0_hw_reset()
92 hw_atl_pci_pci_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
93 hw_atl_rx_rx_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
94 hw_atl_tx_tx_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
97 hw_atl_glb_soft_res_set(self, 1); in hw_atl_a0_hw_reset()
101 self, val, val == 0, in hw_atl_a0_hw_reset()
106 hw_atl_itr_irq_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset()
107 hw_atl_itr_res_irq_set(self, 1U); in hw_atl_a0_hw_reset()
111 self, va in hw_atl_a0_hw_reset()
124 hw_atl_a0_hw_qos_set(struct aq_hw_s *self) hw_atl_a0_hw_qos_set() argument
183 hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, struct aq_rss_parameters *rss_params) hw_atl_a0_hw_rss_hash_set() argument
211 hw_atl_a0_hw_rss_set(struct aq_hw_s *self, struct aq_rss_parameters *rss_params) hw_atl_a0_hw_rss_set() argument
247 hw_atl_a0_hw_offload_set(struct aq_hw_s *self, struct aq_nic_cfg_s *aq_nic_cfg) hw_atl_a0_hw_offload_set() argument
264 hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) hw_atl_a0_hw_init_tx_path() argument
283 hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) hw_atl_a0_hw_init_rx_path() argument
325 hw_atl_a0_hw_mac_addr_set(struct aq_hw_s *self, const u8 *mac_addr) hw_atl_a0_hw_mac_addr_set() argument
351 hw_atl_a0_hw_init(struct aq_hw_s *self, const u8 *mac_addr) hw_atl_a0_hw_init() argument
405 hw_atl_a0_hw_ring_tx_start(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_tx_start() argument
413 hw_atl_a0_hw_ring_rx_start(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_rx_start() argument
421 hw_atl_a0_hw_start(struct aq_hw_s *self) hw_atl_a0_hw_start() argument
429 hw_atl_a0_hw_tx_ring_tail_update(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_tx_ring_tail_update() argument
437 hw_atl_a0_hw_ring_tx_xmit(struct aq_hw_s *self, struct aq_ring_s *ring, unsigned int frags) hw_atl_a0_hw_ring_tx_xmit() argument
513 hw_atl_a0_hw_ring_rx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, struct aq_ring_param_s *aq_ring_param) hw_atl_a0_hw_ring_rx_init() argument
555 hw_atl_a0_hw_ring_tx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, struct aq_ring_param_s *aq_ring_param) hw_atl_a0_hw_ring_tx_init() argument
585 hw_atl_a0_hw_ring_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring, unsigned int sw_tail_old) hw_atl_a0_hw_ring_rx_fill() argument
606 hw_atl_a0_hw_ring_tx_head_update(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_tx_head_update() argument
623 hw_atl_a0_hw_ring_rx_receive(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_rx_receive() argument
726 hw_atl_a0_hw_irq_enable(struct aq_hw_s *self, u64 mask) hw_atl_a0_hw_irq_enable() argument
734 hw_atl_a0_hw_irq_disable(struct aq_hw_s *self, u64 mask) hw_atl_a0_hw_irq_disable() argument
745 hw_atl_a0_hw_irq_read(struct aq_hw_s *self, u64 *mask) hw_atl_a0_hw_irq_read() argument
754 hw_atl_a0_hw_packet_filter_set(struct aq_hw_s *self, unsigned int packet_filter) hw_atl_a0_hw_packet_filter_set() argument
779 hw_atl_a0_hw_multicast_list_set(struct aq_hw_s *self, u8 ar_mac [AQ_HW_MULTICAST_ADDRESS_MAX] [ETH_ALEN], u32 count) hw_atl_a0_hw_multicast_list_set() argument
819 hw_atl_a0_hw_interrupt_moderation_set(struct aq_hw_s *self) hw_atl_a0_hw_interrupt_moderation_set() argument
867 hw_atl_a0_hw_stop(struct aq_hw_s *self) hw_atl_a0_hw_stop() argument
874 hw_atl_a0_hw_ring_tx_stop(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_tx_stop() argument
882 hw_atl_a0_hw_ring_rx_stop(struct aq_hw_s *self, struct aq_ring_s *ring) hw_atl_a0_hw_ring_rx_stop() argument
890 hw_atl_a0_hw_fl3l4_clear(struct aq_hw_s *self, struct aq_rx_filter_l3l4 *data) hw_atl_a0_hw_fl3l4_clear() argument
916 hw_atl_a0_hw_fl3l4_set(struct aq_hw_s *self, struct aq_rx_filter_l3l4 *data) hw_atl_a0_hw_fl3l4_set() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_tool_test.py43 def test_is_subset_of(self):
45 self.assertTrue(kconfig0.is_subset_of(kconfig0))
49 self.assertTrue(kconfig1.is_subset_of(kconfig1))
50 self.assertTrue(kconfig0.is_subset_of(kconfig1))
51 self.assertFalse(kconfig1.is_subset_of(kconfig0))
53 def test_read_from_file(self):
65 self.assertEqual(kconfig, expected_kconfig)
67 def test_write_to_file(self):
80 self.assertEqual(actual_kconfig, expected_kconfig)
83 def setUp(self)
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_vec.c30 struct aq_vec_s *self = container_of(napi, struct aq_vec_s, napi); in aq_vec_poll() local
38 if (!self) { in aq_vec_poll()
41 for (i = 0U; self->tx_rings > i; ++i) { in aq_vec_poll()
42 ring = self->ring[i]; in aq_vec_poll()
46 if (self->aq_hw_ops->hw_ring_tx_head_update) { in aq_vec_poll()
47 err = self->aq_hw_ops->hw_ring_tx_head_update( in aq_vec_poll()
48 self->aq_hw, in aq_vec_poll()
60 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll()
80 err = self in aq_vec_poll()
105 struct aq_vec_s *self = NULL; aq_vec_alloc() local
128 aq_vec_ring_alloc(struct aq_vec_s *self, struct aq_nic_s *aq_nic, unsigned int idx, struct aq_nic_cfg_s *aq_nic_cfg) aq_vec_ring_alloc() argument
180 aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops, struct aq_hw_s *aq_hw) aq_vec_init() argument
226 aq_vec_start(struct aq_vec_s *self) aq_vec_start() argument
251 aq_vec_stop(struct aq_vec_s *self) aq_vec_stop() argument
268 aq_vec_deinit(struct aq_vec_s *self) aq_vec_deinit() argument
285 aq_vec_free(struct aq_vec_s *self) aq_vec_free() argument
297 aq_vec_ring_free(struct aq_vec_s *self) aq_vec_ring_free() argument
321 struct aq_vec_s *self = private; aq_vec_isr() local
336 struct aq_vec_s *self = private; aq_vec_isr_legacy() local
358 aq_vec_get_affinity_mask(struct aq_vec_s *self) aq_vec_get_affinity_mask() argument
363 aq_vec_is_valid_tc(struct aq_vec_s *self, const unsigned int tc) aq_vec_is_valid_tc() argument
368 aq_vec_get_sw_stats(struct aq_vec_s *self, const unsigned int tc, u64 *data) aq_vec_get_sw_stats() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py10 def __init__(self, rulefname, reportfname='', t=5, debug=False, datafname='', fullrulefname='', workload='true', metrics=''):
11 self.rulefname = rulefname
12 self.reportfname = reportfname
13 self.rules = None
14 self.collectlist:str = metrics
15 self.metrics = self.__set_metrics(metrics)
16 self.skiplist = set()
17 self.tolerance = t
19 self
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/sgx/
H A Dmain.c234 maps_file = fopen("/proc/self/maps", "r"); in setup_test_encl()
259 encl_delete(&self->encl); in FIXTURE_TEARDOWN()
287 ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata)); in TEST_F()
289 memset(&self->run, 0, sizeof(self->run)); in TEST_F()
290 self->run.tcs = self->encl.encl_base; in TEST_F()
295 EXPECT_EQ(ENCL_CALL(&put_op, &self->run, false), 0); in TEST_F()
297 EXPECT_EEXIT(&self->run); in TEST_F()
298 EXPECT_EQ(self in TEST_F()
[all...]

Completed in 15 milliseconds

12345678910>>...49