Lines Matching refs:hci_result
1219 u32 hci_result; in hci_get_bt_present() local
1224 hci_result = hci_read2(dev, HCI_WIRELESS, &value, &value2); in hci_get_bt_present()
1225 if (hci_result == TOS_SUCCESS) in hci_get_bt_present()
1228 return hci_result; in hci_get_bt_present()
1233 u32 hci_result; in hci_get_radio_state() local
1238 hci_result = hci_read2(dev, HCI_WIRELESS, &value, &value2); in hci_get_radio_state()
1241 return hci_result; in hci_get_radio_state()
1281 u32 hci_result; in bt_rfkill_poll() local
1286 hci_result = hci_get_radio_state(dev, &value); in bt_rfkill_poll()
1287 if (hci_result != TOS_SUCCESS) { in bt_rfkill_poll()
1308 u32 hci_result; in get_tr_backlight_status() local
1311 hci_result = hci_read1(dev, HCI_TR_BACKLIGHT, &status); in get_tr_backlight_status()
1313 return hci_result == TOS_SUCCESS ? 0 : -EIO; in get_tr_backlight_status()
1318 u32 hci_result; in set_tr_backlight_status() local
1321 hci_result = hci_write1(dev, HCI_TR_BACKLIGHT, value); in set_tr_backlight_status()
1322 return hci_result == TOS_SUCCESS ? 0 : -EIO; in set_tr_backlight_status()
1329 u32 hci_result; in __get_lcd_brightness() local
1344 hci_result = hci_read1(dev, HCI_LCD_BRIGHTNESS, &value); in __get_lcd_brightness()
1345 if (hci_result == TOS_SUCCESS) in __get_lcd_brightness()
1386 u32 hci_result; in set_lcd_brightness() local
1399 hci_result = hci_write1(dev, HCI_LCD_BRIGHTNESS, value); in set_lcd_brightness()
1400 return hci_result == TOS_SUCCESS ? 0 : -EIO; in set_lcd_brightness()
1447 u32 hci_result; in get_video_status() local
1449 hci_result = hci_read1(dev, HCI_VIDEO_OUT, status); in get_video_status()
1450 return hci_result == TOS_SUCCESS ? 0 : -EIO; in get_video_status()
1553 u32 hci_result; in get_fan_status() local
1555 hci_result = hci_read1(dev, HCI_FAN, status); in get_fan_status()
1556 return hci_result == TOS_SUCCESS ? 0 : -EIO; in get_fan_status()
1586 u32 hci_result; in fan_proc_write() local
1595 hci_result = hci_write1(dev, HCI_FAN, value); in fan_proc_write()
1596 if (hci_result == TOS_SUCCESS) in fan_proc_write()
1619 u32 hci_result; in keys_proc_show() local
1623 hci_result = hci_read1(dev, HCI_SYSTEM_EVENT, &value); in keys_proc_show()
1624 if (hci_result == TOS_SUCCESS) { in keys_proc_show()
1627 } else if (hci_result == TOS_FIFO_EMPTY) { in keys_proc_show()
1629 } else if (hci_result == TOS_NOT_SUPPORTED) { in keys_proc_show()
1635 hci_result = hci_write1(dev, HCI_SYSTEM_EVENT, 1); in keys_proc_show()
2481 u32 hci_result, value; in toshiba_acpi_process_hotkeys() local
2493 hci_result = hci_read1(dev, HCI_SYSTEM_EVENT, &value); in toshiba_acpi_process_hotkeys()
2494 switch (hci_result) { in toshiba_acpi_process_hotkeys()
2504 hci_result = in toshiba_acpi_process_hotkeys()
2512 } while (retries && hci_result != TOS_FIFO_EMPTY); in toshiba_acpi_process_hotkeys()
2521 u32 hci_result; in toshiba_acpi_setup_keyboard() local
2580 hci_result = hci_write1(dev, HCI_SYSTEM_EVENT, 1); in toshiba_acpi_setup_keyboard()
2581 if (hci_result == TOS_SUCCESS) in toshiba_acpi_setup_keyboard()