/drivers/mtd/ |
D | ftl.c | 799 uint32_t old_addr; in set_bam_entry() local 815 (u_char *)&old_addr); in set_bam_entry() 820 old_addr = le32_to_cpu(old_addr); in set_bam_entry() 822 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry() 823 ((virt_addr == 0) && (BLOCK_TYPE(old_addr) != BLOCK_DATA)) || in set_bam_entry() 824 (!BLOCK_DELETED(virt_addr) && (old_addr != 0xfffffffe))) { in set_bam_entry() 829 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry() 837 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { in set_bam_entry() 844 le32_to_cpu(part->bam_cache[blk]), old_addr); in set_bam_entry() 865 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local [all …]
|
D | rfd_ftl.c | 545 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted() argument 552 block = old_addr / part->block_size; in mark_sector_deleted() 553 offset = (old_addr % part->block_size) / SECTOR_SIZE - in mark_sector_deleted() 601 static int do_writesect(struct mtd_blktrans_dev *dev, u_long sector, char *buf, ulong *old_addr) in do_writesect() argument 614 rc = find_writable_block(part, old_addr); in do_writesect() 670 u_long old_addr; in rfd_ftl_writesect() local 686 old_addr = part->sector_map[sector]; in rfd_ftl_writesect() 692 rc = do_writesect(dev, sector, buf, &old_addr); in rfd_ftl_writesect() 701 if (old_addr != -1) in rfd_ftl_writesect() 702 rc = mark_sector_deleted(part, old_addr); in rfd_ftl_writesect()
|
/drivers/firmware/efi/libstub/ |
D | file.c | 191 unsigned long old_addr = alloc_addr; in handle_cmdline_files() local 207 if (old_addr != 0) { in handle_cmdline_files() 214 memcpy((void *)alloc_addr, (void *)old_addr, alloc_size); in handle_cmdline_files() 215 efi_free(alloc_size, old_addr); in handle_cmdline_files()
|
/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 296 struct mac_address *old_addr, *tmp; in set_multi() local 304 list_for_each_entry_safe(old_addr, tmp, &priv->mc_addr_list, list) { in set_multi() 305 addr = (enet_addr_t *)old_addr->addr; in set_multi() 310 list_del(&old_addr->list); in set_multi() 311 kfree(old_addr); in set_multi()
|
/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 383 int active, old_addr; in snd_saa7134_capsrc_set() local 393 old_addr = chip->capture_source_addr; in snd_saa7134_capsrc_set() 397 change = old_addr != addr || in snd_saa7134_capsrc_set() 476 if (old_addr != MIXER_ADDR_UNSELECTED && old_addr != addr) in snd_saa7134_capsrc_set() 479 &chip->capture_ctl[old_addr]->id); in snd_saa7134_capsrc_set()
|
/drivers/media/rc/ |
D | nuvoton-cir.c | 154 unsigned long old_addr; in nvt_set_ioaddr() local 156 old_addr = nvt_cr_read(nvt, CR_CIR_BASE_ADDR_HI) << 8; in nvt_set_ioaddr() 157 old_addr |= nvt_cr_read(nvt, CR_CIR_BASE_ADDR_LO); in nvt_set_ioaddr() 159 if (old_addr) in nvt_set_ioaddr() 160 *ioaddr = old_addr; in nvt_set_ioaddr()
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 167 unsigned char old_addr[ETH_ALEN]; in qtnf_netdev_set_mac_address() local 169 memcpy(old_addr, sa->sa_data, sizeof(old_addr)); in qtnf_netdev_set_mac_address() 182 memcpy(ndev->dev_addr, old_addr, ETH_ALEN); in qtnf_netdev_set_mac_address()
|
/drivers/dma/ppc4xx/ |
D | adma.c | 821 dma_addr_t old_addr = srcs[i-1]; in ppc440spe_dma2_pq_slot_count() local 824 if (cur_addr == old_addr + len) { in ppc440spe_dma2_pq_slot_count() 830 } else if (old_addr == cur_addr + len) { in ppc440spe_dma2_pq_slot_count() 842 && cur_addr != old_addr - len)) { in ppc440spe_dma2_pq_slot_count() 846 } else if (cur_addr == old_addr + len*order) { in ppc440spe_dma2_pq_slot_count() 850 } else if (cur_addr == old_addr + 2*len) { in ppc440spe_dma2_pq_slot_count() 854 } else if (cur_addr == old_addr + 3*len) { in ppc440spe_dma2_pq_slot_count() 1271 char *old_addr = page_address(ppc440spe_rxor_srcs[i - 1]); in ppc440spe_can_rxor() local 1275 if (cur_addr == old_addr + len) { in ppc440spe_can_rxor() 1279 } else if (old_addr == cur_addr + len) { in ppc440spe_can_rxor() [all …]
|
/drivers/net/ethernet/natsemi/ |
D | sonic.c | 523 dma_addr_t old_addr, dma_addr_t new_addr) in sonic_update_rra() argument 536 if (buf == old_addr) in sonic_update_rra() 542 WARN_ONCE(buf != old_addr, "failed to find resource!\n"); in sonic_update_rra()
|
/drivers/net/ethernet/sfc/ |
D | efx_common.c | 172 u8 old_addr[6]; in efx_set_mac_address() local 183 ether_addr_copy(old_addr, net_dev->dev_addr); in efx_set_mac_address() 188 eth_hw_addr_set(net_dev, old_addr); in efx_set_mac_address()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mbx.c | 283 const u8 *old_addr = (const u8 *) in hclge_set_vf_uc_mac_addr() local 297 status = hclge_update_mac_node_for_dev_addr(vport, old_addr, in hclge_set_vf_uc_mac_addr()
|
D | hclge_main.h | 1122 const u8 *old_addr, const u8 *new_addr);
|
D | hclge_main.c | 9404 const u8 *old_addr, const u8 *new_addr) in hclge_update_mac_node_for_dev_addr() argument 9430 if (old_addr && !ether_addr_equal(old_addr, new_addr)) { in hclge_update_mac_node_for_dev_addr() 9431 old_node = hclge_find_mac_node(list, old_addr); in hclge_update_mac_node_for_dev_addr() 9454 unsigned char *old_addr = NULL; in hclge_set_mac_addr() local 9477 old_addr = hdev->hw.mac.mac_addr; in hclge_set_mac_addr() 9480 ret = hclge_update_mac_node_for_dev_addr(vport, old_addr, new_addr); in hclge_set_mac_addr() 9489 hclge_pause_addr_cfg(hdev, old_addr); in hclge_set_mac_addr()
|
/drivers/s390/net/ |
D | qeth_l2_main.c | 357 u8 old_addr[ETH_ALEN]; in qeth_l2_set_mac_address() local 379 ether_addr_copy(old_addr, dev->dev_addr); in qeth_l2_set_mac_address() 383 qeth_l2_remove_mac(card, old_addr); in qeth_l2_set_mac_address()
|
/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 2153 u8 old_addr[6]; in ef4_set_mac_address() local 2164 ether_addr_copy(old_addr, net_dev->dev_addr); in ef4_set_mac_address() 2169 eth_hw_addr_set(net_dev, old_addr); in ef4_set_mac_address()
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 439 struct sockaddr old_addr; in dpaa_set_mac_address() local 444 memcpy(old_addr.sa_data, net_dev->dev_addr, ETH_ALEN); in dpaa_set_mac_address() 460 eth_mac_addr(net_dev, &old_addr); in dpaa_set_mac_address()
|
/drivers/misc/habanalabs/goya/ |
D | goya.c | 506 u64 old_addr = addr; in goya_set_ddr_bar_base() local 510 return old_addr; in goya_set_ddr_bar_base() 521 old_addr = goya->ddr_bar_cur_addr; in goya_set_ddr_bar_base() 525 return old_addr; in goya_set_ddr_bar_base()
|
/drivers/infiniband/core/ |
D | cma.c | 3272 struct sockaddr_storage old_addr; in addr_handler() local 3285 memcpy(&old_addr, addr, rdma_addr_size(addr)); in addr_handler() 3298 memcpy(addr, &old_addr, in addr_handler() 3299 rdma_addr_size((struct sockaddr *)&old_addr)); in addr_handler()
|
/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 687 u64 old_addr = addr; in gaudi_set_hbm_bar_base() local 691 return old_addr; in gaudi_set_hbm_bar_base() 705 old_addr = gaudi->hbm_bar_cur_addr; in gaudi_set_hbm_bar_base() 709 return old_addr; in gaudi_set_hbm_bar_base()
|