Home
last modified time | relevance | path

Searched +defs:val +defs:self (Results 1 – 25 of 100) sorted by relevance

1234

/linux-6.14.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c67 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw()
95 static int hw_atl_utils_soft_reset_flb(struct aq_hw_s *self) in hw_atl_utils_soft_reset_flb()
97 u32 gsr, val; in hw_atl_utils_soft_reset_flb() local
171 static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *self) in hw_atl_utils_soft_reset_rbl()
173 u32 gsr, val, rbl_status; in hw_atl_utils_soft_reset_rbl() local
240 int hw_atl_utils_soft_reset(struct aq_hw_s *self) in hw_atl_utils_soft_reset()
244 u32 val; in hw_atl_utils_soft_reset() local
306 int hw_atl_utils_fw_downld_dwords(struct aq_hw_s *self, u32 a, in hw_atl_utils_fw_downld_dwords()
310 u32 val; in hw_atl_utils_fw_downld_dwords() local
352 static int hw_atl_utils_write_b1_mbox(struct aq_hw_s *self, u32 addr, in hw_atl_utils_write_b1_mbox()
[all …]
Dhw_atl_b0.c115 static int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset()
130 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc) in hw_atl_b0_set_fc()
137 static int hw_atl_b0_tc_ptp_set(struct aq_hw_s *self) in hw_atl_b0_tc_ptp_set()
152 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set()
209 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set()
216 u32 val; in hw_atl_b0_hw_rss_hash_set() local
237 static int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set()
246 u32 val; in hw_atl_b0_hw_rss_set() local
273 int hw_atl_b0_hw_offload_set(struct aq_hw_s *self, in hw_atl_b0_hw_offload_set()
295 unsigned int val = (8U < HW_ATL_B0_LRO_RXD_MAX) ? 0x3U : in hw_atl_b0_hw_offload_set() local
[all …]
Dhw_atl_utils_fw2x.c95 static int aq_fw2x_init(struct aq_hw_s *self) in aq_fw2x_init()
115 static int aq_fw2x_deinit(struct aq_hw_s *self) in aq_fw2x_deinit()
179 static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed) in aq_fw2x_set_link_speed()
181 u32 val = link_speed_mask_2fw2x_ratemask(speed); in aq_fw2x_set_link_speed() local
188 static void aq_fw2x_upd_flow_control_bits(struct aq_hw_s *self, in aq_fw2x_upd_flow_control_bits()
210 static void aq_fw2x_upd_eee_rate_bits(struct aq_hw_s *self, u32 *mpi_opts, in aq_fw2x_upd_eee_rate_bits()
221 static int aq_fw2x_set_state(struct aq_hw_s *self, in aq_fw2x_set_state()
247 static int aq_fw2x_update_link_status(struct aq_hw_s *self) in aq_fw2x_update_link_status()
279 static int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac) in aq_fw2x_get_mac_permanent()
301 static int aq_fw2x_update_stats(struct aq_hw_s *self) in aq_fw2x_update_stats()
[all …]
Dhw_atl_a0.c86 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset()
89 u32 val; in hw_atl_a0_hw_reset() local
124 static int hw_atl_a0_hw_qos_set(struct aq_hw_s *self) in hw_atl_a0_hw_qos_set()
183 static int hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_hash_set()
190 u32 val; in hw_atl_a0_hw_rss_hash_set() local
211 static int hw_atl_a0_hw_rss_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_set()
220 u32 val; in hw_atl_a0_hw_rss_set() local
247 static int hw_atl_a0_hw_offload_set(struct aq_hw_s *self, in hw_atl_a0_hw_offload_set()
264 static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_tx_path()
283 static int hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_rx_path()
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/
Djson_writer.c29 static void jsonw_indent(json_writer_t *self) in jsonw_indent()
37 static void jsonw_eol(json_writer_t *self) in jsonw_eol()
47 static void jsonw_eor(json_writer_t *self) in jsonw_eor()
57 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts()
92 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local
105 json_writer_t *self = *self_p; in jsonw_destroy() local
114 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty()
119 void jsonw_reset(json_writer_t *self) in jsonw_reset()
126 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin()
134 static void jsonw_end(json_writer_t *self, int c) in jsonw_end()
[all …]
/linux-6.14.4/tools/bpf/bpftool/
Djson_writer.c29 static void jsonw_indent(json_writer_t *self) in jsonw_indent()
37 static void jsonw_eol(json_writer_t *self) in jsonw_eol()
47 static void jsonw_eor(json_writer_t *self) in jsonw_eor()
57 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts()
92 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() local
105 json_writer_t *self = *self_p; in jsonw_destroy() local
114 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty()
119 void jsonw_reset(json_writer_t *self) in jsonw_reset()
126 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin()
134 static void jsonw_end(json_writer_t *self, int c) in jsonw_end()
[all …]
/linux-6.14.4/tools/power/pm-graph/
Dbootgraph.py71 def __init__(self): argument
79 def kernelVersion(self, msg): argument
84 def checkFtraceKernelVersion(self): argument
91 def kernelParams(self): argument
107 def setGraphFilter(self, val): argument
127 def getBootFtraceFilterFunctions(self): argument
138 def myCronJob(self, line): argument
144 def cronjobCmdString(self): argument
165 def manualRebootRequired(self): argument
173 def blGrub(self): argument
[all …]
Dsleepgraph.py324 def __init__(self): argument
342 def resetlog(self): argument
345 def vprint(self, msg): argument
349 def signalHandler(self, signum, frame): argument
362 def signalHandlerInit(self): argument
374 def rootCheck(self, fatal=True): argument
383 def rootUser(self, fatal=False): argument
392 def usable(self, file, ishtml=False): argument
405 def getExec(self, cmd): argument
420 def setPrecision(self, num): argument
[all …]
/linux-6.14.4/tools/testing/selftests/net/lib/py/
Dnsim.py17 def __init__(self, nsimdev, port_index, ifname, ns=None): argument
34 def dfs_write(self, path, val): argument
43 def ctrl_write(path, val): argument
48 def dfs_write(self, path, val): argument
53 def __init__(self, port_count=1, queue_count=1, ns=None): argument
91 def __enter__(self): argument
94 def __exit__(self, ex_type, ex_value, ex_tb): argument
100 def _make_port(self, port_index, ifname): argument
103 def get_ifnames(self): argument
112 def wait_for_netdevs(self, port_count): argument
[all …]
/linux-6.14.4/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DSchedGui.py23 def __init__(self, sched_tracer, title, parent = None, id = -1): argument
65 def us_to_px(self, val): argument
68 def px_to_us(self, val): argument
71 def scroll_start(self): argument
75 def scroll_start_us(self): argument
79 def paint_rectangle_zone(self, nr, color, top_color, start, end): argument
103 def update_rectangles(self, dc, start, end): argument
108 def on_paint(self, event): argument
118 def rect_from_ypixel(self, y): argument
128 def update_summary(self, txt): argument
[all …]
/linux-6.14.4/drivers/crypto/intel/qat/qat_dh895xcc/
Dadf_dh895xcc_hw_data.c30 static u32 get_accel_mask(struct adf_hw_device_data *self) in get_accel_mask()
38 static u32 get_ae_mask(struct adf_hw_device_data *self) in get_ae_mask()
45 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id()
50 static u32 get_ts_clock(struct adf_hw_device_data *self) in get_ts_clock()
58 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id()
63 static u32 get_sram_bar_id(struct adf_hw_device_data *self) in get_sram_bar_id()
100 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku()
129 u32 val = ADF_CSR_RD(pmisc_addr, ADF_GEN2_ERRMSK3) in enable_vf2pf_interrupts() local
136 u32 val = ADF_CSR_RD(pmisc_addr, ADF_GEN2_ERRMSK5) in enable_vf2pf_interrupts() local
144 u32 val; in disable_all_vf2pf_interrupts() local
/linux-6.14.4/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2_utils_fw.c74 static int hw_atl2_shared_buffer_read_block(struct aq_hw_s *self, in hw_atl2_shared_buffer_read_block()
103 static inline int hw_atl2_shared_buffer_finish_ack(struct aq_hw_s *self) in hw_atl2_shared_buffer_finish_ack()
105 u32 val; in hw_atl2_shared_buffer_finish_ack() local
117 static int aq_a2_fw_init(struct aq_hw_s *self) in aq_a2_fw_init()
121 u32 val; in aq_a2_fw_init() local
141 static int aq_a2_fw_deinit(struct aq_hw_s *self) in aq_a2_fw_deinit()
224 static int aq_a2_fw_set_link_speed(struct aq_hw_s *self, u32 speed) in aq_a2_fw_set_link_speed()
236 static void aq_a2_fw_set_mpi_flow_control(struct aq_hw_s *self, in aq_a2_fw_set_mpi_flow_control()
245 static void aq_a2_fw_upd_eee_rate_bits(struct aq_hw_s *self, in aq_a2_fw_upd_eee_rate_bits()
256 static int aq_a2_fw_set_state(struct aq_hw_s *self, in aq_a2_fw_set_state()
[all …]
Dhw_atl2.c89 static u32 hw_atl2_sem_act_rslvr_get(struct aq_hw_s *self) in hw_atl2_sem_act_rslvr_get()
94 static int hw_atl2_hw_reset(struct aq_hw_s *self) in hw_atl2_hw_reset()
112 static int hw_atl2_hw_queue_to_tc_map_set(struct aq_hw_s *self) in hw_atl2_hw_queue_to_tc_map_set()
162 static int hw_atl2_hw_qos_set(struct aq_hw_s *self) in hw_atl2_hw_qos_set()
214 static int hw_atl2_hw_rss_set(struct aq_hw_s *self, in hw_atl2_hw_rss_set()
239 static int hw_atl2_hw_init_tx_tc_rate_limit(struct aq_hw_s *self) in hw_atl2_hw_init_tx_tc_rate_limit()
354 static int hw_atl2_hw_init_tx_path(struct aq_hw_s *self) in hw_atl2_hw_init_tx_path()
379 static void hw_atl2_hw_init_new_rx_filters(struct aq_hw_s *self) in hw_atl2_hw_init_new_rx_filters()
430 static void hw_atl2_hw_new_rx_filter_vlan_promisc(struct aq_hw_s *self, in hw_atl2_hw_new_rx_filter_vlan_promisc()
445 static void hw_atl2_hw_new_rx_filter_promisc(struct aq_hw_s *self, bool promisc) in hw_atl2_hw_new_rx_filter_promisc()
[all …]
/linux-6.14.4/rust/kernel/
Dinit.rs275 let val = $val; localVariable
367 let val = $val; localVariable
372 let val = $val; localVariable
859 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>; in __pinned_init() argument
901 fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E> in pin_chain()
921 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() argument
925 let val = unsafe { &mut *slot }; in __pinned_init() localVariable
927 let val = unsafe { Pin::new_unchecked(val) }; in __pinned_init() localVariable
971 unsafe fn __init(self, slot: *mut T) -> Result<(), E>; in __init() argument
1000 fn chain<F>(self, f: F) -> ChainInit<Self, F, T, E> in chain()
[all …]
/linux-6.14.4/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c45 static void aq_nic_rss_init(struct aq_nic_s *self, unsigned int num_rss_queues) in aq_nic_rss_init()
69 static void aq_nic_cfg_update_num_vecs(struct aq_nic_s *self) in aq_nic_cfg_update_num_vecs()
96 void aq_nic_cfg_start(struct aq_nic_s *self) in aq_nic_cfg_start()
156 static int aq_nic_update_link_status(struct aq_nic_s *self) in aq_nic_update_link_status()
215 struct aq_nic_s *self = private; in aq_linkstate_threaded_isr() local
230 struct aq_nic_s *self = container_of(work, struct aq_nic_s, in aq_nic_service_task() local
257 struct aq_nic_s *self = from_timer(self, t, service_timer); in aq_nic_service_timer_cb() local
267 struct aq_nic_s *self = from_timer(self, t, polling_timer); in aq_nic_polling_timer_cb() local
277 static int aq_nic_hw_prepare(struct aq_nic_s *self) in aq_nic_hw_prepare()
299 int aq_nic_ndev_register(struct aq_nic_s *self) in aq_nic_ndev_register()
[all …]
/linux-6.14.4/tools/perf/tests/shell/lib/
Dperf_metric_validation.py11 …def __init__(self, metric: list[str], wl: str, value: list[float], low: float, up=float('nan'), de… argument
19 def __repr__(self) -> str: argument
38 …def __init__(self, rulefname, reportfname='', t=5, debug=False, datafname='', fullrulefname='', wo… argument
70 def __set_metrics(self, metrics=''): argument
76 def read_json(self, filename: str) -> dict: argument
86 def json_dump(self, data, output_file): argument
97 def get_results(self, idx: int = 0): argument
100 def get_bounds(self, lb, ub, error, alias={}, ridx: int = 0) -> list: argument
141 def get_value(self, name: str, ridx: int = 0) -> list: argument
161 def check_bound(self, val, lb, ub, err): argument
[all …]
/linux-6.14.4/net/tipc/
Dmonitor.c90 struct tipc_peer *self; member
107 static inline u16 mon_cpu_to_le16(u16 val) in mon_cpu_to_le16()
112 static inline u32 mon_cpu_to_le32(u32 val) in mon_cpu_to_le32()
117 static inline u64 mon_cpu_to_le64(u64 val) in mon_cpu_to_le64()
122 static inline u16 mon_le16_to_cpu(u16 val) in mon_le16_to_cpu()
127 static inline u32 mon_le32_to_cpu(u32 val) in mon_le32_to_cpu()
132 static inline u64 mon_le64_to_cpu(u64 val) in mon_le64_to_cpu()
272 struct tipc_peer *self = mon->self; in mon_update_local_domain() local
327 struct tipc_peer *self = mon->self; in mon_assign_roles() local
355 struct tipc_peer *self; in tipc_mon_remove_peer() local
[all …]
/linux-6.14.4/tools/kvm/kvm_stat/
Dkvm_stat336 def tracepoint_is_child(self, field): argument
343 def __init__(self, exit_reasons): argument
349 def debugfs_is_child(self, field): argument
355 def __init__(self): argument
369 def debugfs_is_child(self, field): argument
375 def __init__(self): argument
381 def debugfs_is_child(self, field): argument
387 def __init__(self): argument
393 def debugfs_is_child(self, field): argument
424 def __init__(self): argument
[all …]
/linux-6.14.4/tools/perf/scripts/python/
Dcompaction-times.py29 def __init__(self, re): argument
32 def filter(self, pid, comm): argument
37 def __init__(self, low, high): argument
41 def filter(self, pid, comm): argument
55 def __init__(self, aval, bval, alabel = None, blabel = None): argument
61 def __add__(self, rhs): argument
66 def __str__(self): argument
70 def __init__(self, ns): argument
76 def __add__(self, rhs): argument
83 def __str__(self): argument
[all …]
Dexported-sql-viewer.py194 def __init__(self, task, param=None, parent=None): argument
199 def run(self): argument
213 def __init__(self, glb, params, parent=None): argument
220 def Item(self, parent): argument
226 def rowCount(self, parent): argument
233 def hasChildren(self, parent): argument
236 def headerData(self, section, orientation, role): argument
245 def parent(self, child): argument
252 def index(self, row, column, parent): argument
256 def DisplayData(self, item, index): argument
[all …]
/linux-6.14.4/lib/
Dtest_bpf.c90 static int bpf_fill_maxinsns1(struct bpf_test *self) in bpf_fill_maxinsns1()
110 static int bpf_fill_maxinsns2(struct bpf_test *self) in bpf_fill_maxinsns2()
129 static int bpf_fill_maxinsns3(struct bpf_test *self) in bpf_fill_maxinsns3()
156 static int bpf_fill_maxinsns4(struct bpf_test *self) in bpf_fill_maxinsns4()
175 static int bpf_fill_maxinsns5(struct bpf_test *self) in bpf_fill_maxinsns5()
198 static int bpf_fill_maxinsns6(struct bpf_test *self) in bpf_fill_maxinsns6()
220 static int bpf_fill_maxinsns7(struct bpf_test *self) in bpf_fill_maxinsns7()
246 static int bpf_fill_maxinsns8(struct bpf_test *self) in bpf_fill_maxinsns8()
269 static int bpf_fill_maxinsns9(struct bpf_test *self) in bpf_fill_maxinsns9()
295 static int bpf_fill_maxinsns10(struct bpf_test *self) in bpf_fill_maxinsns10()
[all …]
/linux-6.14.4/drivers/crypto/intel/qat/qat_common/
Dadf_gen2_hw_data.c8 u32 adf_gen2_get_num_accels(struct adf_hw_device_data *self) in adf_gen2_get_num_accels()
17 u32 adf_gen2_get_num_aes(struct adf_hw_device_data *self) in adf_gen2_get_num_aes()
32 unsigned int val, i; in adf_gen2_enable_error_correction() local
104 u32 val; in adf_gen2_enable_ints() local
Dadf_gen4_hw_data.c12 u32 adf_gen4_get_accel_mask(struct adf_hw_device_data *self) in adf_gen4_get_accel_mask()
18 u32 adf_gen4_get_num_accels(struct adf_hw_device_data *self) in adf_gen4_get_num_accels()
24 u32 adf_gen4_get_num_aes(struct adf_hw_device_data *self) in adf_gen4_get_num_aes()
33 u32 adf_gen4_get_misc_bar_id(struct adf_hw_device_data *self) in adf_gen4_get_misc_bar_id()
39 u32 adf_gen4_get_etr_bar_id(struct adf_hw_device_data *self) in adf_gen4_get_etr_bar_id()
45 u32 adf_gen4_get_sram_bar_id(struct adf_hw_device_data *self) in adf_gen4_get_sram_bar_id()
51 enum dev_sku_info adf_gen4_get_sku(struct adf_hw_device_data *self) in adf_gen4_get_sku()
73 u32 adf_gen4_get_heartbeat_clock(struct adf_hw_device_data *self) in adf_gen4_get_heartbeat_clock()
535 u32 val, tmp_val, i; in bank_state_restore() local
/linux-6.14.4/tools/testing/selftests/net/
Dbpf_offload.py265 def int2str(fmt, val): argument
290 def __init__(self, path): argument
294 def __len__(self): argument
297 def __getitem__(self, key): argument
302 def __setitem__(self, key, value): argument
312 def _debugfs_dir_read(self, path): argument
348 def __init__(self, port_count=1, ns=None): argument
352 def _make_port(self, port_index, ifname): argument
355 def dfs_num_bound_progs(self): argument
360 def dfs_get_bound_progs(self, expected): argument
[all …]
/linux-6.14.4/arch/sh/kernel/
Dnmi_debug.c21 static int nmi_debug_notify(struct notifier_block *self, in nmi_debug_notify()
22 unsigned long val, void *data) in nmi_debug_notify()

1234