• Home
  • Raw
  • Download

Lines Matching refs:chan_dev

25 	struct device chan_dev;  member
295 tx_chn->common.chan_dev.class = &k3_udma_glue_devclass; in k3_udma_glue_request_tx_chn()
296 tx_chn->common.chan_dev.parent = xudma_get_device(tx_chn->common.udmax); in k3_udma_glue_request_tx_chn()
297 dev_set_name(&tx_chn->common.chan_dev, "tchan%d-0x%04x", in k3_udma_glue_request_tx_chn()
299 ret = device_register(&tx_chn->common.chan_dev); in k3_udma_glue_request_tx_chn()
302 put_device(&tx_chn->common.chan_dev); in k3_udma_glue_request_tx_chn()
303 tx_chn->common.chan_dev.parent = NULL; in k3_udma_glue_request_tx_chn()
309 tx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_tx_chn()
310 dma_coerce_mask_and_coherent(&tx_chn->common.chan_dev, in k3_udma_glue_request_tx_chn()
393 if (tx_chn->common.chan_dev.parent) { in k3_udma_glue_release_tx_chn()
394 device_unregister(&tx_chn->common.chan_dev); in k3_udma_glue_release_tx_chn()
395 tx_chn->common.chan_dev.parent = NULL; in k3_udma_glue_release_tx_chn()
569 return &tx_chn->common.chan_dev; in k3_udma_glue_tx_get_dma_device()
914 rx_chn->common.chan_dev.class = &k3_udma_glue_devclass; in k3_udma_glue_request_rx_chn_priv()
915 rx_chn->common.chan_dev.parent = xudma_get_device(rx_chn->common.udmax); in k3_udma_glue_request_rx_chn_priv()
916 dev_set_name(&rx_chn->common.chan_dev, "rchan%d-0x%04x", in k3_udma_glue_request_rx_chn_priv()
918 ret = device_register(&rx_chn->common.chan_dev); in k3_udma_glue_request_rx_chn_priv()
921 put_device(&rx_chn->common.chan_dev); in k3_udma_glue_request_rx_chn_priv()
922 rx_chn->common.chan_dev.parent = NULL; in k3_udma_glue_request_rx_chn_priv()
928 rx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_rx_chn_priv()
929 dma_coerce_mask_and_coherent(&rx_chn->common.chan_dev, in k3_udma_glue_request_rx_chn_priv()
1046 rx_chn->common.chan_dev.class = &k3_udma_glue_devclass; in k3_udma_glue_request_remote_rx_chn()
1047 rx_chn->common.chan_dev.parent = xudma_get_device(rx_chn->common.udmax); in k3_udma_glue_request_remote_rx_chn()
1048 dev_set_name(&rx_chn->common.chan_dev, "rchan_remote-0x%04x", in k3_udma_glue_request_remote_rx_chn()
1050 ret = device_register(&rx_chn->common.chan_dev); in k3_udma_glue_request_remote_rx_chn()
1053 put_device(&rx_chn->common.chan_dev); in k3_udma_glue_request_remote_rx_chn()
1054 rx_chn->common.chan_dev.parent = NULL; in k3_udma_glue_request_remote_rx_chn()
1060 rx_chn->common.chan_dev.dma_coherent = true; in k3_udma_glue_request_remote_rx_chn()
1061 dma_coerce_mask_and_coherent(&rx_chn->common.chan_dev, in k3_udma_glue_request_remote_rx_chn()
1118 if (rx_chn->common.chan_dev.parent) { in k3_udma_glue_release_rx_chn()
1119 device_unregister(&rx_chn->common.chan_dev); in k3_udma_glue_release_rx_chn()
1120 rx_chn->common.chan_dev.parent = NULL; in k3_udma_glue_release_rx_chn()
1407 return &rx_chn->common.chan_dev; in k3_udma_glue_rx_get_dma_device()