aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-prph.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 06:30:17 -0500
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 06:30:17 -0500
commit0c2c885200057c44ac5660d123e199192689ca5d (patch)
treeca4d8a59465b35247f0ea434a4ef25f260f9303b /drivers/net/wireless/iwlegacy/iwl-prph.h
parent2d09b0624a1048f6424b2c7ff60ad3a42d8036ff (diff)
iwlegacy: s/index/idx/
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-prph.h')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-prph.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-prph.h b/drivers/net/wireless/iwlegacy/iwl-prph.h
index 200f2955ab54..8128c87262e9 100644
--- a/drivers/net/wireless/iwlegacy/iwl-prph.h
+++ b/drivers/net/wireless/iwlegacy/iwl-prph.h
@@ -336,7 +336,7 @@
336 336
337/* 337/*
338 * Driver may need to update queue-empty bits after changing queue's 338 * Driver may need to update queue-empty bits after changing queue's
339 * write and read pointers (indexes) during (re-)initialization (i.e. when 339 * write and read pointers (idxes) during (re-)initialization (i.e. when
340 * scheduler is not tracking what's happening). 340 * scheduler is not tracking what's happening).
341 * Bit fields: 341 * Bit fields:
342 * 31-16: Write mask -- 1: update empty bit, 0: don't change empty bit 342 * 31-16: Write mask -- 1: update empty bit, 0: don't change empty bit
@@ -351,7 +351,7 @@
351 * This register points to BC CB for queue 0, must be on 1024-byte boundary. 351 * This register points to BC CB for queue 0, must be on 1024-byte boundary.
352 * Others are spaced by 1024 bytes. 352 * Others are spaced by 1024 bytes.
353 * Each BC CB is 2 bytes * (256 + 64) = 740 bytes, followed by 384 bytes pad. 353 * Each BC CB is 2 bytes * (256 + 64) = 740 bytes, followed by 384 bytes pad.
354 * (Index into a queue's BC CB) = (index into queue's TFD CB) = (SSN & 0xff). 354 * (Index into a queue's BC CB) = (idx into queue's TFD CB) = (SSN & 0xff).
355 * Bit fields: 355 * Bit fields:
356 * 25-00: Byte Count CB physical address [35:10], must be 1024-byte aligned. 356 * 25-00: Byte Count CB physical address [35:10], must be 1024-byte aligned.
357 */ 357 */
@@ -366,18 +366,18 @@
366 */ 366 */
367#define IL49_SCD_TXFACT (IL49_SCD_START_OFFSET + 0x1c) 367#define IL49_SCD_TXFACT (IL49_SCD_START_OFFSET + 0x1c)
368/* 368/*
369 * Queue (x) Write Pointers (indexes, really!), one for each Tx queue. 369 * Queue (x) Write Pointers (idxes, really!), one for each Tx queue.
370 * Initialized and updated by driver as new TFDs are added to queue. 370 * Initialized and updated by driver as new TFDs are added to queue.
371 * NOTE: If using Block Ack, index must correspond to frame's 371 * NOTE: If using Block Ack, idx must correspond to frame's
372 * Start Sequence Number; index = (SSN & 0xff) 372 * Start Sequence Number; idx = (SSN & 0xff)
373 * NOTE: Alternative to HBUS_TARG_WRPTR, which is what Linux driver uses? 373 * NOTE: Alternative to HBUS_TARG_WRPTR, which is what Linux driver uses?
374 */ 374 */
375#define IL49_SCD_QUEUE_WRPTR(x) (IL49_SCD_START_OFFSET + 0x24 + (x) * 4) 375#define IL49_SCD_QUEUE_WRPTR(x) (IL49_SCD_START_OFFSET + 0x24 + (x) * 4)
376 376
377/* 377/*
378 * Queue (x) Read Pointers (indexes, really!), one for each Tx queue. 378 * Queue (x) Read Pointers (idxes, really!), one for each Tx queue.
379 * For FIFO mode, index indicates next frame to transmit. 379 * For FIFO mode, idx indicates next frame to transmit.
380 * For Scheduler-ACK mode, index indicates first frame in Tx win. 380 * For Scheduler-ACK mode, idx indicates first frame in Tx win.
381 * Initialized by driver, updated by scheduler. 381 * Initialized by driver, updated by scheduler.
382 */ 382 */
383#define IL49_SCD_QUEUE_RDPTR(x) (IL49_SCD_START_OFFSET + 0x64 + (x) * 4) 383#define IL49_SCD_QUEUE_RDPTR(x) (IL49_SCD_START_OFFSET + 0x64 + (x) * 4)
@@ -395,7 +395,7 @@
395 395
396/* 396/*
397 * Select which queues interrupt driver when scheduler increments 397 * Select which queues interrupt driver when scheduler increments
398 * a queue's read pointer (index). 398 * a queue's read pointer (idx).
399 * Bit fields: 399 * Bit fields:
400 * 31-16: Reserved 400 * 31-16: Reserved
401 * 15-00: Interrupt enable, one bit for each queue -- 1: enabled, 0: disabled 401 * 15-00: Interrupt enable, one bit for each queue -- 1: enabled, 0: disabled