Searched refs:bdev (Results 1 – 7 of 7) sorted by relevance
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/ |
H A D | h2transactions.cpp | 35 assembly_rx(bt_usb_dev* bdev, bt_packet_t type, void* data, int count) in assembly_rx() argument 37 bdev->stat.bytesRX += count; in assembly_rx() 39 return btDevices->PostTransportPacket(bdev->hdev, type, data, count); in assembly_rx() 51 bt_usb_dev* bdev = (bt_usb_dev*)cookie; in event_complete() local 58 if (bdev == NULL) in event_complete() 67 if (assembly_rx(bdev, BT_EVENT, data, actual_len) == B_OK) { in event_complete() 68 bdev->stat.successfulTX++; in event_complete() 70 bdev->stat.errorRX++; in event_complete() 75 error = usb->queue_interrupt(bdev->intr_in_ep->handle, data, in event_complete() 76 max_c(HCI_MAX_EVENT_SIZE, bdev->max_packet_size_intr_in), in event_complete() [all …]
|
H A D | h2upper.cpp | 24 sched_tx_processing(bt_usb_dev* bdev) argument 30 TRACE("%s: (%p)\n", __func__, bdev); 32 if (!TEST_AND_SET(&bdev->state, PROCESSING)) { 39 bdev->state = CLEAR_BIT(bdev->state, SENDING); 42 while (!list_is_empty(&bdev->nbuffersTx[BT_COMMAND])) { 44 if (!list_is_empty(&bdev->nbuffersTx[BT_COMMAND])) { 47 list_remove_head_item(&bdev->nbuffersTx[BT_COMMAND]); 48 err = submit_tx_command(bdev, snbuf); 51 list_insert_item_before(&bdev->nbuffersTx[BT_COMMAND], 52 list_get_first_item(&bdev->nbuffersTx[BT_COMMAND]), [all …]
|
H A D | h2generic.cpp | 182 kill_device(bt_usb_dev* bdev) in kill_device() argument 184 if (bdev != NULL) { in kill_device() 185 TRACE("%s: (%p)\n", __func__, bdev); in kill_device() 187 delete_sem(bdev->lock); in kill_device() 188 delete_sem(bdev->cmd_complete); in kill_device() 191 bt_usb_devices[bdev->num] = NULL; in kill_device() 193 free(bdev); in kill_device() 385 bt_usb_dev* bdev = fetch_device((bt_usb_dev*)cookie, 0); in device_removed() local 387 TRACE("%s: device_removed(%p)\n", __func__, bdev); in device_removed() 389 if (bdev == NULL) { in device_removed() [all …]
|
H A D | h2transactions.h | 12 status_t submit_rx_event(bt_usb_dev* bdev); 13 status_t submit_rx_acl(bt_usb_dev* bdev); 14 status_t submit_rx_sco(bt_usb_dev* bdev); 16 status_t submit_tx_command(bt_usb_dev* bdev, snet_buffer* snbuf); 17 status_t submit_tx_acl(bt_usb_dev* bdev, net_buffer* nbuf); 18 status_t submit_tx_sco(bt_usb_dev* bdev);
|
H A D | h2upper.h | 14 status_t post_packet_up(bt_usb_dev* bdev, bt_packet_t type, void* buf); 18 void sched_tx_processing(bt_usb_dev* bdev);
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire.cpp | 204 device_printf(fc->bdev, "Discard a packet (queued=%d)\n", in fw_asyreq() 315 device_printf(fc->bdev, in firewire_xfer_timeout() 1332 device_printf(fc->bdev, "%s: root_node=%d gap_count=%d\n", in fw_phy_config() 1392 device_printf(fc->bdev, "%s:" in fw_sidrcv() 1457 device_printf(fc->bdev, "%d nodes, maxhop <= %d %s irm(%d) %s\n", in fw_sidrcv() 1499 device_printf(fc->bdev, "%s:" in fw_bus_probe() 1507 device_printf(fc->bdev, "%s:" in fw_bus_probe() 1512 device_printf(fc->bdev, "%s:" in fw_bus_probe() 1618 device_printf(fc->bdev, "%s: node%d: explore_read_quads failure\n", in fw_explore_node() 1626 device_printf(fc->bdev, "%s:" in fw_explore_node() [all …]
|
/haiku/headers/private/firewire/ |
H A D | firewirereg.h | 146 device_t bdev; member
|