Home
last modified time | relevance | path

Searched refs:crd (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/sound/drivers/
Dmtpav.c680 struct mtpav *crd = card->private_data; in snd_mtpav_free() local
683 spin_lock_irqsave(&crd->spinlock, flags); in snd_mtpav_free()
684 if (crd->istimer > 0) in snd_mtpav_free()
685 snd_mtpav_remove_output_timer(crd); in snd_mtpav_free()
686 spin_unlock_irqrestore(&crd->spinlock, flags); in snd_mtpav_free()
687 if (crd->irq >= 0) in snd_mtpav_free()
688 free_irq(crd->irq, (void *)crd); in snd_mtpav_free()
689 release_and_free_resource(crd->res_port); in snd_mtpav_free()
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1002 u32 crd; member
1016 u32 init_crd, crd, crd_start, crd_freed, crd_freed_start; in bnx2x_pbf_pN_buf_flushed() local
1020 crd = crd_start = REG_RD(bp, regs->crd); in bnx2x_pbf_pN_buf_flushed()
1024 DP(BNX2X_MSG_SP, "CREDIT[%d] : s:%x\n", regs->pN, crd); in bnx2x_pbf_pN_buf_flushed()
1027 while ((crd != init_crd) && ((u32)SUB_S32(crd_freed, crd_freed_start) < in bnx2x_pbf_pN_buf_flushed()
1031 crd = REG_RD(bp, regs->crd); in bnx2x_pbf_pN_buf_flushed()
1037 regs->pN, crd); in bnx2x_pbf_pN_buf_flushed()
Dbnx2x_link.c2879 u32 init_crd, crd; in bnx2x_pbf_update() local
2887 crd = REG_RD(bp, PBF_REG_P0_CREDIT + port*8); in bnx2x_pbf_update()
2888 DP(NETIF_MSG_LINK, "init_crd 0x%x crd 0x%x\n", init_crd, crd); in bnx2x_pbf_update()
2890 while ((init_crd != crd) && count) { in bnx2x_pbf_update()
2893 crd = REG_RD(bp, PBF_REG_P0_CREDIT + port*8); in bnx2x_pbf_update()
2896 crd = REG_RD(bp, PBF_REG_P0_CREDIT + port*8); in bnx2x_pbf_update()
2897 if (init_crd != crd) { in bnx2x_pbf_update()
2899 init_crd, crd); in bnx2x_pbf_update()