/arch/sparc/kernel/ |
D | leon_pci_grpci1.c | 102 static int grpci1_cfg_w32(struct grpci1_priv *priv, unsigned int bus, 107 struct grpci1_priv *priv = dev->bus->sysdata; in grpci1_map_irq() local 114 return priv->irq_map[pin]; in grpci1_map_irq() 117 static int grpci1_cfg_r32(struct grpci1_priv *priv, unsigned int bus, in grpci1_cfg_r32() argument 133 cfg = REGLOAD(priv->regs->cfg_stat); in grpci1_cfg_r32() 134 REGSTORE(priv->regs->cfg_stat, (cfg & ~(0xf << 23)) | (bus << 23)); in grpci1_cfg_r32() 137 pci_conf = (u32 *) (priv->pci_conf | (devfn << 8) | (where & 0xfc)); in grpci1_cfg_r32() 141 if (REGLOAD(priv->regs->cfg_stat) & CFGSTAT_CTO) { in grpci1_cfg_r32() 144 tmp = REGLOAD(priv->regs->stat_cmd); in grpci1_cfg_r32() 145 grpci1_cfg_w32(priv, TGT, 0, PCI_COMMAND, tmp); in grpci1_cfg_r32() [all …]
|
D | leon_pci_grpci2.c | 224 struct grpci2_priv *priv = dev->bus->sysdata; in grpci2_map_irq() local 231 return priv->irq_map[pin]; in grpci2_map_irq() 234 static int grpci2_cfg_r32(struct grpci2_priv *priv, unsigned int bus, in grpci2_cfg_r32() argument 253 REGSTORE(priv->regs->ctrl, (REGLOAD(priv->regs->ctrl) & ~(0xff << 16)) | in grpci2_cfg_r32() 258 REGSTORE(priv->regs->sts_cap, (STS_CFGERR | STS_CFGERRVALID)); in grpci2_cfg_r32() 260 pci_conf = (unsigned int *) (priv->pci_conf | in grpci2_cfg_r32() 267 while ((REGLOAD(priv->regs->sts_cap) & STS_CFGERRVALID) == 0) in grpci2_cfg_r32() 270 if (REGLOAD(priv->regs->sts_cap) & STS_CFGERR) { in grpci2_cfg_r32() 280 static int grpci2_cfg_r16(struct grpci2_priv *priv, unsigned int bus, in grpci2_cfg_r16() argument 288 ret = grpci2_cfg_r32(priv, bus, devfn, where & ~0x3, &v); in grpci2_cfg_r16() [all …]
|
/arch/powerpc/sysdev/ |
D | mpic_timer.c | 85 static void convert_ticks_to_time(struct timer_group_priv *priv, in convert_ticks_to_time() argument 88 *time = (u64)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time() 92 static int convert_time_to_ticks(struct timer_group_priv *priv, in convert_time_to_ticks() argument 97 max_value = div_u64(ULLONG_MAX, priv->timerfreq); in convert_time_to_ticks() 102 *ticks = (u64)time * (u64)priv->timerfreq; in convert_time_to_ticks() 109 struct timer_group_priv *priv) in detect_idle_cascade_timer() argument 120 spin_lock_irqsave(&priv->lock, flags); in detect_idle_cascade_timer() 121 map = casc_priv->cascade_map & priv->idle; in detect_idle_cascade_timer() 124 priv->timer[num].cascade_handle = casc_priv; in detect_idle_cascade_timer() 127 priv->idle &= ~casc_priv->cascade_map; in detect_idle_cascade_timer() [all …]
|
D | fsl_rio.c | 136 struct rio_priv *priv = mport->priv; in fsl_local_config_read() local 139 *data = in_be32(priv->regs_win + offset); in fsl_local_config_read() 158 struct rio_priv *priv = mport->priv; in fsl_local_config_write() local 162 out_be32(priv->regs_win + offset, data); in fsl_local_config_write() 184 struct rio_priv *priv = mport->priv; in fsl_rio_config_read() local 201 out_be32(&priv->maint_atmu_regs->rowtar, in fsl_rio_config_read() 203 out_be32(&priv->maint_atmu_regs->rowtear, (destid >> 10)); in fsl_rio_config_read() 205 data = (u8 *) priv->maint_win + (offset & (RIO_MAINT_WIN_SIZE - 1)); in fsl_rio_config_read() 249 struct rio_priv *priv = mport->priv; in fsl_rio_config_write() local 266 out_be32(&priv->maint_atmu_regs->rowtar, in fsl_rio_config_write() [all …]
|
D | fsl_rmu.c | 33 (((struct rio_priv *)(mport->priv))->rmm_handle) 723 struct rio_priv *priv = mport->priv; in fsl_open_outb_mbox() local 738 dma_alloc_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, in fsl_open_outb_mbox() 744 dma_free_coherent(priv->dev, in fsl_open_outb_mbox() 755 rmu->msg_tx_ring.virt = dma_alloc_coherent(priv->dev, in fsl_open_outb_mbox() 802 dma_free_coherent(priv->dev, in fsl_open_outb_mbox() 808 dma_free_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, in fsl_open_outb_mbox() 825 struct rio_priv *priv = mport->priv; in fsl_close_outb_mbox() local 832 dma_free_coherent(priv->dev, in fsl_close_outb_mbox() 855 struct rio_priv *priv = mport->priv; in fsl_open_inb_mbox() local [all …]
|
D | fsl_rio.h | 30 #define RIO_REGS_WIN(mport) (((struct rio_priv *)(mport->priv))->regs_win)
|
/arch/powerpc/platforms/82xx/ |
D | pq2ads-pci-pic.c | 40 struct pq2ads_pci_pic *priv = irq_data_get_irq_chip_data(d); in pq2ads_pci_mask_irq() local 47 setbits32(&priv->regs->mask, 1 << irq); in pq2ads_pci_mask_irq() 56 struct pq2ads_pci_pic *priv = irq_data_get_irq_chip_data(d); in pq2ads_pci_unmask_irq() local 63 clrbits32(&priv->regs->mask, 1 << irq); in pq2ads_pci_unmask_irq() 80 struct pq2ads_pci_pic *priv = irq_desc_get_handler_data(desc); in pq2ads_pci_irq_demux() local 85 stat = in_be32(&priv->regs->stat); in pq2ads_pci_irq_demux() 86 mask = in_be32(&priv->regs->mask); in pq2ads_pci_irq_demux() 95 int virq = irq_linear_revmap(priv->host, bit); in pq2ads_pci_irq_demux() 117 struct pq2ads_pci_pic *priv; in pq2ads_pci_init_irq() local 137 priv = kzalloc(sizeof(*priv), GFP_KERNEL); in pq2ads_pci_init_irq() [all …]
|
/arch/powerpc/platforms/cell/ |
D | spider-pci.c | 27 struct spiderpci_iowa_private *priv; in spiderpci_io_flush() local 30 priv = bus->private; in spiderpci_io_flush() 31 val = in_be32(priv->regs + SPIDER_PCI_DUMMY_READ); in spiderpci_io_flush() 115 struct spiderpci_iowa_private *priv; in spiderpci_iowa_init() local 123 priv = kzalloc(sizeof(*priv), GFP_KERNEL); in spiderpci_iowa_init() 124 if (!priv) { in spiderpci_iowa_init() 140 priv->regs = regs; in spiderpci_iowa_init() 141 bus->private = priv; in spiderpci_iowa_init() 149 kfree(priv); in spiderpci_iowa_init()
|
/arch/m68k/emu/ |
D | nfeth.c | 63 struct nfeth_private *priv = netdev_priv(dev); in nfeth_open() local 66 res = nf_call(nfEtherID + XIF_START, priv->ethX); in nfeth_open() 77 struct nfeth_private *priv = netdev_priv(dev); in nfeth_stop() local 82 nf_call(nfEtherID + XIF_STOP, priv->ethX); in nfeth_stop() 92 struct nfeth_private *priv = netdev_priv(dev); in recv_packet() local 97 pktlen = nf_call(nfEtherID + XIF_READLENGTH, priv->ethX); in recv_packet() 118 nf_call(nfEtherID + XIF_READBLOCK, priv->ethX, virt_to_phys(skb->data), in recv_packet() 148 struct nfeth_private *priv = netdev_priv(dev); in nfeth_xmit() local 160 nf_call(nfEtherID + XIF_WRITEBLOCK, priv->ethX, virt_to_phys(data), in nfeth_xmit() 188 struct nfeth_private *priv; in nfeth_probe() local [all …]
|
/arch/powerpc/platforms/pasemi/ |
D | gpio_mdio.c | 34 #define MDC_PIN(bus) (((struct gpio_priv *)bus->priv)->mdc_pin) 35 #define MDIO_PIN(bus) (((struct gpio_priv *)bus->priv)->mdio_pin) 212 struct gpio_priv *priv; in gpio_mdio_probe() local 217 priv = kzalloc(sizeof(struct gpio_priv), GFP_KERNEL); in gpio_mdio_probe() 218 if (!priv) in gpio_mdio_probe() 233 new_bus->priv = priv; in gpio_mdio_probe() 236 priv->mdc_pin = *prop; in gpio_mdio_probe() 239 priv->mdio_pin = *prop; in gpio_mdio_probe() 257 kfree(priv); in gpio_mdio_probe() 271 kfree(bus->priv); in gpio_mdio_remove() [all …]
|
D | dma_lib.c | 184 chan->priv = buf; in pasemi_dma_alloc_chan() 228 kfree(chan->priv); in pasemi_dma_free_chan()
|
/arch/arm/mach-pxa/include/mach/ |
D | audio.h | 24 void *priv; member
|
/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 225 struct rftype *rft = of->kn->priv; in rdtgroup_seqfile_show() 235 struct rftype *rft = of->kn->priv; in rdtgroup_file_write() 256 struct rftype *rft = of->kn->priv; in is_cpu_list() 746 struct rdt_resource *r = of->kn->parent->priv; in rdt_num_closids_show() 755 struct rdt_resource *r = of->kn->parent->priv; in rdt_default_ctrl_show() 764 struct rdt_resource *r = of->kn->parent->priv; in rdt_min_cbm_bits_show() 773 struct rdt_resource *r = of->kn->parent->priv; in rdt_shareable_bits_show() 796 struct rdt_resource *r = of->kn->parent->priv; in rdt_bit_usage_show() 874 struct rdt_resource *r = of->kn->parent->priv; in rdt_min_bw_show() 883 struct rdt_resource *r = of->kn->parent->priv; in rdt_num_rmids_show() [all …]
|
D | ctrlmondata.c | 530 md.priv = of->kn->priv; in rdtgroup_mondata_show()
|
/arch/s390/kvm/ |
D | Makefile | 11 kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o
|
/arch/arm/mach-omap1/ |
D | board-ams-delta.c | 764 struct modem_private_data *priv = port->private_data; in modem_pm() local 767 if (!priv) in modem_pm() 770 if (IS_ERR(priv->regulator)) in modem_pm() 777 ret = regulator_enable(priv->regulator); in modem_pm() 779 ret = regulator_disable(priv->regulator); in modem_pm()
|
/arch/arm/mach-pxa/ |
D | mainstone.c | 154 static int mst_audio_startup(struct snd_pcm_substream *substream, void *priv) in mst_audio_startup() argument 161 static void mst_audio_shutdown(struct snd_pcm_substream *substream, void *priv) in mst_audio_shutdown() argument 169 static void mst_audio_suspend(void *priv) in mst_audio_suspend() argument 175 static void mst_audio_resume(void *priv) in mst_audio_resume() argument
|
/arch/arm/nwfpe/ |
D | fpmodule.c | 40 void fp_send_sig(unsigned long sig, struct task_struct *p, int priv);
|
/arch/s390/include/asm/ |
D | qdio.h | 428 void (*cb)(void *priv, enum qdio_brinfo_entry_type type, 430 void *priv);
|
/arch/x86/boot/compressed/ |
D | eboot.c | 673 void *priv) in exit_boot_func() argument 676 struct exit_boot_struct *p = priv; in exit_boot_func() 705 struct exit_boot_struct priv; in exit_boot() local 713 priv.boot_params = boot_params; in exit_boot() 714 priv.efi = &boot_params->efi_info; in exit_boot() 721 status = efi_exit_boot_services(sys_table, handle, &map, &priv, in exit_boot()
|
/arch/x86/kernel/cpu/ |
D | cacheinfo.c | 353 struct amd_northbridge *nb = this_leaf->priv; in show_cache_disable() 441 struct amd_northbridge *nb = this_leaf->priv; in store_cache_disable() 514 if (!this_leaf->priv) in cache_private_attrs_is_visible() 564 struct amd_northbridge *nb = this_leaf->priv; in cache_get_priv_group() 985 this_leaf->priv = base->nb; in ci_leaf_init()
|
/arch/arm/xen/ |
D | enlighten.c | 95 unsigned long was_set, void *priv) in xen_pvclock_gtod_notify() argument 102 struct timekeeper *tk = priv; in xen_pvclock_gtod_notify()
|
/arch/um/drivers/ |
D | virtio_uml.c | 666 struct virtio_uml_vq_info *info = vq->priv; in vu_notify() 679 struct virtio_uml_vq_info *info = vq->priv; in vu_interrupt() 733 struct virtio_uml_vq_info *info = vq->priv; in vu_del_vq() 764 struct virtio_uml_vq_info *info = vq->priv; in vu_setup_vq_call_fd() 821 vq->priv = info; in vu_setup_vq() 892 struct virtio_uml_vq_info *info = vq->priv; in vu_find_vqs()
|
/arch/powerpc/kvm/ |
D | e500_mmu_host.c | 590 struct tlbe_priv *priv; in kvmppc_mmu_map() local 599 priv = &vcpu_e500->gtlb_priv[tlbsel][esel]; in kvmppc_mmu_map() 602 if (!(priv->ref.flags & E500_TLB_VALID)) { in kvmppc_mmu_map() 606 &priv->ref, eaddr, &stlbe); in kvmppc_mmu_map()
|
/arch/x86/xen/ |
D | time.c | 89 unsigned long was_set, void *priv) in xen_pvclock_gtod_notify() argument 96 struct timekeeper *tk = priv; in xen_pvclock_gtod_notify()
|