/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | con3270.c | 140 static void tty3270_set_timer(struct tty3270 *tp, int expires) in tty3270_set_timer() argument 142 mod_timer(&tp->timer, jiffies + expires); in tty3270_set_timer() 145 static int tty3270_tty_rows(struct tty3270 *tp) in tty3270_tty_rows() argument 147 return tp->view.rows - TTY3270_INPUT_AREA_ROWS; in tty3270_tty_rows() 150 static char *tty3270_add_ba(struct tty3270 *tp, char *cp, char order, int x, int y) in tty3270_add_ba() argument 153 raw3270_buffer_address(tp->view.dev, cp, x, y); in tty3270_add_ba() 157 static char *tty3270_add_ra(struct tty3270 *tp, char *cp, int x, int y, char c) in tty3270_add_ra() argument 159 cp = tty3270_add_ba(tp, cp, TO_RA, x, y); in tty3270_add_ra() 164 static char *tty3270_add_sa(struct tty3270 *tp, char *cp, char attr, char value) in tty3270_add_sa() argument 172 static char *tty3270_add_ge(struct tty3270 *tp, cha argument 179 tty3270_add_sf(struct tty3270 *tp, char *cp, char type) tty3270_add_sf() argument 186 tty3270_line_increment(struct tty3270 *tp, unsigned int line, unsigned int incr) tty3270_line_increment() argument 191 tty3270_get_write_line(struct tty3270 *tp, unsigned int num) tty3270_get_write_line() argument 196 tty3270_get_view_line(struct tty3270 *tp, unsigned int num) tty3270_get_view_line() argument 206 tty3270_update_prompt(struct tty3270 *tp, char *input) tty3270_update_prompt() argument 216 tty3270_add_prompt(struct tty3270 *tp) tty3270_add_prompt() argument 241 tty3270_ebcdic_convert(struct tty3270 *tp, char *d, char *s) tty3270_ebcdic_convert() argument 252 tty3270_add_status(struct tty3270 *tp) tty3270_add_status() argument 285 tty3270_blank_screen(struct tty3270 *tp) tty3270_blank_screen() argument 303 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); tty3270_write_callback() local 314 tty3270_required_length(struct tty3270 *tp, struct tty3270_line *line) tty3270_required_length() argument 353 tty3270_add_reset_attributes(struct tty3270 *tp, struct tty3270_line *line, char *cp, struct tty3270_attribute *attr, int lineno) tty3270_add_reset_attributes() argument 367 tty3270_graphics_translate(struct tty3270 *tp, char ch) tty3270_graphics_translate() argument 397 tty3270_add_attributes(struct tty3270 *tp, struct tty3270_line *line, struct tty3270_attribute *attr, char *cp, int lineno) tty3270_add_attributes() argument 455 tty3270_convert_line(struct tty3270 *tp, struct tty3270_line *line, int lineno) tty3270_convert_line() argument 472 tty3270_update_lines_visible(struct tty3270 *tp, struct raw3270_request *rq) tty3270_update_lines_visible() argument 493 tty3270_update_lines_all(struct tty3270 *tp, struct raw3270_request *rq) tty3270_update_lines_all() argument 526 struct tty3270 *tp = from_timer(tp, t, timer); tty3270_update() local 585 tty3270_rcl_add(struct tty3270 *tp, char *input, int len) tty3270_rcl_add() argument 600 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_rcl_backward() local 620 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_exit_tty() local 625 tty3270_redraw(struct tty3270 *tp) tty3270_redraw() argument 640 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_scroll_forward() local 657 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_scroll_backward() local 674 struct tty3270 *tp = container_of(rrq->view, struct tty3270, view); tty3270_read_tasklet() local 734 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); tty3270_read_callback() local 744 tty3270_issue_read(struct tty3270 *tp, int lock) tty3270_issue_read() argument 773 struct tty3270 *tp = (struct tty3270 *)data; tty3270_hangup_tasklet() local 784 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_activate() local 793 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_deactivate() local 798 tty3270_irq(struct tty3270 *tp, struct raw3270_request *rq, struct irb *irb) tty3270_irq() argument 829 struct tty3270 *tp; tty3270_alloc_view() local 876 tty3270_free_view(struct tty3270 *tp) tty3270_free_view() argument 890 tty3270_alloc_screen(struct tty3270 *tp, unsigned int rows, unsigned int cols, int *allocated_out) tty3270_alloc_screen() argument 966 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_resize() local 1043 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_release() local 1060 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_free() local 1097 struct tty3270 *tp; tty3270_create_view() local 1183 struct tty3270 *tp; tty3270_install() local 1214 struct tty3270 *tp = tty->driver_data; tty3270_open() local 1228 struct tty3270 *tp = tty->driver_data; tty3270_close() local 1238 struct tty3270 *tp = tty->driver_data; tty3270_cleanup() local 1258 tty3270_put_character(struct tty3270 *tp, char ch) tty3270_put_character() argument 1282 tty3270_cr(struct tty3270 *tp) tty3270_cr() argument 1290 tty3270_lf(struct tty3270 *tp) tty3270_lf() argument 1309 tty3270_ri(struct tty3270 *tp) tty3270_ri() argument 1315 tty3270_reset_cell(struct tty3270 *tp, struct tty3270_cell *cell) tty3270_reset_cell() argument 1324 tty3270_insert_characters(struct tty3270 *tp, int n) tty3270_insert_characters() argument 1349 tty3270_delete_characters(struct tty3270 *tp, int n) tty3270_delete_characters() argument 1369 tty3270_erase_characters(struct tty3270 *tp, int n) tty3270_erase_characters() argument 1389 tty3270_erase_line(struct tty3270 *tp, int mode) tty3270_erase_line() argument 1430 tty3270_erase_display(struct tty3270 *tp, int mode) tty3270_erase_display() argument 1464 tty3270_set_attributes(struct tty3270 *tp) tty3270_set_attributes() argument 1521 tty3270_getpar(struct tty3270 *tp, int ix) tty3270_getpar() argument 1526 tty3270_goto_xy(struct tty3270 *tp, int cx, int cy) tty3270_goto_xy() argument 1564 tty3270_escape_sequence(struct tty3270 *tp, char ch) tty3270_escape_sequence() argument 1728 tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty, const unsigned char *buf, int count) tty3270_do_write() argument 1809 struct tty3270 *tp; tty3270_write() local 1827 struct tty3270 *tp; tty3270_put_char() local 1842 struct tty3270 *tp; tty3270_flush_chars() local 1858 struct tty3270 *tp; tty3270_set_termios() local 1881 struct tty3270 *tp; tty3270_throttle() local 1894 struct tty3270 *tp; tty3270_unthrottle() local 1909 struct tty3270 *tp; tty3270_hangup() local 1934 struct tty3270 *tp; tty3270_ioctl() local 1948 struct tty3270 *tp; tty3270_compat_ioctl() local 2053 struct tty3270 *tp = co->data; con3270_write() local 2083 con3270_wait_write(struct tty3270 *tp) con3270_wait_write() argument 2102 struct tty3270 *tp; con3270_notify() local 2151 struct tty3270 *tp; con3270_init() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | tty3270.c | 128 static void tty3270_set_timer(struct tty3270 *tp, int expires) in tty3270_set_timer() argument 130 mod_timer(&tp->timer, jiffies + expires); in tty3270_set_timer() 137 tty3270_update_prompt(struct tty3270 *tp, char *input, int count) in tty3270_update_prompt() argument 142 line = tp->prompt; in tty3270_update_prompt() 146 line->string[5] = tp->inattr; in tty3270_update_prompt() 147 if (count > tp->view.cols * 2 - 11) in tty3270_update_prompt() 148 count = tp->view.cols * 2 - 11; in tty3270_update_prompt() 152 if (count < tp->view.cols * 2 - 11) { in tty3270_update_prompt() 155 off = tp->view.cols * tp in tty3270_update_prompt() 164 tty3270_create_prompt(struct tty3270 *tp) tty3270_create_prompt() argument 195 tty3270_update_status(struct tty3270 * tp) tty3270_update_status() argument 206 tty3270_create_status(struct tty3270 * tp) tty3270_create_status() argument 229 tty3270_update_string(struct tty3270 *tp, struct string *line, int nr) tty3270_update_string() argument 245 tty3270_rebuild_update(struct tty3270 *tp) tty3270_rebuild_update() argument 276 tty3270_alloc_string(struct tty3270 *tp, size_t size) tty3270_alloc_string() argument 307 tty3270_blank_line(struct tty3270 *tp) tty3270_blank_line() argument 327 tty3270_blank_screen(struct tty3270 *tp) tty3270_blank_screen() argument 350 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); tty3270_write_callback() local 367 struct tty3270 *tp = from_timer(tp, t, timer); tty3270_update() local 457 tty3270_rcl_add(struct tty3270 *tp, char *input, int len) tty3270_rcl_add() argument 479 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_rcl_backward() local 506 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_exit_tty() local 517 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_scroll_forward() local 539 struct tty3270 *tp = container_of(kbd->port, struct tty3270, port); tty3270_scroll_backward() local 563 struct tty3270 *tp = container_of(rrq->view, struct tty3270, view); tty3270_read_tasklet() local 618 struct tty3270 *tp = container_of(rq->view, struct tty3270, view); tty3270_read_callback() local 628 tty3270_issue_read(struct tty3270 *tp, int lock) tty3270_issue_read() argument 658 struct tty3270 *tp = (struct tty3270 *)data; tty3270_hangup_tasklet() local 669 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_activate() local 679 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_deactivate() local 685 tty3270_irq(struct tty3270 *tp, struct raw3270_request *rq, struct irb *irb) tty3270_irq() argument 717 struct tty3270 *tp; tty3270_alloc_view() local 786 tty3270_free_view(struct tty3270 *tp) tty3270_free_view() argument 848 struct tty3270 *tp = container_of(work, struct tty3270, resize_work); tty3270_resize_work() local 889 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_resize() local 905 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_release() local 923 struct tty3270 *tp = container_of(view, struct tty3270, view); tty3270_free() local 960 struct tty3270 *tp; tty3270_install() local 1038 struct tty3270 *tp = tty->driver_data; tty3270_open() local 1053 struct tty3270 *tp = tty->driver_data; tty3270_close() local 1063 struct tty3270 *tp = tty->driver_data; tty3270_cleanup() local 1084 tty3270_put_character(struct tty3270 *tp, char ch) tty3270_put_character() argument 1110 tty3270_convert_line(struct tty3270 *tp, int line_nr) tty3270_convert_line() argument 1217 tty3270_cr(struct tty3270 *tp) tty3270_cr() argument 1226 tty3270_lf(struct tty3270 *tp) tty3270_lf() argument 1247 tty3270_ri(struct tty3270 *tp) tty3270_ri() argument 1259 tty3270_insert_characters(struct tty3270 *tp, int n) tty3270_insert_characters() argument 1290 tty3270_delete_characters(struct tty3270 *tp, int n) tty3270_delete_characters() argument 1311 tty3270_erase_characters(struct tty3270 *tp, int n) tty3270_erase_characters() argument 1334 tty3270_erase_line(struct tty3270 *tp, int mode) tty3270_erase_line() argument 1364 tty3270_erase_display(struct tty3270 *tp, int mode) tty3270_erase_display() argument 1394 tty3270_set_attributes(struct tty3270 *tp) tty3270_set_attributes() argument 1448 tty3270_getpar(struct tty3270 *tp, int ix) tty3270_getpar() argument 1454 tty3270_goto_xy(struct tty3270 *tp, int cx, int cy) tty3270_goto_xy() argument 1488 tty3270_escape_sequence(struct tty3270 *tp, char ch) tty3270_escape_sequence() argument 1637 tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty, const unsigned char *buf, int count) tty3270_do_write() argument 1714 struct tty3270 *tp; tty3270_write() local 1732 struct tty3270 *tp; tty3270_put_char() local 1748 struct tty3270 *tp; tty3270_flush_chars() local 1781 struct tty3270 *tp; tty3270_set_termios() local 1805 struct tty3270 *tp; tty3270_throttle() local 1819 struct tty3270 *tp; tty3270_unthrottle() local 1835 struct tty3270 *tp; tty3270_hangup() local 1861 struct tty3270 *tp; tty3270_ioctl() local 1875 struct tty3270 *tp; tty3270_compat_ioctl() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 80 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) 81 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) 82 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) 83 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) 84 #define RTL_R16(tp, reg) readw(tp 667 tp_to_dev(struct rtl8169_private *tp) tp_to_dev() argument 672 rtl_lock_config_regs(struct rtl8169_private *tp) rtl_lock_config_regs() argument 677 rtl_unlock_config_regs(struct rtl8169_private *tp) rtl_unlock_config_regs() argument 682 rtl_pci_commit(struct rtl8169_private *tp) rtl_pci_commit() argument 688 rtl_is_8125(struct rtl8169_private *tp) rtl_is_8125() argument 693 rtl_is_8168evl_up(struct rtl8169_private *tp) rtl_is_8168evl_up() argument 700 rtl_supports_eee(struct rtl8169_private *tp) rtl_supports_eee() argument 728 rtl_read_mac_from_reg(struct rtl8169_private *tp, u8 *mac, int reg) rtl_read_mac_from_reg() argument 741 rtl_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long usecs, int n, bool high) rtl_loop_wait() argument 758 rtl_loop_wait_high(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) rtl_loop_wait_high() argument 765 rtl_loop_wait_low(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) rtl_loop_wait_low() argument 782 rtl_ocp_reg_failure(struct rtl8169_private *tp, u32 reg) rtl_ocp_reg_failure() argument 797 r8168_phy_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) r8168_phy_ocp_write() argument 807 r8168_phy_ocp_read(struct rtl8169_private *tp, u32 reg) r8168_phy_ocp_read() argument 818 r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) r8168_mac_ocp_write() argument 826 r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) r8168_mac_ocp_read() argument 836 r8168_mac_ocp_modify(struct rtl8169_private *tp, u32 reg, u16 mask, u16 set) r8168_mac_ocp_modify() argument 844 r8168g_mdio_write(struct rtl8169_private *tp, int reg, int value) r8168g_mdio_write() argument 857 r8168g_mdio_read(struct rtl8169_private *tp, int reg) r8168g_mdio_read() argument 868 mac_mcu_write(struct rtl8169_private *tp, int reg, int value) mac_mcu_write() argument 878 mac_mcu_read(struct rtl8169_private *tp, int reg) mac_mcu_read() argument 888 r8169_mdio_write(struct rtl8169_private *tp, int reg, int value) r8169_mdio_write() argument 900 r8169_mdio_read(struct rtl8169_private *tp, int reg) r8169_mdio_read() argument 923 r8168dp_1_mdio_access(struct rtl8169_private *tp, int reg, u32 data) r8168dp_1_mdio_access() argument 932 r8168dp_1_mdio_write(struct rtl8169_private *tp, int reg, int value) r8168dp_1_mdio_write() argument 938 r8168dp_1_mdio_read(struct rtl8169_private *tp, int reg) r8168dp_1_mdio_read() argument 952 r8168dp_2_mdio_start(struct rtl8169_private *tp) r8168dp_2_mdio_start() argument 957 r8168dp_2_mdio_stop(struct rtl8169_private *tp) r8168dp_2_mdio_stop() argument 962 r8168dp_2_mdio_write(struct rtl8169_private *tp, int reg, int value) r8168dp_2_mdio_write() argument 971 r8168dp_2_mdio_read(struct rtl8169_private *tp, int reg) r8168dp_2_mdio_read() argument 988 rtl_writephy(struct rtl8169_private *tp, int location, int val) rtl_writephy() argument 1007 rtl_readphy(struct rtl8169_private *tp, int location) rtl_readphy() argument 1027 rtl_ephy_write(struct rtl8169_private *tp, int reg_addr, int value) rtl_ephy_write() argument 1037 rtl_ephy_read(struct rtl8169_private *tp, int reg_addr) rtl_ephy_read() argument 1045 r8168fp_adjust_ocp_cmd(struct rtl8169_private *tp, u32 *cmd, int type) r8168fp_adjust_ocp_cmd() argument 1057 _rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, u32 val, int type) _rtl_eri_write() argument 1070 rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, u32 val) rtl_eri_write() argument 1076 _rtl_eri_read(struct rtl8169_private *tp, int addr, int type) _rtl_eri_read() argument 1087 rtl_eri_read(struct rtl8169_private *tp, int addr) rtl_eri_read() argument 1092 rtl_w0w1_eri(struct rtl8169_private *tp, int addr, u32 p, u32 m) rtl_w0w1_eri() argument 1099 rtl_eri_set_bits(struct rtl8169_private *tp, int addr, u32 p) rtl_eri_set_bits() argument 1104 rtl_eri_clear_bits(struct rtl8169_private *tp, int addr, u32 m) rtl_eri_clear_bits() argument 1109 r8168dp_ocp_read(struct rtl8169_private *tp, u16 reg) r8168dp_ocp_read() argument 1116 r8168ep_ocp_read(struct rtl8169_private *tp, u16 reg) r8168ep_ocp_read() argument 1121 r8168dp_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data) r8168dp_ocp_write() argument 1129 r8168ep_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data) r8168ep_ocp_write() argument 1136 r8168dp_oob_notify(struct rtl8169_private *tp, u8 cmd) r8168dp_oob_notify() argument 1147 rtl8168_get_ocp_reg(struct rtl8169_private *tp) rtl8168_get_ocp_reg() argument 1171 rtl8168ep_stop_cmac(struct rtl8169_private *tp) rtl8168ep_stop_cmac() argument 1179 rtl8168dp_driver_start(struct rtl8169_private *tp) rtl8168dp_driver_start() argument 1185 rtl8168ep_driver_start(struct rtl8169_private *tp) rtl8168ep_driver_start() argument 1192 rtl8168_driver_start(struct rtl8169_private *tp) rtl8168_driver_start() argument 1209 rtl8168dp_driver_stop(struct rtl8169_private *tp) rtl8168dp_driver_stop() argument 1215 rtl8168ep_driver_stop(struct rtl8169_private *tp) rtl8168ep_driver_stop() argument 1223 rtl8168_driver_stop(struct rtl8169_private *tp) rtl8168_driver_stop() argument 1240 r8168dp_check_dash(struct rtl8169_private *tp) r8168dp_check_dash() argument 1247 r8168ep_check_dash(struct rtl8169_private *tp) r8168ep_check_dash() argument 1252 r8168_check_dash(struct rtl8169_private *tp) r8168_check_dash() argument 1266 rtl_reset_packet_filter(struct rtl8169_private *tp) rtl_reset_packet_filter() argument 1277 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr) rtl8168d_efuse_read() argument 1285 rtl_get_events(struct rtl8169_private *tp) rtl_get_events() argument 1293 rtl_ack_events(struct rtl8169_private *tp, u32 bits) rtl_ack_events() argument 1301 rtl_irq_disable(struct rtl8169_private *tp) rtl_irq_disable() argument 1309 rtl_irq_enable(struct rtl8169_private *tp) rtl_irq_enable() argument 1317 rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) rtl8169_irq_mask_and_ack() argument 1324 rtl_link_chg_patch(struct rtl8169_private *tp) rtl_link_chg_patch() argument 1364 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_wol() local 1370 __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) __rtl8169_set_wol() argument 1437 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_wol() local 1451 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_drvinfo() local 1470 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_fix_features() local 1482 rtl_set_rx_config_features(struct rtl8169_private *tp, netdev_features_t features) rtl_set_rx_config_features() argument 1505 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_features() local 1544 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_regs() local 1584 rtl8169_do_counters(struct rtl8169_private *tp, u32 counter_cmd) rtl8169_do_counters() argument 1598 rtl8169_reset_counters(struct rtl8169_private *tp) rtl8169_reset_counters() argument 1608 rtl8169_update_counters(struct rtl8169_private *tp) rtl8169_update_counters() argument 1620 rtl8169_init_counter_offsets(struct rtl8169_private *tp) rtl8169_init_counter_offsets() argument 1655 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_ethtool_stats() local 1739 rtl_coalesce_info(struct rtl8169_private *tp) rtl_coalesce_info() argument 1762 struct rtl8169_private *tp = netdev_priv(dev); rtl_get_coalesce() local 1798 rtl_coalesce_choose_scale(struct rtl8169_private *tp, u32 usec, u16 *cp01) rtl_coalesce_choose_scale() argument 1820 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_coalesce() local 1886 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eee() local 1896 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_eee() local 1932 rtl_enable_eee(struct rtl8169_private *tp) rtl_enable_eee() argument 2072 rtl_release_firmware(struct rtl8169_private *tp) rtl_release_firmware() argument 2081 r8169_apply_firmware(struct rtl8169_private *tp) r8169_apply_firmware() argument 2098 rtl8168_config_eee_mac(struct rtl8169_private *tp) rtl8168_config_eee_mac() argument 2107 rtl8125a_config_eee_mac(struct rtl8169_private *tp) rtl8125a_config_eee_mac() argument 2113 rtl8125_set_eee_txidle_timer(struct rtl8169_private *tp) rtl8125_set_eee_txidle_timer() argument 2118 rtl8125b_config_eee_mac(struct rtl8169_private *tp) rtl8125b_config_eee_mac() argument 2124 rtl_rar_exgmac_set(struct rtl8169_private *tp, u8 *addr) rtl_rar_exgmac_set() argument 2138 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp) rtl8168h_2_get_adc_bias_ioffset() argument 2154 rtl_schedule_task(struct rtl8169_private *tp, enum rtl_flag flag) rtl_schedule_task() argument 2160 rtl8169_init_phy(struct rtl8169_private *tp) rtl8169_init_phy() argument 2185 rtl_rar_set(struct rtl8169_private *tp, u8 *addr) rtl_rar_set() argument 2203 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_mac_address() local 2215 rtl_wol_suspend_quirk(struct rtl8169_private *tp) rtl_wol_suspend_quirk() argument 2234 rtl_pll_power_down(struct rtl8169_private *tp) rtl_pll_power_down() argument 2275 rtl_pll_power_up(struct rtl8169_private *tp) rtl_pll_power_up() argument 2307 rtl_init_rxcfg(struct rtl8169_private *tp) rtl_init_rxcfg() argument 2335 rtl8169_init_ring_indexes(struct rtl8169_private *tp) rtl8169_init_ring_indexes() argument 2340 r8168c_hw_jumbo_enable(struct rtl8169_private *tp) r8168c_hw_jumbo_enable() argument 2346 r8168c_hw_jumbo_disable(struct rtl8169_private *tp) r8168c_hw_jumbo_disable() argument 2352 r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) r8168dp_hw_jumbo_enable() argument 2357 r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) r8168dp_hw_jumbo_disable() argument 2362 r8168e_hw_jumbo_enable(struct rtl8169_private *tp) r8168e_hw_jumbo_enable() argument 2369 r8168e_hw_jumbo_disable(struct rtl8169_private *tp) r8168e_hw_jumbo_disable() argument 2376 r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) r8168b_1_hw_jumbo_enable() argument 2381 r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) r8168b_1_hw_jumbo_disable() argument 2386 rtl_jumbo_config(struct rtl8169_private *tp) rtl_jumbo_config() argument 2445 rtl_hw_reset(struct rtl8169_private *tp) rtl_hw_reset() argument 2452 rtl_request_firmware(struct rtl8169_private *tp) rtl_request_firmware() argument 2477 rtl_rx_close(struct rtl8169_private *tp) rtl_rx_close() argument 2503 rtl_wait_txrx_fifo_empty(struct rtl8169_private *tp) rtl_wait_txrx_fifo_empty() argument 2523 rtl_enable_rxdvgate(struct rtl8169_private *tp) rtl_enable_rxdvgate() argument 2530 rtl_set_tx_config_registers(struct rtl8169_private *tp) rtl_set_tx_config_registers() argument 2541 rtl_set_rx_max_size(struct rtl8169_private *tp) rtl_set_rx_max_size() argument 2547 rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp) rtl_set_rx_tx_desc_registers() argument 2560 rtl8169_set_magic_reg(struct rtl8169_private *tp) rtl8169_set_magic_reg() argument 2582 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_rx_mode() local 2623 rtl_csi_write(struct rtl8169_private *tp, int addr, int value) rtl_csi_write() argument 2634 rtl_csi_read(struct rtl8169_private *tp, int addr) rtl_csi_read() argument 2645 rtl_csi_access_enable(struct rtl8169_private *tp, u8 val) rtl_csi_access_enable() argument 2664 rtl_set_def_aspm_entry_latency(struct rtl8169_private *tp) rtl_set_def_aspm_entry_latency() argument 2675 __rtl_ephy_init(struct rtl8169_private *tp, const struct ephy_info *e, int len) __rtl_ephy_init() argument 2689 rtl_disable_clock_request(struct rtl8169_private *tp) rtl_disable_clock_request() argument 2695 rtl_enable_clock_request(struct rtl8169_private *tp) rtl_enable_clock_request() argument 2701 rtl_pcie_state_l2l3_disable(struct rtl8169_private *tp) rtl_pcie_state_l2l3_disable() argument 2707 rtl_hw_aspm_clkreq_enable(struct rtl8169_private *tp, bool enable) rtl_hw_aspm_clkreq_enable() argument 2721 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 2731 rtl8168g_set_pause_thresholds(struct rtl8169_private *tp, u8 low, u8 high) rtl8168g_set_pause_thresholds() argument 2739 rtl_hw_start_8168b(struct rtl8169_private *tp) rtl_hw_start_8168b() argument 2744 __rtl_hw_start_8168cp(struct rtl8169_private *tp) __rtl_hw_start_8168cp() argument 2753 rtl_hw_start_8168cp_1(struct rtl8169_private *tp) rtl_hw_start_8168cp_1() argument 2770 rtl_hw_start_8168cp_2(struct rtl8169_private *tp) rtl_hw_start_8168cp_2() argument 2777 rtl_hw_start_8168cp_3(struct rtl8169_private *tp) rtl_hw_start_8168cp_3() argument 2787 rtl_hw_start_8168c_1(struct rtl8169_private *tp) rtl_hw_start_8168c_1() argument 2804 rtl_hw_start_8168c_2(struct rtl8169_private *tp) rtl_hw_start_8168c_2() argument 2818 rtl_hw_start_8168c_3(struct rtl8169_private *tp) rtl_hw_start_8168c_3() argument 2823 rtl_hw_start_8168c_4(struct rtl8169_private *tp) rtl_hw_start_8168c_4() argument 2830 rtl_hw_start_8168d(struct rtl8169_private *tp) rtl_hw_start_8168d() argument 2837 rtl_hw_start_8168d_4(struct rtl8169_private *tp) rtl_hw_start_8168d_4() argument 2853 rtl_hw_start_8168e_1(struct rtl8169_private *tp) rtl_hw_start_8168e_1() argument 2884 rtl_hw_start_8168e_2(struct rtl8169_private *tp) rtl_hw_start_8168e_2() argument 2920 rtl_hw_start_8168f(struct rtl8169_private *tp) rtl_hw_start_8168f() argument 2943 rtl_hw_start_8168f_1(struct rtl8169_private *tp) rtl_hw_start_8168f_1() argument 2961 rtl_hw_start_8411(struct rtl8169_private *tp) rtl_hw_start_8411() argument 2979 rtl_hw_start_8168g(struct rtl8169_private *tp) rtl_hw_start_8168g() argument 3003 rtl_hw_start_8168g_1(struct rtl8169_private *tp) rtl_hw_start_8168g_1() argument 3020 rtl_hw_start_8168g_2(struct rtl8169_private *tp) rtl_hw_start_8168g_2() argument 3041 rtl_hw_start_8411_2(struct rtl8169_private *tp) rtl_hw_start_8411_2() argument 3201 rtl_hw_start_8168h_1(struct rtl8169_private *tp) rtl_hw_start_8168h_1() argument 3267 rtl_hw_start_8168ep(struct rtl8169_private *tp) rtl_hw_start_8168ep() argument 3296 rtl_hw_start_8168ep_1(struct rtl8169_private *tp) rtl_hw_start_8168ep_1() argument 3315 rtl_hw_start_8168ep_2(struct rtl8169_private *tp) rtl_hw_start_8168ep_2() argument 3335 rtl_hw_start_8168ep_3(struct rtl8169_private *tp) rtl_hw_start_8168ep_3() argument 3360 rtl_hw_start_8117(struct rtl8169_private *tp) rtl_hw_start_8117() argument 3425 rtl_hw_start_8102e_1(struct rtl8169_private *tp) rtl_hw_start_8102e_1() argument 3454 rtl_hw_start_8102e_2(struct rtl8169_private *tp) rtl_hw_start_8102e_2() argument 3462 rtl_hw_start_8102e_3(struct rtl8169_private *tp) rtl_hw_start_8102e_3() argument 3469 rtl_hw_start_8401(struct rtl8169_private *tp) rtl_hw_start_8401() argument 3482 rtl_hw_start_8105e_1(struct rtl8169_private *tp) rtl_hw_start_8105e_1() argument 3509 rtl_hw_start_8105e_2(struct rtl8169_private *tp) rtl_hw_start_8105e_2() argument 3515 rtl_hw_start_8402(struct rtl8169_private *tp) rtl_hw_start_8402() argument 3543 rtl_hw_start_8106(struct rtl8169_private *tp) rtl_hw_start_8106() argument 3568 rtl_hw_start_8125_common(struct rtl8169_private *tp) rtl_hw_start_8125_common() argument 3631 rtl_hw_start_8125a_1(struct rtl8169_private *tp) rtl_hw_start_8125a_1() argument 3671 rtl_hw_start_8125a_2(struct rtl8169_private *tp) rtl_hw_start_8125a_2() argument 3699 rtl_hw_start_8125b(struct rtl8169_private *tp) rtl_hw_start_8125b() argument 3719 rtl_hw_config(struct rtl8169_private *tp) rtl_hw_config() argument 3776 rtl_hw_start_8125(struct rtl8169_private *tp) rtl_hw_start_8125() argument 3787 rtl_hw_start_8168(struct rtl8169_private *tp) rtl_hw_start_8168() argument 3800 rtl_hw_start_8169(struct rtl8169_private *tp) rtl_hw_start_8169() argument 3818 rtl_hw_start(struct rtl8169_private *tp) rtl_hw_start() argument 3850 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_change_mtu() local 3878 rtl8169_alloc_rx_data(struct rtl8169_private *tp, struct RxDesc *desc) rtl8169_alloc_rx_data() argument 3903 rtl8169_rx_clear(struct rtl8169_private *tp) rtl8169_rx_clear() argument 3918 rtl8169_rx_fill(struct rtl8169_private *tp) rtl8169_rx_fill() argument 3939 rtl8169_init_ring(struct rtl8169_private *tp) rtl8169_init_ring() argument 3949 rtl8169_unmap_tx_skb(struct rtl8169_private *tp, unsigned int entry) rtl8169_unmap_tx_skb() argument 3960 rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, unsigned int n) rtl8169_tx_clear_range() argument 3980 rtl8169_tx_clear(struct rtl8169_private *tp) rtl8169_tx_clear() argument 3986 rtl8169_cleanup(struct rtl8169_private *tp, bool going_down) rtl8169_cleanup() argument 4027 rtl_reset_work(struct rtl8169_private *tp) rtl_reset_work() argument 4044 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_tx_timeout() local 4049 rtl8169_tx_map(struct rtl8169_private *tp, const u32 *opts, u32 len, void *addr, unsigned int entry, bool desc_own) rtl8169_tx_map() argument 4081 rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, const u32 *opts, unsigned int entry) rtl8169_xmit_frags() argument 4126 rtl8125_quirk_udp_padto(struct rtl8169_private *tp, struct sk_buff *skb) rtl8125_quirk_udp_padto() argument 4153 rtl_quirk_packet_padto(struct rtl8169_private *tp, struct sk_buff *skb) rtl_quirk_packet_padto() argument 4192 rtl8169_tso_csum_v2(struct rtl8169_private *tp, struct sk_buff *skb, u32 *opts) rtl8169_tso_csum_v2() argument 4250 rtl_tx_slots_avail(struct rtl8169_private *tp, unsigned int nr_frags) rtl_tx_slots_avail() argument 4260 rtl_chip_supports_csum_v2(struct rtl8169_private *tp) rtl_chip_supports_csum_v2() argument 4271 rtl8169_doorbell(struct rtl8169_private *tp) rtl8169_doorbell() argument 4283 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_start_xmit() local 4412 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_features_check() local 4439 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_pcierr_interrupt() local 4469 rtl_tx(struct net_device *dev, struct rtl8169_private *tp, int budget) rtl_tx() argument 4541 rtl_rx(struct net_device *dev, struct rtl8169_private *tp, u32 budget) rtl_rx() argument 4634 struct rtl8169_private *tp = dev_instance; rtl8169_interrupt() local 4664 struct rtl8169_private *tp = rtl_task() local 4696 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); rtl8169_poll() local 4712 struct rtl8169_private *tp = netdev_priv(ndev); r8169_phylink_handler() local 4730 r8169_phy_connect(struct rtl8169_private *tp) r8169_phy_connect() argument 4752 rtl8169_down(struct rtl8169_private *tp) rtl8169_down() argument 4769 rtl8169_up(struct rtl8169_private *tp) rtl8169_up() argument 4783 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_close() local 4813 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_netpoll() local 4821 struct rtl8169_private *tp = netdev_priv(dev); rtl_open() local 4885 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_stats64() local 4919 rtl8169_net_suspend(struct rtl8169_private *tp) rtl8169_net_suspend() argument 4929 rtl8169_net_resume(struct rtl8169_private *tp) rtl8169_net_resume() argument 4943 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_suspend() local 4956 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_resume() local 4970 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_suspend() local 4987 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_resume() local 4996 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_idle() local 5012 rtl_wol_shutdown_quirk(struct rtl8169_private *tp) rtl_wol_shutdown_quirk() argument 5031 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_shutdown() local 5053 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_remove_one() local 5091 rtl_set_irq_mask(struct rtl8169_private *tp) rtl_set_irq_mask() argument 5104 rtl_alloc_irq(struct rtl8169_private *tp) rtl_alloc_irq() argument 5125 rtl_read_mac_address(struct rtl8169_private *tp, u8 mac_addr[ETH_ALEN]) rtl_read_mac_address() argument 5150 r8168g_wait_ll_share_fifo_ready(struct rtl8169_private *tp) r8168g_wait_ll_share_fifo_ready() argument 5157 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_read_reg() local 5168 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_write_reg() local 5178 r8169_mdio_register(struct rtl8169_private *tp) r8169_mdio_register() argument 5220 rtl_hw_init_8168g(struct rtl8169_private *tp) rtl_hw_init_8168g() argument 5235 rtl_hw_init_8125(struct rtl8169_private *tp) rtl_hw_init_8125() argument 5252 rtl_hw_initialize(struct rtl8169_private *tp) rtl_hw_initialize() argument 5269 rtl_jumbo_max(struct rtl8169_private *tp) rtl_jumbo_max() argument 5297 rtl_get_ether_clk(struct rtl8169_private *tp) rtl_get_ether_clk() argument 5323 rtl_init_mac_address(struct rtl8169_private *tp) rtl_init_mac_address() argument 5349 struct rtl8169_private *tp; rtl_init_one() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 80 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) 81 #define RTL_W16(tp, reg, val16) writew((val16), tp->mmio_addr + (reg)) 82 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) 83 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) 84 #define RTL_R16(tp, reg) readw(tp 669 tp_to_dev(struct rtl8169_private *tp) tp_to_dev() argument 674 rtl_lock_config_regs(struct rtl8169_private *tp) rtl_lock_config_regs() argument 684 rtl_unlock_config_regs(struct rtl8169_private *tp) rtl_unlock_config_regs() argument 694 rtl_pci_commit(struct rtl8169_private *tp) rtl_pci_commit() argument 700 rtl_mod_config2(struct rtl8169_private *tp, u8 clear, u8 set) rtl_mod_config2() argument 711 rtl_mod_config5(struct rtl8169_private *tp, u8 clear, u8 set) rtl_mod_config5() argument 722 rtl_is_8125(struct rtl8169_private *tp) rtl_is_8125() argument 727 rtl_is_8168evl_up(struct rtl8169_private *tp) rtl_is_8168evl_up() argument 734 rtl_supports_eee(struct rtl8169_private *tp) rtl_supports_eee() argument 741 rtl_read_mac_from_reg(struct rtl8169_private *tp, u8 *mac, int reg) rtl_read_mac_from_reg() argument 754 rtl_loop_wait(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long usecs, int n, bool high) rtl_loop_wait() argument 771 rtl_loop_wait_high(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) rtl_loop_wait_high() argument 778 rtl_loop_wait_low(struct rtl8169_private *tp, const struct rtl_cond *c, unsigned long d, int n) rtl_loop_wait_low() argument 795 r8168fp_adjust_ocp_cmd(struct rtl8169_private *tp, u32 *cmd, int type) r8168fp_adjust_ocp_cmd() argument 809 _rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, u32 val, int type) _rtl_eri_write() argument 824 rtl_eri_write(struct rtl8169_private *tp, int addr, u32 mask, u32 val) rtl_eri_write() argument 830 _rtl_eri_read(struct rtl8169_private *tp, int addr, int type) _rtl_eri_read() argument 841 rtl_eri_read(struct rtl8169_private *tp, int addr) rtl_eri_read() argument 846 rtl_w0w1_eri(struct rtl8169_private *tp, int addr, u32 p, u32 m) rtl_w0w1_eri() argument 853 rtl_eri_set_bits(struct rtl8169_private *tp, int addr, u32 p) rtl_eri_set_bits() argument 858 rtl_eri_clear_bits(struct rtl8169_private *tp, int addr, u32 m) rtl_eri_clear_bits() argument 873 r8168_phy_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) r8168_phy_ocp_write() argument 883 r8168_phy_ocp_read(struct rtl8169_private *tp, u32 reg) r8168_phy_ocp_read() argument 894 __r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) __r8168_mac_ocp_write() argument 902 r8168_mac_ocp_write(struct rtl8169_private *tp, u32 reg, u32 data) r8168_mac_ocp_write() argument 911 __r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) __r8168_mac_ocp_read() argument 921 r8168_mac_ocp_read(struct rtl8169_private *tp, u32 reg) r8168_mac_ocp_read() argument 933 r8168_mac_ocp_modify(struct rtl8169_private *tp, u32 reg, u16 mask, u16 set) r8168_mac_ocp_modify() argument 948 rtl8168g_phy_suspend_quirk(struct rtl8169_private *tp, int value) rtl8168g_phy_suspend_quirk() argument 962 r8168g_mdio_write(struct rtl8169_private *tp, int reg, int value) r8168g_mdio_write() argument 978 r8168g_mdio_read(struct rtl8169_private *tp, int reg) r8168g_mdio_read() argument 989 mac_mcu_write(struct rtl8169_private *tp, int reg, int value) mac_mcu_write() argument 999 mac_mcu_read(struct rtl8169_private *tp, int reg) mac_mcu_read() argument 1009 r8169_mdio_write(struct rtl8169_private *tp, int reg, int value) r8169_mdio_write() argument 1021 r8169_mdio_read(struct rtl8169_private *tp, int reg) r8169_mdio_read() argument 1046 r8168dp_2_mdio_start(struct rtl8169_private *tp) r8168dp_2_mdio_start() argument 1051 r8168dp_2_mdio_stop(struct rtl8169_private *tp) r8168dp_2_mdio_stop() argument 1056 r8168dp_2_mdio_write(struct rtl8169_private *tp, int reg, int value) r8168dp_2_mdio_write() argument 1065 r8168dp_2_mdio_read(struct rtl8169_private *tp, int reg) r8168dp_2_mdio_read() argument 1082 rtl_writephy(struct rtl8169_private *tp, int location, int val) rtl_writephy() argument 1098 rtl_readphy(struct rtl8169_private *tp, int location) rtl_readphy() argument 1116 rtl_ephy_write(struct rtl8169_private *tp, int reg_addr, int value) rtl_ephy_write() argument 1126 rtl_ephy_read(struct rtl8169_private *tp, int reg_addr) rtl_ephy_read() argument 1134 r8168dp_ocp_read(struct rtl8169_private *tp, u16 reg) r8168dp_ocp_read() argument 1141 r8168ep_ocp_read(struct rtl8169_private *tp, u16 reg) r8168ep_ocp_read() argument 1146 r8168dp_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data) r8168dp_ocp_write() argument 1154 r8168ep_ocp_write(struct rtl8169_private *tp, u8 mask, u16 reg, u32 data) r8168ep_ocp_write() argument 1161 r8168dp_oob_notify(struct rtl8169_private *tp, u8 cmd) r8168dp_oob_notify() argument 1172 rtl8168_get_ocp_reg(struct rtl8169_private *tp) rtl8168_get_ocp_reg() argument 1196 rtl8168ep_stop_cmac(struct rtl8169_private *tp) rtl8168ep_stop_cmac() argument 1204 rtl8168dp_driver_start(struct rtl8169_private *tp) rtl8168dp_driver_start() argument 1210 rtl8168ep_driver_start(struct rtl8169_private *tp) rtl8168ep_driver_start() argument 1217 rtl8168_driver_start(struct rtl8169_private *tp) rtl8168_driver_start() argument 1225 rtl8168dp_driver_stop(struct rtl8169_private *tp) rtl8168dp_driver_stop() argument 1231 rtl8168ep_driver_stop(struct rtl8169_private *tp) rtl8168ep_driver_stop() argument 1239 rtl8168_driver_stop(struct rtl8169_private *tp) rtl8168_driver_stop() argument 1247 r8168dp_check_dash(struct rtl8169_private *tp) r8168dp_check_dash() argument 1254 r8168ep_check_dash(struct rtl8169_private *tp) r8168ep_check_dash() argument 1259 rtl_dash_is_enabled(struct rtl8169_private *tp) rtl_dash_is_enabled() argument 1271 rtl_get_dash_type(struct rtl8169_private *tp) rtl_get_dash_type() argument 1284 rtl_set_d3_pll_down(struct rtl8169_private *tp, bool enable) rtl_set_d3_pll_down() argument 1301 rtl_reset_packet_filter(struct rtl8169_private *tp) rtl_reset_packet_filter() argument 1312 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr) rtl8168d_efuse_read() argument 1320 rtl_get_events(struct rtl8169_private *tp) rtl_get_events() argument 1328 rtl_ack_events(struct rtl8169_private *tp, u32 bits) rtl_ack_events() argument 1336 rtl_irq_disable(struct rtl8169_private *tp) rtl_irq_disable() argument 1344 rtl_irq_enable(struct rtl8169_private *tp) rtl_irq_enable() argument 1352 rtl8169_irq_mask_and_ack(struct rtl8169_private *tp) rtl8169_irq_mask_and_ack() argument 1359 rtl_link_chg_patch(struct rtl8169_private *tp) rtl_link_chg_patch() argument 1399 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_wol() local 1405 __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) __rtl8169_set_wol() argument 1479 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_wol() local 1493 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_drvinfo() local 1512 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_fix_features() local 1524 rtl_set_rx_config_features(struct rtl8169_private *tp, netdev_features_t features) rtl_set_rx_config_features() argument 1547 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_features() local 1586 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_regs() local 1626 rtl8169_do_counters(struct rtl8169_private *tp, u32 counter_cmd) rtl8169_do_counters() argument 1638 rtl8169_update_counters(struct rtl8169_private *tp) rtl8169_update_counters() argument 1650 rtl8169_init_counter_offsets(struct rtl8169_private *tp) rtl8169_init_counter_offsets() argument 1688 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_ethtool_stats() local 1772 rtl_coalesce_info(struct rtl8169_private *tp) rtl_coalesce_info() argument 1798 struct rtl8169_private *tp = netdev_priv(dev); rtl_get_coalesce() local 1834 rtl_coalesce_choose_scale(struct rtl8169_private *tp, u32 usec, u16 *cp01) rtl_coalesce_choose_scale() argument 1859 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_coalesce() local 1925 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_eee() local 1935 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_eee() local 1963 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_pauseparam() local 1976 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_set_pauseparam() local 2011 rtl_enable_eee(struct rtl8169_private *tp) rtl_enable_eee() argument 2158 rtl_release_firmware(struct rtl8169_private *tp) rtl_release_firmware() argument 2167 r8169_apply_firmware(struct rtl8169_private *tp) r8169_apply_firmware() argument 2184 rtl8168_config_eee_mac(struct rtl8169_private *tp) rtl8168_config_eee_mac() argument 2193 rtl8125a_config_eee_mac(struct rtl8169_private *tp) rtl8125a_config_eee_mac() argument 2199 rtl8125_set_eee_txidle_timer(struct rtl8169_private *tp) rtl8125_set_eee_txidle_timer() argument 2204 rtl8125b_config_eee_mac(struct rtl8169_private *tp) rtl8125b_config_eee_mac() argument 2210 rtl_rar_exgmac_set(struct rtl8169_private *tp, const u8 *addr) rtl_rar_exgmac_set() argument 2218 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp) rtl8168h_2_get_adc_bias_ioffset() argument 2234 rtl_schedule_task(struct rtl8169_private *tp, enum rtl_flag flag) rtl_schedule_task() argument 2240 rtl8169_init_phy(struct rtl8169_private *tp) rtl8169_init_phy() argument 2265 rtl_rar_set(struct rtl8169_private *tp, const u8 *addr) rtl_rar_set() argument 2283 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_mac_address() local 2295 rtl_init_rxcfg(struct rtl8169_private *tp) rtl_init_rxcfg() argument 2323 rtl8169_init_ring_indexes(struct rtl8169_private *tp) rtl8169_init_ring_indexes() argument 2328 r8168c_hw_jumbo_enable(struct rtl8169_private *tp) r8168c_hw_jumbo_enable() argument 2334 r8168c_hw_jumbo_disable(struct rtl8169_private *tp) r8168c_hw_jumbo_disable() argument 2340 r8168dp_hw_jumbo_enable(struct rtl8169_private *tp) r8168dp_hw_jumbo_enable() argument 2345 r8168dp_hw_jumbo_disable(struct rtl8169_private *tp) r8168dp_hw_jumbo_disable() argument 2350 r8168e_hw_jumbo_enable(struct rtl8169_private *tp) r8168e_hw_jumbo_enable() argument 2357 r8168e_hw_jumbo_disable(struct rtl8169_private *tp) r8168e_hw_jumbo_disable() argument 2364 r8168b_1_hw_jumbo_enable(struct rtl8169_private *tp) r8168b_1_hw_jumbo_enable() argument 2369 r8168b_1_hw_jumbo_disable(struct rtl8169_private *tp) r8168b_1_hw_jumbo_disable() argument 2374 rtl_jumbo_config(struct rtl8169_private *tp) rtl_jumbo_config() argument 2432 rtl_hw_reset(struct rtl8169_private *tp) rtl_hw_reset() argument 2439 rtl_request_firmware(struct rtl8169_private *tp) rtl_request_firmware() argument 2464 rtl_rx_close(struct rtl8169_private *tp) rtl_rx_close() argument 2490 rtl_wait_txrx_fifo_empty(struct rtl8169_private *tp) rtl_wait_txrx_fifo_empty() argument 2510 rtl_disable_rxdvgate(struct rtl8169_private *tp) rtl_disable_rxdvgate() argument 2515 rtl_enable_rxdvgate(struct rtl8169_private *tp) rtl_enable_rxdvgate() argument 2522 rtl_wol_enable_rx(struct rtl8169_private *tp) rtl_wol_enable_rx() argument 2532 rtl_prepare_power_down(struct rtl8169_private *tp) rtl_prepare_power_down() argument 2547 rtl_set_tx_config_registers(struct rtl8169_private *tp) rtl_set_tx_config_registers() argument 2558 rtl_set_rx_max_size(struct rtl8169_private *tp) rtl_set_rx_max_size() argument 2564 rtl_set_rx_tx_desc_registers(struct rtl8169_private *tp) rtl_set_rx_tx_desc_registers() argument 2577 rtl8169_set_magic_reg(struct rtl8169_private *tp) rtl8169_set_magic_reg() argument 2599 struct rtl8169_private *tp = netdev_priv(dev); rtl_set_rx_mode() local 2640 rtl_csi_write(struct rtl8169_private *tp, int addr, int value) rtl_csi_write() argument 2651 rtl_csi_read(struct rtl8169_private *tp, int addr) rtl_csi_read() argument 2662 rtl_set_aspm_entry_latency(struct rtl8169_private *tp, u8 val) rtl_set_aspm_entry_latency() argument 2683 rtl_set_def_aspm_entry_latency(struct rtl8169_private *tp) rtl_set_def_aspm_entry_latency() argument 2695 __rtl_ephy_init(struct rtl8169_private *tp, const struct ephy_info *e, int len) __rtl_ephy_init() argument 2709 rtl_disable_clock_request(struct rtl8169_private *tp) rtl_disable_clock_request() argument 2715 rtl_enable_clock_request(struct rtl8169_private *tp) rtl_enable_clock_request() argument 2721 rtl_pcie_state_l2l3_disable(struct rtl8169_private *tp) rtl_pcie_state_l2l3_disable() argument 2727 rtl_enable_exit_l1(struct rtl8169_private *tp) rtl_enable_exit_l1() argument 2752 rtl_disable_exit_l1(struct rtl8169_private *tp) rtl_disable_exit_l1() argument 2766 rtl_hw_aspm_clkreq_enable(struct rtl8169_private *tp, bool enable) rtl_hw_aspm_clkreq_enable() argument 2809 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 2819 rtl8168g_set_pause_thresholds(struct rtl8169_private *tp, u8 low, u8 high) rtl8168g_set_pause_thresholds() argument 2827 rtl_hw_start_8168b(struct rtl8169_private *tp) rtl_hw_start_8168b() argument 2832 __rtl_hw_start_8168cp(struct rtl8169_private *tp) __rtl_hw_start_8168cp() argument 2841 rtl_hw_start_8168cp_1(struct rtl8169_private *tp) rtl_hw_start_8168cp_1() argument 2858 rtl_hw_start_8168cp_2(struct rtl8169_private *tp) rtl_hw_start_8168cp_2() argument 2865 rtl_hw_start_8168cp_3(struct rtl8169_private *tp) rtl_hw_start_8168cp_3() argument 2875 rtl_hw_start_8168c_1(struct rtl8169_private *tp) rtl_hw_start_8168c_1() argument 2892 rtl_hw_start_8168c_2(struct rtl8169_private *tp) rtl_hw_start_8168c_2() argument 2906 rtl_hw_start_8168c_4(struct rtl8169_private *tp) rtl_hw_start_8168c_4() argument 2913 rtl_hw_start_8168d(struct rtl8169_private *tp) rtl_hw_start_8168d() argument 2920 rtl_hw_start_8168d_4(struct rtl8169_private *tp) rtl_hw_start_8168d_4() argument 2936 rtl_hw_start_8168e_1(struct rtl8169_private *tp) rtl_hw_start_8168e_1() argument 2967 rtl_hw_start_8168e_2(struct rtl8169_private *tp) rtl_hw_start_8168e_2() argument 3000 rtl_hw_start_8168f(struct rtl8169_private *tp) rtl_hw_start_8168f() argument 3023 rtl_hw_start_8168f_1(struct rtl8169_private *tp) rtl_hw_start_8168f_1() argument 3039 rtl_hw_start_8411(struct rtl8169_private *tp) rtl_hw_start_8411() argument 3055 rtl_hw_start_8168g(struct rtl8169_private *tp) rtl_hw_start_8168g() argument 3078 rtl_hw_start_8168g_1(struct rtl8169_private *tp) rtl_hw_start_8168g_1() argument 3091 rtl_hw_start_8168g_2(struct rtl8169_private *tp) rtl_hw_start_8168g_2() argument 3109 rtl_hw_start_8411_2(struct rtl8169_private *tp) rtl_hw_start_8411_2() argument 3265 rtl_hw_start_8168h_1(struct rtl8169_private *tp) rtl_hw_start_8168h_1() argument 3326 rtl_hw_start_8168ep(struct rtl8169_private *tp) rtl_hw_start_8168ep() argument 3353 rtl_hw_start_8168ep_3(struct rtl8169_private *tp) rtl_hw_start_8168ep_3() argument 3374 rtl_hw_start_8117(struct rtl8169_private *tp) rtl_hw_start_8117() argument 3434 rtl_hw_start_8102e_1(struct rtl8169_private *tp) rtl_hw_start_8102e_1() argument 3463 rtl_hw_start_8102e_2(struct rtl8169_private *tp) rtl_hw_start_8102e_2() argument 3471 rtl_hw_start_8102e_3(struct rtl8169_private *tp) rtl_hw_start_8102e_3() argument 3478 rtl_hw_start_8401(struct rtl8169_private *tp) rtl_hw_start_8401() argument 3491 rtl_hw_start_8105e_1(struct rtl8169_private *tp) rtl_hw_start_8105e_1() argument 3518 rtl_hw_start_8105e_2(struct rtl8169_private *tp) rtl_hw_start_8105e_2() argument 3524 rtl_hw_start_8402(struct rtl8169_private *tp) rtl_hw_start_8402() argument 3552 rtl_hw_start_8106(struct rtl8169_private *tp) rtl_hw_start_8106() argument 3577 rtl_hw_start_8125_common(struct rtl8169_private *tp) rtl_hw_start_8125_common() argument 3638 rtl_hw_start_8125a_2(struct rtl8169_private *tp) rtl_hw_start_8125a_2() argument 3661 rtl_hw_start_8125b(struct rtl8169_private *tp) rtl_hw_start_8125b() argument 3677 rtl_hw_config(struct rtl8169_private *tp) rtl_hw_config() argument 3725 rtl_hw_start_8125(struct rtl8169_private *tp) rtl_hw_start_8125() argument 3736 rtl_hw_start_8168(struct rtl8169_private *tp) rtl_hw_start_8168() argument 3749 rtl_hw_start_8169(struct rtl8169_private *tp) rtl_hw_start_8169() argument 3767 rtl_hw_start(struct rtl8169_private *tp) rtl_hw_start() argument 3802 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_change_mtu() local 3830 rtl8169_alloc_rx_data(struct rtl8169_private *tp, struct RxDesc *desc) rtl8169_alloc_rx_data() argument 3855 rtl8169_rx_clear(struct rtl8169_private *tp) rtl8169_rx_clear() argument 3870 rtl8169_rx_fill(struct rtl8169_private *tp) rtl8169_rx_fill() argument 3891 rtl8169_init_ring(struct rtl8169_private *tp) rtl8169_init_ring() argument 3901 rtl8169_unmap_tx_skb(struct rtl8169_private *tp, unsigned int entry) rtl8169_unmap_tx_skb() argument 3912 rtl8169_tx_clear_range(struct rtl8169_private *tp, u32 start, unsigned int n) rtl8169_tx_clear_range() argument 3932 rtl8169_tx_clear(struct rtl8169_private *tp) rtl8169_tx_clear() argument 3938 rtl8169_cleanup(struct rtl8169_private *tp) rtl8169_cleanup() argument 3975 rtl_reset_work(struct rtl8169_private *tp) rtl_reset_work() argument 3992 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_tx_timeout() local 3997 rtl8169_tx_map(struct rtl8169_private *tp, const u32 *opts, u32 len, void *addr, unsigned int entry, bool desc_own) rtl8169_tx_map() argument 4029 rtl8169_xmit_frags(struct rtl8169_private *tp, struct sk_buff *skb, const u32 *opts, unsigned int entry) rtl8169_xmit_frags() argument 4074 rtl8125_quirk_udp_padto(struct rtl8169_private *tp, struct sk_buff *skb) rtl8125_quirk_udp_padto() argument 4101 rtl_quirk_packet_padto(struct rtl8169_private *tp, struct sk_buff *skb) rtl_quirk_packet_padto() argument 4140 rtl8169_tso_csum_v2(struct rtl8169_private *tp, struct sk_buff *skb, u32 *opts) rtl8169_tso_csum_v2() argument 4198 rtl_tx_slots_avail(struct rtl8169_private *tp) rtl_tx_slots_avail() argument 4204 rtl_chip_supports_csum_v2(struct rtl8169_private *tp) rtl_chip_supports_csum_v2() argument 4215 rtl8169_doorbell(struct rtl8169_private *tp) rtl8169_doorbell() argument 4227 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_start_xmit() local 4333 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_features_check() local 4360 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_pcierr_interrupt() local 4376 rtl_tx(struct net_device *dev, struct rtl8169_private *tp, int budget) rtl_tx() argument 4438 rtl_rx(struct net_device *dev, struct rtl8169_private *tp, int budget) rtl_rx() argument 4526 struct rtl8169_private *tp = dev_instance; rtl8169_interrupt() local 4558 struct rtl8169_private *tp = rtl_task() local 4600 struct rtl8169_private *tp = container_of(napi, struct rtl8169_private, napi); rtl8169_poll() local 4616 struct rtl8169_private *tp = netdev_priv(ndev); r8169_phylink_handler() local 4633 r8169_phy_connect(struct rtl8169_private *tp) r8169_phy_connect() argument 4655 rtl8169_down(struct rtl8169_private *tp) rtl8169_down() argument 4675 rtl8169_up(struct rtl8169_private *tp) rtl8169_up() argument 4693 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_close() local 4723 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_netpoll() local 4731 struct rtl8169_private *tp = netdev_priv(dev); rtl_open() local 4794 struct rtl8169_private *tp = netdev_priv(dev); rtl8169_get_stats64() local 4826 rtl8169_net_suspend(struct rtl8169_private *tp) rtl8169_net_suspend() argument 4836 struct rtl8169_private *tp = dev_get_drvdata(dev); rtl8169_runtime_resume() local 4851 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_suspend() local 4864 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_resume() local 4878 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_suspend() local 4895 struct rtl8169_private *tp = dev_get_drvdata(device); rtl8169_runtime_idle() local 4914 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_shutdown() local 4931 struct rtl8169_private *tp = pci_get_drvdata(pdev); rtl_remove_one() local 4969 rtl_set_irq_mask(struct rtl8169_private *tp) rtl_set_irq_mask() argument 4982 rtl_alloc_irq(struct rtl8169_private *tp) rtl_alloc_irq() argument 5003 rtl_read_mac_address(struct rtl8169_private *tp, u8 mac_addr[ETH_ALEN]) rtl_read_mac_address() argument 5024 r8168g_wait_ll_share_fifo_ready(struct rtl8169_private *tp) r8168g_wait_ll_share_fifo_ready() argument 5031 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_read_reg() local 5042 struct rtl8169_private *tp = mii_bus->priv; r8169_mdio_write_reg() local 5052 r8169_mdio_register(struct rtl8169_private *tp) r8169_mdio_register() argument 5098 rtl_hw_init_8168g(struct rtl8169_private *tp) rtl_hw_init_8168g() argument 5113 rtl_hw_init_8125(struct rtl8169_private *tp) rtl_hw_init_8125() argument 5130 rtl_hw_initialize(struct rtl8169_private *tp) rtl_hw_initialize() argument 5147 rtl_jumbo_max(struct rtl8169_private *tp) rtl_jumbo_max() argument 5169 rtl_init_mac_address(struct rtl8169_private *tp) rtl_init_mac_address() argument 5196 rtl_aspm_is_safe(struct rtl8169_private *tp) rtl_aspm_is_safe() argument 5207 struct rtl8169_private *tp; rtl_init_one() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_trans.c | 65 struct xfs_trans *tp) in xfs_trans_free() 67 xfs_extent_busy_sort(&tp->t_busy); in xfs_trans_free() 68 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free() 70 trace_xfs_trans_free(tp, _RET_IP_); in xfs_trans_free() 71 xfs_trans_clear_context(tp); in xfs_trans_free() 72 if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) in xfs_trans_free() 73 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free() 74 xfs_trans_free_dqinfo(tp); in xfs_trans_free() 75 kmem_cache_free(xfs_trans_zone, tp); in xfs_trans_free() 64 xfs_trans_free( struct xfs_trans *tp) xfs_trans_free() argument 87 xfs_trans_dup( struct xfs_trans *tp) 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 252 struct xfs_trans *tp; xfs_trans_alloc() local 337 xfs_trans_mod_sb( xfs_trans_t *tp, uint field, int64_t delta) xfs_trans_mod_sb() argument 459 xfs_trans_apply_sb_deltas( xfs_trans_t *tp) xfs_trans_apply_sb_deltas() argument 562 xfs_trans_unreserve_and_mod_sb( struct xfs_trans *tp) xfs_trans_unreserve_and_mod_sb() argument 643 xfs_trans_add_item( struct xfs_trans *tp, struct xfs_log_item *lip) xfs_trans_add_item() argument 671 xfs_trans_free_items( struct xfs_trans *tp, bool abort) xfs_trans_free_items() argument 830 __xfs_trans_commit( struct xfs_trans *tp, bool regrant) __xfs_trans_commit() argument 918 xfs_trans_commit( struct xfs_trans *tp) xfs_trans_commit() argument 933 xfs_trans_cancel( struct xfs_trans *tp) xfs_trans_cancel() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | r8152.c | 888 void (*init)(struct r8152 *tp); 889 int (*enable)(struct r8152 *tp); 890 void (*disable)(struct r8152 *tp); 891 void (*up)(struct r8152 *tp); 892 void (*down)(struct r8152 *tp); 893 void (*unload)(struct r8152 *tp); 894 int (*eee_get)(struct r8152 *tp, struct ethtool_eee *eee); 895 int (*eee_set)(struct r8152 *tp, struct ethtool_eee *eee); 896 bool (*in_nway)(struct r8152 *tp); 897 void (*hw_phy_cfg)(struct r8152 *tp); 1214 rtl_set_inaccessible(struct r8152 *tp) rtl_set_inaccessible() argument 1220 rtl_set_accessible(struct r8152 *tp) rtl_set_accessible() argument 1227 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 1299 get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) get_registers() argument 1323 set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) set_registers() argument 1341 rtl_set_unplug(struct r8152 *tp) rtl_set_unplug() argument 1347 generic_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data, u16 type) generic_ocp_read() argument 1390 generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data, u16 type) generic_ocp_write() argument 1468 pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) pla_ocp_read() argument 1474 pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) pla_ocp_write() argument 1480 usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) usb_ocp_write() argument 1485 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) ocp_read_dword() argument 1494 ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) ocp_write_dword() argument 1501 ocp_read_word(struct r8152 *tp, u16 type, u16 index) ocp_read_word() argument 1520 ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) ocp_write_word() argument 1541 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) ocp_read_byte() argument 1558 ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) ocp_write_byte() argument 1579 ocp_reg_read(struct r8152 *tp, u16 addr) ocp_reg_read() argument 1593 ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) ocp_reg_write() argument 1607 r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) r8152_mdio_write() argument 1612 r8152_mdio_read(struct r8152 *tp, u32 reg_addr) r8152_mdio_read() argument 1617 sram_write(struct r8152 *tp, u16 addr, u16 data) sram_write() argument 1623 sram_read(struct r8152 *tp, u16 addr) sram_read() argument 1631 struct r8152 *tp = netdev_priv(netdev); read_mii_word() local 1648 struct r8152 *tp = netdev_priv(netdev); write_mii_word() local 1669 struct r8152 *tp = netdev_priv(netdev); __rtl8152_set_mac_address() local 1707 vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) vendor_mac_passthru_addr_read() argument 1784 determine_ethernet_addr(struct r8152 *tp, struct sockaddr *sa) determine_ethernet_addr() argument 1821 set_ethernet_addr(struct r8152 *tp, bool in_resume) set_ethernet_addr() argument 1844 struct r8152 *tp; read_bulk_callback() local 1912 struct r8152 *tp; write_bulk_callback() local 1956 struct r8152 *tp; intr_callback() local 2029 free_rx_agg(struct r8152 *tp, struct rx_agg *agg) free_rx_agg() argument 2040 alloc_rx_agg(struct r8152 *tp, gfp_t mflags) alloc_rx_agg() argument 2081 free_all_mem(struct r8152 *tp) free_all_mem() argument 2112 alloc_all_mem(struct r8152 *tp) alloc_all_mem() argument 2187 r8152_get_tx_agg(struct r8152 *tp) r8152_get_tx_agg() argument 2212 r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, struct sk_buff_head *list) r8152_csum_workaround() argument 2268 r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, struct sk_buff *skb, u32 len) r8152_tx_csum() argument 2356 r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) r8152_tx_agg_fill() argument 2452 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) r8152_rx_csum() argument 2481 rx_count_exceed(struct r8152 *tp) rx_count_exceed() argument 2491 rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) rtl_get_free_rx() argument 2521 rx_bottom(struct r8152 *tp, int budget) rx_bottom() argument 2679 tx_bottom(struct r8152 *tp) tx_bottom() argument 2718 struct r8152 *tp = from_tasklet(tp, t, tx_tl); bottom_half() local 2738 struct r8152 *tp = container_of(napi, struct r8152, napi); r8152_poll() local 2758 r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) r8152_submit_rx() argument 2793 rtl_drop_queued_tx(struct r8152 *tp) rtl_drop_queued_tx() argument 2815 struct r8152 *tp = netdev_priv(netdev); rtl8152_tx_timeout() local 2824 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_rx_mode() local 2834 struct r8152 *tp = netdev_priv(netdev); _rtl8152_set_rx_mode() local 2900 struct r8152 *tp = netdev_priv(netdev); rtl8152_start_xmit() local 2921 r8152b_reset_packet_filter(struct r8152 *tp) r8152b_reset_packet_filter() argument 2932 rtl8152_nic_reset(struct r8152 *tp) rtl8152_nic_reset() argument 2980 set_tx_qlen(struct r8152 *tp) set_tx_qlen() argument 2985 rtl8152_get_speed(struct r8152 *tp) rtl8152_get_speed() argument 2990 rtl_eee_plus_en(struct r8152 *tp, bool enable) rtl_eee_plus_en() argument 3002 rtl_set_eee_plus(struct r8152 *tp) rtl_set_eee_plus() argument 3010 rxdy_gated_en(struct r8152 *tp, bool enable) rxdy_gated_en() argument 3022 rtl_start_rx(struct r8152 *tp) rtl_start_rx() argument 3065 rtl_stop_rx(struct r8152 *tp) rtl_stop_rx() argument 3105 rtl_set_ifg(struct r8152 *tp, u16 speed) rtl_set_ifg() argument 3128 r8153b_rx_agg_chg_indicate(struct r8152 *tp) r8153b_rx_agg_chg_indicate() argument 3134 rtl_enable(struct r8152 *tp) rtl_enable() argument 3163 rtl8152_enable(struct r8152 *tp) rtl8152_enable() argument 3174 r8153_set_rx_early_timeout(struct r8152 *tp) r8153_set_rx_early_timeout() argument 3215 r8153_set_rx_early_size(struct r8152 *tp) r8153_set_rx_early_size() argument 3248 rtl8153_enable(struct r8152 *tp) rtl8153_enable() argument 3279 rtl_disable(struct r8152 *tp) rtl_disable() argument 3322 r8152_power_cut_en(struct r8152 *tp, bool enable) r8152_power_cut_en() argument 3338 rtl_rx_vlan_en(struct r8152 *tp, bool enable) rtl_rx_vlan_en() argument 3382 struct r8152 *tp = netdev_priv(dev); rtl8152_set_features() local 3408 __rtl_get_wol(struct r8152 *tp) __rtl_get_wol() argument 3432 __rtl_set_wol(struct r8152 *tp, u32 wolopts) __rtl_set_wol() argument 3468 r8153_mac_clk_speed_down(struct r8152 *tp, bool enable) r8153_mac_clk_speed_down() argument 3481 r8156_mac_clk_spd(struct r8152 *tp, bool enable) r8156_mac_clk_spd() argument 3502 r8153_u1u2en(struct r8152 *tp, bool enable) r8153_u1u2en() argument 3514 r8153b_u1u2en(struct r8152 *tp, bool enable) r8153b_u1u2en() argument 3527 r8153_u2p3en(struct r8152 *tp, bool enable) r8153_u2p3en() argument 3539 r8153b_ups_flags(struct r8152 *tp) r8153b_ups_flags() argument 3614 r8156_ups_flags(struct r8152 *tp) r8156_ups_flags() argument 3696 rtl_green_en(struct r8152 *tp, bool enable) rtl_green_en() argument 3710 r8153b_green_en(struct r8152 *tp, bool enable) r8153b_green_en() argument 3725 r8153_phy_status(struct r8152 *tp, u16 desired) r8153_phy_status() argument 3749 r8153b_ups_en(struct r8152 *tp, bool enable) r8153b_ups_en() argument 3790 r8153c_ups_en(struct r8152 *tp, bool enable) r8153c_ups_en() argument 3840 r8156_ups_en(struct r8152 *tp, bool enable) r8156_ups_en() argument 3881 r8153_power_cut_en(struct r8152 *tp, bool enable) r8153_power_cut_en() argument 3897 r8153b_power_cut_en(struct r8152 *tp, bool enable) r8153b_power_cut_en() argument 3913 r8153_queue_wake(struct r8152 *tp, bool enable) r8153_queue_wake() argument 3933 rtl_can_wakeup(struct r8152 *tp) rtl_can_wakeup() argument 3940 rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) rtl_runtime_suspend_enable() argument 3969 rtl8153_runtime_enable(struct r8152 *tp, bool enable) rtl8153_runtime_enable() argument 3993 rtl8153b_runtime_enable(struct r8152 *tp, bool enable) rtl8153b_runtime_enable() argument 4010 rtl8153c_runtime_enable(struct r8152 *tp, bool enable) rtl8153c_runtime_enable() argument 4026 rtl8156_runtime_enable(struct r8152 *tp, bool enable) rtl8156_runtime_enable() argument 4042 r8153_teredo_off(struct r8152 *tp) r8153_teredo_off() argument 4082 rtl_reset_bmu(struct r8152 *tp) rtl_reset_bmu() argument 4094 rtl_clear_bp(struct r8152 *tp, u16 type) rtl_clear_bp() argument 4138 rtl_reset_ocp_base(struct r8152 *tp) rtl_reset_ocp_base() argument 4143 rtl_phy_patch_request(struct r8152 *tp, bool request, bool wait) rtl_phy_patch_request() argument 4180 rtl_patch_key_set(struct r8152 *tp, u16 key_addr, u16 patch_key) rtl_patch_key_set() argument 4201 rtl_pre_ram_code(struct r8152 *tp, u16 key_addr, u16 patch_key, bool wait) rtl_pre_ram_code() argument 4211 rtl_post_ram_code(struct r8152 *tp, u16 key_addr, bool wait) rtl_post_ram_code() argument 4220 rtl8152_is_fw_phy_speed_up_ok(struct r8152 *tp, struct fw_phy_speed_up *phy) rtl8152_is_fw_phy_speed_up_ok() argument 4270 rtl8152_is_fw_phy_ver_ok(struct r8152 *tp, struct fw_phy_ver *ver) rtl8152_is_fw_phy_ver_ok() argument 4300 rtl8152_is_fw_phy_fixup_ok(struct r8152 *tp, struct fw_phy_fixup *fix) rtl8152_is_fw_phy_fixup_ok() argument 4331 rtl8152_is_fw_phy_union_ok(struct r8152 *tp, struct fw_phy_union *phy) rtl8152_is_fw_phy_union_ok() argument 4376 rtl8152_is_fw_phy_nc_ok(struct r8152 *tp, struct fw_phy_nc *phy) rtl8152_is_fw_phy_nc_ok() argument 4452 rtl8152_is_fw_mac_ok(struct r8152 *tp, struct fw_mac *mac) rtl8152_is_fw_mac_ok() argument 4592 rtl8152_fw_verify_checksum(struct r8152 *tp, struct fw_header *fw_hdr, size_t size) rtl8152_fw_verify_checksum() argument 4639 rtl8152_check_firmware(struct r8152 *tp, struct rtl_fw *rtl_fw) rtl8152_check_firmware() argument 4923 rtl_ram_code_speed_up(struct r8152 *tp, struct fw_phy_speed_up *phy, bool wait) rtl_ram_code_speed_up() argument 4985 rtl8152_fw_phy_ver(struct r8152 *tp, struct fw_phy_ver *phy_ver) rtl8152_fw_phy_ver() argument 5006 rtl8152_fw_phy_fixup(struct r8152 *tp, struct fw_phy_fixup *fix) rtl8152_fw_phy_fixup() argument 5037 rtl8152_fw_phy_union_apply(struct r8152 *tp, struct fw_phy_union *phy) rtl8152_fw_phy_union_apply() argument 5069 rtl8152_fw_phy_nc_apply(struct r8152 *tp, struct fw_phy_nc *phy) rtl8152_fw_phy_nc_apply() argument 5106 rtl8152_fw_mac_apply(struct r8152 *tp, struct fw_mac *mac) rtl8152_fw_mac_apply() argument 5167 rtl8152_apply_firmware(struct r8152 *tp, bool power_cut) rtl8152_apply_firmware() argument 5246 rtl8152_release_firmware(struct r8152 *tp) rtl8152_release_firmware() argument 5256 rtl8152_request_firmware(struct r8152 *tp) rtl8152_request_firmware() argument 5287 r8152_aldps_en(struct r8152 *tp, bool enable) r8152_aldps_en() argument 5299 r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) r8152_mmd_indirect() argument 5306 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) r8152_mmd_read() argument 5317 r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) r8152_mmd_write() argument 5324 r8152_eee_en(struct r8152 *tp, bool enable) r8152_eee_en() argument 5355 r8153_eee_en(struct r8152 *tp, bool enable) r8153_eee_en() argument 5377 r8156_eee_en(struct r8152 *tp, bool enable) r8156_eee_en() argument 5393 rtl_eee_enable(struct r8152 *tp, bool enable) rtl_eee_enable() argument 5441 r8152b_enable_fc(struct r8152 *tp) r8152b_enable_fc() argument 5452 rtl8152_disable(struct r8152 *tp) rtl8152_disable() argument 5459 r8152b_hw_phy_cfg(struct r8152 *tp) r8152b_hw_phy_cfg() argument 5469 wait_oob_link_list_ready(struct r8152 *tp) wait_oob_link_list_ready() argument 5484 r8156b_wait_loading_flash(struct r8152 *tp) r8156b_wait_loading_flash() argument 5500 r8152b_exit_oob(struct r8152 *tp) r8152b_exit_oob() argument 5566 r8152b_enter_oob(struct r8152 *tp) r8152b_enter_oob() argument 5607 r8153_pre_firmware_1(struct r8152 *tp) r8153_pre_firmware_1() argument 5625 r8153_post_firmware_1(struct r8152 *tp) r8153_post_firmware_1() argument 5637 r8153_pre_firmware_2(struct r8152 *tp) r8153_pre_firmware_2() argument 5650 r8153_post_firmware_2(struct r8152 *tp) r8153_post_firmware_2() argument 5678 r8153_post_firmware_3(struct r8152 *tp) r8153_post_firmware_3() argument 5693 r8153b_pre_firmware_1(struct r8152 *tp) r8153b_pre_firmware_1() argument 5702 r8153b_post_firmware_1(struct r8152 *tp) r8153b_post_firmware_1() argument 5729 r8153c_post_firmware_1(struct r8152 *tp) r8153c_post_firmware_1() argument 5744 r8156a_post_firmware_1(struct r8152 *tp) r8156a_post_firmware_1() argument 5759 r8153_aldps_en(struct r8152 *tp, bool enable) r8153_aldps_en() argument 5784 r8153_hw_phy_cfg(struct r8152 *tp) r8153_hw_phy_cfg() argument 5846 r8152_efuse_read(struct r8152 *tp, u8 addr) r8152_efuse_read() argument 5858 r8153b_hw_phy_cfg(struct r8152 *tp) r8153b_hw_phy_cfg() argument 5963 r8153c_hw_phy_cfg(struct r8152 *tp) r8153c_hw_phy_cfg() argument 5970 rtl8153_change_mtu(struct r8152 *tp) rtl8153_change_mtu() argument 5976 r8153_first_init(struct r8152 *tp) r8153_first_init() argument 6024 r8153_enter_oob(struct r8152 *tp) r8153_enter_oob() argument 6096 rtl8153_disable(struct r8152 *tp) rtl8153_disable() argument 6104 fc_pause_on_auto(struct r8152 *tp) fc_pause_on_auto() argument 6109 fc_pause_off_auto(struct r8152 *tp) fc_pause_off_auto() argument 6114 r8156_fc_parameter(struct r8152 *tp) r8156_fc_parameter() argument 6123 rtl8156_enable(struct r8152 *tp) rtl8156_enable() argument 6173 rtl8156_disable(struct r8152 *tp) rtl8156_disable() argument 6181 rtl8156b_enable(struct r8152 *tp) rtl8156b_enable() argument 6229 rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u32 speed, u8 duplex, u32 advertising) rtl8152_set_speed() argument 6370 rtl8152_up(struct r8152 *tp) rtl8152_up() argument 6380 rtl8152_down(struct r8152 *tp) rtl8152_down() argument 6393 rtl8153_up(struct r8152 *tp) rtl8153_up() argument 6433 rtl8153_down(struct r8152 *tp) rtl8153_down() argument 6454 rtl8153b_up(struct r8152 *tp) rtl8153b_up() argument 6478 rtl8153b_down(struct r8152 *tp) rtl8153b_down() argument 6499 rtl8153c_change_mtu(struct r8152 *tp) rtl8153c_change_mtu() argument 6515 rtl8153c_up(struct r8152 *tp) rtl8153c_up() argument 6582 rtl8156_change_mtu(struct r8152 *tp) rtl8156_change_mtu() argument 6596 rtl8156_up(struct r8152 *tp) rtl8156_up() argument 6669 rtl8156_down(struct r8152 *tp) rtl8156_down() argument 6726 rtl8152_in_nway(struct r8152 *tp) rtl8152_in_nway() argument 6742 rtl8153_in_nway(struct r8152 *tp) rtl8153_in_nway() argument 6752 r8156_mdio_force_mode(struct r8152 *tp) r8156_mdio_force_mode() argument 6767 set_carrier(struct r8152 *tp) set_carrier() argument 6806 struct r8152 *tp = container_of(work, struct r8152, schedule.work); rtl_work_func_t() local 6848 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); rtl_hw_phy_work_func_t() local 6883 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); rtl_notifier() local 6908 struct r8152 *tp = netdev_priv(netdev); rtl8152_open() local 6963 struct r8152 *tp = netdev_priv(netdev); rtl8152_close() local 6996 rtl_tally_reset(struct r8152 *tp) rtl_tally_reset() argument 7005 r8152b_init(struct r8152 *tp) r8152b_init() argument 7048 r8153_init(struct r8152 *tp) r8153_init() argument 7188 r8153b_init(struct r8152 *tp) r8153b_init() argument 7270 r8153c_init(struct r8152 *tp) r8153c_init() argument 7352 r8156_hw_phy_cfg(struct r8152 *tp) r8156_hw_phy_cfg() argument 7702 r8156b_hw_phy_cfg(struct r8152 *tp) r8156b_hw_phy_cfg() argument 8119 r8156_init(struct r8152 *tp) r8156_init() argument 8215 r8156b_init(struct r8152 *tp) r8156b_init() argument 8378 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_pre_reset() local 8409 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_post_reset() local 8448 delay_autosuspend(struct r8152 *tp) delay_autosuspend() argument 8471 rtl8152_runtime_resume(struct r8152 *tp) rtl8152_runtime_resume() argument 8510 rtl8152_system_resume(struct r8152 *tp) rtl8152_system_resume() argument 8526 rtl8152_runtime_suspend(struct r8152 *tp) rtl8152_runtime_suspend() argument 8584 rtl8152_system_suspend(struct r8152 *tp) rtl8152_system_suspend() argument 8608 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_suspend() local 8625 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_resume() local 8644 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_reset_resume() local 8656 struct r8152 *tp = netdev_priv(dev); rtl8152_get_wol() local 8676 struct r8152 *tp = netdev_priv(dev); rtl8152_set_wol() local 8704 struct r8152 *tp = netdev_priv(dev); rtl8152_get_msglevel() local 8711 struct r8152 *tp = netdev_priv(dev); rtl8152_set_msglevel() local 8719 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_drvinfo() local 8733 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_link_ksettings() local 8774 struct r8152 *tp = netdev_priv(dev); rtl8152_set_link_ksettings() local 8858 struct r8152 *tp = netdev_priv(dev); rtl8152_get_ethtool_stats() local 8892 r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) r8152_get_eee() argument 8915 r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) r8152_set_eee() argument 8927 r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee) r8153_get_eee() argument 8953 struct r8152 *tp = netdev_priv(net); rtl_ethtool_get_eee() local 8980 struct r8152 *tp = netdev_priv(net); rtl_ethtool_set_eee() local 9008 struct r8152 *tp = netdev_priv(dev); rtl8152_nway_reset() local 9032 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_coalesce() local 9053 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_coalesce() local 9100 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_tunable() local 9117 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_tunable() local 9153 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_ringparam() local 9164 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_ringparam() local 9186 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_pauseparam() local 9223 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_pauseparam() local 9285 struct r8152 *tp = netdev_priv(netdev); rtl8152_ioctl() local 9329 struct r8152 *tp = netdev_priv(dev); rtl8152_change_mtu() local 9389 rtl8152_unload(struct r8152 *tp) rtl8152_unload() argument 9398 rtl8153_unload(struct r8152 *tp) rtl8153_unload() argument 9406 rtl8153b_unload(struct r8152 *tp) rtl8153b_unload() argument 9414 rtl_ops_init(struct r8152 *tp) rtl_ops_init() argument 9568 rtl_fw_init(struct r8152 *tp) rtl_fw_init() argument 9743 struct r8152 *tp; rtl8152_probe_once() local 9973 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_disconnect() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_trans.c | 66 struct xfs_trans *tp) in xfs_trans_free() 68 xfs_extent_busy_sort(&tp->t_busy); in xfs_trans_free() 69 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free() 71 trace_xfs_trans_free(tp, _RET_IP_); in xfs_trans_free() 72 xfs_trans_clear_context(tp); in xfs_trans_free() 73 if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) in xfs_trans_free() 74 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free() 75 xfs_trans_free_dqinfo(tp); in xfs_trans_free() 76 kmem_cache_free(xfs_trans_cache, tp); in xfs_trans_free() 65 xfs_trans_free( struct xfs_trans *tp) xfs_trans_free() argument 88 xfs_trans_dup( struct xfs_trans *tp) xfs_trans_dup() argument 149 xfs_trans_reserve( struct xfs_trans *tp, struct xfs_trans_res *resp, uint blocks, uint rtextents) xfs_trans_reserve() argument 251 struct xfs_trans *tp; xfs_trans_alloc() local 353 xfs_trans_mod_sb( xfs_trans_t *tp, uint field, int64_t delta) xfs_trans_mod_sb() argument 474 xfs_trans_apply_sb_deltas( xfs_trans_t *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 675 xfs_trans_add_item( struct xfs_trans *tp, struct xfs_log_item *lip) xfs_trans_add_item() argument 703 xfs_trans_free_items( struct xfs_trans *tp, bool abort) xfs_trans_free_items() argument 899 xfs_trans_run_precommits( struct xfs_trans *tp) xfs_trans_run_precommits() argument 946 __xfs_trans_commit( struct xfs_trans *tp, bool regrant) __xfs_trans_commit() argument 1053 xfs_trans_commit( struct xfs_trans *tp) xfs_trans_commit() argument 1076 xfs_trans_cancel( struct xfs_trans *tp) xfs_trans_cancel() argument 1192 struct xfs_trans *tp; xfs_trans_alloc_inode() local 1248 struct xfs_trans *tp; xfs_trans_alloc_icreate() local 1291 struct xfs_trans *tp; xfs_trans_alloc_ichange() local 1376 struct xfs_trans *tp; xfs_trans_alloc_dir() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 91 #define tg3_flag(tp, flag) \ 92 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 93 #define tg3_flag_set(tp, flag) \ 94 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 95 #define tg3_flag_clear(tp, flag) \ 96 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 129 #define TG3_MAX_MTU(tp) \ 130 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) 136 #define TG3_RX_STD_RING_SIZE(tp) \ 137 (tg3_flag(tp, LRG_PROD_RING_CA 469 tg3_write32(struct tg3 *tp, u32 off, u32 val) tg3_write32() argument 474 tg3_read32(struct tg3 *tp, u32 off) tg3_read32() argument 479 tg3_ape_write32(struct tg3 *tp, u32 off, u32 val) tg3_ape_write32() argument 484 tg3_ape_read32(struct tg3 *tp, u32 off) tg3_ape_read32() argument 489 tg3_write_indirect_reg32(struct tg3 *tp, u32 off, u32 val) tg3_write_indirect_reg32() argument 499 tg3_write_flush_reg32(struct tg3 *tp, u32 off, u32 val) tg3_write_flush_reg32() argument 505 tg3_read_indirect_reg32(struct tg3 *tp, u32 off) tg3_read_indirect_reg32() argument 517 tg3_write_indirect_mbox(struct tg3 *tp, u32 off, u32 val) tg3_write_indirect_mbox() argument 547 tg3_read_indirect_mbox(struct tg3 *tp, u32 off) tg3_read_indirect_mbox() argument 564 _tw32_flush(struct tg3 *tp, u32 off, u32 val, u32 usec_wait) _tw32_flush() argument 583 tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val) tw32_mailbox_flush() argument 592 tg3_write32_tx_mbox(struct tg3 *tp, u32 off, u32 val) tg3_write32_tx_mbox() argument 603 tg3_read32_mbox_5906(struct tg3 *tp, u32 off) tg3_read32_mbox_5906() argument 608 tg3_write32_mbox_5906(struct tg3 *tp, u32 off, u32 val) tg3_write32_mbox_5906() argument 624 tg3_write_mem(struct tg3 *tp, u32 off, u32 val) tg3_write_mem() argument 649 tg3_read_mem(struct tg3 *tp, u32 off, u32 *val) tg3_read_mem() argument 676 tg3_ape_lock_init(struct tg3 *tp) tg3_ape_lock_init() argument 706 tg3_ape_lock(struct tg3 *tp, int locknum) tg3_ape_lock() argument 769 tg3_ape_unlock(struct tg3 *tp, int locknum) tg3_ape_unlock() argument 806 tg3_ape_event_lock(struct tg3 *tp, u32 timeout_us) tg3_ape_event_lock() argument 828 tg3_ape_wait_for_event(struct tg3 *tp, u32 timeout_us) tg3_ape_wait_for_event() argument 844 tg3_ape_scratchpad_read(struct tg3 *tp, u32 *data, u32 base_off, u32 len) tg3_ape_scratchpad_read() argument 909 tg3_ape_send_event(struct tg3 *tp, u32 event) tg3_ape_send_event() argument 936 tg3_ape_driver_state_change(struct tg3 *tp, int kind) tg3_ape_driver_state_change() argument 984 tg3_send_ape_heartbeat(struct tg3 *tp, unsigned long interval) tg3_send_ape_heartbeat() argument 996 tg3_disable_ints(struct tg3 *tp) tg3_disable_ints() argument 1006 tg3_enable_ints(struct tg3 *tp) tg3_enable_ints() argument 1039 struct tg3 *tp = tnapi->tp; tg3_has_work() local 1068 struct tg3 *tp = tnapi->tp; tg3_int_reenable() local 1081 tg3_switch_clocks(struct tg3 *tp) tg3_switch_clocks() argument 1116 __tg3_readphy(struct tg3 *tp, unsigned int phy_addr, int reg, u32 *val) __tg3_readphy() argument 1170 tg3_readphy(struct tg3 *tp, int reg, u32 *val) tg3_readphy() argument 1175 __tg3_writephy(struct tg3 *tp, unsigned int phy_addr, int reg, u32 val) __tg3_writephy() argument 1229 tg3_writephy(struct tg3 *tp, int reg, u32 val) tg3_writephy() argument 1234 tg3_phy_cl45_write(struct tg3 *tp, u32 devad, u32 addr, u32 val) tg3_phy_cl45_write() argument 1257 tg3_phy_cl45_read(struct tg3 *tp, u32 devad, u32 addr, u32 *val) tg3_phy_cl45_read() argument 1280 tg3_phydsp_read(struct tg3 *tp, u32 reg, u32 *val) tg3_phydsp_read() argument 1291 tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val) tg3_phydsp_write() argument 1302 tg3_phy_auxctl_read(struct tg3 *tp, int reg, u32 *val) tg3_phy_auxctl_read() argument 1315 tg3_phy_auxctl_write(struct tg3 *tp, int reg, u32 set) tg3_phy_auxctl_write() argument 1323 tg3_phy_toggle_auxctl_smdsp(struct tg3 *tp, bool enable) tg3_phy_toggle_auxctl_smdsp() argument 1344 tg3_phy_shdw_write(struct tg3 *tp, int reg, u32 val) tg3_phy_shdw_write() argument 1350 tg3_bmcr_reset(struct tg3 *tp) tg3_bmcr_reset() argument 1383 struct tg3 *tp = bp->priv; tg3_mdio_read() local 1398 struct tg3 *tp = bp->priv; tg3_mdio_write() local 1411 tg3_mdio_config_5785(struct tg3 *tp) tg3_mdio_config_5785() argument 1492 tg3_mdio_start(struct tg3 *tp) tg3_mdio_start() argument 1503 tg3_mdio_init(struct tg3 *tp) tg3_mdio_init() argument 1610 tg3_mdio_fini(struct tg3 *tp) tg3_mdio_fini() argument 1620 tg3_generate_fw_event(struct tg3 *tp) tg3_generate_fw_event() argument 1634 tg3_wait_for_event_ack(struct tg3 *tp) tg3_wait_for_event_ack() argument 1664 tg3_phy_gather_ump_data(struct tg3 *tp, u32 *data) tg3_phy_gather_ump_data() argument 1699 tg3_ump_link_report(struct tg3 *tp) tg3_ump_link_report() argument 1721 tg3_stop_fw(struct tg3 *tp) tg3_stop_fw() argument 1737 tg3_write_sig_pre_reset(struct tg3 *tp, int kind) tg3_write_sig_pre_reset() argument 1766 tg3_write_sig_post_reset(struct tg3 *tp, int kind) tg3_write_sig_post_reset() argument 1787 tg3_write_sig_legacy(struct tg3 *tp, int kind) tg3_write_sig_legacy() argument 1812 tg3_poll_fw(struct tg3 *tp) tg3_poll_fw() argument 1876 tg3_link_report(struct tg3 *tp) tg3_link_report() argument 1966 tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) tg3_setup_flow_control() argument 2009 struct tg3 *tp = netdev_priv(dev); tg3_adjust_link() local 2089 tg3_phy_init(struct tg3 *tp) tg3_phy_init() argument 2135 tg3_phy_start(struct tg3 *tp) tg3_phy_start() argument 2158 tg3_phy_stop(struct tg3 *tp) tg3_phy_stop() argument 2166 tg3_phy_fini(struct tg3 *tp) tg3_phy_fini() argument 2174 tg3_phy_set_extloopbk(struct tg3 *tp) tg3_phy_set_extloopbk() argument 2204 tg3_phy_fet_toggle_apd(struct tg3 *tp, bool enable) tg3_phy_fet_toggle_apd() argument 2224 tg3_phy_toggle_apd(struct tg3 *tp, bool enable) tg3_phy_toggle_apd() argument 2255 tg3_phy_toggle_automdix(struct tg3 *tp, bool enable) tg3_phy_toggle_automdix() argument 2296 tg3_phy_set_wirespeed(struct tg3 *tp) tg3_phy_set_wirespeed() argument 2310 tg3_phy_apply_otp(struct tg3 *tp) tg3_phy_apply_otp() argument 2347 tg3_eee_pull_config(struct tg3 *tp, struct ethtool_eee *eee) tg3_eee_pull_config() argument 2387 tg3_phy_eee_adjust(struct tg3 *tp, bool current_link_up) tg3_phy_eee_adjust() argument 2427 tg3_phy_eee_enable(struct tg3 *tp) tg3_phy_eee_enable() argument 2446 tg3_wait_macro_done(struct tg3 *tp) tg3_wait_macro_done() argument 2464 tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) tg3_phy_write_and_check_testpat() argument 2530 tg3_phy_reset_chanpat(struct tg3 *tp) tg3_phy_reset_chanpat() argument 2550 tg3_phy_reset_5703_4_5(struct tg3 *tp) tg3_phy_reset_5703_4_5() argument 2618 tg3_carrier_off(struct tg3 *tp) tg3_carrier_off() argument 2624 tg3_warn_mgmt_link_flap(struct tg3 *tp) tg3_warn_mgmt_link_flap() argument 2634 tg3_phy_reset(struct tg3 *tp) tg3_phy_reset() argument 2791 tg3_set_function_status(struct tg3 *tp, u32 newstat) tg3_set_function_status() argument 2814 tg3_pwrsrc_switch_to_vmain(struct tg3 *tp) tg3_pwrsrc_switch_to_vmain() argument 2839 tg3_pwrsrc_die_with_vmain(struct tg3 *tp) tg3_pwrsrc_die_with_vmain() argument 2863 tg3_pwrsrc_switch_to_vaux(struct tg3 *tp) tg3_pwrsrc_switch_to_vaux() argument 2940 tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) tg3_frob_aux_power_5717() argument 2965 tg3_frob_aux_power(struct tg3 *tp, bool include_wol) tg3_frob_aux_power() argument 3009 tg3_5700_link_polarity(struct tg3 *tp, u32 speed) tg3_5700_link_polarity() argument 3022 tg3_phy_power_bug(struct tg3 *tp) tg3_phy_power_bug() argument 3047 tg3_phy_led_bug(struct tg3 *tp) tg3_phy_led_bug() argument 3061 tg3_power_down_phy(struct tg3 *tp, bool do_low_power) tg3_power_down_phy() argument 3136 tg3_nvram_lock(struct tg3 *tp) tg3_nvram_lock() argument 3159 tg3_nvram_unlock(struct tg3 *tp) tg3_nvram_unlock() argument 3170 tg3_enable_nvram_access(struct tg3 *tp) tg3_enable_nvram_access() argument 3180 tg3_disable_nvram_access(struct tg3 *tp) tg3_disable_nvram_access() argument 3189 tg3_nvram_read_using_eeprom(struct tg3 *tp, u32 offset, u32 *val) tg3_nvram_read_using_eeprom() argument 3231 tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) tg3_nvram_exec_cmd() argument 3250 tg3_nvram_phys_addr(struct tg3 *tp, u32 addr) tg3_nvram_phys_addr() argument 3265 tg3_nvram_logical_addr(struct tg3 *tp, u32 addr) tg3_nvram_logical_addr() argument 3286 tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) tg3_nvram_read() argument 3319 tg3_nvram_read_be32(struct tg3 *tp, u32 offset, __be32 *val) tg3_nvram_read_be32() argument 3328 tg3_nvram_write_block_using_eeprom(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block_using_eeprom() argument 3378 tg3_nvram_write_block_unbuffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block_unbuffered() argument 3477 tg3_nvram_write_block_buffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block_buffered() argument 3532 tg3_nvram_write_block(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block() argument 3587 tg3_pause_cpu(struct tg3 *tp, u32 cpu_base) tg3_pause_cpu() argument 3605 tg3_rxcpu_pause(struct tg3 *tp) tg3_rxcpu_pause() argument 3617 tg3_txcpu_pause(struct tg3 *tp) tg3_txcpu_pause() argument 3623 tg3_resume_cpu(struct tg3 *tp, u32 cpu_base) tg3_resume_cpu() argument 3630 tg3_rxcpu_resume(struct tg3 *tp) tg3_rxcpu_resume() argument 3636 tg3_halt_cpu(struct tg3 *tp, u32 cpu_base) tg3_halt_cpu() argument 3673 tg3_fw_data_len(struct tg3 *tp, const struct tg3_firmware_hdr *fw_hdr) tg3_fw_data_len() argument 3701 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 3767 tg3_pause_cpu_and_set_pc(struct tg3 *tp, u32 cpu_base, u32 pc) tg3_pause_cpu_and_set_pc() argument 3788 tg3_load_5701_a0_firmware_fix(struct tg3 *tp) tg3_load_5701_a0_firmware_fix() argument 3829 tg3_validate_rxcpu_state(struct tg3 *tp) tg3_validate_rxcpu_state() argument 3861 tg3_load_57766_firmware(struct tg3 *tp) tg3_load_57766_firmware() argument 3902 tg3_load_tso_firmware(struct tg3 *tp) tg3_load_tso_firmware() argument 3952 __tg3_set_one_mac_addr(struct tg3 *tp, u8 *mac_addr, int index) __tg3_set_one_mac_addr() argument 3971 __tg3_set_mac_addr(struct tg3 *tp, bool skip_mac_1) __tg3_set_mac_addr() argument 3998 tg3_enable_register_access(struct tg3 *tp) tg3_enable_register_access() argument 4008 tg3_power_up(struct tg3 *tp) tg3_power_up() argument 4027 tg3_power_down_prepare(struct tg3 *tp) tg3_power_down_prepare() argument 4274 tg3_power_down(struct tg3 *tp) tg3_power_down() argument 4280 tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u32 *speed, u8 *duplex) tg3_aux_stat_to_speed_duplex() argument 4327 tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) tg3_phy_autoneg_cfg() argument 4411 tg3_phy_copper_begin(struct tg3 *tp) tg3_phy_copper_begin() argument 4508 tg3_phy_pull_config(struct tg3 *tp) tg3_phy_pull_config() argument 4605 tg3_init_5401phy_dsp(struct tg3 *tp) tg3_init_5401phy_dsp() argument 4624 tg3_phy_eee_config_ok(struct tg3 *tp) tg3_phy_eee_config_ok() argument 4647 tg3_phy_copper_an_config_ok(struct tg3 *tp, u32 *lcladv) tg3_phy_copper_an_config_ok() argument 4691 tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv) tg3_phy_copper_fetch_rmtadv() argument 4713 tg3_test_and_report_link_chg(struct tg3 *tp, bool curr_link_up) tg3_test_and_report_link_chg() argument 4731 tg3_clear_mac_status(struct tg3 *tp) tg3_clear_mac_status() argument 4743 tg3_setup_eee(struct tg3 *tp) tg3_setup_eee() argument 4779 tg3_setup_copper_phy(struct tg3 *tp, bool force_reset) tg3_setup_copper_phy() argument 5156 tg3_fiber_aneg_smachine(struct tg3 *tp, struct tg3_fiber_aneginfo *ap) tg3_fiber_aneg_smachine() argument 5408 fiber_autoneg(struct tg3 *tp, u32 *txflags, u32 *rxflags) fiber_autoneg() argument 5453 tg3_init_bcm8002(struct tg3 *tp) tg3_init_bcm8002() argument 5503 tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) tg3_setup_fiber_hw_autoneg() argument 5648 tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) tg3_setup_fiber_by_hand() argument 5713 tg3_setup_fiber_phy(struct tg3 *tp, bool force_reset) tg3_setup_fiber_phy() argument 5816 tg3_setup_fiber_mii_phy(struct tg3 *tp, bool force_reset) tg3_setup_fiber_mii_phy() argument 6010 tg3_serdes_parallel_detect(struct tg3 *tp) tg3_serdes_parallel_detect() argument 6070 tg3_setup_phy(struct tg3 *tp, bool force_reset) tg3_setup_phy() argument 6137 tg3_refclk_read(struct tg3 *tp, struct ptp_system_timestamp *sts) tg3_refclk_read() argument 6150 tg3_refclk_write(struct tg3 *tp, u64 newval) tg3_refclk_write() argument 6164 struct tg3 *tp = netdev_priv(dev); tg3_get_ts_info() local 6192 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjfreq() local 6228 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjtime() local 6241 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_gettimex() local 6257 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_settime() local 6272 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_enable() local 6348 tg3_hwclock_to_timestamp(struct tg3 *tp, u64 hwclock, struct skb_shared_hwtstamps *timestamp) tg3_hwclock_to_timestamp() argument 6357 tg3_ptp_init(struct tg3 *tp) tg3_ptp_init() argument 6369 tg3_ptp_resume(struct tg3 *tp) tg3_ptp_resume() argument 6378 tg3_ptp_fini(struct tg3 *tp) tg3_ptp_fini() argument 6388 tg3_irq_sync(struct tg3 *tp) tg3_irq_sync() argument 6393 tg3_rd32_loop(struct tg3 *tp, u32 *dst, u32 off, u32 len) tg3_rd32_loop() argument 6402 tg3_dump_legacy_regs(struct tg3 *tp, u32 *regs) tg3_dump_legacy_regs() argument 6452 tg3_dump_state(struct tg3 *tp) tg3_dump_state() argument 6522 tg3_tx_recover(struct tg3 *tp) tg3_tx_recover() argument 6550 struct tg3 *tp = tnapi->tp; tg3_tx() local 6656 tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) tg3_rx_data_free() argument 6682 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 6756 struct tg3 *tp = tnapi->tp; tg3_recycle_rx() local 6823 struct tg3 *tp = tnapi->tp; tg3_rx() local 7026 tg3_poll_link(struct tg3 *tp) tg3_poll_link() argument 7050 tg3_rx_prodring_xfer(struct tg3 *tp, struct tg3_rx_prodring_set *dpr, struct tg3_rx_prodring_set *spr) tg3_rx_prodring_xfer() argument 7178 struct tg3 *tp = tnapi->tp; tg3_poll_work() local 7225 tg3_reset_task_schedule(struct tg3 *tp) tg3_reset_task_schedule() argument 7231 tg3_reset_task_cancel(struct tg3 *tp) tg3_reset_task_cancel() argument 7241 struct tg3 *tp = tnapi->tp; tg3_poll_msix() local 7298 tg3_process_error(struct tg3 *tp) tg3_process_error() argument 7335 struct tg3 *tp = tnapi->tp; tg3_poll() local 7381 tg3_napi_disable(struct tg3 *tp) tg3_napi_disable() argument 7389 tg3_napi_enable(struct tg3 *tp) tg3_napi_enable() argument 7397 tg3_napi_init(struct tg3 *tp) tg3_napi_init() argument 7406 tg3_napi_fini(struct tg3 *tp) tg3_napi_fini() argument 7414 tg3_netif_stop(struct tg3 *tp) tg3_netif_stop() argument 7423 tg3_netif_start(struct tg3 *tp) tg3_netif_start() argument 7465 tg3_full_lock(struct tg3 *tp, int irq_sync) tg3_full_lock() argument 7472 tg3_full_unlock(struct tg3 *tp) tg3_full_unlock() argument 7483 struct tg3 *tp = tnapi->tp; tg3_msi_1shot() local 7502 struct tg3 *tp = tnapi->tp; tg3_msi() local 7524 struct tg3 *tp = tnapi->tp; tg3_interrupt() local 7573 struct tg3 *tp = tnapi->tp; tg3_interrupt_tagged() local 7626 struct tg3 *tp = tnapi->tp; tg3_test_isr() local 7641 struct tg3 *tp = netdev_priv(dev); tg3_poll_controller() local 7653 struct tg3 *tp = netdev_priv(dev); tg3_tx_timeout() local 7674 tg3_4g_tso_overflow_test(struct tg3 *tp, dma_addr_t mapping, u32 len, u32 mss) tg3_4g_tso_overflow_test() argument 7686 tg3_40bit_overflow_test(struct tg3 *tp, dma_addr_t mapping, int len) tg3_40bit_overflow_test() argument 7712 struct tg3 *tp = tnapi->tp; tg3_tx_frag_set() local 7815 struct tg3 *tp = tnapi->tp; tigon3_dma_hwbug_workaround() local 7877 tg3_tso_bug(struct tg3 *tp, struct tg3_napi *tnapi, struct netdev_queue *txq, struct sk_buff *skb) tg3_tso_bug() argument 7920 struct tg3 *tp = netdev_priv(dev); tg3_start_xmit() local 8178 tg3_mac_loopback(struct tg3 *tp, bool enable) tg3_mac_loopback() argument 8206 tg3_phy_lpbk_set(struct tg3 *tp, u32 speed, bool extlpbk) tg3_phy_lpbk_set() argument 8301 struct tg3 *tp = netdev_priv(dev); tg3_set_loopback() local 8328 struct tg3 *tp = netdev_priv(dev); tg3_fix_features() local 8346 tg3_rx_prodring_free(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_free() argument 8387 tg3_rx_prodring_alloc(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_alloc() argument 8489 tg3_rx_prodring_fini(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_fini() argument 8508 tg3_rx_prodring_init(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_init() argument 8551 tg3_free_rings(struct tg3 *tp) tg3_free_rings() argument 8585 tg3_init_rings(struct tg3 *tp) tg3_init_rings() argument 8620 tg3_mem_tx_release(struct tg3 *tp) tg3_mem_tx_release() argument 8638 tg3_mem_tx_acquire(struct tg3 *tp) tg3_mem_tx_acquire() argument 8671 tg3_mem_rx_release(struct tg3 *tp) tg3_mem_rx_release() argument 8691 tg3_mem_rx_acquire(struct tg3 *tp) tg3_mem_rx_acquire() argument 8735 tg3_free_consistent(struct tg3 *tp) tg3_free_consistent() argument 8768 tg3_alloc_consistent(struct tg3 *tp) tg3_alloc_consistent() argument 8835 tg3_stop_block(struct tg3 *tp, unsigned long ofs, u32 enable_bit, bool silent) tg3_stop_block() argument 8887 tg3_abort_hw(struct tg3 *tp, bool silent) tg3_abort_hw() argument 8959 tg3_save_pci_state(struct tg3 *tp) tg3_save_pci_state() argument 8965 tg3_restore_pci_state(struct tg3 *tp) tg3_restore_pci_state() argument 9025 tg3_override_clk(struct tg3 *tp) tg3_override_clk() argument 9046 tg3_restore_clk(struct tg3 *tp) tg3_restore_clk() argument 9093 tg3_save_pci_state(tp); global() variable 9127 tg3_full_unlock(tp); global() variable 9167 tg3_override_clk(tp); global() variable 9237 tg3_restore_pci_state(tp); global() variable 9248 tg3_stop_fw(tp); global() variable 9258 tg3_stop_fw(tp); global() variable 9296 tg3_mdio_start(tp); global() variable 9307 tg3_restore_clk(tp); global() variable 9351 tg3_halt(struct tg3 *tp, int kind, bool silent) tg3_halt() argument 9388 struct tg3 *tp = netdev_priv(dev); tg3_set_mac_addr() local 9423 tg3_set_bdinfo(struct tg3 *tp, u32 bdinfo_addr, dma_addr_t mapping, u32 maxlen_flags, u32 nic_addr) tg3_set_bdinfo() argument 9444 tg3_coal_tx_init(struct tg3 *tp, struct ethtool_coalesce *ec) tg3_coal_tx_init() argument 9476 tg3_coal_rx_init(struct tg3 *tp, struct ethtool_coalesce *ec) tg3_coal_rx_init() argument 9510 __tg3_set_coalesce(struct tg3 *tp, struct ethtool_coalesce *ec) __tg3_set_coalesce() argument 9529 tg3_tx_rcbs_disable(struct tg3 *tp) tg3_tx_rcbs_disable() argument 9551 tg3_tx_rcbs_init(struct tg3 *tp) tg3_tx_rcbs_init() argument 9572 tg3_rx_ret_rcbs_disable(struct tg3 *tp) tg3_rx_ret_rcbs_disable() argument 9595 tg3_rx_ret_rcbs_init(struct tg3 *tp) tg3_rx_ret_rcbs_init() argument 9616 tg3_rings_reset(struct tg3 *tp) tg3_rings_reset() argument 9686 tg3_setup_rxbd_thresholds(struct tg3 *tp) tg3_setup_rxbd_thresholds() argument 9749 tg3_set_multi(struct tg3 *tp, unsigned int accept_all) tg3_set_multi() argument 9760 struct tg3 *tp = netdev_priv(dev); __tg3_set_rx_mode() local 9826 tg3_rss_init_dflt_indir_tbl(struct tg3 *tp, u32 qcnt) tg3_rss_init_dflt_indir_tbl() argument 9834 tg3_rss_check_indir_tbl(struct tg3 *tp) tg3_rss_check_indir_tbl() argument 9856 tg3_rss_write_indir_tbl(struct tg3 *tp) tg3_rss_write_indir_tbl() argument 9873 tg3_lso_rd_dma_workaround_bit(struct tg3 *tp) tg3_lso_rd_dma_workaround_bit() argument 9882 tg3_reset_hw(struct tg3 *tp, bool reset_phy) tg3_reset_hw() argument 10799 tg3_init_hw(struct tg3 *tp, bool reset_phy) tg3_init_hw() argument 10816 tg3_sd_scan_scratchpad(struct tg3 *tp, struct tg3_ocir *ocir) tg3_sd_scan_scratchpad() argument 10835 struct tg3 *tp = dev_get_drvdata(dev); tg3_show_temp() local 10861 tg3_hwmon_close(struct tg3 *tp) tg3_hwmon_close() argument 10869 tg3_hwmon_open(struct tg3 *tp) tg3_hwmon_open() argument 10897 tg3_hwmon_close(struct tg3 *tp) tg3_hwmon_close() argument 10898 tg3_hwmon_open(struct tg3 *tp) tg3_hwmon_open() argument 10909 tg3_periodic_fetch_stats(struct tg3 *tp) tg3_periodic_fetch_stats() argument 10975 tg3_chk_missed_msi(struct tg3 *tp) tg3_chk_missed_msi() argument 11000 struct tg3 *tp = from_timer(tp, t, timer); tg3_timer() local 11142 tg3_timer_init(struct tg3 *tp) tg3_timer_init() argument 11160 tg3_timer_start(struct tg3 *tp) tg3_timer_start() argument 11169 tg3_timer_stop(struct tg3 *tp) tg3_timer_stop() argument 11188 tg3_full_unlock(tp); global() variable 11189 tg3_timer_stop(tp); global() variable 11191 tg3_napi_enable(tp); global() variable 11200 struct tg3 *tp = container_of(work, struct tg3, reset_task); tg3_reset_task() local 11255 tg3_request_irq(struct tg3 *tp, int irq_num) tg3_request_irq() argument 11296 tg3_test_interrupt(struct tg3 *tp) tg3_test_interrupt() argument 11373 tg3_test_msi(struct tg3 *tp) tg3_test_msi() argument 11431 tg3_request_firmware(struct tg3 *tp) tg3_request_firmware() argument 11462 tg3_irq_count(struct tg3 *tp) tg3_irq_count() argument 11478 tg3_enable_msix(struct tg3 *tp) tg3_enable_msix() argument 11537 tg3_ints_init(struct tg3 *tp) tg3_ints_init() argument 11576 tg3_ints_fini(struct tg3 *tp) tg3_ints_fini() argument 11588 tg3_start(struct tg3 *tp, bool reset_phy, bool test_irq, bool init) tg3_start() argument 11703 tg3_stop(struct tg3 *tp) tg3_stop() argument 11740 struct tg3 *tp = netdev_priv(dev); tg3_open() local 11797 struct tg3 *tp = netdev_priv(dev); tg3_close() local 11820 tg3_calc_crc_errors(struct tg3 *tp) tg3_calc_crc_errors() argument 11848 tg3_get_estats(struct tg3 *tp, struct tg3_ethtool_stats *estats) tg3_get_estats() argument 11932 tg3_get_nstats(struct tg3 *tp, struct rtnl_link_stats64 *stats) tg3_get_nstats() argument 12015 struct tg3 *tp = netdev_priv(dev); tg3_get_regs() local 12033 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom_len() local 12040 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom() local 12131 struct tg3 *tp = netdev_priv(dev); tg3_set_eeprom() local 12188 struct tg3 *tp = netdev_priv(dev); tg3_get_link_ksettings() local 12263 struct tg3 *tp = netdev_priv(dev); tg3_set_link_ksettings() local 12358 struct tg3 *tp = netdev_priv(dev); tg3_get_drvinfo() local 12367 struct tg3 *tp = netdev_priv(dev); tg3_get_wol() local 12381 struct tg3 *tp = netdev_priv(dev); tg3_set_wol() local 12402 struct tg3 *tp = netdev_priv(dev); tg3_get_msglevel() local 12408 struct tg3 *tp = netdev_priv(dev); tg3_set_msglevel() local 12414 struct tg3 *tp = netdev_priv(dev); tg3_nway_reset() local 12450 struct tg3 *tp = netdev_priv(dev); tg3_get_ringparam() local 12471 struct tg3 *tp = netdev_priv(dev); tg3_set_ringparam() local 12526 struct tg3 *tp = netdev_priv(dev); tg3_get_pauseparam() local 12543 struct tg3 *tp = netdev_priv(dev); tg3_set_pauseparam() local 12649 struct tg3 *tp = netdev_priv(dev); tg3_get_rxnfc() local 12674 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh_indir_size() local 12684 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh() local 12701 struct tg3 *tp = netdev_priv(dev); tg3_set_rxfh() local 12733 struct tg3 *tp = netdev_priv(dev); tg3_get_channels() local 12758 struct tg3 *tp = netdev_priv(dev); tg3_set_channels() local 12800 struct tg3 *tp = netdev_priv(dev); tg3_set_phys_id() local 12832 struct tg3 *tp = netdev_priv(dev); tg3_get_ethtool_stats() local 12840 tg3_vpd_readblock(struct tg3 *tp, u32 *vpdlen) tg3_vpd_readblock() argument 12926 tg3_test_nvram(struct tg3 *tp) tg3_test_nvram() argument 13108 tg3_test_link(struct tg3 *tp) tg3_test_link() argument 13132 tg3_test_registers(struct tg3 *tp) tg3_test_registers() argument 13352 tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len) tg3_do_mem_test() argument 13371 tg3_test_memory(struct tg3 *tp) tg3_test_memory() argument 13464 tg3_run_loopback(struct tg3 *tp, u32 pktsz, bool tso_loopback) tg3_run_loopback() argument 13680 tg3_test_loopback(struct tg3 *tp, u64 *data, bool do_extlpbk) tg3_test_loopback() argument 13798 struct tg3 *tp = netdev_priv(dev); tg3_self_test() local 13886 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_set() local 13973 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_get() local 14035 struct tg3 *tp = netdev_priv(dev); tg3_ioctl() local 14099 struct tg3 *tp = netdev_priv(dev); tg3_get_coalesce() local 14107 struct tg3 *tp = netdev_priv(dev); tg3_set_coalesce() local 14153 struct tg3 *tp = netdev_priv(dev); tg3_set_eee() local 14190 struct tg3 *tp = netdev_priv(dev); tg3_get_eee() local 14247 struct tg3 *tp = netdev_priv(dev); tg3_get_stats64() local 14262 struct tg3 *tp = netdev_priv(dev); tg3_set_rx_mode() local 14272 tg3_set_mtu(struct net_device *dev, struct tg3 *tp, int new_mtu) tg3_set_mtu() argument 14295 struct tg3 *tp = netdev_priv(dev); tg3_change_mtu() local 14357 tg3_get_eeprom_size(struct tg3 *tp) tg3_get_eeprom_size() argument 14391 tg3_get_nvram_size(struct tg3 *tp) tg3_get_nvram_size() argument 14424 tg3_get_nvram_info(struct tg3 *tp) tg3_get_nvram_info() argument 14475 tg3_nvram_get_pagesize(struct tg3 *tp, u32 nvmcfg1) tg3_nvram_get_pagesize() argument 14502 tg3_get_5752_nvram_info(struct tg3 *tp) tg3_get_5752_nvram_info() argument 14543 tg3_get_5755_nvram_info(struct tg3 *tp) tg3_get_5755_nvram_info() argument 14599 tg3_get_5787_nvram_info(struct tg3 *tp) tg3_get_5787_nvram_info() argument 14637 tg3_get_5761_nvram_info(struct tg3 *tp) tg3_get_5761_nvram_info() argument 14712 tg3_get_5906_nvram_info(struct tg3 *tp) tg3_get_5906_nvram_info() argument 14719 tg3_get_57780_nvram_info(struct tg3 *tp) tg3_get_57780_nvram_info() argument 14792 tg3_get_5717_nvram_info(struct tg3 *tp) tg3_get_5717_nvram_info() argument 14870 tg3_get_5720_nvram_info(struct tg3 *tp) tg3_get_5720_nvram_info() argument 15035 tg3_nvram_init(struct tg3 *tp) tg3_nvram_init() argument 15178 tg3_lookup_by_subsys(struct tg3 *tp) tg3_lookup_by_subsys() argument 15192 tg3_get_eeprom_hw_cfg(struct tg3 *tp) tg3_get_eeprom_hw_cfg() argument 15409 tg3_ape_otp_read(struct tg3 *tp, u32 offset, u32 *val) tg3_ape_otp_read() argument 15442 tg3_issue_otp_command(struct tg3 *tp, u32 cmd) tg3_issue_otp_command() argument 15465 tg3_read_otp_phycfg(struct tg3 *tp) tg3_read_otp_phycfg() argument 15491 tg3_phy_init_link_config(struct tg3 *tp) tg3_phy_init_link_config() argument 15520 tg3_phy_probe(struct tg3 *tp) tg3_phy_probe() argument 15675 tg3_read_vpd(struct tg3 *tp) tg3_read_vpd() argument 15799 tg3_fw_img_is_valid(struct tg3 *tp, u32 offset) tg3_fw_img_is_valid() argument 15812 tg3_read_bc_ver(struct tg3 *tp) tg3_read_bc_ver() argument 15864 tg3_read_hwsb_ver(struct tg3 *tp) tg3_read_hwsb_ver() argument 15880 tg3_read_sb_ver(struct tg3 *tp, u32 val) tg3_read_sb_ver() argument 15935 tg3_read_mgmtfw_ver(struct tg3 *tp) tg3_read_mgmtfw_ver() argument 15987 tg3_probe_ncsi(struct tg3 *tp) tg3_probe_ncsi() argument 16003 tg3_read_dash_ver(struct tg3 *tp) tg3_read_dash_ver() argument 16028 tg3_read_otp_ver(struct tg3 *tp) tg3_read_otp_ver() argument 16053 tg3_read_fw_ver(struct tg3 *tp) tg3_read_fw_ver() argument 16090 tg3_rx_ret_ring_size(struct tg3 *tp) tg3_rx_ret_ring_size() argument 16107 tg3_find_peer(struct tg3 *tp) tg3_find_peer() argument 16135 tg3_detect_asic_rev(struct tg3 *tp, u32 misc_ctrl_reg) tg3_detect_asic_rev() argument 16223 tg3_10_100_only_device(struct tg3 *tp, const struct pci_device_id *ent) tg3_10_100_only_device() argument 16245 tg3_get_invariants(struct tg3 *tp, const struct pci_device_id *ent) tg3_get_invariants() argument 17026 tg3_get_device_address(struct tg3 *tp) tg3_get_device_address() argument 17104 tg3_calc_dma_bndry(struct tg3 *tp, u32 val) tg3_calc_dma_bndry() argument 17245 tg3_do_test_dma(struct tg3 *tp, u32 *buf, dma_addr_t buf_dma, int size, bool to_device) tg3_do_test_dma() argument 17333 tg3_test_dma(struct tg3 *tp) tg3_test_dma() argument 17507 tg3_init_bufmgr_config(struct tg3 *tp) tg3_init_bufmgr_config() argument 17563 tg3_phy_string(struct tg3 *tp) tg3_phy_string() argument 17595 tg3_bus_string(struct tg3 *tp, char *str) tg3_bus_string() argument 17631 tg3_init_coal(struct tg3 *tp) tg3_init_coal() argument 17666 struct tg3 *tp; tg3_init_one() local 18058 struct tg3 *tp = netdev_priv(dev); tg3_remove_one() local 18090 struct tg3 *tp = netdev_priv(dev); tg3_suspend() local 18146 struct tg3 *tp = netdev_priv(dev); tg3_resume() local 18187 struct tg3 *tp = netdev_priv(dev); tg3_shutdown() local 18218 struct tg3 *tp = netdev_priv(netdev); tg3_io_error_detected() local 18277 struct tg3 *tp = netdev_priv(netdev); tg3_io_slot_reset() local 18324 struct tg3 *tp = netdev_priv(netdev); tg3_io_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 92 #define tg3_flag(tp, flag) \ 93 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 94 #define tg3_flag_set(tp, flag) \ 95 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 96 #define tg3_flag_clear(tp, flag) \ 97 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 130 #define TG3_MAX_MTU(tp) \ 131 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500) 137 #define TG3_RX_STD_RING_SIZE(tp) \ 138 (tg3_flag(tp, LRG_PROD_RING_CA 470 tg3_write32(struct tg3 *tp, u32 off, u32 val) tg3_write32() argument 475 tg3_read32(struct tg3 *tp, u32 off) tg3_read32() argument 480 tg3_ape_write32(struct tg3 *tp, u32 off, u32 val) tg3_ape_write32() argument 485 tg3_ape_read32(struct tg3 *tp, u32 off) tg3_ape_read32() argument 490 tg3_write_indirect_reg32(struct tg3 *tp, u32 off, u32 val) tg3_write_indirect_reg32() argument 500 tg3_write_flush_reg32(struct tg3 *tp, u32 off, u32 val) tg3_write_flush_reg32() argument 506 tg3_read_indirect_reg32(struct tg3 *tp, u32 off) tg3_read_indirect_reg32() argument 518 tg3_write_indirect_mbox(struct tg3 *tp, u32 off, u32 val) tg3_write_indirect_mbox() argument 548 tg3_read_indirect_mbox(struct tg3 *tp, u32 off) tg3_read_indirect_mbox() argument 565 _tw32_flush(struct tg3 *tp, u32 off, u32 val, u32 usec_wait) _tw32_flush() argument 584 tw32_mailbox_flush(struct tg3 *tp, u32 off, u32 val) tw32_mailbox_flush() argument 593 tg3_write32_tx_mbox(struct tg3 *tp, u32 off, u32 val) tg3_write32_tx_mbox() argument 604 tg3_read32_mbox_5906(struct tg3 *tp, u32 off) tg3_read32_mbox_5906() argument 609 tg3_write32_mbox_5906(struct tg3 *tp, u32 off, u32 val) tg3_write32_mbox_5906() argument 625 tg3_write_mem(struct tg3 *tp, u32 off, u32 val) tg3_write_mem() argument 650 tg3_read_mem(struct tg3 *tp, u32 off, u32 *val) tg3_read_mem() argument 677 tg3_ape_lock_init(struct tg3 *tp) tg3_ape_lock_init() argument 707 tg3_ape_lock(struct tg3 *tp, int locknum) tg3_ape_lock() argument 770 tg3_ape_unlock(struct tg3 *tp, int locknum) tg3_ape_unlock() argument 807 tg3_ape_event_lock(struct tg3 *tp, u32 timeout_us) tg3_ape_event_lock() argument 829 tg3_ape_wait_for_event(struct tg3 *tp, u32 timeout_us) tg3_ape_wait_for_event() argument 845 tg3_ape_scratchpad_read(struct tg3 *tp, u32 *data, u32 base_off, u32 len) tg3_ape_scratchpad_read() argument 910 tg3_ape_send_event(struct tg3 *tp, u32 event) tg3_ape_send_event() argument 937 tg3_ape_driver_state_change(struct tg3 *tp, int kind) tg3_ape_driver_state_change() argument 985 tg3_send_ape_heartbeat(struct tg3 *tp, unsigned long interval) tg3_send_ape_heartbeat() argument 997 tg3_disable_ints(struct tg3 *tp) tg3_disable_ints() argument 1007 tg3_enable_ints(struct tg3 *tp) tg3_enable_ints() argument 1040 struct tg3 *tp = tnapi->tp; tg3_has_work() local 1069 struct tg3 *tp = tnapi->tp; tg3_int_reenable() local 1082 tg3_switch_clocks(struct tg3 *tp) tg3_switch_clocks() argument 1117 __tg3_readphy(struct tg3 *tp, unsigned int phy_addr, int reg, u32 *val) __tg3_readphy() argument 1171 tg3_readphy(struct tg3 *tp, int reg, u32 *val) tg3_readphy() argument 1176 __tg3_writephy(struct tg3 *tp, unsigned int phy_addr, int reg, u32 val) __tg3_writephy() argument 1230 tg3_writephy(struct tg3 *tp, int reg, u32 val) tg3_writephy() argument 1235 tg3_phy_cl45_write(struct tg3 *tp, u32 devad, u32 addr, u32 val) tg3_phy_cl45_write() argument 1258 tg3_phy_cl45_read(struct tg3 *tp, u32 devad, u32 addr, u32 *val) tg3_phy_cl45_read() argument 1281 tg3_phydsp_read(struct tg3 *tp, u32 reg, u32 *val) tg3_phydsp_read() argument 1292 tg3_phydsp_write(struct tg3 *tp, u32 reg, u32 val) tg3_phydsp_write() argument 1303 tg3_phy_auxctl_read(struct tg3 *tp, int reg, u32 *val) tg3_phy_auxctl_read() argument 1316 tg3_phy_auxctl_write(struct tg3 *tp, int reg, u32 set) tg3_phy_auxctl_write() argument 1324 tg3_phy_toggle_auxctl_smdsp(struct tg3 *tp, bool enable) tg3_phy_toggle_auxctl_smdsp() argument 1345 tg3_phy_shdw_write(struct tg3 *tp, int reg, u32 val) tg3_phy_shdw_write() argument 1351 tg3_bmcr_reset(struct tg3 *tp) tg3_bmcr_reset() argument 1384 struct tg3 *tp = bp->priv; tg3_mdio_read() local 1399 struct tg3 *tp = bp->priv; tg3_mdio_write() local 1412 tg3_mdio_config_5785(struct tg3 *tp) tg3_mdio_config_5785() argument 1493 tg3_mdio_start(struct tg3 *tp) tg3_mdio_start() argument 1504 tg3_mdio_init(struct tg3 *tp) tg3_mdio_init() argument 1604 tg3_mdio_fini(struct tg3 *tp) tg3_mdio_fini() argument 1614 tg3_generate_fw_event(struct tg3 *tp) tg3_generate_fw_event() argument 1628 tg3_wait_for_event_ack(struct tg3 *tp) tg3_wait_for_event_ack() argument 1658 tg3_phy_gather_ump_data(struct tg3 *tp, u32 *data) tg3_phy_gather_ump_data() argument 1693 tg3_ump_link_report(struct tg3 *tp) tg3_ump_link_report() argument 1715 tg3_stop_fw(struct tg3 *tp) tg3_stop_fw() argument 1731 tg3_write_sig_pre_reset(struct tg3 *tp, int kind) tg3_write_sig_pre_reset() argument 1760 tg3_write_sig_post_reset(struct tg3 *tp, int kind) tg3_write_sig_post_reset() argument 1781 tg3_write_sig_legacy(struct tg3 *tp, int kind) tg3_write_sig_legacy() argument 1806 tg3_poll_fw(struct tg3 *tp) tg3_poll_fw() argument 1870 tg3_link_report(struct tg3 *tp) tg3_link_report() argument 1960 tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) tg3_setup_flow_control() argument 2003 struct tg3 *tp = netdev_priv(dev); tg3_adjust_link() local 2083 tg3_phy_init(struct tg3 *tp) tg3_phy_init() argument 2129 tg3_phy_start(struct tg3 *tp) tg3_phy_start() argument 2152 tg3_phy_stop(struct tg3 *tp) tg3_phy_stop() argument 2160 tg3_phy_fini(struct tg3 *tp) tg3_phy_fini() argument 2168 tg3_phy_set_extloopbk(struct tg3 *tp) tg3_phy_set_extloopbk() argument 2198 tg3_phy_fet_toggle_apd(struct tg3 *tp, bool enable) tg3_phy_fet_toggle_apd() argument 2218 tg3_phy_toggle_apd(struct tg3 *tp, bool enable) tg3_phy_toggle_apd() argument 2249 tg3_phy_toggle_automdix(struct tg3 *tp, bool enable) tg3_phy_toggle_automdix() argument 2290 tg3_phy_set_wirespeed(struct tg3 *tp) tg3_phy_set_wirespeed() argument 2304 tg3_phy_apply_otp(struct tg3 *tp) tg3_phy_apply_otp() argument 2341 tg3_eee_pull_config(struct tg3 *tp, struct ethtool_eee *eee) tg3_eee_pull_config() argument 2381 tg3_phy_eee_adjust(struct tg3 *tp, bool current_link_up) tg3_phy_eee_adjust() argument 2421 tg3_phy_eee_enable(struct tg3 *tp) tg3_phy_eee_enable() argument 2440 tg3_wait_macro_done(struct tg3 *tp) tg3_wait_macro_done() argument 2458 tg3_phy_write_and_check_testpat(struct tg3 *tp, int *resetp) tg3_phy_write_and_check_testpat() argument 2524 tg3_phy_reset_chanpat(struct tg3 *tp) tg3_phy_reset_chanpat() argument 2544 tg3_phy_reset_5703_4_5(struct tg3 *tp) tg3_phy_reset_5703_4_5() argument 2612 tg3_carrier_off(struct tg3 *tp) tg3_carrier_off() argument 2618 tg3_warn_mgmt_link_flap(struct tg3 *tp) tg3_warn_mgmt_link_flap() argument 2628 tg3_phy_reset(struct tg3 *tp) tg3_phy_reset() argument 2785 tg3_set_function_status(struct tg3 *tp, u32 newstat) tg3_set_function_status() argument 2808 tg3_pwrsrc_switch_to_vmain(struct tg3 *tp) tg3_pwrsrc_switch_to_vmain() argument 2833 tg3_pwrsrc_die_with_vmain(struct tg3 *tp) tg3_pwrsrc_die_with_vmain() argument 2857 tg3_pwrsrc_switch_to_vaux(struct tg3 *tp) tg3_pwrsrc_switch_to_vaux() argument 2934 tg3_frob_aux_power_5717(struct tg3 *tp, bool wol_enable) tg3_frob_aux_power_5717() argument 2959 tg3_frob_aux_power(struct tg3 *tp, bool include_wol) tg3_frob_aux_power() argument 3003 tg3_5700_link_polarity(struct tg3 *tp, u32 speed) tg3_5700_link_polarity() argument 3016 tg3_phy_power_bug(struct tg3 *tp) tg3_phy_power_bug() argument 3041 tg3_phy_led_bug(struct tg3 *tp) tg3_phy_led_bug() argument 3055 tg3_power_down_phy(struct tg3 *tp, bool do_low_power) tg3_power_down_phy() argument 3130 tg3_nvram_lock(struct tg3 *tp) tg3_nvram_lock() argument 3153 tg3_nvram_unlock(struct tg3 *tp) tg3_nvram_unlock() argument 3164 tg3_enable_nvram_access(struct tg3 *tp) tg3_enable_nvram_access() argument 3174 tg3_disable_nvram_access(struct tg3 *tp) tg3_disable_nvram_access() argument 3183 tg3_nvram_read_using_eeprom(struct tg3 *tp, u32 offset, u32 *val) tg3_nvram_read_using_eeprom() argument 3225 tg3_nvram_exec_cmd(struct tg3 *tp, u32 nvram_cmd) tg3_nvram_exec_cmd() argument 3244 tg3_nvram_phys_addr(struct tg3 *tp, u32 addr) tg3_nvram_phys_addr() argument 3259 tg3_nvram_logical_addr(struct tg3 *tp, u32 addr) tg3_nvram_logical_addr() argument 3280 tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) tg3_nvram_read() argument 3313 tg3_nvram_read_be32(struct tg3 *tp, u32 offset, __be32 *val) tg3_nvram_read_be32() argument 3322 tg3_nvram_write_block_using_eeprom(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block_using_eeprom() argument 3372 tg3_nvram_write_block_unbuffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block_unbuffered() argument 3471 tg3_nvram_write_block_buffered(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block_buffered() argument 3526 tg3_nvram_write_block(struct tg3 *tp, u32 offset, u32 len, u8 *buf) tg3_nvram_write_block() argument 3581 tg3_pause_cpu(struct tg3 *tp, u32 cpu_base) tg3_pause_cpu() argument 3599 tg3_rxcpu_pause(struct tg3 *tp) tg3_rxcpu_pause() argument 3611 tg3_txcpu_pause(struct tg3 *tp) tg3_txcpu_pause() argument 3617 tg3_resume_cpu(struct tg3 *tp, u32 cpu_base) tg3_resume_cpu() argument 3624 tg3_rxcpu_resume(struct tg3 *tp) tg3_rxcpu_resume() argument 3630 tg3_halt_cpu(struct tg3 *tp, u32 cpu_base) tg3_halt_cpu() argument 3667 tg3_fw_data_len(struct tg3 *tp, const struct tg3_firmware_hdr *fw_hdr) tg3_fw_data_len() argument 3695 tg3_load_firmware_cpu(struct tg3 *tp, u32 cpu_base, u32 cpu_scratch_base, int cpu_scratch_size, const struct tg3_firmware_hdr *fw_hdr) tg3_load_firmware_cpu() argument 3761 tg3_pause_cpu_and_set_pc(struct tg3 *tp, u32 cpu_base, u32 pc) tg3_pause_cpu_and_set_pc() argument 3782 tg3_load_5701_a0_firmware_fix(struct tg3 *tp) tg3_load_5701_a0_firmware_fix() argument 3823 tg3_validate_rxcpu_state(struct tg3 *tp) tg3_validate_rxcpu_state() argument 3855 tg3_load_57766_firmware(struct tg3 *tp) tg3_load_57766_firmware() argument 3896 tg3_load_tso_firmware(struct tg3 *tp) tg3_load_tso_firmware() argument 3946 __tg3_set_one_mac_addr(struct tg3 *tp, const u8 *mac_addr, int index) __tg3_set_one_mac_addr() argument 3966 __tg3_set_mac_addr(struct tg3 *tp, bool skip_mac_1) __tg3_set_mac_addr() argument 3993 tg3_enable_register_access(struct tg3 *tp) tg3_enable_register_access() argument 4003 tg3_power_up(struct tg3 *tp) tg3_power_up() argument 4022 tg3_power_down_prepare(struct tg3 *tp) tg3_power_down_prepare() argument 4269 tg3_power_down(struct tg3 *tp) tg3_power_down() argument 4275 tg3_aux_stat_to_speed_duplex(struct tg3 *tp, u32 val, u32 *speed, u8 *duplex) tg3_aux_stat_to_speed_duplex() argument 4322 tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) tg3_phy_autoneg_cfg() argument 4406 tg3_phy_copper_begin(struct tg3 *tp) tg3_phy_copper_begin() argument 4503 tg3_phy_pull_config(struct tg3 *tp) tg3_phy_pull_config() argument 4600 tg3_init_5401phy_dsp(struct tg3 *tp) tg3_init_5401phy_dsp() argument 4619 tg3_phy_eee_config_ok(struct tg3 *tp) tg3_phy_eee_config_ok() argument 4642 tg3_phy_copper_an_config_ok(struct tg3 *tp, u32 *lcladv) tg3_phy_copper_an_config_ok() argument 4686 tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv) tg3_phy_copper_fetch_rmtadv() argument 4708 tg3_test_and_report_link_chg(struct tg3 *tp, bool curr_link_up) tg3_test_and_report_link_chg() argument 4726 tg3_clear_mac_status(struct tg3 *tp) tg3_clear_mac_status() argument 4738 tg3_setup_eee(struct tg3 *tp) tg3_setup_eee() argument 4774 tg3_setup_copper_phy(struct tg3 *tp, bool force_reset) tg3_setup_copper_phy() argument 5151 tg3_fiber_aneg_smachine(struct tg3 *tp, struct tg3_fiber_aneginfo *ap) tg3_fiber_aneg_smachine() argument 5403 fiber_autoneg(struct tg3 *tp, u32 *txflags, u32 *rxflags) fiber_autoneg() argument 5448 tg3_init_bcm8002(struct tg3 *tp) tg3_init_bcm8002() argument 5498 tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) tg3_setup_fiber_hw_autoneg() argument 5642 tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) tg3_setup_fiber_by_hand() argument 5707 tg3_setup_fiber_phy(struct tg3 *tp, bool force_reset) tg3_setup_fiber_phy() argument 5809 tg3_setup_fiber_mii_phy(struct tg3 *tp, bool force_reset) tg3_setup_fiber_mii_phy() argument 6003 tg3_serdes_parallel_detect(struct tg3 *tp) tg3_serdes_parallel_detect() argument 6063 tg3_setup_phy(struct tg3 *tp, bool force_reset) tg3_setup_phy() argument 6130 tg3_refclk_read(struct tg3 *tp, struct ptp_system_timestamp *sts) tg3_refclk_read() argument 6143 tg3_refclk_write(struct tg3 *tp, u64 newval) tg3_refclk_write() argument 6157 struct tg3 *tp = netdev_priv(dev); tg3_get_ts_info() local 6185 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjfine() local 6213 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_adjtime() local 6226 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_gettimex() local 6242 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_settime() local 6257 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); tg3_ptp_enable() local 6333 tg3_hwclock_to_timestamp(struct tg3 *tp, u64 hwclock, struct skb_shared_hwtstamps *timestamp) tg3_hwclock_to_timestamp() argument 6342 tg3_ptp_init(struct tg3 *tp) tg3_ptp_init() argument 6354 tg3_ptp_resume(struct tg3 *tp) tg3_ptp_resume() argument 6363 tg3_ptp_fini(struct tg3 *tp) tg3_ptp_fini() argument 6373 tg3_irq_sync(struct tg3 *tp) tg3_irq_sync() argument 6378 tg3_rd32_loop(struct tg3 *tp, u32 *dst, u32 off, u32 len) tg3_rd32_loop() argument 6387 tg3_dump_legacy_regs(struct tg3 *tp, u32 *regs) tg3_dump_legacy_regs() argument 6437 tg3_dump_state(struct tg3 *tp) tg3_dump_state() argument 6507 tg3_tx_recover(struct tg3 *tp) tg3_tx_recover() argument 6535 struct tg3 *tp = tnapi->tp; tg3_tx() local 6639 tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) tg3_rx_data_free() argument 6665 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 6737 struct tg3 *tp = tnapi->tp; tg3_recycle_rx() local 6804 struct tg3 *tp = tnapi->tp; tg3_rx() local 7012 tg3_poll_link(struct tg3 *tp) tg3_poll_link() argument 7036 tg3_rx_prodring_xfer(struct tg3 *tp, struct tg3_rx_prodring_set *dpr, struct tg3_rx_prodring_set *spr) tg3_rx_prodring_xfer() argument 7164 struct tg3 *tp = tnapi->tp; tg3_poll_work() local 7211 tg3_reset_task_schedule(struct tg3 *tp) tg3_reset_task_schedule() argument 7217 tg3_reset_task_cancel(struct tg3 *tp) tg3_reset_task_cancel() argument 7227 struct tg3 *tp = tnapi->tp; tg3_poll_msix() local 7284 tg3_process_error(struct tg3 *tp) tg3_process_error() argument 7321 struct tg3 *tp = tnapi->tp; tg3_poll() local 7367 tg3_napi_disable(struct tg3 *tp) tg3_napi_disable() argument 7375 tg3_napi_enable(struct tg3 *tp) tg3_napi_enable() argument 7383 tg3_napi_init(struct tg3 *tp) tg3_napi_init() argument 7392 tg3_napi_fini(struct tg3 *tp) tg3_napi_fini() argument 7400 tg3_netif_stop(struct tg3 *tp) tg3_netif_stop() argument 7409 tg3_netif_start(struct tg3 *tp) tg3_netif_start() argument 7451 tg3_full_lock(struct tg3 *tp, int irq_sync) tg3_full_lock() argument 7458 tg3_full_unlock(struct tg3 *tp) tg3_full_unlock() argument 7469 struct tg3 *tp = tnapi->tp; tg3_msi_1shot() local 7488 struct tg3 *tp = tnapi->tp; tg3_msi() local 7510 struct tg3 *tp = tnapi->tp; tg3_interrupt() local 7559 struct tg3 *tp = tnapi->tp; tg3_interrupt_tagged() local 7612 struct tg3 *tp = tnapi->tp; tg3_test_isr() local 7627 struct tg3 *tp = netdev_priv(dev); tg3_poll_controller() local 7639 struct tg3 *tp = netdev_priv(dev); tg3_tx_timeout() local 7660 tg3_4g_tso_overflow_test(struct tg3 *tp, dma_addr_t mapping, u32 len, u32 mss) tg3_4g_tso_overflow_test() argument 7672 tg3_40bit_overflow_test(struct tg3 *tp, dma_addr_t mapping, int len) tg3_40bit_overflow_test() argument 7698 struct tg3 *tp = tnapi->tp; tg3_tx_frag_set() local 7799 struct tg3 *tp = tnapi->tp; tigon3_dma_hwbug_workaround() local 7861 tg3_tso_bug(struct tg3 *tp, struct tg3_napi *tnapi, struct netdev_queue *txq, struct sk_buff *skb) tg3_tso_bug() argument 7904 struct tg3 *tp = netdev_priv(dev); tg3_start_xmit() local 8163 tg3_mac_loopback(struct tg3 *tp, bool enable) tg3_mac_loopback() argument 8191 tg3_phy_lpbk_set(struct tg3 *tp, u32 speed, bool extlpbk) tg3_phy_lpbk_set() argument 8286 struct tg3 *tp = netdev_priv(dev); tg3_set_loopback() local 8313 struct tg3 *tp = netdev_priv(dev); tg3_fix_features() local 8331 tg3_rx_prodring_free(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_free() argument 8372 tg3_rx_prodring_alloc(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_alloc() argument 8474 tg3_rx_prodring_fini(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_fini() argument 8493 tg3_rx_prodring_init(struct tg3 *tp, struct tg3_rx_prodring_set *tpr) tg3_rx_prodring_init() argument 8536 tg3_free_rings(struct tg3 *tp) tg3_free_rings() argument 8570 tg3_init_rings(struct tg3 *tp) tg3_init_rings() argument 8605 tg3_mem_tx_release(struct tg3 *tp) tg3_mem_tx_release() argument 8623 tg3_mem_tx_acquire(struct tg3 *tp) tg3_mem_tx_acquire() argument 8656 tg3_mem_rx_release(struct tg3 *tp) tg3_mem_rx_release() argument 8676 tg3_mem_rx_acquire(struct tg3 *tp) tg3_mem_rx_acquire() argument 8720 tg3_free_consistent(struct tg3 *tp) tg3_free_consistent() argument 8753 tg3_alloc_consistent(struct tg3 *tp) tg3_alloc_consistent() argument 8820 tg3_stop_block(struct tg3 *tp, unsigned long ofs, u32 enable_bit, bool silent) tg3_stop_block() argument 8872 tg3_abort_hw(struct tg3 *tp, bool silent) tg3_abort_hw() argument 8944 tg3_save_pci_state(struct tg3 *tp) tg3_save_pci_state() argument 8950 tg3_restore_pci_state(struct tg3 *tp) tg3_restore_pci_state() argument 9010 tg3_override_clk(struct tg3 *tp) tg3_override_clk() argument 9031 tg3_restore_clk(struct tg3 *tp) tg3_restore_clk() argument 9078 tg3_save_pci_state(tp); global() variable 9112 tg3_full_unlock(tp); global() variable 9152 tg3_override_clk(tp); global() variable 9222 tg3_restore_pci_state(tp); global() variable 9233 tg3_stop_fw(tp); global() variable 9243 tg3_stop_fw(tp); global() variable 9281 tg3_mdio_start(tp); global() variable 9292 tg3_restore_clk(tp); global() variable 9336 tg3_halt(struct tg3 *tp, int kind, bool silent) tg3_halt() argument 9373 struct tg3 *tp = netdev_priv(dev); tg3_set_mac_addr() local 9408 tg3_set_bdinfo(struct tg3 *tp, u32 bdinfo_addr, dma_addr_t mapping, u32 maxlen_flags, u32 nic_addr) tg3_set_bdinfo() argument 9429 tg3_coal_tx_init(struct tg3 *tp, struct ethtool_coalesce *ec) tg3_coal_tx_init() argument 9461 tg3_coal_rx_init(struct tg3 *tp, struct ethtool_coalesce *ec) tg3_coal_rx_init() argument 9495 __tg3_set_coalesce(struct tg3 *tp, struct ethtool_coalesce *ec) __tg3_set_coalesce() argument 9514 tg3_tx_rcbs_disable(struct tg3 *tp) tg3_tx_rcbs_disable() argument 9536 tg3_tx_rcbs_init(struct tg3 *tp) tg3_tx_rcbs_init() argument 9557 tg3_rx_ret_rcbs_disable(struct tg3 *tp) tg3_rx_ret_rcbs_disable() argument 9580 tg3_rx_ret_rcbs_init(struct tg3 *tp) tg3_rx_ret_rcbs_init() argument 9601 tg3_rings_reset(struct tg3 *tp) tg3_rings_reset() argument 9671 tg3_setup_rxbd_thresholds(struct tg3 *tp) tg3_setup_rxbd_thresholds() argument 9734 tg3_set_multi(struct tg3 *tp, unsigned int accept_all) tg3_set_multi() argument 9745 struct tg3 *tp = netdev_priv(dev); __tg3_set_rx_mode() local 9811 tg3_rss_init_dflt_indir_tbl(struct tg3 *tp, u32 qcnt) tg3_rss_init_dflt_indir_tbl() argument 9819 tg3_rss_check_indir_tbl(struct tg3 *tp) tg3_rss_check_indir_tbl() argument 9841 tg3_rss_write_indir_tbl(struct tg3 *tp) tg3_rss_write_indir_tbl() argument 9858 tg3_lso_rd_dma_workaround_bit(struct tg3 *tp) tg3_lso_rd_dma_workaround_bit() argument 9867 tg3_reset_hw(struct tg3 *tp, bool reset_phy) tg3_reset_hw() argument 10783 tg3_init_hw(struct tg3 *tp, bool reset_phy) tg3_init_hw() argument 10800 tg3_sd_scan_scratchpad(struct tg3 *tp, struct tg3_ocir *ocir) tg3_sd_scan_scratchpad() argument 10819 struct tg3 *tp = dev_get_drvdata(dev); tg3_show_temp() local 10845 tg3_hwmon_close(struct tg3 *tp) tg3_hwmon_close() argument 10853 tg3_hwmon_open(struct tg3 *tp) tg3_hwmon_open() argument 10881 tg3_hwmon_close(struct tg3 *tp) tg3_hwmon_close() argument 10882 tg3_hwmon_open(struct tg3 *tp) tg3_hwmon_open() argument 10893 tg3_periodic_fetch_stats(struct tg3 *tp) tg3_periodic_fetch_stats() argument 10959 tg3_chk_missed_msi(struct tg3 *tp) tg3_chk_missed_msi() argument 10984 struct tg3 *tp = from_timer(tp, t, timer); tg3_timer() local 11126 tg3_timer_init(struct tg3 *tp) tg3_timer_init() argument 11144 tg3_timer_start(struct tg3 *tp) tg3_timer_start() argument 11153 tg3_timer_stop(struct tg3 *tp) tg3_timer_stop() argument 11172 tg3_full_unlock(tp); global() variable 11173 tg3_timer_stop(tp); global() variable 11175 tg3_napi_enable(tp); global() variable 11184 struct tg3 *tp = container_of(work, struct tg3, reset_task); tg3_reset_task() local 11235 tg3_request_irq(struct tg3 *tp, int irq_num) tg3_request_irq() argument 11276 tg3_test_interrupt(struct tg3 *tp) tg3_test_interrupt() argument 11353 tg3_test_msi(struct tg3 *tp) tg3_test_msi() argument 11411 tg3_request_firmware(struct tg3 *tp) tg3_request_firmware() argument 11442 tg3_irq_count(struct tg3 *tp) tg3_irq_count() argument 11458 tg3_enable_msix(struct tg3 *tp) tg3_enable_msix() argument 11517 tg3_ints_init(struct tg3 *tp) tg3_ints_init() argument 11556 tg3_ints_fini(struct tg3 *tp) tg3_ints_fini() argument 11568 tg3_start(struct tg3 *tp, bool reset_phy, bool test_irq, bool init) tg3_start() argument 11683 tg3_stop(struct tg3 *tp) tg3_stop() argument 11720 struct tg3 *tp = netdev_priv(dev); tg3_open() local 11777 struct tg3 *tp = netdev_priv(dev); tg3_close() local 11800 tg3_calc_crc_errors(struct tg3 *tp) tg3_calc_crc_errors() argument 11828 tg3_get_estats(struct tg3 *tp, struct tg3_ethtool_stats *estats) tg3_get_estats() argument 11912 tg3_get_nstats(struct tg3 *tp, struct rtnl_link_stats64 *stats) tg3_get_nstats() argument 11995 struct tg3 *tp = netdev_priv(dev); tg3_get_regs() local 12013 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom_len() local 12020 struct tg3 *tp = netdev_priv(dev); tg3_get_eeprom() local 12111 struct tg3 *tp = netdev_priv(dev); tg3_set_eeprom() local 12168 struct tg3 *tp = netdev_priv(dev); tg3_get_link_ksettings() local 12243 struct tg3 *tp = netdev_priv(dev); tg3_set_link_ksettings() local 12338 struct tg3 *tp = netdev_priv(dev); tg3_get_drvinfo() local 12347 struct tg3 *tp = netdev_priv(dev); tg3_get_wol() local 12361 struct tg3 *tp = netdev_priv(dev); tg3_set_wol() local 12382 struct tg3 *tp = netdev_priv(dev); tg3_get_msglevel() local 12388 struct tg3 *tp = netdev_priv(dev); tg3_set_msglevel() local 12394 struct tg3 *tp = netdev_priv(dev); tg3_nway_reset() local 12433 struct tg3 *tp = netdev_priv(dev); tg3_get_ringparam() local 12457 struct tg3 *tp = netdev_priv(dev); tg3_set_ringparam() local 12512 struct tg3 *tp = netdev_priv(dev); tg3_get_pauseparam() local 12529 struct tg3 *tp = netdev_priv(dev); tg3_set_pauseparam() local 12635 struct tg3 *tp = netdev_priv(dev); tg3_get_rxnfc() local 12660 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh_indir_size() local 12670 struct tg3 *tp = netdev_priv(dev); tg3_get_rxfh() local 12687 struct tg3 *tp = netdev_priv(dev); tg3_set_rxfh() local 12719 struct tg3 *tp = netdev_priv(dev); tg3_get_channels() local 12744 struct tg3 *tp = netdev_priv(dev); tg3_set_channels() local 12786 struct tg3 *tp = netdev_priv(dev); tg3_set_phys_id() local 12818 struct tg3 *tp = netdev_priv(dev); tg3_get_ethtool_stats() local 12826 tg3_vpd_readblock(struct tg3 *tp, unsigned int *vpdlen) tg3_vpd_readblock() argument 12897 tg3_test_nvram(struct tg3 *tp) tg3_test_nvram() argument 13057 tg3_test_link(struct tg3 *tp) tg3_test_link() argument 13081 tg3_test_registers(struct tg3 *tp) tg3_test_registers() argument 13301 tg3_do_mem_test(struct tg3 *tp, u32 offset, u32 len) tg3_do_mem_test() argument 13320 tg3_test_memory(struct tg3 *tp) tg3_test_memory() argument 13413 tg3_run_loopback(struct tg3 *tp, u32 pktsz, bool tso_loopback) tg3_run_loopback() argument 13629 tg3_test_loopback(struct tg3 *tp, u64 *data, bool do_extlpbk) tg3_test_loopback() argument 13747 struct tg3 *tp = netdev_priv(dev); tg3_self_test() local 13835 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_set() local 13919 struct tg3 *tp = netdev_priv(dev); tg3_hwtstamp_get() local 13981 struct tg3 *tp = netdev_priv(dev); tg3_ioctl() local 14048 struct tg3 *tp = netdev_priv(dev); tg3_get_coalesce() local 14059 struct tg3 *tp = netdev_priv(dev); tg3_set_coalesce() local 14105 struct tg3 *tp = netdev_priv(dev); tg3_set_eee() local 14142 struct tg3 *tp = netdev_priv(dev); tg3_get_eee() local 14199 struct tg3 *tp = netdev_priv(dev); tg3_get_stats64() local 14214 struct tg3 *tp = netdev_priv(dev); tg3_set_rx_mode() local 14224 tg3_set_mtu(struct net_device *dev, struct tg3 *tp, int new_mtu) tg3_set_mtu() argument 14247 struct tg3 *tp = netdev_priv(dev); tg3_change_mtu() local 14309 tg3_get_eeprom_size(struct tg3 *tp) tg3_get_eeprom_size() argument 14343 tg3_get_nvram_size(struct tg3 *tp) tg3_get_nvram_size() argument 14376 tg3_get_nvram_info(struct tg3 *tp) tg3_get_nvram_info() argument 14427 tg3_nvram_get_pagesize(struct tg3 *tp, u32 nvmcfg1) tg3_nvram_get_pagesize() argument 14454 tg3_get_5752_nvram_info(struct tg3 *tp) tg3_get_5752_nvram_info() argument 14495 tg3_get_5755_nvram_info(struct tg3 *tp) tg3_get_5755_nvram_info() argument 14551 tg3_get_5787_nvram_info(struct tg3 *tp) tg3_get_5787_nvram_info() argument 14589 tg3_get_5761_nvram_info(struct tg3 *tp) tg3_get_5761_nvram_info() argument 14664 tg3_get_5906_nvram_info(struct tg3 *tp) tg3_get_5906_nvram_info() argument 14671 tg3_get_57780_nvram_info(struct tg3 *tp) tg3_get_57780_nvram_info() argument 14744 tg3_get_5717_nvram_info(struct tg3 *tp) tg3_get_5717_nvram_info() argument 14822 tg3_get_5720_nvram_info(struct tg3 *tp) tg3_get_5720_nvram_info() argument 14987 tg3_nvram_init(struct tg3 *tp) tg3_nvram_init() argument 15130 tg3_lookup_by_subsys(struct tg3 *tp) tg3_lookup_by_subsys() argument 15144 tg3_get_eeprom_hw_cfg(struct tg3 *tp) tg3_get_eeprom_hw_cfg() argument 15361 tg3_ape_otp_read(struct tg3 *tp, u32 offset, u32 *val) tg3_ape_otp_read() argument 15394 tg3_issue_otp_command(struct tg3 *tp, u32 cmd) tg3_issue_otp_command() argument 15417 tg3_read_otp_phycfg(struct tg3 *tp) tg3_read_otp_phycfg() argument 15443 tg3_phy_init_link_config(struct tg3 *tp) tg3_phy_init_link_config() argument 15472 tg3_phy_probe(struct tg3 *tp) tg3_phy_probe() argument 15627 tg3_read_vpd(struct tg3 *tp) tg3_read_vpd() argument 15723 tg3_fw_img_is_valid(struct tg3 *tp, u32 offset) tg3_fw_img_is_valid() argument 15736 tg3_read_bc_ver(struct tg3 *tp) tg3_read_bc_ver() argument 15788 tg3_read_hwsb_ver(struct tg3 *tp) tg3_read_hwsb_ver() argument 15804 tg3_read_sb_ver(struct tg3 *tp, u32 val) tg3_read_sb_ver() argument 15859 tg3_read_mgmtfw_ver(struct tg3 *tp) tg3_read_mgmtfw_ver() argument 15911 tg3_probe_ncsi(struct tg3 *tp) tg3_probe_ncsi() argument 15927 tg3_read_dash_ver(struct tg3 *tp) tg3_read_dash_ver() argument 15952 tg3_read_otp_ver(struct tg3 *tp) tg3_read_otp_ver() argument 15977 tg3_read_fw_ver(struct tg3 *tp) tg3_read_fw_ver() argument 16014 tg3_rx_ret_ring_size(struct tg3 *tp) tg3_rx_ret_ring_size() argument 16031 tg3_find_peer(struct tg3 *tp) tg3_find_peer() argument 16059 tg3_detect_asic_rev(struct tg3 *tp, u32 misc_ctrl_reg) tg3_detect_asic_rev() argument 16147 tg3_10_100_only_device(struct tg3 *tp, const struct pci_device_id *ent) tg3_10_100_only_device() argument 16169 tg3_get_invariants(struct tg3 *tp, const struct pci_device_id *ent) tg3_get_invariants() argument 16950 tg3_get_device_address(struct tg3 *tp, u8 *addr) tg3_get_device_address() argument 17027 tg3_calc_dma_bndry(struct tg3 *tp, u32 val) tg3_calc_dma_bndry() argument 17168 tg3_do_test_dma(struct tg3 *tp, u32 *buf, dma_addr_t buf_dma, int size, bool to_device) tg3_do_test_dma() argument 17256 tg3_test_dma(struct tg3 *tp) tg3_test_dma() argument 17430 tg3_init_bufmgr_config(struct tg3 *tp) tg3_init_bufmgr_config() argument 17486 tg3_phy_string(struct tg3 *tp) tg3_phy_string() argument 17518 tg3_bus_string(struct tg3 *tp, char *str) tg3_bus_string() argument 17554 tg3_init_coal(struct tg3 *tp) tg3_init_coal() argument 17589 struct tg3 *tp; tg3_init_one() local 17980 struct tg3 *tp = netdev_priv(dev); tg3_remove_one() local 18012 struct tg3 *tp = netdev_priv(dev); tg3_suspend() local 18068 struct tg3 *tp = netdev_priv(dev); tg3_resume() local 18109 struct tg3 *tp = netdev_priv(dev); tg3_shutdown() local 18140 struct tg3 *tp = netdev_priv(netdev); tg3_io_error_detected() local 18199 struct tg3 *tp = netdev_priv(netdev); tg3_io_slot_reset() local 18246 struct tg3 *tp = netdev_priv(netdev); tg3_io_resume() local [all...] |
/kernel/linux/linux-5.10/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 in get_current_temps() 138 do_envctrl_shutdown(struct bbc_cpu_temperature *tp) do_envctrl_shutdown() argument 169 analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) analyze_ambient_temp() argument 224 analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) analyze_cpu_temp() argument 279 analyze_temps(struct bbc_cpu_temperature *tp, unsigned long *last_warn) analyze_temps() argument 292 struct bbc_cpu_temperature *tp; prioritize_fan_action() local 425 struct bbc_cpu_temperature *tp; kenvctrld() local 449 struct bbc_cpu_temperature *tp; attach_one_temp() local 532 destroy_one_temp(struct bbc_cpu_temperature *tp) destroy_one_temp() argument 540 struct bbc_cpu_temperature *tp, *tpos; destroy_all_temps() local [all...] |
/kernel/linux/linux-6.6/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 in get_current_temps() 138 do_envctrl_shutdown(struct bbc_cpu_temperature *tp) do_envctrl_shutdown() argument 169 analyze_ambient_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) analyze_ambient_temp() argument 224 analyze_cpu_temp(struct bbc_cpu_temperature *tp, unsigned long *last_warn, int tick) analyze_cpu_temp() argument 279 analyze_temps(struct bbc_cpu_temperature *tp, unsigned long *last_warn) analyze_temps() argument 292 struct bbc_cpu_temperature *tp; prioritize_fan_action() local 425 struct bbc_cpu_temperature *tp; kenvctrld() local 449 struct bbc_cpu_temperature *tp; attach_one_temp() local 532 destroy_one_temp(struct bbc_cpu_temperature *tp) destroy_one_temp() argument 540 struct bbc_cpu_temperature *tp, *tpos; destroy_all_temps() local [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | r8152.c | 807 void (*init)(struct r8152 *tp); 808 int (*enable)(struct r8152 *tp); 809 void (*disable)(struct r8152 *tp); 810 void (*up)(struct r8152 *tp); 811 void (*down)(struct r8152 *tp); 812 void (*unload)(struct r8152 *tp); 813 int (*eee_get)(struct r8152 *tp, struct ethtool_eee *eee); 814 int (*eee_set)(struct r8152 *tp, struct ethtool_eee *eee); 815 bool (*in_nway)(struct r8152 *tp); 816 void (*hw_phy_cfg)(struct r8152 *tp); 1034 get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) get_registers() argument 1057 set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) set_registers() argument 1075 rtl_set_unplug(struct r8152 *tp) rtl_set_unplug() argument 1083 generic_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data, u16 type) generic_ocp_read() argument 1126 generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data, u16 type) generic_ocp_write() argument 1197 pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) pla_ocp_read() argument 1203 pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) pla_ocp_write() argument 1209 usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) usb_ocp_write() argument 1214 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) ocp_read_dword() argument 1223 ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) ocp_write_dword() argument 1230 ocp_read_word(struct r8152 *tp, u16 type, u16 index) ocp_read_word() argument 1249 ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) ocp_write_word() argument 1270 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) ocp_read_byte() argument 1287 ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) ocp_write_byte() argument 1308 ocp_reg_read(struct r8152 *tp, u16 addr) ocp_reg_read() argument 1322 ocp_reg_write(struct r8152 *tp, u16 addr, u16 data) ocp_reg_write() argument 1336 r8152_mdio_write(struct r8152 *tp, u32 reg_addr, u32 value) r8152_mdio_write() argument 1341 r8152_mdio_read(struct r8152 *tp, u32 reg_addr) r8152_mdio_read() argument 1346 sram_write(struct r8152 *tp, u16 addr, u16 data) sram_write() argument 1352 sram_read(struct r8152 *tp, u16 addr) sram_read() argument 1360 struct r8152 *tp = netdev_priv(netdev); read_mii_word() local 1377 struct r8152 *tp = netdev_priv(netdev); write_mii_word() local 1393 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_mac_address() local 1423 vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) vendor_mac_passthru_addr_read() argument 1500 determine_ethernet_addr(struct r8152 *tp, struct sockaddr *sa) determine_ethernet_addr() argument 1537 set_ethernet_addr(struct r8152 *tp) set_ethernet_addr() argument 1560 struct r8152 *tp; read_bulk_callback() local 1620 struct r8152 *tp; write_bulk_callback() local 1664 struct r8152 *tp; intr_callback() local 1737 free_rx_agg(struct r8152 *tp, struct rx_agg *agg) free_rx_agg() argument 1748 alloc_rx_agg(struct r8152 *tp, gfp_t mflags) alloc_rx_agg() argument 1789 free_all_mem(struct r8152 *tp) free_all_mem() argument 1820 alloc_all_mem(struct r8152 *tp) alloc_all_mem() argument 1895 r8152_get_tx_agg(struct r8152 *tp) r8152_get_tx_agg() argument 1920 r8152_csum_workaround(struct r8152 *tp, struct sk_buff *skb, struct sk_buff_head *list) r8152_csum_workaround() argument 1976 r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, struct sk_buff *skb, u32 len, u32 transport_offset) r8152_tx_csum() argument 2061 r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg) r8152_tx_agg_fill() argument 2160 r8152_rx_csum(struct r8152 *tp, struct rx_desc *rx_desc) r8152_rx_csum() argument 2189 rx_count_exceed(struct r8152 *tp) rx_count_exceed() argument 2199 rtl_get_free_rx(struct r8152 *tp, gfp_t mflags) rtl_get_free_rx() argument 2229 rx_bottom(struct r8152 *tp, int budget) rx_bottom() argument 2378 tx_bottom(struct r8152 *tp) tx_bottom() argument 2417 struct r8152 *tp; bottom_half() local 2439 struct r8152 *tp = container_of(napi, struct r8152, napi); r8152_poll() local 2459 r8152_submit_rx(struct r8152 *tp, struct rx_agg *agg, gfp_t mem_flags) r8152_submit_rx() argument 2494 rtl_drop_queued_tx(struct r8152 *tp) rtl_drop_queued_tx() argument 2516 struct r8152 *tp = netdev_priv(netdev); rtl8152_tx_timeout() local 2525 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_rx_mode() local 2535 struct r8152 *tp = netdev_priv(netdev); _rtl8152_set_rx_mode() local 2597 struct r8152 *tp = netdev_priv(netdev); rtl8152_start_xmit() local 2618 r8152b_reset_packet_filter(struct r8152 *tp) r8152b_reset_packet_filter() argument 2629 rtl8152_nic_reset(struct r8152 *tp) rtl8152_nic_reset() argument 2642 set_tx_qlen(struct r8152 *tp) set_tx_qlen() argument 2650 rtl8152_get_speed(struct r8152 *tp) rtl8152_get_speed() argument 2655 rtl_set_eee_plus(struct r8152 *tp) rtl_set_eee_plus() argument 2672 rxdy_gated_en(struct r8152 *tp, bool enable) rxdy_gated_en() argument 2684 rtl_start_rx(struct r8152 *tp) rtl_start_rx() argument 2727 rtl_stop_rx(struct r8152 *tp) rtl_stop_rx() argument 2767 r8153b_rx_agg_chg_indicate(struct r8152 *tp) r8153b_rx_agg_chg_indicate() argument 2773 rtl_enable(struct r8152 *tp) rtl_enable() argument 2797 rtl8152_enable(struct r8152 *tp) rtl8152_enable() argument 2808 r8153_set_rx_early_timeout(struct r8152 *tp) r8153_set_rx_early_timeout() argument 2837 r8153_set_rx_early_size(struct r8152 *tp) r8153_set_rx_early_size() argument 2860 rtl8153_enable(struct r8152 *tp) rtl8153_enable() argument 2884 rtl_disable(struct r8152 *tp) rtl_disable() argument 2923 r8152_power_cut_en(struct r8152 *tp, bool enable) r8152_power_cut_en() argument 2939 rtl_rx_vlan_en(struct r8152 *tp, bool enable) rtl_rx_vlan_en() argument 2955 struct r8152 *tp = netdev_priv(dev); rtl8152_set_features() local 2981 __rtl_get_wol(struct r8152 *tp) __rtl_get_wol() argument 3005 __rtl_set_wol(struct r8152 *tp, u32 wolopts) __rtl_set_wol() argument 3041 r8153_u1u2en(struct r8152 *tp, bool enable) r8153_u1u2en() argument 3053 r8153b_u1u2en(struct r8152 *tp, bool enable) r8153b_u1u2en() argument 3066 r8153_u2p3en(struct r8152 *tp, bool enable) r8153_u2p3en() argument 3078 r8153b_ups_flags(struct r8152 *tp) r8153b_ups_flags() argument 3150 r8153b_green_en(struct r8152 *tp, bool enable) r8153b_green_en() argument 3171 r8153_phy_status(struct r8152 *tp, u16 desired) r8153_phy_status() argument 3195 r8153b_ups_en(struct r8152 *tp, bool enable) r8153b_ups_en() argument 3247 r8153_power_cut_en(struct r8152 *tp, bool enable) r8153_power_cut_en() argument 3263 r8153b_power_cut_en(struct r8152 *tp, bool enable) r8153b_power_cut_en() argument 3279 r8153_queue_wake(struct r8152 *tp, bool enable) r8153_queue_wake() argument 3299 rtl_can_wakeup(struct r8152 *tp) rtl_can_wakeup() argument 3306 rtl_runtime_suspend_enable(struct r8152 *tp, bool enable) rtl_runtime_suspend_enable() argument 3335 rtl8153_runtime_enable(struct r8152 *tp, bool enable) rtl8153_runtime_enable() argument 3359 rtl8153b_runtime_enable(struct r8152 *tp, bool enable) rtl8153b_runtime_enable() argument 3376 r8153_teredo_off(struct r8152 *tp) r8153_teredo_off() argument 3411 rtl_reset_bmu(struct r8152 *tp) rtl_reset_bmu() argument 3423 rtl_clear_bp(struct r8152 *tp, u16 type) rtl_clear_bp() argument 3470 r8153_patch_request(struct r8152 *tp, bool request) r8153_patch_request() argument 3497 r8153_pre_ram_code(struct r8152 *tp, u16 key_addr, u16 patch_key) r8153_pre_ram_code() argument 3510 r8153_post_ram_code(struct r8152 *tp, u16 key_addr) r8153_post_ram_code() argument 3529 rtl8152_is_fw_phy_nc_ok(struct r8152 *tp, struct fw_phy_nc *phy) rtl8152_is_fw_phy_nc_ok() argument 3605 rtl8152_is_fw_mac_ok(struct r8152 *tp, struct fw_mac *mac) rtl8152_is_fw_mac_ok() argument 3729 rtl8152_fw_verify_checksum(struct r8152 *tp, struct fw_header *fw_hdr, size_t size) rtl8152_fw_verify_checksum() argument 3776 rtl8152_check_firmware(struct r8152 *tp, struct rtl_fw *rtl_fw) rtl8152_check_firmware() argument 3911 rtl8152_fw_phy_nc_apply(struct r8152 *tp, struct fw_phy_nc *phy) rtl8152_fw_phy_nc_apply() argument 3946 rtl8152_fw_mac_apply(struct r8152 *tp, struct fw_mac *mac) rtl8152_fw_mac_apply() argument 4007 rtl8152_apply_firmware(struct r8152 *tp) rtl8152_apply_firmware() argument 4063 rtl8152_release_firmware(struct r8152 *tp) rtl8152_release_firmware() argument 4073 rtl8152_request_firmware(struct r8152 *tp) rtl8152_request_firmware() argument 4104 r8152_aldps_en(struct r8152 *tp, bool enable) r8152_aldps_en() argument 4116 r8152_mmd_indirect(struct r8152 *tp, u16 dev, u16 reg) r8152_mmd_indirect() argument 4123 r8152_mmd_read(struct r8152 *tp, u16 dev, u16 reg) r8152_mmd_read() argument 4134 r8152_mmd_write(struct r8152 *tp, u16 dev, u16 reg, u16 data) r8152_mmd_write() argument 4141 r8152_eee_en(struct r8152 *tp, bool enable) r8152_eee_en() argument 4172 r8153_eee_en(struct r8152 *tp, bool enable) r8153_eee_en() argument 4194 rtl_eee_enable(struct r8152 *tp, bool enable) rtl_eee_enable() argument 4228 r8152b_enable_fc(struct r8152 *tp) r8152b_enable_fc() argument 4239 rtl8152_disable(struct r8152 *tp) rtl8152_disable() argument 4246 r8152b_hw_phy_cfg(struct r8152 *tp) r8152b_hw_phy_cfg() argument 4256 wait_oob_link_list_ready(struct r8152 *tp) wait_oob_link_list_ready() argument 4269 r8152b_exit_oob(struct r8152 *tp) r8152b_exit_oob() argument 4335 r8152b_enter_oob(struct r8152 *tp) r8152b_enter_oob() argument 4376 r8153_pre_firmware_1(struct r8152 *tp) r8153_pre_firmware_1() argument 4392 r8153_post_firmware_1(struct r8152 *tp) r8153_post_firmware_1() argument 4404 r8153_pre_firmware_2(struct r8152 *tp) r8153_pre_firmware_2() argument 4417 r8153_post_firmware_2(struct r8152 *tp) r8153_post_firmware_2() argument 4445 r8153_post_firmware_3(struct r8152 *tp) r8153_post_firmware_3() argument 4460 r8153b_pre_firmware_1(struct r8152 *tp) r8153b_pre_firmware_1() argument 4469 r8153b_post_firmware_1(struct r8152 *tp) r8153b_post_firmware_1() argument 4496 r8153_aldps_en(struct r8152 *tp, bool enable) r8153_aldps_en() argument 4519 r8153_hw_phy_cfg(struct r8152 *tp) r8153_hw_phy_cfg() argument 4581 r8152_efuse_read(struct r8152 *tp, u8 addr) r8152_efuse_read() argument 4593 r8153b_hw_phy_cfg(struct r8152 *tp) r8153b_hw_phy_cfg() argument 4674 r8153_first_init(struct r8152 *tp) r8153_first_init() argument 4724 r8153_enter_oob(struct r8152 *tp) r8153_enter_oob() argument 4786 rtl8153_disable(struct r8152 *tp) rtl8153_disable() argument 4794 rtl8152_set_speed(struct r8152 *tp, u8 autoneg, u32 speed, u8 duplex, u32 advertising) rtl8152_set_speed() argument 4920 rtl8152_up(struct r8152 *tp) rtl8152_up() argument 4930 rtl8152_down(struct r8152 *tp) rtl8152_down() argument 4943 rtl8153_up(struct r8152 *tp) rtl8153_up() argument 4983 rtl8153_down(struct r8152 *tp) rtl8153_down() argument 5004 rtl8153b_up(struct r8152 *tp) rtl8153b_up() argument 5028 rtl8153b_down(struct r8152 *tp) rtl8153b_down() argument 5049 rtl8152_in_nway(struct r8152 *tp) rtl8152_in_nway() argument 5065 rtl8153_in_nway(struct r8152 *tp) rtl8153_in_nway() argument 5075 set_carrier(struct r8152 *tp) set_carrier() argument 5114 struct r8152 *tp = container_of(work, struct r8152, schedule.work); rtl_work_func_t() local 5152 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); rtl_hw_phy_work_func_t() local 5187 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); rtl_notifier() local 5212 struct r8152 *tp = netdev_priv(netdev); rtl8152_open() local 5267 struct r8152 *tp = netdev_priv(netdev); rtl8152_close() local 5300 rtl_tally_reset(struct r8152 *tp) rtl_tally_reset() argument 5309 r8152b_init(struct r8152 *tp) r8152b_init() argument 5352 r8153_init(struct r8152 *tp) r8153_init() argument 5497 r8153b_init(struct r8152 *tp) r8153b_init() argument 5585 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_pre_reset() local 5612 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_post_reset() local 5650 delay_autosuspend(struct r8152 *tp) delay_autosuspend() argument 5673 rtl8152_runtime_resume(struct r8152 *tp) rtl8152_runtime_resume() argument 5712 rtl8152_system_resume(struct r8152 *tp) rtl8152_system_resume() argument 5728 rtl8152_runtime_suspend(struct r8152 *tp) rtl8152_runtime_suspend() argument 5783 rtl8152_system_suspend(struct r8152 *tp) rtl8152_system_suspend() argument 5807 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_suspend() local 5824 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_resume() local 5841 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_reset_resume() local 5852 struct r8152 *tp = netdev_priv(dev); rtl8152_get_wol() local 5872 struct r8152 *tp = netdev_priv(dev); rtl8152_set_wol() local 5900 struct r8152 *tp = netdev_priv(dev); rtl8152_get_msglevel() local 5907 struct r8152 *tp = netdev_priv(dev); rtl8152_set_msglevel() local 5915 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_drvinfo() local 5929 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_link_ksettings() local 5954 struct r8152 *tp = netdev_priv(dev); rtl8152_set_link_ksettings() local 6034 struct r8152 *tp = netdev_priv(dev); rtl8152_get_ethtool_stats() local 6068 r8152_get_eee(struct r8152 *tp, struct ethtool_eee *eee) r8152_get_eee() argument 6091 r8152_set_eee(struct r8152 *tp, struct ethtool_eee *eee) r8152_set_eee() argument 6103 r8153_get_eee(struct r8152 *tp, struct ethtool_eee *eee) r8153_get_eee() argument 6129 struct r8152 *tp = netdev_priv(net); rtl_ethtool_get_eee() local 6151 struct r8152 *tp = netdev_priv(net); rtl_ethtool_set_eee() local 6174 struct r8152 *tp = netdev_priv(dev); rtl8152_nway_reset() local 6196 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_coalesce() local 6215 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_coalesce() local 6262 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_tunable() local 6279 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_tunable() local 6313 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_ringparam() local 6322 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_ringparam() local 6368 struct r8152 *tp = netdev_priv(netdev); rtl8152_ioctl() local 6412 struct r8152 *tp = netdev_priv(dev); rtl8152_change_mtu() local 6463 rtl8152_unload(struct r8152 *tp) rtl8152_unload() argument 6472 rtl8153_unload(struct r8152 *tp) rtl8153_unload() argument 6480 rtl8153b_unload(struct r8152 *tp) rtl8153b_unload() argument 6488 rtl_ops_init(struct r8152 *tp) rtl_ops_init() argument 6573 rtl_fw_init(struct r8152 *tp) rtl_fw_init() argument 6669 struct r8152 *tp; rtl8152_probe() local 6840 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_disconnect() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
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 = from_timer(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 | pnic2.c | 81 struct tulip_private *tp = from_timer(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 in pnic2_start_nway() 172 struct tulip_private *tp = netdev_priv(dev); pnic2_lnk_change() local [all...] |
H A D | tulip_core.c | 117 struct tulip_private *tp = from_timer(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 in tulip_up() 504 struct tulip_private *tp = netdev_priv(dev); tulip_open() local 528 struct tulip_private *tp = netdev_priv(dev); tulip_tx_timeout() local 605 struct tulip_private *tp = netdev_priv(dev); tulip_init_ring() local 655 struct tulip_private *tp = netdev_priv(dev); tulip_start_xmit() local 701 tulip_clean_tx_ring(struct tulip_private *tp) tulip_clean_tx_ring() argument 740 struct tulip_private *tp = netdev_priv(dev); tulip_down() local 783 struct tulip_private *tp = netdev_priv(dev); tulip_free_ring() local 821 struct tulip_private *tp = netdev_priv(dev); tulip_close() local 841 struct tulip_private *tp = netdev_priv(dev); tulip_get_stats() local 869 struct tulip_private *tp = netdev_priv(dev); tulip_ethtool_set_wol() local 882 struct tulip_private *tp = netdev_priv(dev); tulip_ethtool_get_wol() local 899 struct tulip_private *tp = netdev_priv(dev); private_ioctl() local 1001 struct tulip_private *tp = netdev_priv(dev); build_setup_frame_hash() local 1030 struct tulip_private *tp = netdev_priv(dev); build_setup_frame_perfect() local 1056 struct tulip_private *tp = netdev_priv(dev); set_rx_mode() local 1183 struct tulip_private *tp = netdev_priv(dev); tulip_mwi_config() local 1291 struct tulip_private *tp; tulip_init_one() local 1788 struct tulip_private *tp = netdev_priv(dev); tulip_set_wolopts() local 1815 struct tulip_private *tp = netdev_priv(dev); tulip_suspend() local 1840 struct tulip_private *tp = netdev_priv(dev); tulip_resume() local 1880 struct tulip_private *tp; tulip_remove_one() local 1909 struct tulip_private *tp = netdev_priv(dev); poll_tulip() 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 in t21142_media_task() 113 struct tulip_private *tp = netdev_priv(dev); t21142_start_nway() local 141 struct tulip_private *tp = netdev_priv(dev); t21142_lnk_change() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/ |
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 = from_timer(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 | pnic2.c | 81 struct tulip_private *tp = from_timer(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 in pnic2_start_nway() 172 struct tulip_private *tp = netdev_priv(dev); pnic2_lnk_change() local [all...] |
H A D | tulip_core.c | 117 struct tulip_private *tp = from_timer(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 in tulip_up() 504 struct tulip_private *tp = netdev_priv(dev); tulip_open() local 528 struct tulip_private *tp = netdev_priv(dev); tulip_tx_timeout() local 605 struct tulip_private *tp = netdev_priv(dev); tulip_init_ring() local 655 struct tulip_private *tp = netdev_priv(dev); tulip_start_xmit() local 701 tulip_clean_tx_ring(struct tulip_private *tp) tulip_clean_tx_ring() argument 740 struct tulip_private *tp = netdev_priv(dev); tulip_down() local 783 struct tulip_private *tp = netdev_priv(dev); tulip_free_ring() local 821 struct tulip_private *tp = netdev_priv(dev); tulip_close() local 841 struct tulip_private *tp = netdev_priv(dev); tulip_get_stats() local 869 struct tulip_private *tp = netdev_priv(dev); tulip_ethtool_set_wol() local 882 struct tulip_private *tp = netdev_priv(dev); tulip_ethtool_get_wol() local 899 struct tulip_private *tp = netdev_priv(dev); private_ioctl() local 1001 struct tulip_private *tp = netdev_priv(dev); build_setup_frame_hash() local 1030 struct tulip_private *tp = netdev_priv(dev); build_setup_frame_perfect() local 1056 struct tulip_private *tp = netdev_priv(dev); set_rx_mode() local 1183 struct tulip_private *tp = netdev_priv(dev); tulip_mwi_config() local 1291 struct tulip_private *tp; tulip_init_one() local 1780 struct tulip_private *tp = netdev_priv(dev); tulip_set_wolopts() local 1807 struct tulip_private *tp = netdev_priv(dev); tulip_suspend() local 1832 struct tulip_private *tp = netdev_priv(dev); tulip_resume() local 1888 struct tulip_private *tp = netdev_priv(dev); poll_tulip() 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 in t21142_media_task() 113 struct tulip_private *tp = netdev_priv(dev); t21142_start_nway() local 141 struct tulip_private *tp = netdev_priv(dev); t21142_lnk_change() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_rate.c | 42 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_skb_sent() local 52 * Note that we use packets_out instead of tcp_packets_in_flight(tp) in tcp_rate_skb_sent() 58 if (!tp->packets_out) { in tcp_rate_skb_sent() 61 tp->first_tx_mstamp = tstamp_us; in tcp_rate_skb_sent() 62 tp->delivered_mstamp = tstamp_us; in tcp_rate_skb_sent() 65 TCP_SKB_CB(skb)->tx.first_tx_mstamp = tp->first_tx_mstamp; in tcp_rate_skb_sent() 66 TCP_SKB_CB(skb)->tx.delivered_mstamp = tp->delivered_mstamp; in tcp_rate_skb_sent() 67 TCP_SKB_CB(skb)->tx.delivered = tp->delivered; in tcp_rate_skb_sent() 68 TCP_SKB_CB(skb)->tx.delivered_ce = tp->delivered_ce; in tcp_rate_skb_sent() 69 TCP_SKB_CB(skb)->tx.is_app_limited = tp in tcp_rate_skb_sent() 83 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_skb_delivered() local 120 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_gen() local 196 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_check_app_limited() local [all...] |
H A D | tcp_recovery.c | 7 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...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
H A D | tp.c | 2 /* $Date: 2006/02/07 04:21:54 $ $RCSfile: tp.c,v $ $Revision: 1.73 $ */ 5 #include "tp.h" 54 void t1_tp_destroy(struct petp *tp) 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 92 t1_tp_intr_disable(struct petp *tp) t1_tp_intr_disable() argument 111 t1_tp_intr_clear(struct petp *tp) t1_tp_intr_clear() argument 125 t1_tp_intr_handler(struct petp *tp) t1_tp_intr_handler() argument 140 set_csum_offload(struct petp *tp, u32 csum_bit, int enable) set_csum_offload() argument 151 t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) t1_tp_set_ip_checksum_offload() argument 156 t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) t1_tp_set_tcp_checksum_offload() argument 165 t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk) t1_tp_reset() argument [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_rate.c | 42 struct tcp_sock *tp = tcp_sk(sk); in tcp_rate_skb_sent() local 52 * Note that we use packets_out instead of tcp_packets_in_flight(tp) in tcp_rate_skb_sent() 58 if (!tp->packets_out) { in tcp_rate_skb_sent() 61 tp->first_tx_mstamp = tstamp_us; in tcp_rate_skb_sent() 62 tp->delivered_mstamp = tstamp_us; in tcp_rate_skb_sent() 65 TCP_SKB_CB(skb)->tx.first_tx_mstamp = tp->first_tx_mstamp; in tcp_rate_skb_sent() 66 TCP_SKB_CB(skb)->tx.delivered_mstamp = tp->delivered_mstamp; in tcp_rate_skb_sent() 67 TCP_SKB_CB(skb)->tx.delivered = tp->delivered; in tcp_rate_skb_sent() 68 TCP_SKB_CB(skb)->tx.is_app_limited = tp->app_limited ? 1 : 0; in tcp_rate_skb_sent() 82 struct tcp_sock *tp in tcp_rate_skb_delivered() local 118 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_gen() local 190 struct tcp_sock *tp = tcp_sk(sk); tcp_rate_check_app_limited() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/ |
H A D | tp.c | 2 /* $Date: 2006/02/07 04:21:54 $ $RCSfile: tp.c,v $ $Revision: 1.73 $ */ 5 #include "tp.h" 54 void t1_tp_destroy(struct petp *tp) 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 92 t1_tp_intr_disable(struct petp *tp) t1_tp_intr_disable() argument 111 t1_tp_intr_clear(struct petp *tp) t1_tp_intr_clear() argument 125 t1_tp_intr_handler(struct petp *tp) t1_tp_intr_handler() argument 140 set_csum_offload(struct petp *tp, u32 csum_bit, int enable) set_csum_offload() argument 151 t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) t1_tp_set_ip_checksum_offload() argument 156 t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) t1_tp_set_tcp_checksum_offload() argument 165 t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk) t1_tp_reset() argument [all...] |