Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 1 | /* |
| 2 | * |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2005 Mike Isely <isely@pobox.com> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | * |
| 19 | */ |
| 20 | #ifndef __PVRUSB2_HDW_H |
| 21 | #define __PVRUSB2_HDW_H |
| 22 | |
| 23 | #include <linux/usb.h> |
| 24 | #include <linux/videodev2.h> |
| 25 | #include "pvrusb2-io.h" |
| 26 | #include "pvrusb2-ctrl.h" |
| 27 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 28 | |
| 29 | /* Private internal control ids, look these up with |
| 30 | pvr2_hdw_get_ctrl_by_id() - these are NOT visible in V4L */ |
| 31 | #define PVR2_CID_STDENUM 1 |
| 32 | #define PVR2_CID_STDCUR 2 |
| 33 | #define PVR2_CID_STDAVAIL 3 |
| 34 | #define PVR2_CID_INPUT 4 |
| 35 | #define PVR2_CID_AUDIOMODE 5 |
| 36 | #define PVR2_CID_FREQUENCY 6 |
| 37 | #define PVR2_CID_HRES 7 |
| 38 | #define PVR2_CID_VRES 8 |
vdb128@picaros.org | e784bfb | 2008-08-30 18:26:39 -0300 | [diff] [blame^] | 39 | #define PVR2_CID_CROPL 9 |
| 40 | #define PVR2_CID_CROPT 10 |
| 41 | #define PVR2_CID_CROPW 11 |
| 42 | #define PVR2_CID_CROPH 12 |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 43 | |
| 44 | /* Legal values for the INPUT state variable */ |
| 45 | #define PVR2_CVAL_INPUT_TV 0 |
Mike Isely | 29bf5b1 | 2008-04-22 14:45:37 -0300 | [diff] [blame] | 46 | #define PVR2_CVAL_INPUT_DTV 1 |
Mike Isely | dbc40a0 | 2008-04-22 14:45:39 -0300 | [diff] [blame] | 47 | #define PVR2_CVAL_INPUT_COMPOSITE 2 |
| 48 | #define PVR2_CVAL_INPUT_SVIDEO 3 |
Mike Isely | 29bf5b1 | 2008-04-22 14:45:37 -0300 | [diff] [blame] | 49 | #define PVR2_CVAL_INPUT_RADIO 4 |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 50 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 51 | enum pvr2_config { |
Mike Isely | 16eb40d | 2006-12-30 18:27:32 -0300 | [diff] [blame] | 52 | pvr2_config_empty, /* No configuration */ |
| 53 | pvr2_config_mpeg, /* Encoded / compressed video */ |
| 54 | pvr2_config_vbi, /* Standard vbi info */ |
| 55 | pvr2_config_pcm, /* Audio raw pcm stream */ |
| 56 | pvr2_config_rawvideo, /* Video raw frames */ |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 57 | }; |
| 58 | |
Mike Isely | 8079384 | 2006-12-27 23:12:28 -0300 | [diff] [blame] | 59 | enum pvr2_v4l_type { |
| 60 | pvr2_v4l_type_video, |
| 61 | pvr2_v4l_type_vbi, |
| 62 | pvr2_v4l_type_radio, |
| 63 | }; |
| 64 | |
Mike Isely | 681c739 | 2007-11-26 01:48:52 -0300 | [diff] [blame] | 65 | /* Major states that we can be in: |
| 66 | * |
| 67 | * DEAD - Device is in an unusable state and cannot be recovered. This |
| 68 | * can happen if we completely lose the ability to communicate with it |
| 69 | * (but it might still on the bus). In this state there's nothing we can |
| 70 | * do; it must be replugged in order to recover. |
| 71 | * |
| 72 | * COLD - Device is in an unusuable state, needs microcontroller firmware. |
| 73 | * |
| 74 | * WARM - We can communicate with the device and the proper |
| 75 | * microcontroller firmware is running, but other device initialization is |
| 76 | * still needed (e.g. encoder firmware). |
| 77 | * |
| 78 | * ERROR - A problem prevents capture operation (e.g. encoder firmware |
| 79 | * missing). |
| 80 | * |
| 81 | * READY - Device is operational, but not streaming. |
| 82 | * |
| 83 | * RUN - Device is streaming. |
| 84 | * |
| 85 | */ |
| 86 | #define PVR2_STATE_NONE 0 |
| 87 | #define PVR2_STATE_DEAD 1 |
| 88 | #define PVR2_STATE_COLD 2 |
| 89 | #define PVR2_STATE_WARM 3 |
| 90 | #define PVR2_STATE_ERROR 4 |
| 91 | #define PVR2_STATE_READY 5 |
| 92 | #define PVR2_STATE_RUN 6 |
| 93 | |
| 94 | /* Translate configuration enum to a string label */ |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 95 | const char *pvr2_config_get_name(enum pvr2_config); |
| 96 | |
| 97 | struct pvr2_hdw; |
| 98 | |
| 99 | /* Create and return a structure for interacting with the underlying |
| 100 | hardware */ |
| 101 | struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf, |
| 102 | const struct usb_device_id *devid); |
| 103 | |
Mike Isely | c4a8828 | 2008-04-22 14:45:44 -0300 | [diff] [blame] | 104 | /* Perform second stage initialization, passing in a notification callback |
| 105 | for when the master state changes. */ |
Mike Isely | 794b160 | 2008-04-22 14:45:45 -0300 | [diff] [blame] | 106 | int pvr2_hdw_initialize(struct pvr2_hdw *, |
| 107 | void (*callback_func)(void *), |
| 108 | void *callback_data); |
Mike Isely | c4a8828 | 2008-04-22 14:45:44 -0300 | [diff] [blame] | 109 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 110 | /* Destroy hardware interaction structure */ |
| 111 | void pvr2_hdw_destroy(struct pvr2_hdw *); |
| 112 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 113 | /* Return true if in the ready (normal) state */ |
| 114 | int pvr2_hdw_dev_ok(struct pvr2_hdw *); |
| 115 | |
| 116 | /* Return small integer number [1..N] for logical instance number of this |
| 117 | device. This is useful for indexing array-valued module parameters. */ |
| 118 | int pvr2_hdw_get_unit_number(struct pvr2_hdw *); |
| 119 | |
| 120 | /* Get pointer to underlying USB device */ |
| 121 | struct usb_device *pvr2_hdw_get_dev(struct pvr2_hdw *); |
| 122 | |
| 123 | /* Retrieve serial number of device */ |
| 124 | unsigned long pvr2_hdw_get_sn(struct pvr2_hdw *); |
| 125 | |
Mike Isely | 31a1854 | 2007-04-08 01:11:47 -0300 | [diff] [blame] | 126 | /* Retrieve bus location info of device */ |
| 127 | const char *pvr2_hdw_get_bus_info(struct pvr2_hdw *); |
| 128 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 129 | /* Called when hardware has been unplugged */ |
| 130 | void pvr2_hdw_disconnect(struct pvr2_hdw *); |
| 131 | |
| 132 | /* Get the number of defined controls */ |
| 133 | unsigned int pvr2_hdw_get_ctrl_count(struct pvr2_hdw *); |
| 134 | |
| 135 | /* Retrieve a control handle given its index (0..count-1) */ |
| 136 | struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_index(struct pvr2_hdw *,unsigned int); |
| 137 | |
| 138 | /* Retrieve a control handle given its internal ID (if any) */ |
| 139 | struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_id(struct pvr2_hdw *,unsigned int); |
| 140 | |
| 141 | /* Retrieve a control handle given its V4L ID (if any) */ |
| 142 | struct pvr2_ctrl *pvr2_hdw_get_ctrl_v4l(struct pvr2_hdw *,unsigned int ctl_id); |
| 143 | |
Mike Isely | a761f43 | 2006-06-25 20:04:44 -0300 | [diff] [blame] | 144 | /* Retrieve a control handle given its immediate predecessor V4L ID (if any) */ |
| 145 | struct pvr2_ctrl *pvr2_hdw_get_ctrl_nextv4l(struct pvr2_hdw *, |
| 146 | unsigned int ctl_id); |
| 147 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 148 | /* Commit all control changes made up to this point */ |
| 149 | int pvr2_hdw_commit_ctl(struct pvr2_hdw *); |
| 150 | |
Mike Isely | 7fb20fa | 2008-04-22 14:45:37 -0300 | [diff] [blame] | 151 | /* Return a bit mask of valid input selections for this device. Mask bits |
| 152 | * will be according to PVR_CVAL_INPUT_xxxx definitions. */ |
| 153 | unsigned int pvr2_hdw_get_input_available(struct pvr2_hdw *); |
| 154 | |
Mike Isely | 1cb03b7 | 2008-04-21 03:47:43 -0300 | [diff] [blame] | 155 | /* Return a bit mask of allowed input selections for this device. Mask bits |
| 156 | * will be according to PVR_CVAL_INPUT_xxxx definitions. */ |
| 157 | unsigned int pvr2_hdw_get_input_allowed(struct pvr2_hdw *); |
| 158 | |
| 159 | /* Change the set of allowed input selections for this device. Both |
| 160 | change_mask and change_valu are mask bits according to |
| 161 | PVR_CVAL_INPUT_xxxx definitions. The change_mask parameter indicate |
| 162 | which settings are being changed and the change_val parameter indicates |
| 163 | whether corresponding settings are being set or cleared. */ |
| 164 | int pvr2_hdw_set_input_allowed(struct pvr2_hdw *, |
| 165 | unsigned int change_mask, |
| 166 | unsigned int change_val); |
| 167 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 168 | /* Return name for this driver instance */ |
| 169 | const char *pvr2_hdw_get_driver_name(struct pvr2_hdw *); |
| 170 | |
Mike Isely | 18103c5 | 2007-01-20 00:09:47 -0300 | [diff] [blame] | 171 | /* Mark tuner status stale so that it will be re-fetched */ |
| 172 | void pvr2_hdw_execute_tuner_poll(struct pvr2_hdw *); |
| 173 | |
| 174 | /* Return information about the tuner */ |
| 175 | int pvr2_hdw_get_tuner_status(struct pvr2_hdw *,struct v4l2_tuner *); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 176 | |
| 177 | /* Query device and see if it thinks it is on a high-speed USB link */ |
| 178 | int pvr2_hdw_is_hsm(struct pvr2_hdw *); |
| 179 | |
Mike Isely | 78a4710 | 2007-11-26 01:58:20 -0300 | [diff] [blame] | 180 | /* Return a string token representative of the hardware type */ |
| 181 | const char *pvr2_hdw_get_type(struct pvr2_hdw *); |
| 182 | |
| 183 | /* Return a single line description of the hardware type */ |
| 184 | const char *pvr2_hdw_get_desc(struct pvr2_hdw *); |
| 185 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 186 | /* Turn streaming on/off */ |
| 187 | int pvr2_hdw_set_streaming(struct pvr2_hdw *,int); |
| 188 | |
| 189 | /* Find out if streaming is on */ |
| 190 | int pvr2_hdw_get_streaming(struct pvr2_hdw *); |
| 191 | |
Mike Isely | 681c739 | 2007-11-26 01:48:52 -0300 | [diff] [blame] | 192 | /* Retrieve driver overall state */ |
| 193 | int pvr2_hdw_get_state(struct pvr2_hdw *); |
| 194 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 195 | /* Configure the type of stream to generate */ |
| 196 | int pvr2_hdw_set_stream_type(struct pvr2_hdw *, enum pvr2_config); |
| 197 | |
| 198 | /* Get handle to video output stream */ |
| 199 | struct pvr2_stream *pvr2_hdw_get_video_stream(struct pvr2_hdw *); |
| 200 | |
| 201 | /* Emit a video standard struct */ |
| 202 | int pvr2_hdw_get_stdenum_value(struct pvr2_hdw *hdw,struct v4l2_standard *std, |
| 203 | unsigned int idx); |
| 204 | |
Mike Isely | 4db666c | 2007-09-08 22:16:27 -0300 | [diff] [blame] | 205 | /* Enable / disable retrieval of CPU firmware or prom contents. This must |
| 206 | be enabled before pvr2_hdw_cpufw_get() will function. Note that doing |
| 207 | this may prevent the device from running (and leaving this mode may |
| 208 | imply a device reset). */ |
| 209 | void pvr2_hdw_cpufw_set_enabled(struct pvr2_hdw *, |
| 210 | int prom_flag, |
| 211 | int enable_flag); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 212 | |
| 213 | /* Return true if we're in a mode for retrieval CPU firmware */ |
| 214 | int pvr2_hdw_cpufw_get_enabled(struct pvr2_hdw *); |
| 215 | |
| 216 | /* Retrieve a piece of the CPU's firmware at the given offset. Return |
| 217 | value is the number of bytes retrieved or zero if we're past the end or |
| 218 | an error otherwise (e.g. if firmware retrieval is not enabled). */ |
| 219 | int pvr2_hdw_cpufw_get(struct pvr2_hdw *,unsigned int offs, |
| 220 | char *buf,unsigned int cnt); |
| 221 | |
Pantelis Koukousoulas | 2fdf3d9 | 2006-12-27 23:07:58 -0300 | [diff] [blame] | 222 | /* Retrieve a previously stored v4l minor device number */ |
Mike Isely | 8079384 | 2006-12-27 23:12:28 -0300 | [diff] [blame] | 223 | int pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw *,enum pvr2_v4l_type index); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 224 | |
Pantelis Koukousoulas | 2fdf3d9 | 2006-12-27 23:07:58 -0300 | [diff] [blame] | 225 | /* Store a v4l minor device number */ |
Mike Isely | fd5a75f | 2006-12-27 23:11:22 -0300 | [diff] [blame] | 226 | void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *, |
Mike Isely | 8079384 | 2006-12-27 23:12:28 -0300 | [diff] [blame] | 227 | enum pvr2_v4l_type index,int); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 228 | |
Mike Isely | 32ffa9a | 2006-09-23 22:26:52 -0300 | [diff] [blame] | 229 | /* Direct read/write access to chip's registers: |
Hans Verkuil | f3d092b | 2007-02-23 20:55:14 -0300 | [diff] [blame] | 230 | match_type - how to interpret match_chip (e.g. driver ID, i2c address) |
| 231 | match_chip - chip match value (e.g. I2C_DRIVERD_xxxx) |
Mike Isely | 32ffa9a | 2006-09-23 22:26:52 -0300 | [diff] [blame] | 232 | reg_id - register number to access |
| 233 | setFl - true to set the register, false to read it |
| 234 | val_ptr - storage location for source / result. */ |
| 235 | int pvr2_hdw_register_access(struct pvr2_hdw *, |
Hans Verkuil | f3d092b | 2007-02-23 20:55:14 -0300 | [diff] [blame] | 236 | u32 match_type, u32 match_chip,u64 reg_id, |
| 237 | int setFl,u64 *val_ptr); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 238 | |
| 239 | /* The following entry points are all lower level things you normally don't |
| 240 | want to worry about. */ |
| 241 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 242 | /* Issue a command and get a response from the device. LOTS of higher |
| 243 | level stuff is built on this. */ |
| 244 | int pvr2_send_request(struct pvr2_hdw *, |
| 245 | void *write_ptr,unsigned int write_len, |
| 246 | void *read_ptr,unsigned int read_len); |
| 247 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 248 | /* Slightly higher level device communication functions. */ |
| 249 | int pvr2_write_register(struct pvr2_hdw *, u16, u32); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 250 | |
| 251 | /* Call if for any reason we can't talk to the hardware anymore - this will |
| 252 | cause the driver to stop flailing on the device. */ |
| 253 | void pvr2_hdw_render_useless(struct pvr2_hdw *); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 254 | |
| 255 | /* Set / clear 8051's reset bit */ |
| 256 | void pvr2_hdw_cpureset_assert(struct pvr2_hdw *,int); |
| 257 | |
| 258 | /* Execute a USB-commanded device reset */ |
| 259 | void pvr2_hdw_device_reset(struct pvr2_hdw *); |
| 260 | |
Mike Isely | 681c739 | 2007-11-26 01:48:52 -0300 | [diff] [blame] | 261 | /* Reset worker's error trapping circuit breaker */ |
| 262 | int pvr2_hdw_untrip(struct pvr2_hdw *); |
| 263 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 264 | /* Execute hard reset command (after this point it's likely that the |
| 265 | encoder will have to be reconfigured). This also clears the "useless" |
| 266 | state. */ |
| 267 | int pvr2_hdw_cmd_deep_reset(struct pvr2_hdw *); |
| 268 | |
| 269 | /* Execute simple reset command */ |
| 270 | int pvr2_hdw_cmd_powerup(struct pvr2_hdw *); |
| 271 | |
Michael Krufky | e1edb19 | 2008-04-22 14:45:39 -0300 | [diff] [blame] | 272 | /* suspend */ |
| 273 | int pvr2_hdw_cmd_powerdown(struct pvr2_hdw *); |
| 274 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 275 | /* Order decoder to reset */ |
| 276 | int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *); |
| 277 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 278 | /* Direct manipulation of GPIO bits */ |
| 279 | int pvr2_hdw_gpio_get_dir(struct pvr2_hdw *hdw,u32 *); |
| 280 | int pvr2_hdw_gpio_get_out(struct pvr2_hdw *hdw,u32 *); |
| 281 | int pvr2_hdw_gpio_get_in(struct pvr2_hdw *hdw,u32 *); |
| 282 | int pvr2_hdw_gpio_chg_dir(struct pvr2_hdw *hdw,u32 msk,u32 val); |
| 283 | int pvr2_hdw_gpio_chg_out(struct pvr2_hdw *hdw,u32 msk,u32 val); |
| 284 | |
| 285 | /* This data structure is specifically for the next function... */ |
| 286 | struct pvr2_hdw_debug_info { |
| 287 | int big_lock_held; |
| 288 | int ctl_lock_held; |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 289 | int flag_disconnected; |
| 290 | int flag_init_ok; |
Mike Isely | 681c739 | 2007-11-26 01:48:52 -0300 | [diff] [blame] | 291 | int flag_ok; |
| 292 | int fw1_state; |
| 293 | int flag_decoder_missed; |
| 294 | int flag_tripped; |
| 295 | int state_encoder_ok; |
| 296 | int state_encoder_run; |
| 297 | int state_decoder_run; |
| 298 | int state_usbstream_run; |
| 299 | int state_decoder_quiescent; |
| 300 | int state_pipeline_config; |
| 301 | int state_pipeline_req; |
| 302 | int state_pipeline_pause; |
| 303 | int state_pipeline_idle; |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 304 | int cmd_debug_state; |
| 305 | int cmd_debug_write_len; |
| 306 | int cmd_debug_read_len; |
| 307 | int cmd_debug_write_pend; |
| 308 | int cmd_debug_read_pend; |
| 309 | int cmd_debug_timeout; |
| 310 | int cmd_debug_rstatus; |
| 311 | int cmd_debug_wstatus; |
| 312 | unsigned char cmd_code; |
| 313 | }; |
| 314 | |
| 315 | /* Non-intrusively retrieve internal state info - this is useful for |
| 316 | diagnosing lockups. Note that this operation is completed without any |
| 317 | kind of locking and so it is not atomic and may yield inconsistent |
| 318 | results. This is *purely* a debugging aid. */ |
Mike Isely | 681c739 | 2007-11-26 01:48:52 -0300 | [diff] [blame] | 319 | void pvr2_hdw_get_debug_info_unlocked(const struct pvr2_hdw *hdw, |
| 320 | struct pvr2_hdw_debug_info *); |
| 321 | |
| 322 | /* Intrusively retrieve internal state info - this is useful for |
| 323 | diagnosing overall driver state. This operation synchronizes against |
| 324 | the overall driver mutex - so if there are locking problems this will |
| 325 | likely hang! This is *purely* a debugging aid. */ |
| 326 | void pvr2_hdw_get_debug_info_locked(struct pvr2_hdw *hdw, |
| 327 | struct pvr2_hdw_debug_info *); |
| 328 | |
| 329 | /* Report out several lines of text that describes driver internal state. |
| 330 | Results are written into the passed-in buffer. */ |
| 331 | unsigned int pvr2_hdw_state_report(struct pvr2_hdw *hdw, |
| 332 | char *buf_ptr,unsigned int buf_size); |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 333 | |
| 334 | /* Cause modules to log their state once */ |
| 335 | void pvr2_hdw_trigger_module_log(struct pvr2_hdw *hdw); |
| 336 | |
| 337 | /* Cause encoder firmware to be uploaded into the device. This is normally |
| 338 | done autonomously, but the interface is exported here because it is also |
| 339 | a debugging aid. */ |
| 340 | int pvr2_upload_firmware2(struct pvr2_hdw *hdw); |
| 341 | |
Mike Isely | d855497 | 2006-06-26 20:58:46 -0300 | [diff] [blame] | 342 | #endif /* __PVRUSB2_HDW_H */ |
| 343 | |
| 344 | /* |
| 345 | Stuff for Emacs to see, in order to encourage consistent editing style: |
| 346 | *** Local Variables: *** |
| 347 | *** mode: c *** |
| 348 | *** fill-column: 75 *** |
| 349 | *** tab-width: 8 *** |
| 350 | *** c-basic-offset: 8 *** |
| 351 | *** End: *** |
| 352 | */ |