Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/net/ethernet/realtek/
H A Dr8169_main.c85 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) argument
86 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) argument
87 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) argument
88 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) argument
89 #define RTL_R16(tp, reg) readw(tp argument
84 RTL_W8(tp,reg,val8) global() argument
784 tp_to_dev(struct rtl8169_private * tp) tp_to_dev() argument
789 rtl_lock_config_regs(struct rtl8169_private * tp) rtl_lock_config_regs() argument
794 rtl_unlock_config_regs(struct rtl8169_private * tp) rtl_unlock_config_regs() argument
799 rtl_pci_commit(struct rtl8169_private * tp) rtl_pci_commit() argument
805 rtl_mod_config2(struct rtl8169_private * tp,u8 clear,u8 set) rtl_mod_config2() argument
813 rtl_mod_config5(struct rtl8169_private * tp,u8 clear,u8 set) rtl_mod_config5() argument
821 r8169_mod_reg8_cond(struct rtl8169_private * tp,int reg,u8 bits,bool cond) r8169_mod_reg8_cond() argument
835 rtl_is_8125(struct rtl8169_private * tp) rtl_is_8125() argument
840 rtl_is_8168evl_up(struct rtl8169_private * tp) rtl_is_8168evl_up() argument
847 rtl_supports_eee(struct rtl8169_private * tp) rtl_supports_eee() argument
854 rtl_read_mac_from_reg(struct rtl8169_private * tp,u8 * mac,int reg) rtl_read_mac_from_reg() argument
867 rtl_loop_wait(struct rtl8169_private * tp,const struct rtl_cond * c,unsigned long usecs,int n,bool high) rtl_loop_wait() argument
884 rtl_loop_wait_high(struct rtl8169_private * tp,const struct rtl_cond * c,unsigned long d,int n) rtl_loop_wait_high() argument
891 rtl_loop_wait_low(struct rtl8169_private * tp,const struct rtl_cond * c,unsigned long d,int n) rtl_loop_wait_low() argument
908 rtl8168_led_mod_ctrl(struct rtl8169_private * tp,u16 mask,u16 val) rtl8168_led_mod_ctrl() argument
926 rtl8168_get_led_mode(struct rtl8169_private * tp) rtl8168_get_led_mode() argument
949 rtl8125_set_led_mode(struct rtl8169_private * tp,int index,u16 mode) rtl8125_set_led_mode() argument
970 rtl8125_get_led_mode(struct rtl8169_private * tp,int index) rtl8125_get_led_mode() argument
987 r8169_get_led_name(struct rtl8169_private * tp,int idx,char * buf,int buf_len) r8169_get_led_name() argument
1009 r8168fp_adjust_ocp_cmd(struct rtl8169_private * tp,u32 * cmd,int type) r8168fp_adjust_ocp_cmd() argument
1021 _rtl_eri_write(struct rtl8169_private * tp,int addr,u32 mask,u32 val,int type) _rtl_eri_write() argument
1036 rtl_eri_write(struct rtl8169_private * tp,int addr,u32 mask,u32 val) rtl_eri_write() argument
1042 _rtl_eri_read(struct rtl8169_private * tp,int addr,int type) _rtl_eri_read() argument
1053 rtl_eri_read(struct rtl8169_private * tp,int addr) rtl_eri_read() argument
1058 rtl_w0w1_eri(struct rtl8169_private * tp,int addr,u32 p,u32 m) rtl_w0w1_eri() argument
1065 rtl_eri_set_bits(struct rtl8169_private * tp,int addr,u32 p) rtl_eri_set_bits() argument
1070 rtl_eri_clear_bits(struct rtl8169_private * tp,int addr,u32 m) rtl_eri_clear_bits() argument
1085 r8168_phy_ocp_write(struct rtl8169_private * tp,u32 reg,u32 data) r8168_phy_ocp_write() argument
1095 r8168_phy_ocp_read(struct rtl8169_private * tp,u32 reg) r8168_phy_ocp_read() argument
1106 __r8168_mac_ocp_write(struct rtl8169_private * tp,u32 reg,u32 data) __r8168_mac_ocp_write() argument
1114 r8168_mac_ocp_write(struct rtl8169_private * tp,u32 reg,u32 data) r8168_mac_ocp_write() argument
1123 __r8168_mac_ocp_read(struct rtl8169_private * tp,u32 reg) __r8168_mac_ocp_read() argument
1133 r8168_mac_ocp_read(struct rtl8169_private * tp,u32 reg) r8168_mac_ocp_read() argument
1145 r8168_mac_ocp_modify(struct rtl8169_private * tp,u32 reg,u16 mask,u16 set) r8168_mac_ocp_modify() argument
1160 rtl8168g_phy_suspend_quirk(struct rtl8169_private * tp,int value) rtl8168g_phy_suspend_quirk() argument
1174 r8168g_mdio_write(struct rtl8169_private * tp,int reg,int value) r8168g_mdio_write() argument
1190 r8168g_mdio_read(struct rtl8169_private * tp,int reg) r8168g_mdio_read() argument
1201 mac_mcu_write(struct rtl8169_private * tp,int reg,int value) mac_mcu_write() argument
1211 mac_mcu_read(struct rtl8169_private * tp,int reg) mac_mcu_read() argument
1221 r8169_mdio_write(struct rtl8169_private * tp,int reg,int value) r8169_mdio_write() argument
1233 r8169_mdio_read(struct rtl8169_private * tp,int reg) r8169_mdio_read() argument
1258 r8168dp_2_mdio_start(struct rtl8169_private * tp) r8168dp_2_mdio_start() argument
1263 r8168dp_2_mdio_stop(struct rtl8169_private * tp) r8168dp_2_mdio_stop() argument
1268 r8168dp_2_mdio_write(struct rtl8169_private * tp,int reg,int value) r8168dp_2_mdio_write() argument
1277 r8168dp_2_mdio_read(struct rtl8169_private * tp,int reg) r8168dp_2_mdio_read() argument
1294 rtl_writephy(struct rtl8169_private * tp,int location,int val) rtl_writephy() argument
1310 rtl_readphy(struct rtl8169_private * tp,int location) rtl_readphy() argument
1328 rtl_ephy_write(struct rtl8169_private * tp,int reg_addr,int value) rtl_ephy_write() argument
1338 rtl_ephy_read(struct rtl8169_private * tp,int reg_addr) rtl_ephy_read() argument
1346 r8168dp_ocp_read(struct rtl8169_private * tp,u16 reg) r8168dp_ocp_read() argument
1353 r8168ep_ocp_read(struct rtl8169_private * tp,u16 reg) r8168ep_ocp_read() argument
1358 r8168dp_ocp_write(struct rtl8169_private * tp,u8 mask,u16 reg,u32 data) r8168dp_ocp_write() argument
1366 r8168ep_ocp_write(struct rtl8169_private * tp,u8 mask,u16 reg,u32 data) r8168ep_ocp_write() argument
1373 r8168dp_oob_notify(struct rtl8169_private * tp,u8 cmd) r8168dp_oob_notify() argument
1384 rtl8168_get_ocp_reg(struct rtl8169_private * tp) rtl8168_get_ocp_reg() argument
1408 rtl8168ep_stop_cmac(struct rtl8169_private * tp) rtl8168ep_stop_cmac() argument
1416 rtl8168dp_driver_start(struct rtl8169_private * tp) rtl8168dp_driver_start() argument
1423 rtl8168ep_driver_start(struct rtl8169_private * tp) rtl8168ep_driver_start() argument
1431 rtl8125bp_driver_start(struct rtl8169_private * tp) rtl8125bp_driver_start() argument
1438 rtl8168_driver_start(struct rtl8169_private * tp) rtl8168_driver_start() argument
1448 rtl8168dp_driver_stop(struct rtl8169_private * tp) rtl8168dp_driver_stop() argument
1455 rtl8168ep_driver_stop(struct rtl8169_private * tp) rtl8168ep_driver_stop() argument
1464 rtl8125bp_driver_stop(struct rtl8169_private * tp) rtl8125bp_driver_stop() argument
1471 rtl8168_driver_stop(struct rtl8169_private * tp) rtl8168_driver_stop() argument
1481 r8168dp_check_dash(struct rtl8169_private * tp) r8168dp_check_dash() argument
1488 r8168ep_check_dash(struct rtl8169_private * tp) r8168ep_check_dash() argument
1493 rtl_dash_is_enabled(struct rtl8169_private * tp) rtl_dash_is_enabled() argument
1506 rtl_get_dash_type(struct rtl8169_private * tp) rtl_get_dash_type() argument
1521 rtl_set_d3_pll_down(struct rtl8169_private * tp,bool enable) rtl_set_d3_pll_down() argument
1539 rtl_reset_packet_filter(struct rtl8169_private * tp) rtl_reset_packet_filter() argument
1550 rtl8168d_efuse_read(struct rtl8169_private * tp,int reg_addr) rtl8168d_efuse_read() argument
1558 rtl_get_events(struct rtl8169_private * tp) rtl_get_events() argument
1566 rtl_ack_events(struct rtl8169_private * tp,u32 bits) rtl_ack_events() argument
1574 rtl_irq_disable(struct rtl8169_private * tp) rtl_irq_disable() argument
1582 rtl_irq_enable(struct rtl8169_private * tp) rtl_irq_enable() argument
1590 rtl8169_irq_mask_and_ack(struct rtl8169_private * tp) rtl8169_irq_mask_and_ack() argument
1597 rtl_link_chg_patch(struct rtl8169_private * tp) rtl_link_chg_patch() argument
1637 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_wol() local
1643 __rtl8169_set_wol(struct rtl8169_private * tp,u32 wolopts) __rtl8169_set_wol() argument
1696 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_wol() local
1710 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_drvinfo() local
1729 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_fix_features() local
1741 rtl_set_rx_config_features(struct rtl8169_private * tp,netdev_features_t features) rtl_set_rx_config_features() argument
1764 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_features() local
1803 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_regs() local
1843 rtl8169_do_counters(struct rtl8169_private * tp,u32 counter_cmd) rtl8169_do_counters() argument
1855 rtl8169_update_counters(struct rtl8169_private * tp) rtl8169_update_counters() argument
1867 rtl8169_init_counter_offsets(struct rtl8169_private * tp) rtl8169_init_counter_offsets() argument
1905 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_ethtool_stats() local
1989 rtl_coalesce_info(struct rtl8169_private * tp) rtl_coalesce_info() argument
2015 struct rtl8169_private *tp = netdev_priv(dev); rtl_get_coalesce() local
2051 rtl_coalesce_choose_scale(struct rtl8169_private * tp,u32 usec,u16 * cp01) rtl_coalesce_choose_scale() argument
2076 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_coalesce() local
2140 rtl_set_eee_txidle_timer(struct rtl8169_private * tp) rtl_set_eee_txidle_timer() argument
2159 r8169_get_tx_lpi_timer_us(struct rtl8169_private * tp) r8169_get_tx_lpi_timer_us() argument
2173 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eee() local
2190 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_eee() local
2212 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_pause_stats() local
2225 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_pauseparam() local
2238 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_pauseparam() local
2251 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eth_mac_stats() local
2300 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eth_ctrl_stats() local
2365 rtl_release_firmware(struct rtl8169_private * tp) rtl_release_firmware() argument
2374 r8169_apply_firmware(struct rtl8169_private * tp) r8169_apply_firmware() argument
2391 rtl_rar_exgmac_set(struct rtl8169_private * tp,const u8 * addr) rtl_rar_exgmac_set() argument
2399 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private * tp) rtl8168h_2_get_adc_bias_ioffset() argument
2415 rtl_schedule_task(struct rtl8169_private * tp,enum rtl_flag flag) rtl_schedule_task() argument
2422 rtl8169_init_phy(struct rtl8169_private * tp) rtl8169_init_phy() argument
2444 rtl_rar_set(struct rtl8169_private * tp,const u8 * addr) rtl_rar_set() argument
2462 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_mac_address() local
2474 rtl_init_rxcfg(struct rtl8169_private * tp) rtl_init_rxcfg() argument
2502 rtl8169_init_ring_indexes(struct rtl8169_private * tp) rtl8169_init_ring_indexes() argument
2507 rtl_jumbo_config(struct rtl8169_private * tp) rtl_jumbo_config() argument
2556 rtl_hw_reset(struct rtl8169_private * tp) rtl_hw_reset() argument
2563 rtl_request_firmware(struct rtl8169_private * tp) rtl_request_firmware() argument
2588 rtl_rx_close(struct rtl8169_private * tp) rtl_rx_close() argument
2614 rtl_wait_txrx_fifo_empty(struct rtl8169_private * tp) rtl_wait_txrx_fifo_empty() argument
2634 rtl_disable_rxdvgate(struct rtl8169_private * tp) rtl_disable_rxdvgate() argument
2639 rtl_enable_rxdvgate(struct rtl8169_private * tp) rtl_enable_rxdvgate() argument
2646 rtl_wol_enable_rx(struct rtl8169_private * tp) rtl_wol_enable_rx() argument
2656 rtl_prepare_power_down(struct rtl8169_private * tp) rtl_prepare_power_down() argument
2668 rtl_set_tx_config_registers(struct rtl8169_private * tp) rtl_set_tx_config_registers() argument
2679 rtl_set_rx_max_size(struct rtl8169_private * tp) rtl_set_rx_max_size() argument
2685 rtl_set_rx_tx_desc_registers(struct rtl8169_private * tp) rtl_set_rx_tx_desc_registers() argument
2698 rtl8169_set_magic_reg(struct rtl8169_private * tp) rtl8169_set_magic_reg() argument
2720 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_rx_mode() local
2760 rtl_csi_write(struct rtl8169_private * tp,int addr,int value) rtl_csi_write() argument
2771 rtl_csi_read(struct rtl8169_private * tp,int addr) rtl_csi_read() argument
2782 rtl_csi_mod(struct rtl8169_private * tp,int addr,u32 mask,u32 set) rtl_csi_mod() argument
2796 rtl_disable_zrxdc_timeout(struct rtl8169_private * tp) rtl_disable_zrxdc_timeout() argument
2818 rtl_set_aspm_entry_latency(struct rtl8169_private * tp,u8 val) rtl_set_aspm_entry_latency() argument
2835 rtl_set_def_aspm_entry_latency(struct rtl8169_private * tp) rtl_set_def_aspm_entry_latency() argument
2847 __rtl_ephy_init(struct rtl8169_private * tp,const struct ephy_info * e,int len) __rtl_ephy_init() argument
2859 rtl_ephy_init(tp,a) global() argument
2861 rtl_disable_clock_request(struct rtl8169_private * tp) rtl_disable_clock_request() argument
2867 rtl_enable_clock_request(struct rtl8169_private * tp) rtl_enable_clock_request() argument
2873 rtl_pcie_state_l2l3_disable(struct rtl8169_private * tp) rtl_pcie_state_l2l3_disable() argument
2879 rtl_enable_exit_l1(struct rtl8169_private * tp) rtl_enable_exit_l1() argument
2904 rtl_disable_exit_l1(struct rtl8169_private * tp) rtl_disable_exit_l1() argument
2918 rtl_hw_aspm_clkreq_enable(struct rtl8169_private * tp,bool enable) rtl_hw_aspm_clkreq_enable() argument
2981 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
2991 rtl8168g_set_pause_thresholds(struct rtl8169_private * tp,u8 low,u8 high) rtl8168g_set_pause_thresholds() argument
2999 rtl_hw_start_8168b(struct rtl8169_private * tp) rtl_hw_start_8168b() argument
3004 __rtl_hw_start_8168cp(struct rtl8169_private * tp) __rtl_hw_start_8168cp() argument
3013 rtl_hw_start_8168cp_1(struct rtl8169_private * tp) rtl_hw_start_8168cp_1() argument
3030 rtl_hw_start_8168cp_2(struct rtl8169_private * tp) rtl_hw_start_8168cp_2() argument
3037 rtl_hw_start_8168cp_3(struct rtl8169_private * tp) rtl_hw_start_8168cp_3() argument
3047 rtl_hw_start_8168c_1(struct rtl8169_private * tp) rtl_hw_start_8168c_1() argument
3064 rtl_hw_start_8168c_2(struct rtl8169_private * tp) rtl_hw_start_8168c_2() argument
3078 rtl_hw_start_8168c_4(struct rtl8169_private * tp) rtl_hw_start_8168c_4() argument
3085 rtl_hw_start_8168d(struct rtl8169_private * tp) rtl_hw_start_8168d() argument
3092 rtl_hw_start_8168d_4(struct rtl8169_private * tp) rtl_hw_start_8168d_4() argument
3108 rtl_hw_start_8168e_1(struct rtl8169_private * tp) rtl_hw_start_8168e_1() argument
3139 rtl_hw_start_8168e_2(struct rtl8169_private * tp) rtl_hw_start_8168e_2() argument
3170 rtl_hw_start_8168f(struct rtl8169_private * tp) rtl_hw_start_8168f() argument
3191 rtl_hw_start_8168f_1(struct rtl8169_private * tp) rtl_hw_start_8168f_1() argument
3207 rtl_hw_start_8411(struct rtl8169_private * tp) rtl_hw_start_8411() argument
3223 rtl_hw_start_8168g(struct rtl8169_private * tp) rtl_hw_start_8168g() argument
3244 rtl_hw_start_8168g_1(struct rtl8169_private * tp) rtl_hw_start_8168g_1() argument
3257 rtl_hw_start_8168g_2(struct rtl8169_private * tp) rtl_hw_start_8168g_2() argument
3275 rtl8411b_fix_phy_down(struct rtl8169_private * tp) rtl8411b_fix_phy_down() argument
3302 rtl_hw_start_8411_2(struct rtl8169_private * tp) rtl_hw_start_8411_2() argument
3348 rtl_hw_start_8168h_1(struct rtl8169_private * tp) rtl_hw_start_8168h_1() argument
3407 rtl_hw_start_8168ep(struct rtl8169_private * tp) rtl_hw_start_8168ep() argument
3432 rtl_hw_start_8168ep_3(struct rtl8169_private * tp) rtl_hw_start_8168ep_3() argument
3453 rtl_hw_start_8117(struct rtl8169_private * tp) rtl_hw_start_8117() argument
3511 rtl_hw_start_8102e_1(struct rtl8169_private * tp) rtl_hw_start_8102e_1() argument
3540 rtl_hw_start_8102e_2(struct rtl8169_private * tp) rtl_hw_start_8102e_2() argument
3548 rtl_hw_start_8102e_3(struct rtl8169_private * tp) rtl_hw_start_8102e_3() argument
3555 rtl_hw_start_8401(struct rtl8169_private * tp) rtl_hw_start_8401() argument
3568 rtl_hw_start_8105e_1(struct rtl8169_private * tp) rtl_hw_start_8105e_1() argument
3595 rtl_hw_start_8105e_2(struct rtl8169_private * tp) rtl_hw_start_8105e_2() argument
3601 rtl_hw_start_8402(struct rtl8169_private * tp) rtl_hw_start_8402() argument
3629 rtl_hw_start_8106(struct rtl8169_private * tp) rtl_hw_start_8106() argument
3654 rtl_hw_start_8125_common(struct rtl8169_private * tp) rtl_hw_start_8125_common() argument
3723 rtl_hw_start_8125a_2(struct rtl8169_private * tp) rtl_hw_start_8125a_2() argument
3746 rtl_hw_start_8125b(struct rtl8169_private * tp) rtl_hw_start_8125b() argument
3762 rtl_hw_start_8125d(struct rtl8169_private * tp) rtl_hw_start_8125d() argument
3768 rtl_hw_start_8126a(struct rtl8169_private * tp) rtl_hw_start_8126a() argument
3775 rtl_hw_start_8127a(struct rtl8169_private * tp) rtl_hw_start_8127a() argument
3781 rtl_hw_config(struct rtl8169_private * tp) rtl_hw_config() argument
3831 rtl_hw_start_8125(struct rtl8169_private * tp) rtl_hw_start_8125() argument
3864 rtl_hw_start_8168(struct rtl8169_private * tp) rtl_hw_start_8168() argument
3877 rtl_hw_start_8169(struct rtl8169_private * tp) rtl_hw_start_8169() argument
3895 rtl_hw_start(struct rtl8169_private * tp) rtl_hw_start() argument
3932 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_change_mtu() local
3952 rtl8169_alloc_rx_data(struct rtl8169_private * tp,struct RxDesc * desc) rtl8169_alloc_rx_data() argument
3977 rtl8169_rx_clear(struct rtl8169_private * tp) rtl8169_rx_clear() argument
3992 rtl8169_rx_fill(struct rtl8169_private * tp) rtl8169_rx_fill() argument
4013 rtl8169_init_ring(struct rtl8169_private * tp) rtl8169_init_ring() argument
4023 rtl8169_unmap_tx_skb(struct rtl8169_private * tp,unsigned int entry) rtl8169_unmap_tx_skb() argument
4034 rtl8169_tx_clear_range(struct rtl8169_private * tp,u32 start,unsigned int n) rtl8169_tx_clear_range() argument
4054 rtl8169_tx_clear(struct rtl8169_private * tp) rtl8169_tx_clear() argument
4060 rtl8169_cleanup(struct rtl8169_private * tp) rtl8169_cleanup() argument
4097 rtl_reset_work(struct rtl8169_private * tp) rtl_reset_work() argument
4114 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_tx_timeout() local
4119 rtl8169_tx_map(struct rtl8169_private * tp,const u32 * opts,u32 len,void * addr,unsigned int entry,bool desc_own) rtl8169_tx_map() argument
4151 rtl8169_xmit_frags(struct rtl8169_private * tp,struct sk_buff * skb,const u32 * opts,unsigned int entry) rtl8169_xmit_frags() argument
4196 rtl8125_quirk_udp_padto(struct rtl8169_private * tp,struct sk_buff * skb) rtl8125_quirk_udp_padto() argument
4223 rtl_quirk_packet_padto(struct rtl8169_private * tp,struct sk_buff * skb) rtl_quirk_packet_padto() argument
4267 rtl8169_tso_csum_v2(struct rtl8169_private * tp,struct sk_buff * skb,u32 * opts) rtl8169_tso_csum_v2() argument
4325 rtl_tx_slots_avail(struct rtl8169_private * tp) rtl_tx_slots_avail() argument
4331 rtl_chip_supports_csum_v2(struct rtl8169_private * tp) rtl_chip_supports_csum_v2() argument
4342 rtl8169_doorbell(struct rtl8169_private * tp) rtl8169_doorbell() argument
4353 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_start_xmit() local
4457 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_features_check() local
4484 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_pcierr_interrupt() local
4500 rtl_tx(struct net_device * dev,struct rtl8169_private * tp,int budget) rtl_tx() argument
4562 rtl_rx(struct net_device * dev,struct rtl8169_private * tp,int budget) rtl_rx() argument
4650 struct rtl8169_private *tp = dev_instance; rtl8169_interrupt() local
4676 struct rtl8169_private *tp = rtl_task() local
4708 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); rtl8169_poll() local
4722 rtl_enable_tx_lpi(struct rtl8169_private * tp,bool enable) rtl_enable_tx_lpi() argument
4759 struct rtl8169_private *tp = netdev_priv(ndev); r8169_phylink_handler() local
4773 r8169_phy_connect(struct rtl8169_private * tp) r8169_phy_connect() argument
4795 rtl8169_down(struct rtl8169_private * tp) rtl8169_down() argument
4816 rtl8169_up(struct rtl8169_private * tp) rtl8169_up() argument
4834 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_close() local
4862 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_netpoll() local
4870 struct rtl8169_private *tp = netdev_priv(dev); rtl_open() local
4933 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_stats64() local
4965 rtl8169_net_suspend(struct rtl8169_private * tp) rtl8169_net_suspend() argument
4975 struct rtl8169_private *tp = dev_get_drvdata(dev); rtl8169_runtime_resume() local
4990 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_suspend() local
5003 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_resume() local
5016 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_suspend() local
5033 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_idle() local
5052 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_shutdown() local
5067 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_remove_one() local
5108 rtl_set_irq_mask(struct rtl8169_private * tp) rtl_set_irq_mask() argument
5116 rtl_alloc_irq(struct rtl8169_private * tp) rtl_alloc_irq() argument
5137 rtl_read_mac_address(struct rtl8169_private * tp,u8 mac_addr[ETH_ALEN]) rtl_read_mac_address() argument
5158 r8168g_wait_ll_share_fifo_ready(struct rtl8169_private * tp) r8168g_wait_ll_share_fifo_ready() argument
5165 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_read_reg() local
5176 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_write_reg() local
5189 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_read_reg_c45() local
5203 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_write_reg_c45() local
5213 r8169_mdio_register(struct rtl8169_private * tp) r8169_mdio_register() argument
5280 rtl_hw_init_8168g(struct rtl8169_private * tp) rtl_hw_init_8168g() argument
5295 rtl_hw_init_8125(struct rtl8169_private * tp) rtl_hw_init_8125() argument
5312 rtl_hw_initialize(struct rtl8169_private * tp) rtl_hw_initialize() argument
5329 rtl_jumbo_max(struct rtl8169_private * tp) rtl_jumbo_max() argument
5353 rtl_init_mac_address(struct rtl8169_private * tp) rtl_init_mac_address() argument
5380 rtl_aspm_is_safe(struct rtl8169_private * tp) rtl_aspm_is_safe() argument
5392 struct rtl8169_private *tp; rtl_init_one() local
[all...]
H A D8139too.c639 static void rtl8139_start_thread(struct rtl8139_private *tp);
715 struct rtl8139_private *tp = netdev_priv(dev);
719 assert (tp->pci_dev != NULL); in __rtl8139_cleanup_dev()
720 pdev = tp->pci_dev; in __rtl8139_cleanup_dev() local
722 if (tp->mmio_addr) in __rtl8139_cleanup_dev()
723 pci_iounmap (pdev, tp->mmio_addr); in __rtl8139_cleanup_dev()
754 struct rtl8139_private *tp; in rtl8139_init_board()
771 dev = alloc_etherdev (sizeof (*tp)); in rtl8139_init_board()
777 tp = netdev_priv(dev); in rtl8139_init_board()
778 tp in rtl8139_init_board()
759 struct rtl8139_private *tp; rtl8139_init_board() local
902 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_set_features() local
947 struct rtl8139_private *tp; rtl8139_init_one() local
1118 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_remove_one() local
1236 struct rtl8139_private *tp = netdev_priv(dev); mdio_read() local
1279 struct rtl8139_private *tp = netdev_priv(dev); mdio_write() local
1322 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_open() local
1373 struct rtl8139_private *tp = netdev_priv(dev); rtl_check_media() local
1383 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_hw_start() local
1450 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_init_ring() local
1467 rtl8139_tune_twister(struct net_device * dev,struct rtl8139_private * tp) rtl8139_tune_twister() argument
1483 rtl8139_tune_twister(struct net_device * dev,struct rtl8139_private * tp) rtl8139_tune_twister() argument
1569 rtl8139_thread_iter(struct net_device * dev,struct rtl8139_private * tp,void __iomem * ioaddr) rtl8139_thread_iter() argument
1611 struct rtl8139_private *tp = rtl8139_thread() local
1633 rtl8139_start_thread(struct rtl8139_private * tp) rtl8139_start_thread() argument
1647 rtl8139_tx_clear(struct rtl8139_private * tp) rtl8139_tx_clear() argument
1657 struct rtl8139_private *tp = rtl8139_tx_timeout_task() local
1708 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_tx_timeout() local
1720 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_start_xmit() local
1765 rtl8139_tx_interrupt(struct net_device * dev,struct rtl8139_private * tp,void __iomem * ioaddr) rtl8139_tx_interrupt() argument
1837 rtl8139_rx_err(u32 rx_status,struct net_device * dev,struct rtl8139_private * tp,void __iomem * ioaddr) rtl8139_rx_err() argument
1931 rtl8139_isr_ack(struct rtl8139_private * tp) rtl8139_isr_ack() argument
1949 rtl8139_rx(struct net_device * dev,struct rtl8139_private * tp,int budget) rtl8139_rx() argument
2092 rtl8139_weird_interrupt(struct net_device * dev,struct rtl8139_private * tp,void __iomem * ioaddr,int status,int link_changed) rtl8139_weird_interrupt() argument
2130 struct rtl8139_private *tp = container_of(napi, struct rtl8139_private, napi); rtl8139_poll() local
2158 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_interrupt() local
2226 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_poll_controller() local
2237 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_set_mac_address() local
2260 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_close() local
2310 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_get_wol() local
2344 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_set_wol() local
2384 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_get_drvinfo() local
2393 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_get_link_ksettings() local
2403 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_set_link_ksettings() local
2413 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_nway_reset() local
2419 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_get_link() local
2425 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_get_msglevel() local
2431 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_set_msglevel() local
2437 struct rtl8139_private *tp; rtl8139_get_regs_len() local
2447 struct rtl8139_private *tp; rtl8139_get_regs() local
2473 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_get_ethtool_stats() local
2505 struct rtl8139_private *tp = netdev_priv(dev); netdev_ioctl() local
2522 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_get_stats64() local
2554 struct rtl8139_private *tp = netdev_priv(dev); __set_rx_mode() local
2602 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_set_rx_mode() local
2612 struct rtl8139_private *tp = netdev_priv(dev); rtl8139_suspend() local
[all...]
/linux/drivers/net/usb/
H A Dr8152.c884 void (*init)(struct r8152 *tp);
885 int (*enable)(struct r8152 *tp);
886 void (*disable)(struct r8152 *tp);
887 void (*up)(struct r8152 *tp);
888 void (*down)(struct r8152 *tp);
889 void (*unload)(struct r8152 *tp);
890 int (*eee_get)(struct r8152 *tp, struct ethtool_keee *eee);
891 int (*eee_set)(struct r8152 *tp, struct ethtool_keee *eee);
892 bool (*in_nway)(struct r8152 *tp);
893 void (*hw_phy_cfg)(struct r8152 *tp);
1216 rtl_set_inaccessible(struct r8152 * tp) rtl_set_inaccessible() argument
1222 rtl_set_accessible(struct r8152 * tp) rtl_set_accessible() argument
1229 r8152_control_msg(struct r8152 * tp,unsigned int pipe,__u8 request,__u8 requesttype,__u16 value,__u16 index,void * data,__u16 size,const char * msg_tag) r8152_control_msg() argument
1301 get_registers(struct r8152 * tp,u16 value,u16 index,u16 size,void * data) get_registers() argument
1325 set_registers(struct r8152 * tp,u16 value,u16 index,u16 size,void * data) set_registers() argument
1343 rtl_set_unplug(struct r8152 * tp) rtl_set_unplug() argument
1349 generic_ocp_read(struct r8152 * tp,u16 index,u16 size,void * data,u16 type) generic_ocp_read() argument
1392 generic_ocp_write(struct r8152 * tp,u16 index,u16 byteen,u16 size,void * data,u16 type) generic_ocp_write() argument
1470 pla_ocp_read(struct r8152 * tp,u16 index,u16 size,void * data) pla_ocp_read() argument
1476 pla_ocp_write(struct r8152 * tp,u16 index,u16 byteen,u16 size,void * data) pla_ocp_write() argument
1482 usb_ocp_write(struct r8152 * tp,u16 index,u16 byteen,u16 size,void * data) usb_ocp_write() argument
1487 ocp_read_dword(struct r8152 * tp,u16 type,u16 index) ocp_read_dword() argument
1496 ocp_write_dword(struct r8152 * tp,u16 type,u16 index,u32 data) ocp_write_dword() argument
1503 ocp_read_word(struct r8152 * tp,u16 type,u16 index) ocp_read_word() argument
1522 ocp_write_word(struct r8152 * tp,u16 type,u16 index,u32 data) ocp_write_word() argument
1543 ocp_read_byte(struct r8152 * tp,u16 type,u16 index) ocp_read_byte() argument
1560 ocp_write_byte(struct r8152 * tp,u16 type,u16 index,u32 data) ocp_write_byte() argument
1581 ocp_reg_read(struct r8152 * tp,u16 addr) ocp_reg_read() argument
1595 ocp_reg_write(struct r8152 * tp,u16 addr,u16 data) ocp_reg_write() argument
1609 r8152_mdio_write(struct r8152 * tp,u32 reg_addr,u32 value) r8152_mdio_write() argument
1614 r8152_mdio_read(struct r8152 * tp,u32 reg_addr) r8152_mdio_read() argument
1619 sram_write(struct r8152 * tp,u16 addr,u16 data) sram_write() argument
1625 sram_read(struct r8152 * tp,u16 addr) sram_read() argument
1633 struct r8152 *tp = netdev_priv(netdev); read_mii_word() local
1650 struct r8152 *tp = netdev_priv(netdev); write_mii_word() local
1672 struct r8152 *tp = netdev_priv(netdev); __rtl8152_set_mac_address() local
1709 vendor_mac_passthru_addr_read(struct r8152 * tp,struct sockaddr_storage * ss) vendor_mac_passthru_addr_read() argument
1788 determine_ethernet_addr(struct r8152 * tp,struct sockaddr_storage * ss) determine_ethernet_addr() argument
1826 set_ethernet_addr(struct r8152 * tp,bool in_resume) set_ethernet_addr() argument
1849 struct r8152 *tp; read_bulk_callback() local
1917 struct r8152 *tp; write_bulk_callback() local
1961 struct r8152 *tp; intr_callback() local
2034 free_rx_agg(struct r8152 * tp,struct rx_agg * agg) free_rx_agg() argument
2045 alloc_rx_agg(struct r8152 * tp,gfp_t mflags) alloc_rx_agg() argument
2086 free_all_mem(struct r8152 * tp) free_all_mem() argument
2117 alloc_all_mem(struct r8152 * tp) alloc_all_mem() argument
2192 r8152_get_tx_agg(struct r8152 * tp) r8152_get_tx_agg() argument
2217 r8152_csum_workaround(struct r8152 * tp,struct sk_buff * skb,struct sk_buff_head * list) r8152_csum_workaround() argument
2273 r8152_tx_csum(struct r8152 * tp,struct tx_desc * desc,struct sk_buff * skb,u32 len) r8152_tx_csum() argument
2361 r8152_tx_agg_fill(struct r8152 * tp,struct tx_agg * agg) r8152_tx_agg_fill() argument
2457 r8152_rx_csum(struct r8152 * tp,struct rx_desc * rx_desc) r8152_rx_csum() argument
2486 rx_count_exceed(struct r8152 * tp) rx_count_exceed() argument
2496 rtl_get_free_rx(struct r8152 * tp,gfp_t mflags) rtl_get_free_rx() argument
2526 rx_bottom(struct r8152 * tp,int budget) rx_bottom() argument
2717 tx_bottom(struct r8152 * tp) tx_bottom() argument
2756 struct r8152 *tp = from_tasklet(tp, t, tx_tl); bottom_half() local
2776 struct r8152 *tp = container_of(napi, struct r8152, napi); r8152_poll() local
2796 r8152_submit_rx(struct r8152 * tp,struct rx_agg * agg,gfp_t mem_flags) r8152_submit_rx() argument
2831 rtl_drop_queued_tx(struct r8152 * tp) rtl_drop_queued_tx() argument
2853 struct r8152 *tp = netdev_priv(netdev); rtl8152_tx_timeout() local
2862 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_rx_mode() local
2872 struct r8152 *tp = netdev_priv(netdev); _rtl8152_set_rx_mode() local
2938 struct r8152 *tp = netdev_priv(netdev); rtl8152_start_xmit() local
2959 r8152b_reset_packet_filter(struct r8152 * tp) r8152b_reset_packet_filter() argument
2970 rtl8152_nic_reset(struct r8152 * tp) rtl8152_nic_reset() argument
3018 set_tx_qlen(struct r8152 * tp) set_tx_qlen() argument
3023 rtl8152_get_speed(struct r8152 * tp) rtl8152_get_speed() argument
3028 rtl_eee_plus_en(struct r8152 * tp,bool enable) rtl_eee_plus_en() argument
3040 rtl_set_eee_plus(struct r8152 * tp) rtl_set_eee_plus() argument
3048 rxdy_gated_en(struct r8152 * tp,bool enable) rxdy_gated_en() argument
3060 rtl_start_rx(struct r8152 * tp) rtl_start_rx() argument
3103 rtl_stop_rx(struct r8152 * tp) rtl_stop_rx() argument
3143 rtl_set_ifg(struct r8152 * tp,u16 speed) rtl_set_ifg() argument
3166 r8153b_rx_agg_chg_indicate(struct r8152 * tp) r8153b_rx_agg_chg_indicate() argument
3172 rtl_enable(struct r8152 * tp) rtl_enable() argument
3201 rtl8152_enable(struct r8152 * tp) rtl8152_enable() argument
3212 r8153_set_rx_early_timeout(struct r8152 * tp) r8153_set_rx_early_timeout() argument
3253 r8153_set_rx_early_size(struct r8152 * tp) r8153_set_rx_early_size() argument
3286 rtl8153_enable(struct r8152 * tp) rtl8153_enable() argument
3317 rtl_disable(struct r8152 * tp) rtl_disable() argument
3360 r8152_power_cut_en(struct r8152 * tp,bool enable) r8152_power_cut_en() argument
3376 rtl_rx_vlan_en(struct r8152 * tp,bool enable) rtl_rx_vlan_en() argument
3420 struct r8152 *tp = netdev_priv(dev); rtl8152_set_features() local
3446 __rtl_get_wol(struct r8152 * tp) __rtl_get_wol() argument
3470 __rtl_set_wol(struct r8152 * tp,u32 wolopts) __rtl_set_wol() argument
3506 r8153_mac_clk_speed_down(struct r8152 * tp,bool enable) r8153_mac_clk_speed_down() argument
3519 r8156_mac_clk_spd(struct r8152 * tp,bool enable) r8156_mac_clk_spd() argument
3540 r8153_u1u2en(struct r8152 * tp,bool enable) r8153_u1u2en() argument
3552 r8153b_u1u2en(struct r8152 * tp,bool enable) r8153b_u1u2en() argument
3565 r8153_u2p3en(struct r8152 * tp,bool enable) r8153_u2p3en() argument
3577 r8153b_ups_flags(struct r8152 * tp) r8153b_ups_flags() argument
3652 r8156_ups_flags(struct r8152 * tp) r8156_ups_flags() argument
3734 rtl_green_en(struct r8152 * tp,bool enable) rtl_green_en() argument
3748 r8153b_green_en(struct r8152 * tp,bool enable) r8153b_green_en() argument
3763 r8153_phy_status(struct r8152 * tp,u16 desired) r8153_phy_status() argument
3787 r8153b_ups_en(struct r8152 * tp,bool enable) r8153b_ups_en() argument
3828 r8153c_ups_en(struct r8152 * tp,bool enable) r8153c_ups_en() argument
3878 r8156_ups_en(struct r8152 * tp,bool enable) r8156_ups_en() argument
3919 r8153_power_cut_en(struct r8152 * tp,bool enable) r8153_power_cut_en() argument
3935 r8153b_power_cut_en(struct r8152 * tp,bool enable) r8153b_power_cut_en() argument
3951 r8153_queue_wake(struct r8152 * tp,bool enable) r8153_queue_wake() argument
3971 rtl_can_wakeup(struct r8152 * tp) rtl_can_wakeup() argument
3978 rtl_runtime_suspend_enable(struct r8152 * tp,bool enable) rtl_runtime_suspend_enable() argument
4007 rtl8153_runtime_enable(struct r8152 * tp,bool enable) rtl8153_runtime_enable() argument
4031 rtl8153b_runtime_enable(struct r8152 * tp,bool enable) rtl8153b_runtime_enable() argument
4048 rtl8153c_runtime_enable(struct r8152 * tp,bool enable) rtl8153c_runtime_enable() argument
4064 rtl8156_runtime_enable(struct r8152 * tp,bool enable) rtl8156_runtime_enable() argument
4080 r8153_teredo_off(struct r8152 * tp) r8153_teredo_off() argument
4120 rtl_reset_bmu(struct r8152 * tp) rtl_reset_bmu() argument
4132 rtl_clear_bp(struct r8152 * tp,u16 type) rtl_clear_bp() argument
4176 rtl_reset_ocp_base(struct r8152 * tp) rtl_reset_ocp_base() argument
4181 rtl_phy_patch_request(struct r8152 * tp,bool request,bool wait) rtl_phy_patch_request() argument
4218 rtl_patch_key_set(struct r8152 * tp,u16 key_addr,u16 patch_key) rtl_patch_key_set() argument
4239 rtl_pre_ram_code(struct r8152 * tp,u16 key_addr,u16 patch_key,bool wait) rtl_pre_ram_code() argument
4249 rtl_post_ram_code(struct r8152 * tp,u16 key_addr,bool wait) rtl_post_ram_code() argument
4258 rtl8152_is_fw_phy_speed_up_ok(struct r8152 * tp,struct fw_phy_speed_up * phy) rtl8152_is_fw_phy_speed_up_ok() argument
4308 rtl8152_is_fw_phy_ver_ok(struct r8152 * tp,struct fw_phy_ver * ver) rtl8152_is_fw_phy_ver_ok() argument
4338 rtl8152_is_fw_phy_fixup_ok(struct r8152 * tp,struct fw_phy_fixup * fix) rtl8152_is_fw_phy_fixup_ok() argument
4369 rtl8152_is_fw_phy_union_ok(struct r8152 * tp,struct fw_phy_union * phy) rtl8152_is_fw_phy_union_ok() argument
4414 rtl8152_is_fw_phy_nc_ok(struct r8152 * tp,struct fw_phy_nc * phy) rtl8152_is_fw_phy_nc_ok() argument
4490 rtl8152_is_fw_mac_ok(struct r8152 * tp,struct fw_mac * mac) rtl8152_is_fw_mac_ok() argument
4630 rtl8152_fw_verify_checksum(struct r8152 * tp,struct fw_header * fw_hdr,size_t size) rtl8152_fw_verify_checksum() argument
4645 rtl8152_check_firmware(struct r8152 * tp,struct rtl_fw * rtl_fw) rtl8152_check_firmware() argument
4929 rtl_ram_code_speed_up(struct r8152 * tp,struct fw_phy_speed_up * phy,bool wait) rtl_ram_code_speed_up() argument
4991 rtl8152_fw_phy_ver(struct r8152 * tp,struct fw_phy_ver * phy_ver) rtl8152_fw_phy_ver() argument
5012 rtl8152_fw_phy_fixup(struct r8152 * tp,struct fw_phy_fixup * fix) rtl8152_fw_phy_fixup() argument
5043 rtl8152_fw_phy_union_apply(struct r8152 * tp,struct fw_phy_union * phy) rtl8152_fw_phy_union_apply() argument
5075 rtl8152_fw_phy_nc_apply(struct r8152 * tp,struct fw_phy_nc * phy) rtl8152_fw_phy_nc_apply() argument
5112 rtl8152_fw_mac_apply(struct r8152 * tp,struct fw_mac * mac) rtl8152_fw_mac_apply() argument
5182 rtl8152_apply_firmware(struct r8152 * tp,bool power_cut) rtl8152_apply_firmware() argument
5261 rtl8152_release_firmware(struct r8152 * tp) rtl8152_release_firmware() argument
5271 rtl8152_request_firmware(struct r8152 * tp) rtl8152_request_firmware() argument
5302 r8152_aldps_en(struct r8152 * tp,bool enable) r8152_aldps_en() argument
5314 r8152_mmd_indirect(struct r8152 * tp,u16 dev,u16 reg) r8152_mmd_indirect() argument
5321 r8152_mmd_read(struct r8152 * tp,u16 dev,u16 reg) r8152_mmd_read() argument
5332 r8152_mmd_write(struct r8152 * tp,u16 dev,u16 reg,u16 data) r8152_mmd_write() argument
5339 r8152_eee_en(struct r8152 * tp,bool enable) r8152_eee_en() argument
5370 r8153_eee_en(struct r8152 * tp,bool enable) r8153_eee_en() argument
5392 r8156_eee_en(struct r8152 * tp,bool enable) r8156_eee_en() argument
5408 rtl_eee_enable(struct r8152 * tp,bool enable) rtl_eee_enable() argument
5456 r8152b_enable_fc(struct r8152 * tp) r8152b_enable_fc() argument
5467 rtl8152_disable(struct r8152 * tp) rtl8152_disable() argument
5474 r8152b_hw_phy_cfg(struct r8152 * tp) r8152b_hw_phy_cfg() argument
5484 wait_oob_link_list_ready(struct r8152 * tp) wait_oob_link_list_ready() argument
5499 r8156b_wait_loading_flash(struct r8152 * tp) r8156b_wait_loading_flash() argument
5515 r8152b_exit_oob(struct r8152 * tp) r8152b_exit_oob() argument
5581 r8152b_enter_oob(struct r8152 * tp) r8152b_enter_oob() argument
5622 r8153_pre_firmware_1(struct r8152 * tp) r8153_pre_firmware_1() argument
5640 r8153_post_firmware_1(struct r8152 * tp) r8153_post_firmware_1() argument
5652 r8153_pre_firmware_2(struct r8152 * tp) r8153_pre_firmware_2() argument
5665 r8153_post_firmware_2(struct r8152 * tp) r8153_post_firmware_2() argument
5693 r8153_post_firmware_3(struct r8152 * tp) r8153_post_firmware_3() argument
5708 r8153b_pre_firmware_1(struct r8152 * tp) r8153b_pre_firmware_1() argument
5717 r8153b_post_firmware_1(struct r8152 * tp) r8153b_post_firmware_1() argument
5744 r8153c_post_firmware_1(struct r8152 * tp) r8153c_post_firmware_1() argument
5759 r8156a_post_firmware_1(struct r8152 * tp) r8156a_post_firmware_1() argument
5774 r8153_aldps_en(struct r8152 * tp,bool enable) r8153_aldps_en() argument
5799 r8153_hw_phy_cfg(struct r8152 * tp) r8153_hw_phy_cfg() argument
5861 r8152_efuse_read(struct r8152 * tp,u8 addr) r8152_efuse_read() argument
5873 r8153b_hw_phy_cfg(struct r8152 * tp) r8153b_hw_phy_cfg() argument
5978 r8153c_hw_phy_cfg(struct r8152 * tp) r8153c_hw_phy_cfg() argument
5985 rtl8153_change_mtu(struct r8152 * tp) rtl8153_change_mtu() argument
5991 r8153_first_init(struct r8152 * tp) r8153_first_init() argument
6039 r8153_enter_oob(struct r8152 * tp) r8153_enter_oob() argument
6111 rtl8153_disable(struct r8152 * tp) rtl8153_disable() argument
6119 fc_pause_on_auto(struct r8152 * tp) fc_pause_on_auto() argument
6124 fc_pause_off_auto(struct r8152 * tp) fc_pause_off_auto() argument
6129 r8156_fc_parameter(struct r8152 * tp) r8156_fc_parameter() argument
6138 rtl8156_enable(struct r8152 * tp) rtl8156_enable() argument
6188 rtl8156_disable(struct r8152 * tp) rtl8156_disable() argument
6196 rtl8156b_enable(struct r8152 * tp) rtl8156b_enable() argument
6244 rtl8152_set_speed(struct r8152 * tp,u8 autoneg,u32 speed,u8 duplex,u32 advertising) rtl8152_set_speed() argument
6385 rtl8152_up(struct r8152 * tp) rtl8152_up() argument
6395 rtl8152_down(struct r8152 * tp) rtl8152_down() argument
6408 rtl8153_up(struct r8152 * tp) rtl8153_up() argument
6448 rtl8153_down(struct r8152 * tp) rtl8153_down() argument
6469 rtl8153b_up(struct r8152 * tp) rtl8153b_up() argument
6493 rtl8153b_down(struct r8152 * tp) rtl8153b_down() argument
6514 rtl8153c_change_mtu(struct r8152 * tp) rtl8153c_change_mtu() argument
6530 rtl8153c_up(struct r8152 * tp) rtl8153c_up() argument
6597 rtl8156_change_mtu(struct r8152 * tp) rtl8156_change_mtu() argument
6611 rtl8156_up(struct r8152 * tp) rtl8156_up() argument
6684 rtl8156_down(struct r8152 * tp) rtl8156_down() argument
6741 rtl8152_in_nway(struct r8152 * tp) rtl8152_in_nway() argument
6757 rtl8153_in_nway(struct r8152 * tp) rtl8153_in_nway() argument
6767 r8156_mdio_force_mode(struct r8152 * tp) r8156_mdio_force_mode() argument
6782 set_carrier(struct r8152 * tp) set_carrier() argument
6821 struct r8152 *tp = container_of(work, struct r8152, schedule.work); rtl_work_func_t() local
6863 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); rtl_hw_phy_work_func_t() local
6898 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); rtl_notifier() local
6923 struct r8152 *tp = netdev_priv(netdev); rtl8152_open() local
6978 struct r8152 *tp = netdev_priv(netdev); rtl8152_close() local
7011 rtl_tally_reset(struct r8152 * tp) rtl_tally_reset() argument
7020 r8152b_init(struct r8152 * tp) r8152b_init() argument
7063 r8153_init(struct r8152 * tp) r8153_init() argument
7203 r8153b_init(struct r8152 * tp) r8153b_init() argument
7285 r8153c_init(struct r8152 * tp) r8153c_init() argument
7367 r8156_hw_phy_cfg(struct r8152 * tp) r8156_hw_phy_cfg() argument
7717 r8156b_hw_phy_cfg(struct r8152 * tp) r8156b_hw_phy_cfg() argument
8134 r8156_init(struct r8152 * tp) r8156_init() argument
8230 r8156b_init(struct r8152 * tp) r8156b_init() argument
8393 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_pre_reset() local
8424 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_post_reset() local
8463 delay_autosuspend(struct r8152 * tp) delay_autosuspend() argument
8486 rtl8152_runtime_resume(struct r8152 * tp) rtl8152_runtime_resume() argument
8525 rtl8152_system_resume(struct r8152 * tp) rtl8152_system_resume() argument
8541 rtl8152_runtime_suspend(struct r8152 * tp) rtl8152_runtime_suspend() argument
8599 rtl8152_system_suspend(struct r8152 * tp) rtl8152_system_suspend() argument
8630 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_suspend() local
8647 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_resume() local
8680 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_reset_resume() local
8692 struct r8152 *tp = netdev_priv(dev); rtl8152_get_wol() local
8712 struct r8152 *tp = netdev_priv(dev); rtl8152_set_wol() local
8740 struct r8152 *tp = netdev_priv(dev); rtl8152_get_msglevel() local
8747 struct r8152 *tp = netdev_priv(dev); rtl8152_set_msglevel() local
8755 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_drvinfo() local
8769 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_link_ksettings() local
8810 struct r8152 *tp = netdev_priv(dev); rtl8152_set_link_ksettings() local
8894 struct r8152 *tp = netdev_priv(dev); rtl8152_get_ethtool_stats() local
8928 r8152_get_eee(struct r8152 * tp,struct ethtool_keee * eee) r8152_get_eee() argument
8950 r8152_set_eee(struct r8152 * tp,struct ethtool_keee * eee) r8152_set_eee() argument
8962 r8153_get_eee(struct r8152 * tp,struct ethtool_keee * eee) r8153_get_eee() argument
8987 struct r8152 *tp = netdev_priv(net); rtl_ethtool_get_eee() local
9014 struct r8152 *tp = netdev_priv(net); rtl_ethtool_set_eee() local
9042 struct r8152 *tp = netdev_priv(dev); rtl8152_nway_reset() local
9066 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_coalesce() local
9087 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_coalesce() local
9134 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_tunable() local
9151 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_tunable() local
9187 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_ringparam() local
9198 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_ringparam() local
9220 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_pauseparam() local
9257 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_pauseparam() local
9320 struct r8152 *tp = netdev_priv(netdev); rtl8152_ioctl() local
9364 struct r8152 *tp = netdev_priv(dev); rtl8152_change_mtu() local
9424 rtl8152_unload(struct r8152 * tp) rtl8152_unload() argument
9433 rtl8153_unload(struct r8152 * tp) rtl8153_unload() argument
9441 rtl8153b_unload(struct r8152 * tp) rtl8153b_unload() argument
9449 rtl_ops_init(struct r8152 * tp) rtl_ops_init() argument
9603 rtl_fw_init(struct r8152 * tp) rtl_fw_init() argument
9779 struct r8152 *tp; rtl8152_probe_once() local
10009 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_disconnect() local
[all...]
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c93 #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_CAP) ? \
[all …]
/linux/fs/xfs/
H A Dxfs_trans.c69 struct xfs_trans *tp) in xfs_trans_free() argument
71 xfs_extent_busy_sort(&tp->t_busy); in xfs_trans_free()
72 xfs_extent_busy_clear(&tp->t_busy, false); in xfs_trans_free()
74 trace_xfs_trans_free(tp, _RET_IP_); in xfs_trans_free()
75 xfs_trans_clear_context(tp); in xfs_trans_free()
76 if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) in xfs_trans_free()
77 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free()
78 xfs_trans_free_dqinfo(tp); in xfs_trans_free()
79 kmem_cache_free(xfs_trans_cache, tp); in xfs_trans_free()
92 struct xfs_trans *tp) in xfs_trans_dup() argument
148 xfs_trans_reserve(struct xfs_trans * tp,struct xfs_trans_res * resp,uint blocks,uint rtextents) xfs_trans_reserve() argument
218 struct xfs_trans *tp; __xfs_trans_alloc() local
244 struct xfs_trans *tp; xfs_trans_alloc() local
326 xfs_trans_mod_sb(xfs_trans_t * tp,uint field,int64_t delta) xfs_trans_mod_sb() argument
455 xfs_trans_apply_sb_deltas(struct xfs_trans * tp) xfs_trans_apply_sb_deltas() argument
591 xfs_trans_unreserve_and_mod_sb(struct xfs_trans * tp) xfs_trans_unreserve_and_mod_sb() argument
680 xfs_trans_add_item(struct xfs_trans * tp,struct xfs_log_item * lip) xfs_trans_add_item() argument
708 xfs_trans_free_items(struct xfs_trans * tp,bool abort) xfs_trans_free_items() argument
777 xfs_trans_run_precommits(struct xfs_trans * tp) xfs_trans_run_precommits() argument
824 __xfs_trans_commit(struct xfs_trans * tp,bool regrant) __xfs_trans_commit() argument
912 xfs_trans_commit(struct xfs_trans * tp) xfs_trans_commit() argument
949 xfs_trans_cancel(struct xfs_trans * tp) xfs_trans_cancel() argument
1011 struct xfs_trans *tp = *tpp; xfs_trans_roll() local
1070 struct xfs_trans *tp; xfs_trans_alloc_inode() local
1123 xfs_trans_reserve_more(struct xfs_trans * tp,unsigned int blocks,unsigned int rtextents) xfs_trans_reserve_more() argument
1147 xfs_trans_reserve_more_inode(struct xfs_trans * tp,struct xfs_inode * ip,unsigned int dblocks,unsigned int rblocks,bool force_quota) xfs_trans_reserve_more_inode() argument
1196 struct xfs_trans *tp; xfs_trans_alloc_icreate() local
1239 struct xfs_trans *tp; xfs_trans_alloc_ichange() local
1357 struct xfs_trans *tp; xfs_trans_alloc_dir() local
[all...]
H A Dxfs_trans_buf.c24 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()
173 __xfs_trans_getsb(struct xfs_trans * tp,struct xfs_buf * bp) __xfs_trans_getsb() argument
201 xfs_trans_getsb(struct xfs_trans * tp) xfs_trans_getsb() argument
208 xfs_trans_getrtsb(struct xfs_trans * tp) xfs_trans_getrtsb() argument
228 xfs_trans_read_buf_map(struct xfs_mount * mp,struct xfs_trans * tp,struct xfs_buftarg * target,struct xfs_buf_map * map,int nmaps,xfs_buf_flags_t flags,struct xfs_buf ** bpp,const struct xfs_buf_ops * ops) xfs_trans_read_buf_map() argument
361 xfs_trans_brelse(struct xfs_trans * tp,struct xfs_buf * bp) xfs_trans_brelse() argument
417 xfs_trans_bdetach(struct xfs_trans * tp,struct xfs_buf * bp) xfs_trans_bdetach() argument
460 xfs_trans_bhold(xfs_trans_t * tp,struct xfs_buf * bp) xfs_trans_bhold() argument
481 xfs_trans_bhold_release(xfs_trans_t * tp,struct xfs_buf * bp) xfs_trans_bhold_release() argument
502 xfs_trans_dirty_buf(struct xfs_trans * tp,struct xfs_buf * bp) xfs_trans_dirty_buf() argument
549 xfs_trans_log_buf(struct xfs_trans * tp,struct xfs_buf * bp,uint first,uint last) xfs_trans_log_buf() argument
597 xfs_trans_binval(xfs_trans_t * tp,struct xfs_buf * bp) xfs_trans_binval() argument
652 xfs_trans_inode_buf(xfs_trans_t * tp,struct xfs_buf * bp) xfs_trans_inode_buf() argument
677 xfs_trans_stale_inode_buf(xfs_trans_t * tp,struct xfs_buf * bp) xfs_trans_stale_inode_buf() argument
702 xfs_trans_inode_alloc_buf(xfs_trans_t * tp,struct xfs_buf * bp) xfs_trans_inode_alloc_buf() argument
725 xfs_trans_ordered_buf(struct xfs_trans * tp,struct xfs_buf * bp) xfs_trans_ordered_buf() argument
754 xfs_trans_buf_set_type(struct xfs_trans * tp,struct xfs_buf * bp,enum xfs_blft type) xfs_trans_buf_set_type() argument
796 xfs_trans_dquot_buf(xfs_trans_t * tp,struct xfs_buf * bp,uint type) xfs_trans_dquot_buf() argument
[all...]
/linux/drivers/sbus/char/
H A Dbbc_envctrl.c120 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 Dpnic2.c81 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 Dtulip_core.c117 struct tulip_private *tp = timer_container_of(tp, t, timer); in tulip_timer() local
118 struct net_device *dev = tp->dev; in tulip_timer()
121 schedule_work(&tp->media_work); in tulip_timer()
264 static void tulip_set_power_state (struct tulip_private *tp, in tulip_set_power_state() argument
267 if (tp->flags & HAS_ACPI) { in tulip_set_power_state()
269 pci_read_config_dword (tp->pdev, CFDD, &tmp); in tulip_set_power_state()
276 pci_write_config_dword (tp->pdev, CFDD, newtmp); in tulip_set_power_state()
284 struct tulip_private *tp = netdev_priv(dev); in tulip_up() local
285 void __iomem *ioaddr = tp->base_addr; in tulip_up()
291 napi_enable(&tp->napi); in tulip_up()
[all …]
H A Dinterrupt.c61 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->rx_buffers[entry].skb = NULL; in tulip_refill_rx()
85 tp->rx_buffers[entry].mapping = mapping; in tulip_refill_rx()
87 tp->rx_ring[entry].buffer1 = cpu_to_le32(mapping); in tulip_refill_rx()
[all …]
H A D21142.c30 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 Dtimer.c19 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 Dpnic.c21 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 …]
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase_main.c104 static void rtase_w8(const struct rtase_private *tp, u16 reg, u8 val8) in rtase_w8() argument
106 writeb(val8, tp->mmio_addr + reg); in rtase_w8()
109 static void rtase_w16(const struct rtase_private *tp, u16 reg, u16 val16) in rtase_w16() argument
111 writew(val16, tp->mmio_addr + reg); in rtase_w16()
114 static void rtase_w32(const struct rtase_private *tp, u16 reg, u32 val32) in rtase_w32() argument
116 writel(val32, tp->mmio_addr + reg); in rtase_w32()
119 static u8 rtase_r8(const struct rtase_private *tp, u16 reg) in rtase_r8() argument
121 return readb(tp->mmio_addr + reg); in rtase_r8()
124 static u16 rtase_r16(const struct rtase_private *tp, u16 reg) in rtase_r16() argument
126 return readw(tp->mmio_addr + reg); in rtase_r16()
[all …]
/linux/drivers/misc/mei/
H A Dvsc-tp.c104 struct vsc_tp *tp = data; in vsc_tp_isr() local
106 atomic_inc(&tp->assert_cnt); in vsc_tp_isr()
108 wake_up(&tp->xfer_wait); in vsc_tp_isr()
110 schedule_work(&tp->event_work); in vsc_tp_isr()
117 struct vsc_tp *tp = container_of(work, struct vsc_tp, event_work); in vsc_tp_event_work() local
119 guard(mutex)(&tp->event_notify_mutex); in vsc_tp_event_work()
121 if (tp->event_notify) in vsc_tp_event_work()
122 tp->event_notify(tp->event_notify_context); in vsc_tp_event_work()
126 static int vsc_tp_wakeup_request(struct vsc_tp *tp) in vsc_tp_wakeup_request() argument
130 gpiod_set_value_cansleep(tp->wakeupfw, 0); in vsc_tp_wakeup_request()
[all …]
/linux/net/ipv4/
H A Dtcp_input.c124 void clean_acked_data_enable(struct tcp_sock *tp, in clean_acked_data_enable() argument
127 tp->tcp_clean_acked = cad; in clean_acked_data_enable()
132 void clean_acked_data_disable(struct tcp_sock *tp) in clean_acked_data_disable() argument
135 tp->tcp_clean_acked = NULL; in clean_acked_data_disable()
252 struct tcp_sock *tp = tcp_sk(sk); in tcp_measure_rcv_mss() local
257 if (tp->window_clamp < tp->rcvq_space.space) in tcp_measure_rcv_mss()
258 tp->rcvq_space.space = tp->window_clamp; in tcp_measure_rcv_mss()
346 struct tcp_sock *tp in 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
498 struct tcp_sock *tp = tcp_sk(sk); __tcp_accecn_process() local
567 struct tcp_sock *tp = tcp_sk(sk); tcp_accecn_process() local
589 const struct tcp_sock *tp = tcp_sk(sk); tcp_sndbuf_expand() local
648 const struct tcp_sock *tp = tcp_sk(sk); __tcp_grow_window() local
685 struct tcp_sock *tp = tcp_sk(sk); tcp_grow_window() local
725 struct tcp_sock *tp = tcp_sk(sk); tcp_init_buffer_space() local
762 struct tcp_sock *tp = tcp_sk(sk); tcp_clamp_window() local
790 const struct tcp_sock *tp = tcp_sk(sk); tcp_initialize_rcv_mss() local
812 tcp_rcv_rtt_update(struct tcp_sock * tp,u32 sample,int win_dep) tcp_rcv_rtt_update() argument
841 tcp_rcv_rtt_measure(struct tcp_sock * tp) tcp_rcv_rtt_measure() argument
859 tcp_rtt_tsopt_us(const struct tcp_sock * tp,u32 min_delta) tcp_rtt_tsopt_us() argument
879 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_rtt_measure_ts() local
897 struct tcp_sock *tp = tcp_sk(sk); tcp_rcvbuf_grow() local
945 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_space_adjust() local
1000 struct tcp_sock *tp = tcp_sk(sk); tcp_event_data_recv() local
1055 struct tcp_sock *tp = tcp_sk(sk); tcp_rtt_estimator() local
1123 const struct tcp_sock *tp = tcp_sk(sk); tcp_update_pacing_rate() local
1160 const struct tcp_sock *tp = tcp_sk(sk); tcp_set_rto() local
1185 tcp_init_cwnd(const struct tcp_sock * tp,const struct dst_entry * dst) tcp_init_cwnd() argument
1215 tcp_dsack_seen(struct tcp_sock * tp,u32 start_seq,u32 end_seq,struct tcp_sacktag_state * state) tcp_dsack_seen() argument
1261 struct tcp_sock *tp = tcp_sk(sk); tcp_check_sack_reordering() local
1294 tcp_verify_retransmit_hint(struct tcp_sock * tp,struct sk_buff * skb) tcp_verify_retransmit_hint() argument
1306 tcp_notify_skb_loss_event(struct tcp_sock * tp,const struct sk_buff * skb) tcp_notify_skb_loss_event() argument
1314 struct tcp_sock *tp = tcp_sk(sk); tcp_mark_skb_lost() local
1429 tcp_is_sackblock_valid(struct tcp_sock * tp,bool is_dsack,u32 start_seq,u32 end_seq) tcp_is_sackblock_valid() argument
1470 struct tcp_sock *tp = tcp_sk(sk); tcp_check_dsack() local
1568 struct tcp_sock *tp = tcp_sk(sk); tcp_sacktag_one() local
1649 struct tcp_sock *tp = tcp_sk(sk); tcp_shifted_skb() local
1755 struct tcp_sock *tp = tcp_sk(sk); tcp_shift_skb_data() local
1894 struct tcp_sock *tp = tcp_sk(sk); tcp_sacktag_walk() local
2010 tcp_sack_cache_ok(const struct tcp_sock * tp,const struct tcp_sack_block * cache) tcp_sack_cache_ok() argument
2019 struct tcp_sock *tp = tcp_sk(sk); tcp_sacktag_write_queue() local
2214 tcp_limit_reno_sacked(struct tcp_sock * tp) tcp_limit_reno_sacked() argument
2234 struct tcp_sock *tp = tcp_sk(sk); tcp_check_reno_reordering() local
2250 struct tcp_sock *tp = tcp_sk(sk); tcp_add_reno_sack() local
2267 struct tcp_sock *tp = tcp_sk(sk); tcp_remove_reno_sacks() local
2282 tcp_reset_reno_sack(struct tcp_sock * tp) tcp_reset_reno_sack() argument
2287 tcp_clear_retrans(struct tcp_sock * tp) tcp_clear_retrans() argument
2300 tcp_init_undo(struct tcp_sock * tp) tcp_init_undo() argument
2321 struct tcp_sock *tp = tcp_sk(sk); tcp_timeout_mark_lost() local
2352 struct tcp_sock *tp = tcp_sk(sk); tcp_enter_loss() local
2410 struct tcp_sock *tp = tcp_sk(sk); tcp_check_sack_reneging() local
2512 tcp_time_to_recover(const struct tcp_sock * tp) tcp_time_to_recover() argument
2518 tcp_tsopt_ecr_before(const struct tcp_sock * tp,u32 when) tcp_tsopt_ecr_before() argument
2527 tcp_skb_spurious_retrans(const struct tcp_sock * tp,const struct sk_buff * skb) tcp_skb_spurious_retrans() argument
2537 tcp_packet_delayed(const struct tcp_sock * tp) tcp_packet_delayed() argument
2588 const struct tcp_sock *tp = tcp_sk(sk); tcp_any_retrans_done() local
2614 struct tcp_sock *tp = tcp_sk(sk); DBGUNDO() local
2640 struct tcp_sock *tp = tcp_sk(sk); tcp_undo_cwnd_reduction() local
2667 tcp_may_undo(const struct tcp_sock * tp) tcp_may_undo() argument
2674 struct tcp_sock *tp = tcp_sk(sk); tcp_is_non_sack_preventing_reopen() local
2690 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_recovery() local
2719 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_dsack() local
2735 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_loss() local
2768 struct tcp_sock *tp = tcp_sk(sk); tcp_init_cwnd_reduction() local
2782 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_reduction() local
2810 struct tcp_sock *tp = tcp_sk(sk); tcp_end_cwnd_reduction() local
2827 struct tcp_sock *tp = tcp_sk(sk); tcp_enter_cwr() local
2840 struct tcp_sock *tp = tcp_sk(sk); tcp_try_keep_open() local
2854 struct tcp_sock *tp = tcp_sk(sk); tcp_try_to_open() local
2880 struct tcp_sock *tp = tcp_sk(sk); tcp_mtup_probe_success() local
2914 struct tcp_sock *tp = tcp_sk(sk); tcp_non_congestion_loss_retransmit() local
2932 struct tcp_sock *tp = tcp_sk(sk); tcp_simple_retransmit() local
2975 struct tcp_sock *tp = tcp_sk(sk); tcp_enter_recovery() local
2999 tcp_update_rto_time(struct tcp_sock * tp) tcp_update_rto_time() argument
3013 struct tcp_sock *tp = tcp_sk(sk); tcp_process_loss() local
3066 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_partial() local
3095 struct tcp_sock *tp = tcp_sk(sk); tcp_identify_packet_loss() local
3128 struct tcp_sock *tp = tcp_sk(sk); tcp_fastretrans_alert() local
3242 struct tcp_sock *tp = tcp_sk(sk); tcp_update_rtt_min() local
3259 const struct tcp_sock *tp = tcp_sk(sk); tcp_ack_update_rtt() local
3323 struct tcp_sock *tp = tcp_sk(sk); tcp_rearm_rto() local
3358 struct tcp_sock *tp = tcp_sk(sk); tcp_tso_acked() local
3404 struct tcp_sock *tp = tcp_sk(sk); tcp_clean_rtx_queue() local
3607 const struct tcp_sock *tp = tcp_sk(sk); tcp_ack_probe() local
3677 tcp_may_update_window(const struct tcp_sock * tp,const u32 ack,const u32 ack_seq,const u32 nwin) tcp_may_update_window() argument
3686 tcp_snd_sne_update(struct tcp_sock * tp,u32 ack) tcp_snd_sne_update() argument
3704 tcp_snd_una_update(struct tcp_sock * tp,u32 ack) tcp_snd_una_update() argument
3714 tcp_rcv_sne_update(struct tcp_sock * tp,u32 seq) tcp_rcv_sne_update() argument
3732 tcp_rcv_nxt_update(struct tcp_sock * tp,u32 seq) tcp_rcv_nxt_update() argument
3750 struct tcp_sock *tp = tcp_sk(sk); tcp_ack_update_window() local
3829 struct tcp_sock *tp = tcp_sk(sk); tcp_send_ack_reflect_ect() local
3840 struct tcp_sock *tp = tcp_sk(sk); tcp_send_challenge_ack() local
3872 tcp_store_ts_recent(struct tcp_sock * tp) tcp_store_ts_recent() argument
3878 __tcp_replace_ts_recent(struct tcp_sock * tp,s32 tstamp_delta) __tcp_replace_ts_recent() argument
3884 tcp_replace_ts_recent(struct tcp_sock * tp,u32 seq) tcp_replace_ts_recent() argument
3910 struct tcp_sock *tp = tcp_sk(sk); tcp_process_tlp_ack() local
3963 struct tcp_sock *tp = tcp_sk(sk); tcp_xmit_recovery() local
3983 struct tcp_sock *tp = tcp_sk(sk); tcp_newly_delivered() local
4002 struct tcp_sock *tp = tcp_sk(sk); tcp_ack() local
4422 tcp_parse_aligned_timestamp(struct tcp_sock * tp,const struct tcphdr * th) tcp_parse_aligned_timestamp() argument
4446 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
4567 const struct tcp_sock *tp = tcp_sk(sk); tcp_disordered_ack_check() local
4616 const struct tcp_sock *tp = tcp_sk(sk); tcp_sequence() local
4693 struct tcp_sock *tp = tcp_sk(sk); tcp_fin() local
4774 struct tcp_sock *tp = tcp_sk(sk); tcp_dsack_set() local
4794 struct tcp_sock *tp = tcp_sk(sk); tcp_dsack_extend() local
4827 struct tcp_sock *tp = tcp_sk(sk); tcp_send_dupack() local
4850 tcp_sack_maybe_coalesce(struct tcp_sock * tp) tcp_sack_maybe_coalesce() argument
4878 struct tcp_sock *tp = tcp_sk(sk); tcp_sack_compress_send_ack() local
4905 struct tcp_sock *tp = tcp_sk(sk); tcp_sack_new_ofo_skb() local
4952 tcp_sack_remove(struct tcp_sock * tp) tcp_sack_remove() argument
5061 struct tcp_sock *tp = tcp_sk(sk); tcp_ofo_queue() local
5150 struct tcp_sock *tp = tcp_sk(sk); tcp_data_queue_ofo() local
5376 struct tcp_sock *tp = tcp_sk(sk); tcp_data_queue() local
5666 struct tcp_sock *tp = tcp_sk(sk); tcp_collapse_ofo_queue() local
5726 struct tcp_sock *tp = tcp_sk(sk); tcp_prune_ofo_queue() local
5780 struct tcp_sock *tp = tcp_sk(sk); tcp_prune_queue() local
5827 const struct tcp_sock *tp = tcp_sk(sk); tcp_should_expand_sndbuf() local
5862 struct tcp_sock *tp = tcp_sk(sk); tcp_new_space() local
5905 struct tcp_sock *tp = tcp_sk(sk); __tcp_ack_snd_check() local
6001 struct tcp_sock *tp = tcp_sk(sk); tcp_check_urg() local
6067 struct tcp_sock *tp = tcp_sk(sk); tcp_urg() local
6100 const struct tcp_sock *tp = tcp_sk(sk); tcp_reset_check() local
6113 struct tcp_sock *tp = tcp_sk(sk); tcp_validate_incoming() local
6289 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_established() local
6494 struct tcp_sock *tp = tcp_sk(sk); tcp_init_transfer() local
6521 struct tcp_sock *tp = tcp_sk(sk); tcp_finish_connect() local
6553 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_fastopen_synack() local
6613 smc_check_reset_syn(struct tcp_sock * tp) smc_check_reset_syn() argument
6625 struct tcp_sock *tp = tcp_sk(sk); tcp_try_undo_spurious_syn() local
6642 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_synsent_state_process() local
6889 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_synrecv_state_fastopen() local
6938 struct tcp_sock *tp = tcp_sk(sk); tcp_rcv_state_process() local
7383 struct tcp_sock *tp = tcp_sk(sk); tcp_get_syncookie_mss() local
7412 const struct tcp_sock *tp = tcp_sk(sk); tcp_conn_request() local
[all...]
H A Dtcp_recovery.c7 const struct tcp_sock *tp = tcp_sk(sk); in tcp_rack_reo_wnd() local
9 if (!tp->reord_seen) { in tcp_rack_reo_wnd()
16 if (tp->sacked_out >= tp->reordering && in tcp_rack_reo_wnd()
28 return min((tcp_min_rtt(tp) >> 2) * tp->rack.reo_wnd_steps, in tcp_rack_reo_wnd()
29 tp->srtt_us >> 3); in tcp_rack_reo_wnd()
32 s32 tcp_rack_skb_timeout(struct tcp_sock *tp, struct sk_buff *skb, u32 reo_wnd) in tcp_rack_skb_timeout() argument
34 return tp->rack.rtt_us + reo_wnd - in tcp_rack_skb_timeout()
35 tcp_stamp_us_delta(tp in tcp_rack_skb_timeout()
60 struct tcp_sock *tp = tcp_sk(sk); tcp_rack_detect_loss() local
97 struct tcp_sock *tp = tcp_sk(sk); tcp_rack_mark_lost() local
118 tcp_rack_advance(struct tcp_sock * tp,u8 sacked,u32 end_seq,u64 xmit_time) tcp_rack_advance() argument
151 struct tcp_sock *tp = tcp_sk(sk); tcp_rack_reo_timeout() local
189 struct tcp_sock *tp = tcp_sk(sk); tcp_rack_update_reo_wnd() local
220 struct tcp_sock *tp = tcp_sk(sk); tcp_newreno_mark_lost() local
[all...]
H A Dtcp_rate.c
H A Dtcp_output.c58 void tcp_mstamp_refresh(struct tcp_sock *tp) in tcp_mstamp_refresh() argument
62 tp->tcp_clock_cache = val; in tcp_mstamp_refresh()
63 tp->tcp_mstamp = div_u64(val, NSEC_PER_USEC); in tcp_mstamp_refresh()
92 struct tcp_sock *tp = tcp_sk(sk);
93 unsigned int prior_packets = tp->packets_out;
95 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq);
100 if (tp->highest_sack == NULL) in tcp_acceptable_seq()
101 tp->highest_sack = skb; in tcp_acceptable_seq()
103 tp->packets_out += tcp_skb_pcount(skb); in tcp_acceptable_seq()
121 const struct tcp_sock *tp
73 struct tcp_sock *tp = tcp_sk(sk); tcp_event_new_data_sent() local
102 const struct tcp_sock *tp = tcp_sk(sk); tcp_acceptable_seq() local
128 struct tcp_sock *tp = tcp_sk(sk); tcp_advertise_mss() local
149 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_restart() local
166 tcp_event_data_sent(struct tcp_sock * tp,struct sock * sk) tcp_event_data_sent() argument
187 struct tcp_sock *tp = tcp_sk(sk); tcp_event_ack_sent() local
265 struct tcp_sock *tp = tcp_sk(sk); tcp_select_window() local
331 struct tcp_sock *tp = tcp_sk(sk); tcp_ecn_send() local
379 tcp_urg_mode(const struct tcp_sock * tp) tcp_urg_mode() argument
425 mptcp_options_write(struct tcphdr * th,__be32 * ptr,struct tcp_sock * tp,struct tcp_out_options * opts) mptcp_options_write() argument
575 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
631 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
806 smc_set_option(struct tcp_sock * tp,struct tcp_out_options * opts,unsigned int * remaining) smc_set_option() argument
823 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
938 struct tcp_sock *tp = tcp_sk(sk); tcp_syn_options() local
1127 struct tcp_sock *tp = tcp_sk(sk); tcp_established_options() local
1236 struct tcp_sock *tp = tcp_sk(sk); tcp_tsq_write() local
1270 struct tcp_sock *tp; tcp_tsq_workfn() local
1356 struct tcp_sock *tp = tcp_sk(sk); tcp_wfree() local
1402 struct tcp_sock *tp = container_of(timer, struct tcp_sock, pacing_timer); tcp_pace_kick() local
1414 struct tcp_sock *tp = tcp_sk(sk); tcp_update_skb_after_send() local
1455 struct tcp_sock *tp; __tcp_transmit_skb() local
1660 struct tcp_sock *tp = tcp_sk(sk); tcp_queue_skb() local
1695 struct tcp_sock *tp = tcp_sk(sk); tcp_adjust_pcount() local
1763 struct tcp_sock *tp = tcp_sk(sk); tcp_fragment() local
1913 const struct tcp_sock *tp = tcp_sk(sk); __tcp_mtu_to_mss() local
1947 const struct tcp_sock *tp = tcp_sk(sk); tcp_mss_to_mtu() local
1960 struct tcp_sock *tp = tcp_sk(sk); tcp_mtup_init() local
1997 struct tcp_sock *tp = tcp_sk(sk); tcp_sync_mss() local
2022 const struct tcp_sock *tp = tcp_sk(sk); tcp_current_mss() local
2057 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_application_limited() local
2076 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_validate() local
2123 tcp_minshall_check(const struct tcp_sock * tp) tcp_minshall_check() argument
2137 tcp_minshall_update(struct tcp_sock * tp,unsigned int mss_now,const struct sk_buff * skb) tcp_minshall_update() argument
2151 tcp_nagle_check(bool partial,const struct tcp_sock * tp,int nonagle) tcp_nagle_check() argument
2213 const struct tcp_sock *tp = tcp_sk(sk); tcp_mss_split_point() local
2241 tcp_cwnd_test(const struct tcp_sock * tp) tcp_cwnd_test() argument
2275 tcp_nagle_test(const struct tcp_sock * tp,const struct sk_buff * skb,unsigned int cur_mss,int nonagle) tcp_nagle_test() argument
2298 tcp_snd_wnd_test(const struct tcp_sock * tp,const struct sk_buff * skb,unsigned int cur_mss) tcp_snd_wnd_test() argument
2377 struct tcp_sock *tp = tcp_sk(sk); tcp_tso_should_defer() local
2485 struct tcp_sock *tp = tcp_sk(sk); tcp_mtu_check_reprobe() local
2603 struct tcp_sock *tp = tcp_sk(sk); tcp_mtu_probe() local
2733 struct tcp_sock *tp = tcp_sk(sk); tcp_pacing_check() local
2819 tcp_chrono_set(struct tcp_sock * tp,const enum tcp_chrono new) tcp_chrono_set() argument
2832 struct tcp_sock *tp = tcp_sk(sk); tcp_chrono_start() local
2845 struct tcp_sock *tp = tcp_sk(sk); tcp_chrono_stop() local
2907 struct tcp_sock *tp = tcp_sk(sk); tcp_write_xmit() local
3042 struct tcp_sock *tp = tcp_sk(sk); tcp_schedule_loss_probe() local
3112 struct tcp_sock *tp = tcp_sk(sk); tcp_send_loss_probe() local
3257 struct tcp_sock *tp = tcp_sk(sk); __tcp_select_window() local
3393 struct tcp_sock *tp = tcp_sk(sk); tcp_collapse_retrans() local
3452 struct tcp_sock *tp = tcp_sk(sk); tcp_retrans_try_collapse() local
3493 struct tcp_sock *tp = tcp_sk(sk); __tcp_retransmit_skb() local
3634 struct tcp_sock *tp = tcp_sk(sk); tcp_retransmit_skb() local
3666 struct tcp_sock *tp = tcp_sk(sk); tcp_xmit_retransmit_queue() local
3768 struct tcp_sock *tp = tcp_sk(sk); tcp_send_fin() local
3902 const struct tcp_sock *tp = tcp_sk(sk); tcp_make_synack() local
4068 struct tcp_sock *tp = tcp_sk(sk); tcp_connect_init() local
4142 struct tcp_sock *tp = tcp_sk(sk); tcp_connect_queue_skb() local
4163 struct tcp_sock *tp = tcp_sk(sk); tcp_send_syn_data() local
4259 struct tcp_sock *tp = tcp_sk(sk); tcp_connect() local
4379 const struct tcp_sock *tp = tcp_sk(sk); tcp_send_delayed_ack() local
4486 struct tcp_sock *tp = tcp_sk(sk); tcp_xmit_probe_skb() local
4519 struct tcp_sock *tp = tcp_sk(sk); tcp_write_wakeup() local
4566 struct tcp_sock *tp = tcp_sk(sk); tcp_send_probe0() local
[all...]
/linux/drivers/net/ethernet/sis/
H A Dsis190.c400 struct sis190_private *tp = netdev_priv(dev); in __mdio_write() local
402 mdio_write(tp->mmio_addr, phy_id, reg, val); in __mdio_write()
407 struct sis190_private *tp = netdev_priv(dev); in __mdio_read() local
409 return mdio_read(tp->mmio_addr, phy_id, reg); in __mdio_read()
487 static struct sk_buff *sis190_alloc_rx_skb(struct sis190_private *tp, in sis190_alloc_rx_skb() argument
490 u32 rx_buf_sz = tp->rx_buf_sz; in sis190_alloc_rx_skb()
494 skb = netdev_alloc_skb(tp->dev, rx_buf_sz); in sis190_alloc_rx_skb()
497 mapping = dma_map_single(&tp->pci_dev->dev, skb->data, tp->rx_buf_sz, in sis190_alloc_rx_skb()
499 if (dma_mapping_error(&tp->pci_dev->dev, mapping)) in sis190_alloc_rx_skb()
512 static u32 sis190_rx_fill(struct sis190_private *tp, struct net_device *dev, in sis190_rx_fill() argument
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dtp.c54 void t1_tp_destroy(struct petp *tp) in t1_tp_destroy() argument
56 kfree(tp); in t1_tp_destroy()
61 struct petp *tp = kzalloc(sizeof(*tp), GFP_KERNEL); in t1_tp_create() local
63 if (!tp) in t1_tp_create()
66 tp->adapter = adapter; in t1_tp_create()
68 return tp; in t1_tp_create()
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/fs/xfs/libxfs/
H A Dxfs_defer.c189 struct xfs_trans *tp, in xfs_defer_barrier_create_intent() argument
206 struct xfs_trans *tp, in xfs_defer_barrier_create_done() argument
215 struct xfs_trans *tp, in xfs_defer_barrier_finish_item() argument
243 struct xfs_trans *tp, in xfs_defer_create_done() argument
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() argument
286 lip = dfp->dfp_ops->create_intent(tp, in xfs_defer_create_intent()
310 xfs_defer_create_intents(struct xfs_trans * tp) xfs_defer_create_intents() argument
376 xfs_defer_trans_abort(struct xfs_trans * tp,struct list_head * dop_pending) xfs_defer_trans_abort() argument
390 xfs_defer_save_resources(struct xfs_defer_resources * dres,struct xfs_trans * tp) xfs_defer_save_resources() argument
440 xfs_defer_restore_resources(struct xfs_trans * tp,struct xfs_defer_resources * dres) xfs_defer_restore_resources() argument
509 xfs_defer_relog_intent(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_relog_intent() argument
580 xfs_defer_finish_one(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_finish_one() argument
630 xfs_defer_isolate_paused(struct xfs_trans * tp,struct list_head * paused_list) xfs_defer_isolate_paused() argument
655 xfs_defer_finish_noroll(struct xfs_trans ** tp) xfs_defer_finish_noroll() argument
730 xfs_defer_finish(struct xfs_trans ** tp) xfs_defer_finish() argument
764 xfs_defer_cancel(struct xfs_trans * tp) xfs_defer_cancel() argument
779 xfs_defer_find_last(struct xfs_trans * tp,const struct xfs_defer_op_type * ops) xfs_defer_find_last() argument
841 xfs_defer_add(struct xfs_trans * tp,struct list_head * li,const struct xfs_defer_op_type * ops) xfs_defer_add() argument
870 xfs_defer_add_barrier(struct xfs_trans * tp) xfs_defer_add_barrier() argument
971 xfs_defer_ops_capture(struct xfs_trans * tp) xfs_defer_ops_capture() argument
1057 xfs_defer_ops_capture_and_commit(struct xfs_trans * tp,struct list_head * capture_list) xfs_defer_ops_capture_and_commit() argument
1093 xfs_defer_ops_continue(struct xfs_defer_capture * dfc,struct xfs_trans * tp,struct xfs_defer_resources * dres) xfs_defer_ops_continue() argument
1221 xfs_defer_item_pause(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_item_pause() argument
1237 xfs_defer_item_unpause(struct xfs_trans * tp,struct xfs_defer_pending * dfp) xfs_defer_item_unpause() argument
[all...]
/linux/tools/perf/util/
H A Dcputopo.c35 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->die_cpus_lists) { in build_cpu_topology()
[all …]
/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c454 typhoon_hello(struct typhoon *tp) in typhoon_hello() argument
456 struct basic_ring *ring = &tp->cmdRing; in typhoon_hello()
463 if (spin_trylock(&tp->command_lock)) { in typhoon_hello()
469 iowrite32(ring->lastWrite, tp->ioaddr + TYPHOON_REG_CMD_READY); in typhoon_hello()
470 spin_unlock(&tp->command_lock); in typhoon_hello()
475 typhoon_process_response(struct typhoon *tp, int resp_size, in typhoon_process_response() argument
478 struct typhoon_indexes *indexes = tp->indexes; in typhoon_process_response()
480 u8 *base = tp->respRing.ringBase; in typhoon_process_response()
511 typhoon_media_status(tp->dev, resp); in typhoon_process_response()
513 typhoon_hello(tp); in typhoon_process_response()
[all …]
/linux/drivers/pinctrl/intel/
H A Dpinctrl-tangier.c68 static const struct tng_family *tng_get_family(struct tng_pinctrl *tp, in tng_get_family() argument
74 for (i = 0; i < tp->nfamilies; i++) { in tng_get_family()
75 family = &tp->families[i]; in tng_get_family()
81 dev_warn(tp->dev, "failed to find family for pin %u\n", pin); in tng_get_family()
85 static bool tng_buf_available(struct tng_pinctrl *tp, unsigned int pin) in tng_buf_available() argument
89 family = tng_get_family(tp, pin); in tng_buf_available()
96 static void __iomem *tng_get_bufcfg(struct tng_pinctrl *tp, unsigned int pin) in tng_get_bufcfg() argument
101 family = tng_get_family(tp, pin); in tng_get_bufcfg()
109 static int tng_read_bufcfg(struct tng_pinctrl *tp, unsigned int pin, u32 *value) in tng_read_bufcfg() argument
113 if (!tng_buf_available(tp, pi in tng_read_bufcfg()
122 tng_update_bufcfg(struct tng_pinctrl * tp,unsigned int pin,u32 bits,u32 mask) tng_update_bufcfg() argument
137 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_get_groups_count() local
145 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_get_group_name() local
153 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_get_group_pins() local
163 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_pin_dbg_show() local
191 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_get_functions_count() local
199 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_get_function_name() local
209 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_get_function_groups() local
220 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_pinmux_set_mux() local
248 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_gpio_request_enable() local
273 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_config_get() local
356 tng_config_set_pin(struct tng_pinctrl * tp,unsigned int pin,unsigned long config) tng_config_set_pin() argument
443 struct tng_pinctrl *tp = pinctrl_dev_get_drvdata(pctldev); tng_config_set() local
526 struct tng_pinctrl *tp; tng_pinctrl_probe() local
[all...]

12345678910>>...20