Home
last modified time | relevance | path

Searched refs:fw_dev (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/base/firmware_loader/
H A Dsysfs_upload.c164 struct device *fw_dev; in fw_upload_main() local
170 fw_dev = &fw_sysfs->dev; in fw_upload_main()
185 dev_warn(fw_dev, "write-op wrote zero data\n"); in fw_upload_main()
206 put_device(fw_dev->parent); in fw_upload_main()
228 struct device *fw_dev = &fw_sysfs->dev; in fw_upload_start() local
249 get_device(fw_dev->parent); /* released in fw_upload_main */ in fw_upload_start()
300 struct device *fw_dev; in firmware_upload_register() local
344 fw_dev = &fw_sysfs->dev; in firmware_upload_register()
356 ret = device_add(fw_dev); in firmware_upload_register()
358 dev_err(fw_dev, "%s: device_register failed\n", __func__); in firmware_upload_register()
[all …]
/openbmc/linux/sound/firewire/tascam/
H A Dtascam.c46 struct fw_device *fw_dev = fw_parent_device(tscm->unit); in identify_model() local
47 const u32 *config_rom = fw_dev->config_rom; in identify_model()
52 if (fw_dev->config_rom_length < 30) { in identify_model()
81 fw_dev->config_rom[3], fw_dev->config_rom[4], in identify_model()
82 dev_name(&tscm->unit->device), 100 << fw_dev->max_speed); in identify_model()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw.c66 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in name_card() local
75 err = fw_csr_string(fw_dev->config_rom + 5, CSR_VENDOR, in name_card()
114 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card()
115 dev_name(&oxfw->unit->device), 100 << fw_dev->max_speed); in name_card()
133 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in detect_quirks() local
180 fw_csr_iterator_init(&it, fw_dev->config_rom + 5); in detect_quirks()
H A Doxfw-scs1x.c35 struct fw_device *fw_dev; member
268 generation = scs->fw_dev->generation; in scs_output_work()
270 fw_send_request(scs->fw_dev->card, &scs->transaction, in scs_output_work()
271 TCODE_WRITE_BLOCK_REQUEST, scs->fw_dev->node_id, in scs_output_work()
272 generation, scs->fw_dev->max_speed, HSS1394_ADDRESS, in scs_output_work()
378 scs->fw_dev = fw_parent_device(oxfw->unit); in snd_oxfw_scs1x_add()
/openbmc/linux/sound/firewire/digi00x/
H A Ddigi00x.c21 struct fw_device *fw_dev = fw_parent_device(dg00x->unit); in name_card() local
38 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card()
39 dev_name(&dg00x->unit->device), 100 << fw_dev->max_speed); in name_card()
/openbmc/linux/sound/firewire/fireface/
H A Dff-transaction.c59 struct fw_device *fw_dev = fw_parent_device(ff->unit); in transmit_midi_msg() local
106 generation = fw_dev->generation; in transmit_midi_msg()
108 fw_send_request(fw_dev->card, &ff->transactions[port], tcode, in transmit_midi_msg()
109 fw_dev->node_id, generation, fw_dev->max_speed, in transmit_midi_msg()
H A Dff.c18 struct fw_device *fw_dev = fw_parent_device(ff->unit); in name_card() local
35 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card()
36 dev_name(&ff->unit->device), 100 << fw_dev->max_speed); in name_card()
/openbmc/linux/sound/firewire/motu/
H A Dmotu.c30 struct fw_device *fw_dev = fw_parent_device(motu->unit); in name_card() local
50 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card()
51 dev_name(&motu->unit->device), 100 << fw_dev->max_speed); in name_card()
/openbmc/linux/sound/firewire/
H A Disight.c615 struct fw_device *fw_dev = fw_parent_device(unit); in isight_probe() local
629 isight->device = fw_dev; in isight_probe()
644 fw_dev->config_rom[3], fw_dev->config_rom[4], in isight_probe()
645 dev_name(&unit->device), 100 << fw_dev->max_speed); in isight_probe()
/openbmc/linux/sound/firewire/bebob/
H A Dbebob.c70 struct fw_device *fw_dev = fw_parent_device(bebob->unit); in name_device() local
79 err = fw_csr_string(fw_dev->config_rom + 5, CSR_VENDOR, in name_device()
115 100 << fw_dev->max_speed); in name_device()
/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks.c74 struct fw_device *fw_dev = fw_parent_device(efw->unit); in get_hardware_info() local
100 dev_name(&efw->unit->device), 100 << fw_dev->max_speed); in get_hardware_info()