| /linux/drivers/bluetooth/ |
| H A D | hci_serdev.c | 24 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete() argument 26 struct hci_dev *hdev = hu->hdev; in hci_uart_tx_complete() 44 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue() argument 46 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue() 49 if (test_bit(HCI_UART_PROTO_READY, &hu->flags)) in hci_uart_dequeue() 50 skb = hu->proto->dequeue(hu); in hci_uart_dequeue() 52 hu->tx_skb = NULL; in hci_uart_dequeue() 59 struct hci_uart *hu = container_of(work, struct hci_uart, write_work); in hci_uart_write_work() local 60 struct serdev_device *serdev = hu->serdev; in hci_uart_write_work() 61 struct hci_dev *hdev = hu->hdev; in hci_uart_write_work() [all …]
|
| H A D | hci_ldisc.c | 78 static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type) in hci_uart_tx_complete() argument 80 struct hci_dev *hdev = hu->hdev; in hci_uart_tx_complete() 98 static inline struct sk_buff *hci_uart_dequeue(struct hci_uart *hu) in hci_uart_dequeue() argument 100 struct sk_buff *skb = hu->tx_skb; in hci_uart_dequeue() 103 percpu_down_read(&hu->proto_lock); in hci_uart_dequeue() 105 if (test_bit(HCI_UART_PROTO_READY, &hu->flags) || in hci_uart_dequeue() 106 test_bit(HCI_UART_PROTO_INIT, &hu->flags)) in hci_uart_dequeue() 107 skb = hu->proto->dequeue(hu); in hci_uart_dequeue() 109 percpu_up_read(&hu->proto_lock); in hci_uart_dequeue() 111 hu->tx_skb = NULL; in hci_uart_dequeue() [all …]
|
| H A D | hci_qca.c | 142 struct hci_uart *hu; member 237 static void qca_power_shutdown(struct hci_uart *hu); 242 static enum qca_btsoc_type qca_soc_type(struct hci_uart *hu) in qca_soc_type() argument 246 if (hu->serdev) { in qca_soc_type() 247 struct qca_serdev *qsd = serdev_device_get_drvdata(hu->serdev); in qca_soc_type() 257 static const char *qca_get_firmware_name(struct hci_uart *hu) in qca_get_firmware_name() argument 259 if (hu->serdev) { in qca_get_firmware_name() 260 struct qca_serdev *qsd = serdev_device_get_drvdata(hu->serdev); in qca_get_firmware_name() 268 static const char *qca_get_rampatch_name(struct hci_uart *hu) in qca_get_rampatch_name() argument 270 if (hu->serdev) { in qca_get_rampatch_name() [all …]
|
| H A D | hci_mrvl.c | 48 struct hci_uart hu; member 57 static int mrvl_open(struct hci_uart *hu) in mrvl_open() argument 62 BT_DBG("hu %p", hu); in mrvl_open() 64 if (!hci_uart_has_flow_control(hu)) in mrvl_open() 76 hu->priv = mrvl; in mrvl_open() 78 if (hu->serdev) { in mrvl_open() 79 ret = serdev_device_open(hu->serdev); in mrvl_open() 91 static int mrvl_close(struct hci_uart *hu) in mrvl_close() argument 93 struct mrvl_data *mrvl = hu->priv; in mrvl_close() 95 BT_DBG("hu %p", hu); in mrvl_close() [all …]
|
| H A D | hci_ll.c | 66 struct hci_uart hu; member 85 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd() argument 89 struct ll_struct *ll = hu->priv; in send_hcill_cmd() 91 BT_DBG("hu %p cmd 0x%x", hu, cmd); in send_hcill_cmd() 111 static int ll_open(struct hci_uart *hu) in ll_open() argument 115 BT_DBG("hu %p", hu); in ll_open() 127 hu->priv = ll; in ll_open() 129 if (hu->serdev) { in ll_open() 130 struct ll_device *lldev = serdev_device_get_drvdata(hu->serdev); in ll_open() 140 static int ll_flush(struct hci_uart *hu) in ll_flush() argument [all …]
|
| H A D | hci_intel.c | 59 struct hci_uart *hu; member 71 struct hci_uart *hu; member 107 static int intel_wait_booting(struct hci_uart *hu) in intel_wait_booting() argument 109 struct intel_data *intel = hu->priv; in intel_wait_booting() 117 bt_dev_err(hu->hdev, "Device boot interrupted"); in intel_wait_booting() 122 bt_dev_err(hu->hdev, "Device boot timeout"); in intel_wait_booting() 130 static int intel_wait_lpm_transaction(struct hci_uart *hu) in intel_wait_lpm_transaction() argument 132 struct intel_data *intel = hu->priv; in intel_wait_lpm_transaction() 140 bt_dev_err(hu->hdev, "LPM transaction interrupted"); in intel_wait_lpm_transaction() 145 bt_dev_err(hu->hdev, "LPM transaction timeout"); in intel_wait_lpm_transaction() [all …]
|
| H A D | hci_ath.c | 31 struct hci_uart *hu; member 75 struct hci_uart *hu; in ath_hci_uart_work() local 80 hu = ath->hu; in ath_hci_uart_work() 81 tty = hu->tty; in ath_hci_uart_work() 91 clear_bit(HCI_UART_SENDING, &hu->tx_state); in ath_hci_uart_work() 92 hci_uart_tx_wakeup(hu); in ath_hci_uart_work() 95 static int ath_open(struct hci_uart *hu) in ath_open() argument 99 BT_DBG("hu %p", hu); in ath_open() 101 if (!hci_uart_has_flow_control(hu)) in ath_open() 110 hu->priv = ath; in ath_open() [all …]
|
| H A D | hci_h4.c | 41 static int h4_open(struct hci_uart *hu) in h4_open() argument 45 BT_DBG("hu %p", hu); in h4_open() 53 hu->priv = h4; in h4_open() 58 static int h4_flush(struct hci_uart *hu) in h4_flush() argument 60 struct h4_struct *h4 = hu->priv; in h4_flush() 62 BT_DBG("hu %p", hu); in h4_flush() 70 static int h4_close(struct hci_uart *hu) in h4_close() argument 72 struct h4_struct *h4 = hu->priv; in h4_close() 74 BT_DBG("hu %p", hu); in h4_close() 80 hu->priv = NULL; in h4_close() [all …]
|
| H A D | hci_bcm.c | 143 struct hci_uart *hu; member 170 static inline void host_set_baudrate(struct hci_uart *hu, unsigned int speed) in host_set_baudrate() argument 172 if (hu->serdev) in host_set_baudrate() 173 serdev_device_set_baudrate(hu->serdev, speed); in host_set_baudrate() 175 hci_uart_set_baudrate(hu, speed); in host_set_baudrate() 178 static int bcm_set_baudrate(struct hci_uart *hu, unsigned int speed) in bcm_set_baudrate() argument 180 struct hci_dev *hdev = hu->hdev; in bcm_set_baudrate() 181 struct bcm_data *bcm = hu->priv; in bcm_set_baudrate() 235 if (device && device->hu && device->hu->serdev) in bcm_device_exists() 391 static int bcm_setup_sleep(struct hci_uart *hu) in bcm_setup_sleep() argument [all …]
|
| H A D | hci_uart.h | 54 int (*open)(struct hci_uart *hu); 55 int (*close)(struct hci_uart *hu); 56 int (*flush)(struct hci_uart *hu); 57 int (*setup)(struct hci_uart *hu); 58 int (*set_baudrate)(struct hci_uart *hu, unsigned int speed); 59 int (*recv)(struct hci_uart *hu, const void *data, int len); 60 int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb); 61 struct sk_buff *(*dequeue)(struct hci_uart *hu); 102 int hci_uart_register_device_priv(struct hci_uart *hu, 106 static inline int hci_uart_register_device(struct hci_uart *hu, in hci_uart_register_device() argument [all …]
|
| H A D | hci_nokia.c | 120 struct hci_uart hu; member 144 static int nokia_enqueue(struct hci_uart *hu, struct sk_buff *skb); 176 static int nokia_reset(struct hci_uart *hu) in nokia_reset() argument 178 struct nokia_bt_dev *btdev = hu->priv; in nokia_reset() 216 static int nokia_send_alive_packet(struct hci_uart *hu) in nokia_send_alive_packet() argument 218 struct nokia_bt_dev *btdev = hu->priv; in nokia_send_alive_packet() 240 nokia_enqueue(hu, skb); in nokia_send_alive_packet() 241 hci_uart_tx_wakeup(hu); in nokia_send_alive_packet() 256 static int nokia_send_negotiation(struct hci_uart *hu) in nokia_send_negotiation() argument 258 struct nokia_bt_dev *btdev = hu->priv; in nokia_send_negotiation() [all …]
|
| H A D | hci_ag6xx.c | 33 static int ag6xx_open(struct hci_uart *hu) in ag6xx_open() argument 37 BT_DBG("hu %p", hu); in ag6xx_open() 45 hu->priv = ag6xx; in ag6xx_open() 49 static int ag6xx_close(struct hci_uart *hu) in ag6xx_close() argument 51 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_close() 53 BT_DBG("hu %p", hu); in ag6xx_close() 59 hu->priv = NULL; in ag6xx_close() 63 static int ag6xx_flush(struct hci_uart *hu) in ag6xx_flush() argument 65 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_flush() 67 BT_DBG("hu %p", hu); in ag6xx_flush() [all …]
|
| H A D | hci_aml.c | 247 struct hci_uart *hu = hci_get_drvdata(hdev); in aml_download_firmware() local 248 struct aml_serdev *amldev = serdev_device_get_drvdata(hu->serdev); in aml_download_firmware() 514 static int aml_set_baudrate(struct hci_uart *hu, unsigned int speed) in aml_set_baudrate() argument 517 if (aml_update_chip_baudrate(hu->hdev, speed) != 0) { in aml_set_baudrate() 518 bt_dev_err(hu->hdev, "Failed to update baud rate"); in aml_set_baudrate() 523 serdev_device_set_baudrate(hu->serdev, speed); in aml_set_baudrate() 529 static int aml_open(struct hci_uart *hu) in aml_open() argument 531 struct aml_serdev *amldev = serdev_device_get_drvdata(hu->serdev); in aml_open() 539 if (!hci_uart_has_flow_control(hu)) { in aml_open() 540 bt_dev_err(hu->hdev, "no flow control"); in aml_open() [all …]
|
| H A D | bpa10x.c | 44 struct hci_uart hu; member 100 data->rx_skb[idx] = h4_recv_buf(&data->hu, data->rx_skb[idx], in bpa10x_rx_complete() 392 data->hu.hdev = hdev; in bpa10x_probe()
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6q-pico-nymph.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6q-pico-dwarf.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6q-pico-hobbit.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6q-pico-pi.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6dl-pico-hobbit.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6dl-pico-pi.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6dl-pico-dwarf.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6dl-pico-nymph.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6ul-pico-dwarf.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx7d-pico-nymph.dts | 6 // Richard Hu <richard.hu@technexion.com>
|
| H A D | imx6ul-pico-hobbit.dts | 6 // Richard Hu <richard.hu@technexion.com>
|