Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/linux/drivers/s390/char/
A Dtty3270.c295 tp->nr_up + tp->view.rows - 2 >= tp->nr_lines) { in tty3270_alloc_string()
296 tp->nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_alloc_string()
1324 tp->cx = min_t(int, tp->cx, tp->view.cols - 1); in tty3270_erase_characters()
1525 tty3270_goto_xy(tp, tp->saved_cx, tp->saved_cy); in tty3270_escape_sequence()
1585 tty3270_goto_xy(tp, tp->cx, tp->cy - tty3270_getpar(tp, 0)); in tty3270_escape_sequence()
1590 tty3270_goto_xy(tp, tp->cx, tp->cy + tty3270_getpar(tp, 0)); in tty3270_escape_sequence()
1594 tty3270_goto_xy(tp, tp->cx + tty3270_getpar(tp, 0), tp->cy); in tty3270_escape_sequence()
1597 tty3270_goto_xy(tp, tp->cx - tty3270_getpar(tp, 0), tp->cy); in tty3270_escape_sequence()
1619 tp->saved_cx = tp->cx; in tty3270_escape_sequence()
1626 tty3270_goto_xy(tp, tp->saved_cx, tp->saved_cy); in tty3270_escape_sequence()
[all …]
/linux/drivers/net/ethernet/realtek/
A Dr8169_main.c1281 RTL_W16(tp, IntrMask, tp->irq_mask); in rtl_irq_enable()
1489 RTL_W16(tp, CPlusCmd, tp->cp_cmd); in rtl8169_set_features()
1843 RTL_W16(tp, CPlusCmd, tp->cp_cmd); in rtl_set_coalesce()
2166 r8169_hw_phy_config(tp, tp->phydev, tp->mac_version); in rtl8169_init_phy()
2267 tp->dirty_tx = tp->cur_tx = tp->cur_rx = 0; in rtl8169_init_ring_indexes()
2387 if (tp->rtl_fw || !tp->fw_name) in rtl_request_firmware()
3720 hw_configs[tp->mac_version](tp); in rtl_hw_config()
3757 RTL_W16(tp, CPlusCmd, tp->cp_cmd); in rtl_hw_start_8169()
3769 RTL_W16(tp, CPlusCmd, tp->cp_cmd); in rtl_hw_start()
4838 rtl_rar_set(tp, tp->dev->dev_addr); in rtl8169_runtime_resume()
[all …]
A D8139too.c1075 tp->mii.phy_id = tp->phys[0]; in rtl8139_init_one()
1340 tp->tx_bufs, tp->tx_bufs_dma); in rtl8139_open()
1343 tp->rx_ring, tp->rx_ring_dma); in rtl8139_open()
1351 tp->mii.full_duplex = tp->mii.force_media; in rtl8139_open()
1428 RTL_W32_F (TxAddr0 + (i * 4), tp->tx_bufs_dma + (tp->tx_buf[i] - tp->tx_bufs)); in rtl8139_hw_start()
1458 tp->tx_buf[i] = &tp->tx_bufs[i * TX_BUF_SIZE]; in rtl8139_init_ring()
1625 rtl8139_thread_iter(dev, tp, tp->mmio_addr); in rtl8139_thread()
1673 tp->cur_tx, tp->dirty_tx); in rtl8139_tx_timeout_task()
1751 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) in rtl8139_start_xmit()
2287 tp->rx_ring, tp->rx_ring_dma); in rtl8139_close()
[all …]
/linux/drivers/net/usb/
A Dr8152.c2066 tp, tp->intr_interval); in alloc_all_mem()
3647 rtl8152_set_speed(tp, tp->autoneg, tp->speed, in r8153b_ups_en()
3687 rtl8152_set_speed(tp, tp->autoneg, tp->speed, in r8153c_ups_en()
3736 rtl8152_set_speed(tp, tp->autoneg, tp->speed, in r8156_ups_en()
6720 rtl8152_set_speed(tp, tp->autoneg, tp->speed, tp->duplex, in rtl_hw_phy_work_func_t()
6776 tp->rtl_ops.up(tp); in rtl8152_open()
6833 tp->rtl_ops.down(tp); in rtl8152_close()
8389 tp->rtl_ops.up(tp); in rtl8152_system_resume()
8470 tp->rtl_ops.down(tp); in rtl8152_system_suspend()
8520 tp->rtl_ops.init(tp); in rtl8152_reset_resume()
[all …]
/linux/drivers/net/ethernet/broadcom/
A Dtg3.c567 tp->write32(tp, off, val); in _tw32_flush()
573 tp->read32(tp, off); in _tw32_flush()
588 tp->read32_mbox(tp, off); in tw32_mailbox_flush()
1038 struct tg3 *tp = tnapi->tp; in tg3_has_work() local
1067 struct tg3 *tp = tnapi->tp; in tg3_int_reenable() local
1542 tp->mdio_bus->priv = tp; in tg3_mdio_init()
2974 if (tp->pdev_peer && tp->pdev_peer != tp->pdev) { in tg3_frob_aux_power()
11449 tp->txq_cnt = tp->txq_req; in tg3_enable_msix()
11450 tp->rxq_cnt = tp->rxq_req; in tg3_enable_msix()
11479 tp->txq_cnt = min(tp->rxq_cnt, tp->txq_max); in tg3_enable_msix()
[all …]
/linux/fs/xfs/
A Dxfs_trans.c72 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free()
121 ASSERT(tp->t_blk_res >= tp->t_blk_res_used); in xfs_trans_dup()
122 ntp->t_blk_res = tp->t_blk_res - tp->t_blk_res_used; in xfs_trans_dup()
123 tp->t_blk_res = tp->t_blk_res_used; in xfs_trans_dup()
125 ntp->t_rtx_res = tp->t_rtx_res - tp->t_rtx_res_used; in xfs_trans_dup()
126 tp->t_rtx_res = tp->t_rtx_res_used; in xfs_trans_dup()
309 *tpp = tp; in xfs_trans_alloc()
383 if (tp->t_blk_res_used > tp->t_blk_res) in xfs_trans_mod_sb()
422 ASSERT(tp->t_rtx_res_used <= tp->t_rtx_res); in xfs_trans_mod_sb()
1074 *tpp = tp; in xfs_trans_alloc_inode()
[all …]
A Dxfs_trans_buf.c24 struct xfs_trans *tp, in xfs_trans_buf_item_match() argument
62 struct xfs_trans *tp, in _xfs_trans_bjoin() argument
93 bp->b_transp = tp; in _xfs_trans_bjoin()
129 if (!tp) in xfs_trans_get_buf_map()
234 if (tp) in xfs_trans_read_buf_map()
295 if (tp && (tp->t_flags & XFS_TRANS_DIRTY)) in xfs_trans_read_buf_map()
309 if (tp) { in xfs_trans_read_buf_map()
353 if (!tp) { in xfs_trans_brelse()
403 xfs_trans_t *tp, in xfs_trans_bhold() argument
424 xfs_trans_t *tp, in xfs_trans_bhold_release() argument
[all …]
/linux/drivers/sbus/char/
A Dbbc_envctrl.c122 tp->prev_amb_temp = tp->curr_amb_temp; in get_current_temps()
126 tp->prev_cpu_temp = tp->curr_cpu_temp; in get_current_temps()
178 tp->index, (int) tp->curr_amb_temp); in analyze_ambient_temp()
184 tp->index, (int) tp->curr_amb_temp); in analyze_ambient_temp()
233 tp->index, (int) tp->curr_cpu_temp); in analyze_cpu_temp()
239 tp->index, (int) tp->curr_cpu_temp); in analyze_cpu_temp()
281 tp->avg_amb_temp = (s8)((int)((int)tp->avg_amb_temp + (int)tp->curr_amb_temp) / 2); in analyze_temps()
282 tp->avg_cpu_temp = (s8)((int)((int)tp->avg_cpu_temp + (int)tp->curr_cpu_temp) / 2); in analyze_temps()
451 tp = kzalloc(sizeof(*tp), GFP_KERNEL); in attach_one_temp()
487 tp->prev_cpu_temp = tp->avg_cpu_temp = tp->curr_cpu_temp; in attach_one_temp()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
A Dtulip_core.c117 struct tulip_private *tp = from_timer(tp, t, timer); in tulip_timer() local
303 if (tp->mii_cnt || (tp->mtable && tp->mtable->has_mii)) in tulip_up()
323 tp->cur_rx = tp->cur_tx = 0; in tulip_up()
324 tp->dirty_rx = tp->dirty_tx = 0; in tulip_up()
356 tp->tx_buffers[tp->cur_tx].skb = NULL; in tulip_up()
357 tp->tx_buffers[tp->cur_tx].mapping = mapping; in tulip_up()
1669 (tp->mtable && tp->mtable->has_mii) || in tulip_init_one()
1670 ( ! tp->mtable && (tp->flags & HAS_MII))) { in tulip_init_one()
1671 if (tp->mtable && tp->mtable->has_mii) { in tulip_init_one()
1777 tp->rx_ring, tp->rx_ring_dma); in tulip_init_one()
[all …]
A Dinterrupt.c66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { in tulip_refill_rx()
107 struct tulip_private *tp = from_timer(tp, t, oom_timer); in oom_timer() local
148 if (tp->dirty_rx + RX_RING_SIZE == tp->cur_rx) in tulip_poll()
327 iowrite32(tulip_tbl[tp->chip_id].valid_intrs, tp->base_addr+CSR7); in tulip_poll()
343 if (tp->cur_rx - tp->dirty_rx > RX_RING_SIZE/2 || in tulip_poll()
373 int rx_work_limit = tp->dirty_rx + RX_RING_SIZE - tp->cur_rx; in tulip_rx()
552 tp->nir++; in tulip_interrupt()
595 for (dirty_tx = tp->dirty_tx; tp->cur_tx - dirty_tx > 0; in tulip_interrupt()
669 tp->csr6); in tulip_interrupt()
793 tp->nir, tp->cur_rx, tp->ttimer, rx);
[all …]
A Dpnic2.c81 struct tulip_private *tp = from_timer(tp, t, timer); in pnic2_timer() local
130 tp->nway = tp->mediasense = 1; in pnic2_start_nway()
131 tp->nwayset = tp->lpar = 0; in pnic2_start_nway()
142 tp->csr6 = tp->csr6 & 0xfe3bd1fd; in pnic2_start_nway()
146 if (tp->sym_advertise & 0x0040) tp->csr6 |= 0x00000200; in pnic2_start_nway()
187 if (tp->nway && !tp->nwayset) { in pnic2_lnk_change()
217 tp->nwayset = 0; in pnic2_lnk_change()
224 tp->full_duplex = 0; in pnic2_lnk_change()
233 tp->sym_advertise, tp->lpar, in pnic2_lnk_change()
265 if (tp->full_duplex) tp->csr6 |= 0x00000200; in pnic2_lnk_change()
[all …]
A D21142.c119 tp->nway = tp->mediasense = 1; in t21142_start_nway()
120 tp->nwayset = tp->lpar = 0; in t21142_start_nway()
129 if (tp->mtable && tp->mtable->csr15dir) { in t21142_start_nway()
155 if (tp->nway && !tp->nwayset && (csr12 & 0x7000) == 0x5000) { in t21142_lnk_change()
159 tp->nwayset = 1; in t21142_lnk_change()
167 tp->nwayset = 0; in t21142_lnk_change()
174 if (tp->nwayset) in t21142_lnk_change()
178 tp->sym_advertise, tp->lpar, in t21142_lnk_change()
186 if (tp->mtable) { in t21142_lnk_change()
190 int startup = ! ((tp->chip_id == DC21143 && (tp->revision == 48 || tp->revision == 65))); in t21142_lnk_change()
[all …]
A Dtimer.c19 struct tulip_private *tp = in tulip_media_task() local
34 switch (tp->chip_id) { in tulip_media_task()
53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task()
87 if (tp->medialock) in tulip_media_task()
92 tp->cur_index = tp->mtable->leafcount - 1; in tulip_media_task()
94 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_media_task()
100 medianame[tp->mtable->mleaf[tp->cur_index].media]); in tulip_media_task()
103 tulip_restart_rxtx(tp); in tulip_media_task()
129 tp->timeout_recovery = 0; in tulip_media_task()
142 struct tulip_private *tp = from_timer(tp, t, timer); in mxic_timer() local
[all …]
A Dmedia.c312 tp->mii_advertise = tp->advertising[phy_num]; in tulip_select_media()
317 tulip_mdio_write(dev, tp->phys[phy_num], 4, tp->mii_advertise); in tulip_select_media()
351 if (tp->mii_cnt) { in tulip_select_media()
386 tp->csr6 = new_csr6 | (tp->csr6 & 0xfdff) | (tp->full_duplex ? 0x0200 : 0); in tulip_select_media()
420 tp->full_duplex = mii_duplex(tp->full_duplex_lock, negotiated); in tulip_check_duplex()
422 new_csr6 = tp->csr6; in tulip_check_duplex()
430 tp->csr6 = new_csr6; in tulip_check_duplex()
486 tp->mii_advertise = in tulip_find_mii()
522 if (tp->full_duplex) in tulip_find_mii()
542 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { in tulip_find_mii()
[all …]
A Dpnic.c31 tp->nwayset = 1; in pnic_do_nway()
37 tp->full_duplex = 1; in pnic_do_nway()
44 tp->csr6 = new_csr6; in pnic_do_nway()
46 tulip_restart_rxtx(tp); in pnic_do_nway()
69 tp->csr6 = 0x00420000 | (tp->csr6 & 0x0000fdff); in pnic_lnk_change()
77 spin_lock(&tp->lock); in pnic_lnk_change()
79 spin_unlock(&tp->lock); in pnic_lnk_change()
89 struct tulip_private *tp = from_timer(tp, t, timer); in pnic_timer() local
120 tp->nwayset = 0; in pnic_timer()
132 if (tp->medialock) { in pnic_timer()
[all …]
/linux/net/ipv4/
A Dtcp_input.c565 tp->rcv_ssthresh = min(tp->rcv_ssthresh, tp->window_clamp); in tcp_init_buffer_space()
567 tp->rcvq_space.space = min3(tp->rcv_ssthresh, tp->rcv_wnd, in tcp_init_buffer_space()
589 tp->rcv_ssthresh = min(tp->window_clamp, 2U * tp->advmss); in tcp_clamp_window()
669 tp->rcv_rtt_est.seq = tp->rcv_nxt + tp->rcv_wnd; in tcp_rcv_rtt_measure()
878 tp->rtt_seq = tp->snd_nxt; in tcp_rtt_estimator()
889 tp->rtt_seq = tp->snd_nxt; in tcp_rtt_estimator()
2165 tp->high_seq = tp->snd_nxt; in tcp_enter_loss()
2532 if (tp->snd_una == tp->high_seq && tcp_is_reno(tp)) { in tcp_try_undo_recovery()
2864 tp->snd_una + tp->reordering * tp->mss_cache); in tcp_force_fast_retransmit()
3320 tp->snd_up = tp->snd_una; in tcp_clean_rtx_queue()
[all …]
A Dtcp_recovery.c14 if (!tp->reord_seen) { in tcp_rack_reo_wnd()
21 if (tp->sacked_out >= tp->reordering && in tcp_rack_reo_wnd()
32 return min((tcp_min_rtt(tp) >> 2) * tp->rack.reo_wnd_steps, in tcp_rack_reo_wnd()
33 tp->srtt_us >> 3); in tcp_rack_reo_wnd()
104 if (!tp->rack.advanced) in tcp_rack_mark_lost()
108 tp->rack.advanced = 0; in tcp_rack_mark_lost()
141 tp->rack.advanced = 1; in tcp_rack_advance()
142 tp->rack.rtt_us = rtt_us; in tcp_rack_advance()
157 u32 lost = tp->lost; in tcp_rack_reo_timeout()
208 tp->rack.last_delivered = tp->delivered; in tcp_rack_update_reo_wnd()
[all …]
A Dtcp_rate.c42 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_skb_sent() local
58 if (!tp->packets_out) { in tcp_rate_skb_sent()
119 if (tp->app_limited && after(tp->delivered, tp->app_limited)) in tcp_rate_gen()
120 tp->app_limited = 0; in tcp_rate_gen()
127 tp->delivered_mstamp = tp->tcp_mstamp; in tcp_rate_gen()
173 tp->rx_opt.sack_ok, tcp_min_rtt(tp)); in tcp_rate_gen()
194 tp->write_seq - tp->snd_nxt < tp->mss_cache && in tcp_rate_check_app_limited()
198 tcp_packets_in_flight(tp) < tp->snd_cwnd && in tcp_rate_check_app_limited()
200 tp->lost_out <= tp->retrans_out) in tcp_rate_check_app_limited()
201 tp->app_limited = in tcp_rate_check_app_limited()
[all …]
A Dtcp_output.c100 ((tp->snd_nxt - tcp_wnd_end(tp)) < (1 << tp->rx_opt.rcv_wscale)))) in tcp_acceptable_seq()
281 tp->rcv_wup = tp->rcv_nxt; in tcp_select_window()
408 return tp->snd_una != tp->snd_up; in tcp_urg_mode()
1255 tp->tcp_wstamp_ns = max(tp->tcp_wstamp_ns, tp->tcp_clock_cache); in __tcp_transmit_skb()
2209 u32 chunk = min(tp->snd_wnd, tp->snd_cwnd * tp->mss_cache); in tcp_tso_should_defer()
2841 tp->tlp_high_seq = tp->snd_nxt; in tcp_send_loss_probe()
3676 tp->rcv_ssthresh = tp->rcv_wnd; in tcp_connect_init()
3683 tp->snd_una = tp->write_seq; in tcp_connect_init()
3684 tp->snd_sml = tp->write_seq; in tcp_connect_init()
3685 tp->snd_up = tp->write_seq; in tcp_connect_init()
[all …]
A Dtcp.c644 tp->pushed_seq = tp->write_seq; in tcp_mark_push()
649 return after(tp->write_seq, tp->pushed_seq + (tp->max_window >> 1)); in forced_push()
672 tp->snd_up = tp->write_seq; in tcp_mark_urg()
2258 inq = tp->rcv_nxt - tp->copied_seq; in tcp_inq_hint()
2332 if (tp->urg_data && tp->urg_seq == *seq) { in tcp_recvmsg_locked()
2472 if (tp->urg_data && after(tp->copied_seq, tp->urg_seq)) { in tcp_recvmsg_locked()
2954 (tp->snd_nxt != tp->write_seq && in tcp_disconnect()
2966 WRITE_ONCE(tp->copied_seq, tp->rcv_nxt); in tcp_disconnect()
2983 seq = tp->write_seq + tp->max_window + 2; in tcp_disconnect()
3338 tp->rcv_ssthresh = min(tp->rcv_wnd, tp->window_clamp); in tcp_set_window_clamp()
[all …]
/linux/drivers/net/ethernet/sis/
A Dsis190.c523 tp->Rx_skbuff[i] = sis190_alloc_rx_skb(tp, tp->RxDescRing + i); in sis190_rx_fill()
545 dma_sync_single_for_cpu(&tp->pci_dev->dev, addr, tp->rx_buf_sz, in sis190_try_rx_copy()
641 delta = sis190_rx_fill(tp, dev, tp->dirty_rx, tp->cur_rx); in sis190_rx_interrupt()
646 if ((tp->dirty_rx + NUM_RX_DESC) == tp->cur_rx) in sis190_rx_interrupt()
805 sis190_free_rx_skb(tp, tp->Rx_skbuff + i, tp->RxDescRing + i); in sis190_rx_clear()
811 tp->dirty_tx = tp->dirty_rx = tp->cur_tx = tp->cur_rx = 0; in sis190_init_ring_indexes()
1026 struct sis190_private *tp = from_timer(tp, t, timer); in sis190_phy_timer() local
1121 sis190_unmap_tx_skb(tp->pci_dev, skb, tp->TxDescRing + i); in sis190_tx_clear()
1127 tp->cur_tx = tp->dirty_tx = 0; in sis190_tx_clear()
1236 tp->cur_tx++; in sis190_start_xmit()
[all …]
/linux/drivers/net/ethernet/3com/
A Dtyphoon.c1226 tp->indexes = &tp->shared->indexes; in typhoon_init_interface()
1227 tp->txLoRing.ringBase = (u8 *) tp->shared->txLo; in typhoon_init_interface()
1228 tp->txHiRing.ringBase = (u8 *) tp->shared->txHi; in typhoon_init_interface()
1229 tp->rxLoRing.ringBase = (u8 *) tp->shared->rxLo; in typhoon_init_interface()
1230 tp->rxHiRing.ringBase = (u8 *) tp->shared->rxHi; in typhoon_init_interface()
1231 tp->rxBuffRing.ringBase = (u8 *) tp->shared->rxBuff; in typhoon_init_interface()
1232 tp->cmdRing.ringBase = (u8 *) tp->shared->cmd; in typhoon_init_interface()
1233 tp->respRing.ringBase = (u8 *) tp->shared->resp; in typhoon_init_interface()
2031 typhoon_clean_tx(tp, &tp->txLoRing, &tp->indexes->txLoCleared); in typhoon_tx_timeout()
2202 if (typhoon_sleep_early(tp, tp->wol_events) < 0) { in typhoon_suspend()
[all …]
/linux/tools/perf/util/
A Dcputopo.c145 if (!tp) in cpu_topology__delete()
157 free(tp); in cpu_topology__delete()
210 tp = addr; in cpu_topology__new()
235 return tp; in cpu_topology__new()
329 tp = zalloc(sizeof(*tp) + sizeof(tp->nodes[0])*nr); in numa_topology__new()
330 if (!tp) in numa_topology__new()
347 return tp; in numa_topology__new()
357 free(tp); in numa_topology__delete()
411 tp = zalloc(sizeof(*tp) + sizeof(tp->nodes[0]) * nr); in hybrid_topology__new()
412 if (!tp) in hybrid_topology__new()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dtp.c54 void t1_tp_destroy(struct petp *tp) in t1_tp_destroy() argument
56 kfree(tp); in t1_tp_destroy()
61 struct petp *tp = kzalloc(sizeof(*tp), GFP_KERNEL); in t1_tp_create() local
63 if (!tp) in t1_tp_create()
66 tp->adapter = adapter; in t1_tp_create()
68 return tp; in t1_tp_create()
76 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_enable()
97 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_disable()
114 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_clear()
131 if (!t1_is_asic(tp->adapter)) in t1_tp_intr_handler()
[all …]
/linux/fs/xfs/libxfs/
A Dxfs_defer.c191 struct xfs_trans *tp, in xfs_defer_create_intent() argument
209 struct xfs_trans *tp) in xfs_defer_create_intents() argument
222 struct xfs_trans *tp, in xfs_defer_trans_abort() argument
248 struct xfs_trans *tp) in xfs_defer_save_resources() argument
298 struct xfs_trans *tp, in xfs_defer_restore_resources() argument
436 struct xfs_trans *tp, in xfs_defer_finish_one() argument
536 xfs_defer_cancel(*tp); in xfs_defer_finish_noroll()
542 struct xfs_trans **tp) in xfs_defer_finish() argument
570 struct xfs_trans *tp) in xfs_defer_cancel() argument
681 dfc->dfc_blkres = tp->t_blk_res - tp->t_blk_res_used; in xfs_defer_ops_capture()
[all …]

Completed in 283 milliseconds

12345678910>>...20