/linux-4.1.27/sound/oss/ |
H A D | sb_card.h | 28 {.id = "CTL0024", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 30 {.id = "CTL0025", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 32 {.id = "CTL0026", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 34 {.id = "CTL0027", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 36 {.id = "CTL0028", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 38 {.id = "CTL0029", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 40 {.id = "CTL002a", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 42 {.id = "CTL002b", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 44 {.id = "CTL002c", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 46 {.id = "CTL00ed", .driver_data = 0, .devs = { {.id="CTL0041"}, } }, 48 {.id = "CTL0086", .driver_data = 0, .devs = { {.id="CTL0041"}, } }, 50 {.id = "CTL0051", .driver_data = 0, .devs = { {.id="CTL0001"}, } }, 52 {.id = "CTL0070", .driver_data = 0, .devs = { {.id="CTL0001"}, } }, 54 {.id = "CTL0080", .driver_data = 0, .devs = { {.id="CTL0041"}, } }, 56 {.id = "CTL00F0", .driver_data = 0, .devs = { {.id="CTL0043"}, } }, 58 {.id = "CTL0039", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 60 {.id = "CTL0042", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 62 {.id = "CTL0043", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 64 {.id = "CTL0044", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 66 {.id = "CTL0045", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 68 {.id = "CTL0046", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 70 {.id = "CTL0047", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 72 {.id = "CTL0048", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 74 {.id = "CTL0054", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 76 {.id = "CTL009C", .driver_data = 0, .devs = { {.id="CTL0041"}, } }, 78 {.id = "CTL009F", .driver_data = 0, .devs = { {.id="CTL0041"}, } }, 80 {.id = "CTL009D", .driver_data = 0, .devs = { {.id="CTL0042"}, } }, 82 {.id = "CTL009E", .driver_data = 0, .devs = { {.id="CTL0044"}, } }, 84 {.id = "CTL00B2", .driver_data = 0, .devs = { {.id="CTL0044"}, } }, 86 {.id = "CTL00C1", .driver_data = 0, .devs = { {.id="CTL0042"}, } }, 88 {.id = "CTL00C3", .driver_data = 0, .devs = { {.id="CTL0045"}, } }, 90 {.id = "CTL00C5", .driver_data = 0, .devs = { {.id="CTL0045"}, } }, 92 {.id = "CTL00C7", .driver_data = 0, .devs = { {.id="CTL0045"}, } }, 94 {.id = "CTL00E4", .driver_data = 0, .devs = { {.id="CTL0045"}, } }, 96 {.id = "CTL00E9", .driver_data = 0, .devs = { {.id="CTL0045"}, } }, 98 {.id = "ESS0968", .driver_data = 0, .devs = { {.id="ESS0968"}, } }, 100 {.id = "ESS1868", .driver_data = 0, .devs = { {.id="ESS1868"}, } }, 102 {.id = "ESS1868", .driver_data = 0, .devs = { {.id="ESS8611"}, } }, 104 {.id = "ESS0003", .driver_data = 0, .devs = { {.id="ESS1869"}, } }, 106 {.id = "ESS1869", .driver_data = 0, .devs = { {.id="ESS1869"}, } }, 108 {.id = "ESS1878", .driver_data = 0, .devs = { {.id="ESS1878"}, } }, 110 {.id = "ESS1879", .driver_data = 0, .devs = { {.id="ESS1879"}, } }, 112 {.id = "CMI0001", .driver_data = 0, .devs = { {.id="@X@0001"}, 116 {.id = "RWR1688", .driver_data = 0, .devs = { {.id="@@@0001"}, 120 {.id = "ALS0007", .driver_data = 0, .devs = { {.id="@@@0001"}, 124 {.id = "ALS0001", .driver_data = 0, .devs = { {.id="@@@0001"}, 128 {.id = "ALS0110", .driver_data = 0, .devs = { {.id="@@@1001"}, 132 {.id = "ALS0120", .driver_data = 0, .devs = { {.id="@@@2001"}, 136 {.id = "ALS0200", .driver_data = 0, .devs = { {.id="@@@0020"}, 140 {.id = "RTL3000", .driver_data = 0, .devs = { {.id="@@@2001"}, 144 {.id = "tBA03b0", .driver_data = 0, .devs = { {.id="PNPb003"}, } },
|
H A D | msnd.c | 44 static multisound_dev_t *devs[MSND_MAX_DEVS]; variable 52 if (devs[i] == NULL) msnd_register() 58 devs[i] = dev; msnd_register() 68 if (devs[i] == dev) msnd_unregister() 76 devs[i] = NULL; msnd_unregister()
|
H A D | sb_card.c | 244 struct pnp_dev *dev = pnp_request_card_device(card, card_id->devs[0].id, NULL); sb_pnp_probe()
|
H A D | sb_common.c | 874 /* if (sbmpu) below we allow mpu401 to manage the midi devs
|
/linux-4.1.27/sound/isa/cs423x/ |
H A D | cs4236.c | 154 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } }, 156 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 158 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } }, 160 { .id = "CSC4236", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 162 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSCb006" } } }, 164 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } }, 166 { .id = "CSCf032", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 168 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC010f" } } }, 170 { .id = "CSC0225", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 172 { .id = "CSC0225", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC0103" } } }, 174 { .id = "CSC0225", .devs = { { "CSC0100" }, { "CSC0110" } } }, 176 { .id = "CSC0437", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 178 { .id = "CSC0735", .devs = { { "CSC0000" }, { "CSC0010" } } }, 180 { .id = "CSC0b35", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 182 { .id = "CSC0b36", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 184 { .id = "CSC1425", .devs = { { "CSC0100" }, { "CSC0110" } } }, 186 { .id = "CSC1335", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 188 { .id = "CSC1525", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC0103" } } }, 190 { .id = "CSC1e37", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 192 { .id = "CSC4236", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 194 { .id = "CSC4237", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 196 { .id = "CSC4336", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 198 { .id = "CSC4536", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 200 { .id = "CSC4625", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC0103" } } }, 202 { .id = "CSC4637", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 204 { .id = "CSC4837", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 206 { .id = "CSC6835", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 208 { .id = "CSC6835", .devs = { { "CSC0000" }, { "CSC0010" } } }, 210 { .id = "CSC6836", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 212 { .id = "CSC7537", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 214 { .id = "CSC8025", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC0103" } } }, 216 { .id = "CSC8037", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 218 { .id = "CSCc835", .devs = { { "CSC0000" }, { "CSC0010" } } }, 220 { .id = "CSC9836", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 222 { .id = "CSC9837", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 224 { .id = "CSCa736", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 226 { .id = "CSCa836", .devs = { { "CSCa800" }, { "CSCa810" }, { "CSCa803" } } }, 228 { .id = "CSCa836", .devs = { { "CSCa800" }, { "CSCa810" } } }, 230 { .id = "CSCd925", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 232 { .id = "CSCd937", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 234 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" } } }, 236 { .id = "CSC4825", .devs = { { "CSC0100" }, { "CSC0110" } } }, 238 { .id = "CSCe835", .devs = { { "CSC0000" }, { "CSC0010" } } }, 240 { .id = "CSCe836", .devs = { { "CSC0000" }, { "CSC0010" } } }, 242 { .id = "CSCe936", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 244 { .id = "CSCf235", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 246 { .id = "CSCf238", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 324 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); snd_card_cs423x_pnpc() 327 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL); snd_card_cs423x_pnpc() 330 if (id->devs[2].id[0]) { snd_card_cs423x_pnpc() 331 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); snd_card_cs423x_pnpc()
|
/linux-4.1.27/arch/arm/plat-samsung/ |
H A D | dev-uart.c | 2 * originally from arch/arm/plat-s3c24xx/devs.c 18 #include <plat/devs.h>
|
H A D | platformdata.c | 17 #include <plat/devs.h>
|
H A D | dev-backlight.c | 19 #include <plat/devs.h>
|
H A D | init.c | 32 #include <plat/devs.h>
|
H A D | devs.c | 1 /* linux/arch/arm/plat-samsung/devs.c 51 #include <plat/devs.h>
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | comedi_bond.c | 65 struct bonded_device **devs; member in struct:comedi_bond_private 77 struct bonded_device **devs; bonding_dio_insn_bits() local 88 devs = devpriv->devs; bonding_dio_insn_bits() 90 struct bonded_device *bdev = *devs++; bonding_dio_insn_bits() 140 struct bonded_device **devs; bonding_dio_insn_config() local 145 devs = devpriv->devs; bonding_dio_insn_config() 146 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs++) bonding_dio_insn_config() 195 struct bonded_device **devs; do_dev_config() local 245 * Now put bdev pointer at end of devpriv->devs array do_dev_config() 250 devs = krealloc(devpriv->devs, do_dev_config() 251 (devpriv->ndevs + 1) * sizeof(*devs), do_dev_config() 253 if (!devs) { do_dev_config() 259 devpriv->devs = devs; do_dev_config() 260 devpriv->devs[devpriv->ndevs++] = bdev; do_dev_config() 326 if (devpriv && devpriv->devs) { bonding_detach() 333 bdev = devpriv->devs[devpriv->ndevs]; bonding_detach() 340 kfree(devpriv->devs); bonding_detach() 341 devpriv->devs = NULL; bonding_detach()
|
/linux-4.1.27/sound/isa/sb/ |
H A D | sb16.c | 151 { .id = "CTL0024", .devs = { { "CTL0031" } } }, 153 { .id = "CTL0025", .devs = { { "CTL0031" } } }, 155 { .id = "CTL0026", .devs = { { "CTL0031" } } }, 157 { .id = "CTL0027", .devs = { { "CTL0031" } } }, 159 { .id = "CTL0028", .devs = { { "CTL0031" } } }, 161 { .id = "CTL0029", .devs = { { "CTL0031" } } }, 163 { .id = "CTL002a", .devs = { { "CTL0031" } } }, 166 { .id = "CTL002b", .devs = { { "CTL0031" } } }, 168 { .id = "CTL002c", .devs = { { "CTL0031" } } }, 170 { .id = "CTL0051", .devs = { { "CTL0001" } } }, 172 { .id = "CTL0070", .devs = { { "CTL0001" } } }, 174 { .id = "CTL0080", .devs = { { "CTL0041" } } }, 177 { .id = "CTL0086", .devs = { { "CTL0041" } } }, 179 { .id = "CTL00f0", .devs = { { "CTL0043" } } }, 181 { .id = "tBA03b0", .devs = { {.id="PNPb003" } } }, 184 { .id = "CTL0035", .devs = { { "CTL0031" }, { "CTL0021" } } }, 186 { .id = "CTL0039", .devs = { { "CTL0031" }, { "CTL0021" } } }, 188 { .id = "CTL0042", .devs = { { "CTL0031" }, { "CTL0021" } } }, 190 { .id = "CTL0043", .devs = { { "CTL0031" }, { "CTL0021" } } }, 193 { .id = "CTL0044", .devs = { { "CTL0031" }, { "CTL0021" } } }, 196 { .id = "CTL0045", .devs = { { "CTL0031" }, { "CTL0021" } } }, 198 { .id = "CTL0046", .devs = { { "CTL0031" }, { "CTL0021" } } }, 200 { .id = "CTL0047", .devs = { { "CTL0031" }, { "CTL0021" } } }, 202 { .id = "CTL0048", .devs = { { "CTL0031" }, { "CTL0021" } } }, 204 { .id = "CTL0054", .devs = { { "CTL0031" }, { "CTL0021" } } }, 206 { .id = "CTL009a", .devs = { { "CTL0041" }, { "CTL0021" } } }, 208 { .id = "CTL009c", .devs = { { "CTL0041" }, { "CTL0021" } } }, 210 { .id = "CTL009f", .devs = { { "CTL0041" }, { "CTL0021" } } }, 212 { .id = "CTL009d", .devs = { { "CTL0042" }, { "CTL0022" } } }, 214 { .id = "CTL009e", .devs = { { "CTL0044" }, { "CTL0023" } } }, 216 { .id = "CTL00b2", .devs = { { "CTL0044" }, { "CTL0023" } } }, 218 { .id = "CTL00c1", .devs = { { "CTL0042" }, { "CTL0022" } } }, 220 { .id = "CTL00c3", .devs = { { "CTL0045" }, { "CTL0022" } } }, 222 { .id = "CTL00c5", .devs = { { "CTL0045" }, { "CTL0022" } } }, 224 { .id = "CTL00c7", .devs = { { "CTL0045" }, { "CTL0022" } } }, 226 { .id = "CTL00e4", .devs = { { "CTL0045" }, { "CTL0022" } } }, 228 { .id = "CTL00e9", .devs = { { "CTL0045" }, { "CTL0022" } } }, 230 { .id = "CTL00ed", .devs = { { "CTL0041" }, { "CTL0070" } } }, 232 { .id = "CTLXXXX" , .devs = { { "CTL0031" }, { "CTL0021" } } }, 233 { .id = "CTLXXXX" , .devs = { { "CTL0041" }, { "CTL0021" } } }, 234 { .id = "CTLXXXX" , .devs = { { "CTL0042" }, { "CTL0022" } } }, 235 { .id = "CTLXXXX" , .devs = { { "CTL0044" }, { "CTL0023" } } }, 236 { .id = "CTLXXXX" , .devs = { { "CTL0045" }, { "CTL0022" } } }, 260 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); snd_card_sb16_pnp() 265 acard->devwt = pnp_request_card_device(card, id->devs[1].id, acard->dev); snd_card_sb16_pnp()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | cpwd.c | 89 } devs[WD_NUMDEVS]; member in struct:cpwd 209 (p->devs[index].intr_mask); cpwd_toggleintr() 225 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); cpwd_resetbrokentimer() 245 if (p->devs[id].runstatus & WD_STAT_BSTOP) { cpwd_brokentimer() 263 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) cpwd_pingtimer() 264 cpwd_readw(p->devs[index].regs + WD_DCNTR); cpwd_pingtimer() 273 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { cpwd_stoptimer() 277 p->devs[index].runstatus |= WD_STAT_BSTOP; cpwd_stoptimer() 293 p->devs[index].runstatus &= ~WD_STAT_BSTOP; cpwd_starttimer() 295 p->devs[index].runstatus &= ~WD_STAT_SVCD; cpwd_starttimer() 297 cpwd_writew(p->devs[index].timeout, p->devs[index].regs + WD_LIMIT); cpwd_starttimer() 303 unsigned char stat = cpwd_readb(p->devs[index].regs + WD_STATUS); cpwd_getstatus() 304 unsigned char intr = cpwd_readb(p->devs[index].regs + PLD_IMASK); cpwd_getstatus() 315 if (intr & p->devs[index].intr_mask) { cpwd_getstatus() 330 (p->devs[index].runstatus & WD_STAT_BSTOP)) { cpwd_getstatus() 331 if (p->devs[index].runstatus & WD_STAT_SVCD) { cpwd_getstatus() 345 if (p->devs[index].runstatus & WD_STAT_SVCD) cpwd_getstatus() 361 p->devs[WD0_ID].runstatus |= WD_STAT_SVCD; cpwd_interrupt() 591 struct miscdevice *mp = &p->devs[i].misc; cpwd_probe() 597 p->devs[i].regs = p->regs + (i * WD_TIMER_REGSZ); cpwd_probe() 598 p->devs[i].intr_mask = (WD0_INTR_MASK << i); cpwd_probe() 599 p->devs[i].runstatus &= ~WD_STAT_BSTOP; cpwd_probe() 600 p->devs[i].runstatus |= WD_STAT_INIT; cpwd_probe() 601 p->devs[i].timeout = p->timeout; cpwd_probe() 603 p->devs[i].timeout = *parms[i]; cpwd_probe() 605 err = misc_register(&p->devs[i].misc); cpwd_probe() 632 misc_deregister(&p->devs[i].misc); cpwd_probe() 648 misc_deregister(&p->devs[i].misc); cpwd_remove() 652 if (p->devs[i].runstatus & WD_STAT_BSTOP) cpwd_remove()
|
H A D | wdrtas.c | 557 * misc devs 572 * misc devs
|
/linux-4.1.27/drivers/fmc/ |
H A D | fmc-core.c | 144 int fmc_device_register_n(struct fmc_device **devs, int n) fmc_device_register_n() argument 154 if (fmc_check_version(devs[0]->version, devs[0]->carrier_name)) fmc_device_register_n() 157 devarray = kmemdup(devs, n * sizeof(*devs), GFP_KERNEL); fmc_device_register_n() 249 sysfs_remove_bin_file(&devs[i]->dev.kobj, &fmc_eeprom_attr); fmc_device_register_n() 250 device_del(&devs[i]->dev); fmc_device_register_n() 251 fmc_free_id_info(devs[i]); fmc_device_register_n() 252 put_device(&devs[i]->dev); fmc_device_register_n() 265 void fmc_device_unregister_n(struct fmc_device **devs, int n) fmc_device_unregister_n() argument 273 kfree(devs[0]->devarray); fmc_device_unregister_n() 276 sysfs_remove_bin_file(&devs[i]->dev.kobj, &fmc_eeprom_attr); fmc_device_unregister_n() 277 device_del(&devs[i]->dev); fmc_device_unregister_n() 278 fmc_free_id_info(devs[i]); fmc_device_unregister_n() 279 put_device(&devs[i]->dev); fmc_device_unregister_n()
|
/linux-4.1.27/sound/isa/ad1816a/ |
H A D | ad1816a.c | 68 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } }, 70 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 72 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 74 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } }, 76 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 78 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 80 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 82 { .id = "TER1112", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 84 { .id = "TER1112", .devs = { { .id = "TER1100" }, { .id = "TER1101" } } }, 86 { .id = "TER1411", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 103 pdev = pnp_request_card_device(card, id->devs[0].id, NULL); snd_card_ad1816a_pnp() 119 pdev = pnp_request_card_device(card, id->devs[1].id, NULL); snd_card_ad1816a_pnp()
|
/linux-4.1.27/drivers/md/ |
H A D | raid10.c | 86 * the success by setting devs[n].bio to IO_MADE_GOOD 110 int size = offsetof(struct r10bio, devs[conf->copies]); r10bio_pool_alloc() 163 r10_bio->devs[j].bio = bio; r10buf_pool_alloc() 169 r10_bio->devs[j].repl_bio = bio; r10buf_pool_alloc() 176 struct bio *rbio = r10_bio->devs[j].repl_bio; r10buf_pool_alloc() 177 bio = r10_bio->devs[j].bio; r10buf_pool_alloc() 183 struct bio *rbio = r10_bio->devs[0].bio; r10buf_pool_alloc() 204 safe_put_page(r10_bio->devs[j].bio->bi_io_vec[i].bv_page); r10buf_pool_alloc() 208 if (r10_bio->devs[j].bio) r10buf_pool_alloc() 209 bio_put(r10_bio->devs[j].bio); r10buf_pool_alloc() 210 if (r10_bio->devs[j].repl_bio) r10buf_pool_alloc() 211 bio_put(r10_bio->devs[j].repl_bio); r10buf_pool_alloc() 225 struct bio *bio = r10bio->devs[j].bio; r10buf_pool_free() 233 bio = r10bio->devs[j].repl_bio; r10buf_pool_free() 245 struct bio **bio = & r10_bio->devs[i].bio; put_all_bios() 249 bio = &r10_bio->devs[i].repl_bio; put_all_bios() 329 conf->mirrors[r10_bio->devs[slot].devnum].head_position = update_head_pos() 330 r10_bio->devs[slot].addr + (r10_bio->sectors); update_head_pos() 343 if (r10_bio->devs[slot].bio == bio) find_bio_disk() 345 if (r10_bio->devs[slot].repl_bio == bio) { find_bio_disk() 358 return r10_bio->devs[slot].devnum; find_bio_disk() 370 dev = r10_bio->devs[slot].devnum; raid10_end_read_request() 371 rdev = r10_bio->devs[slot].rdev; raid10_end_read_request() 504 r10_bio->devs[slot].addr, raid10_end_write_request() 509 r10_bio->devs[slot].repl_bio = IO_MADE_GOOD; raid10_end_write_request() 511 r10_bio->devs[slot].bio = IO_MADE_GOOD; raid10_end_write_request() 585 r10bio->devs[slot].devnum = d; __raid10_find_phys() 586 r10bio->devs[slot].addr = s; __raid10_find_phys() 603 r10bio->devs[slot].devnum = d; __raid10_find_phys() 604 r10bio->devs[slot].addr = s; __raid10_find_phys() 716 struct r10dev devs[conf->copies]; raid10_mergeable_bvec() member in struct:__anon5383 730 int disk = r10_bio->devs[s].devnum; raid10_mergeable_bvec() 737 bvm->bi_sector = r10_bio->devs[s].addr raid10_mergeable_bvec() 749 bvm->bi_sector = r10_bio->devs[s].addr raid10_mergeable_bvec() 819 if (r10_bio->devs[slot].bio == IO_BLOCKED) read_balance() 821 disk = r10_bio->devs[slot].devnum; read_balance() 825 r10_bio->devs[slot].addr + sectors > rdev->recovery_offset) read_balance() 832 r10_bio->devs[slot].addr + sectors > rdev->recovery_offset) read_balance() 835 dev_sector = r10_bio->devs[slot].addr; read_balance() 879 new_distance = r10_bio->devs[slot].addr; read_balance() 881 new_distance = abs(r10_bio->devs[slot].addr - read_balance() 1241 r10_bio->devs[slot].bio = read_bio; __make_request() 1242 r10_bio->devs[slot].rdev = rdev; __make_request() 1244 read_bio->bi_iter.bi_sector = r10_bio->devs[slot].addr + __make_request() 1313 int d = r10_bio->devs[i].devnum; __make_request() 1336 r10_bio->devs[i].bio = NULL; __make_request() 1337 r10_bio->devs[i].repl_bio = NULL; __make_request() 1345 sector_t dev_sector = r10_bio->devs[i].addr; __make_request() 1386 r10_bio->devs[i].bio = bio; __make_request() 1390 r10_bio->devs[i].repl_bio = bio; __make_request() 1402 if (r10_bio->devs[j].bio) { __make_request() 1403 d = r10_bio->devs[j].devnum; __make_request() 1406 if (r10_bio->devs[j].repl_bio) { __make_request() 1408 d = r10_bio->devs[j].devnum; __make_request() 1444 int d = r10_bio->devs[i].devnum; __make_request() 1445 if (r10_bio->devs[i].bio) { __make_request() 1450 r10_bio->devs[i].bio = mbio; __make_request() 1452 mbio->bi_iter.bi_sector = (r10_bio->devs[i].addr+ __make_request() 1483 if (r10_bio->devs[i].repl_bio) { __make_request() 1493 r10_bio->devs[i].repl_bio = mbio; __make_request() 1495 mbio->bi_iter.bi_sector = (r10_bio->devs[i].addr + __make_request() 2010 r10_bio->devs[slot].addr, end_sync_write() 2047 if (test_bit(BIO_UPTODATE, &r10_bio->devs[i].bio->bi_flags)) sync_request_write() 2054 fbio = r10_bio->devs[i].bio; sync_request_write() 2061 tbio = r10_bio->devs[i].bio; sync_request_write() 2067 if (test_bit(BIO_UPTODATE, &r10_bio->devs[i].bio->bi_flags)) { sync_request_write() 2101 tbio->bi_iter.bi_sector = r10_bio->devs[i].addr; sync_request_write() 2113 d = r10_bio->devs[i].devnum; sync_request_write() 2129 tbio = r10_bio->devs[i].repl_bio; sync_request_write() 2132 if (r10_bio->devs[i].bio->bi_end_io != end_sync_write sync_request_write() 2133 && r10_bio->devs[i].bio != fbio) sync_request_write() 2138 d = r10_bio->devs[i].devnum; sync_request_write() 2173 struct bio *bio = r10_bio->devs[0].bio; fix_recovery_read_error() 2177 int dr = r10_bio->devs[0].devnum; fix_recovery_read_error() 2178 int dw = r10_bio->devs[1].devnum; fix_recovery_read_error() 2190 addr = r10_bio->devs[0].addr + sect, fix_recovery_read_error() 2198 addr = r10_bio->devs[1].addr + sect; fix_recovery_read_error() 2222 addr = r10_bio->devs[1].addr + sect; fix_recovery_read_error() 2262 d = r10_bio->devs[1].devnum; recovery_request_write() 2263 wbio = r10_bio->devs[1].bio; recovery_request_write() 2264 wbio2 = r10_bio->devs[1].repl_bio; recovery_request_write() 2359 int d = r10_bio->devs[r10_bio->read_slot].devnum; fix_read_error() 2386 r10_bio->devs[r10_bio->read_slot].bio = IO_BLOCKED; fix_read_error() 2404 d = r10_bio->devs[sl].devnum; fix_read_error() 2409 is_badblock(rdev, r10_bio->devs[sl].addr + sect, s, fix_read_error() 2414 r10_bio->devs[sl].addr + fix_read_error() 2434 int dn = r10_bio->devs[r10_bio->read_slot].devnum; fix_read_error() 2439 r10_bio->devs[r10_bio->read_slot].addr fix_read_error() 2443 r10_bio->devs[r10_bio->read_slot].bio fix_read_error() 2458 d = r10_bio->devs[sl].devnum; fix_read_error() 2468 r10_bio->devs[sl].addr + fix_read_error() 2498 d = r10_bio->devs[sl].devnum; fix_read_error() 2507 r10_bio->devs[sl].addr + fix_read_error() 2554 struct md_rdev *rdev = conf->mirrors[r10_bio->devs[i].devnum].rdev; narrow_write_error() 2589 wbio->bi_iter.bi_sector = (r10_bio->devs[i].addr+ narrow_write_error() 2612 struct md_rdev *rdev = r10_bio->devs[slot].rdev; handle_read_error() 2625 bio = r10_bio->devs[slot].bio; handle_read_error() 2628 r10_bio->devs[slot].bio = NULL; handle_read_error() 2635 r10_bio->devs[slot].bio = IO_BLOCKED; handle_read_error() 2662 r10_bio->devs[slot].bio = bio; handle_read_error() 2663 r10_bio->devs[slot].rdev = rdev; handle_read_error() 2664 bio->bi_iter.bi_sector = r10_bio->devs[slot].addr handle_read_error() 2715 int dev = r10_bio->devs[m].devnum; handle_write_completed() 2717 if (r10_bio->devs[m].bio == NULL) handle_write_completed() 2720 &r10_bio->devs[m].bio->bi_flags)) { handle_write_completed() 2723 r10_bio->devs[m].addr, handle_write_completed() 2728 r10_bio->devs[m].addr, handle_write_completed() 2733 if (r10_bio->devs[m].repl_bio == NULL) handle_write_completed() 2736 &r10_bio->devs[m].repl_bio->bi_flags)) { handle_write_completed() 2739 r10_bio->devs[m].addr, handle_write_completed() 2744 r10_bio->devs[m].addr, handle_write_completed() 2752 int dev = r10_bio->devs[m].devnum; handle_write_completed() 2753 struct bio *bio = r10_bio->devs[m].bio; handle_write_completed() 2758 r10_bio->devs[m].addr, handle_write_completed() 2770 bio = r10_bio->devs[m].repl_bio; handle_write_completed() 2775 r10_bio->devs[m].addr, handle_write_completed() 2831 generic_make_request(r10_bio->devs[slot].bio); raid10d() 3093 int d = r10_bio->devs[j].devnum; sync_request() 3104 sector = r10_bio->devs[j].addr; sync_request() 3118 bio = r10_bio->devs[0].bio; sync_request() 3125 from_addr = r10_bio->devs[j].addr; sync_request() 3133 if (r10_bio->devs[k].devnum == i) sync_request() 3136 to_addr = r10_bio->devs[k].addr; sync_request() 3137 r10_bio->devs[0].devnum = d; sync_request() 3138 r10_bio->devs[0].addr = from_addr; sync_request() 3139 r10_bio->devs[1].devnum = i; sync_request() 3140 r10_bio->devs[1].addr = to_addr; sync_request() 3144 bio = r10_bio->devs[1].bio; sync_request() 3156 r10_bio->devs[1].bio->bi_end_io = NULL; sync_request() 3159 bio = r10_bio->devs[1].repl_bio; sync_request() 3195 if (r10_bio->devs[k].devnum == i) sync_request() 3201 r10_bio->devs[k].addr, sync_request() 3207 r10_bio->devs[k].addr, sync_request() 3267 int d = r10_bio->devs[i].devnum; sync_request() 3271 if (r10_bio->devs[i].repl_bio) sync_request() 3272 r10_bio->devs[i].repl_bio->bi_end_io = NULL; sync_request() 3274 bio = r10_bio->devs[i].bio; sync_request() 3280 sector = r10_bio->devs[i].addr; sync_request() 3311 bio = r10_bio->devs[i].repl_bio; sync_request() 3315 sector = r10_bio->devs[i].addr; sync_request() 3330 int d = r10_bio->devs[i].devnum; sync_request() 3331 if (r10_bio->devs[i].bio->bi_end_io) sync_request() 3334 if (r10_bio->devs[i].repl_bio && sync_request() 3335 r10_bio->devs[i].repl_bio->bi_end_io) sync_request() 3870 static void *raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) raid10_takeover_raid0() argument 3880 sector_div(size, devs); raid10_takeover_raid0() 4259 * ->devs[x].bio and ->devs[x].repl_bio. reshape_request() 4389 read_bio->bi_iter.bi_sector = (r10_bio->devs[r10_bio->read_slot].addr reshape_request() 4399 r10_bio->read_slot = r10_bio->devs[r10_bio->read_slot].devnum; reshape_request() 4409 int d = r10_bio->devs[s/2].devnum; reshape_request() 4413 b = r10_bio->devs[s/2].repl_bio; reshape_request() 4416 b = r10_bio->devs[s/2].bio; reshape_request() 4423 b->bi_iter.bi_sector = r10_bio->devs[s/2].addr + reshape_request() 4436 struct page *page = r10_bio->devs[0].bio->bi_io_vec[s/(PAGE_SIZE>>9)].bv_page; reshape_request() 4509 int d = r10_bio->devs[s/2].devnum; reshape_request_write() 4513 b = r10_bio->devs[s/2].repl_bio; reshape_request_write() 4516 b = r10_bio->devs[s/2].bio; reshape_request_write() 4563 struct r10dev devs[conf->copies]; handle_reshape_read_error() member in struct:__anon5384 4582 int d = r10b->devs[slot].devnum; handle_reshape_read_error() 4590 addr = r10b->devs[slot].addr + idx * PAGE_SIZE; handle_reshape_read_error()
|
H A D | raid10.h | 128 } devs[0]; member in struct:r10bio
|
H A D | dm-raid.c | 1595 0, /* No offset on data devs */ raid_iterate_devices()
|
H A D | raid5.c | 2023 int devs = max(conf->raid_disks, conf->previous_raid_disks); grow_stripes() local 2035 sizeof(struct stripe_head)+(devs-1)*sizeof(struct r5dev), grow_stripes() 2040 conf->pool_size = devs; grow_stripes()
|
H A D | raid1.c | 57 * the success by setting devs[n].bio to IO_MADE_GOOD
|
/linux-4.1.27/drivers/char/agp/ |
H A D | ali-agp.c | 304 struct agp_device_ids *devs = ali_agp_device_ids; agp_ali_probe() local 314 for (j = 0; devs[j].chipset_name; j++) { agp_ali_probe() 315 if (pdev->device == devs[j].device_id) agp_ali_probe() 340 devs[j].chipset_name = "M1631"; agp_ali_probe() 343 devs[j].chipset_name = "M1632"; agp_ali_probe() 346 devs[j].chipset_name = "M1641"; agp_ali_probe() 349 devs[j].chipset_name = "M1621"; agp_ali_probe() 352 devs[j].chipset_name = "M1647"; agp_ali_probe() 355 devs[j].chipset_name = "M1651"; agp_ali_probe() 365 dev_info(&pdev->dev, "ALi %s chipset\n", devs[j].chipset_name); agp_ali_probe()
|
H A D | ati-agp.c | 494 struct agp_device_ids *devs = ati_agp_device_ids; agp_ati_probe() local 504 for (j = 0; devs[j].chipset_name; j++) { agp_ati_probe() 505 if (pdev->device == devs[j].device_id) agp_ati_probe() 523 dev_info(&pdev->dev, "Ati %s chipset\n", devs[j].chipset_name); agp_ati_probe()
|
H A D | uninorth-agp.c | 598 struct agp_device_ids *devs = uninorth_agp_device_ids; agp_uninorth_probe() local 609 for (j = 0; devs[j].chipset_name != NULL; ++j) { agp_uninorth_probe() 610 if (pdev->device == devs[j].device_id) { agp_uninorth_probe() 612 devs[j].chipset_name); agp_uninorth_probe()
|
H A D | via-agp.c | 442 struct agp_device_ids *devs = via_agp_device_ids; agp_via_probe() local 452 printk (KERN_INFO PFX "Detected VIA %s chipset\n", devs[j].chipset_name); agp_via_probe()
|
/linux-4.1.27/sound/isa/ |
H A D | als100.c | 85 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } }, 89 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } }, 93 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } }, 97 .devs = { { "@@@1001" }, { "@X@1001" }, { "@H@1001" } }, 101 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } }, 105 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0001" } }, 109 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0020" } }, 113 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } }, 127 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); snd_card_als100_pnp() 131 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); snd_card_als100_pnp() 132 acard->devopl = pnp_request_card_device(card, id->devs[2].id, acard->dev); snd_card_als100_pnp()
|
H A D | azt2320.c | 84 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } }, 86 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } }, 88 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 90 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } }, 92 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 94 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 109 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); snd_card_azt2320_pnp() 113 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); snd_card_azt2320_pnp()
|
H A D | cmi8330.c | 186 { .id = "CMI0001", .devs = { { "@X@0001" }, { "@@@0001" }, { "@H@0001" }, { "A@@0001" } } }, 187 { .id = "CMI0001", .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } } }, 340 acard->type = (id->devs[3].id[0]) ? CMI8329 : CMI8330; snd_cmi8330_pnp() 342 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); snd_cmi8330_pnp() 346 acard->play = pnp_request_card_device(card, id->devs[1].id, NULL); snd_cmi8330_pnp() 350 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); snd_cmi8330_pnp()
|
H A D | opl3sa2.c | 154 { .id = "YMH0020", .devs = { { "YMH0021" } } }, 156 { .id = "YMH0030", .devs = { { "YMH0021" } } }, 158 { .id = "YMH0800", .devs = { { "YMH0021" } } }, 160 { .id = "YMH0801", .devs = { { "YMH0021" } } }, 162 { .id = "NMX2200", .devs = { { "YMH2210" } } }, 164 { .id = "NMX2200", .devs = { { "NMX2210" } } }, 791 pdev = pnp_request_card_device(pcard, id->devs[0].id, NULL); snd_opl3sa2_pnp_cdetect() 794 id->devs[0].id); snd_opl3sa2_pnp_cdetect()
|
H A D | es18xx.c | 2067 { .id = "ESS1868", .devs = { { "ESS1868" }, { "ESS0000" } } }, 2069 { .id = "ESS1868", .devs = { { "ESS8601" }, { "ESS8600" } } }, 2071 { .id = "ESS1868", .devs = { { "ESS8611" }, { "ESS8610" } } }, 2073 { .id = "ESS0003", .devs = { { "ESS1869" }, { "ESS0006" } } }, 2075 { .id = "ESS1869", .devs = { { "ESS1869" }, { "ESS0006" } } }, 2077 { .id = "ESS1878", .devs = { { "ESS1878" }, { "ESS0004" } } }, 2079 { .id = "ESS1879", .devs = { { "ESS1879" }, { "ESS0009" } } }, 2090 chip->dev = pnp_request_card_device(card, id->devs[0].id, NULL); snd_audiodrive_pnpc() 2094 chip->devc = pnp_request_card_device(card, id->devs[1].id, NULL); snd_audiodrive_pnpc()
|
H A D | sscape.c | 92 { .id = "ENS3081", .devs = { { "ENS0000" } } }, /* Soundscape PnP */ 93 { .id = "ENS4081", .devs = { { "ENS1011" } } }, /* VIVO90 */ 1246 dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); sscape_pnp_detect()
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.c | 485 INIT_LIST_HEAD(&pd->devs); usnic_uiom_alloc_pd() 518 list_add_tail(&uiom_dev->link, &pd->devs); usnic_uiom_attach_dev_to_pd() 537 list_for_each_entry(uiom_dev, &pd->devs, link) { usnic_uiom_detach_dev_from_pd() 561 struct device **devs; usnic_uiom_get_dev_list() local 565 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); usnic_uiom_get_dev_list() 566 if (!devs) { usnic_uiom_get_dev_list() 567 devs = ERR_PTR(-ENOMEM); usnic_uiom_get_dev_list() 571 list_for_each_entry(uiom_dev, &pd->devs, link) { usnic_uiom_get_dev_list() 572 devs[i++] = uiom_dev->dev; usnic_uiom_get_dev_list() 576 return devs; usnic_uiom_get_dev_list() 579 void usnic_uiom_free_dev_list(struct device **devs) usnic_uiom_free_dev_list() argument 581 kfree(devs); usnic_uiom_free_dev_list()
|
H A D | usnic_uiom.h | 44 struct list_head devs; member in struct:usnic_uiom_pd 73 void usnic_uiom_free_dev_list(struct device **devs);
|
/linux-4.1.27/arch/arm/mach-rpc/ |
H A D | riscpc.c | 185 static struct platform_device *devs[] __initdata = { 200 return platform_add_devices(devs, ARRAY_SIZE(devs)); rpc_init()
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
H A D | dev-uart.c | 27 #include <plat/devs.h>
|
H A D | mach-ncp.c | 43 #include <plat/devs.h>
|
H A D | mach-smdk6400.c | 33 #include <plat/devs.h>
|
H A D | s3c6400.c | 41 #include <plat/devs.h>
|
H A D | mach-smartq5.c | 29 #include <plat/devs.h>
|
H A D | mach-smartq7.c | 29 #include <plat/devs.h>
|
H A D | s3c6410.c | 42 #include <plat/devs.h>
|
H A D | dev-audio.c | 22 #include <plat/devs.h>
|
H A D | mach-anw6410.c | 48 #include <plat/devs.h>
|
H A D | mach-hmt.c | 42 #include <plat/devs.h>
|
H A D | mach-real6410.c | 39 #include <plat/devs.h>
|
H A D | mach-mini6410.c | 38 #include <plat/devs.h>
|
H A D | mach-smartq.c | 32 #include <plat/devs.h>
|
H A D | pm.c | 25 #include <plat/devs.h>
|
H A D | common.c | 48 #include <plat/devs.h>
|
H A D | mach-smdk6410.c | 66 #include <plat/devs.h>
|
H A D | mach-crag6410.c | 61 #include <plat/devs.h>
|
/linux-4.1.27/drivers/s390/block/ |
H A D | xpram.c | 22 * set by kernel or module parameters (int devs & int sizes[]) 65 static int devs = XPRAM_DEVS; variable 68 module_param(devs, int, 0); 71 MODULE_PARM_DESC(devs, "number of devices (\"partitions\"), " \ 266 if (devs <= 0 || devs > XPRAM_MAX_DEVS) { xpram_setup_sizes() 267 pr_err("%d is not a valid number of XPRAM devices\n",devs); xpram_setup_sizes() 270 xpram_devs = devs; xpram_setup_sizes()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_devinfo.h | 24 #define BLIST_REPORTLUN2 0x20000 /* try REPORT_LUNS even for SCSI-2 devs 26 #define BLIST_NOREPORTLUN 0x40000 /* don't try REPORT_LUNS scan (SCSI-3 devs) */
|
/linux-4.1.27/drivers/macintosh/ |
H A D | macio-adb.c | 67 static int macio_adb_autopoll(int devs); 130 static int macio_adb_autopoll(int devs) macio_adb_autopoll() argument 135 out_8(&adb->active_hi.r, devs >> 8); macio_adb_autopoll() 136 out_8(&adb->active_lo.r, devs); macio_adb_autopoll() 137 out_8(&adb->autopoll.r, devs? APE: 0); macio_adb_autopoll()
|
H A D | via-cuda.c | 92 static int cuda_adb_autopoll(int devs); 332 cuda_adb_autopoll(int devs) cuda_adb_autopoll() argument 339 cuda_request(&req, NULL, 3, CUDA_PACKET, CUDA_AUTOPOLL, (devs? 1: 0)); cuda_adb_autopoll()
|
H A D | via-macii.c | 88 static int macii_autopoll(int devs); 280 static int macii_autopoll(int devs) macii_autopoll() argument 287 autopoll_devs = devs & 0xFFFE; macii_autopoll()
|
H A D | via-pmu68k.c | 107 static int pmu_autopoll(int devs); 380 pmu_autopoll(int devs) pmu_autopoll() argument 386 if (devs) { pmu_autopoll() 387 adb_dev_map = devs; pmu_autopoll()
|
H A D | adb-iop.c | 259 int adb_iop_autopoll(int devs) adb_iop_autopoll() argument
|
H A D | via-pmu.c | 185 static int pmu_adb_autopoll(int devs); 1041 static int __pmu_adb_autopoll(int devs) __pmu_adb_autopoll() argument 1045 if (devs) { __pmu_adb_autopoll() 1058 static int pmu_adb_autopoll(int devs) pmu_adb_autopoll() argument 1063 adb_dev_map = devs; pmu_adb_autopoll() 1064 return __pmu_adb_autopoll(devs); pmu_adb_autopoll()
|
/linux-4.1.27/drivers/vfio/pci/ |
H A D | vfio_pci.c | 1061 struct vfio_devices *devs = data; vfio_pci_get_devs() local 1067 if (devs->cur_index == devs->max_index) vfio_pci_get_devs() 1070 devs->devices[devs->cur_index] = vfio_device_get_from_dev(&pdev->dev); vfio_pci_get_devs() 1071 if (!devs->devices[devs->cur_index]) vfio_pci_get_devs() 1074 devs->cur_index++; vfio_pci_get_devs() 1092 struct vfio_devices devs = { .cur_index = 0 }; vfio_pci_try_bus_reset() local 1106 devs.max_index = i; vfio_pci_try_bus_reset() 1107 devs.devices = kcalloc(i, sizeof(struct vfio_device *), GFP_KERNEL); vfio_pci_try_bus_reset() 1108 if (!devs.devices) vfio_pci_try_bus_reset() 1112 vfio_pci_get_devs, &devs, slot)) vfio_pci_try_bus_reset() 1115 for (i = 0; i < devs.cur_index; i++) { vfio_pci_try_bus_reset() 1116 tmp = vfio_device_data(devs.devices[i]); vfio_pci_try_bus_reset() 1128 for (i = 0; i < devs.cur_index; i++) { vfio_pci_try_bus_reset() 1129 tmp = vfio_device_data(devs.devices[i]); vfio_pci_try_bus_reset() 1136 vfio_device_put(devs.devices[i]); vfio_pci_try_bus_reset() 1139 kfree(devs.devices); vfio_pci_try_bus_reset()
|
/linux-4.1.27/drivers/media/pci/mantis/ |
H A D | hopper_cards.c | 64 static int devs; variable 168 mantis->num = devs; hopper_pci_probe() 210 devs++; hopper_pci_probe()
|
H A D | mantis_cards.c | 57 static int devs; variable 176 mantis->num = devs; mantis_pci_probe() 224 devs++; mantis_pci_probe()
|
/linux-4.1.27/drivers/sbus/char/ |
H A D | bbc_i2c.h | 71 } devs[NUM_CHILDREN]; member in struct:bbc_i2c_bus
|
H A D | bbc_i2c.c | 58 if (bp->devs[i].device == op) { set_device_claimage() 59 bp->devs[i].client_claimed = val; set_device_claimage() 74 if (!(op = bp->devs[i].device)) bbc_i2c_getdev() 334 bp->devs[entry].device = child_op; attach_one_i2c() 335 bp->devs[entry].client_claimed = 0; attach_one_i2c()
|
/linux-4.1.27/drivers/staging/ozwpan/ |
H A D | ozproto.h | 42 int oz_protocol_init(char *devs);
|
H A D | ozproto.c | 769 int oz_protocol_init(char *devs) oz_protocol_init() argument 782 if (devs[0] == '*') { oz_protocol_init() 787 while (*devs) { oz_protocol_init() 788 devs = oz_get_next_device_name(devs, d, sizeof(d)); oz_protocol_init()
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | s3c2440.c | 35 #include <plat/devs.h>
|
H A D | simtec-audio.c | 24 #include <plat/devs.h>
|
H A D | mach-otom.c | 34 #include <plat/devs.h>
|
H A D | mach-smdk2443.c | 41 #include <plat/devs.h>
|
H A D | s3c2443.c | 42 #include <plat/devs.h>
|
H A D | simtec-usb.c | 36 #include <plat/devs.h>
|
H A D | common-smdk.c | 45 #include <plat/devs.h>
|
H A D | mach-at2440evb.c | 48 #include <plat/devs.h>
|
H A D | mach-nexcoder.c | 45 #include <plat/devs.h>
|
H A D | mach-rx3715.c | 50 #include <plat/devs.h>
|
H A D | mach-smdk2410.c | 52 #include <plat/devs.h>
|
H A D | mach-smdk2413.c | 46 #include <plat/devs.h>
|
H A D | mach-smdk2440.c | 41 #include <plat/devs.h>
|
H A D | mach-tct_hammer.c | 49 #include <plat/devs.h>
|
H A D | mach-vstms.c | 45 #include <plat/devs.h>
|
H A D | s3c2410.c | 43 #include <plat/devs.h>
|
H A D | s3c244x.c | 41 #include <plat/devs.h>
|
H A D | mach-amlm5900.c | 58 #include <plat/devs.h>
|
H A D | mach-smdk2416.c | 47 #include <plat/devs.h>
|
H A D | s3c2412.c | 42 #include <plat/devs.h>
|
H A D | s3c2416.c | 56 #include <plat/devs.h>
|
H A D | mach-anubis.c | 49 #include <plat/devs.h>
|
H A D | mach-osiris.c | 45 #include <plat/devs.h>
|
H A D | mach-qt2410.c | 60 #include <plat/devs.h>
|
H A D | mach-vr1000.c | 47 #include <plat/devs.h>
|
H A D | common.c | 51 #include <plat/devs.h>
|
H A D | mach-bast.c | 56 #include <plat/devs.h>
|
H A D | mach-gta02.c | 82 #include <plat/devs.h>
|
H A D | mach-jive.c | 51 #include <plat/devs.h>
|
H A D | mach-h1940.c | 61 #include <plat/devs.h>
|
H A D | mach-mini2440.c | 57 #include <plat/devs.h>
|
H A D | mach-n30.c | 49 #include <plat/devs.h>
|
H A D | mach-rx1950.c | 58 #include <plat/devs.h>
|
/linux-4.1.27/arch/arm/include/asm/hardware/ |
H A D | scoop.h | 62 struct scoop_pcmcia_dev *devs; member in struct:scoop_pcmcia_config
|
/linux-4.1.27/include/linux/ |
H A D | adb.h | 35 int (*autopoll)(int devs);
|
H A D | isapnp.h | 64 } devs[ISAPNP_CARD_DEVS]; /* logical devices */ member in struct:isapnp_card_id
|
H A D | fmc.h | 227 extern int fmc_device_register_n(struct fmc_device **devs, int n); 228 extern void fmc_device_unregister_n(struct fmc_device **devs, int n);
|
H A D | hp_sdc.h | 127 #define HP_SDC_KBN 0x78 /* Which HIL devs are Nimitz */ 128 #define HP_SDC_KBC 0x79 /* Which HIL devs are cooked kbds */
|
H A D | hil_mlc.h | 154 int di_map[7]; /* Maps below items to live devs */
|
H A D | platform_device.h | 265 extern void early_platform_add_devices(struct platform_device **devs, int num);
|
H A D | mod_devicetable.h | 207 } devs[PNP_MAX_DEVICES]; member in struct:pnp_card_device_id
|
H A D | isdn.h | 444 infostruct *infochain; /* List of open info-devs. */
|
H A D | sched.h | 792 atomic_t inotify_devs; /* How many inotify devs does this user have opened? */
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtd_blkdevs.c | 337 list_for_each_entry(d, &tr->devs, list) { add_mtd_blktrans_dev() 371 list_add_tail(&new->list, &tr->devs); add_mtd_blktrans_dev() 508 list_for_each_entry_safe(dev, next, &tr->devs, list) blktrans_notify_remove() 556 INIT_LIST_HEAD(&tr->devs); register_mtd_blktrans() 576 list_for_each_entry_safe(dev, next, &tr->devs, list) deregister_mtd_blktrans() 582 BUG_ON(!list_empty(&tr->devs)); deregister_mtd_blktrans()
|
/linux-4.1.27/drivers/mfd/ |
H A D | ucb1x00-core.c | 411 list_add_tail(&dev->dev_node, &ucb->devs); ucb1x00_add_dev() 412 list_add_tail(&dev->drv_node, &drv->devs); ucb1x00_add_dev() 594 INIT_LIST_HEAD(&ucb->devs); ucb1x00_probe() 627 list_for_each_safe(l, n, &ucb->devs) { ucb1x00_remove() 648 INIT_LIST_HEAD(&drv->devs); ucb1x00_register_driver() 664 list_for_each_safe(l, n, &drv->devs) { ucb1x00_unregister_driver() 679 list_for_each_entry(udev, &ucb->devs, dev_node) { ucb1x00_suspend() 732 list_for_each_entry(udev, &ucb->devs, dev_node) { ucb1x00_resume()
|
H A D | kempld-core.c | 109 struct mfd_cell devs[KEMPLD_MAX_DEVS]; kempld_register_cells_generic() local 113 devs[i++] = kempld_devs[KEMPLD_I2C]; kempld_register_cells_generic() 116 devs[i++] = kempld_devs[KEMPLD_WDT]; kempld_register_cells_generic() 119 devs[i++] = kempld_devs[KEMPLD_GPIO]; kempld_register_cells_generic() 122 devs[i++] = kempld_devs[KEMPLD_UART]; kempld_register_cells_generic() 124 return mfd_add_devices(pld->dev, -1, devs, i, NULL, 0, NULL); kempld_register_cells_generic()
|
/linux-4.1.27/drivers/uwb/ |
H A D | whci.c | 21 struct umc_dev *devs[0]; member in struct:whci_card 124 card->devs[n] = umc; whci_add_cap() 134 struct umc_dev *umc = card->devs[n]; whci_del_cap()
|
/linux-4.1.27/sound/isa/es1688/ |
H A D | es1688.c | 240 pdev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); snd_card_es968_pnp() 325 { .id = "ESS0968", .devs = { { "@@@0968" }, } }, 326 { .id = "ESS0968", .devs = { { "ESS0968" }, } },
|
/linux-4.1.27/sound/pci/ |
H A D | via82xx_modem.c | 250 struct viadev devs[VIA_MAX_MODEM_DEVS]; member in struct:via82xx_modem 498 struct viadev *viadev = &chip->devs[i]; snd_via82xx_interrupt() 778 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; snd_via82xx_playback_open() 789 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; snd_via82xx_capture_open() 836 chip->devs[idx].reg_offset = reg_offset; init_viadev() 837 chip->devs[idx].direction = direction; init_viadev() 838 chip->devs[idx].port = chip->port + reg_offset; init_viadev() 1042 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_suspend() 1059 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_resume() 1079 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_free() 1196 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_probe()
|
H A D | via82xx.c | 383 struct viadev devs[VIA_MAX_DEVS]; member in struct:via82xx 645 struct viadev *viadev = &chip->devs[i]; snd_via686_interrupt() 686 struct viadev *viadev = &chip->devs[i]; snd_via8233_interrupt() 1242 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; snd_via686_playback_open() 1260 viadev = &chip->devs[chip->playback_devno + substream->number]; snd_via8233_playback_open() 1284 struct viadev *viadev = &chip->devs[chip->multi_devno]; snd_via8233_multi_open() 1314 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; snd_via82xx_capture_open() 1437 chip->devs[idx].reg_offset = reg_offset; init_viadev() 1438 chip->devs[idx].shadow_shift = shadow_pos * 4; init_viadev() 1439 chip->devs[idx].direction = direction; init_viadev() 1440 chip->devs[idx].port = chip->port + reg_offset; init_viadev() 2282 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_suspend() 2318 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_resume() 2338 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_free() 2613 snd_via82xx_channel_reset(chip, &chip->devs[i]); snd_via82xx_probe()
|
/linux-4.1.27/fs/btrfs/ |
H A D | reada.c | 86 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl member in struct:reada_zone 297 zone->devs[i] = bbio->stripes[i].dev; reada_find_zone() 596 peer = radix_tree_lookup(&zone->devs[i]->reada_zones, index); reada_peer_zones_set_lock() 827 "%d devs", zone->start, zone->end, zone->elems, dump_devs() 831 zone->devs[j]->devid); dump_devs() 855 printk(KERN_CONT " zone %llu-%llu devs", dump_devs() 860 re->zones[i]->devs[j]->devid); dump_devs() 889 printk(KERN_CONT " zone %llu-%llu devs", dump_devs() 893 printk(KERN_CONT " zone %llu-%llu devs", dump_devs() 898 re->zones[i]->devs[j]->devid); dump_devs()
|
H A D | volumes.h | 331 int devs_max; /* max devs to use */ 332 int devs_min; /* min devs needed */
|
H A D | volumes.c | 1853 /* if this is no devs we rather delete the fs_devices */ btrfs_rm_dev_replace_free_srcdev() 4234 int devs_max; /* max devs to use */ __btrfs_alloc_chunk() 4235 int devs_min; /* min devs needed */ __btrfs_alloc_chunk()
|
/linux-4.1.27/fs/nfs/ |
H A D | callback_xdr.c | 311 if (n > ULONG_MAX / sizeof(*args->devs)) { decode_devicenotify_args() 316 args->devs = kmalloc_array(n, sizeof(*args->devs), GFP_KERNEL); decode_devicenotify_args() 317 if (!args->devs) { decode_devicenotify_args() 324 struct cb_devicenotifyitem *dev = &args->devs[i]; decode_devicenotify_args() 378 kfree(args->devs); decode_devicenotify_args()
|
H A D | callback.h | 182 struct cb_devicenotifyitem *devs; member in struct:cb_devicenotifyargs
|
H A D | callback_proc.c | 274 struct cb_devicenotifyitem *dev = &args->devs[i]; nfs4_callback_devicenotify() 296 kfree(args->devs); nfs4_callback_devicenotify()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | xhci.c | 1225 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { xhci_check_args() 1231 virt_dev = xhci->devs[udev->slot_id]; xhci_check_args() 1266 out_ctx = xhci->devs[slot_id]->out_ctx; xhci_check_maxpacket() 1291 command->in_ctx = xhci->devs[slot_id]->in_ctx; xhci_check_maxpacket() 1300 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, xhci_check_maxpacket() 1301 xhci->devs[slot_id]->out_ctx, ep_index); xhci_check_maxpacket() 1416 if (xhci->devs[slot_id]->eps[ep_index].ep_state & xhci_urb_enqueue() 1421 } else if (xhci->devs[slot_id]->eps[ep_index].ep_state & xhci_urb_enqueue() 1482 ep = &xhci->devs[slot_id]->eps[ep_index]; xhci_urb_to_transfer_ring() 1564 i < urb_priv->length && xhci->devs[urb->dev->slot_id]; xhci_urb_dequeue() 1594 ep = &xhci->devs[urb->dev->slot_id]->eps[ep_index]; xhci_urb_dequeue() 1652 * the xhci->devs[slot_id] structure. 1681 in_ctx = xhci->devs[udev->slot_id]->in_ctx; xhci_drop_endpoint() 1682 out_ctx = xhci->devs[udev->slot_id]->out_ctx; xhci_drop_endpoint() 1700 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) xhci_drop_endpoint() 1712 xhci_endpoint_zero(xhci, xhci->devs[udev->slot_id], ep); xhci_drop_endpoint() 1733 * for mutual exclusion to protect the xhci->devs[slot_id] structure. 1768 virt_dev = xhci->devs[udev->slot_id]; xhci_add_endpoint() 1919 struct xhci_virt_device *virt_dev = xhci->devs[udev->slot_id]; xhci_evaluate_context_result() 2411 xhci->devs[udev->slot_id]->bw_table->ss_bw_in -= xhci_drop_ep_from_interval_table() 2414 xhci->devs[udev->slot_id]->bw_table->ss_bw_out -= xhci_drop_ep_from_interval_table() 2475 xhci->devs[udev->slot_id]->bw_table->ss_bw_in += xhci_add_ep_to_interval_table() 2478 xhci->devs[udev->slot_id]->bw_table->ss_bw_out += xhci_add_ep_to_interval_table() 2659 virt_dev = xhci->devs[udev->slot_id]; xhci_configure_endpoint() 2750 * else should be touching the xhci->devs[slot_id] structure, so we 2772 virt_dev = xhci->devs[udev->slot_id]; xhci_check_bandwidth() 2869 virt_dev = xhci->devs[udev->slot_id]; xhci_reset_bandwidth() 2905 in_ctx = xhci->devs[slot_id]->in_ctx; xhci_setup_input_ctx_for_quirk() 2913 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, xhci_setup_input_ctx_for_quirk() 2914 xhci->devs[slot_id]->out_ctx, ep_index); xhci_setup_input_ctx_for_quirk() 2929 xhci_setup_input_ctx_for_config_ep(xhci, xhci->devs[slot_id]->in_ctx, xhci_setup_input_ctx_for_quirk() 2930 xhci->devs[slot_id]->out_ctx, ctrl_ctx, xhci_setup_input_ctx_for_quirk() 2943 ep = &xhci->devs[udev->slot_id]->eps[ep_index]; xhci_cleanup_stalled_ring() 3025 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; xhci_check_streams_endpoint() 3035 if (!list_empty(&xhci->devs[slot_id]->eps[ep_index].ring->td_list)) { xhci_check_streams_endpoint() 3113 if (!xhci->devs[slot_id]) xhci_calculate_no_streams_bitmask() 3118 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state; xhci_calculate_no_streams_bitmask() 3223 vdev = xhci->devs[udev->slot_id]; xhci_alloc_streams() 3334 vdev = xhci->devs[udev->slot_id]; xhci_free_streams() 3364 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |= xhci_free_streams() 3469 virt_dev = xhci->devs[slot_id]; xhci_discover_or_reset_device() 3647 virt_dev = xhci->devs[udev->slot_id]; xhci_free_dev() 3827 virt_dev = xhci->devs[udev->slot_id]; xhci_setup_device() 4027 virt_dev = xhci->devs[udev->slot_id]; xhci_change_max_exit_latency() 4032 * hub_port_finish_reset() is done and xhci->devs[] are re-allocated xhci_change_max_exit_latency() 4688 !xhci->devs[udev->slot_id]) xhci_enable_usb3_lpm_timeout() 4714 !xhci->devs[udev->slot_id]) xhci_disable_usb3_lpm_timeout() 4770 vdev = xhci->devs[hdev->slot_id]; xhci_update_hub_device()
|
H A D | xhci-ring.c | 331 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; xhci_ring_ep_doorbell() 357 ep = &xhci->devs[slot_id]->eps[ep_index]; ring_doorbell_for_active_rings() 381 ep = &xhci->devs[slot_id]->eps[ep_index]; xhci_triad_to_transfer_ring() 441 struct xhci_virt_device *dev = xhci->devs[slot_id]; xhci_find_new_dequeue_state() 649 if (!xhci->devs[slot_id]) xhci_handle_cmd_stop_ep() 658 ep = &xhci->devs[slot_id]->eps[ep_index]; xhci_handle_cmd_stop_ep() 778 ep = &xhci->devs[slot_id]->eps[ep_index]; xhci_kill_endpoint_urbs() 885 if (!xhci->devs[i]) xhci_stop_endpoint_command_watchdog() 966 dev = xhci->devs[slot_id]; xhci_handle_cmd_set_deq() 1073 xhci->devs[slot_id]->in_ctx->dma, slot_id, xhci_handle_cmd_reset_ep() 1078 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_HALTED; xhci_handle_cmd_reset_ep() 1095 virt_dev = xhci->devs[slot_id]; xhci_handle_cmd_disable_slot() 1121 virt_dev = xhci->devs[slot_id]; xhci_handle_cmd_config_ep() 1161 if (!xhci->devs[slot_id]) xhci_handle_cmd_reset_dev() 1469 if (!xhci->devs[slot_id]) { handle_device_notification() 1477 udev = xhci->devs[slot_id]->udev; handle_device_notification() 1609 if (slot_id && xhci->devs[slot_id]) handle_port_status() 1738 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; xhci_cleanup_halted_endpoint() 1815 xdev = xhci->devs[slot_id]; finish_td() 1905 xdev = xhci->devs[slot_id]; process_ctrl_td() 2245 xdev = xhci->devs[slot_id]; 2976 xhci->devs[slot_id]->out_ctx, ep_index); xhci_queue_intr_tx() 3074 ret = prepare_transfer(xhci, xhci->devs[slot_id], queue_bulk_sg_tx() 3088 ret = prepare_transfer(xhci, xhci->devs[slot_id], queue_bulk_sg_tx() 3259 ret = prepare_transfer(xhci, xhci->devs[slot_id], xhci_queue_bulk_tx() 3273 ret = prepare_transfer(xhci, xhci->devs[slot_id], xhci_queue_bulk_tx() 3401 ret = prepare_transfer(xhci, xhci->devs[slot_id], xhci_queue_ctrl_tx() 3581 ep_ring = xhci->devs[slot_id]->eps[ep_index].ring; xhci_queue_isoc_tx() 3618 ret = prepare_transfer(xhci, xhci->devs[slot_id], ep_index, xhci_queue_isoc_tx() 3760 xdev = xhci->devs[slot_id]; xhci_queue_isoc_tx_prepare() 3964 ep = &xhci->devs[slot_id]->eps[ep_index]; xhci_queue_new_dequeue_state()
|
H A D | xhci-hub.c | 250 if (!xhci->devs[i]) xhci_find_slot_id_by_port() 252 speed = xhci->devs[i]->udev->speed; xhci_find_slot_id_by_port() 254 && xhci->devs[i]->fake_port == port) { xhci_find_slot_id_by_port() 278 virt_dev = xhci->devs[slot_id]; xhci_stop_device() 325 ep = &xhci->devs[slot_id]->eps[i]; xhci_ring_device()
|
H A D | xhci-mem.c | 920 if (slot_id == 0 || !xhci->devs[slot_id]) xhci_free_virt_device() 923 dev = xhci->devs[slot_id]; xhci_free_virt_device() 963 kfree(xhci->devs[slot_id]); xhci_free_virt_device() 964 xhci->devs[slot_id] = NULL; xhci_free_virt_device() 974 if (slot_id == 0 || xhci->devs[slot_id]) { xhci_alloc_virt_device() 979 xhci->devs[slot_id] = kzalloc(sizeof(*xhci->devs[slot_id]), flags); xhci_alloc_virt_device() 980 if (!xhci->devs[slot_id]) xhci_alloc_virt_device() 982 dev = xhci->devs[slot_id]; xhci_alloc_virt_device() 1043 virt_dev = xhci->devs[udev->slot_id]; xhci_copy_ep0_dequeue_into_input_ctx() 1097 dev = xhci->devs[udev->slot_id]; xhci_setup_addressable_virt_dev() 2524 xhci->devs[i] = NULL; xhci_mem_init()
|
H A D | uhci-debug.c | 296 rh_state = "running, no devs"; break; uhci_show_root_hub_state()
|
H A D | xhci.h | 1510 struct xhci_virt_device *devs[MAX_HC_SLOTS]; member in struct:xhci_hcd
|
/linux-4.1.27/arch/arm/plat-samsung/include/plat/ |
H A D | devs.h | 1 /* arch/arm/plat-samsung/include/plat/devs.h
|
H A D | sdhci.h | 22 #include <plat/devs.h>
|
/linux-4.1.27/net/atm/ |
H A D | pvc.c | 17 #include "resources.h" /* devs and vccs */
|
/linux-4.1.27/scripts/mod/ |
H A D | devicetable-offsets.c | 71 DEVID_FIELD(pnp_card_device_id, devs); main()
|
H A D | file2alias.c | 562 DEF_FIELD_ADDR(symval + i*id_size, pnp_card_device_id, devs); do_pnp_card_entries() 565 const char *id = (char *)(*devs)[j].id; do_pnp_card_entries() 574 DEF_FIELD_ADDR(symval + i2*id_size, pnp_card_device_id, devs); do_pnp_card_entries() 577 const char *id2 = (char *)(*devs)[j2].id; do_pnp_card_entries()
|
/linux-4.1.27/sound/isa/gus/ |
H A D | interwave.c | 142 { .id = "GRV0001", .devs = { { .id = "GRV0000" } } }, 144 { .id = "STB011a", .devs = { { .id = "STB0010" } } }, 146 { .id = "DXP3201", .devs = { { .id = "DXP0010" } } }, 149 { .id = "CDC1111", .devs = { { .id = "CDC1112" } } }, 151 { .id = "ADV55ff", .devs = { { .id = "ADV0010" } } }, 153 { .id = "ADV550a", .devs = { { .id = "ADV0010" } } }, 156 { .id = "ADV550a", .devs = { { .id = "ADV0010" }, { .id = "ADV0015" } } }, 561 iwcard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); snd_interwave_pnp() 566 iwcard->devtc = pnp_request_card_device(card, id->devs[1].id, NULL); snd_interwave_pnp()
|
/linux-4.1.27/include/linux/mtd/ |
H A D | blktrans.h | 84 struct list_head devs; member in struct:mtd_blktrans_ops
|
H A D | cfi.h | 289 struct cfi_ident *cfiq; /* For now only one. We insist that all devs
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | pxa2xx_sharpsl.c | 29 #define SCOOP_DEV platform_scoop_config->devs 241 sharpsl_pcmcia_device->dev.parent = platform_scoop_config->devs[0].dev; sharpsl_pcmcia_init()
|
/linux-4.1.27/include/linux/mfd/ |
H A D | ucb1x00.h | 140 struct list_head devs; member in struct:ucb1x00 156 struct list_head devs; member in struct:ucb1x00_driver
|
/linux-4.1.27/sound/isa/wavefront/ |
H A D | wavefront.c | 93 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "PnPb006" }, { "CSC0004" } } }, 95 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PnPb006" }, { "CSC0004" } } }, 112 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); snd_wavefront_pnp() 128 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); snd_wavefront_pnp() 135 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); snd_wavefront_pnp()
|
/linux-4.1.27/drivers/base/ |
H A D | platform.c | 168 * @devs: array of platform devices to add 171 int platform_add_devices(struct platform_device **devs, int num) platform_add_devices() argument 176 ret = platform_device_register(devs[i]); platform_add_devices() 179 platform_device_unregister(devs[i]); platform_add_devices() 1103 * @devs: array of early platform devices to add 1109 void __init early_platform_add_devices(struct platform_device **devs, int num) early_platform_add_devices() argument 1116 dev = &devs[i]->dev; early_platform_add_devices()
|
/linux-4.1.27/drivers/pnp/pnpbios/ |
H A D | core.c | 362 unsigned int devs = 0; build_devlist() local 385 devs++; build_devlist() 398 nodes_got, nodes_got != 1 ? "s" : "", devs); build_devlist()
|
/linux-4.1.27/drivers/input/joystick/ |
H A D | db9.c | 273 static int db9_saturn_report(unsigned char id, unsigned char data[60], struct input_dev *devs[], int n, int max_pads) db9_saturn_report() argument 280 dev = devs[n]; db9_saturn_report() 336 static int db9_saturn(int mode, struct parport *port, struct input_dev *devs[]) db9_saturn() argument 361 tmp = db9_saturn_report(id, data, devs, tmp, max_pads); db9_saturn()
|
/linux-4.1.27/drivers/pnp/ |
H A D | card.c | 32 !*drv_id->devs[i].id) match_card() 37 drv_id->devs[i].id)) { card_for_each_dev()
|
/linux-4.1.27/include/uapi/linux/raid/ |
H A D | md_p.h | 273 __le32 sb_csum; /* checksum up to devs[max_dev] */ 274 __le32 max_dev; /* size of devs[] array to consider */
|
/linux-4.1.27/sound/isa/opti9xx/ |
H A D | opti92x-ad1848.c | 158 .devs = { { "OPT0000" }, { "OPT0002" }, { "OPT0005" } }, 162 .devs = { { "OPT9250" }, { "OPT0002" }, { "OPT0005" } }, 166 { .id = "OPT0931", .devs = { { "OPT9310" }, { "OPT0002" } }, 742 pdev = pnp_request_card_device(card, pid->devs[0].id, NULL); snd_card_opti9xx_pnp() 759 devmc = pnp_request_card_device(card, pid->devs[2].id, NULL); snd_card_opti9xx_pnp() 784 devmpu = pnp_request_card_device(card, pid->devs[1].id, NULL); snd_card_opti9xx_pnp()
|
H A D | miro.c | 149 .devs = { { "MIR0000" }, { "MIR0002" }, { "MIR0005" } }, }, 1520 pdev = pnp_request_card_device(card, pid->devs[0].id, NULL); snd_card_miro_pnp() 1524 devmpu = pnp_request_card_device(card, pid->devs[1].id, NULL); snd_card_miro_pnp() 1528 devmc = pnp_request_card_device(card, pid->devs[2].id, NULL); snd_card_miro_pnp()
|
/linux-4.1.27/drivers/scsi/ |
H A D | st.h | 70 struct device *devs[2]; /* Auto-rewind and non-rewind devices */ member in struct:st_modedef
|
H A D | xen-scsifront.c | 990 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); scsifront_do_lun_hotplug() 1000 snprintf(str, sizeof(str), "vscsi-devs/%s/state", dir[i]); scsifront_do_lun_hotplug() 1007 snprintf(str, sizeof(str), "vscsi-devs/%s/v-dev", dir[i]); scsifront_do_lun_hotplug() 1019 "vscsi-devs/%s/state", dir[i]); scsifront_do_lun_hotplug()
|
H A D | st.c | 2238 d0 = STm->devs[0]; st_set_options() 2239 d1 = STm->devs[1]; st_set_options() 2243 STm->devs[0] = d0; st_set_options() 2244 STm->devs[1] = d1; st_set_options() 4070 STm->devs[rew] = dev; create_cdevs() 4093 &tape->modes[0].devs[0]->kobj, "tape"); 4105 if (STm->devs[rew]) st_probe() 4106 device_unregister(STm->devs[rew]); st_probe()
|
H A D | vmw_pvscsi.c | 568 /* Our emulation returns this for non-connected devs */ pvscsi_complete_request()
|
H A D | sg.c | 184 char sgdebug; /* 0->off, 1->sense, 9->dump dev, 10-> all devs */
|
H A D | libiscsi.c | 2024 * other devs will complete, and this loop will iscsi_eh_cmd_timed_out()
|
H A D | scsi_debug.c | 4122 MODULE_PARM_DESC(dev_size_mb, "size in MiB of ram shared by devs(def=8)");
|
H A D | hpsa.c | 2856 u32 nphysicals = 0; /* number of reported physical devs */ hpsa_get_pdisk_of_ioaccel2()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | poodle.c | 155 .devs = &poodle_pcmcia_scoop[0],
|
H A D | corgi.c | 186 .devs = &corgi_pcmcia_scoop[0],
|
H A D | tosa.c | 239 .devs = &tosa_pcmcia_scoop[0],
|
H A D | spitz.c | 266 .devs = &spitz_pcmcia_scoop[0],
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
H A D | collie.c | 86 .devs = &collie_pcmcia_scoop[0],
|
/linux-4.1.27/sound/usb/usx2y/ |
H A D | usX2Yhwdep.c | 66 // FIXME this hwdep interface is used twice: fpga download and mmap for controlling Lights etc. Maybe better using 2 hwdep devs? snd_us428ctls_mmap()
|
/linux-4.1.27/drivers/xen/ |
H A D | xen-scsiback.c | 1032 snprintf(state, sizeof(state), "vscsi-devs/%s/state", ent); scsiback_do_1lun_hotplug() 1038 snprintf(str, sizeof(str), "vscsi-devs/%s/p-dev", ent); scsiback_do_1lun_hotplug() 1049 snprintf(str, sizeof(str), "vscsi-devs/%s/v-dev", ent); scsiback_do_1lun_hotplug() 1077 /* modify vscsi-devs/dev-x/state */ scsiback_do_1lun_hotplug() 1099 dir = xenbus_directory(XBT_NIL, info->dev->nodename, "vscsi-devs", scsiback_do_lun_hotplug()
|
/linux-4.1.27/net/switchdev/ |
H A D | switchdev.c | 272 /* For this route, all nexthop devs must be on the same switch. */ netdev_switch_get_dev_by_nhs()
|
/linux-4.1.27/sound/isa/msnd/ |
H A D | msnd_pinnacle.c | 1101 pnp_dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); snd_msnd_pnp_detect() 1105 mpu_dev = pnp_request_card_device(pcard, pid->devs[1].id, NULL); snd_msnd_pnp_detect() 1196 { .id = "BVJ0440", .devs = { { "TBS0000" }, { "TBS0001" } } },
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_fops.c | 95 /* share address_space across all char-devs of a single device */ drm_open()
|
/linux-4.1.27/arch/mips/include/asm/sgi/ |
H A D | hpc3.h | 201 #define HPC3_ISTAT_PBIMASK 0x0ff /* irq bits for pbus devs 0 --> 7 */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | eeh.h | 95 atomic_t pass_dev_cnt; /* Count of passed through devs */
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | pci_dn.c | 446 * pci_devs_phb_init - Initialize phbs and pci devs under them.
|
/linux-4.1.27/drivers/net/can/ |
H A D | slcan.c | 416 /* Hook the destructor so we can free slcan devs at the right point in time */ slc_free_netdev()
|
/linux-4.1.27/drivers/net/can/usb/ |
H A D | gs_usb.c | 6 * Many thanks to all socketcan devs!
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
H A D | vpfe_mc_capture.c | 422 /* register rest of the sub-devs */ vpfe_register_entities()
|
/linux-4.1.27/drivers/char/ |
H A D | mem.c | 848 printk("unable to get major %d for memory devs\n", MEM_MAJOR); chr_dev_init()
|
/linux-4.1.27/drivers/ata/ |
H A D | libahci_platform.c | 340 * 3) 0 - AHCI_MAX_CLKS clocks, as specified in the devs devicetree node,
|
H A D | sata_mv.c | 1304 num_ports = 8; /* shld be benign for 4 port devs */ mv_dump_all_regs()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | asus-wmi.c | 163 * devs - call DEVS(dev_id, ctrl_param) and print result 1655 {NULL, "devs", show_devs},
|
H A D | sony-laptop.c | 566 /* destroy input devs */ sony_laptop_remove_input()
|
/linux-4.1.27/drivers/parisc/ |
H A D | ccio-dma.c | 256 struct pci_dev *fake_pci_dev; /* the fake pci_dev for non-pci devs */ 843 /* GRANT Need to establish hierarchy for non-PCI devs as well ccio_alloc_consistent()
|
H A D | lba_pci.c | 1313 ** o call pci_register_ops() to discover devs (fixup/fixup_bus get invoked)
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885-video.c | 274 * devs to specify which baseband input they need, or just default cx23885_audio_mux()
|
/linux-4.1.27/drivers/input/serio/ |
H A D | hil_mlc.c | 304 /* Management of the discovered device index (zero based, -1 means no devs) */ hilse_set_ddi()
|
/linux-4.1.27/drivers/dma/ |
H A D | dmaengine.c | 869 /* represent channels in sysfs. Probably want devs too */ dma_async_device_register()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_user.c | 759 /* O_EXCL not supported for char devs, so fake it? */ tcmu_open()
|
/linux-4.1.27/drivers/video/fbdev/core/ |
H A D | fbmem.c | 1852 printk("unable to get major %d for fb devs\n", FB_MAJOR); fbmem_init()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | skeletonfb.c | 680 /* static int __init xxfb_probe (struct platform_device *pdev) -- for platform devs */ xxxfb_probe()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_inode_fork.c | 72 * on-disk inode to the in-core inode. For fifos, devs, and sockets
|
/linux-4.1.27/drivers/tty/ |
H A D | n_gsm.c | 22 * Partly done: hooks so you can pull off frames to non tty devs
|
/linux-4.1.27/net/core/ |
H A D | pktgen.c | 210 #define T_REMDEVALL (1<<2) /* Remove all devs */
|
H A D | dev.c | 5220 /* Now that we linked these devs, make all the upper_dev's __netdev_upper_dev_link()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
H A D | main.c | 5368 /* There are 14e4:4321 PCI devs with 2.4 GHz BCM4321 (N-PHY) */ b43_supported_bands()
|