Home
last modified time | relevance | path

Searched defs:chip (Results 1 – 25 of 1489) sorted by relevance

12345678910>>...60

/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dglobal1.c16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read()
23 int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g1_write()
30 int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g1_wait_bit()
37 int mv88e6xxx_g1_wait_mask(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g1_wait_mask()
46 static int mv88e6185_g1_wait_ppu_disabled(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_disabled()
53 static int mv88e6185_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_polling()
60 static int mv88e6352_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6352_g1_wait_ppu_polling()
67 static int mv88e6xxx_g1_wait_init_ready(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_wait_init_ready()
78 static int mv88e6250_g1_eeprom_reload(struct mv88e6xxx_chip *chip) in mv88e6250_g1_eeprom_reload()
99 static int mv88e6xxx_g1_is_eeprom_done(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_is_eeprom_done()
[all …]
H A Dglobal2.c19 int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g2_read()
24 int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g2_write()
29 int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g2_wait_bit()
38 static int mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src) in mv88e6xxx_g2_int_source()
46 static int mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask) in mv88e6xxx_g2_int_mask()
53 static int mv88e6xxx_g2_mgmt_enable_2x(struct mv88e6xxx_chip *chip, u16 en2x) in mv88e6xxx_g2_mgmt_enable_2x()
60 static int mv88e6xxx_g2_mgmt_enable_0x(struct mv88e6xxx_chip *chip, u16 en0x) in mv88e6xxx_g2_mgmt_enable_0x()
67 static int mv88e6xxx_g2_switch_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_switch_mgmt_rsvd2cpu()
85 int mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6185_g2_mgmt_rsvd2cpu()
99 int mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6352_g2_mgmt_rsvd2cpu()
[all …]
H A Dchip.c46 static void assert_reg_lock(struct mv88e6xxx_chip *chip) in assert_reg_lock() argument
54 int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val) in mv88e6xxx_read() argument
70 int mv88e6xxx_write(struct mv88e6xxx_chip *chip, in argument
86 mv88e6xxx_wait_mask(struct mv88e6xxx_chip * chip,int addr,int reg,u16 mask,u16 val) mv88e6xxx_wait_mask() argument
123 mv88e6xxx_wait_bit(struct mv88e6xxx_chip * chip,int addr,int reg,int bit,int val) mv88e6xxx_wait_bit() argument
130 mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip * chip) mv88e6xxx_default_mdio_bus() argument
144 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_mask() local
152 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_unmask() local
158 mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip * chip) mv88e6xxx_g1_irq_thread_work() argument
202 struct mv88e6xxx_chip *chip = dev_id; mv88e6xxx_g1_irq_thread_fn() local
209 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_bus_lock() local
216 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); mv88e6xxx_g1_irq_bus_sync_unlock() local
248 struct mv88e6xxx_chip *chip = d->host_data; mv88e6xxx_g1_irq_domain_map() local
263 mv88e6xxx_g1_irq_free_common(struct mv88e6xxx_chip * chip) mv88e6xxx_g1_irq_free_common() argument
280 mv88e6xxx_g1_irq_free(struct mv88e6xxx_chip * chip) mv88e6xxx_g1_irq_free() argument
293 mv88e6xxx_g1_irq_setup_common(struct mv88e6xxx_chip * chip) mv88e6xxx_g1_irq_setup_common() argument
343 mv88e6xxx_g1_irq_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_g1_irq_setup() argument
376 struct mv88e6xxx_chip *chip = container_of(work, mv88e6xxx_irq_poll() local
385 mv88e6xxx_irq_poll_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_irq_poll_setup() argument
406 mv88e6xxx_irq_poll_free(struct mv88e6xxx_chip * chip) mv88e6xxx_irq_poll_free() argument
416 mv88e6xxx_port_config_interface(struct mv88e6xxx_chip * chip,int port,phy_interface_t interface) mv88e6xxx_port_config_interface() argument
438 mv88e6xxx_port_setup_mac(struct mv88e6xxx_chip * chip,int port,int link,int speed,int duplex,int pause,phy_interface_t mode) mv88e6xxx_port_setup_mac() argument
473 mv88e6xxx_phy_is_internal(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_phy_is_internal() argument
480 mv88e6xxx_port_ppu_updates(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_port_ppu_updates() argument
512 mv88e6095_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6095_phylink_get_caps() argument
531 mv88e6185_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6185_phylink_get_caps() argument
570 mv88e6250_setup_supported_interfaces(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6250_setup_supported_interfaces() argument
619 mv88e6250_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6250_phylink_get_caps() argument
628 mv88e6351_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6351_phylink_get_caps() argument
640 mv88e6352_get_port4_serdes_cmode(struct mv88e6xxx_chip * chip) mv88e6352_get_port4_serdes_cmode() argument
670 mv88e6352_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6352_phylink_get_caps() argument
700 mv88e632x_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e632x_phylink_get_caps() argument
712 mv88e6341_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6341_phylink_get_caps() argument
734 mv88e6390_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6390_phylink_get_caps() argument
756 mv88e6390x_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6390x_phylink_get_caps() argument
791 mv88e6393x_phylink_get_caps(struct mv88e6xxx_chip * chip,int port,struct phylink_config * config) mv88e6393x_phylink_get_caps() argument
838 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_caps() local
857 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_select_pcs() local
870 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_prepare() local
893 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_config() local
915 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_finish() local
943 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_link_down() local
973 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_mac_link_up() local
1004 mv88e6xxx_stats_snapshot(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_stats_snapshot() argument
1074 _mv88e6xxx_get_ethtool_stat(struct mv88e6xxx_chip * chip,struct mv88e6xxx_hw_stat * s,int port,u16 bank1_select,u16 histogram) _mv88e6xxx_get_ethtool_stat() argument
1115 mv88e6xxx_stats_get_strings(struct mv88e6xxx_chip * chip,uint8_t * data,int types) mv88e6xxx_stats_get_strings() argument
1133 mv88e6095_stats_get_strings(struct mv88e6xxx_chip * chip,uint8_t * data) mv88e6095_stats_get_strings() argument
1140 mv88e6250_stats_get_strings(struct mv88e6xxx_chip * chip,uint8_t * data) mv88e6250_stats_get_strings() argument
1146 mv88e6320_stats_get_strings(struct mv88e6xxx_chip * chip,uint8_t * data) mv88e6320_stats_get_strings() argument
1174 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_strings() local
1196 mv88e6xxx_stats_get_sset_count(struct mv88e6xxx_chip * chip,int types) mv88e6xxx_stats_get_sset_count() argument
1210 mv88e6095_stats_get_sset_count(struct mv88e6xxx_chip * chip) mv88e6095_stats_get_sset_count() argument
1216 mv88e6250_stats_get_sset_count(struct mv88e6xxx_chip * chip) mv88e6250_stats_get_sset_count() argument
1221 mv88e6320_stats_get_sset_count(struct mv88e6xxx_chip * chip) mv88e6320_stats_get_sset_count() argument
1229 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_sset_count() local
1258 mv88e6xxx_stats_get_stats(struct mv88e6xxx_chip * chip,int port,uint64_t * data,int types,u16 bank1_select,u16 histogram) mv88e6xxx_stats_get_stats() argument
1280 mv88e6095_stats_get_stats(struct mv88e6xxx_chip * chip,int port,uint64_t * data) mv88e6095_stats_get_stats() argument
1288 mv88e6250_stats_get_stats(struct mv88e6xxx_chip * chip,int port,uint64_t * data) mv88e6250_stats_get_stats() argument
1295 mv88e6320_stats_get_stats(struct mv88e6xxx_chip * chip,int port,uint64_t * data) mv88e6320_stats_get_stats() argument
1304 mv88e6390_stats_get_stats(struct mv88e6xxx_chip * chip,int port,uint64_t * data) mv88e6390_stats_get_stats() argument
1313 mv88e6xxx_atu_vtu_get_stats(struct mv88e6xxx_chip * chip,int port,uint64_t * data) mv88e6xxx_atu_vtu_get_stats() argument
1323 mv88e6xxx_get_stats(struct mv88e6xxx_chip * chip,int port,uint64_t * data) mv88e6xxx_get_stats() argument
1344 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_ethtool_stats() local
1361 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_regs_len() local
1374 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_regs() local
1414 mv88e6xxx_port_vlan(struct mv88e6xxx_chip * chip,int dev,int port) mv88e6xxx_port_vlan() argument
1479 mv88e6xxx_port_vlan_map(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_port_vlan_map() argument
1492 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_stp_state_set() local
1503 mv88e6xxx_pri_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_pri_setup() argument
1522 mv88e6xxx_devmap_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_devmap_setup() argument
1556 mv88e6xxx_trunk_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_trunk_setup() argument
1565 mv88e6xxx_rmu_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_rmu_setup() argument
1573 mv88e6xxx_pot_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_pot_setup() argument
1581 mv88e6xxx_rsvd2cpu_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_rsvd2cpu_setup() argument
1589 mv88e6xxx_atu_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_atu_setup() argument
1611 mv88e6xxx_irl_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_irl_setup() argument
1631 mv88e6xxx_mac_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_mac_setup() argument
1644 mv88e6xxx_pvt_map(struct mv88e6xxx_chip * chip,int dev,int port) mv88e6xxx_pvt_map() argument
1676 mv88e6xxx_pvt_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_pvt_setup() argument
1702 mv88e6xxx_port_fast_age_fid(struct mv88e6xxx_chip * chip,int port,u16 fid) mv88e6xxx_port_fast_age_fid() argument
1717 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fast_age() local
1729 mv88e6xxx_vtu_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_vtu_setup() argument
1737 mv88e6xxx_vtu_get(struct mv88e6xxx_chip * chip,u16 vid,struct mv88e6xxx_vtu_entry * entry) mv88e6xxx_vtu_get() argument
1756 mv88e6xxx_vtu_walk(struct mv88e6xxx_chip * chip,int (* cb)(struct mv88e6xxx_chip * chip,const struct mv88e6xxx_vtu_entry * entry,void * priv),void * priv) mv88e6xxx_vtu_walk() argument
1757 mv88e6xxx_vtu_walk(struct mv88e6xxx_chip * chip,int (* cb)(struct mv88e6xxx_chip * chip,const struct mv88e6xxx_vtu_entry * entry,void * priv),void * priv) mv88e6xxx_vtu_walk() argument
1787 mv88e6xxx_vtu_loadpurge(struct mv88e6xxx_chip * chip,struct mv88e6xxx_vtu_entry * entry) mv88e6xxx_vtu_loadpurge() argument
1796 mv88e6xxx_fid_map_vlan(struct mv88e6xxx_chip * chip,const struct mv88e6xxx_vtu_entry * entry,void * _fid_bitmap) mv88e6xxx_fid_map_vlan() argument
1806 mv88e6xxx_fid_map(struct mv88e6xxx_chip * chip,unsigned long * fid_bitmap) mv88e6xxx_fid_map() argument
1816 mv88e6xxx_atu_new(struct mv88e6xxx_chip * chip,u16 * fid) mv88e6xxx_atu_new() argument
1833 mv88e6xxx_stu_loadpurge(struct mv88e6xxx_chip * chip,struct mv88e6xxx_stu_entry * entry) mv88e6xxx_stu_loadpurge() argument
1842 mv88e6xxx_stu_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_stu_setup() argument
1860 mv88e6xxx_sid_get(struct mv88e6xxx_chip * chip,u8 * sid) mv88e6xxx_sid_get() argument
1875 mv88e6xxx_mst_put(struct mv88e6xxx_chip * chip,u8 sid) mv88e6xxx_mst_put() argument
1905 mv88e6xxx_mst_get(struct mv88e6xxx_chip * chip,struct net_device * br,u16 msti,u8 * sid) mv88e6xxx_mst_get() argument
1973 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mst_state_set() local
2018 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_check_hw_vlan() local
2055 mv88e6xxx_port_commit_pvid(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_port_commit_pvid() argument
2084 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_filtering() local
2112 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_prepare() local
2128 mv88e6xxx_port_db_load_purge(struct mv88e6xxx_chip * chip,int port,const unsigned char * addr,u16 vid,u8 state) mv88e6xxx_port_db_load_purge() argument
2189 mv88e6xxx_policy_apply(struct mv88e6xxx_chip * chip,int port,const struct mv88e6xxx_policy * policy) mv88e6xxx_policy_apply() argument
2237 mv88e6xxx_policy_insert(struct mv88e6xxx_chip * chip,int port,struct ethtool_rx_flow_spec * fs) mv88e6xxx_policy_insert() argument
2323 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_rxnfc() local
2370 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_set_rxnfc() local
2399 mv88e6xxx_port_add_broadcast(struct mv88e6xxx_chip * chip,int port,u16 vid) mv88e6xxx_port_add_broadcast() argument
2410 mv88e6xxx_broadcast_setup(struct mv88e6xxx_chip * chip,u16 vid) mv88e6xxx_broadcast_setup() argument
2443 mv88e6xxx_port_broadcast_sync_vlan(struct mv88e6xxx_chip * chip,const struct mv88e6xxx_vtu_entry * vlan,void * _ctx) mv88e6xxx_port_broadcast_sync_vlan() argument
2462 mv88e6xxx_port_broadcast_sync(struct mv88e6xxx_chip * chip,int port,bool flood) mv88e6xxx_port_broadcast_sync() argument
2484 mv88e6xxx_port_vlan_join(struct mv88e6xxx_chip * chip,int port,u16 vid,u8 member,bool warn) mv88e6xxx_port_vlan_join() argument
2539 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_add() local
2597 mv88e6xxx_port_vlan_leave(struct mv88e6xxx_chip * chip,int port,u16 vid) mv88e6xxx_port_vlan_leave() argument
2645 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_del() local
2686 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_vlan_fast_age() local
2708 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_vlan_msti_set() local
2754 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fdb_add() local
2769 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fdb_del() local
2779 mv88e6xxx_port_db_dump_fid(struct mv88e6xxx_chip * chip,u16 fid,u16 vid,int port,dsa_fdb_dump_cb_t * cb,void * data) mv88e6xxx_port_db_dump_fid() argument
2820 mv88e6xxx_port_db_dump_vlan(struct mv88e6xxx_chip * chip,const struct mv88e6xxx_vtu_entry * entry,void * _data) mv88e6xxx_port_db_dump_vlan() argument
2830 mv88e6xxx_port_db_dump(struct mv88e6xxx_chip * chip,int port,dsa_fdb_dump_cb_t * cb,void * data) mv88e6xxx_port_db_dump() argument
2856 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_fdb_dump() local
2866 mv88e6xxx_bridge_map(struct mv88e6xxx_chip * chip,struct dsa_bridge bridge) mv88e6xxx_bridge_map() argument
2906 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_map_virtual_bridge_to_pvt() local
2916 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_bridge_join() local
2950 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_bridge_leave() local
2983 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_crosschip_bridge_join() local
3001 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_crosschip_bridge_leave() local
3013 mv88e6xxx_software_reset(struct mv88e6xxx_chip * chip) mv88e6xxx_software_reset() argument
3021 mv88e6xxx_hardware_reset(struct mv88e6xxx_chip * chip) mv88e6xxx_hardware_reset() argument
3056 mv88e6xxx_disable_ports(struct mv88e6xxx_chip * chip) mv88e6xxx_disable_ports() argument
3075 mv88e6xxx_switch_reset(struct mv88e6xxx_chip * chip) mv88e6xxx_switch_reset() argument
3088 mv88e6xxx_set_port_mode(struct mv88e6xxx_chip * chip,int port,enum mv88e6xxx_frame_mode frame,enum mv88e6xxx_egress_mode egress,u16 etype) mv88e6xxx_set_port_mode() argument
3111 mv88e6xxx_set_port_mode_normal(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_set_port_mode_normal() argument
3118 mv88e6xxx_set_port_mode_dsa(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_set_port_mode_dsa() argument
3125 mv88e6xxx_set_port_mode_edsa(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_set_port_mode_edsa() argument
3133 mv88e6xxx_setup_port_mode(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_setup_port_mode() argument
3151 mv88e6xxx_setup_message_port(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_setup_message_port() argument
3158 mv88e6xxx_setup_egress_floods(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_setup_egress_floods() argument
3176 mv88e6xxx_set_egress_port(struct mv88e6xxx_chip * chip,enum mv88e6xxx_egress_direction direction,int port) mv88e6xxx_set_egress_port() argument
3197 mv88e6xxx_setup_upstream_port(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_setup_upstream_port() argument
3235 mv88e6xxx_setup_port(struct mv88e6xxx_chip * chip,int port) mv88e6xxx_setup_port() argument
3462 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_max_mtu() local
3473 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_change_mtu() local
3504 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_set_ageing_time() local
3514 mv88e6xxx_stats_setup(struct mv88e6xxx_chip * chip) mv88e6xxx_stats_setup() argument
3529 mv88e6390_setup_errata_applied(struct mv88e6xxx_chip * chip) mv88e6390_setup_errata_applied() argument
3553 mv88e6390_setup_errata(struct mv88e6xxx_chip * chip) mv88e6390_setup_errata() argument
3587 struct mv88e6xxx_chip *chip = mdio_bus->chip; mv88e6xxx_mdio_read() local
3614 struct mv88e6xxx_chip *chip = mdio_bus->chip; mv88e6xxx_mdio_read_c45() local
3631 struct mv88e6xxx_chip *chip = mdio_bus->chip; mv88e6xxx_mdio_write() local
3648 struct mv88e6xxx_chip *chip = mdio_bus->chip; mv88e6xxx_mdio_write_c45() local
3661 mv88e6xxx_mdio_register(struct mv88e6xxx_chip * chip,struct device_node * np,bool external) mv88e6xxx_mdio_register() argument
3731 mv88e6xxx_mdios_unregister(struct mv88e6xxx_chip * chip) mv88e6xxx_mdios_unregister() argument
3748 mv88e6xxx_mdios_register(struct mv88e6xxx_chip * chip) mv88e6xxx_mdios_register() argument
3785 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_teardown() local
3795 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_setup() local
3963 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_setup() local
3978 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_teardown() local
3989 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_eeprom_len() local
3997 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_eeprom() local
4018 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_set_eeprom() local
6313 mv88e6xxx_detect(struct mv88e6xxx_chip * chip) mv88e6xxx_detect() argument
6342 mv88e6xxx_single_chip_detect(struct mv88e6xxx_chip * chip,struct mdio_device * mdiodev) mv88e6xxx_single_chip_detect() argument
6370 struct mv88e6xxx_chip *chip; mv88e6xxx_alloc_chip() local
6390 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_get_tag_protocol() local
6398 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_change_tag_protocol() local
6451 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mdb_add() local
6466 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mdb_del() local
6484 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mirror_add() local
6522 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_mirror_del() local
6549 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_pre_bridge_flags() local
6571 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_bridge_flags() local
6635 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_lag_can_offload() local
6675 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_lag_sync_map() local
6730 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_lag_sync_masks() local
6806 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_lag_change() local
6820 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_lag_join() local
6852 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_port_lag_leave() local
6865 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_crosschip_lag_change() local
6879 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_crosschip_lag_join() local
6901 struct mv88e6xxx_chip *chip = ds->priv; mv88e6xxx_crosschip_lag_leave() local
6977 mv88e6xxx_register_switch(struct mv88e6xxx_chip * chip) mv88e6xxx_register_switch() argument
7005 mv88e6xxx_unregister_switch(struct mv88e6xxx_chip * chip) mv88e6xxx_unregister_switch() argument
7044 struct mv88e6xxx_chip *chip; mv88e6xxx_probe() local
7191 struct mv88e6xxx_chip *chip; mv88e6xxx_remove() local
[all...]
H A Dport.c21 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read()
29 int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_wait_bit()
37 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write()
50 int mv88e6185_port_set_pause(struct mv88e6xxx_chip *chip, int port, in mv88e6185_port_set_pause()
77 static int mv88e6xxx_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_set_rgmii_delay()
118 int mv88e6352_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6352_port_set_rgmii_delay()
127 int mv88e6390_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6390_port_set_rgmii_delay()
136 int mv88e6320_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6320_port_set_rgmii_delay()
145 int mv88e6xxx_port_set_link(struct mv88e6xxx_chip *chip, int port, int link) in mv88e6xxx_port_set_link()
183 int mv88e6xxx_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup) in mv88e6xxx_port_sync_link()
[all …]
H A Dphy.c16 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_read()
22 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_write()
28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read()
43 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) in mv88e6xxx_phy_write()
58 int mv88e6xxx_phy_read_c45(struct mv88e6xxx_chip *chip, int phy, int devad, in mv88e6xxx_phy_read_c45()
74 int mv88e6xxx_phy_write_c45(struct mv88e6xxx_chip *chip, int phy, int devad, in mv88e6xxx_phy_write_c45()
90 static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page) in mv88e6xxx_phy_page_get()
95 static void mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy) in mv88e6xxx_phy_page_put()
111 int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_read()
129 int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_write()
[all …]
H A Dglobal1_vtu.c20 static int mv88e6xxx_g1_vtu_fid_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_fid_read()
35 static int mv88e6xxx_g1_vtu_fid_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_fid_write()
48 static int mv88e6xxx_g1_vtu_sid_read(struct mv88e6xxx_chip *chip, u8 *sid) in mv88e6xxx_g1_vtu_sid_read()
62 static int mv88e6xxx_g1_vtu_sid_write(struct mv88e6xxx_chip *chip, u8 sid) in mv88e6xxx_g1_vtu_sid_write()
71 static int mv88e6xxx_g1_vtu_op_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_vtu_op_wait()
78 static int mv88e6xxx_g1_vtu_op(struct mv88e6xxx_chip *chip, u16 op) in mv88e6xxx_g1_vtu_op()
92 static int mv88e6xxx_g1_vtu_vid_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_vid_read()
115 static int mv88e6xxx_g1_vtu_vid_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_vid_write()
133 static int mv88e6185_g1_vtu_stu_data_read(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_stu_data_read()
151 static int mv88e6185_g1_vtu_data_read(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_data_read()
[all …]
/openbmc/linux/drivers/char/tpm/
H A Dtpm-chip.c40 static int tpm_request_locality(struct tpm_chip *chip) in tpm_request_locality()
55 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality()
69 static int tpm_cmd_ready(struct tpm_chip *chip) in tpm_cmd_ready()
77 static int tpm_go_idle(struct tpm_chip *chip) in tpm_go_idle()
85 static void tpm_clk_enable(struct tpm_chip *chip) in tpm_clk_enable()
91 static void tpm_clk_disable(struct tpm_chip *chip) in tpm_clk_disable()
105 int tpm_chip_start(struct tpm_chip *chip) in tpm_chip_start()
138 void tpm_chip_stop(struct tpm_chip *chip) in tpm_chip_stop()
157 int tpm_try_get_ops(struct tpm_chip *chip) in tpm_try_get_ops()
189 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops()
[all …]
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_chip.c22 void zd_chip_init(struct zd_chip *chip, in zd_chip_init()
32 void zd_chip_clear(struct zd_chip *chip) in zd_chip_clear()
41 static int scnprint_mac_oui(struct zd_chip *chip, char *buffer, size_t size) in scnprint_mac_oui()
48 static int scnprint_id(struct zd_chip *chip, char *buffer, size_t size) in scnprint_id()
68 static void print_id(struct zd_chip *chip) in print_id()
92 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked()
131 static int _zd_iowrite32v_async_locked(struct zd_chip *chip, in _zd_iowrite32v_async_locked()
170 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_locked()
184 int zd_iowrite16a_locked(struct zd_chip *chip, in zd_iowrite16a_locked()
222 int zd_iowrite32a_locked(struct zd_chip *chip, in zd_iowrite32a_locked()
[all …]
/openbmc/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c42 static int wait_handshake(struct echoaudio *chip) in wait_handshake()
66 static int send_vector(struct echoaudio *chip, u32 command) in send_vector()
91 static int write_dsp(struct echoaudio *chip, u32 data) in write_dsp()
115 static int read_dsp(struct echoaudio *chip, u32 *data) in read_dsp()
145 static int read_sn(struct echoaudio *chip) in read_sn()
167 static inline int check_asic_status(struct echoaudio *chip) in check_asic_status()
180 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic) in load_asic_generic()
227 static int install_resident_loader(struct echoaudio *chip) in install_resident_loader()
335 static int load_dsp(struct echoaudio *chip, u16 *code) in load_dsp()
489 static int load_firmware(struct echoaudio *chip) in load_firmware()
[all …]
/openbmc/linux/sound/pci/oxygen/
H A Doxygen.c139 static void ak4396_write(struct oxygen *chip, unsigned int codec, in ak4396_write()
157 static void ak4396_write_cached(struct oxygen *chip, unsigned int codec, in ak4396_write_cached()
166 static void wm8785_write(struct oxygen *chip, u8 reg, unsigned int value) in wm8785_write()
180 static void ak4396_registers_init(struct oxygen *chip) in ak4396_registers_init()
199 static void ak4396_init(struct oxygen *chip) in ak4396_init()
210 static void ak5385_init(struct oxygen *chip) in ak5385_init()
217 static void wm8785_registers_init(struct oxygen *chip) in wm8785_registers_init()
226 static void wm8785_init(struct oxygen *chip) in wm8785_init()
237 static void generic_init(struct oxygen *chip) in generic_init()
243 static void meridian_init(struct oxygen *chip) in meridian_init()
[all …]
H A Dxonar_pcm179x.c232 static inline void pcm1796_write_spi(struct oxygen *chip, unsigned int codec, in pcm1796_write_spi()
247 static inline void pcm1796_write_i2c(struct oxygen *chip, unsigned int codec, in pcm1796_write_i2c()
253 static void pcm1796_write(struct oxygen *chip, unsigned int codec, in pcm1796_write()
268 static void pcm1796_write_cached(struct oxygen *chip, unsigned int codec, in pcm1796_write_cached()
277 static void cs2000_write(struct oxygen *chip, u8 reg, u8 value) in cs2000_write()
285 static void cs2000_write_cached(struct oxygen *chip, u8 reg, u8 value) in cs2000_write_cached()
293 static void pcm1796_registers_init(struct oxygen *chip) in pcm1796_registers_init()
318 static void pcm1796_init(struct oxygen *chip) in pcm1796_init()
334 static void xonar_d2_init(struct oxygen *chip) in xonar_d2_init()
356 static void xonar_d2x_init(struct oxygen *chip) in xonar_d2x_init()
[all …]
H A Doxygen_io.c16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg) in oxygen_read8()
22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg) in oxygen_read16()
28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg) in oxygen_read32()
34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8()
41 void oxygen_write16(struct oxygen *chip, unsigned int reg, u16 value) in oxygen_write16()
48 void oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value) in oxygen_write32()
55 void oxygen_write8_masked(struct oxygen *chip, unsigned int reg, in oxygen_write8_masked()
66 void oxygen_write16_masked(struct oxygen *chip, unsigned int reg, in oxygen_write16_masked()
77 void oxygen_write32_masked(struct oxygen *chip, unsigned int reg, in oxygen_write32_masked()
88 static int oxygen_ac97_wait(struct oxygen *chip, unsigned int mask) in oxygen_ac97_wait()
[all …]
/openbmc/linux/drivers/staging/rts5208/
H A Drtsx_card.c23 void do_remaining_work(struct rtsx_chip *chip) in do_remaining_work()
81 void try_to_switch_sdio_ctrl(struct rtsx_chip *chip) in try_to_switch_sdio_ctrl()
99 void dynamic_configure_sdio_aspm(struct rtsx_chip *chip) in dynamic_configure_sdio_aspm()
138 void do_reset_sd_card(struct rtsx_chip *chip) in do_reset_sd_card()
192 void do_reset_xd_card(struct rtsx_chip *chip) in do_reset_xd_card()
240 void do_reset_ms_card(struct rtsx_chip *chip) in do_reset_ms_card()
288 static void release_sdio(struct rtsx_chip *chip) in release_sdio()
308 void rtsx_power_off_card(struct rtsx_chip *chip) in rtsx_power_off_card()
326 void rtsx_release_cards(struct rtsx_chip *chip) in rtsx_release_cards()
349 void rtsx_reset_cards(struct rtsx_chip *chip) in rtsx_reset_cards()
[all …]
H A Drtsx_chip.c23 static void rtsx_calibration(struct rtsx_chip *chip) in rtsx_calibration()
35 void rtsx_enable_card_int(struct rtsx_chip *chip) in rtsx_enable_card_int()
54 void rtsx_enable_bus_int(struct rtsx_chip *chip) in rtsx_enable_bus_int()
93 void rtsx_disable_bus_int(struct rtsx_chip *chip) in rtsx_disable_bus_int()
98 static int rtsx_pre_handle_sdio_old(struct rtsx_chip *chip) in rtsx_pre_handle_sdio_old()
142 static int rtsx_pre_handle_sdio_new(struct rtsx_chip *chip) in rtsx_pre_handle_sdio_new()
248 static int rtsx_reset_aspm(struct rtsx_chip *chip) in rtsx_reset_aspm()
287 static int rtsx_enable_pcie_intr(struct rtsx_chip *chip) in rtsx_enable_pcie_intr()
334 int rtsx_reset_chip(struct rtsx_chip *chip) in rtsx_reset_chip()
635 static int rts5208_init(struct rtsx_chip *chip) in rts5208_init()
[all …]
/openbmc/linux/sound/ppc/
H A Dpmac.c50 static int snd_pmac_dbdma_alloc(struct snd_pmac *chip, struct pmac_dbdma *rec, int size) in snd_pmac_dbdma_alloc()
66 static void snd_pmac_dbdma_free(struct snd_pmac *chip, struct pmac_dbdma *rec) in snd_pmac_dbdma_free()
84 unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate) in snd_pmac_rate_index()
113 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) in snd_pmac_get_stream()
141 static void snd_pmac_pcm_set_format(struct snd_pmac *chip) in snd_pmac_pcm_set_format()
179 static int snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_subs… in snd_pmac_pcm_prepare()
243 static int snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, in snd_pmac_pcm_trigger()
290 static snd_pcm_uframes_t snd_pmac_pcm_pointer(struct snd_pmac *chip, in snd_pmac_pcm_pointer()
317 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_prepare() local
324 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_trigger() local
[all …]
/openbmc/linux/sound/isa/sb/
H A Dsb16_main.c41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_prepare()
89 static void snd_sb16_csp_capture_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_prepare()
127 static void snd_sb16_csp_update(struct snd_sb *chip) in snd_sb16_csp_update()
140 static void snd_sb16_csp_playback_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_open()
159 static void snd_sb16_csp_playback_close(struct snd_sb *chip) in snd_sb16_csp_playback_close()
171 static void snd_sb16_csp_capture_open(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_open()
190 static void snd_sb16_csp_capture_close(struct snd_sb *chip) in snd_sb16_csp_capture_close()
202 #define snd_sb16_csp_playback_prepare(chip, runtime) /*nop*/ argument
203 #define snd_sb16_csp_capture_prepare(chip, runtime) /*nop*/ argument
204 #define snd_sb16_csp_update(chip) /*nop*/ argument
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c28 static uint8_t nand_read_byte(struct nand_chip *chip) in nand_read_byte()
40 static uint8_t nand_read_byte16(struct nand_chip *chip) in nand_read_byte16()
52 static void nand_select_chip(struct nand_chip *chip, int chipnr) in nand_select_chip()
74 static void nand_write_byte(struct nand_chip *chip, uint8_t byte) in nand_write_byte()
86 static void nand_write_byte16(struct nand_chip *chip, uint8_t byte) in nand_write_byte16()
117 static void nand_write_buf(struct nand_chip *chip, const uint8_t *buf, int len) in nand_write_buf()
130 static void nand_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf()
143 static void nand_write_buf16(struct nand_chip *chip, const uint8_t *buf, in nand_write_buf16()
159 static void nand_read_buf16(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf16()
174 static void panic_nand_wait_ready(struct nand_chip *chip, unsigned long timeo) in panic_nand_wait_ready()
[all …]
/openbmc/linux/sound/isa/wss/
H A Dwss_lib.c151 static inline void wss_outb(struct snd_wss *chip, u8 offset, u8 val) in wss_outb()
156 static inline u8 wss_inb(struct snd_wss *chip, u8 offset) in wss_inb()
161 static void snd_wss_wait(struct snd_wss *chip) in snd_wss_wait()
171 static void snd_wss_dout(struct snd_wss *chip, unsigned char reg, in snd_wss_dout()
185 void snd_wss_out(struct snd_wss *chip, unsigned char reg, unsigned char value) in snd_wss_out()
202 unsigned char snd_wss_in(struct snd_wss *chip, unsigned char reg) in snd_wss_in()
216 void snd_cs4236_ext_out(struct snd_wss *chip, unsigned char reg, in snd_cs4236_ext_out()
230 unsigned char snd_cs4236_ext_in(struct snd_wss *chip, unsigned char reg) in snd_cs4236_ext_in()
346 static void snd_wss_busy_wait(struct snd_wss *chip) in snd_wss_busy_wait()
360 void snd_wss_mce_up(struct snd_wss *chip) in snd_wss_mce_up()
[all …]
/openbmc/linux/sound/pci/
H A Dad1889.c97 ad1889_readw(struct snd_ad1889 *chip, unsigned reg) in ad1889_readw()
103 ad1889_writew(struct snd_ad1889 *chip, unsigned reg, u16 val) in ad1889_writew()
109 ad1889_readl(struct snd_ad1889 *chip, unsigned reg) in ad1889_readl()
115 ad1889_writel(struct snd_ad1889 *chip, unsigned reg, u32 val) in ad1889_writel()
121 ad1889_unmute(struct snd_ad1889 *chip) in ad1889_unmute()
131 ad1889_mute(struct snd_ad1889 *chip) in ad1889_mute()
140 ad1889_load_adc_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_adc_buffer_address()
147 ad1889_load_adc_buffer_count(struct snd_ad1889 *chip, u32 count) in ad1889_load_adc_buffer_count()
154 ad1889_load_adc_interrupt_count(struct snd_ad1889 *chip, u32 count) in ad1889_load_adc_interrupt_count()
161 ad1889_load_wave_buffer_address(struct snd_ad1889 *chip, u32 address) in ad1889_load_wave_buffer_address()
[all …]
/openbmc/linux/sound/pci/cs46xx/
H A Dcs46xx_lib.c74 static unsigned short snd_cs46xx_codec_read(struct snd_cs46xx *chip, in snd_cs46xx_codec_read()
204 struct snd_cs46xx *chip = ac97->private_data; in snd_cs46xx_ac97_read() local
218 static void snd_cs46xx_codec_write(struct snd_cs46xx *chip, in snd_cs46xx_codec_write()
289 struct snd_cs46xx *chip = ac97->private_data; in snd_cs46xx_ac97_write() local
304 int snd_cs46xx_download(struct snd_cs46xx *chip, in snd_cs46xx_download()
382 static int load_firmware(struct snd_cs46xx *chip, in load_firmware()
468 int snd_cs46xx_clear_BA1(struct snd_cs46xx *chip, in snd_cs46xx_clear_BA1()
501 static int load_firmware(struct snd_cs46xx *chip) in load_firmware()
534 static __maybe_unused int snd_cs46xx_download_image(struct snd_cs46xx *chip) in snd_cs46xx_download_image()
557 static void snd_cs46xx_reset(struct snd_cs46xx *chip) in snd_cs46xx_reset()
[all …]
/openbmc/qemu/include/hw/ppc/
H A Dpnv.h132 #define PNV_XSCOM_BASE(chip) \ argument
137 #define PNV_OCC_SENSOR_BASE(chip) (PNV_OCC_COMMON_AREA_BASE + \ argument
141 #define PNV_HOMER_BASE(chip) \ argument
160 #define PNV_ICP_BASE(chip) \ argument
165 #define PNV_PSIHB_BASE(chip) \ argument
169 #define PNV_PSIHB_FSP_BASE(chip) \ argument
176 #define PNV9_CHIP_BASE(chip, base) \ argument
180 #define PNV9_XIVE_VC_BASE(chip) PNV9_CHIP_BASE(chip, 0x0006010000000000ull) argument
183 #define PNV9_XIVE_PC_BASE(chip) PNV9_CHIP_BASE(chip, 0x0006018000000000ull) argument
186 #define PNV9_LPCM_BASE(chip) PNV9_CHIP_BASE(chip, 0x0006030000000000ull) argument
[all …]
/openbmc/linux/sound/pci/vx222/
H A Dvx222_ops.c76 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reg_addr() local
85 static unsigned char vx2_inb(struct vx_core *chip, int offset) in vx2_inb()
96 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val) in vx2_outb()
109 static unsigned int vx2_inl(struct vx_core *chip, int offset) in vx2_inl()
120 static void vx2_outl(struct vx_core *chip, int offset, unsigned int val) in vx2_outl()
132 #define vx_inb(chip,reg) vx2_inb((struct vx_core*)(chip), VX_##reg) argument
134 #define vx_outb(chip,reg,val) vx2_outb((struct vx_core*)(chip), VX_##reg, val) argument
136 #define vx_inl(chip,reg) vx2_inl((struct vx_core*)(chip), VX_##reg) argument
138 #define vx_outl(chip,reg,val) vx2_outl((struct vx_core*)(chip), VX_##reg, val) argument
149 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reset_dsp() local
[all …]
/openbmc/linux/arch/mips/alchemy/common/
H A Dgpiolib.c38 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get()
43 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set()
48 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input()
53 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output()
60 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq()
66 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get()
71 static void gpio1_set(struct gpio_chip *chip, in gpio1_set()
77 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input()
82 static int gpio1_direction_output(struct gpio_chip *chip, in gpio1_direction_output()
89 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq()
[all …]
/openbmc/linux/sound/pci/ymfpci/
H A Dymfpci_main.c34 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb()
39 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw()
44 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew()
49 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readl()
54 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u32 offset, u32 val) in snd_ymfpci_writel()
59 static int snd_ymfpci_codec_ready(struct snd_ymfpci *chip, int secondary) in snd_ymfpci_codec_ready()
78 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_write() local
88 struct snd_ymfpci *chip = ac97->private_data; in snd_ymfpci_codec_read() local
160 static void snd_ymfpci_hw_start(struct snd_ymfpci *chip) in snd_ymfpci_hw_start()
174 static void snd_ymfpci_hw_stop(struct snd_ymfpci *chip) in snd_ymfpci_hw_stop()
[all …]
/openbmc/linux/sound/pcmcia/vx/
H A Dvxp_ops.c40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr() local
48 static unsigned char vxp_inb(struct vx_core *chip, int offset) in vxp_inb()
58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) in vxp_outb()
67 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg) argument
69 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX_##reg,val) argument
77 static int vx_check_magic(struct vx_core *chip) in vx_check_magic()
100 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_dsp() local
118 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_codec() local
137 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_load_xilinx_binary() local
272 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_test_and_ack() local
[all …]

12345678910>>...60