/linux/include/net/ |
H A D | bonding.h | 157 struct slave { struct 168 u8 backup:1, /* indicates backup slave. Value corresponds with argument 170 inactive:1, /* indicates inactive slave */ argument 171 rx_disabled:1, /* indicates whether slave's Rx is disabled */ argument 181 struct ad_slave_info *ad_info; argument 182 struct tlb_slave_info tlb_info; argument 188 struct rtnl_link_stats64 slave_stats; argument 191 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument 293 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave() 354 struct slave *slave = rcu_dereference_rtnl(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local [all …]
|
/linux/drivers/net/bonding/ |
H A D | bond_sysfs_slave.c | 21 static ssize_t state_show(struct slave *slave, char *buf) in state_show() 34 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() 40 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() 46 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show() 54 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show() 60 static ssize_t ad_aggregator_id_show(struct slave *slave, char *buf) in ad_aggregator_id_show() 75 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show() 90 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show() 123 struct slave *slave = to_slave(kobj); in slave_show() local 132 int bond_sysfs_slave_add(struct slave *slave) in bond_sysfs_slave_add() [all …]
|
H A D | bond_main.c | 372 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local 407 struct slave *slave; in bond_vlan_rx_kill_vid() local 433 struct slave *slave; in bond_ipsec_dev() local 469 struct slave *slave; in bond_ipsec_add_sa() local 521 struct slave *slave; in bond_ipsec_add_sa_all() local 565 struct slave *slave; in bond_ipsec_del_sa() local 611 struct slave *slave; in bond_ipsec_del_sa_all() local 644 struct slave *slave; in bond_ipsec_free_sa() local 766 struct slave *slave; in bond_set_carrier() local 798 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex() [all …]
|
H A D | bond_3ad.c | 194 struct slave *slave = port->slave; in __enable_collecting_port() local 219 struct slave *slave = port->slave; in __enable_port() local 306 struct slave *slave = port->slave; in __get_link_speed() local 409 struct slave *slave = port->slave; in __get_duplex() local 829 struct slave *slave; in __get_active_agg() local 898 struct slave *slave = port->slave; in ad_lacpdu_send() local 942 struct slave *slave = port->slave; in ad_marker_send() local 1096 struct slave *slave = port->slave; in ad_mux_machine() local 1510 struct slave *slave; in ad_port_selection_logic() local 1790 struct slave *slave; in ad_agg_selection_logic() local [all …]
|
H A D | bond_alb.c | 87 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave() 93 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave() 116 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave() 161 static long long compute_gap(struct slave *slave) in compute_gap() 169 struct slave *slave, *least_loaded; in tlb_get_least_loaded_slave() local 273 struct slave *slave) in rlb_arp_recv() 309 struct slave *before = NULL, *rx_slave = NULL, *slave; in __rlb_next_rx_slave() local 381 static void rlb_clear_slave(struct bonding *bond, struct slave *slave) in rlb_clear_slave() 488 static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) in rlb_req_update_slave_clients() 919 static void alb_send_lp_vid(struct slave *slave, const u8 mac_addr[], in alb_send_lp_vid() [all …]
|
H A D | bond_options.c | 1120 struct slave *slave; in _bond_options_arp_ip_target_set() local 1168 struct slave *slave; in bond_option_arp_ip_target_rem() local 1238 static bool slave_can_set_ns_maddr(const struct bonding *bond, struct slave *slave) in slave_can_set_ns_maddr() 1245 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) in slave_set_ns_maddrs() 1267 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_add() 1274 void bond_slave_ns_maddrs_del(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_del() 1281 static void slave_set_ns_maddr(struct bonding *bond, struct slave *slave, in slave_set_ns_maddr() 1306 struct slave *slave; in _bond_options_ns_ip6_target_set() local 1365 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) {} in slave_set_ns_maddrs() 1367 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) {} in bond_slave_ns_maddrs_add() [all …]
|
/linux/include/linux/ |
H A D | if_eql.h | 27 typedef struct slave { struct 35 } slave_t; argument
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 307 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() 378 static inline void mlx4_release_resource(struct mlx4_dev *dev, int slave, in mlx4_release_resource() 691 static void update_pkey_index(struct mlx4_dev *dev, int slave, in update_pkey_index() 707 u8 slave) in update_gid() 751 u8 slave, u32 qpn) in update_vport_qp_param() 891 static int _get_res(struct mlx4_dev *dev, int slave, u64 res_id, in _get_res() 931 #define get_res(dev, slave, res_id, type, res) \ argument 936 u64 res_id, int *slave) in mlx4_get_slave_from_resource_id() 957 static void put_res(struct mlx4_dev *dev, int slave, u64 res_id, in put_res() 974 static int handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, in handle_existing_counter() [all …]
|
H A D | cmd.c | 813 int slave, u64 slave_addr, in mlx4_ACCESS_MEM() 891 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MAD_IFC_wrapper() 1025 static int mlx4_CMD_EPERM_wrapper(struct mlx4_dev *dev, int slave, in mlx4_CMD_EPERM_wrapper() 1034 int mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, in mlx4_DMA_wrapper() 1661 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, in mlx4_master_process_vhcr() 1842 int slave, int port) in mlx4_master_immediate_activate_vlan_qos() 1995 static int mlx4_master_activate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_activate_admin_state() 2059 static void mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_deactivate_admin_state() 2084 static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, in mlx4_master_do_cmd() 2237 int i, slave; in mlx4_master_comm_channel() local [all …]
|
/linux/drivers/soundwire/ |
H A D | bus_type.c | 22 sdw_get_device_id(struct sdw_slave *slave, const struct sdw_driver *drv) in sdw_get_device_id() 40 struct sdw_slave *slave; in sdw_bus_match() local 53 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias() 64 const struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_uevent() local 83 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe() local 162 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local 185 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown() local
|
H A D | debugfs.c | 36 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf() 52 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show() local 148 struct sdw_slave *slave = data; in set_command() local 166 struct sdw_slave *slave = data; in set_start_address() local 182 struct sdw_slave *slave = data; in set_num_bytes() local 201 struct sdw_slave *slave = data; in cmd_go() local 277 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init() 304 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
|
/linux/sound/soc/codecs/ |
H A D | max98373-sdw.c | 267 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local 299 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop() 359 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init() 467 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate() 487 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config() 729 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init() 790 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status() 808 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config() 830 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe() 843 static int max98373_sdw_remove(struct sdw_slave *slave) in max98373_sdw_remove()
|
H A D | sdw-mockup.c | 23 struct sdw_slave *slave; member 127 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status() 133 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop() 197 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config() 203 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback() 216 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe() 240 static int sdw_mockup_sdw_remove(struct sdw_slave *slave) in sdw_mockup_sdw_remove()
|
H A D | rt711-sdca-sdw.c | 141 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status() 175 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop() 237 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback() 343 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe() 360 static int rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove() 402 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend() local 433 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume() local
|
H A D | rt712-sdca-sdw.c | 156 static int rt712_sdca_update_status(struct sdw_slave *slave, in rt712_sdca_update_status() 190 static int rt712_sdca_read_prop(struct sdw_slave *slave) in rt712_sdca_read_prop() 254 static int rt712_sdca_interrupt_callback(struct sdw_slave *slave, in rt712_sdca_interrupt_callback() 360 static int rt712_sdca_sdw_probe(struct sdw_slave *slave, in rt712_sdca_sdw_probe() 377 static int rt712_sdca_sdw_remove(struct sdw_slave *slave) in rt712_sdca_sdw_remove() 422 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_system_suspend() local 453 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_resume() local
|
H A D | rt5682-sdw.c | 298 struct sdw_slave *slave) in rt5682_sdw_init() 368 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init() 512 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status() 531 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop() 641 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config() 656 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback() 681 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe() 694 static int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove() 731 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() local 758 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume() local
|
H A D | rt700-sdw.c | 313 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status() 332 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop() 396 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config() 411 static int rt700_interrupt_callback(struct sdw_slave *slave, in rt700_interrupt_callback() 440 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe() 458 static int rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove() 495 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_system_suspend() local 525 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume() local
|
H A D | rt711-sdw.c | 319 static int rt711_update_status(struct sdw_slave *slave, in rt711_update_status() 338 static int rt711_read_prop(struct sdw_slave *slave) in rt711_read_prop() 403 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config() 418 static int rt711_interrupt_callback(struct sdw_slave *slave, in rt711_interrupt_callback() 443 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe() 461 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove() 504 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_system_suspend() local 533 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume() local
|
H A D | rt715-sdca-sdw.c | 119 static int rt715_sdca_update_status(struct sdw_slave *slave, in rt715_sdca_update_status() 135 static int rt715_sdca_read_prop(struct sdw_slave *slave) in rt715_sdca_read_prop() 177 static int rt715_sdca_sdw_probe(struct sdw_slave *slave, in rt715_sdca_sdw_probe() 194 static int rt715_sdca_sdw_remove(struct sdw_slave *slave) in rt715_sdca_sdw_remove() 227 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume() local
|
H A D | rt1308-sdw.c | 123 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop() 213 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init() 302 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status() 321 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config() 336 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback() 681 struct sdw_slave *slave) in rt1308_sdw_init() 730 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe() 743 static int rt1308_sdw_remove(struct sdw_slave *slave) in rt1308_sdw_remove() 772 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1308_dev_resume() local
|
H A D | rt1318-sdw.c | 345 static int rt1318_read_prop(struct sdw_slave *slave) in rt1318_read_prop() 404 static int rt1318_io_init(struct device *dev, struct sdw_slave *slave) in rt1318_io_init() 444 static int rt1318_update_status(struct sdw_slave *slave, in rt1318_update_status() 735 struct sdw_slave *slave) in rt1318_sdw_init() 784 static int rt1318_sdw_probe(struct sdw_slave *slave, in rt1318_sdw_probe() 797 static int rt1318_sdw_remove(struct sdw_slave *slave) in rt1318_sdw_remove() 825 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1318_dev_resume() local
|
H A D | max98363.c | 91 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98363_resume() local 119 static int max98363_read_prop(struct sdw_slave *slave) in max98363_read_prop() 157 static int max98363_io_init(struct sdw_slave *slave) in max98363_io_init() 299 static int max98363_update_status(struct sdw_slave *slave, in max98363_update_status() 387 static int max98363_init(struct sdw_slave *slave, struct regmap *regmap) in max98363_init() 433 static int max98363_sdw_probe(struct sdw_slave *slave, in max98363_sdw_probe()
|
/linux/drivers/fsi/ |
H A D | fsi-core.c | 155 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device() 171 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() 195 static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave) in fsi_slave_report_and_clear_errors() 255 static int fsi_slave_set_smode(struct fsi_slave *slave) in fsi_slave_set_smode() 271 static int fsi_slave_handle_error(struct fsi_slave *slave, bool write, in fsi_slave_handle_error() 331 int fsi_slave_read(struct fsi_slave *slave, uint32_t addr, in fsi_slave_read() 356 int fsi_slave_write(struct fsi_slave *slave, uint32_t addr, in fsi_slave_write() 381 int fsi_slave_claim_range(struct fsi_slave *slave, in fsi_slave_claim_range() 395 void fsi_slave_release_range(struct fsi_slave *slave, in fsi_slave_release_range() 442 static int fsi_slave_scan(struct fsi_slave *slave) in fsi_slave_scan() [all …]
|
/linux/drivers/net/ |
H A D | eql.c | 152 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local 223 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave() 313 slave_t *slave = list_entry(this, slave_t, list); in __eql_schedule_slaves() local 340 slave_t *slave; in eql_slave_xmit() local 374 slave_t *slave = list_entry(this, slave_t, list); in __eql_find_slave_dev() local 393 static int __eql_insert_slave(slave_queue_t *queue, slave_t *slave) in __eql_insert_slave() 471 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_emancipate() local 485 slave_t *slave; in eql_g_slave_cfg() local 517 slave_t *slave; in eql_s_slave_cfg() local
|
/linux/sound/soc/sdca/ |
H A D | sdca_device.c | 14 void sdca_lookup_interface_revision(struct sdw_slave *slave) in sdca_lookup_interface_revision() 27 static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb() 57 bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk) in sdca_device_quirk_match()
|