/linux-master/drivers/s390/char/ |
H A D | con3270.c | 140 static void tty3270_set_timer(struct tty3270 *tp, int expires) argument 142 mod_timer(&tp->timer, jiffies + expires); 145 static int tty3270_tty_rows(struct tty3270 *tp) argument 147 return tp->view.rows - TTY3270_INPUT_AREA_ROWS; 150 static char *tty3270_add_ba(struct tty3270 *tp, char *cp, char order, int x, int y) argument 153 raw3270_buffer_address(tp->view.dev, cp, x, y); 157 static char *tty3270_add_ra(struct tty3270 *tp, char *cp, int x, int y, char c) argument 159 cp = tty3270_add_ba(tp, cp, TO_RA, x, y); 164 static char *tty3270_add_sa(struct tty3270 *tp, char *cp, char attr, char value) argument 172 static char *tty3270_add_ge(struct tty3270 *tp, cha argument 179 tty3270_add_sf(struct tty3270 *tp, char *cp, char type) argument 186 tty3270_line_increment(struct tty3270 *tp, unsigned int line, unsigned int incr) argument 191 tty3270_get_write_line(struct tty3270 *tp, unsigned int num) argument 196 tty3270_get_view_line(struct tty3270 *tp, unsigned int num) argument 206 tty3270_update_prompt(struct tty3270 *tp, char *input) argument 216 tty3270_add_prompt(struct tty3270 *tp) argument 241 tty3270_ebcdic_convert(struct tty3270 *tp, char *d, char *s) argument 252 tty3270_add_status(struct tty3270 *tp) argument 285 tty3270_blank_screen(struct tty3270 *tp) argument 303 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); local 314 tty3270_required_length(struct tty3270 *tp, struct tty3270_line *line) argument 353 tty3270_add_reset_attributes(struct tty3270 *tp, struct tty3270_line *line, char *cp, struct tty3270_attribute *attr, int lineno) argument 367 tty3270_graphics_translate(struct tty3270 *tp, char ch) argument 397 tty3270_add_attributes(struct tty3270 *tp, struct tty3270_line *line, struct tty3270_attribute *attr, char *cp, int lineno) argument 455 tty3270_convert_line(struct tty3270 *tp, struct tty3270_line *line, int lineno) argument 472 tty3270_update_lines_visible(struct tty3270 *tp, struct raw3270_request *rq) argument 493 tty3270_update_lines_all(struct tty3270 *tp, struct raw3270_request *rq) argument 526 struct tty3270 *tp = from_timer(tp, t, timer); local 585 tty3270_rcl_add(struct tty3270 *tp, char *input, int len) argument 600 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); local 620 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); local 625 tty3270_redraw(struct tty3270 *tp) argument 640 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); local 657 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); local 674 struct tty3270 *tp = container_of(rrq->view, struct tty3270, view); local 734 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); local 744 tty3270_issue_read(struct tty3270 *tp, int lock) argument 773 struct tty3270 *tp = (struct tty3270 *)data; local 784 struct tty3270 *tp = container_of(view, struct tty3270, view); local 793 struct tty3270 *tp = container_of(view, struct tty3270, view); local 798 tty3270_irq(struct tty3270 *tp, struct raw3270_request *rq, struct irb *irb) argument 829 struct tty3270 *tp; local 876 tty3270_free_view(struct tty3270 *tp) argument 890 tty3270_alloc_screen(struct tty3270 *tp, unsigned int rows, unsigned int cols, int *allocated_out) argument 966 struct tty3270 *tp = container_of(view, struct tty3270, view); local 1043 struct tty3270 *tp = container_of(view, struct tty3270, view); local 1060 struct tty3270 *tp = container_of(view, struct tty3270, view); local 1097 struct tty3270 *tp; local 1183 struct tty3270 *tp; local 1214 struct tty3270 *tp = tty->driver_data; local 1228 struct tty3270 *tp = tty->driver_data; local 1238 struct tty3270 *tp = tty->driver_data; local 1258 tty3270_put_character(struct tty3270 *tp, u8 ch) argument 1282 tty3270_cr(struct tty3270 *tp) argument 1290 tty3270_lf(struct tty3270 *tp) argument 1309 tty3270_ri(struct tty3270 *tp) argument 1315 tty3270_reset_cell(struct tty3270 *tp, struct tty3270_cell *cell) argument 1324 tty3270_insert_characters(struct tty3270 *tp, int n) argument 1349 tty3270_delete_characters(struct tty3270 *tp, int n) argument 1369 tty3270_erase_characters(struct tty3270 *tp, int n) argument 1389 tty3270_erase_line(struct tty3270 *tp, int mode) argument 1430 tty3270_erase_display(struct tty3270 *tp, int mode) argument 1464 tty3270_set_attributes(struct tty3270 *tp) argument 1521 tty3270_getpar(struct tty3270 *tp, int ix) argument 1526 tty3270_goto_xy(struct tty3270 *tp, int cx, int cy) argument 1564 tty3270_escape_sequence(struct tty3270 *tp, u8 ch) argument 1728 tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty, const u8 *buf, size_t count) argument 1809 struct tty3270 *tp; local 1827 struct tty3270 *tp; local 1842 struct tty3270 *tp; local 1858 struct tty3270 *tp; local 1881 struct tty3270 *tp; local 1894 struct tty3270 *tp; local 1909 struct tty3270 *tp; local 1934 struct tty3270 *tp; local 1948 struct tty3270 *tp; local 2053 struct tty3270 *tp = co->data; local 2083 con3270_wait_write(struct tty3270 *tp) argument 2102 struct tty3270 *tp; local 2151 struct tty3270 *tp; local [all...] |
/linux-master/include/rv/ |
H A D | instrumentation.h | 16 #define rv_attach_trace_probe(monitor, tp, rv_handler) \ 18 check_trace_callback_type_##tp(rv_handler); \ 19 WARN_ONCE(register_trace_##tp(rv_handler, NULL), \ 20 "fail attaching " #monitor " " #tp "handler"); \ 26 #define rv_detach_trace_probe(monitor, tp, rv_handler) \ 28 unregister_trace_##tp(rv_handler, NULL); \
|
/linux-master/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 120 static void get_current_temps(struct bbc_cpu_temperature *tp) argument 122 tp->prev_amb_temp = tp->curr_amb_temp; 123 bbc_i2c_readb(tp->client, 124 (unsigned char *) &tp->curr_amb_temp, 126 tp->prev_cpu_temp = tp->curr_cpu_temp; 127 bbc_i2c_readb(tp->client, 128 (unsigned char *) &tp->curr_cpu_temp, 132 tp 138 do_envctrl_shutdown(struct bbc_cpu_temperature *tp) argument 169 analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) argument 224 analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) argument 279 analyze_temps(struct bbc_cpu_temperature *tp, unsigned long *last_warn) argument 292 struct bbc_cpu_temperature *tp; local 425 struct bbc_cpu_temperature *tp; local 449 struct bbc_cpu_temperature *tp; local 532 destroy_one_temp(struct bbc_cpu_temperature *tp) argument 540 struct bbc_cpu_temperature *tp, *tpos; local [all...] |
/linux-master/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 77 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) 78 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) 79 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) 80 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) 81 #define RTL_R16(tp, reg) readw(tp 683 tp_to_dev(struct rtl8169_private *tp) argument 688 rtl_lock_config_regs(struct rtl8169_private *tp) argument 698 rtl_unlock_config_regs(struct rtl8169_private *tp) argument 708 rtl_pci_commit(struct rtl8169_private *tp) argument 714 rtl_mod_config2(struct rtl8169_private *tp, u8 clear, u8 set) argument 725 rtl_mod_config5(struct rtl8169_private *tp, u8 clear, u8 set) argument 736 rtl_is_8125(struct rtl8169_private *tp) argument 741 rtl_is_8168evl_up(struct rtl8169_private *tp) argument 748 rtl_supports_eee(struct rtl8169_private *tp) argument 755 rtl_read_mac_from_reg(struct rtl8169_private *tp, u8 *mac, int reg) argument 768 rtl_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long usecs, int n, bool high) argument 785 rtl_loop_wait_high(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) argument 792 rtl_loop_wait_low(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) argument 809 rtl8168_led_mod_ctrl(struct rtl8169_private *tp, u16 mask, u16 val) argument 827 rtl8168_get_led_mode(struct rtl8169_private *tp) argument 850 rtl8125_set_led_mode(struct rtl8169_private *tp, int index, u16 mode) argument 871 rtl8125_get_led_mode(struct rtl8169_private *tp, int index) argument 888 r8169_get_led_name(struct rtl8169_private *tp, int idx, char *buf, int buf_len) argument 910 r8168fp_adjust_ocp_cmd(struct rtl8169_private *tp, u32 *cmd, int type) argument 924 _rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, u32 val, int type) argument 939 rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, u32 val) argument 945 _rtl_eri_read(struct rtl8169_private *tp, int addr, int type) argument 956 rtl_eri_read(struct rtl8169_private *tp, int addr) argument 961 rtl_w0w1_eri(struct rtl8169_private *tp, int addr, u32 p, u32 m) argument 968 rtl_eri_set_bits(struct rtl8169_private *tp, int addr, u32 p) argument 973 rtl_eri_clear_bits(struct rtl8169_private *tp, int addr, u32 m) argument 988 r8168_phy_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) argument 998 r8168_phy_ocp_read(struct rtl8169_private *tp, u32 reg) argument 1009 __r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) argument 1017 r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) argument 1026 __r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) argument 1036 r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) argument 1048 r8168_mac_ocp_modify(struct rtl8169_private *tp, u32 reg, u16 mask, u16 set) argument 1063 rtl8168g_phy_suspend_quirk(struct rtl8169_private *tp, int value) argument 1077 r8168g_mdio_write(struct rtl8169_private *tp, int reg, int value) argument 1093 r8168g_mdio_read(struct rtl8169_private *tp, int reg) argument 1104 mac_mcu_write(struct rtl8169_private *tp, int reg, int value) argument 1114 mac_mcu_read(struct rtl8169_private *tp, int reg) argument 1124 r8169_mdio_write(struct rtl8169_private *tp, int reg, int value) argument 1136 r8169_mdio_read(struct rtl8169_private *tp, int reg) argument 1161 r8168dp_2_mdio_start(struct rtl8169_private *tp) argument 1166 r8168dp_2_mdio_stop(struct rtl8169_private *tp) argument 1171 r8168dp_2_mdio_write(struct rtl8169_private *tp, int reg, int value) argument 1180 r8168dp_2_mdio_read(struct rtl8169_private *tp, int reg) argument 1197 rtl_writephy(struct rtl8169_private *tp, int location, int val) argument 1213 rtl_readphy(struct rtl8169_private *tp, int location) argument 1231 rtl_ephy_write(struct rtl8169_private *tp, int reg_addr, int value) argument 1241 rtl_ephy_read(struct rtl8169_private *tp, int reg_addr) argument 1249 r8168dp_ocp_read(struct rtl8169_private *tp, u16 reg) argument 1256 r8168ep_ocp_read(struct rtl8169_private *tp, u16 reg) argument 1261 r8168dp_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data) argument 1269 r8168ep_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data) argument 1276 r8168dp_oob_notify(struct rtl8169_private *tp, u8 cmd) argument 1287 rtl8168_get_ocp_reg(struct rtl8169_private *tp) argument 1311 rtl8168ep_stop_cmac(struct rtl8169_private *tp) argument 1319 rtl_dash_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long usecs, int n, bool high) argument 1328 rtl_dash_loop_wait_high(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) argument 1335 rtl_dash_loop_wait_low(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) argument 1342 rtl8168dp_driver_start(struct rtl8169_private *tp) argument 1348 rtl8168ep_driver_start(struct rtl8169_private *tp) argument 1355 rtl8168_driver_start(struct rtl8169_private *tp) argument 1363 rtl8168dp_driver_stop(struct rtl8169_private *tp) argument 1369 rtl8168ep_driver_stop(struct rtl8169_private *tp) argument 1377 rtl8168_driver_stop(struct rtl8169_private *tp) argument 1385 r8168dp_check_dash(struct rtl8169_private *tp) argument 1392 r8168ep_check_dash(struct rtl8169_private *tp) argument 1397 rtl_dash_is_enabled(struct rtl8169_private *tp) argument 1409 rtl_get_dash_type(struct rtl8169_private *tp) argument 1422 rtl_set_d3_pll_down(struct rtl8169_private *tp, bool enable) argument 1439 rtl_reset_packet_filter(struct rtl8169_private *tp) argument 1450 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr) argument 1458 rtl_get_events(struct rtl8169_private *tp) argument 1466 rtl_ack_events(struct rtl8169_private *tp, u32 bits) argument 1474 rtl_irq_disable(struct rtl8169_private *tp) argument 1482 rtl_irq_enable(struct rtl8169_private *tp) argument 1490 rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) argument 1497 rtl_link_chg_patch(struct rtl8169_private *tp) argument 1537 struct rtl8169_private *tp = netdev_priv(dev); local 1543 __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) argument 1617 struct rtl8169_private *tp = netdev_priv(dev); local 1631 struct rtl8169_private *tp = netdev_priv(dev); local 1650 struct rtl8169_private *tp = netdev_priv(dev); local 1662 rtl_set_rx_config_features(struct rtl8169_private *tp, netdev_features_t features) argument 1685 struct rtl8169_private *tp = netdev_priv(dev); local 1724 struct rtl8169_private *tp = netdev_priv(dev); local 1764 rtl8169_do_counters(struct rtl8169_private *tp, u32 counter_cmd) argument 1776 rtl8169_update_counters(struct rtl8169_private *tp) argument 1788 rtl8169_init_counter_offsets(struct rtl8169_private *tp) argument 1826 struct rtl8169_private *tp = netdev_priv(dev); local 1910 rtl_coalesce_info(struct rtl8169_private *tp) argument 1936 struct rtl8169_private *tp = netdev_priv(dev); local 1972 rtl_coalesce_choose_scale(struct rtl8169_private *tp, u32 usec, u16 *cp01) argument 1997 struct rtl8169_private *tp = netdev_priv(dev); local 2061 rtl_set_eee_txidle_timer(struct rtl8169_private *tp) argument 2082 r8169_get_tx_lpi_timer_us(struct rtl8169_private *tp) argument 2096 struct rtl8169_private *tp = netdev_priv(dev); local 2113 struct rtl8169_private *tp = netdev_priv(dev); local 2135 struct rtl8169_private *tp = netdev_priv(dev); local 2148 struct rtl8169_private *tp = netdev_priv(dev); local 2318 rtl_release_firmware(struct rtl8169_private *tp) argument 2327 r8169_apply_firmware(struct rtl8169_private *tp) argument 2344 rtl8168_config_eee_mac(struct rtl8169_private *tp) argument 2353 rtl8125a_config_eee_mac(struct rtl8169_private *tp) argument 2359 rtl8125b_config_eee_mac(struct rtl8169_private *tp) argument 2364 rtl_rar_exgmac_set(struct rtl8169_private *tp, const u8 *addr) argument 2372 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp) argument 2388 rtl_schedule_task(struct rtl8169_private *tp, enum rtl_flag flag) argument 2397 rtl8169_init_phy(struct rtl8169_private *tp) argument 2419 rtl_rar_set(struct rtl8169_private *tp, const u8 *addr) argument 2437 struct rtl8169_private *tp = netdev_priv(dev); local 2449 rtl_init_rxcfg(struct rtl8169_private *tp) argument 2478 rtl8169_init_ring_indexes(struct rtl8169_private *tp) argument 2483 r8168c_hw_jumbo_enable(struct rtl8169_private *tp) argument 2489 r8168c_hw_jumbo_disable(struct rtl8169_private *tp) argument 2495 r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) argument 2500 r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) argument 2505 r8168e_hw_jumbo_enable(struct rtl8169_private *tp) argument 2512 r8168e_hw_jumbo_disable(struct rtl8169_private *tp) argument 2519 r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) argument 2524 r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) argument 2529 rtl_jumbo_config(struct rtl8169_private *tp) argument 2587 rtl_hw_reset(struct rtl8169_private *tp) argument 2594 rtl_request_firmware(struct rtl8169_private *tp) argument 2619 rtl_rx_close(struct rtl8169_private *tp) argument 2645 rtl_wait_txrx_fifo_empty(struct rtl8169_private *tp) argument 2665 rtl_disable_rxdvgate(struct rtl8169_private *tp) argument 2670 rtl_enable_rxdvgate(struct rtl8169_private *tp) argument 2677 rtl_wol_enable_rx(struct rtl8169_private *tp) argument 2687 rtl_prepare_power_down(struct rtl8169_private *tp) argument 2702 rtl_set_tx_config_registers(struct rtl8169_private *tp) argument 2713 rtl_set_rx_max_size(struct rtl8169_private *tp) argument 2719 rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp) argument 2732 rtl8169_set_magic_reg(struct rtl8169_private *tp) argument 2754 struct rtl8169_private *tp = netdev_priv(dev); local 2794 rtl_csi_write(struct rtl8169_private *tp, int addr, int value) argument 2805 rtl_csi_read(struct rtl8169_private *tp, int addr) argument 2816 rtl_set_aspm_entry_latency(struct rtl8169_private *tp, u8 val) argument 2837 rtl_set_def_aspm_entry_latency(struct rtl8169_private *tp) argument 2849 __rtl_ephy_init(struct rtl8169_private *tp, const struct ephy_info *e, int len) argument 2863 rtl_disable_clock_request(struct rtl8169_private *tp) argument 2869 rtl_enable_clock_request(struct rtl8169_private *tp) argument 2875 rtl_pcie_state_l2l3_disable(struct rtl8169_private *tp) argument 2881 rtl_enable_exit_l1(struct rtl8169_private *tp) argument 2906 rtl_disable_exit_l1(struct rtl8169_private *tp) argument 2920 rtl_hw_aspm_clkreq_enable(struct rtl8169_private *tp, bool enable) argument 2981 rtl_set_fifo_size(struct rtl8169_private *tp, u16 rx_stat, u16 tx_stat, u16 rx_dyn, u16 tx_dyn) argument 2991 rtl8168g_set_pause_thresholds(struct rtl8169_private *tp, u8 low, u8 high) argument 2999 rtl_hw_start_8168b(struct rtl8169_private *tp) argument 3004 __rtl_hw_start_8168cp(struct rtl8169_private *tp) argument 3013 rtl_hw_start_8168cp_1(struct rtl8169_private *tp) argument 3030 rtl_hw_start_8168cp_2(struct rtl8169_private *tp) argument 3037 rtl_hw_start_8168cp_3(struct rtl8169_private *tp) argument 3047 rtl_hw_start_8168c_1(struct rtl8169_private *tp) argument 3064 rtl_hw_start_8168c_2(struct rtl8169_private *tp) argument 3078 rtl_hw_start_8168c_4(struct rtl8169_private *tp) argument 3085 rtl_hw_start_8168d(struct rtl8169_private *tp) argument 3092 rtl_hw_start_8168d_4(struct rtl8169_private *tp) argument 3108 rtl_hw_start_8168e_1(struct rtl8169_private *tp) argument 3139 rtl_hw_start_8168e_2(struct rtl8169_private *tp) argument 3172 rtl_hw_start_8168f(struct rtl8169_private *tp) argument 3195 rtl_hw_start_8168f_1(struct rtl8169_private *tp) argument 3211 rtl_hw_start_8411(struct rtl8169_private *tp) argument 3227 rtl_hw_start_8168g(struct rtl8169_private *tp) argument 3250 rtl_hw_start_8168g_1(struct rtl8169_private *tp) argument 3263 rtl_hw_start_8168g_2(struct rtl8169_private *tp) argument 3281 rtl8411b_fix_phy_down(struct rtl8169_private *tp) argument 3308 rtl_hw_start_8411_2(struct rtl8169_private *tp) argument 3354 rtl_hw_start_8168h_1(struct rtl8169_private *tp) argument 3415 rtl_hw_start_8168ep(struct rtl8169_private *tp) argument 3442 rtl_hw_start_8168ep_3(struct rtl8169_private *tp) argument 3463 rtl_hw_start_8117(struct rtl8169_private *tp) argument 3523 rtl_hw_start_8102e_1(struct rtl8169_private *tp) argument 3552 rtl_hw_start_8102e_2(struct rtl8169_private *tp) argument 3560 rtl_hw_start_8102e_3(struct rtl8169_private *tp) argument 3567 rtl_hw_start_8401(struct rtl8169_private *tp) argument 3580 rtl_hw_start_8105e_1(struct rtl8169_private *tp) argument 3607 rtl_hw_start_8105e_2(struct rtl8169_private *tp) argument 3613 rtl_hw_start_8402(struct rtl8169_private *tp) argument 3641 rtl_hw_start_8106(struct rtl8169_private *tp) argument 3666 rtl_hw_start_8125_common(struct rtl8169_private *tp) argument 3736 rtl_hw_start_8125a_2(struct rtl8169_private *tp) argument 3759 rtl_hw_start_8125b(struct rtl8169_private *tp) argument 3775 rtl_hw_start_8126a(struct rtl8169_private *tp) argument 3781 rtl_hw_config(struct rtl8169_private *tp) argument 3830 rtl_hw_start_8125(struct rtl8169_private *tp) argument 3855 rtl_hw_start_8168(struct rtl8169_private *tp) argument 3868 rtl_hw_start_8169(struct rtl8169_private *tp) argument 3886 rtl_hw_start(struct rtl8169_private *tp) argument 3923 struct rtl8169_private *tp = netdev_priv(dev); local 3943 rtl8169_alloc_rx_data(struct rtl8169_private *tp, struct RxDesc *desc) argument 3968 rtl8169_rx_clear(struct rtl8169_private *tp) argument 3983 rtl8169_rx_fill(struct rtl8169_private *tp) argument 4004 rtl8169_init_ring(struct rtl8169_private *tp) argument 4014 rtl8169_unmap_tx_skb(struct rtl8169_private *tp, unsigned int entry) argument 4025 rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, unsigned int n) argument 4045 rtl8169_tx_clear(struct rtl8169_private *tp) argument 4051 rtl8169_cleanup(struct rtl8169_private *tp) argument 4088 rtl_reset_work(struct rtl8169_private *tp) argument 4105 struct rtl8169_private *tp = netdev_priv(dev); local 4110 rtl8169_tx_map(struct rtl8169_private *tp, const u32 *opts, u32 len, void *addr, unsigned int entry, bool desc_own) argument 4142 rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, const u32 *opts, unsigned int entry) argument 4187 rtl8125_quirk_udp_padto(struct rtl8169_private *tp, struct sk_buff *skb) argument 4214 rtl_quirk_packet_padto(struct rtl8169_private *tp, struct sk_buff *skb) argument 4252 rtl8169_tso_csum_v2(struct rtl8169_private *tp, struct sk_buff *skb, u32 *opts) argument 4310 rtl_tx_slots_avail(struct rtl8169_private *tp) argument 4316 rtl_chip_supports_csum_v2(struct rtl8169_private *tp) argument 4327 rtl8169_doorbell(struct rtl8169_private *tp) argument 4339 struct rtl8169_private *tp = netdev_priv(dev); local 4445 struct rtl8169_private *tp = netdev_priv(dev); local 4472 struct rtl8169_private *tp = netdev_priv(dev); local 4488 rtl_tx(struct net_device *dev, struct rtl8169_private *tp, int budget) argument 4550 rtl_rx(struct net_device *dev, struct rtl8169_private *tp, int budget) argument 4638 struct rtl8169_private *tp = dev_instance; local 4670 struct rtl8169_private *tp = local 4711 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); local 4727 struct rtl8169_private *tp = netdev_priv(ndev); local 4744 r8169_phy_connect(struct rtl8169_private *tp) argument 4766 rtl8169_down(struct rtl8169_private *tp) argument 4786 rtl8169_up(struct rtl8169_private *tp) argument 4804 struct rtl8169_private *tp = netdev_priv(dev); local 4834 struct rtl8169_private *tp = netdev_priv(dev); local 4842 struct rtl8169_private *tp = netdev_priv(dev); local 4905 struct rtl8169_private *tp = netdev_priv(dev); local 4937 rtl8169_net_suspend(struct rtl8169_private *tp) argument 4947 struct rtl8169_private *tp = dev_get_drvdata(dev); local 4962 struct rtl8169_private *tp = dev_get_drvdata(device); local 4975 struct rtl8169_private *tp = dev_get_drvdata(device); local 4989 struct rtl8169_private *tp = dev_get_drvdata(device); local 5006 struct rtl8169_private *tp = dev_get_drvdata(device); local 5025 struct rtl8169_private *tp = pci_get_drvdata(pdev); local 5042 struct rtl8169_private *tp = pci_get_drvdata(pdev); local 5083 rtl_set_irq_mask(struct rtl8169_private *tp) argument 5096 rtl_alloc_irq(struct rtl8169_private *tp) argument 5117 rtl_read_mac_address(struct rtl8169_private *tp, u8 mac_addr[ETH_ALEN]) argument 5138 r8168g_wait_ll_share_fifo_ready(struct rtl8169_private *tp) argument 5145 struct rtl8169_private *tp = mii_bus->priv; local 5156 struct rtl8169_private *tp = mii_bus->priv; local 5166 r8169_mdio_register(struct rtl8169_private *tp) argument 5222 rtl_hw_init_8168g(struct rtl8169_private *tp) argument 5237 rtl_hw_init_8125(struct rtl8169_private *tp) argument 5254 rtl_hw_initialize(struct rtl8169_private *tp) argument 5271 rtl_jumbo_max(struct rtl8169_private *tp) argument 5293 rtl_init_mac_address(struct rtl8169_private *tp) argument 5320 rtl_aspm_is_safe(struct rtl8169_private *tp) argument 5331 struct rtl8169_private *tp; local [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | windows.c | 42 static inline void shift_window_buffer(int first_win, int last_win, struct thread_info *tp) argument 47 tp->rwbuf_stkptrs[i] = tp->rwbuf_stkptrs[i+1]; 48 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32)); 63 struct thread_info *tp = current_thread_info(); local 67 if(!tp->w_saved) 71 for(window = tp->w_saved - 1; window >= 0; window--) { 72 unsigned long sp = tp->rwbuf_stkptrs[window]; 75 if (copy_to_user((char __user *) sp, &tp 115 struct thread_info *tp = current_thread_info(); local [all...] |
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 92 #define tg3_flag(tp, flag) \ 93 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 94 #define tg3_flag_set(tp, flag) \ 95 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 96 #define tg3_flag_clear(tp, flag) \ 97 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 130 #define TG3_MAX_MTU(tp) \ 131 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) 137 #define TG3_RX_STD_RING_SIZE(tp) \ 138 (tg3_flag(tp, LRG_PROD_RING_CA 470 tg3_write32(struct tg3 *tp, u32 off, u32 val) argument 475 tg3_read32(struct tg3 *tp, u32 off) argument 480 tg3_ape_write32(struct tg3 *tp, u32 off, u32 val) argument 485 tg3_ape_read32(struct tg3 *tp, u32 off) argument 490 tg3_write_indirect_reg32(struct tg3 *tp, u32 off, u32 val) argument 500 tg3_write_flush_reg32(struct tg3 *tp, u32 off, u32 val) argument 506 tg3_read_indirect_reg32(struct tg3 *tp, u32 off) argument 518 tg3_write_indirect_mbox(struct tg3 *tp, u32 off, u32 val) argument 548 tg3_read_indirect_mbox(struct tg3 *tp, u32 off) argument 565 _tw32_flush(struct tg3 *tp, u32 off, u32 val, u32 usec_wait) argument 584 tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val) argument 593 tg3_write32_tx_mbox(struct tg3 *tp, u32 off, u32 val) argument 604 tg3_read32_mbox_5906(struct tg3 *tp, u32 off) argument 609 tg3_write32_mbox_5906(struct tg3 *tp, u32 off, u32 val) argument 625 tg3_write_mem(struct tg3 *tp, u32 off, u32 val) argument 650 tg3_read_mem(struct tg3 *tp, u32 off, u32 *val) argument 677 tg3_ape_lock_init(struct tg3 *tp) argument 707 tg3_ape_lock(struct tg3 *tp, int locknum) argument 770 tg3_ape_unlock(struct tg3 *tp, int locknum) argument 807 tg3_ape_event_lock(struct tg3 *tp, u32 timeout_us) argument 829 tg3_ape_wait_for_event(struct tg3 *tp, u32 timeout_us) argument 845 tg3_ape_scratchpad_read(struct tg3 *tp, u32 *data, u32 base_off, u32 len) argument 910 tg3_ape_send_event(struct tg3 *tp, u32 event) argument 937 tg3_ape_driver_state_change(struct tg3 *tp, int kind) argument 985 tg3_send_ape_heartbeat(struct tg3 *tp, unsigned long interval) argument 997 tg3_disable_ints(struct tg3 *tp) argument 1007 tg3_enable_ints(struct tg3 *tp) argument 1040 struct tg3 *tp = tnapi->tp; local 1069 struct tg3 *tp = tnapi->tp; local 1082 tg3_switch_clocks(struct tg3 *tp) argument 1117 __tg3_readphy(struct tg3 *tp, unsigned int phy_addr, int reg, u32 *val) argument 1171 tg3_readphy(struct tg3 *tp, int reg, u32 *val) argument 1176 __tg3_writephy(struct tg3 *tp, unsigned int phy_addr, int reg, u32 val) argument 1230 tg3_writephy(struct tg3 *tp, int reg, u32 val) argument 1235 tg3_phy_cl45_write(struct tg3 *tp, u32 devad, u32 addr, u32 val) argument 1258 tg3_phy_cl45_read(struct tg3 *tp, u32 devad, u32 addr, u32 *val) argument 1281 tg3_phydsp_read(struct tg3 *tp, u32 reg, u32 *val) argument 1292 tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val) argument 1303 tg3_phy_auxctl_read(struct tg3 *tp, int reg, u32 *val) argument 1316 tg3_phy_auxctl_write(struct tg3 *tp, int reg, u32 set) argument 1324 tg3_phy_toggle_auxctl_smdsp(struct tg3 *tp, bool enable) argument 1345 tg3_phy_shdw_write(struct tg3 *tp, int reg, u32 val) argument 1351 tg3_bmcr_reset(struct tg3 *tp) argument 1384 struct tg3 *tp = bp->priv; local 1399 struct tg3 *tp = bp->priv; local 1412 tg3_mdio_config_5785(struct tg3 *tp) argument 1493 tg3_mdio_start(struct tg3 *tp) argument 1504 tg3_mdio_init(struct tg3 *tp) argument 1604 tg3_mdio_fini(struct tg3 *tp) argument 1614 tg3_generate_fw_event(struct tg3 *tp) argument 1628 tg3_wait_for_event_ack(struct tg3 *tp) argument 1658 tg3_phy_gather_ump_data(struct tg3 *tp, u32 *data) argument 1693 tg3_ump_link_report(struct tg3 *tp) argument 1715 tg3_stop_fw(struct tg3 *tp) argument 1731 tg3_write_sig_pre_reset(struct tg3 *tp, int kind) argument 1760 tg3_write_sig_post_reset(struct tg3 *tp, int kind) argument 1781 tg3_write_sig_legacy(struct tg3 *tp, int kind) argument 1806 tg3_poll_fw(struct tg3 *tp) argument 1870 tg3_link_report(struct tg3 *tp) argument 1960 tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) argument 2003 struct tg3 *tp = netdev_priv(dev); local 2083 tg3_phy_init(struct tg3 *tp) argument 2129 tg3_phy_start(struct tg3 *tp) argument 2152 tg3_phy_stop(struct tg3 *tp) argument 2160 tg3_phy_fini(struct tg3 *tp) argument 2168 tg3_phy_set_extloopbk(struct tg3 *tp) argument 2198 tg3_phy_fet_toggle_apd(struct tg3 *tp, bool enable) argument 2218 tg3_phy_toggle_apd(struct tg3 *tp, bool enable) argument 2249 tg3_phy_toggle_automdix(struct tg3 *tp, bool enable) argument 2290 tg3_phy_set_wirespeed(struct tg3 *tp) argument 2304 tg3_phy_apply_otp(struct tg3 *tp) argument 2341 tg3_eee_pull_config(struct tg3 *tp, struct ethtool_keee *eee) argument 2381 tg3_phy_eee_adjust(struct tg3 *tp, bool current_link_up) argument 2421 tg3_phy_eee_enable(struct tg3 *tp) argument 2440 tg3_wait_macro_done(struct tg3 *tp) argument 2458 tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) argument 2524 tg3_phy_reset_chanpat(struct tg3 *tp) argument 2544 tg3_phy_reset_5703_4_5(struct tg3 *tp) argument 2612 tg3_carrier_off(struct tg3 *tp) argument 2618 tg3_warn_mgmt_link_flap(struct tg3 *tp) argument 2628 tg3_phy_reset(struct tg3 *tp) argument 2785 tg3_set_function_status(struct tg3 *tp, u32 newstat) argument 2808 tg3_pwrsrc_switch_to_vmain(struct tg3 *tp) argument 2833 tg3_pwrsrc_die_with_vmain(struct tg3 *tp) argument 2857 tg3_pwrsrc_switch_to_vaux(struct tg3 *tp) argument 2934 tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) argument 2959 tg3_frob_aux_power(struct tg3 *tp, bool include_wol) argument 3003 tg3_5700_link_polarity(struct tg3 *tp, u32 speed) argument 3016 tg3_phy_power_bug(struct tg3 *tp) argument 3041 tg3_phy_led_bug(struct tg3 *tp) argument 3055 tg3_power_down_phy(struct tg3 *tp, bool do_low_power) argument 3130 tg3_nvram_lock(struct tg3 *tp) argument 3153 tg3_nvram_unlock(struct tg3 *tp) argument 3164 tg3_enable_nvram_access(struct tg3 *tp) argument 3174 tg3_disable_nvram_access(struct tg3 *tp) argument 3183 tg3_nvram_read_using_eeprom(struct tg3 *tp, u32 offset, u32 *val) argument 3225 tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) argument 3244 tg3_nvram_phys_addr(struct tg3 *tp, u32 addr) argument 3259 tg3_nvram_logical_addr(struct tg3 *tp, u32 addr) argument 3280 tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) argument 3313 tg3_nvram_read_be32(struct tg3 *tp, u32 offset, __be32 *val) argument 3322 tg3_nvram_write_block_using_eeprom(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3372 tg3_nvram_write_block_unbuffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3471 tg3_nvram_write_block_buffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3526 tg3_nvram_write_block(struct tg3 *tp, u32 offset, u32 len, u8 *buf) argument 3581 tg3_pause_cpu(struct tg3 *tp, u32 cpu_base) argument 3599 tg3_rxcpu_pause(struct tg3 *tp) argument 3611 tg3_txcpu_pause(struct tg3 *tp) argument 3617 tg3_resume_cpu(struct tg3 *tp, u32 cpu_base) argument 3624 tg3_rxcpu_resume(struct tg3 *tp) argument 3630 tg3_halt_cpu(struct tg3 *tp, u32 cpu_base) argument 3667 tg3_fw_data_len(struct tg3 *tp, const struct tg3_firmware_hdr *fw_hdr) argument 3695 tg3_load_firmware_cpu(struct tg3 *tp, u32 cpu_base, u32 cpu_scratch_base, int cpu_scratch_size, const struct tg3_firmware_hdr *fw_hdr) argument 3761 tg3_pause_cpu_and_set_pc(struct tg3 *tp, u32 cpu_base, u32 pc) argument 3782 tg3_load_5701_a0_firmware_fix(struct tg3 *tp) argument 3823 tg3_validate_rxcpu_state(struct tg3 *tp) argument 3855 tg3_load_57766_firmware(struct tg3 *tp) argument 3896 tg3_load_tso_firmware(struct tg3 *tp) argument 3946 __tg3_set_one_mac_addr(struct tg3 *tp, const u8 *mac_addr, int index) argument 3966 __tg3_set_mac_addr(struct tg3 *tp, bool skip_mac_1) argument 3993 tg3_enable_register_access(struct tg3 *tp) argument 4003 tg3_power_up(struct tg3 *tp) argument 4022 tg3_power_down_prepare(struct tg3 *tp) argument 4269 tg3_power_down(struct tg3 *tp) argument 4275 tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u32 *speed, u8 *duplex) argument 4322 tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) argument 4395 tg3_phy_copper_begin(struct tg3 *tp) argument 4492 tg3_phy_pull_config(struct tg3 *tp) argument 4589 tg3_init_5401phy_dsp(struct tg3 *tp) argument 4608 tg3_phy_eee_config_ok(struct tg3 *tp) argument 4631 tg3_phy_copper_an_config_ok(struct tg3 *tp, u32 *lcladv) argument 4675 tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv) argument 4697 tg3_test_and_report_link_chg(struct tg3 *tp, bool curr_link_up) argument 4715 tg3_clear_mac_status(struct tg3 *tp) argument 4727 tg3_setup_eee(struct tg3 *tp) argument 4763 tg3_setup_copper_phy(struct tg3 *tp, bool force_reset) argument 5140 tg3_fiber_aneg_smachine(struct tg3 *tp, struct tg3_fiber_aneginfo *ap) argument 5392 fiber_autoneg(struct tg3 *tp, u32 *txflags, u32 *rxflags) argument 5437 tg3_init_bcm8002(struct tg3 *tp) argument 5487 tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) argument 5631 tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) argument 5696 tg3_setup_fiber_phy(struct tg3 *tp, bool force_reset) argument 5798 tg3_setup_fiber_mii_phy(struct tg3 *tp, bool force_reset) argument 5992 tg3_serdes_parallel_detect(struct tg3 *tp) argument 6052 tg3_setup_phy(struct tg3 *tp, bool force_reset) argument 6119 tg3_refclk_read(struct tg3 *tp, struct ptp_system_timestamp *sts) argument 6132 tg3_refclk_write(struct tg3 *tp, u64 newval) argument 6146 struct tg3 *tp = netdev_priv(dev); local 6174 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); local 6202 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); local 6215 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); local 6231 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); local 6246 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); local 6306 tg3_hwclock_to_timestamp(struct tg3 *tp, u64 hwclock, struct skb_shared_hwtstamps *timestamp) argument 6314 tg3_read_tx_tstamp(struct tg3 *tp, u64 *hwclock) argument 6322 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); local 6364 tg3_ptp_init(struct tg3 *tp) argument 6376 tg3_ptp_resume(struct tg3 *tp) argument 6385 tg3_ptp_fini(struct tg3 *tp) argument 6397 tg3_irq_sync(struct tg3 *tp) argument 6402 tg3_rd32_loop(struct tg3 *tp, u32 *dst, u32 off, u32 len) argument 6411 tg3_dump_legacy_regs(struct tg3 *tp, u32 *regs) argument 6461 tg3_dump_state(struct tg3 *tp) argument 6531 tg3_tx_recover(struct tg3 *tp) argument 6559 struct tg3 *tp = tnapi->tp; local 6672 tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) argument 6698 tg3_alloc_rx_data(struct tg3 *tp, struct tg3_rx_prodring_set *tpr, u32 opaque_key, u32 dest_idx_unmasked, unsigned int *frag_size) argument 6770 struct tg3 *tp = tnapi->tp; local 6837 struct tg3 *tp = tnapi->tp; local 7045 tg3_poll_link(struct tg3 *tp) argument 7069 tg3_rx_prodring_xfer(struct tg3 *tp, struct tg3_rx_prodring_set *dpr, struct tg3_rx_prodring_set *spr) argument 7197 struct tg3 *tp = tnapi->tp; local 7244 tg3_reset_task_schedule(struct tg3 *tp) argument 7250 tg3_reset_task_cancel(struct tg3 *tp) argument 7260 struct tg3 *tp = tnapi->tp; local 7317 tg3_process_error(struct tg3 *tp) argument 7354 struct tg3 *tp = tnapi->tp; local 7400 tg3_napi_disable(struct tg3 *tp) argument 7408 tg3_napi_enable(struct tg3 *tp) argument 7416 tg3_napi_init(struct tg3 *tp) argument 7425 tg3_napi_fini(struct tg3 *tp) argument 7433 tg3_netif_stop(struct tg3 *tp) argument 7442 tg3_netif_start(struct tg3 *tp) argument 7484 tg3_full_lock(struct tg3 *tp, int irq_sync) argument 7491 tg3_full_unlock(struct tg3 *tp) argument 7502 struct tg3 *tp = tnapi->tp; local 7521 struct tg3 *tp = tnapi->tp; local 7543 struct tg3 *tp = tnapi->tp; local 7592 struct tg3 *tp = tnapi->tp; local 7645 struct tg3 *tp = tnapi->tp; local 7660 struct tg3 *tp = netdev_priv(dev); local 7672 struct tg3 *tp = netdev_priv(dev); local 7693 tg3_4g_tso_overflow_test(struct tg3 *tp, dma_addr_t mapping, u32 len, u32 mss) argument 7705 tg3_40bit_overflow_test(struct tg3 *tp, dma_addr_t mapping, int len) argument 7731 struct tg3 *tp = tnapi->tp; local 7832 struct tg3 *tp = tnapi->tp; local 7894 tg3_tso_bug(struct tg3 *tp, struct tg3_napi *tnapi, struct netdev_queue *txq, struct sk_buff *skb) argument 7937 struct tg3 *tp = netdev_priv(dev); local 8218 struct tg3 *tp; local 8232 tg3_mac_loopback(struct tg3 *tp, bool enable) argument 8260 tg3_phy_lpbk_set(struct tg3 *tp, u32 speed, bool extlpbk) argument 8355 struct tg3 *tp = netdev_priv(dev); local 8382 struct tg3 *tp = netdev_priv(dev); local 8400 tg3_rx_prodring_free(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 8441 tg3_rx_prodring_alloc(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 8543 tg3_rx_prodring_fini(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 8562 tg3_rx_prodring_init(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) argument 8605 tg3_free_rings(struct tg3 *tp) argument 8639 tg3_init_rings(struct tg3 *tp) argument 8674 tg3_mem_tx_release(struct tg3 *tp) argument 8692 tg3_mem_tx_acquire(struct tg3 *tp) argument 8725 tg3_mem_rx_release(struct tg3 *tp) argument 8745 tg3_mem_rx_acquire(struct tg3 *tp) argument 8789 tg3_free_consistent(struct tg3 *tp) argument 8822 tg3_alloc_consistent(struct tg3 *tp) argument 8889 tg3_stop_block(struct tg3 *tp, unsigned long ofs, u32 enable_bit, bool silent) argument 8941 tg3_abort_hw(struct tg3 *tp, bool silent) argument 9013 tg3_save_pci_state(struct tg3 *tp) argument 9019 tg3_restore_pci_state(struct tg3 *tp) argument 9079 tg3_override_clk(struct tg3 *tp) argument 9100 tg3_restore_clk(struct tg3 *tp) argument 9147 tg3_save_pci_state(tp); variable 9181 tg3_full_unlock(tp); variable 9221 tg3_override_clk(tp); variable 9291 tg3_restore_pci_state(tp); variable 9302 tg3_stop_fw(tp); variable 9312 tg3_stop_fw(tp); variable 9350 tg3_mdio_start(tp); variable 9361 tg3_restore_clk(tp); variable 9405 tg3_halt(struct tg3 *tp, int kind, bool silent) argument 9442 struct tg3 *tp = netdev_priv(dev); local 9477 tg3_set_bdinfo(struct tg3 *tp, u32 bdinfo_addr, dma_addr_t mapping, u32 maxlen_flags, u32 nic_addr) argument 9498 tg3_coal_tx_init(struct tg3 *tp, struct ethtool_coalesce *ec) argument 9530 tg3_coal_rx_init(struct tg3 *tp, struct ethtool_coalesce *ec) argument 9564 __tg3_set_coalesce(struct tg3 *tp, struct ethtool_coalesce *ec) argument 9583 tg3_tx_rcbs_disable(struct tg3 *tp) argument 9605 tg3_tx_rcbs_init(struct tg3 *tp) argument 9626 tg3_rx_ret_rcbs_disable(struct tg3 *tp) argument 9649 tg3_rx_ret_rcbs_init(struct tg3 *tp) argument 9670 tg3_rings_reset(struct tg3 *tp) argument 9740 tg3_setup_rxbd_thresholds(struct tg3 *tp) argument 9803 tg3_set_multi(struct tg3 *tp, unsigned int accept_all) argument 9814 struct tg3 *tp = netdev_priv(dev); local 9880 tg3_rss_init_dflt_indir_tbl(struct tg3 *tp, u32 qcnt) argument 9888 tg3_rss_check_indir_tbl(struct tg3 *tp) argument 9910 tg3_rss_write_indir_tbl(struct tg3 *tp) argument 9927 tg3_lso_rd_dma_workaround_bit(struct tg3 *tp) argument 9936 tg3_reset_hw(struct tg3 *tp, bool reset_phy) argument 10852 tg3_init_hw(struct tg3 *tp, bool reset_phy) argument 10869 tg3_sd_scan_scratchpad(struct tg3 *tp, struct tg3_ocir *ocir) argument 10888 struct tg3 *tp = dev_get_drvdata(dev); local 10914 tg3_hwmon_close(struct tg3 *tp) argument 10922 tg3_hwmon_open(struct tg3 *tp) argument 10950 tg3_hwmon_close(struct tg3 *tp) argument 10951 tg3_hwmon_open(struct tg3 *tp) argument 10962 tg3_periodic_fetch_stats(struct tg3 *tp) argument 11028 tg3_chk_missed_msi(struct tg3 *tp) argument 11053 struct tg3 *tp = from_timer(tp, t, timer); local 11195 tg3_timer_init(struct tg3 *tp) argument 11213 tg3_timer_start(struct tg3 *tp) argument 11222 tg3_timer_stop(struct tg3 *tp) argument 11241 tg3_full_unlock(tp); variable 11242 tg3_timer_stop(tp); variable 11244 tg3_napi_enable(tp); variable 11253 struct tg3 *tp = container_of(work, struct tg3, reset_task); local 11304 tg3_request_irq(struct tg3 *tp, int irq_num) argument 11345 tg3_test_interrupt(struct tg3 *tp) argument 11422 tg3_test_msi(struct tg3 *tp) argument 11480 tg3_request_firmware(struct tg3 *tp) argument 11511 tg3_irq_count(struct tg3 *tp) argument 11527 tg3_enable_msix(struct tg3 *tp) argument 11586 tg3_ints_init(struct tg3 *tp) argument 11625 tg3_ints_fini(struct tg3 *tp) argument 11637 tg3_start(struct tg3 *tp, bool reset_phy, bool test_irq, bool init) argument 11752 tg3_stop(struct tg3 *tp) argument 11789 struct tg3 *tp = netdev_priv(dev); local 11846 struct tg3 *tp = netdev_priv(dev); local 11869 tg3_calc_crc_errors(struct tg3 *tp) argument 11897 tg3_get_estats(struct tg3 *tp, struct tg3_ethtool_stats *estats) argument 11981 tg3_get_nstats(struct tg3 *tp, struct rtnl_link_stats64 *stats) argument 12064 struct tg3 *tp = netdev_priv(dev); local 12082 struct tg3 *tp = netdev_priv(dev); local 12089 struct tg3 *tp = netdev_priv(dev); local 12180 struct tg3 *tp = netdev_priv(dev); local 12237 struct tg3 *tp = netdev_priv(dev); local 12312 struct tg3 *tp = netdev_priv(dev); local 12407 struct tg3 *tp = netdev_priv(dev); local 12416 struct tg3 *tp = netdev_priv(dev); local 12430 struct tg3 *tp = netdev_priv(dev); local 12451 struct tg3 *tp = netdev_priv(dev); local 12457 struct tg3 *tp = netdev_priv(dev); local 12463 struct tg3 *tp = netdev_priv(dev); local 12502 struct tg3 *tp = netdev_priv(dev); local 12526 struct tg3 *tp = netdev_priv(dev); local 12581 struct tg3 *tp = netdev_priv(dev); local 12598 struct tg3 *tp = netdev_priv(dev); local 12704 struct tg3 *tp = netdev_priv(dev); local 12729 struct tg3 *tp = netdev_priv(dev); local 12739 struct tg3 *tp = netdev_priv(dev); local 12755 struct tg3 *tp = netdev_priv(dev); local 12788 struct tg3 *tp = netdev_priv(dev); local 12813 struct tg3 *tp = netdev_priv(dev); local 12855 struct tg3 *tp = netdev_priv(dev); local 12887 struct tg3 *tp = netdev_priv(dev); local 12895 tg3_vpd_readblock(struct tg3 *tp, unsigned int *vpdlen) argument 12966 tg3_test_nvram(struct tg3 *tp) argument 13126 tg3_test_link(struct tg3 *tp) argument 13150 tg3_test_registers(struct tg3 *tp) argument 13370 tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len) argument 13389 tg3_test_memory(struct tg3 *tp) argument 13482 tg3_run_loopback(struct tg3 *tp, u32 pktsz, bool tso_loopback) argument 13698 tg3_test_loopback(struct tg3 *tp, u64 *data, bool do_extlpbk) argument 13816 struct tg3 *tp = netdev_priv(dev); local 13904 struct tg3 *tp = netdev_priv(dev); local 13988 struct tg3 *tp = netdev_priv(dev); local 14050 struct tg3 *tp = netdev_priv(dev); local 14117 struct tg3 *tp = netdev_priv(dev); local 14128 struct tg3 *tp = netdev_priv(dev); local 14174 struct tg3 *tp = netdev_priv(dev); local 14213 struct tg3 *tp = netdev_priv(dev); local 14270 struct tg3 *tp = netdev_priv(dev); local 14285 struct tg3 *tp = netdev_priv(dev); local 14295 tg3_set_mtu(struct net_device *dev, struct tg3 *tp, int new_mtu) argument 14318 struct tg3 *tp = netdev_priv(dev); local 14380 tg3_get_eeprom_size(struct tg3 *tp) argument 14414 tg3_get_nvram_size(struct tg3 *tp) argument 14447 tg3_get_nvram_info(struct tg3 *tp) argument 14498 tg3_nvram_get_pagesize(struct tg3 *tp, u32 nvmcfg1) argument 14525 tg3_get_5752_nvram_info(struct tg3 *tp) argument 14566 tg3_get_5755_nvram_info(struct tg3 *tp) argument 14622 tg3_get_5787_nvram_info(struct tg3 *tp) argument 14660 tg3_get_5761_nvram_info(struct tg3 *tp) argument 14735 tg3_get_5906_nvram_info(struct tg3 *tp) argument 14742 tg3_get_57780_nvram_info(struct tg3 *tp) argument 14815 tg3_get_5717_nvram_info(struct tg3 *tp) argument 14893 tg3_get_5720_nvram_info(struct tg3 *tp) argument 15058 tg3_nvram_init(struct tg3 *tp) argument 15201 tg3_lookup_by_subsys(struct tg3 *tp) argument 15215 tg3_get_eeprom_hw_cfg(struct tg3 *tp) argument 15432 tg3_ape_otp_read(struct tg3 *tp, u32 offset, u32 *val) argument 15465 tg3_issue_otp_command(struct tg3 *tp, u32 cmd) argument 15488 tg3_read_otp_phycfg(struct tg3 *tp) argument 15514 tg3_phy_init_link_config(struct tg3 *tp) argument 15543 tg3_phy_probe(struct tg3 *tp) argument 15701 tg3_read_vpd(struct tg3 *tp) argument 15797 tg3_fw_img_is_valid(struct tg3 *tp, u32 offset) argument 15810 tg3_read_bc_ver(struct tg3 *tp) argument 15862 tg3_read_hwsb_ver(struct tg3 *tp) argument 15878 tg3_read_sb_ver(struct tg3 *tp, u32 val) argument 15933 tg3_read_mgmtfw_ver(struct tg3 *tp) argument 15985 tg3_probe_ncsi(struct tg3 *tp) argument 16001 tg3_read_dash_ver(struct tg3 *tp) argument 16026 tg3_read_otp_ver(struct tg3 *tp) argument 16051 tg3_read_fw_ver(struct tg3 *tp) argument 16088 tg3_rx_ret_ring_size(struct tg3 *tp) argument 16105 tg3_find_peer(struct tg3 *tp) argument 16133 tg3_detect_asic_rev(struct tg3 *tp, u32 misc_ctrl_reg) argument 16221 tg3_10_100_only_device(struct tg3 *tp, const struct pci_device_id *ent) argument 16243 tg3_get_invariants(struct tg3 *tp, const struct pci_device_id *ent) argument 17024 tg3_get_device_address(struct tg3 *tp, u8 *addr) argument 17101 tg3_calc_dma_bndry(struct tg3 *tp, u32 val) argument 17242 tg3_do_test_dma(struct tg3 *tp, u32 *buf, dma_addr_t buf_dma, int size, bool to_device) argument 17330 tg3_test_dma(struct tg3 *tp) argument 17504 tg3_init_bufmgr_config(struct tg3 *tp) argument 17560 tg3_phy_string(struct tg3 *tp) argument 17592 tg3_bus_string(struct tg3 *tp, char *str) argument 17628 tg3_init_coal(struct tg3 *tp) argument 17663 struct tg3 *tp; local 18054 struct tg3 *tp = netdev_priv(dev); local 18086 struct tg3 *tp = netdev_priv(dev); local 18142 struct tg3 *tp = netdev_priv(dev); local 18183 struct tg3 *tp = netdev_priv(dev); local 18214 struct tg3 *tp = netdev_priv(netdev); local 18273 struct tg3 *tp = netdev_priv(netdev); local 18320 struct tg3 *tp = netdev_priv(netdev); local [all...] |
/linux-master/drivers/net/ethernet/dec/tulip/ |
H A D | pnic2.c | 81 struct tulip_private *tp = from_timer(tp, t, timer); local 82 struct net_device *dev = tp->dev; 83 void __iomem *ioaddr = tp->base_addr; 91 mod_timer(&tp->timer, RUN_AT(next_tick)); 98 struct tulip_private *tp = netdev_priv(dev); local 99 void __iomem *ioaddr = tp->base_addr; 111 if (tp->sym_advertise & 0x0100) csr14 |= 0x00020000; 114 if (tp->sym_advertise & 0x0080) csr14 |= 0x00010000; 117 if (tp 172 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | interrupt.c | 61 struct tulip_private *tp = netdev_priv(dev); local 66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { 67 entry = tp->dirty_rx % RX_RING_SIZE; 68 if (tp->rx_buffers[entry].skb == NULL) { 72 skb = tp->rx_buffers[entry].skb = 77 mapping = dma_map_single(&tp->pdev->dev, skb->data, 79 if (dma_mapping_error(&tp->pdev->dev, mapping)) { 81 tp 107 struct tulip_private *tp = from_timer(tp, t, oom_timer); local 114 struct tulip_private *tp = container_of(napi, struct tulip_private, napi); local 371 struct tulip_private *tp = netdev_priv(dev); local 499 struct tulip_private *tp = netdev_priv(dev); local 525 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | tulip_core.c | 117 struct tulip_private *tp = from_timer(tp, t, timer); local 118 struct net_device *dev = tp->dev; 121 schedule_work(&tp->media_work); 264 static void tulip_set_power_state (struct tulip_private *tp, argument 267 if (tp->flags & HAS_ACPI) { 269 pci_read_config_dword (tp->pdev, CFDD, &tmp); 276 pci_write_config_dword (tp->pdev, CFDD, newtmp); 284 struct tulip_private *tp = netdev_priv(dev); local 285 void __iomem *ioaddr = tp 504 struct tulip_private *tp = netdev_priv(dev); local 528 struct tulip_private *tp = netdev_priv(dev); local 605 struct tulip_private *tp = netdev_priv(dev); local 655 struct tulip_private *tp = netdev_priv(dev); local 701 tulip_clean_tx_ring(struct tulip_private *tp) argument 740 struct tulip_private *tp = netdev_priv(dev); local 783 struct tulip_private *tp = netdev_priv(dev); local 821 struct tulip_private *tp = netdev_priv(dev); local 841 struct tulip_private *tp = netdev_priv(dev); local 869 struct tulip_private *tp = netdev_priv(dev); local 882 struct tulip_private *tp = netdev_priv(dev); local 899 struct tulip_private *tp = netdev_priv(dev); local 1001 struct tulip_private *tp = netdev_priv(dev); local 1030 struct tulip_private *tp = netdev_priv(dev); local 1056 struct tulip_private *tp = netdev_priv(dev); local 1183 struct tulip_private *tp = netdev_priv(dev); local 1291 struct tulip_private *tp; local 1780 struct tulip_private *tp = netdev_priv(dev); local 1807 struct tulip_private *tp = netdev_priv(dev); local 1832 struct tulip_private *tp = netdev_priv(dev); local 1888 struct tulip_private *tp = netdev_priv(dev); local [all...] |
H A D | timer.c | 19 struct tulip_private *tp = local 21 struct net_device *dev = tp->dev; 22 void __iomem *ioaddr = tp->base_addr; 34 switch (tp->chip_id) { 43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ 53 mleaf = &tp->mtable->mleaf[tp->cur_index]; 87 if (tp->medialock) 90 if (--tp->cur_index < 0) { 92 tp 142 struct tulip_private *tp = from_timer(tp, t, timer); local 159 struct tulip_private *tp = from_timer(tp, t, timer); local [all...] |
H A D | 21142.c | 30 struct tulip_private *tp = local 32 struct net_device *dev = tp->dev; 33 void __iomem *ioaddr = tp->base_addr; 53 } else if (tp->nwayset) { 59 } else if (tp->medialock) { 95 if (new_csr6 != (tp->csr6 & ~0x00D5)) { 96 tp->csr6 &= 0x00D5; 97 tp->csr6 |= new_csr6; 99 tulip_restart_rxtx(tp); 107 mod_timer(&tp 113 struct tulip_private *tp = netdev_priv(dev); local 141 struct tulip_private *tp = netdev_priv(dev); local [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_highspeed.c | 102 struct tcp_sock *tp = tcp_sk(sk); local 109 tp->snd_cwnd_clamp = min_t(u32, tp->snd_cwnd_clamp, 0xffffffff/128); 114 struct tcp_sock *tp = tcp_sk(sk); local 120 if (tcp_in_slow_start(tp)) 121 tcp_slow_start(tp, acked); 130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { 131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && 134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { 135 while (ca->ai && tcp_snd_cwnd(tp) < 153 const struct tcp_sock *tp = tcp_sk(sk); local [all...] |
H A D | tcp_rate.c | 42 struct tcp_sock *tp = tcp_sk(sk); local 52 * Note that we use packets_out instead of tcp_packets_in_flight(tp) 58 if (!tp->packets_out) { 61 tp->first_tx_mstamp = tstamp_us; 62 tp->delivered_mstamp = tstamp_us; 65 TCP_SKB_CB(skb)->tx.first_tx_mstamp = tp->first_tx_mstamp; 66 TCP_SKB_CB(skb)->tx.delivered_mstamp = tp->delivered_mstamp; 67 TCP_SKB_CB(skb)->tx.delivered = tp->delivered; 68 TCP_SKB_CB(skb)->tx.delivered_ce = tp->delivered_ce; 69 TCP_SKB_CB(skb)->tx.is_app_limited = tp 83 struct tcp_sock *tp = tcp_sk(sk); local 120 struct tcp_sock *tp = tcp_sk(sk); local 196 struct tcp_sock *tp = tcp_sk(sk); local [all...] |
H A D | tcp_scalable.c | 20 struct tcp_sock *tp = tcp_sk(sk); local 25 if (tcp_in_slow_start(tp)) { 26 acked = tcp_slow_start(tp, acked); 30 tcp_cong_avoid_ai(tp, min(tcp_snd_cwnd(tp), TCP_SCALABLE_AI_CNT), 36 const struct tcp_sock *tp = tcp_sk(sk); local 38 return max(tcp_snd_cwnd(tp) - (tcp_snd_cwnd(tp)>>TCP_SCALABLE_MD_SCALE), 2U);
|
H A D | tcp_recovery.c | 7 const struct tcp_sock *tp = tcp_sk(sk); local 9 if (!tp->reord_seen) { 16 if (tp->sacked_out >= tp->reordering && 28 return min((tcp_min_rtt(tp) >> 2) * tp->rack.reo_wnd_steps, 29 tp->srtt_us >> 3); 32 s32 tcp_rack_skb_timeout(struct tcp_sock *tp, struct sk_buff *skb, u32 reo_wnd) argument 34 return tp->rack.rtt_us + reo_wnd - 35 tcp_stamp_us_delta(tp 60 struct tcp_sock *tp = tcp_sk(sk); local 97 struct tcp_sock *tp = tcp_sk(sk); local 118 tcp_rack_advance(struct tcp_sock *tp, u8 sacked, u32 end_seq, u64 xmit_time) argument 151 struct tcp_sock *tp = tcp_sk(sk); local 189 struct tcp_sock *tp = tcp_sk(sk); local 220 struct tcp_sock *tp = tcp_sk(sk); local [all...] |
H A D | tcp_yeah.c | 43 struct tcp_sock *tp = tcp_sk(sk); local 55 tp->snd_cwnd_clamp = min_t(u32, tp->snd_cwnd_clamp, 0xffffffff/128); 60 struct tcp_sock *tp = tcp_sk(sk); local 66 if (tcp_in_slow_start(tp)) { 67 acked = tcp_slow_start(tp, acked); 74 tcp_cong_avoid_ai(tp, min(tcp_snd_cwnd(tp), TCP_SCALABLE_AI_CNT), 78 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acke 189 const struct tcp_sock *tp = tcp_sk(sk); local [all...] |
H A D | tcp_hybla.c | 48 struct tcp_sock *tp = tcp_sk(sk); local 57 tcp_snd_cwnd_set(tp, 2); 58 tp->snd_cwnd_clamp = 65535; 64 ca->minrtt_us = tp->srtt_us; 65 tcp_snd_cwnd_set(tp, ca->rho); 92 struct tcp_sock *tp = tcp_sk(sk); local 98 if (tp->srtt_us < ca->minrtt_us) { 100 ca->minrtt_us = tp->srtt_us; 116 if (tcp_in_slow_start(tp)) { 140 increment = ca->rho2_7ls / tcp_snd_cwnd(tp); [all...] |
/linux-master/drivers/net/usb/ |
H A D | r8152.c | 889 void (*init)(struct r8152 *tp); 890 int (*enable)(struct r8152 *tp); 891 void (*disable)(struct r8152 *tp); 892 void (*up)(struct r8152 *tp); 893 void (*down)(struct r8152 *tp); 894 void (*unload)(struct r8152 *tp); 895 int (*eee_get)(struct r8152 *tp, struct ethtool_keee *eee); 896 int (*eee_set)(struct r8152 *tp, struct ethtool_keee *eee); 897 bool (*in_nway)(struct r8152 *tp); 898 void (*hw_phy_cfg)(struct r8152 *tp); 1215 rtl_set_inaccessible(struct r8152 *tp) argument 1221 rtl_set_accessible(struct r8152 *tp) argument 1228 r8152_control_msg(struct r8152 *tp, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size, const char *msg_tag) argument 1300 get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) argument 1324 set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) argument 1342 rtl_set_unplug(struct r8152 *tp) argument 1348 generic_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data, u16 type) argument 1391 generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data, u16 type) argument 1469 pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) argument 1475 pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) argument 1481 usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) argument 1486 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) argument 1495 ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) argument 1502 ocp_read_word(struct r8152 *tp, u16 type, u16 index) argument 1521 ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) argument 1542 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) argument 1559 ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) argument 1580 ocp_reg_read(struct r8152 *tp, u16 addr) argument 1594 ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) argument 1608 r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) argument 1613 r8152_mdio_read(struct r8152 *tp, u32 reg_addr) argument 1618 sram_write(struct r8152 *tp, u16 addr, u16 data) argument 1624 sram_read(struct r8152 *tp, u16 addr) argument 1632 struct r8152 *tp = netdev_priv(netdev); local 1649 struct r8152 *tp = netdev_priv(netdev); local 1670 struct r8152 *tp = netdev_priv(netdev); local 1708 vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) argument 1785 determine_ethernet_addr(struct r8152 *tp, struct sockaddr *sa) argument 1822 set_ethernet_addr(struct r8152 *tp, bool in_resume) argument 1845 struct r8152 *tp; local 1913 struct r8152 *tp; local 1957 struct r8152 *tp; local 2030 free_rx_agg(struct r8152 *tp, struct rx_agg *agg) argument 2041 alloc_rx_agg(struct r8152 *tp, gfp_t mflags) argument 2082 free_all_mem(struct r8152 *tp) argument 2113 alloc_all_mem(struct r8152 *tp) argument 2188 r8152_get_tx_agg(struct r8152 *tp) argument 2213 r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, struct sk_buff_head *list) argument 2269 r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, struct sk_buff *skb, u32 len) argument 2357 r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) argument 2453 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) argument 2482 rx_count_exceed(struct r8152 *tp) argument 2492 rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) argument 2522 rx_bottom(struct r8152 *tp, int budget) argument 2713 tx_bottom(struct r8152 *tp) argument 2752 struct r8152 *tp = from_tasklet(tp, t, tx_tl); local 2772 struct r8152 *tp = container_of(napi, struct r8152, napi); local 2792 r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) argument 2827 rtl_drop_queued_tx(struct r8152 *tp) argument 2849 struct r8152 *tp = netdev_priv(netdev); local 2858 struct r8152 *tp = netdev_priv(netdev); local 2868 struct r8152 *tp = netdev_priv(netdev); local 2934 struct r8152 *tp = netdev_priv(netdev); local 2955 r8152b_reset_packet_filter(struct r8152 *tp) argument 2966 rtl8152_nic_reset(struct r8152 *tp) argument 3014 set_tx_qlen(struct r8152 *tp) argument 3019 rtl8152_get_speed(struct r8152 *tp) argument 3024 rtl_eee_plus_en(struct r8152 *tp, bool enable) argument 3036 rtl_set_eee_plus(struct r8152 *tp) argument 3044 rxdy_gated_en(struct r8152 *tp, bool enable) argument 3056 rtl_start_rx(struct r8152 *tp) argument 3099 rtl_stop_rx(struct r8152 *tp) argument 3139 rtl_set_ifg(struct r8152 *tp, u16 speed) argument 3162 r8153b_rx_agg_chg_indicate(struct r8152 *tp) argument 3168 rtl_enable(struct r8152 *tp) argument 3197 rtl8152_enable(struct r8152 *tp) argument 3208 r8153_set_rx_early_timeout(struct r8152 *tp) argument 3249 r8153_set_rx_early_size(struct r8152 *tp) argument 3282 rtl8153_enable(struct r8152 *tp) argument 3313 rtl_disable(struct r8152 *tp) argument 3356 r8152_power_cut_en(struct r8152 *tp, bool enable) argument 3372 rtl_rx_vlan_en(struct r8152 *tp, bool enable) argument 3416 struct r8152 *tp = netdev_priv(dev); local 3442 __rtl_get_wol(struct r8152 *tp) argument 3466 __rtl_set_wol(struct r8152 *tp, u32 wolopts) argument 3502 r8153_mac_clk_speed_down(struct r8152 *tp, bool enable) argument 3515 r8156_mac_clk_spd(struct r8152 *tp, bool enable) argument 3536 r8153_u1u2en(struct r8152 *tp, bool enable) argument 3548 r8153b_u1u2en(struct r8152 *tp, bool enable) argument 3561 r8153_u2p3en(struct r8152 *tp, bool enable) argument 3573 r8153b_ups_flags(struct r8152 *tp) argument 3648 r8156_ups_flags(struct r8152 *tp) argument 3730 rtl_green_en(struct r8152 *tp, bool enable) argument 3744 r8153b_green_en(struct r8152 *tp, bool enable) argument 3759 r8153_phy_status(struct r8152 *tp, u16 desired) argument 3783 r8153b_ups_en(struct r8152 *tp, bool enable) argument 3824 r8153c_ups_en(struct r8152 *tp, bool enable) argument 3874 r8156_ups_en(struct r8152 *tp, bool enable) argument 3915 r8153_power_cut_en(struct r8152 *tp, bool enable) argument 3931 r8153b_power_cut_en(struct r8152 *tp, bool enable) argument 3947 r8153_queue_wake(struct r8152 *tp, bool enable) argument 3967 rtl_can_wakeup(struct r8152 *tp) argument 3974 rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) argument 4003 rtl8153_runtime_enable(struct r8152 *tp, bool enable) argument 4027 rtl8153b_runtime_enable(struct r8152 *tp, bool enable) argument 4044 rtl8153c_runtime_enable(struct r8152 *tp, bool enable) argument 4060 rtl8156_runtime_enable(struct r8152 *tp, bool enable) argument 4076 r8153_teredo_off(struct r8152 *tp) argument 4116 rtl_reset_bmu(struct r8152 *tp) argument 4128 rtl_clear_bp(struct r8152 *tp, u16 type) argument 4172 rtl_reset_ocp_base(struct r8152 *tp) argument 4177 rtl_phy_patch_request(struct r8152 *tp, bool request, bool wait) argument 4214 rtl_patch_key_set(struct r8152 *tp, u16 key_addr, u16 patch_key) argument 4235 rtl_pre_ram_code(struct r8152 *tp, u16 key_addr, u16 patch_key, bool wait) argument 4245 rtl_post_ram_code(struct r8152 *tp, u16 key_addr, bool wait) argument 4254 rtl8152_is_fw_phy_speed_up_ok(struct r8152 *tp, struct fw_phy_speed_up *phy) argument 4304 rtl8152_is_fw_phy_ver_ok(struct r8152 *tp, struct fw_phy_ver *ver) argument 4334 rtl8152_is_fw_phy_fixup_ok(struct r8152 *tp, struct fw_phy_fixup *fix) argument 4365 rtl8152_is_fw_phy_union_ok(struct r8152 *tp, struct fw_phy_union *phy) argument 4410 rtl8152_is_fw_phy_nc_ok(struct r8152 *tp, struct fw_phy_nc *phy) argument 4486 rtl8152_is_fw_mac_ok(struct r8152 *tp, struct fw_mac *mac) argument 4626 rtl8152_fw_verify_checksum(struct r8152 *tp, struct fw_header *fw_hdr, size_t size) argument 4673 rtl8152_check_firmware(struct r8152 *tp, struct rtl_fw *rtl_fw) argument 4957 rtl_ram_code_speed_up(struct r8152 *tp, struct fw_phy_speed_up *phy, bool wait) argument 5019 rtl8152_fw_phy_ver(struct r8152 *tp, struct fw_phy_ver *phy_ver) argument 5040 rtl8152_fw_phy_fixup(struct r8152 *tp, struct fw_phy_fixup *fix) argument 5071 rtl8152_fw_phy_union_apply(struct r8152 *tp, struct fw_phy_union *phy) argument 5103 rtl8152_fw_phy_nc_apply(struct r8152 *tp, struct fw_phy_nc *phy) argument 5140 rtl8152_fw_mac_apply(struct r8152 *tp, struct fw_mac *mac) argument 5201 rtl8152_apply_firmware(struct r8152 *tp, bool power_cut) argument 5280 rtl8152_release_firmware(struct r8152 *tp) argument 5290 rtl8152_request_firmware(struct r8152 *tp) argument 5321 r8152_aldps_en(struct r8152 *tp, bool enable) argument 5333 r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) argument 5340 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) argument 5351 r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) argument 5358 r8152_eee_en(struct r8152 *tp, bool enable) argument 5389 r8153_eee_en(struct r8152 *tp, bool enable) argument 5411 r8156_eee_en(struct r8152 *tp, bool enable) argument 5427 rtl_eee_enable(struct r8152 *tp, bool enable) argument 5475 r8152b_enable_fc(struct r8152 *tp) argument 5486 rtl8152_disable(struct r8152 *tp) argument 5493 r8152b_hw_phy_cfg(struct r8152 *tp) argument 5503 wait_oob_link_list_ready(struct r8152 *tp) argument 5518 r8156b_wait_loading_flash(struct r8152 *tp) argument 5534 r8152b_exit_oob(struct r8152 *tp) argument 5600 r8152b_enter_oob(struct r8152 *tp) argument 5641 r8153_pre_firmware_1(struct r8152 *tp) argument 5659 r8153_post_firmware_1(struct r8152 *tp) argument 5671 r8153_pre_firmware_2(struct r8152 *tp) argument 5684 r8153_post_firmware_2(struct r8152 *tp) argument 5712 r8153_post_firmware_3(struct r8152 *tp) argument 5727 r8153b_pre_firmware_1(struct r8152 *tp) argument 5736 r8153b_post_firmware_1(struct r8152 *tp) argument 5763 r8153c_post_firmware_1(struct r8152 *tp) argument 5778 r8156a_post_firmware_1(struct r8152 *tp) argument 5793 r8153_aldps_en(struct r8152 *tp, bool enable) argument 5818 r8153_hw_phy_cfg(struct r8152 *tp) argument 5880 r8152_efuse_read(struct r8152 *tp, u8 addr) argument 5892 r8153b_hw_phy_cfg(struct r8152 *tp) argument 5997 r8153c_hw_phy_cfg(struct r8152 *tp) argument 6004 rtl8153_change_mtu(struct r8152 *tp) argument 6010 r8153_first_init(struct r8152 *tp) argument 6058 r8153_enter_oob(struct r8152 *tp) argument 6130 rtl8153_disable(struct r8152 *tp) argument 6138 fc_pause_on_auto(struct r8152 *tp) argument 6143 fc_pause_off_auto(struct r8152 *tp) argument 6148 r8156_fc_parameter(struct r8152 *tp) argument 6157 rtl8156_enable(struct r8152 *tp) argument 6207 rtl8156_disable(struct r8152 *tp) argument 6215 rtl8156b_enable(struct r8152 *tp) argument 6263 rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u32 speed, u8 duplex, u32 advertising) argument 6404 rtl8152_up(struct r8152 *tp) argument 6414 rtl8152_down(struct r8152 *tp) argument 6427 rtl8153_up(struct r8152 *tp) argument 6467 rtl8153_down(struct r8152 *tp) argument 6488 rtl8153b_up(struct r8152 *tp) argument 6512 rtl8153b_down(struct r8152 *tp) argument 6533 rtl8153c_change_mtu(struct r8152 *tp) argument 6549 rtl8153c_up(struct r8152 *tp) argument 6616 rtl8156_change_mtu(struct r8152 *tp) argument 6630 rtl8156_up(struct r8152 *tp) argument 6703 rtl8156_down(struct r8152 *tp) argument 6760 rtl8152_in_nway(struct r8152 *tp) argument 6776 rtl8153_in_nway(struct r8152 *tp) argument 6786 r8156_mdio_force_mode(struct r8152 *tp) argument 6801 set_carrier(struct r8152 *tp) argument 6840 struct r8152 *tp = container_of(work, struct r8152, schedule.work); local 6882 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); local 6917 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); local 6942 struct r8152 *tp = netdev_priv(netdev); local 6997 struct r8152 *tp = netdev_priv(netdev); local 7030 rtl_tally_reset(struct r8152 *tp) argument 7039 r8152b_init(struct r8152 *tp) argument 7082 r8153_init(struct r8152 *tp) argument 7222 r8153b_init(struct r8152 *tp) argument 7304 r8153c_init(struct r8152 *tp) argument 7386 r8156_hw_phy_cfg(struct r8152 *tp) argument 7736 r8156b_hw_phy_cfg(struct r8152 *tp) argument 8153 r8156_init(struct r8152 *tp) argument 8249 r8156b_init(struct r8152 *tp) argument 8412 struct r8152 *tp = usb_get_intfdata(intf); local 8443 struct r8152 *tp = usb_get_intfdata(intf); local 8482 delay_autosuspend(struct r8152 *tp) argument 8505 rtl8152_runtime_resume(struct r8152 *tp) argument 8544 rtl8152_system_resume(struct r8152 *tp) argument 8560 rtl8152_runtime_suspend(struct r8152 *tp) argument 8618 rtl8152_system_suspend(struct r8152 *tp) argument 8642 struct r8152 *tp = usb_get_intfdata(intf); local 8659 struct r8152 *tp = usb_get_intfdata(intf); local 8678 struct r8152 *tp = usb_get_intfdata(intf); local 8690 struct r8152 *tp = netdev_priv(dev); local 8710 struct r8152 *tp = netdev_priv(dev); local 8738 struct r8152 *tp = netdev_priv(dev); local 8745 struct r8152 *tp = netdev_priv(dev); local 8753 struct r8152 *tp = netdev_priv(netdev); local 8767 struct r8152 *tp = netdev_priv(netdev); local 8808 struct r8152 *tp = netdev_priv(dev); local 8892 struct r8152 *tp = netdev_priv(dev); local 8926 r8152_get_eee(struct r8152 *tp, struct ethtool_keee *eee) argument 8948 r8152_set_eee(struct r8152 *tp, struct ethtool_keee *eee) argument 8960 r8153_get_eee(struct r8152 *tp, struct ethtool_keee *eee) argument 8985 struct r8152 *tp = netdev_priv(net); local 9012 struct r8152 *tp = netdev_priv(net); local 9040 struct r8152 *tp = netdev_priv(dev); local 9064 struct r8152 *tp = netdev_priv(netdev); local 9085 struct r8152 *tp = netdev_priv(netdev); local 9132 struct r8152 *tp = netdev_priv(netdev); local 9149 struct r8152 *tp = netdev_priv(netdev); local 9185 struct r8152 *tp = netdev_priv(netdev); local 9196 struct r8152 *tp = netdev_priv(netdev); local 9218 struct r8152 *tp = netdev_priv(netdev); local 9255 struct r8152 *tp = netdev_priv(netdev); local 9317 struct r8152 *tp = netdev_priv(netdev); local 9361 struct r8152 *tp = netdev_priv(dev); local 9421 rtl8152_unload(struct r8152 *tp) argument 9430 rtl8153_unload(struct r8152 *tp) argument 9438 rtl8153b_unload(struct r8152 *tp) argument 9446 rtl_ops_init(struct r8152 *tp) argument 9600 rtl_fw_init(struct r8152 *tp) argument 9775 struct r8152 *tp; local 10005 struct r8152 *tp = usb_get_intfdata(intf); local [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_trans.c | 67 struct xfs_trans *tp) 69 xfs_extent_busy_sort(&tp->t_busy); 70 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); 72 trace_xfs_trans_free(tp, _RET_IP_); 73 xfs_trans_clear_context(tp); 74 if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) 75 sb_end_intwrite(tp->t_mountp->m_super); 76 xfs_trans_free_dqinfo(tp); 77 kmem_cache_free(xfs_trans_cache, tp); 66 xfs_trans_free( struct xfs_trans *tp) argument 89 xfs_trans_dup( struct xfs_trans *tp) argument 150 xfs_trans_reserve( struct xfs_trans *tp, struct xfs_trans_res *resp, uint blocks, uint rtextents) argument 252 struct xfs_trans *tp; local 354 xfs_trans_mod_sb( xfs_trans_t *tp, uint field, int64_t delta) argument 475 xfs_trans_apply_sb_deltas( xfs_trans_t *tp) argument 592 xfs_trans_unreserve_and_mod_sb( struct xfs_trans *tp) argument 680 xfs_trans_add_item( struct xfs_trans *tp, struct xfs_log_item *lip) argument 708 xfs_trans_free_items( struct xfs_trans *tp, bool abort) argument 904 xfs_trans_run_precommits( struct xfs_trans *tp) argument 951 __xfs_trans_commit( struct xfs_trans *tp, bool regrant) argument 1058 xfs_trans_commit( struct xfs_trans *tp) argument 1081 xfs_trans_cancel( struct xfs_trans *tp) argument 1197 struct xfs_trans *tp; local 1249 xfs_trans_reserve_more( struct xfs_trans *tp, unsigned int blocks, unsigned int rtextents) argument 1264 xfs_trans_reserve_more_inode( struct xfs_trans *tp, struct xfs_inode *ip, unsigned int dblocks, unsigned int rblocks, bool force_quota) argument 1315 struct xfs_trans *tp; local 1358 struct xfs_trans *tp; local 1443 struct xfs_trans *tp; local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | tp.c | 2 /* $Date: 2006/02/07 04:21:54 $ $RCSfile: tp.c,v $ $Revision: 1.73 $ */ 5 #include "tp.h" 54 void t1_tp_destroy(struct petp *tp) argument 56 kfree(tp); 61 struct petp *tp = kzalloc(sizeof(*tp), GFP_KERNEL); local 63 if (!tp) 66 tp->adapter = adapter; 68 return tp; 71 void t1_tp_intr_enable(struct petp *tp) argument 92 t1_tp_intr_disable(struct petp *tp) argument 111 t1_tp_intr_clear(struct petp *tp) argument 125 t1_tp_intr_handler(struct petp *tp) argument 140 set_csum_offload(struct petp *tp, u32 csum_bit, int enable) argument 151 t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) argument 156 t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) argument 165 t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk) argument [all...] |
/linux-master/drivers/misc/mei/ |
H A D | vsc-tp.h | 31 int vsc_tp_rom_xfer(struct vsc_tp *tp, const void *obuf, void *ibuf, 34 int vsc_tp_xfer(struct vsc_tp *tp, u8 cmd, const void *obuf, size_t olen, 37 int vsc_tp_register_event_cb(struct vsc_tp *tp, vsc_tp_event_cb_t event_cb, 40 void vsc_tp_intr_enable(struct vsc_tp *tp); 41 void vsc_tp_intr_disable(struct vsc_tp *tp); 42 void vsc_tp_intr_synchronize(struct vsc_tp *tp); 44 void vsc_tp_reset(struct vsc_tp *tp); 46 bool vsc_tp_need_read(struct vsc_tp *tp); 48 int vsc_tp_init(struct vsc_tp *tp, struct device *dev);
|
H A D | vsc-tp.c | 22 #include "vsc-tp.h" 98 static int vsc_tp_wakeup_request(struct vsc_tp *tp) argument 102 gpiod_set_value_cansleep(tp->wakeupfw, 0); 104 ret = wait_event_timeout(tp->xfer_wait, 105 atomic_read(&tp->assert_cnt), 113 tp->wakeuphost); 116 static void vsc_tp_wakeup_release(struct vsc_tp *tp) argument 118 atomic_dec_if_positive(&tp->assert_cnt); 120 gpiod_set_value_cansleep(tp->wakeupfw, 1); 123 static int vsc_tp_dev_xfer(struct vsc_tp *tp, voi argument 137 vsc_tp_xfer_helper(struct vsc_tp *tp, struct vsc_tp_packet *pkt, void *ibuf, u16 ilen) argument 250 vsc_tp_xfer(struct vsc_tp *tp, u8 cmd, const void *obuf, size_t olen, void *ibuf, size_t ilen) argument 291 vsc_tp_rom_xfer(struct vsc_tp *tp, const void *obuf, void *ibuf, size_t len) argument 327 vsc_tp_reset(struct vsc_tp *tp) argument 356 vsc_tp_need_read(struct vsc_tp *tp) argument 376 vsc_tp_register_event_cb(struct vsc_tp *tp, vsc_tp_event_cb_t event_cb, void *context) argument 390 vsc_tp_intr_synchronize(struct vsc_tp *tp) argument 400 vsc_tp_intr_enable(struct vsc_tp *tp) argument 410 vsc_tp_intr_disable(struct vsc_tp *tp) argument 418 struct vsc_tp *tp = data; local 427 struct vsc_tp *tp = data; local 448 struct vsc_tp *tp; local 530 struct vsc_tp *tp = spi_get_drvdata(spi); local [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | tcp_ca_write_sk_pacing.c | 19 static inline unsigned int tcp_left_out(const struct tcp_sock *tp) argument 21 return tp->sacked_out + tp->lost_out; 24 static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp) argument 26 return tp->packets_out - tcp_left_out(tp) + tp->retrans_out; 44 struct tcp_sock *tp = tcp_sk(sk); local 46 ((tp->snd_cwnd * tp [all...] |
/linux-master/include/uapi/linux/ |
H A D | atmsvc.h | 52 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \ 53 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \ 54 (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_defer.c | 187 struct xfs_trans *tp, 204 struct xfs_trans *tp, 213 struct xfs_trans *tp, 241 struct xfs_trans *tp, 257 tp->t_flags |= XFS_TRANS_DIRTY; 258 lip = dfp->dfp_ops->create_done(tp, dfp->dfp_intent, dfp->dfp_count); 262 tp->t_flags |= XFS_TRANS_HAS_INTENT_DONE; 263 xfs_trans_add_item(tp, lip); 275 struct xfs_trans *tp, 284 lip = dfp->dfp_ops->create_intent(tp, 186 xfs_defer_barrier_create_intent( struct xfs_trans *tp, struct list_head *items, unsigned int count, bool sort) argument 203 xfs_defer_barrier_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument 212 xfs_defer_barrier_finish_item( struct xfs_trans *tp, struct xfs_log_item *done, struct list_head *item, struct xfs_btree_cur **state) argument 240 xfs_defer_create_done( struct xfs_trans *tp, struct xfs_defer_pending *dfp) argument 274 xfs_defer_create_intent( struct xfs_trans *tp, struct xfs_defer_pending *dfp, bool sort) argument 307 xfs_defer_create_intents( struct xfs_trans *tp) argument 373 xfs_defer_trans_abort( struct xfs_trans *tp, struct list_head *dop_pending) argument 386 xfs_defer_save_resources( struct xfs_defer_resources *dres, struct xfs_trans *tp) argument 437 xfs_defer_restore_resources( struct xfs_trans *tp, struct xfs_defer_resources *dres) argument 506 xfs_defer_relog_intent( struct xfs_trans *tp, struct xfs_defer_pending *dfp) argument 577 xfs_defer_finish_one( struct xfs_trans *tp, struct xfs_defer_pending *dfp) argument 627 xfs_defer_isolate_paused( struct xfs_trans *tp, struct list_head *paused_list) argument 652 xfs_defer_finish_noroll( struct xfs_trans **tp) argument 727 xfs_defer_finish( struct xfs_trans **tp) argument 761 xfs_defer_cancel( struct xfs_trans *tp) argument 776 xfs_defer_find_last( struct xfs_trans *tp, const struct xfs_defer_op_type *ops) argument 838 xfs_defer_add( struct xfs_trans *tp, struct list_head *li, const struct xfs_defer_op_type *ops) argument 861 xfs_defer_add_barrier( struct xfs_trans *tp) argument 962 xfs_defer_ops_capture( struct xfs_trans *tp) argument 1048 xfs_defer_ops_capture_and_commit( struct xfs_trans *tp, struct list_head *capture_list) argument 1083 xfs_defer_ops_continue( struct xfs_defer_capture *dfc, struct xfs_trans *tp, struct xfs_defer_resources *dres) argument 1203 xfs_defer_item_pause( struct xfs_trans *tp, struct xfs_defer_pending *dfp) argument 1219 xfs_defer_item_unpause( struct xfs_trans *tp, struct xfs_defer_pending *dfp) argument [all...] |