Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-5.10/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.c332 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
367 struct slave *slave; in bond_vlan_rx_kill_vid() local
390 struct slave *slave; in bond_ipsec_add_sa() local
437 struct slave *slave; in bond_ipsec_add_sa_all() local
478 struct slave *slave; in bond_ipsec_del_sa() local
520 struct slave *slave; in bond_ipsec_del_sa_all() local
608 struct slave *slave; in bond_set_carrier() local
640 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex()
765 struct slave *slave; in bond_set_promiscuity() local
788 struct slave *slave; in bond_set_allmulti() local
[all …]
Dbond_3ad.c184 struct slave *slave = port->slave; in __enable_port() local
251 struct slave *slave = port->slave; in __get_link_speed() local
342 struct slave *slave = port->slave; in __get_duplex() local
753 struct slave *slave; in __get_active_agg() local
822 struct slave *slave = port->slave; in ad_lacpdu_send() local
866 struct slave *slave = port->slave; in ad_marker_send() local
1380 struct slave *slave; in ad_port_selection_logic() local
1659 struct slave *slave; in ad_agg_selection_logic() local
2023 void bond_3ad_bind_slave(struct slave *slave) in bond_3ad_bind_slave()
2074 void bond_3ad_unbind_slave(struct slave *slave) in bond_3ad_unbind_slave()
[all …]
/kernel/linux/linux-4.19/drivers/net/bonding/
Dbond_sysfs_slave.c31 static ssize_t state_show(struct slave *slave, char *buf) in state_show()
44 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show()
50 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show()
56 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show()
64 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show()
70 static ssize_t ad_aggregator_id_show(struct slave *slave, char *buf) in ad_aggregator_id_show()
85 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show()
100 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show()
134 struct slave *slave = to_slave(kobj); in slave_show() local
149 int bond_sysfs_slave_add(struct slave *slave) in bond_sysfs_slave_add()
[all …]
Dbond_main.c284 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
318 struct slave *slave; in bond_vlan_rx_kill_vid() local
340 struct slave *slave; in bond_set_carrier() local
372 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex()
497 struct slave *slave; in bond_set_promiscuity() local
520 struct slave *slave; in bond_set_allmulti() local
625 struct slave *slave; in bond_get_old_active() local
756 struct slave *slave, *bestslave = NULL; in bond_find_best_slave() local
779 struct slave *slave; in bond_should_notify_peers() local
939 static inline int slave_enable_netpoll(struct slave *slave) in slave_enable_netpoll()
[all …]
Dbond_3ad.c210 struct slave *slave = port->slave; in __enable_port() local
277 struct slave *slave = port->slave; in __get_link_speed() local
368 struct slave *slave = port->slave; in __get_duplex() local
777 struct slave *slave; in __get_active_agg() local
845 struct slave *slave = port->slave; in ad_lacpdu_send() local
886 struct slave *slave = port->slave; in ad_marker_send() local
1383 struct slave *slave; in ad_port_selection_logic() local
1660 struct slave *slave; in ad_agg_selection_logic() local
2012 void bond_3ad_bind_slave(struct slave *slave) in bond_3ad_bind_slave()
2063 void bond_3ad_unbind_slave(struct slave *slave) in bond_3ad_unbind_slave()
[all …]
/kernel/linux/linux-4.19/include/net/
Dbonding.h142 struct slave { struct
152 u8 backup:1, /* indicates backup slave. Value corresponds with argument
154 inactive:1, /* indicates inactive slave */ argument
163 struct ad_slave_info *ad_info; argument
164 struct tlb_slave_info tlb_info; argument
170 struct rtnl_link_stats64 slave_stats; argument
176 struct slave *arr[0]; argument
258 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
319 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
324 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
[all …]
/kernel/linux/linux-5.10/include/net/
Dbonding.h155 struct slave { struct
165 u8 backup:1, /* indicates backup slave. Value corresponds with argument
167 inactive:1, /* indicates inactive slave */ argument
176 struct ad_slave_info *ad_info; argument
177 struct tlb_slave_info tlb_info; argument
183 struct rtnl_link_stats64 slave_stats; argument
186 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
286 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
347 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
352 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
[all …]
/kernel/linux/linux-4.19/drivers/soundwire/
Dbus.c103 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
260 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
315 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
343 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite()
369 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
388 int sdw_write(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write()
402 struct sdw_slave *slave = NULL; in sdw_get_slave() local
412 static int sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) in sdw_compare_devid()
425 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num()
445 static int sdw_assign_device_num(struct sdw_slave *slave) in sdw_assign_device_num()
[all …]
Dbus_type.c19 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
35 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_match() local
41 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias()
51 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_uevent() local
71 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe() local
117 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local
131 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown() local
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.c150 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
324 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
381 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm()
395 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite_no_pm()
408 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm()
480 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
493 static int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm()
512 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
538 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite()
562 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
[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
147 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local
161 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
/kernel/linux/linux-5.10/include/linux/
Dif_eql.h26 typedef struct slave { struct
33 } slave_t; argument
/kernel/linux/linux-4.19/include/linux/
Dif_eql.h26 typedef struct slave { struct
33 } slave_t; argument
/kernel/linux/linux-4.19/sound/core/
Dvmaster.c58 struct snd_kcontrol slave; /* the copy of original control entry */ member
61 static int slave_update(struct link_slave *slave) in slave_update()
81 static int slave_init(struct link_slave *slave) in slave_init()
121 struct link_slave *slave; in master_init() local
141 static int slave_get_val(struct link_slave *slave, in slave_get_val()
154 static int slave_put_val(struct link_slave *slave, in slave_put_val()
191 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_info() local
198 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_get() local
205 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_put() local
229 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_tlv_cmd() local
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmax98373-sdw.c257 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local
287 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop()
347 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()
757 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
788 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
806 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
828 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
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()
402 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config()
417 static int rt711_interrupt_callback(struct sdw_slave *slave, in rt711_interrupt_callback()
440 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe()
460 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove()
499 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume() local
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()
440 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe()
460 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_resume() local
/kernel/linux/linux-4.19/drivers/fsi/
Dfsi-core.c171 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device()
187 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr()
211 static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave) in fsi_slave_report_and_clear_errors()
271 static int fsi_slave_set_smode(struct fsi_slave *slave) in fsi_slave_set_smode()
287 static int fsi_slave_handle_error(struct fsi_slave *slave, bool write, in fsi_slave_handle_error()
347 int fsi_slave_read(struct fsi_slave *slave, uint32_t addr, in fsi_slave_read()
372 int fsi_slave_write(struct fsi_slave *slave, uint32_t addr, in fsi_slave_write()
397 extern int fsi_slave_claim_range(struct fsi_slave *slave, in fsi_slave_claim_range()
411 extern void fsi_slave_release_range(struct fsi_slave *slave, in fsi_slave_release_range()
468 static int fsi_slave_scan(struct fsi_slave *slave) in fsi_slave_scan()
[all …]
/kernel/linux/linux-4.19/drivers/net/
Deql.c150 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local
221 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave()
307 slave_t *slave = list_entry(this, slave_t, list); in __eql_schedule_slaves() local
334 slave_t *slave; in eql_slave_xmit() local
368 slave_t *slave = list_entry(this, slave_t, list); in __eql_find_slave_dev() local
387 static int __eql_insert_slave(slave_queue_t *queue, slave_t *slave) in __eql_insert_slave()
466 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_emancipate() local
480 slave_t *slave; in eql_g_slave_cfg() local
512 slave_t *slave; in eql_s_slave_cfg() local
/kernel/linux/linux-5.10/drivers/net/
Deql.c150 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local
221 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave()
307 slave_t *slave = list_entry(this, slave_t, list); in __eql_schedule_slaves() local
334 slave_t *slave; in eql_slave_xmit() local
368 slave_t *slave = list_entry(this, slave_t, list); in __eql_find_slave_dev() local
387 static int __eql_insert_slave(slave_queue_t *queue, slave_t *slave) in __eql_insert_slave()
466 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); in eql_emancipate() local
480 slave_t *slave; in eql_g_slave_cfg() local
512 slave_t *slave; in eql_s_slave_cfg() local
/kernel/linux/linux-5.10/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 …]

12345678910>>...14