Home
last modified time | relevance | path

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

123456789

/linux/include/net/ !
H A Dbonding.h156 struct slave { struct
167 u8 backup:1, /* indicates backup slave. Value corresponds with argument
169 inactive:1, /* indicates inactive slave */ argument
170 rx_disabled:1, /* indicates whether slave's Rx is disabled */ argument
180 struct ad_slave_info *ad_info; argument
181 struct tlb_slave_info tlb_info; argument
187 struct rtnl_link_stats64 slave_stats; argument
190 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 Dbond_sysfs_slave.c21 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 Dbond_main.c377 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
412 struct slave *slave; in bond_vlan_rx_kill_vid() local
438 struct slave *slave; in bond_ipsec_dev() local
472 struct slave *slave; in bond_ipsec_add_sa() local
524 struct slave *slave; in bond_ipsec_add_sa_all() local
601 struct slave *slave; in bond_ipsec_del_sa_all() local
759 struct slave *slave; in bond_set_carrier() local
791 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex()
852 struct slave *slave; in bond_set_promiscuity() local
875 struct slave *slave; in bond_set_allmulti() local
[all …]
H A Dbond_3ad.c196 struct slave *slave = port->slave; in __enable_collecting_port() local
221 struct slave *slave = port->slave; in __enable_port() local
310 struct slave *slave = port->slave; in __get_link_speed() local
421 struct slave *slave = port->slave; in __get_duplex() local
860 struct slave *slave; in __get_active_agg() local
929 struct slave *slave = port->slave; in ad_lacpdu_send() local
973 struct slave *slave = port->slave; in ad_marker_send() local
1135 struct slave *slave = port->slave; in ad_mux_machine() local
1554 struct slave *slave; in ad_port_selection_logic() local
1849 struct slave *slave; in ad_agg_selection_logic() local
[all …]
H A Dbond_alb.c87 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 …]
/linux/drivers/soundwire/ !
H A Dbus.c172 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 Ddebugfs.c37 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf()
53 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show() local
152 struct sdw_slave *slave = data; in set_command() local
170 struct sdw_slave *slave = data; in set_command_type() local
189 struct sdw_slave *slave = data; in set_start_address() local
205 struct sdw_slave *slave = data; in set_num_bytes() local
222 static int do_bpt_sequence(struct sdw_slave *slave, bool write, u8 *buffer) in do_bpt_sequence()
249 struct sdw_slave *slave = data; in cmd_go() local
339 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init()
367 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
H A Dbus_type.c22 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
77 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_probe() local
163 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_remove() local
180 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_shutdown() local
H A Dsysfs_slave.c98 struct sdw_slave *slave = dev_to_sdw_dev(dev); in modalias_show() local
160 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show() local
186 struct sdw_slave *slave = dev_to_sdw_dev(kobj_to_dev(kobj)); in dp0_attr_visible() local
195 struct sdw_slave *slave = dev_to_sdw_dev(kobj_to_dev(kobj)); in dp0_group_visible() local
231 struct sdw_slave *slave = dev_to_sdw_dev(dev); in status_show() local
240 struct sdw_slave *slave = dev_to_sdw_dev(dev); in device_number_show() local
/linux/include/linux/ !
H A Dif_eql.h27 typedef struct slave { struct
35 } slave_t; argument
/linux/drivers/net/ethernet/mellanox/mlx4/ !
H A 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()
685 static void update_pkey_index(struct mlx4_dev *dev, int slave, in update_pkey_index()
701 u8 slave) in update_gid()
745 u8 slave, u32 qpn) in update_vport_qp_param()
885 static int _get_res(struct mlx4_dev *dev, int slave, u64 res_id, in _get_res()
925 #define get_res(dev, slave, res_id, type, res) \ argument
930 u64 res_id, int *slave) in mlx4_get_slave_from_resource_id()
951 static void put_res(struct mlx4_dev *dev, int slave, u64 res_id, in put_res()
968 static int handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, in handle_existing_counter()
[all …]
/linux/sound/soc/sdca/ !
H A Dsdca_device.c18 void sdca_lookup_interface_revision(struct sdw_slave *slave) in sdca_lookup_interface_revision()
36 void sdca_lookup_swft(struct sdw_slave *slave) in sdca_lookup_swft()
50 static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb()
79 static bool sdca_device_quirk_skip_func_type_patching(struct sdw_slave *slave) in sdca_device_quirk_skip_func_type_patching()
96 bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk) in sdca_device_quirk_match()
/linux/include/sound/ !
H A Dsdca.h70 static inline void sdca_lookup_functions(struct sdw_slave *slave) {} in sdca_lookup_functions()
71 static inline void sdca_lookup_swft(struct sdw_slave *slave) {} in sdca_lookup_swft()
72 static inline void sdca_lookup_interface_revision(struct sdw_slave *slave) {} in sdca_lookup_interface_revision()
73 static inline bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk) in sdca_device_quirk_match()
78 static inline int sdca_dev_register_functions(struct sdw_slave *slave) in sdca_dev_register_functions()
83 static inline void sdca_dev_unregister_functions(struct sdw_slave *slave) {} in sdca_dev_unregister_functions()
/linux/sound/soc/codecs/ !
H A Dmax98373-sdw.c267 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()
466 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate()
486 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config()
728 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
789 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
807 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
829 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
842 static void max98373_sdw_remove(struct sdw_slave *slave) in max98373_sdw_remove()
H A Dsdw-mockup.c23 struct sdw_slave *slave; member
127 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status() argument
133 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop() argument
197 sdw_mockup_bus_config(struct sdw_slave * slave,struct sdw_bus_params * params) sdw_mockup_bus_config() argument
203 sdw_mockup_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) sdw_mockup_interrupt_callback() argument
216 sdw_mockup_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) sdw_mockup_sdw_probe() argument
240 sdw_mockup_sdw_remove(struct sdw_slave * slave) sdw_mockup_sdw_remove() argument
[all...]
H A Drt722-sdca-sdw.c208 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()
431 static void 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 Drt711-sdca-sdw.c141 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()
245 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback()
351 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe()
368 static void rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove()
408 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend() local
439 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume() local
H A Drt721-sdca-sdw.c191 static int rt721_sdca_update_status(struct sdw_slave *slave, in rt721_sdca_update_status()
225 static int rt721_sdca_read_prop(struct sdw_slave *slave) in rt721_sdca_read_prop()
296 static int rt721_sdca_interrupt_callback(struct sdw_slave *slave, in rt721_sdca_interrupt_callback()
401 static int rt721_sdca_sdw_probe(struct sdw_slave *slave, in rt721_sdca_sdw_probe()
418 static void rt721_sdca_sdw_remove(struct sdw_slave *slave) in rt721_sdca_sdw_remove()
459 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt721_sdca_dev_system_suspend() local
490 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt721_sdca_dev_resume() local
H A Drt712-sdca-sdw.c156 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 void rt712_sdca_sdw_remove(struct sdw_slave *slave) in rt712_sdca_sdw_remove()
420 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_system_suspend() local
451 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_resume() local
H A Drt5682-sdw.c298 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()
511 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status()
530 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop()
640 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config()
655 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback()
680 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe()
693 static void rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
728 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() local
755 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume() local
H A Drt711-sdw.c319 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 void rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove()
502 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_system_suspend() local
531 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume() local
H A Drt700-sdw.c313 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 void rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove()
493 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_system_suspend() local
523 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume() local
H A Drt715-sdca-sdw.c119 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 void rt715_sdca_sdw_remove(struct sdw_slave *slave) in rt715_sdca_sdw_remove()
225 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume() local
/linux/drivers/fsi/ !
H A Dfsi-core.c210 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device()
226 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr()
250 static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave) in fsi_slave_report_and_clear_errors()
310 static int fsi_slave_set_smode(struct fsi_slave *slave) in fsi_slave_set_smode()
326 static int fsi_slave_handle_error(struct fsi_slave *slave, bool write, in fsi_slave_handle_error()
386 int fsi_slave_read(struct fsi_slave *slave, uint32_t addr, in fsi_slave_read()
411 int fsi_slave_write(struct fsi_slave *slave, uint32_t addr, in fsi_slave_write()
436 int fsi_slave_claim_range(struct fsi_slave *slave, in fsi_slave_claim_range()
450 void fsi_slave_release_range(struct fsi_slave *slave, in fsi_slave_release_range()
497 static int fsi_slave_scan(struct fsi_slave *slave) in fsi_slave_scan()
[all …]
/linux/drivers/net/ !
H A 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()
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

123456789