/device/board/hihope/rk3568/audio_drivers/headset_monitor/src/ |
H A D | analog_headset_gpio.c | 66 struct HeadsetPriv *hs = g_hsInfo; in ModemMicSwitch() local 69 if ((hs == NULL) || (hs->pdata == NULL)) { in ModemMicSwitch() 70 AUDIO_DEVICE_LOG_ERR("hs or hs->pdata is NULL."); in ModemMicSwitch() 73 pdata = hs->pdata; in ModemMicSwitch() 85 struct HeadsetPriv *hs = g_hsInfo; in ModemMicRelease() local 88 if ((hs == NULL) || (hs->pdata == NULL)) { in ModemMicRelease() 89 AUDIO_DEVICE_LOG_ERR("hs o in ModemMicRelease() 101 ExtconSetStateSync(struct HeadsetPriv *hs, unsigned int id, bool state) ExtconSetStateSync() argument 115 InputReportKeySync(struct HeadsetPriv *hs, unsigned int code, int value) InputReportKeySync() argument 128 InitHeadsetPriv(struct HeadsetPriv *hs, struct HeadsetPdata *pdata) InitHeadsetPriv() argument 167 struct HeadsetPriv *hs = g_hsInfo; HeadsetInterrupt() local 182 struct HeadsetPriv *hs = g_hsInfo; HookInterrupt() local 195 CheckState(struct HeadsetPriv *hs, bool *beChange) CheckState() argument 240 ReportCurrentState(struct HeadsetPriv *hs) ReportCurrentState() argument 280 struct HeadsetPriv *hs = (struct HeadsetPriv *)arg; HeadsetObserveWork() local 311 struct HeadsetPriv *hs = (struct HeadsetPriv *)arg; HookWorkCallback() local 355 struct HeadsetPriv *hs = (struct HeadsetPriv *)arg; HeadsetTimerCallback() local 420 CreateAndRegisterEdev(struct device *dev, struct HeadsetPriv *hs) CreateAndRegisterEdev() argument 445 InitWorkData(struct HeadsetPriv *hs) InitWorkData() argument 462 CreateAndRegisterInputDevice(struct platform_device *pdev, struct HeadsetPriv *hs) CreateAndRegisterInputDevice() argument 496 SetHeadsetIrqEnable(struct device *dev, struct HeadsetPriv *hs) SetHeadsetIrqEnable() argument 548 struct HeadsetPriv *hs; AnalogHeadsetGpioInit() local 602 struct HeadsetPriv *hs = g_hsInfo; AnalogHeadsetGpioRelease() local [all...] |
H A D | analog_headset_adc.c | 68 static int ExtconSetStateSync(struct HeadsetPriv *hs, unsigned int id, bool state) in ExtconSetStateSync() argument 70 if (hs == NULL) { in ExtconSetStateSync() 71 AUDIO_DEVICE_LOG_ERR("hs is NULL!"); in ExtconSetStateSync() 75 extcon_set_state_sync(hs->edev, id, state); in ExtconSetStateSync() 82 static void InputReportKeySync(struct HeadsetPriv *hs, unsigned int code, int value) in InputReportKeySync() argument 84 if (hs == NULL) { in InputReportKeySync() 85 AUDIO_DEVICE_LOG_ERR("hs is NULL!"); in InputReportKeySync() 89 input_report_key(hs->inDev, code, value); in InputReportKeySync() 90 input_sync(hs->inDev); in InputReportKeySync() 95 static void InitHeadsetPriv(struct HeadsetPriv *hs, struc argument 113 CheckState(struct HeadsetPriv *hs, bool *beChange) CheckState() argument 166 ReportCurrentState(struct HeadsetPriv *hs) ReportCurrentState() argument 210 struct HeadsetPriv *hs = g_hsInfo; HeadsetInterrupt() local 277 struct HeadsetPriv *hs = (struct HeadsetPriv *)arg; HookOnceWork() local 349 struct HeadsetPriv *hs = (struct HeadsetPriv *)arg; HookWorkCallback() local 415 InitWorkData(struct HeadsetPriv *hs) InitWorkData() argument 435 CreateAndRegisterInputDevice(struct platform_device *pdev, struct HeadsetPriv *hs) CreateAndRegisterInputDevice() argument 472 SetHeadsetIrqEnable(struct device *dev, struct HeadsetPriv *hs) SetHeadsetIrqEnable() argument 516 struct HeadsetPriv *hs; AnalogHeadsetAdcInit() local 579 struct HeadsetPriv *hs = g_hsInfo; AnalogHeadsetAdcRelease() local [all...] |
H A D | analog_headset_base.c | 45 static InputDevice *HdfInputDeviceInstance(void *hs, struct HdfDeviceObject *device) in HdfInputDeviceInstance() argument 48 (void)hs; in HdfInputDeviceInstance() 58 if ((hs == NULL) || (device == NULL)) { in HdfInputDeviceInstance() 59 AUDIO_DEVICE_LOG_ERR("hs or device is NULL."); in HdfInputDeviceInstance() 70 hdfInDev->pvtData = hs; in HdfInputDeviceInstance() 91 int32_t CreateAndRegisterHdfInputDevice(void *hs, struct HdfDeviceObject *device) in CreateAndRegisterHdfInputDevice() argument 97 if (hs == NULL) { in CreateAndRegisterHdfInputDevice() 98 AUDIO_DEVICE_LOG_ERR("hs is NULL."); in CreateAndRegisterHdfInputDevice() 102 hdfInDev = HdfInputDeviceInstance(hs, device); in CreateAndRegisterHdfInputDevice()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | havege.h | 55 * \param hs HAVEGE state to be initialized 57 void mbedtls_havege_init( mbedtls_havege_state *hs ); 62 * \param hs HAVEGE state to be cleared 64 void mbedtls_havege_free( mbedtls_havege_state *hs );
|
H A D | ssl_internal.h | 348 } hs[MBEDTLS_SSL_MAX_BUFFERED_HS]; member
|
/device/board/hihope/rk3568/audio_drivers/headset_monitor/include/ |
H A D | analog_headset_base.h | 27 int32_t CreateAndRegisterHdfInputDevice(void *hs, struct HdfDeviceObject *device);
|
/device/soc/rockchip/common/vendor/drivers/phy/ |
H A D | phy-rockchip-usbdp.c | 117 bool hs; /* flag for high-speed */
member 610 udphy->hs = maximum_speed <= USB_SPEED_HIGH ? true : false;
in udphy_parse_dt() 821 if (!(udphy->mode & UDPHY_MODE_USB) || udphy->hs) {
in rockchip_u3phy_init() 834 if (!(udphy->mode & UDPHY_MODE_USB) || udphy->hs) {
in rockchip_u3phy_exit()
|
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
H A D | phy-rockchip-usbdp.c | 118 bool hs; /* flag for high-speed */ member 669 udphy->hs = maximum_speed <= USB_SPEED_HIGH ? true : false; in udphy_parse_dt() 870 if (!(udphy->mode & UDPHY_MODE_USB) || udphy->hs) { in rockchip_u3phy_init() 883 if (!(udphy->mode & UDPHY_MODE_USB) || udphy->hs) in rockchip_u3phy_exit()
|
/device/soc/rockchip/common/sdk_linux/ipc/ |
H A D | shm.c | 733 struct hstate *hs;
in newseg() local 736 hs = hstate_sizelog((shmflg >> SHM_HUGE_SHIFT) & SHM_HUGE_MASK);
in newseg() 737 if (!hs) {
in newseg() 741 hugesize = ALIGN(size, huge_page_size(hs));
in newseg()
|
/device/soc/rockchip/common/sdk_linux/include/linux/usb/ |
H A D | gadget.h | 869 int usb_assign_descriptors(struct usb_function *f, struct usb_descriptor_header **fs, struct usb_descriptor_header **hs,
|
/device/soc/rockchip/rk3588/kernel/include/linux/usb/ |
H A D | gadget.h | 865 struct usb_descriptor_header **hs,
|