/ohos5.0/drivers/hdf_core/framework/model/network/wifi/bus/ |
H A D | hdf_ibus_intf.c | 27 struct BusDev *bus = NULL; in HdfWlanCreateBusManager() local 37 bus = (struct BusDev *)OsalMemCalloc(sizeof(struct BusDev)); in HdfWlanCreateBusManager() 38 if (bus == NULL) { in HdfWlanCreateBusManager() 43 if (HdfWlanBusAbsInit(bus, busConfig) != HDF_SUCCESS) { in HdfWlanCreateBusManager() 45 OsalMemFree(bus); in HdfWlanCreateBusManager() 49 return bus; in HdfWlanCreateBusManager()
|
/ohos5.0/drivers/hdf_core/framework/model/input/driver/ |
H A D | input_config_parser.c | 129 ret = parser->GetUint8(busNode, "busType", &bus->busType, 0); in ParseBus() 132 if (bus->busType == I2C) { in ParseBus() 133 ret = parser->GetUint8(busNode, "busNum", &bus->i2c.busNum, 0); in ParseBus() 135 ret = parser->GetUint16(busNode, "clkGpio", &bus->i2c.clkGpio, 0); in ParseBus() 143 } else if (bus->busType == SPI) { in ParseBus() 144 ret = parser->GetUint8(busNode, "busNum", &bus->spi.busNum, 0); in ParseBus() 146 ret = parser->GetUint16(busNode, "clkGpio", &bus->spi.clkGpio, 0); in ParseBus() 148 ret = parser->GetUint16(busNode, "csGpio", &bus->spi.csGpio, 0); in ParseBus() 240 ret = ParseBus(parser, busNode, &config->bus); in ParseTouchBoardConfig() 329 ret = parser->GetUint8(node, "busType", &config->bus.busType, 0); in ParseTouchChipConfig() [all …]
|
H A D | input_config.h | 82 BoardBusCfg bus; member 130 ChipBusCfg bus; member
|
H A D | hdf_touch.c | 369 uint16_t irqFlag = chipDev->chipCfg->bus.chipI2c.irqFlag; in SetupChipIrq() 688 driver->i2cClient.i2cCfg.addr = chipDev->chipCfg->bus.chipI2c.commAddr; in DeviceBindDriver() 952 uint8_t busType = config->bus.busType; in TouchSetupBus() 953 uint8_t busNum = config->bus.i2c.busNum; in TouchSetupBus() 955 uint32_t i2cClkAddr = config->bus.i2c.i2cClkReg[0]; in TouchSetupBus() 956 uint32_t i2cClkValue = config->bus.i2c.i2cClkReg[1]; in TouchSetupBus() 957 uint32_t i2cDataAddr = config->bus.i2c.i2cDataReg[0]; in TouchSetupBus() 958 uint32_t i2cDataValue = config->bus.i2c.i2cDataReg[1]; in TouchSetupBus() 988 driver->i2cClient.i2cCfg.busNum = config->bus.i2c.busNum; in TouchInitData()
|
/ohos5.0/drivers/hdf_core/framework/model/network/wifi/core/ |
H A D | hdf_wifi_core.c | 32 return rootConfig->wlanConfig.deviceList.deviceInst[0].bus.busIdx; in HdfWifiGetBusIdx() 44 struct BusDev *bus = NULL; in HdfWlanBusInit() local 51 data->bus = NULL; in HdfWlanBusInit() 55 bus = HdfWlanCreateBusManager(busConfig); in HdfWlanBusInit() 56 if (bus == NULL) { in HdfWlanBusInit() 61 data->bus = bus; in HdfWlanBusInit() 77 data->bus = NULL; in HdfWlanBusInit() 332 if (device->bus != NULL && device->bus->ops.deInit != NULL) { in ReleaseWlanDevice() 333 device->bus->ops.deInit(device->bus); in ReleaseWlanDevice() 334 device->bus = NULL; in ReleaseWlanDevice() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/network/wifi/bus/ |
H A D | Kconfig | 24 bool "Enable HDF wlan sdio bus" 28 Answer Y to support HDF wlan sdio bus. 31 bool "Enable HDF Wlan usb bus" 35 Answer Y to support HDF wlan usb bus.
|
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/network/wifi/bus/ |
H A D | BUILD.gn | 35 sources = [ "$FRAMEWORKS_WIFI_ROOT/bus/hdf_ibus_intf.c" ] 37 sources += [ "$FRAMEWORKS_WIFI_ROOT/bus/hdf_sdio_intf.c" ] 39 sources += [ "$FRAMEWORKS_WIFI_ROOT/bus/hdf_usb_intf.c" ] 41 sources += [ "$FRAMEWORKS_WIFI_ROOT/bus/hdf_pcie_intf.c" ] 49 "$FRAMEWORKS_WIFI_ROOT/bus",
|
/ohos5.0/docs/zh-cn/device-dev/guide/ |
H A D | device-driver-demo.md | 158 bus = 0; 164 bus = 8; 167 bus = 9; 214 ret = drsOps->GetUint16(node, "bus", (uint16_t *)&sampleCntlr->bus, 0); // 从HCS读取总线号bus 216 HDF_LOGE("%s: read bus fail!", __func__); 242 int16_t bus; 318 sampleCntlr->cntlr.busId = sampleCntlr->bus; 371 int16_t bus; 382 ret = drsOps->GetUint16(node, "bus", (uint16_t *)&bus, 0); // 从HCS获取I2C总线号 384 HDF_LOGE("%s: read bus fail!", __func__); [all …]
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-platform-i2c-develop.md | 213 bus = 0; // 【必要】i2c识别号 221 bus = 0; 224 bus = 1; 256 int16_t bus; // 【必要】i2c_config.hcs文件中可读取具体值 336 … hi35xx->cntlr.busId = hi35xx->bus; // 【必要】初始化I2cCntlr成员busId 386 // 【必要】可以调用I2cCntlrGet函数通过设备的bus号获取I2cCntlr对象的指针,以及调用I2cCntlrRemove函数将I2cCntlr对象从平台核心层移除。 387 cntlr = I2cCntlrGet(bus);
|
/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_device.cpp | 20 InputDevice::InputDevice(int32_t id, std::string name, int32_t deviceType, int32_t bus, int32_t ver… in InputDevice() argument 22 : id_(id), name_(name), type_(deviceType), bus_(bus), version_(version), product_(product), in InputDevice() 55 void InputDevice::SetBus(int32_t bus) in SetBus() argument 57 bus_ = bus; in SetBus()
|
/ohos5.0/docs/en/device-dev/guide/ |
H A D | device-driver-demo.md | 157 bus = 0; 163 bus = 8; 166 bus = 9; 213 …ret = drsOps->GetUint16(node, "bus", (uint16_t *)&sampleCntlr->bus, 0); // Read the bus number … 215 HDF_LOGE("%s: read bus fail!", __func__); 241 int16_t bus; 317 sampleCntlr->cntlr.busId = sampleCntlr->bus; 370 int16_t bus; 381 …ret = drsOps->GetUint16(node, "bus", (uint16_t *)&bus, 0); // Obtain the I2C bus number from the H… 383 HDF_LOGE("%s: read bus fail!", __func__); [all …]
|
/ohos5.0/drivers/external_device_manager/test/fuzztest/bus_extension_fuzzer/usbextension_fuzzer/ |
H A D | usbextension_fuzzer.cpp | 39 auto bus = make_shared<UsbBusExtension>(); in ParseDriverInfoTest() local 45 auto ret = bus->ParseDriverInfo(metadata); in ParseDriverInfoTest()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_mmi_device_info_adapter_impl.cpp | 82 void ArkMMIDeviceInfoAdapterImpl::SetBus(int32_t bus) in SetBus() argument 84 real_->SetBus(bus); in SetBus()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/network/wifi/ |
H A D | Makefile | 31 IBUS_PATH := bus 72 obj-$(CONFIG_DRIVERS_HDF_WIFI) += bus/
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_mmi_device_info_adapter_wrapper.cpp | 89 void ArkMMIDeviceInfoAdapterWrapper::SetBus(int32_t bus) in SetBus() argument 91 ctocpp_->SetBus(bus); in SetBus()
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-platform-i3c-des.md | 7 …) is a simple and cost-efficient two-wire bidirectional synchronous serial bus protocol developed … 9 …bus, optimized for multiple sensor target devices and controlled by only one I3C controller at a t… 25 …flicts. Before addresses are allocated, each I3C device connected to a I3C bus must be uniquely id… 35 …Each I3C device connected to an I3C bus has a read-only BCR, which describes the I3C compliant dev… 39 …Each I3C device connected to an I3C bus has a read-only DCR, which describes the I3C compliant dev… 45 …evice, and I3C secondary controller, can be connected to an I3C bus. However, the I3C bus must hav… 343 uint16_t busNum; /* I3C bus number */
|
H A D | driver-platform-i2c-develop.md | 7 The Inter-Integrated Circuit (I2C) is a simple, bidirectional, and synchronous serial bus that uses… 204 bus = 0; // (Mandatory) I2C identifier. 212 bus = 0; 215 bus = 1; 236 …m structure and passes important parameters, such as the device number and bus number, to the **I2… 245 …int16_t bus; // (Mandatory) The value can be read from the i2c_config.hcs fil… 325 hi35xx->cntlr.busId = hi35xx->bus; // (Mandatory) Initialize busId in I2cCntlr. 375 …ll I2cCntlrGet() to obtain the pointer to the I2cCntlr object based on the bus number of the devic… 376 cntlr = I2cCntlrGet(bus);
|
/ohos5.0/docs/en/application-dev/reference/apis-driverdevelopment-kit/ |
H A D | _usb_config_descriptor.md | 31 | [bMaxPower](#bmaxpower) | Maximum power consumption of the bus-powered USB device, in 2 mA.| 94 Maximum power consumption of the bus-powered USB device, in 2 mA.
|
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/include/ |
H A D | device.h | 72 void SetBus(int32_t bus) override; 176 inline void Device::SetBus(int32_t bus) in SetBus() argument 178 bus_ = bus; in SetBus()
|
/ohos5.0/base/msdp/device_status/intention/services/device_manager/include/ |
H A D | device.h | 72 void SetBus(int32_t bus) override; 176 inline void Device::SetBus(int32_t bus) in SetBus() argument 178 bus_ = bus; in SetBus()
|
/ohos5.0/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/ |
H A D | input_device.h | 66 void SetBus(int32_t bus); 115 …InputDevice(int32_t id, std::string name, int32_t deviceType, int32_t bus, int32_t version, int32_…
|
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/model/ |
H A D | BUILD.gn | 34 "bus/usb", 42 "network/wifi/bus",
|
/ohos5.0/base/startup/init/ueventd/ |
H A D | ueventd_device_handler.c | 335 char *bus = GetRealPath(subsystem); in GetBlockDeviceSymbolLinks() local 336 if (bus == NULL) { in GetBlockDeviceSymbolLinks() 340 if (STRINGEQUAL(bus, "/sys/bus/platform")) { in GetBlockDeviceSymbolLinks() 350 free(bus); in GetBlockDeviceSymbolLinks()
|
/ohos5.0/drivers/hdf_core/interfaces/inner_api/host/shared/ |
H A D | hdf_driver.h | 18 uint16_t bus; member
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | spi_test.h | 32 uint32_t bus; member
|