Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-Core-2.7.6/scripts/west_commands/tests/
Dtest_stm32cubeprogrammer.py341 check_call, require, path_exists, path_home, system, tc, runner_config argument
347 system.return_value = tc["system"]
351 port=tc["port"],
352 frequency=tc["frequency"],
353 reset_mode=tc["reset_mode"],
354 conn_modifiers=tc["conn_modifiers"],
355 cli=tc["cli"],
356 use_elf=tc["use_elf"],
357 erase=tc["erase"],
358 tool_opt=tc["tool_opt"],
[all …]
Dtest_dediprog.py41 def id_fn(tc): argument
42 return 'spi_image={},vcc={}'.format(*tc)
51 def test_dediprog_init(cc, req, tc, runner_config): argument
53 spi_image, vcc = tc
57 assert cc.call_args_list == [call(EXPECTED_COMMAND[tc])]
66 def test_dediprog_create(cc, req, tc, runner_config): argument
68 spi_image, vcc = tc
77 assert cc.call_args_list == [call(EXPECTED_COMMAND[tc])]
Dtest_dfu_util.py65 def id_fn(tc): argument
66 return 'exe={},alt={},dfuse_config={},img={}'.format(*tc)
81 def test_dfu_util_init(cc, req, find_device, tc, runner_config): argument
83 exe, alt, dfuse_config, img = tc
90 assert cc.call_args_list == [call(EXPECTED_COMMAND[tc])]
111 def test_dfu_util_create(cc, req, gfa, find_device, tc, runner_config, tmpdir): argument
113 exe, alt, dfuse, modifiers, img = tc
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_sam0_tc32.c82 TcCount32 *tc = cfg->regs; in counter_sam0_tc32_start() local
88 tc->CTRLBSET.reg = TC_CTRLBSET_CMD_RETRIGGER; in counter_sam0_tc32_start()
89 wait_synchronization(tc); in counter_sam0_tc32_start()
96 TcCount32 *tc = cfg->regs; in counter_sam0_tc32_stop() local
104 tc->CTRLBSET.reg = TC_CTRLBSET_CMD_STOP; in counter_sam0_tc32_stop()
105 wait_synchronization(tc); in counter_sam0_tc32_stop()
112 TcCount32 *tc = cfg->regs; in counter_sam0_tc32_read() local
114 read_synchronize_count(tc); in counter_sam0_tc32_read()
115 return tc->COUNT.reg; in counter_sam0_tc32_read()
130 TcCount32 *tc = cfg->regs; in counter_sam0_tc32_relative_alarm() local
[all …]
Dcounter_sam_tc.c104 Tc *tc = dev_cfg->regs; in counter_sam_tc_start() local
105 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_start()
115 Tc *tc = dev_cfg->regs; in counter_sam_tc_stop() local
116 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_stop()
126 Tc *tc = dev_cfg->regs; in counter_sam_tc_get_value() local
127 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_get_value()
139 Tc *tc = dev_cfg->regs; in counter_sam_tc_set_alarm() local
140 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_set_alarm()
201 Tc *tc = dev_cfg->regs; in counter_sam_tc_cancel_alarm() local
202 TcChannel *tc_ch = &tc->TcChannel[dev_cfg->tc_chan_num]; in counter_sam_tc_cancel_alarm()
[all …]
DKconfig.sam5 DT_COMPAT_ATMEL_SAM_TC := atmel,sam-tc
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_stats.h416 static inline void net_stats_update_tc_sent_pkt(struct net_if *iface, uint8_t tc) in net_stats_update_tc_sent_pkt() argument
418 UPDATE_STAT(iface, stats.tc.sent[tc].pkts++); in net_stats_update_tc_sent_pkt()
422 uint8_t tc, size_t bytes) in net_stats_update_tc_sent_bytes() argument
424 UPDATE_STAT(iface, stats.tc.sent[tc].bytes += bytes); in net_stats_update_tc_sent_bytes()
428 uint8_t tc, uint8_t priority) in net_stats_update_tc_sent_priority() argument
430 UPDATE_STAT(iface, stats.tc.sent[tc].priority = priority); in net_stats_update_tc_sent_priority()
441 int tc = net_tx_priority2tc(priority); in net_stats_update_tc_tx_time() local
443 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.sum += in net_stats_update_tc_tx_time()
445 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.count += 1); in net_stats_update_tc_tx_time()
450 #define net_stats_update_tc_tx_time(iface, tc, start_time, end_time) argument
[all …]
Dnet_tc.c50 bool net_tc_submit_to_tx_queue(uint8_t tc, struct net_pkt *pkt) in net_tc_submit_to_tx_queue() argument
55 submit_to_queue(&tx_classes[tc].fifo, pkt); in net_tc_submit_to_tx_queue()
57 ARG_UNUSED(tc); in net_tc_submit_to_tx_queue()
63 void net_tc_submit_to_rx_queue(uint8_t tc, struct net_pkt *pkt) in net_tc_submit_to_rx_queue() argument
68 submit_to_queue(&rx_classes[tc].fifo, pkt); in net_tc_submit_to_rx_queue()
70 ARG_UNUSED(tc); in net_tc_submit_to_rx_queue()
126 static uint8_t tx_tc2thread(uint8_t tc) in tx_tc2thread() argument
167 NET_ASSERT(tc < ARRAY_SIZE(thread_priorities)); in tx_tc2thread()
169 return thread_priorities[tc]; in tx_tc2thread()
175 static uint8_t rx_tc2thread(uint8_t tc) in rx_tc2thread() argument
[all …]
Dnet_stats.c170 tc.sent[i].priority)), in stats()
171 GET_STAT(iface, tc.sent[i].priority), in stats()
172 GET_STAT(iface, tc.sent[i].pkts), in stats()
173 GET_STAT(iface, tc.sent[i].bytes)); in stats()
184 tc.recv[i].priority)), in stats()
185 GET_STAT(iface, tc.recv[i].priority), in stats()
186 GET_STAT(iface, tc.recv[i].pkts), in stats()
187 GET_STAT(iface, tc.recv[i].bytes)); in stats()
Dnet_core.c379 uint8_t tc = net_rx_priority2tc(prio); in net_queue_rx() local
382 net_stats_update_tc_recv_pkt(iface, tc); in net_queue_rx()
383 net_stats_update_tc_recv_bytes(iface, tc, net_pkt_get_len(pkt)); in net_queue_rx()
384 net_stats_update_tc_recv_priority(iface, tc, prio); in net_queue_rx()
388 NET_DBG("TC %d with prio %d pkt %p", tc, prio, pkt); in net_queue_rx()
394 net_tc_submit_to_rx_queue(tc, pkt); in net_queue_rx()
Dnet_private.h93 extern bool net_tc_submit_to_tx_queue(uint8_t tc, struct net_pkt *pkt);
94 extern void net_tc_submit_to_rx_queue(uint8_t tc, struct net_pkt *pkt);
Dnet_shell.c900 tc.sent[i].tx_time_detail[j].count); in get_net_pkt_tc_stats_detail()
905 tc.recv[i].rx_time_detail[j].count); in get_net_pkt_tc_stats_detail()
916 tc.sent[i].tx_time_detail[j].sum) / in get_net_pkt_tc_stats_detail()
922 tc.recv[i].rx_time_detail[j].sum) / in get_net_pkt_tc_stats_detail()
1054 tc.sent[i].tx_time.count); in print_tc_tx_stats()
1057 priority2str(GET_STAT(iface, tc.sent[i].priority)), in print_tc_tx_stats()
1058 GET_STAT(iface, tc.sent[i].priority), in print_tc_tx_stats()
1059 GET_STAT(iface, tc.sent[i].pkts), in print_tc_tx_stats()
1060 GET_STAT(iface, tc.sent[i].bytes)); in print_tc_tx_stats()
1063 priority2str(GET_STAT(iface, tc.sent[i].priority)), in print_tc_tx_stats()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/qdec_sam/
Dqdec_sam.c47 Tc *const tc = dev_cfg->regs; in qdec_sam_fetch() local
48 TcChannel *tc_ch0 = &tc->TcChannel[0]; in qdec_sam_fetch()
71 static void qdec_sam_start(Tc *const tc) in qdec_sam_start() argument
73 TcChannel *tc_ch0 = &tc->TcChannel[0]; in qdec_sam_start()
83 Tc *const tc = dev_cfg->regs; in qdec_sam_configure() local
84 TcChannel *tc_ch0 = &tc->TcChannel[0]; in qdec_sam_configure()
92 tc->TC_BMR = TC_BMR_QDEN in qdec_sam_configure()
97 qdec_sam_start(tc); in qdec_sam_configure()
/Zephyr-Core-2.7.6/dts/arm/atmel/
Dsamd20.dtsi11 tc-0 = &tc0;
12 tc-2 = &tc2;
13 tc-6 = &tc6;
17 tc0: tc@42002000 {
26 tc2: tc@42002800 {
35 tc6: tc@42003800 {
Dsam3x.dtsi200 tc0: tc@40080000 {
201 compatible = "atmel,sam-tc";
212 tc1: tc@40084000 {
213 compatible = "atmel,sam-tc";
224 tc2: tc@40088000 {
225 compatible = "atmel,sam-tc";
Dsam4e.dtsi239 tc0: tc@40090000 {
240 compatible = "atmel,sam-tc";
251 tc1: tc@40094000 {
252 compatible = "atmel,sam-tc";
263 tc2: tc@40098000 {
264 compatible = "atmel,sam-tc";
Dsame70.dtsi375 tc0: tc@4000c000 {
376 compatible = "atmel,sam-tc";
387 tc1: tc@40010000 {
388 compatible = "atmel,sam-tc";
399 tc2: tc@40014000 {
400 compatible = "atmel,sam-tc";
411 tc3: tc@40054000 {
412 compatible = "atmel,sam-tc";
Dsamd5x.dtsi55 tc-0 = &tc0;
56 tc-2 = &tc2;
57 tc-4 = &tc4;
58 tc-6 = &tc6;
357 tc0: tc@40003800 {
366 tc2: tc@4101a000 {
375 tc4: tc@42001400 {
384 tc6: tc@43001400 {
Dsam4s.dtsi190 tc0: tc@40010000 {
191 compatible = "atmel,sam-tc";
202 tc1: tc@40014000 {
203 compatible = "atmel,sam-tc";
Dsam4l.dtsi217 tc0: tc@40010000 {
218 compatible = "atmel,sam-tc";
229 tc1: tc@40014000 {
230 compatible = "atmel,sam-tc";
Dsamd21.dtsi11 tc-6 = &tc6;
32 tc6: tc@42003800 {
Dsamd2x.dtsi59 tc-4 = &tc4;
160 tc4: tc@42003000 {
/Zephyr-Core-2.7.6/scripts/pylib/twister/
Dtwisterlib.py2893 for _, tc in self.testcases.items():
2894 for case in tc.cases:
2941 tc = TestCase(root, workdir, name)
2945 tc.source_dir = tc_path
2946 tc.yamlfile = tc_path
2948 tc.type = tc_dict["type"]
2949 tc.tags = tc_dict["tags"]
2950 tc.extra_args = tc_dict["extra_args"]
2951 tc.extra_configs = tc_dict["extra_configs"]
2952 tc.arch_allow = tc_dict["arch_allow"]
[all …]
/Zephyr-Core-2.7.6/tests/net/traffic_class/src/
Dmain.c117 static bool check_higher_priority_pkt_sent(int tc, struct net_pkt *pkt) in check_higher_priority_pkt_sent() argument
125 for (j = tc + 1; j < MAX_TC; j++) { in check_higher_priority_pkt_sent()
136 static bool check_higher_priority_pkt_recv(int tc, struct net_pkt *pkt) in check_higher_priority_pkt_recv() argument
144 for (j = tc + 1; j < MAX_TC; j++) { in check_higher_priority_pkt_recv()
465 int tc = net_tx_priority2tc(prio); in traffic_class_send_packets_with_prio() local
468 data[0] = tc + 0x30; in traffic_class_send_packets_with_prio()
476 DBG("Sending on TC %d priority %d\n", tc, prio); in traffic_class_send_packets_with_prio()
480 ret = net_context_sendto(net_ctxs[tc].ctx, data, len, in traffic_class_send_packets_with_prio()
743 int tc = net_rx_priority2tc(prio); in traffic_class_recv_packets_with_prio() local
749 data[0] = tc + 0x30; in traffic_class_recv_packets_with_prio()
[all …]
/Zephyr-Core-2.7.6/samples/sensor/qdec/boards/
Dsam_e70_xplained.overlay8 compatible = "atmel,sam-tc-qdec";

12