Home
last modified time | relevance | path

Searched defs:tp (Results 1 – 25 of 98) sorted by relevance

1234

/drivers/net/ethernet/realtek/
Dr8169_main.c79 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) argument
80 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) argument
81 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) argument
82 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) argument
83 #define RTL_R16(tp, reg) readw(tp->mmio_addr + (reg)) argument
84 #define RTL_R32(tp, reg) readl(tp->mmio_addr + (reg)) argument
672 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev()
677 static void rtl_lock_config_regs(struct rtl8169_private *tp) in rtl_lock_config_regs()
682 static void rtl_unlock_config_regs(struct rtl8169_private *tp) in rtl_unlock_config_regs()
687 static void rtl_pci_commit(struct rtl8169_private *tp) in rtl_pci_commit()
[all …]
Dr8169_phy_config.c108 static void rtl8169s_hw_phy_config(struct rtl8169_private *tp, in rtl8169s_hw_phy_config()
176 static void rtl8169sb_hw_phy_config(struct rtl8169_private *tp, in rtl8169sb_hw_phy_config()
182 static void rtl8169scd_hw_phy_config(struct rtl8169_private *tp, in rtl8169scd_hw_phy_config()
228 static void rtl8169sce_hw_phy_config(struct rtl8169_private *tp, in rtl8169sce_hw_phy_config()
282 static void rtl8168bb_hw_phy_config(struct rtl8169_private *tp, in rtl8168bb_hw_phy_config()
291 static void rtl8168bef_hw_phy_config(struct rtl8169_private *tp, in rtl8168bef_hw_phy_config()
297 static void rtl8168cp_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168cp_1_hw_phy_config()
304 static void rtl8168cp_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168cp_2_hw_phy_config()
312 static void rtl8168c_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168c_1_hw_phy_config()
341 static void rtl8168c_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168c_2_hw_phy_config()
[all …]
D8139too.c720 struct rtl8139_private *tp = netdev_priv(dev); in __rtl8139_cleanup_dev() local
759 struct rtl8139_private *tp; in rtl8139_init_board() local
902 struct rtl8139_private *tp = netdev_priv(dev); in rtl8139_set_features() local
947 struct rtl8139_private *tp; in rtl8139_init_one() local
1117 struct rtl8139_private *tp = netdev_priv(dev); in rtl8139_remove_one() local
1235 struct rtl8139_private *tp = netdev_priv(dev); in mdio_read() local
1278 struct rtl8139_private *tp = netdev_priv(dev); in mdio_write() local
1321 struct rtl8139_private *tp = netdev_priv(dev); in rtl8139_open() local
1372 struct rtl8139_private *tp = netdev_priv(dev); in rtl_check_media() local
1382 struct rtl8139_private *tp = netdev_priv(dev); in rtl8139_hw_start() local
[all …]
/drivers/net/ethernet/broadcom/
Dtg3.c91 #define tg3_flag(tp, flag) \ argument
93 #define tg3_flag_set(tp, flag) \ argument
95 #define tg3_flag_clear(tp, flag) \ argument
129 #define TG3_MAX_MTU(tp) \ argument
136 #define TG3_RX_STD_RING_SIZE(tp) \ argument
140 #define TG3_RX_JMB_RING_SIZE(tp) \ argument
155 #define TG3_RX_STD_RING_BYTES(tp) \ argument
157 #define TG3_RX_JMB_RING_BYTES(tp) \ argument
159 #define TG3_RX_RCB_RING_BYTES(tp) \ argument
175 #define TG3_RX_STD_BUFF_RING_SIZE(tp) \ argument
[all …]
/drivers/s390/char/
Dtty3270.c128 static void tty3270_set_timer(struct tty3270 *tp, int expires) in tty3270_set_timer()
137 tty3270_update_prompt(struct tty3270 *tp, char *input, int count) in tty3270_update_prompt()
164 tty3270_create_prompt(struct tty3270 *tp) in tty3270_create_prompt()
195 tty3270_update_status(struct tty3270 * tp) in tty3270_update_status()
206 tty3270_create_status(struct tty3270 * tp) in tty3270_create_status()
229 tty3270_update_string(struct tty3270 *tp, struct string *line, int nr) in tty3270_update_string()
245 tty3270_rebuild_update(struct tty3270 *tp) in tty3270_rebuild_update()
276 tty3270_alloc_string(struct tty3270 *tp, size_t size) in tty3270_alloc_string()
307 tty3270_blank_line(struct tty3270 *tp) in tty3270_blank_line()
327 tty3270_blank_screen(struct tty3270 *tp) in tty3270_blank_screen()
[all …]
/drivers/net/usb/
Dr8152.c1200 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in get_registers()
1223 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers()
1241 static void rtl_set_unplug(struct r8152 *tp) in rtl_set_unplug()
1249 static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read()
1292 static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write()
1363 int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) in pla_ocp_read()
1369 int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in pla_ocp_write()
1375 int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) in usb_ocp_write()
1380 static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) in ocp_read_dword()
1389 static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) in ocp_write_dword()
[all …]
/drivers/net/ethernet/chelsio/cxgb/
Dtp.c54 void t1_tp_destroy(struct petp *tp) in t1_tp_destroy()
61 struct petp *tp = kzalloc(sizeof(*tp), GFP_KERNEL); in t1_tp_create() local
71 void t1_tp_intr_enable(struct petp *tp) in t1_tp_intr_enable()
92 void t1_tp_intr_disable(struct petp *tp) in t1_tp_intr_disable()
111 void t1_tp_intr_clear(struct petp *tp) in t1_tp_intr_clear()
125 int t1_tp_intr_handler(struct petp *tp) in t1_tp_intr_handler()
140 static void set_csum_offload(struct petp *tp, u32 csum_bit, int enable) in set_csum_offload()
151 void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) in t1_tp_set_ip_checksum_offload()
156 void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) in t1_tp_set_tcp_checksum_offload()
165 int t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk) in t1_tp_reset()
/drivers/net/ethernet/dec/tulip/
Dtulip_core.c117 struct tulip_private *tp = from_timer(tp, t, timer); in tulip_timer() local
264 static void tulip_set_power_state (struct tulip_private *tp, in tulip_set_power_state()
284 struct tulip_private *tp = netdev_priv(dev); in tulip_up() local
504 struct tulip_private *tp = netdev_priv(dev); in tulip_open() local
528 struct tulip_private *tp = netdev_priv(dev); in tulip_tx_timeout() local
605 struct tulip_private *tp = netdev_priv(dev); in tulip_init_ring() local
655 struct tulip_private *tp = netdev_priv(dev); in tulip_start_xmit() local
701 static void tulip_clean_tx_ring(struct tulip_private *tp) in tulip_clean_tx_ring()
740 struct tulip_private *tp = netdev_priv(dev); in tulip_down() local
783 struct tulip_private *tp = netdev_priv(dev); in tulip_free_ring() local
[all …]
Dinterrupt.c61 struct tulip_private *tp = netdev_priv(dev); in tulip_refill_rx() local
107 struct tulip_private *tp = from_timer(tp, t, oom_timer); in oom_timer() local
114 struct tulip_private *tp = container_of(napi, struct tulip_private, napi); in tulip_poll() local
371 struct tulip_private *tp = netdev_priv(dev); in tulip_rx() local
499 struct tulip_private *tp = netdev_priv(dev); in phy_interrupt() local
525 struct tulip_private *tp = netdev_priv(dev); in tulip_interrupt() local
Dpnic2.c81 struct tulip_private *tp = from_timer(tp, t, timer); in pnic2_timer() local
98 struct tulip_private *tp = netdev_priv(dev); in pnic2_start_nway() local
172 struct tulip_private *tp = netdev_priv(dev); in pnic2_lnk_change() local
Dpnic.c21 struct tulip_private *tp = netdev_priv(dev); in pnic_do_nway() local
54 struct tulip_private *tp = netdev_priv(dev); in pnic_lnk_change() local
89 struct tulip_private *tp = from_timer(tp, t, timer); in pnic_timer() local
Dmedia.c49 struct tulip_private *tp = netdev_priv(dev); in tulip_mdio_read() local
111 struct tulip_private *tp = netdev_priv(dev); in tulip_mdio_write() local
169 struct tulip_private *tp = netdev_priv(dev); in tulip_select_media() local
399 struct tulip_private *tp = netdev_priv(dev); in tulip_check_duplex() local
446 struct tulip_private *tp = netdev_priv(dev); in tulip_find_mii() local
Dtimer.c19 struct tulip_private *tp = in tulip_media_task() local
142 struct tulip_private *tp = from_timer(tp, t, timer); in mxic_timer() local
159 struct tulip_private *tp = from_timer(tp, t, timer); in comet_timer() local
D21142.c30 struct tulip_private *tp = in t21142_media_task() local
113 struct tulip_private *tp = netdev_priv(dev); in t21142_start_nway() local
141 struct tulip_private *tp = netdev_priv(dev); in t21142_lnk_change() local
Deeprom.c104 static void tulip_build_fake_mediatable(struct tulip_private *tp) in tulip_build_fake_mediatable()
154 struct tulip_private *tp = netdev_priv(dev); in tulip_parse_eeprom() local
343 struct tulip_private *tp = netdev_priv(dev); in tulip_read_eeprom() local
/drivers/net/ethernet/3com/
Dtyphoon.c459 typhoon_hello(struct typhoon *tp) in typhoon_hello()
480 typhoon_process_response(struct typhoon *tp, int resp_size, in typhoon_process_response()
550 typhoon_num_free_cmd(struct typhoon *tp) in typhoon_num_free_cmd()
559 typhoon_num_free_resp(struct typhoon *tp) in typhoon_num_free_resp()
575 typhoon_issue_command(struct typhoon *tp, int num_cmd, struct cmd_desc *cmd, in typhoon_issue_command()
713 struct typhoon *tp = netdev_priv(dev); in typhoon_start_tx() local
860 struct typhoon *tp = netdev_priv(dev); in typhoon_set_rx_mode() local
897 typhoon_do_get_stats(struct typhoon *tp) in typhoon_do_get_stats()
951 struct typhoon *tp = netdev_priv(dev); in typhoon_get_stats() local
970 struct typhoon *tp = netdev_priv(dev); in typhoon_get_drvinfo() local
[all …]
/drivers/net/ethernet/sis/
Dsis190.c400 struct sis190_private *tp = netdev_priv(dev); in __mdio_write() local
407 struct sis190_private *tp = netdev_priv(dev); in __mdio_read() local
487 static struct sk_buff *sis190_alloc_rx_skb(struct sis190_private *tp, in sis190_alloc_rx_skb()
512 static u32 sis190_rx_fill(struct sis190_private *tp, struct net_device *dev, in sis190_rx_fill()
531 static bool sis190_try_rx_copy(struct sis190_private *tp, in sis190_try_rx_copy()
575 struct sis190_private *tp, void __iomem *ioaddr) in sis190_rx_interrupt()
687 struct sis190_private *tp, void __iomem *ioaddr) in sis190_tx_interrupt()
738 struct sis190_private *tp = netdev_priv(dev); in sis190_irq() local
777 struct sis190_private *tp = netdev_priv(dev); in sis190_netpoll() local
786 static void sis190_free_rx_skb(struct sis190_private *tp, in sis190_free_rx_skb()
[all …]
/drivers/sbus/char/
Dbbc_envctrl.c120 static void get_current_temps(struct bbc_cpu_temperature *tp) in get_current_temps()
138 static void do_envctrl_shutdown(struct bbc_cpu_temperature *tp) in do_envctrl_shutdown()
169 static void analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_ambient_temp()
224 static void analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) in analyze_cpu_temp()
279 static void analyze_temps(struct bbc_cpu_temperature *tp, unsigned long *last_warn) in analyze_temps()
292 struct bbc_cpu_temperature *tp; in prioritize_fan_action() local
425 struct bbc_cpu_temperature *tp; in kenvctrld() local
449 struct bbc_cpu_temperature *tp; in attach_one_temp() local
532 static void destroy_one_temp(struct bbc_cpu_temperature *tp) in destroy_one_temp()
540 struct bbc_cpu_temperature *tp, *tpos; in destroy_all_temps() local
/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c70 struct sym_tcb *tp = &np->target[target]; in sym_print_nego_msg() local
902 struct sym_tcb *tp = &np->target[i]; local
1408 struct sym_tcb *tp = &np->target[cp->target]; local
1645 struct sym_tcb *tp = &np->target[cp->target]; local
1877 struct sym_tcb *tp = &np->target[i]; local
1936 struct sym_tcb *tp = &np->target[target]; local
2035 static void sym_announce_transfer_rate(struct sym_tcb *tp)
2064 struct sym_tcb *tp = &np->target[target]; local
2094 struct sym_tcb *tp = &np->target[target]; local
2127 struct sym_tcb *tp = &np->target[target]; local
[all …]
Dsym_glue.c249 struct sym_tcb *tp = &np->target[cp->target]; in sym_scatter() local
284 struct sym_tcb *tp; in sym_queue_command() local
696 static void sym_tune_dev_queuing(struct sym_tcb *tp, int lun, u_short reqtags) in sym_tune_dev_queuing()
721 struct sym_tcb *tp = &np->target[sdev->id]; in sym53c8xx_slave_alloc() local
781 struct sym_tcb *tp = &np->target[sdev->id]; in sym53c8xx_slave_configure() local
817 struct sym_tcb *tp = &np->target[sdev->id]; in sym53c8xx_slave_destroy() local
890 struct sym_tcb *tp; in sym_exec_user_command() local
1886 struct sym_tcb *tp = &np->target[starget->id]; in sym2_set_offset() local
1896 struct sym_tcb *tp = &np->target[starget->id]; in sym2_set_period() local
1911 struct sym_tcb *tp = &np->target[starget->id]; in sym2_set_width() local
[all …]
/drivers/input/mouse/
Dtrackpoint.c107 struct trackpoint_data *tp = psmouse->private; in trackpoint_show_int_attr() local
120 struct trackpoint_data *tp = psmouse->private; in trackpoint_set_int_attr() local
149 struct trackpoint_data *tp = psmouse->private; in trackpoint_set_bit_attr() local
207 struct trackpoint_data *tp = psmouse->private; in trackpoint_is_attr_available() local
305 struct trackpoint_data *tp = psmouse->private; in trackpoint_sync() local
347 static void trackpoint_defaults(struct trackpoint_data *tp) in trackpoint_defaults()
378 struct trackpoint_data *tp = psmouse->private; in trackpoint_reconnect() local
399 struct trackpoint_data *tp; in trackpoint_detect() local
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.h91 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale) argument
92 #define RCV_WSCALE(tp) ((tp)->rx_opt.rcv_wscale) argument
93 #define USER_MSS(tp) ((tp)->rx_opt.user_mss) argument
94 #define TS_RECENT_STAMP(tp) ((tp)->rx_opt.ts_recent_stamp) argument
95 #define WSCALE_OK(tp) ((tp)->rx_opt.wscale_ok) argument
96 #define TSTAMP_OK(tp) ((tp)->rx_opt.tstamp_ok) argument
97 #define SACK_OK(tp) ((tp)->rx_opt.sack_ok) argument
Dchtls_io.c110 struct tcp_sock *tp = tcp_sk(sk); in send_flowc_wr() local
169 struct tcp_sock *tp; in send_tx_flowc_wr() local
599 struct tcp_sock *tp; in chtls_push_frames() local
713 static void mark_urg(struct tcp_sock *tp, int flags, in mark_urg()
732 struct tcp_sock *tp = tcp_sk(sk); in should_push() local
752 static bool corked(const struct tcp_sock *tp, int flags) in corked()
772 struct tcp_sock *tp = tcp_sk(sk); in chtls_tcp_push() local
822 struct tcp_sock *tp = tcp_sk(sk); in skb_entail() local
1011 struct tcp_sock *tp = tcp_sk(sk); in chtls_sendmsg() local
1236 struct tcp_sock *tp; in chtls_sendpage() local
[all …]
Dchtls_cm.c145 struct tcp_sock *tp; in assign_rxopt() local
227 struct tcp_sock *tp; in chtls_send_abort() local
257 struct tcp_sock *tp = tcp_sk(sk); in chtls_send_reset() local
288 struct tcp_sock *tp = tcp_sk(sk); in tcp_uncork() local
448 struct tcp_sock *tp; in chtls_disconnect() local
951 struct tcp_sock *tp; in chtls_select_mss() local
1013 const struct tcp_sock *tp; in chtls_pass_accept_rpl() local
1123 struct tcp_sock *tp; in chtls_recv_sock() local
1464 struct tcp_sock *tp = tcp_sk(sk); in make_established() local
1639 struct tcp_sock *tp = tcp_sk(sk); in handle_urg_ptr() local
[all …]
/drivers/scsi/
Desp_scsi.c552 static int esp_need_to_nego_wide(struct esp_target_data *tp) in esp_need_to_nego_wide()
559 static int esp_need_to_nego_sync(struct esp_target_data *tp) in esp_need_to_nego_sync()
737 struct esp_target_data *tp; in esp_maybe_execute_command() local
1142 struct esp_target_data *tp; in esp_reconnect() local
1248 struct esp_target_data *tp = &esp->target[cmd->device->id]; in esp_finish_select() local
1412 static void esp_setsync(struct esp *esp, struct esp_target_data *tp, in esp_setsync()
1455 struct esp_target_data *tp; in esp_msgin_reject() local
1491 static void esp_msgin_sdtr(struct esp *esp, struct esp_target_data *tp) in esp_msgin_sdtr()
1542 static void esp_msgin_wdtr(struct esp *esp, struct esp_target_data *tp) in esp_msgin_wdtr()
1595 struct esp_target_data *tp; in esp_msgin_extended() local
[all …]

1234