/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 | 373 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local 408 struct slave *slave; in bond_vlan_rx_kill_vid() local 434 struct slave *slave; in bond_ipsec_dev() local 468 struct slave *slave; in bond_ipsec_add_sa() local 520 struct slave *slave; in bond_ipsec_add_sa_all() local 597 struct slave *slave; in bond_ipsec_del_sa_all() local 755 struct slave *slave; in bond_set_carrier() local 787 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex() 916 struct slave *slave; in bond_set_promiscuity() local 939 struct slave *slave; in bond_set_allmulti() local [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_options.c | 1123 struct slave *slave; in _bond_options_arp_ip_target_set() local 1171 struct slave *slave; in bond_option_arp_ip_target_rem() local 1241 static bool slave_can_set_ns_maddr(const struct bonding *bond, struct slave *slave) in slave_can_set_ns_maddr() 1265 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) in slave_set_ns_maddrs() 1289 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_add() 1296 void bond_slave_ns_maddrs_del(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_del() 1320 static void slave_set_ns_maddr(struct bonding *bond, struct slave *slave, in slave_set_ns_maddr() 1348 struct slave *slave; in _bond_options_ns_ip6_target_set() local 1407 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) {} in slave_set_ns_maddrs() 1409 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) {} in bond_slave_ns_maddrs_add() [all …]
|
H A D | bond_procfs.c | 16 struct slave *slave; in bond_info_seq_start() local 35 struct slave *slave; in bond_info_seq_next() local 191 const struct slave *slave) in bond_info_show_slave()
|
/linux/drivers/soundwire/ |
H A D | bus.c | 172 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local 362 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg() 415 static int sdw_ntransfer_no_pm(struct sdw_slave *slave, u32 addr, u8 flags, in sdw_ntransfer_no_pm() 452 int sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm() 468 int sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) in sdw_nwrite_no_pm() 480 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm() 557 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm() 570 int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm() 584 int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update() 609 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread() [all …]
|
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 170 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local 192 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown() local
|
H A D | intel_auxdevice.c | 71 static bool is_wake_capable(struct sdw_slave *slave) in is_wake_capable() 82 static int generic_bpt_send_async(struct sdw_bus *bus, struct sdw_slave *slave, in generic_bpt_send_async() 93 static int generic_bpt_wait(struct sdw_bus *bus, struct sdw_slave *slave, struct sdw_bpt_msg *msg) in generic_bpt_wait() 120 struct sdw_slave *slave, in generic_new_peripheral_assigned() 257 static int intel_get_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) in intel_get_device_num_ida() 273 static void intel_put_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) in intel_put_device_num_ida() 546 struct sdw_slave *slave = dev_to_sdw_dev(dev); in intel_resume_child_device() local
|
H A D | irq.c | 51 struct sdw_slave *slave = data; in sdw_irq_dispose_mapping() local 56 void sdw_irq_create_mapping(struct sdw_slave *slave) in sdw_irq_create_mapping()
|
/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 …]
|
H A D | eq.c | 147 u8 slave; in mlx4_gen_slave_eqe() local 194 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) in slave_event() 223 static void mlx4_slave_event(struct mlx4_dev *dev, int slave, in mlx4_slave_event() 253 int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_pkey_eqe() 273 int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_guid_change_eqe() 290 int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, in mlx4_gen_port_state_change_eqe() 311 enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) in mlx4_get_slave_port_state() 327 static int mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, in mlx4_set_slave_port_state() 366 int set_and_calc_slave_port_state(struct mlx4_dev *dev, int slave, in set_and_calc_slave_port_state() 502 int slave = 0; in mlx4_eq_int() local [all …]
|
/linux/sound/soc/codecs/ |
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 | rt722-sdca-sdw.c | 208 static int rt722_sdca_update_status(struct sdw_slave *slave, in rt722_sdca_update_status() 242 static int rt722_sdca_read_prop(struct sdw_slave *slave) in rt722_sdca_read_prop() 314 static int rt722_sdca_interrupt_callback(struct sdw_slave *slave, in rt722_sdca_interrupt_callback() 416 static int rt722_sdca_sdw_probe(struct sdw_slave *slave, in rt722_sdca_sdw_probe() 429 static int rt722_sdca_sdw_remove(struct sdw_slave *slave) in rt722_sdca_sdw_remove() 471 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_dev_system_suspend() local 502 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_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()
|
H A D | rt1320-sdw.c | 491 static int rt1320_read_prop(struct sdw_slave *slave) in rt1320_read_prop() 590 struct sdw_slave *slave = rt1320->sdw_slave; in rt1320_load_mcu_patch() local 656 struct sdw_slave *slave = rt1320->sdw_slave; in rt1320_vc_preset() local 690 static int rt1320_io_init(struct device *dev, struct sdw_slave *slave) in rt1320_io_init() 773 static int rt1320_update_status(struct sdw_slave *slave, in rt1320_update_status() 1386 struct regmap *mbq_regmap, struct sdw_slave *slave) in rt1320_sdw_init() 1441 static int rt1320_sdw_probe(struct sdw_slave *slave, in rt1320_sdw_probe() 1458 static int rt1320_sdw_remove(struct sdw_slave *slave) in rt1320_sdw_remove() 1492 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1320_dev_resume() local
|
/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/drivers/net/ethernet/ti/ |
H A D | cpsw-common.c | 15 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid() 41 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid() 68 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) in ti_cm_get_macid()
|
H A D | cpsw-phy-sel.c | 40 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352() 100 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_dra7xx() 160 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) in cpsw_phy_sel()
|
/linux/arch/um/os-Linux/ |
H A D | sigio.c | 170 int slave; member 183 static int async_pty(int master, int slave) in async_pty() 205 int master, slave, err; in check_one_sigio() local 263 static void tty_output(int master, int slave) in tty_output()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 336 int i, ix, slave, err; in __propagate_pkey_ev() local 417 static int mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, in mlx4_ib_demux_sa_handler() 446 static int find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, in find_slave_port_pkey_ix() 504 static int is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) in is_proxy_qp0() 511 int mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u32 port, in mlx4_ib_send_to_slave() 688 int slave = -1; in mlx4_ib_demux_mad() local 1341 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_multiplex_sa_handler() 1356 int mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u32 port, in mlx4_ib_send_to_wire() 1460 static int get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) in get_slave_base_gid_ix() 1467 static void fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, in fill_in_real_sgid_index() [all …]
|
H A D | cm.c | 58 int slave; member 360 static int alloc_rej_tmout(struct mlx4_ib_sriov *sriov, u32 rem_pv_cm_id, int slave) in alloc_rej_tmout() 409 int slave; in lookup_rej_tmout_slave() local 426 int mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, in mlx4_ib_demux_cm_handler() 494 static void rej_tmout_xa_cleanup(struct mlx4_ib_sriov *sriov, int slave) in rej_tmout_xa_cleanup() 523 void mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave) in mlx4_ib_cm_paravirt_clean()
|
/linux/drivers/base/regmap/ |
H A D | regmap-sdw.c | 15 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_write() local 28 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_gather_write() local 39 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_read() local
|