hci_write
u32 result = hci_write(dev, HCI_COOLING_METHOD, state);
u32 result = hci_write(dev, HCI_BATTERY_CHARGE_MODE, state);
u32 result = hci_write(dev, HCI_TR_BACKLIGHT, !status);
result = hci_write(dev, HCI_LCD_BRIGHTNESS, value);
u32 result = hci_write(dev, HCI_FAN, status);
result = hci_write(dev, HCI_HOTKEY_EVENT,
result = hci_write(dev, HCI_HOTKEY_EVENT,
result = hci_write(dev, HCI_HOTKEY_EVENT, HCI_HOTKEY_ENABLE);
result = hci_write(dev, HCI_SYSTEM_EVENT, 1);
else if (hci_write(dev, HCI_SYSTEM_EVENT, 1) == TOS_SUCCESS)
result = hci_write(dev, HCI_HOTKEY_EVENT, HCI_HOTKEY_DISABLE);
hci_write(dev, HCI_PANEL_POWER_ON, 1);
result = hci_write(dev, HCI_KBD_ILLUMINATION, state);
const struct dsp_image_seg *hci_write = NULL;
hci_write = fls;
if (hci_write && (!fls || is_last(fls))) {
return dspxfr_hci_write(codec, hci_write);
return hci_write ? dspxfr_hci_write(codec, hci_write) : 0;
if (hci_write) {
status = dspxfr_hci_write(codec, hci_write);
hci_write = NULL;