Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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()
130 struct slave *slave = to_slave(kobj); in slave_show() local
145 int bond_sysfs_slave_add(struct slave *slave) in bond_sysfs_slave_add()
[all …]
Dbond_main.c283 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
317 struct slave *slave; in bond_vlan_rx_kill_vid() local
339 struct slave *slave; in bond_set_carrier() local
371 static int bond_update_speed_duplex(struct slave *slave) in bond_update_speed_duplex()
496 struct slave *slave; in bond_set_promiscuity() local
519 struct slave *slave; in bond_set_allmulti() local
631 struct slave *slave; in bond_get_old_active() local
766 struct slave *slave, *bestslave = NULL; in bond_find_best_slave() local
789 struct slave *slave; in bond_should_notify_peers() local
952 static inline int slave_enable_netpoll(struct slave *slave) in slave_enable_netpoll()
[all …]
Dbond_alb.c92 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave()
98 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
120 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
165 static long long compute_gap(struct slave *slave) in compute_gap()
173 struct slave *slave, *least_loaded; in tlb_get_least_loaded_slave() local
277 struct slave *slave) in rlb_arp_recv()
313 struct slave *before = NULL, *rx_slave = NULL, *slave; in __rlb_next_rx_slave() local
384 static void rlb_clear_slave(struct bonding *bond, struct slave *slave) in rlb_clear_slave()
491 static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) in rlb_req_update_slave_clients()
905 static void alb_send_lp_vid(struct slave *slave, u8 mac_addr[], in alb_send_lp_vid()
[all …]
Dbond_3ad.c194 struct slave *slave = port->slave; in __enable_port() local
261 struct slave *slave = port->slave; in __get_link_speed() local
352 struct slave *slave = port->slave; in __get_duplex() local
763 struct slave *slave; in __get_active_agg() local
832 struct slave *slave = port->slave; in ad_lacpdu_send() local
876 struct slave *slave = port->slave; in ad_marker_send() local
1390 struct slave *slave; in ad_port_selection_logic() local
1669 struct slave *slave; in ad_agg_selection_logic() local
2032 void bond_3ad_bind_slave(struct slave *slave) in bond_3ad_bind_slave()
2083 void bond_3ad_unbind_slave(struct slave *slave) in bond_3ad_unbind_slave()
[all …]
Dbond_procfs.c15 struct slave *slave; in bond_info_seq_start() local
34 struct slave *slave; in bond_info_seq_next() local
170 const struct slave *slave) in bond_info_show_slave()
/Linux-v5.4/include/net/
Dbonding.h152 struct slave { struct
162 u8 backup:1, /* indicates backup slave. Value corresponds with argument
164 inactive:1, /* indicates inactive slave */ argument
173 struct ad_slave_info *ad_info; argument
174 struct tlb_slave_info tlb_info; argument
180 struct rtnl_link_stats64 slave_stats; argument
186 struct slave *arr[0]; argument
268 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
329 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
334 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
[all …]
/Linux-v5.4/drivers/soundwire/
Dbus.c113 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
274 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
327 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
355 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite()
381 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
400 int sdw_write(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write()
413 struct sdw_slave *slave = NULL; in sdw_get_slave() local
423 static int sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) in sdw_compare_devid()
435 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num()
455 static int sdw_assign_device_num(struct sdw_slave *slave) in sdw_assign_device_num()
[all …]
Dbus_type.c20 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
36 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_match() local
42 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias()
52 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_uevent() local
72 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe() local
118 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() local
132 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown() 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()
286 int sdw_slave_read_prop(struct sdw_slave *slave) in sdw_slave_read_prop()
Dbus.h32 static inline void sdw_slave_debugfs_init(struct sdw_slave *slave) {} in sdw_slave_debugfs_init()
33 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {} in sdw_slave_debugfs_exit()
107 struct sdw_slave *slave; member
155 sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update()
Dstream.c59 struct sdw_slave *slave, in _sdw_program_slave_port_params()
576 struct sdw_slave *slave; in sdw_notify_config() local
954 *sdw_alloc_slave_rt(struct sdw_slave *slave, in sdw_alloc_slave_rt()
984 struct sdw_slave *slave, in sdw_slave_port_release()
1013 static void sdw_release_slave_stream(struct sdw_slave *slave, in sdw_release_slave_stream()
1100 int sdw_stream_remove_slave(struct sdw_slave *slave, in sdw_stream_remove_slave()
1214 static int sdw_slave_port_config(struct sdw_slave *slave, in sdw_slave_port_config()
1323 int sdw_stream_add_slave(struct sdw_slave *slave, in sdw_stream_add_slave()
1395 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave, in sdw_get_slave_dpn_prop()
/Linux-v5.4/include/linux/
Dif_eql.h26 typedef struct slave { struct
33 } slave_t; argument
/Linux-v5.4/sound/core/
Dvmaster.c54 struct snd_kcontrol slave; /* the copy of original control entry */ member
57 static int slave_update(struct link_slave *slave) in slave_update()
77 static int slave_init(struct link_slave *slave) in slave_init()
117 struct link_slave *slave; in master_init() local
137 static int slave_get_val(struct link_slave *slave, in slave_get_val()
150 static int slave_put_val(struct link_slave *slave, in slave_put_val()
187 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_info() local
194 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_get() local
201 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_put() local
225 struct link_slave *slave = snd_kcontrol_chip(kcontrol); in slave_tlv_cmd() local
[all …]
/Linux-v5.4/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, j, slave; in mlx4_master_comm_channel() local
[all …]
Deq.c147 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-v5.4/drivers/fsi/
Dfsi-core.c163 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device()
179 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr()
203 static int fsi_slave_report_and_clear_errors(struct fsi_slave *slave) in fsi_slave_report_and_clear_errors()
263 static int fsi_slave_set_smode(struct fsi_slave *slave) in fsi_slave_set_smode()
279 static int fsi_slave_handle_error(struct fsi_slave *slave, bool write, in fsi_slave_handle_error()
339 int fsi_slave_read(struct fsi_slave *slave, uint32_t addr, in fsi_slave_read()
364 int fsi_slave_write(struct fsi_slave *slave, uint32_t addr, in fsi_slave_write()
389 extern int fsi_slave_claim_range(struct fsi_slave *slave, in fsi_slave_claim_range()
403 extern void fsi_slave_release_range(struct fsi_slave *slave, in fsi_slave_release_range()
460 static int fsi_slave_scan(struct fsi_slave *slave) in fsi_slave_scan()
[all …]
/Linux-v5.4/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
/Linux-v5.4/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()
Dcpsw-phy-sel.c41 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352()
101 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_dra7xx()
161 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) in cpsw_phy_sel()
Dcpsw.c1017 static void cpsw_set_slave_mac(struct cpsw_slave *slave, in cpsw_set_slave_mac()
1027 struct cpsw_slave *slave; in cpsw_shp_is_off() local
1043 struct cpsw_slave *slave; in cpsw_fifo_shp_on() local
1056 static void _cpsw_adjust_link(struct cpsw_slave *slave, in _cpsw_adjust_link()
1181 struct cpsw_priv *priv, struct cpsw_slave *slave, in cpsw_add_dual_emac_def_ale_entries()
1202 static void cpsw_slave_open(struct cpsw_slave *slave, struct cpsw_priv *priv) in cpsw_slave_open()
1396 static void cpsw_slave_stop(struct cpsw_slave *slave, struct cpsw_common *cpsw) in cpsw_slave_stop()
1425 struct cpsw_slave *slave; in cpsw_set_fifo_bw() local
1484 struct cpsw_slave *slave; in cpsw_set_fifo_rlimit() local
1536 struct cpsw_slave *slave; in cpsw_set_cbs() local
[all …]
/Linux-v5.4/arch/um/os-Linux/
Dsigio.c398 int slave; member
411 static int async_pty(int master, int slave) in async_pty()
433 int master, slave, err; in check_one_sigio() local
491 static void tty_output(int master, int slave) in tty_output()
517 static void tty_close(int master, int slave) in tty_close()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmad.c336 int i, ix, slave, err; in __propagate_pkey_ev() local
416 static int mlx4_ib_demux_sa_handler(struct ib_device *ibdev, int port, int slave, in mlx4_ib_demux_sa_handler()
445 static int find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, in find_slave_port_pkey_ix()
503 int mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, in mlx4_ib_send_to_slave()
670 int slave = -1; in mlx4_ib_demux_mad() local
1337 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_multiplex_sa_handler()
1352 static int is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) in is_proxy_qp0()
1360 int mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, in mlx4_ib_send_to_wire()
1464 static int get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) in get_slave_base_gid_ix()
1471 static void fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, in fill_in_real_sgid_index()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-at91-slave.c65 static int at91_reg_slave(struct i2c_client *slave) in at91_reg_slave()
89 static int at91_unreg_slave(struct i2c_client *slave) in at91_unreg_slave()

1234567