Home
last modified time | relevance | path

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

123456

/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 …]
/linux/drivers/soundwire/
H A Dbus.c171 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() local
361 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
414 static int sdw_ntransfer_no_pm(struct sdw_slave *slave, u32 addr, u8 flags, in sdw_ntransfer_no_pm()
451 int sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm()
467 int sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) in sdw_nwrite_no_pm()
479 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm()
556 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
569 int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm()
583 int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update()
608 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
[all …]
H A Ddebugfs.c36 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf()
52 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show() local
151 struct sdw_slave *slave = data; in set_command() local
169 struct sdw_slave *slave = data; in set_command_type() local
188 struct sdw_slave *slave = data; in set_start_address() local
204 struct sdw_slave *slave = data; in set_num_bytes() local
221 static int do_bpt_sequence(struct sdw_slave *slave, bool write, u8 *buffer) in do_bpt_sequence()
248 struct sdw_slave *slave = data; in cmd_go() local
338 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init()
366 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
H A Dbus_type.c21 sdw_get_device_id(struct sdw_slave *slave, const 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 const struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_uevent() local
76 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_probe() local
162 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_remove() local
179 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_shutdown() local
H A Dsysfs_slave.c97 struct sdw_slave *slave = dev_to_sdw_dev(dev); in modalias_show() local
159 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show() local
185 struct sdw_slave *slave = dev_to_sdw_dev(kobj_to_dev(kobj)); in dp0_attr_visible() local
194 struct sdw_slave *slave = dev_to_sdw_dev(kobj_to_dev(kobj)); in dp0_group_visible() local
230 struct sdw_slave *slave = dev_to_sdw_dev(dev); in status_show() local
239 struct sdw_slave *slave = dev_to_sdw_dev(dev); in device_number_show() local
/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 …]
/linux/sound/soc/codecs/
H A Dmax98373-sdw.c266 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() local
290 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop()
350 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init()
457 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate()
477 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config()
719 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
780 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
798 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
820 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
833 static void max98373_sdw_remove(struct sdw_slave *slave) in max98373_sdw_remove()
H A Drt722-sdca-sdw.c242 static int rt722_sdca_update_status(struct sdw_slave *slave, in rt722_sdca_update_status()
276 static int rt722_sdca_read_prop(struct sdw_slave *slave) in rt722_sdca_read_prop()
348 static int rt722_sdca_interrupt_callback(struct sdw_slave *slave, in rt722_sdca_interrupt_callback()
450 static int rt722_sdca_sdw_probe(struct sdw_slave *slave, in rt722_sdca_sdw_probe()
465 static void rt722_sdca_sdw_remove(struct sdw_slave *slave) in rt722_sdca_sdw_remove()
505 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_dev_system_suspend() local
536 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_dev_resume() local
H A Drt711-sdca-sdw.c140 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status()
174 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop()
244 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback()
350 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe()
367 static void rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove()
407 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend() local
438 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume() local
H A Drt712-sdca-sdw.c155 static int rt712_sdca_update_status(struct sdw_slave *slave, in rt712_sdca_update_status()
189 static int rt712_sdca_read_prop(struct sdw_slave *slave) in rt712_sdca_read_prop()
253 static int rt712_sdca_interrupt_callback(struct sdw_slave *slave, in rt712_sdca_interrupt_callback()
359 static int rt712_sdca_sdw_probe(struct sdw_slave *slave, in rt712_sdca_sdw_probe()
376 static void rt712_sdca_sdw_remove(struct sdw_slave *slave) in rt712_sdca_sdw_remove()
419 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_system_suspend() local
450 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_resume() local
H A Drt721-sdca-sdw.c190 static int rt721_sdca_update_status(struct sdw_slave *slave, in rt721_sdca_update_status()
224 static int rt721_sdca_read_prop(struct sdw_slave *slave) in rt721_sdca_read_prop()
295 static int rt721_sdca_interrupt_callback(struct sdw_slave *slave, in rt721_sdca_interrupt_callback()
400 static int rt721_sdca_sdw_probe(struct sdw_slave *slave, in rt721_sdca_sdw_probe()
417 static void rt721_sdca_sdw_remove(struct sdw_slave *slave) in rt721_sdca_sdw_remove()
458 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt721_sdca_dev_system_suspend() local
489 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt721_sdca_dev_resume() local
H A Drt5682-sdw.c298 struct sdw_slave *slave) in rt5682_sdw_init()
368 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init()
511 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status()
530 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop()
640 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config()
655 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback()
680 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe()
693 static void rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
728 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() local
755 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume() local
H A Drt711-sdw.c318 static int rt711_update_status(struct sdw_slave *slave, in rt711_update_status()
337 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()
442 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe()
460 static void rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove()
501 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_system_suspend() local
530 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume() local
H A Drt700-sdw.c312 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status()
331 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop()
395 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config()
410 static int rt700_interrupt_callback(struct sdw_slave *slave, in rt700_interrupt_callback()
439 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe()
457 static void rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove()
492 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_system_suspend() local
522 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume() local
H A Dsdw-mockup.c22 struct sdw_slave *slave; member
126 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status()
132 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop()
196 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config()
202 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback()
215 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe()
H A Drt715-sdca-sdw.c118 static int rt715_sdca_update_status(struct sdw_slave *slave, in rt715_sdca_update_status()
134 static int rt715_sdca_read_prop(struct sdw_slave *slave) in rt715_sdca_read_prop()
176 static int rt715_sdca_sdw_probe(struct sdw_slave *slave, in rt715_sdca_sdw_probe()
193 static void rt715_sdca_sdw_remove(struct sdw_slave *slave) in rt715_sdca_sdw_remove()
224 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume() local
H A Drt1308-sdw.c122 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop()
212 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init()
300 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status()
319 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config()
334 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback()
679 struct sdw_slave *slave) in rt1308_sdw_init()
728 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe()
741 static void rt1308_sdw_remove(struct sdw_slave *slave) in rt1308_sdw_remove()
768 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1308_dev_resume() local
H A Drt1318-sdw.c344 static int rt1318_read_prop(struct sdw_slave *slave) in rt1318_read_prop()
403 static int rt1318_io_init(struct device *dev, struct sdw_slave *slave) in rt1318_io_init()
442 static int rt1318_update_status(struct sdw_slave *slave, in rt1318_update_status()
733 struct sdw_slave *slave) in rt1318_sdw_init()
782 static int rt1318_sdw_probe(struct sdw_slave *slave, in rt1318_sdw_probe()
795 static void rt1318_sdw_remove(struct sdw_slave *slave) in rt1318_sdw_remove()
821 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1318_dev_resume() local
H A Drt715-sdw.c374 static int rt715_update_status(struct sdw_slave *slave, in rt715_update_status()
390 static int rt715_read_prop(struct sdw_slave *slave) in rt715_read_prop()
434 static int rt715_bus_config(struct sdw_slave *slave, in rt715_bus_config()
455 static int rt715_sdw_probe(struct sdw_slave *slave, in rt715_sdw_probe()
473 static void rt715_sdw_remove(struct sdw_slave *slave) in rt715_sdw_remove()
501 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume() local
H A Dmax98363.c91 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98363_resume() local
119 max98363_read_prop(struct sdw_slave * slave) max98363_read_prop() argument
157 max98363_io_init(struct sdw_slave * slave) max98363_io_init() argument
298 max98363_update_status(struct sdw_slave * slave,enum sdw_slave_status status) max98363_update_status() argument
386 max98363_init(struct sdw_slave * slave,struct regmap * regmap) max98363_init() argument
432 max98363_sdw_probe(struct sdw_slave * slave,const struct sdw_device_id * id) max98363_sdw_probe() argument
[all...]
H A Drt1017-sdca-sdw.c256 static int rt1017_sdca_read_prop(struct sdw_slave *slave) in rt1017_sdca_read_prop()
318 static int rt1017_sdca_io_init(struct device *dev, struct sdw_slave *slave) in rt1017_sdca_io_init()
370 static int rt1017_sdca_update_status(struct sdw_slave *slave, in rt1017_sdca_update_status()
702 struct sdw_slave *slave) in rt1017_sdca_init()
730 static int rt1017_sdca_sdw_probe(struct sdw_slave *slave, in rt1017_sdca_sdw_probe()
743 static void rt1017_sdca_sdw_remove(struct sdw_slave *slave) in rt1017_sdca_sdw_remove()
773 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1017_sdca_dev_resume() local
/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/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/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

123456