Searched refs:bchan (Results 1 – 3 of 3) sorted by relevance
/drivers/dma/qcom/ |
D | bam_dma.c | 344 #define IS_BUSY(chan) (CIRC_SPACE(bchan->tail, bchan->head,\ 464 static void bam_reset_channel(struct bam_chan *bchan) in bam_reset_channel() argument 466 struct bam_device *bdev = bchan->bdev; in bam_reset_channel() 468 lockdep_assert_held(&bchan->vc.lock); in bam_reset_channel() 471 writel_relaxed(1, bam_addr(bdev, bchan->id, BAM_P_RST)); in bam_reset_channel() 472 writel_relaxed(0, bam_addr(bdev, bchan->id, BAM_P_RST)); in bam_reset_channel() 478 bchan->initialized = 0; in bam_reset_channel() 488 static void bam_chan_init_hw(struct bam_chan *bchan, in bam_chan_init_hw() argument 491 struct bam_device *bdev = bchan->bdev; in bam_chan_init_hw() 495 bam_reset_channel(bchan); in bam_chan_init_hw() [all …]
|
/drivers/dma/ti/ |
D | k3-udma.c | 287 struct udma_bchan *bchan; member 772 if (!uc->bchan && uc->config.ep_type != PSIL_EP_NATIVE) in udma_decrement_byte_counters() 791 if (!uc->bchan) { in udma_reset_counters() 1363 UDMA_RESERVE_RESOURCE(bchan); 1373 if (uc->bchan) { in bcdma_get_bchan() 1375 uc->id, uc->bchan->id); in bcdma_get_bchan() 1388 uc->bchan = __udma_reserve_bchan(ud, tpl, -1); in bcdma_get_bchan() 1389 if (IS_ERR(uc->bchan)) { in bcdma_get_bchan() 1390 ret = PTR_ERR(uc->bchan); in bcdma_get_bchan() 1391 uc->bchan = NULL; in bcdma_get_bchan() [all …]
|
/drivers/isdn/mISDN/ |
D | socket.c | 283 struct mISDNchannel *bchan, *next; in data_sock_ioctl_bound() local 297 list_for_each_entry_safe(bchan, next, in data_sock_ioctl_bound() 299 if (bchan->nr == cq.channel) { in data_sock_ioctl_bound() 300 err = bchan->ctrl(bchan, in data_sock_ioctl_bound()
|