ioctl_bt848.h (31186) | ioctl_bt848.h (33025) |
---|---|
1/* 2 * extensions to ioctl_meteor.h for the bt848 cards 3 */ 4 5/* 6 * frequency sets 7 */ 8#define CHNLSET_NABCST 1 --- 186 unchanged lines hidden (view full) --- 195 196/* Read/Write the BT848's I2C bus directly 197 * b7-b0: data (read/write) 198 * b15-b8: internal peripheral register (write) 199 * b23-b16: i2c addr (write) 200 * b31-b24: 1 = write, 0 = read 201 */ 202#define BT848_I2CWR _IOWR('x', 57, u_long) /* i2c read-write */ | 1/* 2 * extensions to ioctl_meteor.h for the bt848 cards 3 */ 4 5/* 6 * frequency sets 7 */ 8#define CHNLSET_NABCST 1 --- 186 unchanged lines hidden (view full) --- 195 196/* Read/Write the BT848's I2C bus directly 197 * b7-b0: data (read/write) 198 * b15-b8: internal peripheral register (write) 199 * b23-b16: i2c addr (write) 200 * b31-b24: 1 = write, 0 = read 201 */ 202#define BT848_I2CWR _IOWR('x', 57, u_long) /* i2c read-write */ |
203/* Support for radio tuner */ 204#define RADIO_SETMODE _IOW('x', 58, unsigned int) /* set radio modes */ 205#define RADIO_SETFREQ _IOW('x', 59, unsigned int) /* set frequency */ 206#define RADIO_GETFREQ _IOR('x', 59, unsigned int) /* set frequency */ |
|
203 204/* XXX - Copied from /sys/pci/brktree_reg.h */ 205#define BT848_IFORM_FORMAT (0x7<<0) 206# define BT848_IFORM_F_RSVD (0x7) 207# define BT848_IFORM_F_SECAM (0x6) 208# define BT848_IFORM_F_PALN (0x5) 209# define BT848_IFORM_F_PALM (0x4) 210# define BT848_IFORM_F_PALBDGHI (0x3) 211# define BT848_IFORM_F_NTSCJ (0x2) 212# define BT848_IFORM_F_NTSCM (0x1) 213# define BT848_IFORM_F_AUTO (0x0) 214 | 207 208/* XXX - Copied from /sys/pci/brktree_reg.h */ 209#define BT848_IFORM_FORMAT (0x7<<0) 210# define BT848_IFORM_F_RSVD (0x7) 211# define BT848_IFORM_F_SECAM (0x6) 212# define BT848_IFORM_F_PALN (0x5) 213# define BT848_IFORM_F_PALM (0x4) 214# define BT848_IFORM_F_PALBDGHI (0x3) 215# define BT848_IFORM_F_NTSCJ (0x2) 216# define BT848_IFORM_F_NTSCM (0x1) 217# define BT848_IFORM_F_AUTO (0x0) 218 |