Lines Matching refs:f_dev
469 struct device *f_dev; in fw_create_instance() local
479 f_dev = &fw_sysfs->dev; in fw_create_instance()
481 device_initialize(f_dev); in fw_create_instance()
482 dev_set_name(f_dev, "%s", fw_name); in fw_create_instance()
483 f_dev->parent = device; in fw_create_instance()
484 f_dev->class = &firmware_class; in fw_create_instance()
485 f_dev->groups = fw_dev_attr_groups; in fw_create_instance()
500 struct device *f_dev = &fw_sysfs->dev; in fw_load_sysfs_fallback() local
507 dev_set_uevent_suppress(f_dev, true); in fw_load_sysfs_fallback()
509 retval = device_add(f_dev); in fw_load_sysfs_fallback()
511 dev_err(f_dev, "%s: device_register failed\n", __func__); in fw_load_sysfs_fallback()
521 dev_set_uevent_suppress(f_dev, false); in fw_load_sysfs_fallback()
522 dev_dbg(f_dev, "firmware: requesting %s\n", fw_priv->fw_name); in fw_load_sysfs_fallback()
543 device_del(f_dev); in fw_load_sysfs_fallback()
545 put_device(f_dev); in fw_load_sysfs_fallback()