Home | History | Annotate | Download | only in i2c

Lines Matching refs:xc3028

1 /* $NetBSD: xc3028.c,v 1.9 2018/09/03 16:29:31 riastradh Exp $ */
34 __KERNEL_RCSID(0, "$NetBSD: xc3028.c,v 1.9 2018/09/03 16:29:31 riastradh Exp $");
51 #define XC3028_FIRMWARE_DRVNAME "xc3028"
70 static int xc3028_reset(struct xc3028 *);
71 static int xc3028_read_2(struct xc3028 *, uint16_t, uint16_t *);
72 static int xc3028_write_buffer(struct xc3028 *, const uint8_t *, size_t);
73 static int xc3028_firmware_open(struct xc3028 *);
74 static int xc3028_firmware_parse(struct xc3028 *, const uint8_t *, size_t);
75 static int xc3028_firmware_upload(struct xc3028 *, struct xc3028_fw *);
76 static int xc3028_scode_upload(struct xc3028 *, struct xc3028_fw *);
77 static void xc3028_dump_fw(struct xc3028 *, struct xc3028_fw *,
81 xc3028_name(struct xc3028 *xc)
86 return "xc3028";
90 xc3028_firmware_name(struct xc3028 *xc)
95 return "xc3028-v27.fw";
99 xc3028_reset(struct xc3028 *xc)
110 xc3028_get_basefw(struct xc3028 *xc)
125 xc3028_get_stdfw(struct xc3028 *xc)
140 xc3028_get_scode(struct xc3028 *xc)
158 xc3028_firmware_open(struct xc3028 *xc)
269 xc3028_dump_fw(struct xc3028 *xc, struct xc3028_fw *xcfw, const char *type)
290 xc3028_firmware_parse(struct xc3028 *xc, const uint8_t *fw, size_t fwlen)
362 xc3028_firmware_upload(struct xc3028 *xc, struct xc3028_fw *xcfw)
419 xc3028_scode_upload(struct xc3028 *xc, struct xc3028_fw *xcfw)
441 xc3028_read_2(struct xc3028 *xc, uint16_t reg, uint16_t *val)
464 xc3028_write_buffer(struct xc3028 *xc, const uint8_t *data, size_t datalen)
472 xc3028_write_2(struct xc3028 *xc, uint16_t reg, uint16_t val)
485 struct xc3028 *
489 struct xc3028 *xc;
513 xc3028_close(struct xc3028 *xc)
529 xc3028_tune_dtv(struct xc3028 *xc, const struct dvb_frontend_parameters *params)
561 MODULE(MODULE_CLASS_DRIVER, xc3028, "i2cexec");