/linux-2.6.39/drivers/i2c/busses/ |
D | i2c-sh_mobile.c | 169 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr() argument 172 data |= pd->icic; in iic_wr() 174 iowrite8(data, pd->reg + offs); in iic_wr() 177 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd() argument 179 return ioread8(pd->reg + offs); in iic_rd() 182 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr() argument 185 iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr); in iic_set_clr() 188 static void activate_ch(struct sh_mobile_i2c_data *pd) in activate_ch() argument 196 pm_runtime_get_sync(pd->dev); in activate_ch() 197 clk_enable(pd->clk); in activate_ch() [all …]
|
D | i2c-simtec.c | 49 struct simtec_i2c_data *pd = pw; in simtec_i2c_setsda() local 50 writeb(CMD_SET_SDA | (state ? STATE_SDA : 0), pd->reg); in simtec_i2c_setsda() 55 struct simtec_i2c_data *pd = pw; in simtec_i2c_setscl() local 56 writeb(CMD_SET_SCL | (state ? STATE_SCL : 0), pd->reg); in simtec_i2c_setscl() 61 struct simtec_i2c_data *pd = pw; in simtec_i2c_getsda() local 62 return readb(pd->reg) & STATE_SDA ? 1 : 0; in simtec_i2c_getsda() 67 struct simtec_i2c_data *pd = pw; in simtec_i2c_getscl() local 68 return readb(pd->reg) & STATE_SCL ? 1 : 0; in simtec_i2c_getscl() 75 struct simtec_i2c_data *pd; in simtec_i2c_probe() local 80 pd = kzalloc(sizeof(struct simtec_i2c_data), GFP_KERNEL); in simtec_i2c_probe() [all …]
|
/linux-2.6.39/drivers/net/ |
D | smsc9420.c | 99 do { if ((pd)->msg_enable & NETIF_MSG_##TYPE) \ 104 do { if ((pd)->msg_enable & NETIF_MSG_##TYPE) \ 109 do { if ((pd)->msg_enable & NETIF_MSG_##TYPE) \ 113 static inline u32 smsc9420_reg_read(struct smsc9420_pdata *pd, u32 offset) in smsc9420_reg_read() argument 115 return ioread32(pd->base_addr + offset); in smsc9420_reg_read() 119 smsc9420_reg_write(struct smsc9420_pdata *pd, u32 offset, u32 value) in smsc9420_reg_write() argument 121 iowrite32(value, pd->base_addr + offset); in smsc9420_reg_write() 124 static inline void smsc9420_pci_flush_write(struct smsc9420_pdata *pd) in smsc9420_pci_flush_write() argument 127 smsc9420_reg_read(pd, ID_REV); in smsc9420_pci_flush_write() 132 struct smsc9420_pdata *pd = (struct smsc9420_pdata *)bus->priv; in smsc9420_mii_read() local [all …]
|
D | s6gmac.c | 373 static void s6gmac_rx_fillfifo(struct s6gmac *pd) in s6gmac_rx_fillfifo() argument 376 while ((((u8)(pd->rx_skb_i - pd->rx_skb_o)) < S6_NUM_RX_SKB) && in s6gmac_rx_fillfifo() 377 (!s6dmac_fifo_full(pd->rx_dma, pd->rx_chan)) && in s6gmac_rx_fillfifo() 379 pd->rx_skb[(pd->rx_skb_i++) % S6_NUM_RX_SKB] = skb; in s6gmac_rx_fillfifo() 380 s6dmac_put_fifo_cache(pd->rx_dma, pd->rx_chan, in s6gmac_rx_fillfifo() 381 pd->io, (u32)skb->data, S6_MAX_FRLEN); in s6gmac_rx_fillfifo() 387 struct s6gmac *pd = netdev_priv(dev); in s6gmac_rx_interrupt() local 390 while (((u8)(pd->rx_skb_i - pd->rx_skb_o)) > in s6gmac_rx_interrupt() 391 s6dmac_pending_count(pd->rx_dma, pd->rx_chan)) { in s6gmac_rx_interrupt() 392 skb = pd->rx_skb[(pd->rx_skb_o++) % S6_NUM_RX_SKB]; in s6gmac_rx_interrupt() [all …]
|
/linux-2.6.39/drivers/media/video/tlg2300/ |
D | pd-main.c | 63 s32 send_set_req(struct poseidon *pd, u8 cmdid, s32 param, s32 *cmd_status) in send_set_req() argument 69 if (pd->state & POSEIDON_STATE_DISCONNECT) in send_set_req() 81 ret = usb_control_msg(pd->udev, in send_set_req() 82 usb_rcvctrlpipe(pd->udev, 0), in send_set_req() 103 s32 send_get_req(struct poseidon *pd, u8 cmdid, s32 param, in send_get_req() argument 110 if (pd->state & POSEIDON_STATE_DISCONNECT) in send_get_req() 121 ret = usb_control_msg(pd->udev, in send_get_req() 122 usb_rcvctrlpipe(pd->udev, 0), in send_get_req() 144 struct poseidon *pd = NULL; in pm_notifier_block() local 154 pd = container_of(node, struct poseidon, device_list); in pm_notifier_block() [all …]
|
D | pd-dvb.c | 22 static int poseidon_check_mode_dvbt(struct poseidon *pd) in poseidon_check_mode_dvbt() argument 29 ret = usb_set_interface(pd->udev, 0, BULK_ALTERNATE_IFACE); in poseidon_check_mode_dvbt() 33 ret = set_tuner_mode(pd, TLG_MODE_CAPS_DVB_T); in poseidon_check_mode_dvbt() 38 ret = send_set_req(pd, SGNL_SRC_SEL, TLG_SIG_SRC_ANTENNA, &cmd_status); in poseidon_check_mode_dvbt() 51 struct poseidon *pd = fe->demodulator_priv; in poseidon_ts_bus_ctrl() local 55 if (!pd) in poseidon_ts_bus_ctrl() 60 mutex_lock(&pd->lock); in poseidon_ts_bus_ctrl() 61 if (pd->state & POSEIDON_STATE_DISCONNECT) { in poseidon_ts_bus_ctrl() 66 if (pd->state && !(pd->state & POSEIDON_STATE_DVBT)) { in poseidon_ts_bus_ctrl() 71 usb_autopm_get_interface(pd->interface); in poseidon_ts_bus_ctrl() [all …]
|
D | pd-video.c | 16 static int pm_video_suspend(struct poseidon *pd); 17 static int pm_video_resume(struct poseidon *pd); 146 struct poseidon *p = front->pd; in vidioc_querycap() 340 struct video_data *video = &front->pd->video_data; in urb_complete_bulk() 426 struct video_data *video = &front->pd->video_data; in urb_complete_iso() 465 struct usb_device *udev = video->pd->udev; in prepare_iso_urb() 562 video->pd->udev, video->endpoint_addr, in prepare_bulk_urb() 598 pix = &front->pd->video_data.context.pix; in pd_buf_prepare() 609 vb->size = front->pd->vbi_data.vbi_size; in pd_buf_prepare() 637 static int start_video_stream(struct poseidon *pd) in start_video_stream() argument [all …]
|
/linux-2.6.39/drivers/block/ |
D | pktcdvd.c | 86 #define ZONE(sector, pd) (((sector) + (pd)->offset) & ~((pd)->settings.size - 1)) argument 110 static struct pktcdvd_kobj* pkt_kobj_create(struct pktcdvd_device *pd, in pkt_kobj_create() argument 121 p->pd = pd; in pkt_kobj_create() 201 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; in kobj_pkt_show() local 205 n = sprintf(data, "%lu\n", pd->stats.pkt_started); in kobj_pkt_show() 208 n = sprintf(data, "%lu\n", pd->stats.pkt_ended); in kobj_pkt_show() 211 n = sprintf(data, "%lu\n", pd->stats.secs_w >> 1); in kobj_pkt_show() 214 n = sprintf(data, "%lu\n", pd->stats.secs_r >> 1); in kobj_pkt_show() 217 n = sprintf(data, "%lu\n", pd->stats.secs_rg >> 1); in kobj_pkt_show() 220 spin_lock(&pd->lock); in kobj_pkt_show() [all …]
|
/linux-2.6.39/drivers/staging/dt3155v4l/ |
D | dt3155v4l.c | 198 dt3155_start_acq(struct dt3155_priv *pd) in dt3155_start_acq() argument 200 struct videobuf_buffer *vb = pd->curr_buf; in dt3155_start_acq() 204 iowrite32(dma_addr, pd->regs + EVEN_DMA_START); in dt3155_start_acq() 205 iowrite32(dma_addr + vb->width, pd->regs + ODD_DMA_START); in dt3155_start_acq() 206 iowrite32(vb->width, pd->regs + EVEN_DMA_STRIDE); in dt3155_start_acq() 207 iowrite32(vb->width, pd->regs + ODD_DMA_STRIDE); in dt3155_start_acq() 210 FLD_END_EVEN | FLD_END_ODD, pd->regs + INT_CSR); in dt3155_start_acq() 213 pd->regs + CSR1); in dt3155_start_acq() 214 wait_i2c_reg(pd->regs); in dt3155_start_acq() 215 write_i2c_reg(pd->regs, CONFIG, pd->config); in dt3155_start_acq() [all …]
|
/linux-2.6.39/drivers/staging/gma500/ |
D | psb_mmu.c | 76 struct psb_mmu_pd *pd; member 171 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument 174 psb_pages_clflush(pd->driver, &pd->p, 1); in psb_mmu_set_pd_context() 175 down_write(&pd->driver->sem); in psb_mmu_set_pd_context() 177 psb_mmu_flush_pd_locked(pd->driver, 1); in psb_mmu_set_pd_context() 178 pd->hw_context = hw_context; in psb_mmu_set_pd_context() 179 up_write(&pd->driver->sem); in psb_mmu_set_pd_context() 208 struct psb_mmu_pd *pd = kmalloc(sizeof(*pd), GFP_KERNEL); in psb_mmu_alloc_pd() local 212 if (!pd) in psb_mmu_alloc_pd() 215 pd->p = alloc_page(GFP_DMA32); in psb_mmu_alloc_pd() [all …]
|
/linux-2.6.39/drivers/isdn/hysdn/ |
D | hysdn_proclog.c | 71 struct procdata *pd = card->proclog; in hysdn_addlog() local 75 if (!pd) in hysdn_addlog() 78 cp = pd->logtmp; in hysdn_addlog() 88 printk(KERN_INFO "%s", pd->logtmp); in hysdn_addlog() 90 put_log_buffer(card, pd->logtmp); in hysdn_addlog() 104 struct procdata *pd = card->proclog; in put_log_buffer() local 108 if (!pd) in put_log_buffer() 114 if (pd->if_used <= 0) in put_log_buffer() 121 ib->proc_ctrl = pd; /* point to own control structure */ in put_log_buffer() 123 ib->usage_cnt = pd->if_used; in put_log_buffer() [all …]
|
/linux-2.6.39/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 90 struct ipath_portdata *pd = port_fp(fp); in ipath_get_base_info() local 93 struct ipath_devdata *dd = pd->port_dd; in ipath_get_base_info() 98 subport_cnt = pd->port_subport_cnt; in ipath_get_base_info() 126 ret = dd->ipath_f_get_base_info(pd, kinfo); in ipath_get_base_info() 138 pd->port_rcvegrbuf_chunks * pd->port_rcvegrbuf_size; in ipath_get_base_info() 139 kinfo->spi_rcv_egrperchunk = pd->port_rcvegrbufs_perchunk; in ipath_get_base_info() 141 pd->port_rcvegrbuf_chunks; in ipath_get_base_info() 170 kinfo->spi_rcvhdr_base = (u64) pd->port_rcvhdrq_phys; in ipath_get_base_info() 171 kinfo->spi_rcvhdr_tailaddr = (u64) pd->port_rcvhdrqtailaddr_phys; in ipath_get_base_info() 172 kinfo->spi_rcv_egrbufs = (u64) pd->port_rcvegr_phys; in ipath_get_base_info() [all …]
|
/linux-2.6.39/kernel/ |
D | padata.c | 35 static int padata_index_to_cpu(struct parallel_data *pd, int cpu_index) in padata_index_to_cpu() argument 39 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu() 41 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu() 49 struct parallel_data *pd; in padata_cpu_hash() local 51 pd = padata->pd; in padata_cpu_hash() 57 cpu_index = padata->seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash() 59 return padata_index_to_cpu(pd, cpu_index); in padata_cpu_hash() 65 struct parallel_data *pd; in padata_parallel_worker() local 72 pd = pqueue->pd; in padata_parallel_worker() 73 pinst = pd->pinst; in padata_parallel_worker() [all …]
|
/linux-2.6.39/drivers/infiniband/core/ |
D | verbs.c | 117 struct ib_pd *pd; in ib_alloc_pd() local 119 pd = device->alloc_pd(device, NULL, NULL); in ib_alloc_pd() 121 if (!IS_ERR(pd)) { in ib_alloc_pd() 122 pd->device = device; in ib_alloc_pd() 123 pd->uobject = NULL; in ib_alloc_pd() 124 atomic_set(&pd->usecnt, 0); in ib_alloc_pd() 127 return pd; in ib_alloc_pd() 131 int ib_dealloc_pd(struct ib_pd *pd) in ib_dealloc_pd() argument 133 if (atomic_read(&pd->usecnt)) in ib_dealloc_pd() 136 return pd->device->dealloc_pd(pd); in ib_dealloc_pd() [all …]
|
/linux-2.6.39/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 27 struct platform_device *pd; in octeon_cf_device_init() local 100 pd = platform_device_alloc("pata_octeon_cf", -1); in octeon_cf_device_init() 101 if (!pd) { in octeon_cf_device_init() 105 pd->dev.platform_data = &octeon_cf_data; in octeon_cf_device_init() 107 ret = platform_device_add_resources(pd, cf_resources, num_resources); in octeon_cf_device_init() 111 ret = platform_device_add(pd); in octeon_cf_device_init() 117 platform_device_put(pd); in octeon_cf_device_init() 126 struct platform_device *pd; in octeon_rng_device_init() local 141 pd = platform_device_alloc("octeon_rng", -1); in octeon_rng_device_init() 142 if (!pd) { in octeon_rng_device_init() [all …]
|
/linux-2.6.39/drivers/ata/ |
D | pata_pxa.c | 63 struct pata_pxa_data *pd = qc->ap->private_data; in pxa_load_dmac() local 74 pd->dma_desc[pd->dma_desc_id].ddadr = pd->dma_desc_addr + in pxa_load_dmac() 75 ((pd->dma_desc_id + 1) * sizeof(struct pxa_dma_desc)); in pxa_load_dmac() 77 pd->dma_desc[pd->dma_desc_id].dcmd = DCMD_BURST32 | in pxa_load_dmac() 81 pd->dma_desc[pd->dma_desc_id].dsadr = cpu_addr; in pxa_load_dmac() 82 pd->dma_desc[pd->dma_desc_id].dtadr = pd->dma_io_addr; in pxa_load_dmac() 83 pd->dma_desc[pd->dma_desc_id].dcmd |= DCMD_INCSRCADDR | in pxa_load_dmac() 86 pd->dma_desc[pd->dma_desc_id].dsadr = pd->dma_io_addr; in pxa_load_dmac() 87 pd->dma_desc[pd->dma_desc_id].dtadr = cpu_addr; in pxa_load_dmac() 88 pd->dma_desc[pd->dma_desc_id].dcmd |= DCMD_INCTRGADDR | in pxa_load_dmac() [all …]
|
/linux-2.6.39/lib/ |
D | proportions.c | 76 int prop_descriptor_init(struct prop_descriptor *pd, int shift) in prop_descriptor_init() argument 83 pd->index = 0; in prop_descriptor_init() 84 pd->pg[0].shift = shift; in prop_descriptor_init() 85 mutex_init(&pd->mutex); in prop_descriptor_init() 86 err = percpu_counter_init(&pd->pg[0].events, 0); in prop_descriptor_init() 90 err = percpu_counter_init(&pd->pg[1].events, 0); in prop_descriptor_init() 92 percpu_counter_destroy(&pd->pg[0].events); in prop_descriptor_init() 105 void prop_change_shift(struct prop_descriptor *pd, int shift) in prop_change_shift() argument 115 mutex_lock(&pd->mutex); in prop_change_shift() 117 index = pd->index ^ 1; in prop_change_shift() [all …]
|
/linux-2.6.39/arch/powerpc/platforms/ps3/ |
D | interrupt.c | 104 struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_mask() local 108 pd->thread_id, d->irq); in ps3_chip_mask() 111 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask() 112 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_mask() 125 struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_unmask() local 129 pd->thread_id, d->irq); in ps3_chip_unmask() 132 set_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_unmask() 133 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_unmask() 146 const struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_eoi() local 147 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, d->irq); in ps3_chip_eoi() [all …]
|
/linux-2.6.39/net/l2tp/ |
D | l2tp_debugfs.c | 46 static void l2tp_dfs_next_tunnel(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_tunnel() argument 48 pd->tunnel = l2tp_tunnel_find_nth(pd->net, pd->tunnel_idx); in l2tp_dfs_next_tunnel() 49 pd->tunnel_idx++; in l2tp_dfs_next_tunnel() 52 static void l2tp_dfs_next_session(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_session() argument 54 pd->session = l2tp_session_find_nth(pd->tunnel, pd->session_idx); in l2tp_dfs_next_session() 55 pd->session_idx++; in l2tp_dfs_next_session() 57 if (pd->session == NULL) { in l2tp_dfs_next_session() 58 pd->session_idx = 0; in l2tp_dfs_next_session() 59 l2tp_dfs_next_tunnel(pd); in l2tp_dfs_next_session() 66 struct l2tp_dfs_seq_data *pd = SEQ_START_TOKEN; in l2tp_dfs_seq_start() local [all …]
|
/linux-2.6.39/drivers/media/common/tuners/ |
D | tda18271-maps.c | 25 u8 pd; /* post div */ member 37 { .lomax = 32000, .pd = 0x5f, .d = 0xf0 }, 38 { .lomax = 35000, .pd = 0x5e, .d = 0xe0 }, 39 { .lomax = 37000, .pd = 0x5d, .d = 0xd0 }, 40 { .lomax = 41000, .pd = 0x5c, .d = 0xc0 }, 41 { .lomax = 44000, .pd = 0x5b, .d = 0xb0 }, 42 { .lomax = 49000, .pd = 0x5a, .d = 0xa0 }, 43 { .lomax = 54000, .pd = 0x59, .d = 0x90 }, 44 { .lomax = 61000, .pd = 0x58, .d = 0x80 }, 45 { .lomax = 65000, .pd = 0x4f, .d = 0x78 }, [all …]
|
/linux-2.6.39/arch/arm/plat-samsung/ |
D | dev-hsmmc.c | 59 void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci0_set_platdata() argument 63 set->cd_type = pd->cd_type; in s3c_sdhci0_set_platdata() 64 set->ext_cd_init = pd->ext_cd_init; in s3c_sdhci0_set_platdata() 65 set->ext_cd_cleanup = pd->ext_cd_cleanup; in s3c_sdhci0_set_platdata() 66 set->ext_cd_gpio = pd->ext_cd_gpio; in s3c_sdhci0_set_platdata() 67 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; in s3c_sdhci0_set_platdata() 69 if (pd->max_width) in s3c_sdhci0_set_platdata() 70 set->max_width = pd->max_width; in s3c_sdhci0_set_platdata() 71 if (pd->cfg_gpio) in s3c_sdhci0_set_platdata() 72 set->cfg_gpio = pd->cfg_gpio; in s3c_sdhci0_set_platdata() [all …]
|
D | dev-hsmmc2.c | 60 void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci2_set_platdata() argument 64 set->cd_type = pd->cd_type; in s3c_sdhci2_set_platdata() 65 set->ext_cd_init = pd->ext_cd_init; in s3c_sdhci2_set_platdata() 66 set->ext_cd_cleanup = pd->ext_cd_cleanup; in s3c_sdhci2_set_platdata() 67 set->ext_cd_gpio = pd->ext_cd_gpio; in s3c_sdhci2_set_platdata() 68 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; in s3c_sdhci2_set_platdata() 70 if (pd->max_width) in s3c_sdhci2_set_platdata() 71 set->max_width = pd->max_width; in s3c_sdhci2_set_platdata() 72 if (pd->cfg_gpio) in s3c_sdhci2_set_platdata() 73 set->cfg_gpio = pd->cfg_gpio; in s3c_sdhci2_set_platdata() [all …]
|
D | dev-hsmmc3.c | 63 void s3c_sdhci3_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci3_set_platdata() argument 67 set->cd_type = pd->cd_type; in s3c_sdhci3_set_platdata() 68 set->ext_cd_init = pd->ext_cd_init; in s3c_sdhci3_set_platdata() 69 set->ext_cd_cleanup = pd->ext_cd_cleanup; in s3c_sdhci3_set_platdata() 70 set->ext_cd_gpio = pd->ext_cd_gpio; in s3c_sdhci3_set_platdata() 71 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; in s3c_sdhci3_set_platdata() 73 if (pd->max_width) in s3c_sdhci3_set_platdata() 74 set->max_width = pd->max_width; in s3c_sdhci3_set_platdata() 75 if (pd->cfg_gpio) in s3c_sdhci3_set_platdata() 76 set->cfg_gpio = pd->cfg_gpio; in s3c_sdhci3_set_platdata() [all …]
|
D | dev-hsmmc1.c | 59 void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci1_set_platdata() argument 63 set->cd_type = pd->cd_type; in s3c_sdhci1_set_platdata() 64 set->ext_cd_init = pd->ext_cd_init; in s3c_sdhci1_set_platdata() 65 set->ext_cd_cleanup = pd->ext_cd_cleanup; in s3c_sdhci1_set_platdata() 66 set->ext_cd_gpio = pd->ext_cd_gpio; in s3c_sdhci1_set_platdata() 67 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; in s3c_sdhci1_set_platdata() 69 if (pd->max_width) in s3c_sdhci1_set_platdata() 70 set->max_width = pd->max_width; in s3c_sdhci1_set_platdata() 71 if (pd->cfg_gpio) in s3c_sdhci1_set_platdata() 72 set->cfg_gpio = pd->cfg_gpio; in s3c_sdhci1_set_platdata() [all …]
|
/linux-2.6.39/drivers/dma/ |
D | pch_dma.c | 136 #define dma_readl(pd, name) \ argument 137 readl((pd)->membase + PCH_DMA_##name) 138 #define dma_writel(pd, name, val) \ argument 139 writel((val), (pd)->membase + PCH_DMA_##name) 180 struct pch_dma *pd = to_pd(chan->device); in pdc_enable_irq() local 183 val = dma_readl(pd, CTL2); in pdc_enable_irq() 190 dma_writel(pd, CTL2, val); in pdc_enable_irq() 199 struct pch_dma *pd = to_pd(chan->device); in pdc_set_dir() local 202 val = dma_readl(pd, CTL0); in pdc_set_dir() 211 dma_writel(pd, CTL0, val); in pdc_set_dir() [all …]
|