Home
last modified time | relevance | path

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

1234567

/linux/include/net/
H A Dbonding.h160 struct slave { struct
171 u8 backup:1, /* indicates backup slave. Value corresponds with argument
173 inactive:1, /* indicates inactive slave */ argument
174 rx_disabled:1, /* indicates whether slave's Rx is disabled */ argument
184 struct ad_slave_info *ad_info; argument
185 struct tlb_slave_info tlb_info; argument
191 struct rtnl_link_stats64 slave_stats; argument
194 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
296 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
357 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.c375 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
410 struct slave *slave; in bond_vlan_rx_kill_vid() local
436 struct slave *slave; in bond_ipsec_dev() local
470 struct slave *slave; in bond_ipsec_add_sa() local
522 struct slave *slave; in bond_ipsec_add_sa_all() local
599 struct slave *slave; in bond_ipsec_del_sa_all() local
757 struct slave *slave; in bond_set_carrier() local
789 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex()
918 struct slave *slave; in bond_set_promiscuity() local
941 struct slave *slave; in bond_set_allmulti() local
[all …]
H A Dbond_3ad.c194 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
1107 struct slave *slave = port->slave; in ad_mux_machine() local
1526 struct slave *slave; in ad_port_selection_logic() local
1806 struct slave *slave; in ad_agg_selection_logic() local
[all …]
H A Dbond_options.c1146 struct slave *slave; in _bond_options_arp_ip_target_set() local
1194 struct slave *slave; in bond_option_arp_ip_target_rem() local
1264 static bool slave_can_set_ns_maddr(const struct bonding *bond, struct slave *slave) in slave_can_set_ns_maddr()
1288 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) in slave_set_ns_maddrs()
1312 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_add()
1319 void bond_slave_ns_maddrs_del(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_del()
1343 static void slave_set_ns_maddr(struct bonding *bond, struct slave *slave, in slave_set_ns_maddr()
1371 struct slave *slave; in _bond_options_ns_ip6_target_set() local
1430 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) {} in slave_set_ns_maddrs()
1432 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) {} in bond_slave_ns_maddrs_add()
[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
150 struct sdw_slave *slave = data; in set_command() local
168 struct sdw_slave *slave = data; in set_command_type() local
187 struct sdw_slave *slave = data; in set_start_address() local
203 struct sdw_slave *slave = data; in set_num_bytes() local
220 static int do_bpt_sequence(struct sdw_slave *slave, bool write, u8 *buffer) in do_bpt_sequence()
239 struct sdw_slave *slave = data; in cmd_go() local
329 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init()
357 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
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 Dintel_auxdevice.c72 static bool is_wake_capable(struct sdw_slave *slave) in is_wake_capable()
83 static int generic_bpt_send_async(struct sdw_bus *bus, struct sdw_slave *slave, in generic_bpt_send_async()
94 static int generic_bpt_wait(struct sdw_bus *bus, struct sdw_slave *slave, struct sdw_bpt_msg *msg) in generic_bpt_wait()
121 struct sdw_slave *slave, in generic_new_peripheral_assigned()
258 static int intel_get_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) in intel_get_device_num_ida()
274 static void intel_put_device_num_ida(struct sdw_bus *bus, struct sdw_slave *slave) in intel_put_device_num_ida()
547 struct sdw_slave *slave = dev_to_sdw_dev(dev); in intel_resume_child_device() local
H A Dmipi_disco.c161 static int sdw_slave_read_dp0(struct sdw_slave *slave, in sdw_slave_read_dp0()
219 static int sdw_slave_read_dpn(struct sdw_slave *slave, in sdw_slave_read_dpn()
376 int sdw_slave_read_lane_mapping(struct sdw_slave *slave) in sdw_slave_read_lane_mapping()
411 int sdw_slave_read_prop(struct sdw_slave *slave) in sdw_slave_read_prop()
/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()
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 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()
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/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 int 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()
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 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()
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 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 int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
730 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() local
757 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume() local
H A Drt1308-sdw.c123 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()
301 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status()
320 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config()
335 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback()
680 struct sdw_slave *slave) in rt1308_sdw_init()
729 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe()
742 static int rt1308_sdw_remove(struct sdw_slave *slave) in rt1308_sdw_remove()
771 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1308_dev_resume() local
H A Drt1318-sdw.c345 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()
443 static int rt1318_update_status(struct sdw_slave *slave, in rt1318_update_status()
734 struct sdw_slave *slave) in rt1318_sdw_init()
783 static int rt1318_sdw_probe(struct sdw_slave *slave, in rt1318_sdw_probe()
796 static int rt1318_sdw_remove(struct sdw_slave *slave) in rt1318_sdw_remove()
824 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1318_dev_resume() local
H A Dmax98363.c91 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()
298 static int max98363_update_status(struct sdw_slave *slave, in max98363_update_status()
386 static int max98363_init(struct sdw_slave *slave, struct regmap *regmap) in max98363_init()
432 static int max98363_sdw_probe(struct sdw_slave *slave, in max98363_sdw_probe()
H A Drt1316-sdw.c196 static int rt1316_read_prop(struct sdw_slave *slave) in rt1316_read_prop()
268 static int rt1316_io_init(struct device *dev, struct sdw_slave *slave) in rt1316_io_init()
311 static int rt1316_update_status(struct sdw_slave *slave, in rt1316_update_status()
657 struct sdw_slave *slave) in rt1316_sdw_init()
706 static int rt1316_sdw_probe(struct sdw_slave *slave, in rt1316_sdw_probe()
719 static int rt1316_sdw_remove(struct sdw_slave *slave) in rt1316_sdw_remove()
748 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1316_dev_resume() local
H A Drt1017-sdca-sdw.c257 static int rt1017_sdca_read_prop(struct sdw_slave *slave) in rt1017_sdca_read_prop()
319 static int rt1017_sdca_io_init(struct device *dev, struct sdw_slave *slave) in rt1017_sdca_io_init()
371 static int rt1017_sdca_update_status(struct sdw_slave *slave, in rt1017_sdca_update_status()
703 struct sdw_slave *slave) in rt1017_sdca_init()
731 static int rt1017_sdca_sdw_probe(struct sdw_slave *slave, in rt1017_sdca_sdw_probe()
744 static int rt1017_sdca_sdw_remove(struct sdw_slave *slave) in rt1017_sdca_sdw_remove()
776 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1017_sdca_dev_resume() local
H A Drt1320-sdw.c492 static int rt1320_read_prop(struct sdw_slave *slave) in rt1320_read_prop()
591 struct sdw_slave *slave = rt1320->sdw_slave; in rt1320_load_mcu_patch() local
657 struct sdw_slave *slave = rt1320->sdw_slave; in rt1320_vc_preset() local
691 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/fsi/
H A Dfsi-core.c155 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 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

1234567