Home
last modified time | relevance | path

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

12345678910>>...19

/linux/drivers/s390/char/
H A Dcon3270.c141 static void tty3270_set_timer(struct tty3270 *tp, int expires) in tty3270_set_timer() argument
143 mod_timer(&tp->timer, jiffies + expires); in tty3270_set_timer()
146 static int tty3270_tty_rows(struct tty3270 *tp) in tty3270_tty_rows() argument
148 return tp->view.rows - TTY3270_INPUT_AREA_ROWS; in tty3270_tty_rows()
151 static char *tty3270_add_ba(struct tty3270 *tp, char *cp, char order, int x, int y) in tty3270_add_ba() argument
154 raw3270_buffer_address(tp->view.dev, cp, x, y); in tty3270_add_ba()
158 static char *tty3270_add_ra(struct tty3270 *tp, char *cp, int x, int y, char c) in tty3270_add_ra() argument
160 cp = tty3270_add_ba(tp, cp, TO_RA, x, y); in tty3270_add_ra()
165 static char *tty3270_add_sa(struct tty3270 *tp, char *cp, char attr, char value) in tty3270_add_sa() argument
173 static char *tty3270_add_ge(struct tty3270 *tp, char *cp, char c) in tty3270_add_ge() argument
[all …]
/linux/drivers/net/usb/
H A Dr8152.c935 void (*init)(struct r8152 *tp);
936 int (*enable)(struct r8152 *tp);
937 void (*disable)(struct r8152 *tp);
938 void (*up)(struct r8152 *tp);
939 void (*down)(struct r8152 *tp);
940 void (*unload)(struct r8152 *tp);
941 int (*eee_get)(struct r8152 *tp, struct ethtool_keee *eee);
942 int (*eee_set)(struct r8152 *tp, struct ethtool_keee *eee);
943 bool (*in_nway)(struct r8152 *tp);
944 void (*hw_phy_cfg)(struct r8152 *tp);
1278 rtl_set_inaccessible(struct r8152 * tp) rtl_set_inaccessible() argument
1284 rtl_set_accessible(struct r8152 * tp) rtl_set_accessible() argument
1291 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
1363 get_registers(struct r8152 * tp,u16 value,u16 index,u16 size,void * data) get_registers() argument
1387 set_registers(struct r8152 * tp,u16 value,u16 index,u16 size,void * data) set_registers() argument
1405 rtl_set_unplug(struct r8152 * tp) rtl_set_unplug() argument
1411 generic_ocp_read(struct r8152 * tp,u16 index,u16 size,void * data,u16 type) generic_ocp_read() argument
1454 generic_ocp_write(struct r8152 * tp,u16 index,u16 byteen,u16 size,void * data,u16 type) generic_ocp_write() argument
1532 pla_ocp_read(struct r8152 * tp,u16 index,u16 size,void * data) pla_ocp_read() argument
1538 pla_ocp_write(struct r8152 * tp,u16 index,u16 byteen,u16 size,void * data) pla_ocp_write() argument
1544 usb_ocp_write(struct r8152 * tp,u16 index,u16 byteen,u16 size,void * data) usb_ocp_write() argument
1549 ocp_read_dword(struct r8152 * tp,u16 type,u16 index) ocp_read_dword() argument
1558 ocp_write_dword(struct r8152 * tp,u16 type,u16 index,u32 data) ocp_write_dword() argument
1565 ocp_read_word(struct r8152 * tp,u16 type,u16 index) ocp_read_word() argument
1584 ocp_write_word(struct r8152 * tp,u16 type,u16 index,u32 data) ocp_write_word() argument
1605 ocp_read_byte(struct r8152 * tp,u16 type,u16 index) ocp_read_byte() argument
1622 ocp_write_byte(struct r8152 * tp,u16 type,u16 index,u32 data) ocp_write_byte() argument
1643 ocp_reg_read(struct r8152 * tp,u16 addr) ocp_reg_read() argument
1657 ocp_reg_write(struct r8152 * tp,u16 addr,u16 data) ocp_reg_write() argument
1671 r8152_mdio_write(struct r8152 * tp,u32 reg_addr,u32 value) r8152_mdio_write() argument
1676 r8152_mdio_read(struct r8152 * tp,u32 reg_addr) r8152_mdio_read() argument
1681 wait_cmd_ready(struct r8152 * tp,u16 cmd) wait_cmd_ready() argument
1687 ocp_adv_read(struct r8152 * tp,u16 cmd,u16 addr,u32 * data) ocp_adv_read() argument
1710 ocp_adv_write(struct r8152 * tp,u16 cmd,u16 addr,u32 data) ocp_adv_write() argument
1730 rtl_bmu_read(struct r8152 * tp,u16 addr,u32 * data) rtl_bmu_read() argument
1735 rtl_bmu_write(struct r8152 * tp,u16 addr,u32 data) rtl_bmu_write() argument
1740 rtl_bmu_w0w1(struct r8152 * tp,u16 addr,u32 clear,u32 set) rtl_bmu_w0w1() argument
1756 rtl_bmu_clr_bits(struct r8152 * tp,u16 addr,u32 clear) rtl_bmu_clr_bits() argument
1761 rtl_ip_read(struct r8152 * tp,u16 addr,u32 * data) rtl_ip_read() argument
1766 rtl_ip_write(struct r8152 * tp,u16 addr,u32 data) rtl_ip_write() argument
1771 rtl_ip_w0w1(struct r8152 * tp,u16 addr,u32 clear,u32 set) rtl_ip_w0w1() argument
1787 rtl_ip_clr_bits(struct r8152 * tp,u16 addr,u32 clear) rtl_ip_clr_bits() argument
1792 rtl_ip_set_bits(struct r8152 * tp,u16 addr,u32 set) rtl_ip_set_bits() argument
1797 sram_write(struct r8152 * tp,u16 addr,u16 data) sram_write() argument
1803 sram_read(struct r8152 * tp,u16 addr) sram_read() argument
1811 struct r8152 *tp = netdev_priv(netdev); read_mii_word() local
1828 struct r8152 *tp = netdev_priv(netdev); write_mii_word() local
1840 ocp_dword_w0w1(struct r8152 * tp,u16 type,u16 index,u32 clear,u32 set) ocp_dword_w0w1() argument
1850 ocp_word_w0w1(struct r8152 * tp,u16 type,u16 index,u16 clear,u16 set) ocp_word_w0w1() argument
1860 ocp_byte_w0w1(struct r8152 * tp,u16 type,u16 index,u8 clear,u8 set) ocp_byte_w0w1() argument
1869 ocp_dword_clr_bits(struct r8152 * tp,u16 type,u16 index,u32 clear) ocp_dword_clr_bits() argument
1874 ocp_dword_set_bits(struct r8152 * tp,u16 type,u16 index,u32 set) ocp_dword_set_bits() argument
1879 ocp_word_clr_bits(struct r8152 * tp,u16 type,u16 index,u16 clear) ocp_word_clr_bits() argument
1884 ocp_word_set_bits(struct r8152 * tp,u16 type,u16 index,u16 set) ocp_word_set_bits() argument
1890 ocp_word_test_and_clr_bits(struct r8152 * tp,u16 type,u16 index,u16 clear) ocp_word_test_and_clr_bits() argument
1901 ocp_byte_clr_bits(struct r8152 * tp,u16 type,u16 index,u8 clear) ocp_byte_clr_bits() argument
1906 ocp_byte_set_bits(struct r8152 * tp,u16 type,u16 index,u8 set) ocp_byte_set_bits() argument
1911 ocp_reg_w0w1(struct r8152 * tp,u16 addr,u16 clear,u16 set) ocp_reg_w0w1() argument
1920 ocp_reg_clr_bits(struct r8152 * tp,u16 addr,u16 clear) ocp_reg_clr_bits() argument
1925 ocp_reg_set_bits(struct r8152 * tp,u16 addr,u16 set) ocp_reg_set_bits() argument
1930 sram_write_w0w1(struct r8152 * tp,u16 addr,u16 clear,u16 set) sram_write_w0w1() argument
1939 sram_clr_bits(struct r8152 * tp,u16 addr,u16 clear) sram_clr_bits() argument
1944 sram_set_bits(struct r8152 * tp,u16 addr,u16 set) sram_set_bits() argument
1949 sram2_write(struct r8152 * tp,u16 addr,u16 data) sram2_write() argument
1955 sram2_read(struct r8152 * tp,u16 addr) sram2_read() argument
1961 sram2_write_w0w1(struct r8152 * tp,u16 addr,u16 clear,u16 set) sram2_write_w0w1() argument
1970 r8152_mdio_clr_bit(struct r8152 * tp,u16 addr,u16 clear) r8152_mdio_clr_bit() argument
1978 r8152_mdio_set_bit(struct r8152 * tp,u16 addr,u16 set) r8152_mdio_set_bit() argument
1986 r8152_mdio_test_and_clr_bit(struct r8152 * tp,u16 addr,u16 clear) r8152_mdio_test_and_clr_bit() argument
2008 struct r8152 *tp = netdev_priv(netdev); __rtl8152_set_mac_address() local
2045 vendor_mac_passthru_addr_read(struct r8152 * tp,struct sockaddr_storage * ss) vendor_mac_passthru_addr_read() argument
2124 determine_ethernet_addr(struct r8152 * tp,struct sockaddr_storage * ss) determine_ethernet_addr() argument
2162 set_ethernet_addr(struct r8152 * tp,bool in_resume) set_ethernet_addr() argument
2185 struct r8152 *tp; read_bulk_callback() local
2253 struct r8152 *tp; write_bulk_callback() local
2297 struct r8152 *tp; intr_callback() local
2360 rx_agg_align(struct r8152 * tp,void * data) rx_agg_align() argument
2365 tx_agg_align(struct r8152 * tp,void * data) tx_agg_align() argument
2370 free_rx_agg(struct r8152 * tp,struct rx_agg * agg) free_rx_agg() argument
2381 alloc_rx_agg(struct r8152 * tp,gfp_t mflags) alloc_rx_agg() argument
2422 free_all_mem(struct r8152 * tp) free_all_mem() argument
2453 alloc_all_mem(struct r8152 * tp) alloc_all_mem() argument
2528 r8152_get_tx_agg(struct r8152 * tp) r8152_get_tx_agg() argument
2553 r8152_csum_workaround(struct r8152 * tp,struct sk_buff * skb,struct sk_buff_head * list) r8152_csum_workaround() argument
2590 r8152_tx_len(struct r8152 * tp,void * tx_desc,u32 len) r8152_tx_len() argument
2620 r8152_tx_csum(struct r8152 * tp,void * d,struct sk_buff * skb,u32 len) r8152_tx_csum() argument
2709 r8152_rx_len(struct r8152 * tp,void * d) r8152_rx_len() argument
2716 r8157_rx_len(struct r8152 * tp,void * d) r8157_rx_len() argument
2737 r8157_tx_csum(struct r8152 * tp,void * tx_desc,struct sk_buff * skb,u32 len) r8157_tx_csum() argument
2755 r8157_tx_len(struct r8152 * tp,void * tx_desc,u32 len) r8157_tx_len() argument
2763 rtl_tx_csum(struct r8152 * tp,void * desc,struct sk_buff * skb,u32 len) rtl_tx_csum() argument
2777 r8152_tx_agg_fill(struct r8152 * tp,struct tx_agg * agg) r8152_tx_agg_fill() argument
2875 r8152_rx_csum(struct r8152 * tp,void * d) r8152_rx_csum() argument
2905 r8157_rx_csum(struct r8152 * tp,void * desc) r8157_rx_csum() argument
2929 rx_count_exceed(struct r8152 * tp) rx_count_exceed() argument
2939 rtl_get_free_rx(struct r8152 * tp,gfp_t mflags) rtl_get_free_rx() argument
2969 rx_bottom(struct r8152 * tp,int budget) rx_bottom() argument
3160 tx_bottom(struct r8152 * tp) tx_bottom() argument
3199 struct r8152 *tp = from_tasklet(tp, t, tx_tl); bottom_half() local
3219 struct r8152 *tp = container_of(napi, struct r8152, napi); r8152_poll() local
3239 r8152_submit_rx(struct r8152 * tp,struct rx_agg * agg,gfp_t mem_flags) r8152_submit_rx() argument
3274 rtl_drop_queued_tx(struct r8152 * tp) rtl_drop_queued_tx() argument
3296 struct r8152 *tp = netdev_priv(netdev); rtl8152_tx_timeout() local
3305 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_rx_mode() local
3315 struct r8152 *tp = netdev_priv(netdev); _rtl8152_set_rx_mode() local
3366 struct r8152 *tp = netdev_priv(dev); rtl8152_features_check() local
3387 struct r8152 *tp = netdev_priv(netdev); rtl8152_start_xmit() local
3408 r8152b_reset_packet_filter(struct r8152 * tp) r8152b_reset_packet_filter() argument
3414 rtl8152_nic_reset(struct r8152 * tp) rtl8152_nic_reset() argument
3446 set_tx_qlen(struct r8152 * tp) set_tx_qlen() argument
3451 rtl8152_get_speed(struct r8152 * tp) rtl8152_get_speed() argument
3456 rtl_eee_plus_en(struct r8152 * tp,bool enable) rtl_eee_plus_en() argument
3466 rtl_set_eee_plus(struct r8152 * tp) rtl_set_eee_plus() argument
3474 rxdy_gated_en(struct r8152 * tp,bool enable) rxdy_gated_en() argument
3482 rtl_start_rx(struct r8152 * tp) rtl_start_rx() argument
3525 rtl_stop_rx(struct r8152 * tp) rtl_stop_rx() argument
3565 rtl_set_ifg(struct r8152 * tp,u16 speed) rtl_set_ifg() argument
3580 r8153b_rx_agg_chg_indicate(struct r8152 * tp) r8153b_rx_agg_chg_indicate() argument
3586 rtl_enable(struct r8152 * tp) rtl_enable() argument
3611 rtl8152_enable(struct r8152 * tp) rtl8152_enable() argument
3622 r8153_set_rx_early_timeout(struct r8152 * tp) r8153_set_rx_early_timeout() argument
3664 rx_reserved_size(struct r8152 * tp,u32 mtu) rx_reserved_size() argument
3669 r8153_set_rx_early_size(struct r8152 * tp) r8153_set_rx_early_size() argument
3706 rtl8153_enable(struct r8152 * tp) rtl8153_enable() argument
3732 rtl_disable(struct r8152 * tp) rtl_disable() argument
3773 r8152_power_cut_en(struct r8152 * tp,bool enable) r8152_power_cut_en() argument
3784 rtl_rx_vlan_en(struct r8152 * tp,bool enable) rtl_rx_vlan_en() argument
3827 struct r8152 *tp = netdev_priv(dev); rtl8152_set_features() local
3853 __rtl_get_wol(struct r8152 * tp) __rtl_get_wol() argument
3877 __rtl_set_wol(struct r8152 * tp,u32 wolopts) __rtl_set_wol() argument
3913 r8153_mac_clk_speed_down(struct r8152 * tp,bool enable) r8153_mac_clk_speed_down() argument
3924 r8156_mac_clk_spd(struct r8152 * tp,bool enable) r8156_mac_clk_spd() argument
3939 r8153_u1u2en(struct r8152 * tp,bool enable) r8153_u1u2en() argument
3951 r8153b_u1u2en(struct r8152 * tp,bool enable) r8153b_u1u2en() argument
3961 r8153_u2p3en(struct r8152 * tp,bool enable) r8153_u2p3en() argument
3969 r8157_u2p3en(struct r8152 * tp,bool enable) r8157_u2p3en() argument
3977 r8153b_ups_flags(struct r8152 * tp) r8153b_ups_flags() argument
4052 r8156_ups_flags(struct r8152 * tp) r8156_ups_flags() argument
4134 rtl_green_en(struct r8152 * tp,bool enable) rtl_green_en() argument
4144 r8153b_green_en(struct r8152 * tp,bool enable) r8153b_green_en() argument
4159 r8153_phy_status(struct r8152 * tp,u16 desired) r8153_phy_status() argument
4183 r8153b_ups_en(struct r8152 * tp,bool enable) r8153b_ups_en() argument
4220 r8153c_ups_en(struct r8152 * tp,bool enable) r8153c_ups_en() argument
4263 r8156_ups_en(struct r8152 * tp,bool enable) r8156_ups_en() argument
4299 r8153_power_cut_en(struct r8152 * tp,bool enable) r8153_power_cut_en() argument
4311 r8153b_power_cut_en(struct r8152 * tp,bool enable) r8153b_power_cut_en() argument
4322 r8157_power_cut_en(struct r8152 * tp,bool enable) r8157_power_cut_en() argument
4334 r8153_queue_wake(struct r8152 * tp,bool enable) r8153_queue_wake() argument
4347 rtl_can_wakeup(struct r8152 * tp) rtl_can_wakeup() argument
4354 rtl_runtime_suspend_enable(struct r8152 * tp,bool enable) rtl_runtime_suspend_enable() argument
4377 rtl8153_runtime_enable(struct r8152 * tp,bool enable) rtl8153_runtime_enable() argument
4401 rtl8153b_runtime_enable(struct r8152 * tp,bool enable) rtl8153b_runtime_enable() argument
4418 rtl8153c_runtime_enable(struct r8152 * tp,bool enable) rtl8153c_runtime_enable() argument
4434 rtl8156_runtime_enable(struct r8152 * tp,bool enable) rtl8156_runtime_enable() argument
4450 rtl8157_runtime_enable(struct r8152 * tp,bool enable) rtl8157_runtime_enable() argument
4466 r8153_teredo_off(struct r8152 * tp) r8153_teredo_off() argument
4504 rtl_reset_bmu(struct r8152 * tp) rtl_reset_bmu() argument
4513 rtl_clear_bp(struct r8152 * tp,u16 type) rtl_clear_bp() argument
4558 rtl_reset_ocp_base(struct r8152 * tp) rtl_reset_ocp_base() argument
4563 rtl_phy_patch_request(struct r8152 * tp,bool request,bool wait) rtl_phy_patch_request() argument
4598 rtl_patch_key_set(struct r8152 * tp,u16 key_addr,u16 patch_key) rtl_patch_key_set() argument
4613 rtl_pre_ram_code(struct r8152 * tp,u16 key_addr,u16 patch_key,bool wait) rtl_pre_ram_code() argument
4623 rtl_post_ram_code(struct r8152 * tp,u16 key_addr,bool wait) rtl_post_ram_code() argument
4632 rtl8152_is_fw_phy_speed_up_ok(struct r8152 * tp,struct fw_phy_speed_up * phy) rtl8152_is_fw_phy_speed_up_ok() argument
4683 rtl8152_is_fw_phy_ver_ok(struct r8152 * tp,struct fw_phy_ver * ver) rtl8152_is_fw_phy_ver_ok() argument
4713 rtl8152_is_fw_phy_fixup_ok(struct r8152 * tp,struct fw_phy_fixup * fix) rtl8152_is_fw_phy_fixup_ok() argument
4744 rtl8152_is_fw_phy_union_ok(struct r8152 * tp,struct fw_phy_union * phy) rtl8152_is_fw_phy_union_ok() argument
4789 rtl8152_is_fw_phy_nc_ok(struct r8152 * tp,struct fw_phy_nc * phy) rtl8152_is_fw_phy_nc_ok() argument
4865 rtl8152_is_fw_mac_ok(struct r8152 * tp,struct fw_mac * mac) rtl8152_is_fw_mac_ok() argument
5005 rtl8152_fw_verify_checksum(struct r8152 * tp,struct fw_header * fw_hdr,size_t size) rtl8152_fw_verify_checksum() argument
5020 rtl8152_check_firmware(struct r8152 * tp,struct rtl_fw * rtl_fw) rtl8152_check_firmware() argument
5304 rtl_ram_code_speed_up(struct r8152 * tp,struct fw_phy_speed_up * phy,bool wait) rtl_ram_code_speed_up() argument
5364 rtl8152_fw_phy_ver(struct r8152 * tp,struct fw_phy_ver * phy_ver) rtl8152_fw_phy_ver() argument
5385 rtl8152_fw_phy_fixup(struct r8152 * tp,struct fw_phy_fixup * fix) rtl8152_fw_phy_fixup() argument
5416 rtl8152_fw_phy_union_apply(struct r8152 * tp,struct fw_phy_union * phy) rtl8152_fw_phy_union_apply() argument
5448 rtl8152_fw_phy_nc_apply(struct r8152 * tp,struct fw_phy_nc * phy) rtl8152_fw_phy_nc_apply() argument
5485 rtl8152_fw_mac_apply(struct r8152 * tp,struct fw_mac * mac) rtl8152_fw_mac_apply() argument
5555 rtl8152_apply_firmware(struct r8152 * tp,bool power_cut) rtl8152_apply_firmware() argument
5634 rtl8152_release_firmware(struct r8152 * tp) rtl8152_release_firmware() argument
5644 rtl8152_request_firmware(struct r8152 * tp) rtl8152_request_firmware() argument
5675 r8152_aldps_en(struct r8152 * tp,bool enable) r8152_aldps_en() argument
5687 r8152_mmd_indirect(struct r8152 * tp,u16 dev,u16 reg) r8152_mmd_indirect() argument
5694 r8152_mmd_read(struct r8152 * tp,u16 dev,u16 reg) r8152_mmd_read() argument
5705 r8152_mmd_write(struct r8152 * tp,u16 dev,u16 reg,u16 data) r8152_mmd_write() argument
5712 r8152_eee_en(struct r8152 * tp,bool enable) r8152_eee_en() argument
5741 r8153_eee_en(struct r8152 * tp,bool enable) r8153_eee_en() argument
5758 r8156_eee_en(struct r8152 * tp,bool enable) r8156_eee_en() argument
5779 rtl_eee_enable(struct r8152 * tp,bool enable) rtl_eee_enable() argument
5828 r8152b_enable_fc(struct r8152 * tp) r8152b_enable_fc() argument
5836 rtl8152_disable(struct r8152 * tp) rtl8152_disable() argument
5843 r8152b_hw_phy_cfg(struct r8152 * tp) r8152b_hw_phy_cfg() argument
5853 wait_oob_link_list_ready(struct r8152 * tp) wait_oob_link_list_ready() argument
5868 r8156b_wait_loading_flash(struct r8152 * tp) r8156b_wait_loading_flash() argument
5884 r8152b_exit_oob(struct r8152 * tp) r8152b_exit_oob() argument
5938 r8152b_enter_oob(struct r8152 * tp) r8152b_enter_oob() argument
5969 r8153_pre_firmware_1(struct r8152 * tp) r8153_pre_firmware_1() argument
5987 r8153_post_firmware_1(struct r8152 * tp) r8153_post_firmware_1() argument
5999 r8153_pre_firmware_2(struct r8152 * tp) r8153_pre_firmware_2() argument
6008 r8153_post_firmware_2(struct r8152 * tp) r8153_post_firmware_2() argument
6028 r8153_post_firmware_3(struct r8152 * tp) r8153_post_firmware_3() argument
6038 r8153b_pre_firmware_1(struct r8152 * tp) r8153b_pre_firmware_1() argument
6047 r8153b_post_firmware_1(struct r8152 * tp) r8153b_post_firmware_1() argument
6065 r8153c_post_firmware_1(struct r8152 * tp) r8153c_post_firmware_1() argument
6074 r8156a_post_firmware_1(struct r8152 * tp) r8156a_post_firmware_1() argument
6085 r8153_aldps_en(struct r8152 * tp,bool enable) r8153_aldps_en() argument
6105 r8153_hw_phy_cfg(struct r8152 * tp) r8153_hw_phy_cfg() argument
6155 r8152_efuse_read(struct r8152 * tp,u8 addr) r8152_efuse_read() argument
6167 r8153b_hw_phy_cfg(struct r8152 * tp) r8153b_hw_phy_cfg() argument
6257 r8153c_hw_phy_cfg(struct r8152 * tp) r8153c_hw_phy_cfg() argument
6264 rtl8153_change_mtu(struct r8152 * tp) rtl8153_change_mtu() argument
6270 r8153_first_init(struct r8152 * tp) r8153_first_init() argument
6306 r8153_enter_oob(struct r8152 * tp) r8153_enter_oob() argument
6365 rtl8153_disable(struct r8152 * tp) rtl8153_disable() argument
6373 fc_pause_on_auto(struct r8152 * tp) fc_pause_on_auto() argument
6378 fc_pause_off_auto(struct r8152 * tp) fc_pause_off_auto() argument
6383 r8156_fc_parameter(struct r8152 * tp) r8156_fc_parameter() argument
6392 rtl8156_enable(struct r8152 * tp) rtl8156_enable() argument
6446 rtl8156_disable(struct r8152 * tp) rtl8156_disable() argument
6454 rtl8152_set_speed(struct r8152 * tp,u8 autoneg,u32 speed,u8 duplex,u32 advertising) rtl8152_set_speed() argument
6604 rtl8152_up(struct r8152 * tp) rtl8152_up() argument
6614 rtl8152_down(struct r8152 * tp) rtl8152_down() argument
6627 rtl8153_up(struct r8152 * tp) rtl8153_up() argument
6659 rtl8153_down(struct r8152 * tp) rtl8153_down() argument
6676 rtl8153b_up(struct r8152 * tp) rtl8153b_up() argument
6697 rtl8153b_down(struct r8152 * tp) rtl8153b_down() argument
6715 rtl8153c_change_mtu(struct r8152 * tp) rtl8153c_change_mtu() argument
6731 rtl8153c_up(struct r8152 * tp) rtl8153c_up() argument
6785 rtl8156_change_mtu(struct r8152 * tp) rtl8156_change_mtu() argument
6799 rtl8156_up(struct r8152 * tp) rtl8156_up() argument
6866 rtl8156_down(struct r8152 * tp) rtl8156_down() argument
6915 rtl8152_in_nway(struct r8152 * tp) rtl8152_in_nway() argument
6931 rtl8153_in_nway(struct r8152 * tp) rtl8153_in_nway() argument
6941 r8156_mdio_force_mode(struct r8152 * tp) r8156_mdio_force_mode() argument
6956 set_carrier(struct r8152 * tp) set_carrier() argument
6995 struct r8152 *tp = container_of(work, struct r8152, schedule.work); rtl_work_func_t() local
7037 struct r8152 *tp = container_of(work, struct r8152, hw_phy_work.work); rtl_hw_phy_work_func_t() local
7072 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); rtl_notifier() local
7097 struct r8152 *tp = netdev_priv(netdev); rtl8152_open() local
7152 struct r8152 *tp = netdev_priv(netdev); rtl8152_close() local
7185 rtl_tally_reset(struct r8152 * tp) rtl_tally_reset() argument
7190 r8152b_init(struct r8152 * tp) r8152b_init() argument
7224 r8153_init(struct r8152 * tp) r8153_init() argument
7341 r8153b_init(struct r8152 * tp) r8153b_init() argument
7411 r8153c_init(struct r8152 * tp) r8153c_init() argument
7480 r8156_hw_phy_cfg(struct r8152 * tp) r8156_hw_phy_cfg() argument
7694 r8156b_hw_phy_cfg(struct r8152 * tp) r8156b_hw_phy_cfg() argument
7953 r8157_hw_phy_cfg(struct r8152 * tp) r8157_hw_phy_cfg() argument
8158 r8156_init(struct r8152 * tp) r8156_init() argument
8331 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_pre_reset() local
8362 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_post_reset() local
8401 delay_autosuspend(struct r8152 * tp) delay_autosuspend() argument
8424 rtl8152_runtime_resume(struct r8152 * tp) rtl8152_runtime_resume() argument
8463 rtl8152_system_resume(struct r8152 * tp) rtl8152_system_resume() argument
8479 rtl8152_runtime_suspend(struct r8152 * tp) rtl8152_runtime_suspend() argument
8537 rtl8152_system_suspend(struct r8152 * tp) rtl8152_system_suspend() argument
8568 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_suspend() local
8585 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_resume() local
8618 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_reset_resume() local
8630 struct r8152 *tp = netdev_priv(dev); rtl8152_get_wol() local
8650 struct r8152 *tp = netdev_priv(dev); rtl8152_set_wol() local
8678 struct r8152 *tp = netdev_priv(dev); rtl8152_get_msglevel() local
8685 struct r8152 *tp = netdev_priv(dev); rtl8152_set_msglevel() local
8693 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_drvinfo() local
8706 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_link_ksettings() local
8768 struct r8152 *tp = netdev_priv(dev); rtl8152_set_link_ksettings() local
8856 struct r8152 *tp = netdev_priv(dev); rtl8152_get_ethtool_stats() local
8890 r8152_get_eee(struct r8152 * tp,struct ethtool_keee * eee) r8152_get_eee() argument
8919 r8152_set_eee(struct r8152 * tp,struct ethtool_keee * eee) r8152_set_eee() argument
8934 r8153_get_eee(struct r8152 * tp,struct ethtool_keee * eee) r8153_get_eee() argument
8988 struct r8152 *tp = netdev_priv(net); rtl_ethtool_get_eee() local
9015 struct r8152 *tp = netdev_priv(net); rtl_ethtool_set_eee() local
9043 struct r8152 *tp = netdev_priv(dev); rtl8152_nway_reset() local
9067 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_coalesce() local
9088 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_coalesce() local
9135 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_tunable() local
9152 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_tunable() local
9188 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_ringparam() local
9199 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_ringparam() local
9221 struct r8152 *tp = netdev_priv(netdev); rtl8152_get_pauseparam() local
9258 struct r8152 *tp = netdev_priv(netdev); rtl8152_set_pauseparam() local
9321 struct r8152 *tp = netdev_priv(netdev); rtl8152_ioctl() local
9365 struct r8152 *tp = netdev_priv(dev); rtl8152_change_mtu() local
9425 rtl8152_unload(struct r8152 * tp) rtl8152_unload() argument
9434 rtl8153_unload(struct r8152 * tp) rtl8153_unload() argument
9447 rtl8153b_unload(struct r8152 * tp) rtl8153b_unload() argument
9455 r8152_desc_init(struct r8152 * tp) r8152_desc_init() argument
9471 r8157_desc_init(struct r8152 * tp) r8157_desc_init() argument
9487 rtl_ops_init(struct r8152 * tp) rtl_ops_init() argument
9671 rtl_fw_init(struct r8152 * tp) rtl_fw_init() argument
9850 struct r8152 *tp; rtl8152_probe_once() local
10085 struct r8152 *tp = usb_get_intfdata(intf); rtl8152_disconnect() local
[all...]
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c93 #define tg3_flag(tp, flag) \ argument
94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags)
95 #define tg3_flag_set(tp, flag) \ argument
96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags)
97 #define tg3_flag_clear(tp, flag) \ argument
98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags)
131 #define TG3_MAX_MTU(tp) \ argument
132 (tg3_flag(tp, JUMBO_CAPABLE) ? 9000 : 1500)
138 #define TG3_RX_STD_RING_SIZE(tp) \ argument
139 (tg3_flag(tp, LRG_PROD_RING_CAP) ? \
[all …]
/linux/fs/xfs/
H A Dxfs_trans.c69 struct xfs_trans *tp) in xfs_trans_free() argument
71 xfs_extent_busy_sort(&tp->t_busy); in xfs_trans_free()
72 xfs_extent_busy_clear(&tp->t_busy, false); in xfs_trans_free()
74 trace_xfs_trans_free(tp, _RET_IP_); in xfs_trans_free()
75 xfs_trans_clear_context(tp); in xfs_trans_free()
76 if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) in xfs_trans_free()
77 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free()
78 xfs_trans_free_dqinfo(tp); in xfs_trans_free()
79 kmem_cache_free(xfs_trans_cache, tp); in xfs_trans_free()
92 struct xfs_trans *tp) in xfs_trans_dup() argument
[all …]
/linux/drivers/sbus/char/
H A Dbbc_envctrl.c120 static void get_current_temps(struct bbc_cpu_temperature *tp) in get_current_temps() argument
122 tp->prev_amb_temp = tp->curr_amb_temp; in get_current_temps()
123 bbc_i2c_readb(tp->client, in get_current_temps()
124 (unsigned char *) &tp->curr_amb_temp, in get_current_temps()
126 tp->prev_cpu_temp = tp->curr_cpu_temp; in get_current_temps()
127 bbc_i2c_readb(tp->client, in get_current_temps()
128 (unsigned char *) &tp->curr_cpu_temp, in get_current_temps()
132 tp->index, in get_current_temps()
133 (int) tp->curr_cpu_temp, (int) tp->curr_amb_temp); in get_current_temps()
138 static void do_envctrl_shutdown(struct bbc_cpu_temperature *tp) in do_envctrl_shutdown() argument
[all …]
/linux/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c117 struct tulip_private *tp = timer_container_of(tp, t, timer); in tulip_timer() local
118 struct net_device *dev = tp->dev; in tulip_timer()
121 schedule_work(&tp->media_work); in tulip_timer()
264 static void tulip_set_power_state (struct tulip_private *tp, in tulip_set_power_state() argument
267 if (tp->flags & HAS_ACPI) { in tulip_set_power_state()
269 pci_read_config_dword (tp->pdev, CFDD, &tmp); in tulip_set_power_state()
276 pci_write_config_dword (tp->pdev, CFDD, newtmp); in tulip_set_power_state()
284 struct tulip_private *tp = netdev_priv(dev); in tulip_up() local
285 void __iomem *ioaddr = tp->base_addr; in tulip_up()
291 napi_enable(&tp->napi); in tulip_up()
[all …]
H A Dpnic2.c81 struct tulip_private *tp = timer_container_of(tp, t, timer); in pnic2_timer() local
82 struct net_device *dev = tp->dev; in pnic2_timer()
83 void __iomem *ioaddr = tp->base_addr; in pnic2_timer()
91 mod_timer(&tp->timer, RUN_AT(next_tick)); in pnic2_timer()
98 struct tulip_private *tp = netdev_priv(dev); in pnic2_start_nway() local
99 void __iomem *ioaddr = tp->base_addr; in pnic2_start_nway()
111 if (tp->sym_advertise & 0x0100) csr14 |= 0x00020000; in pnic2_start_nway()
114 if (tp->sym_advertise & 0x0080) csr14 |= 0x00010000; in pnic2_start_nway()
117 if (tp->sym_advertise & 0x0020) csr14 |= 0x00000040; in pnic2_start_nway()
130 tp->nway = tp->mediasense = 1; in pnic2_start_nway()
[all …]
H A Dinterrupt.c61 struct tulip_private *tp = netdev_priv(dev); in tulip_refill_rx() local
66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { in tulip_refill_rx()
67 entry = tp->dirty_rx % RX_RING_SIZE; in tulip_refill_rx()
68 if (tp->rx_buffers[entry].skb == NULL) { in tulip_refill_rx()
72 skb = tp->rx_buffers[entry].skb = in tulip_refill_rx()
77 mapping = dma_map_single(&tp->pdev->dev, skb->data, in tulip_refill_rx()
79 if (dma_mapping_error(&tp->pdev->dev, mapping)) { in tulip_refill_rx()
81 tp->rx_buffers[entry].skb = NULL; in tulip_refill_rx()
85 tp->rx_buffers[entry].mapping = mapping; in tulip_refill_rx()
87 tp->rx_ring[entry].buffer1 = cpu_to_le32(mapping); in tulip_refill_rx()
[all …]
H A D21142.c30 struct tulip_private *tp = in t21142_media_task() local
32 struct net_device *dev = tp->dev; in t21142_media_task()
33 void __iomem *ioaddr = tp->base_addr; in t21142_media_task()
53 } else if (tp->nwayset) { in t21142_media_task()
59 } else if (tp->medialock) { in t21142_media_task()
95 if (new_csr6 != (tp->csr6 & ~0x00D5)) { in t21142_media_task()
96 tp->csr6 &= 0x00D5; in t21142_media_task()
97 tp->csr6 |= new_csr6; in t21142_media_task()
99 tulip_restart_rxtx(tp); in t21142_media_task()
107 mod_timer(&tp->timer, RUN_AT(next_tick)); in t21142_media_task()
[all …]
H A Dtimer.c19 struct tulip_private *tp = in tulip_media_task() local
21 struct net_device *dev = tp->dev; in tulip_media_task()
22 void __iomem *ioaddr = tp->base_addr; in tulip_media_task()
34 switch (tp->chip_id) { in tulip_media_task()
43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ in tulip_media_task()
53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task()
87 if (tp->medialock) in tulip_media_task()
90 if (--tp->cur_index < 0) { in tulip_media_task()
92 tp->cur_index = tp->mtable->leafcount - 1; in tulip_media_task()
94 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_media_task()
[all …]
H A Dpnic.c21 struct tulip_private *tp = netdev_priv(dev); in pnic_do_nway() local
22 void __iomem *ioaddr = tp->base_addr; in pnic_do_nway()
31 tp->nwayset = 1; in pnic_do_nway()
37 tp->full_duplex = 1; in pnic_do_nway()
43 if (tp->csr6 != new_csr6) { in pnic_do_nway()
44 tp->csr6 = new_csr6; in pnic_do_nway()
46 tulip_restart_rxtx(tp); in pnic_do_nway()
54 struct tulip_private *tp = netdev_priv(dev); in pnic_lnk_change() local
55 void __iomem *ioaddr = tp->base_addr; in pnic_lnk_change()
68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { in pnic_lnk_change()
[all …]
H A Dmedia.c49 struct tulip_private *tp = netdev_priv(dev); in tulip_mdio_read() local
53 void __iomem *ioaddr = tp->base_addr; in tulip_mdio_read()
60 if (tp->chip_id == COMET && phy_id == 30) { in tulip_mdio_read()
66 spin_lock_irqsave(&tp->mii_lock, flags); in tulip_mdio_read()
67 if (tp->chip_id == LC82C168) { in tulip_mdio_read()
76 spin_unlock_irqrestore(&tp->mii_lock, flags); in tulip_mdio_read()
105 spin_unlock_irqrestore(&tp->mii_lock, flags); in tulip_mdio_read()
111 struct tulip_private *tp = netdev_priv(dev); in tulip_mdio_write() local
114 void __iomem *ioaddr = tp->base_addr; in tulip_mdio_write()
121 if (tp->chip_id == COMET && phy_id == 30) { in tulip_mdio_write()
[all …]
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase_main.c104 static void rtase_w8(const struct rtase_private *tp, u16 reg, u8 val8) in rtase_w8() argument
106 writeb(val8, tp->mmio_addr + reg); in rtase_w8()
109 static void rtase_w16(const struct rtase_private *tp, u16 reg, u16 val16) in rtase_w16() argument
111 writew(val16, tp->mmio_addr + reg); in rtase_w16()
114 static void rtase_w32(const struct rtase_private *tp, u16 reg, u32 val32) in rtase_w32() argument
116 writel(val32, tp->mmio_addr + reg); in rtase_w32()
119 static u8 rtase_r8(const struct rtase_private *tp, u16 reg) in rtase_r8() argument
121 return readb(tp->mmio_addr + reg); in rtase_r8()
124 static u16 rtase_r16(const struct rtase_private *tp, u16 reg) in rtase_r16() argument
126 return readw(tp->mmio_addr + reg); in rtase_r16()
[all …]
/linux/net/ipv4/
H A Dtcp_input.c124 void clean_acked_data_enable(struct tcp_sock *tp, in clean_acked_data_enable() argument
127 tp->tcp_clean_acked = cad; in clean_acked_data_enable()
132 void clean_acked_data_disable(struct tcp_sock *tp) in clean_acked_data_disable() argument
135 tp->tcp_clean_acked = NULL; in clean_acked_data_disable()
252 struct tcp_sock *tp = tcp_sk(sk); in tcp_measure_rcv_mss() local
257 if (tp->window_clamp < tp->rcvq_space.space) in tcp_measure_rcv_mss()
258 tp->rcvq_space.space = tp->window_clamp; in tcp_measure_rcv_mss()
346 struct tcp_sock *tp = tcp_sk(sk); in tcp_data_ecn_check() local
348 if (tcp_ecn_disabled(tp)) in tcp_data_ecn_check()
357 if (tp->ecn_flags & TCP_ECN_SEEN) in tcp_data_ecn_check()
[all …]
H A Dtcp_output.c58 void tcp_mstamp_refresh(struct tcp_sock *tp) in tcp_mstamp_refresh() argument
62 tp->tcp_clock_cache = val; in tcp_mstamp_refresh()
63 tp->tcp_mstamp = div_u64(val, NSEC_PER_USEC); in tcp_mstamp_refresh()
92 struct tcp_sock *tp = tcp_sk(sk); in tcp_event_new_data_sent() local
93 unsigned int prior_packets = tp->packets_out; in tcp_event_new_data_sent()
95 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_event_new_data_sent()
100 if (tp->highest_sack == NULL) in tcp_event_new_data_sent()
101 tp->highest_sack = skb; in tcp_event_new_data_sent()
103 tp->packets_out += tcp_skb_pcount(skb); in tcp_event_new_data_sent()
121 const struct tcp_sock *tp = tcp_sk(sk); in tcp_acceptable_seq() local
[all …]
H A Dtcp_highspeed.c102 struct tcp_sock *tp = tcp_sk(sk); in hstcp_init() local
109 tp->snd_cwnd_clamp = min_t(u32, tp->snd_cwnd_clamp, 0xffffffff/128); in hstcp_init()
114 struct tcp_sock *tp = tcp_sk(sk); in hstcp_cong_avoid() local
120 if (tcp_in_slow_start(tp)) in hstcp_cong_avoid()
121 tcp_slow_start(tp, acked); in hstcp_cong_avoid()
130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid()
131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid()
134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid()
135 while (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid()
140 if (tcp_snd_cwnd(tp) < tp->snd_cwnd_clamp) { in hstcp_cong_avoid()
[all …]
H A Dtcp_hybla.c48 struct tcp_sock *tp = tcp_sk(sk); in hybla_init() local
57 tcp_snd_cwnd_set(tp, 2); in hybla_init()
58 tp->snd_cwnd_clamp = 65535; in hybla_init()
64 ca->minrtt_us = tp->srtt_us; in hybla_init()
65 tcp_snd_cwnd_set(tp, ca->rho); in hybla_init()
92 struct tcp_sock *tp = tcp_sk(sk); in hybla_cong_avoid() local
98 if (tp->srtt_us < ca->minrtt_us) { in hybla_cong_avoid()
100 ca->minrtt_us = tp->srtt_us; in hybla_cong_avoid()
116 if (tcp_in_slow_start(tp)) { in hybla_cong_avoid()
140 increment = ca->rho2_7ls / tcp_snd_cwnd(tp); in hybla_cong_avoid()
[all …]
H A Dtcp.c389 static u64 tcp_compute_delivery_rate(const struct tcp_sock *tp) in tcp_compute_delivery_rate() argument
391 u32 rate = READ_ONCE(tp->rate_delivered); in tcp_compute_delivery_rate()
392 u32 intv = READ_ONCE(tp->rate_interval_us); in tcp_compute_delivery_rate()
396 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate()
405 struct tcp_sock *tp = tcp_sk(sk); in tcp_md5_destruct_sock() local
407 if (tp->md5sig_info) { in tcp_md5_destruct_sock()
410 kfree(rcu_replace_pointer(tp->md5sig_info, NULL, 1)); in tcp_md5_destruct_sock()
424 struct tcp_sock *tp = tcp_sk(sk); in tcp_init_sock() local
427 tp->out_of_order_queue = RB_ROOT; in tcp_init_sock()
430 INIT_LIST_HEAD(&tp->tsq_node); in tcp_init_sock()
[all …]
/linux/drivers/misc/mei/
H A Dvsc-tp.c104 struct vsc_tp *tp = data; in vsc_tp_isr() local
106 atomic_inc(&tp->assert_cnt); in vsc_tp_isr()
108 wake_up(&tp->xfer_wait); in vsc_tp_isr()
110 schedule_work(&tp->event_work); in vsc_tp_isr()
117 struct vsc_tp *tp = container_of(work, struct vsc_tp, event_work); in vsc_tp_event_work() local
119 guard(mutex)(&tp->event_notify_mutex); in vsc_tp_event_work()
121 if (tp->event_notify) in vsc_tp_event_work()
122 tp->event_notify(tp->event_notify_context); in vsc_tp_event_work()
126 static int vsc_tp_wakeup_request(struct vsc_tp *tp) in vsc_tp_wakeup_request() argument
130 gpiod_set_value_cansleep(tp->wakeupfw, 0); in vsc_tp_wakeup_request()
[all …]
/linux/drivers/net/ethernet/sis/
H A Dsis190.c400 struct sis190_private *tp = netdev_priv(dev); in __mdio_write() local
402 mdio_write(tp->mmio_addr, phy_id, reg, val); in __mdio_write()
407 struct sis190_private *tp = netdev_priv(dev); in __mdio_read() local
409 return mdio_read(tp->mmio_addr, phy_id, reg); in __mdio_read()
487 static struct sk_buff *sis190_alloc_rx_skb(struct sis190_private *tp, in sis190_alloc_rx_skb() argument
490 u32 rx_buf_sz = tp->rx_buf_sz; in sis190_alloc_rx_skb()
494 skb = netdev_alloc_skb(tp->dev, rx_buf_sz); in sis190_alloc_rx_skb()
497 mapping = dma_map_single(&tp->pci_dev->dev, skb->data, tp->rx_buf_sz, in sis190_alloc_rx_skb()
499 if (dma_mapping_error(&tp->pci_dev->dev, mapping)) in sis190_alloc_rx_skb()
512 static u32 sis190_rx_fill(struct sis190_private *tp, struct net_device *dev, in sis190_rx_fill() argument
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dtp.c54 void t1_tp_destroy(struct petp *tp) in t1_tp_destroy() argument
56 kfree(tp); in t1_tp_destroy()
61 struct petp *tp = kzalloc_obj(*tp); in t1_tp_create() local
63 if (!tp) in t1_tp_create()
66 tp->adapter = adapter; in t1_tp_create()
68 return tp; in t1_tp_create()
71 void t1_tp_intr_enable(struct petp *tp) in t1_tp_intr_enable() argument
73 u32 tp_intr = readl(tp->adapter->regs + A_PL_ENABLE); in t1_tp_intr_enable()
76 if (!t1_is_asic(tp->adapter)) { in t1_tp_intr_enable()
79 tp->adapter->regs + FPGA_TP_ADDR_INTERRUPT_ENABLE); in t1_tp_intr_enable()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_defer.c189 struct xfs_trans *tp, in xfs_defer_barrier_create_intent() argument
206 struct xfs_trans *tp, in xfs_defer_barrier_create_done() argument
215 struct xfs_trans *tp, in xfs_defer_barrier_finish_item() argument
243 struct xfs_trans *tp, in xfs_defer_create_done() argument
259 tp->t_flags |= XFS_TRANS_DIRTY; in xfs_defer_create_done()
260 lip = dfp->dfp_ops->create_done(tp, dfp->dfp_intent, dfp->dfp_count); in xfs_defer_create_done()
264 tp->t_flags |= XFS_TRANS_HAS_INTENT_DONE; in xfs_defer_create_done()
265 xfs_trans_add_item(tp, lip); in xfs_defer_create_done()
277 struct xfs_trans *tp, in xfs_defer_create_intent() argument
286 lip = dfp->dfp_ops->create_intent(tp, &dfp->dfp_work, dfp->dfp_count, in xfs_defer_create_intent()
[all …]
/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c454 typhoon_hello(struct typhoon *tp) in typhoon_hello() argument
456 struct basic_ring *ring = &tp->cmdRing; in typhoon_hello()
463 if (spin_trylock(&tp->command_lock)) { in typhoon_hello()
469 iowrite32(ring->lastWrite, tp->ioaddr + TYPHOON_REG_CMD_READY); in typhoon_hello()
470 spin_unlock(&tp->command_lock); in typhoon_hello()
475 typhoon_process_response(struct typhoon *tp, int resp_size, in typhoon_process_response() argument
478 struct typhoon_indexes *indexes = tp->indexes; in typhoon_process_response()
480 u8 *base = tp->respRing.ringBase; in typhoon_process_response()
511 typhoon_media_status(tp->dev, resp); in typhoon_process_response()
513 typhoon_hello(tp); in typhoon_process_response()
[all …]
/linux/tools/perf/util/
H A Dcputopo.c35 static int build_cpu_topology(struct cpu_topology *tp, int cpu) in build_cpu_topology() argument
64 for (i = 0; i < tp->package_cpus_lists; i++) { in build_cpu_topology()
65 if (!strcmp(buf, tp->package_cpus_list[i])) in build_cpu_topology()
68 if (i == tp->package_cpus_lists) { in build_cpu_topology()
69 tp->package_cpus_list[i] = buf; in build_cpu_topology()
70 tp->package_cpus_lists++; in build_cpu_topology()
77 if (!tp->die_cpus_list) in build_cpu_topology()
95 for (i = 0; i < tp->die_cpus_lists; i++) { in build_cpu_topology()
96 if (!strcmp(buf, tp->die_cpus_list[i])) in build_cpu_topology()
99 if (i == tp in build_cpu_topology()
142 cpu_topology__delete(struct cpu_topology * tp) cpu_topology__delete() argument
258 struct cpu_topology *tp = NULL; cpu_topology__new() local
378 struct numa_topology *tp = NULL; numa_topology__new() local
427 numa_topology__delete(struct numa_topology * tp) numa_topology__delete() argument
474 struct hybrid_topology *tp = NULL; hybrid_topology__new() local
496 hybrid_topology__delete(struct hybrid_topology * tp) hybrid_topology__delete() argument
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cc_cubic.c40 const struct tcp_sock *tp = tcp_sk(sk); in before()
44 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in div64_u64()
50 * [1] : Normal Slow Start condition is (tp->snd_cwnd < tp->snd_ssthresh) in tcp_update_pacing_rate()
51 * If snd_cwnd >= (tp->snd_ssthresh / 2), we are approaching in tcp_update_pacing_rate()
54 if (tp->snd_cwnd < tp->snd_ssthresh / 2) in tcp_update_pacing_rate()
59 rate *= max(tp->snd_cwnd, tp->packets_out); in tcp_update_pacing_rate()
61 if (tp in tcp_update_pacing_rate()
49 const struct tcp_sock *tp = tcp_sk(sk); tcp_update_pacing_rate() local
79 struct tcp_sock *tp = tcp_sk(sk); tcp_cwnd_reduction() local
129 struct tcp_sock *tp = tcp_sk(sk); BPF_PROG() local
[all...]

12345678910>>...19