Home
last modified time | relevance | path

Searched refs:res (Results 4951 - 4975 of 14097) sorted by relevance

1...<<191192193194195196197198199200>>...564

/foundation/resourceschedule/resource_schedule_service/ressched/test/unittest/src/
H A Devent_listener_mgr_test.cpp248 auto res = EventListenerMgr::GetInstance().DumpRegisterInfo(); in HWTEST_F() local
249 EXPECT_TRUE(res.size() == 0); in HWTEST_F()
268 auto res = EventListenerMgr::GetInstance().DumpRegisterInfo(); in HWTEST_F() local
269 EXPECT_TRUE(res.size() == 1); in HWTEST_F()
273 res = EventListenerMgr::GetInstance().DumpRegisterInfo(); in HWTEST_F()
274 EXPECT_TRUE(res.size() == 0); in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_resolv_listen.cpp130 int32_t res = ProcGetKeyForCache(clientSockFd, name); in ProcGetCacheCommand() local
131 if (res < 0) { in ProcGetCacheCommand()
175 int32_t res = ProcGetKeyForCache(clientSockFd, name); in ProcSetCacheCommand() local
176 if (res < 0) { in ProcSetCacheCommand()
241 int32_t res = ProcGetKeyForCache(clientSockFd, name); in ProcPostDnsResultCommand() local
242 if (res < 0) { in ProcPostDnsResultCommand()
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/
H A Dnet_connection.cpp50 int32_t OH_NetConn_GetAddrInfo(char *host, char *serv, struct addrinfo *hint, struct addrinfo **res, int32_t netId) in OH_NetConn_GetAddrInfo() argument
55 if (host == nullptr || res == nullptr) { in OH_NetConn_GetAddrInfo()
77 status = getaddrinfo_ext(host, serv, hint, res, &qp_param); in OH_NetConn_GetAddrInfo()
86 int32_t OH_NetConn_FreeDnsResult(struct addrinfo *res) in OH_NetConn_FreeDnsResult() argument
88 if (res == nullptr) { in OH_NetConn_FreeDnsResult()
93 freeaddrinfo(res); in OH_NetConn_FreeDnsResult()
/foundation/communication/nfc/test/unittest/services/public_test/
H A Dnfc_public_test.cpp303 std::string res = NfcSdkCommon::CodeMiddlePart(src); in HWTEST_F() local
304 ASSERT_TRUE(res.empty() == true); in HWTEST_F()
315 std::string res = NfcSdkCommon::CodeMiddlePart(src); in HWTEST_F() local
316 ASSERT_TRUE(res.empty() == true); in HWTEST_F()
327 std::string res = NfcSdkCommon::CodeMiddlePart(src); in HWTEST_F() local
328 ASSERT_TRUE(res.empty() == false); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_authority_test.cpp456 bool res = AuthorityManager::GetInstance().CheckCallerTrust(); in HWTEST_F() local
457 EXPECT_EQ(false, res); in HWTEST_F()
469 bool res = AuthorityManager::GetInstance().CheckCallerTrust(); in HWTEST_F() local
470 EXPECT_EQ(true, res); in HWTEST_F()
482 bool res = AuthorityManager::GetInstance().CheckInterfaceAuthority(""); in HWTEST_F() local
483 EXPECT_EQ(false, res); in HWTEST_F()
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dpci-sysfs.c69 struct resource *res = attr->private; in pci_mmap_resource() local
75 if (res == &pdev->resource[i]) in pci_mmap_resource()
80 if (res->flags & IORESOURCE_MEM && iomem_is_exclusive(res->start)) in pci_mmap_resource()
86 pcibios_resource_to_bus(pdev->bus, &bar, res); in pci_mmap_resource()
88 mmap_type = res->flags & IORESOURCE_MEM ? pci_mmap_mem : pci_mmap_io; in pci_mmap_resource()
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
H A Dmsi.c128 struct resource res, struct ppc4xx_msi *msi) in ppc4xx_setup_pcieh_hw()
172 mtdcri(SDR0, *sdr_addr, upper_32_bits(res.start)); /*HIGH addr */ in ppc4xx_setup_pcieh_hw()
173 mtdcri(SDR0, *sdr_addr + 1, lower_32_bits(res.start)); /* Low addr */ in ppc4xx_setup_pcieh_hw()
217 struct resource res; in ppc4xx_msi_probe() local
229 err = of_address_to_resource(dev->dev.of_node, 0, &res); in ppc4xx_msi_probe()
239 err = ppc4xx_setup_pcieh_hw(dev, res, msi); in ppc4xx_msi_probe()
127 ppc4xx_setup_pcieh_hw(struct platform_device *dev, struct resource res, struct ppc4xx_msi *msi) ppc4xx_setup_pcieh_hw() argument
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Duv.c171 int res; in expected_page_refs() local
173 res = page_mapcount(page); in expected_page_refs()
175 res++; in expected_page_refs()
177 res++; in expected_page_refs()
179 res++; in expected_page_refs()
181 return res; in expected_page_refs()
/kernel/linux/linux-5.10/arch/x86/pci/
H A Dacpi.c288 static bool resource_is_pcicfg_ioport(struct resource *res) in resource_is_pcicfg_ioport() argument
290 return (res->flags & IORESOURCE_IO) && in resource_is_pcicfg_ioport()
291 res->start == 0xCF8 && res->end == 0xCFF; in resource_is_pcicfg_ioport()
304 if (resource_is_pcicfg_ioport(entry->res)) in pci_acpi_root_prepare_resources()
311 "host bridge window %pR (ignored)\n", entry->res); in pci_acpi_root_prepare_resources()
/kernel/linux/linux-5.10/crypto/
H A Decdsa.c103 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits); in _ecdsa_verify() local
120 /* res = u1*G + u2 * pub_key */ in _ecdsa_verify()
121 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve); in _ecdsa_verify()
123 /* res.x = res.x mod n (if res.x > order) */ in _ecdsa_verify()
124 if (unlikely(vli_cmp(res.x, curve->n, ndigits) == 1)) in _ecdsa_verify()
126 vli_sub(res.x, res.x, curve->n, ndigits); in _ecdsa_verify()
128 if (!vli_cmp(res in _ecdsa_verify()
[all...]
/kernel/linux/linux-5.10/drivers/amba/
H A Dtegra-ahb.c241 struct resource *res; in tegra_ahb_probe() local
250 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in tegra_ahb_probe()
253 if (res && in tegra_ahb_probe()
254 (res->start & INCORRECT_BASE_ADDR_LOW_BYTE) == in tegra_ahb_probe()
257 res->start -= INCORRECT_BASE_ADDR_LOW_BYTE; in tegra_ahb_probe()
260 ahb->regs = devm_ioremap_resource(&pdev->dev, res); in tegra_ahb_probe()
/kernel/linux/linux-5.10/drivers/counter/
H A Dti-eqep.c227 u32 res; in ti_eqep_position_ceiling_write() local
229 err = kstrtouint(buf, 0, &res); in ti_eqep_position_ceiling_write()
233 regmap_write(priv->regmap32, QPOSMAX, res); in ti_eqep_position_ceiling_write()
257 bool res; in ti_eqep_position_enable_write() local
259 err = kstrtobool(buf, &res); in ti_eqep_position_enable_write()
263 regmap_write_bits(priv->regmap16, QEPCTL, QEPCTL_PHEN, res ? -1 : 0); in ti_eqep_position_enable_write()
/kernel/linux/linux-5.10/drivers/clk/qcom/
H A Dcommon.c88 struct resource *res; in qcom_cc_map() local
91 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in qcom_cc_map()
92 base = devm_ioremap_resource(dev, res); in qcom_cc_map()
328 struct resource *res; in qcom_cc_probe_by_index() local
331 res = platform_get_resource(pdev, IORESOURCE_MEM, index); in qcom_cc_probe_by_index()
332 base = devm_ioremap_resource(&pdev->dev, res); in qcom_cc_probe_by_index()
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/
H A Dtdma.c126 int res = 0; in mv_cesa_tdma_process() local
163 res = ctx->ops->process(req, current_status); in mv_cesa_tdma_process()
166 if (res == 0) in mv_cesa_tdma_process()
174 if (res || tdma->cur_dma == tdma_cur) in mv_cesa_tdma_process()
182 if (res) { in mv_cesa_tdma_process()
188 return res; in mv_cesa_tdma_process()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dxgmac_mdio.c259 struct resource *res; in xgmac_mdio_probe() local
268 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in xgmac_mdio_probe()
269 if (!res) { in xgmac_mdio_probe()
283 snprintf(bus->id, MII_BUS_ID_SIZE, "%pa", &res->start); in xgmac_mdio_probe()
287 priv->mdio_base = ioremap(res->start, resource_size(res)); in xgmac_mdio_probe()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dacpi.c428 struct arm_smccc_quirk *res);
430 struct arm_smccc_1_2_regs *res);
483 struct arm_smccc_res res; in acpi_ffh_address_space_arch_handler() local
497 a[5], a[6], a[7], &res, NULL); in acpi_ffh_address_space_arch_handler()
498 memcpy(value, &res, sizeof(res)); in acpi_ffh_address_space_arch_handler()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Datomic.h83 int res, t; \
90 : "=&r" (res), "=&r" (t), "+m" (v->counter) \
94 return res; \
251 s64 res, t; \
258 : "=&r" (res), "=&r" (t), "+m" (v->counter) \
262 return res; \
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A Darcregs.h190 unsigned int ver:8, ways:4, sets:4, res:3, sasid:1, pg_sz:4, member
193 unsigned int u_dtlb:4, u_itlb:4, pg_sz:4, sasid:1, res:3, sets:4,
200 unsigned int ver:8, sasid:1, sz1:4, sz0:4, res:2, pae:1, member
205 pae:1, res:2, sz0:4, sz1:4, sasid:1, ver:8;
267 unsigned int res:21, sz:3, ver:8; member
269 unsigned int ver:8, sz:3, res:21;
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dpci-sysfs.c71 struct resource *res = attr->private; in pci_mmap_resource() local
77 if (res == &pdev->resource[i]) in pci_mmap_resource()
82 if (res->flags & IORESOURCE_MEM && iomem_is_exclusive(res->start)) in pci_mmap_resource()
88 pcibios_resource_to_bus(pdev->bus, &bar, res); in pci_mmap_resource()
90 mmap_type = res->flags & IORESOURCE_MEM ? pci_mmap_mem : pci_mmap_io; in pci_mmap_resource()
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A Dboard-osk.c295 struct resource *res = &osk5912_cf_resources[1]; in osk_init_cf() local
302 res->start = OMAP_CS1_PHYS; in osk_init_cf()
305 res->start = OMAP_CS2_PHYS; in osk_init_cf()
308 res->start = omap_cs3_phys(); in osk_init_cf()
312 res->end = res->start + SZ_8K - 1; in osk_init_cf()
/kernel/linux/linux-5.10/drivers/irqchip/
H A Dirq-tango.c177 struct resource res; in tangox_irq_init() local
185 err = of_address_to_resource(node, 0, &res); in tangox_irq_init()
190 chip->ctl = res.start - baseres->start; in tangox_irq_init()
213 struct resource res; in tangox_of_irq_init() local
220 of_address_to_resource(node, 0, &res); in tangox_of_irq_init()
223 tangox_irq_init(base, &res, c); in tangox_of_irq_init()
H A Dirq-mbigen.c330 struct resource *res; in mbigen_device_probe() local
339 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mbigen_device_probe()
340 if (!res) in mbigen_device_probe()
343 mgn_chip->base = devm_ioremap(&pdev->dev, res->start, in mbigen_device_probe()
344 resource_size(res)); in mbigen_device_probe()
346 dev_err(&pdev->dev, "failed to ioremap %pR\n", res); in mbigen_device_probe()
/kernel/linux/linux-5.10/drivers/input/
H A Dinput-polldev.c179 static int devm_input_polldev_match(struct device *dev, void *res, void *data) in devm_input_polldev_match() argument
181 struct input_polled_devres *devres = res; in devm_input_polldev_match()
186 static void devm_input_polldev_release(struct device *dev, void *res) in devm_input_polldev_release() argument
188 struct input_polled_devres *devres = res; in devm_input_polldev_release()
198 static void devm_input_polldev_unregister(struct device *dev, void *res) in devm_input_polldev_unregister() argument
200 struct input_polled_devres *devres = res; in devm_input_polldev_unregister()
/kernel/linux/linux-5.10/drivers/iommu/
H A Dtegra-gart.c322 struct resource *res; in tegra_gart_probe() local
328 res = platform_get_resource(to_platform_device(dev), IORESOURCE_MEM, 1); in tegra_gart_probe()
329 if (!res) { in tegra_gart_probe()
342 gart->iovmm_base = res->start; in tegra_gart_probe()
343 gart->iovmm_end = res->end + 1; in tegra_gart_probe()
360 gart->savedata = vmalloc(resource_size(res) / GART_PAGE_SIZE * in tegra_gart_probe()
/kernel/linux/linux-5.10/drivers/media/platform/coda/
H A Dimx-vdoa.c287 struct resource *res; in vdoa_probe() local
308 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in vdoa_probe()
309 vdoa->regs = devm_ioremap_resource(vdoa->dev, res); in vdoa_probe()
313 res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in vdoa_probe()
314 if (!res) in vdoa_probe()
316 ret = devm_request_threaded_irq(&pdev->dev, res->start, NULL, in vdoa_probe()

Completed in 19 milliseconds

1...<<191192193194195196197198199200>>...564