Home
last modified time | relevance | path

Searched refs:res2 (Results 1 – 25 of 46) sorted by relevance

12

/drivers/acpi/apei/
Dapei-base.c344 struct apei_res *res1, *resn1, *res2, *res; in apei_res_sub() local
348 list_for_each_entry(res2, res_list2, list) { in apei_res_sub()
349 if (res1->start >= res2->end || in apei_res_sub()
350 res1->end <= res2->start) in apei_res_sub()
352 else if (res1->end <= res2->end && in apei_res_sub()
353 res1->start >= res2->start) { in apei_res_sub()
357 } else if (res1->end > res2->end && in apei_res_sub()
358 res1->start < res2->start) { in apei_res_sub()
362 res->start = res2->end; in apei_res_sub()
364 res1->end = res2->start; in apei_res_sub()
[all …]
/drivers/usb/c67x00/
Dc67x00-drv.c123 struct resource *res, *res2; in c67x00_drv_probe() local
130 res2 = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in c67x00_drv_probe()
131 if (!res2) in c67x00_drv_probe()
163 ret = request_irq(res2->start, c67x00_irq, 0, pdev->name, c67x00); in c67x00_drv_probe()
183 free_irq(res2->start, c67x00); in c67x00_drv_probe()
/drivers/s390/scsi/
Dzfcp_fsf.h203 u8 res2[2]; member
218 u8 res2; member
291 u32 res2; member
315 u8 res2[4]; member
333 u64 res2; member
365 u8 res2[9]; member
410 u8 res2[253]; member
/drivers/acpi/
Dpci_root.c677 struct resource *res1, *res2, *root = NULL; in acpi_pci_root_validate_resources() local
707 res2 = entry2->res; in acpi_pci_root_validate_resources()
708 if (!(res2->flags & type)) in acpi_pci_root_validate_resources()
716 if (resource_overlaps(res1, res2)) { in acpi_pci_root_validate_resources()
717 res2->start = min(res1->start, res2->start); in acpi_pci_root_validate_resources()
718 res2->end = max(res1->end, res2->end); in acpi_pci_root_validate_resources()
720 res2, res1); in acpi_pci_root_validate_resources()
/drivers/i2c/busses/
Di2c-nforce2.c381 int res1, res2; in nforce2_probe() local
407 res2 = -EPERM; in nforce2_probe()
410 res2 = nforce2_probe_smb(dev, 5, NFORCE_PCI_SMB2, &smbuses[1], in nforce2_probe()
412 if (res2 < 0) in nforce2_probe()
416 if ((res1 < 0) && (res2 < 0)) { in nforce2_probe()
/drivers/media/usb/dvb-usb/
Dfriio-fe.c127 u8 res2[9]; in jdvbt90502_pll_set_freq() local
194 ret = jdvbt90502_reg_read(state, 0x00B0, res2, sizeof(res2)); in jdvbt90502_pll_set_freq()
197 if (res2[0] >= 0xA7) in jdvbt90502_pll_set_freq()
/drivers/scsi/bfa/
Dbfa_fc.h399 u32 res2:8; member
411 u32 res2:8; member
470 u32 res2:8; member
583 u32 res2; member
723 u32 res2[8]; /* optional association header */ member
732 u32 res2:16; member
773 u32 res2:8; member
/drivers/mtd/nand/
Ddavinci_nand.c616 struct resource *res2; in nand_davinci_probe() local
642 res2 = platform_get_resource(pdev, IORESOURCE_MEM, 1); in nand_davinci_probe()
643 if (!res1 || !res2) { in nand_davinci_probe()
658 base = devm_ioremap(&pdev->dev, res2->start, resource_size(res2)); in nand_davinci_probe()
660 dev_err(&pdev->dev, "ioremap failed for resource %pR\n", res2); in nand_davinci_probe()
Dnand_bbt.c917 int i, chips, writeops, create, chipsel, res, res2; in check_create() local
934 res = res2 = 0; in check_create()
995 res2 = read_abs_bbt(mtd, buf, rd2, chipsel); in check_create()
996 if (mtd_is_eccerr(res2)) { in check_create()
1006 if (mtd_is_bitflip(res) || mtd_is_bitflip(res2)) in check_create()
/drivers/usb/gadget/udc/
Dfsl_usb2_udc.h31 u8 res2[20]; member
68 u8 res2[20]; member
384 u32 res2[4]; member
/drivers/pcmcia/
Drsrc_nonstatic.c354 struct resource *res1, *res2; in do_validate_mem() local
359 res2 = claim_region(s, base + size/2, size/2, IORESOURCE_MEM, in do_validate_mem()
362 if (res1 && res2) { in do_validate_mem()
366 ret += validate(s, res2, &info2); in do_validate_mem()
371 base, base+size-1, res1, res2, ret, info1, info2); in do_validate_mem()
373 free_region(res2); in do_validate_mem()
/drivers/net/ethernet/freescale/
Ducc_geth.h57 u8 res2[0x8]; member
583 u8 res2[0x80 - 0x74]; member
599 u8 res2[0x1]; member
639 u8 res2[0x38 - 0x30]; member
/drivers/s390/cio/
Dorb.h30 u32 res2:1; /* reserved */ member
/drivers/net/usb/
Dsr9800.h197 __le16 res2; member
/drivers/isdn/hardware/eicon/
Dmi_pc.h90 dword volatile res2[0x03]; member
/drivers/net/wan/
Dfsl_ucc_hdlc.h48 __be32 res2; member
/drivers/scsi/qla4xxx/
Dql4_fw.h636 uint8_t res2; /* 3B */ member
887 uint16_t res2; /* 2E-2F */ member
1246 uint8_t res2[20]; /* 2C-3F */ member
1264 uint8_t res2[12]; /* 20-2B */ member
/drivers/net/ethernet/ti/
Dcpts.h43 u32 res2[2]; member
/drivers/s390/block/
Ddasd_eckd.h343 __u8 res2[4]; /* byte 4- 7 */ member
356 __u8 res2[4]; /* byte 4- 7 */ member
/drivers/scsi/isci/
Dphy.h134 u32 res2:17; member
/drivers/block/mtip32xx/
Dmtip32xx.h264 unsigned char res2; member
/drivers/watchdog/
Dmpc8xxx_wdt.c44 u8 res2[0xF0]; member
/drivers/usb/phy/
Dphy-fsl-usb.h310 u8 res2[20]; member
/drivers/scsi/
D3w-sas.h284 unsigned char res2; member
/drivers/vme/bridges/
Dvme_ca91cx42.h64 unsigned int res2; /* Reserved */ member

12