Home
last modified time | relevance | path

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

123456

/Linux-v4.19/include/net/
Dbonding.h142 struct slave { struct
153 u8 backup:1, /* indicates backup slave. Value corresponds with argument
155 inactive:1, /* indicates inactive slave */ argument
164 struct ad_slave_info *ad_info; argument
165 struct tlb_slave_info tlb_info; argument
171 struct rtnl_link_stats64 slave_stats; argument
177 struct slave *arr[0]; argument
259 static inline struct bonding *bond_get_bond_by_slave(struct slave *slave) in bond_get_bond_by_slave()
320 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu() local
325 static inline bool bond_slave_is_up(struct slave *slave) in bond_slave_is_up()
[all …]
/Linux-v4.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()
62 static ssize_t queue_id_show(struct slave *slave, char *buf) in queue_id_show()
68 static ssize_t ad_aggregator_id_show(struct slave *slave, char *buf) in ad_aggregator_id_show()
83 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show()
98 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show()
132 struct slave *slave = to_slave(kobj); in slave_show() local
147 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 …]
Dbond_alb.c108 static inline void tlb_init_slave(struct slave *slave) in tlb_init_slave()
114 static void __tlb_clear_slave(struct bonding *bond, struct slave *slave, in __tlb_clear_slave()
136 static void tlb_clear_slave(struct bonding *bond, struct slave *slave, in tlb_clear_slave()
181 static long long compute_gap(struct slave *slave) in compute_gap()
189 struct slave *slave, *least_loaded; in tlb_get_least_loaded_slave() local
293 struct slave *slave) in rlb_arp_recv()
329 struct slave *before = NULL, *rx_slave = NULL, *slave; in __rlb_next_rx_slave() local
400 static void rlb_clear_slave(struct bonding *bond, struct slave *slave) in rlb_clear_slave()
506 static void rlb_req_update_slave_clients(struct bonding *bond, struct slave *slave) in rlb_req_update_slave_clients()
918 static void alb_send_lp_vid(struct slave *slave, u8 mac_addr[], in alb_send_lp_vid()
[all …]
Dbond_procfs.c15 struct slave *slave; in bond_info_seq_start() local
34 struct slave *slave; in bond_info_seq_next() local
168 const struct slave *slave) in bond_info_show_slave()
/Linux-v4.19/drivers/soundwire/
Dbus.c103 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
259 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
314 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
342 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite()
368 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
387 int sdw_write(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write()
401 struct sdw_slave *slave = NULL; in sdw_get_slave() local
411 static int sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) in sdw_compare_devid()
424 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num()
444 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
Dmipi_disco.c122 static int sdw_slave_read_dp0(struct sdw_slave *slave, in sdw_slave_read_dp0()
161 static int sdw_slave_read_dpn(struct sdw_slave *slave, in sdw_slave_read_dpn()
288 int sdw_slave_read_prop(struct sdw_slave *slave) in sdw_slave_read_prop()
Dslave.c11 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_release() local
19 struct sdw_slave *slave; in sdw_slave_add() local
Dstream.c56 struct sdw_slave *slave, in _sdw_program_slave_port_params()
566 struct sdw_slave *slave; in sdw_notify_config() local
811 *sdw_alloc_slave_rt(struct sdw_slave *slave, in sdw_alloc_slave_rt()
842 struct sdw_slave *slave, in sdw_slave_port_release()
869 static void sdw_release_slave_stream(struct sdw_slave *slave, in sdw_release_slave_stream()
943 int sdw_stream_remove_slave(struct sdw_slave *slave, in sdw_stream_remove_slave()
1055 static int sdw_slave_port_config(struct sdw_slave *slave, in sdw_slave_port_config()
1150 int sdw_stream_add_slave(struct sdw_slave *slave, in sdw_stream_add_slave()
1222 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave, in sdw_get_slave_dpn_prop()
/Linux-v4.19/include/linux/
Dif_eql.h26 typedef struct slave { struct
33 } slave_t; argument
/Linux-v4.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 …]
/Linux-v4.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()
681 static void update_pkey_index(struct mlx4_dev *dev, int slave, in update_pkey_index()
697 u8 slave) in update_gid()
741 u8 slave, u32 qpn) in update_vport_qp_param()
881 static int _get_res(struct mlx4_dev *dev, int slave, u64 res_id, in _get_res()
921 #define get_res(dev, slave, res_id, type, res) \ argument
926 u64 res_id, int *slave) in mlx4_get_slave_from_resource_id()
947 static void put_res(struct mlx4_dev *dev, int slave, u64 res_id, in put_res()
964 static int handle_existing_counter(struct mlx4_dev *dev, u8 slave, int port, in handle_existing_counter()
[all …]
Dcmd.c820 int slave, u64 slave_addr, in mlx4_ACCESS_MEM()
898 static int mlx4_MAD_IFC_wrapper(struct mlx4_dev *dev, int slave, in mlx4_MAD_IFC_wrapper()
1032 static int mlx4_CMD_EPERM_wrapper(struct mlx4_dev *dev, int slave, in mlx4_CMD_EPERM_wrapper()
1041 int mlx4_DMA_wrapper(struct mlx4_dev *dev, int slave, in mlx4_DMA_wrapper()
1668 static int mlx4_master_process_vhcr(struct mlx4_dev *dev, int slave, in mlx4_master_process_vhcr()
1849 int slave, int port) in mlx4_master_immediate_activate_vlan_qos()
2002 static int mlx4_master_activate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_activate_admin_state()
2071 static void mlx4_master_deactivate_admin_state(struct mlx4_priv *priv, int slave) in mlx4_master_deactivate_admin_state()
2102 static void mlx4_master_do_cmd(struct mlx4_dev *dev, int slave, u8 cmd, in mlx4_master_do_cmd()
2255 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-v4.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 …]
/Linux-v4.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
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw-common.c26 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid()
52 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid()
79 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) in ti_cm_get_macid()
Dcpsw-phy-sel.c48 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_am3352()
108 phy_interface_t phy_mode, int slave) in cpsw_gmii_sel_dra7xx()
168 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) in cpsw_phy_sel()
/Linux-v4.19/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-v4.19/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
1335 int slave, struct ib_sa_mad *sa_mad) in mlx4_ib_multiplex_sa_handler()
1350 static int is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) in is_proxy_qp0()
1358 int mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, in mlx4_ib_send_to_wire()
1455 static int get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) in get_slave_base_gid_ix()
1462 static void fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, in fill_in_real_sgid_index()
[all …]
/Linux-v4.19/drivers/base/regmap/
Dregmap-sdw.c13 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_write() local
21 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_read() local
/Linux-v4.19/drivers/i2c/busses/
Di2c-designware-slave.c60 static int i2c_dw_reg_slave(struct i2c_client *slave) in i2c_dw_reg_slave()
91 static int i2c_dw_unreg_slave(struct i2c_client *slave) in i2c_dw_unreg_slave()
/Linux-v4.19/drivers/parport/
Dshare.c545 struct parport *slave = port->slaves[i-1]; in parport_announce_port() local
554 struct parport *slave = port->slaves[i-1]; in parport_announce_port() local
594 struct parport *slave = port->slaves[i-1]; in parport_remove_port() local
606 struct parport *slave = port->slaves[i-1]; in parport_remove_port() local
617 struct parport *slave = port->slaves[i-1]; in parport_remove_port() local

123456