Lines Matching refs:em28xx
3 // em28xx-cards.c - driver for Empia EM2800/EM2820/2840 USB
22 #include "em28xx.h"
39 #define DRIVER_NAME "em28xx"
72 static void em28xx_pre_card_setup(struct em28xx *dev);
2796 struct em28xx *dev = i2c_bus->dev;
2811 static inline void em28xx_set_xclk_i2c_speed(struct em28xx *dev)
2837 static inline void em28xx_set_model(struct em28xx *dev)
2855 static int em28xx_wait_until_ac97_features_equals(struct em28xx *dev,
2884 static void em28xx_pre_card_setup(struct em28xx *dev)
3008 static int em28xx_hint_board(struct em28xx *dev)
3100 static void em28xx_card_setup(struct em28xx *dev)
3289 void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl)
3339 struct em28xx *dev = container_of(work,
3340 struct em28xx, request_module_wk);
3343 * The em28xx extensions can be modules or builtin. If the
3355 request_module("em28xx-alsa");
3364 request_module("em28xx-v4l");
3368 request_module("em28xx-alsa");
3370 request_module("em28xx-dvb");
3373 request_module("em28xx-rc");
3377 static void request_modules(struct em28xx *dev)
3383 static void flush_request_modules(struct em28xx *dev)
3388 static int em28xx_media_device_init(struct em28xx *dev,
3410 static void em28xx_unregister_media_device(struct em28xx *dev)
3427 static void em28xx_release_resources(struct em28xx *dev)
3451 * em28xx_free_device() - Free em28xx device
3453 * @ref: struct kref for em28xx device
3455 * This is called when all extensions and em28xx core unregisters a device
3459 struct em28xx *dev = kref_to_dev(ref);
3477 static int em28xx_init_dev(struct em28xx *dev, struct usb_device *udev,
3570 "unknown em28xx chip ID (%d)\n", dev->chip_id);
3632 static int em28xx_duplicate_dev(struct em28xx *dev)
3635 struct em28xx *sec_dev = kmemdup(dev, sizeof(*sec_dev), GFP_KERNEL);
3646 dev_warn(&dev->intf->dev, ": Supports only %i em28xx boards.\n",
3654 snprintf(sec_dev->name, 28, "em28xx #%d", nr);
3663 static void em28xx_check_usb_descriptor(struct em28xx *dev,
3775 struct em28xx *dev = NULL;
3790 "Driver supports up to %i em28xx boards.\n",
3894 snprintf(dev->name, 28, "em28xx");
3909 "em28xx: device seems to have vendor AND usb audio class interfaces !\n"
4049 * topology will likely change after the load of the em28xx subdrivers.
4076 struct em28xx *dev;
4112 struct em28xx *dev;
4123 struct em28xx *dev;
4133 .name = "em28xx",