Home
last modified time | relevance | path

Searched refs:res (Results 4251 - 4275 of 14097) sorted by relevance

1...<<171172173174175176177178179180>>...564

/kernel/linux/linux-5.10/arch/powerpc/platforms/
H A Dfsl_uli1575.c220 struct resource *res; in quirk_final_uli5249() local
229 pci_bus_for_each_resource(bus, res, i) { in quirk_final_uli5249()
230 if (res && res->flags & IORESOURCE_MEM) { in quirk_final_uli5249()
231 if (res->end == end) in quirk_final_uli5249()
232 dummy = ioremap(res->start, 0x4); in quirk_final_uli5249()
234 dummy = ioremap(res->end - 3, 0x4); in quirk_final_uli5249()
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
H A Dmpc85xx_cds.c60 u8 res[248]; /* Total 256 bytes */ member
187 struct resource *res = bus->resource[0]; in mpc85xx_cds_fixup_bus() local
192 if (res) { in mpc85xx_cds_fixup_bus()
193 res->start = 0; in mpc85xx_cds_fixup_bus()
194 res->end = 0x1fff; in mpc85xx_cds_fixup_bus()
195 res->flags = IORESOURCE_IO; in mpc85xx_cds_fixup_bus()
197 pr_info("mpc85xx_cds: %pR\n", res); in mpc85xx_cds_fixup_bus()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dcrash.c176 static int get_nr_ram_ranges_callback(struct resource *res, void *arg) in get_nr_ram_ranges_callback() argument
234 static int prepare_elf64_ram_headers_callback(struct resource *res, void *arg) in prepare_elf64_ram_headers_callback() argument
238 cmem->ranges[cmem->nr_ranges].start = res->start; in prepare_elf64_ram_headers_callback()
239 cmem->ranges[cmem->nr_ranges].end = res->end; in prepare_elf64_ram_headers_callback()
286 static int memmap_entry_callback(struct resource *res, void *arg) in memmap_entry_callback() argument
292 ei.addr = res->start; in memmap_entry_callback()
293 ei.size = resource_size(res); in memmap_entry_callback()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
H A Ddma.c79 static struct resource res[] __initdata = {
260 .res = res,
324 dma_base = ioremap(res[0].start, resource_size(&res[0])); in omap1_system_dma_init()
331 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); in omap1_system_dma_init()
/kernel/linux/linux-6.6/arch/alpha/math-emu/
H A Dmath.c110 unsigned long res, va, vb, vc, swcr, fpcr; in alpha_fp_emul() local
178 FP_CMP_D(res, DA, DB, 3); in alpha_fp_emul()
182 if (res == 3 in alpha_fp_emul()
189 case FOP_FNC_CMPxUN: if (res != 3) vc = 0; break; in alpha_fp_emul()
190 case FOP_FNC_CMPxEQ: if (res) vc = 0; break; in alpha_fp_emul()
191 case FOP_FNC_CMPxLT: if (res != -1) vc = 0; break; in alpha_fp_emul()
192 case FOP_FNC_CMPxLE: if ((long)res > 0) vc = 0; break; in alpha_fp_emul()
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A Ddma.c79 static struct resource res[] __initdata = {
260 .res = res,
308 dma_base = ioremap(res[0].start, resource_size(&res[0])); in omap1_system_dma_init()
315 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); in omap1_system_dma_init()
/kernel/linux/linux-6.6/arch/powerpc/platforms/
H A Dfsl_uli1575.c224 struct resource *res; in quirk_final_uli5249() local
233 pci_bus_for_each_resource(bus, res, i) { in quirk_final_uli5249()
234 if (res && res->flags & IORESOURCE_MEM) { in quirk_final_uli5249()
235 if (res->end == end) in quirk_final_uli5249()
236 dummy = ioremap(res->start, 0x4); in quirk_final_uli5249()
238 dummy = ioremap(res->end - 3, 0x4); in quirk_final_uli5249()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/
H A Dpac.c58 int res = 0; in n_same() local
60 res += old->keyia == new->keyia; in n_same()
61 res += old->keyib == new->keyib; in n_same()
62 res += old->keyda == new->keyda; in n_same()
63 res += old->keydb == new->keydb; in n_same()
65 res += old->keyg == new->keyg; in n_same()
67 return res; in n_same()
/kernel/linux/linux-5.10/drivers/misc/
H A Dcs5535-mfgpt.c318 struct resource *res; in cs5535_mfgpt_probe() local
334 res = platform_get_resource(pdev, IORESOURCE_IO, 0); in cs5535_mfgpt_probe()
335 if (!res) { in cs5535_mfgpt_probe()
340 if (!request_region(res->start, resource_size(res), pdev->name)) { in cs5535_mfgpt_probe()
346 cs5535_mfgpt_chip.base = res->start; in cs5535_mfgpt_probe()
350 dev_info(&pdev->dev, "reserved resource region %pR\n", res); in cs5535_mfgpt_probe()
/kernel/linux/linux-5.10/drivers/input/serio/
H A Dsa1111ps2.c295 if (!request_mem_region(dev->res.start, in ps2_probe()
296 dev->res.end - dev->res.start + 1, in ps2_probe()
336 release_mem_region(dev->res.start, resource_size(&dev->res)); in ps2_probe()
352 release_mem_region(dev->res.start, resource_size(&dev->res)); in ps2_remove()
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dths7303.c155 int res; in ths7303_config() local
171 res = ths7303_setval(sd, THS7303_FILTER_MODE_1080P); in ths7303_config()
173 res = ths7303_setval(sd, THS7303_FILTER_MODE_720P_1080I); in ths7303_config()
175 res = ths7303_setval(sd, THS7303_FILTER_MODE_480P_576P); in ths7303_config()
177 res = ths7303_setval(sd, THS7303_FILTER_MODE_480I_576I); in ths7303_config()
180 res = ths7303_setval(sd, THS7303_FILTER_MODE_DISABLE); in ths7303_config()
182 return res; in ths7303_config()
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Dav7110_ca.c139 int res; in ci_ll_write() local
144 res = -EINVAL; in ci_ll_write()
148 res = -EFAULT; in ci_ll_write()
154 res = -EWOULDBLOCK; in ci_ll_write()
157 res = -ERESTARTSYS; in ci_ll_write()
166 res = dvb_ringbuffer_write(cibuf, page, count); in ci_ll_write()
169 return res; in ci_ll_write()
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/
H A Dmmp-driver.c180 struct resource *res; in mmpcam_probe() local
225 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mmpcam_probe()
226 mcam->regs = devm_ioremap_resource(&pdev->dev, res); in mmpcam_probe()
229 mcam->regs_size = resource_size(res); in mmpcam_probe()
267 res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in mmpcam_probe()
268 if (res == NULL) { in mmpcam_probe()
272 cam->irq = res->start; in mmpcam_probe()
/kernel/linux/linux-5.10/drivers/media/platform/sti/c8sectpfe/
H A Dc8sectpfe-common.c234 int n, res; in c8sectpfe_tuner_register_frontend() local
243 res = c8sectpfe_frontend_attach(&frontend, *c8sectpfe, tsin, n); in c8sectpfe_tuner_register_frontend()
244 if (res) in c8sectpfe_tuner_register_frontend()
247 res = dvb_register_frontend(&c8sectpfe[0]->adapter, frontend); in c8sectpfe_tuner_register_frontend()
248 if (res < 0) { in c8sectpfe_tuner_register_frontend()
250 res); in c8sectpfe_tuner_register_frontend()
261 return res; in c8sectpfe_tuner_register_frontend()
/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Dsa1100-flash.c67 static int sa1100_probe_subdev(struct sa_subdev_info *subdev, struct resource *res) in sa1100_probe_subdev() argument
73 phys = res->start; in sa1100_probe_subdev()
74 size = res->end - phys + 1; in sa1100_probe_subdev()
192 struct resource *res; in sa1100_setup_mtd() local
194 res = platform_get_resource(pdev, IORESOURCE_MEM, i); in sa1100_setup_mtd()
195 if (!res) in sa1100_setup_mtd()
202 ret = sa1100_probe_subdev(subdev, res); in sa1100_setup_mtd()
/kernel/linux/linux-5.10/drivers/i2c/muxes/
H A Di2c-mux-reg.c85 struct resource res; in i2c_mux_reg_probe_dt() local
139 if (of_address_to_resource(np, 0, &res) == 0) { in i2c_mux_reg_probe_dt()
140 mux->data.reg_size = resource_size(&res); in i2c_mux_reg_probe_dt()
141 mux->data.reg = devm_ioremap_resource(&pdev->dev, &res); in i2c_mux_reg_probe_dt()
161 struct resource *res; in i2c_mux_reg_probe() local
186 mux->data.reg = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in i2c_mux_reg_probe()
191 mux->data.reg_size = resource_size(res); in i2c_mux_reg_probe()
/kernel/linux/linux-5.10/drivers/net/mdio/
H A Dmdio-mux-bcm-iproc.c182 struct resource *res; in mdio_mux_iproc_probe() local
190 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in mdio_mux_iproc_probe()
191 if (res->start & 0xfff) { in mdio_mux_iproc_probe()
196 res->start &= ~0xfff; in mdio_mux_iproc_probe()
197 res->end = res->start + MDIO_REG_ADDR_SPACE_SIZE - 1; in mdio_mux_iproc_probe()
199 md->base = devm_ioremap_resource(&pdev->dev, res); in mdio_mux_iproc_probe()
/kernel/linux/linux-5.10/drivers/pci/
H A Dvc.c66 * @res: VC resource number, ie. VCn (0-7)
72 static void pci_vc_load_port_arb_table(struct pci_dev *dev, int pos, int res) in pci_vc_load_port_arb_table() argument
77 ctrl_pos = pos + PCI_VC_RES_CTRL + (res * PCI_CAP_VC_PER_VC_SIZEOF); in pci_vc_load_port_arb_table()
78 status_pos = pos + PCI_VC_RES_STATUS + (res * PCI_CAP_VC_PER_VC_SIZEOF); in pci_vc_load_port_arb_table()
87 pci_err(dev, "VC%d port arbitration table failed to load\n", res); in pci_vc_load_port_arb_table()
94 * @res: VC res number, ie. VCn (0-7)
103 static void pci_vc_enable(struct pci_dev *dev, int pos, int res) in pci_vc_enable() argument
113 ctrl_pos = pos + PCI_VC_RES_CTRL + (res * PCI_CAP_VC_PER_VC_SIZEOF); in pci_vc_enable()
114 status_pos = pos + PCI_VC_RES_STATUS + (res * PCI_CAP_VC_PER_VC_SIZEO in pci_vc_enable()
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dtask_fd_query_user.c223 int err, res, kfd, efd; in test_debug_fs_uprobe() local
231 res = snprintf(event_alias, sizeof(event_alias), "test_%d", getpid()); in test_debug_fs_uprobe()
232 CHECK_PERROR_RET(res < 0 || res >= sizeof(event_alias)); in test_debug_fs_uprobe()
234 res = snprintf(buf, sizeof(buf), "%c:%ss/%s %s:0x%lx", in test_debug_fs_uprobe()
237 CHECK_PERROR_RET(res < 0 || res >= sizeof(buf)); in test_debug_fs_uprobe()
/kernel/linux/linux-5.10/scripts/
H A Dbpf_helpers_doc.py43 res = {}
47 res['ret_type'] = capture.group(1)
48 res['ret_star'] = capture.group(2)
49 res['name'] = capture.group(3)
50 res['args'] = []
55 res['args'].append({
61 return res
/kernel/linux/linux-5.10/scripts/dtc/
H A Dsrcpos.c75 char *res; in shorten_to_initial_path() local
77 res = xmalloc((3 * diff) + restlen + 1); in shorten_to_initial_path()
79 res[j++] = '.'; in shorten_to_initial_path()
80 res[j++] = '.'; in shorten_to_initial_path()
81 res[j++] = '/'; in shorten_to_initial_path()
83 strcpy(res + j, p1); in shorten_to_initial_path()
84 return res; in shorten_to_initial_path()
/kernel/linux/linux-5.10/sound/core/seq/
H A Dseq_prioq.c331 int res; in prioq_remove_match() local
347 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
349 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
350 if (!res) in prioq_remove_match()
355 res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); in prioq_remove_match()
357 res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); in prioq_remove_match()
358 if (res) in prioq_remove_match()
/kernel/linux/linux-5.10/fs/9p/
H A Dvfs_super.c244 int res; in v9fs_statfs() local
248 res = PTR_ERR(fid); in v9fs_statfs()
254 res = p9_client_statfs(fid, &rs); in v9fs_statfs()
255 if (res == 0) { in v9fs_statfs()
266 if (res != -ENOSYS) in v9fs_statfs()
269 res = simple_statfs(dentry, buf); in v9fs_statfs()
271 return res; in v9fs_statfs()
/kernel/linux/linux-5.10/fs/crypto/
H A Dkeysetup_v1.c51 int res = 0; in derive_key_aes() local
58 res = PTR_ERR(tfm); in derive_key_aes()
65 res = -ENOMEM; in derive_key_aes()
71 res = crypto_skcipher_setkey(tfm, nonce, FSCRYPT_FILE_NONCE_SIZE); in derive_key_aes()
72 if (res < 0) in derive_key_aes()
79 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in derive_key_aes()
83 return res; in derive_key_aes()
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dclaim.c283 nsio->res.start + offset, size); in nsio_rw_bytes()
308 .start = nsio->res.start, in devm_nsio_enable()
309 .end = nsio->res.end, in devm_nsio_enable()
315 dev_warn(dev, "could not reserve region %pR\n", &nsio->res); in devm_nsio_enable()
332 struct resource *res = &nsio->res; in devm_nsio_disable() local
336 devm_release_mem_region(dev, res->start, nsio->size); in devm_nsio_disable()

Completed in 17 milliseconds

1...<<171172173174175176177178179180>>...564