Home
last modified time | relevance | path

Searched refs:slave (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/linux/include/net/
H A Dbonding.h156 struct slave { struct
190 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
192 return container_of(kobj, struct slave, kobj); in to_slave()
198 struct slave *arr[];
217 struct slave __rcu *curr_active_slave;
218 struct slave __rcu *current_arp_slave;
219 struct slave __rcu *primary_slave;
226 struct slave *);
269 ((struct slave *) rcu_dereference(dev->rx_handler_data))
272 ((struct slave *) rtnl_dereference(dev->rx_handler_data))
[all …]
H A Dbond_alb.h12 struct slave;
15 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info) argument
56 struct slave *tx_slave; /* A pointer to slave used for transmitting
111 struct slave *slave; /* the slave assigned to this client */ member
138 struct slave *rx_slave;/* last slave to xmit from */
155 int bond_alb_init_slave(struct bonding *bond, struct slave *slave);
156 void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave);
157 void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link);
158 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
161 struct slave *bond_xmit_alb_slave_get(struct bonding *bond,
[all …]
H A Dbond_3ad.h158 struct slave;
194 struct slave *slave; /* pointer to the bond slave that this aggregator belongs to */ member
245 struct slave *slave; /* pointer to the bond slave that this port belongs to */ member
264 #define SLAVE_AD_INFO(slave) ((slave)->ad_info) argument
299 void bond_3ad_bind_slave(struct slave *slave);
300 void bond_3ad_unbind_slave(struct slave *slave);
303 void bond_3ad_adapter_speed_duplex_changed(struct slave *slave);
304 void bond_3ad_handle_link_change(struct slave *slave, char link);
309 struct slave *slave);
/linux/drivers/net/bonding/
H A Dbond_sysfs_slave.c15 ssize_t (*show)(struct slave *, char *);
21 static ssize_t state_show(struct slave *slave, char *buf) in state_show() argument
23 switch (bond_slave_state(slave)) { in state_show()
34 static ssize_t mii_status_show(struct slave *slave, char *buf) in mii_status_show() argument
36 return sysfs_emit(buf, "%s\n", bond_slave_link_status(slave->link)); in mii_status_show()
40 static ssize_t link_failure_count_show(struct slave *slave, char *buf) in link_failure_count_show() argument
42 return sysfs_emit(buf, "%d\n", slave->link_failure_count); in link_failure_count_show()
46 static ssize_t perm_hwaddr_show(struct slave *slave, char *buf) in perm_hwaddr_show() argument
49 slave->dev->addr_len, in perm_hwaddr_show()
50 slave->perm_hwaddr); in perm_hwaddr_show()
[all …]
H A Dbond_main.c377 struct slave *slave, *rollback_slave; in bond_vlan_rx_add_vid() local
381 bond_for_each_slave(bond, slave, iter) { in bond_vlan_rx_add_vid()
382 res = vlan_vid_add(slave->dev, proto, vid); in bond_vlan_rx_add_vid()
392 if (rollback_slave == slave) in bond_vlan_rx_add_vid()
412 struct slave *slave; in bond_vlan_rx_kill_vid() local
414 bond_for_each_slave(bond, slave, iter) in bond_vlan_rx_kill_vid()
415 vlan_vid_del(slave->dev, proto, vid); in bond_vlan_rx_kill_vid()
438 struct slave *slave; in bond_ipsec_dev() local
444 slave = rcu_dereference(bond->curr_active_slave); in bond_ipsec_dev()
445 if (!slave) in bond_ipsec_dev()
[all …]
H A Dbond_3ad.c131 if (port->slave == NULL) in __get_bond_by_port()
134 return bond_get_bond_by_slave(port->slave); in __get_bond_by_port()
148 struct slave *first_slave; in __get_first_agg()
184 bond_set_slave_tx_disabled_flags(port->slave, BOND_SLAVE_NOTIFY_LATER); in __disable_distributing_port()
196 struct slave *slave = port->slave; in __enable_collecting_port() local
198 if (slave->link == BOND_LINK_UP && bond_slave_is_up(slave)) in __enable_collecting_port()
199 bond_set_slave_rx_enabled_flags(slave, BOND_SLAVE_NOTIFY_LATER); in __enable_collecting_port()
210 bond_set_slave_inactive_flags(port->slave, BOND_SLAVE_NOTIFY_LATER); in __disable_port()
221 struct slave *slave = port->slave; in __enable_port() local
223 if ((slave->link == BOND_LINK_UP) && bond_slave_is_up(slave)) in __enable_port()
[all …]
H A Dbond_procfs.c17 struct slave *slave; in bond_info_seq_start() local
25 bond_for_each_slave_rcu(bond, slave, iter) in bond_info_seq_start()
27 return slave; in bond_info_seq_start()
36 struct slave *slave; in bond_info_seq_next() local
43 bond_for_each_slave_rcu(bond, slave, iter) { in bond_info_seq_next()
45 return slave; in bond_info_seq_next()
46 if (slave == v) in bond_info_seq_next()
63 struct slave *curr, *primary; in bond_info_show_master()
193 const struct slave *slave) in bond_info_show_slave() argument
197 seq_printf(seq, "\nSlave Interface: %s\n", slave->dev->name); in bond_info_show_slave()
[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() argument
27 if (slave->id.mfg_id == id->mfg_id && in sdw_get_device_id()
28 slave->id.part_id == id->part_id && in sdw_get_device_id()
30 slave->id.sdw_version == id->sdw_version) && in sdw_get_device_id()
32 slave->id.class_id == id->class_id)) in sdw_get_device_id()
40 struct sdw_slave *slave; in sdw_bus_match() local
45 slave = dev_to_sdw_dev(dev); in sdw_bus_match()
48 ret = !!sdw_get_device_id(slave, drv); in sdw_bus_match()
53 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias() argument
58 slave->id.mfg_id, slave->id.part_id, in sdw_slave_modalias()
[all …]
H A Dirq.c51 struct sdw_slave *slave = data; in sdw_irq_dispose_mapping() local
53 irq_dispose_mapping(slave->irq); in sdw_irq_dispose_mapping()
56 void sdw_irq_create_mapping(struct sdw_slave *slave) in sdw_irq_create_mapping() argument
58 slave->irq = irq_create_mapping(slave->bus->domain, slave->index); in sdw_irq_create_mapping()
59 if (!slave->irq) in sdw_irq_create_mapping()
60 dev_warn(&slave->dev, "Failed to map IRQ\n"); in sdw_irq_create_mapping()
62 devm_add_action_or_reset(&slave->dev, sdw_irq_dispose_mapping, slave); in sdw_irq_create_mapping()
/linux/drivers/fsi/
H A Dfsi-core.c181 return fsi_slave_read(dev->slave, dev->addr + addr, val, size); in fsi_device_read()
191 return fsi_slave_write(dev->slave, dev->addr + addr, val, size); in fsi_device_write()
199 return fsi_slave_read(dev->slave, addr, val, sizeof(uint32_t)); in fsi_device_peek()
210 static struct fsi_device *fsi_create_device(struct fsi_slave *slave) in fsi_create_device() argument
218 dev->dev.parent = &slave->dev; in fsi_create_device()
226 static int fsi_slave_calc_addr(struct fsi_slave *slave, uint32_t *addrp, in fsi_slave_calc_addr() argument
232 if (addr > slave->size) in fsi_slave_calc_addr()
239 if (slave->id != 0) 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() argument
252 struct fsi_master *master = slave->master; in fsi_slave_report_and_clear_errors()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c306 static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
307 static inline int mlx4_grant_resource(struct mlx4_dev *dev, int slave, in mlx4_grant_resource() argument
318 if (slave > dev->persist->num_vfs) in mlx4_grant_resource()
324 (dev->persist->num_vfs + 1) + slave] : in mlx4_grant_resource()
325 res_alloc->allocated[slave]; in mlx4_grant_resource()
330 guaranteed = res_alloc->guaranteed[slave]; in mlx4_grant_resource()
332 if (allocated + count > res_alloc->quota[slave]) { in mlx4_grant_resource()
334 slave, port, resource_str(res_type), count, in mlx4_grant_resource()
335 allocated, res_alloc->quota[slave]); in mlx4_grant_resource()
355 slave, port, resource_str(res_type), free, in mlx4_grant_resource()
[all …]
/linux/arch/arm/mach-omap2/
H A Domap_hwmod_2xxx_interconnect_data.c26 .slave = &omap2xxx_l4_core_hwmod,
33 .slave = &omap2xxx_l3_main_hwmod,
40 .slave = &omap2xxx_l3_main_hwmod,
53 .slave = &omap2xxx_l4_wkup_hwmod,
60 .slave = &omap2xxx_uart1_hwmod,
68 .slave = &omap2xxx_uart2_hwmod,
76 .slave = &omap2xxx_uart3_hwmod,
84 .slave = &omap2xxx_mcspi1_hwmod,
92 .slave = &omap2xxx_mcspi2_hwmod,
100 .slave = &omap2xxx_timer3_hwmod,
[all …]
H A Domap_hwmod_3xxx_data.c1458 .slave = &omap3xxx_l4_core_hwmod,
1465 .slave = &omap3xxx_l4_per_hwmod,
1473 .slave = &omap3xxx_l3_main_hwmod,
1481 .slave = &omap3xxx_debugss_hwmod,
1488 .slave = &omap3xxx_l3_main_hwmod,
1494 .slave = &omap3xxx_l3_main_hwmod,
1507 .slave = &omap3xxx_l3_main_hwmod,
1515 .slave = &omap3xxx_l4_wkup_hwmod,
1522 .slave = &omap3xxx_pre_es3_mmc1_hwmod,
1530 .slave = &omap3xxx_es3plus_mmc1_hwmod,
[all …]
H A Domap_hwmod_81xx_data.c149 .slave = &dm81xx_l4_ls_hwmod,
156 .slave = &dm81xx_l4_hs_hwmod,
177 .slave = &dm81xx_alwon_l3_slow_hwmod,
184 .slave = &dm81xx_alwon_l3_med_hwmod,
204 .slave = &dm81xx_alwon_l3_slow_hwmod,
211 .slave = &dm81xx_alwon_l3_med_hwmod,
246 .slave = &ti81xx_rtc_hwmod,
285 .slave = &dm81xx_uart1_hwmod,
306 .slave = &dm81xx_uart2_hwmod,
327 .slave = &dm81xx_uart3_hwmod,
[all …]
/linux/drivers/net/
H A Deql.c142 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave);
152 slave_t *slave = list_entry(this, slave_t, list); in eql_timer() local
154 if ((slave->dev->flags & IFF_UP) == IFF_UP) { in eql_timer()
155 slave->bytes_queued -= slave->priority_Bps; in eql_timer()
156 if (slave->bytes_queued < 0) in eql_timer()
157 slave->bytes_queued = 0; in eql_timer()
159 eql_kill_one_slave(&eql->queue, slave); in eql_timer()
223 static void eql_kill_one_slave(slave_queue_t *queue, slave_t *slave) in eql_kill_one_slave() argument
225 list_del(&slave->list); in eql_kill_one_slave()
227 slave->dev->flags &= ~IFF_SLAVE; in eql_kill_one_slave()
[all …]
/linux/sound/soc/sdca/
H A Dsdca_device.c18 void sdca_lookup_interface_revision(struct sdw_slave *slave) in sdca_lookup_interface_revision()
20 struct fwnode_handle *fwnode = slave->dev.fwnode; in sdca_lookup_interface_revision()
27 &slave->sdca_data.interface_revision); in sdca_lookup_interface_revision()
36 void sdca_lookup_swft(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb()
41 (struct acpi_table_header **)&slave->sdca_data.swft); in sdca_device_quirk_rt712_vb()
43 dev_info(&slave->dev, "SWFT not available\n"); in sdca_device_quirk_rt712_vb()
45 devm_add_action_or_reset(&slave->dev, devm_acpi_table_put, in sdca_device_quirk_rt712_vb()
46 &slave->sdca_data.swft); in sdca_device_quirk_rt712_vb()
50 static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb()
52 struct sdw_slave_id *id = &slave in sdca_device_quirk_rt712_vb()
17 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/sound/soc/codecs/
H A Drt722-sdca-sdw.c208 static int rt722_sdca_update_status(struct sdw_slave *slave, in rt722_sdca_update_status() argument
211 struct rt722_sdca_priv *rt722 = dev_get_drvdata(&slave->dev); in rt722_sdca_update_status()
224 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK1, in rt722_sdca_update_status()
226 sdw_write_no_pm(rt722->slave, SDW_SCP_SDCA_INTMASK2, in rt722_sdca_update_status()
232 * Perform initialization only if slave status is present and in rt722_sdca_update_status()
239 return rt722_sdca_io_init(&slave->dev, slave); in rt722_sdca_update_status()
242 static int rt722_sdca_read_prop(struct sdw_slave *slave) in rt722_sdca_read_prop() argument
244 struct sdw_slave_prop *prop = &slave->prop; in rt722_sdca_read_prop()
251 sdw_slave_read_lane_mapping(slave); in rt722_sdca_read_prop()
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.c121 if (!rt5682->slave) in rt5682_sdw_hw_params()
132 retval = sdw_stream_add_slave(rt5682->slave, &stream_config, in rt5682_sdw_hw_params()
230 if (!rt5682->slave) in rt5682_sdw_hw_free()
233 sdw_stream_remove_slave(rt5682->slave, sdw_stream); in rt5682_sdw_hw_free()
298 struct sdw_slave *slave) in rt5682_sdw_init() argument
308 rt5682->slave = slave; in rt5682_sdw_init()
368 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init() argument
389 pm_runtime_set_active(&slave->dev); in rt5682_io_init()
391 pm_runtime_get_noresume(&slave in rt5682_io_init()
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 Dsdw-mockup.c23 struct sdw_slave *slave; member
69 if (!sdw_mockup->slave) in sdw_mockup_pcm_hw_params()
80 ret = sdw_stream_add_slave(sdw_mockup->slave, &stream_config, in sdw_mockup_pcm_hw_params()
95 if (!sdw_mockup->slave) in sdw_mockup_pcm_hw_free()
98 sdw_stream_remove_slave(sdw_mockup->slave, sdw_stream); in sdw_mockup_pcm_hw_free()
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
135 struct sdw_slave_prop *prop = &slave->prop; in sdw_mockup_read_prop()
155 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_mockup_read_prop()
173 prop->sink_dpn_prop = devm_kcalloc(&slave in sdw_mockup_read_prop()
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 Drt1017-sdca-sdw.c257 static int rt1017_sdca_read_prop(struct sdw_slave *slave) in rt1017_sdca_read_prop() argument
259 struct sdw_slave_prop *prop = &slave->prop; in rt1017_sdca_read_prop()
279 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1017_sdca_read_prop()
297 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1017_sdca_read_prop()
319 static int rt1017_sdca_io_init(struct device *dev, struct sdw_slave *slave) in rt1017_sdca_io_init() argument
335 pm_runtime_set_autosuspend_delay(&slave->dev, 3000); in rt1017_sdca_io_init()
336 pm_runtime_use_autosuspend(&slave->dev); in rt1017_sdca_io_init()
339 pm_runtime_set_active(&slave->dev); in rt1017_sdca_io_init()
342 pm_runtime_mark_last_busy(&slave->dev); in rt1017_sdca_io_init()
344 pm_runtime_enable(&slave in rt1017_sdca_io_init()
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...]
H A Dmax98363.c91 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98363_resume() local
98 if (!slave->unattach_request) in max98363_resume()
101 time = wait_for_completion_timeout(&slave->initialization_complete, in max98363_resume()
110 slave->unattach_request = 0; in max98363_resume()
119 static int max98363_read_prop(struct sdw_slave *slave) in max98363_read_prop() argument
121 struct sdw_slave_prop *prop = &slave->prop; in max98363_read_prop()
137 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98363_read_prop()
157 static int max98363_io_init(struct sdw_slave *slave) in max98363_io_init() argument
159 struct device *dev = &slave->dev; in max98363_io_init()
220 if (!max98363->slave) in max98363_sdw_dai_hw_params()
[all …]
H A Dmax98373-sdw.c267 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local
274 if (!slave->unattach_request) in max98373_resume()
277 time = wait_for_completion_timeout(&slave->initialization_complete, in max98373_resume()
281 sdw_show_ping_status(slave->bus, true); in max98373_resume()
287 slave->unattach_request = 0; in max98373_resume()
299 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop() argument
301 struct sdw_slave_prop *prop = &slave->prop; in max98373_read_prop()
317 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98373_read_prop()
336 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in max98373_read_prop()
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 Drt1318-sdw.c345 static int rt1318_read_prop(struct sdw_slave *slave) in rt1318_read_prop() argument
347 struct sdw_slave_prop *prop = &slave->prop; in rt1318_read_prop()
364 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1318_read_prop()
382 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in rt1318_read_prop()
404 static int rt1318_io_init(struct device *dev, struct sdw_slave *slave) in rt1318_io_init() argument
419 pm_runtime_set_active(&slave->dev); in rt1318_io_init()
422 pm_runtime_get_noresume(&slave->dev); in rt1318_io_init()
437 pm_runtime_put_autosuspend(&slave->dev); in rt1318_io_init()
439 dev_dbg(&slave->dev, "%s hw_init complete\n", __func__); in rt1318_io_init()
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...]
/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c15 int slave, u8 *mac_addr) in davinci_emac_3517_get_macid() argument
28 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lsb); in davinci_emac_3517_get_macid()
29 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_msb); 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() argument
55 regmap_read(syscon, CTRL_MAC_LO_REG(offset, slave), &macid_lo); in cpsw_am33xx_cm_get_macid()
56 regmap_read(syscon, CTRL_MAC_HI_REG(offset, slave), &macid_hi); 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() argument
71 return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr); in ti_cm_get_macid()
74 return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr); in ti_cm_get_macid()
77 return davinci_emac_3517_get_macid(dev, 0x110, slave, mac_addr); in ti_cm_get_macid()
[all …]
/linux/drivers/infiniband/hw/mlx4/
H A Dcm.c58 int slave; member
360 static int alloc_rej_tmout(struct mlx4_ib_sriov *sriov, u32 rem_pv_cm_id, int slave) in alloc_rej_tmout() argument
384 item->slave = slave; in alloc_rej_tmout()
409 int slave; in lookup_rej_tmout_slave() local
417 slave = !item ? -ENOENT : xa_err(item); in lookup_rej_tmout_slave()
419 slave = item->slave; in lookup_rej_tmout_slave()
423 return slave; in lookup_rej_tmout_slave()
426 int mlx4_ib_demux_cm_handler(struct ib_device *ibdev, int port, int *slave, in mlx4_ib_demux_cm_handler() argument
439 if (!slave) in mlx4_ib_demux_cm_handler()
443 *slave = mlx4_ib_find_real_gid(ibdev, port, gid.global.interface_id); in mlx4_ib_demux_cm_handler()
[all …]

12345678910>>...15