| /linux/drivers/net/ethernet/realtek/ |
| H A D | r8169_main.c | 103 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) 104 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) 105 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) 106 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) 107 #define RTL_R16(tp, reg) readw(tp 86 RTL_W8(tp,reg,val8) global() argument 87 RTL_W16(tp,reg,val16) global() argument 88 RTL_W32(tp,reg,val32) global() argument 89 RTL_R8(tp,reg) global() argument 90 RTL_R16(tp,reg) global() argument 91 RTL_R32(tp,reg) global() argument 815 tp_to_dev(struct rtl8169_private * tp) tp_to_dev() argument 820 rtl_lock_config_regs(struct rtl8169_private * tp) rtl_lock_config_regs() argument 825 rtl_unlock_config_regs(struct rtl8169_private * tp) rtl_unlock_config_regs() argument 830 rtl_pci_commit(struct rtl8169_private * tp) rtl_pci_commit() argument 836 rtl_mod_config2(struct rtl8169_private * tp,u8 clear,u8 set) rtl_mod_config2() argument 844 rtl_mod_config5(struct rtl8169_private * tp,u8 clear,u8 set) rtl_mod_config5() argument 852 r8169_mod_reg8_cond(struct rtl8169_private * tp,int reg,u8 bits,bool cond) r8169_mod_reg8_cond() argument 866 rtl_is_8125(struct rtl8169_private * tp) rtl_is_8125() argument 871 rtl_is_8168evl_up(struct rtl8169_private * tp) rtl_is_8168evl_up() argument 878 rtl_supports_eee(struct rtl8169_private * tp) rtl_supports_eee() argument 885 rtl_read_mac_from_reg(struct rtl8169_private * tp,u8 * mac,int reg) rtl_read_mac_from_reg() argument 898 rtl_loop_wait(struct rtl8169_private * tp,const struct rtl_cond * c,unsigned long usecs,int n,bool high) rtl_loop_wait() argument 915 rtl_loop_wait_high(struct rtl8169_private * tp,const struct rtl_cond * c,unsigned long d,int n) rtl_loop_wait_high() argument 922 rtl_loop_wait_low(struct rtl8169_private * tp,const struct rtl_cond * c,unsigned long d,int n) rtl_loop_wait_low() argument 939 rtl8168_led_mod_ctrl(struct rtl8169_private * tp,u16 mask,u16 val) rtl8168_led_mod_ctrl() argument 957 rtl8168_get_led_mode(struct rtl8169_private * tp) rtl8168_get_led_mode() argument 980 rtl8125_set_led_mode(struct rtl8169_private * tp,int index,u16 mode) rtl8125_set_led_mode() argument 1001 rtl8125_get_led_mode(struct rtl8169_private * tp,int index) rtl8125_get_led_mode() argument 1018 r8169_get_led_name(struct rtl8169_private * tp,int idx,char * buf,int buf_len) r8169_get_led_name() argument 1040 r8168fp_adjust_ocp_cmd(struct rtl8169_private * tp,u32 * cmd,int type) r8168fp_adjust_ocp_cmd() argument 1052 _rtl_eri_write(struct rtl8169_private * tp,int addr,u32 mask,u32 val,int type) _rtl_eri_write() argument 1067 rtl_eri_write(struct rtl8169_private * tp,int addr,u32 mask,u32 val) rtl_eri_write() argument 1073 _rtl_eri_read(struct rtl8169_private * tp,int addr,int type) _rtl_eri_read() argument 1084 rtl_eri_read(struct rtl8169_private * tp,int addr) rtl_eri_read() argument 1089 rtl_w0w1_eri(struct rtl8169_private * tp,int addr,u32 p,u32 m) rtl_w0w1_eri() argument 1096 rtl_eri_set_bits(struct rtl8169_private * tp,int addr,u32 p) rtl_eri_set_bits() argument 1101 rtl_eri_clear_bits(struct rtl8169_private * tp,int addr,u32 m) rtl_eri_clear_bits() argument 1116 r8168_phy_ocp_write(struct rtl8169_private * tp,u32 reg,u32 data) r8168_phy_ocp_write() argument 1126 r8168_phy_ocp_read(struct rtl8169_private * tp,u32 reg) r8168_phy_ocp_read() argument 1141 __r8168_mac_ocp_write(struct rtl8169_private * tp,u32 reg,u32 data) __r8168_mac_ocp_write() argument 1149 r8168_mac_ocp_write(struct rtl8169_private * tp,u32 reg,u32 data) r8168_mac_ocp_write() argument 1158 __r8168_mac_ocp_read(struct rtl8169_private * tp,u32 reg) __r8168_mac_ocp_read() argument 1168 r8168_mac_ocp_read(struct rtl8169_private * tp,u32 reg) r8168_mac_ocp_read() argument 1180 r8168_mac_ocp_modify(struct rtl8169_private * tp,u32 reg,u16 mask,u16 set) r8168_mac_ocp_modify() argument 1192 r8127_sfp_sds_phy_reset(struct rtl8169_private * tp) r8127_sfp_sds_phy_reset() argument 1202 r8127_sfp_init_10g(struct rtl8169_private * tp) r8127_sfp_init_10g() argument 1220 rtl_sfp_init(struct rtl8169_private * tp) rtl_sfp_init() argument 1226 rtl_sfp_reset(struct rtl8169_private * tp) rtl_sfp_reset() argument 1235 rtl8168g_phy_suspend_quirk(struct rtl8169_private * tp,int value) rtl8168g_phy_suspend_quirk() argument 1249 r8168g_mdio_write(struct rtl8169_private * tp,int reg,int value) r8168g_mdio_write() argument 1265 r8168g_mdio_read(struct rtl8169_private * tp,int reg) r8168g_mdio_read() argument 1276 mac_mcu_write(struct rtl8169_private * tp,int reg,int value) mac_mcu_write() argument 1286 mac_mcu_read(struct rtl8169_private * tp,int reg) mac_mcu_read() argument 1296 r8169_mdio_write(struct rtl8169_private * tp,int reg,int value) r8169_mdio_write() argument 1308 r8169_mdio_read(struct rtl8169_private * tp,int reg) r8169_mdio_read() argument 1333 r8168dp_2_mdio_start(struct rtl8169_private * tp) r8168dp_2_mdio_start() argument 1338 r8168dp_2_mdio_stop(struct rtl8169_private * tp) r8168dp_2_mdio_stop() argument 1343 r8168dp_2_mdio_write(struct rtl8169_private * tp,int reg,int value) r8168dp_2_mdio_write() argument 1352 r8168dp_2_mdio_read(struct rtl8169_private * tp,int reg) r8168dp_2_mdio_read() argument 1369 rtl_writephy(struct rtl8169_private * tp,int location,int val) rtl_writephy() argument 1385 rtl_readphy(struct rtl8169_private * tp,int location) rtl_readphy() argument 1403 rtl_ephy_write(struct rtl8169_private * tp,int reg_addr,int value) rtl_ephy_write() argument 1413 rtl_ephy_read(struct rtl8169_private * tp,int reg_addr) rtl_ephy_read() argument 1421 r8168dp_ocp_read(struct rtl8169_private * tp,u16 reg) r8168dp_ocp_read() argument 1428 r8168ep_ocp_read(struct rtl8169_private * tp,u16 reg) r8168ep_ocp_read() argument 1433 r8168dp_ocp_write(struct rtl8169_private * tp,u8 mask,u16 reg,u32 data) r8168dp_ocp_write() argument 1441 r8168ep_ocp_write(struct rtl8169_private * tp,u8 mask,u16 reg,u32 data) r8168ep_ocp_write() argument 1448 r8168dp_oob_notify(struct rtl8169_private * tp,u8 cmd) r8168dp_oob_notify() argument 1459 rtl8168_get_ocp_reg(struct rtl8169_private * tp) rtl8168_get_ocp_reg() argument 1483 rtl8168ep_stop_cmac(struct rtl8169_private * tp) rtl8168ep_stop_cmac() argument 1491 rtl8168dp_driver_start(struct rtl8169_private * tp) rtl8168dp_driver_start() argument 1498 rtl8168ep_driver_start(struct rtl8169_private * tp) rtl8168ep_driver_start() argument 1506 rtl8125bp_driver_start(struct rtl8169_private * tp) rtl8125bp_driver_start() argument 1513 rtl8168_driver_start(struct rtl8169_private * tp) rtl8168_driver_start() argument 1523 rtl8168dp_driver_stop(struct rtl8169_private * tp) rtl8168dp_driver_stop() argument 1530 rtl8168ep_driver_stop(struct rtl8169_private * tp) rtl8168ep_driver_stop() argument 1539 rtl8125bp_driver_stop(struct rtl8169_private * tp) rtl8125bp_driver_stop() argument 1546 rtl8168_driver_stop(struct rtl8169_private * tp) rtl8168_driver_stop() argument 1556 r8168dp_check_dash(struct rtl8169_private * tp) r8168dp_check_dash() argument 1563 r8168ep_check_dash(struct rtl8169_private * tp) r8168ep_check_dash() argument 1568 rtl_dash_is_enabled(struct rtl8169_private * tp) rtl_dash_is_enabled() argument 1581 rtl_get_dash_type(struct rtl8169_private * tp) rtl_get_dash_type() argument 1600 rtl_set_d3_pll_down(struct rtl8169_private * tp,bool enable) rtl_set_d3_pll_down() argument 1618 rtl_reset_packet_filter(struct rtl8169_private * tp) rtl_reset_packet_filter() argument 1629 rtl8168d_efuse_read(struct rtl8169_private * tp,int reg_addr) rtl8168d_efuse_read() argument 1637 rtl_get_events(struct rtl8169_private * tp) rtl_get_events() argument 1645 rtl_ack_events(struct rtl8169_private * tp,u32 bits) rtl_ack_events() argument 1653 rtl_irq_disable(struct rtl8169_private * tp) rtl_irq_disable() argument 1661 rtl_irq_enable(struct rtl8169_private * tp) rtl_irq_enable() argument 1669 rtl8169_irq_mask_and_ack(struct rtl8169_private * tp) rtl8169_irq_mask_and_ack() argument 1676 rtl_link_chg_patch(struct rtl8169_private * tp) rtl_link_chg_patch() argument 1716 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_wol() local 1722 __rtl8169_set_wol(struct rtl8169_private * tp,u32 wolopts) __rtl8169_set_wol() argument 1775 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_wol() local 1789 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_drvinfo() local 1807 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_fix_features() local 1819 rtl_set_rx_config_features(struct rtl8169_private * tp,netdev_features_t features) rtl_set_rx_config_features() argument 1842 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_features() local 1881 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_regs() local 1921 rtl8169_do_counters(struct rtl8169_private * tp,u32 counter_cmd) rtl8169_do_counters() argument 1933 rtl8169_update_counters(struct rtl8169_private * tp) rtl8169_update_counters() argument 1945 rtl8169_init_counter_offsets(struct rtl8169_private * tp) rtl8169_init_counter_offsets() argument 1983 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_ethtool_stats() local 2067 rtl_coalesce_info(struct rtl8169_private * tp) rtl_coalesce_info() argument 2093 struct rtl8169_private *tp = netdev_priv(dev); rtl_get_coalesce() local 2129 rtl_coalesce_choose_scale(struct rtl8169_private * tp,u32 usec,u16 * cp01) rtl_coalesce_choose_scale() argument 2154 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_coalesce() local 2218 rtl_set_eee_txidle_timer(struct rtl8169_private * tp) rtl_set_eee_txidle_timer() argument 2237 r8169_get_tx_lpi_timer_us(struct rtl8169_private * tp) r8169_get_tx_lpi_timer_us() argument 2251 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eee() local 2268 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_eee() local 2290 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_pause_stats() local 2303 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_pauseparam() local 2316 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_pauseparam() local 2329 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eth_mac_stats() local 2378 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eth_ctrl_stats() local 2392 struct rtl8169_private *tp = netdev_priv(ndev); rtl8169_set_link_ksettings() local 2482 rtl_release_firmware(struct rtl8169_private * tp) rtl_release_firmware() argument 2491 r8169_apply_firmware(struct rtl8169_private * tp) r8169_apply_firmware() argument 2508 rtl_rar_exgmac_set(struct rtl8169_private * tp,const u8 * addr) rtl_rar_exgmac_set() argument 2516 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private * tp) rtl8168h_2_get_adc_bias_ioffset() argument 2532 rtl_schedule_task(struct rtl8169_private * tp,enum rtl_flag flag) rtl_schedule_task() argument 2539 rtl8169_init_phy(struct rtl8169_private * tp) rtl8169_init_phy() argument 2564 rtl_rar_set(struct rtl8169_private * tp,const u8 * addr) rtl_rar_set() argument 2582 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_mac_address() local 2594 rtl_init_rxcfg(struct rtl8169_private * tp) rtl_init_rxcfg() argument 2622 rtl8169_init_ring_indexes(struct rtl8169_private * tp) rtl8169_init_ring_indexes() argument 2627 rtl_jumbo_config(struct rtl8169_private * tp) rtl_jumbo_config() argument 2676 rtl_hw_reset(struct rtl8169_private * tp) rtl_hw_reset() argument 2683 rtl_request_firmware(struct rtl8169_private * tp) rtl_request_firmware() argument 2708 rtl_rx_close(struct rtl8169_private * tp) rtl_rx_close() argument 2734 rtl_wait_txrx_fifo_empty(struct rtl8169_private * tp) rtl_wait_txrx_fifo_empty() argument 2754 rtl_disable_rxdvgate(struct rtl8169_private * tp) rtl_disable_rxdvgate() argument 2759 rtl_enable_rxdvgate(struct rtl8169_private * tp) rtl_enable_rxdvgate() argument 2766 rtl_wol_enable_rx(struct rtl8169_private * tp) rtl_wol_enable_rx() argument 2776 rtl_prepare_power_down(struct rtl8169_private * tp) rtl_prepare_power_down() argument 2788 rtl_set_tx_config_registers(struct rtl8169_private * tp) rtl_set_tx_config_registers() argument 2799 rtl_set_rx_max_size(struct rtl8169_private * tp) rtl_set_rx_max_size() argument 2805 rtl_set_rx_tx_desc_registers(struct rtl8169_private * tp) rtl_set_rx_tx_desc_registers() argument 2818 rtl8169_set_magic_reg(struct rtl8169_private * tp) rtl8169_set_magic_reg() argument 2840 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_rx_mode() local 2880 rtl_csi_write(struct rtl8169_private * tp,int addr,int value) rtl_csi_write() argument 2891 rtl_csi_read(struct rtl8169_private * tp,int addr) rtl_csi_read() argument 2902 rtl_csi_mod(struct rtl8169_private * tp,int addr,u32 mask,u32 set) rtl_csi_mod() argument 2916 rtl_disable_zrxdc_timeout(struct rtl8169_private * tp) rtl_disable_zrxdc_timeout() argument 2938 rtl_set_aspm_entry_latency(struct rtl8169_private * tp,u8 val) rtl_set_aspm_entry_latency() argument 2955 rtl_set_def_aspm_entry_latency(struct rtl8169_private * tp) rtl_set_def_aspm_entry_latency() argument 2967 __rtl_ephy_init(struct rtl8169_private * tp,const struct ephy_info * e,int len) __rtl_ephy_init() argument 2979 rtl_ephy_init(tp,a) global() argument 2981 rtl_disable_clock_request(struct rtl8169_private * tp) rtl_disable_clock_request() argument 2987 rtl_enable_clock_request(struct rtl8169_private * tp) rtl_enable_clock_request() argument 2993 rtl_pcie_state_l2l3_disable(struct rtl8169_private * tp) rtl_pcie_state_l2l3_disable() argument 2999 rtl_enable_exit_l1(struct rtl8169_private * tp) rtl_enable_exit_l1() argument 3024 rtl_disable_exit_l1(struct rtl8169_private * tp) rtl_disable_exit_l1() argument 3038 rtl_enable_ltr(struct rtl8169_private * tp) rtl_enable_ltr() argument 3124 rtl_hw_aspm_clkreq_enable(struct rtl8169_private * tp,bool enable) rtl_hw_aspm_clkreq_enable() argument 3188 rtl_set_fifo_size(struct rtl8169_private * tp,u16 rx_stat,u16 tx_stat,u16 rx_dyn,u16 tx_dyn) rtl_set_fifo_size() argument 3198 rtl8168g_set_pause_thresholds(struct rtl8169_private * tp,u8 low,u8 high) rtl8168g_set_pause_thresholds() argument 3206 rtl_hw_start_8168b(struct rtl8169_private * tp) rtl_hw_start_8168b() argument 3211 __rtl_hw_start_8168cp(struct rtl8169_private * tp) __rtl_hw_start_8168cp() argument 3220 rtl_hw_start_8168cp_1(struct rtl8169_private * tp) rtl_hw_start_8168cp_1() argument 3237 rtl_hw_start_8168cp_2(struct rtl8169_private * tp) rtl_hw_start_8168cp_2() argument 3244 rtl_hw_start_8168cp_3(struct rtl8169_private * tp) rtl_hw_start_8168cp_3() argument 3254 rtl_hw_start_8168c_1(struct rtl8169_private * tp) rtl_hw_start_8168c_1() argument 3271 rtl_hw_start_8168c_2(struct rtl8169_private * tp) rtl_hw_start_8168c_2() argument 3285 rtl_hw_start_8168c_4(struct rtl8169_private * tp) rtl_hw_start_8168c_4() argument 3292 rtl_hw_start_8168d(struct rtl8169_private * tp) rtl_hw_start_8168d() argument 3299 rtl_hw_start_8168d_4(struct rtl8169_private * tp) rtl_hw_start_8168d_4() argument 3315 rtl_hw_start_8168e_1(struct rtl8169_private * tp) rtl_hw_start_8168e_1() argument 3346 rtl_hw_start_8168e_2(struct rtl8169_private * tp) rtl_hw_start_8168e_2() argument 3377 rtl_hw_start_8168f(struct rtl8169_private * tp) rtl_hw_start_8168f() argument 3398 rtl_hw_start_8168f_1(struct rtl8169_private * tp) rtl_hw_start_8168f_1() argument 3414 rtl_hw_start_8411(struct rtl8169_private * tp) rtl_hw_start_8411() argument 3430 rtl_hw_start_8168g(struct rtl8169_private * tp) rtl_hw_start_8168g() argument 3451 rtl_hw_start_8168g_1(struct rtl8169_private * tp) rtl_hw_start_8168g_1() argument 3464 rtl_hw_start_8168g_2(struct rtl8169_private * tp) rtl_hw_start_8168g_2() argument 3482 rtl8411b_fix_phy_down(struct rtl8169_private * tp) rtl8411b_fix_phy_down() argument 3509 rtl_hw_start_8411_2(struct rtl8169_private * tp) rtl_hw_start_8411_2() argument 3555 rtl_hw_start_8168h_1(struct rtl8169_private * tp) rtl_hw_start_8168h_1() argument 3614 rtl_hw_start_8168ep(struct rtl8169_private * tp) rtl_hw_start_8168ep() argument 3639 rtl_hw_start_8168ep_3(struct rtl8169_private * tp) rtl_hw_start_8168ep_3() argument 3660 rtl_hw_start_8117(struct rtl8169_private * tp) rtl_hw_start_8117() argument 3718 rtl_hw_start_8102e_1(struct rtl8169_private * tp) rtl_hw_start_8102e_1() argument 3747 rtl_hw_start_8102e_2(struct rtl8169_private * tp) rtl_hw_start_8102e_2() argument 3755 rtl_hw_start_8102e_3(struct rtl8169_private * tp) rtl_hw_start_8102e_3() argument 3762 rtl_hw_start_8401(struct rtl8169_private * tp) rtl_hw_start_8401() argument 3775 rtl_hw_start_8105e_1(struct rtl8169_private * tp) rtl_hw_start_8105e_1() argument 3802 rtl_hw_start_8105e_2(struct rtl8169_private * tp) rtl_hw_start_8105e_2() argument 3808 rtl_hw_start_8402(struct rtl8169_private * tp) rtl_hw_start_8402() argument 3836 rtl_hw_start_8106(struct rtl8169_private * tp) rtl_hw_start_8106() argument 3861 rtl_hw_start_8125_common(struct rtl8169_private * tp) rtl_hw_start_8125_common() argument 3930 rtl_hw_start_8125a_2(struct rtl8169_private * tp) rtl_hw_start_8125a_2() argument 3953 rtl_hw_start_8125b(struct rtl8169_private * tp) rtl_hw_start_8125b() argument 3969 rtl_hw_start_8125d(struct rtl8169_private * tp) rtl_hw_start_8125d() argument 3975 rtl_hw_start_8126a(struct rtl8169_private * tp) rtl_hw_start_8126a() argument 3982 rtl_hw_start_8127a(struct rtl8169_private * tp) rtl_hw_start_8127a() argument 3988 rtl_hw_config(struct rtl8169_private * tp) rtl_hw_config() argument 4039 rtl_hw_start_8125(struct rtl8169_private * tp) rtl_hw_start_8125() argument 4073 rtl_hw_start_8168(struct rtl8169_private * tp) rtl_hw_start_8168() argument 4086 rtl_hw_start_8169(struct rtl8169_private * tp) rtl_hw_start_8169() argument 4104 rtl_hw_start(struct rtl8169_private * tp) rtl_hw_start() argument 4141 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_change_mtu() local 4161 rtl8169_alloc_rx_data(struct rtl8169_private * tp,struct RxDesc * desc) rtl8169_alloc_rx_data() argument 4186 rtl8169_rx_clear(struct rtl8169_private * tp) rtl8169_rx_clear() argument 4201 rtl8169_rx_fill(struct rtl8169_private * tp) rtl8169_rx_fill() argument 4222 rtl8169_init_ring(struct rtl8169_private * tp) rtl8169_init_ring() argument 4232 rtl8169_unmap_tx_skb(struct rtl8169_private * tp,unsigned int entry) rtl8169_unmap_tx_skb() argument 4243 rtl8169_tx_clear_range(struct rtl8169_private * tp,u32 start,unsigned int n) rtl8169_tx_clear_range() argument 4263 rtl8169_tx_clear(struct rtl8169_private * tp) rtl8169_tx_clear() argument 4269 rtl8169_cleanup(struct rtl8169_private * tp) rtl8169_cleanup() argument 4306 rtl_reset_work(struct rtl8169_private * tp) rtl_reset_work() argument 4323 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_tx_timeout() local 4328 rtl8169_tx_map(struct rtl8169_private * tp,const u32 * opts,u32 len,void * addr,unsigned int entry,bool desc_own) rtl8169_tx_map() argument 4360 rtl8169_xmit_frags(struct rtl8169_private * tp,struct sk_buff * skb,const u32 * opts,unsigned int entry) rtl8169_xmit_frags() argument 4405 rtl8125_quirk_udp_padto(struct rtl8169_private * tp,struct sk_buff * skb) rtl8125_quirk_udp_padto() argument 4432 rtl_quirk_packet_padto(struct rtl8169_private * tp,struct sk_buff * skb) rtl_quirk_packet_padto() argument 4476 rtl8169_tso_csum_v2(struct rtl8169_private * tp,struct sk_buff * skb,u32 * opts) rtl8169_tso_csum_v2() argument 4534 rtl_tx_slots_avail(struct rtl8169_private * tp) rtl_tx_slots_avail() argument 4540 rtl_chip_supports_csum_v2(struct rtl8169_private * tp) rtl_chip_supports_csum_v2() argument 4551 rtl8169_doorbell(struct rtl8169_private * tp) rtl8169_doorbell() argument 4562 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_start_xmit() local 4666 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_features_check() local 4693 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_pcierr_interrupt() local 4709 rtl_tx(struct net_device * dev,struct rtl8169_private * tp,int budget) rtl_tx() argument 4771 rtl_rx(struct net_device * dev,struct rtl8169_private * tp,int budget) rtl_rx() argument 4859 struct rtl8169_private *tp = dev_instance; rtl8169_interrupt() local 4885 struct rtl8169_private *tp = rtl_task() local 4917 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); rtl8169_poll() local 4931 rtl_enable_tx_lpi(struct rtl8169_private * tp,bool enable) rtl_enable_tx_lpi() argument 4968 struct rtl8169_private *tp = netdev_priv(ndev); r8169_phylink_handler() local 4982 r8169_phy_connect(struct rtl8169_private * tp) r8169_phy_connect() argument 5004 rtl8169_down(struct rtl8169_private * tp) rtl8169_down() argument 5029 rtl8169_up(struct rtl8169_private * tp) rtl8169_up() argument 5047 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_close() local 5075 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_netpoll() local 5083 struct rtl8169_private *tp = netdev_priv(dev); rtl_open() local 5146 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_stats64() local 5178 rtl8169_net_suspend(struct rtl8169_private * tp) rtl8169_net_suspend() argument 5188 struct rtl8169_private *tp = dev_get_drvdata(dev); rtl8169_runtime_resume() local 5203 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_suspend() local 5216 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_resume() local 5229 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_suspend() local 5246 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_idle() local 5265 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_shutdown() local 5280 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_remove_one() local 5321 rtl_set_irq_mask(struct rtl8169_private * tp) rtl_set_irq_mask() argument 5329 rtl_alloc_irq(struct rtl8169_private * tp) rtl_alloc_irq() argument 5350 rtl_read_mac_address(struct rtl8169_private * tp,u8 mac_addr[ETH_ALEN]) rtl_read_mac_address() argument 5371 r8168g_wait_ll_share_fifo_ready(struct rtl8169_private * tp) r8168g_wait_ll_share_fifo_ready() argument 5378 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_read_reg() local 5389 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_write_reg() local 5402 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_read_reg_c45() local 5416 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_write_reg_c45() local 5426 r8169_mdio_register(struct rtl8169_private * tp) r8169_mdio_register() argument 5499 rtl_hw_init_8168g(struct rtl8169_private * tp) rtl_hw_init_8168g() argument 5514 rtl_hw_init_8125(struct rtl8169_private * tp) rtl_hw_init_8125() argument 5531 rtl_hw_initialize(struct rtl8169_private * tp) rtl_hw_initialize() argument 5548 rtl_jumbo_max(struct rtl8169_private * tp) rtl_jumbo_max() argument 5572 rtl_init_mac_address(struct rtl8169_private * tp) rtl_init_mac_address() argument 5599 rtl_aspm_is_safe(struct rtl8169_private * tp) rtl_aspm_is_safe() argument 5612 struct rtl8169_private *tp; rtl_init_one() local [all...] |
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 93 #define tg3_flag(tp, flag) \ argument 94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 95 #define tg3_flag_set(tp, flag) \ argument 96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 97 #define tg3_flag_clear(tp, flag) \ argument 98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 131 #define TG3_MAX_MTU(tp) \ argument 132 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) 138 #define TG3_RX_STD_RING_SIZE(tp) \ argument 139 (tg3_flag(tp, LRG_PROD_RING_CA 142 TG3_RX_JMB_RING_SIZE(tp) global() argument 157 TG3_RX_STD_RING_BYTES(tp) global() argument 159 TG3_RX_JMB_RING_BYTES(tp) global() argument 161 TG3_RX_RCB_RING_BYTES(tp) global() argument 177 TG3_RX_STD_BUFF_RING_SIZE(tp) global() argument 180 TG3_RX_JMB_BUFF_RING_SIZE(tp) global() argument 196 TG3_RX_COPY_THRESH(tp) global() argument 198 TG3_RX_COPY_THRESH(tp) global() argument 202 TG3_RX_OFFSET(tp) global() argument 204 TG3_RX_OFFSET(tp) global() argument 214 TG3_MAX_UCAST_ADDR(tp) global() argument 215 TG3_UCAST_ADDR_IDX(tp) global() argument 471 tg3_write32(struct tg3 * tp,u32 off,u32 val) tg3_write32() argument 476 tg3_read32(struct tg3 * tp,u32 off) tg3_read32() argument 481 tg3_ape_write32(struct tg3 * tp,u32 off,u32 val) tg3_ape_write32() argument 486 tg3_ape_read32(struct tg3 * tp,u32 off) tg3_ape_read32() argument 491 tg3_write_indirect_reg32(struct tg3 * tp,u32 off,u32 val) tg3_write_indirect_reg32() argument 501 tg3_write_flush_reg32(struct tg3 * tp,u32 off,u32 val) tg3_write_flush_reg32() argument 507 tg3_read_indirect_reg32(struct tg3 * tp,u32 off) tg3_read_indirect_reg32() argument 519 tg3_write_indirect_mbox(struct tg3 * tp,u32 off,u32 val) tg3_write_indirect_mbox() argument 549 tg3_read_indirect_mbox(struct tg3 * tp,u32 off) tg3_read_indirect_mbox() argument 566 _tw32_flush(struct tg3 * tp,u32 off,u32 val,u32 usec_wait) _tw32_flush() argument 585 tw32_mailbox_flush(struct tg3 * tp,u32 off,u32 val) tw32_mailbox_flush() argument 594 tg3_write32_tx_mbox(struct tg3 * tp,u32 off,u32 val) tg3_write32_tx_mbox() argument 605 tg3_read32_mbox_5906(struct tg3 * tp,u32 off) tg3_read32_mbox_5906() argument 610 tg3_write32_mbox_5906(struct tg3 * tp,u32 off,u32 val) tg3_write32_mbox_5906() argument 626 tg3_write_mem(struct tg3 * tp,u32 off,u32 val) tg3_write_mem() argument 651 tg3_read_mem(struct tg3 * tp,u32 off,u32 * val) tg3_read_mem() argument 678 tg3_ape_lock_init(struct tg3 * tp) tg3_ape_lock_init() argument 708 tg3_ape_lock(struct tg3 * tp,int locknum) tg3_ape_lock() argument 771 tg3_ape_unlock(struct tg3 * tp,int locknum) tg3_ape_unlock() argument 808 tg3_ape_event_lock(struct tg3 * tp,u32 timeout_us) tg3_ape_event_lock() argument 830 tg3_ape_wait_for_event(struct tg3 * tp,u32 timeout_us) tg3_ape_wait_for_event() argument 846 tg3_ape_scratchpad_read(struct tg3 * tp,u32 * data,u32 base_off,u32 len) tg3_ape_scratchpad_read() argument 911 tg3_ape_send_event(struct tg3 * tp,u32 event) tg3_ape_send_event() argument 938 tg3_ape_driver_state_change(struct tg3 * tp,int kind) tg3_ape_driver_state_change() argument 986 tg3_send_ape_heartbeat(struct tg3 * tp,unsigned long interval) tg3_send_ape_heartbeat() argument 998 tg3_disable_ints(struct tg3 * tp) tg3_disable_ints() argument 1008 tg3_enable_ints(struct tg3 * tp) tg3_enable_ints() argument 1041 struct tg3 *tp = tnapi->tp; tg3_has_work() local 1070 struct tg3 *tp = tnapi->tp; tg3_int_reenable() local 1083 tg3_switch_clocks(struct tg3 * tp) tg3_switch_clocks() argument 1118 __tg3_readphy(struct tg3 * tp,unsigned int phy_addr,int reg,u32 * val) __tg3_readphy() argument 1172 tg3_readphy(struct tg3 * tp,int reg,u32 * val) tg3_readphy() argument 1177 __tg3_writephy(struct tg3 * tp,unsigned int phy_addr,int reg,u32 val) __tg3_writephy() argument 1231 tg3_writephy(struct tg3 * tp,int reg,u32 val) tg3_writephy() argument 1236 tg3_phy_cl45_write(struct tg3 * tp,u32 devad,u32 addr,u32 val) tg3_phy_cl45_write() argument 1259 tg3_phy_cl45_read(struct tg3 * tp,u32 devad,u32 addr,u32 * val) tg3_phy_cl45_read() argument 1282 tg3_phydsp_read(struct tg3 * tp,u32 reg,u32 * val) tg3_phydsp_read() argument 1293 tg3_phydsp_write(struct tg3 * tp,u32 reg,u32 val) tg3_phydsp_write() argument 1304 tg3_phy_auxctl_read(struct tg3 * tp,int reg,u32 * val) tg3_phy_auxctl_read() argument 1317 tg3_phy_auxctl_write(struct tg3 * tp,int reg,u32 set) tg3_phy_auxctl_write() argument 1325 tg3_phy_toggle_auxctl_smdsp(struct tg3 * tp,bool enable) tg3_phy_toggle_auxctl_smdsp() argument 1346 tg3_phy_shdw_write(struct tg3 * tp,int reg,u32 val) tg3_phy_shdw_write() argument 1352 tg3_bmcr_reset(struct tg3 * tp) tg3_bmcr_reset() argument 1385 struct tg3 *tp = bp->priv; tg3_mdio_read() local 1400 struct tg3 *tp = bp->priv; tg3_mdio_write() local 1413 tg3_mdio_config_5785(struct tg3 * tp) tg3_mdio_config_5785() argument 1494 tg3_mdio_start(struct tg3 * tp) tg3_mdio_start() argument 1505 tg3_mdio_init(struct tg3 * tp) tg3_mdio_init() argument 1605 tg3_mdio_fini(struct tg3 * tp) tg3_mdio_fini() argument 1615 tg3_generate_fw_event(struct tg3 * tp) tg3_generate_fw_event() argument 1629 tg3_wait_for_event_ack(struct tg3 * tp) tg3_wait_for_event_ack() argument 1659 tg3_phy_gather_ump_data(struct tg3 * tp,u32 * data) tg3_phy_gather_ump_data() argument 1694 tg3_ump_link_report(struct tg3 * tp) tg3_ump_link_report() argument 1716 tg3_stop_fw(struct tg3 * tp) tg3_stop_fw() argument 1732 tg3_write_sig_pre_reset(struct tg3 * tp,int kind) tg3_write_sig_pre_reset() argument 1761 tg3_write_sig_post_reset(struct tg3 * tp,int kind) tg3_write_sig_post_reset() argument 1782 tg3_write_sig_legacy(struct tg3 * tp,int kind) tg3_write_sig_legacy() argument 1807 tg3_poll_fw(struct tg3 * tp) tg3_poll_fw() argument 1871 tg3_link_report(struct tg3 * tp) tg3_link_report() argument 1961 tg3_setup_flow_control(struct tg3 * tp,u32 lcladv,u32 rmtadv) tg3_setup_flow_control() argument 2004 struct tg3 *tp = netdev_priv(dev); tg3_adjust_link() local 2084 tg3_phy_init(struct tg3 * tp) tg3_phy_init() argument 2130 tg3_phy_start(struct tg3 * tp) tg3_phy_start() argument 2153 tg3_phy_stop(struct tg3 * tp) tg3_phy_stop() argument 2161 tg3_phy_fini(struct tg3 * tp) tg3_phy_fini() argument 2169 tg3_phy_set_extloopbk(struct tg3 * tp) tg3_phy_set_extloopbk() argument 2199 tg3_phy_fet_toggle_apd(struct tg3 * tp,bool enable) tg3_phy_fet_toggle_apd() argument 2219 tg3_phy_toggle_apd(struct tg3 * tp,bool enable) tg3_phy_toggle_apd() argument 2250 tg3_phy_toggle_automdix(struct tg3 * tp,bool enable) tg3_phy_toggle_automdix() argument 2291 tg3_phy_set_wirespeed(struct tg3 * tp) tg3_phy_set_wirespeed() argument 2305 tg3_phy_apply_otp(struct tg3 * tp) tg3_phy_apply_otp() argument 2342 tg3_eee_pull_config(struct tg3 * tp,struct ethtool_keee * eee) tg3_eee_pull_config() argument 2382 tg3_phy_eee_adjust(struct tg3 * tp,bool current_link_up) tg3_phy_eee_adjust() argument 2422 tg3_phy_eee_enable(struct tg3 * tp) tg3_phy_eee_enable() argument 2441 tg3_wait_macro_done(struct tg3 * tp) tg3_wait_macro_done() argument 2459 tg3_phy_write_and_check_testpat(struct tg3 * tp,int * resetp) tg3_phy_write_and_check_testpat() argument 2525 tg3_phy_reset_chanpat(struct tg3 * tp) tg3_phy_reset_chanpat() argument 2545 tg3_phy_reset_5703_4_5(struct tg3 * tp) tg3_phy_reset_5703_4_5() argument 2613 tg3_carrier_off(struct tg3 * tp) tg3_carrier_off() argument 2619 tg3_warn_mgmt_link_flap(struct tg3 * tp) tg3_warn_mgmt_link_flap() argument 2629 tg3_phy_reset(struct tg3 * tp) tg3_phy_reset() argument 2786 tg3_set_function_status(struct tg3 * tp,u32 newstat) tg3_set_function_status() argument 2809 tg3_pwrsrc_switch_to_vmain(struct tg3 * tp) tg3_pwrsrc_switch_to_vmain() argument 2834 tg3_pwrsrc_die_with_vmain(struct tg3 * tp) tg3_pwrsrc_die_with_vmain() argument 2858 tg3_pwrsrc_switch_to_vaux(struct tg3 * tp) tg3_pwrsrc_switch_to_vaux() argument 2935 tg3_frob_aux_power_5717(struct tg3 * tp,bool wol_enable) tg3_frob_aux_power_5717() argument 2960 tg3_frob_aux_power(struct tg3 * tp,bool include_wol) tg3_frob_aux_power() argument 3004 tg3_5700_link_polarity(struct tg3 * tp,u32 speed) tg3_5700_link_polarity() argument 3017 tg3_phy_power_bug(struct tg3 * tp) tg3_phy_power_bug() argument 3042 tg3_phy_led_bug(struct tg3 * tp) tg3_phy_led_bug() argument 3056 tg3_power_down_phy(struct tg3 * tp,bool do_low_power) tg3_power_down_phy() argument 3131 tg3_nvram_lock(struct tg3 * tp) tg3_nvram_lock() argument 3154 tg3_nvram_unlock(struct tg3 * tp) tg3_nvram_unlock() argument 3165 tg3_enable_nvram_access(struct tg3 * tp) tg3_enable_nvram_access() argument 3175 tg3_disable_nvram_access(struct tg3 * tp) tg3_disable_nvram_access() argument 3184 tg3_nvram_read_using_eeprom(struct tg3 * tp,u32 offset,u32 * val) tg3_nvram_read_using_eeprom() argument 3226 tg3_nvram_exec_cmd(struct tg3 * tp,u32 nvram_cmd) tg3_nvram_exec_cmd() argument 3245 tg3_nvram_phys_addr(struct tg3 * tp,u32 addr) tg3_nvram_phys_addr() argument 3260 tg3_nvram_logical_addr(struct tg3 * tp,u32 addr) tg3_nvram_logical_addr() argument 3281 tg3_nvram_read(struct tg3 * tp,u32 offset,u32 * val) tg3_nvram_read() argument 3314 tg3_nvram_read_be32(struct tg3 * tp,u32 offset,__be32 * val) tg3_nvram_read_be32() argument 3323 tg3_nvram_write_block_using_eeprom(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block_using_eeprom() argument 3373 tg3_nvram_write_block_unbuffered(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block_unbuffered() argument 3472 tg3_nvram_write_block_buffered(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block_buffered() argument 3527 tg3_nvram_write_block(struct tg3 * tp,u32 offset,u32 len,u8 * buf) tg3_nvram_write_block() argument 3582 tg3_pause_cpu(struct tg3 * tp,u32 cpu_base) tg3_pause_cpu() argument 3600 tg3_rxcpu_pause(struct tg3 * tp) tg3_rxcpu_pause() argument 3612 tg3_txcpu_pause(struct tg3 * tp) tg3_txcpu_pause() argument 3618 tg3_resume_cpu(struct tg3 * tp,u32 cpu_base) tg3_resume_cpu() argument 3625 tg3_rxcpu_resume(struct tg3 * tp) tg3_rxcpu_resume() argument 3631 tg3_halt_cpu(struct tg3 * tp,u32 cpu_base) tg3_halt_cpu() argument 3668 tg3_fw_data_len(struct tg3 * tp,const struct tg3_firmware_hdr * fw_hdr) tg3_fw_data_len() argument 3696 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) tg3_load_firmware_cpu() argument 3762 tg3_pause_cpu_and_set_pc(struct tg3 * tp,u32 cpu_base,u32 pc) tg3_pause_cpu_and_set_pc() argument 3783 tg3_load_5701_a0_firmware_fix(struct tg3 * tp) tg3_load_5701_a0_firmware_fix() argument 3824 tg3_validate_rxcpu_state(struct tg3 * tp) tg3_validate_rxcpu_state() argument 3856 tg3_load_57766_firmware(struct tg3 * tp) tg3_load_57766_firmware() argument 3897 tg3_load_tso_firmware(struct tg3 * tp) tg3_load_tso_firmware() argument 3947 __tg3_set_one_mac_addr(struct tg3 * tp,const u8 * mac_addr,int index) __tg3_set_one_mac_addr() argument 3967 __tg3_set_mac_addr(struct tg3 * tp,bool skip_mac_1) __tg3_set_mac_addr() argument 3994 tg3_enable_register_access(struct tg3 * tp) tg3_enable_register_access() argument 4004 tg3_power_up(struct tg3 * tp) tg3_power_up() argument 4023 tg3_power_down_prepare(struct tg3 * tp) tg3_power_down_prepare() argument 4270 tg3_power_down(struct tg3 * tp) tg3_power_down() argument 4276 tg3_aux_stat_to_speed_duplex(struct tg3 * tp,u32 val,u32 * speed,u8 * duplex) tg3_aux_stat_to_speed_duplex() argument 4323 tg3_phy_autoneg_cfg(struct tg3 * tp,u32 advertise,u32 flowctrl) tg3_phy_autoneg_cfg() argument 4396 tg3_phy_copper_begin(struct tg3 * tp) tg3_phy_copper_begin() argument 4493 tg3_phy_pull_config(struct tg3 * tp) tg3_phy_pull_config() argument 4590 tg3_init_5401phy_dsp(struct tg3 * tp) tg3_init_5401phy_dsp() argument 4609 tg3_phy_eee_config_ok(struct tg3 * tp) tg3_phy_eee_config_ok() argument 4632 tg3_phy_copper_an_config_ok(struct tg3 * tp,u32 * lcladv) tg3_phy_copper_an_config_ok() argument 4676 tg3_phy_copper_fetch_rmtadv(struct tg3 * tp,u32 * rmtadv) tg3_phy_copper_fetch_rmtadv() argument 4698 tg3_test_and_report_link_chg(struct tg3 * tp,bool curr_link_up) tg3_test_and_report_link_chg() argument 4716 tg3_clear_mac_status(struct tg3 * tp) tg3_clear_mac_status() argument 4728 tg3_setup_eee(struct tg3 * tp) tg3_setup_eee() argument 4764 tg3_setup_copper_phy(struct tg3 * tp,bool force_reset) tg3_setup_copper_phy() argument 5141 tg3_fiber_aneg_smachine(struct tg3 * tp,struct tg3_fiber_aneginfo * ap) tg3_fiber_aneg_smachine() argument 5393 fiber_autoneg(struct tg3 * tp,u32 * txflags,u32 * rxflags) fiber_autoneg() argument 5438 tg3_init_bcm8002(struct tg3 * tp) tg3_init_bcm8002() argument 5488 tg3_setup_fiber_hw_autoneg(struct tg3 * tp,u32 mac_status) tg3_setup_fiber_hw_autoneg() argument 5632 tg3_setup_fiber_by_hand(struct tg3 * tp,u32 mac_status) tg3_setup_fiber_by_hand() argument 5697 tg3_setup_fiber_phy(struct tg3 * tp,bool force_reset) tg3_setup_fiber_phy() argument 5799 tg3_setup_fiber_mii_phy(struct tg3 * tp,bool force_reset) tg3_setup_fiber_mii_phy() argument 5990 tg3_serdes_parallel_detect(struct tg3 * tp) tg3_serdes_parallel_detect() argument 6050 tg3_setup_phy(struct tg3 * tp,bool force_reset) tg3_setup_phy() argument 6117 tg3_refclk_read(struct tg3 * tp,struct ptp_system_timestamp * sts) tg3_refclk_read() argument 6130 tg3_refclk_write(struct tg3 * tp,u64 newval) tg3_refclk_write() argument 6144 struct tg3 *tp = netdev_priv(dev); tg3_get_ts_info() local 6168 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjfine() local 6196 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjtime() local 6209 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_gettimex() local 6225 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_settime() local 6240 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_enable() local 6300 tg3_hwclock_to_timestamp(struct tg3 * tp,u64 hwclock,struct skb_shared_hwtstamps * timestamp) tg3_hwclock_to_timestamp() argument 6308 tg3_read_tx_tstamp(struct tg3 * tp,u64 * hwclock) tg3_read_tx_tstamp() argument 6316 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_ts_aux_work() local 6358 tg3_ptp_init(struct tg3 * tp) tg3_ptp_init() argument 6370 tg3_ptp_resume(struct tg3 * tp) tg3_ptp_resume() argument 6379 tg3_ptp_fini(struct tg3 * tp) tg3_ptp_fini() argument 6391 tg3_irq_sync(struct tg3 * tp) tg3_irq_sync() argument 6396 tg3_rd32_loop(struct tg3 * tp,u32 * dst,u32 off,u32 len) tg3_rd32_loop() argument 6405 tg3_dump_legacy_regs(struct tg3 * tp,u32 * regs) tg3_dump_legacy_regs() argument 6455 tg3_dump_state(struct tg3 * tp) tg3_dump_state() argument 6525 tg3_tx_recover(struct tg3 * tp) tg3_tx_recover() argument 6553 struct tg3 *tp = tnapi->tp; tg3_tx() local 6666 tg3_rx_data_free(struct tg3 * tp,struct ring_info * ri,u32 map_sz) tg3_rx_data_free() argument 6692 tg3_alloc_rx_data(struct tg3 * tp,struct tg3_rx_prodring_set * tpr,u32 opaque_key,u32 dest_idx_unmasked,unsigned int * frag_size) tg3_alloc_rx_data() argument 6764 struct tg3 *tp = tnapi->tp; tg3_recycle_rx() local 6831 struct tg3 *tp = tnapi->tp; tg3_rx() local 7039 tg3_poll_link(struct tg3 * tp) tg3_poll_link() argument 7063 tg3_rx_prodring_xfer(struct tg3 * tp,struct tg3_rx_prodring_set * dpr,struct tg3_rx_prodring_set * spr) tg3_rx_prodring_xfer() argument 7191 struct tg3 *tp = tnapi->tp; tg3_poll_work() local 7238 tg3_reset_task_schedule(struct tg3 * tp) tg3_reset_task_schedule() argument 7244 tg3_reset_task_cancel(struct tg3 * tp) tg3_reset_task_cancel() argument 7254 struct tg3 *tp = tnapi->tp; tg3_poll_msix() local 7311 tg3_process_error(struct tg3 * tp) tg3_process_error() argument 7348 struct tg3 *tp = tnapi->tp; tg3_poll() local 7394 tg3_napi_disable(struct tg3 * tp) tg3_napi_disable() argument 7417 tg3_napi_enable(struct tg3 * tp) tg3_napi_enable() argument 7441 tg3_napi_init(struct tg3 * tp) tg3_napi_init() argument 7453 tg3_napi_fini(struct tg3 * tp) tg3_napi_fini() argument 7461 tg3_netif_stop(struct tg3 * tp) tg3_netif_stop() argument 7470 tg3_netif_start(struct tg3 * tp) tg3_netif_start() argument 7488 tg3_irq_quiesce(struct tg3 * tp) tg3_irq_quiesce() argument 7512 tg3_full_lock(struct tg3 * tp,int irq_sync) tg3_full_lock() argument 7519 tg3_full_unlock(struct tg3 * tp) tg3_full_unlock() argument 7530 struct tg3 *tp = tnapi->tp; tg3_msi_1shot() local 7549 struct tg3 *tp = tnapi->tp; tg3_msi() local 7571 struct tg3 *tp = tnapi->tp; tg3_interrupt() local 7620 struct tg3 *tp = tnapi->tp; tg3_interrupt_tagged() local 7673 struct tg3 *tp = tnapi->tp; tg3_test_isr() local 7688 struct tg3 *tp = netdev_priv(dev); tg3_poll_controller() local 7700 struct tg3 *tp = netdev_priv(dev); tg3_tx_timeout() local 7721 tg3_4g_tso_overflow_test(struct tg3 * tp,dma_addr_t mapping,u32 len,u32 mss) tg3_4g_tso_overflow_test() argument 7733 tg3_40bit_overflow_test(struct tg3 * tp,dma_addr_t mapping,int len) tg3_40bit_overflow_test() argument 7759 struct tg3 *tp = tnapi->tp; tg3_tx_frag_set() local 7860 struct tg3 *tp = tnapi->tp; tigon3_dma_hwbug_workaround() local 7922 tg3_tso_bug(struct tg3 * tp,struct tg3_napi * tnapi,struct netdev_queue * txq,struct sk_buff * skb) tg3_tso_bug() argument 7965 struct tg3 *tp = netdev_priv(dev); __tg3_start_xmit() local 8246 struct tg3 *tp; tg3_start_xmit() local 8260 tg3_mac_loopback(struct tg3 * tp,bool enable) tg3_mac_loopback() argument 8288 tg3_phy_lpbk_set(struct tg3 * tp,u32 speed,bool extlpbk) tg3_phy_lpbk_set() argument 8383 struct tg3 *tp = netdev_priv(dev); tg3_set_loopback() local 8410 struct tg3 *tp = netdev_priv(dev); tg3_fix_features() local 8428 tg3_rx_prodring_free(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_free() argument 8469 tg3_rx_prodring_alloc(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_alloc() argument 8571 tg3_rx_prodring_fini(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_fini() argument 8590 tg3_rx_prodring_init(struct tg3 * tp,struct tg3_rx_prodring_set * tpr) tg3_rx_prodring_init() argument 8633 tg3_free_rings(struct tg3 * tp) tg3_free_rings() argument 8667 tg3_init_rings(struct tg3 * tp) tg3_init_rings() argument 8702 tg3_mem_tx_release(struct tg3 * tp) tg3_mem_tx_release() argument 8720 tg3_mem_tx_acquire(struct tg3 * tp) tg3_mem_tx_acquire() argument 8752 tg3_mem_rx_release(struct tg3 * tp) tg3_mem_rx_release() argument 8772 tg3_mem_rx_acquire(struct tg3 * tp) tg3_mem_rx_acquire() argument 8816 tg3_free_consistent(struct tg3 * tp) tg3_free_consistent() argument 8849 tg3_alloc_consistent(struct tg3 * tp) tg3_alloc_consistent() argument 8916 tg3_stop_block(struct tg3 * tp,unsigned long ofs,u32 enable_bit,bool silent) tg3_stop_block() argument 8968 tg3_abort_hw(struct tg3 * tp,bool silent) tg3_abort_hw() argument 9040 tg3_save_pci_state(struct tg3 * tp) tg3_save_pci_state() argument 9046 tg3_restore_pci_state(struct tg3 * tp) tg3_restore_pci_state() argument 9106 tg3_override_clk(struct tg3 * tp) tg3_override_clk() argument 9127 tg3_restore_clk(struct tg3 * tp) tg3_restore_clk() argument 9150 tg3_chip_reset(struct tg3 * tp) tg3_chip_reset() argument 9432 tg3_halt(struct tg3 * tp,int kind,bool silent) tg3_halt() argument 9469 struct tg3 *tp = netdev_priv(dev); tg3_set_mac_addr() local 9504 tg3_set_bdinfo(struct tg3 * tp,u32 bdinfo_addr,dma_addr_t mapping,u32 maxlen_flags,u32 nic_addr) tg3_set_bdinfo() argument 9525 tg3_coal_tx_init(struct tg3 * tp,struct ethtool_coalesce * ec) tg3_coal_tx_init() argument 9557 tg3_coal_rx_init(struct tg3 * tp,struct ethtool_coalesce * ec) tg3_coal_rx_init() argument 9591 __tg3_set_coalesce(struct tg3 * tp,struct ethtool_coalesce * ec) __tg3_set_coalesce() argument 9610 tg3_tx_rcbs_disable(struct tg3 * tp) tg3_tx_rcbs_disable() argument 9632 tg3_tx_rcbs_init(struct tg3 * tp) tg3_tx_rcbs_init() argument 9653 tg3_rx_ret_rcbs_disable(struct tg3 * tp) tg3_rx_ret_rcbs_disable() argument 9676 tg3_rx_ret_rcbs_init(struct tg3 * tp) tg3_rx_ret_rcbs_init() argument 9697 tg3_rings_reset(struct tg3 * tp) tg3_rings_reset() argument 9767 tg3_setup_rxbd_thresholds(struct tg3 * tp) tg3_setup_rxbd_thresholds() argument 9811 tg3_set_multi(struct tg3 * tp,unsigned int accept_all) tg3_set_multi() argument 9822 struct tg3 *tp = netdev_priv(dev); __tg3_set_rx_mode() local 9888 tg3_rss_init_dflt_indir_tbl(struct tg3 * tp,u32 qcnt) tg3_rss_init_dflt_indir_tbl() argument 9896 tg3_rss_check_indir_tbl(struct tg3 * tp) tg3_rss_check_indir_tbl() argument 9918 tg3_rss_write_indir_tbl(struct tg3 * tp) tg3_rss_write_indir_tbl() argument 9935 tg3_lso_rd_dma_workaround_bit(struct tg3 * tp) tg3_lso_rd_dma_workaround_bit() argument 9944 tg3_reset_hw(struct tg3 * tp,bool reset_phy) tg3_reset_hw() argument 10860 tg3_init_hw(struct tg3 * tp,bool reset_phy) tg3_init_hw() argument 10877 tg3_sd_scan_scratchpad(struct tg3 * tp,struct tg3_ocir * ocir) tg3_sd_scan_scratchpad() argument 10896 struct tg3 *tp = dev_get_drvdata(dev); tg3_show_temp() local 10922 tg3_hwmon_close(struct tg3 * tp) tg3_hwmon_close() argument 10930 tg3_hwmon_open(struct tg3 * tp) tg3_hwmon_open() argument 10958 tg3_hwmon_close(struct tg3 * tp) tg3_hwmon_close() argument 10959 tg3_hwmon_open(struct tg3 * tp) tg3_hwmon_open() argument 10970 tg3_periodic_fetch_stats(struct tg3 * tp) tg3_periodic_fetch_stats() argument 11036 tg3_chk_missed_msi(struct tg3 * tp) tg3_chk_missed_msi() argument 11061 struct tg3 *tp = timer_container_of(tp, t, timer); tg3_timer() local 11203 tg3_timer_init(struct tg3 * tp) tg3_timer_init() argument 11221 tg3_timer_start(struct tg3 * tp) tg3_timer_start() argument 11230 tg3_timer_stop(struct tg3 * tp) tg3_timer_stop() argument 11238 tg3_restart_hw(struct tg3 * tp,bool reset_phy) tg3_restart_hw() argument 11265 struct tg3 *tp = container_of(work, struct tg3, reset_task); tg3_reset_task() local 11319 tg3_request_irq(struct tg3 * tp,int irq_num) tg3_request_irq() argument 11359 tg3_test_interrupt(struct tg3 * tp) tg3_test_interrupt() argument 11436 tg3_test_msi(struct tg3 * tp) tg3_test_msi() argument 11494 tg3_request_firmware(struct tg3 * tp) tg3_request_firmware() argument 11525 tg3_irq_count(struct tg3 * tp) tg3_irq_count() argument 11541 tg3_enable_msix(struct tg3 * tp) tg3_enable_msix() argument 11600 tg3_ints_init(struct tg3 * tp) tg3_ints_init() argument 11639 tg3_ints_fini(struct tg3 * tp) tg3_ints_fini() argument 11651 tg3_start(struct tg3 * tp,bool reset_phy,bool test_irq,bool init) tg3_start() argument 11768 tg3_stop(struct tg3 * tp) tg3_stop() argument 11805 struct tg3 *tp = netdev_priv(dev); tg3_open() local 11862 struct tg3 *tp = netdev_priv(dev); tg3_close() local 11885 tg3_calc_crc_errors(struct tg3 * tp) tg3_calc_crc_errors() argument 11913 tg3_get_estats(struct tg3 * tp,struct tg3_ethtool_stats * estats) tg3_get_estats() argument 11997 tg3_get_nstats(struct tg3 * tp,struct rtnl_link_stats64 * stats) tg3_get_nstats() argument 12080 struct tg3 *tp = netdev_priv(dev); tg3_get_regs() local 12098 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom_len() local 12105 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom() local 12196 struct tg3 *tp = netdev_priv(dev); tg3_set_eeprom() local 12253 struct tg3 *tp = netdev_priv(dev); tg3_get_link_ksettings() local 12328 struct tg3 *tp = netdev_priv(dev); tg3_set_link_ksettings() local 12423 struct tg3 *tp = netdev_priv(dev); tg3_get_drvinfo() local 12432 struct tg3 *tp = netdev_priv(dev); tg3_get_wol() local 12446 struct tg3 *tp = netdev_priv(dev); tg3_set_wol() local 12467 struct tg3 *tp = netdev_priv(dev); tg3_get_msglevel() local 12473 struct tg3 *tp = netdev_priv(dev); tg3_set_msglevel() local 12479 struct tg3 *tp = netdev_priv(dev); tg3_nway_reset() local 12518 struct tg3 *tp = netdev_priv(dev); tg3_get_ringparam() local 12542 struct tg3 *tp = netdev_priv(dev); tg3_set_ringparam() local 12599 struct tg3 *tp = netdev_priv(dev); tg3_get_pauseparam() local 12616 struct tg3 *tp = netdev_priv(dev); tg3_set_pauseparam() local 12723 struct tg3 *tp = netdev_priv(dev); tg3_get_rx_ring_count() local 12737 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh_indir_size() local 12747 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh() local 12763 struct tg3 *tp = netdev_priv(dev); tg3_set_rxfh() local 12796 struct tg3 *tp = netdev_priv(dev); tg3_get_channels() local 12821 struct tg3 *tp = netdev_priv(dev); tg3_set_channels() local 12863 struct tg3 *tp = netdev_priv(dev); tg3_set_phys_id() local 12895 struct tg3 *tp = netdev_priv(dev); tg3_get_ethtool_stats() local 12903 tg3_vpd_readblock(struct tg3 * tp,unsigned int * vpdlen) tg3_vpd_readblock() argument 12974 tg3_test_nvram(struct tg3 * tp) tg3_test_nvram() argument 13138 tg3_test_link(struct tg3 * tp) tg3_test_link() argument 13162 tg3_test_registers(struct tg3 * tp) tg3_test_registers() argument 13382 tg3_do_mem_test(struct tg3 * tp,u32 offset,u32 len) tg3_do_mem_test() argument 13401 tg3_test_memory(struct tg3 * tp) tg3_test_memory() argument 13494 tg3_run_loopback(struct tg3 * tp,u32 pktsz,bool tso_loopback) tg3_run_loopback() argument 13710 tg3_test_loopback(struct tg3 * tp,u64 * data,bool do_extlpbk) tg3_test_loopback() argument 13828 struct tg3 *tp = netdev_priv(dev); tg3_self_test() local 13920 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_set() local 14000 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_get() local 14060 struct tg3 *tp = netdev_priv(dev); tg3_ioctl() local 14121 struct tg3 *tp = netdev_priv(dev); tg3_get_coalesce() local 14132 struct tg3 *tp = netdev_priv(dev); tg3_set_coalesce() local 14178 struct tg3 *tp = netdev_priv(dev); tg3_set_eee() local 14217 struct tg3 *tp = netdev_priv(dev); tg3_get_eee() local 14274 struct tg3 *tp = netdev_priv(dev); tg3_get_stats64() local 14289 struct tg3 *tp = netdev_priv(dev); tg3_set_rx_mode() local 14299 tg3_set_mtu(struct net_device * dev,struct tg3 * tp,int new_mtu) tg3_set_mtu() argument 14322 struct tg3 *tp = netdev_priv(dev); tg3_change_mtu() local 14388 tg3_get_eeprom_size(struct tg3 * tp) tg3_get_eeprom_size() argument 14422 tg3_get_nvram_size(struct tg3 * tp) tg3_get_nvram_size() argument 14455 tg3_get_nvram_info(struct tg3 * tp) tg3_get_nvram_info() argument 14506 tg3_nvram_get_pagesize(struct tg3 * tp,u32 nvmcfg1) tg3_nvram_get_pagesize() argument 14533 tg3_get_5752_nvram_info(struct tg3 * tp) tg3_get_5752_nvram_info() argument 14574 tg3_get_5755_nvram_info(struct tg3 * tp) tg3_get_5755_nvram_info() argument 14630 tg3_get_5787_nvram_info(struct tg3 * tp) tg3_get_5787_nvram_info() argument 14668 tg3_get_5761_nvram_info(struct tg3 * tp) tg3_get_5761_nvram_info() argument 14743 tg3_get_5906_nvram_info(struct tg3 * tp) tg3_get_5906_nvram_info() argument 14750 tg3_get_57780_nvram_info(struct tg3 * tp) tg3_get_57780_nvram_info() argument 14823 tg3_get_5717_nvram_info(struct tg3 * tp) tg3_get_5717_nvram_info() argument 14901 tg3_get_5720_nvram_info(struct tg3 * tp) tg3_get_5720_nvram_info() argument 15066 tg3_nvram_init(struct tg3 * tp) tg3_nvram_init() argument 15209 tg3_lookup_by_subsys(struct tg3 * tp) tg3_lookup_by_subsys() argument 15223 tg3_get_eeprom_hw_cfg(struct tg3 * tp) tg3_get_eeprom_hw_cfg() argument 15440 tg3_ape_otp_read(struct tg3 * tp,u32 offset,u32 * val) tg3_ape_otp_read() argument 15473 tg3_issue_otp_command(struct tg3 * tp,u32 cmd) tg3_issue_otp_command() argument 15496 tg3_read_otp_phycfg(struct tg3 * tp) tg3_read_otp_phycfg() argument 15522 tg3_phy_init_link_config(struct tg3 * tp) tg3_phy_init_link_config() argument 15551 tg3_phy_probe(struct tg3 * tp) tg3_phy_probe() argument 15709 tg3_read_vpd(struct tg3 * tp) tg3_read_vpd() argument 15805 tg3_fw_img_is_valid(struct tg3 * tp,u32 offset) tg3_fw_img_is_valid() argument 15818 tg3_read_bc_ver(struct tg3 * tp) tg3_read_bc_ver() argument 15870 tg3_read_hwsb_ver(struct tg3 * tp) tg3_read_hwsb_ver() argument 15886 tg3_read_sb_ver(struct tg3 * tp,u32 val) tg3_read_sb_ver() argument 15941 tg3_read_mgmtfw_ver(struct tg3 * tp) tg3_read_mgmtfw_ver() argument 15993 tg3_probe_ncsi(struct tg3 * tp) tg3_probe_ncsi() argument 16009 tg3_read_dash_ver(struct tg3 * tp) tg3_read_dash_ver() argument 16034 tg3_read_otp_ver(struct tg3 * tp) tg3_read_otp_ver() argument 16059 tg3_read_fw_ver(struct tg3 * tp) tg3_read_fw_ver() argument 16096 tg3_rx_ret_ring_size(struct tg3 * tp) tg3_rx_ret_ring_size() argument 16113 tg3_find_peer(struct tg3 * tp) tg3_find_peer() argument 16141 tg3_detect_asic_rev(struct tg3 * tp,u32 misc_ctrl_reg) tg3_detect_asic_rev() argument 16229 tg3_10_100_only_device(struct tg3 * tp,const struct pci_device_id * ent) tg3_10_100_only_device() argument 16251 tg3_get_invariants(struct tg3 * tp,const struct pci_device_id * ent) tg3_get_invariants() argument 17039 tg3_get_device_address(struct tg3 * tp,u8 * addr) tg3_get_device_address() argument 17122 tg3_calc_dma_bndry(struct tg3 * tp,u32 val) tg3_calc_dma_bndry() argument 17263 tg3_do_test_dma(struct tg3 * tp,u32 * buf,dma_addr_t buf_dma,int size,bool to_device) tg3_do_test_dma() argument 17351 tg3_test_dma(struct tg3 * tp) tg3_test_dma() argument 17525 tg3_init_bufmgr_config(struct tg3 * tp) tg3_init_bufmgr_config() argument 17581 tg3_phy_string(struct tg3 * tp) tg3_phy_string() argument 17613 tg3_bus_string(struct tg3 * tp,char * str) tg3_bus_string() argument 17649 tg3_init_coal(struct tg3 * tp) tg3_init_coal() argument 17684 struct tg3 *tp; tg3_init_one() local 18085 struct tg3 *tp = netdev_priv(dev); tg3_remove_one() local 18117 struct tg3 *tp = netdev_priv(dev); tg3_suspend() local 18151 struct tg3 *tp = netdev_priv(dev); tg3_resume() local 18238 struct tg3 *tp = netdev_priv(dev); tg3_shutdown() local 18282 struct tg3 *tp = netdev_priv(netdev); tg3_io_error_detected() local 18343 struct tg3 *tp = netdev_priv(netdev); tg3_io_slot_reset() local 18391 struct tg3 *tp = netdev_priv(netdev); tg3_io_resume() local [all...] |
| /linux/drivers/sbus/char/ |
| H A D | bbc_envctrl.c | 120 static void get_current_temps(struct bbc_cpu_temperature *tp) in get_current_temps() argument 122 tp->prev_amb_temp = tp->curr_amb_temp; in get_current_temps() 123 bbc_i2c_readb(tp->client, in get_current_temps() 124 (unsigned char *) &tp->curr_amb_temp, in get_current_temps() 126 tp->prev_cpu_temp = tp->curr_cpu_temp; in get_current_temps() 127 bbc_i2c_readb(tp->client, in get_current_temps() 128 (unsigned char *) &tp->curr_cpu_temp, in get_current_temps() 132 tp->index, in get_current_temps() 133 (int) tp->curr_cpu_temp, (int) tp->curr_amb_temp); in get_current_temps() 138 static void do_envctrl_shutdown(struct bbc_cpu_temperature *tp) in do_envctrl_shutdown() argument [all …]
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | pnic2.c | 81 struct tulip_private *tp = timer_container_of(tp, t, timer); in pnic2_timer() local 82 struct net_device *dev = tp->dev; in pnic2_timer() 83 void __iomem *ioaddr = tp->base_addr; in pnic2_timer() 91 mod_timer(&tp->timer, RUN_AT(next_tick)); in pnic2_timer() 98 struct tulip_private *tp = netdev_priv(dev); in pnic2_start_nway() local 99 void __iomem *ioaddr = tp->base_addr; in pnic2_start_nway() 111 if (tp->sym_advertise & 0x0100) csr14 |= 0x00020000; in pnic2_start_nway() 114 if (tp->sym_advertise & 0x0080) csr14 |= 0x00010000; in pnic2_start_nway() 117 if (tp->sym_advertise & 0x0020) csr14 |= 0x00000040; in pnic2_start_nway() 130 tp->nway = tp->mediasense = 1; in pnic2_start_nway() [all …]
|
| H A D | interrupt.c | 61 struct tulip_private *tp = netdev_priv(dev); in tulip_refill_rx() local 66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { in tulip_refill_rx() 67 entry = tp->dirty_rx % RX_RING_SIZE; in tulip_refill_rx() 68 if (tp->rx_buffers[entry].skb == NULL) { in tulip_refill_rx() 72 skb = tp->rx_buffers[entry].skb = in tulip_refill_rx() 77 mapping = dma_map_single(&tp->pdev->dev, skb->data, in tulip_refill_rx() 79 if (dma_mapping_error(&tp->pdev->dev, mapping)) { in tulip_refill_rx() 81 tp in tulip_refill_rx() 107 struct tulip_private *tp = timer_container_of(tp, t, oom_timer); oom_timer() local 114 struct tulip_private *tp = container_of(napi, struct tulip_private, napi); tulip_poll() local 371 struct tulip_private *tp = netdev_priv(dev); tulip_rx() local 499 struct tulip_private *tp = netdev_priv(dev); phy_interrupt() local 525 struct tulip_private *tp = netdev_priv(dev); tulip_interrupt() local [all...] |
| H A D | 21142.c | 30 struct tulip_private *tp = in t21142_media_task() local 32 struct net_device *dev = tp->dev; in t21142_media_task() 33 void __iomem *ioaddr = tp->base_addr; in t21142_media_task() 53 } else if (tp->nwayset) { in t21142_media_task() 59 } else if (tp->medialock) { in t21142_media_task() 95 if (new_csr6 != (tp->csr6 & ~0x00D5)) { in t21142_media_task() 96 tp->csr6 &= 0x00D5; in t21142_media_task() 97 tp->csr6 |= new_csr6; in t21142_media_task() 99 tulip_restart_rxtx(tp); in t21142_media_task() 107 mod_timer(&tp->timer, RUN_AT(next_tick)); in t21142_media_task() [all …]
|
| H A D | timer.c | 19 struct tulip_private *tp = in tulip_media_task() local 21 struct net_device *dev = tp->dev; in tulip_media_task() 22 void __iomem *ioaddr = tp->base_addr; in tulip_media_task() 34 switch (tp->chip_id) { in tulip_media_task() 43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ in tulip_media_task() 53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task() 87 if (tp->medialock) in tulip_media_task() 90 if (--tp->cur_index < 0) { 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() [all …]
|
| H A D | pnic.c | 21 struct tulip_private *tp = netdev_priv(dev); in pnic_do_nway() local 22 void __iomem *ioaddr = tp->base_addr; in pnic_do_nway() 31 tp->nwayset = 1; in pnic_do_nway() 37 tp->full_duplex = 1; in pnic_do_nway() 43 if (tp->csr6 != new_csr6) { in pnic_do_nway() 44 tp->csr6 = new_csr6; in pnic_do_nway() 46 tulip_restart_rxtx(tp); in pnic_do_nway() 54 struct tulip_private *tp = netdev_priv(dev); in pnic_lnk_change() local 55 void __iomem *ioaddr = tp->base_addr; in pnic_lnk_change() 68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { in pnic_lnk_change() [all …]
|
| H A D | media.c | 49 struct tulip_private *tp = netdev_priv(dev); in tulip_mdio_read() local 53 void __iomem *ioaddr = tp->base_addr; in tulip_mdio_read() 60 if (tp->chip_id == COMET && phy_id == 30) { in tulip_mdio_read() 66 spin_lock_irqsave(&tp->mii_lock, flags); in tulip_mdio_read() 67 if (tp->chip_id == LC82C168) { in tulip_mdio_read() 76 spin_unlock_irqrestore(&tp->mii_lock, flags); in tulip_mdio_read() 105 spin_unlock_irqrestore(&tp->mii_lock, flags); in tulip_mdio_read() 111 struct tulip_private *tp = netdev_priv(dev); in tulip_mdio_write() local 114 void __iomem *ioaddr = tp->base_addr; in tulip_mdio_write() 121 if (tp in tulip_mdio_write() 169 struct tulip_private *tp = netdev_priv(dev); tulip_select_media() local 399 struct tulip_private *tp = netdev_priv(dev); tulip_check_duplex() local 446 struct tulip_private *tp = netdev_priv(dev); tulip_find_mii() local [all...] |
| H A D | eeprom.c | 93 * @tp: Ptr to the tulip private data. 104 static void tulip_build_fake_mediatable(struct tulip_private *tp) in tulip_build_fake_mediatable() argument 107 if (tp->flags & NEEDS_FAKE_MEDIA_TABLE) { in tulip_build_fake_mediatable() 120 tp->mtable = devm_kmalloc(&tp->pdev->dev, sizeof(struct mediatable) + in tulip_build_fake_mediatable() 123 if (tp->mtable == NULL) in tulip_build_fake_mediatable() 126 tp->mtable->defaultmedia = 0x800; in tulip_build_fake_mediatable() 127 tp->mtable->leafcount = 1; in tulip_build_fake_mediatable() 128 tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */ in tulip_build_fake_mediatable() 129 tp in tulip_build_fake_mediatable() 154 struct tulip_private *tp = netdev_priv(dev); tulip_parse_eeprom() local 344 struct tulip_private *tp = netdev_priv(dev); tulip_read_eeprom() local [all...] |
| /linux/drivers/net/ethernet/realtek/rtase/ |
| H A D | rtase_main.c | 105 static void rtase_w8(const struct rtase_private *tp, u16 reg, u8 val8) in rtase_w8() argument 107 writeb(val8, tp->mmio_addr + reg); in rtase_w8() 110 static void rtase_w16(const struct rtase_private *tp, u16 reg, u16 val16) in rtase_w16() argument 112 writew(val16, tp->mmio_addr + reg); in rtase_w16() 115 static void rtase_w32(const struct rtase_private *tp, u16 reg, u32 val32) in rtase_w32() argument 117 writel(val32, tp->mmio_addr + reg); in rtase_w32() 120 static u8 rtase_r8(const struct rtase_private *tp, u16 reg) in rtase_r8() argument 122 return readb(tp->mmio_addr + reg); in rtase_r8() 125 static u16 rtase_r16(const struct rtase_private *tp, u16 reg) in rtase_r16() argument 127 return readw(tp->mmio_addr + reg); in rtase_r16() [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 125 void clean_acked_data_enable(struct tcp_sock *tp, in clean_acked_data_enable() 128 tp->tcp_clean_acked = cad; in clean_acked_data_enable() 133 void clean_acked_data_disable(struct tcp_sock *tp) in clean_acked_data_disable() 136 tp->tcp_clean_acked = NULL; in clean_acked_data_disable() 151 const struct tcp_sock *tp; in bpf_skops_parse_hdr() 156 tp = tcp_sk(sk); in bpf_skops_parse_hdr() 157 if (!(tp->rx_opt.saw_unknown && in bpf_skops_parse_hdr() 158 BPF_SOCK_OPS_TEST_FLAG(tp, BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG)) && in bpf_skops_parse_hdr() 159 !BPF_SOCK_OPS_TEST_FLAG(tp, BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG)) in bpf_skops_parse_hdr() 219 const struct tcp_sock *tp; in tcp_gro_dev_warn() 124 clean_acked_data_enable(struct tcp_sock * tp,void (* cad)(struct sock * sk,u32 ack_seq)) clean_acked_data_enable() argument 132 clean_acked_data_disable(struct tcp_sock * tp) clean_acked_data_disable() argument 252 struct tcp_sock *tp = tcp_sk(sk); tcp_measure_rcv_mss() local 346 struct tcp_sock *tp = tcp_sk(sk); tcp_data_ecn_check() local 389 tcp_accecn_process_option(struct tcp_sock * tp,const struct sk_buff * skb,u32 delivered_bytes,int flag) tcp_accecn_process_option() argument 477 tcp_count_delivered_ce(struct tcp_sock * tp,u32 ecn_count) tcp_count_delivered_ce() argument 483 tcp_count_delivered(struct tcp_sock * tp,u32 delivered,bool ece_ack) tcp_count_delivered() argument 502 struct tcp_sock *tp = tcp_sk(sk); __tcp_accecn_process() local 585 struct tcp_sock *tp = tcp_sk(sk); tcp_accecn_process() local 607 const struct tcp_sock *tp = tcp_sk(sk); tcp_sndbuf_expand() local 666 const struct tcp_sock *tp = tcp_sk(sk); __tcp_grow_window() local 703 struct tcp_sock *tp = tcp_sk(sk); tcp_grow_window() local 743 struct tcp_sock *tp = tcp_sk(sk); tcp_init_buffer_space() local 780 struct tcp_sock *tp = tcp_sk(sk); tcp_clamp_window() local 808 const struct tcp_sock *tp = tcp_sk(sk); tcp_initialize_rcv_mss() local 829 tcp_rcv_rtt_update(struct tcp_sock * tp,u32 sample,int win_dep) tcp_rcv_rtt_update() argument 858 tcp_rcv_rtt_measure(struct tcp_sock * tp) tcp_rcv_rtt_measure() argument 876 tcp_rtt_tsopt_us(const struct tcp_sock * tp,u32 min_delta) tcp_rtt_tsopt_us() argument 896 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_rtt_measure_ts() local 914 struct tcp_sock *tp = tcp_sk(sk); tcp_rcvbuf_grow() local 962 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_space_adjust() local 1017 struct tcp_sock *tp = tcp_sk(sk); tcp_event_data_recv() local 1072 struct tcp_sock *tp = tcp_sk(sk); tcp_rtt_estimator() local 1140 const struct tcp_sock *tp = tcp_sk(sk); tcp_update_pacing_rate() local 1177 const struct tcp_sock *tp = tcp_sk(sk); tcp_set_rto() local 1202 tcp_init_cwnd(const struct tcp_sock * tp,const struct dst_entry * dst) tcp_init_cwnd() argument 1232 tcp_dsack_seen(struct tcp_sock * tp,u32 start_seq,u32 end_seq,struct tcp_sacktag_state * state) tcp_dsack_seen() argument 1278 struct tcp_sock *tp = tcp_sk(sk); tcp_check_sack_reordering() local 1312 tcp_verify_retransmit_hint(struct tcp_sock * tp,struct sk_buff * skb) tcp_verify_retransmit_hint() argument 1324 tcp_notify_skb_loss_event(struct tcp_sock * tp,const struct sk_buff * skb) tcp_notify_skb_loss_event() argument 1332 struct tcp_sock *tp = tcp_sk(sk); tcp_mark_skb_lost() local 1447 tcp_is_sackblock_valid(struct tcp_sock * tp,bool is_dsack,u32 start_seq,u32 end_seq) tcp_is_sackblock_valid() argument 1488 struct tcp_sock *tp = tcp_sk(sk); tcp_check_dsack() local 1583 tcp_rack_advance(struct tcp_sock * tp,u8 sacked,u32 end_seq,u64 xmit_time) tcp_rack_advance() argument 1618 struct tcp_sock *tp = tcp_sk(sk); tcp_sacktag_one() local 1727 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_gen() local 1812 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_skb_delivered() local 1853 struct tcp_sock *tp = tcp_sk(sk); tcp_shifted_skb() local 1959 struct tcp_sock *tp = tcp_sk(sk); tcp_shift_skb_data() local 2098 struct tcp_sock *tp = tcp_sk(sk); tcp_sacktag_walk() local 2214 tcp_sack_cache_ok(const struct tcp_sock * tp,const struct tcp_sack_block * cache) tcp_sack_cache_ok() argument 2223 struct tcp_sock *tp = tcp_sk(sk); tcp_sacktag_write_queue() local 2418 tcp_limit_reno_sacked(struct tcp_sock * tp) tcp_limit_reno_sacked() argument 2438 struct tcp_sock *tp = tcp_sk(sk); tcp_check_reno_reordering() local 2455 struct tcp_sock *tp = tcp_sk(sk); tcp_add_reno_sack() local 2472 struct tcp_sock *tp = tcp_sk(sk); tcp_remove_reno_sacks() local 2487 tcp_reset_reno_sack(struct tcp_sock * tp) tcp_reset_reno_sack() argument 2492 tcp_clear_retrans(struct tcp_sock * tp) tcp_clear_retrans() argument 2505 tcp_init_undo(struct tcp_sock * tp) tcp_init_undo() argument 2526 struct tcp_sock *tp = tcp_sk(sk); tcp_timeout_mark_lost() local 2557 struct tcp_sock *tp = tcp_sk(sk); tcp_enter_loss() local 2615 struct tcp_sock *tp = tcp_sk(sk); tcp_check_sack_reneging() local 2717 tcp_time_to_recover(const struct tcp_sock * tp) tcp_time_to_recover() argument 2723 tcp_tsopt_ecr_before(const struct tcp_sock * tp,u32 when) tcp_tsopt_ecr_before() argument 2732 tcp_skb_spurious_retrans(const struct tcp_sock * tp,const struct sk_buff * skb) tcp_skb_spurious_retrans() argument 2742 tcp_packet_delayed(const struct tcp_sock * tp) tcp_packet_delayed() argument 2793 const struct tcp_sock *tp = tcp_sk(sk); tcp_any_retrans_done() local 2819 struct tcp_sock *tp = tcp_sk(sk); DBGUNDO() local 2845 struct tcp_sock *tp = tcp_sk(sk); tcp_undo_cwnd_reduction() local 2872 tcp_may_undo(const struct tcp_sock * tp) tcp_may_undo() argument 2879 struct tcp_sock *tp = tcp_sk(sk); tcp_is_non_sack_preventing_reopen() local 2895 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_recovery() local 2924 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_dsack() local 2940 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_loss() local 2973 struct tcp_sock *tp = tcp_sk(sk); tcp_init_cwnd_reduction() local 2987 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_reduction() local 3015 struct tcp_sock *tp = tcp_sk(sk); tcp_end_cwnd_reduction() local 3032 struct tcp_sock *tp = tcp_sk(sk); tcp_enter_cwr() local 3045 struct tcp_sock *tp = tcp_sk(sk); tcp_try_keep_open() local 3059 struct tcp_sock *tp = tcp_sk(sk); tcp_try_to_open() local 3085 struct tcp_sock *tp = tcp_sk(sk); tcp_mtup_probe_success() local 3119 struct tcp_sock *tp = tcp_sk(sk); tcp_non_congestion_loss_retransmit() local 3137 struct tcp_sock *tp = tcp_sk(sk); tcp_simple_retransmit() local 3179 struct tcp_sock *tp = tcp_sk(sk); tcp_enter_recovery() local 3203 tcp_update_rto_time(struct tcp_sock * tp) tcp_update_rto_time() argument 3217 struct tcp_sock *tp = tcp_sk(sk); tcp_process_loss() local 3270 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_partial() local 3299 struct tcp_sock *tp = tcp_sk(sk); tcp_identify_packet_loss() local 3332 struct tcp_sock *tp = tcp_sk(sk); tcp_fastretrans_alert() local 3446 struct tcp_sock *tp = tcp_sk(sk); tcp_update_rtt_min() local 3463 const struct tcp_sock *tp = tcp_sk(sk); tcp_ack_update_rtt() local 3527 struct tcp_sock *tp = tcp_sk(sk); tcp_rearm_rto() local 3562 struct tcp_sock *tp = tcp_sk(sk); tcp_tso_acked() local 3608 struct tcp_sock *tp = tcp_sk(sk); tcp_clean_rtx_queue() local 3811 const struct tcp_sock *tp = tcp_sk(sk); tcp_ack_probe() local 3881 tcp_may_update_window(const struct tcp_sock * tp,const u32 ack,const u32 ack_seq,const u32 nwin) tcp_may_update_window() argument 3890 tcp_snd_sne_update(struct tcp_sock * tp,u32 ack) tcp_snd_sne_update() argument 3908 tcp_snd_una_update(struct tcp_sock * tp,u32 ack) tcp_snd_una_update() argument 3918 tcp_rcv_sne_update(struct tcp_sock * tp,u32 seq) tcp_rcv_sne_update() argument 3936 tcp_rcv_nxt_update(struct tcp_sock * tp,u32 seq) tcp_rcv_nxt_update() argument 3954 struct tcp_sock *tp = tcp_sk(sk); tcp_ack_update_window() local 4033 struct tcp_sock *tp = tcp_sk(sk); tcp_send_ack_reflect_ect() local 4071 struct tcp_sock *tp = tcp_sk(sk); tcp_send_challenge_ack() local 4106 tcp_store_ts_recent(struct tcp_sock * tp) tcp_store_ts_recent() argument 4112 __tcp_replace_ts_recent(struct tcp_sock * tp,s32 tstamp_delta) __tcp_replace_ts_recent() argument 4118 tcp_replace_ts_recent(struct tcp_sock * tp,u32 seq) tcp_replace_ts_recent() argument 4144 struct tcp_sock *tp = tcp_sk(sk); tcp_process_tlp_ack() local 4197 struct tcp_sock *tp = tcp_sk(sk); tcp_xmit_recovery() local 4217 struct tcp_sock *tp = tcp_sk(sk); tcp_newly_delivered() local 4252 struct tcp_sock *tp = tcp_sk(sk); tcp_rack_update_reo_wnd() local 4279 struct tcp_sock *tp = tcp_sk(sk); tcp_ack() local 4709 tcp_parse_aligned_timestamp(struct tcp_sock * tp,const struct tcphdr * th) tcp_parse_aligned_timestamp() argument 4733 tcp_fast_parse_options(const struct net * net,const struct sk_buff * skb,const struct tcphdr * th,struct tcp_sock * tp) tcp_fast_parse_options() argument 4800 const struct tcp_sock *tp = tcp_sk(sk); tcp_disordered_ack_check() local 4850 const struct tcp_sock *tp = tcp_sk(sk); tcp_sequence() local 4934 struct tcp_sock *tp = tcp_sk(sk); tcp_fin() local 5015 struct tcp_sock *tp = tcp_sk(sk); tcp_dsack_set() local 5035 struct tcp_sock *tp = tcp_sk(sk); tcp_dsack_extend() local 5046 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_spurious_retrans() local 5080 struct tcp_sock *tp = tcp_sk(sk); tcp_send_dupack() local 5103 tcp_sack_maybe_coalesce(struct tcp_sock * tp) tcp_sack_maybe_coalesce() argument 5131 struct tcp_sock *tp = tcp_sk(sk); tcp_sack_compress_send_ack() local 5158 struct tcp_sock *tp = tcp_sk(sk); tcp_sack_new_ofo_skb() local 5205 tcp_sack_remove(struct tcp_sock * tp) tcp_sack_remove() argument 5314 struct tcp_sock *tp = tcp_sk(sk); tcp_ofo_queue() local 5389 struct tcp_sock *tp = tcp_sk(sk); tcp_data_queue_ofo() local 5615 struct tcp_sock *tp = tcp_sk(sk); tcp_data_queue() local 5887 struct tcp_sock *tp = tcp_sk(sk); tcp_collapse_ofo_queue() local 5947 struct tcp_sock *tp = tcp_sk(sk); tcp_prune_ofo_queue() local 6001 struct tcp_sock *tp = tcp_sk(sk); tcp_prune_queue() local 6048 const struct tcp_sock *tp = tcp_sk(sk); tcp_should_expand_sndbuf() local 6083 struct tcp_sock *tp = tcp_sk(sk); tcp_new_space() local 6123 struct tcp_sock *tp = tcp_sk(sk); __tcp_ack_snd_check() local 6219 struct tcp_sock *tp = tcp_sk(sk); tcp_check_urg() local 6285 struct tcp_sock *tp = tcp_sk(sk); tcp_urg() local 6318 const struct tcp_sock *tp = tcp_sk(sk); tcp_reset_check() local 6331 struct tcp_sock *tp = tcp_sk(sk); tcp_validate_incoming() local 6511 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_established() local 6715 struct tcp_sock *tp = tcp_sk(sk); tcp_init_transfer() local 6742 struct tcp_sock *tp = tcp_sk(sk); tcp_finish_connect() local 6774 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_fastopen_synack() local 6834 smc_check_reset_syn(struct tcp_sock * tp) smc_check_reset_syn() argument 6846 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_spurious_syn() local 6863 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_synsent_state_process() local 7112 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_synrecv_state_fastopen() local 7161 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_state_process() local 7605 struct tcp_sock *tp = tcp_sk(sk); tcp_get_syncookie_mss() local 7634 const struct tcp_sock *tp = tcp_sk(sk); tcp_conn_request() local [all...] |
| H A D | tcp_output.c | 55 void noinline tcp_mstamp_refresh(struct tcp_sock *tp) in tcp_mstamp_refresh() argument 57 tcp_mstamp_refresh_inline(tp); in tcp_mstamp_refresh() 86 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_new_data_sent() local 87 unsigned int prior_packets = tp->packets_out; in tcp_event_new_data_sent() 89 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_event_new_data_sent() 94 if (tp->highest_sack == NULL) in tcp_event_new_data_sent() 95 tp->highest_sack = skb; in tcp_event_new_data_sent() 97 tp->packets_out += tcp_skb_pcount(skb); in tcp_event_new_data_sent() 115 const struct tcp_sock *tp = tcp_sk(sk); in tcp_acceptable_seq() local 117 if (!before(tcp_wnd_end(tp), t in tcp_acceptable_seq() 141 struct tcp_sock *tp = tcp_sk(sk); tcp_advertise_mss() local 162 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_restart() local 179 tcp_event_data_sent(struct tcp_sock * tp,struct sock * sk) tcp_event_data_sent() argument 200 struct tcp_sock *tp = tcp_sk(sk); tcp_event_ack_sent() local 277 struct tcp_sock *tp = tcp_sk(sk); tcp_select_window() local 345 struct tcp_sock *tp = tcp_sk(sk); tcp_ecn_send() local 396 tcp_urg_mode(const struct tcp_sock * tp) tcp_urg_mode() argument 446 mptcp_options_write(struct tcphdr * th,__be32 * ptr,struct tcp_sock * tp,struct tcp_out_options * opts) mptcp_options_write() argument 597 process_tcp_ao_options(struct tcp_sock * tp,const struct tcp_request_sock * tcprsk,struct tcp_out_options * opts,struct tcp_key * key,__be32 * ptr) process_tcp_ao_options() argument 653 tcp_options_write(struct tcphdr * th,struct tcp_sock * tp,const struct tcp_request_sock * tcprsk,struct tcp_out_options * opts,struct tcp_key * key) tcp_options_write() argument 831 smc_set_option(struct tcp_sock * tp,struct tcp_out_options * opts,unsigned int * remaining) smc_set_option() argument 848 smc_set_option_cond(const struct tcp_sock * tp,struct inet_request_sock * ireq,struct tcp_out_options * opts,unsigned int * remaining) smc_set_option_cond() argument 963 struct tcp_sock *tp = tcp_sk(sk); tcp_syn_options() local 1155 struct tcp_sock *tp = tcp_sk(sk); tcp_established_options() local 1276 struct tcp_sock *tp = tcp_sk(sk); tcp_tsq_write() local 1310 struct tcp_sock *tp; tcp_tsq_workfn() local 1390 struct tcp_sock *tp = tcp_sk(sk); tcp_wfree() local 1437 struct tcp_sock *tp = container_of(timer, struct tcp_sock, pacing_timer); tcp_pace_kick() local 1449 struct tcp_sock *tp = tcp_sk(sk); tcp_update_skb_after_send() local 1475 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_skb_sent() local 1541 struct tcp_sock *tp; __tcp_transmit_skb() local 1745 struct tcp_sock *tp = tcp_sk(sk); tcp_queue_skb() local 1780 struct tcp_sock *tp = tcp_sk(sk); tcp_adjust_pcount() local 1848 struct tcp_sock *tp = tcp_sk(sk); tcp_fragment() local 1998 const struct tcp_sock *tp = tcp_sk(sk); __tcp_mtu_to_mss() local 2031 const struct tcp_sock *tp = tcp_sk(sk); tcp_mss_to_mtu() local 2044 struct tcp_sock *tp = tcp_sk(sk); tcp_mtup_init() local 2081 struct tcp_sock *tp = tcp_sk(sk); tcp_sync_mss() local 2105 const struct tcp_sock *tp = tcp_sk(sk); tcp_current_mss() local 2140 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_application_limited() local 2159 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_validate() local 2206 tcp_minshall_check(const struct tcp_sock * tp) tcp_minshall_check() argument 2220 tcp_minshall_update(struct tcp_sock * tp,unsigned int mss_now,const struct sk_buff * skb) tcp_minshall_update() argument 2234 tcp_nagle_check(bool partial,const struct tcp_sock * tp,int nonagle) tcp_nagle_check() argument 2296 const struct tcp_sock *tp = tcp_sk(sk); tcp_mss_split_point() local 2324 tcp_cwnd_test(const struct tcp_sock * tp) tcp_cwnd_test() argument 2358 tcp_nagle_test(const struct tcp_sock * tp,const struct sk_buff * skb,unsigned int cur_mss,int nonagle) tcp_nagle_test() argument 2381 tcp_snd_wnd_test(const struct tcp_sock * tp,const struct sk_buff * skb,unsigned int cur_mss) tcp_snd_wnd_test() argument 2460 struct tcp_sock *tp = tcp_sk(sk); tcp_tso_should_defer() local 2568 struct tcp_sock *tp = tcp_sk(sk); tcp_mtu_check_reprobe() local 2687 struct tcp_sock *tp = tcp_sk(sk); tcp_mtu_probe() local 2817 struct tcp_sock *tp = tcp_sk(sk); tcp_pacing_check() local 2905 struct tcp_sock *tp = tcp_sk(sk); tcp_chrono_stop() local 2967 struct tcp_sock *tp = tcp_sk(sk); tcp_write_xmit() local 3102 struct tcp_sock *tp = tcp_sk(sk); tcp_schedule_loss_probe() local 3172 struct tcp_sock *tp = tcp_sk(sk); tcp_send_loss_probe() local 3317 struct tcp_sock *tp = tcp_sk(sk); __tcp_select_window() local 3453 struct tcp_sock *tp = tcp_sk(sk); tcp_collapse_retrans() local 3512 struct tcp_sock *tp = tcp_sk(sk); tcp_retrans_try_collapse() local 3553 struct tcp_sock *tp = tcp_sk(sk); __tcp_retransmit_skb() local 3697 struct tcp_sock *tp = tcp_sk(sk); tcp_retransmit_skb() local 3729 struct tcp_sock *tp = tcp_sk(sk); tcp_xmit_retransmit_queue() local 3804 struct tcp_sock *tp = tcp_sk(sk); tcp_send_fin() local 3889 struct tcp_sock *tp = tcp_sk(sk); tcp_send_synack() local 3941 const struct tcp_sock *tp = tcp_sk(sk); tcp_make_synack() local 4107 struct tcp_sock *tp = tcp_sk(sk); tcp_connect_init() local 4186 struct tcp_sock *tp = tcp_sk(sk); tcp_connect_queue_skb() local 4207 struct tcp_sock *tp = tcp_sk(sk); tcp_send_syn_data() local 4303 struct tcp_sock *tp = tcp_sk(sk); tcp_connect() local 4427 const struct tcp_sock *tp = tcp_sk(sk); tcp_send_delayed_ack() local 4534 struct tcp_sock *tp = tcp_sk(sk); tcp_xmit_probe_skb() local 4567 struct tcp_sock *tp = tcp_sk(sk); tcp_write_wakeup() local 4614 struct tcp_sock *tp = tcp_sk(sk); tcp_send_probe0() local [all...] |
| H A D | tcp_highspeed.c | 102 struct tcp_sock *tp = tcp_sk(sk); in hstcp_init() local 109 tp->snd_cwnd_clamp = min_t(u32, tp->snd_cwnd_clamp, 0xffffffff/128); in hstcp_init() 114 struct tcp_sock *tp = tcp_sk(sk); in hstcp_cong_avoid() local 120 if (tcp_in_slow_start(tp)) in hstcp_cong_avoid() 121 tcp_slow_start(tp, acked); in hstcp_cong_avoid() 130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid() 131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid() 134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid() 135 while (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid() 140 if (tcp_snd_cwnd(tp) < tp->snd_cwnd_clamp) { in hstcp_cong_avoid() [all …]
|
| H A D | tcp_hybla.c | 60 struct tcp_sock *tp = tcp_sk(sk); in hybla_init() 69 tcp_snd_cwnd_set(tp, 2); in hybla_state() 70 tp->snd_cwnd_clamp = 65535; in hybla_state() 76 ca->minrtt_us = tp->srtt_us; in hybla_fraction() 77 tcp_snd_cwnd_set(tp, ca->rho); in hybla_fraction() 104 struct tcp_sock *tp = tcp_sk(sk); in hybla_cong_avoid() 110 if (tp->srtt_us < ca->minrtt_us) { in hybla_cong_avoid() 112 ca->minrtt_us = tp->srtt_us; in hybla_cong_avoid() 128 if (tcp_in_slow_start(tp)) { in hybla_cong_avoid() 152 increment = ca->rho2_7ls / tcp_snd_cwnd(tp); in hybla_cong_avoid() 48 struct tcp_sock *tp = tcp_sk(sk); hybla_init() local 92 struct tcp_sock *tp = tcp_sk(sk); hybla_cong_avoid() local [all...] |
| H A D | tcp.c | 389 static u64 tcp_compute_delivery_rate(const struct tcp_sock *tp) in tcp_compute_delivery_rate() 391 u32 rate = READ_ONCE(tp->rate_delivered); in tcp_compute_delivery_rate() 392 u32 intv = READ_ONCE(tp->rate_interval_us); in tcp_compute_delivery_rate() 396 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate() 405 struct tcp_sock *tp = tcp_sk(sk); in tcp_md5_destruct_sock() 407 if (tp->md5sig_info) { in tcp_md5_destruct_sock() 410 kfree(rcu_replace_pointer(tp->md5sig_info, NULL, 1)); in tcp_md5_destruct_sock() 424 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_sock() 427 tp->out_of_order_queue = RB_ROOT; in tcp_init_sock() 430 INIT_LIST_HEAD(&tp in tcp_init_sock() 388 tcp_compute_delivery_rate(const struct tcp_sock * tp) tcp_compute_delivery_rate() argument 404 struct tcp_sock *tp = tcp_sk(sk); tcp_md5_destruct_sock() local 423 struct tcp_sock *tp = tcp_sk(sk); tcp_init_sock() local 511 const struct tcp_sock *tp = tcp_sk(sk); tcp_stream_memory_free() local 536 const struct tcp_sock *tp = tcp_sk(sk); tcp_poll() local 641 struct tcp_sock *tp = tcp_sk(sk); tcp_ioctl() local 685 tcp_mark_push(struct tcp_sock * tp,struct sk_buff * skb) tcp_mark_push() argument 691 forced_push(const struct tcp_sock * tp) forced_push() argument 698 struct tcp_sock *tp = tcp_sk(sk); tcp_skb_entail() local 714 tcp_mark_urg(struct tcp_sock * tp,int flags) tcp_mark_urg() argument 743 struct tcp_sock *tp = tcp_sk(sk); tcp_push() local 960 struct tcp_sock *tp = tcp_sk(sk); tcp_xmit_size_goal() local 1043 tcp_free_fastopen_req(struct tcp_sock * tp) tcp_free_fastopen_req() argument 1054 struct tcp_sock *tp = tcp_sk(sk); tcp_sendmsg_fastopen() local 1101 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_check_app_limited() local 1119 struct tcp_sock *tp = tcp_sk(sk); tcp_sendmsg_locked() local 1461 struct tcp_sock *tp = tcp_sk(sk); tcp_splice_eof() local 1480 struct tcp_sock *tp = tcp_sk(sk); tcp_recv_urg() local 1553 struct tcp_sock *tp = tcp_sk(sk); __tcp_cleanup_rbuf() local 1606 struct tcp_sock *tp = tcp_sk(sk); tcp_cleanup_rbuf() local 1667 struct tcp_sock *tp = tcp_sk(sk); __tcp_read_sock() local 1786 struct tcp_sock *tp = tcp_sk(sk); tcp_read_done() local 1831 struct tcp_sock *tp = tcp_sk(sk); tcp_set_rcvlowat() local 2205 struct tcp_sock *tp = tcp_sk(sk); tcp_zerocopy_receive() local 2417 const struct tcp_sock *tp = tcp_sk(sk); tcp_inq_hint() local 2661 struct tcp_sock *tp = tcp_sk(sk); tcp_recvmsg_locked() local 3257 struct tcp_sock *tp = tcp_sk(sk); __tcp_close() local 3366 struct tcp_sock *tp = tcp_sk(sk); tcp_disconnect() local 3515 tcp_repair_set_window(struct tcp_sock * tp,sockptr_t optbuf,int len) tcp_repair_set_window() argument 3551 struct tcp_sock *tp = tcp_sk(sk); tcp_repair_options_est() local 3602 struct tcp_sock *tp = tcp_sk(sk); tcp_enable_tx_delay() local 3643 struct tcp_sock *tp = tcp_sk(sk); __tcp_sock_set_cork() local 3737 struct tcp_sock *tp = tcp_sk(sk); tcp_sock_set_keepidle_locked() local 3793 struct tcp_sock *tp = tcp_sk(sk); tcp_set_window_clamp() local 3841 struct tcp_sock *tp = tcp_sk(sk); do_tcp_setsockopt() local 4185 tcp_get_info_chrono_stats(const struct tcp_sock * tp,struct tcp_info * info) tcp_get_info_chrono_stats() argument 4213 const struct tcp_sock *tp = tcp_sk(sk); /* iff sk_type == SOCK_STREAM */ tcp_get_info() local 4414 const struct tcp_sock *tp = tcp_sk(sk); tcp_get_timestamping_opt_stats() local 4486 struct tcp_sock *tp = tcp_sk(sk); do_tcp_getsockopt() local 4933 const struct tcp_sock *tp = tcp_sk(sk); tcp_inbound_md5_hash() local [all...] |
| H A D | tcp_timer.c | 31 const struct tcp_sock *tp = tcp_sk(sk); in tcp_clamp_rto_to_user_timeout() local 39 elapsed = tcp_time_stamp_ts(tp) - tp->retrans_stamp; in tcp_clamp_rto_to_user_timeout() 40 if (tp->tcp_usec_ts) in tcp_clamp_rto_to_user_timeout() 109 struct tcp_sock *tp = tcp_sk(sk); in tcp_out_of_resources() local 114 if ((s32)(tcp_jiffies32 - tp->lsndtime) > 2*tcp_rto_max(sk) || !do_reset) in tcp_out_of_resources() 124 if ((s32)(tcp_jiffies32 - tp->lsndtime) <= TCP_TIMEWAIT_LEN || in tcp_out_of_resources() 126 (!tp->snd_wnd && !tp->packets_out)) in tcp_out_of_resources() 219 struct tcp_sock *tp in retransmits_timed_out() local 246 struct tcp_sock *tp = tcp_sk(sk); tcp_write_timeout() local 312 struct tcp_sock *tp = tcp_sk(sk); tcp_delack_timer_handler() local 395 struct tcp_sock *tp = tcp_sk(sk); tcp_probe_timer() local 445 struct tcp_sock *tp = tcp_sk(sk); tcp_update_rto_stats() local 462 struct tcp_sock *tp = tcp_sk(sk); tcp_fastopen_synack_timer() local 502 const struct tcp_sock *tp = tcp_sk(sk); tcp_rtx_probe0_timed_out() local 539 struct tcp_sock *tp = tcp_sk(sk); tcp_retransmit_timer() local 786 struct tcp_sock *tp = tcp_sk(sk); tcp_keepalive_timer() local 872 struct tcp_sock *tp = container_of(timer, struct tcp_sock, compressed_ack_timer); tcp_compressed_ack_kick() local [all...] |
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_defer.c | 188 struct xfs_trans *tp, in xfs_defer_barrier_create_intent() 205 struct xfs_trans *tp, in xfs_defer_barrier_create_done() 214 struct xfs_trans *tp, in xfs_defer_barrier_finish_item() 243 struct xfs_trans *tp, in xfs_defer_create_done() 259 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_defer_create_done() 260 lip = dfp->dfp_ops->create_done(tp, dfp->dfp_intent, dfp->dfp_count); in xfs_defer_create_done() 264 tp->t_flags |= XFS_TRANS_HAS_INTENT_DONE; in xfs_defer_create_done() 265 xfs_trans_add_item(tp, lip); in xfs_defer_create_done() 277 struct xfs_trans *tp, in xfs_defer_create_intent() 286 lip = dfp->dfp_ops->create_intent(tp, in xfs_defer_create_intent() 189 xfs_defer_barrier_create_intent(struct xfs_trans * tp,struct list_head * items,unsigned int count,bool sort) xfs_defer_barrier_create_intent() argument 206 xfs_defer_barrier_create_done(struct xfs_trans * tp,struct xfs_log_item * intent,unsigned int count) xfs_defer_barrier_create_done() argument 215 xfs_defer_barrier_finish_item(struct xfs_trans * tp,struct xfs_log_item * done,struct list_head * item,struct xfs_btree_cur ** state) xfs_defer_barrier_finish_item() argument 244 xfs_defer_create_done(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_create_done() argument 278 xfs_defer_create_intent(struct xfs_trans * tp,struct xfs_defer_pending * dfp,bool sort) xfs_defer_create_intent() argument 311 xfs_defer_create_intents(struct xfs_trans * tp) xfs_defer_create_intents() argument 377 xfs_defer_trans_abort(struct xfs_trans * tp,struct list_head * dop_pending) xfs_defer_trans_abort() argument 391 xfs_defer_save_resources(struct xfs_defer_resources * dres,struct xfs_trans * tp) xfs_defer_save_resources() argument 441 xfs_defer_restore_resources(struct xfs_trans * tp,struct xfs_defer_resources * dres) xfs_defer_restore_resources() argument 510 xfs_defer_relog_intent(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_relog_intent() argument 581 xfs_defer_finish_one(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_finish_one() argument 631 xfs_defer_isolate_paused(struct xfs_trans * tp,struct list_head * paused_list) xfs_defer_isolate_paused() argument 656 xfs_defer_finish_noroll(struct xfs_trans ** tp) xfs_defer_finish_noroll() argument 744 xfs_defer_finish(struct xfs_trans ** tp) xfs_defer_finish() argument 778 xfs_defer_cancel(struct xfs_trans * tp) xfs_defer_cancel() argument 793 xfs_defer_find_last(struct xfs_trans * tp,const struct xfs_defer_op_type * ops) xfs_defer_find_last() argument 855 xfs_defer_add(struct xfs_trans * tp,struct list_head * li,const struct xfs_defer_op_type * ops) xfs_defer_add() argument 884 xfs_defer_add_barrier(struct xfs_trans * tp) xfs_defer_add_barrier() argument 985 xfs_defer_ops_capture(struct xfs_trans * tp) xfs_defer_ops_capture() argument 1071 xfs_defer_ops_capture_and_commit(struct xfs_trans * tp,struct list_head * capture_list) xfs_defer_ops_capture_and_commit() argument 1107 xfs_defer_ops_continue(struct xfs_defer_capture * dfc,struct xfs_trans * tp,struct xfs_defer_resources * dres) xfs_defer_ops_continue() argument 1235 xfs_defer_item_pause(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_item_pause() argument 1251 xfs_defer_item_unpause(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_item_unpause() argument [all...] |
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | tp.c | 54 void t1_tp_destroy(struct petp *tp) in t1_tp_destroy() argument 56 kfree(tp); in t1_tp_destroy() 61 struct petp *tp = kzalloc_obj(*tp); 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() 71 void t1_tp_intr_enable(struct petp *tp) in t1_tp_intr_enable() argument 73 u32 tp_intr = readl(tp->adapter->regs + A_PL_ENABLE); in t1_tp_intr_enable() 76 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_enable() 79 tp->adapter->regs + FPGA_TP_ADDR_INTERRUPT_ENABLE); in t1_tp_intr_enable() [all …]
|
| /linux/tools/perf/util/ |
| H A D | cputopo.c | 35 static int build_cpu_topology(struct cpu_topology *tp, int cpu) in build_cpu_topology() argument 64 for (i = 0; i < tp->package_cpus_lists; i++) { in build_cpu_topology() 65 if (!strcmp(buf, tp->package_cpus_list[i])) in build_cpu_topology() 68 if (i == tp->package_cpus_lists) { in build_cpu_topology() 69 tp->package_cpus_list[i] = buf; in build_cpu_topology() 70 tp->package_cpus_lists++; in build_cpu_topology() 77 if (!tp->die_cpus_list) in build_cpu_topology() 95 for (i = 0; i < tp->die_cpus_lists; i++) { in build_cpu_topology() 96 if (!strcmp(buf, tp->die_cpus_list[i])) in build_cpu_topology() 99 if (i == tp in build_cpu_topology() 142 cpu_topology__delete(struct cpu_topology * tp) cpu_topology__delete() argument 258 struct cpu_topology *tp = NULL; cpu_topology__new() local 378 struct numa_topology *tp = NULL; numa_topology__new() local 427 numa_topology__delete(struct numa_topology * tp) numa_topology__delete() argument 474 struct hybrid_topology *tp = NULL; hybrid_topology__new() local 496 hybrid_topology__delete(struct hybrid_topology * tp) hybrid_topology__delete() argument [all...] |
| /linux/fs/xfs/ |
| H A D | xfs_trans_buf.c | 24 struct xfs_trans *tp, in xfs_trans_buf_item_match() argument 37 list_for_each_entry(lip, &tp->t_items, li_trans) { in xfs_trans_buf_item_match() 62 struct xfs_trans *tp, in _xfs_trans_bjoin() argument 75 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin() 92 xfs_trans_add_item(tp, &bip->bli_item); in _xfs_trans_bjoin() 93 bp->b_transp = tp; in _xfs_trans_bjoin() 99 struct xfs_trans *tp, in xfs_trans_bjoin() argument 102 _xfs_trans_bjoin(tp, bp, 0); in xfs_trans_bjoin() 117 struct xfs_trans *tp, in xfs_trans_get_buf_map() argument 129 if (!tp) in xfs_trans_get_buf_map() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_cc_cubic.c | 40 const struct tcp_sock *tp = tcp_sk(sk); in before() 44 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in div64_u64() 50 * [1] : Normal Slow Start condition is (tp->snd_cwnd < tp->snd_ssthresh) in tcp_update_pacing_rate() 51 * If snd_cwnd >= (tp->snd_ssthresh / 2), we are approaching in tcp_update_pacing_rate() 54 if (tp->snd_cwnd < tp->snd_ssthresh / 2) in tcp_update_pacing_rate() 59 rate *= max(tp->snd_cwnd, tp->packets_out); in tcp_update_pacing_rate() 61 if (tp in tcp_update_pacing_rate() 49 const struct tcp_sock *tp = tcp_sk(sk); tcp_update_pacing_rate() local 79 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_reduction() local 129 struct tcp_sock *tp = tcp_sk(sk); BPF_PROG() local [all...] |
| /linux/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) in shift_window_buffer() argument 47 tp->rwbuf_stkptrs[i] = tp->rwbuf_stkptrs[i+1]; in shift_window_buffer() 48 memcpy(&tp->reg_window[i], &tp->reg_window[i+1], sizeof(struct reg_window32)); in shift_window_buffer() 63 struct thread_info *tp = current_thread_info(); in synchronize_user_stack() local 67 if(!tp->w_saved) in synchronize_user_stack() 71 for(window = tp->w_saved - 1; window >= 0; window--) { in synchronize_user_stack() 72 unsigned long sp = tp->rwbuf_stkptrs[window]; in synchronize_user_stack() 75 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack() 79 shift_window_buffer(window, tp->w_saved - 1, tp); in synchronize_user_stack() 80 tp->w_saved--; in synchronize_user_stack() [all …]
|
| /linux/net/sched/ |
| H A D | cls_api.c | 55 const struct tcf_proto *tp; member 77 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp, in tcf_exts_miss_cookie_base_alloc() argument 84 if (WARN_ON(!handle || !tp->ops->get_exts)) in tcf_exts_miss_cookie_base_alloc() 91 n->chain_index = tp->chain->index; in tcf_exts_miss_cookie_base_alloc() 92 n->chain = tp->chain; in tcf_exts_miss_cookie_base_alloc() 93 n->tp_prio = tp->prio; in tcf_exts_miss_cookie_base_alloc() 94 n->tp = tp; in tcf_exts_miss_cookie_base_alloc() 133 tcf_exts_miss_cookie_base_alloc(struct tcf_exts *exts, struct tcf_proto *tp, in tcf_exts_miss_cookie_base_alloc() argument 172 static u32 destroy_obj_hashfn(const struct tcf_proto *tp) in destroy_obj_hashfn() argument 179 tcf_proto_signal_destroying(struct tcf_chain * chain,struct tcf_proto * tp) tcf_proto_signal_destroying() argument 198 tcf_proto_exists_destroying(struct tcf_chain * chain,struct tcf_proto * tp) tcf_proto_exists_destroying() argument 218 tcf_proto_signal_destroyed(struct tcf_chain * chain,struct tcf_proto * tp) tcf_proto_signal_destroyed() argument 334 tcf_auto_prio(struct tcf_proto * tp) tcf_auto_prio() argument 377 struct tcf_proto *tp; tcf_proto_create() local 409 tcf_proto_get(struct tcf_proto * tp) tcf_proto_get() argument 414 tcf_proto_count_usesw(struct tcf_proto * tp,bool add) tcf_proto_count_usesw() argument 443 tcf_proto_destroy(struct tcf_proto * tp,bool rtnl_held,bool sig_destroy,struct netlink_ext_ack * extack) tcf_proto_destroy() argument 470 tcf_proto_put(struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) tcf_proto_put() argument 477 tcf_proto_check_delete(struct tcf_proto * tp) tcf_proto_check_delete() argument 486 tcf_proto_mark_delete(struct tcf_proto * tp) tcf_proto_mark_delete() argument 493 tcf_proto_is_deleting(struct tcf_proto * tp) tcf_proto_is_deleting() argument 766 struct tcf_proto *tp, *tp_next; tcf_chain_flush() local 1124 __tcf_get_next_proto(struct tcf_chain * chain,struct tcf_proto * tp) __tcf_get_next_proto() argument 1165 tcf_get_next_proto(struct tcf_chain * chain,struct tcf_proto * tp) tcf_get_next_proto() argument 1598 struct tcf_proto *tp, *tp_prev; tcf_block_playback_offloads() local 1728 __tcf_classify(struct sk_buff * skb,const struct tcf_proto * tp,const struct tcf_proto * orig_tp,struct tcf_result * res,bool compat_mode,struct tcf_exts_miss_cookie_node * n,int act_index,u32 * last_executed_chain) __tcf_classify() argument 1822 tcf_classify(struct sk_buff * skb,const struct tcf_block * block,const struct tcf_proto * tp,struct tcf_result * res,bool compat_mode) tcf_classify() argument 1915 tcf_chain_tp_insert(struct tcf_chain * chain,struct tcf_chain_info * chain_info,struct tcf_proto * tp) tcf_chain_tp_insert() argument 1931 tcf_chain_tp_remove(struct tcf_chain * chain,struct tcf_chain_info * chain_info,struct tcf_proto * tp) tcf_chain_tp_remove() argument 1958 struct tcf_proto *tp; tcf_chain_tp_insert_unique() local 1986 tcf_chain_tp_delete_empty(struct tcf_chain * chain,struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) tcf_chain_tp_delete_empty() argument 2033 struct tcf_proto *tp; tcf_chain_tp_find() local 2066 tcf_fill_node(struct net * net,struct sk_buff * skb,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,u32 portid,u32 seq,u16 flags,int event,bool terse_dump,bool rtnl_held,struct netlink_ext_ack * extack) tcf_fill_node() argument 2131 tfilter_notify_prep(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,int event,u32 portid,bool rtnl_held,struct netlink_ext_ack * extack) tfilter_notify_prep() argument 2162 tfilter_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,int event,bool unicast,bool rtnl_held,struct netlink_ext_ack * extack) tfilter_notify() argument 2188 tfilter_del_notify(struct net * net,struct sk_buff * oskb,struct nlmsghdr * n,struct tcf_proto * tp,struct tcf_block * block,struct Qdisc * q,u32 parent,void * fh,bool * last,bool rtnl_held,struct netlink_ext_ack * extack) tfilter_del_notify() argument 2227 struct tcf_proto *tp; tfilter_notify_chain() local 2235 tfilter_put(struct tcf_proto * tp,void * fh) tfilter_put() argument 2273 struct tcf_proto *tp; tc_new_tfilter() local 2523 struct tcf_proto *tp = NULL; tc_del_tfilter() local 2682 struct tcf_proto *tp = NULL; tc_get_tfilter() local 2802 tcf_node_dump(struct tcf_proto * tp,void * n,struct tcf_walker * arg) tcf_node_dump() argument 2820 struct tcf_proto *tp, *tp_prev; tcf_chain_dump() local 3375 tcf_exts_init_ex(struct tcf_exts * exts,struct net * net,int action,int police,struct tcf_proto * tp,u32 handle,bool use_action_miss) tcf_exts_init_ex() argument 3429 tcf_exts_validate_ex(struct net * net,struct tcf_proto * tp,struct nlattr ** tb,struct nlattr * rate_tlv,struct tcf_exts * exts,u32 flags,u32 fl_flags,struct netlink_ext_ack * extack) tcf_exts_validate_ex() argument 3483 tcf_exts_validate(struct net * net,struct tcf_proto * tp,struct nlattr ** tb,struct nlattr * rate_tlv,struct tcf_exts * exts,u32 flags,struct netlink_ext_ack * extack) tcf_exts_validate() argument 3608 tc_cls_offload_cnt_update(struct tcf_block * block,struct tcf_proto * tp,u32 * cnt,u32 * flags,u32 diff,bool add) tc_cls_offload_cnt_update() argument 3627 tc_cls_offload_cnt_reset(struct tcf_block * block,struct tcf_proto * tp,u32 * cnt,u32 * flags) tc_cls_offload_cnt_reset() argument 3693 tc_setup_cb_add(struct tcf_block * block,struct tcf_proto * tp,enum tc_setup_type type,void * type_data,bool err_stop,u32 * flags,unsigned int * in_hw_count,bool rtnl_held) tc_setup_cb_add() argument 3743 tc_setup_cb_replace(struct tcf_block * block,struct tcf_proto * tp,enum tc_setup_type type,void * type_data,bool err_stop,u32 * old_flags,unsigned int * old_in_hw_count,u32 * new_flags,unsigned int * new_in_hw_count,bool rtnl_held) tc_setup_cb_replace() argument 3797 tc_setup_cb_destroy(struct tcf_block * block,struct tcf_proto * tp,enum tc_setup_type type,void * type_data,bool err_stop,u32 * flags,unsigned int * in_hw_count,bool rtnl_held) tc_setup_cb_destroy() argument 3831 tc_setup_cb_reoffload(struct tcf_block * block,struct tcf_proto * tp,bool add,flow_setup_cb_t * cb,enum tc_setup_type type,void * type_data,void * cb_priv,u32 * flags,unsigned int * in_hw_count) tc_setup_cb_reoffload() argument [all...] |
| /linux/kernel/trace/ |
| H A D | trace_fprobe.c | 194 struct trace_probe tp; member 235 return trace_probe_is_enabled(&tf->tp); in trace_fprobe_is_busy() 248 return trace_probe_match_command_args(&tf->tp, argc, argv); in trace_fprobe_match_command_head() 256 if (event[0] != '\0' && strcmp(trace_probe_name(&tf->tp), event)) in trace_fprobe_match() 259 if (system && strcmp(trace_probe_group_name(&tf->tp), system)) in trace_fprobe_match() 323 struct trace_event_call *call = trace_probe_event_call(&tf->tp); in NOKPROBE_SYMBOL() 333 dsize = __get_data_size(&tf->tp, fregs, NULL); in NOKPROBE_SYMBOL() 336 sizeof(*entry) + tf->tp.size + dsize); in NOKPROBE_SYMBOL() 343 store_trace_args(&entry[1], &tf->tp, fregs, NULL, sizeof(*entry), dsize); in NOKPROBE_SYMBOL() 354 trace_probe_for_each_link_rcu(link, &tf->tp) in fentry_trace_func() 360 store_fprobe_entry_data(void * edata,struct trace_probe * tp,struct ftrace_regs * fregs) store_fprobe_entry_data() argument 621 struct trace_probe *tp; print_fentry_event() local 651 struct trace_probe *tp; print_fexit_event() local 685 struct trace_probe *tp; fentry_event_define_fields() local 700 struct trace_probe *tp; fexit_event_define_fields() local 985 __find_tracepoint_module_cb(struct tracepoint * tp,struct module * mod,void * priv) __find_tracepoint_module_cb() argument 1002 __find_tracepoint_cb(struct tracepoint * tp,void * priv) __find_tracepoint_cb() argument 1460 struct trace_probe *tp; enable_trace_fprobe() local 1507 struct trace_probe *tp; disable_trace_fprobe() local [all...] |