Home
last modified time | relevance | path

Searched defs:slave (Results 1 – 25 of 191) sorted by relevance

12345678

/Linux-v5.15/drivers/net/bonding/
Dbond_sysfs_slave.c27 static ssize_t state_show(struct slave *slave, char *buf) in state_show()
40 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show()
46 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show()
52 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show()
60 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show()
66 static ssize_t ad_aggregator_id_show(struct slave *slave, char *buf) in ad_aggregator_id_show()
81 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show()
96 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show()
129 struct slave *slave = to_slave(kobj); in slave_show() local
138 int bond_sysfs_slave_add(struct slave *slave) in bond_sysfs_slave_add()
[all …]
Dbond_main.c367 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
402 struct slave *slave; in bond_vlan_rx_kill_vid() local
425 struct slave *slave; in bond_ipsec_add_sa() local
472 struct slave *slave; in bond_ipsec_add_sa_all() local
513 struct slave *slave; in bond_ipsec_del_sa() local
555 struct slave *slave; in bond_ipsec_del_sa_all() local
643 struct slave *slave; in bond_set_carrier() local
675 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex()
800 struct slave *slave; in bond_set_promiscuity() local
823 struct slave *slave; in bond_set_allmulti() local
[all …]
Dbond_3ad.c186 struct slave *slave = port->slave; in __enable_port() local
255 struct slave *slave = port->slave; in __get_link_speed() local
354 struct slave *slave = port->slave; in __get_duplex() local
771 struct slave *slave; in __get_active_agg() local
840 struct slave *slave = port->slave; in ad_lacpdu_send() local
884 struct slave *slave = port->slave; in ad_marker_send() local
1399 struct slave *slave; in ad_port_selection_logic() local
1678 struct slave *slave; in ad_agg_selection_logic() local
2042 void bond_3ad_bind_slave(struct slave *slave) in bond_3ad_bind_slave()
2093 void bond_3ad_unbind_slave(struct slave *slave) in bond_3ad_unbind_slave()
[all …]
Dbond_alb.c86 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave()
92 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
115 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
160 static long long compute_gap(struct slave *slave) in compute_gap()
168 struct slave *slave, *least_loaded; in tlb_get_least_loaded_slave() local
272 struct slave *slave) in rlb_arp_recv()
308 struct slave *before = NULL, *rx_slave = NULL, *slave; in __rlb_next_rx_slave() local
379 static void rlb_clear_slave(struct bonding *bond, struct slave *slave) in rlb_clear_slave()
486 static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) in rlb_req_update_slave_clients()
907 static void alb_send_lp_vid(struct slave *slave, u8 mac_addr[], in alb_send_lp_vid()
[all …]
/Linux-v5.15/include/net/
Dbonding.h153 struct slave { struct
163 u8 backup:1, /* indicates backup slave. Value corresponds with argument
165 inactive:1, /* indicates inactive slave */ argument
174 struct ad_slave_info *ad_info; argument
175 struct tlb_slave_info tlb_info; argument
181 struct rtnl_link_stats64 slave_stats; argument
184 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
287 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
348 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
353 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
[all …]
/Linux-v5.15/drivers/soundwire/
Dbus.c150 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
326 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
383 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm()
400 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) in sdw_nwrite_no_pm()
416 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm()
488 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
501 int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm()
515 int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update()
535 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
561 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) in sdw_nwrite()
[all …]
Dbus_type.c21 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
39 struct sdw_slave *slave; in sdw_bus_match() local
52 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias()
63 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_uevent() local
82 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe() local
151 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local
165 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown() local
Dsysfs_slave.c98 struct sdw_slave *slave = dev_to_sdw_dev(dev); in modalias_show() local
161 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show() local
193 int sdw_slave_sysfs_init(struct sdw_slave *slave) in sdw_slave_sysfs_init()
235 struct sdw_slave *slave = dev_to_sdw_dev(dev); in status_show() local
244 struct sdw_slave *slave = dev_to_sdw_dev(dev); in device_number_show() local
Ddebugfs.c33 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf()
49 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show() local
121 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init()
138 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
Dmipi_disco.c123 static int sdw_slave_read_dp0(struct sdw_slave *slave, in sdw_slave_read_dp0()
162 static int sdw_slave_read_dpn(struct sdw_slave *slave, in sdw_slave_read_dpn()
287 int sdw_slave_read_prop(struct sdw_slave *slave) in sdw_slave_read_prop()
/Linux-v5.15/include/linux/
Dif_eql.h26 typedef struct slave { struct
33 } slave_t; argument
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c307 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 …]
Dcmd.c813 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()
2064 static void mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_deactivate_admin_state()
2095 static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, in mlx4_master_do_cmd()
2247 int i, slave; in mlx4_master_comm_channel() local
[all …]
/Linux-v5.15/sound/soc/codecs/
Drt711-sdca-sdw.c140 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status()
177 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop()
240 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback()
346 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe()
363 static int rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove()
400 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend() local
431 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume() local
Dsdw-mockup.c22 struct sdw_slave *slave; member
163 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status()
169 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop()
233 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config()
239 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback()
252 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe()
276 static int sdw_mockup_sdw_remove(struct sdw_slave *slave) in sdw_mockup_sdw_remove()
Drt700-sdw.c312 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status()
334 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop()
398 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config()
413 static int rt700_interrupt_callback(struct sdw_slave *slave, in rt700_interrupt_callback()
442 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe()
462 static int rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove()
497 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_system_suspend() local
527 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume() local
Drt711-sdw.c316 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()
463 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove()
501 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_system_suspend() local
530 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume() local
Drt5682-sdw.c333 struct sdw_slave *slave) in rt5682_sdw_init()
377 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init()
531 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status()
553 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop()
663 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config()
678 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback()
703 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe()
718 static int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
752 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() local
779 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume() local
Dmax98373-sdw.c270 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local
300 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop()
360 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init()
479 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate()
499 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config()
770 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
812 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
830 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
852 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
Drt1308-sdw.c118 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop()
162 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init()
275 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status()
297 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config()
312 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback()
641 struct sdw_slave *slave) in rt1308_sdw_init()
671 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe()
708 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1308_dev_resume() local
Drt715-sdca-sdw.c118 static int rt715_sdca_update_status(struct sdw_slave *slave, in rt715_sdca_update_status()
137 static int rt715_sdca_read_prop(struct sdw_slave *slave) in rt715_sdca_read_prop()
179 static int rt715_sdca_sdw_probe(struct sdw_slave *slave, in rt715_sdca_sdw_probe()
224 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume() local
Drt1316-sdw.c195 static int rt1316_read_prop(struct sdw_slave *slave) in rt1316_read_prop()
257 static int rt1316_io_init(struct device *dev, struct sdw_slave *slave) in rt1316_io_init()
310 static int rt1316_update_status(struct sdw_slave *slave, in rt1316_update_status()
635 struct sdw_slave *slave) in rt1316_sdw_init()
665 static int rt1316_sdw_probe(struct sdw_slave *slave, in rt1316_sdw_probe()
700 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1316_dev_resume() local
/Linux-v5.15/drivers/net/
Deql.c152 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()
472 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_emancipate() local
486 slave_t *slave; in eql_g_slave_cfg() local
518 slave_t *slave; in eql_s_slave_cfg() local
/Linux-v5.15/drivers/fsi/
Dfsi-core.c169 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device()
185 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr()
209 static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave) in fsi_slave_report_and_clear_errors()
269 static int fsi_slave_set_smode(struct fsi_slave *slave) in fsi_slave_set_smode()
285 static int fsi_slave_handle_error(struct fsi_slave *slave, bool write, in fsi_slave_handle_error()
345 int fsi_slave_read(struct fsi_slave *slave, uint32_t addr, in fsi_slave_read()
370 int fsi_slave_write(struct fsi_slave *slave, uint32_t addr, in fsi_slave_write()
395 extern int fsi_slave_claim_range(struct fsi_slave *slave, in fsi_slave_claim_range()
409 extern void fsi_slave_release_range(struct fsi_slave *slave, in fsi_slave_release_range()
466 static int fsi_slave_scan(struct fsi_slave *slave) in fsi_slave_scan()
[all …]
/Linux-v5.15/drivers/net/ethernet/ti/
Dcpsw-common.c16 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid()
42 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid()
69 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) in ti_cm_get_macid()

12345678