Home
last modified time | relevance | path

Searched refs:old_addr (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/
Dftl.c838 uint32_t old_addr; in set_bam_entry() local
854 (u_char *)&old_addr); in set_bam_entry()
859 old_addr = le32_to_cpu(old_addr); in set_bam_entry()
861 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry()
862 ((virt_addr == 0) && (BLOCK_TYPE(old_addr) != BLOCK_DATA)) || in set_bam_entry()
863 (!BLOCK_DELETED(virt_addr) && (old_addr != 0xfffffffe))) { in set_bam_entry()
868 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry()
876 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { in set_bam_entry()
883 le32_to_cpu(part->bam_cache[blk]), old_addr); in set_bam_entry()
904 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local
[all …]
Drfd_ftl.c583 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted() argument
590 block = old_addr / part->block_size; in mark_sector_deleted()
591 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted()
639 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect() argument
652 rc = find_writable_block(part, old_addr); in do_writesect()
708 u_long old_addr; in rfd_ftl_writesect() local
724 old_addr = part->sector_map[sector]; in rfd_ftl_writesect()
730 rc = do_writesect(dev, sector, buf, &old_addr); in rfd_ftl_writesect()
739 if (old_addr != -1) in rfd_ftl_writesect()
740 rc = mark_sector_deleted(part, old_addr); in rfd_ftl_writesect()
/drivers/media/pci/saa7134/
Dsaa7134-alsa.c396 int active, old_addr; in snd_saa7134_capsrc_set() local
406 old_addr = chip->capture_source_addr; in snd_saa7134_capsrc_set()
410 change = old_addr != addr || in snd_saa7134_capsrc_set()
489 if (old_addr != MIXER_ADDR_UNSELECTED && old_addr != addr) in snd_saa7134_capsrc_set()
492 &chip->capture_ctl[old_addr]->id); in snd_saa7134_capsrc_set()
/drivers/dma/ppc4xx/
Dadma.c835 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count() local
838 if (cur_addr == old_addr + len) { in ppc440spe_dma2_pq_slot_count()
844 } else if (old_addr == cur_addr + len) { in ppc440spe_dma2_pq_slot_count()
856 && cur_addr != old_addr - len)) { in ppc440spe_dma2_pq_slot_count()
860 } else if (cur_addr == old_addr + len*order) { in ppc440spe_dma2_pq_slot_count()
864 } else if (cur_addr == old_addr + 2*len) { in ppc440spe_dma2_pq_slot_count()
868 } else if (cur_addr == old_addr + 3*len) { in ppc440spe_dma2_pq_slot_count()
1285 char *old_addr = page_address(ppc440spe_rxor_srcs[i - 1]); in ppc440spe_can_rxor() local
1289 if (cur_addr == old_addr + len) { in ppc440spe_can_rxor()
1293 } else if (old_addr == cur_addr + len) { in ppc440spe_can_rxor()
[all …]
/drivers/net/ethernet/sfc/
Defx.c2255 u8 old_addr[6]; in efx_set_mac_address() local
2266 ether_addr_copy(old_addr, net_dev->dev_addr); in efx_set_mac_address()
2271 ether_addr_copy(net_dev->dev_addr, old_addr); in efx_set_mac_address()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c5069 u8 old_addr[ETH_ALEN]; in ixgbe_reset() local
5106 memcpy(old_addr, &adapter->mac_table[0].addr, netdev->addr_len); in ixgbe_reset()
5108 ixgbe_mac_set_default_filter(adapter, old_addr); in ixgbe_reset()