Home
last modified time | relevance | path

Searched refs:asic (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.6.21/drivers/comedi/drivers/
Dpcmuio.c129 int asic) in pcmuio_asic_iobase() argument
131 return dev->iobase + (asic * PCMUIO_ASIC_IOSIZE); in pcmuio_asic_iobase()
153 int asic, int page, int port) in pcmuio_write() argument
156 struct pcmuio_asic *chip = &devpriv->asics[asic]; in pcmuio_write()
157 unsigned long iobase = pcmuio_asic_iobase(dev, asic); in pcmuio_write()
176 int asic, int page, int port) in pcmuio_read() argument
179 struct pcmuio_asic *chip = &devpriv->asics[asic]; in pcmuio_read()
180 unsigned long iobase = pcmuio_asic_iobase(dev, asic); in pcmuio_read()
216 int asic = pcmuio_subdevice_to_asic(s); in pcmuio_dio_insn_bits() local
234 pcmuio_write(dev, val, asic, 0, port); in pcmuio_dio_insn_bits()
[all …]
/linux-6.6.21/sound/pci/echoaudio/
Dmona_dsp.c36 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic);
121 short asic; in load_asic() local
129 asic = FW_MONA_361_1_ASIC48; in load_asic()
131 asic = FW_MONA_301_1_ASIC48; in load_asic()
133 err = load_asic_generic(chip, DSP_FNC_LOAD_MONA_PCI_CARD_ASIC, asic); in load_asic()
137 chip->asic_code = asic; in load_asic()
167 short asic; in switch_asic() local
174 asic = FW_MONA_361_1_ASIC96; in switch_asic()
176 asic = FW_MONA_361_1_ASIC48; in switch_asic()
179 asic = FW_MONA_301_1_ASIC96; in switch_asic()
[all …]
Dlayla24_dsp.c35 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic);
301 static int switch_asic(struct echoaudio *chip, short asic) in switch_asic() argument
306 if (asic != chip->asic_code) { in switch_asic()
317 asic) < 0) { in switch_asic()
323 chip->asic_code = asic; in switch_asic()
337 short asic; in dsp_set_digital_mode() local
346 asic = FW_LAYLA24_2S_ASIC; in dsp_set_digital_mode()
351 asic = FW_LAYLA24_2A_ASIC; in dsp_set_digital_mode()
367 if (switch_asic(chip, asic) < 0) in dsp_set_digital_mode()
Dgina24_dsp.c36 static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic);
128 short asic; in load_asic() local
138 asic = FW_GINA24_361_ASIC; in load_asic()
140 asic = FW_GINA24_301_ASIC; in load_asic()
142 err = load_asic_generic(chip, DSP_FNC_LOAD_GINA24_ASIC, asic); in load_asic()
146 chip->asic_code = asic; in load_asic()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon.h2377 struct radeon_asic *asic; member
2691 #define radeon_init(rdev) (rdev)->asic->init((rdev))
2692 #define radeon_fini(rdev) (rdev)->asic->fini((rdev))
2693 #define radeon_resume(rdev) (rdev)->asic->resume((rdev))
2694 #define radeon_suspend(rdev) (rdev)->asic->suspend((rdev))
2695 #define radeon_cs_parse(rdev, r, p) (rdev)->asic->ring[(r)]->cs_parse((p))
2696 #define radeon_vga_set_state(rdev, state) (rdev)->asic->vga_set_state((rdev), (state))
2697 #define radeon_asic_reset(rdev) (rdev)->asic->asic_reset((rdev), false)
2698 #define radeon_gart_tlb_flush(rdev) (rdev)->asic->gart.tlb_flush((rdev))
2699 #define radeon_gart_get_page_entry(a, f) (rdev)->asic->gart.get_page_entry((a), (f))
[all …]
Dradeon_asic.c166 rdev->asic->gart.tlb_flush = &rv370_pcie_gart_tlb_flush; in radeon_agp_disable()
167 rdev->asic->gart.get_page_entry = &rv370_pcie_gart_get_page_entry; in radeon_agp_disable()
168 rdev->asic->gart.set_page = &rv370_pcie_gart_set_page; in radeon_agp_disable()
172 rdev->asic->gart.tlb_flush = &r100_pci_gart_tlb_flush; in radeon_agp_disable()
173 rdev->asic->gart.get_page_entry = &r100_pci_gart_get_page_entry; in radeon_agp_disable()
174 rdev->asic->gart.set_page = &r100_pci_gart_set_page; in radeon_agp_disable()
2337 rdev->asic = &r100_asic; in radeon_asic_init()
2343 rdev->asic = &r200_asic; in radeon_asic_init()
2350 rdev->asic = &r300_asic_pcie; in radeon_asic_init()
2352 rdev->asic = &r300_asic; in radeon_asic_init()
[all …]
Dradeon_pm.c83 if (rdev->asic->dpm.enable_bapm) in radeon_pm_acpi_event_handler()
232 if (rdev->asic->pm.set_memory_clock && (mclk != rdev->pm.current_mclk)) { in radeon_set_power_state()
552 if (rdev->asic->dpm.force_performance_level) { in radeon_set_dpm_forced_performance_level()
574 if (rdev->asic->dpm.fan_ctrl_get_mode) in radeon_hwmon_get_pwm1_enable()
575 pwm_mode = rdev->asic->dpm.fan_ctrl_get_mode(rdev); in radeon_hwmon_get_pwm1_enable()
590 if(!rdev->asic->dpm.fan_ctrl_set_mode) in radeon_hwmon_set_pwm1_enable()
599 rdev->asic->dpm.fan_ctrl_set_mode(rdev, FDO_PWM_MODE_STATIC); in radeon_hwmon_set_pwm1_enable()
602 rdev->asic->dpm.fan_ctrl_set_mode(rdev, 0); in radeon_hwmon_set_pwm1_enable()
637 err = rdev->asic->dpm.set_fan_speed_percent(rdev, value); in radeon_hwmon_set_pwm1()
652 err = rdev->asic->dpm.get_fan_speed_percent(rdev, &speed); in radeon_hwmon_get_pwm1()
[all …]
Dradeon_ring.c173 if (hdp_flush && rdev->asic->ring[ring->idx]->hdp_flush) in radeon_ring_commit()
174 rdev->asic->ring[ring->idx]->hdp_flush(rdev, ring); in radeon_ring_commit()
183 if (hdp_flush && rdev->asic->mmio_hdp_flush) in radeon_ring_commit()
184 rdev->asic->mmio_hdp_flush(rdev); in radeon_ring_commit()
Dni_dma.c160 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) || in cayman_dma_stop()
161 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX)) in cayman_dma_stop()
256 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) || in cayman_dma_resume()
257 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX)) in cayman_dma_resume()
Dradeon_benchmark.c122 if (rdev->asic->copy.dma) { in radeon_benchmark_move()
133 if (rdev->asic->copy.blit) { in radeon_benchmark_move()
Dr600_dma.c102 if (rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) in r600_dma_stop()
179 if (rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) in r600_dma_resume()
450 int ring_index = rdev->asic->copy.dma_ring_index; in r600_copy_dma()
Dcik_sdma.c254 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) || in cik_sdma_gfx_stop()
255 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX)) in cik_sdma_gfx_stop()
432 if ((rdev->asic->copy.copy_ring_index == R600_RING_TYPE_DMA_INDEX) || in cik_sdma_gfx_resume()
433 (rdev->asic->copy.copy_ring_index == CAYMAN_RING_TYPE_DMA1_INDEX)) in cik_sdma_gfx_resume()
585 int ring_index = rdev->asic->copy.dma_ring_index; in cik_copy_dma()
Drv770_dma.c49 int ring_index = rdev->asic->copy.dma_ring_index; in rv770_copy_dma()
/linux-6.6.21/arch/mips/sni/
Dpcimt.c56 unsigned int asic; in sni_pcimt_detect() local
64 asic = csmsr & 0x80; in sni_pcimt_detect()
65 asic = (csmsr & 0x08) ? asic : !asic; in sni_pcimt_detect()
66 p += sprintf(p, ", ASIC PCI Rev %s", asic ? "1.0" : "1.1"); in sni_pcimt_detect()
/linux-6.6.21/drivers/parisc/
Dgsc.c188 void gsc_asic_assign_irq(struct gsc_asic *asic, int local_irq, int *irqp) in gsc_asic_assign_irq() argument
190 int irq = asic->global_irq[local_irq]; in gsc_asic_assign_irq()
193 irq = gsc_assign_irq(&gsc_asic_interrupt_type, asic); in gsc_asic_assign_irq()
197 asic->global_irq[local_irq] = irq; in gsc_asic_assign_irq()
Dgsc.h45 void gsc_asic_assign_irq(struct gsc_asic *asic, int local_irq, int *irqp);
/linux-6.6.21/Documentation/networking/devlink/
Dionic.rst24 * - ``asic.id``
27 * - ``asic.rev``
Dbnxt.rst59 * - ``asic.id``
62 * - ``asic.rev``
/linux-6.6.21/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv.c152 static bool dmub_srv_hw_setup(struct dmub_srv *dmub, enum dmub_asic asic) in dmub_srv_hw_setup() argument
156 switch (asic) { in dmub_srv_hw_setup()
195 if (asic == DMUB_ASIC_DCN21) in dmub_srv_hw_setup()
198 if (asic == DMUB_ASIC_DCN30) { in dmub_srv_hw_setup()
204 if (asic == DMUB_ASIC_DCN301) { in dmub_srv_hw_setup()
210 if (asic == DMUB_ASIC_DCN302) { in dmub_srv_hw_setup()
216 if (asic == DMUB_ASIC_DCN303) { in dmub_srv_hw_setup()
229 if (asic == DMUB_ASIC_DCN314) { in dmub_srv_hw_setup()
232 } else if (asic == DMUB_ASIC_DCN315) { in dmub_srv_hw_setup()
234 } else if (asic == DMUB_ASIC_DCN316) { in dmub_srv_hw_setup()
[all …]
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/amd/
Dpds_core.rst37 asic.id 0x0
38 asic.rev 0x0
69 * - ``asic.id``
72 * - ``asic.rev``
/linux-6.6.21/Documentation/devicetree/bindings/ata/
Dahci-mtk.txt13 - clock-names : Associated names must be: "ahb", "axi", "asic", "rbc", "pm".
41 clock-names = "ahb", "axi", "asic", "rbc", "pm";
Drockchip,dwc-ahci.yaml76 - const: asic
108 clock-names = "sata", "pmalive", "rxoob", "ref", "asic";
/linux-6.6.21/Documentation/gpu/amdgpu/
Ddriver-misc.rst41 :file: ./apu-asic-info-table.csv
49 :file: ./dgpu-asic-info-table.csv
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhw_queue.c1070 struct asic_fixed_properties *asic = &hdev->asic_prop; in hl_hw_queues_create() local
1074 hdev->kernel_queues = kcalloc(asic->max_queues, in hl_hw_queues_create()
1084 i < asic->max_queues ; i++, q_ready_cnt++, q++) { in hl_hw_queues_create()
1086 q->queue_type = asic->hw_queues_props[i].type; in hl_hw_queues_create()
1088 asic->hw_queues_props[i].supports_sync_stream; in hl_hw_queues_create()
1089 q->collective_mode = asic->hw_queues_props[i].collective_mode; in hl_hw_queues_create()
/linux-6.6.21/drivers/atm/
Deni.h115 int asic; /* PCI interface type, 0 for FPGA */ member

123