Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c424 u32 dif_len; in write_nic_memory() local
429 dif_len = addr - aligned_addr; in write_nic_memory()
430 if (dif_len) { in write_nic_memory()
434 for (i = dif_len; i < 4; i++, buf++) in write_nic_memory()
439 len -= dif_len; in write_nic_memory()
450 dif_len = len - aligned_len; in write_nic_memory()
452 for (i = 0; i < dif_len; i++, buf++) in write_nic_memory()
462 u32 dif_len; in read_nic_memory() local
467 dif_len = addr - aligned_addr; in read_nic_memory()
468 if (dif_len) { in read_nic_memory()
[all …]
Dipw2200.c422 u32 dif_len = reg - aligned_addr; in _ipw_write_reg8() local
426 _ipw_write8(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg8()
433 u32 dif_len = (reg - aligned_addr) & (~0x1ul); in _ipw_write_reg16() local
437 _ipw_write16(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg16()
469 u32 dif_len = addr - aligned_addr; in _ipw_read_indirect() local
479 if (unlikely(dif_len)) { in _ipw_read_indirect()
482 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--) in _ipw_read_indirect()
506 u32 dif_len = addr - aligned_addr; in _ipw_write_indirect() local
516 if (unlikely(dif_len)) { in _ipw_write_indirect()
519 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--, buf++) in _ipw_write_indirect()