| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-class-devlink | 7 denoted as ... above, is of the form <supplier>--<consumer> 8 where <supplier> is the supplier bus:device name and <consumer> 17 supplier devices themselves are still present. 22 - 'supplier unbind' 28 'supplier unbind' means the device link will be removed when 29 the supplier's driver is unbound from the supplier device. 32 when as long as the supplier and consumer devices themselves 46 runtime power management behavior of the consumer and supplier 47 devices. For example: Making sure the supplier doesn't enter 62 of a device link is affected by whether the supplier and [all …]
|
| H A D | sysfs-devices-supplier | 1 What: /sys/devices/.../supplier:<supplier> 5 The /sys/devices/.../supplier:<supplier> are symlinks to device 6 links where this device is the consumer. <supplier> denotes the 7 name of the supplier in that device link and is of the form
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/ |
| H A D | tst_place.qml | 94 supplier: Supplier { 95 name: "Supplier 1" 96 supplierId: "supplier-id-1" 97 url: "http://www.example.com/supplier-id-1/" 101 parameters.singleUrl = "http://www.example.com/supplier-id-1/icon" 154 // check supplier 155 if (place1.supplier === null && place2.supplier !== null) 157 if (place1.supplier !== null && place2.supplier === null) 159 if (place1.supplier !== null && place2.supplier !== null) { 160 if (place1.supplier.supplierId !== place2.supplier.supplierId) [all …]
|
| H A D | tst_supplier.qml | 37 name: "Supplier" 39 Supplier { id: emptySupplier } 48 Supplier { 51 supplierId: "test-supplier-id" 52 name: "Test Supplier" 53 url: "http://example.com/test-supplier-id" 57 parameters.singleUrl = "http://example.com/icons/test-supplier.png" 63 compare(qmlSupplier.supplierId, "test-supplier-id"); 64 compare(qmlSupplier.name, "Test Supplier"); 65 compare(qmlSupplier.url, "http://example.com/test-supplier-id"); [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativeplaces/ |
| H A D | qdeclarativesupplier.cpp | 44 \qmltype Supplier 51 \brief Holds data regarding the supplier of a place, a place's image, review, or editorial. 53 Each instance represents a set of data about a supplier, which can include 54 supplier's name, url and icon. The supplier is typically a business or organization. 63 The following example shows how to create and display a supplier in QML: 68 \snippet declarative/places.qml Supplier 101 \qmlproperty QPlaceSupplier Supplier::supplier 104 "\l {Supplier - QPlaceSupplier} {Interfaces between C++ and QML Code}". 129 QPlaceSupplier QDeclarativeSupplier::supplier() in supplier() function in QDeclarativeSupplier 136 \qmlproperty string Supplier::supplierId [all …]
|
| H A D | qdeclarativeplacecontentmodel.cpp | 158 if (!m_suppliers.contains(content.supplier().supplierId())) { in initializeCollection() 159 m_suppliers.insert(content.supplier().supplierId(), in initializeCollection() 160 … new QDeclarativeSupplier(content.supplier(), m_place->plugin(), this)); in initializeCollection() 202 …return QVariant::fromValue(static_cast<QObject *>(m_suppliers.value(content.supplier().supplierId(… in data() 215 roles.insert(SupplierRole, "supplier"); in roleNames() 341 if (!m_suppliers.contains(content.supplier().supplierId())) { in fetchFinished() 342 m_suppliers.insert(content.supplier().supplierId(), in fetchFinished() 343 … new QDeclarativeSupplier(content.supplier(), m_place->plugin(), this)); in fetchFinished() 368 if (!m_suppliers.contains(content.supplier().supplierId())) { in fetchFinished() 369 m_suppliers.insert(content.supplier().supplierId(), in fetchFinished() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/places/ |
| H A D | qplacesupplier.cpp | 85 \brief The QPlaceSupplier class represents a supplier of a place or content associated 88 Each instance represents a set of data about a supplier, which can include 89 supplier's name, url and icon. The supplier is typically a business or organization. 96 Constructs a new supplier object. 112 Destroys the supplier object. 119 Assigns \a other to this supplier and returns a reference to this 120 supplier. 132 Returns true if this supplier is equal to \a other, 143 Returns true if this supplier is not equal to \a other, 148 Returns the name of the supplier which can be displayed to the user. [all …]
|
| H A D | qplacecontent.cpp | 61 return supplier == other->supplier in compare() 79 \l {QPlaceUser}{user} and/or \l {QPlaceSupplier}{supplier}. It is possible that 80 a user from a supplier is contributing content, hence both fields could 201 Returns the supplier who contributed this content. 203 QPlaceSupplier QPlaceContent::supplier() const in supplier() function in QPlaceContent 207 return d->supplier; in supplier() 211 Sets the \a supplier of the content. 213 void QPlaceContent::setSupplier(const QPlaceSupplier &supplier) in setSupplier() argument 217 d->supplier = supplier; in setSupplier()
|
| H A D | qplace.cpp | 259 Returns the supplier of this place. 261 QPlaceSupplier QPlace::supplier() const in supplier() function in QPlace 263 return d_ptr->supplier(); in supplier() 267 Sets the supplier of this place to \a supplier. 269 void QPlace::setSupplier(const QPlaceSupplier &supplier) in setSupplier() argument 271 d_ptr->setSupplier(supplier); in setSupplier() 615 && supplier() == other.supplier() in operator ==() 634 && supplier().isEmpty() in isEmpty() 719 QPlaceSupplier QPlacePrivateDefault::supplier() const in supplier() function in QPlacePrivateDefault 724 void QPlacePrivateDefault::setSupplier(const QPlaceSupplier &supplier) in setSupplier() argument [all …]
|
| H A D | qplace_p.h | 81 virtual QPlaceSupplier supplier() const = 0; 82 virtual void setSupplier(const QPlaceSupplier &supplier) = 0; 128 virtual QPlaceSupplier supplier() const override; 129 virtual void setSupplier(const QPlaceSupplier &supplier) override;
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/ |
| H A D | device_link.rst | 29 "supplier" device and its "consumer" devices, and it guarantees driver 30 presence on the supplier. The consumer devices are not probed before the 31 supplier is bound to a driver, and they're unbound before the supplier 34 When driver presence on the supplier is irrelevant and only correct 37 enforcing driver presence on the supplier is optional. 41 is instructed to runtime resume the supplier and keep it active 48 :c:func:`device_add()` has been called for the supplier and 61 ``->probe`` callback while the supplier hasn't started to probe yet: Had the 64 presence of the supplier after adding the link, and defer probing on 66 ``->probe`` callback while the supplier is still probing, but the consumer must [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacesupplier/ |
| H A D | tst_qplacesupplier.cpp | 136 QPlaceSupplier supplier; in isEmptyTest() local 138 QVERIFY(supplier.isEmpty()); in isEmptyTest() 141 supplier.setName(QStringLiteral("Name")); in isEmptyTest() 142 QVERIFY(!supplier.isEmpty()); in isEmptyTest() 143 supplier.setName(QString()); in isEmptyTest() 144 QVERIFY(supplier.isEmpty()); in isEmptyTest() 147 supplier.setSupplierId(QStringLiteral("1")); in isEmptyTest() 148 QVERIFY(!supplier.isEmpty()); in isEmptyTest() 149 supplier.setSupplierId(QString()); in isEmptyTest() 150 QVERIFY(supplier.isEmpty()); in isEmptyTest() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/ |
| H A D | core.c | 57 * @sup: Supplier end of the link. 88 link->supplier = sup; in fwnode_link_add() 102 * fwnode_links_purge_suppliers - Delete all supplier links of fwnode_handle. 103 * @fwnode: fwnode whose supplier links need to be deleted 105 * Deletes all supplier links connecting directly to @fwnode. 299 struct device *supplier) in device_link_init_status() argument 301 switch (supplier->links.status) { in device_link_init_status() 306 * A consumer driver can create a link to a supplier in device_link_init_status() 308 * knows that the supplier is already functional (for in device_link_init_status() 310 * supplier). in device_link_init_status() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/src/ |
| H A D | cpp-qml.qdoc | 106 \section2 Supplier - QPlaceSupplier 107 The \l {Supplier::supplier} {Supplier.supplier} property is used to provide an interface between C+… 108 Supplier object must be obtained from C++, then use the \l {QObject::property()}{property()} and 109 \l {QObject::setProperty()}{setProperty()} functions to get and set the \c supplier property. 111 \snippet cpp/cppqml.cpp Supplier get 113 \snippet cpp/cppqml.cpp Supplier set
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplaceimage/ |
| H A D | tst_qplaceimage.cpp | 71 QPlaceSupplier supplier; in initialSubObject() local 72 supplier.setName("supplier"); in initialSubObject() 73 supplier.setSupplierId("1"); in initialSubObject() 80 image.setSupplier(supplier); in initialSubObject() 114 QVERIFY2(testObj.supplier().supplierId() == QString(), "Wrong default value"); in supplierTest() 119 QVERIFY2(testObj.supplier() == sup, "Wrong value returned"); in supplierTest()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplaceeditorial/ |
| H A D | tst_qplaceeditorial.cpp | 73 QPlaceSupplier supplier; in initialSubObject() local 74 supplier.setName("supplier"); in initialSubObject() 75 supplier.setSupplierId("1"); in initialSubObject() 82 editorial.setSupplier(supplier); in initialSubObject() 115 QVERIFY2(testObj.supplier().supplierId() == QString(), "Wrong default value"); in supplierTest() 120 QVERIFY2(testObj.supplier() == sup, "Wrong value returned"); in supplierTest()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qplacereview/ |
| H A D | tst_qplacereview.cpp | 77 QPlaceSupplier supplier; in initialSubObject() local 78 supplier.setName("supplier"); in initialSubObject() 79 supplier.setSupplierId("1"); in initialSubObject() 89 review.setSupplier(supplier); in initialSubObject() 123 QVERIFY2(testObj.supplier().supplierId() == QString(), "Wrong default value"); in supplierTest() 128 QVERIFY2(testObj.supplier() == sup, "Wrong value returned"); in supplierTest()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/placesv2/ |
| H A D | jsonparserhelpers.cpp | 65 QPlaceSupplier supplier; in parseSupplier() local 66 supplier.setName(supplierObject.value(QStringLiteral("title")).toString()); in parseSupplier() 67 supplier.setUrl(supplierObject.value(QStringLiteral("href")).toString()); in parseSupplier() 69 supplier.setIcon(engine->icon(supplierObject.value(QStringLiteral("icon")).toString())); in parseSupplier() 71 return supplier; in parseSupplier() 131 image.setSupplier(parseSupplier(imageObject.value(QStringLiteral("supplier")).toObject(), in parseImage() 165 review.setSupplier(parseSupplier(reviewObject.value(QStringLiteral("supplier")).toObject(), in parseReview() 188 … editorial.setSupplier(parseSupplier(editorialObject.value(QStringLiteral("supplier")).toObject(), in parseEditorial()
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | dev-needs.sh | 119 SUPPLIER_LINKS=$(ls -1d $CON/supplier:* 2>/dev/null) 131 SUPPLIER=$(realpath $SL/supplier) 133 if [ ! -e $SUPPLIER/driver -a ${ALLOW_NO_DRIVER} -eq 0 ] 138 CONSUMERS+=($SUPPLIER) 139 OUT_LIST+=(${CON} ${SUPPLIER}) 268 # considered a "supplier" as a device can't probe without its parent.
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/cpp/ |
| H A D | cppqml.cpp | 120 //! [Supplier get] in cppQmlInterface() 121 QPlaceSupplier placeSupplier = qmlObject->property("supplier").value<QPlaceSupplier>(); in cppQmlInterface() 122 //! [Supplier get] in cppQmlInterface() 124 //! [Supplier set] in cppQmlInterface() 125 qmlObject->setProperty("supplier", QVariant::fromValue(placeSupplier)); in cppQmlInterface() 126 //! [Supplier set] in cppQmlInterface()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qmlinterface/data/ |
| H A D | TestSupplier.qml | 31 Supplier { 32 name: "Test supplier" 33 supplierId: "test-supplier-id" 34 url: "http://www.example.com/test-supplier"
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | device.h | 302 * @DL_STATE_DORMANT: None of the supplier/consumer drivers is present. 303 * @DL_STATE_AVAILABLE: The supplier driver is present, but the consumer is not. 304 * @DL_STATE_CONSUMER_PROBE: The consumer is probing (supplier driver present). 305 * @DL_STATE_ACTIVE: Both the supplier and consumer drivers are present. 306 * @DL_STATE_SUPPLIER_UNBIND: The supplier driver is unbinding. 323 * RPM_ACTIVE: Run pm_runtime_get_sync() on the supplier during link creation. 324 * AUTOREMOVE_SUPPLIER: Remove the link automatically on supplier driver unbind. 325 * AUTOPROBE_CONSUMER: Probe consumer driver automatically after supplier binds. 326 * MANAGED: The core tracks presence of supplier/consumer drivers (internal). 356 * @suppliers: List of links to supplier devices. [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qmlinterface/ |
| H A D | tst_qmlinterface.cpp | 114 m_supplier.setName(QStringLiteral("Test supplier")); in tst_qmlinterface() 115 m_supplier.setUrl(QUrl(QStringLiteral("http://www.example.com/test-supplier"))); in tst_qmlinterface() 116 m_supplier.setSupplierId(QStringLiteral("test-supplier-id")); in tst_qmlinterface() 254 QPlaceSupplier supplier = qmlObject->property("supplier").value<QPlaceSupplier>(); in testSupplier() local 256 QCOMPARE(supplier, m_supplier); in testSupplier() 258 qmlObject->setProperty("supplier", QVariant::fromValue(QPlaceSupplier())); in testSupplier() 346 QCOMPARE(qmlObject->property("supplier").value<QPlaceSupplier>(), QPlaceSupplier()); in testPlace()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/doc/snippets/declarative/ |
| H A D | places.qml | 195 source: supplier.icon.url(Qt.size(width, height), Icon.List) 199 text: "Provided by " + supplier.name 245 text: supplier.name + "\n" + supplier.url 253 //! [Supplier] 254 Supplier { 263 //! [Supplier]
|
| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A D | property.c | 1044 * of_link_to_phandle - Add fwnode link to supplier from supplier phandle 1046 * @sup_np: supplier device tree node 1048 * Given a phandle to a supplier device tree node (@sup_np), this function 1049 * finds the device that owns the supplier device tree node and creates a 1050 * device link from @dev consumer device to the supplier device. This function 1056 * - 0 if fwnode link successfully created to supplier 1057 * - -EINVAL if the supplier link is invalid and should not be created 1058 * - -ENODEV if struct device will never be create for supplier 1068 * Find the device node that contains the supplier phandle. It may be in of_link_to_phandle() 1073 /* Don't allow linking to a disabled supplier */ in of_link_to_phandle() [all …]
|