Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 200 of 202) sorted by relevance

12

/linux-4.4.14/drivers/misc/
Datmel_tclib.c45 struct atmel_tc *tc; in atmel_tc_alloc() local
49 list_for_each_entry(tc, &tc_list, node) { in atmel_tc_alloc()
50 if (tc->allocated) in atmel_tc_alloc()
53 if ((tc->pdev->dev.of_node && tc->id == block) || in atmel_tc_alloc()
54 (tc->pdev->id == block)) { in atmel_tc_alloc()
55 pdev = tc->pdev; in atmel_tc_alloc()
56 tc->allocated = true; in atmel_tc_alloc()
62 return pdev ? tc : NULL; in atmel_tc_alloc()
73 void atmel_tc_free(struct atmel_tc *tc) in atmel_tc_free() argument
76 if (tc->allocated) in atmel_tc_free()
[all …]
/linux-4.4.14/kernel/time/
Dtimecounter.c21 void timecounter_init(struct timecounter *tc, in timecounter_init() argument
25 tc->cc = cc; in timecounter_init()
26 tc->cycle_last = cc->read(cc); in timecounter_init()
27 tc->nsec = start_tstamp; in timecounter_init()
28 tc->mask = (1ULL << cc->shift) - 1; in timecounter_init()
29 tc->frac = 0; in timecounter_init()
44 static u64 timecounter_read_delta(struct timecounter *tc) in timecounter_read_delta() argument
50 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
53 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
56 ns_offset = cyclecounter_cyc2ns(tc->cc, cycle_delta, in timecounter_read_delta()
[all …]
/linux-4.4.14/drivers/ntb/test/
Dntb_tool.c129 struct tool_ctx *tc = ctx; in tool_link_event() local
134 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event()
136 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event()
142 struct tool_ctx *tc = ctx; in tool_db_event() local
145 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event()
146 db_bits = ntb_db_read(tc->ntb); in tool_db_event()
148 dev_dbg(&tc->ntb->dev, "doorbell vec %d mask %#llx bits %#llx\n", in tool_db_event()
157 static ssize_t tool_dbfn_read(struct tool_ctx *tc, char __user *ubuf, in tool_dbfn_read() argument
175 db_read_fn(tc->ntb)); in tool_dbfn_read()
184 static ssize_t tool_dbfn_write(struct tool_ctx *tc, in tool_dbfn_write() argument
[all …]
/linux-4.4.14/net/rds/
Dtcp.c79 u32 rds_tcp_snd_nxt(struct rds_tcp_connection *tc) in rds_tcp_snd_nxt() argument
81 return tcp_sk(tc->t_sock->sk)->snd_nxt; in rds_tcp_snd_nxt()
84 u32 rds_tcp_snd_una(struct rds_tcp_connection *tc) in rds_tcp_snd_una() argument
86 return tcp_sk(tc->t_sock->sk)->snd_una; in rds_tcp_snd_una()
90 struct rds_tcp_connection *tc) in rds_tcp_restore_callbacks() argument
92 rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc); in rds_tcp_restore_callbacks()
97 list_del_init(&tc->t_list_item); in rds_tcp_restore_callbacks()
101 tc->t_sock = NULL; in rds_tcp_restore_callbacks()
103 sock->sk->sk_write_space = tc->t_orig_write_space; in rds_tcp_restore_callbacks()
104 sock->sk->sk_data_ready = tc->t_orig_data_ready; in rds_tcp_restore_callbacks()
[all …]
Dtcp_send.c53 struct rds_tcp_connection *tc = conn->c_transport_data; in rds_tcp_xmit_prepare() local
55 rds_tcp_cork(tc->t_sock, 1); in rds_tcp_xmit_prepare()
60 struct rds_tcp_connection *tc = conn->c_transport_data; in rds_tcp_xmit_complete() local
62 rds_tcp_cork(tc->t_sock, 0); in rds_tcp_xmit_complete()
83 struct rds_tcp_connection *tc = conn->c_transport_data; in rds_tcp_xmit() local
93 tc->t_last_sent_nxt = rds_tcp_snd_nxt(tc); in rds_tcp_xmit()
94 rm->m_ack_seq = tc->t_last_sent_nxt + in rds_tcp_xmit()
99 tc->t_last_expected_una = rm->m_ack_seq + 1; in rds_tcp_xmit()
102 rm, rds_tcp_snd_nxt(tc), in rds_tcp_xmit()
108 set_bit(SOCK_NOSPACE, &tc->t_sock->sk->sk_socket->flags); in rds_tcp_xmit()
[all …]
Dtcp_recv.c159 struct rds_tcp_connection *tc = conn->c_transport_data; in rds_tcp_data_recv() local
160 struct rds_tcp_incoming *tinc = tc->t_tinc; in rds_tcp_data_recv()
164 rdsdebug("tcp data tc %p skb %p offset %u len %zu\n", tc, skb, offset, in rds_tcp_data_recv()
179 tc->t_tinc = tinc; in rds_tcp_data_recv()
189 if (left && tc->t_tinc_hdr_rem) { in rds_tcp_data_recv()
190 to_copy = min(tc->t_tinc_hdr_rem, left); in rds_tcp_data_recv()
196 tc->t_tinc_hdr_rem, in rds_tcp_data_recv()
198 tc->t_tinc_hdr_rem -= to_copy; in rds_tcp_data_recv()
202 if (tc->t_tinc_hdr_rem == 0) { in rds_tcp_data_recv()
204 tc->t_tinc_data_rem = in rds_tcp_data_recv()
[all …]
Dtcp_connect.c44 struct rds_tcp_connection *tc; in rds_tcp_state_change() local
52 tc = conn->c_transport_data; in rds_tcp_state_change()
53 state_change = tc->t_orig_state_change; in rds_tcp_state_change()
55 rdsdebug("sock %p state_change to %d\n", tc->t_sock, sk->sk_state); in rds_tcp_state_change()
139 struct rds_tcp_connection *tc = conn->c_transport_data; in rds_tcp_conn_shutdown() local
140 struct socket *sock = tc->t_sock; in rds_tcp_conn_shutdown()
142 rdsdebug("shutting down conn %p tc %p sock %p\n", conn, tc, sock); in rds_tcp_conn_shutdown()
147 rds_tcp_restore_callbacks(sock, tc); /* tc->tc_sock = NULL */ in rds_tcp_conn_shutdown()
153 if (tc->t_tinc) { in rds_tcp_conn_shutdown()
154 rds_inc_put(&tc->t_tinc->ti_inc); in rds_tcp_conn_shutdown()
[all …]
Dtcp.h50 struct rds_tcp_connection *tc);
51 u32 rds_tcp_snd_nxt(struct rds_tcp_connection *tc);
52 u32 rds_tcp_snd_una(struct rds_tcp_connection *tc);
53 u64 rds_tcp_map_seq(struct rds_tcp_connection *tc, u32 seq);
/linux-4.4.14/drivers/md/
Ddm-thin.c217 typedef void (*process_bio_fn)(struct thin_c *tc, struct bio *bio);
218 typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell);
386 static int issue_discard(struct thin_c *tc, dm_block_t data_b, dm_block_t data_e, in issue_discard() argument
389 sector_t s = block_to_sectors(tc->pool, data_b); in issue_discard()
390 sector_t len = block_to_sectors(tc->pool, data_e - data_b); in issue_discard()
392 return __blkdev_issue_discard_async(tc->pool_dev->bdev, s, len, in issue_discard()
542 struct thin_c *tc; member
566 static void error_thin_bio_list(struct thin_c *tc, struct bio_list *master, int error) in error_thin_bio_list() argument
573 spin_lock_irqsave(&tc->lock, flags); in error_thin_bio_list()
575 spin_unlock_irqrestore(&tc->lock, flags); in error_thin_bio_list()
[all …]
Ddm-snap-transient.c42 struct transient_c *tc = store->context; in transient_prepare_exception() local
45 if (size < (tc->next_free + store->chunk_size)) in transient_prepare_exception()
48 e->new_chunk = sector_to_chunk(store, tc->next_free); in transient_prepare_exception()
49 tc->next_free += store->chunk_size; in transient_prepare_exception()
75 struct transient_c *tc; in transient_ctr() local
77 tc = kmalloc(sizeof(struct transient_c), GFP_KERNEL); in transient_ctr()
78 if (!tc) in transient_ctr()
81 tc->next_free = 0; in transient_ctr()
82 store->context = tc; in transient_ctr()
/linux-4.4.14/tools/perf/util/
Dtsc.c6 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) in perf_time_to_tsc() argument
10 t = ns - tc->time_zero; in perf_time_to_tsc()
11 quot = t / tc->time_mult; in perf_time_to_tsc()
12 rem = t % tc->time_mult; in perf_time_to_tsc()
13 return (quot << tc->time_shift) + in perf_time_to_tsc()
14 (rem << tc->time_shift) / tc->time_mult; in perf_time_to_tsc()
17 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc) in tsc_to_perf_time() argument
21 quot = cyc >> tc->time_shift; in tsc_to_perf_time()
22 rem = cyc & ((1 << tc->time_shift) - 1); in tsc_to_perf_time()
23 return tc->time_zero + quot * tc->time_mult + in tsc_to_perf_time()
[all …]
Dtsc.h8 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc);
9 u64 tsc_to_perf_time(u64 cyc, struct perf_tsc_conversion *tc);
Dutil.c381 struct termios tc; in set_term_quiet_input() local
384 tc = *old; in set_term_quiet_input()
385 tc.c_lflag &= ~(ICANON | ECHO); in set_term_quiet_input()
386 tc.c_cc[VMIN] = 0; in set_term_quiet_input()
387 tc.c_cc[VTIME] = 0; in set_term_quiet_input()
388 tcsetattr(0, TCSANOW, &tc); in set_term_quiet_input()
Dintel-pt.c74 struct perf_tsc_conversion tc; member
658 quot = ns / pt->tc.time_mult; in intel_pt_ns_to_ticks()
659 rem = ns % pt->tc.time_mult; in intel_pt_ns_to_ticks()
660 return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / in intel_pt_ns_to_ticks()
661 pt->tc.time_mult; in intel_pt_ns_to_ticks()
980 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_branch_sample()
1036 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_instruction_sample()
1093 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_transaction_sample()
1534 &pt->tc); in intel_pt_sync_switch()
1570 &pt->tc)); in intel_pt_process_switch()
[all …]
Dintel-bts.c60 struct perf_tsc_conversion tc; member
614 timestamp = perf_time_to_tsc(sample->time, &bts->tc); in intel_bts_process_event()
880 bts->tc.time_shift = auxtrace_info->priv[INTEL_BTS_TIME_SHIFT]; in intel_bts_process_auxtrace_info()
881 bts->tc.time_mult = auxtrace_info->priv[INTEL_BTS_TIME_MULT]; in intel_bts_process_auxtrace_info()
882 bts->tc.time_zero = auxtrace_info->priv[INTEL_BTS_TIME_ZERO]; in intel_bts_process_auxtrace_info()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c180 int tc; in ixgbe_dcb_unpack_pfc() local
182 for (*pfc_en = 0, tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) { in ixgbe_dcb_unpack_pfc()
183 if (tc_config[tc].dcb_pfc != pfc_disabled) in ixgbe_dcb_unpack_pfc()
184 *pfc_en |= 1 << tc; in ixgbe_dcb_unpack_pfc()
192 int tc; in ixgbe_dcb_unpack_refill() local
194 for (tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_refill()
195 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill()
201 int tc; in ixgbe_dcb_unpack_max() local
203 for (tc = 0; tc < MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_max()
204 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max()
[all …]
Dixgbe_lib.c111 static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, in ixgbe_get_first_reg_idx() argument
124 *tx = tc << 2; /* 0, 4, 8, 12, 16, 20, 24, 28 */ in ixgbe_get_first_reg_idx()
125 *rx = tc << 3; /* 0, 8, 16, 24, 32, 40, 48, 56 */ in ixgbe_get_first_reg_idx()
137 *rx = tc << 4; in ixgbe_get_first_reg_idx()
138 if (tc < 3) in ixgbe_get_first_reg_idx()
139 *tx = tc << 5; /* 0, 32, 64 */ in ixgbe_get_first_reg_idx()
140 else if (tc < 5) in ixgbe_get_first_reg_idx()
141 *tx = (tc + 2) << 4; /* 80, 96 */ in ixgbe_get_first_reg_idx()
143 *tx = (tc + 8) << 3; /* 104, 112, 120 */ in ixgbe_get_first_reg_idx()
150 *rx = tc << 5; in ixgbe_get_first_reg_idx()
[all …]
Dixgbe_dcb_nl.c192 static void ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_tx() argument
199 adapter->temp_dcb_cfg.tc_config[tc].path[0].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_tx()
201 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_id = bwg_id; in ixgbe_dcbnl_set_pg_tc_cfg_tx()
203 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_tx()
206 adapter->temp_dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap = in ixgbe_dcbnl_set_pg_tc_cfg_tx()
218 static void ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_rx() argument
225 adapter->temp_dcb_cfg.tc_config[tc].path[1].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_rx()
227 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_id = bwg_id; in ixgbe_dcbnl_set_pg_tc_cfg_rx()
229 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_rx()
232 adapter->temp_dcb_cfg.tc_config[tc].path[1].up_to_tc_bitmap = in ixgbe_dcbnl_set_pg_tc_cfg_rx()
[all …]
Dixgbe_dcb.h67 u8 tc; member
123 u8 tc; /* Traffic class (TC) */ member
Dixgbe_ptp.c161 ns = timecounter_cyc2time(&adapter->tc, clock_edge); in ixgbe_ptp_setup_sdp()
266 timecounter_adjtime(&adapter->tc, delta); in ixgbe_ptp_adjtime()
290 ns = timecounter_read(&adapter->tc); in ixgbe_ptp_gettime()
318 timecounter_init(&adapter->tc, &adapter->cc, ns); in ixgbe_ptp_settime()
471 ns = timecounter_cyc2time(&adapter->tc, regval); in ixgbe_ptp_tx_hwtstamp()
541 ns = timecounter_cyc2time(&adapter->tc, regval); in ixgbe_ptp_rx_hwtstamp()
830 timecounter_init(&adapter->tc, &adapter->cc, in ixgbe_ptp_reset()
Dixgbe_main.c974 u8 tc; in ixgbe_update_xoff_received() local
999 tc = netdev_get_prio_tc_map(adapter->netdev, i); in ixgbe_update_xoff_received()
1000 xoff[tc] += pxoffrxc; in ixgbe_update_xoff_received()
1007 tc = tx_ring->dcb_tc; in ixgbe_update_xoff_received()
1008 if (xoff[tc]) in ixgbe_update_xoff_received()
4398 int link, tc, kb, marker; in ixgbe_hpbthresh() local
4402 tc = link = dev->mtu + ETH_HLEN + ETH_FCS_LEN + IXGBE_ETH_FRAMING; in ixgbe_hpbthresh()
4407 (tc < IXGBE_FCOE_JUMBO_FRAME_SIZE) && in ixgbe_hpbthresh()
4409 tc = IXGBE_FCOE_JUMBO_FRAME_SIZE; in ixgbe_hpbthresh()
4417 dv_id = IXGBE_DV_X540(link, tc); in ixgbe_hpbthresh()
[all …]
Dixgbe.h759 struct timecounter tc; member
919 int ixgbe_setup_tc(struct net_device *dev, u8 tc);
/linux-4.4.14/arch/mips/kernel/
Dvpe-mt.c31 struct tc *t; in vpe_run()
46 if (list_empty(&v->tc)) { in vpe_run()
57 t = list_first_entry(&v->tc, struct tc, tc); in vpe_run()
147 void cleanup_tc(struct tc *tc) in cleanup_tc() argument
159 settc(tc->index); in cleanup_tc()
209 struct tc *t; in vpe_stop()
214 t = list_entry(v->tc.next, struct tc, tc); in vpe_stop()
230 struct tc *t; in vpe_free()
233 t = list_entry(v->tc.next, struct tc, tc); in vpe_free()
333 struct tc *t; in vpe_module_init()
[all …]
Dsmp-mt.c56 static unsigned int __init smvp_vpe_init(unsigned int tc, unsigned int mvpconf0, in smvp_vpe_init() argument
59 if (tc > ((mvpconf0 & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT)) in smvp_vpe_init()
63 if (tc != 0) { in smvp_vpe_init()
73 set_cpu_possible(tc, true); in smvp_vpe_init()
74 set_cpu_present(tc, true); in smvp_vpe_init()
75 __cpu_number_map[tc] = ++ncpu; in smvp_vpe_init()
76 __cpu_logical_map[ncpu] = tc; in smvp_vpe_init()
82 if (tc != 0) in smvp_vpe_init()
88 static void __init smvp_tc_init(unsigned int tc, unsigned int mvpconf0) in smvp_tc_init() argument
92 if (!tc) in smvp_tc_init()
[all …]
Dmips-mt.c57 int tc; in mips_mt_regdump() local
72 for (tc = 0; tc < ntc; tc++) { in mips_mt_regdump()
73 settc(tc); in mips_mt_regdump()
94 for (tc = 0; tc < ntc; tc++) { in mips_mt_regdump()
95 settc(tc); in mips_mt_regdump()
100 printk(" TC %d (current TC with VPE EPC above)\n", tc); in mips_mt_regdump()
105 printk(" TC %d\n", tc); in mips_mt_regdump()
Dvpe-cmp.c19 void cleanup_tc(struct tc *tc) in cleanup_tc() argument
93 struct tc *t; in vpe_module_init()
149 list_add(&t->tc, &v->tc); in vpe_module_init()
Dvpe.c74 struct tc *get_tc(int index) in get_tc()
76 struct tc *res, *t; in get_tc()
100 INIT_LIST_HEAD(&v->tc); in alloc_vpe()
113 struct tc *alloc_tc(int index) in alloc_tc()
115 struct tc *tc; in alloc_tc() local
117 tc = kzalloc(sizeof(struct tc), GFP_KERNEL); in alloc_tc()
118 if (tc == NULL) in alloc_tc()
121 INIT_LIST_HEAD(&tc->tc); in alloc_tc()
122 tc->index = index; in alloc_tc()
125 list_add_tail(&tc->list, &vpecontrol.tc_list); in alloc_tc()
[all …]
/linux-4.4.14/drivers/clocksource/
Dtcb_clksrc.c191 static int __init setup_clkevents(struct atmel_tc *tc, int clk32k_divisor_idx) in setup_clkevents() argument
194 struct clk *t2_clk = tc->clk[2]; in setup_clkevents()
195 int irq = tc->irq[2]; in setup_clkevents()
197 ret = clk_prepare_enable(tc->slow_clk); in setup_clkevents()
204 clk_disable_unprepare(tc->slow_clk); in setup_clkevents()
210 clkevt.regs = tc->regs; in setup_clkevents()
220 clk_disable_unprepare(tc->slow_clk); in setup_clkevents()
231 static int __init setup_clkevents(struct atmel_tc *tc, int clk32k_divisor_idx) in setup_clkevents() argument
239 static void __init tcb_setup_dual_chan(struct atmel_tc *tc, int mck_divisor_idx) in tcb_setup_dual_chan() argument
267 static void __init tcb_setup_single_chan(struct atmel_tc *tc, int mck_divisor_idx) in tcb_setup_single_chan() argument
[all …]
/linux-4.4.14/drivers/pwm/
Dpwm-atmel-tcb.c43 struct atmel_tc *tc; member
68 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_request() local
69 void __iomem *regs = tc->regs; in atmel_tcb_pwm_request()
79 ret = clk_prepare_enable(tc->clk[group]); in atmel_tcb_pwm_request()
125 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_free() local
127 clk_disable_unprepare(tc->clk[pwm->hwpwm / 2]); in atmel_tcb_pwm_free()
136 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_disable() local
137 void __iomem *regs = tc->regs; in atmel_tcb_pwm_disable()
192 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_enable() local
193 void __iomem *regs = tc->regs; in atmel_tcb_pwm_enable()
[all …]
/linux-4.4.14/fs/ntfs/
Dlcnalloc.c415 LCN tc; in ntfs_cluster_alloc() local
421 tc = lcn + bmp_pos + 1; in ntfs_cluster_alloc()
425 (unsigned long long)tc, in ntfs_cluster_alloc()
434 if (tc >= vol->mft_zone_end) { in ntfs_cluster_alloc()
441 tc > vol->mft_zone_pos) in ntfs_cluster_alloc()
442 && tc >= vol->mft_lcn) in ntfs_cluster_alloc()
443 vol->mft_zone_pos = tc; in ntfs_cluster_alloc()
456 if (tc >= vol->nr_clusters) in ntfs_cluster_alloc()
461 tc > vol->data1_zone_pos) in ntfs_cluster_alloc()
462 && tc >= vol->mft_zone_end) in ntfs_cluster_alloc()
[all …]
Dunistr.c366 unsigned char *tc; in ntfs_ucstonls() local
368 tc = kmalloc((ns_len + 64) & in ntfs_ucstonls()
370 if (tc) { in ntfs_ucstonls()
371 memcpy(tc, ns, ns_len); in ntfs_ucstonls()
374 ns = tc; in ntfs_ucstonls()
/linux-4.4.14/drivers/input/touchscreen/
Dtsc2007.c115 static void tsc2007_read_values(struct tsc2007 *tsc, struct ts_event *tc) in tsc2007_read_values() argument
118 tc->y = tsc2007_xfer(tsc, READ_Y); in tsc2007_read_values()
121 tc->x = tsc2007_xfer(tsc, READ_X); in tsc2007_read_values()
124 tc->z1 = tsc2007_xfer(tsc, READ_Z1); in tsc2007_read_values()
125 tc->z2 = tsc2007_xfer(tsc, READ_Z2); in tsc2007_read_values()
131 static u32 tsc2007_calculate_pressure(struct tsc2007 *tsc, struct ts_event *tc) in tsc2007_calculate_pressure() argument
136 if (tc->x == MAX_12BIT) in tsc2007_calculate_pressure()
137 tc->x = 0; in tsc2007_calculate_pressure()
139 if (likely(tc->x && tc->z1)) { in tsc2007_calculate_pressure()
141 rt = tc->z2 - tc->z1; in tsc2007_calculate_pressure()
[all …]
Dtps6507x-ts.c46 struct ts_event tc; member
159 &tsc->tc.pressure); in tps6507x_ts_poll()
163 pendown = tsc->tc.pressure > tsc->min_pressure; in tps6507x_ts_poll()
182 &tsc->tc.x); in tps6507x_ts_poll()
187 &tsc->tc.y); in tps6507x_ts_poll()
191 input_report_abs(input_dev, ABS_X, tsc->tc.x); in tps6507x_ts_poll()
192 input_report_abs(input_dev, ABS_Y, tsc->tc.y); in tps6507x_ts_poll()
193 input_report_abs(input_dev, ABS_PRESSURE, tsc->tc.pressure); in tps6507x_ts_poll()
Dads7846.c90 struct ts_event tc; member
712 packet->tc.ignore = true; in ads7846_read_state()
730 packet->tc.ignore = true; in ads7846_read_state()
736 packet->tc.ignore = false; in ads7846_read_state()
761 x = *(u16 *)packet->tc.x_buf; in ads7846_report_state()
762 y = *(u16 *)packet->tc.y_buf; in ads7846_report_state()
766 x = packet->tc.x; in ads7846_report_state()
767 y = packet->tc.y; in ads7846_report_state()
768 z1 = packet->tc.z1; in ads7846_report_state()
769 z2 = packet->tc.z2; in ads7846_report_state()
[all …]
/linux-4.4.14/arch/mips/include/asm/
Dvpe.h70 struct list_head tc; member
84 struct tc { struct
89 struct list_head tc; /* The list of TC's with this VPE */ argument
117 struct tc *get_tc(int index);
119 struct tc *alloc_tc(int index);
126 void cleanup_tc(struct tc *tc);
Dmipsmtregs.h365 #define settc(tc) \ argument
367 write_c0_vpecontrol((read_c0_vpecontrol()&~VPECONTROL_TARGTC) | (tc)); \
/linux-4.4.14/arch/cris/arch-v32/drivers/
Dcryptocop.c368 static int create_pad_descriptor(struct cryptocop_tfrm_ctx *tc, struct cryptocop_dma_desc **pad_des… in create_pad_descriptor() argument
389 switch (tc->unit_no) { in create_pad_descriptor()
391 error = create_md5_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor()
398 mo.hashconf = tc->hash_conf; in create_pad_descriptor()
399 mo.hashmode = tc->hash_mode; in create_pad_descriptor()
402 error = create_sha1_pad(alloc_flag, tc->consumed, &pad, &plen); in create_pad_descriptor()
409 mo.hashconf = tc->hash_conf; in create_pad_descriptor()
410 mo.hashmode = tc->hash_mode; in create_pad_descriptor()
413 if (tc->consumed % tc->blocklength){ in create_pad_descriptor()
439 static int setup_key_dl_desc(struct cryptocop_tfrm_ctx *tc, struct cryptocop_dma_desc **kd, int all… in setup_key_dl_desc() argument
[all …]
/linux-4.4.14/include/linux/
Dtimecounter.h93 static inline void timecounter_adjtime(struct timecounter *tc, s64 delta) in timecounter_adjtime() argument
95 tc->nsec += delta; in timecounter_adjtime()
108 extern void timecounter_init(struct timecounter *tc,
120 extern u64 timecounter_read(struct timecounter *tc);
136 extern u64 timecounter_cyc2time(struct timecounter *tc,
Dtransport_class.h85 static inline int transport_container_register(struct transport_container *tc) in transport_container_register() argument
87 return attribute_container_register(&tc->ac); in transport_container_register()
90 static inline void transport_container_unregister(struct transport_container *tc) in transport_container_unregister() argument
92 if (unlikely(attribute_container_unregister(&tc->ac))) in transport_container_unregister()
Datmel_tc.h76 extern void atmel_tc_free(struct atmel_tc *tc);
Dnetdevice.h1137 int (*ndo_setup_tc)(struct net_device *dev, u8 tc);
1814 int netdev_set_prio_tc_map(struct net_device *dev, u8 prio, u8 tc) in netdev_set_prio_tc_map() argument
1816 if (tc >= dev->num_tc) in netdev_set_prio_tc_map()
1819 dev->prio_tc_map[prio & TC_BITMASK] = tc & TC_BITMASK; in netdev_set_prio_tc_map()
1832 int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset) in netdev_set_tc_queue() argument
1834 if (tc >= dev->num_tc) in netdev_set_tc_queue()
1837 dev->tc_to_txq[tc].count = count; in netdev_set_tc_queue()
1838 dev->tc_to_txq[tc].offset = offset; in netdev_set_tc_queue()
Defi.h498 typedef efi_status_t efi_get_time_t (efi_time_t *tm, efi_time_cap_t *tc);
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c110 #define PHYS_VOQ(port, tc, max_phy_tcs_pr_port) ((port) * \ argument
112 + (tc))
115 #define VOQ(port, tc, max_phy_tcs_pr_port) \ argument
116 ((tc) < \
118 tc, \
224 u8 tc, voq, port_id; in qed_cmdq_lines_rt_init() local
242 for (tc = 0; tc < phys_tcs; tc++) { in qed_cmdq_lines_rt_init()
243 voq = PHYS_VOQ(port_id, tc, in qed_cmdq_lines_rt_init()
262 u8 tc, voq, port_id; in qed_btb_blocks_rt_init() local
288 for (tc = 0; tc < phys_tcs; tc++) { in qed_btb_blocks_rt_init()
[all …]
Dqed_hw.h247 u8 tc; member
253 u8 tc; member
Dqed_hw.c761 if (p_params->core.tc == LB_TC) in qed_get_qm_pq()
767 pq_id = p_params->eth.tc; in qed_get_qm_pq()
Dqed_spq.c177 pq_params.core.tc = LB_TC; in qed_spq_hw_initialize()
Dqed_l2.c717 p_ramrod->tc = p_pq_params->eth.tc; in qed_sp_eth_txq_start_ramrod()
Dqed_cxt.c601 pq_params.core.tc = LB_TC; in qed_cm_init_pf()
Dqed_hsi.h2783 u8 tc; member
/linux-4.4.14/drivers/scsi/isci/
Drequest.c78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair()
80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair()
93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma()
97 offset = (void *) &ireq->tc->sgl_pair_cd - in to_sgl_element_pair_dma()
299 struct scu_task_context *tc = ireq->tc; in scu_ssp_ireq_dif_insert() local
303 tc->block_guard_enable = 1; in scu_ssp_ireq_dif_insert()
304 tc->blk_prot_en = 1; in scu_ssp_ireq_dif_insert()
305 tc->blk_sz = blk_sz; in scu_ssp_ireq_dif_insert()
307 tc->blk_prot_func = 0x2; in scu_ssp_ireq_dif_insert()
309 tc->transfer_length_bytes += scu_dif_bytes(tc->transfer_length_bytes, in scu_ssp_ireq_dif_insert()
[all …]
Dport.c887 struct scu_task_context *tc; in sci_port_post_dummy_request() local
890 tc = &ihost->task_context_table[ISCI_TAG_TCI(tag)]; in sci_port_post_dummy_request()
891 tc->abort = 0; in sci_port_post_dummy_request()
911 struct scu_task_context *tc; in sci_port_abort_dummy_request() local
914 tc = &ihost->task_context_table[ISCI_TAG_TCI(tag)]; in sci_port_abort_dummy_request()
915 tc->abort = 1; in sci_port_abort_dummy_request()
Drequest.h121 struct scu_task_context *tc; member
Dhost.c2288 ireq->tc = &ihost->task_context_table[i]; in sci_controller_dma_alloc()
/linux-4.4.14/tools/perf/arch/x86/util/
Dtsc.c13 struct perf_tsc_conversion *tc) in perf_read_tsc_conversion() argument
22 tc->time_mult = pc->time_mult; in perf_read_tsc_conversion()
23 tc->time_shift = pc->time_shift; in perf_read_tsc_conversion()
24 tc->time_zero = pc->time_zero; in perf_read_tsc_conversion()
Dintel-bts.c77 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_bts_info_fill() local
89 err = perf_read_tsc_conversion(pc, &tc); in intel_bts_info_fill()
94 cap_user_time_zero = tc.time_mult != 0; in intel_bts_info_fill()
102 auxtrace_info->priv[INTEL_BTS_TIME_SHIFT] = tc.time_shift; in intel_bts_info_fill()
103 auxtrace_info->priv[INTEL_BTS_TIME_MULT] = tc.time_mult; in intel_bts_info_fill()
104 auxtrace_info->priv[INTEL_BTS_TIME_ZERO] = tc.time_zero; in intel_bts_info_fill()
Dtsc.h15 struct perf_tsc_conversion *tc);
Dintel-pt.c299 struct perf_tsc_conversion tc = { .time_mult = 0, }; in intel_pt_info_fill() local
323 err = perf_read_tsc_conversion(pc, &tc); in intel_pt_info_fill()
328 cap_user_time_zero = tc.time_mult != 0; in intel_pt_info_fill()
338 auxtrace_info->priv[INTEL_PT_TIME_SHIFT] = tc.time_shift; in intel_pt_info_fill()
339 auxtrace_info->priv[INTEL_PT_TIME_MULT] = tc.time_mult; in intel_pt_info_fill()
340 auxtrace_info->priv[INTEL_PT_TIME_ZERO] = tc.time_zero; in intel_pt_info_fill()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dfw_qos.c63 struct mlx4_port_scheduler_tc_cfg_be tc[MLX4_NUM_TC]; member
127 struct mlx4_port_scheduler_tc_cfg_be *tc = &context->tc[i]; in mlx4_SET_PORT_SCHEDULER() local
133 tc->max_bw_units = in mlx4_SET_PORT_SCHEDULER()
137 tc->max_bw_units = in mlx4_SET_PORT_SCHEDULER()
140 tc->max_bw_value = htons(r); in mlx4_SET_PORT_SCHEDULER()
142 tc->max_bw_value = htons(MLX4_RATELIMIT_DEFAULT); in mlx4_SET_PORT_SCHEDULER()
143 tc->max_bw_units = htons(MLX4_RATELIMIT_1G_UNITS); in mlx4_SET_PORT_SCHEDULER()
146 tc->pg = htons(pg[i]); in mlx4_SET_PORT_SCHEDULER()
147 tc->bw_precentage = htons(tc_tx_bw[i]); in mlx4_SET_PORT_SCHEDULER()
Den_clock.c41 static cycle_t mlx4_en_read_clock(const struct cyclecounter *tc) in mlx4_en_read_clock() argument
44 container_of(tc, struct mlx4_en_dev, cycles); in mlx4_en_read_clock()
47 return mlx4_read_clock(dev) & tc->mask; in mlx4_en_read_clock()
Dfw.c1373 int ts = 0, tc = 0; in mlx4_map_cmd() local
1408 ++tc; in mlx4_map_cmd()
1429 mlx4_dbg(dev, "Mapped %d chunks/%d KB for FW\n", tc, ts); in mlx4_map_cmd()
1432 mlx4_dbg(dev, "Mapped %d chunks/%d KB for ICM aux\n", tc, ts); in mlx4_map_cmd()
1436 tc, ts, (unsigned long long) virt - (ts << 10)); in mlx4_map_cmd()
/linux-4.4.14/Documentation/cgroups/
Dnet_cls.txt7 The Traffic Controller (tc) can be used to assign
30 configuring tc:
31 tc qdisc add dev eth0 root handle 10: htb
33 tc class add dev eth0 parent 10: classid 10:1 htb rate 40mbit
36 tc filter add dev eth0 parent 10: protocol ip prio 10 handle 1: cgroup
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c533 int tc, in mlx5e_create_sq() argument
566 txq_ix = c->ix + tc * priv->params.num_channels; in mlx5e_create_sq()
572 sq->tc = tc; in mlx5e_create_sq()
621 MLX5_SET(sqc, sqc, tis_num_0, priv->tisn[sq->tc]); in mlx5e_enable_sq()
622 MLX5_SET(sqc, sqc, cqn, c->sq[sq->tc].cq.mcq.cqn); in mlx5e_enable_sq()
681 int tc, in mlx5e_open_sq() argument
687 err = mlx5e_create_sq(c, tc, param, sq); in mlx5e_open_sq()
896 int tc; in mlx5e_open_tx_cqs() local
898 for (tc = 0; tc < c->num_tc; tc++) { in mlx5e_open_tx_cqs()
899 err = mlx5e_open_cq(c, &cparam->tx_cq, &c->sq[tc].cq, in mlx5e_open_tx_cqs()
[all …]
Den_ethtool.c187 int i, j, tc, idx = 0; in mlx5e_get_strings() local
215 for (tc = 0; tc < priv->params.num_tc; tc++) in mlx5e_get_strings()
219 "tx%d_%d_%s", i, tc, in mlx5e_get_strings()
229 int i, j, tc, idx = 0; in mlx5e_get_ethtool_stats() local
253 for (tc = 0; tc < priv->params.num_tc; tc++) in mlx5e_get_ethtool_stats()
257 ((u64 *)&priv->channel[i]->sq[tc].stats)[j]; in mlx5e_get_ethtool_stats()
416 int tc; in mlx5e_set_coalesce() local
427 for (tc = 0; tc < c->num_tc; tc++) { in mlx5e_set_coalesce()
429 &c->sq[tc].cq.mcq, in mlx5e_set_coalesce()
Den_tx.c115 int tc = netdev_get_prio_tc_map(dev, up); in mlx5e_select_queue() local
117 return priv->channeltc_to_txq_map[channel_ix][tc]; in mlx5e_select_queue()
Den.h391 int tc; member
/linux-4.4.14/drivers/staging/fbtft/
Dfb_pcd8544.c35 static unsigned tc; variable
36 module_param(tc, uint, 0);
37 MODULE_PARM_DESC(tc, "TC[1:0] Temperature coefficient: 0-3 (default: 0)");
62 write_reg(par, 0x04 | (tc & 0x3)); in init_display()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dperf-time-to-tsc.c56 struct perf_tsc_conversion tc; in test__perf_time_to_tsc() local
88 ret = perf_read_tsc_conversion(pc, &tc); in test__perf_time_to_tsc()
136 test_time = tsc_to_perf_time(test_tsc, &tc); in test__perf_time_to_tsc()
137 comm1_tsc = perf_time_to_tsc(comm1_time, &tc); in test__perf_time_to_tsc()
138 comm2_tsc = perf_time_to_tsc(comm2_time, &tc); in test__perf_time_to_tsc()
/linux-4.4.14/net/mpls/
Dinternal.h11 u8 tc; member
99 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos) in mpls_entry_encode() argument
104 (tc << MPLS_LS_TC_SHIFT) | in mpls_entry_encode()
117 result.tc = (entry & MPLS_LS_TC_MASK) >> MPLS_LS_TC_SHIFT; in mpls_entry_decode()
Daf_mpls.c1035 if ((dec.bos != bos) || dec.ttl || dec.tc) in nla_get_labels()
/linux-4.4.14/drivers/net/ethernet/qlogic/qede/
Dqede_main.c714 u8 tc; in qede_has_tx_work() local
716 for (tc = 0; tc < fp->edev->num_tc; tc++) in qede_has_tx_work()
717 if (qede_txq_has_work(&fp->txqs[tc])) in qede_has_tx_work()
977 u8 tc; in qede_poll() local
979 for (tc = 0; tc < edev->num_tc; tc++) in qede_poll()
980 if (qede_txq_has_work(&fp->txqs[tc])) in qede_poll()
981 qede_tx_int(edev, &fp->txqs[tc]); in qede_poll()
1747 int tc; in qede_free_mem_fp() local
1753 for (tc = 0; tc < edev->num_tc; tc++) in qede_free_mem_fp()
1754 qede_free_mem_txq(edev, &fp->txqs[tc]); in qede_free_mem_fp()
[all …]
/linux-4.4.14/drivers/tc/
DMakefile7 obj-$(CONFIG_TC) += tc.o tc-driver.o
/linux-4.4.14/drivers/atm/
Dfirestream.c681 void *tc; in process_return_queue() local
692 tc = bus_to_virt (qe->p0); in process_return_queue()
693 fs_dprintk (FS_DEBUG_ALLOC, "Free tc: %p\n", tc); in process_return_queue()
694 kfree (tc); in process_return_queue()
863 struct fs_transmit_config *tc; in fs_open() local
944 tc = kmalloc (sizeof (struct fs_transmit_config), GFP_KERNEL); in fs_open()
946 tc, sizeof (struct fs_transmit_config)); in fs_open()
947 if (!tc) { in fs_open()
961 tc->flags = 0 in fs_open()
969 tc->flags = 0 in fs_open()
[all …]
/linux-4.4.14/net/9p/
Dtrans_virtio.c278 VIRTQUEUE_NUM, req->tc->sdata, req->tc->size); in p9_virtio_request()
287 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req->tc, in p9_virtio_request()
419 memcpy(&req->tc->sdata[req->tc->size - 4], &v, 4); in p9_virtio_zc_request()
430 memcpy(&req->tc->sdata[req->tc->size - 4], &v, 4); in p9_virtio_zc_request()
442 VIRTQUEUE_NUM, req->tc->sdata, req->tc->size); in p9_virtio_zc_request()
472 err = virtqueue_add_sgs(chan->vq, sgs, out_sgs, in_sgs, req->tc, in p9_virtio_zc_request()
Dclient.c261 c->reqs[row][col].tc = NULL; in p9_tag_alloc()
278 if (!req->tc) in p9_tag_alloc()
279 req->tc = p9_fcall_alloc(alloc_msize); in p9_tag_alloc()
282 if (!req->tc || !req->rc) in p9_tag_alloc()
285 p9pdu_reset(req->tc); in p9_tag_alloc()
288 req->tc->tag = tag-1; in p9_tag_alloc()
295 kfree(req->tc); in p9_tag_alloc()
298 req->tc = req->rc = NULL; in p9_tag_alloc()
388 kfree(c->reqs[row][col].tc); in p9_tag_cleanup()
405 int tag = r->tc->tag; in p9_free_req()
[all …]
Dtrans_rdma.c332 c->busa, c->req->tc->size, in handle_send()
495 c->req->tc->sdata, c->req->tc->size, in rdma_request()
503 sge.length = c->req->tc->size; in rdma_request()
Dtrans_fd.c472 m->wbuf = req->tc->sdata; in p9_write_work()
473 m->wsize = req->tc->size; in p9_write_work()
667 m, current, req->tc, req->tc->id); in p9_fd_request()
/linux-4.4.14/net/sched/
Dsch_mqprio.c303 struct netdev_tc_txq tc = dev->tc_to_txq[i]; in mqprio_dump_class() local
306 if (q_idx > tc.offset && in mqprio_dump_class()
307 q_idx <= tc.offset + tc.count) { in mqprio_dump_class()
333 struct netdev_tc_txq tc = dev->tc_to_txq[cl - 1]; in mqprio_dump_class_stats() local
342 for (i = tc.offset; i < tc.offset + tc.count; i++) { in mqprio_dump_class_stats()
DKconfig25 from the package iproute2+tc at
/linux-4.4.14/net/6lowpan/
Diphc.c646 u8 tc = lowpan_iphc_get_tc(hdr), tf[4], val; in lowpan_iphc_tf_compress() local
649 pr_debug("tc 0x%02x\n", tc); in lowpan_iphc_tf_compress()
652 if (!tc) { in lowpan_iphc_tf_compress()
663 lowpan_push_hc_data(hc_ptr, &tc, sizeof(tc)); in lowpan_iphc_tf_compress()
668 if (!(tc & 0x3f)) { in lowpan_iphc_tf_compress()
681 tf[0] |= (tc & 0xc0); in lowpan_iphc_tf_compress()
694 memcpy(&tf[0], &tc, sizeof(tc)); in lowpan_iphc_tf_compress()
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_sqp.c130 u32 tc:8; member
138 u32 tc:8; member
194 tcslfl->tc = vertcfl->tc; in ehca_process_perf()
/linux-4.4.14/Documentation/devicetree/bindings/pwm/
Datmel-tcb-pwm.txt8 - tc-block: The Timer Counter block to use as a PWM chip.
15 tc-block = <1>;
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_ptp.c150 timecounter_read(&fep->tc); in fec_ptp_enable_pps()
164 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
286 timecounter_init(&fep->tc, &fep->cc, ktime_to_ns(ktime_get_real())); in fec_ptp_start_cyclecounter()
357 timecounter_read(&fep->tc); in fec_ptp_adjfreq()
378 timecounter_adjtime(&fep->tc, delta); in fec_ptp_adjtime()
400 ns = timecounter_read(&adapter->tc); in fec_ptp_gettime()
441 timecounter_init(&fep->tc, &fep->cc, ns); in fec_ptp_settime()
544 ns = timecounter_read(&fep->tc); in fec_time_keep()
Dfec.h533 struct timecounter tc; member
Dfec_main.c1190 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
/linux-4.4.14/Documentation/networking/
Dmultiqueue.txt51 The userspace command 'tc,' part of the iproute2 package, is used to configure
55 # tc qdisc add dev eth0 root handle 1: multiq
69 The behavior of tc filters remains the same. However a new tc action,
74 tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
Dtc-actions-env-rules.txt2 The "environmental" rules for authors of any new tc actions are:
D00-INDEX203 tc-actions-env-rules.txt
204 - rules for traffic control (tc) actions.
Dipddp.txt72 <johns393@maroon.tc.umn.edu> originally wrote the ipddp.c driver for IP
Dvrf.txt44 VRF as a whole.[1] Similiarly, netfilter [2] and tc rules can be applied
Dstmmac.txt34 tc: control the HW FIFO threshold;
Dbonding.txt1634 These queue id's can be used in conjunction with the tc utility to configure
1640 # tc qdisc add dev bond0 handle 1 root multiq
1642 # tc filter add dev bond0 protocol ip parent 1: prio 1 u32 match ip dst \
1654 driver that is now present. This awareness allows tc filters to be placed on
Dpacket_mmap.txt999 packet are not buffered, tc disciplines are ignored, increased loss can occur
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c609 u8 i, tc, err; in i40e_cee_to_dcb_v1_config() local
615 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_v1_config()
618 dcbcfg->etscfg.prioritytable[i*2] = tc; in i40e_cee_to_dcb_v1_config()
619 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_v1_config()
622 dcbcfg->etscfg.prioritytable[i*2 + 1] = tc; in i40e_cee_to_dcb_v1_config()
687 u8 i, tc, err, sync, oper; in i40e_cee_to_dcb_config() local
696 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_config()
699 dcbcfg->etscfg.prioritytable[i * 2] = tc; in i40e_cee_to_dcb_config()
700 tc = (u8)((cee_cfg->oper_prio_tc[i] & in i40e_cee_to_dcb_config()
703 dcbcfg->etscfg.prioritytable[i * 2 + 1] = tc; in i40e_cee_to_dcb_config()
Di40e_fcoe.c339 u8 tc, i; in i40e_get_fcoe_tc_map() local
347 tc = dcbcfg->etscfg.prioritytable[app.priority]; in i40e_get_fcoe_tc_map()
348 enabled_tc |= BIT(tc); in i40e_get_fcoe_tc_map()
Di40e.h775 int i40e_setup_tc(struct net_device *netdev, u8 tc);
Di40e_main.c834 u8 tc; in i40e_update_prio_xoff_rx() local
856 tc = dcb_cfg->etscfg.prioritytable[i]; in i40e_update_prio_xoff_rx()
857 xoff[tc] = true; in i40e_update_prio_xoff_rx()
4435 u8 tc, i; in i40e_get_iscsi_tc_map() local
4443 tc = dcbcfg->etscfg.prioritytable[app.priority]; in i40e_get_iscsi_tc_map()
4444 enabled_tc |= BIT_ULL(tc); in i40e_get_iscsi_tc_map()
5211 int i40e_setup_tc(struct net_device *netdev, u8 tc) in i40e_setup_tc() argument
5213 static int i40e_setup_tc(struct net_device *netdev, u8 tc) in i40e_setup_tc()
5236 if (tc > i40e_pf_get_num_tc(pf)) { in i40e_setup_tc()
5242 for (i = 0; i < tc; i++) in i40e_setup_tc()
/linux-4.4.14/drivers/s390/block/
Ddasd_eer.c589 int tc,rc; in dasd_eer_read() local
611 tc = 0; in dasd_eer_read()
612 while (!tc) { in dasd_eer_read()
613 tc = dasd_eer_read_buffer(eerb, (char *) &tailcount, in dasd_eer_read()
615 if (!tc) { in dasd_eer_read()
631 WARN_ON(tc != sizeof(tailcount)); in dasd_eer_read()
636 tc = dasd_eer_read_buffer(eerb, readbuffer, effective_count); in dasd_eer_read()
637 WARN_ON(tc != effective_count); in dasd_eer_read()
/linux-4.4.14/arch/m68k/kernel/
Drelocate_kernel.S33 pmove %tc,%d0 /* Disable MMU */
35 pmove %d0,%tc
67 movec %d0,%tc /* Disable MMU */
Dhead.S2469 movec %d0,%tc /* enable the MMU */
2496 pmove %a0@(8),%tc /* enable the MMU */
/linux-4.4.14/drivers/net/ethernet/ti/
Dcpts.c149 timecounter_read(&cpts->tc); in cpts_ptp_adjfreq()
164 timecounter_adjtime(&cpts->tc, delta); in cpts_ptp_adjtime()
177 ns = timecounter_read(&cpts->tc); in cpts_ptp_gettime()
195 timecounter_init(&cpts->tc, &cpts->cc, ns); in cpts_ptp_settime()
312 ns = timecounter_cyc2time(&cpts->tc, event->low); in cpts_find_ts()
387 timecounter_init(&cpts->tc, &cpts->cc, ktime_to_ns(ktime_get_real())); in cpts_register()
Dcpts.h120 struct timecounter tc; member
/linux-4.4.14/Documentation/devicetree/bindings/media/xilinx/
Dxlnx,v-tc.txt9 - compatible: Must be "xlnx,v-tc-6.1".
28 compatible = "xlnx,v-tc-6.1";
/linux-4.4.14/include/scsi/
Dscsi_transport.h84 #define transport_class_to_shost(tc) \ argument
85 dev_to_shost((tc)->parent)
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dptp.c95 timecounter_adjtime(&adapter->tc, delta); in e1000e_phc_adjtime()
117 ns = timecounter_read(&adapter->tc); in e1000e_phc_gettime()
145 timecounter_init(&adapter->tc, &adapter->cc, ns); in e1000e_phc_settime()
De1000.h346 struct timecounter tc; member
Dnetdev.c519 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp()
3742 timecounter_init(&adapter->tc, &adapter->cc, in e1000e_config_hwtstamp()
/linux-4.4.14/Documentation/devicetree/bindings/rtc/
Dabracon,abx80x.txt28 - "abracon,tc-diode": should be "standard" (0.6V) or "schottky" (0.3V)
29 - "abracon,tc-resistor": should be <0>, <3>, <6> or <11>. 0 disables the output
/linux-4.4.14/drivers/xen/
Defi.c41 static efi_status_t xen_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc) in xen_efi_get_time() argument
53 if (tc) { in xen_efi_get_time()
54 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time()
55 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time()
56 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time()
/linux-4.4.14/drivers/scsi/
Draid_class.c48 struct transport_container *tc = \
50 tc_to_raid_internal(tc); \
80 static int raid_setup(struct transport_container *tc, struct device *dev, in raid_setup() argument
97 static int raid_remove(struct transport_container *tc, struct device *dev, in raid_remove() argument
Dscsi_transport_spi.c182 static int spi_host_setup(struct transport_container *tc, struct device *dev, in spi_host_setup() argument
192 static int spi_host_configure(struct transport_container *tc,
218 static int spi_target_configure(struct transport_container *tc,
222 static int spi_device_configure(struct transport_container *tc, in spi_device_configure() argument
249 static int spi_setup_transport_attrs(struct transport_container *tc, in spi_setup_transport_attrs() argument
1437 static int spi_host_configure(struct transport_container *tc, in spi_host_configure() argument
1548 static int spi_target_configure(struct transport_container *tc, in spi_target_configure() argument
Dinitio.c2698 struct target_control *tc; in i91u_biosparam() local
2701 tc = &host->targets[sdev->id]; in i91u_biosparam()
2703 if (tc->heads) { in i91u_biosparam()
2704 info_array[0] = tc->heads; in i91u_biosparam()
2705 info_array[1] = tc->sectors; in i91u_biosparam()
2706 info_array[2] = (unsigned long)capacity / tc->heads / tc->sectors; in i91u_biosparam()
2708 if (tc->drv_flags & TCF_DRV_255_63) { in i91u_biosparam()
Dscsi_transport_sas.c280 static int sas_host_setup(struct transport_container *tc, struct device *dev, in sas_host_setup() argument
299 static int sas_host_remove(struct transport_container *tc, struct device *dev, in sas_host_remove() argument
657 static int sas_phy_setup(struct transport_container *tc, struct device *dev, in sas_phy_setup() argument
Dscsi_transport_srp.c102 static int srp_host_setup(struct transport_container *tc, struct device *dev, in srp_host_setup() argument
Dscsi_transport_fc.c354 static int fc_target_setup(struct transport_container *tc, struct device *dev, in fc_target_setup() argument
384 static int fc_host_setup(struct transport_container *tc, struct device *dev, in fc_host_setup() argument
465 static int fc_host_remove(struct transport_container *tc, struct device *dev, in fc_host_remove() argument
Dscsi_transport_iscsi.c1564 static int iscsi_setup_host(struct transport_container *tc, struct device *dev, in iscsi_setup_host() argument
1580 static int iscsi_remove_host(struct transport_container *tc, in iscsi_remove_host() argument
DKconfig696 This is equivalent to the "eata=tc:y" boot option.
1415 This is equivalent to the "u14-34f=tc:y" boot option.
/linux-4.4.14/arch/ia64/hp/sim/boot/
Dfw-emu.c111 fw_efi_get_time (efi_time_t *tm, efi_time_cap_t *tc) in fw_efi_get_time() argument
124 if (tc) in fw_efi_get_time()
125 memset(tc, 0, sizeof(*tc)); in fw_efi_get_time()
/linux-4.4.14/drivers/ide/
Dau1xxx-ide.c237 unsigned int tc = (cur_len < 0xfe00)? cur_len: 0xfe00; in auide_build_dmatable() local
253 sg_phys(sg), tc, flags)) { in auide_build_dmatable()
259 sg_phys(sg), tc, flags)) { in auide_build_dmatable()
265 cur_addr += tc; in auide_build_dmatable()
266 cur_len -= tc; in auide_build_dmatable()
Dpmac.c1493 unsigned int tc = (cur_len < 0xfe00)? cur_len: 0xfe00; in pmac_ide_build_dmatable() local
1501 table->req_count = cpu_to_le16(tc); in pmac_ide_build_dmatable()
1506 cur_addr += tc; in pmac_ide_build_dmatable()
1507 cur_len -= tc; in pmac_ide_build_dmatable()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_inline.h133 struct qla_tgt_cmd *tc) in qla2x00_clean_dsd_pool() argument
140 else if (tc) in qla2x00_clean_dsd_pool()
141 ctx = (struct crc_context *)tc->ctx; in qla2x00_clean_dsd_pool()
Dqla_iocb.c909 uint32_t *dsd, uint16_t tot_dsds, struct qla_tgt_cmd *tc) in qla24xx_walk_and_build_sglist_no_difb() argument
936 } else if (tc) { in qla24xx_walk_and_build_sglist_no_difb()
937 prot_int = tc->blk_sz; in qla24xx_walk_and_build_sglist_no_difb()
938 sgx.tot_bytes = tc->bufflen; in qla24xx_walk_and_build_sglist_no_difb()
939 sgx.cur_sg = tc->sg; in qla24xx_walk_and_build_sglist_no_difb()
940 sg_prot = tc->prot_sg; in qla24xx_walk_and_build_sglist_no_difb()
985 &(tc->ctx->dsd_list)); in qla24xx_walk_and_build_sglist_no_difb()
986 tc->ctx_dsd_alloced = 1; in qla24xx_walk_and_build_sglist_no_difb()
1025 uint16_t tot_dsds, struct qla_tgt_cmd *tc) in qla24xx_walk_and_build_sglist() argument
1040 } else if (tc) { in qla24xx_walk_and_build_sglist()
[all …]
Dqla_init.c1523 void *tc; in qla2x00_alloc_fw_dump() local
1585 tc = dma_zalloc_coherent(&ha->pdev->dev, FCE_SIZE, &tc_dma, in qla2x00_alloc_fw_dump()
1587 if (!tc) { in qla2x00_alloc_fw_dump()
1599 dma_free_coherent(&ha->pdev->dev, FCE_SIZE, tc, in qla2x00_alloc_fw_dump()
1610 ha->fce = tc; in qla2x00_alloc_fw_dump()
1618 tc = dma_zalloc_coherent(&ha->pdev->dev, EFT_SIZE, &tc_dma, in qla2x00_alloc_fw_dump()
1620 if (!tc) { in qla2x00_alloc_fw_dump()
1631 dma_free_coherent(&ha->pdev->dev, EFT_SIZE, tc, in qla2x00_alloc_fw_dump()
1640 ha->eft = tc; in qla2x00_alloc_fw_dump()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dservice.c347 struct ptlrpc_service_thr_conf *tc = &conf->psc_thr; in ptlrpc_server_nthreads_check() local
363 init = max_t(int, init, tc->tc_nthrs_init); in ptlrpc_server_nthreads_check()
367 LASSERT(tc->tc_nthrs_max != 0); in ptlrpc_server_nthreads_check()
369 if (tc->tc_nthrs_user != 0) { in ptlrpc_server_nthreads_check()
373 total = min(tc->tc_nthrs_max * 8, tc->tc_nthrs_user); in ptlrpc_server_nthreads_check()
379 total = tc->tc_nthrs_max; in ptlrpc_server_nthreads_check()
380 if (tc->tc_nthrs_base == 0) { in ptlrpc_server_nthreads_check()
387 nthrs = tc->tc_nthrs_base; in ptlrpc_server_nthreads_check()
396 (tc->tc_nthrs_base >> i) != 0; i++) in ptlrpc_server_nthreads_check()
397 nthrs += tc->tc_nthrs_base >> i; in ptlrpc_server_nthreads_check()
[all …]
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c661 u8 i, tc, pgid; in qlcnic_dcb_fill_cee_tc_params() local
664 tc = QLC_DCB_GET_TC_PRIO(mbx->prio_tc_map, i); in qlcnic_dcb_fill_cee_tc_params()
665 tc_cfg = &type->tc_cfg[tc]; in qlcnic_dcb_fill_cee_tc_params()
793 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, in qlcnic_dcb_get_pg_tc_cfg_tx() argument
808 if (tc < 0 || (tc >= QLC_DCB_MAX_TC)) in qlcnic_dcb_get_pg_tc_cfg_tx()
811 tc_cfg = &type->tc_cfg[tc]; in qlcnic_dcb_get_pg_tc_cfg_tx()
1101 struct qlcnic_dcb_tc_cfg *tc; in qlcnic_dcb_cee_peer_get_pfc() local
1113 tc = &peer->tc_cfg[i]; in qlcnic_dcb_cee_peer_get_pfc()
1114 prio = qlcnic_dcb_prio_count(tc->up_tc_map); in qlcnic_dcb_cee_peer_get_pfc()
/linux-4.4.14/tools/testing/selftests/ftrace/
Dftracetest41 echo `find $1 -name \*.tc | sort`
65 *.tc)
DREADME17 # ./ftracetest test.d/basic3.tc
26 Copy test.d/template to your testcase (whose filename must have *.tc
/linux-4.4.14/sound/hda/
Dhdac_stream.c478 struct timecounter *tc = &azx_dev->tc; in azx_timecounter_init() local
499 timecounter_init(tc, cc, nsec); in azx_timecounter_init()
505 tc->cycle_last = last; in azx_timecounter_init()
534 cycle_last = s->tc.cycle_last; in snd_hdac_stream_timecounter_init()
/linux-4.4.14/arch/mips/dec/
DMakefile8 obj-$(CONFIG_TC) += tc.o
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c416 static void cxgb4_getpgtccfg(struct net_device *dev, int tc, in cxgb4_getpgtccfg() argument
438 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; in cxgb4_getpgtccfg()
453 *up_tc_map = (1 << tc); in cxgb4_getpgtccfg()
460 static void cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_tx() argument
465 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_tx()
470 static void cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, in cxgb4_getpgtccfg_rx() argument
475 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_rx()
479 static void cxgb4_setpgtccfg_tx(struct net_device *dev, int tc, in cxgb4_setpgtccfg_tx() argument
486 int fw_tc = 7 - tc; in cxgb4_setpgtccfg_tx()
Dcxgb4.h1372 unsigned int rxqi, unsigned int rxq, unsigned int tc,
Dt4_hw.c6362 unsigned int rxqi, unsigned int rxq, unsigned int tc, in t4_cfg_pfvf() argument
6378 c.tc_to_nexactf = cpu_to_be32(FW_PFVF_CMD_TC_V(tc) | in t4_cfg_pfvf()
/linux-4.4.14/drivers/dma/
Dedma.c214 struct edma_tc *tc; member
852 if (!echan->tc && echan->edesc->cyclic) in edma_terminate_all()
1356 if (!echan->tc) in edma_prep_dma_cyclic()
1563 static void edma_tc_set_pm_state(struct edma_tc *tc, bool enable) in edma_tc_set_pm_state() argument
1568 if (!IS_ENABLED(CONFIG_OF) || !tc) in edma_tc_set_pm_state()
1571 tc_pdev = of_find_device_by_node(tc->node); in edma_tc_set_pm_state()
1598 if (echan->tc) { in edma_alloc_chan_resources()
1599 eventq_no = echan->tc->id; in edma_alloc_chan_resources()
1602 echan->tc = &ecc->tc_list[ecc->info->default_queue]; in edma_alloc_chan_resources()
1603 eventq_no = echan->tc->id; in edma_alloc_chan_resources()
[all …]
Dzx296702_dma.c279 u32 tc = readl_relaxed(d->base + REG_ZX_TC_IRQ); in zx_dma_int_handler() local
285 while (tc) { in zx_dma_int_handler()
286 i = __ffs(tc); in zx_dma_int_handler()
287 tc &= ~BIT(i); in zx_dma_int_handler()
Damba-pl08x.c1811 u32 mask = 0, err, tc, i; in pl08x_irq() local
1820 tc = readl(pl08x->base + PL080_TC_STATUS); in pl08x_irq()
1821 if (tc) in pl08x_irq()
1822 writel(tc, pl08x->base + PL080_TC_CLEAR); in pl08x_irq()
1824 if (!err && !tc) in pl08x_irq()
1828 if (((1 << i) & err) || ((1 << i) & tc)) { in pl08x_irq()
Ds3c24xx-dma.c382 u32 tc = readl(phy->base + S3C24XX_DSTAT) & S3C24XX_DSTAT_CURRTC_MASK; in s3c24xx_dma_getbytes_chan() local
384 return tc * txd->width; in s3c24xx_dma_getbytes_chan()
/linux-4.4.14/drivers/tty/vt/
Dvt.c2181 int c, tc, ok, n = 0, draw_x = -1; in do_con_write() local
2234 tc = c; in do_con_write()
2305 tc = c; in do_con_write()
2307 tc = vc_translate(vc, c); in do_con_write()
2310 param.c = tc; in do_con_write()
2325 ok = tc && (c >= 32 || in do_con_write()
2337 tc = conv_uni_to_pc(vc, tc); in do_con_write()
2338 if (tc & ~charmask) { in do_con_write()
2339 if (tc == -1 || tc == -2) { in do_con_write()
2349 tc = c; in do_con_write()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dswsusp_asm64.S81 .tc swsusp_save_area[TC],swsusp_save_area
83 .tc restore_pblist[TC],restore_pblist
Dvector.S315 .tc FD_0_0[TC],0
317 .tc FD_3ff00000_0[TC],0x3ff0000000000000 /* 1.0 */
319 .tc FD_3fe00000_0[TC],0x3fe0000000000000 /* 0.5 */
Dentry_64.S45 .tc sys_call_table[TC],sys_call_table
49 .tc ID_EXC_MARKER[TC],STACK_FRAME_REGS_MARKER
Dmisc_64.S57 .tc ppc64_caches[TC],ppc64_caches
Dhead_64.S171 .tc ID_72656773_68657265[TC],0x7265677368657265
Dexceptions-64e.S507 .tc ID_EXC_MARKER[TC],STACK_FRAME_REGS_MARKER
/linux-4.4.14/drivers/firmware/efi/
Druntime-wrappers.c98 static efi_status_t virt_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc) in virt_efi_get_time() argument
105 status = efi_call_virt(get_time, tm, tc); in virt_efi_get_time()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dtx.c570 unsigned tc; in efx_setup_tc() local
579 for (tc = 0; tc < num_tc; tc++) { in efx_setup_tc()
580 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; in efx_setup_tc()
581 net_dev->tc_to_txq[tc].count = efx->n_tx_channels; in efx_setup_tc()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ptp.c180 ns = timecounter_cyc2time(&adapter->tc, systim); in igb_ptp_systim_to_hwtstamp()
262 timecounter_adjtime(&igb->tc, delta); in igb_ptp_adjtime_82576()
296 ns = timecounter_read(&igb->tc); in igb_ptp_gettime_82576()
333 timecounter_init(&igb->tc, &igb->cc, ns); in igb_ptp_settime_82576()
1095 timecounter_init(&adapter->tc, &adapter->cc, in igb_ptp_init()
1209 timecounter_init(&adapter->tc, &adapter->cc, in igb_ptp_reset()
Digb.h441 struct timecounter tc; member
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c92 static int tc = TC_DEFAULT; variable
93 module_param(tc, int, S_IRUGO | S_IWUSR);
94 MODULE_PARM_DESC(tc, "DMA threshold control value");
1294 priv->hw->dma->dma_mode(priv->ioaddr, tc, tc, rxfifosz); in stmmac_dma_operation_mode()
1307 priv->hw->dma->dma_mode(priv->ioaddr, tc, SF_DMA_MODE, in stmmac_dma_operation_mode()
1472 (tc <= 256)) { in stmmac_dma_interrupt()
1473 tc += 64; in stmmac_dma_interrupt()
1475 priv->hw->dma->dma_mode(priv->ioaddr, tc, tc, in stmmac_dma_interrupt()
1478 priv->hw->dma->dma_mode(priv->ioaddr, tc, in stmmac_dma_interrupt()
1480 priv->xstats.threshold = tc; in stmmac_dma_interrupt()
[all …]
/linux-4.4.14/kernel/trace/
Dblktrace.c1052 int tc = t->action >> BLK_TC_SHIFT; in fill_rwbs() local
1059 if (tc & BLK_TC_FLUSH) in fill_rwbs()
1062 if (tc & BLK_TC_DISCARD) in fill_rwbs()
1064 else if (tc & BLK_TC_WRITE) in fill_rwbs()
1071 if (tc & BLK_TC_FUA) in fill_rwbs()
1073 if (tc & BLK_TC_AHEAD) in fill_rwbs()
1075 if (tc & BLK_TC_SYNC) in fill_rwbs()
1077 if (tc & BLK_TC_META) in fill_rwbs()
/linux-4.4.14/drivers/ata/
Dpata_mpc52xx.c462 unsigned int tc = min(cur_len, MAX_DMA_BUFFER_SIZE); in mpc52xx_ata_build_dmatable() local
467 bd->status = tc; in mpc52xx_ata_build_dmatable()
472 bd->status = tc; in mpc52xx_ata_build_dmatable()
480 cur_addr += tc; in mpc52xx_ata_build_dmatable()
481 cur_len -= tc; in mpc52xx_ata_build_dmatable()
/linux-4.4.14/net/ipv6/
Ddatagram.c916 int tc; in ip6_datagram_send_ctl() local
922 tc = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
923 if (tc < -1 || tc > 0xff) in ip6_datagram_send_ctl()
927 *tclass = tc; in ip6_datagram_send_ctl()
/linux-4.4.14/include/linux/qed/
Dqed_if.h424 #define TX_PI(tc) (RX_PI + 1 + tc) argument
/linux-4.4.14/sound/pci/rme9652/
Dhdspm.c4113 unsigned int tc[4] = { 0, 0, 0, 0}; in hdspm_tco_write() local
4117 tc[2] |= HDSPM_TCO2_set_input_MSB; in hdspm_tco_write()
4120 tc[2] |= HDSPM_TCO2_set_input_LSB; in hdspm_tco_write()
4128 tc[1] |= HDSPM_TCO1_LTC_Format_LSB; in hdspm_tco_write()
4131 tc[1] |= HDSPM_TCO1_LTC_Format_MSB; in hdspm_tco_write()
4134 tc[1] |= HDSPM_TCO1_LTC_Format_MSB + in hdspm_tco_write()
4138 tc[1] |= HDSPM_TCO1_LTC_Format_LSB + in hdspm_tco_write()
4142 tc[1] |= HDSPM_TCO1_LTC_Format_LSB + in hdspm_tco_write()
4152 tc[2] |= HDSPM_TCO2_WCK_IO_ratio_LSB; in hdspm_tco_write()
4155 tc[2] |= HDSPM_TCO2_WCK_IO_ratio_MSB; in hdspm_tco_write()
[all …]
/linux-4.4.14/arch/s390/include/asm/
Detr.h89 unsigned int tc : 4; /* ETR type code */ member
/linux-4.4.14/drivers/base/
Dtransport_class.c68 static int anon_transport_dummy_function(struct transport_container *tc, in anon_transport_dummy_function() argument
/linux-4.4.14/arch/arm/boot/dts/
Dat91-kizbox.dts143 tc-block = <1>;
/linux-4.4.14/arch/powerpc/lib/
Dcopypage_64.S16 .tc ppc64_caches[TC],ppc64_caches
Dstring_64.S26 .tc ppc64_caches[TC],ppc64_caches
/linux-4.4.14/arch/ia64/kernel/
Dmca_drv.c402 if (psp->tc || psp->cc || psp->rc || psp->uc) in is_mca_global()
679 if (psp->tc && !(psp->cc || psp->bc || psp->rc || psp->uc)) in recover_from_processor_error()
Defi.c63 prefix##_get_time (efi_time_t *tm, efi_time_cap_t *tc) \
69 if (tc) \
70 atc = adjust_arg(tc); \
/linux-4.4.14/include/net/9p/
Dclient.h116 struct p9_fcall *tc; member
/linux-4.4.14/arch/mips/pci/
Dops-tx3927.c189 tx3927_pcicptr->tc = TX3927_PCIC_TC_OF8E | TX3927_PCIC_TC_IF8E; in tx3927_pcic_setup()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c1339 unsigned int tc, prio; in xgbe_config_dcb_pfc() local
1344 for (tc = 0; tc < pdata->hw_feat.tc_cnt; tc++) { in xgbe_config_dcb_pfc()
1348 (ets->prio_tc[prio] == tc)) in xgbe_config_dcb_pfc()
1354 tc, mask); in xgbe_config_dcb_pfc()
1355 reg = MTL_TCPM0R + (MTL_TCPM_INC * (tc / MTL_TCPM_TC_PER_REG)); in xgbe_config_dcb_pfc()
1358 reg_val &= ~(0xff << ((tc % MTL_TCPM_TC_PER_REG) << 3)); in xgbe_config_dcb_pfc()
1359 reg_val |= (mask << ((tc % MTL_TCPM_TC_PER_REG) << 3)); in xgbe_config_dcb_pfc()
Dxgbe-drv.c1629 static int xgbe_setup_tc(struct net_device *netdev, u8 tc) in xgbe_setup_tc() argument
1635 if (tc && (tc != pdata->hw_feat.tc_cnt)) in xgbe_setup_tc()
1638 if (tc) { in xgbe_setup_tc()
1639 netdev_set_num_tc(netdev, tc); in xgbe_setup_tc()
1640 for (i = 0, queue = 0, offset = 0; i < tc; i++) { in xgbe_setup_tc()
/linux-4.4.14/Documentation/arm/OMAP/
Domap_pm88 (*pdata->set_max_mpu_wakeup_lat)(dev, tc);
94 /* total wakeup latency in this example: (tc + td) */
/linux-4.4.14/arch/x86/platform/efi/
Defi_64.c394 static efi_status_t efi_thunk_get_time(efi_time_t *tm, efi_time_cap_t *tc) in efi_thunk_get_time() argument
402 phys_tc = virt_to_phys(tc); in efi_thunk_get_time()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h209 unsigned int tc; /* PCI-E traffic class */ member
Dt4vf_hw.c807 vfres->tc = FW_PFVF_CMD_TC_G(word); in t4vf_get_vfres()
Dcxgb4vf_main.c2043 S("Traffic Class", "%d", tc); in resources_show()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c1151 int fm10k_setup_tc(struct net_device *dev, u8 tc) in fm10k_setup_tc() argument
1156 if (tc && (interface->hw.mac.type != fm10k_mac_pf)) in fm10k_setup_tc()
1160 if (tc > 8) in fm10k_setup_tc()
1176 netdev_set_num_tc(dev, tc); in fm10k_setup_tc()
Dfm10k.h498 int fm10k_setup_tc(struct net_device *dev, u8 tc);
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-vid-cap.c212 struct v4l2_timecode *tc = &vbuf->timecode; in vid_cap_buf_finish() local
226 tc->type = (fps == 30) ? V4L2_TC_TYPE_30FPS : V4L2_TC_TYPE_25FPS; in vid_cap_buf_finish()
227 tc->flags = 0; in vid_cap_buf_finish()
228 tc->frames = seq % fps; in vid_cap_buf_finish()
229 tc->seconds = (seq / fps) % 60; in vid_cap_buf_finish()
230 tc->minutes = (seq / (60 * fps)) % 60; in vid_cap_buf_finish()
231 tc->hours = (seq / (60 * 60 * fps)) % 24; in vid_cap_buf_finish()
/linux-4.4.14/arch/mips/include/asm/txx9/
Dtx3927.h98 volatile unsigned long tc; /* +90 */ member
/linux-4.4.14/drivers/
DMakefile95 obj-$(CONFIG_TC) += tc/
/linux-4.4.14/drivers/video/fbdev/
Dpmag-ba-fb.c265 MODULE_DEVICE_TABLE(tc, pmagbafb_tc_table);
Dpmagb-b-fb.c383 MODULE_DEVICE_TABLE(tc, pmagbbfb_tc_table);
Dtgafb.c130 MODULE_DEVICE_TABLE(tc, tgafb_tc_table);
/linux-4.4.14/drivers/md/bcache/
Dsuper.c1901 struct cache_set *c, *tc; in bch_is_open_backing() local
1904 list_for_each_entry_safe(c, tc, &bch_cache_sets, list) in bch_is_open_backing()
1915 struct cache_set *c, *tc; in bch_is_open_cache() local
1919 list_for_each_entry_safe(c, tc, &bch_cache_sets, list) in bch_is_open_cache()
2015 struct cache_set *c, *tc; in bcache_reboot() local
2026 list_for_each_entry_safe(c, tc, &bch_cache_sets, list) in bcache_reboot()
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_cmd.c665 int ts = 0, tc = 0; in mthca_map_cmd() local
700 ++tc; in mthca_map_cmd()
718 mthca_dbg(dev, "Mapped %d chunks/%d KB for FW.\n", tc, ts); in mthca_map_cmd()
721 mthca_dbg(dev, "Mapped %d chunks/%d KB for ICM aux.\n", tc, ts); in mthca_map_cmd()
725 tc, ts, (unsigned long long) virt - (ts << 10)); in mthca_map_cmd()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-ioctl.c440 const struct v4l2_timecode *tc = &p->timecode; in v4l_print_buffer() local
472 tc->hours, tc->minutes, tc->seconds, in v4l_print_buffer()
473 tc->type, tc->flags, tc->frames, *(__u32 *)tc->userbits); in v4l_print_buffer()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c152 u8 tc; member
/linux-4.4.14/sound/soc/
Dsoc-topology.c645 struct snd_kcontrol_new *kc, struct snd_soc_tplg_ctl_hdr *tc) in soc_tplg_create_tlv() argument
649 if (!(tc->access & SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE)) in soc_tplg_create_tlv()
652 if (!(tc->access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK)) { in soc_tplg_create_tlv()
653 tplg_tlv = &tc->tlv; in soc_tplg_create_tlv()
/linux-4.4.14/net/core/
Ddev.c1909 struct netdev_tc_txq *tc = &dev->tc_to_txq[0]; in netif_setup_tc() local
1912 if (tc->offset + tc->count > txq) { in netif_setup_tc()
1922 tc = &dev->tc_to_txq[q]; in netif_setup_tc()
1923 if (tc->offset + tc->count > txq) { in netif_setup_tc()
2393 u8 tc = netdev_get_prio_tc_map(dev, skb->priority); in __skb_tx_hash() local
2394 qoffset = dev->tc_to_txq[tc].offset; in __skb_tx_hash()
2395 qcount = dev->tc_to_txq[tc].count; in __skb_tx_hash()
/linux-4.4.14/drivers/net/hamradio/
Dscc.c718 static inline void set_brg(struct scc_channel *scc, unsigned int tc) in set_brg() argument
721 wr(scc,R12,tc & 255); /* brg rate LOW */ in set_brg()
722 wr(scc,R13,tc >> 8); /* brg rate HIGH */ in set_brg()
/linux-4.4.14/include/sound/
Dhdaudio.h424 struct timecounter tc; member
/linux-4.4.14/Documentation/laptops/
Dsonypi.txt144 - some models with the nvidia card (geforce go 6200 tc) uses a
/linux-4.4.14/arch/ia64/include/asm/
Dpal.h479 tc : 1, /* TLB check */ member
680 #define pmci_proc_tlb_check pme_processor.tc
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5283 static int bnxt_setup_tc(struct net_device *dev, u8 tc) in bnxt_setup_tc() argument
5287 if (tc > bp->max_tc) { in bnxt_setup_tc()
5289 tc, bp->max_tc); in bnxt_setup_tc()
5293 if (netdev_get_num_tc(dev) == tc) in bnxt_setup_tc()
5296 if (tc) { in bnxt_setup_tc()
5300 if (bp->tx_nr_rings_per_tc * tc > max_tx_rings) in bnxt_setup_tc()
5308 if (tc) { in bnxt_setup_tc()
5309 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc; in bnxt_setup_tc()
5310 netdev_set_num_tc(dev, tc); in bnxt_setup_tc()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_reg.h7641 #define BXT_MIPI_TRANS_HACTIVE(tc) _MIPI_PORT(tc, \ argument
7646 #define BXT_MIPI_TRANS_VACTIVE(tc) _MIPI_PORT(tc, \ argument
7651 #define BXT_MIPI_TRANS_VTOTAL(tc) _MIPI_PORT(tc, \ argument
7683 #define BXT_MIPI_PORT_CTRL(tc) _MIPI_PORT(tc, _BXT_MIPIA_PORT_CTRL, \ argument
/linux-4.4.14/Documentation/isdn/
DREADME.x25125 x25d[tc]e uses fixed lap_b addresses. With x75i, the side which
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_verbs.c744 u64 ta, tb, tc, td, te; in ipath_ib_timer() local
748 &tc, &td, &te); in ipath_ib_timer()
752 dev->ipath_spkts = tc - dev->ipath_spkts; in ipath_ib_timer()
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-pcm.c854 nsec = timecounter_read(&hstr->tc); in skl_get_time_info()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_iba6120.c2967 u64 ta, tb, tc, td, te; in pma_6120_timer() local
2970 qib_snapshot_counters(ppd, &ta, &tb, &tc, &td, &te); in pma_6120_timer()
2974 cs->spkts = tc - cs->spkts; in pma_6120_timer()
/linux-4.4.14/tools/testing/ktest/
Dktest.pl3143 my ($tc, $nc, $gc, $bc) = @_;
3145 my %tmp_config = %{$tc};
/linux-4.4.14/sound/pci/hda/
Dhda_controller.c353 nsec = timecounter_read(&azx_dev->core.tc); in azx_get_time_info()
/linux-4.4.14/drivers/net/ethernet/amd/
Ddeclance.c1330 MODULE_DEVICE_TABLE(tc, dec_lance_tc_table);
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dmsgbuf.c182 u8 tc; member
/linux-4.4.14/Documentation/ia64/
Derr_inject.txt248 tc : 1,
/linux-4.4.14/drivers/net/fddi/
Ddefxx.c3798 MODULE_DEVICE_TABLE(tc, dfx_tc_table);
/linux-4.4.14/net/netfilter/
DKconfig1343 in tc world.
/linux-4.4.14/Documentation/filesystems/
Dcoda.txt1375 44..2277.. pprreeffeettcchh

12