Lines Matching refs:hw_key_idx
284 key->hw_key_idx += reg ? ffz(reg) : 0; in rt73usb_config_shared_key()
296 reg = SHARED_KEY_ENTRY(key->hw_key_idx); in rt73usb_config_shared_key()
307 if (key->hw_key_idx < 8) { in rt73usb_config_shared_key()
308 field.bit_offset = (3 * key->hw_key_idx); in rt73usb_config_shared_key()
315 field.bit_offset = (3 * (key->hw_key_idx - 8)); in rt73usb_config_shared_key()
341 mask = 1 << key->hw_key_idx; in rt73usb_config_shared_key()
374 key->hw_key_idx = 32; in rt73usb_config_pairwise_key()
380 key->hw_key_idx += reg ? ffz(reg) : 0; in rt73usb_config_pairwise_key()
392 reg = PAIRWISE_KEY_ENTRY(key->hw_key_idx); in rt73usb_config_pairwise_key()
403 reg = PAIRWISE_TA_ENTRY(key->hw_key_idx); in rt73usb_config_pairwise_key()
434 if (key->hw_key_idx < 32) { in rt73usb_config_pairwise_key()
435 mask = 1 << key->hw_key_idx; in rt73usb_config_pairwise_key()
444 mask = 1 << (key->hw_key_idx - 32); in rt73usb_config_pairwise_key()