Searched refs:controller (Results 1 - 25 of 58) sorted by relevance

123

/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Ddevice.cpp16 hda_controller* controller = NULL; local
20 controller = &gCards[i];
25 if (controller == NULL)
28 if (atomic_get(&controller->opened) != 0)
31 status_t status = hda_hw_init(controller);
35 atomic_add(&controller->opened, 1);
37 *cookie = controller;
65 hda_controller* controller = (hda_controller*)cookie; local
66 if (controller->active_codec != NULL)
67 return multi_audio_control(controller
76 hda_controller* controller = (hda_controller*)cookie; local
87 hda_controller* controller = (hda_controller*)cookie; local
[all...]
H A Dhda_controller.cpp26 #define HDAC_INPUT_STREAM_OFFSET(controller, index) \
28 #define HDAC_OUTPUT_STREAM_OFFSET(controller, index) \
29 (((controller)->num_input_streams + (index)) * HDAC_STREAM_SIZE)
30 #define HDAC_BIDIR_STREAM_OFFSET(controller, index) \
31 (((controller)->num_input_streams + (controller)->num_output_streams \
130 update_pci_register(hda_controller* controller, uint8 reg, uint32 mask, argument
133 uint32 originalValue = (gPci->read_pci_config)(controller->pci_info.bus,
134 controller->pci_info.device, controller
149 current_rirb(hda_controller* controller) argument
156 next_rirb(hda_controller* controller) argument
163 next_corb(hda_controller* controller) argument
173 stream_handle_interrupt(hda_controller* controller, hda_stream* stream, uint32 index) argument
260 hda_interrupt_handler(hda_controller* controller) argument
357 reset_controller(hda_controller* controller) argument
466 init_corb_rirb_pos(hda_controller* controller, uint32 quirks) argument
638 hda_controller* controller = audioGroup->codec->controller; local
695 hda_stream_start(hda_controller* controller, hda_stream* stream) argument
717 hda_stream_stop(hda_controller* controller, hda_stream* stream) argument
923 hda_controller* controller = codec->controller; local
978 hda_hw_init(hda_controller* controller) argument
1192 hda_hw_stop(hda_controller* controller) argument
1204 hda_hw_uninit(hda_controller* controller) argument
[all...]
H A Ddriver.h52 controller. It contains a list of available streams
147 uint32 id; /* HDA controller stream # */
153 hda_controller* controller; member in struct:hda_stream
188 return controller->Read8(HDAC_STREAM_BASE + offset + reg);
193 return controller->Read16(HDAC_STREAM_BASE + offset + reg);
198 return controller->Read32(HDAC_STREAM_BASE + offset + reg);
203 *(controller->regs + HDAC_STREAM_BASE + offset + reg) = value;
208 *(vuint16*)(controller->regs + HDAC_STREAM_BASE + offset + reg) = value;
213 *(vuint32*)(controller->regs + HDAC_STREAM_BASE + offset + reg) = value;
314 struct hda_controller* controller; member in struct:hda_codec
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Ddevice.cpp16 geode_controller* controller = NULL; local
20 controller = &gCards[i];
25 if (controller == NULL)
28 if (controller->opened)
31 status_t status = geode_hw_init(controller);
35 atomic_add(&controller->opened, 1);
37 *cookie = controller;
63 geode_controller* controller = (geode_controller*)cookie; local
64 return multi_audio_control(controller, op, arg, length);
71 geode_controller* controller local
82 geode_controller* controller = (geode_controller*)cookie; local
[all...]
H A Dgeode_controller.cpp37 geode_codec_wait(geode_controller *controller) argument
43 && (controller->Read32(ACC_CODEC_CNTL) & ACC_CODEC_CNTL_CMD_NEW); i--)
50 geode_codec_read(geode_controller *controller, uint8 regno) argument
56 controller->Write32(ACC_CODEC_CNTL,
60 if (geode_codec_wait(controller) != B_OK) {
67 v = controller->Read32(ACC_CODEC_STATUS);
84 geode_codec_write(geode_controller *controller, uint8 regno, uint16 value) argument
88 controller->Write32(ACC_CODEC_CNTL,
94 if (geode_codec_wait(controller) != B_OK) {
102 stream_handle_interrupt(geode_controller* controller, geode_strea argument
136 geode_interrupt_handler(geode_controller* controller) argument
155 reset_controller(geode_controller* controller) argument
193 geode_stream_new(geode_controller* controller, int type) argument
394 geode_hw_init(geode_controller* controller) argument
453 geode_hw_stop(geode_controller* controller) argument
467 geode_hw_uninit(geode_controller* controller) argument
[all...]
H A Dgeode_multi.cpp64 get_description(geode_controller* controller, multi_description* data) argument
73 if (controller->record_stream != NULL)
77 if (controller->playback_stream != NULL)
121 get_enabled_channels(geode_controller* controller, multi_channel_enable* data) argument
134 get_global_format(geode_controller* controller, multi_format_info* data) argument
140 if (controller->playback_stream != NULL) {
141 data->output.format = controller->playback_stream->sample_format;
142 data->output.rate = controller->playback_stream->sample_rate;
148 if (controller->record_stream != NULL) {
149 data->input.format = controller
161 set_global_format(geode_controller* controller, multi_format_info* data) argument
189 geode_ac97_get_mix(geode_controller *controller, const void *cookie, int32 type, float *values) argument
247 geode_ac97_set_mix(geode_controller *controller, const void *cookie, int32 type, float *values) argument
528 list_mix_controls(geode_controller* controller, multi_mix_control_info* mmci) argument
546 list_mix_connections(geode_controller* controller, multi_mix_connection_info* data) argument
555 list_mix_channels(geode_controller* controller, multi_mix_channel_info *data) argument
562 get_mix(geode_controller *controller, multi_mix_value_info * mmvi) argument
600 set_mix(geode_controller *controller, multi_mix_value_info * mmvi) argument
663 get_buffers(geode_controller* controller, multi_buffer_list* data) argument
773 buffer_exchange(geode_controller* controller, multi_buffer_info* data) argument
842 buffer_force_stop(geode_controller* controller) argument
856 multi_audio_control(geode_controller* controller, uint32 op, void* arg, size_t len) argument
[all...]
H A Ddriver.h47 /*! This structure describes a controller.
111 geode_controller* controller; member in struct:geode_stream
137 return controller->Read8(ACC_BM0_CMD + offset + reg);
142 return controller->Read16(ACC_BM0_CMD + offset + reg);
147 return controller->Read32(ACC_BM0_CMD + offset + reg);
152 controller->Write8(ACC_BM0_CMD + offset + reg, value);
157 controller->Write16(ACC_BM0_CMD + offset + reg, value);
162 controller->Write32(ACC_BM0_CMD + offset + reg, value);
182 geode_controller *controller; member in struct:geode_multi
201 status_t multi_audio_control(geode_controller* controller, uint3
[all...]
/haiku/src/data/dts/arch/arm/
H A Dpxa27x.dtsi9 pxairq: interrupt-controller@40d00000 {
H A Dsun4i-a10.dtsi47 AINTC: interrupt-controller@01c20400 {
49 interrupt-controller;
86 gpio-controller;
H A Dsun7i-a20.dtsi47 GIC: interrupt-controller@01c81000 {
51 interrupt-controller;
92 gpio-controller;
H A Domap34xx.dtsi36 interrupt-controller;
H A Dpxa2xx.dtsi40 pxairq: interrupt-controller@40d00000 {
43 interrupt-controller;
54 gpio-controller;
58 interrupt-controller;
H A Domap3.dtsi12 #include <dt-bindings/interrupt-controller/irq.h>
143 intc: interrupt-controller@48200000 {
145 interrupt-controller;
150 sdma: dma-controller@48056000 {
168 interrupt-controller;
179 interrupt-controller;
206 gpio-controller;
208 interrupt-controller;
217 gpio-controller;
219 interrupt-controller;
[all...]
/haiku/headers/private/drivers/
H A Dmmc.h22 status_t (*set_clock)(void* controller, uint32_t kilohertz);
23 status_t (*execute_command)(void* controller, uint8_t command,
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_tracing.h17 AHCIPortTraceEntry(AHCIController* controller, int index) argument
18 : fController(controller)
27 out.Print("controller: %p", fController);
38 AHCIPortPrdTable(AHCIController* controller, int index, void* address, argument
40 : AHCIPortTraceEntry(controller, index)
H A Dahci_sim.cpp72 // controller is 32, devices are 0 to 31
143 AHCIController *controller = new(std::nothrow) AHCIController(node, pci, local
145 if (!controller)
147 status_t status = controller->Init();
149 delete controller;
153 *_cookie = controller;
163 AHCIController *controller = static_cast<AHCIController *>(cookie); local
165 controller->Uninit();
166 delete controller;
/haiku/src/add-ons/kernel/busses/ata/silicon_image_3112/
H A Dsilicon_image_3112.c143 TRACE("controller found! vendor 0x%04x, device 0x%04x\n", vendorID, deviceID);
203 // properties of this controller for ATA bus manager
206 // controller, which has exactly 1 device)
227 // private data to find controller
237 TRACE("publishing controller\n");
248 controller_data *controller; local
270 controller = malloc(sizeof(controller_data));
271 if (!controller)
274 FLOW("controller %p\n", controller);
345 controller_data *controller = controllerCookie; local
369 controller_data *controller = cookie; local
399 controller_data *controller = controllerCookie; local
410 controller_data *controller; local
786 controller_data *controller = arg; local
[all...]
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A Dvirtio_scsi.cpp139 VirtioSCSIController *controller = new(std::nothrow) local
141 if (controller == NULL)
143 status_t status = controller->InitCheck();
145 delete controller;
149 *_cookie = controller;
158 VirtioSCSIController *controller = (VirtioSCSIController*)cookie; local
160 delete controller;
H A DVirtioSCSIController.cpp280 VirtioSCSIController* controller = (VirtioSCSIController*)driverCookie; local
281 controller->_RequestInterrupt();
301 VirtioSCSIController* controller = (VirtioSCSIController*)driverCookie; local
304 while (controller->fVirtio->queue_dequeue(controller->fEventVirtioQueue,
306 controller->_EventInterrupt(event);
363 VirtioSCSIController* controller = (VirtioSCSIController*)cookie; local
366 if (gDeviceManager->get_next_child_node(controller->fNode, attrs,
368 ERROR("couldn't find the child node for %p\n", controller->fNode);
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_controller.h41 status_t pci_controller_add(pci_controller *controller, void *cookie);
/haiku/headers/private/storage/
H A DRemoveEngine.h29 void SetController(BController* controller);
/haiku/src/add-ons/kernel/busses/ata/generic_ide_pci/
H A Dgeneric_ide_pci.cpp19 #define ATA_PCI_CONTROLLER_TYPE_NAME "ata pci controller"
139 uninit_controller(ata_adapter_controller_info *controller) argument
141 sATAAdapter->uninit_controller(controller);
146 controller_removed(ata_adapter_controller_info *controller) argument
148 return sATAAdapter->controller_removed(controller);
/haiku/headers/private/kernel/arch/x86/
H A Darch_int.h84 void arch_int_set_interrupt_controller(const interrupt_controller &controller);
/haiku/src/apps/mediaplayer/
H A DControllerView.h24 ControllerView(BRect frame, Controller* controller,
/haiku/headers/os/midi/
H A DSynth.h30 int16 channel, int16 controller, int16 value);
83 void SetControllerHook(int16 controller, synth_controller_hook cback);

Completed in 398 milliseconds

123