Home
last modified time | relevance | path

Searched refs:controller (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/netbsd/src/external/gpl3/gdb/dist/sim/ppc/
Dhw_ide.c245 ide_controller *controller) in set_interrupt() argument
247 if ((controller->reg[ide_control_reg] & 0x2) == 0) { in set_interrupt()
248 DTRACE(ide, ("controller %d - interrupt set\n", controller->nr)); in set_interrupt()
249 device_interrupt_event(me, controller->nr, 1, NULL, 0); in set_interrupt()
250 controller->is_interrupting = 1; in set_interrupt()
257 ide_controller *controller) in clear_interrupt() argument
259 if (controller->is_interrupting) { in clear_interrupt()
260 DTRACE(ide, ("controller %d - interrupt clear\n", controller->nr)); in clear_interrupt()
261 device_interrupt_event(me, controller->nr, 0, NULL, 0); in clear_interrupt()
262 controller->is_interrupting = 0; in clear_interrupt()
[all …]
/netbsd/src/external/gpl3/gdb/dist/sim/mips/
Ddv-tx3904tmr.c205 struct tx3904tmr *controller) in attach_tx3904tmr_regs() argument
232 controller->clock_ticks = (unsigned_4) hw_find_integer_property(me, "clock"); in attach_tx3904tmr_regs()
235 controller->ext_ticks = (unsigned_4) hw_find_integer_property(me, "ext"); in attach_tx3904tmr_regs()
237 controller->base_address = attach_address; in attach_tx3904tmr_regs()
244 struct tx3904tmr *controller; in tx3904tmr_finish() local
246 controller = HW_ZALLOC (me, struct tx3904tmr); in tx3904tmr_finish()
247 set_hw_data (me, controller); in tx3904tmr_finish()
254 controller->clock_ticks = 1; in tx3904tmr_finish()
255 controller->ext_ticks = 100; in tx3904tmr_finish()
258 attach_tx3904tmr_regs (me, controller); in tx3904tmr_finish()
[all …]
Ddv-tx3904sio.c203 struct tx3904sio *controller) in attach_tx3904sio_regs() argument
233 controller->backend = sio_tcp; in attach_tx3904sio_regs()
235 controller->backend = sio_stdio; in attach_tx3904sio_regs()
240 controller->base_address = attach_address; in attach_tx3904sio_regs()
247 struct tx3904sio *controller; in tx3904sio_finish() local
249 controller = HW_ZALLOC (me, struct tx3904sio); in tx3904sio_finish()
250 set_hw_data (me, controller); in tx3904sio_finish()
257 controller->backend = sio_stdio; in tx3904sio_finish()
260 attach_tx3904sio_regs (me, controller); in tx3904sio_finish()
263 tx3904sio_fifo_reset(me, & controller->rx_fifo); in tx3904sio_finish()
[all …]
Ddv-tx3904cpu.c121 struct tx3904cpu *controller; in tx3904cpu_finish() local
123 controller = HW_ZALLOC (me, struct tx3904cpu); in tx3904cpu_finish()
124 set_hw_data (me, controller); in tx3904cpu_finish()
129 controller->pending_level = 0; in tx3904cpu_finish()
130 controller->pending_reset = 0; in tx3904cpu_finish()
131 controller->pending_nmi = 0; in tx3904cpu_finish()
132 controller->event = NULL; in tx3904cpu_finish()
143 struct tx3904cpu *controller = hw_data (me); in deliver_tx3904cpu_interrupt() local
151 if (controller->pending_reset) in deliver_tx3904cpu_interrupt()
153 controller->pending_reset = 0; in deliver_tx3904cpu_interrupt()
[all …]
Ddv-tx3904irc.c199 struct tx3904irc *controller) in attach_tx3904irc_regs() argument
225 controller->base_address = attach_address; in attach_tx3904irc_regs()
232 struct tx3904irc *controller; in tx3904irc_finish() local
234 controller = HW_ZALLOC (me, struct tx3904irc); in tx3904irc_finish()
235 set_hw_data (me, controller); in tx3904irc_finish()
242 attach_tx3904irc_regs (me, controller); in tx3904irc_finish()
245 controller->isr = 0x0000ffff; in tx3904irc_finish()
246 controller->imr = 0; in tx3904irc_finish()
247 controller->ilr[0] = in tx3904irc_finish()
248 controller->ilr[1] = in tx3904irc_finish()
[all …]
/netbsd/src/external/gpl3/gdb/dist/sim/m68hc11/
Ddv-m68hc11eepr.c139 m6811eepr_memory_rw (struct m68hc11eepr *controller, int mode) in m6811eepr_memory_rw() argument
141 const char *name = controller->file_name; in m6811eepr_memory_rw()
145 size = controller->size; in m6811eepr_memory_rw()
151 memset (controller->eeprom, 0xFF, size); in m6811eepr_memory_rw()
162 if (read (fd, controller->eeprom, size) != size) in m6811eepr_memory_rw()
170 if (write (fd, controller->eeprom, size) != size) in m6811eepr_memory_rw()
186 struct m68hc11eepr *controller) in attach_m68hc11eepr_regs() argument
217 controller->file_name = "m6811.eeprom"; in attach_m68hc11eepr_regs()
219 controller->file_name = hw_find_string_property (me, "file"); in attach_m68hc11eepr_regs()
221 controller->attach_space = attach_space; in attach_m68hc11eepr_regs()
[all …]
Ddv-nvram.c127 attach_nvram_regs (struct hw *me, struct nvram *controller) in attach_nvram_regs() argument
155 controller->mode = NVRAM_SAVE_ALL; in attach_nvram_regs()
156 controller->base_address = attach_address; in attach_nvram_regs()
157 controller->size = attach_size; in attach_nvram_regs()
158 controller->fd = -1; in attach_nvram_regs()
164 controller->file_name = hw_find_string_property (me, "file"); in attach_nvram_regs()
172 controller->mode = NVRAM_MAP_FILE; in attach_nvram_regs()
174 controller->mode = NVRAM_SAVE_MODIFIED; in attach_nvram_regs()
176 controller->mode = NVRAM_SAVE_ALL; in attach_nvram_regs()
184 switch (controller->mode) in attach_nvram_regs()
[all …]
Ddv-m68hc11spi.c116 struct m68hc11spi *controller) in attach_m68hc11spi_regs() argument
127 struct m68hc11spi *controller; in m68hc11spi_finish() local
129 controller = HW_ZALLOC (me, struct m68hc11spi); in m68hc11spi_finish()
130 set_hw_data (me, controller); in m68hc11spi_finish()
142 attach_m68hc11spi_regs (me, controller); in m68hc11spi_finish()
145 controller->spi_event = NULL; in m68hc11spi_finish()
146 controller->rx_clear_scsr = 0; in m68hc11spi_finish()
160 struct m68hc11spi *controller; in m68hc11spi_port_event() local
163 controller = hw_data (me); in m68hc11spi_port_event()
171 controller->rx_clear_scsr = 0; in m68hc11spi_port_event()
[all …]
Ddv-m68hc11sio.c121 struct m68hc11sio *controller) in attach_m68hc11sio_regs() argument
132 controller->backend = sio_tcp; in attach_m68hc11sio_regs()
134 controller->backend = sio_stdio; in attach_m68hc11sio_regs()
145 struct m68hc11sio *controller; in m68hc11sio_finish() local
147 controller = HW_ZALLOC (me, struct m68hc11sio); in m68hc11sio_finish()
148 set_hw_data (me, controller); in m68hc11sio_finish()
160 controller->backend = sio_stdio; in m68hc11sio_finish()
163 attach_m68hc11sio_regs (me, controller); in m68hc11sio_finish()
166 controller->tx_poll_event = NULL; in m68hc11sio_finish()
167 controller->rx_poll_event = NULL; in m68hc11sio_finish()
[all …]
Ddv-m68hc11tim.c117 struct m68hc11tim *controller) in attach_m68hc11tim_regs() argument
128 struct m68hc11tim *controller; in m68hc11tim_finish() local
130 controller = HW_ZALLOC (me, struct m68hc11tim); in m68hc11tim_finish()
131 set_hw_data (me, controller); in m68hc11tim_finish()
143 controller->clock_prescaler = 1; in m68hc11tim_finish()
144 controller->tcnt_adjust = 0; in m68hc11tim_finish()
147 attach_m68hc11tim_regs (me, controller); in m68hc11tim_finish()
161 struct m68hc11tim *controller; in m68hc11tim_port_event() local
167 controller = hw_data (me); in m68hc11tim_port_event()
178 if (controller->rti_timer_event) in m68hc11tim_port_event()
[all …]
Ddv-m68hc11.c213 static void make_oscillator (struct m68hc11cpu *controller,
215 static struct input_osc *find_oscillator (struct m68hc11cpu *controller,
261 struct m68hc11cpu *controller; in m68hc11_delete() local
263 controller = hw_data (me); in m68hc11_delete()
267 controller->attach_space, in m68hc11_delete()
268 controller->attach_address, in m68hc11_delete()
269 controller->attach_size, me); in m68hc11_delete()
275 struct m68hc11cpu *controller) in attach_m68hc11_regs() argument
291 &controller->attach_space, in attach_m68hc11_regs()
292 &controller->attach_address, in attach_m68hc11_regs()
[all …]
/netbsd/src/external/gpl3/gdb/dist/sim/mn10300/
Ddv-mn103cpu.c165 struct mn103cpu *controller) in attach_mn103cpu_regs() argument
180 controller->block.base = attach_address; in attach_mn103cpu_regs()
184 controller->block.bound = attach_address + (attach_size - 1); in attach_mn103cpu_regs()
185 if ((controller->block.base & 3) != 0) in attach_mn103cpu_regs()
197 struct mn103cpu *controller; in mn103cpu_finish() local
199 controller = HW_ZALLOC (me, struct mn103cpu); in mn103cpu_finish()
200 set_hw_data (me, controller); in mn103cpu_finish()
207 attach_mn103cpu_regs (me, controller); in mn103cpu_finish()
210 controller->pending_level = 7; /* FIXME */ in mn103cpu_finish()
222 struct mn103cpu *controller = hw_data (me); in deliver_mn103cpu_interrupt() local
[all …]
Ddv-mn103int.c302 struct mn103int *controller) in attach_mn103int_regs() argument
320 controller->block[i].base = attach_address; in attach_mn103int_regs()
324 controller->block[i].bound = attach_address + (attach_size - 1); in attach_mn103int_regs()
336 struct mn103int *controller; in mn103int_finish() local
338 controller = HW_ZALLOC (me, struct mn103int); in mn103int_finish()
339 set_hw_data (me, controller); in mn103int_finish()
347 attach_mn103int_regs (me, controller); in mn103int_finish()
352 struct mn103int_group *group = &controller->group[gid]; in mn103int_finish()
377 struct mn103int *controller) in find_highest_interrupt_group() argument
385 controller->group[FIRST_NMI_GROUP].level = 7; in find_highest_interrupt_group()
[all …]
/netbsd/src/external/gpl3/gdb/dist/sim/lm32/
Ddv-lm32cpu.c123 struct lm32cpu *controller; in lm32cpu_finish() local
125 controller = HW_ZALLOC (me, struct lm32cpu); in lm32cpu_finish()
126 set_hw_data (me, controller); in lm32cpu_finish()
131 controller->event = NULL; in lm32cpu_finish()
143 struct lm32cpu *controller = hw_data (me); in deliver_lm32cpu_interrupt() local
174 if (controller->event != NULL) in deliver_lm32cpu_interrupt()
175 hw_event_queue_deschedule (me, controller->event); in deliver_lm32cpu_interrupt()
176 controller->event = NULL; in deliver_lm32cpu_interrupt()
184 controller->event = in deliver_lm32cpu_interrupt()
196 struct lm32cpu *controller = hw_data (me); in lm32cpu_port_event() local
[all …]
/netbsd/src/sys/dev/eisa/
Deisadevs80 product ATT 2408 EATA SCSI controller
96 product CPQ 4001 IDA array controller
97 product CPQ 4002 IDA-2 array controller
98 product CPQ 4010 IEAS array controller
99 product CPQ 4020 SMART array controller
100 product CPQ 4030 SMART-2/E array controller
112 product DPT 2402 PM2012A/9X EATA SCSI controller
113 product DPT A401 PM2012B/9X EATA SCSI controller
114 product DPT A402 PM2012B2/9X EATA SCSI controller
115 product DPT A410 PM2x22A/9X EATA SCSI controller
[all …]
/netbsd/src/external/bsd/file/dist/magic/magdir/
Dpci_ids57 >>0 ubyte 0x01 storage controller
70 >>0 ubyte 0x02 network controller
80 >>0 ubyte 0x03 display controller
81 >>0 ubyte 0x04 multimedia controller
82 >>0 ubyte 0x05 memory controller
85 >>0 ubyte 0x07 communication controller
93 >>0 ubyte 0x0C serial bus controller
94 >>0 ubyte 0x0D wireless controller
96 >>0 ubyte 0x0E I/O controller
98 >>0 ubyte 0x0F satellite controller
[all …]
/netbsd/src/sys/arch/arm/xscale/
Dfiles.pxa2x017 # INTC controller
23 # GPIO controller
42 # LCD controller
50 # DMA controller
62 # PWM controller
72 # OHCI USB controller
76 # PCMCIA controller
80 # Inter-Integrated Circuit controller
84 # Inter-IC Sound controller
93 # MMC controller
/netbsd/src/sys/arch/mvme68k/mvme68k/
Dautoconf.c114 static device_t controller; in device_register() local
121 if (controller == NULL && parent) { in device_register()
136 controller = dev; in device_register()
165 controller = dev; in device_register()
194 if (device_parent(parent) != controller || in device_register()
/netbsd/src/sys/arch/arm/imx/
Dfiles.imx5173 # EPDC controller
79 # IPU v3 controller
89 # iMX ESDCTL/MDDRC - Enhanced SDRAM/LPDDR memory controller
90 # iMX PCMCIA - PCMCIA memory controller
91 # iMX NANDFC - NAND Flash memory controller
101 # USB controller
109 # SD host controller for SD/MMC
113 # iic controller
119 # SPI bus controller
139 # PWM controller
/netbsd/src/sys/dev/i2c/
Di2cmux.c182 iic_tag_init(&bus->controller); in iicmux_attach_bus()
183 bus->controller.ic_cookie = bus; in iicmux_attach_bus()
184 bus->controller.ic_acquire_bus = iicmux_acquire_bus; in iicmux_attach_bus()
185 bus->controller.ic_release_bus = iicmux_release_bus; in iicmux_attach_bus()
186 bus->controller.ic_exec = iicmux_exec; in iicmux_attach_bus()
190 fdtbus_register_i2c_controller(&bus->controller, in iicmux_attach_bus()
194 &bus->controller, iicmux_print); in iicmux_attach_bus()
201 .iba_tag = &bus->controller, in iicmux_attach_bus()
/netbsd/src/sys/dev/vme/
Dfiles.vme18 # Sun i82586 based ethernet controller
23 # Xylogics 753/7053 SMD controller
30 # Xylogics 450/451 SMD controller
37 # Sun 5380 based SCSI controller
42 # Sun "SCSI-2" SCSI controller
/netbsd/src/sys/dev/qbus/
Dfiles.uba28 # UDA50/whatever disk/tape MSCP controller
35 # DELQA-PLUS Turbo mode Ethernet controller
40 # DEQNA/DELQA Ethernet controller
45 # DEUNA/DELUA Ethernet controller
50 # Interlan NI1010 Ethernet controller
63 # RL01/02 disk controller
93 # RX01/02 floppy disk controller
/netbsd/src/sys/arch/evbarm/conf/
DGENERIC142 exy5410clk* at fdt? pass 3 # Exynos5410 clock controller
143 exy5422clk* at fdt? pass 3 # Exynos5422 clock controller
147 meson8bclkc* at fdt? pass 2 # Amlogic Meson8b clock controller
188 # SRAM controller
189 sunxisramc* at fdt? pass 4 # SRAM controller
221 # Interrupt controller
237 # Memory controller
246 # DMA controller
247 bcmdmac* at fdt? # Broadcom BCM283x DMA controller
248 sun4idma* at fdt? pass 4 # Allwinner DMA controller (sun4i)
[all …]
DGENERIC64184 # Interrupt controller
199 # Memory controller
210 # DMA controller
211 bcmdmac* at fdt? # Broadcom BCM283x DMA controller
212 sun6idma* at fdt? pass 4 # Allwinner DMA controller (sun6i)
215 # FUSE controller
219 # Power management controller
222 # Mailbox controller
225 # Clock and Reset controller
228 g12aoclkc* at fdt? pass 2 # Amlogic Meson G12 AO clock controller
[all …]
/netbsd/src/sys/dev/acpi/
Dacpidevs20 PNP0004 Cyrix SLiC MP interrupt controller
31 PNP0300 IBM PC/XT keyboard controller (83-key)
32 PNP0301 IBM PC/AT keyboard controller (86-key)
33 PNP0302 IBM PC/XT keyboard controller (84-key)
65 PNP0600 Generic ESDI/IDE/ATA compatible hard disk controller
69 PNP0700 PC standard floppy disk controller
70 PNP0701 Standard floppy controller supporting MS Device Bay Spec
149 PNP0E03 Intel 82365-compatible CardBus controller
293 PNP8228 SMC 91C2 controller
323 PNPA002 Future Domain 16-700 compatible controller
[all …]

12345678910>>...14