Lines Matching refs:em28xx
3 // em28xx-cards.c - driver for Empia EM2800/EM2820/2840 USB
12 #include "em28xx.h"
29 #define DRIVER_NAME "em28xx"
62 static void em28xx_pre_card_setup(struct em28xx *dev);
2841 struct em28xx *dev = i2c_bus->dev;
2856 static inline void em28xx_set_xclk_i2c_speed(struct em28xx *dev)
2882 static inline void em28xx_set_model(struct em28xx *dev)
2900 static int em28xx_wait_until_ac97_features_equals(struct em28xx *dev,
2929 static void em28xx_pre_card_setup(struct em28xx *dev)
3053 static int em28xx_hint_board(struct em28xx *dev)
3145 static void em28xx_card_setup(struct em28xx *dev)
3334 void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl)
3384 struct em28xx *dev = container_of(work,
3385 struct em28xx, request_module_wk);
3388 * The em28xx extensions can be modules or builtin. If the
3400 request_module("em28xx-alsa");
3409 request_module("em28xx-v4l");
3413 request_module("em28xx-alsa");
3415 request_module("em28xx-dvb");
3418 request_module("em28xx-rc");
3422 static void request_modules(struct em28xx *dev)
3428 static void flush_request_modules(struct em28xx *dev)
3433 static int em28xx_media_device_init(struct em28xx *dev,
3455 static void em28xx_unregister_media_device(struct em28xx *dev)
3472 static void em28xx_release_resources(struct em28xx *dev)
3496 * em28xx_free_device() - Free em28xx device
3498 * @ref: struct kref for em28xx device
3500 * This is called when all extensions and em28xx core unregisters a device
3504 struct em28xx *dev = kref_to_dev(ref);
3522 static int em28xx_init_dev(struct em28xx *dev, struct usb_device *udev,
3615 "unknown em28xx chip ID (%d)\n", dev->chip_id);
3677 static int em28xx_duplicate_dev(struct em28xx *dev)
3680 struct em28xx *sec_dev = kmemdup(dev, sizeof(*sec_dev), GFP_KERNEL);
3691 dev_warn(&dev->intf->dev, ": Supports only %i em28xx boards.\n",
3699 snprintf(sec_dev->name, 28, "em28xx #%d", nr);
3708 static void em28xx_check_usb_descriptor(struct em28xx *dev,
3820 struct em28xx *dev = NULL;
3835 "Driver supports up to %i em28xx boards.\n",
3939 snprintf(dev->name, 28, "em28xx");
3954 "em28xx: device seems to have vendor AND usb audio class interfaces !\n"
4094 * topology will likely change after the load of the em28xx subdrivers.
4125 struct em28xx *dev;
4161 struct em28xx *dev;
4172 struct em28xx *dev;
4182 .name = "em28xx",