| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A D | nv10.c | 393 struct nv10_gr_chan *chan[32]; member 431 nv17_gr_mthd_lma_window(struct nv10_gr_chan *chan, u32 mthd, u32 data) in nv17_gr_mthd_lma_window() 504 nv17_gr_mthd_lma_enable(struct nv10_gr_chan *chan, u32 mthd, u32 data) in nv17_gr_mthd_lma_enable() 516 nv17_gr_mthd_celcius(struct nv10_gr_chan *chan, u32 mthd, u32 data) in nv17_gr_mthd_celcius() 531 nv10_gr_mthd(struct nv10_gr_chan *chan, u8 class, u32 mthd, u32 data) in nv10_gr_mthd() 550 struct nv10_gr_chan *chan = NULL; in nv10_gr_channel() local 560 nv10_gr_save_pipe(struct nv10_gr_chan *chan) in nv10_gr_save_pipe() 579 nv10_gr_load_pipe(struct nv10_gr_chan *chan) in nv10_gr_load_pipe() 630 nv10_gr_create_pipe(struct nv10_gr_chan *chan) in nv10_gr_create_pipe() 812 nv10_gr_load_dma_vtxbuf(struct nv10_gr_chan *chan, int chid, u32 inst) in nv10_gr_load_dma_vtxbuf() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/ |
| H A D | radeon_i2c.c | 20 struct radeon_i2c_chan *chan = data; in radeon_gpio_setscl() local 34 struct radeon_i2c_chan *chan = data; in radeon_gpio_setsda() local 48 struct radeon_i2c_chan *chan = data; in radeon_gpio_getscl() local 59 struct radeon_i2c_chan *chan = data; in radeon_gpio_getsda() local 68 static int radeon_setup_i2c_bus(struct radeon_i2c_chan *chan, const char *name) in radeon_setup_i2c_bus()
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A D | xgene-dma.c | 193 #define chan_dbg(chan, fmt, arg...) \ argument 195 #define chan_err(chan, fmt, arg...) \ argument 311 struct xgene_dma_chan chan[XGENE_DMA_MAX_CHANNEL]; member 413 static void xgene_dma_prep_xor_desc(struct xgene_dma_chan *chan, in xgene_dma_prep_xor_desc() 459 struct xgene_dma_chan *chan; in xgene_dma_tx_submit() local 480 static void xgene_dma_clean_descriptor(struct xgene_dma_chan *chan, in xgene_dma_clean_descriptor() 489 struct xgene_dma_chan *chan) in xgene_dma_alloc_descriptor() 517 static void xgene_dma_clean_completed_descriptor(struct xgene_dma_chan *chan) in xgene_dma_clean_completed_descriptor() 536 static void xgene_dma_run_tx_complete_actions(struct xgene_dma_chan *chan, in xgene_dma_run_tx_complete_actions() 570 static void xgene_dma_clean_running_descriptor(struct xgene_dma_chan *chan, in xgene_dma_clean_running_descriptor() [all …]
|
| H A D | mmp_pdma.c | 92 struct dma_chan chan; member 297 static void start_pending_queue(struct mmp_pdma_chan *chan) in start_pending_queue() 343 struct mmp_pdma_chan *chan = to_mmp_pdma_chan(tx->chan); in mmp_pdma_tx_submit() local 364 mmp_pdma_alloc_descriptor(struct mmp_pdma_chan *chan) in mmp_pdma_alloc_descriptor() 394 struct mmp_pdma_chan *chan = to_mmp_pdma_chan(dchan); in mmp_pdma_alloc_chan_resources() local 415 static void mmp_pdma_free_desc_list(struct mmp_pdma_chan *chan, in mmp_pdma_free_desc_list() 428 struct mmp_pdma_chan *chan = to_mmp_pdma_chan(dchan); in mmp_pdma_free_chan_resources() local 449 struct mmp_pdma_chan *chan; in mmp_pdma_prep_memcpy() local 530 struct mmp_pdma_chan *chan = to_mmp_pdma_chan(dchan); in mmp_pdma_prep_slave_sg() local 611 struct mmp_pdma_chan *chan; in mmp_pdma_prep_dma_cyclic() local [all …]
|
| H A D | stm32-mdma.c | 278 struct stm32_mdma_chan chan[STM32_MDMA_MAX_CHANNELS]; member 283 struct stm32_mdma_chan *chan) in stm32_mdma_get_dev() 299 static struct device *chan2dev(struct stm32_mdma_chan *chan) in chan2dev() 336 struct stm32_mdma_chan *chan, u32 count) in stm32_mdma_alloc_desc() 369 struct stm32_mdma_chan *chan = to_stm32_mdma_chan(vdesc->tx.chan); in stm32_mdma_desc_free() local 378 static int stm32_mdma_get_width(struct stm32_mdma_chan *chan, in stm32_mdma_get_width() 425 static int stm32_mdma_disable_chan(struct stm32_mdma_chan *chan) in stm32_mdma_disable_chan() 454 static void stm32_mdma_stop(struct stm32_mdma_chan *chan) in stm32_mdma_stop() 493 static int stm32_mdma_set_xfer_param(struct stm32_mdma_chan *chan, in stm32_mdma_set_xfer_param() 672 static void stm32_mdma_dump_hwdesc(struct stm32_mdma_chan *chan, in stm32_mdma_dump_hwdesc() [all …]
|
| H A D | mxs-dma.c | 111 struct dma_chan chan; member 179 static struct mxs_dma_chan *to_mxs_dma_chan(struct dma_chan *chan) in to_mxs_dma_chan() 184 static void mxs_dma_reset_chan(struct dma_chan *chan) in mxs_dma_reset_chan() 233 static void mxs_dma_enable_chan(struct dma_chan *chan) in mxs_dma_enable_chan() 256 static void mxs_dma_disable_chan(struct dma_chan *chan) in mxs_dma_disable_chan() 263 static int mxs_dma_pause_chan(struct dma_chan *chan) in mxs_dma_pause_chan() 281 static int mxs_dma_resume_chan(struct dma_chan *chan) in mxs_dma_resume_chan() 328 int chan = mxs_dma_irq_to_chan(mxs_dma, irq); in mxs_dma_int_handler() local 396 static int mxs_dma_alloc_chan_resources(struct dma_chan *chan) in mxs_dma_alloc_chan_resources() 438 static void mxs_dma_free_chan_resources(struct dma_chan *chan) in mxs_dma_free_chan_resources() [all …]
|
| /OK3568_Linux_fs/kernel/sound/drivers/opl3/ |
| H A D | opl3_midi.c | 47 struct snd_midi_channel *chan) in snd_opl3_calc_volume() 80 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch() 125 struct snd_midi_channel *chan) { in opl3_get_voice() 276 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on() 655 struct snd_midi_channel *chan) in snd_opl3_note_off_unsafe() 692 struct snd_midi_channel *chan) in snd_opl3_note_off() 705 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_key_press() 716 void snd_opl3_terminate_note(void *p, int note, struct snd_midi_channel *chan) in snd_opl3_terminate_note() 772 static void snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *chan) in snd_opl3_pitch_ctrl() 802 void snd_opl3_control(void *p, int type, struct snd_midi_channel *chan) in snd_opl3_control() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/riva/ |
| H A D | rivafb-i2c.c | 29 struct riva_i2c_chan *chan = data; in riva_gpio_setscl() local 47 struct riva_i2c_chan *chan = data; in riva_gpio_setsda() local 65 struct riva_i2c_chan *chan = data; in riva_gpio_getscl() local 78 struct riva_i2c_chan *chan = data; in riva_gpio_getsda() local 89 static int riva_setup_i2c_bus(struct riva_i2c_chan *chan, const char *name, in riva_setup_i2c_bus()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | dmanv04.c | 38 struct nv04_fifo_chan *chan = nv04_fifo_chan(base); in nv04_fifo_dma_object_dtor() local 50 struct nv04_fifo_chan *chan = nv04_fifo_chan(base); in nv04_fifo_dma_object_ctor() local 76 struct nv04_fifo_chan *chan = nv04_fifo_chan(base); in nv04_fifo_dma_fini() local 129 struct nv04_fifo_chan *chan = nv04_fifo_chan(base); in nv04_fifo_dma_init() local 142 struct nv04_fifo_chan *chan = nv04_fifo_chan(base); in nv04_fifo_dma_dtor() local 173 struct nv04_fifo_chan *chan = NULL; in nv04_fifo_dma_new() local
|
| /OK3568_Linux_fs/kernel/drivers/mailbox/ |
| H A D | arm_mhu.c | 36 struct mbox_chan chan[MHU_CHANS]; member 42 struct mbox_chan *chan = p; in mhu_rx_interrupt() local 57 static bool mhu_last_tx_done(struct mbox_chan *chan) in mhu_last_tx_done() 65 static int mhu_send_data(struct mbox_chan *chan, void *data) in mhu_send_data() 75 static int mhu_startup(struct mbox_chan *chan) in mhu_startup() 95 static void mhu_shutdown(struct mbox_chan *chan) in mhu_shutdown()
|
| H A D | platform_mhu.c | 42 struct mbox_chan chan[MHU_CHANS]; member 48 struct mbox_chan *chan = p; in platform_mhu_rx_interrupt() local 63 static bool platform_mhu_last_tx_done(struct mbox_chan *chan) in platform_mhu_last_tx_done() 71 static int platform_mhu_send_data(struct mbox_chan *chan, void *data) in platform_mhu_send_data() 81 static int platform_mhu_startup(struct mbox_chan *chan) in platform_mhu_startup() 101 static void platform_mhu_shutdown(struct mbox_chan *chan) in platform_mhu_shutdown()
|
| H A D | arm_mhu_db.c | 76 static void mhu_db_mbox_clear_irq(struct mbox_chan *chan) in mhu_db_mbox_clear_irq() 99 struct mbox_chan *chan = NULL; in mhu_db_mbox_irq_to_channel() local 126 struct mbox_chan *chan; in mhu_db_mbox_rx_handler() local 138 static bool mhu_db_last_tx_done(struct mbox_chan *chan) in mhu_db_last_tx_done() 149 static int mhu_db_send_data(struct mbox_chan *chan, void *data) in mhu_db_send_data() 160 static int mhu_db_startup(struct mbox_chan *chan) in mhu_db_startup() 166 static void mhu_db_shutdown(struct mbox_chan *chan) in mhu_db_shutdown() 192 struct mbox_chan *chan; in mhu_db_mbox_xlate() local
|
| /OK3568_Linux_fs/u-boot/drivers/ddr/marvell/axp/ |
| H A D | xor.c | 141 static int mv_xor_ctrl_set(u32 chan, u32 xor_ctrl) in mv_xor_ctrl_set() 155 int mv_xor_mem_init(u32 chan, u32 start_ptr, u32 block_size, u32 init_val_high, in mv_xor_mem_init() 241 int mv_xor_transfer(u32 chan, int xor_type, u32 xor_chain_ptr) in mv_xor_transfer() 341 int mv_xor_state_get(u32 chan) in mv_xor_state_get() 390 static int mv_xor_cmd_set(u32 chan, int command) in mv_xor_cmd_set()
|
| /OK3568_Linux_fs/kernel/sound/synth/emux/ |
| H A D | emux_synth.c | 46 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_on() 145 snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_off() 222 snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_key_press() 255 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update) in snd_emux_update_channel() 311 snd_emux_control(void *p, int type, struct snd_midi_channel *chan) in snd_emux_control() 364 terminate_note1(struct snd_emux *emu, int note, struct snd_midi_channel *chan, int free) in terminate_note1() 385 snd_emux_terminate_note(void *p, int note, struct snd_midi_channel *chan) in snd_emux_terminate_note() 641 struct snd_midi_channel *chan = vp->chan; in calc_pan() local 744 struct snd_midi_channel *chan = vp->chan; in calc_volume() local 813 struct snd_midi_channel *chan = vp->chan; in calc_pitch() local [all …]
|
| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | 6lowpan.c | 34 struct l2cap_chan *chan; member 58 struct l2cap_chan *chan; member 135 __peer_lookup_chan(struct lowpan_btle_dev *dev, struct l2cap_chan *chan) in __peer_lookup_chan() 373 static int chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb) in chan_recv_cb() 457 static int send_pkt(struct l2cap_chan *chan, struct sk_buff *skb, in send_pkt() 647 struct l2cap_chan *chan; in chan_create() local 662 static struct l2cap_chan *add_peer_chan(struct l2cap_chan *chan, in add_peer_chan() 692 static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev) in setup_netdev() 741 static inline void chan_ready_cb(struct l2cap_chan *chan) in chan_ready_cb() 767 struct l2cap_chan *chan; in chan_new_conn_cb() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/ |
| H A D | ar9003_phy.c | 149 static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) in ar9003_hw_set_channel() 239 struct ath9k_channel *chan) in ar9003_hw_spur_mitigate_mrc_cck() 470 struct ath9k_channel *chan, in ar9003_hw_spur_ofdm_work() 521 struct ath9k_channel *chan) in ar9003_hw_spur_mitigate_ofdm() 578 struct ath9k_channel *chan) in ar9003_hw_spur_mitigate() 586 struct ath9k_channel *chan) in ar9003_hw_compute_pll_control_soc() 603 struct ath9k_channel *chan) in ar9003_hw_compute_pll_control() 620 struct ath9k_channel *chan) in ar9003_hw_set_channel_regs() 660 struct ath9k_channel *chan) in ar9003_hw_init_bb() 779 struct ath9k_channel *chan) in ar9550_hw_get_modes_txgain_index() [all …]
|
| H A D | ar5008_phy.c | 210 static int ar5008_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) in ar5008_hw_set_channel() 283 struct ath9k_channel *chan, int bin) in ar5008_hw_cmn_spur_mitigate() 442 struct ath9k_channel *chan) in ar5008_hw_spur_mitigate() 534 struct ath9k_channel *chan, in ar5008_hw_set_rf_regs() 588 struct ath9k_channel *chan) in ar5008_hw_init_bb() 645 struct ath9k_channel *chan) in ar5008_hw_override_ini() 698 struct ath9k_channel *chan) in ar5008_hw_set_channel_regs() 732 struct ath9k_channel *chan) in ar5008_hw_process_ini() 835 static void ar5008_hw_set_rfmode(struct ath_hw *ah, struct ath9k_channel *chan) in ar5008_hw_set_rfmode() 863 struct ath9k_channel *chan) in ar5008_hw_set_delta_slope() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/dac/ |
| H A D | ad7303.c | 55 static int ad7303_write(struct ad7303_state *st, unsigned int chan, in ad7303_write() 66 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad7303_read_dac_powerdown() 75 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad7303_write_dac_powerdown() 102 struct iio_chan_spec const *chan) in ad7303_get_vref() 116 struct iio_chan_spec const *chan, int *val, int *val2, long info) in ad7303_read_raw() 143 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad7303_write_raw() 181 #define AD7303_CHANNEL(chan) { \ argument
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | dmacgv100.c | 28 gv100_disp_dmac_idle(struct nv50_disp_chan *chan) in gv100_disp_dmac_idle() 41 gv100_disp_dmac_bind(struct nv50_disp_chan *chan, in gv100_disp_dmac_bind() 50 gv100_disp_dmac_fini(struct nv50_disp_chan *chan) in gv100_disp_dmac_fini() 62 gv100_disp_dmac_init(struct nv50_disp_chan *chan) in gv100_disp_dmac_init()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/nvidia/ |
| H A D | nv_i2c.c | 30 struct nvidia_i2c_chan *chan = data; in nvidia_gpio_setscl() local 46 struct nvidia_i2c_chan *chan = data; in nvidia_gpio_setsda() local 62 struct nvidia_i2c_chan *chan = data; in nvidia_gpio_getscl() local 74 struct nvidia_i2c_chan *chan = data; in nvidia_gpio_getsda() local 84 static int nvidia_setup_i2c_bus(struct nvidia_i2c_chan *chan, const char *name, in nvidia_setup_i2c_bus()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/ |
| H A D | nv10_fence.c | 47 struct nouveau_channel *prev, struct nouveau_channel *chan) in nv10_fence_sync() 53 nv10_fence_read(struct nouveau_channel *chan) in nv10_fence_read() 59 nv10_fence_context_del(struct nouveau_channel *chan) in nv10_fence_context_del() 69 nv10_fence_context_new(struct nouveau_channel *chan) in nv10_fence_context_new()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/ngene/ |
| H A D | ngene-dvb.c | 40 struct ngene_channel *chan = dvbdev->priv; in ts_write() local 57 struct ngene_channel *chan = dvbdev->priv; in ts_read() local 80 struct ngene_channel *chan = dvbdev->priv; in ts_poll() local 162 struct ngene_channel *chan = priv; in tsin_exchange() local 255 struct ngene_channel *chan = priv; in tsout_exchange() local 278 struct ngene_channel *chan = dvbdmx->priv; in ngene_start_feed() local 291 struct ngene_channel *chan = dvbdmx->priv; in ngene_stop_feed() local
|
| /OK3568_Linux_fs/kernel/drivers/firewire/ |
| H A D | nosy.h | 46 #define PCI_INT_DMA_HLT(chan) (1 << (chan * 2)) argument 47 #define PCI_INT_DMA_PCL(chan) (1 << (chan * 2 + 1)) argument 59 #define DMA_BREG(base, chan) (base + chan * 0x20) argument 60 #define DMA_SREG(base, chan) (base + chan * 0x10) argument 100 #define DMA_PREV_PCL(chan) (DMA_BREG(DMA0_PREV_PCL, chan)) argument 107 #define DMA_CURRENT_PCL(chan) (DMA_BREG(DMA0_CURRENT_PCL, chan)) argument 114 #define DMA_CHAN_STAT(chan) (DMA_BREG(DMA0_CHAN_STAT, chan)) argument 128 #define DMA_CHAN_CTRL(chan) (DMA_BREG(DMA0_CHAN_CTRL, chan)) argument 139 #define DMA_READY(chan) (DMA_BREG(DMA0_READY, chan)) argument 157 #define DMA_WORD0_CMP_VALUE(chan) (DMA_SREG(DMA0_WORD0_CMP_VALUE, chan)) argument [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ram/rockchip/ |
| H A D | sdram_rk3399.c | 38 struct chan_info chan[2]; member 139 static void set_memory_map(const struct chan_info *chan, u32 channel, in set_memory_map() 195 static void phy_io_config(const struct chan_info *chan, in phy_io_config() 535 static void set_ds_odt(const struct chan_info *chan, in set_ds_odt() 894 static void set_lp4_dq_odt(const struct chan_info *chan, in set_lp4_dq_odt() 953 static void set_lp4_ca_odt(const struct chan_info *chan, in set_lp4_ca_odt() 1012 static void set_lp4_MR3(const struct chan_info *chan, in set_lp4_MR3() 1070 static void set_lp4_MR12(const struct chan_info *chan, in set_lp4_MR12() 1130 static void set_lp4_MR14(const struct chan_info *chan, in set_lp4_MR14() 1185 static void modify_param(const struct chan_info *chan, in modify_param() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/intelfb/ |
| H A D | intelfb_i2c.c | 56 struct intelfb_i2c_chan *chan = data; in intelfb_gpio_setscl() local 67 struct intelfb_i2c_chan *chan = data; in intelfb_gpio_setsda() local 78 struct intelfb_i2c_chan *chan = data; in intelfb_gpio_getscl() local 90 struct intelfb_i2c_chan *chan = data; in intelfb_gpio_getsda() local 101 struct intelfb_i2c_chan *chan, in intelfb_setup_i2c_bus()
|