/haiku/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | cx22702.c | 57 cx22702_reg_write(i2c_bus *bus, uint8 reg, uint8 data) in cx22702_reg_write() 69 cx22702_reg_read(i2c_bus *bus, uint8 reg, uint8 *data) in cx22702_reg_read() 80 cx22702_init(i2c_bus *bus) in cx22702_init() 101 cx22702_get_frequency_info(i2c_bus *bus, dvb_frequency_info_t *info) in cx22702_get_frequency_info() 112 cx22702_set_tuning_parameters(i2c_bus *bus, const dvb_t_tuning_parameters_t *params) in cx22702_set_tuning_parameters() 207 cx22702_get_tuning_parameters(i2c_bus *bus, dvb_t_tuning_parameters_t *params) in cx22702_get_tuning_parameters() 232 cx22702_get_status(i2c_bus *bus, dvb_status_t *status) in cx22702_get_status() 254 cx22702_get_ss(i2c_bus *bus, uint32 *ss) in cx22702_get_ss() 265 cx22702_get_ber(i2c_bus *bus, uint32 *ber) in cx22702_get_ber() 289 cx22702_get_snr(i2c_bus *bus, uint32 *snr) in cx22702_get_snr() [all …]
|
H A D | i2c_core.c | 65 i2c_bus *bus = malloc(sizeof(i2c_bus)); in i2c_create_bus() local 93 i2c_delete_bus(i2c_bus *bus) in i2c_delete_bus() 103 set_sda_low(i2c_bus *bus) in set_sda_low() 111 set_sda_high(i2c_bus *bus) in set_sda_high() 119 set_scl_low(i2c_bus *bus) in set_scl_low() 127 set_scl_high(i2c_bus *bus) in set_scl_high() 142 i2c_start(i2c_bus *bus) in i2c_start() 150 i2c_stop(i2c_bus *bus) in i2c_stop() 159 i2c_start_address(i2c_bus *bus, int address, int read /* 1 = read, 0 = write */) in i2c_start_address() 195 i2c_writebyte(i2c_bus *bus, uint8 byte, int *ack) in i2c_writebyte() [all …]
|
H A D | dtt7592.c | 38 dtt7592_write(i2c_bus *bus, const uint8 data[4]) in dtt7592_write() 50 dtt7592_read(i2c_bus *bus, uint8 *data) in dtt7592_read() 61 dtt7592_set_frequency(i2c_bus *bus, uint32 frequency, dvb_bandwidth_t bandwidth) in dtt7592_set_frequency()
|
/haiku/src/add-ons/kernel/bus_managers/scsi/ |
H A D | busses.cpp | 35 scsi_do_service(scsi_bus_info *bus) in scsi_do_service() 57 scsi_bus_info *bus = (scsi_bus_info *)arg; in scsi_service_threadproc() local 89 scsi_bus_info *bus; in scsi_create_bus() local 162 scsi_destroy_bus(scsi_bus_info *bus) in scsi_destroy_bus() 183 scsi_bus_info *bus; in scsi_init_bus() local 274 scsi_uninit_bus(scsi_bus_info *bus) in scsi_uninit_bus() 281 scsi_inquiry_path(scsi_bus bus, scsi_path_inquiry *inquiry_data) in scsi_inquiry_path() 289 scsi_reset_bus(scsi_bus_info *bus) in scsi_reset_bus()
|
H A D | queuing.cpp | 232 static void scsi_unblock_bus_int( scsi_bus_info *bus, bool by_SIM ) in scsi_unblock_bus_int() 254 void scsi_unblock_bus( scsi_bus_info *bus ) in scsi_unblock_bus() 263 scsi_bus_info *bus = device->bus; in scsi_unblock_device_int() local 295 void scsi_cont_send_bus( scsi_bus_info *bus ) in scsi_cont_send_bus() 319 scsi_bus_info *bus = device->bus; in scsi_cont_send_device() local 353 static void scsi_block_bus_int( scsi_bus_info *bus, bool by_SIM ) in scsi_block_bus_int() 366 void scsi_block_bus( scsi_bus_info *bus ) in scsi_block_bus() 375 scsi_bus_info *bus = device->bus; in scsi_block_device_int() local
|
H A D | scsi_io.cpp | 24 scsi_bus_info *bus = request->bus; in scsi_requeue_request() local 86 scsi_bus_info *bus = request->bus; in scsi_resubmit_request() local 206 scsi_bus_info *bus = request->bus; in scsi_device_queue_overflow() local 241 scsi_bus_info *bus = request->bus; in scsi_request_finished() local 341 scsi_bus_info *bus = request->bus; in scsi_check_enqueue_request() local 393 scsi_bus_info *bus = request->bus; in scsi_async_io() local 526 scsi_bus_info *bus = ccb_to_terminate->bus; in scsi_term_io() local 535 scsi_bus_info *bus = req_to_abort->bus; in scsi_abort() local 590 scsi_check_exec_service(scsi_bus_info *bus) in scsi_check_exec_service()
|
H A D | queuing.h | 103 static inline void scsi_set_bus_overflow( scsi_bus_info *bus ) in scsi_set_bus_overflow() 119 static inline void scsi_clear_bus_overflow( scsi_bus_info *bus ) in scsi_clear_bus_overflow() 126 static inline bool scsi_can_service_bus( scsi_bus_info *bus ) in scsi_can_service_bus() 134 static inline void scsi_unblock_bus_noresume( scsi_bus_info *bus, bool by_SIM ) in scsi_unblock_bus_noresume() 162 static inline void scsi_block_bus_nolock( scsi_bus_info *bus, bool by_SIM ) in scsi_block_bus_nolock()
|
H A D | bus_raw.cpp | 33 bus_raw_info *bus; in scsi_bus_raw_init() local 52 scsi_bus_raw_uninit(void *bus) in scsi_bus_raw_uninit() 59 scsi_bus_raw_open(void *bus, const char *path, int openMode, in scsi_bus_raw_open() 84 bus_raw_info *bus = (bus_raw_info*)_cookie; in scsi_bus_raw_control() local
|
H A D | dpc.cpp | 46 scsi_schedule_dpc(scsi_bus_info *bus, scsi_dpc_info *dpc, /*int flags,*/ in scsi_schedule_dpc() 73 scsi_check_exec_dpc(scsi_bus_info *bus) in scsi_check_exec_dpc()
|
/haiku/src/add-ons/accelerants/common/ |
H A D | i2c.c | 94 wait_for_clk(const i2c_bus *bus, bigtime_t timeout) in wait_for_clk() 122 send_start_condition(const i2c_bus *bus) in send_start_condition() 146 send_stop_condition(const i2c_bus *bus) in send_stop_condition() 172 send_bit(const i2c_bus *bus, uint8 bit, int timeout) in send_bit() 198 send_acknowledge(const i2c_bus *bus) in send_acknowledge() 249 send_byte(const i2c_bus *bus, uint8 byte, bool acknowledge) in send_byte() 271 send_slave_address(const i2c_bus *bus, uint8 slaveAddress, bool isWrite) in send_slave_address() 301 receive_bit(const i2c_bus *bus, bool *bit, int timeout) in receive_bit() 339 receive_byte(const i2c_bus *bus, uint8 *resultByte, bool acknowledge) in receive_byte() 368 send_bytes(const i2c_bus *bus, const uint8 *writeBuffer, ssize_t writeLength) in send_bytes() [all …]
|
H A D | ddc.c | 58 call_send_receive(const i2c_bus *bus, int slave_address, in call_send_receive() 72 ddc2_read(const i2c_bus *bus, int start, uint8 *buffer, size_t length) in ddc2_read() 149 ddc2_init_timing(i2c_bus *bus) in ddc2_init_timing() 166 ddc2_read_edid1(const i2c_bus *bus, edid1_info *edid, in ddc2_read_edid1()
|
/haiku/src/add-ons/kernel/bus_managers/pci/ |
H A D | pci_module.cpp | 54 uint8 bus; in ResolveBDF() local 95 .get_msi_count = [](uint8 bus, uint8 device, uint8 function) { in __anon31a29cbf0102() 107 .unconfigure_msi = [](uint8 bus, uint8 device, uint8 function) { in __anon31a29cbf0302() 112 .enable_msi = [](uint8 bus, uint8 device, uint8 function) { in __anon31a29cbf0402() 117 .disable_msi = [](uint8 bus, uint8 device, uint8 function) { in __anon31a29cbf0502() 122 .get_msix_count = [](uint8 bus, uint8 device, uint8 function) { in __anon31a29cbf0602() 134 .enable_msix = [](uint8 bus, uint8 device, uint8 function) { in __anon31a29cbf0802()
|
H A D | pci_fixup.cpp | 25 jmicron_fixup_ahci(PCI *pci, uint8 domain, uint8 bus, uint8 device, in jmicron_fixup_ahci() 83 intel_fixup_ahci(PCI *pci, uint8 domain, uint8 bus, uint8 device, in intel_fixup_ahci() 159 ati_fixup_ixp(PCI *pci, uint8 domain, uint8 bus, uint8 device, uint8 function, in ati_fixup_ixp() 191 pci_fixup_device(PCI *pci, uint8 domain, uint8 bus, uint8 device, in pci_fixup_device()
|
H A D | pci.cpp | 47 uint8 bus; in pci_read_config() local 66 uint8 bus; in pci_write_config() local 96 uint8 bus; in pci_find_capability() local 109 uint8 bus; in pci_find_extended_capability() local 124 uint8 bus; in pci_reserve_device() local 210 uint8 bus; in pci_unreserve_device() local 293 uint8 bus; in pci_update_interrupt_line() local 306 uint8 bus; in pci_get_powerstate() local 318 uint8 bus; in pci_set_powerstate() local 329 __pci_resolve_virtual_bus(uint8 virtualBus, uint8 *domain, uint8 *bus) in __pci_resolve_virtual_bus() [all …]
|
/haiku/src/add-ons/kernel/busses/pci/ecam/ |
H A D | ECAMPCIController.cpp | 24 const char* bus; in SupportsDevice() local 78 const char* bus; in InitDriver() local 113 ECAMPCIController::ConfigAddress(uint8 bus, uint8 device, uint8 function, uint16 offset) in ConfigAddress() 132 ECAMPCIController::ReadConfig(uint8 bus, uint8 device, uint8 function, in ReadConfig() 152 ECAMPCIController::WriteConfig(uint8 bus, uint8 device, uint8 function, in WriteConfig() 180 ECAMPCIController::ReadIrq(uint8 bus, uint8 device, uint8 function, in ReadIrq() 188 ECAMPCIController::WriteIrq(uint8 bus, uint8 device, uint8 function, in WriteIrq()
|
/haiku/src/add-ons/kernel/busses/i2c/pch/ |
H A D | pch_i2c.cpp | 26 enable_device(pch_i2c_sim_info* bus, bool enable) in enable_device() 41 pch_i2c_interrupt_handler(pch_i2c_sim_info* bus) in pch_i2c_interrupt_handler() 98 pch_i2c_sim_info* bus = (pch_i2c_sim_info*)cookie; in set_sim() local 109 pch_i2c_sim_info* bus = (pch_i2c_sim_info*)cookie; in exec_command() local 309 pch_i2c_sim_info* bus = (pch_i2c_sim_info*)context; in pch_i2c_scan_bus_callback() local 364 pch_i2c_sim_info* bus = (pch_i2c_sim_info*)cookie; in scan_bus() local 375 pch_i2c_sim_info* bus = (pch_i2c_sim_info*)cookie; in acquire_bus() local 384 pch_i2c_sim_info* bus = (pch_i2c_sim_info*)cookie; in release_bus() local 399 pch_i2c_sim_info* bus; in init_bus() local 500 pch_i2c_sim_info* bus = (pch_i2c_sim_info*)bus_cookie; in uninit_bus() local
|
H A D | pch_i2c_acpi.cpp | 67 pch_i2c_acpi_sim_info* bus = (pch_i2c_acpi_sim_info*)cookie; in acpi_scan_bus() local 81 pch_i2c_acpi_sim_info* bus = (pch_i2c_acpi_sim_info*)cookie; in register_child_devices() local 109 pch_i2c_acpi_sim_info* bus = (pch_i2c_acpi_sim_info*)calloc(1, in init_device() local 157 pch_i2c_acpi_sim_info* bus = (pch_i2c_acpi_sim_info*)device_cookie; in uninit_device() local 179 const char* bus; in supports_device() local
|
H A D | pch_i2c_pci.cpp | 37 pch_i2c_pci_sim_info* bus = (pch_i2c_pci_sim_info*)cookie; in pci_scan_bus() local 79 pch_i2c_pci_sim_info* bus = (pch_i2c_pci_sim_info*)cookie; in register_child_devices() local 107 pch_i2c_pci_sim_info* bus = (pch_i2c_pci_sim_info*)calloc(1, in init_device() local 199 pch_i2c_pci_sim_info* bus = (pch_i2c_pci_sim_info*)device_cookie; in uninit_device() local 225 const char* bus; in supports_device() local
|
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci.cpp | 50 SdhciBus* bus = (SdhciBus*)data; in sdhci_generic_interrupt() local 622 SdhciBus* bus = (SdhciBus*)cookie; in _WorkerThread() local 646 SdhciBus* bus = (SdhciBus*)bus_cookie; in uninit_bus() local 665 const char* bus; in register_child_devices() local 695 const char* bus; in init_device() local 715 const char* bus; in uninit_device() local 744 const char* bus; in supports_device() local 771 SdhciBus* bus = (SdhciBus*)controller; in set_clock() local 781 SdhciBus* bus = (SdhciBus*)controller; in execute_command() local 790 SdhciBus* bus = (SdhciBus*)controller; in do_io() local [all …]
|
/haiku/src/add-ons/kernel/busses/random/ccp/ |
H A D | ccp.cpp | 31 ccp_device_info* bus = reinterpret_cast<ccp_device_info*>(arg); in handleDPC() local 44 ccp_device_info* bus = reinterpret_cast<ccp_device_info*>(timer->user_data); in handleTimerHook() local 74 ccp_device_info* bus; in init_bus() local 115 ccp_device_info* bus = (ccp_device_info*)bus_cookie; in uninit_bus() local
|
H A D | ccp_pci.cpp | 34 ccp_pci_sim_info* bus = (ccp_pci_sim_info*)calloc(1, in init_device() local 82 ccp_pci_sim_info* bus = (ccp_pci_sim_info*)device_cookie; in uninit_device() local 105 const char* bus; in supports_device() local
|
/haiku/src/add-ons/kernel/bus_managers/i2c/ |
H A D | I2CBus.cpp | 123 I2CBus *bus = new(std::nothrow) I2CBus(node, pathID); in i2c_init_bus() local 146 I2CBus *bus = (I2CBus *)_bus; in i2c_uninit_bus() local 154 I2CBus *bus = (I2CBus *)_bus; in i2c_scan_bus() local 165 I2CBus* bus = (I2CBus*)_bus; in i2c_bus_exec_command() local 175 I2CBus* bus = (I2CBus*)_bus; in i2c_bus_acquire_bus() local 184 I2CBus* bus = (I2CBus*)_bus; in i2c_bus_release_bus() local
|
H A D | bus_raw.cpp | 17 I2CBus *bus = (I2CBus*)driverCookie; in i2c_bus_raw_init() local 26 i2c_bus_raw_uninit(void *bus) in i2c_bus_raw_uninit() 32 i2c_bus_raw_open(void *bus, const char *path, int openMode, in i2c_bus_raw_open() 61 I2CBus *bus = (I2CBus*)_cookie; in i2c_bus_raw_control() local
|
/haiku/src/add-ons/kernel/busses/virtio/virtio_pci/ |
H A D | virtio_pci.cpp | 76 virtio_pci_find_capability(virtio_pci_sim_info* bus, uint8 cfgType, in virtio_pci_find_capability() 113 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)data; in virtio_pci_interrupt() local 138 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)data; in virtio_pci_config_interrupt() local 158 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)data; in virtio_pci_queues_interrupt() local 166 virtio_pci_setup_msix_interrupts(virtio_pci_sim_info* bus) in virtio_pci_setup_msix_interrupts() 218 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)cookie; in set_sim() local 227 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)cookie; in read_host_features() local 254 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)cookie; in write_guest_features() local 276 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)cookie; in get_status() local 291 virtio_pci_sim_info* bus = (virtio_pci_sim_info*)cookie; in set_status() local [all …]
|
/haiku/src/add-ons/kernel/busses/pci/x86/ |
H A D | X86PCIController.cpp | 20 #define PCI_MECH1_REQ_DATA(bus, device, func, offset) \ argument 35 const char* bus; in SupportsDevice() local 139 X86PCIController::ReadIrq(uint8 bus, uint8 device, uint8 function, in ReadIrq() 147 X86PCIController::WriteIrq(uint8 bus, uint8 device, uint8 function, in WriteIrq() 189 uint8 bus, uint8 device, uint8 function, in ReadConfig() 217 uint8 bus, uint8 device, uint8 function, in WriteConfig() 272 uint8 bus, uint8 device, uint8 function, in ReadConfig() 302 uint8 bus, uint8 device, uint8 function, in WriteConfig() 368 uint8 bus, uint8 device, uint8 function, in ReadConfig() 383 uint8 bus, uint8 device, uint8 function, in WriteConfig()
|