/drivers/of/ |
H A D | irq.c | 102 int imaplen, match, i; local 190 match = 0; 191 while (imaplen > (addrsize + intsize + 1) && !match) { 193 match = 1; 194 for (i = 0; i < addrsize && match; ++i) { 196 match = ((addr[i] ^ imap[i]) & mask) == 0; 198 for (; i < (addrsize + intsize) && match; ++i) { 200 match = 206 pr_debug(" -> match=%d (imaplen=%d)\n", match, imaple 448 const struct of_device_id *match; local [all...] |
/drivers/staging/tidspbridge/include/dspbridge/ |
H A D | gh.h | 23 bool(*match) (void *, void *),
|
/drivers/base/power/ |
H A D | trace.c | 155 * the match is valid). 172 int match; local 175 match = 0; 184 match++; 186 return match; 191 int match = 0; local 201 match++; 206 return match; 218 * It's possible that multiple devices will match the hash and we can't
|
/drivers/clk/ |
H A D | clkdev.c | 30 * If an entry has a device ID, it must match 31 * If an entry has a connection ID, it must match 38 int match, best = 0; local 41 match = 0; 45 match += 2; 50 match += 1; 53 if (match > best) { 55 if (match != 3) 56 best = match;
|
/drivers/media/video/cx23885/ |
H A D | cx23885-ioctl.c | 36 switch (chip->match.type) { 38 switch (chip->match.addr) { 142 if (reg->match.type == V4L2_CHIP_MATCH_HOST) { 143 switch (reg->match.addr) { 193 if (reg->match.type == V4L2_CHIP_MATCH_HOST) { 194 switch (reg->match.addr) {
|
/drivers/net/wireless/ath/ath5k/ |
H A D | led.c | 53 /* Devices we match on for LED config info (typically laptops) */ 167 const struct pci_device_id *match; local 173 match = NULL; 175 match = pci_match_id(&ath5k_led_devices[0], pdev); 177 if (match) { 179 ah->led_pin = ATH_PIN(match->driver_data); 180 ah->led_on = ATH_POLARITY(match->driver_data);
|
/drivers/bcma/ |
H A D | main.c | 57 .match = bcma_bus_match, 205 struct bcma_device_id match; local 209 match.manuf = BCMA_MANUF_BCM; 210 match.id = BCMA_CORE_CHIPCOMMON; 211 match.class = BCMA_CL_SIM; 212 match.rev = BCMA_ANY_REV; 215 err = bcma_bus_scan_early(bus, &match, core_cc); 221 match.manuf = BCMA_MANUF_MIPS; 222 match.id = BCMA_CORE_MIPS_74K; 223 match [all...] |
H A D | scan.c | 227 struct bcma_device_id *match, int core_num, 283 if (match && ((match->manuf != BCMA_ANY_MANUF && 284 match->manuf != core->id.manuf) || 285 (match->id != BCMA_ANY_ID && match->id != core->id.id) || 286 (match->rev != BCMA_ANY_REV && match->rev != core->id.rev) || 287 (match->class != BCMA_ANY_CLASS && match 226 bcma_get_next_core(struct bcma_bus *bus, u32 __iomem **eromptr, struct bcma_device_id *match, int core_num, struct bcma_device *core) argument 451 bcma_bus_scan_early(struct bcma_bus *bus, struct bcma_device_id *match, struct bcma_device *core) argument [all...] |
H A D | bcma_private.h | 29 struct bcma_device_id *match,
|
/drivers/staging/tidspbridge/gen/ |
H A D | gh.c | 32 bool(*match) (void *, void *); member in struct:gh_t_hash_tab 43 u16(*hash) (void *, u16), bool(*match) (void *, 55 hash_tab->match = match; 108 if ((*hash_tab->match) (key, elem->data))
|
/drivers/media/rc/ |
H A D | winbond-cir.c | 634 u8 match[11]; local 639 memset(match, 0, sizeof(match)); 659 match[0] = (wake_sc & 0x003F); /* 6 command bits */ 660 match[0] |= (wake_sc & 0x0180) >> 1; /* 2 address bits */ 661 match[1] = (wake_sc & 0x0E00) >> 9; /* 3 address bits */ 663 match[1] |= 0x10; 676 match[1] = bitrev8((wake_sc & 0xFF)); 677 match[0] = ~match[ [all...] |
/drivers/base/ |
H A D | dma-mapping.c | 39 struct dma_devres *this = res, *match = match_data; local 41 if (this->vaddr == match->vaddr) { 42 WARN_ON(this->size != match->size || 43 this->dma_handle != match->dma_handle);
|
H A D | devres.c | 184 dr_match_t match, void *match_data) 193 if (match && !match(dev, dr->data, match_data)) 205 * @match: Match function (optional) 206 * @match_data: Data for the match function 209 * and for which @match returns 1. If @match is NULL, it's considered 210 * to match all. 216 dr_match_t match, void *match_data) 222 dr = find_dr(dev, release, match, match_dat 183 find_dr(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument 215 devres_find(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument 245 devres_get(struct device *dev, void *new_res, dr_match_t match, void *match_data) argument 281 devres_remove(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument 315 devres_destroy(struct device *dev, dr_release_t release, dr_match_t match, void *match_data) argument [all...] |
H A D | base.h | 117 return drv->bus->match ? drv->bus->match(dev, drv) : 1;
|
H A D | isa.c | 30 if (!isa_driver->match || 31 isa_driver->match(dev, to_isa_dev(dev)->id)) 88 .match = isa_bus_match,
|
H A D | attribute_container.c | 156 if (!cont->match(cont, dev)) 222 if (!cont->match(cont, dev)) 263 if (!cont->match(cont, dev)) 300 if (cont->match(cont, dev))
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_i2c.h | 53 bool (*match)(struct nouveau_i2c_chan *,
|
/drivers/i2c/busses/ |
H A D | i2c-pca-isa.c | 124 int match = base != 0; local 126 if (match) { 132 return match; 191 .match = pca_isa_match,
|
/drivers/misc/ |
H A D | atmel_tclib.c | 167 const struct of_device_id *match; local 168 match = of_match_node(atmel_tcb_dt_ids, pdev->dev.of_node); 169 if (match) 170 tc->tcb_config = match->data;
|
/drivers/pci/pcie/ |
H A D | portdrv_bus.c | 22 .match = pcie_port_bus_match,
|
/drivers/tty/serial/ |
H A D | of_serial.c | 96 const struct of_device_id *match; local 102 match = of_match_device(of_platform_serial_table, &ofdev->dev); 103 if (!match) 113 port_type = (unsigned long)match->data;
|
/drivers/usb/host/ |
H A D | fsl-mph-dr-of.c | 128 const struct of_device_id *match; local 136 match = of_match_device(fsl_usb2_mph_dr_of_match, &ofdev->dev); 137 if (!match) 141 if (match->data) 142 memcpy(pdata, match->data, sizeof(data));
|
/drivers/media/video/ |
H A D | ak881x.c | 71 if (id->match.type != V4L2_CHIP_MATCH_I2C_ADDR) 74 if (id->match.addr != client->addr) 89 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0x26) 92 if (reg->match.addr != client->addr) 108 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0x26) 111 if (reg->match.addr != client->addr)
|
/drivers/firmware/ |
H A D | efivars.c | 195 validate_device_path(struct efi_variable *var, int match, u8 *buffer, argument 228 validate_boot_order(struct efi_variable *var, int match, u8 *buffer, argument 239 validate_load_option(struct efi_variable *var, int match, u8 *buffer, argument 248 for (i = match; i < match+4; i++) { 255 if (namelen > match + 4) 285 return validate_device_path(var, match, buffer + desclength + 6, 290 validate_uint16(struct efi_variable *var, int match, u8 *buffer, argument 301 validate_ascii_string(struct efi_variable *var, int match, u8 *buffer, argument 319 bool (*validate)(struct efi_variable *var, int match, u 349 int match; local [all...] |
/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_defs.h | 65 * match. However, it's a useful convention ... 68 #error T4VF_MBDATA_BASE_ADDR must match CIM_PF_MAILBOX_DATA!
|