Home
last modified time | relevance | path

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

1234567

/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()
80 static ssize_t ad_actor_oper_port_state_show(struct slave *slave, char *buf) in ad_actor_oper_port_state_show()
95 static ssize_t ad_partner_oper_port_state_show(struct slave *slave, char *buf) in ad_partner_oper_port_state_show()
128 struct slave *slave = to_slave(kobj); in slave_show() local
137 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
1137 struct slave *slave = port->slave; in ad_mux_machine() local
1556 struct slave *slave; in ad_port_selection_logic() local
1851 struct slave *slave; in ad_agg_selection_logic() local
[all …]
H A Dbond_options.c1152 struct slave *slave; in _bond_options_arp_ip_target_set() local
1200 struct slave *slave; in bond_option_arp_ip_target_rem() local
1270 static bool slave_can_set_ns_maddr(const struct bonding *bond, struct slave *slave) in slave_can_set_ns_maddr()
1294 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) in slave_set_ns_maddrs()
1318 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_add()
1325 void bond_slave_ns_maddrs_del(struct bonding *bond, struct slave *slave) in bond_slave_ns_maddrs_del()
1349 static void slave_set_ns_maddr(struct bonding *bond, struct slave *slave, in slave_set_ns_maddr()
1377 struct slave *slave; in _bond_options_ns_ip6_target_set() local
1436 static void slave_set_ns_maddrs(struct bonding *bond, struct slave *slave, bool add) {} in slave_set_ns_maddrs()
1438 void bond_slave_ns_maddrs_add(struct bonding *bond, struct slave *slave) {} in bond_slave_ns_maddrs_add()
[all …]
/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 …]
H A 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/drivers/soundwire/
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 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/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() argument
359 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init() argument
466 max98373_clock_calculate(struct sdw_slave * slave,unsigned int clk_freq) max98373_clock_calculate() argument
486 max98373_clock_config(struct sdw_slave * slave,struct sdw_bus_params * params) max98373_clock_config() argument
728 max98373_init(struct sdw_slave * slave,struct regmap * regmap) max98373_init() argument
789 max98373_update_status(struct sdw_slave * slave,enum sdw_slave_status status) max98373_update_status() argument
807 max98373_bus_config(struct sdw_slave * slave,struct sdw_bus_params * params) max98373_bus_config() argument
829 max98373_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) max98373_sdw_probe() argument
842 max98373_sdw_remove(struct sdw_slave * slave) max98373_sdw_remove() argument
[all...]
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() argument
242 static int rt722_sdca_read_prop(struct sdw_slave *slave) in rt722_sdca_read_prop() argument
314 rt722_sdca_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt722_sdca_interrupt_callback() argument
416 rt722_sdca_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt722_sdca_sdw_probe() argument
429 rt722_sdca_sdw_remove(struct sdw_slave * slave) rt722_sdca_sdw_remove() argument
471 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt722_sdca_dev_system_suspend() local
502 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt722_sdca_dev_resume() local
[all...]
H A Drt5682-sdw.c298 struct sdw_slave *slave) in rt5682_sdw_init() argument
368 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init() argument
511 rt5682_update_status(struct sdw_slave * slave,enum sdw_slave_status status) rt5682_update_status() argument
530 rt5682_read_prop(struct sdw_slave * slave) rt5682_read_prop() argument
640 rt5682_bus_config(struct sdw_slave * slave,struct sdw_bus_params * params) rt5682_bus_config() argument
655 rt5682_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt5682_interrupt_callback() argument
680 rt5682_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt5682_sdw_probe() argument
693 rt5682_sdw_remove(struct sdw_slave * slave) rt5682_sdw_remove() argument
730 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt5682_dev_system_suspend() local
757 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt5682_dev_resume() local
[all...]
H A Drt1308-sdw.c123 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop() argument
213 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init() argument
301 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status() argument
320 rt1308_bus_config(struct sdw_slave * slave,struct sdw_bus_params * params) rt1308_bus_config() argument
335 rt1308_interrupt_callback(struct sdw_slave * slave,struct sdw_slave_intr_status * status) rt1308_interrupt_callback() argument
680 rt1308_sdw_init(struct device * dev,struct regmap * regmap,struct sdw_slave * slave) rt1308_sdw_init() argument
729 rt1308_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt1308_sdw_probe() argument
742 rt1308_sdw_remove(struct sdw_slave * slave) rt1308_sdw_remove() argument
771 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt1308_dev_resume() local
[all...]
H A Drt1318-sdw.c345 static int rt1318_read_prop(struct sdw_slave *slave) in rt1318_read_prop() argument
404 static int rt1318_io_init(struct device *dev, struct sdw_slave *slave) in rt1318_io_init() argument
443 static int rt1318_update_status(struct sdw_slave *slave, in rt1318_update_status() argument
734 rt1318_sdw_init(struct device * dev,struct regmap * regmap,struct sdw_slave * slave) rt1318_sdw_init() argument
783 rt1318_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt1318_sdw_probe() argument
796 rt1318_sdw_remove(struct sdw_slave * slave) rt1318_sdw_remove() argument
824 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt1318_dev_resume() local
[all...]
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() argument
268 static int rt1316_io_init(struct device *dev, struct sdw_slave *slave) in rt1316_io_init() argument
311 rt1316_update_status(struct sdw_slave * slave,enum sdw_slave_status status) rt1316_update_status() argument
657 rt1316_sdw_init(struct device * dev,struct regmap * regmap,struct sdw_slave * slave) rt1316_sdw_init() argument
706 rt1316_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt1316_sdw_probe() argument
719 rt1316_sdw_remove(struct sdw_slave * slave) rt1316_sdw_remove() argument
748 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt1316_dev_resume() local
[all...]
H A Drt1017-sdca-sdw.c257 static int rt1017_sdca_read_prop(struct sdw_slave *slave) in rt1017_sdca_read_prop() argument
319 static int rt1017_sdca_io_init(struct device *dev, struct sdw_slave *slave) in rt1017_sdca_io_init() argument
371 rt1017_sdca_update_status(struct sdw_slave * slave,enum sdw_slave_status status) rt1017_sdca_update_status() argument
703 rt1017_sdca_init(struct device * dev,struct regmap * regmap,struct sdw_slave * slave) rt1017_sdca_init() argument
731 rt1017_sdca_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) rt1017_sdca_sdw_probe() argument
744 rt1017_sdca_sdw_remove(struct sdw_slave * slave) rt1017_sdca_sdw_remove() argument
776 struct sdw_slave *slave = dev_to_sdw_dev(dev); rt1017_sdca_dev_resume() local
[all...]
/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/sound/soc/sdca/
H A Dsdca_device.c17 sdca_lookup_interface_revision(struct sdw_slave * slave) sdca_lookup_interface_revision() argument
30 sdca_device_quirk_rt712_vb(struct sdw_slave * slave) sdca_device_quirk_rt712_vb() argument
59 sdca_device_quirk_skip_func_type_patching(struct sdw_slave * slave) sdca_device_quirk_skip_func_type_patching() argument
76 sdca_device_quirk_match(struct sdw_slave * slave,enum sdca_quirk quirk) sdca_device_quirk_match() argument
[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
/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c15 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid()
41 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid()
68 int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr) in ti_cm_get_macid()
/linux/drivers/base/regmap/
H A Dregmap-sdw-mbq.c48 static int regmap_sdw_mbq_poll_busy(struct sdw_slave *slave, unsigned int reg, in regmap_sdw_mbq_poll_busy()
75 static int regmap_sdw_mbq_write_impl(struct sdw_slave *slave, in regmap_sdw_mbq_write_impl()
97 struct sdw_slave *slave = ctx->sdw; in regmap_sdw_mbq_write() local
128 static int regmap_sdw_mbq_read_impl(struct sdw_slave *slave, in regmap_sdw_mbq_read_impl()
156 struct sdw_slave *slave = ctx->sdw; in regmap_sdw_mbq_read() local
/linux/arch/um/os-Linux/
H A Dsigio.c170 int slave; member
183 static int async_pty(int master, int slave) in async_pty()
205 int master, slave, err; in check_one_sigio() local
263 static void tty_output(int master, int slave) in tty_output()

1234567