Searched refs:hw (Results 101 - 125 of 1854) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A Dksz884x.c1340 * @hw: Pointer to hardware structure.
1354 struct ksz_hw *hw; member in struct:ksz_port
1404 * @hw: Hardware structure.
1428 struct ksz_hw hw; member in struct:dev_info
1500 static inline void hw_ack_intr(struct ksz_hw *hw, uint interrupt) argument
1502 writel(interrupt, hw->io + KS884X_INTERRUPTS_STATUS);
1505 static inline void hw_dis_intr(struct ksz_hw *hw) argument
1507 hw->intr_blocked = hw->intr_mask;
1508 writel(0, hw
1512 hw_set_intr(struct ksz_hw *hw, uint interrupt) argument
1518 hw_ena_intr(struct ksz_hw *hw) argument
1524 hw_dis_intr_bit(struct ksz_hw *hw, uint bit) argument
1529 hw_turn_off_intr(struct ksz_hw *hw, uint interrupt) argument
1547 hw_turn_on_intr(struct ksz_hw *hw, u32 bit) argument
1555 hw_ena_intr_bit(struct ksz_hw *hw, uint interrupt) argument
1564 hw_read_intr(struct ksz_hw *hw, uint *status) argument
1570 hw_restore_intr(struct ksz_hw *hw, uint interrupt) argument
1584 hw_block_intr(struct ksz_hw *hw) argument
1675 sw_r_table(struct ksz_hw *hw, int table, u16 addr, u32 *data) argument
1702 sw_w_table_64(struct ksz_hw *hw, int table, u16 addr, u32 data_hi, u32 data_lo) argument
1735 sw_w_sta_mac_table(struct ksz_hw *hw, u16 addr, u8 *mac_addr, u8 ports, int override, int valid, int use_fid, u8 fid) argument
1772 sw_r_vlan_table(struct ksz_hw *hw, u16 addr, u16 *vid, u8 *fid, u8 *member) argument
1798 port_r_mib_cnt(struct ksz_hw *hw, int port, u16 addr, u64 *cnt) argument
1836 port_r_mib_pkt(struct ksz_hw *hw, int port, u32 *last, u64 *cnt) argument
1884 port_r_cnt(struct ksz_hw *hw, int port) argument
1909 port_init_cnt(struct ksz_hw *hw, int port) argument
1943 port_chk(struct ksz_hw *hw, int port, int offset, u16 bits) argument
1964 port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, int set) argument
1992 port_chk_shift(struct ksz_hw *hw, int port, u32 addr, int shift) argument
2012 port_cfg_shift(struct ksz_hw *hw, int port, u32 addr, int shift, int set) argument
2036 port_r8(struct ksz_hw *hw, int port, int offset, u8 *data) argument
2054 port_r16(struct ksz_hw *hw, int port, int offset, u16 *data) argument
2072 port_w16(struct ksz_hw *hw, int port, int offset, u16 data) argument
2092 sw_chk(struct ksz_hw *hw, u32 addr, u16 bits) argument
2109 sw_cfg(struct ksz_hw *hw, u32 addr, u16 bits, int set) argument
2123 port_cfg_broad_storm(struct ksz_hw *hw, int p, int set) argument
2129 port_chk_broad_storm(struct ksz_hw *hw, int p) argument
2148 sw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument
2169 sw_get_broad_storm(struct ksz_hw *hw, u8 *percent) argument
2189 sw_dis_broad_storm(struct ksz_hw *hw, int port) argument
2201 sw_ena_broad_storm(struct ksz_hw *hw, int port) argument
2213 sw_init_broad_storm(struct ksz_hw *hw) argument
2232 hw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument
2249 sw_dis_prio_rate(struct ksz_hw *hw, int port) argument
2264 sw_init_prio_rate(struct ksz_hw *hw) argument
2281 port_cfg_back_pressure(struct ksz_hw *hw, int p, int set) argument
2287 port_cfg_force_flow_ctrl(struct ksz_hw *hw, int p, int set) argument
2293 port_chk_back_pressure(struct ksz_hw *hw, int p) argument
2299 port_chk_force_flow_ctrl(struct ksz_hw *hw, int p) argument
2307 port_cfg_dis_learn(struct ksz_hw *hw, int p, int set) argument
2313 port_cfg_rx(struct ksz_hw *hw, int p, int set) argument
2319 port_cfg_tx(struct ksz_hw *hw, int p, int set) argument
2325 sw_cfg_fast_aging(struct ksz_hw *hw, int set) argument
2330 sw_flush_dyn_mac_table(struct ksz_hw *hw) argument
2341 port_cfg_ins_tag(struct ksz_hw *hw, int p, int insert) argument
2347 port_cfg_rmv_tag(struct ksz_hw *hw, int p, int remove) argument
2353 port_chk_ins_tag(struct ksz_hw *hw, int p) argument
2359 port_chk_rmv_tag(struct ksz_hw *hw, int p) argument
2365 port_cfg_dis_non_vid(struct ksz_hw *hw, int p, int set) argument
2371 port_cfg_in_filter(struct ksz_hw *hw, int p, int set) argument
2377 port_chk_dis_non_vid(struct ksz_hw *hw, int p) argument
2383 port_chk_in_filter(struct ksz_hw *hw, int p) argument
2391 port_cfg_mirror_sniffer(struct ksz_hw *hw, int p, int set) argument
2397 port_cfg_mirror_rx(struct ksz_hw *hw, int p, int set) argument
2403 port_cfg_mirror_tx(struct ksz_hw *hw, int p, int set) argument
2409 sw_cfg_mirror_rx_tx(struct ksz_hw *hw, int set) argument
2414 sw_init_mirror(struct ksz_hw *hw) argument
2426 sw_cfg_unk_def_deliver(struct ksz_hw *hw, int set) argument
2432 sw_cfg_chk_unk_def_deliver(struct ksz_hw *hw) argument
2438 sw_cfg_unk_def_port(struct ksz_hw *hw, int port, int set) argument
2443 sw_chk_unk_def_port(struct ksz_hw *hw, int port) argument
2450 port_cfg_diffserv(struct ksz_hw *hw, int p, int set) argument
2456 port_cfg_802_1p(struct ksz_hw *hw, int p, int set) argument
2462 port_cfg_replace_vid(struct ksz_hw *hw, int p, int set) argument
2468 port_cfg_prio(struct ksz_hw *hw, int p, int set) argument
2474 port_chk_diffserv(struct ksz_hw *hw, int p) argument
2480 port_chk_802_1p(struct ksz_hw *hw, int p) argument
2486 port_chk_replace_vid(struct ksz_hw *hw, int p) argument
2492 port_chk_prio(struct ksz_hw *hw, int p) argument
2505 sw_dis_diffserv(struct ksz_hw *hw, int port) argument
2517 sw_dis_802_1p(struct ksz_hw *hw, int port) argument
2528 sw_cfg_replace_null_vid(struct ksz_hw *hw, int set) argument
2544 sw_cfg_replace_vid(struct ksz_hw *hw, int port, int set) argument
2557 sw_cfg_port_based(struct ksz_hw *hw, int port, u8 prio) argument
2580 sw_dis_multi_queue(struct ksz_hw *hw, int port) argument
2591 sw_init_prio(struct ksz_hw *hw) argument
2638 port_get_def_vid(struct ksz_hw *hw, int port, u16 *vid) argument
2653 sw_init_vlan(struct ksz_hw *hw) argument
2681 sw_cfg_port_base_vlan(struct ksz_hw *hw, int port, u8 member) argument
2704 sw_get_addr(struct ksz_hw *hw, u8 *mac_addr) argument
2721 sw_set_addr(struct ksz_hw *hw, u8 *mac_addr) argument
2737 sw_set_global_ctrl(struct ksz_hw *hw) argument
2785 port_set_stp_state(struct ksz_hw *hw, int port, int state) argument
2841 sw_clr_sta_mac_table(struct ksz_hw *hw) argument
2861 sw_init_stp(struct ksz_hw *hw) argument
2887 sw_block_addr(struct ksz_hw *hw) argument
2911 hw_r_phy_ctrl(struct ksz_hw *hw, int phy, u16 *data) argument
2916 hw_w_phy_ctrl(struct ksz_hw *hw, int phy, u16 data) argument
2921 hw_r_phy_link_stat(struct ksz_hw *hw, int phy, u16 *data) argument
2926 hw_r_phy_auto_neg(struct ksz_hw *hw, int phy, u16 *data) argument
2931 hw_w_phy_auto_neg(struct ksz_hw *hw, int phy, u16 data) argument
2936 hw_r_phy_rem_cap(struct ksz_hw *hw, int phy, u16 *data) argument
2941 hw_r_phy_crossover(struct ksz_hw *hw, int phy, u16 *data) argument
2946 hw_w_phy_crossover(struct ksz_hw *hw, int phy, u16 data) argument
2951 hw_r_phy_polarity(struct ksz_hw *hw, int phy, u16 *data) argument
2956 hw_w_phy_polarity(struct ksz_hw *hw, int phy, u16 data) argument
2961 hw_r_phy_link_md(struct ksz_hw *hw, int phy, u16 *data) argument
2966 hw_w_phy_link_md(struct ksz_hw *hw, int phy, u16 data) argument
2980 hw_r_phy(struct ksz_hw *hw, int port, u16 reg, u16 *val) argument
2997 hw_w_phy(struct ksz_hw *hw, int port, u16 reg, u16 val) argument
3021 drop_gpio(struct ksz_hw *hw, u8 gpio) argument
3030 raise_gpio(struct ksz_hw *hw, u8 gpio) argument
3039 state_gpio(struct ksz_hw *hw, u8 gpio) argument
3047 eeprom_clk(struct ksz_hw *hw) argument
3055 spi_r(struct ksz_hw *hw) argument
3072 spi_w(struct ksz_hw *hw, u16 data) argument
3083 spi_reg(struct ksz_hw *hw, u8 data, u8 reg) argument
3126 eeprom_read(struct ksz_hw *hw, u8 reg) argument
3148 eeprom_write(struct ksz_hw *hw, u8 reg, u16 data) argument
3219 set_flow_ctrl(struct ksz_hw *hw, int rx, int tx) argument
3242 determine_flow_ctrl(struct ksz_hw *hw, struct ksz_port *port, u16 local, u16 remote) argument
3270 port_cfg_change(struct ksz_hw *hw, struct ksz_port *port, struct ksz_port_info *info, u16 link_status) argument
3297 struct ksz_hw *hw = port->hw; local
3384 struct ksz_hw *hw = port->hw; local
3437 struct ksz_hw *hw = port->hw; local
3463 struct ksz_hw *hw = port->hw; local
3484 hw_chk_wol_pme_status(struct ksz_hw *hw) argument
3502 hw_clr_wol_pme_status(struct ksz_hw *hw) argument
3524 hw_cfg_wol_pme(struct ksz_hw *hw, int set) argument
3549 hw_cfg_wol(struct ksz_hw *hw, u16 frame, int set) argument
3572 hw_set_wol_frame(struct ksz_hw *hw, int i, uint mask_size, u8 *mask, uint frame_size, u8 *pattern) argument
3629 hw_add_wol_arp(struct ksz_hw *hw, u8 *ip_addr) argument
3652 hw_add_wol_bcast(struct ksz_hw *hw) argument
3670 hw_add_wol_mcast(struct ksz_hw *hw) argument
3688 hw_add_wol_ucast(struct ksz_hw *hw) argument
3703 hw_enable_wol(struct ksz_hw *hw, u32 wol_enable, u8 *net_addr) argument
3724 hw_init(struct ksz_hw *hw) argument
3761 hw_reset(struct ksz_hw *hw) argument
3778 hw_setup(struct ksz_hw *hw) argument
3814 hw_setup_intr(struct ksz_hw *hw) argument
3877 hw_set_desc_base(struct ksz_hw *hw, u32 tx_addr, u32 rx_addr) argument
3891 hw_resume_rx(struct ksz_hw *hw) argument
3902 hw_start_rx(struct ksz_hw *hw) argument
3924 hw_stop_rx(struct ksz_hw *hw) argument
3937 hw_start_tx(struct ksz_hw *hw) argument
3948 hw_stop_tx(struct ksz_hw *hw) argument
3959 hw_disable(struct ksz_hw *hw) argument
3972 hw_enable(struct ksz_hw *hw) argument
3989 hw_alloc_pkt(struct ksz_hw *hw, int length, int physical) argument
4019 hw_send_pkt(struct ksz_hw *hw) argument
4055 hw_set_addr(struct ksz_hw *hw) argument
4072 hw_read_addr(struct ksz_hw *hw) argument
4093 hw_ena_add_addr(struct ksz_hw *hw, int index, u8 *mac_addr) argument
4116 hw_set_add_addr(struct ksz_hw *hw) argument
4129 hw_add_addr(struct ksz_hw *hw, u8 *mac_addr) argument
4150 hw_del_addr(struct ksz_hw *hw, u8 *mac_addr) argument
4171 hw_clr_multicast(struct ksz_hw *hw) argument
4189 hw_set_grp_addr(struct ksz_hw *hw) argument
4217 hw_set_multicast(struct ksz_hw *hw, u8 multicast) argument
4238 hw_set_promiscuous(struct ksz_hw *hw, u8 prom) argument
4259 sw_enable(struct ksz_hw *hw, int enable) argument
4290 sw_setup(struct ksz_hw *hw) argument
4407 struct ksz_hw *hw = &adapter->hw; local
4476 struct ksz_hw *hw = &adapter->hw; local
4515 struct ksz_hw *hw = &adapter->hw; local
4563 struct ksz_hw *hw = &adapter->hw; local
4631 get_mib_counters(struct ksz_hw *hw, int first, int cnt, u64 *counter) argument
4660 struct ksz_hw *hw = &hw_priv->hw; local
4766 struct ksz_hw *hw = &hw_priv->hw; local
4822 struct ksz_hw *hw = &hw_priv->hw; local
4859 struct ksz_hw *hw = &hw_priv->hw; local
4934 struct ksz_hw *hw = &hw_priv->hw; local
5009 rx_proc(struct net_device *dev, struct ksz_hw* hw, struct ksz_desc *desc, union desc_stat status) argument
5064 struct ksz_hw *hw = &hw_priv->hw; local
5100 struct ksz_hw *hw = &hw_priv->hw; local
5145 struct ksz_hw *hw = &hw_priv->hw; local
5203 struct ksz_hw *hw = &hw_priv->hw; local
5225 struct ksz_hw *hw = &hw_priv->hw; local
5237 handle_rx_stop(struct ksz_hw *hw) argument
5269 struct ksz_hw *hw = &hw_priv->hw; local
5342 bridge_change(struct ksz_hw *hw) argument
5377 struct ksz_hw *hw = &hw_priv->hw; local
5435 hw_cfg_huge_frame(struct dev_info *hw_priv, struct ksz_hw *hw) argument
5463 struct ksz_hw *hw = &hw_priv->hw; local
5513 struct ksz_hw *hw = &hw_priv->hw; local
5618 struct ksz_hw *hw = &priv->adapter->hw; local
5674 struct ksz_hw *hw = &hw_priv->hw; local
5698 dev_set_promiscuous(struct net_device *dev, struct dev_priv *priv, struct ksz_hw *hw, int promiscuous) argument
5733 dev_set_multicast(struct dev_priv *priv, struct ksz_hw *hw, int multicast) argument
5762 struct ksz_hw *hw = &hw_priv->hw; local
5812 struct ksz_hw *hw = &hw_priv->hw; local
5857 struct ksz_hw *hw = &hw_priv->hw; local
5922 struct ksz_hw *hw = port->hw; local
5942 struct ksz_hw *hw = port->hw; local
6150 struct ksz_hw *hw = &hw_priv->hw; local
6345 struct ksz_hw *hw = &hw_priv->hw; local
6378 struct ksz_hw *hw = &hw_priv->hw; local
6423 struct ksz_hw *hw = &hw_priv->hw; local
6486 struct ksz_hw *hw = &hw_priv->hw; local
6506 struct ksz_hw *hw = &hw_priv->hw; local
6529 struct ksz_hw *hw = &hw_priv->hw; local
6596 struct ksz_hw *hw = &hw_priv->hw; local
6617 struct ksz_hw *hw = &hw_priv->hw; local
6686 struct ksz_hw *hw = &hw_priv->hw; local
6757 struct ksz_hw *hw = &hw_priv->hw; local
6933 read_other_addr(struct ksz_hw *hw) argument
6961 struct ksz_hw *hw; local
7214 struct ksz_hw *hw = &hw_priv->hw; local
7240 struct ksz_hw *hw = &hw_priv->hw; local
[all...]
H A Dsky2.c156 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) argument
160 gma_write16(hw, port, GM_SMI_DATA, val);
161 gma_write16(hw, port, GM_SMI_CTRL,
165 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL);
175 dev_warn(&hw->pdev->dev, "%s: phy write timeout\n", hw->dev[port]->name);
179 dev_err(&hw->pdev->dev, "%s: phy I/O error\n", hw->dev[port]->name);
183 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) argument
187 gma_write16(hw, por
210 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) argument
218 sky2_power_on(struct sky2_hw *hw) argument
266 sky2_power_aux(struct sky2_hw *hw) argument
288 sky2_gmac_reset(struct sky2_hw *hw, unsigned port) argument
330 sky2_phy_init(struct sky2_hw *hw, unsigned port) argument
640 sky2_phy_power_up(struct sky2_hw *hw, unsigned port) argument
661 sky2_phy_power_down(struct sky2_hw *hw, unsigned port) argument
719 struct sky2_hw *hw = sky2->hw; local
740 struct sky2_hw *hw = sky2->hw; local
801 sky2_set_tx_stfwd(struct sky2_hw *hw, unsigned port) argument
820 sky2_mac_init(struct sky2_hw *hw, unsigned port) argument
957 sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, u32 space) argument
997 sky2_qset(struct sky2_hw *hw, u16 q) argument
1008 sky2_prefetch_init(struct sky2_hw *hw, u32 qaddr, dma_addr_t addr, u32 last) argument
1045 sky2_put_idx(struct sky2_hw *hw, unsigned q, u16 idx) argument
1207 struct sky2_hw *hw = sky2->hw; local
1248 struct sky2_hw *hw = sky2->hw; local
1291 struct sky2_hw *hw = sky2->hw; local
1324 sky2_set_vlan_mode(struct sky2_hw *hw, u16 port, bool onoff) argument
1342 struct sky2_hw *hw = sky2->hw; local
1358 sky2_rx_pad(const struct sky2_hw *hw) argument
1406 struct sky2_hw *hw = sky2->hw; local
1439 struct sky2_hw *hw = sky2->hw; local
1507 struct sky2_hw *hw = sky2->hw; local
1540 struct sky2_hw *hw = sky2->hw; local
1564 struct sky2_hw *hw = sky2->hw; local
1631 struct sky2_hw *hw = sky2->hw; local
1713 struct sky2_hw *hw = sky2->hw; local
1916 sky2_tx_reset(struct sky2_hw *hw, unsigned port) argument
1940 struct sky2_hw *hw = sky2->hw; local
1988 struct sky2_hw *hw = sky2->hw; local
2011 sky2_phy_speed(const struct sky2_hw *hw, u16 aux) argument
2035 struct sky2_hw *hw = sky2->hw; local
2065 struct sky2_hw *hw = sky2->hw; local
2095 struct sky2_hw *hw = sky2->hw; local
2156 sky2_phy_intr(struct sky2_hw *hw, unsigned port) argument
2197 sky2_qlink_intr(struct sky2_hw *hw) argument
2223 struct sky2_hw *hw = sky2->hw; local
2239 struct sky2_hw *hw = sky2->hw; local
2524 sky2_rx_done(struct sky2_hw *hw, unsigned port, unsigned packets, unsigned bytes) argument
2572 sky2_status_intr(struct sky2_hw *hw, int to_do, u16 idx) argument
2672 sky2_hw_error(struct sky2_hw *hw, unsigned port, u32 status) argument
2712 sky2_hw_intr(struct sky2_hw *hw) argument
2759 sky2_mac_intr(struct sky2_hw *hw, unsigned port) argument
2785 sky2_le_error(struct sky2_hw *hw, unsigned port, u16 q) argument
2800 struct sky2_hw *hw = sky2->hw; local
2832 struct sky2_hw *hw = (struct sky2_hw *) arg; local
2863 sky2_err_intr(struct sky2_hw *hw, u32 status) argument
2892 struct sky2_hw *hw = container_of(napi, struct sky2_hw, napi); local
2925 struct sky2_hw *hw = dev_id; local
2950 sky2_mhz(const struct sky2_hw *hw) argument
2975 sky2_us2clk(const struct sky2_hw *hw, u32 us) argument
2980 sky2_clk2us(const struct sky2_hw *hw, u32 clk) argument
2986 sky2_init(struct sky2_hw *hw) argument
3084 sky2_reset(struct sky2_hw *hw) argument
3305 sky2_all_down(struct sky2_hw *hw) argument
3327 sky2_all_up(struct sky2_hw *hw) argument
3354 struct sky2_hw *hw = container_of(work, struct sky2_hw, restart_work); local
3365 sky2_wol_supported(const struct sky2_hw *hw) argument
3381 struct sky2_hw *hw = sky2->hw; local
3391 sky2_supported_modes(const struct sky2_hw *hw) argument
3414 struct sky2_hw *hw = sky2->hw; local
3437 const struct sky2_hw *hw = sky2->hw; local
3594 struct sky2_hw *hw = sky2->hw; local
3647 struct sky2_hw *hw = sky2->hw; local
3680 struct sky2_hw *hw = sky2->hw; local
3727 struct sky2_hw *hw = sky2->hw; local
3848 struct sky2_hw *hw = sky2->hw; local
3883 struct sky2_hw *hw = sky2->hw; local
3968 sky2_reg_access_ok(struct sky2_hw *hw, unsigned int b) argument
4045 const struct sky2_hw *hw = sky2->hw; local
4070 struct sky2_hw *hw = sky2->hw; local
4077 sky2_vpd_wait(const struct sky2_hw *hw, int cap, u16 busy) argument
4093 sky2_vpd_read(struct sky2_hw *hw, int cap, void *data, u16 offset, size_t length) argument
4117 sky2_vpd_write(struct sky2_hw *hw, int cap, const void *data, u16 offset, unsigned int length) argument
4244 sky2_show_vpd(struct seq_file *seq, struct sky2_hw *hw) argument
4306 struct sky2_hw *hw = sky2->hw; local
4520 sky2_init_netdev(struct sky2_hw *hw, unsigned port, int highmem, int wol) argument
4597 struct sky2_hw *hw = dev_id; local
4614 sky2_test_msi(struct sky2_hw *hw) argument
4678 struct sky2_hw *hw; local
4866 struct sky2_hw *hw = pci_get_drvdata(pdev); local
4904 struct sky2_hw *hw = pci_get_drvdata(pdev); local
4941 struct sky2_hw *hw = pci_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A Dksz884x.c1340 * @hw: Pointer to hardware structure.
1354 struct ksz_hw *hw; member in struct:ksz_port
1404 * @hw: Hardware structure.
1428 struct ksz_hw hw; member in struct:dev_info
1500 static inline void hw_ack_intr(struct ksz_hw *hw, uint interrupt) argument
1502 writel(interrupt, hw->io + KS884X_INTERRUPTS_STATUS);
1505 static inline void hw_dis_intr(struct ksz_hw *hw) argument
1507 hw->intr_blocked = hw->intr_mask;
1508 writel(0, hw
1512 hw_set_intr(struct ksz_hw *hw, uint interrupt) argument
1518 hw_ena_intr(struct ksz_hw *hw) argument
1524 hw_dis_intr_bit(struct ksz_hw *hw, uint bit) argument
1529 hw_turn_off_intr(struct ksz_hw *hw, uint interrupt) argument
1547 hw_turn_on_intr(struct ksz_hw *hw, u32 bit) argument
1555 hw_ena_intr_bit(struct ksz_hw *hw, uint interrupt) argument
1564 hw_read_intr(struct ksz_hw *hw, uint *status) argument
1570 hw_restore_intr(struct ksz_hw *hw, uint interrupt) argument
1584 hw_block_intr(struct ksz_hw *hw) argument
1675 sw_r_table(struct ksz_hw *hw, int table, u16 addr, u32 *data) argument
1702 sw_w_table_64(struct ksz_hw *hw, int table, u16 addr, u32 data_hi, u32 data_lo) argument
1735 sw_w_sta_mac_table(struct ksz_hw *hw, u16 addr, u8 *mac_addr, u8 ports, int override, int valid, int use_fid, u8 fid) argument
1772 sw_r_vlan_table(struct ksz_hw *hw, u16 addr, u16 *vid, u8 *fid, u8 *member) argument
1798 port_r_mib_cnt(struct ksz_hw *hw, int port, u16 addr, u64 *cnt) argument
1836 port_r_mib_pkt(struct ksz_hw *hw, int port, u32 *last, u64 *cnt) argument
1884 port_r_cnt(struct ksz_hw *hw, int port) argument
1909 port_init_cnt(struct ksz_hw *hw, int port) argument
1943 port_chk(struct ksz_hw *hw, int port, int offset, u16 bits) argument
1964 port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, int set) argument
1992 port_chk_shift(struct ksz_hw *hw, int port, u32 addr, int shift) argument
2012 port_cfg_shift(struct ksz_hw *hw, int port, u32 addr, int shift, int set) argument
2036 port_r8(struct ksz_hw *hw, int port, int offset, u8 *data) argument
2054 port_r16(struct ksz_hw *hw, int port, int offset, u16 *data) argument
2072 port_w16(struct ksz_hw *hw, int port, int offset, u16 data) argument
2092 sw_chk(struct ksz_hw *hw, u32 addr, u16 bits) argument
2109 sw_cfg(struct ksz_hw *hw, u32 addr, u16 bits, int set) argument
2123 port_cfg_broad_storm(struct ksz_hw *hw, int p, int set) argument
2129 port_chk_broad_storm(struct ksz_hw *hw, int p) argument
2148 sw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument
2169 sw_get_broad_storm(struct ksz_hw *hw, u8 *percent) argument
2189 sw_dis_broad_storm(struct ksz_hw *hw, int port) argument
2201 sw_ena_broad_storm(struct ksz_hw *hw, int port) argument
2213 sw_init_broad_storm(struct ksz_hw *hw) argument
2232 hw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument
2249 sw_dis_prio_rate(struct ksz_hw *hw, int port) argument
2264 sw_init_prio_rate(struct ksz_hw *hw) argument
2281 port_cfg_back_pressure(struct ksz_hw *hw, int p, int set) argument
2287 port_cfg_force_flow_ctrl(struct ksz_hw *hw, int p, int set) argument
2293 port_chk_back_pressure(struct ksz_hw *hw, int p) argument
2299 port_chk_force_flow_ctrl(struct ksz_hw *hw, int p) argument
2307 port_cfg_dis_learn(struct ksz_hw *hw, int p, int set) argument
2313 port_cfg_rx(struct ksz_hw *hw, int p, int set) argument
2319 port_cfg_tx(struct ksz_hw *hw, int p, int set) argument
2325 sw_cfg_fast_aging(struct ksz_hw *hw, int set) argument
2330 sw_flush_dyn_mac_table(struct ksz_hw *hw) argument
2341 port_cfg_ins_tag(struct ksz_hw *hw, int p, int insert) argument
2347 port_cfg_rmv_tag(struct ksz_hw *hw, int p, int remove) argument
2353 port_chk_ins_tag(struct ksz_hw *hw, int p) argument
2359 port_chk_rmv_tag(struct ksz_hw *hw, int p) argument
2365 port_cfg_dis_non_vid(struct ksz_hw *hw, int p, int set) argument
2371 port_cfg_in_filter(struct ksz_hw *hw, int p, int set) argument
2377 port_chk_dis_non_vid(struct ksz_hw *hw, int p) argument
2383 port_chk_in_filter(struct ksz_hw *hw, int p) argument
2391 port_cfg_mirror_sniffer(struct ksz_hw *hw, int p, int set) argument
2397 port_cfg_mirror_rx(struct ksz_hw *hw, int p, int set) argument
2403 port_cfg_mirror_tx(struct ksz_hw *hw, int p, int set) argument
2409 sw_cfg_mirror_rx_tx(struct ksz_hw *hw, int set) argument
2414 sw_init_mirror(struct ksz_hw *hw) argument
2426 sw_cfg_unk_def_deliver(struct ksz_hw *hw, int set) argument
2432 sw_cfg_chk_unk_def_deliver(struct ksz_hw *hw) argument
2438 sw_cfg_unk_def_port(struct ksz_hw *hw, int port, int set) argument
2443 sw_chk_unk_def_port(struct ksz_hw *hw, int port) argument
2450 port_cfg_diffserv(struct ksz_hw *hw, int p, int set) argument
2456 port_cfg_802_1p(struct ksz_hw *hw, int p, int set) argument
2462 port_cfg_replace_vid(struct ksz_hw *hw, int p, int set) argument
2468 port_cfg_prio(struct ksz_hw *hw, int p, int set) argument
2474 port_chk_diffserv(struct ksz_hw *hw, int p) argument
2480 port_chk_802_1p(struct ksz_hw *hw, int p) argument
2486 port_chk_replace_vid(struct ksz_hw *hw, int p) argument
2492 port_chk_prio(struct ksz_hw *hw, int p) argument
2505 sw_dis_diffserv(struct ksz_hw *hw, int port) argument
2517 sw_dis_802_1p(struct ksz_hw *hw, int port) argument
2528 sw_cfg_replace_null_vid(struct ksz_hw *hw, int set) argument
2544 sw_cfg_replace_vid(struct ksz_hw *hw, int port, int set) argument
2557 sw_cfg_port_based(struct ksz_hw *hw, int port, u8 prio) argument
2580 sw_dis_multi_queue(struct ksz_hw *hw, int port) argument
2591 sw_init_prio(struct ksz_hw *hw) argument
2638 port_get_def_vid(struct ksz_hw *hw, int port, u16 *vid) argument
2653 sw_init_vlan(struct ksz_hw *hw) argument
2681 sw_cfg_port_base_vlan(struct ksz_hw *hw, int port, u8 member) argument
2704 sw_get_addr(struct ksz_hw *hw, u8 *mac_addr) argument
2721 sw_set_addr(struct ksz_hw *hw, u8 *mac_addr) argument
2737 sw_set_global_ctrl(struct ksz_hw *hw) argument
2785 port_set_stp_state(struct ksz_hw *hw, int port, int state) argument
2841 sw_clr_sta_mac_table(struct ksz_hw *hw) argument
2861 sw_init_stp(struct ksz_hw *hw) argument
2887 sw_block_addr(struct ksz_hw *hw) argument
2911 hw_r_phy_ctrl(struct ksz_hw *hw, int phy, u16 *data) argument
2916 hw_w_phy_ctrl(struct ksz_hw *hw, int phy, u16 data) argument
2921 hw_r_phy_link_stat(struct ksz_hw *hw, int phy, u16 *data) argument
2926 hw_r_phy_auto_neg(struct ksz_hw *hw, int phy, u16 *data) argument
2931 hw_w_phy_auto_neg(struct ksz_hw *hw, int phy, u16 data) argument
2936 hw_r_phy_rem_cap(struct ksz_hw *hw, int phy, u16 *data) argument
2941 hw_r_phy_crossover(struct ksz_hw *hw, int phy, u16 *data) argument
2946 hw_w_phy_crossover(struct ksz_hw *hw, int phy, u16 data) argument
2951 hw_r_phy_polarity(struct ksz_hw *hw, int phy, u16 *data) argument
2956 hw_w_phy_polarity(struct ksz_hw *hw, int phy, u16 data) argument
2961 hw_r_phy_link_md(struct ksz_hw *hw, int phy, u16 *data) argument
2966 hw_w_phy_link_md(struct ksz_hw *hw, int phy, u16 data) argument
2980 hw_r_phy(struct ksz_hw *hw, int port, u16 reg, u16 *val) argument
2997 hw_w_phy(struct ksz_hw *hw, int port, u16 reg, u16 val) argument
3021 drop_gpio(struct ksz_hw *hw, u8 gpio) argument
3030 raise_gpio(struct ksz_hw *hw, u8 gpio) argument
3039 state_gpio(struct ksz_hw *hw, u8 gpio) argument
3047 eeprom_clk(struct ksz_hw *hw) argument
3055 spi_r(struct ksz_hw *hw) argument
3072 spi_w(struct ksz_hw *hw, u16 data) argument
3083 spi_reg(struct ksz_hw *hw, u8 data, u8 reg) argument
3126 eeprom_read(struct ksz_hw *hw, u8 reg) argument
3148 eeprom_write(struct ksz_hw *hw, u8 reg, u16 data) argument
3219 set_flow_ctrl(struct ksz_hw *hw, int rx, int tx) argument
3242 determine_flow_ctrl(struct ksz_hw *hw, struct ksz_port *port, u16 local, u16 remote) argument
3270 port_cfg_change(struct ksz_hw *hw, struct ksz_port *port, struct ksz_port_info *info, u16 link_status) argument
3297 struct ksz_hw *hw = port->hw; local
3384 struct ksz_hw *hw = port->hw; local
3437 struct ksz_hw *hw = port->hw; local
3463 struct ksz_hw *hw = port->hw; local
3484 hw_chk_wol_pme_status(struct ksz_hw *hw) argument
3502 hw_clr_wol_pme_status(struct ksz_hw *hw) argument
3524 hw_cfg_wol_pme(struct ksz_hw *hw, int set) argument
3549 hw_cfg_wol(struct ksz_hw *hw, u16 frame, int set) argument
3572 hw_set_wol_frame(struct ksz_hw *hw, int i, uint mask_size, u8 *mask, uint frame_size, u8 *pattern) argument
3629 hw_add_wol_arp(struct ksz_hw *hw, u8 *ip_addr) argument
3652 hw_add_wol_bcast(struct ksz_hw *hw) argument
3670 hw_add_wol_mcast(struct ksz_hw *hw) argument
3688 hw_add_wol_ucast(struct ksz_hw *hw) argument
3703 hw_enable_wol(struct ksz_hw *hw, u32 wol_enable, u8 *net_addr) argument
3724 hw_init(struct ksz_hw *hw) argument
3761 hw_reset(struct ksz_hw *hw) argument
3778 hw_setup(struct ksz_hw *hw) argument
3814 hw_setup_intr(struct ksz_hw *hw) argument
3877 hw_set_desc_base(struct ksz_hw *hw, u32 tx_addr, u32 rx_addr) argument
3891 hw_resume_rx(struct ksz_hw *hw) argument
3902 hw_start_rx(struct ksz_hw *hw) argument
3924 hw_stop_rx(struct ksz_hw *hw) argument
3937 hw_start_tx(struct ksz_hw *hw) argument
3948 hw_stop_tx(struct ksz_hw *hw) argument
3959 hw_disable(struct ksz_hw *hw) argument
3972 hw_enable(struct ksz_hw *hw) argument
3989 hw_alloc_pkt(struct ksz_hw *hw, int length, int physical) argument
4019 hw_send_pkt(struct ksz_hw *hw) argument
4055 hw_set_addr(struct ksz_hw *hw) argument
4072 hw_read_addr(struct ksz_hw *hw) argument
4093 hw_ena_add_addr(struct ksz_hw *hw, int index, u8 *mac_addr) argument
4116 hw_set_add_addr(struct ksz_hw *hw) argument
4129 hw_add_addr(struct ksz_hw *hw, u8 *mac_addr) argument
4150 hw_del_addr(struct ksz_hw *hw, u8 *mac_addr) argument
4171 hw_clr_multicast(struct ksz_hw *hw) argument
4189 hw_set_grp_addr(struct ksz_hw *hw) argument
4217 hw_set_multicast(struct ksz_hw *hw, u8 multicast) argument
4238 hw_set_promiscuous(struct ksz_hw *hw, u8 prom) argument
4259 sw_enable(struct ksz_hw *hw, int enable) argument
4290 sw_setup(struct ksz_hw *hw) argument
4407 struct ksz_hw *hw = &adapter->hw; local
4476 struct ksz_hw *hw = &adapter->hw; local
4515 struct ksz_hw *hw = &adapter->hw; local
4563 struct ksz_hw *hw = &adapter->hw; local
4631 get_mib_counters(struct ksz_hw *hw, int first, int cnt, u64 *counter) argument
4660 struct ksz_hw *hw = &hw_priv->hw; local
4766 struct ksz_hw *hw = &hw_priv->hw; local
4822 struct ksz_hw *hw = &hw_priv->hw; local
4859 struct ksz_hw *hw = &hw_priv->hw; local
4934 struct ksz_hw *hw = &hw_priv->hw; local
5009 rx_proc(struct net_device *dev, struct ksz_hw* hw, struct ksz_desc *desc, union desc_stat status) argument
5064 struct ksz_hw *hw = &hw_priv->hw; local
5100 struct ksz_hw *hw = &hw_priv->hw; local
5145 struct ksz_hw *hw = &hw_priv->hw; local
5203 struct ksz_hw *hw = &hw_priv->hw; local
5225 struct ksz_hw *hw = &hw_priv->hw; local
5237 handle_rx_stop(struct ksz_hw *hw) argument
5269 struct ksz_hw *hw = &hw_priv->hw; local
5342 bridge_change(struct ksz_hw *hw) argument
5377 struct ksz_hw *hw = &hw_priv->hw; local
5435 hw_cfg_huge_frame(struct dev_info *hw_priv, struct ksz_hw *hw) argument
5463 struct ksz_hw *hw = &hw_priv->hw; local
5513 struct ksz_hw *hw = &hw_priv->hw; local
5618 struct ksz_hw *hw = &priv->adapter->hw; local
5674 struct ksz_hw *hw = &hw_priv->hw; local
5698 dev_set_promiscuous(struct net_device *dev, struct dev_priv *priv, struct ksz_hw *hw, int promiscuous) argument
5733 dev_set_multicast(struct dev_priv *priv, struct ksz_hw *hw, int multicast) argument
5762 struct ksz_hw *hw = &hw_priv->hw; local
5812 struct ksz_hw *hw = &hw_priv->hw; local
5857 struct ksz_hw *hw = &hw_priv->hw; local
5922 struct ksz_hw *hw = port->hw; local
5942 struct ksz_hw *hw = port->hw; local
6150 struct ksz_hw *hw = &hw_priv->hw; local
6345 struct ksz_hw *hw = &hw_priv->hw; local
6378 struct ksz_hw *hw = &hw_priv->hw; local
6423 struct ksz_hw *hw = &hw_priv->hw; local
6486 struct ksz_hw *hw = &hw_priv->hw; local
6506 struct ksz_hw *hw = &hw_priv->hw; local
6529 struct ksz_hw *hw = &hw_priv->hw; local
6596 struct ksz_hw *hw = &hw_priv->hw; local
6617 struct ksz_hw *hw = &hw_priv->hw; local
6686 struct ksz_hw *hw = &hw_priv->hw; local
6757 struct ksz_hw *hw = &hw_priv->hw; local
6933 read_other_addr(struct ksz_hw *hw) argument
6961 struct ksz_hw *hw; local
7214 struct ksz_hw *hw = &hw_priv->hw; local
7240 struct ksz_hw *hw = &hw_priv->hw; local
[all...]
H A Dsky2.c156 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) argument
160 gma_write16(hw, port, GM_SMI_DATA, val);
161 gma_write16(hw, port, GM_SMI_CTRL,
165 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL);
175 dev_warn(&hw->pdev->dev, "%s: phy write timeout\n", hw->dev[port]->name);
179 dev_err(&hw->pdev->dev, "%s: phy I/O error\n", hw->dev[port]->name);
183 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) argument
187 gma_write16(hw, por
210 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) argument
218 sky2_power_on(struct sky2_hw *hw) argument
266 sky2_power_aux(struct sky2_hw *hw) argument
288 sky2_gmac_reset(struct sky2_hw *hw, unsigned port) argument
330 sky2_phy_init(struct sky2_hw *hw, unsigned port) argument
640 sky2_phy_power_up(struct sky2_hw *hw, unsigned port) argument
661 sky2_phy_power_down(struct sky2_hw *hw, unsigned port) argument
719 struct sky2_hw *hw = sky2->hw; local
740 struct sky2_hw *hw = sky2->hw; local
801 sky2_set_tx_stfwd(struct sky2_hw *hw, unsigned port) argument
820 sky2_mac_init(struct sky2_hw *hw, unsigned port) argument
957 sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, u32 space) argument
997 sky2_qset(struct sky2_hw *hw, u16 q) argument
1008 sky2_prefetch_init(struct sky2_hw *hw, u32 qaddr, dma_addr_t addr, u32 last) argument
1045 sky2_put_idx(struct sky2_hw *hw, unsigned q, u16 idx) argument
1207 struct sky2_hw *hw = sky2->hw; local
1248 struct sky2_hw *hw = sky2->hw; local
1291 struct sky2_hw *hw = sky2->hw; local
1324 sky2_set_vlan_mode(struct sky2_hw *hw, u16 port, bool onoff) argument
1342 struct sky2_hw *hw = sky2->hw; local
1358 sky2_rx_pad(const struct sky2_hw *hw) argument
1406 struct sky2_hw *hw = sky2->hw; local
1439 struct sky2_hw *hw = sky2->hw; local
1507 struct sky2_hw *hw = sky2->hw; local
1540 struct sky2_hw *hw = sky2->hw; local
1564 struct sky2_hw *hw = sky2->hw; local
1631 struct sky2_hw *hw = sky2->hw; local
1713 struct sky2_hw *hw = sky2->hw; local
1916 sky2_tx_reset(struct sky2_hw *hw, unsigned port) argument
1940 struct sky2_hw *hw = sky2->hw; local
1988 struct sky2_hw *hw = sky2->hw; local
2011 sky2_phy_speed(const struct sky2_hw *hw, u16 aux) argument
2035 struct sky2_hw *hw = sky2->hw; local
2065 struct sky2_hw *hw = sky2->hw; local
2095 struct sky2_hw *hw = sky2->hw; local
2156 sky2_phy_intr(struct sky2_hw *hw, unsigned port) argument
2197 sky2_qlink_intr(struct sky2_hw *hw) argument
2223 struct sky2_hw *hw = sky2->hw; local
2239 struct sky2_hw *hw = sky2->hw; local
2524 sky2_rx_done(struct sky2_hw *hw, unsigned port, unsigned packets, unsigned bytes) argument
2572 sky2_status_intr(struct sky2_hw *hw, int to_do, u16 idx) argument
2672 sky2_hw_error(struct sky2_hw *hw, unsigned port, u32 status) argument
2712 sky2_hw_intr(struct sky2_hw *hw) argument
2759 sky2_mac_intr(struct sky2_hw *hw, unsigned port) argument
2785 sky2_le_error(struct sky2_hw *hw, unsigned port, u16 q) argument
2800 struct sky2_hw *hw = sky2->hw; local
2832 struct sky2_hw *hw = (struct sky2_hw *) arg; local
2863 sky2_err_intr(struct sky2_hw *hw, u32 status) argument
2892 struct sky2_hw *hw = container_of(napi, struct sky2_hw, napi); local
2925 struct sky2_hw *hw = dev_id; local
2950 sky2_mhz(const struct sky2_hw *hw) argument
2975 sky2_us2clk(const struct sky2_hw *hw, u32 us) argument
2980 sky2_clk2us(const struct sky2_hw *hw, u32 clk) argument
2986 sky2_init(struct sky2_hw *hw) argument
3084 sky2_reset(struct sky2_hw *hw) argument
3305 sky2_all_down(struct sky2_hw *hw) argument
3327 sky2_all_up(struct sky2_hw *hw) argument
3354 struct sky2_hw *hw = container_of(work, struct sky2_hw, restart_work); local
3365 sky2_wol_supported(const struct sky2_hw *hw) argument
3381 struct sky2_hw *hw = sky2->hw; local
3391 sky2_supported_modes(const struct sky2_hw *hw) argument
3414 struct sky2_hw *hw = sky2->hw; local
3437 const struct sky2_hw *hw = sky2->hw; local
3594 struct sky2_hw *hw = sky2->hw; local
3647 struct sky2_hw *hw = sky2->hw; local
3680 struct sky2_hw *hw = sky2->hw; local
3727 struct sky2_hw *hw = sky2->hw; local
3848 struct sky2_hw *hw = sky2->hw; local
3883 struct sky2_hw *hw = sky2->hw; local
3968 sky2_reg_access_ok(struct sky2_hw *hw, unsigned int b) argument
4045 const struct sky2_hw *hw = sky2->hw; local
4070 struct sky2_hw *hw = sky2->hw; local
4077 sky2_vpd_wait(const struct sky2_hw *hw, int cap, u16 busy) argument
4093 sky2_vpd_read(struct sky2_hw *hw, int cap, void *data, u16 offset, size_t length) argument
4117 sky2_vpd_write(struct sky2_hw *hw, int cap, const void *data, u16 offset, unsigned int length) argument
4244 sky2_show_vpd(struct seq_file *seq, struct sky2_hw *hw) argument
4306 struct sky2_hw *hw = sky2->hw; local
4520 sky2_init_netdev(struct sky2_hw *hw, unsigned port, int highmem, int wol) argument
4597 struct sky2_hw *hw = dev_id; local
4614 sky2_test_msi(struct sky2_hw *hw) argument
4678 struct sky2_hw *hw; local
4866 struct sky2_hw *hw = pci_get_drvdata(pdev); local
4904 struct sky2_hw *hw = pci_get_drvdata(pdev); local
4941 struct sky2_hw *hw = pci_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/pci/ctxfi/
H A Dctsrc.c40 struct hw *hw; local
42 hw = src->rsc.hw;
43 hw->src_set_state(src->rsc.ctrl_blk, state);
50 struct hw *hw; local
52 hw = src->rsc.hw;
53 hw
60 struct hw *hw; local
70 struct hw *hw; local
80 struct hw *hw; local
90 struct hw *hw; local
100 struct hw *hw; local
110 struct hw *hw; local
120 struct hw *hw; local
130 struct hw *hw; local
140 struct hw *hw; local
150 struct hw *hw; local
160 struct hw *hw; local
170 struct hw *hw; local
180 struct hw *hw; local
210 struct hw *hw; local
231 struct hw *hw = src->rsc.hw; local
271 struct hw *hw = src->rsc.hw; local
299 struct hw *hw = src->rsc.hw; local
491 struct hw *hw = mgr->mgr.hw; local
507 struct hw *hw = mgr->mgr.hw; local
523 struct hw *hw = mgr->mgr.hw; local
539 struct hw *hw = mgr->mgr.hw; local
546 src_mgr_create(void *hw, struct src_mgr **rsrc_mgr) argument
783 struct hw *hw = mgr->hw; local
828 srcimp_mgr_create(void *hw, struct srcimp_mgr **rsrcimp_mgr) argument
[all...]
H A Dcthw20k1.c37 struct hw hw; member in struct:hw20k1
42 static u32 hw_read_20kx(struct hw *hw, u32 reg);
43 static void hw_write_20kx(struct hw *hw, u32 reg, u32 data);
44 static u32 hw_read_pci(struct hw *hw, u32 reg);
45 static void hw_write_pci(struct hw *hw, u3
369 src_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
426 src_get_ca(struct hw *hw, unsigned int idx, void *blk) argument
468 src_mgr_commit_write(struct hw *hw, void *blk) argument
569 srcimp_mgr_commit_write(struct hw *hw, void *blk) argument
673 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
888 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
934 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
1108 daio_mgr_commit_write(struct hw *hw, void *blk) argument
1149 daio_mgr_get_ctrl_blk(struct hw *hw, void **rblk) argument
1175 set_timer_irq(struct hw *hw, int enable) argument
1181 set_timer_tick(struct hw *hw, unsigned int ticks) argument
1189 get_wc(struct hw *hw) argument
1213 hw_daio_init(struct hw *hw, const struct daio_conf *info) argument
1264 hw_trn_init(struct hw *hw, const struct trn_conf *info) argument
1311 hw_pll_init(struct hw *hw, unsigned int rsr) argument
1332 hw_auto_init(struct hw *hw) argument
1356 i2c_unlock(struct hw *hw) argument
1374 i2c_lock(struct hw *hw) argument
1380 i2c_write(struct hw *hw, u32 device, u32 addr, u32 data) argument
1393 hw_reset_dac(struct hw *hw) argument
1426 hw_dac_init(struct hw *hw, const struct dac_conf *info) argument
1488 is_adc_input_selected_SB055x(struct hw *hw, enum ADCSRC type) argument
1493 is_adc_input_selected_SBx(struct hw *hw, enum ADCSRC type) argument
1514 is_adc_input_selected_hendrix(struct hw *hw, enum ADCSRC type) argument
1532 hw_is_adc_input_selected(struct hw *hw, enum ADCSRC type) argument
1547 adc_input_select_SB055x(struct hw *hw, enum ADCSRC type, unsigned char boost) argument
1587 adc_input_select_SBx(struct hw *hw, enum ADCSRC type, unsigned char boost) argument
1637 adc_input_select_hendrix(struct hw *hw, enum ADCSRC type, unsigned char boost) argument
1681 hw_adc_input_select(struct hw *hw, enum ADCSRC type) argument
1697 adc_init_SB055x(struct hw *hw, int input, int mic20db) argument
1702 adc_init_SBx(struct hw *hw, int input, int mic20db) argument
1767 hw_adc_init(struct hw *hw, const struct adc_conf *info) argument
1775 hw_have_digit_io_switch(struct hw *hw) argument
1876 struct hw *hw = dev_id; local
1890 hw_card_start(struct hw *hw) argument
1951 hw_card_stop(struct hw *hw) argument
1968 hw_card_shutdown(struct hw *hw) argument
1990 hw_card_init(struct hw *hw, struct card_conf *info) argument
2077 hw_suspend(struct hw *hw, pm_message_t state) argument
2095 hw_resume(struct hw *hw, struct card_conf *info) argument
2107 hw_read_20kx(struct hw *hw, u32 reg) argument
2122 hw_write_20kx(struct hw *hw, u32 reg, u32 data) argument
2135 hw_read_pci(struct hw *hw, u32 reg) argument
2150 hw_write_pci(struct hw *hw, u32 reg, u32 data) argument
2285 destroy_20k1_hw_obj(struct hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/ixgbe/
H A Dixgbe_82598.c41 static s32 ixgbe_get_copper_link_capabilities_82598(struct ixgbe_hw *hw,
44 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
48 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
53 * @hw: pointer to the HW structure
61 static void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) argument
63 struct ixgbe_adapter *adapter = hw->back;
64 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR);
93 IXGBE_WRITE_REG(hw, IXGBE_GCR, gcr);
98 * @hw: pointer to hardware structure
103 static u16 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw) argument
119 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) argument
145 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) argument
204 ixgbe_start_hw_82598(struct ixgbe_hw *hw) argument
225 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
284 ixgbe_get_copper_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
313 ixgbe_get_media_type_82598(struct ixgbe_hw *hw) argument
354 ixgbe_fc_enable_82598(struct ixgbe_hw *hw, s32 packetbuf_num) argument
495 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument
541 ixgbe_validate_link_ready(struct ixgbe_hw *hw) argument
577 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
671 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument
722 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument
747 ixgbe_reset_hw_82598(struct ixgbe_hw *hw) argument
880 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
897 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
924 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on) argument
969 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw) argument
993 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val) argument
1015 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val) argument
1036 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
1096 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw) argument
[all...]
H A Dixgbe_mbx.c36 * @hw: pointer to the HW structure
43 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
45 struct ixgbe_mbx_info *mbx = &hw->mbx;
53 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
60 * @hw: pointer to the HW structure
67 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
69 struct ixgbe_mbx_info *mbx = &hw->mbx;
76 ret_val = mbx->ops.write(hw, msg, size, mbx_id);
83 * @hw: pointer to the HW structure
88 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u1 argument
106 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
124 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) argument
142 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) argument
171 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
203 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
230 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
256 ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw) argument
264 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) argument
284 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) argument
306 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) argument
328 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) argument
354 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) argument
379 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
420 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
451 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument
[all...]
H A Dixgbe_dcb_82599.c35 * @hw: pointer to hardware structure
41 s32 ixgbe_dcb_get_tc_stats_82599(struct ixgbe_hw *hw, argument
52 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
54 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
56 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
58 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
66 * @hw: pointer to hardware structure
72 s32 ixgbe_dcb_get_pfc_stats_82599(struct ixgbe_hw *hw, argument
82 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
84 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXCN
97 ixgbe_dcb_config_packet_buffers_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
139 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
194 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
241 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
297 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
362 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw) argument
415 ixgbe_dcb_config_82599(struct ixgbe_hw *hw) argument
467 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/pci/ctxfi/
H A Dctsrc.c40 struct hw *hw; local
42 hw = src->rsc.hw;
43 hw->src_set_state(src->rsc.ctrl_blk, state);
50 struct hw *hw; local
52 hw = src->rsc.hw;
53 hw
60 struct hw *hw; local
70 struct hw *hw; local
80 struct hw *hw; local
90 struct hw *hw; local
100 struct hw *hw; local
110 struct hw *hw; local
120 struct hw *hw; local
130 struct hw *hw; local
140 struct hw *hw; local
150 struct hw *hw; local
160 struct hw *hw; local
170 struct hw *hw; local
180 struct hw *hw; local
210 struct hw *hw; local
231 struct hw *hw = src->rsc.hw; local
271 struct hw *hw = src->rsc.hw; local
299 struct hw *hw = src->rsc.hw; local
491 struct hw *hw = mgr->mgr.hw; local
507 struct hw *hw = mgr->mgr.hw; local
523 struct hw *hw = mgr->mgr.hw; local
539 struct hw *hw = mgr->mgr.hw; local
546 src_mgr_create(void *hw, struct src_mgr **rsrc_mgr) argument
783 struct hw *hw = mgr->hw; local
828 srcimp_mgr_create(void *hw, struct srcimp_mgr **rsrcimp_mgr) argument
[all...]
H A Dcthw20k1.c37 struct hw hw; member in struct:hw20k1
42 static u32 hw_read_20kx(struct hw *hw, u32 reg);
43 static void hw_write_20kx(struct hw *hw, u32 reg, u32 data);
44 static u32 hw_read_pci(struct hw *hw, u32 reg);
45 static void hw_write_pci(struct hw *hw, u3
369 src_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
426 src_get_ca(struct hw *hw, unsigned int idx, void *blk) argument
468 src_mgr_commit_write(struct hw *hw, void *blk) argument
569 srcimp_mgr_commit_write(struct hw *hw, void *blk) argument
673 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
888 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
934 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
1108 daio_mgr_commit_write(struct hw *hw, void *blk) argument
1149 daio_mgr_get_ctrl_blk(struct hw *hw, void **rblk) argument
1175 set_timer_irq(struct hw *hw, int enable) argument
1181 set_timer_tick(struct hw *hw, unsigned int ticks) argument
1189 get_wc(struct hw *hw) argument
1213 hw_daio_init(struct hw *hw, const struct daio_conf *info) argument
1264 hw_trn_init(struct hw *hw, const struct trn_conf *info) argument
1311 hw_pll_init(struct hw *hw, unsigned int rsr) argument
1332 hw_auto_init(struct hw *hw) argument
1356 i2c_unlock(struct hw *hw) argument
1374 i2c_lock(struct hw *hw) argument
1380 i2c_write(struct hw *hw, u32 device, u32 addr, u32 data) argument
1393 hw_reset_dac(struct hw *hw) argument
1426 hw_dac_init(struct hw *hw, const struct dac_conf *info) argument
1488 is_adc_input_selected_SB055x(struct hw *hw, enum ADCSRC type) argument
1493 is_adc_input_selected_SBx(struct hw *hw, enum ADCSRC type) argument
1514 is_adc_input_selected_hendrix(struct hw *hw, enum ADCSRC type) argument
1532 hw_is_adc_input_selected(struct hw *hw, enum ADCSRC type) argument
1547 adc_input_select_SB055x(struct hw *hw, enum ADCSRC type, unsigned char boost) argument
1587 adc_input_select_SBx(struct hw *hw, enum ADCSRC type, unsigned char boost) argument
1637 adc_input_select_hendrix(struct hw *hw, enum ADCSRC type, unsigned char boost) argument
1681 hw_adc_input_select(struct hw *hw, enum ADCSRC type) argument
1697 adc_init_SB055x(struct hw *hw, int input, int mic20db) argument
1702 adc_init_SBx(struct hw *hw, int input, int mic20db) argument
1767 hw_adc_init(struct hw *hw, const struct adc_conf *info) argument
1775 hw_have_digit_io_switch(struct hw *hw) argument
1876 struct hw *hw = dev_id; local
1890 hw_card_start(struct hw *hw) argument
1951 hw_card_stop(struct hw *hw) argument
1968 hw_card_shutdown(struct hw *hw) argument
1990 hw_card_init(struct hw *hw, struct card_conf *info) argument
2077 hw_suspend(struct hw *hw, pm_message_t state) argument
2095 hw_resume(struct hw *hw, struct card_conf *info) argument
2107 hw_read_20kx(struct hw *hw, u32 reg) argument
2122 hw_write_20kx(struct hw *hw, u32 reg, u32 data) argument
2135 hw_read_pci(struct hw *hw, u32 reg) argument
2150 hw_write_pci(struct hw *hw, u32 reg, u32 data) argument
2285 destroy_20k1_hw_obj(struct hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/ixgbe/
H A Dixgbe_82598.c41 static s32 ixgbe_get_copper_link_capabilities_82598(struct ixgbe_hw *hw,
44 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
48 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
53 * @hw: pointer to the HW structure
61 static void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) argument
63 struct ixgbe_adapter *adapter = hw->back;
64 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR);
93 IXGBE_WRITE_REG(hw, IXGBE_GCR, gcr);
98 * @hw: pointer to hardware structure
103 static u16 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw) argument
119 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) argument
145 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) argument
204 ixgbe_start_hw_82598(struct ixgbe_hw *hw) argument
225 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
284 ixgbe_get_copper_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
313 ixgbe_get_media_type_82598(struct ixgbe_hw *hw) argument
354 ixgbe_fc_enable_82598(struct ixgbe_hw *hw, s32 packetbuf_num) argument
495 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument
541 ixgbe_validate_link_ready(struct ixgbe_hw *hw) argument
577 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
671 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument
722 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument
747 ixgbe_reset_hw_82598(struct ixgbe_hw *hw) argument
880 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
897 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
924 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on) argument
969 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw) argument
993 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val) argument
1015 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val) argument
1036 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
1096 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw) argument
[all...]
H A Dixgbe_mbx.c36 * @hw: pointer to the HW structure
43 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
45 struct ixgbe_mbx_info *mbx = &hw->mbx;
53 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
60 * @hw: pointer to the HW structure
67 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
69 struct ixgbe_mbx_info *mbx = &hw->mbx;
76 ret_val = mbx->ops.write(hw, msg, size, mbx_id);
83 * @hw: pointer to the HW structure
88 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u1 argument
106 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
124 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) argument
142 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) argument
171 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
203 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
230 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
256 ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw) argument
264 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) argument
284 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) argument
306 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) argument
328 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) argument
354 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) argument
379 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
420 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
451 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument
[all...]
H A Dixgbe_dcb_82599.c35 * @hw: pointer to hardware structure
41 s32 ixgbe_dcb_get_tc_stats_82599(struct ixgbe_hw *hw, argument
52 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
54 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
56 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
58 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
66 * @hw: pointer to hardware structure
72 s32 ixgbe_dcb_get_pfc_stats_82599(struct ixgbe_hw *hw, argument
82 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
84 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXCN
97 ixgbe_dcb_config_packet_buffers_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
139 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
194 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
241 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
297 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
362 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw) argument
415 ixgbe_dcb_config_82599(struct ixgbe_hw *hw) argument
467 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/common/
H A Dhw-main.h27 /* construct a hw device */
28 #include "hw-device.h"
29 #include "hw-properties.h"
30 #include "hw-events.h"
31 #include "hw-alloc.h"
32 #include "hw-instances.h"
33 #include "hw-handles.h"
34 #include "hw-ports.h"
39 (struct hw *me);
51 void do_hw_attach_regs (struct hw *m
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/common/
H A Dhw-main.h27 /* construct a hw device */
28 #include "hw-device.h"
29 #include "hw-properties.h"
30 #include "hw-events.h"
31 #include "hw-alloc.h"
32 #include "hw-instances.h"
33 #include "hw-handles.h"
34 #include "hw-ports.h"
39 (struct hw *me);
51 void do_hw_attach_regs (struct hw *m
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/common/
H A Dhw-main.h27 /* construct a hw device */
28 #include "hw-device.h"
29 #include "hw-properties.h"
30 #include "hw-events.h"
31 #include "hw-alloc.h"
32 #include "hw-instances.h"
33 #include "hw-handles.h"
34 #include "hw-ports.h"
39 (struct hw *me);
51 void do_hw_attach_regs (struct hw *m
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c56 static void hfcsusb_ph_command(struct hfcsusb *hw, u_char command);
57 static void release_hw(struct hfcsusb *hw);
58 static void reset_hfcsusb(struct hfcsusb *hw);
59 static void setPortMode(struct hfcsusb *hw);
60 static void hfcsusb_start_endpoint(struct hfcsusb *hw, int channel);
61 static void hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel);
64 static void hfcsusb_ph_info(struct hfcsusb *hw);
68 ctrl_start_transfer(struct hfcsusb *hw) argument
71 printk(KERN_DEBUG "%s: %s\n", hw->name, __func__);
73 if (hw
91 write_reg(struct hfcsusb *hw, __u8 reg, __u8 val) argument
120 struct hfcsusb *hw = (struct hfcsusb *) urb->context; local
139 set_led_bit(struct hfcsusb *hw, signed short led_bits, int set_on) argument
156 handle_led(struct hfcsusb *hw, int event) argument
216 struct hfcsusb *hw = bch->hw; local
269 hfcsusb_ph_info(struct hfcsusb *hw) argument
299 struct hfcsusb *hw = dch->hw; local
386 struct hfcsusb *hw = dch->hw; local
433 open_dchannel(struct hfcsusb *hw, struct mISDNchannel *ch, struct channel_req *rq) argument
487 open_bchannel(struct hfcsusb *hw, struct channel_req *rq) argument
520 channel_ctrl(struct hfcsusb *hw, struct mISDN_ctrl_req *cq) argument
550 struct hfcsusb *hw = dch->hw; local
601 struct hfcsusb *hw = dch->hw; local
642 struct hfcsusb *hw = dch->hw; local
697 struct hfcsusb *hw = dch->hw; local
711 struct hfcsusb *hw = bch->hw; local
783 hfcsusb_ph_command(struct hfcsusb *hw, u_char command) argument
849 struct hfcsusb *hw = fifo->hw; local
1008 struct hfcsusb *hw = fifo->hw; local
1129 struct hfcsusb *hw = fifo->hw; local
1200 struct hfcsusb *hw = fifo->hw; local
1415 struct hfcsusb *hw = fifo->hw; local
1480 struct hfcsusb *hw = fifo->hw; local
1506 struct hfcsusb *hw = fifo->hw; local
1529 struct hfcsusb *hw = fifo->hw; local
1555 setPortMode(struct hfcsusb *hw) argument
1577 reset_hfcsusb(struct hfcsusb *hw) argument
1631 hfcsusb_start_endpoint(struct hfcsusb *hw, int channel) argument
1699 hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel) argument
1727 setup_hfcsusb(struct hfcsusb *hw) argument
1768 release_hw(struct hfcsusb *hw) argument
1807 struct hfcsusb *hw = bch->hw; local
1860 setup_instance(struct hfcsusb *hw, struct device *parent) argument
1936 struct hfcsusb *hw; local
2135 struct hfcsusb *hw = usb_get_intfdata(intf); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c56 static void hfcsusb_ph_command(struct hfcsusb *hw, u_char command);
57 static void release_hw(struct hfcsusb *hw);
58 static void reset_hfcsusb(struct hfcsusb *hw);
59 static void setPortMode(struct hfcsusb *hw);
60 static void hfcsusb_start_endpoint(struct hfcsusb *hw, int channel);
61 static void hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel);
64 static void hfcsusb_ph_info(struct hfcsusb *hw);
68 ctrl_start_transfer(struct hfcsusb *hw) argument
71 printk(KERN_DEBUG "%s: %s\n", hw->name, __func__);
73 if (hw
91 write_reg(struct hfcsusb *hw, __u8 reg, __u8 val) argument
120 struct hfcsusb *hw = (struct hfcsusb *) urb->context; local
139 set_led_bit(struct hfcsusb *hw, signed short led_bits, int set_on) argument
156 handle_led(struct hfcsusb *hw, int event) argument
216 struct hfcsusb *hw = bch->hw; local
269 hfcsusb_ph_info(struct hfcsusb *hw) argument
299 struct hfcsusb *hw = dch->hw; local
386 struct hfcsusb *hw = dch->hw; local
433 open_dchannel(struct hfcsusb *hw, struct mISDNchannel *ch, struct channel_req *rq) argument
487 open_bchannel(struct hfcsusb *hw, struct channel_req *rq) argument
520 channel_ctrl(struct hfcsusb *hw, struct mISDN_ctrl_req *cq) argument
550 struct hfcsusb *hw = dch->hw; local
601 struct hfcsusb *hw = dch->hw; local
642 struct hfcsusb *hw = dch->hw; local
697 struct hfcsusb *hw = dch->hw; local
711 struct hfcsusb *hw = bch->hw; local
783 hfcsusb_ph_command(struct hfcsusb *hw, u_char command) argument
849 struct hfcsusb *hw = fifo->hw; local
1008 struct hfcsusb *hw = fifo->hw; local
1129 struct hfcsusb *hw = fifo->hw; local
1200 struct hfcsusb *hw = fifo->hw; local
1415 struct hfcsusb *hw = fifo->hw; local
1480 struct hfcsusb *hw = fifo->hw; local
1506 struct hfcsusb *hw = fifo->hw; local
1529 struct hfcsusb *hw = fifo->hw; local
1555 setPortMode(struct hfcsusb *hw) argument
1577 reset_hfcsusb(struct hfcsusb *hw) argument
1631 hfcsusb_start_endpoint(struct hfcsusb *hw, int channel) argument
1699 hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel) argument
1727 setup_hfcsusb(struct hfcsusb *hw) argument
1768 release_hw(struct hfcsusb *hw) argument
1807 struct hfcsusb *hw = bch->hw; local
1860 setup_instance(struct hfcsusb *hw, struct device *parent) argument
1936 struct hfcsusb *hw; local
2135 struct hfcsusb *hw = usb_get_intfdata(intf); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/isdn/hisax/
H A Dhfc4s8s_l1.c151 struct _hfc4s8s_hw *hw; /* pointer to hardware area */ member in struct:hfc4s8s_l1
316 Read_hfc8_stable(hfc4s8s_hw * hw, int reg) argument
320 ref8 = Read_hfc8(hw, reg);
321 while (((in8 = Read_hfc8(hw, reg)) != ref8)) {
328 Read_hfc16_stable(hfc4s8s_hw * hw, int reg) argument
333 ref16 = Read_hfc16(hw, reg);
334 while (((in16 = Read_hfc16(hw, reg)) != ref16)) {
361 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |=
364 schedule_work(&l1->hw->tqueue);
377 Write_hfc8(l1->hw, R_ST_SE
1089 hfc4s8s_hw *hw = container_of(work, hfc4s8s_hw, tqueue); local
1275 hfc4s8s_hw *hw = dev_id; local
1335 chipreset(hfc4s8s_hw * hw) argument
1364 hfc_hardware_enable(hfc4s8s_hw * hw, int enable, int nt_mode) argument
1471 release_pci_ports(hfc4s8s_hw * hw) argument
1487 enable_pci_ports(hfc4s8s_hw * hw) argument
1501 setup_instance(hfc4s8s_hw * hw) argument
1593 hfc4s8s_hw *hw; local
1646 hfc4s8s_hw *hw = pci_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/hisax/
H A Dhfc4s8s_l1.c151 struct _hfc4s8s_hw *hw; /* pointer to hardware area */ member in struct:hfc4s8s_l1
316 Read_hfc8_stable(hfc4s8s_hw * hw, int reg) argument
320 ref8 = Read_hfc8(hw, reg);
321 while (((in8 = Read_hfc8(hw, reg)) != ref8)) {
328 Read_hfc16_stable(hfc4s8s_hw * hw, int reg) argument
333 ref16 = Read_hfc16(hw, reg);
334 while (((in16 = Read_hfc16(hw, reg)) != ref16)) {
361 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |=
364 schedule_work(&l1->hw->tqueue);
377 Write_hfc8(l1->hw, R_ST_SE
1089 hfc4s8s_hw *hw = container_of(work, hfc4s8s_hw, tqueue); local
1275 hfc4s8s_hw *hw = dev_id; local
1335 chipreset(hfc4s8s_hw * hw) argument
1364 hfc_hardware_enable(hfc4s8s_hw * hw, int enable, int nt_mode) argument
1471 release_pci_ports(hfc4s8s_hw * hw) argument
1487 enable_pci_ports(hfc4s8s_hw * hw) argument
1501 setup_instance(hfc4s8s_hw * hw) argument
1593 hfc4s8s_hw *hw; local
1646 hfc4s8s_hw *hw = pci_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/ixgbevf/
H A Dmbx.c32 * @hw: pointer to the HW structure
36 static s32 ixgbevf_poll_for_msg(struct ixgbe_hw *hw) argument
38 struct ixgbe_mbx_info *mbx = &hw->mbx;
41 while (countdown && mbx->ops.check_for_msg(hw)) {
55 * @hw: pointer to the HW structure
59 static s32 ixgbevf_poll_for_ack(struct ixgbe_hw *hw) argument
61 struct ixgbe_mbx_info *mbx = &hw->mbx;
64 while (countdown && mbx->ops.check_for_ack(hw)) {
78 * @hw: pointer to the HW structure
85 static s32 ixgbevf_read_posted_mbx(struct ixgbe_hw *hw, u3 argument
108 ixgbevf_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
130 ixgbevf_read_v2p_mailbox(struct ixgbe_hw *hw) argument
148 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) argument
167 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) argument
185 ixgbevf_check_for_ack_vf(struct ixgbe_hw *hw) argument
203 ixgbevf_check_for_rst_vf(struct ixgbe_hw *hw) argument
222 ixgbevf_obtain_mbx_lock_vf(struct ixgbe_hw *hw) argument
244 ixgbevf_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
281 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
311 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/ixgbevf/
H A Dmbx.c32 * @hw: pointer to the HW structure
36 static s32 ixgbevf_poll_for_msg(struct ixgbe_hw *hw) argument
38 struct ixgbe_mbx_info *mbx = &hw->mbx;
41 while (countdown && mbx->ops.check_for_msg(hw)) {
55 * @hw: pointer to the HW structure
59 static s32 ixgbevf_poll_for_ack(struct ixgbe_hw *hw) argument
61 struct ixgbe_mbx_info *mbx = &hw->mbx;
64 while (countdown && mbx->ops.check_for_ack(hw)) {
78 * @hw: pointer to the HW structure
85 static s32 ixgbevf_read_posted_mbx(struct ixgbe_hw *hw, u3 argument
108 ixgbevf_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
130 ixgbevf_read_v2p_mailbox(struct ixgbe_hw *hw) argument
148 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) argument
167 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) argument
185 ixgbevf_check_for_ack_vf(struct ixgbe_hw *hw) argument
203 ixgbevf_check_for_rst_vf(struct ixgbe_hw *hw) argument
222 ixgbevf_obtain_mbx_lock_vf(struct ixgbe_hw *hw) argument
244 ixgbevf_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
281 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
311 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/igb/
H A De1000_nvm.c36 * @hw: pointer to the HW structure
41 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
46 udelay(hw->nvm.delay_usec);
51 * @hw: pointer to the HW structure
56 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
61 udelay(hw->nvm.delay_usec);
66 * @hw: pointer to the HW structure
74 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) argument
76 struct e1000_nvm_info *nvm = &hw->nvm;
95 igb_raise_eec_clk(hw,
116 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) argument
151 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) argument
182 igb_acquire_nvm(struct e1000_hw *hw) argument
216 igb_standby_nvm(struct e1000_hw *hw) argument
240 e1000_stop_nvm(struct e1000_hw *hw) argument
258 igb_release_nvm(struct e1000_hw *hw) argument
275 igb_ready_nvm_eeprom(struct e1000_hw *hw) argument
329 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
375 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
455 igb_read_part_num(struct e1000_hw *hw, u32 *part_num) argument
486 igb_read_mac_addr(struct e1000_hw *hw) argument
514 igb_validate_nvm_checksum(struct e1000_hw *hw) argument
547 igb_update_nvm_checksum(struct e1000_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/igb/
H A De1000_nvm.c36 * @hw: pointer to the HW structure
41 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
46 udelay(hw->nvm.delay_usec);
51 * @hw: pointer to the HW structure
56 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
61 udelay(hw->nvm.delay_usec);
66 * @hw: pointer to the HW structure
74 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) argument
76 struct e1000_nvm_info *nvm = &hw->nvm;
95 igb_raise_eec_clk(hw,
116 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) argument
151 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) argument
182 igb_acquire_nvm(struct e1000_hw *hw) argument
216 igb_standby_nvm(struct e1000_hw *hw) argument
240 e1000_stop_nvm(struct e1000_hw *hw) argument
258 igb_release_nvm(struct e1000_hw *hw) argument
275 igb_ready_nvm_eeprom(struct e1000_hw *hw) argument
329 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
375 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
455 igb_read_part_num(struct e1000_hw *hw, u32 *part_num) argument
486 igb_read_mac_addr(struct e1000_hw *hw) argument
514 igb_validate_nvm_checksum(struct e1000_hw *hw) argument
547 igb_update_nvm_checksum(struct e1000_hw *hw) argument
[all...]

Completed in 284 milliseconds

1234567891011>>