Home
last modified time | relevance | path

Searched refs:dif_len (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c437 u32 dif_len; in write_nic_memory() local
442 dif_len = addr - aligned_addr; in write_nic_memory()
443 if (dif_len) { in write_nic_memory()
447 for (i = dif_len; i < 4; i++, buf++) in write_nic_memory()
452 len -= dif_len; in write_nic_memory()
463 dif_len = len - aligned_len; in write_nic_memory()
465 for (i = 0; i < dif_len; i++, buf++) in write_nic_memory()
475 u32 dif_len; in read_nic_memory() local
480 dif_len = addr - aligned_addr; in read_nic_memory()
481 if (dif_len) { in read_nic_memory()
[all …]
Dipw2200.c435 u32 dif_len = reg - aligned_addr; in _ipw_write_reg8() local
439 _ipw_write8(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg8()
446 u32 dif_len = (reg - aligned_addr) & (~0x1ul); in _ipw_write_reg16() local
450 _ipw_write16(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg16()
482 u32 dif_len = addr - aligned_addr; in _ipw_read_indirect() local
492 if (unlikely(dif_len)) { in _ipw_read_indirect()
495 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--) in _ipw_read_indirect()
519 u32 dif_len = addr - aligned_addr; in _ipw_write_indirect() local
529 if (unlikely(dif_len)) { in _ipw_write_indirect()
532 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--, buf++) in _ipw_write_indirect()