/linux-4.4.14/drivers/misc/ |
D | atmel_tclib.c | 45 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/ |
D | timecounter.c | 21 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/ |
D | ntb_tool.c | 129 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/ |
D | tcp.c | 79 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 …]
|
D | tcp_send.c | 53 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 …]
|
D | tcp_recv.c | 159 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 …]
|
D | tcp_connect.c | 44 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 …]
|
D | tcp.h | 50 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/ |
D | dm-thin.c | 217 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 …]
|
D | dm-snap-transient.c | 42 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/ |
D | tsc.c | 6 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 …]
|
D | tsc.h | 8 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);
|
D | util.c | 381 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()
|
D | intel-pt.c | 74 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 …]
|
D | intel-bts.c | 60 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/ |
D | ixgbe_dcb.c | 180 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 …]
|
D | ixgbe_lib.c | 111 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 …]
|
D | ixgbe_dcb_nl.c | 192 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 …]
|
D | ixgbe_dcb.h | 67 u8 tc; member 123 u8 tc; /* Traffic class (TC) */ member
|
D | ixgbe_ptp.c | 161 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()
|
D | ixgbe_main.c | 974 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 …]
|
D | ixgbe.h | 759 struct timecounter tc; member 919 int ixgbe_setup_tc(struct net_device *dev, u8 tc);
|
/linux-4.4.14/arch/mips/kernel/ |
D | vpe-mt.c | 31 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 …]
|
D | smp-mt.c | 56 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 …]
|
D | mips-mt.c | 57 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()
|
D | vpe-cmp.c | 19 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()
|
D | vpe.c | 74 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/ |
D | tcb_clksrc.c | 191 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/ |
D | pwm-atmel-tcb.c | 43 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/ |
D | lcnalloc.c | 415 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 …]
|
D | unistr.c | 366 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/ |
D | tsc2007.c | 115 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 …]
|
D | tps6507x-ts.c | 46 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()
|
D | ads7846.c | 90 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/ |
D | vpe.h | 70 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);
|
D | mipsmtregs.h | 365 #define settc(tc) \ argument 367 write_c0_vpecontrol((read_c0_vpecontrol()&~VPECONTROL_TARGTC) | (tc)); \
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
D | cryptocop.c | 368 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/ |
D | timecounter.h | 93 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,
|
D | transport_class.h | 85 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()
|
D | atmel_tc.h | 76 extern void atmel_tc_free(struct atmel_tc *tc);
|
D | netdevice.h | 1137 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()
|
D | efi.h | 498 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/ |
D | qed_init_fw_funcs.c | 110 #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 …]
|
D | qed_hw.h | 247 u8 tc; member 253 u8 tc; member
|
D | qed_hw.c | 761 if (p_params->core.tc == LB_TC) in qed_get_qm_pq() 767 pq_id = p_params->eth.tc; in qed_get_qm_pq()
|
D | qed_spq.c | 177 pq_params.core.tc = LB_TC; in qed_spq_hw_initialize()
|
D | qed_l2.c | 717 p_ramrod->tc = p_pq_params->eth.tc; in qed_sp_eth_txq_start_ramrod()
|
D | qed_cxt.c | 601 pq_params.core.tc = LB_TC; in qed_cm_init_pf()
|
D | qed_hsi.h | 2783 u8 tc; member
|
/linux-4.4.14/drivers/scsi/isci/ |
D | request.c | 78 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 …]
|
D | port.c | 887 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()
|
D | request.h | 121 struct scu_task_context *tc; member
|
D | host.c | 2288 ireq->tc = &ihost->task_context_table[i]; in sci_controller_dma_alloc()
|
/linux-4.4.14/tools/perf/arch/x86/util/ |
D | tsc.c | 13 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()
|
D | intel-bts.c | 77 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()
|
D | tsc.h | 15 struct perf_tsc_conversion *tc);
|
D | intel-pt.c | 299 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/ |
D | fw_qos.c | 63 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()
|
D | en_clock.c | 41 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()
|
D | fw.c | 1373 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/ |
D | net_cls.txt | 7 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/ |
D | en_main.c | 533 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 …]
|
D | en_ethtool.c | 187 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()
|
D | en_tx.c | 115 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()
|
D | en.h | 391 int tc; member
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fb_pcd8544.c | 35 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/ |
D | perf-time-to-tsc.c | 56 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/ |
D | internal.h | 11 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()
|
D | af_mpls.c | 1035 if ((dec.bos != bos) || dec.ttl || dec.tc) in nla_get_labels()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qede/ |
D | qede_main.c | 714 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/ |
D | Makefile | 7 obj-$(CONFIG_TC) += tc.o tc-driver.o
|
/linux-4.4.14/drivers/atm/ |
D | firestream.c | 681 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/ |
D | trans_virtio.c | 278 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()
|
D | client.c | 261 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 …]
|
D | trans_rdma.c | 332 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()
|
D | trans_fd.c | 472 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/ |
D | sch_mqprio.c | 303 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()
|
D | Kconfig | 25 from the package iproute2+tc at
|
/linux-4.4.14/net/6lowpan/ |
D | iphc.c | 646 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/ |
D | ehca_sqp.c | 130 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/ |
D | atmel-tcb-pwm.txt | 8 - tc-block: The Timer Counter block to use as a PWM chip. 15 tc-block = <1>;
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 150 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()
|
D | fec.h | 533 struct timecounter tc; member
|
D | fec_main.c | 1190 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
|
/linux-4.4.14/Documentation/networking/ |
D | multiqueue.txt | 51 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 \
|
D | tc-actions-env-rules.txt | 2 The "environmental" rules for authors of any new tc actions are:
|
D | 00-INDEX | 203 tc-actions-env-rules.txt 204 - rules for traffic control (tc) actions.
|
D | ipddp.txt | 72 <johns393@maroon.tc.umn.edu> originally wrote the ipddp.c driver for IP
|
D | vrf.txt | 44 VRF as a whole.[1] Similiarly, netfilter [2] and tc rules can be applied
|
D | stmmac.txt | 34 tc: control the HW FIFO threshold;
|
D | bonding.txt | 1634 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
|
D | packet_mmap.txt | 999 packet are not buffered, tc disciplines are ignored, increased loss can occur
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb.c | 609 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()
|
D | i40e_fcoe.c | 339 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()
|
D | i40e.h | 775 int i40e_setup_tc(struct net_device *netdev, u8 tc);
|
D | i40e_main.c | 834 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/ |
D | dasd_eer.c | 589 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/ |
D | relocate_kernel.S | 33 pmove %tc,%d0 /* Disable MMU */ 35 pmove %d0,%tc 67 movec %d0,%tc /* Disable MMU */
|
D | head.S | 2469 movec %d0,%tc /* enable the MMU */ 2496 pmove %a0@(8),%tc /* enable the MMU */
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
D | cpts.c | 149 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()
|
D | cpts.h | 120 struct timecounter tc; member
|
/linux-4.4.14/Documentation/devicetree/bindings/media/xilinx/ |
D | xlnx,v-tc.txt | 9 - compatible: Must be "xlnx,v-tc-6.1". 28 compatible = "xlnx,v-tc-6.1";
|
/linux-4.4.14/include/scsi/ |
D | scsi_transport.h | 84 #define transport_class_to_shost(tc) \ argument 85 dev_to_shost((tc)->parent)
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 95 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()
|
D | e1000.h | 346 struct timecounter tc; member
|
D | netdev.c | 519 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/ |
D | abracon,abx80x.txt | 28 - "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/ |
D | efi.c | 41 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/ |
D | raid_class.c | 48 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
|
D | scsi_transport_spi.c | 182 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
|
D | initio.c | 2698 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()
|
D | scsi_transport_sas.c | 280 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
|
D | scsi_transport_srp.c | 102 static int srp_host_setup(struct transport_container *tc, struct device *dev, in srp_host_setup() argument
|
D | scsi_transport_fc.c | 354 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
|
D | scsi_transport_iscsi.c | 1564 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
|
D | Kconfig | 696 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/ |
D | fw-emu.c | 111 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/ |
D | au1xxx-ide.c | 237 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()
|
D | pmac.c | 1493 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/ |
D | qla_inline.h | 133 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()
|
D | qla_iocb.c | 909 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 …]
|
D | qla_init.c | 1523 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/ |
D | service.c | 347 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/ |
D | qlcnic_dcb.c | 661 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/ |
D | ftracetest | 41 echo `find $1 -name \*.tc | sort` 65 *.tc)
|
D | README | 17 # ./ftracetest test.d/basic3.tc 26 Copy test.d/template to your testcase (whose filename must have *.tc
|
/linux-4.4.14/sound/hda/ |
D | hdac_stream.c | 478 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/ |
D | Makefile | 8 obj-$(CONFIG_TC) += tc.o
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 416 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()
|
D | cxgb4.h | 1372 unsigned int rxqi, unsigned int rxq, unsigned int tc,
|
D | t4_hw.c | 6362 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/ |
D | edma.c | 214 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 …]
|
D | zx296702_dma.c | 279 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()
|
D | amba-pl08x.c | 1811 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()
|
D | s3c24xx-dma.c | 382 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/ |
D | vt.c | 2181 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/ |
D | swsusp_asm64.S | 81 .tc swsusp_save_area[TC],swsusp_save_area 83 .tc restore_pblist[TC],restore_pblist
|
D | vector.S | 315 .tc FD_0_0[TC],0 317 .tc FD_3ff00000_0[TC],0x3ff0000000000000 /* 1.0 */ 319 .tc FD_3fe00000_0[TC],0x3fe0000000000000 /* 0.5 */
|
D | entry_64.S | 45 .tc sys_call_table[TC],sys_call_table 49 .tc ID_EXC_MARKER[TC],STACK_FRAME_REGS_MARKER
|
D | misc_64.S | 57 .tc ppc64_caches[TC],ppc64_caches
|
D | head_64.S | 171 .tc ID_72656773_68657265[TC],0x7265677368657265
|
D | exceptions-64e.S | 507 .tc ID_EXC_MARKER[TC],STACK_FRAME_REGS_MARKER
|
/linux-4.4.14/drivers/firmware/efi/ |
D | runtime-wrappers.c | 98 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/ |
D | tx.c | 570 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/ |
D | igb_ptp.c | 180 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()
|
D | igb.h | 441 struct timecounter tc; member
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 92 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/ |
D | blktrace.c | 1052 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/ |
D | pata_mpc52xx.c | 462 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/ |
D | datagram.c | 916 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/ |
D | qed_if.h | 424 #define TX_PI(tc) (RX_PI + 1 + tc) argument
|
/linux-4.4.14/sound/pci/rme9652/ |
D | hdspm.c | 4113 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/ |
D | etr.h | 89 unsigned int tc : 4; /* ETR type code */ member
|
/linux-4.4.14/drivers/base/ |
D | transport_class.c | 68 static int anon_transport_dummy_function(struct transport_container *tc, in anon_transport_dummy_function() argument
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | at91-kizbox.dts | 143 tc-block = <1>;
|
/linux-4.4.14/arch/powerpc/lib/ |
D | copypage_64.S | 16 .tc ppc64_caches[TC],ppc64_caches
|
D | string_64.S | 26 .tc ppc64_caches[TC],ppc64_caches
|
/linux-4.4.14/arch/ia64/kernel/ |
D | mca_drv.c | 402 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()
|
D | efi.c | 63 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/ |
D | client.h | 116 struct p9_fcall *tc; member
|
/linux-4.4.14/arch/mips/pci/ |
D | ops-tx3927.c | 189 tx3927_pcicptr->tc = TX3927_PCIC_TC_OF8E | TX3927_PCIC_TC_IF8E; in tx3927_pcic_setup()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 1339 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()
|
D | xgbe-drv.c | 1629 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/ |
D | omap_pm | 88 (*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/ |
D | efi_64.c | 394 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/ |
D | t4vf_common.h | 209 unsigned int tc; /* PCI-E traffic class */ member
|
D | t4vf_hw.c | 807 vfres->tc = FW_PFVF_CMD_TC_G(word); in t4vf_get_vfres()
|
D | cxgb4vf_main.c | 2043 S("Traffic Class", "%d", tc); in resources_show()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 1151 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()
|
D | fm10k.h | 498 int fm10k_setup_tc(struct net_device *dev, u8 tc);
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vid-cap.c | 212 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/ |
D | tx3927.h | 98 volatile unsigned long tc; /* +90 */ member
|
/linux-4.4.14/drivers/ |
D | Makefile | 95 obj-$(CONFIG_TC) += tc/
|
/linux-4.4.14/drivers/video/fbdev/ |
D | pmag-ba-fb.c | 265 MODULE_DEVICE_TABLE(tc, pmagbafb_tc_table);
|
D | pmagb-b-fb.c | 383 MODULE_DEVICE_TABLE(tc, pmagbbfb_tc_table);
|
D | tgafb.c | 130 MODULE_DEVICE_TABLE(tc, tgafb_tc_table);
|
/linux-4.4.14/drivers/md/bcache/ |
D | super.c | 1901 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/ |
D | mthca_cmd.c | 665 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/ |
D | v4l2-ioctl.c | 440 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/ |
D | spectrum_buffers.c | 152 u8 tc; member
|
/linux-4.4.14/sound/soc/ |
D | soc-topology.c | 645 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/ |
D | dev.c | 1909 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/ |
D | scc.c | 718 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/ |
D | hdaudio.h | 424 struct timecounter tc; member
|
/linux-4.4.14/Documentation/laptops/ |
D | sonypi.txt | 144 - some models with the nvidia card (geforce go 6200 tc) uses a
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | pal.h | 479 tc : 1, /* TLB check */ member 680 #define pmci_proc_tlb_check pme_processor.tc
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 5283 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/ |
D | i915_reg.h | 7641 #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/ |
D | README.x25 | 125 x25d[tc]e uses fixed lap_b addresses. With x75i, the side which
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_verbs.c | 744 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/ |
D | skl-pcm.c | 854 nsec = timecounter_read(&hstr->tc); in skl_get_time_info()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_iba6120.c | 2967 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/ |
D | ktest.pl | 3143 my ($tc, $nc, $gc, $bc) = @_; 3145 my %tmp_config = %{$tc};
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_controller.c | 353 nsec = timecounter_read(&azx_dev->core.tc); in azx_get_time_info()
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | declance.c | 1330 MODULE_DEVICE_TABLE(tc, dec_lance_tc_table);
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | msgbuf.c | 182 u8 tc; member
|
/linux-4.4.14/Documentation/ia64/ |
D | err_inject.txt | 248 tc : 1,
|
/linux-4.4.14/drivers/net/fddi/ |
D | defxx.c | 3798 MODULE_DEVICE_TABLE(tc, dfx_tc_table);
|
/linux-4.4.14/net/netfilter/ |
D | Kconfig | 1343 in tc world.
|
/linux-4.4.14/Documentation/filesystems/ |
D | coda.txt | 1375 44..2277.. pprreeffeettcchh
|