index 38 arch/alpha/include/asm/pci.h unsigned int index; index 65 arch/alpha/include/asm/pci.h #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index index 32 arch/alpha/kernel/console.c if (h2->index < h1->index) index 85 arch/alpha/kernel/console.c if (hose->index == h) break; index 336 arch/alpha/kernel/core_apecs.c hose->index = 0; index 690 arch/alpha/kernel/core_cia.c hose->index = 0; index 280 arch/alpha/kernel/core_irongate.c hose->index = 0; index 261 arch/alpha/kernel/core_lca.c hose->index = 0; index 215 arch/alpha/kernel/core_marvel.c hose->index = hose_index++; /* arbitrary */ index 225 arch/alpha/kernel/core_marvel.c if (hose->index == 0) index 260 arch/alpha/kernel/core_marvel.c hose->index); index 263 arch/alpha/kernel/core_marvel.c hose->index); index 409 arch/alpha/kernel/core_marvel.c printk("Console graphics on hose %d\n", hose->index); index 627 arch/alpha/kernel/core_marvel.c unsigned long index; index 638 arch/alpha/kernel/core_marvel.c register unsigned long __r17 __asm__("$17") = rtc_access->index; index 653 arch/alpha/kernel/core_marvel.c static u8 index = 0; index 660 arch/alpha/kernel/core_marvel.c if (write) index = b; index 661 arch/alpha/kernel/core_marvel.c ret = index; index 665 arch/alpha/kernel/core_marvel.c rtc_access.index = index; index 1014 arch/alpha/kernel/core_marvel.c agp->hose->index, agp->mode.bits.rate, index 1103 arch/alpha/kernel/core_marvel.c printk("MARVEL - using hose %d as AGP\n", hose->index); index 91 arch/alpha/kernel/core_mcpcia.c unsigned long mid = MCPCIA_HOSE2MID(hose->index); index 139 arch/alpha/kernel/core_mcpcia.c unsigned long mid = MCPCIA_HOSE2MID(hose->index); index 179 arch/alpha/kernel/core_mcpcia.c bus, devfn, hose->index, where, pci_addr, type1)); index 249 arch/alpha/kernel/core_mcpcia.c *(vuip)MCPCIA_SG_TBIA(MCPCIA_HOSE2MID(hose->index)) = 0; index 309 arch/alpha/kernel/core_mcpcia.c hose->index = h; index 346 arch/alpha/kernel/core_mcpcia.c int mid = MCPCIA_HOSE2MID(hose->index); index 554 arch/alpha/kernel/core_mcpcia.c hose->index, iodpp->base); index 596 arch/alpha/kernel/core_mcpcia.c mcpcia_pci_clr_err(MCPCIA_HOSE2MID(hose->index)); index 166 arch/alpha/kernel/core_polaris.c hose->index = 0; index 444 arch/alpha/kernel/core_t2.c hose->index = 0; index 206 arch/alpha/kernel/core_titan.c (hose->index & 1) ? TITAN_pachip1 : TITAN_pachip0; index 213 arch/alpha/kernel/core_titan.c if (hose->index & 2) index 248 arch/alpha/kernel/core_titan.c titan_init_one_pachip_port(titan_pachip_port *port, int index) index 253 arch/alpha/kernel/core_titan.c if (index == 0) index 268 arch/alpha/kernel/core_titan.c = (TITAN_MEM(index) & 0xffffffffffUL) | 0x80000000000UL; index 270 arch/alpha/kernel/core_titan.c = (TITAN_IO(index) & 0xffffffffffUL) | 0x80000000000UL; index 272 arch/alpha/kernel/core_titan.c hose->config_space_base = TITAN_CONF(index); index 273 arch/alpha/kernel/core_titan.c hose->index = index; index 275 arch/alpha/kernel/core_titan.c hose->io_space->start = TITAN_IO(index) - TITAN_IO_BIAS; index 277 arch/alpha/kernel/core_titan.c hose->io_space->name = pci_io_names[index]; index 280 arch/alpha/kernel/core_titan.c hose->mem_space->start = TITAN_MEM(index) - TITAN_MEM_BIAS; index 282 arch/alpha/kernel/core_titan.c hose->mem_space->name = pci_mem_names[index]; index 286 arch/alpha/kernel/core_titan.c printk(KERN_ERR "Failed to request IO on hose %d\n", index); index 288 arch/alpha/kernel/core_titan.c printk(KERN_ERR "Failed to request MEM on hose %d\n", index); index 294 arch/alpha/kernel/core_titan.c saved_config[index].wsba[0] = port->wsba[0].csr; index 295 arch/alpha/kernel/core_titan.c saved_config[index].wsm[0] = port->wsm[0].csr; index 296 arch/alpha/kernel/core_titan.c saved_config[index].tba[0] = port->tba[0].csr; index 298 arch/alpha/kernel/core_titan.c saved_config[index].wsba[1] = port->wsba[1].csr; index 299 arch/alpha/kernel/core_titan.c saved_config[index].wsm[1] = port->wsm[1].csr; index 300 arch/alpha/kernel/core_titan.c saved_config[index].tba[1] = port->tba[1].csr; index 302 arch/alpha/kernel/core_titan.c saved_config[index].wsba[2] = port->wsba[2].csr; index 303 arch/alpha/kernel/core_titan.c saved_config[index].wsm[2] = port->wsm[2].csr; index 304 arch/alpha/kernel/core_titan.c saved_config[index].tba[2] = port->tba[2].csr; index 306 arch/alpha/kernel/core_titan.c saved_config[index].wsba[3] = port->wsba[3].csr; index 307 arch/alpha/kernel/core_titan.c saved_config[index].wsm[3] = port->wsm[3].csr; index 308 arch/alpha/kernel/core_titan.c saved_config[index].tba[3] = port->tba[3].csr; index 406 arch/alpha/kernel/core_titan.c titan_kill_one_pachip_port(titan_pachip_port *port, int index) index 408 arch/alpha/kernel/core_titan.c port->wsba[0].csr = saved_config[index].wsba[0]; index 409 arch/alpha/kernel/core_titan.c port->wsm[0].csr = saved_config[index].wsm[0]; index 410 arch/alpha/kernel/core_titan.c port->tba[0].csr = saved_config[index].tba[0]; index 412 arch/alpha/kernel/core_titan.c port->wsba[1].csr = saved_config[index].wsba[1]; index 413 arch/alpha/kernel/core_titan.c port->wsm[1].csr = saved_config[index].wsm[1]; index 414 arch/alpha/kernel/core_titan.c port->tba[1].csr = saved_config[index].tba[1]; index 416 arch/alpha/kernel/core_titan.c port->wsba[2].csr = saved_config[index].wsba[2]; index 417 arch/alpha/kernel/core_titan.c port->wsm[2].csr = saved_config[index].wsm[2]; index 418 arch/alpha/kernel/core_titan.c port->tba[2].csr = saved_config[index].tba[2]; index 420 arch/alpha/kernel/core_titan.c port->wsba[3].csr = saved_config[index].wsba[3]; index 421 arch/alpha/kernel/core_titan.c port->wsm[3].csr = saved_config[index].wsm[3]; index 422 arch/alpha/kernel/core_titan.c port->tba[3].csr = saved_config[index].tba[3]; index 472 arch/alpha/kernel/core_titan.c h = pci_vga_hose->index; index 481 arch/alpha/kernel/core_titan.c if (hose->index == h) index 755 arch/alpha/kernel/core_titan.c if (hose->index == hosenum) index 180 arch/alpha/kernel/core_tsunami.c tsunami_pchip *pchip = hose->index ? TSUNAMI_pchip1 : TSUNAMI_pchip0; index 247 arch/alpha/kernel/core_tsunami.c tsunami_init_one_pchip(tsunami_pchip *pchip, int index) index 255 arch/alpha/kernel/core_tsunami.c if (index == 0) index 267 arch/alpha/kernel/core_tsunami.c = (TSUNAMI_MEM(index) & 0xffffffffffL) | 0x80000000000L; index 269 arch/alpha/kernel/core_tsunami.c = (TSUNAMI_IO(index) & 0xffffffffffL) | 0x80000000000L; index 271 arch/alpha/kernel/core_tsunami.c hose->config_space_base = TSUNAMI_CONF(index); index 272 arch/alpha/kernel/core_tsunami.c hose->index = index; index 274 arch/alpha/kernel/core_tsunami.c hose->io_space->start = TSUNAMI_IO(index) - TSUNAMI_IO_BIAS; index 276 arch/alpha/kernel/core_tsunami.c hose->io_space->name = pci_io_names[index]; index 279 arch/alpha/kernel/core_tsunami.c hose->mem_space->start = TSUNAMI_MEM(index) - TSUNAMI_MEM_BIAS; index 281 arch/alpha/kernel/core_tsunami.c hose->mem_space->name = pci_mem_names[index]; index 285 arch/alpha/kernel/core_tsunami.c printk(KERN_ERR "Failed to request IO on hose %d\n", index); index 287 arch/alpha/kernel/core_tsunami.c printk(KERN_ERR "Failed to request MEM on hose %d\n", index); index 294 arch/alpha/kernel/core_tsunami.c saved_config[index].wsba[0] = pchip->wsba[0].csr; index 295 arch/alpha/kernel/core_tsunami.c saved_config[index].wsm[0] = pchip->wsm[0].csr; index 296 arch/alpha/kernel/core_tsunami.c saved_config[index].tba[0] = pchip->tba[0].csr; index 298 arch/alpha/kernel/core_tsunami.c saved_config[index].wsba[1] = pchip->wsba[1].csr; index 299 arch/alpha/kernel/core_tsunami.c saved_config[index].wsm[1] = pchip->wsm[1].csr; index 300 arch/alpha/kernel/core_tsunami.c saved_config[index].tba[1] = pchip->tba[1].csr; index 302 arch/alpha/kernel/core_tsunami.c saved_config[index].wsba[2] = pchip->wsba[2].csr; index 303 arch/alpha/kernel/core_tsunami.c saved_config[index].wsm[2] = pchip->wsm[2].csr; index 304 arch/alpha/kernel/core_tsunami.c saved_config[index].tba[2] = pchip->tba[2].csr; index 306 arch/alpha/kernel/core_tsunami.c saved_config[index].wsba[3] = pchip->wsba[3].csr; index 307 arch/alpha/kernel/core_tsunami.c saved_config[index].wsm[3] = pchip->wsm[3].csr; index 308 arch/alpha/kernel/core_tsunami.c saved_config[index].tba[3] = pchip->tba[3].csr; index 425 arch/alpha/kernel/core_tsunami.c tsunami_kill_one_pchip(tsunami_pchip *pchip, int index) index 427 arch/alpha/kernel/core_tsunami.c pchip->wsba[0].csr = saved_config[index].wsba[0]; index 428 arch/alpha/kernel/core_tsunami.c pchip->wsm[0].csr = saved_config[index].wsm[0]; index 429 arch/alpha/kernel/core_tsunami.c pchip->tba[0].csr = saved_config[index].tba[0]; index 431 arch/alpha/kernel/core_tsunami.c pchip->wsba[1].csr = saved_config[index].wsba[1]; index 432 arch/alpha/kernel/core_tsunami.c pchip->wsm[1].csr = saved_config[index].wsm[1]; index 433 arch/alpha/kernel/core_tsunami.c pchip->tba[1].csr = saved_config[index].tba[1]; index 435 arch/alpha/kernel/core_tsunami.c pchip->wsba[2].csr = saved_config[index].wsba[2]; index 436 arch/alpha/kernel/core_tsunami.c pchip->wsm[2].csr = saved_config[index].wsm[2]; index 437 arch/alpha/kernel/core_tsunami.c pchip->tba[2].csr = saved_config[index].tba[2]; index 439 arch/alpha/kernel/core_tsunami.c pchip->wsba[3].csr = saved_config[index].wsba[3]; index 440 arch/alpha/kernel/core_tsunami.c pchip->wsm[3].csr = saved_config[index].wsm[3]; index 441 arch/alpha/kernel/core_tsunami.c pchip->tba[3].csr = saved_config[index].tba[3]; index 79 arch/alpha/kernel/core_wildfire.c hose->index = (qbbno << 3) + hoseno; index 349 arch/alpha/kernel/core_wildfire.c int qbbno = hose->index >> 3; index 350 arch/alpha/kernel/core_wildfire.c int hoseno = hose->index & 7; index 45 arch/alpha/kernel/pc873xx.c int val, index = 0; index 47 arch/alpha/kernel/pc873xx.c while ((base = pc873xx_probelist[index++])) { index 67 arch/alpha/kernel/pci-noop.c if (hose->index == bus) index 81 arch/alpha/kernel/pci-noop.c return hose->index; index 267 arch/alpha/kernel/pci-sysfs.c hose->index, size); index 431 arch/alpha/kernel/pci.c if (hose->index == bus) break; index 448 arch/alpha/kernel/pci.c return hose->index; index 249 arch/alpha/kernel/setup.c if (hose->index == 0) { index 1071 arch/alpha/kernel/smc37c669.c unsigned char index index 1075 arch/alpha/kernel/smc37c669.c unsigned char index, index 1117 arch/alpha/kernel/smc37c669.c SMC37c669_CONFIG_REGS * __init SMC37c669_detect( int index ) index 1150 arch/alpha/kernel/smc37c669.c SMC37c669_irq_table = SMC37c669_irq_tables[ index ]; index 2007 arch/alpha/kernel/smc37c669.c unsigned char index ) index 2009 arch/alpha/kernel/smc37c669.c wb(&SMC37c669->index_port, index); index 2040 arch/alpha/kernel/smc37c669.c unsigned char index, index 2043 arch/alpha/kernel/smc37c669.c wb( &SMC37c669->index_port, index ); index 2467 arch/alpha/kernel/smc37c669.c void __init SMC669_Init ( int index ) index 2473 arch/alpha/kernel/smc37c669.c if ( ( SMC_base = SMC37c669_detect( index ) ) != NULL ) { index 257 arch/alpha/kernel/srmcons.c srm_console_device(struct console *co, int *index) index 259 arch/alpha/kernel/srmcons.c *index = co->index; index 275 arch/alpha/kernel/srmcons.c .index = -1, index 393 arch/alpha/kernel/sys_dp264.c irq += 16 * hose->index; index 437 arch/alpha/kernel/sys_dp264.c else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) { index 443 arch/alpha/kernel/sys_dp264.c if (hose->index == 1 && index 500 arch/alpha/kernel/sys_dp264.c irq += 16 * hose->index; index 184 arch/alpha/kernel/sys_eiger.c if (hose->index == 0 index 199 arch/alpha/kernel/sys_jensen.c hose->index = 0; index 354 arch/alpha/kernel/sys_marvel.c hose->index); index 174 arch/alpha/kernel/sys_rawhide.c unsigned int h = hose->index; index 241 arch/alpha/kernel/sys_rawhide.c irq += 24 * hose->index; index 312 arch/alpha/kernel/sys_wildfire.c int qbbno = hose->index >> 3; index 313 arch/alpha/kernel/sys_wildfire.c int pcano = (hose->index >> 1) & 3; index 314 arch/alpha/kernel/time.c unsigned int index; index 317 arch/alpha/kernel/time.c index = cpu->type & 0xffffffff; index 320 arch/alpha/kernel/time.c if (index >= ARRAY_SIZE(cpu_hz)) index 324 arch/alpha/kernel/time.c if (cpu_hz[index].max == 0) index 327 arch/alpha/kernel/time.c if (cc < cpu_hz[index].min - deviation index 328 arch/alpha/kernel/time.c || cc > cpu_hz[index].max + deviation) index 240 arch/alpha/mm/fault.c long index = pgd_index(address); index 243 arch/alpha/mm/fault.c pgd = current->active_mm->pgd + index; index 244 arch/alpha/mm/fault.c pgd_k = swapper_pg_dir + index; index 20 arch/arc/include/asm/tlb-mmu1.h ; Calculate set index for 2-way MMU index 861 arch/arc/mm/cache.c unsigned long vaddr = page->index << PAGE_SHIFT; index 9 arch/arm/include/asm/cpuidle.h struct cpuidle_driver *drv, int index); index 12 arch/arm/include/asm/cpuidle.h struct cpuidle_driver *drv, int index) { return -ENODEV; } index 48 arch/arm/include/asm/cpuidle.h extern int arm_cpuidle_suspend(int index); index 30 arch/arm/kernel/cpuidle.c struct cpuidle_driver *drv, int index) index 34 arch/arm/kernel/cpuidle.c return index; index 46 arch/arm/kernel/cpuidle.c int arm_cpuidle_suspend(int index) index 50 arch/arm/kernel/cpuidle.c return cpuidle_ops[cpu].suspend(index); index 37 arch/arm/kernel/early_printk.c .index = -1, index 108 arch/arm/kvm/guest.c static bool is_timer_reg(u64 index) index 110 arch/arm/kvm/guest.c switch (index) { index 1238 arch/arm/mach-davinci/board-da850-evm.c .index = 0, index 1253 arch/arm/mach-davinci/board-da850-evm.c .index = 0, index 1333 arch/arm/mach-davinci/board-da850-evm.c .index = 0, index 1344 arch/arm/mach-davinci/board-da850-evm.c .index = 1, index 210 arch/arm/mach-davinci/board-dm355-evm.c .index = 0, index 216 arch/arm/mach-davinci/board-dm355-evm.c .index = 1, index 307 arch/arm/mach-davinci/board-dm355-evm.c .index = 0, index 371 arch/arm/mach-davinci/board-dm365-evm.c .index = 0, index 377 arch/arm/mach-davinci/board-dm365-evm.c .index = 1, index 528 arch/arm/mach-davinci/board-dm365-evm.c .index = 0, index 542 arch/arm/mach-davinci/board-dm365-evm.c .index = 1, index 246 arch/arm/mach-davinci/board-dm644x-evm.c .index = 0, index 252 arch/arm/mach-davinci/board-dm644x-evm.c .index = 1, index 757 arch/arm/mach-davinci/board-dm644x-evm.c .index = 0, index 770 arch/arm/mach-davinci/board-dm644x-evm.c .index = 1, index 551 arch/arm/mach-davinci/board-dm646x-evm.c .index = 0, index 562 arch/arm/mach-davinci/board-dm646x-evm.c .index = 1, index 572 arch/arm/mach-davinci/board-dm646x-evm.c .index = 2, index 698 arch/arm/mach-davinci/board-dm646x-evm.c .index = 0, index 713 arch/arm/mach-davinci/board-dm646x-evm.c .index = 0, index 48 arch/arm/mach-davinci/cpuidle.c struct cpuidle_driver *drv, int index) index 54 arch/arm/mach-davinci/cpuidle.c return index; index 440 arch/arm/mach-davinci/da850.c static int da850_set_voltage(unsigned int index); index 455 arch/arm/mach-davinci/da850.c static int da850_set_voltage(unsigned int index) index 462 arch/arm/mach-davinci/da850.c opp = (struct da850_opp *) cpufreq_info.freq_table[index].driver_data; index 33 arch/arm/mach-davinci/mux.c int davinci_cfg_reg(const unsigned long index) index 51 arch/arm/mach-davinci/mux.c if (index >= soc_info->pinmux_pins_num) { index 53 arch/arm/mach-davinci/mux.c index, soc_info->pinmux_pins_num); index 58 arch/arm/mach-davinci/mux.c cfg = &soc_info->pinmux_pins[index]; index 36 arch/arm/mach-davinci/pdata-quirks.c .index = 0, index 51 arch/arm/mach-davinci/pdata-quirks.c .index = 0, index 149 arch/arm/mach-davinci/pdata-quirks.c .index = 0, index 160 arch/arm/mach-davinci/pdata-quirks.c .index = 1, index 26 arch/arm/mach-dove/pcie.c u8 index; index 56 arch/arm/mach-dove/pcie.c if (pp->index == 0) index 65 arch/arm/mach-dove/pcie.c "PCIe %d MEM", pp->index); index 68 arch/arm/mach-dove/pcie.c if (pp->index == 0) { index 179 arch/arm/mach-dove/pcie.c return pp->index ? IRQ_DOVE_PCIE1 : IRQ_DOVE_PCIE0; index 189 arch/arm/mach-dove/pcie.c static void __init add_pcie_port(int index, void __iomem *base) index 191 arch/arm/mach-dove/pcie.c printk(KERN_INFO "Dove PCIe port %d: ", index); index 195 arch/arm/mach-dove/pcie.c struct clk *clk = clk_get_sys("pcie", (index ? "1" : "0")); index 202 arch/arm/mach-dove/pcie.c pp->index = index; index 12 arch/arm/mach-imx/cpuidle-imx5.c struct cpuidle_driver *drv, int index) index 15 arch/arm/mach-imx/cpuidle-imx5.c return index; index 20 arch/arm/mach-imx/cpuidle-imx6q.c struct cpuidle_driver *drv, int index) index 34 arch/arm/mach-imx/cpuidle-imx6q.c return index; index 14 arch/arm/mach-imx/cpuidle-imx6sl.c struct cpuidle_driver *drv, int index) index 26 arch/arm/mach-imx/cpuidle-imx6sl.c return index; index 34 arch/arm/mach-imx/cpuidle-imx6sx.c struct cpuidle_driver *drv, int index) index 38 arch/arm/mach-imx/cpuidle-imx6sx.c switch (index) { index 63 arch/arm/mach-imx/cpuidle-imx6sx.c return index; index 16 arch/arm/mach-imx/cpuidle-imx7ulp.c struct cpuidle_driver *drv, int index) index 18 arch/arm/mach-imx/cpuidle-imx7ulp.c if (index == 1) index 27 arch/arm/mach-imx/cpuidle-imx7ulp.c return index; index 54 arch/arm/mach-imx/tzic.c unsigned int index, mask, value; index 56 arch/arm/mach-imx/tzic.c index = hwirq >> 5; index 57 arch/arm/mach-imx/tzic.c if (unlikely(index >= 4)) index 61 arch/arm/mach-imx/tzic.c value = imx_readl(tzic_base + TZIC_INTSEC0(index)) | mask; index 64 arch/arm/mach-imx/tzic.c imx_writel(value, tzic_base + TZIC_INTSEC0(index)); index 458 arch/arm/mach-omap1/mux.c int omap_cfg_reg(const unsigned long index) index 464 arch/arm/mach-omap1/mux.c index); index 474 arch/arm/mach-omap1/mux.c if (index >= mux_cfg->size) { index 476 arch/arm/mach-omap1/mux.c index, mux_cfg->size); index 481 arch/arm/mach-omap1/mux.c reg = &mux_cfg->pins[index]; index 325 arch/arm/mach-omap2/board-n8x0.c int bit, *openp, index; index 330 arch/arm/mach-omap2/board-n8x0.c index = 1; index 334 arch/arm/mach-omap2/board-n8x0.c index = 0; index 343 arch/arm/mach-omap2/board-n8x0.c omap_mmc_notify_cover_event(mmc_device, index, *openp); index 236 arch/arm/mach-omap2/cm_common.c .index = TI_CLKM_CM, index 241 arch/arm/mach-omap2/cm_common.c .index = TI_CLKM_CM2, index 248 arch/arm/mach-omap2/cm_common.c .index = TI_CLKM_CM, index 256 arch/arm/mach-omap2/cm_common.c .index = TI_CLKM_CM, index 270 arch/arm/mach-omap2/cm_common.c .index = TI_CLKM_CM, index 278 arch/arm/mach-omap2/cm_common.c .index = TI_CLKM_CM, index 339 arch/arm/mach-omap2/cm_common.c if (data->index == TI_CLKM_CM) index 342 arch/arm/mach-omap2/cm_common.c if (data->index == TI_CLKM_CM2) index 382 arch/arm/mach-omap2/cm_common.c ret = omap2_clk_provider_init(np, data->index, NULL, data->mem); index 223 arch/arm/mach-omap2/common.h #define omap_test_timeout(cond, timeout, index) \ index 225 arch/arm/mach-omap2/common.h for (index = 0; index < timeout; index++) { \ index 727 arch/arm/mach-omap2/control.c int index; index 733 arch/arm/mach-omap2/control.c .index = TI_CLKM_CTRL, index 737 arch/arm/mach-omap2/control.c .index = TI_CLKM_CTRL, index 742 arch/arm/mach-omap2/control.c .index = TI_CLKM_CTRL_AUX, index 780 arch/arm/mach-omap2/control.c if (data->index == TI_CLKM_CTRL) { index 823 arch/arm/mach-omap2/control.c data->index, index 830 arch/arm/mach-omap2/control.c ret = omap2_clk_provider_init(np, data->index, NULL, index 109 arch/arm/mach-omap2/cpuidle34xx.c int index) index 111 arch/arm/mach-omap2/cpuidle34xx.c struct omap3_idle_statedata *cx = &omap3_idle_data[index]; index 148 arch/arm/mach-omap2/cpuidle34xx.c return index; index 165 arch/arm/mach-omap2/cpuidle34xx.c struct cpuidle_driver *drv, int index) index 167 arch/arm/mach-omap2/cpuidle34xx.c struct omap3_idle_statedata *cx = &omap3_idle_data[index]; index 187 arch/arm/mach-omap2/cpuidle34xx.c return index; index 193 arch/arm/mach-omap2/cpuidle34xx.c for (idx = index - 1; idx >= 0; idx--) { index 216 arch/arm/mach-omap2/cpuidle34xx.c int index) index 229 arch/arm/mach-omap2/cpuidle34xx.c new_state_idx = next_valid_state(dev, drv, index); index 87 arch/arm/mach-omap2/cpuidle44xx.c int index) index 90 arch/arm/mach-omap2/cpuidle44xx.c return index; index 95 arch/arm/mach-omap2/cpuidle44xx.c int index) index 97 arch/arm/mach-omap2/cpuidle44xx.c struct idle_statedata *cx = state_ptr + index; index 116 arch/arm/mach-omap2/cpuidle44xx.c return index; index 121 arch/arm/mach-omap2/cpuidle44xx.c int index) index 123 arch/arm/mach-omap2/cpuidle44xx.c struct idle_statedata *cx = state_ptr + index; index 219 arch/arm/mach-omap2/cpuidle44xx.c return index; index 2167 arch/arm/mach-omap2/omap_hwmod.c int *index, index 2176 arch/arm/mach-omap2/omap_hwmod.c *index = res; index 2187 arch/arm/mach-omap2/omap_hwmod.c *index = i; index 2193 arch/arm/mach-omap2/omap_hwmod.c *index = 0; index 2322 arch/arm/mach-omap2/omap_hwmod.c int index, struct device_node *np) index 2353 arch/arm/mach-omap2/omap_hwmod.c va_start = of_iomap(np, index + oh->mpu_rt_idx); index 2356 arch/arm/mach-omap2/omap_hwmod.c oh->name, index, np); index 2393 arch/arm/mach-omap2/omap_hwmod.c int r, index; index 2404 arch/arm/mach-omap2/omap_hwmod.c r = of_dev_hwmod_lookup(bus, oh, &index, &np); index 2407 arch/arm/mach-omap2/omap_hwmod.c else if (np && index) index 2411 arch/arm/mach-omap2/omap_hwmod.c r = _init_mpu_rt_base(oh, NULL, index, np); index 447 arch/arm/mach-omap2/prcm-common.h #define omap_test_timeout(cond, timeout, index) \ index 449 arch/arm/mach-omap2/prcm-common.h for (index = 0; index < timeout; index++) { \ index 543 arch/arm/mach-omap2/prcm-common.h int index; index 630 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PRM, index 637 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PRM, index 650 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PRM, index 657 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PLLSS, index 664 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PRM, index 673 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PRM, index 682 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PRM, index 691 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_PRM, index 700 arch/arm/mach-omap2/prm_common.c .index = TI_CLKM_SCRM, index 760 arch/arm/mach-omap2/prm_common.c if (data->index == TI_CLKM_PRM) { index 801 arch/arm/mach-omap2/prm_common.c ret = omap2_clk_provider_init(np, data->index, NULL, data->mem); index 149 arch/arm/mach-rpc/ecard.c static unsigned int index; index 162 arch/arm/mach-rpc/ecard.c if (off == 0 || index > off) { index 164 arch/arm/mach-rpc/ecard.c index = 0; index 171 arch/arm/mach-rpc/ecard.c while (index < off) { index 173 arch/arm/mach-rpc/ecard.c index += 1; index 178 arch/arm/mach-rpc/ecard.c index += 1; index 329 arch/arm/mach-rpc/ecard.c int index = 16; index 336 arch/arm/mach-rpc/ecard.c ecard_readbytes(&excd, ec, index, 8, useld); index 337 arch/arm/mach-rpc/ecard.c index += 8; index 341 arch/arm/mach-rpc/ecard.c index = 0; index 347 arch/arm/mach-rpc/ecard.c index = c_start(&excd); index 24 arch/arm/mach-s3c64xx/cpuidle.c int index) index 36 arch/arm/mach-s3c64xx/cpuidle.c return index; index 212 arch/arm/mach-shmobile/platsmp-apmu.c int bit, index; index 240 arch/arm/mach-shmobile/platsmp-apmu.c index = get_logical_index(id); index 241 arch/arm/mach-shmobile/platsmp-apmu.c if ((index >= 0) && index 244 arch/arm/mach-shmobile/platsmp-apmu.c fn(&res, index, bit); index 33 arch/arm/mach-tegra/cpuidle-tegra114.c int index) index 51 arch/arm/mach-tegra/cpuidle-tegra114.c return index; index 56 arch/arm/mach-tegra/cpuidle-tegra114.c int index) index 58 arch/arm/mach-tegra/cpuidle-tegra114.c tegra114_idle_power_down(dev, drv, index); index 38 arch/arm/mach-tegra/cpuidle-tegra20.c int index); index 123 arch/arm/mach-tegra/cpuidle-tegra20.c int index) index 142 arch/arm/mach-tegra/cpuidle-tegra20.c int index) index 153 arch/arm/mach-tegra/cpuidle-tegra20.c int index) index 161 arch/arm/mach-tegra/cpuidle-tegra20.c int index) index 182 arch/arm/mach-tegra/cpuidle-tegra20.c entered_lp2 = tegra20_cpu_cluster_power_down(dev, drv, index); index 184 arch/arm/mach-tegra/cpuidle-tegra20.c entered_lp2 = tegra20_idle_enter_lp2_cpu_1(dev, drv, index); index 193 arch/arm/mach-tegra/cpuidle-tegra20.c return entered_lp2 ? index : 0; index 31 arch/arm/mach-tegra/cpuidle-tegra30.c int index); index 61 arch/arm/mach-tegra/cpuidle-tegra30.c int index) index 79 arch/arm/mach-tegra/cpuidle-tegra30.c int index) index 90 arch/arm/mach-tegra/cpuidle-tegra30.c int index) index 98 arch/arm/mach-tegra/cpuidle-tegra30.c int index) index 111 arch/arm/mach-tegra/cpuidle-tegra30.c index); index 115 arch/arm/mach-tegra/cpuidle-tegra30.c entered_lp2 = tegra30_cpu_core_power_down(dev, drv, index); index 125 arch/arm/mach-tegra/cpuidle-tegra30.c return (entered_lp2) ? index : 0; index 409 arch/arm/mm/fault.c unsigned int index; index 420 arch/arm/mm/fault.c index = pgd_index(addr); index 422 arch/arm/mm/fault.c pgd = cpu_get_pgd() + index; index 423 arch/arm/mm/fault.c pgd_k = init_mm.pgd + index; index 445 arch/arm/mm/fault.c index = 0; index 455 arch/arm/mm/fault.c index = (addr >> SECTION_SHIFT) & 1; index 457 arch/arm/mm/fault.c if (pmd_none(pmd_k[index])) index 234 arch/arm/mm/flush.c page->index << PAGE_SHIFT); index 249 arch/arm/mm/flush.c pgoff = page->index; index 269 arch/arm/plat-samsung/include/plat/cpu-freq-core.h int index, size_t table_size, index 272 arch/arm/plat-samsung/include/plat/cpu-freq-core.h if (index < 0) index 273 arch/arm/plat-samsung/include/plat/cpu-freq-core.h return index; index 276 arch/arm/plat-samsung/include/plat/cpu-freq-core.h if (index >= table_size) index 280 arch/arm/plat-samsung/include/plat/cpu-freq-core.h __func__, index, freq); index 282 arch/arm/plat-samsung/include/plat/cpu-freq-core.h table[index].driver_data = index; index 283 arch/arm/plat-samsung/include/plat/cpu-freq-core.h table[index].frequency = freq; index 286 arch/arm/plat-samsung/include/plat/cpu-freq-core.h return index + 1; index 241 arch/arm/plat-samsung/pm-gpio.c static void samsung_gpio_pm_4bit_con(struct samsung_gpio_chip *chip, int index) index 243 arch/arm/plat-samsung/pm-gpio.c void __iomem *con = chip->base + (index * 4); index 245 arch/arm/plat-samsung/pm-gpio.c u32 gps_gpcon = chip->pm_save[index + 1]; index 324 arch/arm/probes/kprobes/actions-thumb.c long index = insn & 0xff; index 326 arch/arm/probes/kprobes/actions-thumb.c regs->uregs[rt] = base[index]; index 334 arch/arm/probes/kprobes/actions-thumb.c long index = insn & 0xff; index 337 arch/arm/probes/kprobes/actions-thumb.c regs->uregs[rt] = base[index]; index 339 arch/arm/probes/kprobes/actions-thumb.c base[index] = regs->uregs[rt]; index 1152 arch/arm/probes/kprobes/test-core.c current_stack[arg->index] = arg->val; index 70 arch/arm/probes/kprobes/test-core.h u8 index; index 133 arch/arm/probes/kprobes/test-core.h #define TEST_ARG_MEM(index, val) \ index 135 arch/arm/probes/kprobes/test-core.h ".byte "#index" \n\t" \ index 289 arch/arm/vfp/vfpsingle.c int index; index 297 arch/arm/vfp/vfpsingle.c index = (a >> 27) & 15; index 299 arch/arm/vfp/vfpsingle.c z = 0x4000 + (a >> 17) - sqrt_oddadjust[index]; index 303 arch/arm/vfp/vfpsingle.c z = 0x8000 + (a >> 17) - sqrt_evenadjust[index]; index 278 arch/arm/xen/enlighten.c a.index = HVM_PARAM_CALLBACK_IRQ; index 9 arch/arm64/include/asm/cpuidle.h extern int arm_cpuidle_suspend(int index); index 16 arch/arm64/include/asm/cpuidle.h static inline int arm_cpuidle_suspend(int index) index 37 arch/arm64/kernel/cpuidle.c int arm_cpuidle_suspend(int index) index 41 arch/arm64/kernel/cpuidle.c return cpu_ops[cpu]->cpu_suspend(index); index 99 arch/arm64/kernel/cpuidle.c lpi->index, state); index 102 arch/arm64/kernel/cpuidle.c lpi->index, state); index 507 arch/arm64/kvm/guest.c static bool is_timer_reg(u64 index) index 509 arch/arm64/kvm/guest.c switch (index) { index 27 arch/c6x/include/asm/soc.h extern int soc_mac_addr(unsigned int index, u8 *addr); index 60 arch/c6x/kernel/soc.c int soc_mac_addr(unsigned int index, u8 *addr) index 84 arch/c6x/kernel/soc.c addr[5] += index * c6x_num_cores; index 60 arch/c6x/platforms/megamod-pic.c int index; index 104 arch/c6x/platforms/megamod-pic.c idx = cascade->index; index 144 arch/c6x/platforms/megamod-pic.c int index, offset; index 153 arch/c6x/platforms/megamod-pic.c index = output / 4; index 156 arch/c6x/platforms/megamod-pic.c val = soc_readl(&pic->regs->intmux[index]); index 159 arch/c6x/platforms/megamod-pic.c soc_writel(val, &pic->regs->intmux[index]); index 277 arch/c6x/platforms/megamod-pic.c cascade_data[i].index = i; index 24 arch/csky/abiv2/fpu.c unsigned long index = 0, tmp = 0; index 46 arch/csky/abiv2/fpu.c index = (tinstr >> 16) & 0x1F; index 47 arch/csky/abiv2/fpu.c if (index > 13) index 54 arch/csky/abiv2/fpu.c regx = *(®s->a0 + index); index 68 arch/csky/abiv2/fpu.c index = tinstr & 0x1F; index 69 arch/csky/abiv2/fpu.c if (index > 13) index 83 arch/csky/abiv2/fpu.c *(®s->a0 + index) = regx; index 1581 arch/ia64/hp/common/sba_iommu.c unsigned long index; index 1666 arch/ia64/hp/common/sba_iommu.c for (index = 0 ; index < (ioc->pdir_size / PDIR_ENTRY_SIZE) ; index++) index 1667 arch/ia64/hp/common/sba_iommu.c ((u64 *)ioc->pdir_base)[index] = (0x80000000000000FF | prefetch_spill_page); index 514 arch/ia64/include/asm/pal.h index : 20, /* Cache line index */ index 645 arch/ia64/include/asm/pal.h index : 8, /* Index or set of the uarch index 717 arch/ia64/include/asm/pal.h #define pmci_cache_line_index pme_cache.index index 1667 arch/ia64/include/asm/pal.h u64 index: 48, /* virtual feature set info */ index 425 arch/ia64/include/uapi/asm/gcc_intrin.h #define __ia64_set_dbr(index, val) \ index 426 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov dbr[%0]=%1" :: "r"(index), "r"(val) : "memory") index 428 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_set_ibr(index, val) \ index 429 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov ibr[%0]=%1" :: "r"(index), "r"(val) : "memory") index 431 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_set_pkr(index, val) \ index 432 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov pkr[%0]=%1" :: "r"(index), "r"(val) : "memory") index 434 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_set_pmc(index, val) \ index 435 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov pmc[%0]=%1" :: "r"(index), "r"(val) : "memory") index 437 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_set_pmd(index, val) \ index 438 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov pmd[%0]=%1" :: "r"(index), "r"(val) : "memory") index 440 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_native_set_rr(index, val) \ index 441 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov rr[%0]=%1" :: "r"(index), "r"(val) : "memory"); index 443 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_native_get_cpuid(index) \ index 446 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov %0=cpuid[%r1]" : "=r"(ia64_intri_res) : "rO"(index)); \ index 450 arch/ia64/include/uapi/asm/gcc_intrin.h #define __ia64_get_dbr(index) \ index 453 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov %0=dbr[%1]" : "=r"(ia64_intri_res) : "r"(index)); \ index 457 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_get_ibr(index) \ index 460 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov %0=ibr[%1]" : "=r"(ia64_intri_res) : "r"(index)); \ index 464 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_get_pkr(index) \ index 467 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov %0=pkr[%1]" : "=r"(ia64_intri_res) : "r"(index)); \ index 471 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_get_pmc(index) \ index 474 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov %0=pmc[%1]" : "=r"(ia64_intri_res) : "r"(index)); \ index 479 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_native_get_pmd(index) \ index 482 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov %0=pmd[%1]" : "=r"(ia64_intri_res) : "r"(index)); \ index 486 arch/ia64/include/uapi/asm/gcc_intrin.h #define ia64_native_get_rr(index) \ index 489 arch/ia64/include/uapi/asm/gcc_intrin.h asm volatile ("mov %0=rr[%1]" : "=r"(ia64_intri_res) : "r" (index)); \ index 82 arch/ia64/include/uapi/asm/intel_intrin.h #define __ia64_set_dbr(index, val) \ index 83 arch/ia64/include/uapi/asm/intel_intrin.h __setIndReg(_IA64_REG_INDR_DBR, index, val) index 84 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_set_ibr(index, val) \ index 85 arch/ia64/include/uapi/asm/intel_intrin.h __setIndReg(_IA64_REG_INDR_IBR, index, val) index 86 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_set_pkr(index, val) \ index 87 arch/ia64/include/uapi/asm/intel_intrin.h __setIndReg(_IA64_REG_INDR_PKR, index, val) index 88 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_set_pmc(index, val) \ index 89 arch/ia64/include/uapi/asm/intel_intrin.h __setIndReg(_IA64_REG_INDR_PMC, index, val) index 90 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_set_pmd(index, val) \ index 91 arch/ia64/include/uapi/asm/intel_intrin.h __setIndReg(_IA64_REG_INDR_PMD, index, val) index 92 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_native_set_rr(index, val) \ index 93 arch/ia64/include/uapi/asm/intel_intrin.h __setIndReg(_IA64_REG_INDR_RR, index, val) index 95 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_native_get_cpuid(index) \ index 96 arch/ia64/include/uapi/asm/intel_intrin.h __getIndReg(_IA64_REG_INDR_CPUID, index) index 97 arch/ia64/include/uapi/asm/intel_intrin.h #define __ia64_get_dbr(index) __getIndReg(_IA64_REG_INDR_DBR, index) index 98 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_get_ibr(index) __getIndReg(_IA64_REG_INDR_IBR, index) index 99 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_get_pkr(index) __getIndReg(_IA64_REG_INDR_PKR, index) index 100 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_get_pmc(index) __getIndReg(_IA64_REG_INDR_PMC, index) index 101 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_native_get_pmd(index) __getIndReg(_IA64_REG_INDR_PMD, index) index 102 arch/ia64/include/uapi/asm/intel_intrin.h #define ia64_native_get_rr(index) __getIndReg(_IA64_REG_INDR_RR, index) index 555 arch/ia64/kernel/iosapic.c int index; index 558 arch/ia64/kernel/iosapic.c index = find_iosapic(gsi); index 559 arch/ia64/kernel/iosapic.c if (index < 0) { index 574 arch/ia64/kernel/iosapic.c rte->iosapic = &iosapic_lists[index]; index 579 arch/ia64/kernel/iosapic.c iosapic_lists[index].rtes_inuse++; index 592 arch/ia64/kernel/iosapic.c iosapic_lists[index].rtes_inuse++; index 783 arch/ia64/kernel/iosapic.c int irq, index; index 820 arch/ia64/kernel/iosapic.c index = find_iosapic(gsi); index 821 arch/ia64/kernel/iosapic.c iosapic_lists[index].rtes_inuse--; index 822 arch/ia64/kernel/iosapic.c WARN_ON(iosapic_lists[index].rtes_inuse < 0); index 969 arch/ia64/kernel/iosapic.c int index; index 971 arch/ia64/kernel/iosapic.c for (index = 0; index < NR_IOSAPICS; index++) index 972 arch/ia64/kernel/iosapic.c if (!iosapic_lists[index].addr) index 973 arch/ia64/kernel/iosapic.c return index; index 980 arch/ia64/kernel/iosapic.c iosapic_free (int index) index 982 arch/ia64/kernel/iosapic.c memset(&iosapic_lists[index], 0, sizeof(iosapic_lists[0])); index 988 arch/ia64/kernel/iosapic.c int index; index 993 arch/ia64/kernel/iosapic.c for (index = 0; index < NR_IOSAPICS; index++) { index 994 arch/ia64/kernel/iosapic.c if (!iosapic_lists[index].addr) index 997 arch/ia64/kernel/iosapic.c base = iosapic_lists[index].gsi_base; index 998 arch/ia64/kernel/iosapic.c end = base + iosapic_lists[index].num_rte - 1; index 1030 arch/ia64/kernel/iosapic.c int num_rte, err, index; index 1036 arch/ia64/kernel/iosapic.c index = find_iosapic(gsi_base); index 1037 arch/ia64/kernel/iosapic.c if (index >= 0) { index 1061 arch/ia64/kernel/iosapic.c index = iosapic_alloc(); index 1062 arch/ia64/kernel/iosapic.c iosapic_lists[index].addr = addr; index 1063 arch/ia64/kernel/iosapic.c iosapic_lists[index].gsi_base = gsi_base; index 1064 arch/ia64/kernel/iosapic.c iosapic_lists[index].num_rte = num_rte; index 1066 arch/ia64/kernel/iosapic.c iosapic_lists[index].node = MAX_NUMNODES; index 1068 arch/ia64/kernel/iosapic.c spin_lock_init(&iosapic_lists[index].lock); index 1087 arch/ia64/kernel/iosapic.c int i, irq, index, err = 0; index 1091 arch/ia64/kernel/iosapic.c index = find_iosapic(gsi_base); index 1092 arch/ia64/kernel/iosapic.c if (index < 0) { index 1098 arch/ia64/kernel/iosapic.c if (iosapic_lists[index].rtes_inuse) { index 1105 arch/ia64/kernel/iosapic.c for (i = gsi_base; i < gsi_base + iosapic_lists[index].num_rte; i++) { index 1115 arch/ia64/kernel/iosapic.c iounmap(iosapic_lists[index].addr); index 1116 arch/ia64/kernel/iosapic.c iosapic_free(index); index 1125 arch/ia64/kernel/iosapic.c int index; index 1127 arch/ia64/kernel/iosapic.c index = find_iosapic(gsi_base); index 1128 arch/ia64/kernel/iosapic.c if (index < 0) { index 1133 arch/ia64/kernel/iosapic.c iosapic_lists[index].node = node; index 247 arch/ia64/kernel/mca.c unsigned long index; index 259 arch/ia64/kernel/mca.c index = mlogbuf_start; index 260 arch/ia64/kernel/mca.c while (index != mlogbuf_end) { index 261 arch/ia64/kernel/mca.c *p = mlogbuf[index]; index 262 arch/ia64/kernel/mca.c index = (index + 1) % MLOGBUF_SIZE; index 272 arch/ia64/kernel/mca.c mlogbuf_start = index; index 539 arch/ia64/kernel/mca.c static int index; index 578 arch/ia64/kernel/mca.c cpe_history[index++] = now; index 579 arch/ia64/kernel/mca.c if (index == CPE_HISTORY_LENGTH) index 580 arch/ia64/kernel/mca.c index = 0; index 1396 arch/ia64/kernel/mca.c static int index; index 1439 arch/ia64/kernel/mca.c cmc_history[index++] = now; index 1440 arch/ia64/kernel/mca.c if (index == CMC_HISTORY_LENGTH) index 1441 arch/ia64/kernel/mca.c index = 0; index 1507 arch/ia64/kernel/ptrace.c unsigned int i, index, min_copy; index 1536 arch/ia64/kernel/ptrace.c index = (dst->pos - ELF_GR_OFFSET(1)) / sizeof(elf_greg_t); index 1540 arch/ia64/kernel/ptrace.c index++) index 1542 arch/ia64/kernel/ptrace.c &tmp[index], 0) < 0) { index 1565 arch/ia64/kernel/ptrace.c index = (dst->pos - ELF_NAT_OFFSET) / sizeof(elf_greg_t); index 1569 arch/ia64/kernel/ptrace.c index++) index 1571 arch/ia64/kernel/ptrace.c &tmp[index], 0) < 0) { index 1586 arch/ia64/kernel/ptrace.c index = (dst->pos - ELF_CR_IIP_OFFSET) / sizeof(elf_greg_t); index 1590 arch/ia64/kernel/ptrace.c index++) index 1592 arch/ia64/kernel/ptrace.c &tmp[index], 0) < 0) { index 1607 arch/ia64/kernel/ptrace.c unsigned int i, index; index 1625 arch/ia64/kernel/ptrace.c index = (dst->pos - ELF_GR_OFFSET(1)) / sizeof(elf_greg_t); index 1631 arch/ia64/kernel/ptrace.c for ( ; i < dst->pos; i += sizeof(elf_greg_t), index++) index 1633 arch/ia64/kernel/ptrace.c &tmp[index], 1) < 0) { index 1654 arch/ia64/kernel/ptrace.c index = (dst->pos - ELF_NAT_OFFSET) / sizeof(elf_greg_t); index 1660 arch/ia64/kernel/ptrace.c for (; i < dst->pos; i += sizeof(elf_greg_t), index++) index 1662 arch/ia64/kernel/ptrace.c &tmp[index], 1) < 0) { index 1675 arch/ia64/kernel/ptrace.c index = (dst->pos - ELF_CR_IIP_OFFSET) / sizeof(elf_greg_t); index 1681 arch/ia64/kernel/ptrace.c for ( ; i < dst->pos; i += sizeof(elf_greg_t), index++) index 1683 arch/ia64/kernel/ptrace.c &tmp[index], 1) < 0) { index 1697 arch/ia64/kernel/ptrace.c int index, min_copy, i; index 1714 arch/ia64/kernel/ptrace.c index = (dst->pos - ELF_FP_OFFSET(2)) / sizeof(elf_fpreg_t); index 1719 arch/ia64/kernel/ptrace.c index++) index 1721 arch/ia64/kernel/ptrace.c &tmp[index])) { index 1754 arch/ia64/kernel/ptrace.c int index, start, end; index 1802 arch/ia64/kernel/ptrace.c index = start / sizeof(elf_fpreg_t); index 1803 arch/ia64/kernel/ptrace.c if (unw_set_fr(info, index, tmp[index - 2])) { index 1228 arch/ia64/kernel/unwind.c unsigned short index; index 1244 arch/ia64/kernel/unwind.c index = unw.hash[hash(ip)]; index 1245 arch/ia64/kernel/unwind.c if (index >= UNW_CACHE_SIZE) index 1248 arch/ia64/kernel/unwind.c script = unw.cache + index; index 1270 arch/ia64/kernel/unwind.c unw_hash_index_t index; index 1298 arch/ia64/kernel/unwind.c index = hash(script->ip); index 1299 arch/ia64/kernel/unwind.c tmp = unw.cache + unw.hash[index]; index 1306 arch/ia64/kernel/unwind.c unw.hash[index] = tmp->coll_chain; index 1318 arch/ia64/kernel/unwind.c index = hash(ip); index 1319 arch/ia64/kernel/unwind.c script->coll_chain = unw.hash[index]; index 1320 arch/ia64/kernel/unwind.c unw.hash[index] = script - unw.cache; index 2133 arch/ia64/kernel/unwind.c long index; index 2167 arch/ia64/kernel/unwind.c for (index = 0; index < UNW_HASH_SIZE; ++index) { index 2168 arch/ia64/kernel/unwind.c tmp = unw.cache + unw.hash[index]; index 2169 arch/ia64/kernel/unwind.c if (unw.hash[index] >= UNW_CACHE_SIZE index 2176 arch/ia64/kernel/unwind.c unw.hash[index] = tmp->coll_chain; index 111 arch/m68k/amiga/config.c .index = -1, index 31 arch/m68k/atari/debug.c .index = -1, index 40 arch/m68k/coldfire/intc-5272.c unsigned char index; index 45 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_SPURIOUS*/ { .icr = 0, .index = 0, .ack = 0, }, index 46 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_EINT1*/ { .icr = MCFSIM_ICR1, .index = 28, .ack = 1, }, index 47 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_EINT2*/ { .icr = MCFSIM_ICR1, .index = 24, .ack = 1, }, index 48 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_EINT3*/ { .icr = MCFSIM_ICR1, .index = 20, .ack = 1, }, index 49 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_EINT4*/ { .icr = MCFSIM_ICR1, .index = 16, .ack = 1, }, index 50 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_TIMER1*/ { .icr = MCFSIM_ICR1, .index = 12, .ack = 0, }, index 51 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_TIMER2*/ { .icr = MCFSIM_ICR1, .index = 8, .ack = 0, }, index 52 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_TIMER3*/ { .icr = MCFSIM_ICR1, .index = 4, .ack = 0, }, index 53 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_TIMER4*/ { .icr = MCFSIM_ICR1, .index = 0, .ack = 0, }, index 54 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_UART1*/ { .icr = MCFSIM_ICR2, .index = 28, .ack = 0, }, index 55 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_UART2*/ { .icr = MCFSIM_ICR2, .index = 24, .ack = 0, }, index 56 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_PLIP*/ { .icr = MCFSIM_ICR2, .index = 20, .ack = 0, }, index 57 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_PLIA*/ { .icr = MCFSIM_ICR2, .index = 16, .ack = 0, }, index 58 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB0*/ { .icr = MCFSIM_ICR2, .index = 12, .ack = 0, }, index 59 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB1*/ { .icr = MCFSIM_ICR2, .index = 8, .ack = 0, }, index 60 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB2*/ { .icr = MCFSIM_ICR2, .index = 4, .ack = 0, }, index 61 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB3*/ { .icr = MCFSIM_ICR2, .index = 0, .ack = 0, }, index 62 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB4*/ { .icr = MCFSIM_ICR3, .index = 28, .ack = 0, }, index 63 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB5*/ { .icr = MCFSIM_ICR3, .index = 24, .ack = 0, }, index 64 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB6*/ { .icr = MCFSIM_ICR3, .index = 20, .ack = 0, }, index 65 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_USB7*/ { .icr = MCFSIM_ICR3, .index = 16, .ack = 0, }, index 66 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_DMA*/ { .icr = MCFSIM_ICR3, .index = 12, .ack = 0, }, index 67 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_ERX*/ { .icr = MCFSIM_ICR3, .index = 8, .ack = 0, }, index 68 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_ETX*/ { .icr = MCFSIM_ICR3, .index = 4, .ack = 0, }, index 69 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_ENTC*/ { .icr = MCFSIM_ICR3, .index = 0, .ack = 0, }, index 70 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_QSPI*/ { .icr = MCFSIM_ICR4, .index = 28, .ack = 0, }, index 71 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_EINT5*/ { .icr = MCFSIM_ICR4, .index = 24, .ack = 1, }, index 72 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_EINT6*/ { .icr = MCFSIM_ICR4, .index = 20, .ack = 1, }, index 73 arch/m68k/coldfire/intc-5272.c /*MCF_IRQ_SWTO*/ { .icr = MCFSIM_ICR4, .index = 16, .ack = 0, }, index 88 arch/m68k/coldfire/intc-5272.c v = 0x8 << intc_irqmap[irq].index; index 100 arch/m68k/coldfire/intc-5272.c v = 0xd << intc_irqmap[irq].index; index 115 arch/m68k/coldfire/intc-5272.c v &= (0x7 << intc_irqmap[irq].index); index 116 arch/m68k/coldfire/intc-5272.c v |= (0x8 << intc_irqmap[irq].index); index 45 arch/m68k/coldfire/intc.c void mcf_setimr(int index) index 49 arch/m68k/coldfire/intc.c __raw_writew(imr | (0x1 << index), MCFSIM_IMR); index 52 arch/m68k/coldfire/intc.c void mcf_clrimr(int index) index 56 arch/m68k/coldfire/intc.c __raw_writew(imr & ~(0x1 << index), MCFSIM_IMR); index 69 arch/m68k/coldfire/intc.c void mcf_setimr(int index) index 73 arch/m68k/coldfire/intc.c __raw_writel(imr | (0x1 << index), MCFSIM_IMR); index 76 arch/m68k/coldfire/intc.c void mcf_clrimr(int index) index 80 arch/m68k/coldfire/intc.c __raw_writel(imr & ~(0x1 << index), MCFSIM_IMR); index 49 arch/m68k/emu/nfcon.c static struct tty_driver *nfcon_device(struct console *con, int *index) index 51 arch/m68k/emu/nfcon.c *index = 0; index 60 arch/m68k/emu/nfcon.c .index = -1, index 61 arch/m68k/include/asm/fbio.h int index; /* first element (0 origin) */ index 192 arch/m68k/include/asm/fbio.h __u32 index; index 306 arch/m68k/include/asm/fbio.h int index; /* first element (0 origin) */ index 85 arch/m68k/include/asm/mcfintc.h void mcf_setimr(int index); index 86 arch/m68k/include/asm/mcfintc.h void mcf_clrimr(int index); index 36 arch/m68k/kernel/early_printk.c .index = -1 index 139 arch/m68k/math-emu/fp_decode.h | decode the index of the brief/full extension word index 346 arch/m68k/math-emu/fp_decode.h | with index and 8bit displacement index 34 arch/m68k/mm/memory.c #define PD_MARKBITS(dp) (*(unsigned char *)&PD_PAGE(dp)->index) index 59 arch/m68k/q40/config.c .index = -1, index 45 arch/m68k/sun3x/dvma.c #define dvma_entry_paddr(index) (iommu_pte[index] & IOMMU_ADDR_MASK) index 46 arch/m68k/sun3x/dvma.c #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \ index 49 arch/m68k/sun3x/dvma.c #define dvma_entry_set(index,addr) (iommu_pte[index] = \ index 53 arch/m68k/sun3x/dvma.c #define dvma_entry_set(index,addr) (iommu_pte[index] = \ index 57 arch/m68k/sun3x/dvma.c #define dvma_entry_clr(index) (iommu_pte[index] = IOMMU_DT_INVALID) index 67 arch/m68k/sun3x/dvma.c unsigned long index; index 69 arch/m68k/sun3x/dvma.c index = dvma_addr >> DVMA_PAGE_SHIFT; index 71 arch/m68k/sun3x/dvma.c pr_info("idx %lx dvma_addr %08lx paddr %08lx\n", index, dvma_addr, index 72 arch/m68k/sun3x/dvma.c dvma_entry_paddr(index)); index 146 arch/m68k/sun3x/dvma.c unsigned long end, index; index 148 arch/m68k/sun3x/dvma.c index = baddr >> DVMA_PAGE_SHIFT; index 154 arch/m68k/sun3x/dvma.c for(; index < end ; index++) { index 160 arch/m68k/sun3x/dvma.c dvma_entry_set(index, __pa(kaddr)); index 162 arch/m68k/sun3x/dvma.c iommu_pte[index] |= IOMMU_FULL_BLOCK; index 169 arch/m68k/sun3x/dvma.c for(index = (baddr >> DVMA_PAGE_SHIFT); index < end; index++) index 170 arch/m68k/sun3x/dvma.c dvma_print(index << DVMA_PAGE_SHIFT); index 179 arch/m68k/sun3x/dvma.c int index, end; index 182 arch/m68k/sun3x/dvma.c index = baddr >> DVMA_PAGE_SHIFT; index 185 arch/m68k/sun3x/dvma.c for(; index < end ; index++) { index 187 arch/m68k/sun3x/dvma.c index << DVMA_PAGE_SHIFT); index 189 arch/m68k/sun3x/dvma.c if(!dvma_entry_use(index)) index 191 arch/m68k/sun3x/dvma.c index); index 193 arch/m68k/sun3x/dvma.c dvma_entry_dec(index); index 195 arch/m68k/sun3x/dvma.c dvma_entry_clr(index); index 92 arch/m68k/sun3x/prom.c .index = -1, index 518 arch/mips/alchemy/common/clock.c static int alchemy_clk_fgv1_setp(struct clk_hw *hw, u8 index) index 525 arch/mips/alchemy/common/clock.c if (index) index 633 arch/mips/alchemy/common/clock.c static int alchemy_clk_fgv2_setp(struct clk_hw *hw, u8 index) index 639 arch/mips/alchemy/common/clock.c c->parent = index + 1; /* value to write to register */ index 856 arch/mips/alchemy/common/clock.c static int alchemy_clk_csrc_setp(struct clk_hw *hw, u8 index) index 862 arch/mips/alchemy/common/clock.c c->parent = index + 1; /* value to write to register */ index 31 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define write_octeon_64bit_hash_dword(value, index) \ index 34 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmtc2 %[rt],0x0048+" STR(index) \ index 42 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define read_octeon_64bit_hash_dword(index) \ index 47 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmfc2 %[rt],0x0048+" STR(index) \ index 57 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define write_octeon_64bit_block_dword(value, index) \ index 60 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmtc2 %[rt],0x0040+" STR(index) \ index 105 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define write_octeon_64bit_hash_sha512(value, index) \ index 108 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmtc2 %[rt],0x0250+" STR(index) \ index 116 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define read_octeon_64bit_hash_sha512(index) \ index 121 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmfc2 %[rt],0x0250+" STR(index) \ index 131 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define write_octeon_64bit_block_sha512(value, index) \ index 134 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmtc2 %[rt],0x0240+" STR(index) \ index 179 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define write_octeon_64bit_hash_sha512(value, index) \ index 182 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmtc2 %[rt],0x0250+" STR(index) \ index 190 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define read_octeon_64bit_hash_sha512(index) \ index 195 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmfc2 %[rt],0x0250+" STR(index) \ index 205 arch/mips/cavium-octeon/crypto/octeon-crypto.h #define write_octeon_64bit_block_sha512(value, index) \ index 208 arch/mips/cavium-octeon/crypto/octeon-crypto.h "dmtc2 %[rt],0x0240+" STR(index) \ index 153 arch/mips/cavium-octeon/crypto/octeon-sha1.c unsigned int index; index 161 arch/mips/cavium-octeon/crypto/octeon-sha1.c index = sctx->count & 0x3f; index 162 arch/mips/cavium-octeon/crypto/octeon-sha1.c pad_len = (index < 56) ? (56 - index) : ((64+56) - index); index 165 arch/mips/cavium-octeon/crypto/octeon-sha256.c unsigned int index; index 173 arch/mips/cavium-octeon/crypto/octeon-sha256.c index = sctx->count & 0x3f; index 174 arch/mips/cavium-octeon/crypto/octeon-sha256.c pad_len = (index < 56) ? (56 - index) : ((64+56) - index); index 115 arch/mips/cavium-octeon/crypto/octeon-sha512.c unsigned int index; index 119 arch/mips/cavium-octeon/crypto/octeon-sha512.c index = sctx->count[0] % SHA512_BLOCK_SIZE; index 125 arch/mips/cavium-octeon/crypto/octeon-sha512.c part_len = SHA512_BLOCK_SIZE - index; index 129 arch/mips/cavium-octeon/crypto/octeon-sha512.c memcpy(&sctx->buf[index], data, part_len); index 136 arch/mips/cavium-octeon/crypto/octeon-sha512.c index = 0; index 142 arch/mips/cavium-octeon/crypto/octeon-sha512.c memcpy(&sctx->buf[index], &data[i], len - i); index 179 arch/mips/cavium-octeon/crypto/octeon-sha512.c unsigned int index; index 188 arch/mips/cavium-octeon/crypto/octeon-sha512.c index = sctx->count[0] & 0x7f; index 189 arch/mips/cavium-octeon/crypto/octeon-sha512.c pad_len = (index < 112) ? (112 - index) : ((128+112) - index); index 240 arch/mips/cavium-octeon/executive/cvmx-helper-board.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 242 arch/mips/cavium-octeon/executive/cvmx-helper-board.c cvmx_read_csr(CVMX_GMXX_RXX_RX_INBND(index, interface)); index 101 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int index = port & 0xf; index 109 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); index 110 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); index 111 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); index 112 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); index 114 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_PRT_LOOP(interface), (1 << index) | tmp); index 116 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_TX_PRT_EN(interface), (1 << index) | tmp); index 118 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_ASXX_RX_PRT_EN(interface), (1 << index) | tmp); index 120 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); index 267 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 271 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c if (asxx_prt_loop.s.int_loop & (1 << index)) { index 299 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 314 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 320 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c ~(1 << index)); index 338 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c gmx_tx_ovr_bp.s.bp &= ~(1 << index); index 339 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c gmx_tx_ovr_bp.s.en |= 1 << index; index 351 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c interface * 0x800 + index * 0x100 + 0x880); index 359 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); index 360 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 386 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 50); index 387 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x40); index 388 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); index 390 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 5); index 391 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x40); index 392 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); index 394 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_CLK(index, interface), 1); index 395 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 0x200); index 396 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0x2000); index 416 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c if (((index == 0) && (mode.s.p0mii == 1)) index 417 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c || ((index != 0) && (mode.s.type == 1))) { index 419 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c (index, interface), 1); index 425 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 428 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); index 433 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c index)); index 448 arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), new_gmx_cfg.u64); index 52 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) index 60 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 62 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); index 70 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); index 72 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); index 82 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), index 98 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); index 103 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), index 108 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); index 114 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface)); index 119 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface), index 137 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c static int __cvmx_helper_sgmii_hardware_init_link(int interface, int index) index 150 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface)); index 153 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface), index 156 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (CVMX_PCSX_MRX_CONTROL_REG(index, interface), index 160 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c interface, index); index 172 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface), index 182 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c CVMX_WAIT_FOR_FIELD64(CVMX_PCSX_MRX_STATUS_REG(index, interface), index 202 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int index, index 211 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 214 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); index 218 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (CVMX_GMXX_PRTX_CFG(index, interface), union cvmx_gmxx_prtx_cfg, index 220 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c || CVMX_WAIT_FOR_FIELD64(CVMX_GMXX_PRTX_CFG(index, interface), index 225 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c interface, index); index 230 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 237 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); index 257 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 64); index 258 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); index 265 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 64); index 266 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 0); index 273 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_SLOT(index, interface), 512); index 274 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_TXX_BURST(index, interface), 8192); index 281 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface), index 285 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); index 288 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 292 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); index 309 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int index; index 313 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c for (index = 0; index < num_ports; index++) { index 314 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int ipd_port = cvmx_helper_get_ipd_port(interface, index); index 315 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_helper_sgmii_hardware_init_one_time(interface, index); index 369 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int index; index 373 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c for (index = 0; index < num_ports; index++) { index 376 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 378 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), index 380 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_interrupt_pcsx_intx_en_reg_enable(index, interface); index 402 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 416 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MRX_CONTROL_REG(index, interface)); index 426 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); index 433 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); index 445 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface)); index 448 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (interface, index) != 0) index 455 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c (index, interface)); index 511 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 512 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c __cvmx_helper_sgmii_hardware_init_link(interface, index); index 513 arch/mips/cavium-octeon/executive/cvmx-helper-sgmii.c return __cvmx_helper_sgmii_hardware_init_link_speed(interface, index, index 147 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 157 arch/mips/cavium-octeon/executive/cvmx-helper-spi.c cvmx_spi4000_check_speed(interface, index); index 186 arch/mips/cavium-octeon/executive/cvmx-helper-util.c int index; index 272 arch/mips/cavium-octeon/executive/cvmx-helper-util.c for (index = 0; index < num_ports; index++) index 273 arch/mips/cavium-octeon/executive/cvmx-helper-util.c cvmx_write_csr(CVMX_GMXX_TXX_THRESH(index, interface), index 1082 arch/mips/cavium-octeon/executive/cvmx-helper.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 1088 arch/mips/cavium-octeon/executive/cvmx-helper.c if (index >= cvmx_helper_ports_on_interface(interface)) index 1100 arch/mips/cavium-octeon/executive/cvmx-helper.c if (index == 0) index 1143 arch/mips/cavium-octeon/executive/cvmx-helper.c int index = cvmx_helper_get_interface_index_num(ipd_port); index 1145 arch/mips/cavium-octeon/executive/cvmx-helper.c if (index >= cvmx_helper_ports_on_interface(interface)) index 51 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block) index 54 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, block), index 55 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, block))); index 227 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_GMXX_RXX_INT_EN(index, block), gmx_rx_int_en.u64); index 232 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c void __cvmx_interrupt_pcsx_intx_en_reg_enable(int index, int block) index 235 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_PCSX_INTX_REG(index, block), index 236 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_read_csr(CVMX_PCSX_INTX_REG(index, block))); index 268 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_PCSX_INTX_EN_REG(index, block), pcs_int_en_reg.u64); index 273 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c void __cvmx_interrupt_pcsxx_int_en_reg_enable(int index) index 276 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_PCSXX_INT_REG(index), index 277 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_read_csr(CVMX_PCSXX_INT_REG(index))); index 297 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_PCSXX_INT_EN_REG(index), pcsx_int_en_reg.u64); index 303 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c void __cvmx_interrupt_spxx_int_msk_enable(int index) index 306 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_SPXX_INT_REG(index), index 307 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_read_csr(CVMX_SPXX_INT_REG(index))); index 337 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_SPXX_INT_MSK(index), spx_int_msk.u64); index 342 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c void __cvmx_interrupt_stxx_int_msk_enable(int index) index 345 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_STXX_INT_REG(index), index 346 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_read_csr(CVMX_STXX_INT_REG(index))); index 370 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c cvmx_write_csr(CVMX_STXX_INT_MSK(index), stx_int_msk.u64); index 42 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block); index 81 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c int index; index 138 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c for (index = 0; index < num_ports; index++) index 139 arch/mips/cavium-octeon/executive/cvmx-interrupt-rsl.c __cvmx_interrupt_gmxx_rxx_int_en_enable(index, interface); index 320 arch/mips/cavium-octeon/executive/cvmx-l2c.c uint64_t index = CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, cvmx_l2c_address_to_index(addr) << CVMX_L2C_IDX_ADDR_SHIFT); index 328 arch/mips/cavium-octeon/executive/cvmx-l2c.c CVMX_CACHE_LTGL2I(index | (way << shift), 0); index 467 arch/mips/cavium-octeon/executive/cvmx-l2c.c uint32_t index = cvmx_l2c_address_to_index(address); index 478 arch/mips/cavium-octeon/executive/cvmx-l2c.c tag = cvmx_l2c_get_tag(assoc, index); index 490 arch/mips/cavium-octeon/executive/cvmx-l2c.c uint32_t index = cvmx_l2c_address_to_index(address); index 495 arch/mips/cavium-octeon/executive/cvmx-l2c.c tag = cvmx_l2c_get_tag(assoc, index); index 498 arch/mips/cavium-octeon/executive/cvmx-l2c.c cvmx_l2c_flush_line(assoc, index); index 591 arch/mips/cavium-octeon/executive/cvmx-l2c.c static union __cvmx_l2c_tag __read_l2_tag(uint64_t assoc, uint64_t index) index 594 arch/mips/cavium-octeon/executive/cvmx-l2c.c uint64_t debug_tag_addr = CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, (index << 7) + 96); index 650 arch/mips/cavium-octeon/executive/cvmx-l2c.c union cvmx_l2c_tag cvmx_l2c_get_tag(uint32_t association, uint32_t index) index 659 arch/mips/cavium-octeon/executive/cvmx-l2c.c if ((int)index >= cvmx_l2c_get_num_sets()) { index 661 arch/mips/cavium-octeon/executive/cvmx-l2c.c (int)index, cvmx_l2c_get_num_sets()); index 668 arch/mips/cavium-octeon/executive/cvmx-l2c.c (index << CVMX_L2C_IDX_ADDR_SHIFT)); index 687 arch/mips/cavium-octeon/executive/cvmx-l2c.c tmp_tag = __read_l2_tag(association, index); index 868 arch/mips/cavium-octeon/executive/cvmx-l2c.c void cvmx_l2c_flush_line(uint32_t assoc, uint32_t index) index 871 arch/mips/cavium-octeon/executive/cvmx-l2c.c if (index > (uint32_t)cvmx_l2c_get_num_sets()) { index 891 arch/mips/cavium-octeon/executive/cvmx-l2c.c (index << CVMX_L2C_IDX_ADDR_SHIFT)); index 912 arch/mips/cavium-octeon/executive/cvmx-l2c.c index * CVMX_CACHE_LINE_SIZE), index 42 arch/mips/cavium-octeon/executive/cvmx-pko.c static int __cvmx_pko_int(int interface, int index) index 46 arch/mips/cavium-octeon/executive/cvmx-pko.c return index; index 50 arch/mips/cavium-octeon/executive/cvmx-pko.c return index + 0x08; index 52 arch/mips/cavium-octeon/executive/cvmx-pko.c return index + 0x0c; index 54 arch/mips/cavium-octeon/executive/cvmx-pko.c return index + 0x10; index 82 arch/mips/cavium-octeon/executive/cvmx-pko.c config.s.index = queue; index 122 arch/mips/cavium-octeon/executive/cvmx-pko.c int interface, index; index 141 arch/mips/cavium-octeon/executive/cvmx-pko.c index = cvmx_helper_get_interface_index_num(port); index 150 arch/mips/cavium-octeon/executive/cvmx-pko.c config.s.intr = __cvmx_pko_int(interface, index); index 153 arch/mips/cavium-octeon/executive/cvmx-pko.c index : port; index 305 arch/mips/cavium-octeon/executive/cvmx-pko.c config.s.index = 0; index 445 arch/mips/cavium-octeon/executive/cvmx-pko.c config.s.index = queue; index 203 arch/mips/cavium-octeon/executive/cvmx-spi.c int index; index 232 arch/mips/cavium-octeon/executive/cvmx-spi.c for (index = 0; index < 32; index++) { index 238 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_SPI4_CALX(index, interface), index 243 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_SPI4_CALX(index, interface), index 315 arch/mips/cavium-octeon/executive/cvmx-spi.c int index; index 329 arch/mips/cavium-octeon/executive/cvmx-spi.c index = 0; index 339 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_SRXX_SPI4_CALX(index, interface), index 341 arch/mips/cavium-octeon/executive/cvmx-spi.c index++; index 392 arch/mips/cavium-octeon/executive/cvmx-spi.c index = 0; index 402 arch/mips/cavium-octeon/executive/cvmx-spi.c cvmx_write_csr(CVMX_STXX_SPI4_CALX(index, interface), index 404 arch/mips/cavium-octeon/executive/cvmx-spi.c index++; index 475 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2; index 477 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); index 479 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2 + 1; index 481 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); index 492 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu); index 498 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1S(index), mask); index 508 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu); index 514 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(index), mask); index 521 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu); index 527 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_SUM2_PPX_IP4(index), mask); index 559 arch/mips/cavium-octeon/octeon-irq.c int index = cvmx_get_core_num() * 2; index 561 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); index 563 arch/mips/cavium-octeon/octeon-irq.c int index = cvmx_get_core_num() * 2 + 1; index 565 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); index 578 arch/mips/cavium-octeon/octeon-irq.c int index = cvmx_get_core_num() * 2; index 580 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); index 582 arch/mips/cavium-octeon/octeon-irq.c int index = cvmx_get_core_num() * 2 + 1; index 584 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); index 600 arch/mips/cavium-octeon/octeon-irq.c int index = cvmx_get_core_num() * 2; index 601 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_SUM0(index), mask); index 622 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2; index 625 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); index 629 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2 + 1; index 632 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); index 652 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2; index 655 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); index 659 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2 + 1; index 662 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); index 860 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2; index 864 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN0_W1S(index), mask); index 867 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN0_W1C(index), mask); index 873 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu) * 2 + 1; index 877 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(index), mask); index 880 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_INTX_EN1_W1C(index), mask); index 903 arch/mips/cavium-octeon/octeon-irq.c int index = octeon_coreid_for_cpu(cpu); index 907 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1S(index), mask); index 909 arch/mips/cavium-octeon/octeon-irq.c cvmx_write_csr(CVMX_CIU_EN2_PPX_IP4_W1C(index), mask); index 236 arch/mips/cavium-octeon/octeon-usb.c int index = (base >> 24) & 1; index 256 arch/mips/cavium-octeon/octeon-usb.c gpio_bit.s.output_sel = (index == 0 ? 0x14 : 0x15); index 261 arch/mips/cavium-octeon/octeon-usb.c gpio_bit.s.output_sel = (index == 0 ? 0x14 : 0x19); index 266 arch/mips/cavium-octeon/octeon-usb.c gpio_bit.s.output_sel = (index == 0 ? 0x14 : 0x19); index 483 arch/mips/cavium-octeon/octeon-usb.c #define CVMX_USBDRDX_UCTL_CTL(index) \ index 485 arch/mips/cavium-octeon/octeon-usb.c ((index & 1) * 0x1000000ull)) index 489 arch/mips/cavium-octeon/octeon-usb.c int index = (base >> 24) & 1; index 491 arch/mips/cavium-octeon/octeon-usb.c uctl_ctl.u64 = cvmx_read_csr(CVMX_USBDRDX_UCTL_CTL(index)); index 493 arch/mips/cavium-octeon/octeon-usb.c cvmx_write_csr(CVMX_USBDRDX_UCTL_CTL(index), uctl_ctl.u64); index 35 arch/mips/dec/prom/console.c .index = -1, index 39 arch/mips/fw/arc/arc_con.c .index = -1, index 60 arch/mips/fw/lib/cmdline.c int i, yamon, index = 0; index 62 arch/mips/fw/lib/cmdline.c yamon = (strchr(fw_envp(index), '=') == NULL); index 65 arch/mips/fw/lib/cmdline.c while (fw_envp(index)) { index 66 arch/mips/fw/lib/cmdline.c if (strncmp(envname, fw_envp(index), i) == 0) { index 68 arch/mips/fw/lib/cmdline.c result = fw_envp(index + 1); index 70 arch/mips/fw/lib/cmdline.c } else if (fw_envp(index)[i] == '=') { index 71 arch/mips/fw/lib/cmdline.c result = fw_envp(index) + i + 1; index 78 arch/mips/fw/lib/cmdline.c index += 2; index 80 arch/mips/fw/lib/cmdline.c index += 1; index 21 arch/mips/include/asm/fw/fw.h #define fw_argv(index) ((char *)(long)_fw_argv[(index)]) index 22 arch/mips/include/asm/fw/fw.h #define fw_envp(index) ((char *)(long)_fw_envp[(index)]) index 19 arch/mips/include/asm/idle.h struct cpuidle_driver *drv, int index); index 683 arch/mips/include/asm/kvm_host.h __BUILD_KVM_RW_HW(index, 32, MIPS_CP0_TLB_INDEX, 0) index 893 arch/mips/include/asm/kvm_host.h void kvm_vz_save_guesttlb(struct kvm_mips_tlb *buf, unsigned int index, index 895 arch/mips/include/asm/kvm_host.h void kvm_vz_load_guesttlb(const struct kvm_mips_tlb *buf, unsigned int index, index 238 arch/mips/include/asm/octeon/cvmx-ciu3-defs.h uint64_t index : 14; index 244 arch/mips/include/asm/octeon/cvmx-ciu3-defs.h uint64_t index : 14; index 142 arch/mips/include/asm/octeon/cvmx-cmd-queue.h uint64_t index:13; index 356 arch/mips/include/asm/octeon/cvmx-cmd-queue.h if (likely(qptr->index + cmd_count < qptr->pool_size_m1)) { index 360 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; index 361 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index += cmd_count; index 386 arch/mips/include/asm/octeon/cvmx-cmd-queue.h count = qptr->pool_size_m1 - qptr->index; index 387 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; index 398 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index = cmd_count; index 454 arch/mips/include/asm/octeon/cvmx-cmd-queue.h if (likely(qptr->index + 2 < qptr->pool_size_m1)) { index 458 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; index 459 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index += 2; index 469 arch/mips/include/asm/octeon/cvmx-cmd-queue.h int count = qptr->pool_size_m1 - qptr->index; index 485 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; index 496 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index = 0; index 498 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index = 1; index 555 arch/mips/include/asm/octeon/cvmx-cmd-queue.h if (likely(qptr->index + 3 < qptr->pool_size_m1)) { index 559 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; index 560 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index += 3; index 571 arch/mips/include/asm/octeon/cvmx-cmd-queue.h int count = qptr->pool_size_m1 - qptr->index; index 587 arch/mips/include/asm/octeon/cvmx-cmd-queue.h ptr += qptr->index; index 601 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index = 0; index 605 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index++; index 609 arch/mips/include/asm/octeon/cvmx-cmd-queue.h qptr->index++; index 299 arch/mips/include/asm/octeon/cvmx-l2c.h union cvmx_l2c_tag cvmx_l2c_get_tag(uint32_t association, uint32_t index); index 303 arch/mips/include/asm/octeon/cvmx-l2c.h uint32_t index) index 306 arch/mips/include/asm/octeon/cvmx-l2c.h uint32_t index) index 308 arch/mips/include/asm/octeon/cvmx-l2c.h return cvmx_l2c_get_tag(association, index); index 362 arch/mips/include/asm/octeon/cvmx-l2c.h void cvmx_l2c_flush_line(uint32_t assoc, uint32_t index); index 337 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h void __cvmx_interrupt_pcsx_intx_en_reg_enable(int index, int block); index 271 arch/mips/include/asm/octeon/cvmx-pcsxx-defs.h void __cvmx_interrupt_pcsxx_int_en_reg_enable(int index); index 488 arch/mips/include/asm/octeon/cvmx-pip.h uint64_t index; index 492 arch/mips/include/asm/octeon/cvmx-pip.h for (index = mask_index * 16; index < (mask_index + 1) * 16; index++) index 493 arch/mips/include/asm/octeon/cvmx-pip.h cvmx_write_csr(CVMX_PIP_TAG_INCX(index), pip_tag_incx.u64); index 516 arch/mips/include/asm/octeon/cvmx-pip.h uint64_t index = mask_index * 16 + offset / 8; index 517 arch/mips/include/asm/octeon/cvmx-pip.h pip_tag_incx.u64 = cvmx_read_csr(CVMX_PIP_TAG_INCX(index)); index 519 arch/mips/include/asm/octeon/cvmx-pip.h cvmx_write_csr(CVMX_PIP_TAG_INCX(index), pip_tag_incx.u64); index 1020 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t index:5; index 1028 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t index:5; index 1174 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t index:3; index 1180 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t index:3; index 2170 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t index:8; index 2172 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t index:8; index 586 arch/mips/include/asm/octeon/cvmx-pko.h pko_reg_read_idx.s.index = port_num; index 605 arch/mips/include/asm/octeon/cvmx-pko.h pko_reg_read_idx.s.index = cvmx_pko_get_base_queue(port_num); index 611 arch/mips/include/asm/octeon/cvmx-pko.h pko_reg_read_idx.s.index = cvmx_pko_get_base_queue(port_num); index 82 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 94 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 111 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 123 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 139 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 155 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 171 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 183 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 199 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 215 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 231 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 239 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 256 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 264 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 281 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 289 arch/mips/include/asm/octeon/cvmx-pow-defs.h uint64_t index:1; index 190 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:13; index 228 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:13; index 338 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 357 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 658 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 694 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 714 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 749 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 768 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 782 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 803 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 817 arch/mips/include/asm/octeon/cvmx-pow.h uint64_t index:11; index 1274 arch/mips/include/asm/octeon/cvmx-pow.h result.s.index = load_resp.s_sstatus2.index; index 48 arch/mips/include/asm/octeon/cvmx-spxx-defs.h void __cvmx_interrupt_spxx_int_msk_enable(int index); index 48 arch/mips/include/asm/octeon/cvmx-stxx-defs.h void __cvmx_interrupt_stxx_int_msk_enable(int index); index 44 arch/mips/include/asm/pci.h unsigned int index; index 129 arch/mips/include/asm/pci.h #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index index 33 arch/mips/include/asm/rtlx.h int rtlx_open(int index, int can_sleep); index 34 arch/mips/include/asm/rtlx.h int rtlx_release(int index); index 35 arch/mips/include/asm/rtlx.h ssize_t rtlx_read(int index, void __user *buff, size_t count); index 36 arch/mips/include/asm/rtlx.h ssize_t rtlx_write(int index, const void __user *buffer, size_t count); index 37 arch/mips/include/asm/rtlx.h unsigned int rtlx_read_poll(int index, int can_sleep); index 38 arch/mips/include/asm/rtlx.h unsigned int rtlx_write_poll(int index); index 24 arch/mips/include/asm/sgialib.h #define prom_argv(index) ((char *) (long) _prom_argv[(index)]) index 25 arch/mips/include/asm/sgialib.h #define prom_argc(index) ((char *) (long) _prom_argc[(index)]) index 153 arch/mips/include/asm/txx9/tx4939.h __u32 index; index 86 arch/mips/include/asm/vpe.h int index; index 111 arch/mips/include/asm/vpe.h int vpe_notify(int index, struct vpe_notifications *notify); index 113 arch/mips/include/asm/vpe.h void *vpe_get_shared(int index); index 114 arch/mips/include/asm/vpe.h char *vpe_getcwd(int index); index 117 arch/mips/include/asm/vpe.h struct tc *get_tc(int index); index 119 arch/mips/include/asm/vpe.h struct tc *alloc_tc(int index); index 770 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int index : 5, index 878 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int index : 5, index 925 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int index : 5, index 31 arch/mips/kernel/early_printk.c .index = -1 index 264 arch/mips/kernel/idle.c struct cpuidle_driver *drv, int index) index 267 arch/mips/kernel/idle.c return index; index 91 arch/mips/kernel/rtlx.c int rtlx_open(int index, int can_sleep) index 98 arch/mips/kernel/rtlx.c if (index >= RTLX_CHANNELS) { index 103 arch/mips/kernel/rtlx.c if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { index 104 arch/mips/kernel/rtlx.c pr_debug("rtlx_open channel %d already opened\n", index); index 114 arch/mips/kernel/rtlx.c channel_wqs[index].lx_queue, index 132 arch/mips/kernel/rtlx.c &channel_wqs[index].lx_queue, index 144 arch/mips/kernel/rtlx.c finish_wait(&channel_wqs[index].lx_queue, index 165 arch/mips/kernel/rtlx.c chan = &rtlx->channel[index]; index 175 arch/mips/kernel/rtlx.c atomic_dec(&channel_wqs[index].in_open); index 182 arch/mips/kernel/rtlx.c int rtlx_release(int index) index 188 arch/mips/kernel/rtlx.c rtlx->channel[index].lx_state = RTLX_STATE_UNUSED; index 192 arch/mips/kernel/rtlx.c unsigned int rtlx_read_poll(int index, int can_sleep) index 199 arch/mips/kernel/rtlx.c chan = &rtlx->channel[index]; index 205 arch/mips/kernel/rtlx.c channel_wqs[index].lx_queue, index 234 arch/mips/kernel/rtlx.c unsigned int rtlx_write_poll(int index) index 236 arch/mips/kernel/rtlx.c struct rtlx_channel *chan = &rtlx->channel[index]; index 242 arch/mips/kernel/rtlx.c ssize_t rtlx_read(int index, void __user *buff, size_t count) index 251 arch/mips/kernel/rtlx.c lx = &rtlx->channel[index]; index 253 arch/mips/kernel/rtlx.c mutex_lock(&channel_wqs[index].mutex); index 279 arch/mips/kernel/rtlx.c mutex_unlock(&channel_wqs[index].mutex); index 284 arch/mips/kernel/rtlx.c ssize_t rtlx_write(int index, const void __user *buffer, size_t count) index 294 arch/mips/kernel/rtlx.c rt = &rtlx->channel[index]; index 296 arch/mips/kernel/rtlx.c mutex_lock(&channel_wqs[index].mutex); index 321 arch/mips/kernel/rtlx.c mutex_unlock(&channel_wqs[index].mutex); index 62 arch/mips/kernel/vpe-mt.c settc(t->index); index 72 arch/mips/kernel/vpe-mt.c t->index); index 115 arch/mips/kernel/vpe-mt.c | (t->index << VPECONF0_XTC_SHIFT)); index 159 arch/mips/kernel/vpe-mt.c settc(tc->index); index 216 arch/mips/kernel/vpe-mt.c settc(t->index); index 242 arch/mips/kernel/vpe-mt.c settc(t->index); index 74 arch/mips/kernel/vpe.c struct tc *get_tc(int index) index 81 arch/mips/kernel/vpe.c if (t->index == index) { index 113 arch/mips/kernel/vpe.c struct tc *alloc_tc(int index) index 122 arch/mips/kernel/vpe.c tc->index = index; index 895 arch/mips/kernel/vpe.c void *vpe_get_shared(int index) index 897 arch/mips/kernel/vpe.c struct vpe *v = get_vpe(index); index 906 arch/mips/kernel/vpe.c int vpe_notify(int index, struct vpe_notifications *notify) index 908 arch/mips/kernel/vpe.c struct vpe *v = get_vpe(index); index 918 arch/mips/kernel/vpe.c char *vpe_getcwd(int index) index 920 arch/mips/kernel/vpe.c struct vpe *v = get_vpe(index); index 1034 arch/mips/kvm/emulate.c int index; index 1036 arch/mips/kvm/emulate.c index = kvm_read_c0_guest_index(cop0); index 1037 arch/mips/kvm/emulate.c if (index < 0 || index >= KVM_MIPS_GUEST_TLB_SIZE) { index 1039 arch/mips/kvm/emulate.c kvm_debug("[%#lx] TLBR Index %#x out of range\n", pc, index); index 1040 arch/mips/kvm/emulate.c index &= KVM_MIPS_GUEST_TLB_SIZE - 1; index 1043 arch/mips/kvm/emulate.c tlb = &vcpu->arch.guest_tlb[index]; index 1105 arch/mips/kvm/emulate.c int index = kvm_read_c0_guest_index(cop0); index 1109 arch/mips/kvm/emulate.c if (index < 0 || index >= KVM_MIPS_GUEST_TLB_SIZE) { index 1110 arch/mips/kvm/emulate.c kvm_debug("%s: illegal index: %d\n", __func__, index); index 1112 arch/mips/kvm/emulate.c pc, index, kvm_read_c0_guest_entryhi(cop0), index 1116 arch/mips/kvm/emulate.c index = (index & ~0x80000000) % KVM_MIPS_GUEST_TLB_SIZE; index 1119 arch/mips/kvm/emulate.c tlb = &vcpu->arch.guest_tlb[index]; index 1129 arch/mips/kvm/emulate.c pc, index, kvm_read_c0_guest_entryhi(cop0), index 1143 arch/mips/kvm/emulate.c int index; index 1145 arch/mips/kvm/emulate.c index = prandom_u32_max(KVM_MIPS_GUEST_TLB_SIZE); index 1146 arch/mips/kvm/emulate.c tlb = &vcpu->arch.guest_tlb[index]; index 1156 arch/mips/kvm/emulate.c pc, index, kvm_read_c0_guest_entryhi(cop0), index 1168 arch/mips/kvm/emulate.c int index = -1; index 1170 arch/mips/kvm/emulate.c index = kvm_mips_guest_tlb_lookup(vcpu, entryhi); index 1172 arch/mips/kvm/emulate.c kvm_write_c0_guest_index(cop0, index); index 1175 arch/mips/kvm/emulate.c index); index 2766 arch/mips/kvm/emulate.c int index; index 2777 arch/mips/kvm/emulate.c index = kvm_mips_guest_tlb_lookup(vcpu, index 2781 arch/mips/kvm/emulate.c if (index < 0) { index 2792 arch/mips/kvm/emulate.c struct kvm_mips_tlb *tlb = &vcpu->arch.guest_tlb[index]; index 2820 arch/mips/kvm/emulate.c __func__, va, index, vcpu, index 596 arch/mips/kvm/mips.c u64 index; index 611 arch/mips/kvm/mips.c index = KVM_REG_MIPS_FPR_32(i); index 612 arch/mips/kvm/mips.c if (copy_to_user(indices, &index, sizeof(index))) index 620 arch/mips/kvm/mips.c index = KVM_REG_MIPS_FPR_64(i); index 621 arch/mips/kvm/mips.c if (copy_to_user(indices, &index, sizeof(index))) index 634 arch/mips/kvm/mips.c index = KVM_REG_MIPS_VEC_128(i); index 635 arch/mips/kvm/mips.c if (copy_to_user(indices, &index, sizeof(index))) index 1202 arch/mips/kvm/mmu.c int index; index 1210 arch/mips/kvm/mmu.c index = kvm_mips_guest_tlb_lookup(vcpu, (gva & VPN2_MASK) | index 1212 arch/mips/kvm/mmu.c if (index < 0) index 1214 arch/mips/kvm/mmu.c tlb = &vcpu->arch.guest_tlb[index]; index 121 arch/mips/kvm/tlb.c int index = -1; index 127 arch/mips/kvm/tlb.c index = i; index 133 arch/mips/kvm/tlb.c __func__, entryhi, index, tlb[i].tlb_lo[0], tlb[i].tlb_lo[1]); index 135 arch/mips/kvm/tlb.c return index; index 311 arch/mips/kvm/tlb.c int index; index 327 arch/mips/kvm/tlb.c index = read_gc0_index(); index 328 arch/mips/kvm/tlb.c if (index < 0) { index 511 arch/mips/kvm/tlb.c void kvm_vz_save_guesttlb(struct kvm_mips_tlb *buf, unsigned int index, index 514 arch/mips/kvm/tlb.c unsigned int end = index + count; index 533 arch/mips/kvm/tlb.c for (i = index; i < end; ++i, ++buf) { index 580 arch/mips/kvm/tlb.c void kvm_vz_load_guesttlb(const struct kvm_mips_tlb *buf, unsigned int index, index 583 arch/mips/kvm/tlb.c unsigned int end = index + count; index 599 arch/mips/kvm/tlb.c for (i = index; i < end; ++i, ++buf) { index 197 arch/mips/kvm/trap_emul.c int index; index 208 arch/mips/kvm/trap_emul.c index = kvm_mips_guest_tlb_lookup(vcpu, entryhi); index 214 arch/mips/kvm/trap_emul.c if (unlikely(index < 0)) { index 218 arch/mips/kvm/trap_emul.c tlb = vcpu->arch.guest_tlb + index; index 1720 arch/mips/kvm/vz.c u64 index; index 1729 arch/mips/kvm/vz.c index = KVM_REG_MIPS_CP0_USERLOCAL; index 1730 arch/mips/kvm/vz.c if (copy_to_user(indices, &index, sizeof(index))) index 1735 arch/mips/kvm/vz.c index = KVM_REG_MIPS_CP0_BADINSTR; index 1736 arch/mips/kvm/vz.c if (copy_to_user(indices, &index, sizeof(index))) index 1741 arch/mips/kvm/vz.c index = KVM_REG_MIPS_CP0_BADINSTRP; index 1742 arch/mips/kvm/vz.c if (copy_to_user(indices, &index, sizeof(index))) index 1766 arch/mips/kvm/vz.c index = KVM_REG_MIPS_CP0_MAAR(i); index 1767 arch/mips/kvm/vz.c if (copy_to_user(indices, &index, sizeof(index))) index 1772 arch/mips/kvm/vz.c index = KVM_REG_MIPS_CP0_MAARI; index 1773 arch/mips/kvm/vz.c if (copy_to_user(indices, &index, sizeof(index))) index 32 arch/mips/loongson64/loongson-3/acpi_init.c static void pmio_write_index(u16 index, u8 reg, u8 value) index 34 arch/mips/loongson64/loongson-3/acpi_init.c outb(reg, index); index 35 arch/mips/loongson64/loongson-3/acpi_init.c outb(value, index + 1); index 38 arch/mips/loongson64/loongson-3/acpi_init.c static u8 pmio_read_index(u16 index, u8 reg) index 40 arch/mips/loongson64/loongson-3/acpi_init.c outb(reg, index); index 41 arch/mips/loongson64/loongson-3/acpi_init.c return inb(index + 1); index 171 arch/mips/math-emu/cp1emu.c insn.mm_fp5_format.index; index 120 arch/mips/net/ebpf_jit.c int index, int reg) index 122 arch/mips/net/ebpf_jit.c return (ctx->reg_val_types[index] >> (reg * 3)) & 7; index 69 arch/mips/pci/msi-octeon.c int index; index 120 arch/mips/pci/msi-octeon.c for (index = 0; index < msi_irq_size/64; index++) { index 122 arch/mips/pci/msi-octeon.c if ((msi_free_irq_bitmask[index] & (search_mask << irq)) == 0) { index 123 arch/mips/pci/msi-octeon.c msi_free_irq_bitmask[index] |= search_mask << irq; index 124 arch/mips/pci/msi-octeon.c msi_multiple_irq_bitmask[index] |= (search_mask >> 1) << irq; index 144 arch/mips/pci/msi-octeon.c irq += index*64; index 224 arch/mips/pci/msi-octeon.c int index = 0; index 233 arch/mips/pci/msi-octeon.c index = irq / 64; index 243 arch/mips/pci/msi-octeon.c (msi_multiple_irq_bitmask[index] index 251 arch/mips/pci/msi-octeon.c if ((msi_free_irq_bitmask[index] & bitmask) != bitmask) index 257 arch/mips/pci/msi-octeon.c msi_free_irq_bitmask[index] &= ~bitmask; index 258 arch/mips/pci/msi-octeon.c msi_multiple_irq_bitmask[index] &= ~bitmask; index 331 arch/mips/pci/msi-octeon.c static irqreturn_t __octeon_msi_do_interrupt(int index, u64 msi_bits) index 340 arch/mips/pci/msi-octeon.c cvmx_write_csr(msi_rcv_reg[index], 1ull << bit); index 342 arch/mips/pci/msi-octeon.c irq = bit + OCTEON_IRQ_MSI_BIT0 + 64 * index; index 179 arch/mips/pci/pci-bcm1480ht.c .index = 1, index 565 arch/mips/pci/pci-octeon.c int index; index 633 arch/mips/pci/pci-octeon.c for (index = 0; index < 32; index++) { index 639 arch/mips/pci/pci-octeon.c (octeon_bar1_pci_phys >> 22) + index; index 646 arch/mips/pci/pci-octeon.c octeon_npi_write32(CVMX_NPI_PCI_BAR1_INDEXX(index), index 669 arch/mips/pci/pci-octeon.c for (index = 0; index < 32; index++) { index 675 arch/mips/pci/pci-octeon.c (octeon_bar1_pci_phys >> 22) + index; index 682 arch/mips/pci/pci-octeon.c octeon_npi_write32(CVMX_NPI_PCI_BAR1_INDEXX(index), index 171 arch/mips/pci/pci-xlp.c .index = 0, index 153 arch/mips/pci/pci-xlr.c .index = 0, index 93 arch/mips/pmcs-msp71xx/msp_prom.c int index = 0; index 98 arch/mips/pmcs-msp71xx/msp_prom.c ea[index++] = num; index 107 arch/mips/pmcs-msp71xx/msp_prom.c if (index == 5) { index 108 arch/mips/pmcs-msp71xx/msp_prom.c ea[index++] = num; index 20 arch/mips/sgi-ip27/ip27-klconfig.c int index, j; index 23 arch/mips/sgi-ip27/ip27-klconfig.c index = 0; index 28 arch/mips/sgi-ip27/ip27-klconfig.c index = j; index 29 arch/mips/sgi-ip27/ip27-klconfig.c if (index == KLCF_NUM_COMPS(brd)) { index 33 arch/mips/sgi-ip27/ip27-klconfig.c index++; /* next component */ index 36 arch/mips/sgi-ip27/ip27-klconfig.c for (; index < KLCF_NUM_COMPS(brd); index++) { index 37 arch/mips/sgi-ip27/ip27-klconfig.c kli = KLCF_COMP(brd, index); index 72 arch/mips/sibyte/common/cfe_console.c .index = -1, index 58 arch/mips/txx9/generic/smsc_fdc37m81x.c static inline unsigned char smsc_fdc37m81x_rd(unsigned char index) index 60 arch/mips/txx9/generic/smsc_fdc37m81x.c outb(index, g_smsc_fdc37m81x_base + SMSC_FDC37M81X_CONFIG_INDEX); index 65 arch/mips/txx9/generic/smsc_fdc37m81x.c static inline void smsc_dc37m81x_wr(unsigned char index, unsigned char data) index 67 arch/mips/txx9/generic/smsc_fdc37m81x.c outb(index, g_smsc_fdc37m81x_base + SMSC_FDC37M81X_CONFIG_INDEX); index 254 arch/nds32/mm/cacheflush.c vaddr = page->index << PAGE_SHIFT; index 360 arch/nds32/mm/fault.c unsigned int index = pgd_index(addr); index 366 arch/nds32/mm/fault.c pgd = (pgd_t *) __va(__nds32__mfsr(NDS32_SR_L1_PPTB)) + index; index 367 arch/nds32/mm/fault.c pgd_k = init_mm.pgd + index; index 79 arch/nios2/mm/cacheflush.c pgoff = page->index; index 19 arch/parisc/include/asm/futex.h long index = ((long)uaddr & 0xf0) >> 2; index 20 arch/parisc/include/asm/futex.h arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index]; index 29 arch/parisc/include/asm/futex.h long index = ((long)uaddr & 0xf0) >> 2; index 30 arch/parisc/include/asm/futex.h arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index]; index 36 arch/parisc/include/asm/pdc.h int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index, index 26 arch/parisc/kernel/alternative.c int index = 0, applied = 0; index 29 arch/parisc/kernel/alternative.c for (entry = start; entry < end; entry++, index++) { index 45 arch/parisc/kernel/alternative.c index, cond, len, from, replacement); index 81 arch/parisc/kernel/alternative.c index, cond, len, replacement, from, from); index 98 arch/parisc/kernel/alternative.c applied, index); index 343 arch/parisc/kernel/cache.c pgoff = page->index; index 58 arch/parisc/kernel/drivers.c parse_tree_node(struct device *parent, int index, struct hardware_path *modpath); index 656 arch/parisc/kernel/drivers.c static int match_pci_device(struct device *dev, int index, index 662 arch/parisc/kernel/drivers.c if (index == 5) { index 670 arch/parisc/kernel/drivers.c if (index >= 6) index 674 arch/parisc/kernel/drivers.c return (modpath->bc[index] == id); index 685 arch/parisc/kernel/drivers.c static int match_parisc_device(struct device *dev, int index, index 689 arch/parisc/kernel/drivers.c char id = (index == 6) ? modpath->mod : modpath->bc[index]; index 695 arch/parisc/kernel/drivers.c int index; index 706 arch/parisc/kernel/drivers.c if (match_parisc_device(dev, d->index, d->modpath)) index 709 arch/parisc/kernel/drivers.c if (match_pci_device(dev, d->index, d->modpath)) index 713 arch/parisc/kernel/drivers.c struct device *new = parse_tree_node(dev, d->index, d->modpath); index 732 arch/parisc/kernel/drivers.c parse_tree_node(struct device *parent, int index, struct hardware_path *modpath) index 735 arch/parisc/kernel/drivers.c .index = index, index 388 arch/parisc/kernel/firmware.c int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index, index 396 arch/parisc/kernel/firmware.c index, __pa(pdc_result2), iodc_data_size); index 198 arch/parisc/kernel/pdc_cons.c static struct tty_driver * pdc_console_device (struct console *c, int *index) index 200 arch/parisc/kernel/pdc_cons.c *index = c->index; index 213 arch/parisc/kernel/pdc_cons.c .index = -1, index 56 arch/parisc/math-emu/decode_exc.c #define Excp_type(index) Exceptiontype(Fpu_register[index]) index 57 arch/parisc/math-emu/decode_exc.c #define Excp_instr(index) Instructionfield(Fpu_register[index]) index 58 arch/parisc/math-emu/decode_exc.c #define Clear_excp_register(index) Allexception(Fpu_register[index]) = 0 index 63 arch/parisc/math-emu/decode_exc.c #define Fpu_sgl(index) Fpu_register[index*2] index 65 arch/parisc/math-emu/decode_exc.c #define Fpu_dblp1(index) Fpu_register[index*2] index 66 arch/parisc/math-emu/decode_exc.c #define Fpu_dblp2(index) Fpu_register[(index*2)+1] index 68 arch/parisc/math-emu/decode_exc.c #define Fpu_quadp1(index) Fpu_register[index*2] index 69 arch/parisc/math-emu/decode_exc.c #define Fpu_quadp2(index) Fpu_register[(index*2)+1] index 70 arch/parisc/math-emu/decode_exc.c #define Fpu_quadp3(index) Fpu_register[(index*2)+2] index 71 arch/parisc/math-emu/decode_exc.c #define Fpu_quadp4(index) Fpu_register[(index*2)+3] index 780 arch/parisc/mm/init.c unsigned long index; index 795 arch/parisc/mm/init.c index = find_next_zero_bit(space_id, NR_SPACE_IDS, space_id_index); index 796 arch/parisc/mm/init.c space_id[index >> SHIFT_PER_LONG] |= (1L << (index & (BITS_PER_LONG - 1))); index 797 arch/parisc/mm/init.c space_id_index = index; index 801 arch/parisc/mm/init.c return index << SPACEID_SHIFT; index 806 arch/parisc/mm/init.c unsigned long index = spaceid >> SPACEID_SHIFT; index 809 arch/parisc/mm/init.c dirty_space_offset = dirty_space_id + (index >> SHIFT_PER_LONG); index 810 arch/parisc/mm/init.c index &= (BITS_PER_LONG - 1); index 814 arch/parisc/mm/init.c BUG_ON(*dirty_space_offset & (1L << index)); /* attempt to free space id twice */ index 816 arch/parisc/mm/init.c *dirty_space_offset |= (1L << index); index 480 arch/powerpc/boot/4xx.c static void eplike_fixup_uart_clk(int index, const char *path, index 487 arch/powerpc/boot/4xx.c switch (index) { index 671 arch/powerpc/boot/4xx.c u32 index; index 673 arch/powerpc/boot/4xx.c for (index = 0; index < ARRAY_SIZE(ibm405ex_fwdv_multi_bits); index++) index 674 arch/powerpc/boot/4xx.c if (cpr_fwdv == (u32)ibm405ex_fwdv_multi_bits[index]) index 675 arch/powerpc/boot/4xx.c return index + 1; index 714 arch/powerpc/boot/4xx.c u32 index; index 716 arch/powerpc/boot/4xx.c for (index = 0; index < ARRAY_SIZE(ibm405ex_fbdv_multi_bits); index++) index 717 arch/powerpc/boot/4xx.c if (cpr_fbdv == (u32)ibm405ex_fbdv_multi_bits[index]) index 718 arch/powerpc/boot/4xx.c return index + 1; index 101 arch/powerpc/boot/devtree.c void dt_fixup_mac_address(u32 index, const u8 *addr) index 104 arch/powerpc/boot/devtree.c (void*)&index, sizeof(index)); index 108 arch/powerpc/boot/devtree.c " %02x:%02x:%02x:%02x:%02x:%02x\n\r", index, index 119 arch/powerpc/boot/devtree.c u32 index = startindex; index 125 arch/powerpc/boot/devtree.c dt_fixup_mac_address(index++, addr); index 198 arch/powerpc/boot/ops.h void dt_fixup_mac_address(u32 index, const u8 *addr); index 78 arch/powerpc/crypto/sha1.c u32 i, index, padlen; index 85 arch/powerpc/crypto/sha1.c index = sctx->count & 0x3f; index 86 arch/powerpc/crypto/sha1.c padlen = (index < 56) ? (56 - index) : ((64+56) - index); index 110 arch/powerpc/include/asm/book3s/64/hash-4k.h static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) index 117 arch/powerpc/include/asm/book3s/64/hash-4k.h int index) index 124 arch/powerpc/include/asm/book3s/64/hash-4k.h unsigned int index, unsigned int hidx) index 106 arch/powerpc/include/asm/book3s/64/hash-64k.h #define HIDX_BITS(x, index) (x << (index << 2)) index 107 arch/powerpc/include/asm/book3s/64/hash-64k.h #define BITS_TO_HIDX(x, index) ((x >> (index << 2)) & 0xfUL) index 110 arch/powerpc/include/asm/book3s/64/hash-64k.h static inline unsigned long __rpte_to_hidx(real_pte_t rpte, unsigned long index) index 112 arch/powerpc/include/asm/book3s/64/hash-64k.h return HIDX_UNSHIFT_BY_ONE(BITS_TO_HIDX(rpte.hidx, index)); index 140 arch/powerpc/include/asm/book3s/64/hash-64k.h extern bool __rpte_sub_valid(real_pte_t rpte, unsigned long index); index 145 arch/powerpc/include/asm/book3s/64/hash-64k.h #define pte_iterate_hashed_subpages(rpte, psize, vpn, index, shift) \ index 151 arch/powerpc/include/asm/book3s/64/hash-64k.h for (index = 0; vpn < __end; index++, \ index 153 arch/powerpc/include/asm/book3s/64/hash-64k.h if (!__split || __rpte_sub_valid(rpte, index)) index 214 arch/powerpc/include/asm/book3s/64/hash-64k.h static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) index 216 arch/powerpc/include/asm/book3s/64/hash-64k.h return hpte_slot_array[index] & 0x1; index 220 arch/powerpc/include/asm/book3s/64/hash-64k.h int index) index 222 arch/powerpc/include/asm/book3s/64/hash-64k.h return hpte_slot_array[index] >> 1; index 226 arch/powerpc/include/asm/book3s/64/hash-64k.h unsigned int index, unsigned int hidx) index 228 arch/powerpc/include/asm/book3s/64/hash-64k.h hpte_slot_array[index] = (hidx << 1) | 0x1; index 248 arch/powerpc/include/asm/book3s/64/mmu.h int index = ea >> MAX_EA_BITS_PER_CONTEXT; index 250 arch/powerpc/include/asm/book3s/64/mmu.h if (likely(index < ARRAY_SIZE(ctx->extended_id))) index 251 arch/powerpc/include/asm/book3s/64/mmu.h return ctx->extended_id[index]; index 60 arch/powerpc/include/asm/book3s/64/pgtable-4k.h static inline int get_hugepd_cache_index(int index) index 62 arch/powerpc/include/asm/book3s/64/pgtable-4k.h switch (index) { index 57 arch/powerpc/include/asm/book3s/64/pgtable-64k.h static inline int get_hugepd_cache_index(int index) index 336 arch/powerpc/include/asm/book3s/64/pgtable.h #define __rpte_to_hidx(r,index) (pte_val(__rpte_to_pte(r)) >> H_PAGE_F_GIX_SHIFT) index 338 arch/powerpc/include/asm/book3s/64/pgtable.h #define pte_iterate_hashed_subpages(rpte, psize, va, index, shift) \ index 340 arch/powerpc/include/asm/book3s/64/pgtable.h index = 0; \ index 16 arch/powerpc/include/asm/book3s/64/tlbflush-hash.h unsigned long index; index 47 arch/powerpc/include/asm/book3s/64/tlbflush-hash.h if (batch->index) index 59 arch/powerpc/include/asm/dcr.h unsigned int index); index 61 arch/powerpc/include/asm/dcr.h unsigned int index); index 106 arch/powerpc/include/asm/icswx.h u8 index; index 41 arch/powerpc/include/asm/iommu.h long index, long npages, index 52 arch/powerpc/include/asm/iommu.h long index, index 58 arch/powerpc/include/asm/iommu.h unsigned long index, index 62 arch/powerpc/include/asm/iommu.h __be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc); index 65 arch/powerpc/include/asm/iommu.h long index, long npages); index 67 arch/powerpc/include/asm/iommu.h unsigned long (*get)(struct iommu_table *tbl, long index); index 483 arch/powerpc/include/asm/kvm_host.h unsigned int index; index 188 arch/powerpc/include/asm/lppaca.h extern void (*dtl_consumer)(struct dtl_entry *entry, u64 index); index 87 arch/powerpc/include/asm/machdep.h ssize_t (*nvram_write)(char *buf, size_t count, loff_t *index); index 88 arch/powerpc/include/asm/machdep.h ssize_t (*nvram_read)(char *buf, size_t count, loff_t *index); index 28 arch/powerpc/include/asm/macio.h int index; /* macio chip index in system */ index 82 arch/powerpc/include/asm/mmu_context.h int index = ea >> MAX_EA_BITS_PER_CONTEXT; index 88 arch/powerpc/include/asm/mmu_context.h VM_WARN_ON(mm->context.extended_id[index]); index 89 arch/powerpc/include/asm/mmu_context.h mm->context.extended_id[index] = context_id; index 227 arch/powerpc/include/asm/mpic.h unsigned int index; index 30 arch/powerpc/include/asm/nvram.h long index; /* offset of data portion of partition */ index 124 arch/powerpc/include/asm/pci.h extern struct pci_dev *pnv_pci_get_npu_dev(struct pci_dev *gpdev, int index); index 321 arch/powerpc/include/asm/rtas.h struct { __be32 count, index; } ic; index 361 arch/powerpc/include/asm/rtas.h extern int rtas_get_sensor(int sensor, int index, int *state); index 362 arch/powerpc/include/asm/rtas.h extern int rtas_get_sensor_fast(int sensor, int index, int *state); index 366 arch/powerpc/include/asm/rtas.h extern int rtas_set_indicator(int indicator, int index, int new_value); index 367 arch/powerpc/include/asm/rtas.h extern int rtas_set_indicator_fast(int indicator, int index, int new_value); index 103 arch/powerpc/include/asm/xics.h int index; index 112 arch/powerpc/include/asm/xics.h if (WARN_ON(os_cppr->index >= MAX_NUM_PRIORITIES - 1)) index 116 arch/powerpc/include/asm/xics.h os_cppr->stack[++os_cppr->index] = IPI_PRIORITY; index 118 arch/powerpc/include/asm/xics.h os_cppr->stack[++os_cppr->index] = DEFAULT_PRIORITY; index 125 arch/powerpc/include/asm/xics.h if (WARN_ON(os_cppr->index < 1)) index 128 arch/powerpc/include/asm/xics.h return os_cppr->stack[--os_cppr->index]; index 138 arch/powerpc/include/asm/xics.h WARN_ON(os_cppr->index != 0); index 147 arch/powerpc/include/asm/xics.h return os_cppr->stack[os_cppr->index]; index 421 arch/powerpc/include/uapi/asm/kvm.h __u32 index; index 32 arch/powerpc/kernel/cacheinfo.c struct cache_index_dir *index; /* list of index objects */ index 508 arch/powerpc/kernel/cacheinfo.c struct cache_index_dir *index; index 510 arch/powerpc/kernel/cacheinfo.c index = kobj_to_cache_index_dir(kobj); index 513 arch/powerpc/kernel/cacheinfo.c index->cache->level, cache_type_string(index->cache)); index 515 arch/powerpc/kernel/cacheinfo.c kfree(index); index 529 arch/powerpc/kernel/cacheinfo.c struct cache_index_dir *index; index 531 arch/powerpc/kernel/cacheinfo.c index = kobj_to_cache_index_dir(k); index 533 arch/powerpc/kernel/cacheinfo.c return index->cache; index 615 arch/powerpc/kernel/cacheinfo.c struct cache_index_dir *index; index 618 arch/powerpc/kernel/cacheinfo.c index = kobj_to_cache_index_dir(k); index 619 arch/powerpc/kernel/cacheinfo.c cache = index->cache; index 627 arch/powerpc/kernel/cacheinfo.c static unsigned int index_dir_to_cpu(struct cache_index_dir *index) index 629 arch/powerpc/kernel/cacheinfo.c struct kobject *index_dir_kobj = &index->kobj; index 652 arch/powerpc/kernel/cacheinfo.c struct cache_index_dir *index; index 657 arch/powerpc/kernel/cacheinfo.c index = kobj_to_cache_index_dir(k); index 658 arch/powerpc/kernel/cacheinfo.c cache = index->cache; index 661 arch/powerpc/kernel/cacheinfo.c cpu = index_dir_to_cpu(index); index 749 arch/powerpc/kernel/cacheinfo.c static void cacheinfo_create_index_dir(struct cache *cache, int index, index 762 arch/powerpc/kernel/cacheinfo.c cache_dir->kobj, "index%d", index); index 768 arch/powerpc/kernel/cacheinfo.c index_dir->next = cache_dir->index; index 769 arch/powerpc/kernel/cacheinfo.c cache_dir->index = index_dir; index 779 arch/powerpc/kernel/cacheinfo.c int index = 0; index 787 arch/powerpc/kernel/cacheinfo.c cacheinfo_create_index_dir(cache, index, cache_dir); index 788 arch/powerpc/kernel/cacheinfo.c index++; index 827 arch/powerpc/kernel/cacheinfo.c struct cache_index_dir *index; index 829 arch/powerpc/kernel/cacheinfo.c index = cache_dir->index; index 831 arch/powerpc/kernel/cacheinfo.c while (index) { index 834 arch/powerpc/kernel/cacheinfo.c next = index->next; index 835 arch/powerpc/kernel/cacheinfo.c kobject_put(&index->kobj); index 836 arch/powerpc/kernel/cacheinfo.c index = next; index 610 arch/powerpc/kernel/iommu.c unsigned long index, tceval, tcecount = 0; index 613 arch/powerpc/kernel/iommu.c for (index = 0; index < tbl->it_size; index++) { index 614 arch/powerpc/kernel/iommu.c tceval = tbl->it_ops->get(tbl, index + tbl->it_offset); index 619 arch/powerpc/kernel/iommu.c __set_bit(index, tbl->it_map); index 628 arch/powerpc/kernel/iommu.c for (index = tbl->it_size - KDUMP_MIN_TCE_ENTRIES; index 629 arch/powerpc/kernel/iommu.c index < tbl->it_size; index++) index 630 arch/powerpc/kernel/iommu.c __clear_bit(index, tbl->it_map); index 81 arch/powerpc/kernel/legacy_serial.c int index; index 98 arch/powerpc/kernel/legacy_serial.c index = want_index; index 100 arch/powerpc/kernel/legacy_serial.c index = legacy_serial_count; index 106 arch/powerpc/kernel/legacy_serial.c if (index >= MAX_LEGACY_SERIAL_PORTS) index 108 arch/powerpc/kernel/legacy_serial.c if (index >= legacy_serial_count) index 109 arch/powerpc/kernel/legacy_serial.c legacy_serial_count = index + 1; index 112 arch/powerpc/kernel/legacy_serial.c if (legacy_serial_infos[index].np != NULL) { index 116 arch/powerpc/kernel/legacy_serial.c index, legacy_serial_count); index 118 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index]; index 120 arch/powerpc/kernel/legacy_serial.c legacy_serial_infos[index]; index 123 arch/powerpc/kernel/legacy_serial.c printk(KERN_DEBUG "Replacing legacy port %d\n", index); index 128 arch/powerpc/kernel/legacy_serial.c memset(&legacy_serial_ports[index], 0, index 131 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].iobase = base; index 133 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].mapbase = base; index 135 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].iotype = iotype; index 136 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].uartclk = clock; index 137 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].irq = irq; index 138 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].flags = flags; index 139 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].regshift = shift; index 140 arch/powerpc/kernel/legacy_serial.c legacy_serial_infos[index].taddr = taddr; index 141 arch/powerpc/kernel/legacy_serial.c legacy_serial_infos[index].np = of_node_get(np); index 142 arch/powerpc/kernel/legacy_serial.c legacy_serial_infos[index].clock = clock; index 143 arch/powerpc/kernel/legacy_serial.c legacy_serial_infos[index].speed = spd ? be32_to_cpup(spd) : 0; index 144 arch/powerpc/kernel/legacy_serial.c legacy_serial_infos[index].irq_check_parent = irq_check_parent; index 147 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].serial_in = tsi_serial_in; index 148 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].serial_out = tsi_serial_out; index 152 arch/powerpc/kernel/legacy_serial.c index, np); index 156 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].uartclk, index 157 arch/powerpc/kernel/legacy_serial.c legacy_serial_infos[index].speed); index 159 arch/powerpc/kernel/legacy_serial.c return index; index 208 arch/powerpc/kernel/legacy_serial.c int index = -1; index 229 arch/powerpc/kernel/legacy_serial.c index = simple_strtol(typep+1, NULL, 0) - 1; index 246 arch/powerpc/kernel/legacy_serial.c return add_legacy_port(np, index, UPIO_PORT, be32_to_cpu(reg[1]), index 258 arch/powerpc/kernel/legacy_serial.c int iotype, index = -1, lindex = 0; index 297 arch/powerpc/kernel/legacy_serial.c index = lindex = be32_to_cpup(reg); index 319 arch/powerpc/kernel/legacy_serial.c return add_legacy_port(np, index, iotype, base, addr, 0, index 369 arch/powerpc/kernel/legacy_serial.c int index; index 392 arch/powerpc/kernel/legacy_serial.c index = add_legacy_soc_port(np, np); index 393 arch/powerpc/kernel/legacy_serial.c if (index >= 0 && np == stdout) index 394 arch/powerpc/kernel/legacy_serial.c legacy_serial_console = index; index 405 arch/powerpc/kernel/legacy_serial.c index = add_legacy_isa_port(np, isa); index 406 arch/powerpc/kernel/legacy_serial.c if (index >= 0 && np == stdout) index 407 arch/powerpc/kernel/legacy_serial.c legacy_serial_console = index; index 439 arch/powerpc/kernel/legacy_serial.c index = add_legacy_pci_port(np, pci); index 440 arch/powerpc/kernel/legacy_serial.c if (index >= 0 && np == stdout) index 441 arch/powerpc/kernel/legacy_serial.c legacy_serial_console = index; index 460 arch/powerpc/kernel/legacy_serial.c static void __init fixup_port_irq(int index, index 466 arch/powerpc/kernel/legacy_serial.c DBG("fixup_port_irq(%d)\n", index); index 469 arch/powerpc/kernel/legacy_serial.c if (!virq && legacy_serial_infos[index].irq_check_parent) { index 487 arch/powerpc/kernel/legacy_serial.c static void __init fixup_port_pio(int index, index 494 arch/powerpc/kernel/legacy_serial.c DBG("fixup_port_pio(%d)\n", index); index 505 arch/powerpc/kernel/legacy_serial.c index, port->iobase, port->iobase + offset); index 511 arch/powerpc/kernel/legacy_serial.c static void __init fixup_port_mmio(int index, index 515 arch/powerpc/kernel/legacy_serial.c DBG("fixup_port_mmio(%d)\n", index); index 90 arch/powerpc/kernel/mce.c int index = __this_cpu_inc_return(mce_nest_count) - 1; index 91 arch/powerpc/kernel/mce.c struct machine_check_event *mce = this_cpu_ptr(&mce_event[index]); index 98 arch/powerpc/kernel/mce.c if (index >= MAX_MC_EVT) index 178 arch/powerpc/kernel/mce.c int index = __this_cpu_read(mce_nest_count) - 1; index 183 arch/powerpc/kernel/mce.c if (index < 0) index 187 arch/powerpc/kernel/mce.c if (index < MAX_MC_EVT) { index 188 arch/powerpc/kernel/mce.c mc_evt = this_cpu_ptr(&mce_event[index]); index 218 arch/powerpc/kernel/mce.c int index; index 220 arch/powerpc/kernel/mce.c index = __this_cpu_inc_return(mce_ue_count) - 1; index 222 arch/powerpc/kernel/mce.c if (index >= MAX_MC_EVT) { index 226 arch/powerpc/kernel/mce.c memcpy(this_cpu_ptr(&mce_ue_event_queue[index]), evt, sizeof(*evt)); index 237 arch/powerpc/kernel/mce.c int index; index 243 arch/powerpc/kernel/mce.c index = __this_cpu_inc_return(mce_queue_count) - 1; index 245 arch/powerpc/kernel/mce.c if (index >= MAX_MC_EVT) { index 249 arch/powerpc/kernel/mce.c memcpy(this_cpu_ptr(&mce_event_queue[index]), &evt, sizeof(evt)); index 260 arch/powerpc/kernel/mce.c int index; index 264 arch/powerpc/kernel/mce.c index = __this_cpu_read(mce_ue_count) - 1; index 265 arch/powerpc/kernel/mce.c evt = this_cpu_ptr(&mce_ue_event_queue[index]); index 302 arch/powerpc/kernel/mce.c int index; index 312 arch/powerpc/kernel/mce.c index = __this_cpu_read(mce_queue_count) - 1; index 313 arch/powerpc/kernel/mce.c evt = this_cpu_ptr(&mce_event_queue[index]); index 44 arch/powerpc/kernel/nvram_64.c unsigned int index; index 54 arch/powerpc/kernel/nvram_64.c .index = -1, index 63 arch/powerpc/kernel/nvram_64.c .index = -1, index 122 arch/powerpc/kernel/nvram_64.c .index = -1, index 130 arch/powerpc/kernel/nvram_64.c .index = -1, index 137 arch/powerpc/kernel/nvram_64.c .index = -1, index 189 arch/powerpc/kernel/nvram_64.c if (part->index == -1) index 198 arch/powerpc/kernel/nvram_64.c tmp_index = part->index; index 227 arch/powerpc/kernel/nvram_64.c if (part->index == -1) index 233 arch/powerpc/kernel/nvram_64.c tmp_index = part->index; index 311 arch/powerpc/kernel/nvram_64.c part->index = p; index 482 arch/powerpc/kernel/nvram_64.c part->index = p; index 716 arch/powerpc/kernel/nvram_64.c tmp_part->index, tmp_part->header.signature, index 733 arch/powerpc/kernel/nvram_64.c tmp_index = part->index; index 899 arch/powerpc/kernel/nvram_64.c new_part->index = free_part->index; index 915 arch/powerpc/kernel/nvram_64.c free_part->index += size * NVRAM_BLOCK_LEN; index 930 arch/powerpc/kernel/nvram_64.c for (tmp_index = new_part->index + NVRAM_HEADER_LEN; index 941 arch/powerpc/kernel/nvram_64.c return new_part->index + NVRAM_HEADER_LEN; index 955 arch/powerpc/kernel/nvram_64.c if (part->index + NVRAM_HEADER_LEN == data_index) index 978 arch/powerpc/kernel/nvram_64.c return p->index + NVRAM_HEADER_LEN; index 1041 arch/powerpc/kernel/nvram_64.c tmp_part->index = cur_index; index 1140 arch/powerpc/kernel/process.c if (batch->index) index 1260 arch/powerpc/kernel/prom_init.c static void __init prom_parse_platform_support(u8 index, u8 val, index 1263 arch/powerpc/kernel/prom_init.c switch (index) { index 2993 arch/powerpc/kernel/ptrace.c unsigned long index, tmp; index 2998 arch/powerpc/kernel/ptrace.c index = addr >> 2; index 2999 arch/powerpc/kernel/ptrace.c if ((addr & 3) || (index > PT_FPSCR) index 3002 arch/powerpc/kernel/ptrace.c index = addr >> 3; index 3003 arch/powerpc/kernel/ptrace.c if ((addr & 7) || (index > PT_FPSCR)) index 3008 arch/powerpc/kernel/ptrace.c if (index < PT_FPR0) { index 3009 arch/powerpc/kernel/ptrace.c ret = ptrace_get_reg(child, (int) index, &tmp); index 3013 arch/powerpc/kernel/ptrace.c unsigned int fpidx = index - PT_FPR0; index 3028 arch/powerpc/kernel/ptrace.c unsigned long index; index 3033 arch/powerpc/kernel/ptrace.c index = addr >> 2; index 3034 arch/powerpc/kernel/ptrace.c if ((addr & 3) || (index > PT_FPSCR) index 3037 arch/powerpc/kernel/ptrace.c index = addr >> 3; index 3038 arch/powerpc/kernel/ptrace.c if ((addr & 7) || (index > PT_FPSCR)) index 3043 arch/powerpc/kernel/ptrace.c if (index < PT_FPR0) { index 3044 arch/powerpc/kernel/ptrace.c ret = ptrace_put_reg(child, index, data); index 3046 arch/powerpc/kernel/ptrace.c unsigned int fpidx = index - PT_FPR0; index 86 arch/powerpc/kernel/ptrace32.c int index; index 91 arch/powerpc/kernel/ptrace32.c index = (unsigned long) addr >> 2; index 92 arch/powerpc/kernel/ptrace32.c if ((addr & 3) || (index > PT_FPSCR32)) index 96 arch/powerpc/kernel/ptrace32.c if (index < PT_FPR0) { index 97 arch/powerpc/kernel/ptrace32.c ret = ptrace_get_reg(child, index, &tmp); index 108 arch/powerpc/kernel/ptrace32.c [FPRINDEX(index)]; index 123 arch/powerpc/kernel/ptrace32.c u32 index; index 131 arch/powerpc/kernel/ptrace32.c index = (u64)addr >> 2; index 132 arch/powerpc/kernel/ptrace32.c numReg = index / 2; index 134 arch/powerpc/kernel/ptrace32.c if (index % 2) index 191 arch/powerpc/kernel/ptrace32.c unsigned long index; index 195 arch/powerpc/kernel/ptrace32.c index = (unsigned long) addr >> 2; index 196 arch/powerpc/kernel/ptrace32.c if ((addr & 3) || (index > PT_FPSCR32)) index 200 arch/powerpc/kernel/ptrace32.c if (index < PT_FPR0) { index 201 arch/powerpc/kernel/ptrace32.c ret = ptrace_put_reg(child, index, data); index 210 arch/powerpc/kernel/ptrace32.c [FPRINDEX(index)] = data; index 224 arch/powerpc/kernel/ptrace32.c u32 index; index 229 arch/powerpc/kernel/ptrace32.c index = (u64)addr >> 2; index 230 arch/powerpc/kernel/ptrace32.c numReg = index / 2; index 244 arch/powerpc/kernel/ptrace32.c if (index % 2) index 255 arch/powerpc/kernel/ptrace32.c ((u32 *)tmp)[index % 2] = data; index 585 arch/powerpc/kernel/rtas.c int rtas_get_sensor(int sensor, int index, int *state) index 594 arch/powerpc/kernel/rtas.c rc = rtas_call(token, 2, 2, state, sensor, index); index 603 arch/powerpc/kernel/rtas.c int rtas_get_sensor_fast(int sensor, int index, int *state) index 611 arch/powerpc/kernel/rtas.c rc = rtas_call(token, 2, 2, state, sensor, index); index 646 arch/powerpc/kernel/rtas.c int rtas_set_indicator(int indicator, int index, int new_value) index 655 arch/powerpc/kernel/rtas.c rc = rtas_call(token, 3, 1, NULL, indicator, index, new_value); index 667 arch/powerpc/kernel/rtas.c int rtas_set_indicator_fast(int indicator, int index, int new_value) index 675 arch/powerpc/kernel/rtas.c rc = rtas_call(token, 3, 1, NULL, indicator, index, new_value); index 151 arch/powerpc/kernel/udbg.c .index = 0, index 349 arch/powerpc/kvm/book3s_64_mmu_hv.c long int index; index 368 arch/powerpc/kvm/book3s_64_mmu_hv.c index = kvmppc_hv_find_lock_hpte(kvm, eaddr, slb_v, index 370 arch/powerpc/kvm/book3s_64_mmu_hv.c if (index < 0) { index 374 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); index 378 arch/powerpc/kvm/book3s_64_mmu_hv.c gr = kvm->arch.hpt.rev[index].guest_rpte; index 505 arch/powerpc/kvm/book3s_64_mmu_hv.c long index, ret, npages; index 537 arch/powerpc/kvm/book3s_64_mmu_hv.c index = vcpu->arch.pgfault_index; index 538 arch/powerpc/kvm/book3s_64_mmu_hv.c hptep = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); index 539 arch/powerpc/kvm/book3s_64_mmu_hv.c rev = &kvm->arch.hpt.rev[index]; index 705 arch/powerpc/kvm/book3s_64_mmu_hv.c kvmppc_invalidate_hpte(kvm, hptep, index); index 709 arch/powerpc/kvm/book3s_64_mmu_hv.c kvmppc_add_revmap_chain(kvm, rev, rmap, index, 0); index 1638 arch/powerpc/kvm/book3s_64_mmu_hv.c unsigned long index; index 1762 arch/powerpc/kvm/book3s_64_mmu_hv.c i = ctx->index; index 1786 arch/powerpc/kvm/book3s_64_mmu_hv.c hdr.index = i; index 1833 arch/powerpc/kvm/book3s_64_mmu_hv.c ctx->index = i; index 1887 arch/powerpc/kvm/book3s_64_mmu_hv.c i = hdr.index; index 1995 arch/powerpc/kvm/book3s_64_mmu_hv.c ctx->index = ghf->start_index; index 133 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long rts, bits, offset, index; index 157 arch/powerpc/kvm/book3s_64_mmu_radix.c index = (eaddr >> offset) & ((1UL << bits) - 1); index 162 arch/powerpc/kvm/book3s_64_mmu_radix.c addr = base + (index * sizeof(rpte)); index 1102 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned int index = vcpu->arch.mmio_cache.index; index 1104 arch/powerpc/kvm/book3s_hv_rm_mmu.c vcpu->arch.mmio_cache.index++; index 1105 arch/powerpc/kvm/book3s_hv_rm_mmu.c if (vcpu->arch.mmio_cache.index == MMIO_HPTE_CACHE_SIZE) index 1106 arch/powerpc/kvm/book3s_hv_rm_mmu.c vcpu->arch.mmio_cache.index = 0; index 1108 arch/powerpc/kvm/book3s_hv_rm_mmu.c return &vcpu->arch.mmio_cache.entry[index]; index 1212 arch/powerpc/kvm/book3s_hv_rm_mmu.c long int index; index 1229 arch/powerpc/kvm/book3s_hv_rm_mmu.c index = cache_entry->pte_index; index 1234 arch/powerpc/kvm/book3s_hv_rm_mmu.c index = kvmppc_hv_find_lock_hpte(kvm, addr, slb_v, valid); index 1235 arch/powerpc/kvm/book3s_hv_rm_mmu.c if (index < 0) { index 1240 arch/powerpc/kvm/book3s_hv_rm_mmu.c hpte = (__be64 *)(kvm->arch.hpt.virt + (index << 4)); index 1247 arch/powerpc/kvm/book3s_hv_rm_mmu.c rev = real_vmalloc_addr(&kvm->arch.hpt.rev[index]); index 1286 arch/powerpc/kvm/book3s_hv_rm_mmu.c vcpu->arch.pgfault_index = index; index 1305 arch/powerpc/kvm/book3s_hv_rm_mmu.c cache_entry->pte_index = index; index 58 arch/powerpc/kvm/book3s_mmu_hpte.c u64 index; index 66 arch/powerpc/kvm/book3s_mmu_hpte.c index = kvmppc_mmu_hash_pte(pte->pte.eaddr); index 67 arch/powerpc/kvm/book3s_mmu_hpte.c hlist_add_head_rcu(&pte->list_pte, &vcpu3s->hpte_hash_pte[index]); index 70 arch/powerpc/kvm/book3s_mmu_hpte.c index = kvmppc_mmu_hash_pte_long(pte->pte.eaddr); index 72 arch/powerpc/kvm/book3s_mmu_hpte.c &vcpu3s->hpte_hash_pte_long[index]); index 75 arch/powerpc/kvm/book3s_mmu_hpte.c index = kvmppc_mmu_hash_vpte(pte->pte.vpage); index 76 arch/powerpc/kvm/book3s_mmu_hpte.c hlist_add_head_rcu(&pte->list_vpte, &vcpu3s->hpte_hash_vpte[index]); index 79 arch/powerpc/kvm/book3s_mmu_hpte.c index = kvmppc_mmu_hash_vpte_long(pte->pte.vpage); index 81 arch/powerpc/kvm/book3s_mmu_hpte.c &vcpu3s->hpte_hash_vpte_long[index]); index 85 arch/powerpc/kvm/book3s_mmu_hpte.c index = kvmppc_mmu_hash_vpte_64k(pte->pte.vpage); index 87 arch/powerpc/kvm/book3s_mmu_hpte.c &vcpu3s->hpte_hash_vpte_64k[index]); index 1886 arch/powerpc/kvm/booke.c uint64_t addr, int index) index 1888 arch/powerpc/kvm/booke.c switch (index) { index 1916 arch/powerpc/kvm/booke.c int type, int index) index 1918 arch/powerpc/kvm/booke.c switch (index) { index 114 arch/powerpc/kvm/e500.h #define tlbsel_of(index) ((index) >> 16) index 115 arch/powerpc/kvm/e500.h #define esel_of(index) ((index) & 0xFFFF) index 472 arch/powerpc/kvm/e500_mmu.c int index; index 481 arch/powerpc/kvm/e500_mmu.c index = kvmppc_e500_tlb_search(vcpu, eaddr, pid, as); index 482 arch/powerpc/kvm/e500_mmu.c if (index < 0) { index 487 arch/powerpc/kvm/e500_mmu.c tr->physical_address = kvmppc_mmu_xlate(vcpu, index, eaddr); index 523 arch/powerpc/kvm/e500_mmu.c gpa_t kvmppc_mmu_xlate(struct kvm_vcpu *vcpu, unsigned int index, index 530 arch/powerpc/kvm/e500_mmu.c gtlbe = get_entry(vcpu_e500, tlbsel_of(index), esel_of(index)); index 587 arch/powerpc/kvm/e500_mmu_host.c unsigned int index) index 592 arch/powerpc/kvm/e500_mmu_host.c int tlbsel = tlbsel_of(index); index 593 arch/powerpc/kvm/e500_mmu_host.c int esel = esel_of(index); index 860 arch/powerpc/kvm/powerpc.c static inline int kvmppc_get_vsr_dword_offset(int index) index 864 arch/powerpc/kvm/powerpc.c if ((index != 0) && (index != 1)) index 868 arch/powerpc/kvm/powerpc.c offset = index; index 870 arch/powerpc/kvm/powerpc.c offset = 1 - index; index 876 arch/powerpc/kvm/powerpc.c static inline int kvmppc_get_vsr_word_offset(int index) index 880 arch/powerpc/kvm/powerpc.c if ((index > 3) || (index < 0)) index 884 arch/powerpc/kvm/powerpc.c offset = index; index 886 arch/powerpc/kvm/powerpc.c offset = 3 - index; index 896 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 901 arch/powerpc/kvm/powerpc.c if (index >= 32) { index 902 arch/powerpc/kvm/powerpc.c val.vval = VCPU_VSX_VR(vcpu, index - 32); index 904 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index - 32) = val.vval; index 906 arch/powerpc/kvm/powerpc.c VCPU_VSX_FPR(vcpu, index, offset) = gpr; index 914 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 916 arch/powerpc/kvm/powerpc.c if (index >= 32) { index 917 arch/powerpc/kvm/powerpc.c val.vval = VCPU_VSX_VR(vcpu, index - 32); index 920 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index - 32) = val.vval; index 922 arch/powerpc/kvm/powerpc.c VCPU_VSX_FPR(vcpu, index, 0) = gpr; index 923 arch/powerpc/kvm/powerpc.c VCPU_VSX_FPR(vcpu, index, 1) = gpr; index 931 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 933 arch/powerpc/kvm/powerpc.c if (index >= 32) { index 938 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index - 32) = val.vval; index 942 arch/powerpc/kvm/powerpc.c VCPU_VSX_FPR(vcpu, index, 0) = val.vsxval[0]; index 943 arch/powerpc/kvm/powerpc.c VCPU_VSX_FPR(vcpu, index, 1) = val.vsxval[0]; index 952 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 958 arch/powerpc/kvm/powerpc.c if (index >= 32) { index 959 arch/powerpc/kvm/powerpc.c val.vval = VCPU_VSX_VR(vcpu, index - 32); index 961 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index - 32) = val.vval; index 965 arch/powerpc/kvm/powerpc.c val.vsxval[0] = VCPU_VSX_FPR(vcpu, index, dword_offset); index 967 arch/powerpc/kvm/powerpc.c VCPU_VSX_FPR(vcpu, index, dword_offset) = val.vsxval[0]; index 974 arch/powerpc/kvm/powerpc.c int index, int element_size) index 979 arch/powerpc/kvm/powerpc.c if ((index < 0) || (index >= elts)) index 983 arch/powerpc/kvm/powerpc.c offset = elts - index - 1; index 985 arch/powerpc/kvm/powerpc.c offset = index; index 991 arch/powerpc/kvm/powerpc.c int index) index 993 arch/powerpc/kvm/powerpc.c return kvmppc_get_vmx_offset_generic(vcpu, index, 8); index 997 arch/powerpc/kvm/powerpc.c int index) index 999 arch/powerpc/kvm/powerpc.c return kvmppc_get_vmx_offset_generic(vcpu, index, 4); index 1003 arch/powerpc/kvm/powerpc.c int index) index 1005 arch/powerpc/kvm/powerpc.c return kvmppc_get_vmx_offset_generic(vcpu, index, 2); index 1009 arch/powerpc/kvm/powerpc.c int index) index 1011 arch/powerpc/kvm/powerpc.c return kvmppc_get_vmx_offset_generic(vcpu, index, 1); index 1021 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 1026 arch/powerpc/kvm/powerpc.c val.vval = VCPU_VSX_VR(vcpu, index); index 1028 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index) = val.vval; index 1037 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 1042 arch/powerpc/kvm/powerpc.c val.vval = VCPU_VSX_VR(vcpu, index); index 1044 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index) = val.vval; index 1053 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 1058 arch/powerpc/kvm/powerpc.c val.vval = VCPU_VSX_VR(vcpu, index); index 1060 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index) = val.vval; index 1069 arch/powerpc/kvm/powerpc.c int index = vcpu->arch.io_gpr & KVM_MMIO_REG_MASK; index 1074 arch/powerpc/kvm/powerpc.c val.vval = VCPU_VSX_VR(vcpu, index); index 1076 arch/powerpc/kvm/powerpc.c VCPU_VSX_VR(vcpu, index) = val.vval; index 1516 arch/powerpc/kvm/powerpc.c int kvmppc_get_vmx_dword(struct kvm_vcpu *vcpu, int index, u64 *val) index 1528 arch/powerpc/kvm/powerpc.c reg.vval = VCPU_VSX_VR(vcpu, index); index 1534 arch/powerpc/kvm/powerpc.c int kvmppc_get_vmx_word(struct kvm_vcpu *vcpu, int index, u64 *val) index 1546 arch/powerpc/kvm/powerpc.c reg.vval = VCPU_VSX_VR(vcpu, index); index 1552 arch/powerpc/kvm/powerpc.c int kvmppc_get_vmx_hword(struct kvm_vcpu *vcpu, int index, u64 *val) index 1564 arch/powerpc/kvm/powerpc.c reg.vval = VCPU_VSX_VR(vcpu, index); index 1570 arch/powerpc/kvm/powerpc.c int kvmppc_get_vmx_byte(struct kvm_vcpu *vcpu, int index, u64 *val) index 1582 arch/powerpc/kvm/powerpc.c reg.vval = VCPU_VSX_VR(vcpu, index); index 1592 arch/powerpc/kvm/powerpc.c unsigned int index = rs & KVM_MMIO_REG_MASK; index 1603 arch/powerpc/kvm/powerpc.c if (kvmppc_get_vmx_dword(vcpu, index, &val) == -1) index 1608 arch/powerpc/kvm/powerpc.c if (kvmppc_get_vmx_word(vcpu, index, &val) == -1) index 1612 arch/powerpc/kvm/powerpc.c if (kvmppc_get_vmx_hword(vcpu, index, &val) == -1) index 1616 arch/powerpc/kvm/powerpc.c if (kvmppc_get_vmx_byte(vcpu, index, &val) == -1) index 122 arch/powerpc/mm/book3s32/mmu.c static void setibat(int index, unsigned long virt, phys_addr_t phys, index 127 arch/powerpc/mm/book3s32/mmu.c struct ppc_bat *bat = BATS[index]; index 140 arch/powerpc/mm/book3s32/mmu.c static void clearibat(int index) index 142 arch/powerpc/mm/book3s32/mmu.c struct ppc_bat *bat = BATS[index]; index 249 arch/powerpc/mm/book3s32/mmu.c void __init setbat(int index, unsigned long virt, phys_addr_t phys, index 254 arch/powerpc/mm/book3s32/mmu.c struct ppc_bat *bat = BATS[index]; index 292 arch/powerpc/mm/book3s32/mmu.c bat_addrs[index].start = virt; index 293 arch/powerpc/mm/book3s32/mmu.c bat_addrs[index].limit = virt + ((bl + 1) << 17) - 1; index 294 arch/powerpc/mm/book3s32/mmu.c bat_addrs[index].phys = phys; index 31 arch/powerpc/mm/book3s64/hash_64k.c bool __rpte_sub_valid(real_pte_t rpte, unsigned long index) index 33 arch/powerpc/mm/book3s64/hash_64k.c return !(hpte_soft_invalid(__rpte_to_hidx(rpte, index))); index 25 arch/powerpc/mm/book3s64/hash_hugepage.c unsigned int index, valid; index 76 arch/powerpc/mm/book3s64/hash_hugepage.c index = (ea & ~HPAGE_PMD_MASK) >> shift; index 77 arch/powerpc/mm/book3s64/hash_hugepage.c BUG_ON(index >= PTE_FRAG_SIZE); index 102 arch/powerpc/mm/book3s64/hash_hugepage.c valid = hpte_valid(hpte_slot_array, index); index 106 arch/powerpc/mm/book3s64/hash_hugepage.c hidx = hpte_hash_index(hpte_slot_array, index); index 124 arch/powerpc/mm/book3s64/hash_hugepage.c hpte_slot_array[index] = 0; index 175 arch/powerpc/mm/book3s64/hash_hugepage.c mark_hpte_slot_valid(hpte_slot_array, index, slot); index 805 arch/powerpc/mm/book3s64/hash_native.c unsigned long hash, index, hidx, shift, slot; index 826 arch/powerpc/mm/book3s64/hash_native.c pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) { index 828 arch/powerpc/mm/book3s64/hash_native.c hidx = __rpte_to_hidx(pte, index); index 858 arch/powerpc/mm/book3s64/hash_native.c vpn, index, shift) { index 875 arch/powerpc/mm/book3s64/hash_native.c vpn, index, shift) { index 52 arch/powerpc/mm/book3s64/hash_tlb.c i = batch->index; index 132 arch/powerpc/mm/book3s64/hash_tlb.c batch->index = ++i; index 149 arch/powerpc/mm/book3s64/hash_tlb.c i = batch->index; index 156 arch/powerpc/mm/book3s64/hash_tlb.c batch->index = 0; index 168 arch/powerpc/mm/book3s64/hash_tlb.c if (tlbbatch->index) index 1117 arch/powerpc/mm/book3s64/hash_utils.c unsigned long index, mask_index; index 1121 arch/powerpc/mm/book3s64/hash_utils.c index = GET_LOW_SLICE_INDEX(addr); index 1124 arch/powerpc/mm/book3s64/hash_utils.c index = GET_HIGH_SLICE_INDEX(addr); index 1126 arch/powerpc/mm/book3s64/hash_utils.c mask_index = index & 0x1; index 1127 arch/powerpc/mm/book3s64/hash_utils.c return (psizes[index >> 1] >> (mask_index * 4)) & 0xF; index 1725 arch/powerpc/mm/book3s64/hash_utils.c unsigned long index, shift, gslot; index 1729 arch/powerpc/mm/book3s64/hash_utils.c pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) { index 1730 arch/powerpc/mm/book3s64/hash_utils.c gslot = pte_get_hash_gslot(vpn, shift, ssize, pte, index); index 1731 arch/powerpc/mm/book3s64/hash_utils.c DBG_LOW(" sub %ld: gslot=%lx\n", index, gslot); index 93 arch/powerpc/mm/book3s64/mmu_context.c int index; index 133 arch/powerpc/mm/book3s64/mmu_context.c index = realloc_context_ids(&mm->context); index 134 arch/powerpc/mm/book3s64/mmu_context.c if (index < 0) { index 139 arch/powerpc/mm/book3s64/mmu_context.c return index; index 143 arch/powerpc/mm/book3s64/mmu_context.c return index; index 156 arch/powerpc/mm/book3s64/mmu_context.c int index, max_id; index 159 arch/powerpc/mm/book3s64/mmu_context.c index = alloc_context_id(mmu_base_pid, max_id); index 160 arch/powerpc/mm/book3s64/mmu_context.c if (index < 0) index 161 arch/powerpc/mm/book3s64/mmu_context.c return index; index 167 arch/powerpc/mm/book3s64/mmu_context.c process_tb[index].prtb0 = cpu_to_be64(rts_field | __pa(mm->pgd) | RADIX_PGD_INDEX_SIZE); index 179 arch/powerpc/mm/book3s64/mmu_context.c return index; index 184 arch/powerpc/mm/book3s64/mmu_context.c int index; index 187 arch/powerpc/mm/book3s64/mmu_context.c index = radix__init_new_context(mm); index 189 arch/powerpc/mm/book3s64/mmu_context.c index = hash__init_new_context(mm); index 191 arch/powerpc/mm/book3s64/mmu_context.c if (index < 0) index 192 arch/powerpc/mm/book3s64/mmu_context.c return index; index 194 arch/powerpc/mm/book3s64/mmu_context.c mm->context.id = index; index 215 arch/powerpc/mm/book3s64/mmu_context.c int index, context_id; index 217 arch/powerpc/mm/book3s64/mmu_context.c for (index = 0; index < ARRAY_SIZE(ctx->extended_id); index++) { index 218 arch/powerpc/mm/book3s64/mmu_context.c context_id = ctx->extended_id[index]; index 351 arch/powerpc/mm/book3s64/pgtable.c static inline void pgtable_free(void *table, int index) index 353 arch/powerpc/mm/book3s64/pgtable.c switch (index) { index 381 arch/powerpc/mm/book3s64/pgtable.c void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int index) index 385 arch/powerpc/mm/book3s64/pgtable.c BUG_ON(index > MAX_PGTABLE_INDEX_SIZE); index 386 arch/powerpc/mm/book3s64/pgtable.c pgf |= index; index 393 arch/powerpc/mm/book3s64/pgtable.c unsigned int index = (unsigned long)_table & MAX_PGTABLE_INDEX_SIZE; index 395 arch/powerpc/mm/book3s64/pgtable.c return pgtable_free(table, index); index 39 arch/powerpc/mm/book3s64/slb.c enum slb_index index) index 41 arch/powerpc/mm/book3s64/slb.c return (ea & slb_esid_mask(ssize)) | SLB_ESID_V | index; index 80 arch/powerpc/mm/book3s64/slb.c enum slb_index index) index 89 arch/powerpc/mm/book3s64/slb.c WRITE_ONCE(p->save_area[index].esid, 0); index 90 arch/powerpc/mm/book3s64/slb.c WRITE_ONCE(p->save_area[index].vsid, cpu_to_be64(mk_vsid_data(ea, ssize, flags))); index 91 arch/powerpc/mm/book3s64/slb.c WRITE_ONCE(p->save_area[index].esid, cpu_to_be64(mk_esid_data(ea, ssize, index))); index 94 arch/powerpc/mm/book3s64/slb.c static inline void slb_shadow_clear(enum slb_index index) index 96 arch/powerpc/mm/book3s64/slb.c WRITE_ONCE(get_slb_shadow()->save_area[index].esid, cpu_to_be64(index)); index 101 arch/powerpc/mm/book3s64/slb.c enum slb_index index) index 108 arch/powerpc/mm/book3s64/slb.c slb_shadow_update(ea, ssize, flags, index); index 113 arch/powerpc/mm/book3s64/slb.c "r" (mk_esid_data(ea, ssize, index)) index 124 arch/powerpc/mm/book3s64/slb.c enum slb_index index; index 127 arch/powerpc/mm/book3s64/slb.c for (index = 0; index < SLB_NUM_BOLTED; index++) { index 129 arch/powerpc/mm/book3s64/slb.c : "r" (be64_to_cpu(p->save_area[index].vsid)), index 130 arch/powerpc/mm/book3s64/slb.c "r" (be64_to_cpu(p->save_area[index].esid))); index 597 arch/powerpc/mm/book3s64/slb.c enum slb_index index; index 616 arch/powerpc/mm/book3s64/slb.c index = ffz(local_paca->slb_used_bitmap); index 617 arch/powerpc/mm/book3s64/slb.c local_paca->slb_used_bitmap |= 1U << index; index 619 arch/powerpc/mm/book3s64/slb.c local_paca->slb_kern_bitmap |= 1U << index; index 622 arch/powerpc/mm/book3s64/slb.c index = local_paca->stab_rr; index 623 arch/powerpc/mm/book3s64/slb.c if (index < (mmu_slb_size - 1)) index 624 arch/powerpc/mm/book3s64/slb.c index++; index 626 arch/powerpc/mm/book3s64/slb.c index = SLB_NUM_BOLTED; index 627 arch/powerpc/mm/book3s64/slb.c local_paca->stab_rr = index; index 628 arch/powerpc/mm/book3s64/slb.c if (index < 32) { index 630 arch/powerpc/mm/book3s64/slb.c local_paca->slb_kern_bitmap |= 1U << index; index 632 arch/powerpc/mm/book3s64/slb.c local_paca->slb_kern_bitmap &= ~(1U << index); index 635 arch/powerpc/mm/book3s64/slb.c BUG_ON(index < SLB_NUM_BOLTED); index 637 arch/powerpc/mm/book3s64/slb.c return index; index 645 arch/powerpc/mm/book3s64/slb.c enum slb_index index; index 662 arch/powerpc/mm/book3s64/slb.c index = alloc_slb_index(kernel); index 665 arch/powerpc/mm/book3s64/slb.c esid_data = mk_esid_data(ea, ssize, index); index 255 arch/powerpc/mm/hugetlbpage.c unsigned int index; index 267 arch/powerpc/mm/hugetlbpage.c for (i = 0; i < batch->index; i++) index 288 arch/powerpc/mm/hugetlbpage.c (*batchp)->index = 0; index 291 arch/powerpc/mm/hugetlbpage.c (*batchp)->ptes[(*batchp)->index++] = hugepte; index 292 arch/powerpc/mm/hugetlbpage.c if ((*batchp)->index == HUGEPD_FREELIST_SIZE) { index 97 arch/powerpc/mm/mmu_decl.h extern void setbat(int index, unsigned long virt, phys_addr_t phys, index 143 arch/powerpc/mm/mmu_decl.h extern void loadcam_entry(unsigned int index); index 77 arch/powerpc/mm/nohash/book3e_hugetlbpage.c int index, ncams; index 81 arch/powerpc/mm/nohash/book3e_hugetlbpage.c index = this_cpu_read(next_tlbcam_idx); index 84 arch/powerpc/mm/nohash/book3e_hugetlbpage.c if (unlikely(index == ncams - 1)) index 89 arch/powerpc/mm/nohash/book3e_hugetlbpage.c return index; index 133 arch/powerpc/mm/nohash/book3e_hugetlbpage.c int index; index 158 arch/powerpc/mm/nohash/book3e_hugetlbpage.c index = tlb1_next(); index 159 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mtspr(SPRN_MAS0, MAS0_ESEL(index) | MAS0_TLBSEL(1)); index 105 arch/powerpc/mm/nohash/fsl_booke.c static void settlbcam(int index, unsigned long virt, phys_addr_t phys, index 117 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS0 = MAS0_TLBSEL(1) | MAS0_ESEL(index) | MAS0_NV(index+1); index 118 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid); index 119 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS2 = virt & PAGE_MASK; index 121 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS2 |= (flags & _PAGE_WRITETHRU) ? MAS2_W : 0; index 122 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS2 |= (flags & _PAGE_NO_CACHE) ? MAS2_I : 0; index 123 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS2 |= (flags & _PAGE_COHERENT) ? MAS2_M : 0; index 124 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS2 |= (flags & _PAGE_GUARDED) ? MAS2_G : 0; index 125 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS2 |= (flags & _PAGE_ENDIAN) ? MAS2_E : 0; index 127 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SX | MAS3_SR; index 128 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_SW : 0); index 130 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS7 = (u64)phys >> 32; index 134 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS3 |= MAS3_UX | MAS3_UR; index 135 arch/powerpc/mm/nohash/fsl_booke.c TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_UW : 0); index 138 arch/powerpc/mm/nohash/fsl_booke.c tlbcam_addrs[index].start = virt; index 139 arch/powerpc/mm/nohash/fsl_booke.c tlbcam_addrs[index].limit = virt + size - 1; index 140 arch/powerpc/mm/nohash/fsl_booke.c tlbcam_addrs[index].phys = phys; index 170 arch/powerpc/mm/numa.c int i, index; index 173 arch/powerpc/mm/numa.c index = be32_to_cpu(distance_ref_points[i]); index 174 arch/powerpc/mm/numa.c if (cpu1_assoc[index] == cpu2_assoc[index]) index 437 arch/powerpc/mm/numa.c int rc, index; index 448 arch/powerpc/mm/numa.c index = lmb->aa_index * aa.array_sz + min_common_depth - 1; index 449 arch/powerpc/mm/numa.c nid = of_read_number(&aa.arrays[index], 1); index 455 arch/powerpc/mm/numa.c index = lmb->aa_index * aa.array_sz; index 457 arch/powerpc/mm/numa.c &aa.arrays[index]); index 190 arch/powerpc/mm/slice.c int index, mask_index; index 213 arch/powerpc/mm/slice.c index = i >> 1; index 216 arch/powerpc/mm/slice.c old_psize = (lpsizes[index] >> (mask_index * 4)) & 0xf; index 222 arch/powerpc/mm/slice.c lpsizes[index] = (lpsizes[index] & ~(0xf << (mask_index * 4))) | index 232 arch/powerpc/mm/slice.c index = i >> 1; index 235 arch/powerpc/mm/slice.c old_psize = (hpsizes[index] >> (mask_index * 4)) & 0xf; index 241 arch/powerpc/mm/slice.c hpsizes[index] = (hpsizes[index] & ~(0xf << (mask_index * 4))) | index 665 arch/powerpc/mm/slice.c int index, mask_index; index 671 arch/powerpc/mm/slice.c index = GET_LOW_SLICE_INDEX(addr); index 674 arch/powerpc/mm/slice.c index = GET_HIGH_SLICE_INDEX(addr); index 676 arch/powerpc/mm/slice.c mask_index = index & 0x1; index 677 arch/powerpc/mm/slice.c return (psizes[index >> 1] >> (mask_index * 4)) & 0xf; index 257 arch/powerpc/oprofile/cell/spu_task_sync.c int index, end; index 261 arch/powerpc/oprofile/cell/spu_task_sync.c index = 0; index 271 arch/powerpc/oprofile/cell/spu_task_sync.c index = spu_index; index 273 arch/powerpc/oprofile/cell/spu_task_sync.c for (; index < end; index++) { index 274 arch/powerpc/oprofile/cell/spu_task_sync.c if (spu_info[index]) { index 275 arch/powerpc/oprofile/cell/spu_task_sync.c kref_put(&spu_info[index]->cache_ref, index 277 arch/powerpc/oprofile/cell/spu_task_sync.c spu_info[index] = NULL; index 1056 arch/powerpc/oprofile/op_model_cell.c int index; index 1059 arch/powerpc/oprofile/op_model_cell.c index = 0; index 1061 arch/powerpc/oprofile/op_model_cell.c index = ((n - V2_16) >> 12) + 1; index 1063 arch/powerpc/oprofile/op_model_cell.c index = ((n - V2_16 - V2_19) >> 15 ) + 1 + 128; index 1065 arch/powerpc/oprofile/op_model_cell.c index = ((n - V2_16 - V2_19 - V2_22) >> 18 ) + 1 + 256; index 1067 arch/powerpc/oprofile/op_model_cell.c index = ENTRIES-1; index 1070 arch/powerpc/oprofile/op_model_cell.c if ((index >= ENTRIES) || (index < 0)) index 1071 arch/powerpc/oprofile/op_model_cell.c index = ENTRIES-1; index 1073 arch/powerpc/oprofile/op_model_cell.c return initial_lfsr[index]; index 286 arch/powerpc/perf/hv-24x7.c unsigned long version, unsigned long index) index 289 arch/powerpc/perf/hv-24x7.c phys_4096, version, index); index 294 arch/powerpc/perf/hv-24x7.c phys_4096, version, index); index 297 arch/powerpc/perf/hv-24x7.c static long h_get_24x7_catalog_page(char page[], u64 version, u32 index) index 300 arch/powerpc/perf/hv-24x7.c version, index); index 76 arch/powerpc/perf/req-gen/perf.h #define REQUEST_(r_name, r_value, index, r_fields) \ index 211 arch/powerpc/platforms/4xx/pci.c int index) index 244 arch/powerpc/platforms/4xx/pci.c writel(plb_addr, reg + PCIL0_PMM0LA + (0x10 * index)); index 245 arch/powerpc/platforms/4xx/pci.c writel(pcila, reg + PCIL0_PMM0PCILA + (0x10 * index)); index 246 arch/powerpc/platforms/4xx/pci.c writel(pciha, reg + PCIL0_PMM0PCIHA + (0x10 * index)); index 247 arch/powerpc/platforms/4xx/pci.c writel(ma, reg + PCIL0_PMM0MA + (0x10 * index)); index 415 arch/powerpc/platforms/4xx/pci.c int index) index 434 arch/powerpc/platforms/4xx/pci.c if (index == 0) { index 639 arch/powerpc/platforms/4xx/pci.c unsigned int index; index 676 arch/powerpc/platforms/4xx/pci.c port->index, sdr_offset, timeout_ms, val); index 689 arch/powerpc/platforms/4xx/pci.c port->index); index 698 arch/powerpc/platforms/4xx/pci.c printk(KERN_INFO "PCIE%d: Checking link...\n", port->index); index 712 arch/powerpc/platforms/4xx/pci.c port->index); index 716 arch/powerpc/platforms/4xx/pci.c "PCIE%d: Link up failed\n", port->index); index 719 arch/powerpc/platforms/4xx/pci.c "PCIE%d: link is up !\n", port->index); index 723 arch/powerpc/platforms/4xx/pci.c printk(KERN_INFO "PCIE%d: No device detected.\n", port->index); index 852 arch/powerpc/platforms/4xx/pci.c if (port->index == 0) index 865 arch/powerpc/platforms/4xx/pci.c if (port->index == 0) { index 957 arch/powerpc/platforms/4xx/pci.c if (port->index == 0) { index 969 arch/powerpc/platforms/4xx/pci.c switch (port->index) { index 1002 arch/powerpc/platforms/4xx/pci.c switch (port->index) { index 1379 arch/powerpc/platforms/4xx/pci.c printk(KERN_INFO "PCIE%d: Checking link...\n", port->index); index 1383 arch/powerpc/platforms/4xx/pci.c port->index); index 1396 arch/powerpc/platforms/4xx/pci.c printk(KERN_INFO "PCIE%d: link is up !\n", port->index); index 1399 arch/powerpc/platforms/4xx/pci.c printk(KERN_WARNING "PCIE%d: Link up failed\n", port->index); index 1531 arch/powerpc/platforms/4xx/pci.c port->index); index 1538 arch/powerpc/platforms/4xx/pci.c port->index); index 1717 arch/powerpc/platforms/4xx/pci.c int index) index 1722 arch/powerpc/platforms/4xx/pci.c (index < 2 && size < 0x100000) || index 1723 arch/powerpc/platforms/4xx/pci.c (index == 2 && size < 0x100) || index 1737 arch/powerpc/platforms/4xx/pci.c switch (index) { index 1939 arch/powerpc/platforms/4xx/pci.c hose->indirect_type = port->index; index 2032 arch/powerpc/platforms/4xx/pci.c val = 0xaaa0 + port->index; index 2034 arch/powerpc/platforms/4xx/pci.c val = 0xeee0 + port->index; index 2043 arch/powerpc/platforms/4xx/pci.c val = 0xbed0 + port->index; index 2045 arch/powerpc/platforms/4xx/pci.c val = 0xfed0 + port->index; index 2058 arch/powerpc/platforms/4xx/pci.c port->index); index 2064 arch/powerpc/platforms/4xx/pci.c port->index); index 2103 arch/powerpc/platforms/4xx/pci.c port->index = portno; index 2109 arch/powerpc/platforms/4xx/pci.c printk(KERN_INFO "PCIE%d: Port disabled via device-tree\n", port->index); index 2159 arch/powerpc/platforms/4xx/pci.c printk(KERN_WARNING "PCIE%d: Port init failed\n", port->index); index 41 arch/powerpc/platforms/4xx/uic.c int index; index 247 arch/powerpc/platforms/4xx/uic.c uic->index = *indexp; index 269 arch/powerpc/platforms/4xx/uic.c printk ("UIC%d (%d IRQ sources) at DCR 0x%x\n", uic->index, index 154 arch/powerpc/platforms/cell/iommu.c static int tce_build_cell(struct iommu_table *tbl, long index, long npages, index 186 arch/powerpc/platforms/cell/iommu.c io_pte = (unsigned long *)tbl->it_base + (index - tbl->it_offset); index 196 arch/powerpc/platforms/cell/iommu.c index, npages, direction, base_pte); index 200 arch/powerpc/platforms/cell/iommu.c static void tce_free_cell(struct iommu_table *tbl, long index, long npages) index 208 arch/powerpc/platforms/cell/iommu.c pr_debug("tce_free_cell(index=%lx,n=%lx)\n", index, npages); index 220 arch/powerpc/platforms/cell/iommu.c io_pte = (unsigned long *)tbl->it_base + (index - tbl->it_offset); index 603 arch/powerpc/platforms/cell/iommu.c unsigned long index; index 613 arch/powerpc/platforms/cell/iommu.c of_parse_dma_window(np, dma_window, &index, base, size); index 212 arch/powerpc/platforms/chrp/pci.c int len, index = -1; index 236 arch/powerpc/platforms/chrp/pci.c ++index; index 290 arch/powerpc/platforms/chrp/pci.c if (index == 0) { index 306 arch/powerpc/platforms/chrp/pci.c pci_process_bridge_OF_ranges(hose, dev, index == 0); index 311 arch/powerpc/platforms/chrp/pci.c if (index == 0 && dma != NULL && len >= 6 * sizeof(*dma)) { index 163 arch/powerpc/platforms/chrp/setup.c static inline void __init sio_write(u8 val, u8 index) index 165 arch/powerpc/platforms/chrp/setup.c outb(index, 0x15c); index 169 arch/powerpc/platforms/chrp/setup.c static inline u8 __init sio_read(u8 index) index 171 arch/powerpc/platforms/chrp/setup.c outb(index, 0x15c); index 468 arch/powerpc/platforms/pasemi/dma_lib.c static void *map_onedev(struct pci_dev *p, int index) index 477 arch/powerpc/platforms/pasemi/dma_lib.c ret = of_iomap(dn, index); index 76 arch/powerpc/platforms/pasemi/iommu.c static int iobmap_build(struct iommu_table *tbl, long index, index 85 arch/powerpc/platforms/pasemi/iommu.c pr_debug("iobmap: build at: %lx, %lx, addr: %lx\n", index, npages, uaddr); index 87 arch/powerpc/platforms/pasemi/iommu.c bus_addr = (tbl->it_offset + index) << IOBMAP_PAGE_SHIFT; index 89 arch/powerpc/platforms/pasemi/iommu.c ip = ((u32 *)tbl->it_base) + index; index 105 arch/powerpc/platforms/pasemi/iommu.c static void iobmap_free(struct iommu_table *tbl, long index, index 111 arch/powerpc/platforms/pasemi/iommu.c pr_debug("iobmap: free at: %lx, %lx\n", index, npages); index 113 arch/powerpc/platforms/pasemi/iommu.c bus_addr = (tbl->it_offset + index) << IOBMAP_PAGE_SHIFT; index 115 arch/powerpc/platforms/pasemi/iommu.c ip = ((u32 *)tbl->it_base) + index; index 2709 arch/powerpc/platforms/powermac/feature.c macio_chips[0].lbus.index = 0; index 2710 arch/powerpc/platforms/powermac/feature.c macio_chips[1].lbus.index = 1; index 99 arch/powerpc/platforms/powermac/nvram.c static ssize_t core99_nvram_read(char *buf, size_t count, loff_t *index) index 105 arch/powerpc/platforms/powermac/nvram.c if (*index > NVRAM_SIZE) index 108 arch/powerpc/platforms/powermac/nvram.c i = *index; index 113 arch/powerpc/platforms/powermac/nvram.c *index = i + count; index 117 arch/powerpc/platforms/powermac/nvram.c static ssize_t core99_nvram_write(char *buf, size_t count, loff_t *index) index 123 arch/powerpc/platforms/powermac/nvram.c if (*index > NVRAM_SIZE) index 126 arch/powerpc/platforms/powermac/nvram.c i = *index; index 131 arch/powerpc/platforms/powermac/nvram.c *index = i + count; index 396 arch/powerpc/platforms/powermac/pic.c int of_irq_parse_oldworld(struct device_node *device, int index, index 422 arch/powerpc/platforms/powermac/pic.c if (index >= intlen) index 426 arch/powerpc/platforms/powermac/pic.c out_irq->args[0] = ints[index]; index 68 arch/powerpc/platforms/powernv/npu-dma.c struct pci_dev *pnv_pci_get_npu_dev(struct pci_dev *gpdev, int index) index 81 arch/powerpc/platforms/powernv/npu-dma.c dn = of_parse_phandle(gpdev->dev.of_node, "ibm,npu", index); index 269 arch/powerpc/platforms/powernv/npu-dma.c int index; index 541 arch/powerpc/platforms/powernv/npu-dma.c npu->index = npu_index; index 26 arch/powerpc/platforms/powernv/opal-nvram.c static ssize_t opal_nvram_read(char *buf, size_t count, loff_t *index) index 31 arch/powerpc/platforms/powernv/opal-nvram.c if (*index >= nvram_size) index 33 arch/powerpc/platforms/powernv/opal-nvram.c off = *index; index 39 arch/powerpc/platforms/powernv/opal-nvram.c *index += count; index 47 arch/powerpc/platforms/powernv/opal-nvram.c static ssize_t opal_nvram_write(char *buf, size_t count, loff_t *index) index 52 arch/powerpc/platforms/powernv/opal-nvram.c if (*index >= nvram_size) index 54 arch/powerpc/platforms/powernv/opal-nvram.c off = *index; index 77 arch/powerpc/platforms/powernv/opal-nvram.c *index += count; index 120 arch/powerpc/platforms/powernv/opal-sensor-groups.c static void add_attr(int handle, struct sg_attr *attr, int index) index 124 arch/powerpc/platforms/powernv/opal-sensor-groups.c attr->attr.attr.name = ops_info[index].attr_name; index 126 arch/powerpc/platforms/powernv/opal-sensor-groups.c attr->attr.store = ops_info[index].store; index 96 arch/powerpc/platforms/powernv/pci-ioda-tce.c int pnv_tce_build(struct iommu_table *tbl, long index, long npages, index 110 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned long idx = index - tbl->it_offset + i; index 119 arch/powerpc/platforms/powernv/pci-ioda-tce.c int pnv_tce_xchg(struct iommu_table *tbl, long index, index 125 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned long idx = index - tbl->it_offset; index 154 arch/powerpc/platforms/powernv/pci-ioda-tce.c __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index, bool alloc) index 159 arch/powerpc/platforms/powernv/pci-ioda-tce.c return pnv_tce(tbl, true, index - tbl->it_offset, alloc); index 163 arch/powerpc/platforms/powernv/pci-ioda-tce.c void pnv_tce_free(struct iommu_table *tbl, long index, long npages) index 168 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned long idx = index - tbl->it_offset + i; index 179 arch/powerpc/platforms/powernv/pci-ioda-tce.c unsigned long pnv_tce_get(struct iommu_table *tbl, long index) index 181 arch/powerpc/platforms/powernv/pci-ioda-tce.c __be64 *ptce = pnv_tce(tbl, false, index - tbl->it_offset, false); index 281 arch/powerpc/platforms/powernv/pci-ioda.c int index; index 288 arch/powerpc/platforms/powernv/pci-ioda.c for (index = 0; index < PNV_IODA1_M64_NUM; index++) { index 293 arch/powerpc/platforms/powernv/pci-ioda.c index * PNV_IODA1_M64_SEGS * segsz; index 295 arch/powerpc/platforms/powernv/pci-ioda.c OPAL_M64_WINDOW_TYPE, index, base, 0, index 299 arch/powerpc/platforms/powernv/pci-ioda.c rc, phb->hose->global_number, index); index 304 arch/powerpc/platforms/powernv/pci-ioda.c OPAL_M64_WINDOW_TYPE, index, index 308 arch/powerpc/platforms/powernv/pci-ioda.c rc, phb->hose->global_number, index); index 329 arch/powerpc/platforms/powernv/pci-ioda.c for ( ; index >= 0; index--) index 331 arch/powerpc/platforms/powernv/pci-ioda.c OPAL_M64_WINDOW_TYPE, index, OPAL_DISABLE_M64); index 1902 arch/powerpc/platforms/powernv/pci-ioda.c unsigned long index, unsigned long npages, bool rm) index 1912 arch/powerpc/platforms/powernv/pci-ioda.c start = __pa(((__be64 *)tbl->it_base) + index - tbl->it_offset); index 1913 arch/powerpc/platforms/powernv/pci-ioda.c end = __pa(((__be64 *)tbl->it_base) + index - tbl->it_offset + index 1938 arch/powerpc/platforms/powernv/pci-ioda.c static int pnv_ioda1_tce_build(struct iommu_table *tbl, long index, index 1943 arch/powerpc/platforms/powernv/pci-ioda.c int ret = pnv_tce_build(tbl, index, npages, uaddr, direction, index 1947 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_p7ioc_tce_invalidate(tbl, index, npages, false); index 1954 arch/powerpc/platforms/powernv/pci-ioda.c static int pnv_ioda_tce_xchg_no_kill(struct iommu_table *tbl, long index, index 1958 arch/powerpc/platforms/powernv/pci-ioda.c return pnv_tce_xchg(tbl, index, hpa, direction, !realmode); index 1962 arch/powerpc/platforms/powernv/pci-ioda.c static void pnv_ioda1_tce_free(struct iommu_table *tbl, long index, index 1965 arch/powerpc/platforms/powernv/pci-ioda.c pnv_tce_free(tbl, index, npages); index 1967 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_p7ioc_tce_invalidate(tbl, index, npages, false); index 2008 arch/powerpc/platforms/powernv/pci-ioda.c unsigned shift, unsigned long index, index 2020 arch/powerpc/platforms/powernv/pci-ioda.c start |= (index << shift); index 2021 arch/powerpc/platforms/powernv/pci-ioda.c end |= ((index + npages - 1) << shift); index 2046 arch/powerpc/platforms/powernv/pci-ioda.c unsigned long index, unsigned long npages, bool rm) index 2072 arch/powerpc/platforms/powernv/pci-ioda.c index, npages); index 2077 arch/powerpc/platforms/powernv/pci-ioda.c index << shift, npages); index 2089 arch/powerpc/platforms/powernv/pci-ioda.c static int pnv_ioda2_tce_build(struct iommu_table *tbl, long index, index 2094 arch/powerpc/platforms/powernv/pci-ioda.c int ret = pnv_tce_build(tbl, index, npages, uaddr, direction, index 2098 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_ioda2_tce_invalidate(tbl, index, npages, false); index 2103 arch/powerpc/platforms/powernv/pci-ioda.c static void pnv_ioda2_tce_free(struct iommu_table *tbl, long index, index 2106 arch/powerpc/platforms/powernv/pci-ioda.c pnv_tce_free(tbl, index, npages); index 2108 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_ioda2_tce_invalidate(tbl, index, npages, false); index 3008 arch/powerpc/platforms/powernv/pci-ioda.c int index; index 3017 arch/powerpc/platforms/powernv/pci-ioda.c index = region.start / phb->ioda.io_segsize; index 3019 arch/powerpc/platforms/powernv/pci-ioda.c while (index < phb->ioda.total_pe_num && index 3021 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.io_segmap[index] = pe->pe_number; index 3023 arch/powerpc/platforms/powernv/pci-ioda.c pe->pe_number, OPAL_IO_WINDOW_TYPE, 0, index); index 3026 arch/powerpc/platforms/powernv/pci-ioda.c __func__, rc, index, pe->pe_number); index 3031 arch/powerpc/platforms/powernv/pci-ioda.c index++; index 3041 arch/powerpc/platforms/powernv/pci-ioda.c index = region.start / phb->ioda.m32_segsize; index 3043 arch/powerpc/platforms/powernv/pci-ioda.c while (index < phb->ioda.total_pe_num && index 3045 arch/powerpc/platforms/powernv/pci-ioda.c phb->ioda.m32_segmap[index] = pe->pe_number; index 3047 arch/powerpc/platforms/powernv/pci-ioda.c pe->pe_number, OPAL_M32_WINDOW_TYPE, 0, index); index 3050 arch/powerpc/platforms/powernv/pci-ioda.c __func__, rc, index, pe->pe_number); index 3055 arch/powerpc/platforms/powernv/pci-ioda.c index++; index 225 arch/powerpc/platforms/powernv/pci.h extern int pnv_tce_build(struct iommu_table *tbl, long index, long npages, index 228 arch/powerpc/platforms/powernv/pci.h extern void pnv_tce_free(struct iommu_table *tbl, long index, long npages); index 229 arch/powerpc/platforms/powernv/pci.h extern int pnv_tce_xchg(struct iommu_table *tbl, long index, index 232 arch/powerpc/platforms/powernv/pci.h extern __be64 *pnv_tce_useraddrptr(struct iommu_table *tbl, long index, index 234 arch/powerpc/platforms/powernv/pci.h extern unsigned long pnv_tce_get(struct iommu_table *tbl, long index); index 74 arch/powerpc/platforms/ps3/repository.c static u64 make_first_field(const char *text, u64 index) index 79 arch/powerpc/platforms/ps3/repository.c return PS3_VENDOR_ID_NONE + (n >> 32) + index; index 90 arch/powerpc/platforms/ps3/repository.c static u64 make_field(const char *text, u64 index) index 95 arch/powerpc/platforms/ps3/repository.c return n + index; index 84 arch/powerpc/platforms/pseries/cmm.c unsigned long index; index 165 arch/powerpc/platforms/pseries/cmm.c if (!pa || pa->index >= CMM_NR_PAGES) { index 179 arch/powerpc/platforms/pseries/cmm.c if (!pa || pa->index >= CMM_NR_PAGES) { index 181 arch/powerpc/platforms/pseries/cmm.c npa->index = 0; index 195 arch/powerpc/platforms/pseries/cmm.c pa->page[pa->index++] = addr; index 222 arch/powerpc/platforms/pseries/cmm.c if (!pa || pa->index <= 0) index 224 arch/powerpc/platforms/pseries/cmm.c addr = pa->page[--pa->index]; index 226 arch/powerpc/platforms/pseries/cmm.c if (pa->index == 0) { index 509 arch/powerpc/platforms/pseries/cmm.c for (idx = 0; idx < pa->index; idx++) index 566 arch/powerpc/platforms/pseries/cmm.c for (idx = (pa_curr->index - 1); (idx + 1) > 0; idx--) { index 576 arch/powerpc/platforms/pseries/cmm.c pa_curr->page[idx] = pa_last->page[--pa_last->index]; index 577 arch/powerpc/platforms/pseries/cmm.c if (pa_last->index == 0) { index 350 arch/powerpc/platforms/pseries/dlpar.c hp_elog->_drc_u.ic.index = index 351 arch/powerpc/platforms/pseries/dlpar.c be32_to_cpu(hp_elog->_drc_u.ic.index); index 447 arch/powerpc/platforms/pseries/dlpar.c u32 count, index; index 472 arch/powerpc/platforms/pseries/dlpar.c if (kstrtou32(arg, 0, &index)) { index 478 arch/powerpc/platforms/pseries/dlpar.c hp_elog->_drc_u.ic.index = cpu_to_be32(index); index 487 arch/powerpc/platforms/pseries/dlpar.c if (kstrtou32(arg, 0, &index)) { index 492 arch/powerpc/platforms/pseries/dlpar.c hp_elog->_drc_u.drc_index = cpu_to_be32(index); index 55 arch/powerpc/platforms/pseries/dtl.c static void consume_dtle(struct dtl_entry *dtle, u64 index) index 68 arch/powerpc/platforms/pseries/dtl.c if (index + N_DISPATCH_LOG < be64_to_cpu(vpa->dtl_idx)) index 121 arch/powerpc/platforms/pseries/firmware.c unsigned int index, feat; index 127 arch/powerpc/platforms/pseries/firmware.c index = OV5_INDX(vec5_fw_features_table[i].feature); index 130 arch/powerpc/platforms/pseries/firmware.c if (index < len && (vec5[index] & feat)) index 413 arch/powerpc/platforms/pseries/hotplug-cpu.c int rc, index; index 415 arch/powerpc/platforms/pseries/hotplug-cpu.c index = 0; index 420 arch/powerpc/platforms/pseries/hotplug-cpu.c index++, &drc); index 724 arch/powerpc/platforms/pseries/hotplug-cpu.c int index, rc; index 738 arch/powerpc/platforms/pseries/hotplug-cpu.c index = 1; index 743 arch/powerpc/platforms/pseries/hotplug-cpu.c index++, &drc); index 107 arch/powerpc/platforms/pseries/hotplug-memory.c int i, index; index 122 arch/powerpc/platforms/pseries/hotplug-memory.c index = (i * aa_array_entries) + 2; index 124 arch/powerpc/platforms/pseries/hotplug-memory.c if (memcmp(&assoc_arrays[index], &lmb_assoc[1], aa_array_sz)) index 142 arch/powerpc/platforms/pseries/hotplug-memory.c index = aa_arrays * aa_array_entries + 2; index 143 arch/powerpc/platforms/pseries/hotplug-memory.c memcpy(&assoc_arrays[index], &lmb_assoc[1], aa_array_sz); index 896 arch/powerpc/platforms/pseries/hotplug-memory.c drc_index = hp_elog->_drc_u.ic.index; index 917 arch/powerpc/platforms/pseries/hotplug-memory.c drc_index = hp_elog->_drc_u.ic.index; index 88 arch/powerpc/platforms/pseries/iommu.c static int tce_build_pSeries(struct iommu_table *tbl, long index, index 102 arch/powerpc/platforms/pseries/iommu.c tcep = ((__be64 *)tbl->it_base) + index; index 116 arch/powerpc/platforms/pseries/iommu.c static void tce_free_pSeries(struct iommu_table *tbl, long index, long npages) index 120 arch/powerpc/platforms/pseries/iommu.c tcep = ((__be64 *)tbl->it_base) + index; index 126 arch/powerpc/platforms/pseries/iommu.c static unsigned long tce_get_pseries(struct iommu_table *tbl, long index) index 130 arch/powerpc/platforms/pseries/iommu.c tcep = ((__be64 *)tbl->it_base) + index; index 638 arch/powerpc/platforms/pseries/iommu.c static int tce_exchange_pseries(struct iommu_table *tbl, long index, unsigned index 643 arch/powerpc/platforms/pseries/iommu.c unsigned long ioba = (unsigned long) index << tbl->it_page_shift; index 1188 arch/powerpc/platforms/pseries/lpar.c int i, index = 0; index 1214 arch/powerpc/platforms/pseries/lpar.c slot_array[index] = slot; index 1215 arch/powerpc/platforms/pseries/lpar.c vpn_array[index] = vpn; index 1216 arch/powerpc/platforms/pseries/lpar.c if (index == PPC64_HUGE_HPTE_BATCH - 1) { index 1224 arch/powerpc/platforms/pseries/lpar.c index = 0; index 1226 arch/powerpc/platforms/pseries/lpar.c index++; index 1228 arch/powerpc/platforms/pseries/lpar.c if (index) index 1230 arch/powerpc/platforms/pseries/lpar.c index, psize, ssize); index 1265 arch/powerpc/platforms/pseries/lpar.c unsigned long index, index 1272 arch/powerpc/platforms/pseries/lpar.c hidx = __rpte_to_hidx(pte, index); index 1289 arch/powerpc/platforms/pseries/lpar.c unsigned long index, shift, slot, current_vpgb, vpgb; index 1299 arch/powerpc/platforms/pseries/lpar.c pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) { index 1319 arch/powerpc/platforms/pseries/lpar.c slot = compute_slot(pte, vpn, index, shift, ssize); index 1488 arch/powerpc/platforms/pseries/lpar.c unsigned long index, shift, slot; index 1506 arch/powerpc/platforms/pseries/lpar.c pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) { index 1507 arch/powerpc/platforms/pseries/lpar.c slot = compute_slot(pte, vpn, index, shift, ssize); index 37 arch/powerpc/platforms/pseries/nvram.c static ssize_t pSeries_nvram_read(char *buf, size_t count, loff_t *index) index 49 arch/powerpc/platforms/pseries/nvram.c if (*index >= nvram_size) index 52 arch/powerpc/platforms/pseries/nvram.c i = *index; index 77 arch/powerpc/platforms/pseries/nvram.c *index = i; index 81 arch/powerpc/platforms/pseries/nvram.c static ssize_t pSeries_nvram_write(char *buf, size_t count, loff_t *index) index 92 arch/powerpc/platforms/pseries/nvram.c if (*index >= nvram_size) index 95 arch/powerpc/platforms/pseries/nvram.c i = *index; index 119 arch/powerpc/platforms/pseries/nvram.c *index = i; index 168 arch/powerpc/platforms/pseries/nvram.c if (rtas_log_partition.index == -1) index 171 arch/powerpc/platforms/pseries/nvram.c tmp_index = rtas_log_partition.index; index 193 arch/powerpc/platforms/pseries/nvram.c return (oops_log_partition.index == rtas_log_partition.index index 72 arch/powerpc/platforms/pseries/pmem.c uint32_t index; index 76 arch/powerpc/platforms/pseries/pmem.c if (of_property_read_u32(dn, "ibm,my-drc-index", &index)) index 78 arch/powerpc/platforms/pseries/pmem.c if (index == drc_index) index 172 arch/powerpc/sysdev/dart_iommu.c static int dart_build(struct iommu_table *tbl, long index, index 181 arch/powerpc/sysdev/dart_iommu.c DBG("dart: build at: %lx, %lx, addr: %x\n", index, npages, uaddr); index 183 arch/powerpc/sysdev/dart_iommu.c orig_dp = dp = ((unsigned int*)tbl->it_base) + index; index 199 arch/powerpc/sysdev/dart_iommu.c rpn = index; index 209 arch/powerpc/sysdev/dart_iommu.c static void dart_free(struct iommu_table *tbl, long index, long npages) index 219 arch/powerpc/sysdev/dart_iommu.c DBG("dart: free at: %lx, %lx\n", index, npages); index 221 arch/powerpc/sysdev/dart_iommu.c orig_dp = dp = ((unsigned int *)tbl->it_base) + index; index 116 arch/powerpc/sysdev/dcr.c unsigned int index) index 121 arch/powerpc/sysdev/dcr.c if (dr == NULL || ds & 1 || index >= (ds / 8)) index 124 arch/powerpc/sysdev/dcr.c return dr[index * 2]; index 128 arch/powerpc/sysdev/dcr.c unsigned int dcr_resource_len(const struct device_node *np, unsigned int index) index 133 arch/powerpc/sysdev/dcr.c if (dr == NULL || ds & 1 || index >= (ds / 8)) index 136 arch/powerpc/sysdev/dcr.c return dr[index * 2 + 1]; index 48 arch/powerpc/sysdev/fsl_msi.c int index; index 280 arch/powerpc/sysdev/fsl_msi.c msir_index = cascade_data->index; index 374 arch/powerpc/sysdev/fsl_msi.c cascade_data->index = offset; index 144 arch/powerpc/sysdev/fsl_pci.c unsigned int index, const struct resource *res, index 163 arch/powerpc/sysdev/fsl_pci.c if (index + i >= 5) index 166 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].potar, pci_addr >> 12); index 167 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].potear, (u64)pci_addr >> 44); index 168 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].powbar, phys_addr >> 12); index 169 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].powar, flags | (bits - 1)); index 134 arch/powerpc/sysdev/fsl_rio.c int index, u32 offset, int len, u32 *data) index 137 arch/powerpc/sysdev/fsl_rio.c pr_debug("fsl_local_config_read: index %d offset %8.8x\n", index, index 156 arch/powerpc/sysdev/fsl_rio.c int index, u32 offset, int len, u32 data) index 161 arch/powerpc/sysdev/fsl_rio.c index, offset, data); index 181 arch/powerpc/sysdev/fsl_rio.c fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, index 192 arch/powerpc/sysdev/fsl_rio.c index, destid, hopcount, offset, len); index 246 arch/powerpc/sysdev/fsl_rio.c fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, index 257 arch/powerpc/sysdev/fsl_rio.c index, destid, hopcount, offset, len, val); index 624 arch/powerpc/sysdev/fsl_rio.c port->index = (unsigned char)i; index 132 arch/powerpc/sysdev/fsl_rio.h int index, u16 destid, u16 data); index 625 arch/powerpc/sysdev/fsl_rmu.c int index, u16 destid, u16 data) index 630 arch/powerpc/sysdev/fsl_rmu.c index, destid, data); index 640 arch/powerpc/sysdev/fsl_rmu.c out_be32(&dbell->dbell_regs->oddatr, (index << 20) | data); index 687 arch/powerpc/sysdev/fsl_rmu.c desc->dattr = 0x28000000 | ((mport->index) << 20); index 24 arch/powerpc/sysdev/mmio_nvram.c static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index) index 28 arch/powerpc/sysdev/mmio_nvram.c if (*index >= mmio_nvram_len) index 30 arch/powerpc/sysdev/mmio_nvram.c if (*index + count > mmio_nvram_len) index 31 arch/powerpc/sysdev/mmio_nvram.c count = mmio_nvram_len - *index; index 35 arch/powerpc/sysdev/mmio_nvram.c memcpy_fromio(buf, mmio_nvram_start + *index, count); index 39 arch/powerpc/sysdev/mmio_nvram.c *index += count; index 60 arch/powerpc/sysdev/mmio_nvram.c static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index) index 64 arch/powerpc/sysdev/mmio_nvram.c if (*index >= mmio_nvram_len) index 66 arch/powerpc/sysdev/mmio_nvram.c if (*index + count > mmio_nvram_len) index 67 arch/powerpc/sysdev/mmio_nvram.c count = mmio_nvram_len - *index; index 71 arch/powerpc/sysdev/mmio_nvram.c memcpy_toio(mmio_nvram_start + *index, buf, count); index 75 arch/powerpc/sysdev/mmio_nvram.c *index += count; index 380 arch/powerpc/sysdev/mpic.c unsigned int soff = (fixup->index >> 3) & ~3; index 381 arch/powerpc/sysdev/mpic.c unsigned int mask = 1U << (fixup->index & 0x1f); index 385 arch/powerpc/sysdev/mpic.c writeb(0x11 + 2 * fixup->index, fixup->base + 2); index 402 arch/powerpc/sysdev/mpic.c source, fixup->index); index 405 arch/powerpc/sysdev/mpic.c writeb(0x10 + 2 * fixup->index, fixup->base + 2); index 433 arch/powerpc/sysdev/mpic.c writeb(0x10 + 2 * fixup->index, fixup->base + 2); index 526 arch/powerpc/sysdev/mpic.c mpic->fixups[irq].index = i; index 1979 arch/powerpc/sysdev/mpic.c writeb(0x10 + 2 * fixup->index, fixup->base + 2); index 136 arch/powerpc/sysdev/mpic_msgr.c unsigned int index, number_of_blocks; index 144 arch/powerpc/sysdev/mpic_msgr.c for (index = 0; index < number_of_blocks; ++index) { index 147 arch/powerpc/sysdev/mpic_msgr.c snprintf(buf, sizeof(buf), "mpic-msgr-block%d", index); index 153 arch/powerpc/sysdev/mpic_msgr.c return index == number_of_blocks ? -1 : index; index 32 arch/powerpc/sysdev/mpic_msi.c int flags, index, i; index 60 arch/powerpc/sysdev/mpic_msi.c index = 0; index 61 arch/powerpc/sysdev/mpic_msi.c while (of_irq_parse_one(np, index++, &oirq) == 0) { index 90 arch/powerpc/sysdev/xics/xics-common.c int index; index 96 arch/powerpc/sysdev/xics/xics-common.c index = (1UL << xics_interrupt_server_size) - 1 - gserver; index 98 arch/powerpc/sysdev/xics/xics-common.c status = rtas_set_indicator_fast(GLOBAL_INTERRUPT_QUEUE, index, join); index 101 arch/powerpc/sysdev/xics/xics-common.c GLOBAL_INTERRUPT_QUEUE, index, join, status); index 158 arch/powerpc/sysdev/xics/xics-common.c os_cppr->index = 0; index 726 arch/powerpc/sysdev/xive/spapr.c static const u8 *get_vec5_feature(unsigned int index) index 741 arch/powerpc/sysdev/xive/spapr.c if (size <= index) index 744 arch/powerpc/sysdev/xive/spapr.c return vec5 + index; index 46 arch/powerpc/xmon/spu-dis.c const struct spu_opcode *index; index 54 arch/powerpc/xmon/spu-dis.c if ((index = spu_disassemble_table[opcode & 0x780]) != 0 index 55 arch/powerpc/xmon/spu-dis.c && index->insn_type == RRR) index 56 arch/powerpc/xmon/spu-dis.c return index; index 58 arch/powerpc/xmon/spu-dis.c if ((index = spu_disassemble_table[opcode & 0x7f0]) != 0 index 59 arch/powerpc/xmon/spu-dis.c && (index->insn_type == RI18 || index->insn_type == LBT)) index 60 arch/powerpc/xmon/spu-dis.c return index; index 62 arch/powerpc/xmon/spu-dis.c if ((index = spu_disassemble_table[opcode & 0x7f8]) != 0 index 63 arch/powerpc/xmon/spu-dis.c && index->insn_type == RI10) index 64 arch/powerpc/xmon/spu-dis.c return index; index 66 arch/powerpc/xmon/spu-dis.c if ((index = spu_disassemble_table[opcode & 0x7fc]) != 0 index 67 arch/powerpc/xmon/spu-dis.c && (index->insn_type == RI16)) index 68 arch/powerpc/xmon/spu-dis.c return index; index 70 arch/powerpc/xmon/spu-dis.c if ((index = spu_disassemble_table[opcode & 0x7fe]) != 0 index 71 arch/powerpc/xmon/spu-dis.c && (index->insn_type == RI8)) index 72 arch/powerpc/xmon/spu-dis.c return index; index 74 arch/powerpc/xmon/spu-dis.c if ((index = spu_disassemble_table[opcode & 0x7ff]) != 0) index 75 arch/powerpc/xmon/spu-dis.c return index; index 87 arch/powerpc/xmon/spu-dis.c const struct spu_opcode *index; index 90 arch/powerpc/xmon/spu-dis.c index = get_index_for_opcode (insn); index 92 arch/powerpc/xmon/spu-dis.c if (index == 0) index 100 arch/powerpc/xmon/spu-dis.c tag = (enum spu_insns)(index - spu_opcodes); index 101 arch/powerpc/xmon/spu-dis.c printf("%s", index->mnemonic); index 114 arch/powerpc/xmon/spu-dis.c if (index->arg[0] != 0) index 117 arch/powerpc/xmon/spu-dis.c for (i = 1; i <= index->arg[0]; i++) index 119 arch/powerpc/xmon/spu-dis.c int arg = index->arg[i]; index 220 arch/riscv/mm/fault.c int index; index 234 arch/riscv/mm/fault.c index = pgd_index(addr); index 235 arch/riscv/mm/fault.c pgd = (pgd_t *)pfn_to_virt(csr_read(CSR_SATP)) + index; index 236 arch/riscv/mm/fault.c pgd_k = init_mm.pgd + index; index 20 arch/s390/crypto/sha_common.c unsigned int index, n; index 23 arch/s390/crypto/sha_common.c index = ctx->count % bsize; index 26 arch/s390/crypto/sha_common.c if ((index + len) < bsize) index 30 arch/s390/crypto/sha_common.c if (index) { index 31 arch/s390/crypto/sha_common.c memcpy(ctx->buf + index, data, bsize - index); index 33 arch/s390/crypto/sha_common.c data += bsize - index; index 34 arch/s390/crypto/sha_common.c len -= bsize - index; index 35 arch/s390/crypto/sha_common.c index = 0; index 47 arch/s390/crypto/sha_common.c memcpy(ctx->buf + index , data, len); index 383 arch/s390/hypfs/hypfs_diag.c static int diag224_idx2name(int index, char *name) index 385 arch/s390/hypfs/hypfs_diag.c memcpy(name, diag224_cpu_names + ((index + 1) * DIAG204_CPU_NAME_LEN), index 59 arch/s390/include/asm/barrier.h static inline unsigned long array_index_mask_nospec(unsigned long index, index 67 arch/s390/include/asm/barrier.h :"=d" (mask) : "d" (size-1), "d" (index) :"cc"); index 72 arch/s390/include/asm/barrier.h :"=d" (mask) : "d" (size), "d" (index) :"cc"); index 11 arch/s390/include/asm/cmb.h extern u64 cmf_read(struct ccw_device *cdev, int index); index 269 arch/s390/include/asm/vx-insn.h .macro VLVGB v, gr, index, base index 272 arch/s390/include/asm/vx-insn.h .macro VLVGH v, gr, index index 275 arch/s390/include/asm/vx-insn.h .macro VLVGF v, gr, index index 278 arch/s390/include/asm/vx-insn.h .macro VLVGG v, gr, index index 292 arch/s390/include/asm/vx-insn.h .macro VL v, disp, index="%r0", base index 302 arch/s390/include/asm/vx-insn.h .macro VLEx vr1, disp, index="%r0", base, m3, opc index 310 arch/s390/include/asm/vx-insn.h .macro VLEB vr1, disp, index="%r0", base, m3 index 313 arch/s390/include/asm/vx-insn.h .macro VLEH vr1, disp, index="%r0", base, m3 index 316 arch/s390/include/asm/vx-insn.h .macro VLEF vr1, disp, index="%r0", base, m3 index 319 arch/s390/include/asm/vx-insn.h .macro VLEG vr1, disp, index="%r0", base, m3 index 330 arch/s390/include/asm/vx-insn.h .macro VLEIB vr1, imm2, index index 333 arch/s390/include/asm/vx-insn.h .macro VLEIH vr1, imm2, index index 336 arch/s390/include/asm/vx-insn.h .macro VLEIF vr1, imm2, index index 339 arch/s390/include/asm/vx-insn.h .macro VLEIG vr1, imm2, index index 1476 arch/s390/kernel/debug.c int index[DEBUG_SPRINTF_MAX_ARGS]; index 1493 arch/s390/kernel/debug.c memset(index, 0, DEBUG_SPRINTF_MAX_ARGS * sizeof(int)); index 1496 arch/s390/kernel/debug.c index[i] = i; index 1498 arch/s390/kernel/debug.c rc = sprintf(out_buf, curr_event->string, curr_event->args[index[0]], index 1499 arch/s390/kernel/debug.c curr_event->args[index[1]], curr_event->args[index[2]], index 1500 arch/s390/kernel/debug.c curr_event->args[index[3]], curr_event->args[index[4]], index 1501 arch/s390/kernel/debug.c curr_event->args[index[5]], curr_event->args[index[6]], index 1502 arch/s390/kernel/debug.c curr_event->args[index[7]], curr_event->args[index[8]], index 1503 arch/s390/kernel/debug.c curr_event->args[index[9]]); index 20 arch/s390/kernel/early_printk.c .index = -1, index 154 arch/s390/kernel/irq.c int index = *(loff_t *) v; index 158 arch/s390/kernel/irq.c if (index == 0) { index 164 arch/s390/kernel/irq.c if (index < NR_IRQS_BASE) { index 165 arch/s390/kernel/irq.c seq_printf(p, "%s: ", irqclass_main_desc[index].name); index 166 arch/s390/kernel/irq.c irq = irqclass_main_desc[index].irq; index 172 arch/s390/kernel/irq.c if (index < nr_irqs) { index 173 arch/s390/kernel/irq.c show_msi_interrupt(p, index); index 176 arch/s390/kernel/irq.c for (index = 0; index < NR_ARCH_IRQS; index++) { index 177 arch/s390/kernel/irq.c seq_printf(p, "%s: ", irqclass_sub_desc[index].name); index 178 arch/s390/kernel/irq.c irq = irqclass_sub_desc[index].irq; index 182 arch/s390/kernel/irq.c if (irqclass_sub_desc[index].desc) index 183 arch/s390/kernel/irq.c seq_printf(p, " %s", irqclass_sub_desc[index].desc); index 241 arch/s390/kernel/irq.c int index; index 248 arch/s390/kernel/irq.c index = ext_hash(code); index 251 arch/s390/kernel/irq.c hlist_add_head_rcu(&p->entry, &ext_int_hash[index]); index 261 arch/s390/kernel/irq.c int index = ext_hash(code); index 264 arch/s390/kernel/irq.c hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { index 280 arch/s390/kernel/irq.c int index; index 286 arch/s390/kernel/irq.c index = ext_hash(ext_code.code); index 288 arch/s390/kernel/irq.c hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { index 1353 arch/s390/kernel/perf_cpum_sf.c unsigned long index) index 1357 arch/s390/kernel/perf_cpum_sf.c index = AUX_SDB_INDEX(aux, index); index 1358 arch/s390/kernel/perf_cpum_sf.c sdb = aux->sdb_index[index]; index 115 arch/s390/kernel/vtime.c enum cpu_usage_stat index) index 118 arch/s390/kernel/vtime.c account_system_index_time(p, cputime_to_nsecs(cputime), index); index 483 arch/s390/kvm/guestdbg.c u32 index = opcode[0] & 0x000f; index 486 arch/s390/kvm/guestdbg.c *addr += index ? vcpu->run->s.regs.gprs[index] : 0; index 1258 arch/s390/kvm/vsie.c radix_tree_delete(&kvm->arch.vsie.addr_to_page, page->index >> 9); index 1260 arch/s390/kvm/vsie.c page->index = addr; index 1359 arch/s390/kvm/vsie.c radix_tree_delete(&kvm->arch.vsie.addr_to_page, page->index >> 9); index 42 arch/s390/mm/cmm.c unsigned long index; index 77 arch/s390/mm/cmm.c if (!pa || pa->index >= CMM_NR_PAGES) { index 88 arch/s390/mm/cmm.c if (!pa || pa->index >= CMM_NR_PAGES) { index 90 arch/s390/mm/cmm.c npa->index = 0; index 97 arch/s390/mm/cmm.c pa->pages[pa->index++] = addr; index 113 arch/s390/mm/cmm.c if (!pa || pa->index <= 0) index 115 arch/s390/mm/cmm.c addr = pa->pages[--pa->index]; index 116 arch/s390/mm/cmm.c if (pa->index == 0) { index 74 arch/s390/mm/gmap.c page->index = 0; index 130 arch/s390/mm/gmap.c unsigned long index; index 135 arch/s390/mm/gmap.c index = 0; index 138 arch/s390/mm/gmap.c radix_tree_for_each_slot(slot, root, &iter, index) { index 139 arch/s390/mm/gmap.c indices[nr] = iter.index; index 144 arch/s390/mm/gmap.c index = indices[i]; index 145 arch/s390/mm/gmap.c radix_tree_delete(root, index); index 155 arch/s390/mm/gmap.c unsigned long index; index 160 arch/s390/mm/gmap.c index = 0; index 163 arch/s390/mm/gmap.c radix_tree_for_each_slot(slot, root, &iter, index) { index 164 arch/s390/mm/gmap.c indices[nr] = iter.index; index 169 arch/s390/mm/gmap.c index = indices[i]; index 170 arch/s390/mm/gmap.c head = radix_tree_delete(root, index); index 322 arch/s390/mm/gmap.c page->index = gaddr; index 346 arch/s390/mm/gmap.c return page->index + offset; index 1747 arch/s390/mm/gmap.c page->index = r2t & _REGION_ENTRY_ORIGIN; index 1749 arch/s390/mm/gmap.c page->index |= GMAP_SHADOW_FAKE_TABLE; index 1831 arch/s390/mm/gmap.c page->index = r3t & _REGION_ENTRY_ORIGIN; index 1833 arch/s390/mm/gmap.c page->index |= GMAP_SHADOW_FAKE_TABLE; index 1915 arch/s390/mm/gmap.c page->index = sgt & _REGION_ENTRY_ORIGIN; index 1917 arch/s390/mm/gmap.c page->index |= GMAP_SHADOW_FAKE_TABLE; index 2000 arch/s390/mm/gmap.c *pgt = page->index & ~GMAP_SHADOW_FAKE_TABLE; index 2002 arch/s390/mm/gmap.c *fake = !!(page->index & GMAP_SHADOW_FAKE_TABLE); index 2039 arch/s390/mm/gmap.c page->index = pgt & _SEGMENT_ENTRY_ORIGIN; index 2041 arch/s390/mm/gmap.c page->index |= GMAP_SHADOW_FAKE_TABLE; index 75 arch/sh/boards/mach-cayman/setup.c #define SMSC_SUPERIO_READ_INDEXED(index) ({ \ index 76 arch/sh/boards/mach-cayman/setup.c outb((index), SMSC_INDEX_PORT_ADDR); \ index 78 arch/sh/boards/mach-cayman/setup.c #define SMSC_SUPERIO_WRITE_INDEXED(val, index) ({ \ index 79 arch/sh/boards/mach-cayman/setup.c outb((index), SMSC_INDEX_PORT_ADDR); \ index 43 arch/sh/boards/mach-microdev/fdc37c93xapm.c #define SMSC_READ_INDEXED(index) ({ \ index 44 arch/sh/boards/mach-microdev/fdc37c93xapm.c outb((index), SMSC_INDEX_PORT_ADDR); \ index 46 arch/sh/boards/mach-microdev/fdc37c93xapm.c #define SMSC_WRITE_INDEXED(val, index) ({ \ index 47 arch/sh/boards/mach-microdev/fdc37c93xapm.c outb((index), SMSC_INDEX_PORT_ADDR); \ index 23 arch/sh/boards/mach-se/770x/setup.c static void __init smsc_config(int index, int data) index 25 arch/sh/boards/mach-se/770x/setup.c outb_p(index, INDEX_PORT); index 74 arch/sh/drivers/pci/pci.c need_domain_info = need_domain_info || hose->index; index 266 arch/sh/drivers/pci/pci.c pcibios_bus_report_status_early(hose, hose_head->index, index 267 arch/sh/drivers/pci/pci.c hose->index, status_mask, warn); index 26 arch/sh/drivers/pci/pcie-sh7786.c unsigned int index; index 220 arch/sh/drivers/pci/pcie-sh7786.c snprintf(fclk_name, sizeof(fclk_name), "pcie%d_fck", port->index); index 341 arch/sh/drivers/pci/pcie-sh7786.c data |= (port->index + 1) << 19; index 436 arch/sh/drivers/pci/pcie-sh7786.c port->index, (data >> 20) & 0x3f); index 439 arch/sh/drivers/pci/pcie-sh7786.c port->index); index 516 arch/sh/drivers/pci/pcie-sh7786.c port->index); index 523 arch/sh/drivers/pci/pcie-sh7786.c port->index); index 530 arch/sh/drivers/pci/pcie-sh7786.c port->index); index 597 arch/sh/drivers/pci/pcie-sh7786.c port->index = i; index 32 arch/sh/include/asm/pci.h unsigned int index; index 85 arch/sh/include/asm/pci.h #define pci_domain_nr(bus) ((struct pci_channel *)(bus)->sysdata)->index index 26 arch/sh/kernel/cpu/shmobile/cpuidle.c int index) index 29 arch/sh/kernel/cpu/shmobile/cpuidle.c int requested_state = index; index 394 arch/sh/kernel/ptrace_32.c unsigned long index; index 398 arch/sh/kernel/ptrace_32.c index = addr - offsetof(struct user, fpu); index 400 arch/sh/kernel/ptrace_32.c [index >> 2]; index 428 arch/sh/kernel/ptrace_32.c unsigned long index; index 432 arch/sh/kernel/ptrace_32.c index = addr - offsetof(struct user, fpu); index 435 arch/sh/kernel/ptrace_32.c [index >> 2] = data; index 403 arch/sh/kernel/ptrace_64.c unsigned long index; index 407 arch/sh/kernel/ptrace_64.c index = addr - offsetof(struct user, fpu); index 408 arch/sh/kernel/ptrace_64.c tmp = get_fpu_long(child, index); index 445 arch/sh/kernel/ptrace_64.c unsigned long index; index 449 arch/sh/kernel/ptrace_64.c index = addr - offsetof(struct user, fpu); index 450 arch/sh/kernel/ptrace_64.c ret = put_fpu_long(child, index, data); index 142 arch/sh/kernel/sh_bios.c .index = -1, index 88 arch/sh/kernel/traps_32.c int ret, index, count; index 93 arch/sh/kernel/traps_32.c index = (instruction>>8)&15; /* 0x0F00 */ index 94 arch/sh/kernel/traps_32.c rn = ®s->regs[index]; index 96 arch/sh/kernel/traps_32.c index = (instruction>>4)&15; /* 0x00F0 */ index 97 arch/sh/kernel/traps_32.c rm = ®s->regs[index]; index 307 arch/sh/kernel/traps_32.c int ret, index; index 315 arch/sh/kernel/traps_32.c index = (instruction>>8)&15; /* 0x0F00 */ index 316 arch/sh/kernel/traps_32.c rm = regs->regs[index]; index 649 arch/sh/kernel/traps_64.c unsigned long index, shift; index 690 arch/sh/kernel/traps_64.c index = major; index 692 arch/sh/kernel/traps_64.c opcode_state = (shmedia_opcode_table[index] >> shift) & 0x3; index 108 arch/sh/mm/fault.c unsigned index = pgd_index(address); index 113 arch/sh/mm/fault.c pgd += index; index 114 arch/sh/mm/fault.c pgd_k = init_mm.pgd + index; index 135 arch/sh/mm/tlbex_64.c unsigned long long index; index 151 arch/sh/mm/tlbex_64.c index = expevt4 ^ (expevt4 >> 5); index 152 arch/sh/mm/tlbex_64.c index &= 7; index 156 arch/sh/mm/tlbex_64.c protection_flags = expevt_lookup_table.protection_flags[index]; index 158 arch/sh/mm/tlbex_64.c if (expevt_lookup_table.is_text_access[index]) index 87 arch/sparc/crypto/md5_glue.c unsigned int i, index, padlen; index 95 arch/sparc/crypto/md5_glue.c index = sctx->byte_count % MD5_HMAC_BLOCK_SIZE; index 96 arch/sparc/crypto/md5_glue.c padlen = (index < 56) ? (56 - index) : ((MD5_HMAC_BLOCK_SIZE+56) - index); index 101 arch/sparc/crypto/md5_glue.c memcpy((u8 *)sctx->block + index, padding, padlen); index 103 arch/sparc/crypto/md5_glue.c __md5_sparc64_update(sctx, padding, padlen, index); index 82 arch/sparc/crypto/sha1_glue.c unsigned int i, index, padlen; index 90 arch/sparc/crypto/sha1_glue.c index = sctx->count % SHA1_BLOCK_SIZE; index 91 arch/sparc/crypto/sha1_glue.c padlen = (index < 56) ? (56 - index) : ((SHA1_BLOCK_SIZE+56) - index); index 96 arch/sparc/crypto/sha1_glue.c memcpy(sctx->buffer + index, padding, padlen); index 98 arch/sparc/crypto/sha1_glue.c __sha1_sparc64_update(sctx, padding, padlen, index); index 102 arch/sparc/crypto/sha256_glue.c unsigned int i, index, padlen; index 110 arch/sparc/crypto/sha256_glue.c index = sctx->count % SHA256_BLOCK_SIZE; index 111 arch/sparc/crypto/sha256_glue.c padlen = (index < 56) ? (56 - index) : ((SHA256_BLOCK_SIZE+56) - index); index 116 arch/sparc/crypto/sha256_glue.c memcpy(sctx->buf + index, padding, padlen); index 118 arch/sparc/crypto/sha256_glue.c __sha256_sparc64_update(sctx, padding, padlen, index); index 103 arch/sparc/crypto/sha512_glue.c unsigned int i, index, padlen; index 113 arch/sparc/crypto/sha512_glue.c index = sctx->count[0] % SHA512_BLOCK_SIZE; index 114 arch/sparc/crypto/sha512_glue.c padlen = (index < 112) ? (112 - index) : ((SHA512_BLOCK_SIZE+112) - index); index 120 arch/sparc/crypto/sha512_glue.c memcpy(sctx->buf + index, padding, padlen); index 122 arch/sparc/crypto/sha512_glue.c __sha512_sparc64_update(sctx, padding, padlen, index); index 50 arch/sparc/include/asm/fbio.h int index; /* first element (0 origin) */ index 87 arch/sparc/include/asm/ns87303.h static inline int ns87303_modify(unsigned long port, unsigned int index, index 99 arch/sparc/include/asm/ns87303.h if (index > 0x0d) index 104 arch/sparc/include/asm/ns87303.h outb(index, port); index 106 arch/sparc/include/asm/ns87303.h value &= ~(reserved[index] | clr); index 154 arch/sparc/include/asm/oplib_64.h long prom_itlb_load(unsigned long index, index 158 arch/sparc/include/asm/oplib_64.h long prom_dtlb_load(unsigned long index, index 301 arch/sparc/include/asm/vio.h unsigned int index) index 303 arch/sparc/include/asm/vio.h return dr->base + (dr->entry_size * index); index 313 arch/sparc/include/asm/vio.h static inline u32 vio_dring_next(struct vio_dring_state *dr, u32 index) index 315 arch/sparc/include/asm/vio.h if (++index == dr->num_entries) index 316 arch/sparc/include/asm/vio.h index = 0; index 317 arch/sparc/include/asm/vio.h return index; index 320 arch/sparc/include/asm/vio.h static inline u32 vio_dring_prev(struct vio_dring_state *dr, u32 index) index 322 arch/sparc/include/asm/vio.h if (index == 0) index 325 arch/sparc/include/asm/vio.h return index - 1; index 61 arch/sparc/include/uapi/asm/fbio.h int index; /* first element (0 origin) */ index 189 arch/sparc/include/uapi/asm/fbio.h __u32 index; index 307 arch/sparc/kernel/btext.c .index = 0, index 165 arch/sparc/kernel/chmc.c int index; index 315 arch/sparc/kernel/chmc.c first_dimm = dp->index * JB_NUM_DIMMS_PER_GROUP; index 368 arch/sparc/kernel/chmc.c unsigned long index, index 372 arch/sparc/kernel/chmc.c struct jbusmc_dimm_group *dp = &p->dimm_groups[index]; index 375 arch/sparc/kernel/chmc.c dp->index = index; index 378 arch/sparc/kernel/chmc.c dp->base_addr += (index * (8UL * 1024 * 1024 * 1024)); index 321 arch/sparc/kernel/cpumap.c int level, new_index, index = root_index; index 342 arch/sparc/kernel/cpumap.c new_index = t->nodes[index].rover; index 344 arch/sparc/kernel/cpumap.c increment_rover(t, index, root_index, rover_inc_table); index 346 arch/sparc/kernel/cpumap.c index = new_index; index 348 arch/sparc/kernel/cpumap.c return index; index 375 arch/sparc/kernel/cpumap.c static int simple_map_to_cpu(unsigned int index) index 380 arch/sparc/kernel/cpumap.c end = index % num_online_cpus(); index 394 arch/sparc/kernel/cpumap.c static int _map_to_cpu(unsigned int index) index 401 arch/sparc/kernel/cpumap.c return simple_map_to_cpu(index); index 409 arch/sparc/kernel/cpumap.c return simple_map_to_cpu(index); index 412 arch/sparc/kernel/cpumap.c return cpu_distribution_map[index % root_node->num_cpus]; index 415 arch/sparc/kernel/cpumap.c int map_to_cpu(unsigned int index) index 421 arch/sparc/kernel/cpumap.c mapped_cpu = _map_to_cpu(index); index 425 arch/sparc/kernel/cpumap.c mapped_cpu = _map_to_cpu(index); index 7 arch/sparc/kernel/cpumap.h int map_to_cpu(unsigned int index); index 11 arch/sparc/kernel/cpumap.h static inline int map_to_cpu(unsigned int index) index 223 arch/sparc/kernel/ds.c unsigned int index = handle >> 32; index 225 arch/sparc/kernel/ds.c if (index >= dp->num_ds_states) index 227 arch/sparc/kernel/ds.c return &dp->ds_states[index]; index 2009 arch/sparc/kernel/ldc.c static u64 make_cookie(u64 index, u64 pgsz_code, u64 page_offset) index 2012 arch/sparc/kernel/ldc.c (index << PAGE_SHIFT) | index 252 arch/sparc/kernel/of_device_32.c int index, num_reg; index 274 arch/sparc/kernel/of_device_32.c for (index = 0; index < num_reg; index++) { index 275 arch/sparc/kernel/of_device_32.c struct resource *r = &op->resource[index]; index 277 arch/sparc/kernel/of_device_32.c const u32 *reg = (preg + (index * ((na + ns) * 4))); index 328 arch/sparc/kernel/of_device_32.c op->dev.of_node, index, index 322 arch/sparc/kernel/of_device_64.c int index, num_reg; index 352 arch/sparc/kernel/of_device_64.c for (index = 0; index < num_reg; index++) { index 353 arch/sparc/kernel/of_device_64.c struct resource *r = &op->resource[index]; index 355 arch/sparc/kernel/of_device_64.c const u32 *reg = (preg + (index * ((na + ns) * 4))); index 405 arch/sparc/kernel/of_device_64.c op->dev.of_node, index, index 16 arch/sparc/kernel/of_device_common.c unsigned int irq_of_parse_and_map(struct device_node *node, int index) index 20 arch/sparc/kernel/of_device_common.c if (!op || index >= op->archdata.num_irqs) index 23 arch/sparc/kernel/of_device_common.c return op->archdata.irqs[index]; index 27 arch/sparc/kernel/of_device_common.c int of_address_to_resource(struct device_node *node, int index, index 32 arch/sparc/kernel/of_device_common.c if (!op || index >= op->num_resources) index 35 arch/sparc/kernel/of_device_common.c memcpy(r, &op->archdata.resource[index], sizeof(*r)); index 40 arch/sparc/kernel/of_device_common.c void __iomem *of_iomap(struct device_node *node, int index) index 45 arch/sparc/kernel/of_device_common.c if (!op || index >= op->num_resources) index 48 arch/sparc/kernel/of_device_common.c r = &op->archdata.resource[index]; index 929 arch/sparc/kernel/pci.c ret = pbm->index; index 425 arch/sparc/kernel/pci_fire.c pbm->index = pci_num_pbms++; index 64 arch/sparc/kernel/pci_impl.h int index; index 1356 arch/sparc/kernel/pci_schizo.c pbm->index = pci_num_pbms++; index 1181 arch/sparc/kernel/pci_sun4v.c pbm->index = pci_num_pbms++; index 465 arch/sparc/kernel/psycho_common.c pbm->index = pci_num_pbms++; index 121 arch/sparc/kernel/setup_32.c .index = -1, index 97 arch/sparc/kernel/setup_64.c .index = -1, index 1399 arch/sparc/mm/init_64.c u64 grp, int index) index 1413 arch/sparc/mm/init_64.c numa_latency[index][tnode] = m->latency; index 1418 arch/sparc/mm/init_64.c int index) index 1437 arch/sparc/mm/init_64.c if (num_node_masks != index) { index 1440 arch/sparc/mm/init_64.c index, num_node_masks); index 1450 arch/sparc/mm/init_64.c index, n->mask, n->match, candidate->latency); index 1456 arch/sparc/mm/init_64.c int index) index 1464 arch/sparc/mm/init_64.c numa_cpu_lookup_table[cpu] = index; index 1465 arch/sparc/mm/init_64.c cpumask_copy(&numa_cpumask_lookup_table[index], &mask); index 1468 arch/sparc/mm/init_64.c printk(KERN_INFO "NUMA GROUP[%d]: cpus [ ", index); index 1474 arch/sparc/mm/init_64.c return numa_attach_mlgroup(md, grp, index); index 1537 arch/sparc/mm/init_64.c unsigned long cpu, index; index 1542 arch/sparc/mm/init_64.c index = 0; index 1544 arch/sparc/mm/init_64.c numa_cpu_lookup_table[cpu] = index; index 1545 arch/sparc/mm/init_64.c cpumask_copy(&numa_cpumask_lookup_table[index], cpumask_of(cpu)); index 1546 arch/sparc/mm/init_64.c node_masks[index].mask = ~((1UL << 36UL) - 1UL); index 1547 arch/sparc/mm/init_64.c node_masks[index].match = cpu << 36UL; index 1549 arch/sparc/mm/init_64.c index++; index 1551 arch/sparc/mm/init_64.c num_node_masks = index; index 1555 arch/sparc/mm/init_64.c for (index = 0; index < num_node_masks; index++) { index 1556 arch/sparc/mm/init_64.c allocate_node_data(index); index 1557 arch/sparc/mm/init_64.c node_set_online(index); index 20 arch/sparc/prom/memory.c int index; index 22 arch/sparc/prom/memory.c index = 0; index 24 arch/sparc/prom/memory.c sp_banks[index].base_addr = (unsigned long) p->start_adr; index 25 arch/sparc/prom/memory.c sp_banks[index].num_bytes = p->num_bytes; index 26 arch/sparc/prom/memory.c index++; index 29 arch/sparc/prom/memory.c return index; index 203 arch/sparc/prom/misc_64.c static long tlb_load(const char *type, unsigned long index, index 215 arch/sparc/prom/misc_64.c args[7] = index; index 223 arch/sparc/prom/misc_64.c long prom_itlb_load(unsigned long index, index 227 arch/sparc/prom/misc_64.c return tlb_load("SUNW,itlb-load", index, tte_data, vaddr); index 230 arch/sparc/prom/misc_64.c long prom_dtlb_load(unsigned long index, index 234 arch/sparc/prom/misc_64.c return tlb_load("SUNW,dtlb-load", index, tte_data, vaddr); index 287 arch/um/drivers/chan_kern.c co->index); index 578 arch/um/drivers/mconsole_kern.c .index = -1 }; index 405 arch/um/drivers/net_kern.c device->index = n; index 509 arch/um/drivers/net_kern.c if (device->index == n) index 550 arch/um/drivers/net_kern.c int index; index 600 arch/um/drivers/net_kern.c match = check_transport(new, eth->init, eth->index, &init, index 605 arch/um/drivers/net_kern.c eth_configure(eth->index, init, mac, new, GFP_KERNEL); index 612 arch/um/drivers/net_kern.c static int eth_setup_common(char *str, int index) index 623 arch/um/drivers/net_kern.c if (!check_transport(transport, str, index, &init, index 627 arch/um/drivers/net_kern.c eth_configure(index, init, mac, transport, GFP_ATOMIC); index 657 arch/um/drivers/net_kern.c new->index = n; index 91 arch/um/drivers/ssl.c return line_install(driver, tty, &serial_lines[tty->index]); index 118 arch/um/drivers/ssl.c struct line *line = &serial_lines[c->index]; index 126 arch/um/drivers/ssl.c static struct tty_driver *ssl_console_device(struct console *c, int *index) index 128 arch/um/drivers/ssl.c *index = c->index; index 134 arch/um/drivers/ssl.c struct line *line = &serial_lines[co->index]; index 146 arch/um/drivers/ssl.c .index = -1, index 97 arch/um/drivers/stdio_console.c return line_install(driver, tty, &vts[tty->index]); index 119 arch/um/drivers/stdio_console.c struct line *line = &vts[console->index]; index 127 arch/um/drivers/stdio_console.c static struct tty_driver *uml_console_device(struct console *c, int *index) index 129 arch/um/drivers/stdio_console.c *index = c->index; index 135 arch/um/drivers/stdio_console.c struct line *line = &vts[co->index]; index 147 arch/um/drivers/stdio_console.c .index = -1, index 81 arch/um/drivers/vhost_user.h u32 index; index 86 arch/um/drivers/vhost_user.h u32 index; index 576 arch/um/drivers/virtio_uml.c u32 request, u32 index, u32 num) index 581 arch/um/drivers/virtio_uml.c .payload.vring_state.index = index, index 589 arch/um/drivers/virtio_uml.c u32 index, u32 num) index 592 arch/um/drivers/virtio_uml.c index, num); index 596 arch/um/drivers/virtio_uml.c u32 index, u32 offset) index 599 arch/um/drivers/virtio_uml.c index, offset); index 603 arch/um/drivers/virtio_uml.c u32 index, u64 desc, u64 used, u64 avail, index 609 arch/um/drivers/virtio_uml.c .payload.vring_addr.index = index, index 620 arch/um/drivers/virtio_uml.c u32 request, int index, int fd) index 625 arch/um/drivers/virtio_uml.c .payload.integer = index, index 628 arch/um/drivers/virtio_uml.c if (index & ~VHOST_USER_VRING_INDEX_MASK) index 638 arch/um/drivers/virtio_uml.c int index, int fd) index 641 arch/um/drivers/virtio_uml.c index, fd); index 645 arch/um/drivers/virtio_uml.c int index, int fd) index 648 arch/um/drivers/virtio_uml.c index, fd); index 652 arch/um/drivers/virtio_uml.c u32 index, bool enable) index 658 arch/um/drivers/virtio_uml.c index, enable); index 752 arch/um/drivers/virtio_uml.c WARN_ON(vhost_user_set_vring_enable(vu_dev, vq->index, false)); index 779 arch/um/drivers/virtio_uml.c rc = vhost_user_set_vring_call(vu_dev, vq->index, call_fds[1]); index 797 arch/um/drivers/virtio_uml.c unsigned index, vq_callback_t *callback, index 815 arch/um/drivers/virtio_uml.c vq = vring_create_virtqueue(index, num, PAGE_SIZE, vdev, true, true, index 833 arch/um/drivers/virtio_uml.c rc = vhost_user_set_vring_num(vu_dev, index, num); index 837 arch/um/drivers/virtio_uml.c rc = vhost_user_set_vring_base(vu_dev, index, 0); index 841 arch/um/drivers/virtio_uml.c rc = vhost_user_set_vring_addr(vu_dev, index, index 894 arch/um/drivers/virtio_uml.c rc = vhost_user_set_vring_kick(vu_dev, vq->index, index 899 arch/um/drivers/virtio_uml.c rc = vhost_user_set_vring_enable(vu_dev, vq->index, true); index 20 arch/um/include/shared/net_kern.h int index; index 299 arch/um/include/shared/os.h extern void *os_epoll_get_data_pointer(int index); index 300 arch/um/include/shared/os.h extern int os_epoll_triggered(int index, int events); index 20 arch/um/kernel/early_printk.c .index = -1, index 41 arch/um/kernel/tlb.c int index; index 53 arch/um/kernel/tlb.c .index = 0, \ index 133 arch/um/kernel/tlb.c if (hvc->index != 0) { index 134 arch/um/kernel/tlb.c last = &hvc->ops[hvc->index - 1]; index 144 arch/um/kernel/tlb.c if (hvc->index == ARRAY_SIZE(hvc->ops)) { index 146 arch/um/kernel/tlb.c hvc->index = 0; index 149 arch/um/kernel/tlb.c hvc->ops[hvc->index++] = ((struct host_vm_op) index 169 arch/um/kernel/tlb.c if (hvc->index != 0) { index 170 arch/um/kernel/tlb.c last = &hvc->ops[hvc->index - 1]; index 178 arch/um/kernel/tlb.c if (hvc->index == ARRAY_SIZE(hvc->ops)) { index 180 arch/um/kernel/tlb.c hvc->index = 0; index 183 arch/um/kernel/tlb.c hvc->ops[hvc->index++] = ((struct host_vm_op) index 196 arch/um/kernel/tlb.c if (hvc->index != 0) { index 197 arch/um/kernel/tlb.c last = &hvc->ops[hvc->index - 1]; index 206 arch/um/kernel/tlb.c if (hvc->index == ARRAY_SIZE(hvc->ops)) { index 208 arch/um/kernel/tlb.c hvc->index = 0; index 211 arch/um/kernel/tlb.c hvc->ops[hvc->index++] = ((struct host_vm_op) index 324 arch/um/kernel/tlb.c ret = do_ops(&hvc, hvc.index, 1); index 417 arch/um/kernel/tlb.c err = do_ops(&hvc, hvc.index, 1); index 64 arch/um/kernel/um_arch.c int index = 0; index 66 arch/um/kernel/um_arch.c seq_printf(m, "processor\t: %d\n", index); index 29 arch/um/os-Linux/irq.c void *os_epoll_get_data_pointer(int index) index 31 arch/um/os-Linux/irq.c return epoll_events[index].data.ptr; index 39 arch/um/os-Linux/irq.c int os_epoll_triggered(int index, int events) index 41 arch/um/os-Linux/irq.c return epoll_events[index].events & events; index 30 arch/unicore32/kernel/early_printk.c .index = -1, index 338 arch/unicore32/mm/fault.c unsigned int index; index 348 arch/unicore32/mm/fault.c index = pgd_index(addr); index 350 arch/unicore32/mm/fault.c pgd = cpu_get_pgd() + index; index 351 arch/unicore32/mm/fault.c pgd_k = init_mm.pgd + index; index 97 arch/x86/boot/video.h static inline u8 in_idx(u16 port, u8 index) index 99 arch/x86/boot/video.h outb(index, port); index 103 arch/x86/boot/video.h static inline void out_idx(u8 v, u16 port, u8 index) index 105 arch/x86/boot/video.h outw(index+(v << 8), port); index 109 arch/x86/boot/video.h static inline u8 tst_idx(u8 v, u16 port, u8 index) index 111 arch/x86/boot/video.h out_idx(port, index, v); index 112 arch/x86/boot/video.h return in_idx(port, index); index 277 arch/x86/events/amd/core.c static inline int amd_pmu_addr_offset(int index, bool eventsel) index 281 arch/x86/events/amd/core.c if (!index) index 282 arch/x86/events/amd/core.c return index; index 285 arch/x86/events/amd/core.c offset = event_offsets[index]; index 287 arch/x86/events/amd/core.c offset = count_offsets[index]; index 293 arch/x86/events/amd/core.c offset = index; index 295 arch/x86/events/amd/core.c offset = index << 1; index 298 arch/x86/events/amd/core.c event_offsets[index] = offset; index 300 arch/x86/events/amd/core.c count_offsets[index] = offset; index 149 arch/x86/events/intel/bts.c unsigned long index, thresh = 0, end = phys->size; index 152 arch/x86/events/intel/bts.c index = local_read(&buf->head); index 158 arch/x86/events/intel/bts.c index -= phys->offset + phys->displacement; index 160 arch/x86/events/intel/bts.c if (end - index > BTS_SAFETY_MARGIN) index 162 arch/x86/events/intel/bts.c else if (end - index > BTS_RECORD_SIZE) index 169 arch/x86/events/intel/bts.c ds->bts_index = ds->bts_buffer_base + index; index 178 arch/x86/events/intel/bts.c unsigned long index = head - phys->offset; index 180 arch/x86/events/intel/bts.c memset(page_address(phys->page) + index, 0, phys->size - index); index 188 arch/x86/events/intel/bts.c unsigned long index = ds->bts_index - ds->bts_buffer_base, old, head; index 193 arch/x86/events/intel/bts.c head = index + bts_buffer_offset(buf, buf->cur_buf); index 584 arch/x86/events/perf_event.h int (*addr_offset)(int index, bool eventsel); index 585 arch/x86/events/perf_event.h int (*rdpmc_index)(int index); index 800 arch/x86/events/perf_event.h static inline unsigned int x86_pmu_config_addr(int index) index 803 arch/x86/events/perf_event.h x86_pmu.addr_offset(index, true) : index); index 806 arch/x86/events/perf_event.h static inline unsigned int x86_pmu_event_addr(int index) index 809 arch/x86/events/perf_event.h x86_pmu.addr_offset(index, false) : index); index 812 arch/x86/events/perf_event.h static inline int x86_pmu_rdpmc_index(int index) index 814 arch/x86/events/perf_event.h return x86_pmu.rdpmc_index ? x86_pmu.rdpmc_index(index) : index; index 36 arch/x86/include/asm/barrier.h static inline unsigned long array_index_mask_nospec(unsigned long index, index 43 arch/x86/include/asm/barrier.h :"g"(size),"r" (index) index 626 arch/x86/include/asm/fpu/internal.h static inline u64 xgetbv(u32 index) index 632 arch/x86/include/asm/fpu/internal.h : "c" (index)); index 636 arch/x86/include/asm/fpu/internal.h static inline void xsetbv(u32 index, u64 value) index 642 arch/x86/include/asm/fpu/internal.h : : "a" (eax), "d" (edx), "c" (index)); index 96 arch/x86/include/asm/io_apic.h index : 15; index 232 arch/x86/include/asm/kvm_emulate.h int (*set_xcr)(struct x86_emulate_ctxt *ctxt, u32 index, u64 xcr); index 382 arch/x86/include/asm/kvm_host.h u64 (*get_pdptr)(struct kvm_vcpu *vcpu, int index); index 503 arch/x86/include/asm/kvm_host.h int index; index 993 arch/x86/include/asm/kvm_host.h u32 index; index 1017 arch/x86/include/asm/kvm_host.h bool (*has_emulated_msr)(int index); index 1362 arch/x86/include/asm/kvm_host.h int kvm_get_msr(struct kvm_vcpu *vcpu, u32 index, u64 *data); index 1363 arch/x86/include/asm/kvm_host.h int kvm_set_msr(struct kvm_vcpu *vcpu, u32 index, u64 data); index 1391 arch/x86/include/asm/kvm_host.h int kvm_set_xcr(struct kvm_vcpu *vcpu, u32 index, u64 xcr); index 1571 arch/x86/include/asm/kvm_host.h void kvm_define_shared_msr(unsigned index, u32 msr); index 1572 arch/x86/include/asm/kvm_host.h int kvm_set_shared_msr(unsigned index, u64 val, u64 mask); index 29 arch/x86/include/asm/mshyperv.h #define hv_get_vp_index(index) rdmsrl(HV_X64_MSR_VP_INDEX, index) index 55 arch/x86/include/asm/msidef.h #define MSI_ADDR_IR_INDEX1(index) ((index & 0x8000) >> 13) index 56 arch/x86/include/asm/msidef.h #define MSI_ADDR_IR_INDEX2(index) ((index & 0x7fff) << 5) index 28 arch/x86/include/asm/tce.h extern void tce_build(struct iommu_table *tbl, unsigned long index, index 30 arch/x86/include/asm/tce.h extern void tce_free(struct iommu_table *tbl, long index, unsigned int npages); index 688 arch/x86/include/asm/uv/uv_bau.h static inline void write_mmr_activation(unsigned long index) index 690 arch/x86/include/asm/uv/uv_bau.h write_lmmr(UVH_LB_BAU_SB_ACTIVATION_CONTROL, index); index 972 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:12; /* RW */ index 1008 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:12; /* RW */ index 1025 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:12; /* RW */ index 1043 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:13; /* RW */ index 1476 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:12; /* RW */ index 1512 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:12; /* RW */ index 1529 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:12; /* RW */ index 1547 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:13; /* RW */ index 2689 arch/x86/include/asm/uv/uv_mmrs.h unsigned long index:6; /* RW */ index 505 arch/x86/include/asm/vmx.h u32 index; index 176 arch/x86/include/uapi/asm/kvm.h __u32 index; index 214 arch/x86/include/uapi/asm/kvm.h __u32 index; index 159 arch/x86/kernel/acpi/cstate.c percpu_entry->states[cx->index].eax = 0; index 160 arch/x86/kernel/acpi/cstate.c percpu_entry->states[cx->index].ecx = 0; index 168 arch/x86/kernel/acpi/cstate.c percpu_entry->states[cx->index].eax = cx->address; index 169 arch/x86/kernel/acpi/cstate.c percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK; index 190 arch/x86/kernel/acpi/cstate.c mwait_idle_with_hints(percpu_entry->states[cx->index].eax, index 191 arch/x86/kernel/acpi/cstate.c percpu_entry->states[cx->index].ecx); index 267 arch/x86/kernel/apic/io_apic.c unsigned int index; index 289 arch/x86/kernel/apic/io_apic.c writel(reg, &io_apic->index); index 298 arch/x86/kernel/apic/io_apic.c writel(reg, &io_apic->index); index 1252 arch/x86/kernel/apic/io_apic.c buf, (ir_entry->index2 << 15) | ir_entry->index, index 825 arch/x86/kernel/apic/x2apic_uv_x.c static __init void map_mmioh_high_uv34(int index, int min_pnode, int max_pnode) index 836 arch/x86/kernel/apic/x2apic_uv_x.c if (index == 0) { index 1200 arch/x86/kernel/apic/x2apic_uv_x.c int index = 0; index 1222 arch/x86/kernel/apic/x2apic_uv_x.c if (!index) { index 1227 arch/x86/kernel/apic/x2apic_uv_x.c index++, index 1248 arch/x86/kernel/apic/x2apic_uv_x.c _gr_table_len = index; index 1250 arch/x86/kernel/apic/x2apic_uv_x.c pr_info("UV: GRT: %d entries, sockets(min:%x,max:%x) pnodes(min:%x,max:%x)\n", index, _min_socket, _max_socket, _min_pnode, _max_pnode); index 364 arch/x86/kernel/apm_32.c struct cpuidle_driver *drv, int index); index 901 arch/x86/kernel/apm_32.c struct cpuidle_driver *drv, int index) index 967 arch/x86/kernel/apm_32.c return index; index 352 arch/x86/kernel/cpu/cacheinfo.c int index; index 355 arch/x86/kernel/cpu/cacheinfo.c index = amd_get_l3_disable_slot(nb, slot); index 356 arch/x86/kernel/cpu/cacheinfo.c if (index >= 0) index 357 arch/x86/kernel/cpu/cacheinfo.c return sprintf(buf, "%d\n", index); index 414 arch/x86/kernel/cpu/cacheinfo.c unsigned slot, unsigned long index) index 423 arch/x86/kernel/cpu/cacheinfo.c if (index > nb->l3_cache.indices) index 427 arch/x86/kernel/cpu/cacheinfo.c if (index == amd_get_l3_disable_slot(nb, !slot)) index 430 arch/x86/kernel/cpu/cacheinfo.c amd_l3_disable_index(nb, cpu, slot, index); index 575 arch/x86/kernel/cpu/cacheinfo.c static void amd_init_l3_cache(struct _cpuid4_info_regs *this_leaf, int index) index 580 arch/x86/kernel/cpu/cacheinfo.c if (index < 3) index 593 arch/x86/kernel/cpu/cacheinfo.c cpuid4_cache_lookup_regs(int index, struct _cpuid4_info_regs *this_leaf) index 602 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(0x8000001d, index, &eax.full, index 605 arch/x86/kernel/cpu/cacheinfo.c amd_cpuid4(index, &eax, &ebx, &ecx); index 606 arch/x86/kernel/cpu/cacheinfo.c amd_init_l3_cache(this_leaf, index); index 608 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(0x8000001d, index, &eax.full, index 610 arch/x86/kernel/cpu/cacheinfo.c amd_init_l3_cache(this_leaf, index); index 612 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(4, index, &eax.full, &ebx.full, &ecx.full, &edx); index 877 arch/x86/kernel/cpu/cacheinfo.c static int __cache_amd_cpumap_setup(unsigned int cpu, int index, index 888 arch/x86/kernel/cpu/cacheinfo.c if (index == 3) { index 893 arch/x86/kernel/cpu/cacheinfo.c this_leaf = this_cpu_ci->info_list + index; index 918 arch/x86/kernel/cpu/cacheinfo.c this_leaf = this_cpu_ci->info_list + index; index 934 arch/x86/kernel/cpu/cacheinfo.c static void __cache_cpumap_setup(unsigned int cpu, int index, index 945 arch/x86/kernel/cpu/cacheinfo.c if (__cache_amd_cpumap_setup(cpu, index, base)) index 949 arch/x86/kernel/cpu/cacheinfo.c this_leaf = this_cpu_ci->info_list + index; index 964 arch/x86/kernel/cpu/cacheinfo.c sibling_leaf = sib_cpu_ci->info_list + index; index 316 arch/x86/kernel/cpu/mtrr/generic.c get_mtrr_var_range(unsigned int index, struct mtrr_var_range *vr) index 318 arch/x86/kernel/cpu/mtrr/generic.c rdmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); index 319 arch/x86/kernel/cpu/mtrr/generic.c rdmsr(MTRRphysMask_MSR(index), vr->mask_lo, vr->mask_hi); index 323 arch/x86/kernel/cpu/mtrr/generic.c void fill_mtrr_var_range(unsigned int index, index 330 arch/x86/kernel/cpu/mtrr/generic.c vr[index].base_lo = base_lo; index 331 arch/x86/kernel/cpu/mtrr/generic.c vr[index].base_hi = base_hi; index 332 arch/x86/kernel/cpu/mtrr/generic.c vr[index].mask_lo = mask_lo; index 333 arch/x86/kernel/cpu/mtrr/generic.c vr[index].mask_hi = mask_hi; index 658 arch/x86/kernel/cpu/mtrr/generic.c static bool set_mtrr_var_ranges(unsigned int index, struct mtrr_var_range *vr) index 663 arch/x86/kernel/cpu/mtrr/generic.c rdmsr(MTRRphysBase_MSR(index), lo, hi); index 668 arch/x86/kernel/cpu/mtrr/generic.c mtrr_wrmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); index 672 arch/x86/kernel/cpu/mtrr/generic.c rdmsr(MTRRphysMask_MSR(index), lo, hi); index 677 arch/x86/kernel/cpu/mtrr/generic.c mtrr_wrmsr(MTRRphysMask_MSR(index), vr->mask_lo, vr->mask_hi); index 53 arch/x86/kernel/cpu/mtrr/mtrr.h void fill_mtrr_var_range(unsigned int index, index 77 arch/x86/kernel/early_printk.c .index = -1, index 327 arch/x86/kernel/early_printk.c .index = -1, index 332 arch/x86/kernel/early_printk.c if (con->index != -1) { index 193 arch/x86/kernel/pci-calgary_64.c unsigned long index; index 197 arch/x86/kernel/pci-calgary_64.c index = start_addr >> PAGE_SHIFT; index 200 arch/x86/kernel/pci-calgary_64.c if (index >= tbl->it_size) index 203 arch/x86/kernel/pci-calgary_64.c end = index + npages; index 209 arch/x86/kernel/pci-calgary_64.c bitmap_set(tbl->it_map, index, npages); index 1289 arch/x86/kernel/pci-calgary_64.c unsigned int index; index 1291 arch/x86/kernel/pci-calgary_64.c for (index = 0 ; index < tbl->it_size; index++) { index 1293 arch/x86/kernel/pci-calgary_64.c set_bit(index, tbl->it_map); index 621 arch/x86/kernel/ptrace.c int index = array_index_nospec(n, HBP_NUM); index 622 arch/x86/kernel/ptrace.c struct perf_event *bp = thread->ptrace_bps[index]; index 36 arch/x86/kernel/tce_64.c void tce_build(struct iommu_table *tbl, unsigned long index, index 47 arch/x86/kernel/tce_64.c tp = ((u64*)tbl->it_base) + index; index 62 arch/x86/kernel/tce_64.c void tce_free(struct iommu_table *tbl, long index, unsigned int npages) index 66 arch/x86/kernel/tce_64.c tp = ((u64*)tbl->it_base) + index; index 224 arch/x86/kernel/tls.c int index; index 232 arch/x86/kernel/tls.c index = idx - GDT_ENTRY_TLS_MIN; index 233 arch/x86/kernel/tls.c index = array_index_nospec(index, index 236 arch/x86/kernel/tls.c fill_user_desc(&info, idx, &p->thread.tls_array[index]); index 167 arch/x86/kernel/tsc_msr.c int index; index 184 arch/x86/kernel/tsc_msr.c index = lo & freq_desc->mask; index 185 arch/x86/kernel/tsc_msr.c md = &freq_desc->muldiv[index]; index 200 arch/x86/kernel/tsc_msr.c freq = freq_desc->freqs[index]; index 205 arch/x86/kernel/tsc_msr.c pr_err("Error MSR_FSB_FREQ index %d is unknown\n", index); index 226 arch/x86/kvm/cpuid.c vcpu->arch.cpuid_entries[i].index = 0; index 290 arch/x86/kvm/cpuid.c u32 index) index 293 arch/x86/kvm/cpuid.c entry->index = index; index 296 arch/x86/kvm/cpuid.c cpuid_count(entry->function, entry->index, index 324 arch/x86/kvm/cpuid.c entry->index = 0; index 348 arch/x86/kvm/cpuid.c static inline void do_cpuid_7_mask(struct kvm_cpuid_entry2 *entry, int index) index 382 arch/x86/kvm/cpuid.c switch (index) { index 950 arch/x86/kvm/cpuid.c u32 function, u32 index) index 954 arch/x86/kvm/cpuid.c if ((e->flags & KVM_CPUID_FLAG_SIGNIFCANT_INDEX) && e->index != index) index 963 arch/x86/kvm/cpuid.c u32 function, u32 index) index 972 arch/x86/kvm/cpuid.c if (is_matching_cpuid_entry(e, function, index)) { index 999 arch/x86/kvm/cpuid.c u32 function = *eax, index = *ecx; index 1004 arch/x86/kvm/cpuid.c entry = kvm_find_cpuid_entry(vcpu, function, index); index 1017 arch/x86/kvm/cpuid.c entry = kvm_find_cpuid_entry(vcpu, function, index); index 1037 arch/x86/kvm/cpuid.c *ecx = index & 0xff; index 12 arch/x86/kvm/cpuid.h u32 function, u32 index); index 37 arch/x86/kvm/cpuid.h u32 index; index 73 arch/x86/kvm/cpuid.h entry = kvm_find_cpuid_entry(vcpu, cpuid.function, cpuid.index); index 1546 arch/x86/kvm/emulate.c u16 index, struct desc_struct *desc) index 1553 arch/x86/kvm/emulate.c if (dt.size < index * 8 + 7) index 1554 arch/x86/kvm/emulate.c return emulate_gp(ctxt, index << 3 | 0x2); index 1556 arch/x86/kvm/emulate.c addr = dt.address + index * 8; index 1585 arch/x86/kvm/emulate.c u16 index = selector >> 3; index 1590 arch/x86/kvm/emulate.c if (dt.size < index * 8 + 7) index 1593 arch/x86/kvm/emulate.c addr = dt.address + index * 8; index 5360 arch/x86/kvm/emulate.c u32 index = array_index_nospec( index 5363 arch/x86/kvm/emulate.c opcode = opcode.u.esc->high[index]; index 420 arch/x86/kvm/hyperv.c set_bit(stimer->index, index 432 arch/x86/kvm/hyperv.c stimer->index); index 435 arch/x86/kvm/hyperv.c clear_bit(stimer->index, index 447 arch/x86/kvm/hyperv.c stimer->index); index 481 arch/x86/kvm/hyperv.c stimer->index, index 503 arch/x86/kvm/hyperv.c stimer->index, index 519 arch/x86/kvm/hyperv.c stimer->index, config, host); index 537 arch/x86/kvm/hyperv.c stimer->index, count, host); index 664 arch/x86/kvm/hyperv.c stimer->index, direct, r); index 739 arch/x86/kvm/hyperv.c payload->timer_index = stimer->index; index 747 arch/x86/kvm/hyperv.c stimer->index = timer_index; index 809 arch/x86/kvm/hyperv.c u32 index, u64 *pdata) index 814 arch/x86/kvm/hyperv.c if (WARN_ON_ONCE(index >= size)) index 817 arch/x86/kvm/hyperv.c *pdata = hv->hv_crash_param[array_index_nospec(index, size)]; index 853 arch/x86/kvm/hyperv.c u32 index, u64 data) index 858 arch/x86/kvm/hyperv.c if (WARN_ON_ONCE(index >= size)) index 861 arch/x86/kvm/hyperv.c hv->hv_crash_param[array_index_nospec(index, size)] = data; index 78 arch/x86/kvm/hyperv.h hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, index 75 arch/x86/kvm/ioapic.c u32 index = array_index_nospec( index 78 arch/x86/kvm/ioapic.c redir_content = ioapic->redirtbl[index].bits; index 241 arch/x86/kvm/ioapic.c int index; index 250 arch/x86/kvm/ioapic.c for (index = 0; index < IOAPIC_NUM_PINS; index++) { index 251 arch/x86/kvm/ioapic.c e = &ioapic->redirtbl[index]; index 253 arch/x86/kvm/ioapic.c kvm_irq_has_notifier(ioapic->kvm, KVM_IRQCHIP_IOAPIC, index) || index 254 arch/x86/kvm/ioapic.c index == RTC_GSI) { index 274 arch/x86/kvm/ioapic.c unsigned index; index 292 arch/x86/kvm/ioapic.c index = (ioapic->ioregsel - 0x10) >> 1; index 294 arch/x86/kvm/ioapic.c if (index >= IOAPIC_NUM_PINS) index 296 arch/x86/kvm/ioapic.c index = array_index_nospec(index, IOAPIC_NUM_PINS); index 297 arch/x86/kvm/ioapic.c e = &ioapic->redirtbl[index]; index 323 arch/x86/kvm/ioapic.c kvm_fire_mask_notifiers(ioapic->kvm, KVM_IRQCHIP_IOAPIC, index, mask_after); index 325 arch/x86/kvm/ioapic.c && ioapic->irr & (1 << index)) index 326 arch/x86/kvm/ioapic.c ioapic_service(ioapic, index, false); index 78 arch/x86/kvm/kvm_cache_regs.h static inline u64 kvm_pdptr_read(struct kvm_vcpu *vcpu, int index) index 86 arch/x86/kvm/kvm_cache_regs.h return vcpu->arch.walk_mmu->pdptrs[index]; index 1931 arch/x86/kvm/lapic.c u32 index; index 1936 arch/x86/kvm/lapic.c index = array_index_nospec( index 1938 arch/x86/kvm/lapic.c val &= apic_lvt_mask[index]; index 215 arch/x86/kvm/mmu.c unsigned index; index 1155 arch/x86/kvm/mmu.c static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index) index 1158 arch/x86/kvm/mmu.c return sp->gfns[index]; index 1160 arch/x86/kvm/mmu.c return sp->gfn + (index << ((sp->role.level - 1) * PT64_LEVEL_BITS)); index 1163 arch/x86/kvm/mmu.c static void kvm_mmu_page_set_gfn(struct kvm_mmu_page *sp, int index, gfn_t gfn) index 1166 arch/x86/kvm/mmu.c sp->gfns[index] = gfn; index 1170 arch/x86/kvm/mmu.c if (WARN_ON(gfn != kvm_mmu_page_get_gfn(sp, index))) index 1174 arch/x86/kvm/mmu.c kvm_mmu_page_get_gfn(sp, index), gfn); index 2213 arch/x86/kvm/mmu.c unsigned int index; index 2216 arch/x86/kvm/mmu.c index = spte - sp->spt; index 2217 arch/x86/kvm/mmu.c if (__test_and_set_bit(index, sp->unsync_child_bitmap)) index 2681 arch/x86/kvm/mmu.c iterator->index = SHADOW_PT_INDEX(iterator->addr, iterator->level); index 2682 arch/x86/kvm/mmu.c iterator->sptep = ((u64 *)__va(iterator->shadow_addr)) + iterator->index; index 177 arch/x86/kvm/mmu.h int index = (pfec >> 1) + index 179 arch/x86/kvm/mmu.h bool fault = (mmu->permissions[index] >> pte_access) & 1; index 101 arch/x86/kvm/mmutrace.h TP_PROTO(unsigned long table_gfn, unsigned index, unsigned size), index 103 arch/x86/kvm/mmutrace.h TP_ARGS(table_gfn, index, size), index 111 arch/x86/kvm/mmutrace.h + index * size; index 120 arch/x86/kvm/mmutrace.h TP_PROTO(unsigned long table_gfn, unsigned index, unsigned size), index 122 arch/x86/kvm/mmutrace.h TP_ARGS(table_gfn, index, size) index 128 arch/x86/kvm/mmutrace.h TP_PROTO(unsigned long table_gfn, unsigned index, unsigned size), index 130 arch/x86/kvm/mmutrace.h TP_ARGS(table_gfn, index, size) index 280 arch/x86/kvm/mtrr.c int index; index 283 arch/x86/kvm/mtrr.c index = mtrr_seg->range_start; index 284 arch/x86/kvm/mtrr.c index += (addr - mtrr_seg->start) >> mtrr_seg->range_shift; index 285 arch/x86/kvm/mtrr.c return index; index 288 arch/x86/kvm/mtrr.c static u64 fixed_mtrr_range_end_addr(int seg, int index) index 291 arch/x86/kvm/mtrr.c int pos = index - mtrr_seg->range_start; index 314 arch/x86/kvm/mtrr.c int index; index 332 arch/x86/kvm/mtrr.c index = (msr - 0x200) / 2; index 333 arch/x86/kvm/mtrr.c var_mtrr_range(&mtrr_state->var_ranges[index], &start, &end); index 348 arch/x86/kvm/mtrr.c int index, is_mtrr_mask; index 350 arch/x86/kvm/mtrr.c index = (msr - 0x200) / 2; index 351 arch/x86/kvm/mtrr.c is_mtrr_mask = msr - 0x200 - 2 * index; index 352 arch/x86/kvm/mtrr.c cur = &mtrr_state->var_ranges[index]; index 356 arch/x86/kvm/mtrr.c list_del(&mtrr_state->var_ranges[index].node); index 378 arch/x86/kvm/mtrr.c int index; index 383 arch/x86/kvm/mtrr.c index = fixed_msr_to_range_index(msr); index 384 arch/x86/kvm/mtrr.c if (index >= 0) index 385 arch/x86/kvm/mtrr.c *(u64 *)&vcpu->arch.mtrr_state.fixed_ranges[index] = data; index 399 arch/x86/kvm/mtrr.c int index; index 416 arch/x86/kvm/mtrr.c index = fixed_msr_to_range_index(msr); index 417 arch/x86/kvm/mtrr.c if (index >= 0) index 418 arch/x86/kvm/mtrr.c *pdata = *(u64 *)&vcpu->arch.mtrr_state.fixed_ranges[index]; index 426 arch/x86/kvm/mtrr.c index = (msr - 0x200) / 2; index 427 arch/x86/kvm/mtrr.c is_mtrr_mask = msr - 0x200 - 2 * index; index 429 arch/x86/kvm/mtrr.c *pdata = vcpu->arch.mtrr_state.var_ranges[index].base; index 431 arch/x86/kvm/mtrr.c *pdata = vcpu->arch.mtrr_state.var_ranges[index].mask; index 461 arch/x86/kvm/mtrr.c int index; index 478 arch/x86/kvm/mtrr.c int seg, index; index 488 arch/x86/kvm/mtrr.c index = fixed_mtrr_addr_seg_to_range_index(iter->start, seg); index 489 arch/x86/kvm/mtrr.c iter->index = index; index 545 arch/x86/kvm/mtrr.c if (fixed_mtrr_range_end_addr(iter->seg, iter->index) >= iter->end) { index 551 arch/x86/kvm/mtrr.c iter->index++; index 554 arch/x86/kvm/mtrr.c if (iter->index >= ARRAY_SIZE(iter->mtrr_state->fixed_ranges)) index 558 arch/x86/kvm/mtrr.c if (iter->index > fixed_mtrr_seg_end_range_index(iter->seg)) index 595 arch/x86/kvm/mtrr.c iter->mem_type = iter->mtrr_state->fixed_ranges[iter->index]; index 66 arch/x86/kvm/page_track.c int index, val; index 68 arch/x86/kvm/page_track.c index = gfn_to_index(gfn, slot->base_gfn, PT_PAGE_TABLE_LEVEL); index 70 arch/x86/kvm/page_track.c val = slot->arch.gfn_track[mode][index]; index 75 arch/x86/kvm/page_track.c slot->arch.gfn_track[mode][index] += count; index 149 arch/x86/kvm/page_track.c int index; index 158 arch/x86/kvm/page_track.c index = gfn_to_index(gfn, slot->base_gfn, PT_PAGE_TABLE_LEVEL); index 159 arch/x86/kvm/page_track.c return !!READ_ONCE(slot->arch.gfn_track[mode][index]); index 132 arch/x86/kvm/paging_tmpl.h pt_element_t __user *ptep_user, unsigned index, index 143 arch/x86/kvm/paging_tmpl.h ret = CMPXCHG(&table[index], orig_pte, new_pte); index 166 arch/x86/kvm/paging_tmpl.h ret = CMPXCHG(&table[index], orig_pte, new_pte); index 225 arch/x86/kvm/paging_tmpl.h unsigned level, index; index 239 arch/x86/kvm/paging_tmpl.h index = offset_in_page(ptep_user) / sizeof(pt_element_t); index 241 arch/x86/kvm/paging_tmpl.h trace_kvm_mmu_set_accessed_bit(table_gfn, index, sizeof(pte)); index 246 arch/x86/kvm/paging_tmpl.h trace_kvm_mmu_set_dirty_bit(table_gfn, index, sizeof(pte)); index 272 arch/x86/kvm/paging_tmpl.h ret = FNAME(cmpxchg_gpte)(vcpu, mmu, ptep_user, index, orig_pte, pte); index 305 arch/x86/kvm/paging_tmpl.h unsigned index, accessed_dirty, pte_pkey; index 354 arch/x86/kvm/paging_tmpl.h index = PT_INDEX(addr, walker->level); index 356 arch/x86/kvm/paging_tmpl.h offset = index * sizeof(pt_element_t); index 561 arch/x86/kvm/paging_tmpl.h int r, index; index 566 arch/x86/kvm/paging_tmpl.h index = (pte_gpa - base_gpa) / sizeof(pt_element_t); index 570 arch/x86/kvm/paging_tmpl.h curr_pte = gw->prefetch_ptes[index]; index 92 arch/x86/kvm/pmu.h u32 index = array_index_nospec(msr - base, index 95 arch/x86/kvm/pmu.h return &pmu->gp_counters[index]; index 107 arch/x86/kvm/pmu.h u32 index = array_index_nospec(msr - base, index 110 arch/x86/kvm/pmu.h return &pmu->fixed_counters[index]; index 64 arch/x86/kvm/pmu_amd.c static enum index msr_to_index(u32 msr) index 236 arch/x86/kvm/pmu_amd.c u32 msr = msr_info->index; index 274 arch/x86/kvm/svm.c u32 index; /* Index of the MSR */ index 277 arch/x86/kvm/svm.c { .index = MSR_STAR, .always = true }, index 278 arch/x86/kvm/svm.c { .index = MSR_IA32_SYSENTER_CS, .always = true }, index 280 arch/x86/kvm/svm.c { .index = MSR_GS_BASE, .always = true }, index 281 arch/x86/kvm/svm.c { .index = MSR_FS_BASE, .always = true }, index 282 arch/x86/kvm/svm.c { .index = MSR_KERNEL_GS_BASE, .always = true }, index 283 arch/x86/kvm/svm.c { .index = MSR_LSTAR, .always = true }, index 284 arch/x86/kvm/svm.c { .index = MSR_CSTAR, .always = true }, index 285 arch/x86/kvm/svm.c { .index = MSR_SYSCALL_MASK, .always = true }, index 287 arch/x86/kvm/svm.c { .index = MSR_IA32_SPEC_CTRL, .always = false }, index 288 arch/x86/kvm/svm.c { .index = MSR_IA32_PRED_CMD, .always = false }, index 289 arch/x86/kvm/svm.c { .index = MSR_IA32_LASTBRANCHFROMIP, .always = false }, index 290 arch/x86/kvm/svm.c { .index = MSR_IA32_LASTBRANCHTOIP, .always = false }, index 291 arch/x86/kvm/svm.c { .index = MSR_IA32_LASTINTFROMIP, .always = false }, index 292 arch/x86/kvm/svm.c { .index = MSR_IA32_LASTINTTOIP, .always = false }, index 293 arch/x86/kvm/svm.c { .index = MSR_INVALID, .always = false }, index 1030 arch/x86/kvm/svm.c static bool valid_msr_intercept(u32 index) index 1034 arch/x86/kvm/svm.c for (i = 0; direct_access_msrs[i].index != MSR_INVALID; i++) index 1035 arch/x86/kvm/svm.c if (direct_access_msrs[i].index == index) index 1092 arch/x86/kvm/svm.c for (i = 0; direct_access_msrs[i].index != MSR_INVALID; i++) { index 1096 arch/x86/kvm/svm.c set_msr_interception(msrpm, direct_access_msrs[i].index, 1, 1); index 1133 arch/x86/kvm/svm.c for (i = 0; direct_access_msrs[i].index != MSR_INVALID; i++) { index 1136 arch/x86/kvm/svm.c offset = svm_msrpm_offset(direct_access_msrs[i].index); index 1697 arch/x86/kvm/svm.c unsigned int index) index 1702 arch/x86/kvm/svm.c if (index >= AVIC_MAX_PHYSICAL_ID_COUNT) index 1707 arch/x86/kvm/svm.c return &avic_physical_id_table[index]; index 2976 arch/x86/kvm/svm.c static u64 nested_svm_get_tdp_pdptr(struct kvm_vcpu *vcpu, int index) index 2984 arch/x86/kvm/svm.c offset_in_page(cr3) + index * 8, 8); index 3879 arch/x86/kvm/svm.c u32 index = kvm_rcx_read(&svm->vcpu); index 3881 arch/x86/kvm/svm.c if (kvm_set_xcr(&svm->vcpu, index, new_bv) == 0) { index 4157 arch/x86/kvm/svm.c switch (msr->index) { index 4173 arch/x86/kvm/svm.c switch (msr_info->index) { index 4306 arch/x86/kvm/svm.c u32 ecx = msr->index; index 4437 arch/x86/kvm/svm.c msr_entry.index = msr->index; index 4526 arch/x86/kvm/svm.c u32 index = svm->vmcb->control.exit_info_2 & 0xFF; index 4529 arch/x86/kvm/svm.c trace_kvm_avic_incomplete_ipi(svm->vcpu.vcpu_id, icrh, icrl, id, index); index 4571 arch/x86/kvm/svm.c index, svm->vcpu.vcpu_id, icrh, icrl); index 4586 arch/x86/kvm/svm.c int index; index 4594 arch/x86/kvm/svm.c index = ffs(dlid) - 1; index 4595 arch/x86/kvm/svm.c if (index > 7) index 4604 arch/x86/kvm/svm.c index = (cluster << 2) + apic; index 4609 arch/x86/kvm/svm.c return &logical_apic_id_table[index]; index 5925 arch/x86/kvm/svm.c static bool svm_has_emulated_msr(int index) index 5927 arch/x86/kvm/svm.c switch (index) { index 1298 arch/x86/kvm/trace.h TP_PROTO(u32 vcpu, u32 icrh, u32 icrl, u32 id, u32 index), index 1299 arch/x86/kvm/trace.h TP_ARGS(vcpu, icrh, icrl, id, index), index 1306 arch/x86/kvm/trace.h __field(u32, index) index 1314 arch/x86/kvm/trace.h __entry->index = index; index 1319 arch/x86/kvm/trace.h __entry->id, __entry->index) index 80 arch/x86/kvm/vmx/evmcs.h unsigned int index = ROL16(field, 6); index 83 arch/x86/kvm/vmx/evmcs.h if (unlikely(index >= nr_evmcs_1_fields)) { index 89 arch/x86/kvm/vmx/evmcs.h evmcs_field = &vmcs_field_to_evmcs_1[index]; index 849 arch/x86/kvm/vmx/nested.c if (CC(vcpu->arch.apic_base & X2APIC_ENABLE && e->index >> 8 == 0x8)) index 851 arch/x86/kvm/vmx/nested.c if (CC(e->index == MSR_IA32_UCODE_WRITE) || /* SDM Table 35-2 */ index 852 arch/x86/kvm/vmx/nested.c CC(e->index == MSR_IA32_UCODE_REV)) index 862 arch/x86/kvm/vmx/nested.c if (CC(e->index == MSR_FS_BASE) || index 863 arch/x86/kvm/vmx/nested.c CC(e->index == MSR_GS_BASE) || index 864 arch/x86/kvm/vmx/nested.c CC(e->index == MSR_IA32_SMM_MONITOR_CTL) || /* SMM is not supported */ index 873 arch/x86/kvm/vmx/nested.c if (CC(e->index == MSR_IA32_SMBASE) || /* SMM is not supported */ index 917 arch/x86/kvm/vmx/nested.c __func__, i, e.index, e.reserved); index 920 arch/x86/kvm/vmx/nested.c if (kvm_set_msr(vcpu, e.index, e.value)) { index 923 arch/x86/kvm/vmx/nested.c __func__, i, e.index, e.value); index 954 arch/x86/kvm/vmx/nested.c __func__, i, e.index, e.reserved); index 957 arch/x86/kvm/vmx/nested.c if (kvm_get_msr(vcpu, e.index, &data)) { index 960 arch/x86/kvm/vmx/nested.c __func__, i, e.index); index 969 arch/x86/kvm/vmx/nested.c __func__, i, e.index, data); index 3949 arch/x86/kvm/vmx/nested.c if (vmx->msr_autoload.guest.val[i].index == MSR_EFER) index 4041 arch/x86/kvm/vmx/nested.c if (h.index != g.index) index 4049 arch/x86/kvm/vmx/nested.c __func__, j, h.index, h.reserved); index 4053 arch/x86/kvm/vmx/nested.c if (kvm_set_msr(vcpu, h.index, h.value)) { index 4056 arch/x86/kvm/vmx/nested.c __func__, j, h.index, h.value); index 5039 arch/x86/kvm/vmx/nested.c u32 index = kvm_rcx_read(vcpu); index 5048 arch/x86/kvm/vmx/nested.c if (index >= VMFUNC_EPTP_ENTRIES) index 5053 arch/x86/kvm/vmx/nested.c &address, index * 8, 8)) index 213 arch/x86/kvm/vmx/pmu_intel.c u32 msr = msr_info->index; index 380 arch/x86/kvm/vmx/vmcs12.h unsigned int index; index 385 arch/x86/kvm/vmx/vmcs12.h index = ROL16(field, 6); index 386 arch/x86/kvm/vmx/vmcs12.h if (index >= nr_vmcs12_fields) index 389 arch/x86/kvm/vmx/vmcs12.h index = array_index_nospec(index, nr_vmcs12_fields); index 390 arch/x86/kvm/vmx/vmcs12.h offset = vmcs_field_to_offset_table[index]; index 626 arch/x86/kvm/vmx/vmx.c if (vmx_msr_index[vmx->guest_msrs[i].index] == msr) index 820 arch/x86/kvm/vmx/vmx.c if (m->val[i].index == msr) index 930 arch/x86/kvm/vmx/vmx.c m->guest.val[i].index = msr; index 940 arch/x86/kvm/vmx/vmx.c m->host.val[j].index = msr; index 1128 arch/x86/kvm/vmx/vmx.c kvm_set_shared_msr(vmx->guest_msrs[i].index, index 1645 arch/x86/kvm/vmx/vmx.c int save_nmsrs, index; index 1654 arch/x86/kvm/vmx/vmx.c index = __find_msr_index(vmx, MSR_STAR); index 1655 arch/x86/kvm/vmx/vmx.c if (index >= 0) index 1656 arch/x86/kvm/vmx/vmx.c move_msr_up(vmx, index, save_nmsrs++); index 1657 arch/x86/kvm/vmx/vmx.c index = __find_msr_index(vmx, MSR_LSTAR); index 1658 arch/x86/kvm/vmx/vmx.c if (index >= 0) index 1659 arch/x86/kvm/vmx/vmx.c move_msr_up(vmx, index, save_nmsrs++); index 1660 arch/x86/kvm/vmx/vmx.c index = __find_msr_index(vmx, MSR_SYSCALL_MASK); index 1661 arch/x86/kvm/vmx/vmx.c if (index >= 0) index 1662 arch/x86/kvm/vmx/vmx.c move_msr_up(vmx, index, save_nmsrs++); index 1665 arch/x86/kvm/vmx/vmx.c index = __find_msr_index(vmx, MSR_EFER); index 1666 arch/x86/kvm/vmx/vmx.c if (index >= 0 && update_transition_efer(vmx, index)) index 1667 arch/x86/kvm/vmx/vmx.c move_msr_up(vmx, index, save_nmsrs++); index 1668 arch/x86/kvm/vmx/vmx.c index = __find_msr_index(vmx, MSR_TSC_AUX); index 1669 arch/x86/kvm/vmx/vmx.c if (index >= 0 && guest_cpuid_has(&vmx->vcpu, X86_FEATURE_RDTSCP)) index 1670 arch/x86/kvm/vmx/vmx.c move_msr_up(vmx, index, save_nmsrs++); index 1733 arch/x86/kvm/vmx/vmx.c switch (msr->index) { index 1737 arch/x86/kvm/vmx/vmx.c return vmx_get_vmx_msr(&vmcs_config.nested, msr->index, &msr->data); index 1754 arch/x86/kvm/vmx/vmx.c u32 index; index 1756 arch/x86/kvm/vmx/vmx.c switch (msr_info->index) { index 1812 arch/x86/kvm/vmx/vmx.c return vmx_get_vmx_msr(&vmx->nested.msrs, msr_info->index, index 1858 arch/x86/kvm/vmx/vmx.c index = msr_info->index - MSR_IA32_RTIT_ADDR0_A; index 1860 arch/x86/kvm/vmx/vmx.c (index >= 2 * intel_pt_validate_cap(vmx->pt_desc.caps, index 1863 arch/x86/kvm/vmx/vmx.c if (index % 2) index 1864 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.addr_b[index / 2]; index 1866 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.addr_a[index / 2]; index 1874 arch/x86/kvm/vmx/vmx.c msr = find_msr_entry(vmx, msr_info->index); index 1895 arch/x86/kvm/vmx/vmx.c u32 msr_index = msr_info->index; index 1897 arch/x86/kvm/vmx/vmx.c u32 index; index 2122 arch/x86/kvm/vmx/vmx.c index = msr_info->index - MSR_IA32_RTIT_ADDR0_A; index 2125 arch/x86/kvm/vmx/vmx.c (index >= 2 * intel_pt_validate_cap(vmx->pt_desc.caps, index 2130 arch/x86/kvm/vmx/vmx.c if (index % 2) index 2131 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.addr_b[index / 2] = data; index 2133 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.addr_a[index / 2] = data; index 2150 arch/x86/kvm/vmx/vmx.c ret = kvm_set_shared_msr(msr->index, msr->data, index 4211 arch/x86/kvm/vmx/vmx.c u32 index = vmx_msr_index[i]; index 4215 arch/x86/kvm/vmx/vmx.c if (rdmsr_safe(index, &data_low, &data_high) < 0) index 4217 arch/x86/kvm/vmx/vmx.c if (wrmsr_safe(index, data_low, data_high) < 0) index 4219 arch/x86/kvm/vmx/vmx.c vmx->guest_msrs[j].index = i; index 5041 arch/x86/kvm/vmx/vmx.c u32 index = kvm_rcx_read(vcpu); index 5043 arch/x86/kvm/vmx/vmx.c if (kvm_set_xcr(vcpu, index, new_bv) == 0) index 6274 arch/x86/kvm/vmx/vmx.c static bool vmx_has_emulated_msr(int index) index 6276 arch/x86/kvm/vmx/vmx.c switch (index) { index 33 arch/x86/kvm/vmx/vmx.h unsigned index; index 862 arch/x86/kvm/x86.c static int __kvm_set_xcr(struct kvm_vcpu *vcpu, u32 index, u64 xcr) index 869 arch/x86/kvm/x86.c if (index != XCR_XFEATURE_ENABLED_MASK) index 902 arch/x86/kvm/x86.c int kvm_set_xcr(struct kvm_vcpu *vcpu, u32 index, u64 xcr) index 905 arch/x86/kvm/x86.c __kvm_set_xcr(vcpu, index, xcr)) { index 1402 arch/x86/kvm/x86.c switch (msr->index) { index 1407 arch/x86/kvm/x86.c rdmsrl_safe(msr->index, &msr->data); index 1416 arch/x86/kvm/x86.c static int do_get_msr_feature(struct kvm_vcpu *vcpu, unsigned index, u64 *data) index 1421 arch/x86/kvm/x86.c msr.index = index; index 1499 arch/x86/kvm/x86.c static int __kvm_set_msr(struct kvm_vcpu *vcpu, u32 index, u64 data, index 1504 arch/x86/kvm/x86.c switch (index) { index 1531 arch/x86/kvm/x86.c msr.index = index; index 1543 arch/x86/kvm/x86.c static int __kvm_get_msr(struct kvm_vcpu *vcpu, u32 index, u64 *data, index 1549 arch/x86/kvm/x86.c msr.index = index; index 1558 arch/x86/kvm/x86.c int kvm_get_msr(struct kvm_vcpu *vcpu, u32 index, u64 *data) index 1560 arch/x86/kvm/x86.c return __kvm_get_msr(vcpu, index, data, false); index 1564 arch/x86/kvm/x86.c int kvm_set_msr(struct kvm_vcpu *vcpu, u32 index, u64 data) index 1566 arch/x86/kvm/x86.c return __kvm_set_msr(vcpu, index, data, false); index 1608 arch/x86/kvm/x86.c static int do_get_msr(struct kvm_vcpu *vcpu, unsigned index, u64 *data) index 1610 arch/x86/kvm/x86.c return __kvm_get_msr(vcpu, index, data, true); index 1613 arch/x86/kvm/x86.c static int do_set_msr(struct kvm_vcpu *vcpu, unsigned index, u64 *data) index 1615 arch/x86/kvm/x86.c return __kvm_set_msr(vcpu, index, *data, true); index 2532 arch/x86/kvm/x86.c u32 msr = msr_info->index; index 2695 arch/x86/kvm/x86.c u32 msr = msr_info->index; index 2992 arch/x86/kvm/x86.c switch (msr_info->index) { index 3018 arch/x86/kvm/x86.c if (kvm_pmu_is_valid_msr(vcpu, msr_info->index)) index 3019 arch/x86/kvm/x86.c return kvm_pmu_get_msr(vcpu, msr_info->index, &msr_info->data); index 3039 arch/x86/kvm/x86.c return kvm_mtrr_get_msr(vcpu, msr_info->index, &msr_info->data); index 3061 arch/x86/kvm/x86.c return kvm_x2apic_msr_read(vcpu, msr_info->index, &msr_info->data); index 3115 arch/x86/kvm/x86.c return get_msr_mce(vcpu, msr_info->index, &msr_info->data, index 3137 arch/x86/kvm/x86.c msr_info->index, &msr_info->data, index 3176 arch/x86/kvm/x86.c if (kvm_pmu_is_valid_msr(vcpu, msr_info->index)) index 3177 arch/x86/kvm/x86.c return kvm_pmu_get_msr(vcpu, msr_info->index, &msr_info->data); index 3180 arch/x86/kvm/x86.c msr_info->index); index 3185 arch/x86/kvm/x86.c msr_info->index); index 3202 arch/x86/kvm/x86.c unsigned index, u64 *data)) index 3207 arch/x86/kvm/x86.c if (do_msr(vcpu, entries[i].index, &entries[i].data)) index 3220 arch/x86/kvm/x86.c unsigned index, u64 *data), index 5279 arch/x86/kvm/x86.c msr.index = msr_based_features_all[i]; index 6277 arch/x86/kvm/x86.c static int emulator_set_xcr(struct x86_emulate_ctxt *ctxt, u32 index, u64 xcr) index 6279 arch/x86/kvm/x86.c return __kvm_set_xcr(emul_to_vcpu(ctxt), index, xcr); index 9190 arch/x86/kvm/x86.c msr.index = MSR_IA32_TSC; index 74 arch/x86/math-emu/get_address.c u_char ss, index, base; index 83 arch/x86/math-emu/get_address.c index = (base >> 3) & 7; index 91 arch/x86/math-emu/get_address.c if (index == 4) { index 97 arch/x86/math-emu/get_address.c offset += (REG_(index)) << ss; index 151 arch/x86/mm/fault.c unsigned index = pgd_index(address); index 157 arch/x86/mm/fault.c pgd += index; index 158 arch/x86/mm/fault.c pgd_k = init_mm.pgd + index; index 576 arch/x86/mm/fault.c static void show_ldttss(const struct desc_ptr *gdt, const char *name, u16 index) index 578 arch/x86/mm/fault.c u32 offset = (index >> 3) * sizeof(struct desc_struct); index 582 arch/x86/mm/fault.c if (index == 0) { index 588 arch/x86/mm/fault.c pr_alert("%s: 0x%hx -- out of bounds\n", name, index); index 595 arch/x86/mm/fault.c name, index); index 604 arch/x86/mm/fault.c name, index, addr, (desc.limit0 | (desc.limit1 << 16))); index 80 arch/x86/pci/xen.c map_irq.index = gsi; index 285 arch/x86/pci/xen.c map_irq.index = -1; index 327 arch/x86/pci/xen.c map_irq.index = -1; index 83 arch/x86/platform/atom/punit_atom_debug.c int index; index 94 arch/x86/platform/atom/punit_atom_debug.c index = (punit_pwr_status >> punit_devp->sss_pos) & 3; index 96 arch/x86/platform/atom/punit_atom_debug.c dstates[index]); index 95 arch/x86/platform/scx200/scx200_32.c u32 scx200_gpio_configure(unsigned index, u32 mask, u32 bits) index 101 arch/x86/platform/scx200/scx200_32.c outl(index, scx200_gpio_base + 0x20); index 671 arch/x86/platform/uv/tlb_uv.c static u64 read_status(u64 status_mmr, int index, int desc) index 675 arch/x86/platform/uv/tlb_uv.c stat = ((read_lmmr(status_mmr) >> index) & UV_ACT_STATUS_MASK) << 1; index 687 arch/x86/platform/uv/tlb_uv.c int index = bcp->status_index; index 690 arch/x86/platform/uv/tlb_uv.c descriptor_stat = read_status(mmr, index, desc); index 717 arch/x86/platform/uv/tlb_uv.c descriptor_stat = read_status(mmr, index, desc); index 904 arch/x86/platform/uv/tlb_uv.c unsigned long index; index 946 arch/x86/platform/uv/tlb_uv.c index = (1UL << AS_PUSH_SHIFT) | bcp->uvhub_cpu; index 949 arch/x86/platform/uv/tlb_uv.c write_mmr_activation(index); index 1878 arch/x86/platform/uv/tlb_uv.c int index; index 1886 arch/x86/platform/uv/tlb_uv.c index = (mmr_image >> BAU_URGENCY_7_SHIFT) & BAU_URGENCY_7_MASK; index 1889 arch/x86/platform/uv/tlb_uv.c ts_ns = timeout_base_ns[index]; index 51 arch/x86/xen/efi.c .index = XEN_FW_EFI_CONFIG_TABLE index 67 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_VENDOR; index 79 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_VERSION; index 86 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_RT_VERSION; index 1133 arch/x86/xen/enlighten_pv.c op.u.firmware_info.index = nr; index 1154 arch/x86/xen/enlighten_pv.c op.u.firmware_info.index = nr; index 2737 arch/x86/xen/mmu_pv.c int index = 0; index 2757 arch/x86/xen/mmu_pv.c err = HYPERVISOR_mmu_update(&mmu_update[index], index 2766 arch/x86/xen/mmu_pv.c for (i = index; i < index + done; i++) index 2777 arch/x86/xen/mmu_pv.c index += done; index 143 arch/x86/xen/pmu.c static int is_intel_pmu_msr(u32 msr_index, int *type, int *index) index 165 arch/x86/xen/pmu.c *index = msr_index - MSR_CORE_PERF_FIXED_CTR0; index 172 arch/x86/xen/pmu.c *index = msr_index - MSR_P6_EVNTSEL0; index 182 arch/x86/xen/pmu.c *index = msr_index_pmc - MSR_IA32_PERFCTR0; index 190 arch/x86/xen/pmu.c int index, bool is_read) index 222 arch/x86/xen/pmu.c reg = &fix_counters[index]; index 226 arch/x86/xen/pmu.c reg = &arch_cntr_pair[index].counter; index 230 arch/x86/xen/pmu.c reg = &arch_cntr_pair[index].control; index 302 arch/x86/xen/pmu.c int type, index; index 304 arch/x86/xen/pmu.c if (is_intel_pmu_msr(msr, &type, &index)) { index 305 arch/x86/xen/pmu.c if (!xen_intel_pmu_emulate(msr, val, type, index, 1)) index 325 arch/x86/xen/pmu.c int type, index; index 327 arch/x86/xen/pmu.c if (is_intel_pmu_msr(msr, &type, &index)) { index 328 arch/x86/xen/pmu.c if (!xen_intel_pmu_emulate(msr, &val, type, index, 0)) index 34 arch/xtensa/include/asm/pci-bridge.h int index; /* used for pci_controller_num */ index 371 arch/xtensa/kernel/smp.c int index; index 374 arch/xtensa/kernel/smp.c for_each_cpu(index, callmask) index 375 arch/xtensa/kernel/smp.c mask |= 1 << index; index 36 arch/xtensa/kernel/stacktrace.c int index; index 69 arch/xtensa/kernel/stacktrace.c for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) index 70 arch/xtensa/kernel/stacktrace.c if (windowstart & (1 << index)) { index 76 arch/xtensa/kernel/stacktrace.c a0 = regs->areg[index * 4]; index 77 arch/xtensa/kernel/stacktrace.c a1 = regs->areg[index * 4 + 1]; index 146 arch/xtensa/mm/cache.c unsigned long temp = page->index << PAGE_SHIFT; index 198 arch/xtensa/mm/fault.c int index = pgd_index(address); index 206 arch/xtensa/mm/fault.c pgd = act_mm->pgd + index; index 207 arch/xtensa/mm/fault.c pgd_k = init_mm.pgd + index; index 233 arch/xtensa/platforms/iss/console.c static struct tty_driver* iss_console_device(struct console *c, int *index) index 235 arch/xtensa/platforms/iss/console.c *index = c->index; index 245 arch/xtensa/platforms/iss/console.c .index = -1 index 77 arch/xtensa/platforms/iss/network.c int index; index 221 arch/xtensa/platforms/iss/network.c static int tuntap_probe(struct iss_net_private *lp, int index, char *init) index 505 arch/xtensa/platforms/iss/network.c static int iss_net_configure(int index, char *init) index 524 arch/xtensa/platforms/iss/network.c .index = index, index 533 arch/xtensa/platforms/iss/network.c snprintf(dev->name, sizeof(dev->name), "eth%d", index); index 540 arch/xtensa/platforms/iss/network.c if (!tuntap_probe(lp, index, init)) { index 546 arch/xtensa/platforms/iss/network.c pr_info("Netdevice %d (%pM)\n", index, dev->dev_addr); index 559 arch/xtensa/platforms/iss/network.c lp->pdev.id = index; index 598 arch/xtensa/platforms/iss/network.c int index; index 633 arch/xtensa/platforms/iss/network.c if (device->index == n) index 639 arch/xtensa/platforms/iss/network.c if (device && device->index == n) { index 651 arch/xtensa/platforms/iss/network.c new->index = n; index 673 arch/xtensa/platforms/iss/network.c iss_net_configure(eth->index, eth->init); index 6372 block/bfq-iosched.c static int bfq_init_hctx(struct blk_mq_hw_ctx *hctx, unsigned int index) index 86 block/blk-mq-cpumap.c int blk_mq_hw_queue_to_node(struct blk_mq_queue_map *qmap, unsigned int index) index 91 block/blk-mq-cpumap.c if (index == qmap->mq_map[i]) index 1595 block/blk-throttle.c int index = of_cft(of)->private; index 1603 block/blk-throttle.c v[0] = tg->bps_conf[READ][index]; index 1604 block/blk-throttle.c v[1] = tg->bps_conf[WRITE][index]; index 1605 block/blk-throttle.c v[2] = tg->iops_conf[READ][index]; index 1606 block/blk-throttle.c v[3] = tg->iops_conf[WRITE][index]; index 1649 block/blk-throttle.c tg->bps_conf[READ][index] = v[0]; index 1650 block/blk-throttle.c tg->bps_conf[WRITE][index] = v[1]; index 1651 block/blk-throttle.c tg->iops_conf[READ][index] = v[2]; index 1652 block/blk-throttle.c tg->iops_conf[WRITE][index] = v[3]; index 1654 block/blk-throttle.c if (index == LIMIT_MAX) { index 1655 block/blk-throttle.c tg->bps[READ][index] = v[0]; index 1656 block/blk-throttle.c tg->bps[WRITE][index] = v[1]; index 1657 block/blk-throttle.c tg->iops[READ][index] = v[2]; index 1658 block/blk-throttle.c tg->iops[WRITE][index] = v[3]; index 1682 block/blk-throttle.c } else if (index == LIMIT_LOW) { index 1689 block/blk-throttle.c if (index == LIMIT_LOW) index 1693 block/blk-throttle.c tg_conf_updated(tg, index == LIMIT_LOW && index 2231 block/blk-throttle.c int index; index 2238 block/blk-throttle.c index = request_bucket_index(size); index 2241 block/blk-throttle.c latency[index].total_latency += time; index 2242 block/blk-throttle.c latency[index].samples++; index 50 block/bsg.c static inline struct hlist_head *bsg_dev_idx_hash(int index) index 52 block/bsg.c return &bsg_device_list[index & (BSG_LIST_ARRAY_SIZE - 1)]; index 357 block/genhd.c int index, ret = 0; index 363 block/genhd.c for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) { index 364 block/genhd.c if (major_names[index] == NULL) index 368 block/genhd.c if (index == 0) { index 374 block/genhd.c major = index; index 395 block/genhd.c index = major_to_index(major); index 397 block/genhd.c for (n = &major_names[index]; *n; n = &(*n)->next) { index 422 block/genhd.c int index = major_to_index(major); index 425 block/genhd.c for (n = &major_names[index]; *n; n = &(*n)->next) index 404 crypto/asymmetric_keys/pkcs7_parser.c x509->index = ++ctx->x509_index; index 405 crypto/asymmetric_keys/pkcs7_parser.c pr_debug("Got cert %u for %s\n", x509->index, x509->subject); index 488 crypto/asymmetric_keys/pkcs7_parser.c ctx->msg->data_type, sinfo->index, index 671 crypto/asymmetric_keys/pkcs7_parser.c sinfo->index = ++ctx->sinfo_index; index 20 crypto/asymmetric_keys/pkcs7_parser.h unsigned index; index 31 crypto/asymmetric_keys/pkcs7_trust.c kenter(",%u,", sinfo->index); index 59 crypto/asymmetric_keys/pkcs7_trust.c sinfo->index, x509->index, key_serial(key)); index 89 crypto/asymmetric_keys/pkcs7_trust.c sinfo->index, x509->index, key_serial(key)); index 103 crypto/asymmetric_keys/pkcs7_trust.c sinfo->index, key_serial(key)); index 31 crypto/asymmetric_keys/pkcs7_verify.c kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo); index 76 crypto/asymmetric_keys/pkcs7_verify.c pr_warn("Sig %u: No messageDigest\n", sinfo->index); index 83 crypto/asymmetric_keys/pkcs7_verify.c sinfo->index, sinfo->msgdigest_len); index 91 crypto/asymmetric_keys/pkcs7_verify.c sinfo->index); index 165 crypto/asymmetric_keys/pkcs7_verify.c kenter("%u", sinfo->index); index 176 crypto/asymmetric_keys/pkcs7_verify.c sinfo->index, certix); index 180 crypto/asymmetric_keys/pkcs7_verify.c sinfo->index); index 192 crypto/asymmetric_keys/pkcs7_verify.c sinfo->index, index 263 crypto/asymmetric_keys/pkcs7_verify.c p->index, p->id->len, p->id->data); index 274 crypto/asymmetric_keys/pkcs7_verify.c p->index, p->skid->len, p->skid->data); index 291 crypto/asymmetric_keys/pkcs7_verify.c sinfo->index, x509->index, p->index); index 298 crypto/asymmetric_keys/pkcs7_verify.c sinfo->index); index 331 crypto/asymmetric_keys/pkcs7_verify.c kenter(",%u", sinfo->index); index 349 crypto/asymmetric_keys/pkcs7_verify.c sinfo->signer->index, sinfo->index); index 368 crypto/asymmetric_keys/pkcs7_verify.c pr_devel("Verified signature %u\n", sinfo->index); index 35 crypto/asymmetric_keys/x509_parser.h unsigned index; index 268 crypto/rmd128.c u32 i, index, padlen; index 276 crypto/rmd128.c index = rctx->byte_count & 0x3f; index 277 crypto/rmd128.c padlen = (index < 56) ? (56 - index) : ((64+56) - index); index 312 crypto/rmd160.c u32 i, index, padlen; index 320 crypto/rmd160.c index = rctx->byte_count & 0x3f; index 321 crypto/rmd160.c padlen = (index < 56) ? (56 - index) : ((64+56) - index); index 287 crypto/rmd256.c u32 i, index, padlen; index 295 crypto/rmd256.c index = rctx->byte_count & 0x3f; index 296 crypto/rmd256.c padlen = (index < 56) ? (56 - index) : ((64+56) - index); index 336 crypto/rmd320.c u32 i, index, padlen; index 344 crypto/rmd320.c index = rctx->byte_count & 0x3f; index 345 crypto/rmd320.c padlen = (index < 56) ? (56 - index) : ((64+56) - index); index 567 crypto/vmac.c int index; index 587 crypto/vmac.c index = dctx->nonce.bytes[VMAC_NONCEBYTES - 1] & 1; index 591 crypto/vmac.c pad = be64_to_cpu(dctx->nonce.pads[index]); index 345 drivers/accessibility/braille/braille_console.c int braille_register_console(struct console *console, int index, index 363 drivers/accessibility/braille/braille_console.c console->index = index; index 23 drivers/acpi/acpi_configfs.c u32 index; index 226 drivers/acpi/acpi_configfs.c acpi_tb_unload_table(table->index); index 134 drivers/acpi/acpica/acdispat.h u32 index, index 140 drivers/acpi/acpica/acdispat.h u32 index, index 150 drivers/acpi/acpica/acdispat.h u32 index, index 161 drivers/acpi/acpica/acdispat.h u32 index, index 99 drivers/acpi/acpica/acinterp.h u32 level, u32 index); index 506 drivers/acpi/acpica/aclocal.h u32 index; index 574 drivers/acpi/acpica/aclocal.h ACPI_STATE_COMMON u32 index; index 134 drivers/acpi/acpica/acstruct.h struct acpi_object_integer *index; index 137 drivers/acpi/acpica/acstruct.h } index; index 141 drivers/acpi/acpica/acstruct.h struct acpi_object_integer *index; index 505 drivers/acpi/acpica/acutils.h u32 index); index 508 drivers/acpi/acpica/dbdisply.c u32 index; /* Index onto current frame */ index 529 drivers/acpi/acpica/dbdisply.c index = (result_count - 1) % ACPI_RESULTS_FRAME_OBJ_NUM; index 532 drivers/acpi/acpica/dbdisply.c obj_desc = frame->results.obj_desc[index]; index 536 drivers/acpi/acpica/dbdisply.c if (index == 0) { index 538 drivers/acpi/acpica/dbdisply.c index = ACPI_RESULTS_FRAME_OBJ_NUM; index 541 drivers/acpi/acpica/dbdisply.c index--; index 110 drivers/acpi/acpica/dbmethod.c u32 index; index 145 drivers/acpi/acpica/dbmethod.c index = strtoul(index_arg, NULL, 16); index 168 drivers/acpi/acpica/dbmethod.c if (index > ACPI_METHOD_MAX_ARG) { index 170 drivers/acpi/acpica/dbmethod.c index); index 175 drivers/acpi/acpica/dbmethod.c index, obj_desc, index 181 drivers/acpi/acpica/dbmethod.c obj_desc = walk_state->arguments[index].object; index 183 drivers/acpi/acpica/dbmethod.c acpi_os_printf("Arg%u: ", index); index 191 drivers/acpi/acpica/dbmethod.c if (index > ACPI_METHOD_MAX_LOCAL) { index 193 drivers/acpi/acpica/dbmethod.c ("Local%u - Invalid local variable name\n", index); index 198 drivers/acpi/acpica/dbmethod.c index, obj_desc, index 204 drivers/acpi/acpica/dbmethod.c obj_desc = walk_state->local_variables[index].object; index 206 drivers/acpi/acpica/dbmethod.c acpi_os_printf("Local%u: ", index); index 20 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state); index 24 drivers/acpi/acpica/dsmthdat.c u32 index, index 31 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state); index 104 drivers/acpi/acpica/dsmthdat.c u32 index; index 110 drivers/acpi/acpica/dsmthdat.c for (index = 0; index < ACPI_METHOD_NUM_LOCALS; index++) { index 111 drivers/acpi/acpica/dsmthdat.c if (walk_state->local_variables[index].object) { index 113 drivers/acpi/acpica/dsmthdat.c index, index 114 drivers/acpi/acpica/dsmthdat.c walk_state->local_variables[index]. index 120 drivers/acpi/acpica/dsmthdat.c local_variables[index]); index 126 drivers/acpi/acpica/dsmthdat.c for (index = 0; index < ACPI_METHOD_NUM_ARGS; index++) { index 127 drivers/acpi/acpica/dsmthdat.c if (walk_state->arguments[index].object) { index 129 drivers/acpi/acpica/dsmthdat.c index, index 130 drivers/acpi/acpica/dsmthdat.c walk_state->arguments[index].object)); index 134 drivers/acpi/acpica/dsmthdat.c acpi_ns_detach_object(&walk_state->arguments[index]); index 163 drivers/acpi/acpica/dsmthdat.c u32 index = 0; index 175 drivers/acpi/acpica/dsmthdat.c while ((index < ACPI_METHOD_NUM_ARGS) && index 176 drivers/acpi/acpica/dsmthdat.c (index < max_param_count) && params[index]) { index 183 drivers/acpi/acpica/dsmthdat.c acpi_ds_method_data_set_value(ACPI_REFCLASS_ARG, index, index 184 drivers/acpi/acpica/dsmthdat.c params[index], walk_state); index 189 drivers/acpi/acpica/dsmthdat.c index++; index 192 drivers/acpi/acpica/dsmthdat.c ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%u args passed to method\n", index)); index 214 drivers/acpi/acpica/dsmthdat.c u32 index, index 226 drivers/acpi/acpica/dsmthdat.c if (index > ACPI_METHOD_MAX_LOCAL) { index 229 drivers/acpi/acpica/dsmthdat.c index, ACPI_METHOD_MAX_LOCAL)); index 235 drivers/acpi/acpica/dsmthdat.c *node = &walk_state->local_variables[index]; index 240 drivers/acpi/acpica/dsmthdat.c if (index > ACPI_METHOD_MAX_ARG) { index 243 drivers/acpi/acpica/dsmthdat.c index, ACPI_METHOD_MAX_ARG)); index 249 drivers/acpi/acpica/dsmthdat.c *node = &walk_state->arguments[index]; index 280 drivers/acpi/acpica/dsmthdat.c u32 index, index 296 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); index 334 drivers/acpi/acpica/dsmthdat.c u32 index, index 353 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); index 392 drivers/acpi/acpica/dsmthdat.c index, node)); index 440 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state) index 450 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); index 499 drivers/acpi/acpica/dsmthdat.c u32 index, index 510 drivers/acpi/acpica/dsmthdat.c type, index, obj_desc)); index 520 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(type, index, walk_state, &node); index 613 drivers/acpi/acpica/dsmthdat.c acpi_ds_method_data_delete_value(type, index, walk_state); index 622 drivers/acpi/acpica/dsmthdat.c acpi_ds_method_data_set_value(type, index, new_obj_desc, index 652 drivers/acpi/acpica/dsmthdat.c u32 index, struct acpi_walk_state *walk_state) index 662 drivers/acpi/acpica/dsmthdat.c status = acpi_ds_method_data_get_node(opcode, index, walk_state, &node); index 66 drivers/acpi/acpica/dspkginit.c u32 index; index 236 drivers/acpi/acpica/dspkginit.c for (index = 0; index 237 drivers/acpi/acpica/dspkginit.c index < ((u32)reference_count - 1); index 238 drivers/acpi/acpica/dspkginit.c index++) { index 670 drivers/acpi/acpica/dsutils.c u32 index = walk_state->num_operands; index 679 drivers/acpi/acpica/dsutils.c if (index >= ACPI_OBJ_NUM_OPERANDS) { index 683 drivers/acpi/acpica/dsutils.c arguments[index] = arg; index 684 drivers/acpi/acpica/dsutils.c walk_state->operands[index] = NULL; index 690 drivers/acpi/acpica/dsutils.c index++; index 695 drivers/acpi/acpica/dsutils.c walk_state->num_operands, arg_count, index)); index 699 drivers/acpi/acpica/dsutils.c index--; index 701 drivers/acpi/acpica/dsutils.c arg = arguments[index]; index 702 drivers/acpi/acpica/dsutils.c walk_state->operand_index = (u8)index; index 704 drivers/acpi/acpica/dsutils.c status = acpi_ds_create_operand(walk_state, arg, index); index 711 drivers/acpi/acpica/dsutils.c index, arg, arg_count)); index 712 drivers/acpi/acpica/dsutils.c index--; index 725 drivers/acpi/acpica/dsutils.c ACPI_EXCEPTION((AE_INFO, status, "While creating Arg %u", index)); index 41 drivers/acpi/acpica/dswstate.c u32 index; index 72 drivers/acpi/acpica/dswstate.c index = (u32)walk_state->result_count % ACPI_RESULTS_FRAME_OBJ_NUM; index 74 drivers/acpi/acpica/dswstate.c *object = state->results.obj_desc[index]; index 82 drivers/acpi/acpica/dswstate.c state->results.obj_desc[index] = NULL; index 83 drivers/acpi/acpica/dswstate.c if (index == 0) { index 93 drivers/acpi/acpica/dswstate.c index, walk_state, walk_state->result_count)); index 117 drivers/acpi/acpica/dswstate.c u32 index; index 156 drivers/acpi/acpica/dswstate.c index = (u32)walk_state->result_count % ACPI_RESULTS_FRAME_OBJ_NUM; index 157 drivers/acpi/acpica/dswstate.c state->results.obj_desc[index] = object; index 98 drivers/acpi/acpica/evgpeutil.c if (info->index < info->next_block_base_index) { index 1017 drivers/acpi/acpica/evxfgpe.c acpi_status acpi_get_gpe_device(u32 index, acpi_handle *gpe_device) index 1028 drivers/acpi/acpica/evxfgpe.c if (index >= acpi_current_gpe_count) { index 1034 drivers/acpi/acpica/evxfgpe.c info.index = index; index 41 drivers/acpi/acpica/exdebug.c u32 level, u32 index) index 73 drivers/acpi/acpica/exdebug.c if (!((level > 0) && index == 0)) { index 94 drivers/acpi/acpica/exdebug.c if (index > 0) { index 95 drivers/acpi/acpica/exdebug.c acpi_os_printf("(%.2u) ", index - 1); index 36 drivers/acpi/acpica/exdump.c u32 level, u32 index); index 584 drivers/acpi/acpica/exdump.c u32 index; index 727 drivers/acpi/acpica/exdump.c for (index = 0; index < obj_desc->package.count; index 728 drivers/acpi/acpica/exdump.c index++) { index 730 drivers/acpi/acpica/exdump.c elements[index], index 1031 drivers/acpi/acpica/exdump.c u32 level, u32 index) index 1042 drivers/acpi/acpica/exdump.c acpi_os_printf("[%.2d] ", index); index 127 drivers/acpi/acpica/exnames.c u32 index; index 143 drivers/acpi/acpica/exnames.c for (index = 0; index 144 drivers/acpi/acpica/exnames.c (index < ACPI_NAMESEG_SIZE) index 145 drivers/acpi/acpica/exnames.c && (acpi_ut_valid_name_char(*aml_address, 0)); index++) { index 146 drivers/acpi/acpica/exnames.c char_buf[index] = *aml_address++; index 151 drivers/acpi/acpica/exnames.c if (index == 4) { index 165 drivers/acpi/acpica/exnames.c } else if (index == 0) { index 225 drivers/acpi/acpica/exoparg2.c u64 index; index 334 drivers/acpi/acpica/exoparg2.c index = operand[1]->integer.value; index 335 drivers/acpi/acpica/exoparg2.c return_desc->reference.value = (u32) index; index 345 drivers/acpi/acpica/exoparg2.c if (index >= operand[0]->string.length) { index 353 drivers/acpi/acpica/exoparg2.c &(operand[0]->buffer.pointer[index]); index 358 drivers/acpi/acpica/exoparg2.c if (index >= operand[0]->buffer.length) { index 366 drivers/acpi/acpica/exoparg2.c &(operand[0]->buffer.pointer[index]); index 371 drivers/acpi/acpica/exoparg2.c if (index >= operand[0]->package.count) { index 378 drivers/acpi/acpica/exoparg2.c &operand[0]->package.elements[index]; index 395 drivers/acpi/acpica/exoparg2.c ACPI_FORMAT_UINT64(index), index 131 drivers/acpi/acpica/exoparg3.c u64 index; index 152 drivers/acpi/acpica/exoparg3.c index = operand[1]->integer.value; index 159 drivers/acpi/acpica/exoparg3.c if (index >= operand[0]->string.length) { index 165 drivers/acpi/acpica/exoparg3.c else if ((index + length) > operand[0]->string.length) { index 168 drivers/acpi/acpica/exoparg3.c (acpi_size)index; index 212 drivers/acpi/acpica/exoparg3.c operand[0]->string.pointer + index, length); index 181 drivers/acpi/acpica/exoparg6.c u64 index; index 205 drivers/acpi/acpica/exoparg6.c index = operand[5]->integer.value; index 206 drivers/acpi/acpica/exoparg6.c if (index >= operand[0]->package.count) { index 209 drivers/acpi/acpica/exoparg6.c ACPI_FORMAT_UINT64(index), index 236 drivers/acpi/acpica/exoparg6.c for (; index < operand[0]->package.count; index++) { index 240 drivers/acpi/acpica/exoparg6.c this_element = operand[0]->package.elements[index]; index 265 drivers/acpi/acpica/exoparg6.c return_desc->integer.value = index; index 203 drivers/acpi/acpica/hwregs.c u8 index; index 228 drivers/acpi/acpica/hwregs.c index = 0; index 238 drivers/acpi/acpica/hwregs.c index * index 246 drivers/acpi/acpica/hwregs.c index * index 259 drivers/acpi/acpica/hwregs.c ACPI_SET_BITS(value, index * access_width, index 264 drivers/acpi/acpica/hwregs.c index++; index 297 drivers/acpi/acpica/hwregs.c u8 index; index 319 drivers/acpi/acpica/hwregs.c index = 0; index 325 drivers/acpi/acpica/hwregs.c value64 = ACPI_GET_BITS(&value, index * access_width, index 335 drivers/acpi/acpica/hwregs.c index * index 343 drivers/acpi/acpica/hwregs.c index * index 357 drivers/acpi/acpica/hwregs.c index++; index 85 drivers/acpi/acpica/nsrepair2.c acpi_ns_remove_element(union acpi_operand_object *obj_desc, u32 index); index 89 drivers/acpi/acpica/nsrepair2.c u32 count, u32 index, u8 sort_direction); index 582 drivers/acpi/acpica/nsrepair2.c u32 index; index 591 drivers/acpi/acpica/nsrepair2.c for (index = 0; index < element_count; index++, top_object_list++) { index 617 drivers/acpi/acpica/nsrepair2.c index)); index 870 drivers/acpi/acpica/nsrepair2.c u32 count, u32 index, u8 sort_direction) index 882 drivers/acpi/acpica/nsrepair2.c obj_desc1 = elements[j - 1]->package.elements[index]; index 883 drivers/acpi/acpica/nsrepair2.c obj_desc2 = elements[j]->package.elements[index]; index 913 drivers/acpi/acpica/nsrepair2.c acpi_ns_remove_element(union acpi_operand_object *obj_desc, u32 index) index 932 drivers/acpi/acpica/nsrepair2.c if (i == index) { index 721 drivers/acpi/acpica/rscalc.c u32 index; index 743 drivers/acpi/acpica/rscalc.c for (index = 0; index < number_of_elements; index++) { index 188 drivers/acpi/acpica/rscreate.c u32 index; index 227 drivers/acpi/acpica/rscreate.c for (index = 0; index < number_of_elements; index++) { index 250 drivers/acpi/acpica/rscreate.c index, (*top_object_list)->package.count)); index 267 drivers/acpi/acpica/rscreate.c index, index 280 drivers/acpi/acpica/rscreate.c index, index 300 drivers/acpi/acpica/rscreate.c index, index 348 drivers/acpi/acpica/rscreate.c index, index 366 drivers/acpi/acpica/rscreate.c index, index 392 drivers/acpi/acpica/rsdump.c if (resource_source->index == 0xFF) { index 396 drivers/acpi/acpica/rsdump.c acpi_rs_out_integer8("Resource Source Index", resource_source->index); index 87 drivers/acpi/acpica/rsserial.c {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.gpio.resource_source.index), index 162 drivers/acpi/acpica/rsserial.c ACPI_RS_OFFSET(data.pin_function.resource_source.index), index 250 drivers/acpi/acpica/rsserial.c ACPI_RS_OFFSET(data.common_serial_bus.resource_source.index), index 341 drivers/acpi/acpica/rsserial.c ACPI_RS_OFFSET(data.common_serial_bus.resource_source.index), index 448 drivers/acpi/acpica/rsserial.c ACPI_RS_OFFSET(data.common_serial_bus.resource_source.index), index 555 drivers/acpi/acpica/rsserial.c {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.pin_config.resource_source.index), index 678 drivers/acpi/acpica/rsserial.c ACPI_RS_OFFSET(data.pin_group_function.resource_source.index), index 759 drivers/acpi/acpica/rsserial.c ACPI_RS_OFFSET(data.pin_group_config.resource_source.index), index 309 drivers/acpi/acpica/rsutils.c resource_source->index = aml_resource_source[0]; index 349 drivers/acpi/acpica/rsutils.c resource_source->index = 0; index 394 drivers/acpi/acpica/rsutils.c aml_resource_source[0] = (u8) resource_source->index; index 225 drivers/acpi/acpica/utcopy.c this_index = state->pkg.index; index 803 drivers/acpi/acpica/utcopy.c this_index = state->pkg.index; index 38 drivers/acpi/acpica/uthex.c u64 index; index 40 drivers/acpi/acpica/uthex.c acpi_ut_short_shift_right(integer, position, &index); index 41 drivers/acpi/acpica/uthex.c return (acpi_gbl_hex_to_ascii[index & 0xF]); index 218 drivers/acpi/acpica/utmisc.c this_index = state->pkg.index; index 243 drivers/acpi/acpica/utmisc.c state->pkg.index++; index 244 drivers/acpi/acpica/utmisc.c while (state->pkg.index >= index 271 drivers/acpi/acpica/utmisc.c state->pkg.index++; index 144 drivers/acpi/acpica/utownerid.c u32 index; index 173 drivers/acpi/acpica/utownerid.c index = ACPI_DIV_32(owner_id); index 178 drivers/acpi/acpica/utownerid.c if (acpi_gbl_owner_id_mask[index] & bit) { index 179 drivers/acpi/acpica/utownerid.c acpi_gbl_owner_id_mask[index] ^= bit; index 193 drivers/acpi/acpica/utstate.c u32 index) index 211 drivers/acpi/acpica/utstate.c state->pkg.index = index; index 329 drivers/acpi/arm64/gtdt.c int index) index 365 drivers/acpi/arm64/gtdt.c pdev = platform_device_register_simple("sbsa-gwdt", index, res, nr_res); index 326 drivers/acpi/arm64/iort.c u32 *id_out, int index) index 332 drivers/acpi/arm64/iort.c index >= node->mapping_count) index 336 drivers/acpi/arm64/iort.c node->mapping_offset + index * sizeof(*map)); index 406 drivers/acpi/arm64/iort.c int i, index; index 432 drivers/acpi/arm64/iort.c index = iort_get_id_mapping_index(node); index 437 drivers/acpi/arm64/iort.c if (i == index) index 461 drivers/acpi/arm64/iort.c int index) index 467 drivers/acpi/arm64/iort.c parent = iort_node_get_id(node, &id, index); index 548 drivers/acpi/arm64/iort.c int i, index; index 555 drivers/acpi/arm64/iort.c index = iort_get_id_mapping_index(node); index 557 drivers/acpi/arm64/iort.c if (index >= 0) { index 558 drivers/acpi/arm64/iort.c if (iort_node_get_id(node, dev_id, index)) index 654 drivers/acpi/arm64/iort.c int index; index 656 drivers/acpi/arm64/iort.c index = iort_get_id_mapping_index(node); index 657 drivers/acpi/arm64/iort.c if (index < 0) index 661 drivers/acpi/arm64/iort.c node->mapping_offset + index * sizeof(*map)); index 126 drivers/acpi/irq.c unsigned int index; index 189 drivers/acpi/irq.c if (ctx->index >= irq->interrupt_count) { index 190 drivers/acpi/irq.c ctx->index -= irq->interrupt_count; index 194 drivers/acpi/irq.c acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index], index 202 drivers/acpi/irq.c if (ctx->index >= eirq->interrupt_count) { index 203 drivers/acpi/irq.c ctx->index -= eirq->interrupt_count; index 207 drivers/acpi/irq.c acpi_irq_parse_one_match(fwnode, eirq->interrupts[ctx->index], index 232 drivers/acpi/irq.c static int acpi_irq_parse_one(acpi_handle handle, unsigned int index, index 235 drivers/acpi/irq.c struct acpi_irq_parse_one_ctx ctx = { -EINVAL, index, flags, fwspec }; index 256 drivers/acpi/irq.c int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res) index 263 drivers/acpi/irq.c rc = acpi_irq_parse_one(handle, index, &fwspec, &flags); index 34 drivers/acpi/pci_irq.c u32 index; /* GSI, or link _CRS index */ index 169 drivers/acpi/pci_irq.c entry->index = prt->source_index; index 199 drivers/acpi/pci_irq.c prt->source, entry->index)); index 285 drivers/acpi/pci_irq.c "IRQ %d\n", entry->index, index 286 drivers/acpi/pci_irq.c (entry->index % 4) + 16); index 287 drivers/acpi/pci_irq.c entry->index = (entry->index % 4) + 16; index 291 drivers/acpi/pci_irq.c "IRQ: unknown mapping\n", entry->index); index 439 drivers/acpi/pci_irq.c entry->index, index 443 drivers/acpi/pci_irq.c gsi = entry->index; index 514 drivers/acpi/pci_irq.c gsi = entry->index; index 616 drivers/acpi/pci_link.c int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering, index 636 drivers/acpi/pci_link.c if (index) { index 637 drivers/acpi/pci_link.c printk(KERN_ERR PREFIX "Invalid index %d\n", index); index 416 drivers/acpi/pptt.c unsigned int index = 0; index 419 drivers/acpi/pptt.c while (index < get_cpu_cacheinfo(cpu)->num_leaves) { index 420 drivers/acpi/pptt.c this_leaf = this_cpu_ci->info_list + index; index 431 drivers/acpi/pptt.c index++; index 381 drivers/acpi/processor_idle.c cx.index = current_count + 1; index 673 drivers/acpi/processor_idle.c static int acpi_idle_play_dead(struct cpuidle_device *dev, int index) index 675 drivers/acpi/processor_idle.c struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu); index 755 drivers/acpi/processor_idle.c struct cpuidle_driver *drv, int index) index 757 drivers/acpi/processor_idle.c struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu); index 766 drivers/acpi/processor_idle.c index = ACPI_IDLE_STATE_START; index 767 drivers/acpi/processor_idle.c cx = per_cpu(acpi_cstate[index], dev->cpu); index 771 drivers/acpi/processor_idle.c return index; index 773 drivers/acpi/processor_idle.c index = drv->safe_state_index; index 774 drivers/acpi/processor_idle.c cx = per_cpu(acpi_cstate[index], dev->cpu); index 791 drivers/acpi/processor_idle.c return index; index 795 drivers/acpi/processor_idle.c struct cpuidle_driver *drv, int index) index 797 drivers/acpi/processor_idle.c struct acpi_processor_cx *cx = per_cpu(acpi_cstate[index], dev->cpu); index 1042 drivers/acpi/processor_idle.c lpi_state->index = state_idx; index 1103 drivers/acpi/processor_idle.c result->index = parent->index; index 1151 drivers/acpi/processor_idle.c if (t->index <= p->enable_parent_state && index 1214 drivers/acpi/processor_idle.c pr->power.lpi_states[i].index = i; index 1242 drivers/acpi/processor_idle.c struct cpuidle_driver *drv, int index) index 1252 drivers/acpi/processor_idle.c lpi = &pr->power.lpi_states[index]; index 262 drivers/acpi/processor_perflib.c int index = px->control & 0x00000007; index 269 drivers/acpi/processor_perflib.c rdmsr(MSR_AMD_PSTATE_DEF_BASE + index, lo, hi); index 672 drivers/acpi/property.c const char *propname, size_t index, size_t num_args, index 694 drivers/acpi/property.c if (index) index 717 drivers/acpi/property.c if (index >= obj->package.count) index 765 drivers/acpi/property.c if (idx == index) { index 776 drivers/acpi/property.c if (idx == index) index 1313 drivers/acpi/property.c unsigned int args_count, unsigned int index, index 1316 drivers/acpi/property.c return __acpi_node_get_property_reference(fwnode, prop, index, index 452 drivers/acpi/resource.c bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index, index 465 drivers/acpi/resource.c if (index >= irq->interrupt_count) { index 469 drivers/acpi/resource.c acpi_dev_get_irqresource(res, irq->interrupts[index], index 475 drivers/acpi/resource.c if (index >= ext_irq->interrupt_count) { index 480 drivers/acpi/resource.c acpi_dev_get_irqresource(res, ext_irq->interrupts[index], index 651 drivers/acpi/sysfs.c static int get_status(u32 index, acpi_event_status *ret, index 656 drivers/acpi/sysfs.c if (index >= num_gpes + ACPI_NUM_FIXED_EVENTS) index 659 drivers/acpi/sysfs.c if (index < num_gpes) { index 660 drivers/acpi/sysfs.c status = acpi_get_gpe_device(index, handle); index 663 drivers/acpi/sysfs.c "Invalid GPE 0x%x", index)); index 666 drivers/acpi/sysfs.c status = acpi_get_gpe_status(*handle, index, ret); index 668 drivers/acpi/sysfs.c status = acpi_get_event_status(index - num_gpes, ret); index 679 drivers/acpi/sysfs.c int index = attr - counter_attrs; index 691 drivers/acpi/sysfs.c size = sprintf(buf, "%8u", all_counters[index].count); index 694 drivers/acpi/sysfs.c if (index >= num_gpes + ACPI_NUM_FIXED_EVENTS) index 697 drivers/acpi/sysfs.c result = get_status(index, &status, &handle); index 737 drivers/acpi/sysfs.c int index = attr - counter_attrs; index 743 drivers/acpi/sysfs.c if (index == num_gpes + ACPI_NUM_FIXED_EVENTS + COUNT_SCI) { index 754 drivers/acpi/sysfs.c result = get_status(index, &status, &handle); index 764 drivers/acpi/sysfs.c if (index < num_gpes) { index 767 drivers/acpi/sysfs.c result = acpi_disable_gpe(handle, index); index 770 drivers/acpi/sysfs.c result = acpi_enable_gpe(handle, index); index 773 drivers/acpi/sysfs.c result = acpi_clear_gpe(handle, index); index 775 drivers/acpi/sysfs.c result = acpi_mask_gpe(handle, index, TRUE); index 777 drivers/acpi/sysfs.c result = acpi_mask_gpe(handle, index, FALSE); index 779 drivers/acpi/sysfs.c all_counters[index].count = tmp; index 782 drivers/acpi/sysfs.c } else if (index < num_gpes + ACPI_NUM_FIXED_EVENTS) { index 783 drivers/acpi/sysfs.c int event = index - num_gpes; index 794 drivers/acpi/sysfs.c all_counters[index].count = tmp; index 798 drivers/acpi/sysfs.c all_counters[index].count = strtoul(buf, NULL, 0); index 2098 drivers/android/binder.c binder_size_t index, index 2107 drivers/android/binder.c if (index >= num_valid) index 2110 drivers/android/binder.c buffer_offset = start_offset + sizeof(binder_size_t) * index; index 6059 drivers/android/binder.c unsigned int index = cur++ % ARRAY_SIZE(log->entry); index 6061 drivers/android/binder.c print_binder_transaction_log_entry(m, &log->entry[index]); index 229 drivers/android/binder_alloc.c size_t index; index 231 drivers/android/binder_alloc.c index = (page_addr - alloc->buffer) / PAGE_SIZE; index 232 drivers/android/binder_alloc.c page = &alloc->pages[index]; index 235 drivers/android/binder_alloc.c trace_binder_alloc_lru_start(alloc, index); index 240 drivers/android/binder_alloc.c trace_binder_alloc_lru_end(alloc, index); index 247 drivers/android/binder_alloc.c trace_binder_alloc_page_start(alloc, index); index 267 drivers/android/binder_alloc.c if (index + 1 > alloc->pages_high) index 268 drivers/android/binder_alloc.c alloc->pages_high = index + 1; index 270 drivers/android/binder_alloc.c trace_binder_alloc_page_end(alloc, index); index 282 drivers/android/binder_alloc.c size_t index; index 284 drivers/android/binder_alloc.c index = (page_addr - alloc->buffer) / PAGE_SIZE; index 285 drivers/android/binder_alloc.c page = &alloc->pages[index]; index 287 drivers/android/binder_alloc.c trace_binder_free_lru_start(alloc, index); index 292 drivers/android/binder_alloc.c trace_binder_free_lru_end(alloc, index); index 920 drivers/android/binder_alloc.c size_t index; index 930 drivers/android/binder_alloc.c index = page - alloc->pages; index 931 drivers/android/binder_alloc.c page_addr = (uintptr_t)alloc->buffer + index * PAGE_SIZE; index 944 drivers/android/binder_alloc.c trace_binder_unmap_user_start(alloc, index); index 948 drivers/android/binder_alloc.c trace_binder_unmap_user_end(alloc, index); index 953 drivers/android/binder_alloc.c trace_binder_unmap_kernel_start(alloc, index); index 958 drivers/android/binder_alloc.c trace_binder_unmap_kernel_end(alloc, index); index 1081 drivers/android/binder_alloc.c size_t index = buffer_space_offset >> PAGE_SHIFT; index 1084 drivers/android/binder_alloc.c lru_page = &alloc->pages[index]; index 193 drivers/android/binder_alloc_selftest.c static bool is_dup(int *seq, int index, int val) index 197 drivers/android/binder_alloc_selftest.c for (i = 0; i < index; i++) { index 207 drivers/android/binder_alloc_selftest.c int index, size_t end) index 211 drivers/android/binder_alloc_selftest.c if (index == BUFFER_NUM) { index 216 drivers/android/binder_alloc_selftest.c if (is_dup(seq, index, i)) index 218 drivers/android/binder_alloc_selftest.c seq[index] = i; index 219 drivers/android/binder_alloc_selftest.c binder_selftest_free_seq(alloc, sizes, seq, index + 1, end); index 250 drivers/android/binder_alloc_selftest.c size_t *end_offset, int index) index 255 drivers/android/binder_alloc_selftest.c if (index == BUFFER_NUM) { index 259 drivers/android/binder_alloc_selftest.c prev = index == 0 ? 0 : end_offset[index - 1]; index 269 drivers/android/binder_alloc_selftest.c end_offset[index] = end; index 270 drivers/android/binder_alloc_selftest.c binder_selftest_alloc_offset(alloc, end_offset, index + 1); index 283 drivers/ata/ahci_imx.c u32 index, read_attempt; index 290 drivers/ata/ahci_imx.c index = 0; index 294 drivers/ata/ahci_imx.c while (index < 2) { index 298 drivers/ata/ahci_imx.c index++; index 308 drivers/ata/ahci_imx.c index = 0; index 311 drivers/ata/ahci_imx.c while (index < 80) { index 315 drivers/ata/ahci_imx.c index++; index 643 drivers/ata/libata-core.c int index, fua, lba48, write; index 651 drivers/ata/libata-core.c index = dev->multi_count ? 0 : 8; index 655 drivers/ata/libata-core.c index = dev->multi_count ? 0 : 8; index 658 drivers/ata/libata-core.c index = 16; index 661 drivers/ata/libata-core.c cmd = ata_rw_cmds[index + fua + lba48 + write]; index 992 drivers/ata/sata_mv.c u32 index; index 998 drivers/ata/sata_mv.c index = pp->req_idx << EDMA_REQ_Q_PTR_SHIFT; index 1002 drivers/ata/sata_mv.c writelfl((pp->crqb_dma & EDMA_REQ_Q_BASE_LO_MASK) | index, index 1004 drivers/ata/sata_mv.c writelfl(index, port_mmio + EDMA_REQ_Q_OUT_PTR); index 1010 drivers/ata/sata_mv.c index = pp->resp_idx << EDMA_RSP_Q_PTR_SHIFT; index 1014 drivers/ata/sata_mv.c writelfl(index, port_mmio + EDMA_RSP_Q_IN_PTR); index 1015 drivers/ata/sata_mv.c writelfl((pp->crpb_dma & EDMA_RSP_Q_BASE_LO_MASK) | index, index 307 drivers/ata/sata_svw.c int index; index 320 drivers/ata/sata_svw.c index = (ap == ap->host->ports[0]) ? 0 : 1; index 325 drivers/ata/sata_svw.c if (index == *reg) { index 239 drivers/atm/eni.c int len,i,order,best_order,index; index 249 drivers/atm/eni.c index = 0; /* silence GCC */ index 253 drivers/atm/eni.c index = i; index 258 drivers/atm/eni.c index = i; index 261 drivers/atm/eni.c start = list[index].start-eni_dev->base_diff; index 262 drivers/atm/eni.c list[index] = list[--len]; index 1093 drivers/atm/eni.c eni_in(MID_TX_RDPTR(tx->index)),tx->words)) { index 1123 drivers/atm/eni.c MID_DMA_COUNT_SHIFT) | (tx->index << MID_DMA_CHAN_SHIFT) | index 1127 drivers/atm/eni.c if (aal5) put_dma(tx->index,eni_dev->dma,&j,paddr,skb->len); index 1128 drivers/atm/eni.c else put_dma(tx->index,eni_dev->dma,&j,paddr+4,skb->len-4); index 1133 drivers/atm/eni.c put_dma(tx->index,eni_dev->dma,&j,(unsigned long) index 1137 drivers/atm/eni.c put_dma(tx->index,eni_dev->dma,&j,(unsigned long) index 1143 drivers/atm/eni.c put_dma(tx->index, eni_dev->dma, &j, eni_dev->zero.dma, index 1148 drivers/atm/eni.c MID_DMA_COUNT_SHIFT) | (tx->index << MID_DMA_CHAN_SHIFT) | index 1224 drivers/atm/eni.c (unsigned) eni_in(MID_TX_DESCRSTART(tx->index))); index 1226 drivers/atm/eni.c eni_in(MID_TX_DESCRSTART(tx->index))) { index 1330 drivers/atm/eni.c DPRINTK("got chan %d\n",tx->index); index 1338 drivers/atm/eni.c MID_TX_PLACE(tx->index)); index 1339 drivers/atm/eni.c tx->tx_pos = eni_in(MID_TX_DESCRSTART(tx->index)) & index 1424 drivers/atm/eni.c while (eni_in(MID_TX_RDPTR(eni_vcc->tx->index)) != index 1425 drivers/atm/eni.c eni_in(MID_TX_DESCRSTART(eni_vcc->tx->index))) index 1450 drivers/atm/eni.c eni_dev->tx[i].index = i; index 2199 drivers/atm/eni.c eni_vcc->tx->index,eni_vcc->txing); index 47 drivers/atm/eni.h int index; /* TX channel number */ index 79 drivers/atm/fore200e.c #define FORE200E_DMA_INDEX(dma_addr, type, index) ((dma_addr) + (index) * sizeof(type)) index 81 drivers/atm/fore200e.c #define FORE200E_INDEX(virt_addr, type, index) (&((type *)(virt_addr))[ index ]) index 83 drivers/atm/fore200e.c #define FORE200E_NEXT_ENTRY(index, modulo) (index = ((index) + 1) % (modulo)) index 872 drivers/atm/fore200e.c where, scheme, magn, buffer->index); index 877 drivers/atm/fore200e.c where, scheme, magn, buffer->index, buffer->magn); index 882 drivers/atm/fore200e.c where, scheme, magn, buffer->index, buffer->scheme); index 885 drivers/atm/fore200e.c if ((buffer->index < 0) || (buffer->index >= fore200e_rx_buf_nbr[ scheme ][ magn ])) { index 887 drivers/atm/fore200e.c where, scheme, magn, buffer->index); index 941 drivers/atm/fore200e.c scheme, magn, buffer->index); index 1072 drivers/atm/fore200e.c buffer->scheme, buffer->magn, buffer->index); index 2040 drivers/atm/fore200e.c buffer[ i ].index = i; index 2555 drivers/atm/fore200e.c static int index = 0; index 2571 drivers/atm/fore200e.c sprintf(fore200e->name, "SBA-200E-%d", index); index 2580 drivers/atm/fore200e.c index++; index 2620 drivers/atm/fore200e.c static int index = 0; index 2643 drivers/atm/fore200e.c sprintf(fore200e->name, "PCA-200E-%d", index - 1); index 2650 drivers/atm/fore200e.c sprintf(fore200e->name, "PCA-200E-%d", index); index 2658 drivers/atm/fore200e.c ++index; index 584 drivers/atm/fore200e.h unsigned long index; /* buffer # in queue */ index 532 drivers/atm/idt77252.c dump_tct(struct idt77252_dev *card, int index) index 537 drivers/atm/idt77252.c tct = (unsigned long) (card->tct_base + index * SAR_SRAM_TCT_SIZE); index 539 drivers/atm/idt77252.c printk("%s: TCT %x:", card->name, index); index 568 drivers/atm/idt77252.c printk("%s: Connection %d:\n", card->name, vc->index); index 569 drivers/atm/idt77252.c dump_tct(card, vc->index); index 585 drivers/atm/idt77252.c int index; index 587 drivers/atm/idt77252.c index = pool->index; index 588 drivers/atm/idt77252.c while (pool->skb[index]) { index 589 drivers/atm/idt77252.c index = (index + 1) & FBQ_MASK; index 590 drivers/atm/idt77252.c if (index == pool->index) index 594 drivers/atm/idt77252.c pool->skb[index] = skb; index 595 drivers/atm/idt77252.c IDT77252_PRV_POOL(skb) = POOL_HANDLE(queue, index); index 597 drivers/atm/idt77252.c pool->index = (index + 1) & FBQ_MASK; index 604 drivers/atm/idt77252.c unsigned int queue, index; index 613 drivers/atm/idt77252.c index = POOL_INDEX(handle); index 614 drivers/atm/idt77252.c if (index > FBQ_SIZE - 1) index 617 drivers/atm/idt77252.c card->sbpool[queue].skb[index] = NULL; index 623 drivers/atm/idt77252.c unsigned int queue, index; index 629 drivers/atm/idt77252.c index = POOL_INDEX(handle); index 630 drivers/atm/idt77252.c if (index > FBQ_SIZE - 1) index 633 drivers/atm/idt77252.c return card->sbpool[queue].skb[index]; index 736 drivers/atm/idt77252.c vc->index, SAR_REG_TCMDQ); index 764 drivers/atm/idt77252.c writel(TCMDQ_START_LACR | (vc->lacr << 16) | vc->index, index 1458 drivers/atm/idt77252.c card->name, vc->index); index 1524 drivers/atm/idt77252.c card->index, readl(SAR_REG_TSQH), index 1612 drivers/atm/idt77252.c card->name, vc ? vc->index : -1, e); index 1618 drivers/atm/idt77252.c data = opc | vc->index; index 1739 drivers/atm/idt77252.c tct = (unsigned long) (card->tct_base + vc->index * SAR_SRAM_TCT_SIZE); index 2105 drivers/atm/idt77252.c writel(TCMDQ_LACR|(vc->lacr << 16)|vc->index, SAR_REG_TCMDQ); index 2300 drivers/atm/idt77252.c writel(TCMDQ_START | vc->index, SAR_REG_TCMDQ); index 2371 drivers/atm/idt77252.c addr = card->rct_base + (vc->index << 2); index 2390 drivers/atm/idt77252.c unsigned int index; index 2426 drivers/atm/idt77252.c index = VPCI2VC(card, vpi, vci); index 2427 drivers/atm/idt77252.c if (!card->vcs[index]) { index 2428 drivers/atm/idt77252.c card->vcs[index] = kzalloc(sizeof(struct vc_map), GFP_KERNEL); index 2429 drivers/atm/idt77252.c if (!card->vcs[index]) { index 2434 drivers/atm/idt77252.c card->vcs[index]->card = card; index 2435 drivers/atm/idt77252.c card->vcs[index]->index = index; index 2437 drivers/atm/idt77252.c spin_lock_init(&card->vcs[index]->lock); index 2439 drivers/atm/idt77252.c vc = card->vcs[index]; index 2444 drivers/atm/idt77252.c card->name, vc->index, vcc->vpi, vcc->vci, index 2499 drivers/atm/idt77252.c card->name, vc->index, vcc->vpi, vcc->vci); index 2513 drivers/atm/idt77252.c addr = card->rct_base + vc->index * SAR_SRAM_RCT_SIZE; index 2554 drivers/atm/idt77252.c writel(TCMDQ_HALT | vc->index, SAR_REG_TCMDQ); index 2600 drivers/atm/idt77252.c vc->index, SAR_REG_TCMDQ); index 2852 drivers/atm/idt77252.c int index; index 2857 drivers/atm/idt77252.c index = VPCI2VC(card, vpi, vci); index 2864 drivers/atm/idt77252.c vc->index = index; index 2865 drivers/atm/idt77252.c card->vcs[index] = vc; index 2874 drivers/atm/idt77252.c addr = card->rct_base + (vc->index << 2); index 2895 drivers/atm/idt77252.c int index; index 2899 drivers/atm/idt77252.c index = VPCI2VC(card, vpi, vci); index 2900 drivers/atm/idt77252.c vc = card->vcs[index]; index 2902 drivers/atm/idt77252.c addr = card->rct_base + vc->index * SAR_SRAM_RCT_SIZE; index 3046 drivers/atm/idt77252.c DIPRINTK("idt77252: deinitialize card %u\n", card->index); index 3500 drivers/atm/idt77252.c sprintf(tname, "eth%d", card->index); index 3594 drivers/atm/idt77252.c static int index = 0; index 3614 drivers/atm/idt77252.c printk("idt77252-%d: can't allocate private data\n", index); index 3619 drivers/atm/idt77252.c card->index = index; index 3621 drivers/atm/idt77252.c sprintf(card->name, "idt77252-%d", card->index); index 3704 drivers/atm/idt77252.c index++; index 202 drivers/atm/idt77252.h unsigned int index; index 339 drivers/atm/idt77252.h unsigned int index; index 343 drivers/atm/idt77252.h #define POOL_HANDLE(queue, index) (((queue + 1) << 16) | (index)) index 408 drivers/atm/idt77252.h int index; /* SAR's ID */ index 179 drivers/atm/nicstar.c static int index = -1; index 182 drivers/atm/nicstar.c index++; index 183 drivers/atm/nicstar.c cards[index] = NULL; index 185 drivers/atm/nicstar.c error = ns_init_card(index, pcidev); index 187 drivers/atm/nicstar.c cards[index--] = NULL; /* don't increment index */ index 205 drivers/atm/nicstar.c i = card->index; index 387 drivers/atm/nicstar.c card->index = i; index 964 drivers/atm/nicstar.c card->index); index 1040 drivers/atm/nicstar.c card->index, index 1067 drivers/atm/nicstar.c PRINTK("nicstar%d: NICStAR generated an interrupt\n", card->index); index 1075 drivers/atm/nicstar.c TXPRINTK("nicstar%d: TSI interrupt\n", card->index); index 1084 drivers/atm/nicstar.c card->index); index 1090 drivers/atm/nicstar.c PRINTK("nicstar%d: TSQ full.\n", card->index); index 1097 drivers/atm/nicstar.c PRINTK("nicstar%d: Timer overflow.\n", card->index); index 1103 drivers/atm/nicstar.c PRINTK("nicstar%d: PHY interrupt.\n", card->index); index 1113 drivers/atm/nicstar.c card->index); index 1120 drivers/atm/nicstar.c card->index); index 1126 drivers/atm/nicstar.c printk("nicstar%d: RSQ full.\n", card->index); index 1132 drivers/atm/nicstar.c RXPRINTK("nicstar%d: End of CS-PDU received.\n", card->index); index 1142 drivers/atm/nicstar.c card->index); index 1173 drivers/atm/nicstar.c card->index); index 1198 drivers/atm/nicstar.c card->index); index 1219 drivers/atm/nicstar.c RXPRINTK("nicstar%d: RSQ almost full.\n", card->index); index 1224 drivers/atm/nicstar.c PRINTK("nicstar%d: end of interrupt service\n", card->index); index 1246 drivers/atm/nicstar.c PRINTK("nicstar%d: opening vpi.vci %d.%d \n", card->index, (int)vpi, index 1249 drivers/atm/nicstar.c PRINTK("nicstar%d: unsupported AAL.\n", card->index); index 1262 drivers/atm/nicstar.c printk("nicstar%d: %s vci already in use.\n", card->index, index 1282 drivers/atm/nicstar.c card->index); index 1292 drivers/atm/nicstar.c card->index, vcc->qos.txtp.max_pcr); index 1309 drivers/atm/nicstar.c card->index); index 1319 drivers/atm/nicstar.c card->index); index 1328 drivers/atm/nicstar.c card->index); index 1336 drivers/atm/nicstar.c card->index, n); index 1346 drivers/atm/nicstar.c card->index); index 1358 drivers/atm/nicstar.c card->index); index 1419 drivers/atm/nicstar.c PRINTK("nicstar%d: closing vpi.vci %d.%d \n", card->index, index 1448 drivers/atm/nicstar.c card->index); index 1488 drivers/atm/nicstar.c int index; index 1497 drivers/atm/nicstar.c index = (int)scqi; index 1498 drivers/atm/nicstar.c scq->skb[index] = NULL; index 1593 drivers/atm/nicstar.c printk("nicstar%d: No free TST entries found. \n", card->index); index 1633 drivers/atm/nicstar.c TXPRINTK("nicstar%d: ns_send() called.\n", card->index); index 1636 drivers/atm/nicstar.c card->index); index 1644 drivers/atm/nicstar.c card->index); index 1652 drivers/atm/nicstar.c card->index); index 1659 drivers/atm/nicstar.c printk("nicstar%d: No scatter-gather yet.\n", card->index); index 1725 drivers/atm/nicstar.c int index; index 1731 drivers/atm/nicstar.c printk("nicstar%d: Error pushing TBD.\n", card->index); index 1744 drivers/atm/nicstar.c card->index); index 1749 drivers/atm/nicstar.c index = (int)(scq->next - scq->base); index 1750 drivers/atm/nicstar.c scq->skb[index] = skb; index 1752 drivers/atm/nicstar.c card->index, skb, index); index 1754 drivers/atm/nicstar.c card->index, le32_to_cpu(tbd->word_1), le32_to_cpu(tbd->word_2), index 1779 drivers/atm/nicstar.c card->index); index 1804 drivers/atm/nicstar.c index = (int)scqi; index 1805 drivers/atm/nicstar.c scq->skb[index] = NULL; index 1808 drivers/atm/nicstar.c card->index, le32_to_cpu(tsr.word_1), index 1819 drivers/atm/nicstar.c card->index); index 1870 drivers/atm/nicstar.c card->index); index 1912 drivers/atm/nicstar.c card->index, scq, pos); index 1914 drivers/atm/nicstar.c printk("nicstar%d: Bad index on drain_scq().\n", card->index); index 1925 drivers/atm/nicstar.c card->index, skb, i); index 1985 drivers/atm/nicstar.c "nicstar%d: skb not found!\n", card->index); index 2002 drivers/atm/nicstar.c card->index, vpi, vci); index 2010 drivers/atm/nicstar.c card->index, vpi, vci); index 2028 drivers/atm/nicstar.c card->index); index 2035 drivers/atm/nicstar.c card->index); index 2067 drivers/atm/nicstar.c card->index); index 2091 drivers/atm/nicstar.c printk("nicstar%d: received too big AAL5 SDU.\n", card->index); index 2110 drivers/atm/nicstar.c card->index); index 2123 drivers/atm/nicstar.c card->index); index 2143 drivers/atm/nicstar.c printk("nicstar%d: AAL5 CRC error", card->index); index 2226 drivers/atm/nicstar.c card->index); index 2307 drivers/atm/nicstar.c card->index); index 2326 drivers/atm/nicstar.c card->index); index 2610 drivers/atm/nicstar.c card->index); index 2640 drivers/atm/nicstar.c card->index); index 2669 drivers/atm/nicstar.c printk("nicstar%d: %s == NULL \n", card->index, index 709 drivers/atm/nicstar.h int index; /* Card ID to the device driver */ index 162 drivers/base/cacheinfo.c unsigned int index = 0; index 179 drivers/base/cacheinfo.c while (index < cache_leaves(cpu)) { index 180 drivers/base/cacheinfo.c this_leaf = this_cpu_ci->info_list + index; index 189 drivers/base/cacheinfo.c index++; index 192 drivers/base/cacheinfo.c if (index != cache_leaves(cpu)) /* not all OF nodes populated */ index 222 drivers/base/cacheinfo.c unsigned int index; index 236 drivers/base/cacheinfo.c for (index = 0; index < cache_leaves(cpu); index++) { index 239 drivers/base/cacheinfo.c this_leaf = this_cpu_ci->info_list + index; index 250 drivers/base/cacheinfo.c sib_leaf = sib_cpu_ci->info_list + index; index 268 drivers/base/cacheinfo.c unsigned int sibling, index; index 270 drivers/base/cacheinfo.c for (index = 0; index < cache_leaves(cpu); index++) { index 271 drivers/base/cacheinfo.c this_leaf = this_cpu_ci->info_list + index; index 282 drivers/base/cacheinfo.c sib_leaf = sib_cpu_ci->info_list + index; index 37 drivers/base/map.c unsigned index = MAJOR(dev); index 57 drivers/base/map.c for (i = 0, p -= n; i < n; i++, p++, index++) { index 58 drivers/base/map.c struct probe **s = &domain->probes[index % 255]; index 71 drivers/base/map.c unsigned index = MAJOR(dev); index 79 drivers/base/map.c for (i = 0; i < n; i++, index++) { index 81 drivers/base/map.c for (s = &domain->probes[index % 255]; *s; s = &(*s)->next) { index 95 drivers/base/map.c struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) index 118 drivers/base/map.c *index = dev - p->dev; index 124 drivers/base/map.c kobj = probe(dev, index, data); index 74 drivers/base/platform.c unsigned int index) index 78 drivers/base/platform.c res = platform_get_resource(pdev, IORESOURCE_MEM, index); index 144 drivers/base/power/common.c unsigned int index) index 149 drivers/base/power/common.c return genpd_dev_pm_attach_by_id(dev, index); index 2405 drivers/base/power/domain.c unsigned int index, bool power_on) index 2412 drivers/base/power/domain.c "#power-domain-cells", index, &pd_args); index 2500 drivers/base/power/domain.c unsigned int index) index 2512 drivers/base/power/domain.c if (index >= num_domains) index 2520 drivers/base/power/domain.c dev_set_name(virt_dev, "genpd:%u:%s", index, dev_name(dev)); index 2532 drivers/base/power/domain.c ret = __genpd_dev_pm_attach(virt_dev, dev, index, false); index 2556 drivers/base/power/domain.c int index; index 2561 drivers/base/power/domain.c index = of_property_match_string(dev->of_node, "power-domain-names", index 2563 drivers/base/power/domain.c if (index < 0) index 2566 drivers/base/power/domain.c return genpd_dev_pm_attach_by_id(dev, index); index 479 drivers/base/property.c unsigned int nargs, unsigned int index, index 483 drivers/base/property.c nargs, index, args); index 500 drivers/base/property.c unsigned int index) index 505 drivers/base/property.c ret = fwnode_property_get_reference_args(fwnode, name, NULL, 0, index, index 873 drivers/base/property.c int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index) index 880 drivers/base/property.c return of_irq_get(of_node, index); index 882 drivers/base/property.c ret = acpi_irq_get(ACPI_HANDLE_FWNODE(fwnode), index, &res); index 283 drivers/base/regmap/internal.h unsigned int index) index 286 drivers/base/regmap/internal.h return index << map->reg_stride_order; index 288 drivers/base/regmap/internal.h return index * map->reg_stride; index 38 drivers/base/regmap/regcache-flat.c unsigned int index = regcache_flat_get_index(map, reg); index 40 drivers/base/regmap/regcache-flat.c cache[index] = map->reg_defaults[i].def; index 58 drivers/base/regmap/regcache-flat.c unsigned int index = regcache_flat_get_index(map, reg); index 60 drivers/base/regmap/regcache-flat.c *value = cache[index]; index 69 drivers/base/regmap/regcache-flat.c unsigned int index = regcache_flat_get_index(map, reg); index 71 drivers/base/regmap/regcache-flat.c cache[index] = value; index 47 drivers/base/soc.c int index) index 569 drivers/base/swnode.c unsigned int nargs, unsigned int index, index 585 drivers/base/swnode.c if (!ref->name || index > (ref->nrefs - 1)) index 588 drivers/base/swnode.c refnode = software_node_fwnode(ref->refs[index].node); index 607 drivers/base/swnode.c args->args[i] = ref->refs[index].args[i]; index 253 drivers/bcma/scan.c u16 index) index 258 drivers/bcma/scan.c if (core->core_index == index) index 228 drivers/block/ataflop.c int index; index 746 drivers/block/ataflop.c type = minor2disktype[type].index; index 1534 drivers/block/ataflop.c type = minor2disktype[type].index; index 1580 drivers/block/ataflop.c type = minor2disktype[type].index; index 1650 drivers/block/ataflop.c setidx = minor2disktype[settype].index; index 77 drivers/block/brd.c BUG_ON(page && page->index != idx); index 113 drivers/block/brd.c page->index = idx; index 118 drivers/block/brd.c BUG_ON(page->index != idx); index 147 drivers/block/brd.c BUG_ON(pages[i]->index < pos); index 148 drivers/block/brd.c pos = pages[i]->index; index 3162 drivers/block/mtip32xx/mtip32xx.c int index, index 3178 drivers/block/mtip32xx/mtip32xx.c *--p = 'a' + (index % unit); index 3179 drivers/block/mtip32xx/mtip32xx.c index = (index / unit) - 1; index 3180 drivers/block/mtip32xx/mtip32xx.c } while (index >= 0); index 3580 drivers/block/mtip32xx/mtip32xx.c unsigned int index = 0; index 3602 drivers/block/mtip32xx/mtip32xx.c index = rv; index 3605 drivers/block/mtip32xx/mtip32xx.c index, index 3612 drivers/block/mtip32xx/mtip32xx.c dd->disk->first_minor = index * MTIP_MAX_MINORS; index 3616 drivers/block/mtip32xx/mtip32xx.c dd->index = index; index 3708 drivers/block/mtip32xx/mtip32xx.c "mtip_svc_thd_%02d", index); index 3737 drivers/block/mtip32xx/mtip32xx.c ida_free(&rssd_index_ida, index); index 3826 drivers/block/mtip32xx/mtip32xx.c ida_free(&rssd_index_ida, dd->index); index 3866 drivers/block/mtip32xx/mtip32xx.c ida_free(&rssd_index_ida, dd->index); index 444 drivers/block/mtip32xx/mtip32xx.h unsigned long index; /* Index to determine the disk name */ index 67 drivers/block/nbd.c int index; index 72 drivers/block/nbd.c int index; index 109 drivers/block/nbd.c int index; index 130 drivers/block/nbd.c int index; index 155 drivers/block/nbd.c static void nbd_connect_reply(struct genl_info *info, int index); index 250 drivers/block/nbd.c idr_remove(&nbd_index_idr, nbd->index); index 270 drivers/block/nbd.c args->index = nbd->index; index 408 drivers/block/nbd.c if (cmd->index < config->num_connections) { index 410 drivers/block/nbd.c config->socks[cmd->index]; index 459 drivers/block/nbd.c static int sock_xmit(struct nbd_device *nbd, int index, int send, index 463 drivers/block/nbd.c struct socket *sock = config->socks[index]->sock; index 515 drivers/block/nbd.c static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index) index 519 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[index]; index 564 drivers/block/nbd.c cmd->index = index; index 575 drivers/block/nbd.c trace_nbd_send_request(&request, nbd->index, blk_mq_rq_from_pdu(cmd)); index 580 drivers/block/nbd.c result = sock_xmit(nbd, index, 1, &from, index 626 drivers/block/nbd.c result = sock_xmit(nbd, index, 1, &from, flags, &sent); index 662 drivers/block/nbd.c static struct nbd_cmd *nbd_read_stat(struct nbd_device *nbd, int index) index 678 drivers/block/nbd.c result = sock_xmit(nbd, index, 0, &to, MSG_WAITALL, NULL); index 739 drivers/block/nbd.c result = sock_xmit(nbd, index, 0, &to, MSG_WAITALL, NULL); index 778 drivers/block/nbd.c cmd = nbd_read_stat(nbd, args->index); index 780 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[args->index]; index 816 drivers/block/nbd.c static int find_fallback(struct nbd_device *nbd, int index) index 820 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[index]; index 841 drivers/block/nbd.c if (i == index) index 871 drivers/block/nbd.c static int nbd_handle_cmd(struct nbd_cmd *cmd, int index) index 887 drivers/block/nbd.c if (index >= config->num_connections) { index 896 drivers/block/nbd.c nsock = config->socks[index]; index 899 drivers/block/nbd.c int old_index = index; index 900 drivers/block/nbd.c index = find_fallback(nbd, index); index 902 drivers/block/nbd.c if (index < 0) { index 904 drivers/block/nbd.c index = old_index; index 936 drivers/block/nbd.c ret = nbd_send_cmd(nbd, cmd, index); index 1096 drivers/block/nbd.c args->index = i; index 1243 drivers/block/nbd.c WQ_UNBOUND, 0, nbd->index); index 1288 drivers/block/nbd.c args->index = i; index 1658 drivers/block/nbd.c static int nbd_dev_add(int index) index 1673 drivers/block/nbd.c if (index >= 0) { index 1674 drivers/block/nbd.c err = idr_alloc(&nbd_index_idr, nbd, index, index + 1, index 1681 drivers/block/nbd.c index = err; index 1686 drivers/block/nbd.c nbd->index = index; index 1727 drivers/block/nbd.c disk->first_minor = index << part_shift; index 1730 drivers/block/nbd.c sprintf(disk->disk_name, "nbd%d", index); index 1733 drivers/block/nbd.c return index; index 1738 drivers/block/nbd.c idr_remove(&nbd_index_idr, index); index 1814 drivers/block/nbd.c int index = -1; index 1822 drivers/block/nbd.c index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]); index 1833 drivers/block/nbd.c if (index == -1) { index 1846 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); index 1848 drivers/block/nbd.c ret = nbd_dev_add(index); index 1854 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); index 1859 drivers/block/nbd.c index); index 1876 drivers/block/nbd.c if (index == -1) index 1879 drivers/block/nbd.c index); index 1888 drivers/block/nbd.c if (index == -1) index 1890 drivers/block/nbd.c printk(KERN_ERR "nbd: nbd%d already in use\n", index); index 1975 drivers/block/nbd.c nbd_connect_reply(info, nbd->index); index 2003 drivers/block/nbd.c int index; index 2012 drivers/block/nbd.c index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]); index 2014 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); index 2018 drivers/block/nbd.c index); index 2024 drivers/block/nbd.c index); index 2042 drivers/block/nbd.c int index; index 2053 drivers/block/nbd.c index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]); index 2055 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); index 2059 drivers/block/nbd.c index); index 2065 drivers/block/nbd.c index); index 2223 drivers/block/nbd.c ret = nla_put_u32(reply, NBD_DEVICE_INDEX, nbd->index); index 2246 drivers/block/nbd.c int index = -1; index 2250 drivers/block/nbd.c index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]); index 2256 drivers/block/nbd.c msg_size *= (index == -1) ? nbd_total_devices : 1; index 2269 drivers/block/nbd.c if (index == -1) { index 2277 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); index 2294 drivers/block/nbd.c static void nbd_connect_reply(struct genl_info *info, int index) index 2309 drivers/block/nbd.c ret = nla_put_u32(skb, NBD_ATTR_INDEX, index); index 2318 drivers/block/nbd.c static void nbd_mcast_index(int index) index 2333 drivers/block/nbd.c ret = nla_put_u32(skb, NBD_ATTR_INDEX, index); index 2346 drivers/block/nbd.c nbd_mcast_index(args->index); index 62 drivers/block/null_blk.h unsigned int index; /* index of the disk, only valid with a disk */ index 75 drivers/block/null_blk.h unsigned int index; index 292 drivers/block/null_blk_main.c NULLB_DEVICE_ATTR(index, uint); index 725 drivers/block/null_blk_main.c WARN_ON(!t_page || t_page->page->index != idx); index 748 drivers/block/null_blk_main.c pos = t_pages[i]->page->index; index 774 drivers/block/null_blk_main.c WARN_ON(t_page && t_page->page->index != idx); index 817 drivers/block/null_blk_main.c t_page->page->index = idx; index 837 drivers/block/null_blk_main.c idx = c_page->page->index; index 896 drivers/block/null_blk_main.c nullb->cache_flush_pos = c_pages[i]->page->index; index 1276 drivers/block/null_blk_main.c int index = 0; index 1279 drivers/block/null_blk_main.c index = raw_smp_processor_id() / ((nr_cpu_ids + nullb->nr_queues - 1) / nullb->nr_queues); index 1281 drivers/block/null_blk_main.c return &nullb->queues[index]; index 1394 drivers/block/null_blk_main.c ida_simple_remove(&nullb_indexes, nullb->index); index 1541 drivers/block/null_blk_main.c disk->first_minor = nullb->index; index 1714 drivers/block/null_blk_main.c nullb->index = ida_simple_get(&nullb_indexes, 0, 0, GFP_KERNEL); index 1715 drivers/block/null_blk_main.c dev->index = nullb->index; index 1723 drivers/block/null_blk_main.c sprintf(nullb->disk_name, "nullb%d", nullb->index); index 228 drivers/block/paride/paride.c pr->index = k; index 239 drivers/block/paride/paride.c if (protocols[pr->index] != pr) { index 243 drivers/block/paride/paride.c protocols[pr->index] = NULL; index 138 drivers/block/paride/paride.h int index; /* index into protocol table */ index 733 drivers/block/pktcdvd.c static const char *sense_key_string(__u8 index) index 741 drivers/block/pktcdvd.c return index < ARRAY_SIZE(info) ? info[index] : "INVALID"; index 556 drivers/block/rbd.c struct attribute *attr, int index) index 1790 drivers/block/rbd.c u64 *index, u8 *shift) index 1795 drivers/block/rbd.c *index = div_u64_rem(objno, OBJS_PER_BYTE, &off); index 1801 drivers/block/rbd.c u64 index; index 1805 drivers/block/rbd.c __rbd_object_map_index(rbd_dev, objno, &index, &shift); index 1806 drivers/block/rbd.c return (rbd_dev->object_map[index] >> shift) & OBJ_MASK; index 1811 drivers/block/rbd.c u64 index; index 1818 drivers/block/rbd.c __rbd_object_map_index(rbd_dev, objno, &index, &shift); index 1819 drivers/block/rbd.c p = &rbd_dev->object_map[index]; index 305 drivers/block/sunvdc.c unsigned int index) index 307 drivers/block/sunvdc.c struct vio_disk_desc *desc = vio_dring_entry(dr, index); index 308 drivers/block/sunvdc.c struct vdc_req_entry *rqe = &port->rq_arr[index]; index 316 drivers/block/sunvdc.c dr->cons = vio_dring_next(dr, index); index 203 drivers/block/swim3.c int index; index 208 drivers/block/swim3.c #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) index 209 drivers/block/swim3.c #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) index 210 drivers/block/swim3.c #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) index 213 drivers/block/swim3.c #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) index 825 drivers/block/swim3.c struct request_queue *q = disks[fs->index]->queue; index 1084 drivers/block/swim3.c static int swim3_add_device(struct macio_dev *mdev, int index) index 1087 drivers/block/swim3.c struct floppy_state *fs = &floppy_states[index]; index 1091 drivers/block/swim3.c fs->index = index; index 67 drivers/block/virtio_blk.c int index; index 249 drivers/block/virtio_blk.c int qid = vq->index; index 415 drivers/block/virtio_blk.c ida_simple_remove(&vd_index_ida, vblk->index); index 484 drivers/block/virtio_blk.c static int index_to_minor(int index) index 486 drivers/block/virtio_blk.c return index << PART_BITS; index 633 drivers/block/virtio_blk.c static int virtblk_name_format(char *prefix, int index, char *buf, int buflen) index 647 drivers/block/virtio_blk.c *--p = 'a' + (index % unit); index 648 drivers/block/virtio_blk.c index = (index / unit) - 1; index 649 drivers/block/virtio_blk.c } while (index >= 0); index 800 drivers/block/virtio_blk.c int err, index; index 816 drivers/block/virtio_blk.c index = err; index 887 drivers/block/virtio_blk.c virtblk_name_format("vd", index, vblk->disk->disk_name, DISK_NAME_LEN); index 890 drivers/block/virtio_blk.c vblk->disk->first_minor = index_to_minor(index); index 894 drivers/block/virtio_blk.c vblk->index = index; index 996 drivers/block/virtio_blk.c ida_simple_remove(&vd_index_ida, index); index 176 drivers/block/z2ram.c int index = device - Z2MINOR_MEMLIST1 + 1; index 179 drivers/block/z2ram.c if (index >= m68k_realnum_memory) { index 185 drivers/block/z2ram.c paddr = m68k_memory[index].addr; index 186 drivers/block/z2ram.c size = m68k_memory[index].size & ~(Z2RAM_CHUNKSIZE-1); index 220 drivers/block/z2ram.c list_count * Z2RAM_CHUNK1024, index ); index 54 drivers/block/zram/zram_drv.c static void zram_free_page(struct zram *zram, size_t index); index 56 drivers/block/zram/zram_drv.c u32 index, int offset, struct bio *bio); index 59 drivers/block/zram/zram_drv.c static int zram_slot_trylock(struct zram *zram, u32 index) index 61 drivers/block/zram/zram_drv.c return bit_spin_trylock(ZRAM_LOCK, &zram->table[index].flags); index 64 drivers/block/zram/zram_drv.c static void zram_slot_lock(struct zram *zram, u32 index) index 66 drivers/block/zram/zram_drv.c bit_spin_lock(ZRAM_LOCK, &zram->table[index].flags); index 69 drivers/block/zram/zram_drv.c static void zram_slot_unlock(struct zram *zram, u32 index) index 71 drivers/block/zram/zram_drv.c bit_spin_unlock(ZRAM_LOCK, &zram->table[index].flags); index 84 drivers/block/zram/zram_drv.c static unsigned long zram_get_handle(struct zram *zram, u32 index) index 86 drivers/block/zram/zram_drv.c return zram->table[index].handle; index 89 drivers/block/zram/zram_drv.c static void zram_set_handle(struct zram *zram, u32 index, unsigned long handle) index 91 drivers/block/zram/zram_drv.c zram->table[index].handle = handle; index 95 drivers/block/zram/zram_drv.c static bool zram_test_flag(struct zram *zram, u32 index, index 98 drivers/block/zram/zram_drv.c return zram->table[index].flags & BIT(flag); index 101 drivers/block/zram/zram_drv.c static void zram_set_flag(struct zram *zram, u32 index, index 104 drivers/block/zram/zram_drv.c zram->table[index].flags |= BIT(flag); index 107 drivers/block/zram/zram_drv.c static void zram_clear_flag(struct zram *zram, u32 index, index 110 drivers/block/zram/zram_drv.c zram->table[index].flags &= ~BIT(flag); index 113 drivers/block/zram/zram_drv.c static inline void zram_set_element(struct zram *zram, u32 index, index 116 drivers/block/zram/zram_drv.c zram->table[index].element = element; index 119 drivers/block/zram/zram_drv.c static unsigned long zram_get_element(struct zram *zram, u32 index) index 121 drivers/block/zram/zram_drv.c return zram->table[index].element; index 124 drivers/block/zram/zram_drv.c static size_t zram_get_obj_size(struct zram *zram, u32 index) index 126 drivers/block/zram/zram_drv.c return zram->table[index].flags & (BIT(ZRAM_FLAG_SHIFT) - 1); index 130 drivers/block/zram/zram_drv.c u32 index, size_t size) index 132 drivers/block/zram/zram_drv.c unsigned long flags = zram->table[index].flags >> ZRAM_FLAG_SHIFT; index 134 drivers/block/zram/zram_drv.c zram->table[index].flags = (flags << ZRAM_FLAG_SHIFT) | size; index 137 drivers/block/zram/zram_drv.c static inline bool zram_allocated(struct zram *zram, u32 index) index 139 drivers/block/zram/zram_drv.c return zram_get_obj_size(zram, index) || index 140 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_SAME) || index 141 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_WB); index 180 drivers/block/zram/zram_drv.c static void update_position(u32 *index, int *offset, struct bio_vec *bvec) index 182 drivers/block/zram/zram_drv.c *index += (*offset + bvec->bv_len) / PAGE_SIZE; index 292 drivers/block/zram/zram_drv.c int index; index 303 drivers/block/zram/zram_drv.c for (index = 0; index < nr_pages; index++) { index 308 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 309 drivers/block/zram/zram_drv.c if (zram_allocated(zram, index) && index 310 drivers/block/zram/zram_drv.c !zram_test_flag(zram, index, ZRAM_UNDER_WB)) index 311 drivers/block/zram/zram_drv.c zram_set_flag(zram, index, ZRAM_IDLE); index 312 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 625 drivers/block/zram/zram_drv.c unsigned long index; index 657 drivers/block/zram/zram_drv.c for (index = 0; index < nr_pages; index++) { index 680 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 681 drivers/block/zram/zram_drv.c if (!zram_allocated(zram, index)) index 684 drivers/block/zram/zram_drv.c if (zram_test_flag(zram, index, ZRAM_WB) || index 685 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_SAME) || index 686 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_UNDER_WB)) index 690 drivers/block/zram/zram_drv.c !zram_test_flag(zram, index, ZRAM_IDLE)) index 693 drivers/block/zram/zram_drv.c !zram_test_flag(zram, index, ZRAM_HUGE)) index 699 drivers/block/zram/zram_drv.c zram_set_flag(zram, index, ZRAM_UNDER_WB); index 701 drivers/block/zram/zram_drv.c zram_set_flag(zram, index, ZRAM_IDLE); index 702 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 703 drivers/block/zram/zram_drv.c if (zram_bvec_read(zram, &bvec, index, 0, NULL)) { index 704 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 705 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_UNDER_WB); index 706 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_IDLE); index 707 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 724 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 725 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_UNDER_WB); index 726 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_IDLE); index 727 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 741 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 742 drivers/block/zram/zram_drv.c if (!zram_allocated(zram, index) || index 743 drivers/block/zram/zram_drv.c !zram_test_flag(zram, index, ZRAM_IDLE)) { index 744 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_UNDER_WB); index 745 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_IDLE); index 749 drivers/block/zram/zram_drv.c zram_free_page(zram, index); index 750 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_UNDER_WB); index 751 drivers/block/zram/zram_drv.c zram_set_flag(zram, index, ZRAM_WB); index 752 drivers/block/zram/zram_drv.c zram_set_element(zram, index, blk_idx); index 760 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 856 drivers/block/zram/zram_drv.c static void zram_accessed(struct zram *zram, u32 index) index 858 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_IDLE); index 859 drivers/block/zram/zram_drv.c zram->table[index].ac_time = ktime_get_boottime(); index 866 drivers/block/zram/zram_drv.c ssize_t index, written = 0; index 882 drivers/block/zram/zram_drv.c for (index = *ppos; index < nr_pages; index++) { index 885 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 886 drivers/block/zram/zram_drv.c if (!zram_allocated(zram, index)) index 889 drivers/block/zram/zram_drv.c ts = ktime_to_timespec64(zram->table[index].ac_time); index 892 drivers/block/zram/zram_drv.c index, (s64)ts.tv_sec, index 894 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_SAME) ? 's' : '.', index 895 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_WB) ? 'w' : '.', index 896 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_HUGE) ? 'h' : '.', index 897 drivers/block/zram/zram_drv.c zram_test_flag(zram, index, ZRAM_IDLE) ? 'i' : '.'); index 900 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 906 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 942 drivers/block/zram/zram_drv.c static void zram_accessed(struct zram *zram, u32 index) index 944 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_IDLE); index 1130 drivers/block/zram/zram_drv.c size_t index; index 1133 drivers/block/zram/zram_drv.c for (index = 0; index < num_pages; index++) index 1134 drivers/block/zram/zram_drv.c zram_free_page(zram, index); index 1165 drivers/block/zram/zram_drv.c static void zram_free_page(struct zram *zram, size_t index) index 1170 drivers/block/zram/zram_drv.c zram->table[index].ac_time = 0; index 1172 drivers/block/zram/zram_drv.c if (zram_test_flag(zram, index, ZRAM_IDLE)) index 1173 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_IDLE); index 1175 drivers/block/zram/zram_drv.c if (zram_test_flag(zram, index, ZRAM_HUGE)) { index 1176 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_HUGE); index 1180 drivers/block/zram/zram_drv.c if (zram_test_flag(zram, index, ZRAM_WB)) { index 1181 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_WB); index 1182 drivers/block/zram/zram_drv.c free_block_bdev(zram, zram_get_element(zram, index)); index 1190 drivers/block/zram/zram_drv.c if (zram_test_flag(zram, index, ZRAM_SAME)) { index 1191 drivers/block/zram/zram_drv.c zram_clear_flag(zram, index, ZRAM_SAME); index 1196 drivers/block/zram/zram_drv.c handle = zram_get_handle(zram, index); index 1202 drivers/block/zram/zram_drv.c atomic64_sub(zram_get_obj_size(zram, index), index 1206 drivers/block/zram/zram_drv.c zram_set_handle(zram, index, 0); index 1207 drivers/block/zram/zram_drv.c zram_set_obj_size(zram, index, 0); index 1208 drivers/block/zram/zram_drv.c WARN_ON_ONCE(zram->table[index].flags & index 1212 drivers/block/zram/zram_drv.c static int __zram_bvec_read(struct zram *zram, struct page *page, u32 index, index 1220 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 1221 drivers/block/zram/zram_drv.c if (zram_test_flag(zram, index, ZRAM_WB)) { index 1224 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 1230 drivers/block/zram/zram_drv.c zram_get_element(zram, index), index 1234 drivers/block/zram/zram_drv.c handle = zram_get_handle(zram, index); index 1235 drivers/block/zram/zram_drv.c if (!handle || zram_test_flag(zram, index, ZRAM_SAME)) { index 1239 drivers/block/zram/zram_drv.c value = handle ? zram_get_element(zram, index) : 0; index 1243 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 1247 drivers/block/zram/zram_drv.c size = zram_get_obj_size(zram, index); index 1264 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 1268 drivers/block/zram/zram_drv.c pr_err("Decompression failed! err=%d, page=%u\n", ret, index); index 1274 drivers/block/zram/zram_drv.c u32 index, int offset, struct bio *bio) index 1287 drivers/block/zram/zram_drv.c ret = __zram_bvec_read(zram, page, index, bio, is_partial_io(bvec)); index 1307 drivers/block/zram/zram_drv.c u32 index, struct bio *bio) index 1400 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 1401 drivers/block/zram/zram_drv.c zram_free_page(zram, index); index 1404 drivers/block/zram/zram_drv.c zram_set_flag(zram, index, ZRAM_HUGE); index 1409 drivers/block/zram/zram_drv.c zram_set_flag(zram, index, flags); index 1410 drivers/block/zram/zram_drv.c zram_set_element(zram, index, element); index 1412 drivers/block/zram/zram_drv.c zram_set_handle(zram, index, handle); index 1413 drivers/block/zram/zram_drv.c zram_set_obj_size(zram, index, comp_len); index 1415 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 1423 drivers/block/zram/zram_drv.c u32 index, int offset, struct bio *bio) index 1441 drivers/block/zram/zram_drv.c ret = __zram_bvec_read(zram, page, index, bio, true); index 1456 drivers/block/zram/zram_drv.c ret = __zram_bvec_write(zram, &vec, index, bio); index 1468 drivers/block/zram/zram_drv.c static void zram_bio_discard(struct zram *zram, u32 index, index 1488 drivers/block/zram/zram_drv.c index++; index 1492 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 1493 drivers/block/zram/zram_drv.c zram_free_page(zram, index); index 1494 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 1496 drivers/block/zram/zram_drv.c index++; index 1506 drivers/block/zram/zram_drv.c static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, index 1518 drivers/block/zram/zram_drv.c ret = zram_bvec_read(zram, bvec, index, offset, bio); index 1522 drivers/block/zram/zram_drv.c ret = zram_bvec_write(zram, bvec, index, offset, bio); index 1527 drivers/block/zram/zram_drv.c zram_slot_lock(zram, index); index 1528 drivers/block/zram/zram_drv.c zram_accessed(zram, index); index 1529 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 1544 drivers/block/zram/zram_drv.c u32 index; index 1548 drivers/block/zram/zram_drv.c index = bio->bi_iter.bi_sector >> SECTORS_PER_PAGE_SHIFT; index 1555 drivers/block/zram/zram_drv.c zram_bio_discard(zram, index, offset, bio); index 1569 drivers/block/zram/zram_drv.c if (zram_bvec_rw(zram, &bv, index, offset, index 1576 drivers/block/zram/zram_drv.c update_position(&index, &offset, &bv); index 1609 drivers/block/zram/zram_drv.c unsigned long index) index 1616 drivers/block/zram/zram_drv.c if (!zram_slot_trylock(zram, index)) { index 1621 drivers/block/zram/zram_drv.c zram_free_page(zram, index); index 1622 drivers/block/zram/zram_drv.c zram_slot_unlock(zram, index); index 1629 drivers/block/zram/zram_drv.c u32 index; index 1643 drivers/block/zram/zram_drv.c index = sector >> SECTORS_PER_PAGE_SHIFT; index 1650 drivers/block/zram/zram_drv.c ret = zram_bvec_rw(zram, &bv, index, offset, op, NULL); index 405 drivers/bluetooth/btrtl.c dl_cmd->index = (i & 0x7f) + 1; index 407 drivers/bluetooth/btrtl.c dl_cmd->index = i; index 410 drivers/bluetooth/btrtl.c dl_cmd->index |= 0x80; /* data end */ index 18 drivers/bluetooth/btrtl.h __u8 index; index 24 drivers/bluetooth/btrtl.h __u8 index; index 45 drivers/bluetooth/hci_ath.c __le16 index; index 147 drivers/bluetooth/hci_ath.c static int ath_vendor_cmd(struct hci_dev *hdev, uint8_t opcode, uint16_t index, index 157 drivers/bluetooth/hci_ath.c cmd.index = cpu_to_le16(index); index 132 drivers/bus/arm-cci.c static inline void init_cpu_port(struct cpu_port *port, u32 index, u64 mpidr) index 134 drivers/bus/arm-cci.c port->port = PORT_VALID | index; index 238 drivers/bus/ti-sysc.c int error, index; index 241 drivers/bus/ti-sysc.c index = SYSC_OPTFCK0; index 243 drivers/bus/ti-sysc.c index = ddata->nr_clocks; index 248 drivers/bus/ti-sysc.c optfck_name = clock_names[index]; index 254 drivers/bus/ti-sysc.c ddata->clock_roles[index] = optfck_name; index 262 drivers/bus/ti-sysc.c int error, i, index = -ENODEV; index 265 drivers/bus/ti-sysc.c index = SYSC_FCK; index 267 drivers/bus/ti-sysc.c index = SYSC_ICK; index 269 drivers/bus/ti-sysc.c if (index < 0) { index 272 drivers/bus/ti-sysc.c index = i; index 278 drivers/bus/ti-sysc.c if (index < 0) { index 280 drivers/bus/ti-sysc.c return index; index 283 drivers/bus/ti-sysc.c ddata->clocks[index] = devm_clk_get(ddata->dev, name); index 284 drivers/bus/ti-sysc.c if (IS_ERR(ddata->clocks[index])) { index 286 drivers/bus/ti-sysc.c name, PTR_ERR(ddata->clocks[index])); index 288 drivers/bus/ti-sysc.c return PTR_ERR(ddata->clocks[index]); index 291 drivers/bus/ti-sysc.c error = clk_prepare(ddata->clocks[index]); index 193 drivers/char/agp/alpha-agp.c printk(KERN_INFO PFX "Detected AGP on hose %d\n", agp->hose->index); index 115 drivers/char/agp/backend.c long memory, index, result; index 122 drivers/char/agp/backend.c index = 1; index 124 drivers/char/agp/backend.c while ((memory > maxes_table[index].mem) && (index < 8)) index 125 drivers/char/agp/backend.c index++; index 127 drivers/char/agp/backend.c result = maxes_table[index - 1].agp + index 128 drivers/char/agp/backend.c ( (memory - maxes_table[index - 1].mem) * index 129 drivers/char/agp/backend.c (maxes_table[index].agp - maxes_table[index - 1].agp)) / index 130 drivers/char/agp/backend.c (maxes_table[index].mem - maxes_table[index - 1].mem); index 160 drivers/char/agp/efficeon-agp.c int index, freed = 0; index 162 drivers/char/agp/efficeon-agp.c for (index = 0; index < EFFICEON_L1_SIZE; index++) { index 163 drivers/char/agp/efficeon-agp.c unsigned long page = efficeon_private.l1_table[index]; index 165 drivers/char/agp/efficeon-agp.c efficeon_private.l1_table[index] = 0; index 170 drivers/char/agp/efficeon-agp.c agp_bridge->dev, EFFICEON_ATTPAGE, index); index 172 drivers/char/agp/efficeon-agp.c EFFICEON_ATTPAGE, index); index 194 drivers/char/agp/efficeon-agp.c int index; index 208 drivers/char/agp/efficeon-agp.c for (index = 0 ; index < l1_pages ; index++) { index 213 drivers/char/agp/efficeon-agp.c page = efficeon_private.l1_table[index]; index 225 drivers/char/agp/efficeon-agp.c efficeon_private.l1_table[index] = page; index 227 drivers/char/agp/efficeon-agp.c value = virt_to_phys((unsigned long *)page) | pati | present | index; index 258 drivers/char/agp/efficeon-agp.c int index = pg_start + i; index 261 drivers/char/agp/efficeon-agp.c page = (unsigned int *) efficeon_private.l1_table[index >> 10]; index 266 drivers/char/agp/efficeon-agp.c page += (index & 0x3ff); index 299 drivers/char/agp/efficeon-agp.c int index = pg_start + i; index 300 drivers/char/agp/efficeon-agp.c unsigned int *page = (unsigned int *) efficeon_private.l1_table[index >> 10]; index 304 drivers/char/agp/efficeon-agp.c page += (index & 0x3ff); index 55 drivers/char/agp/i460-agp.c #define RD_GATT(index) readl((u32 *) i460.gatt + (index)) index 56 drivers/char/agp/i460-agp.c #define WR_GATT(index, val) writel((val), (u32 *) i460.gatt + (index)) index 61 drivers/char/agp/i460-agp.c #define WR_FLUSH_GATT(index) RD_GATT(index) index 23 drivers/char/hw_random/virtio-rng.c int index; index 89 drivers/char/hw_random/virtio-rng.c int err, index; index 96 drivers/char/hw_random/virtio-rng.c vi->index = index = ida_simple_get(&rng_index_ida, 0, 0, GFP_KERNEL); index 97 drivers/char/hw_random/virtio-rng.c if (index < 0) { index 98 drivers/char/hw_random/virtio-rng.c err = index; index 101 drivers/char/hw_random/virtio-rng.c sprintf(vi->name, "virtio_rng.%d", index); index 123 drivers/char/hw_random/virtio-rng.c ida_simple_remove(&rng_index_ida, index); index 141 drivers/char/hw_random/virtio-rng.c ida_simple_remove(&rng_index_ida, vi->index); index 222 drivers/char/ipmi/ipmi_msghandler.c static struct ipmi_user *acquire_ipmi_user(struct ipmi_user *user, int *index) index 227 drivers/char/ipmi/ipmi_msghandler.c *index = srcu_read_lock(&user->release_barrier); index 230 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&user->release_barrier, *index); index 234 drivers/char/ipmi/ipmi_msghandler.c static void release_ipmi_user(struct ipmi_user *user, int index) index 236 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&user->release_barrier, index); index 748 drivers/char/ipmi/ipmi_msghandler.c int index, rv; index 762 drivers/char/ipmi/ipmi_msghandler.c index = srcu_read_lock(&ipmi_interfaces_srcu); index 770 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&ipmi_interfaces_srcu, index); index 917 drivers/char/ipmi/ipmi_msghandler.c int index; index 918 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_user *user = acquire_ipmi_user(msg->user, &index); index 922 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1183 drivers/char/ipmi/ipmi_msghandler.c int rv, index; index 1209 drivers/char/ipmi/ipmi_msghandler.c index = srcu_read_lock(&ipmi_interfaces_srcu); index 1246 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&ipmi_interfaces_srcu, index); index 1251 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&ipmi_interfaces_srcu, index); index 1259 drivers/char/ipmi/ipmi_msghandler.c int rv, index; index 1262 drivers/char/ipmi/ipmi_msghandler.c index = srcu_read_lock(&ipmi_interfaces_srcu); index 1267 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&ipmi_interfaces_srcu, index); index 1277 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&ipmi_interfaces_srcu, index); index 1377 drivers/char/ipmi/ipmi_msghandler.c int rv, index; index 1379 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1388 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1398 drivers/char/ipmi/ipmi_msghandler.c int index, rv = 0; index 1400 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1410 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1420 drivers/char/ipmi/ipmi_msghandler.c int index, rv = 0; index 1422 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1432 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1442 drivers/char/ipmi/ipmi_msghandler.c int index, rv = 0; index 1444 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1454 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1464 drivers/char/ipmi/ipmi_msghandler.c int index, rv = 0; index 1466 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1476 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1484 drivers/char/ipmi/ipmi_msghandler.c int mode, index; index 1487 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1494 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1509 drivers/char/ipmi/ipmi_msghandler.c int rv = 0, index; index 1513 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1543 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1555 drivers/char/ipmi/ipmi_msghandler.c int index; index 1557 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1608 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1651 drivers/char/ipmi/ipmi_msghandler.c int rv = 0, index; index 1653 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1683 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 1697 drivers/char/ipmi/ipmi_msghandler.c int i, rv = -ENOENT, index; index 1699 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 1722 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 2311 drivers/char/ipmi/ipmi_msghandler.c int rv, index; index 2316 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 2335 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 2350 drivers/char/ipmi/ipmi_msghandler.c int rv, index; index 2355 drivers/char/ipmi/ipmi_msghandler.c user = acquire_ipmi_user(user, &index); index 2374 drivers/char/ipmi/ipmi_msghandler.c release_ipmi_user(user, index); index 3586 drivers/char/ipmi/ipmi_msghandler.c int intf_num = intf->intf_num, index; index 3606 drivers/char/ipmi/ipmi_msghandler.c index = srcu_read_lock(&intf->users_srcu); index 3614 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&intf->users_srcu, index); index 4095 drivers/char/ipmi/ipmi_msghandler.c int rv = 0, deliver_count = 0, index; index 4119 drivers/char/ipmi/ipmi_msghandler.c index = srcu_read_lock(&intf->users_srcu); index 4148 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&intf->users_srcu, index); index 4472 drivers/char/ipmi/ipmi_msghandler.c int index; index 4474 drivers/char/ipmi/ipmi_msghandler.c index = srcu_read_lock(&intf->users_srcu); index 4480 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&intf->users_srcu, index); index 4762 drivers/char/ipmi/ipmi_msghandler.c int index; index 4767 drivers/char/ipmi/ipmi_msghandler.c index = srcu_read_lock(&ipmi_interfaces_srcu); index 4780 drivers/char/ipmi/ipmi_msghandler.c srcu_read_unlock(&ipmi_interfaces_srcu, index); index 107 drivers/char/mspec.c int index, last_index; index 116 drivers/char/mspec.c for (index = 0; index < last_index; index++) { index 117 drivers/char/mspec.c if (vdata->maddr[index] == 0) index 123 drivers/char/mspec.c my_page = vdata->maddr[index]; index 124 drivers/char/mspec.c vdata->maddr[index] = 0; index 142 drivers/char/mspec.c pgoff_t index = vmf->pgoff; index 145 drivers/char/mspec.c maddr = (volatile unsigned long) vdata->maddr[index]; index 152 drivers/char/mspec.c if (vdata->maddr[index] == 0) { index 154 drivers/char/mspec.c vdata->maddr[index] = maddr; index 157 drivers/char/mspec.c maddr = vdata->maddr[index]; index 350 drivers/char/mwave/3780i.h #define WriteGenCfg(index,value) dsp3780I_WriteGenCfg(usDspBaseIO,index,value) index 351 drivers/char/mwave/3780i.h #define ReadGenCfg(index) dsp3780I_ReadGenCfg(usDspBaseIO,index) index 353 drivers/char/mwave/3780i.h #define InWordDsp(index) inw(usDspBaseIO+index) index 354 drivers/char/mwave/3780i.h #define InByteDsp(index) inb(usDspBaseIO+index) index 355 drivers/char/mwave/3780i.h #define OutWordDsp(index,value) outw(value,usDspBaseIO+index) index 356 drivers/char/mwave/3780i.h #define OutByteDsp(index,value) outb(value,usDspBaseIO+index) index 23 drivers/char/nsc_gpio.c void nsc_gpio_dump(struct nsc_gpio_ops *amp, unsigned index) index 26 drivers/char/nsc_gpio.c u32 config = amp->gpio_config(index, ~0, 0); index 30 drivers/char/nsc_gpio.c index, config, index 39 drivers/char/nsc_gpio.c amp->gpio_get(index), amp->gpio_current(index)); index 125 drivers/char/pc8736x_gpio.c static inline u32 pc8736x_gpio_configure_fn(unsigned index, u32 mask, u32 bits, index 133 drivers/char/pc8736x_gpio.c select_pin(index); index 147 drivers/char/pc8736x_gpio.c static u32 pc8736x_gpio_configure(unsigned index, u32 mask, u32 bits) index 149 drivers/char/pc8736x_gpio.c return pc8736x_gpio_configure_fn(index, mask, bits, index 206 drivers/char/pc8736x_gpio.c static void pc8736x_gpio_change(unsigned index) index 208 drivers/char/pc8736x_gpio.c pc8736x_gpio_set(index, !pc8736x_gpio_current(index)); index 2475 drivers/char/pcmcia/synclink_cs.c line = tty->index; index 83 drivers/char/ppdev.c int index; index 289 drivers/char/ppdev.c int rc = 0, index; index 302 drivers/char/ppdev.c index = ida_simple_get(&ida_index, 0, 0, GFP_KERNEL); index 307 drivers/char/ppdev.c pdev = parport_register_dev_model(port, name, &ppdev_cb, index); index 313 drivers/char/ppdev.c ida_simple_remove(&ida_index, index); index 318 drivers/char/ppdev.c pp->index = index; index 765 drivers/char/ppdev.c ida_simple_remove(&ida_index, pp->index); index 144 drivers/char/tpm/tpm2-cmd.c unsigned int index; index 146 drivers/char/tpm/tpm2-cmd.c index = tpm2_ordinal_duration_index(ordinal); index 148 drivers/char/tpm/tpm2-cmd.c if (index != TPM_UNDEFINED) index 149 drivers/char/tpm/tpm2-cmd.c return chip->duration[index]; index 94 drivers/char/tpm/tpm_atmel.h static inline int tpm_read_index(int base, int index) index 96 drivers/char/tpm/tpm_atmel.h outb(index, base); index 445 drivers/char/tpm/tpm_ibmvtpm.c ibmvtpm->crq_queue.index = 0; index 481 drivers/char/tpm/tpm_ibmvtpm.c struct ibmvtpm_crq *crq = &crq_q->crq_addr[crq_q->index]; index 484 drivers/char/tpm/tpm_ibmvtpm.c if (++crq_q->index == crq_q->num_entry) index 485 drivers/char/tpm/tpm_ibmvtpm.c crq_q->index = 0; index 665 drivers/char/tpm/tpm_ibmvtpm.c crq_q->index = 0; index 27 drivers/char/tpm/tpm_ibmvtpm.h u32 index; index 276 drivers/char/tpm/tpm_nsc.c static inline int tpm_read_index(int base, int index) index 278 drivers/char/tpm/tpm_nsc.c outb(index, base); index 282 drivers/char/tpm/tpm_nsc.c static inline void tpm_write_index(int base, int index, int value) index 284 drivers/char/tpm/tpm_nsc.c outb(index, base); index 1410 drivers/char/virtio_console.c port->portdev->vdev->index, id); index 1467 drivers/char/virtio_console.c port->portdev->vdev->index, id); index 2031 drivers/char/virtio_console.c portdev->chr_major, vdev->index); index 233 drivers/char/xilinx_hwicap/xilinx_hwicap.c u32 index = 0; index 238 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = hwicap_type_1_write(drvdata->config_regs->CMD) | 1; index 239 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_CMD_DESYNCH; index 240 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; index 241 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; index 248 drivers/char/xilinx_hwicap/xilinx_hwicap.c &buffer[0], index); index 269 drivers/char/xilinx_hwicap/xilinx_hwicap.c u32 index = 0; index 274 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_DUMMY_PACKET; index 275 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; index 276 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_SYNC_PACKET; index 277 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; index 278 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; index 285 drivers/char/xilinx_hwicap/xilinx_hwicap.c &buffer[0], index); index 294 drivers/char/xilinx_hwicap/xilinx_hwicap.c index = 0; index 295 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = hwicap_type_1_read(reg) | 1; index 296 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; index 297 drivers/char/xilinx_hwicap/xilinx_hwicap.c buffer[index++] = XHI_NOOP_PACKET; index 304 drivers/char/xilinx_hwicap/xilinx_hwicap.c &buffer[0], index); index 23 drivers/clk/actions/owl-composite.c static int owl_comp_set_parent(struct clk_hw *hw, u8 index) index 27 drivers/clk/actions/owl-composite.c return owl_mux_helper_set_parent(&comp->common, &comp->mux_hw, index); index 37 drivers/clk/actions/owl-mux.c struct owl_mux_hw *mux_hw, u8 index) index 44 drivers/clk/actions/owl-mux.c reg | (index << mux_hw->shift)); index 49 drivers/clk/actions/owl-mux.c static int owl_mux_set_parent(struct clk_hw *hw, u8 index) index 53 drivers/clk/actions/owl-mux.c return owl_mux_helper_set_parent(&mux->common, &mux->mux_hw, index); index 57 drivers/clk/actions/owl-mux.h struct owl_mux_hw *mux_hw, u8 index); index 195 drivers/clk/at91/clk-generated.c static int clk_generated_set_parent(struct clk_hw *hw, u8 index) index 199 drivers/clk/at91/clk-generated.c if (index >= clk_hw_get_num_parents(hw)) index 202 drivers/clk/at91/clk-generated.c gck->parent_id = index; index 37 drivers/clk/at91/clk-i2s-mux.c static int clk_i2s_mux_set_parent(struct clk_hw *hw, u8 index) index 42 drivers/clk/at91/clk-i2s-mux.c BIT(mux->bus_id), index << mux->bus_id); index 430 drivers/clk/at91/clk-main.c static int clk_sam9x5_main_set_parent(struct clk_hw *hw, u8 index) index 436 drivers/clk/at91/clk-main.c if (index > 1) index 442 drivers/clk/at91/clk-main.c if (index && !(tmp & AT91_PMC_MOSCSEL)) index 444 drivers/clk/at91/clk-main.c else if (!index && (tmp & AT91_PMC_MOSCSEL)) index 126 drivers/clk/at91/clk-pll.c u32 *index) { index 227 drivers/clk/at91/clk-pll.c if (index) index 228 drivers/clk/at91/clk-pll.c *index = i; index 249 drivers/clk/at91/clk-pll.c u32 index; index 252 drivers/clk/at91/clk-pll.c &div, &mul, &index); index 256 drivers/clk/at91/clk-pll.c pll->range = index; index 101 drivers/clk/at91/clk-programmable.c static int clk_programmable_set_parent(struct clk_hw *hw, u8 index) index 106 drivers/clk/at91/clk-programmable.c unsigned int pckr = index; index 111 drivers/clk/at91/clk-programmable.c if (index > layout->css_mask) { index 112 drivers/clk/at91/clk-programmable.c if (index > PROG_MAX_RM9200_CSS && !layout->have_slck_mck) index 61 drivers/clk/at91/clk-smd.c static int at91sam9x5_clk_smd_set_parent(struct clk_hw *hw, u8 index) index 65 drivers/clk/at91/clk-smd.c if (index > 1) index 69 drivers/clk/at91/clk-smd.c index ? AT91_PMC_SMDS : 0); index 109 drivers/clk/at91/clk-usb.c static int at91sam9x5_clk_usb_set_parent(struct clk_hw *hw, u8 index) index 113 drivers/clk/at91/clk-usb.c if (index > 1) index 116 drivers/clk/at91/clk-usb.c regmap_update_bits(usb->regmap, AT91_PMC_USB, usb->usbs_mask, index); index 275 drivers/clk/at91/sckc.c static int clk_sam9x5_slow_set_parent(struct clk_hw *hw, u8 index) index 281 drivers/clk/at91/sckc.c if (index > 1) index 286 drivers/clk/at91/sckc.c if ((!index && !(tmp & slowck->bits->cr_oscsel)) || index 287 drivers/clk/at91/sckc.c (index && (tmp & slowck->bits->cr_oscsel))) index 290 drivers/clk/at91/sckc.c if (index) index 1222 drivers/clk/bcm/clk-bcm2835.c static int bcm2835_clock_set_parent(struct clk_hw *hw, u8 index) index 1227 drivers/clk/bcm/clk-bcm2835.c u8 src = (index << CM_SRC_SHIFT) & CM_SRC_MASK; index 845 drivers/clk/bcm/clk-kona.c u8 index; index 859 drivers/clk/bcm/clk-kona.c index = parent_index(sel, parent_sel); index 860 drivers/clk/bcm/clk-kona.c if (index == BAD_CLK_INDEX) index 864 drivers/clk/bcm/clk-kona.c return index; index 890 drivers/clk/bcm/clk-kona.c u8 index; index 894 drivers/clk/bcm/clk-kona.c index = parent_index(sel, parent_sel); index 895 drivers/clk/bcm/clk-kona.c if (index == BAD_CLK_INDEX) index 897 drivers/clk/bcm/clk-kona.c sel->clk_index = index; index 946 drivers/clk/bcm/clk-kona.c u8 index) index 953 drivers/clk/bcm/clk-kona.c if (previous == index) index 956 drivers/clk/bcm/clk-kona.c sel->clk_index = index; index 1083 drivers/clk/bcm/clk-kona.c static int kona_peri_clk_set_parent(struct clk_hw *hw, u8 index) index 1091 drivers/clk/bcm/clk-kona.c BUG_ON(index >= sel->parent_count); index 1104 drivers/clk/bcm/clk-kona.c ret = selector_write(bcm_clk->ccu, &data->gate, sel, trig, index); index 1122 drivers/clk/bcm/clk-kona.c u8 index; index 1124 drivers/clk/bcm/clk-kona.c index = selector_read_index(bcm_clk->ccu, &data->sel); index 1127 drivers/clk/bcm/clk-kona.c return index == BAD_CLK_INDEX ? 0 : index; index 207 drivers/clk/berlin/berlin2-avpll.c u8 index; index 217 drivers/clk/berlin/berlin2-avpll.c if (ch->index == 7) index 221 drivers/clk/berlin/berlin2-avpll.c reg &= VCO_POWERUP_CH1 << ch->index; index 232 drivers/clk/berlin/berlin2-avpll.c reg |= VCO_POWERUP_CH1 << ch->index; index 244 drivers/clk/berlin/berlin2-avpll.c reg &= ~(VCO_POWERUP_CH1 << ch->index); index 259 drivers/clk/berlin/berlin2-avpll.c if ((reg & (VCO_DPLL_CH1_ENABLE << ch->index)) == 0) index 267 drivers/clk/berlin/berlin2-avpll.c reg = readl_relaxed(ch->base + VCO_SYNC1n(ch->index)); index 269 drivers/clk/berlin/berlin2-avpll.c if (ch->flags & BERLIN2_AVPLL_BIT_QUIRK && ch->index == 0) index 273 drivers/clk/berlin/berlin2-avpll.c reg = readl_relaxed(ch->base + VCO_SYNC2n(ch->index)); index 277 drivers/clk/berlin/berlin2-avpll.c if (ch->index == 7) index 285 drivers/clk/berlin/berlin2-avpll.c reg = (reg >> (ch->index * 3)); index 293 drivers/clk/berlin/berlin2-avpll.c if (ch->index == 0) { index 298 drivers/clk/berlin/berlin2-avpll.c reg >>= (ch->index-1) * 3; index 307 drivers/clk/berlin/berlin2-avpll.c if (ch->index < 2) { index 309 drivers/clk/berlin/berlin2-avpll.c reg >>= 18 + (ch->index * 7); index 310 drivers/clk/berlin/berlin2-avpll.c } else if (ch->index < 7) { index 312 drivers/clk/berlin/berlin2-avpll.c reg >>= (ch->index - 2) * 7; index 325 drivers/clk/berlin/berlin2-avpll.c if (ch->index < 6) { index 327 drivers/clk/berlin/berlin2-avpll.c reg >>= 7 + (ch->index * 4); index 357 drivers/clk/berlin/berlin2-avpll.c const char *name, u8 index, const char *parent_name, index 369 drivers/clk/berlin/berlin2-avpll.c ch->index = quirk_index[index]; index 371 drivers/clk/berlin/berlin2-avpll.c ch->index = index; index 18 drivers/clk/berlin/berlin2-avpll.h u8 index, const char *parent_name, u8 ch_flags, index 119 drivers/clk/berlin/berlin2-div.c static int berlin2_div_set_parent(struct clk_hw *hw, u8 index) index 130 drivers/clk/berlin/berlin2-div.c if (index == 0) index 137 drivers/clk/berlin/berlin2-div.c if (index > 0) { index 140 drivers/clk/berlin/berlin2-div.c reg |= (index - 1) << map->pll_select_shift; index 155 drivers/clk/berlin/berlin2-div.c u8 index = 0; index 167 drivers/clk/berlin/berlin2-div.c index = 1 + reg; index 173 drivers/clk/berlin/berlin2-div.c return index; index 371 drivers/clk/clk-axi-clkgen.c static int axi_clkgen_set_parent(struct clk_hw *clk_hw, u8 index) index 375 drivers/clk/clk-axi-clkgen.c axi_clkgen_write(axi_clkgen, AXI_CLKGEN_V2_REG_CLKSEL, index); index 142 drivers/clk/clk-cdce706.c static int cdce706_clkin_set_parent(struct clk_hw *hw, u8 index) index 146 drivers/clk/clk-cdce706.c hwd->parent = index; index 257 drivers/clk/clk-cdce706.c static int cdce706_divider_set_parent(struct clk_hw *hw, u8 index) index 261 drivers/clk/clk-cdce706.c if (hwd->parent == index) index 263 drivers/clk/clk-cdce706.c hwd->parent = index; index 267 drivers/clk/clk-cdce706.c index << CDCE706_DIVIDER_PLL_SHIFT(hwd->idx)); index 398 drivers/clk/clk-cdce706.c static int cdce706_clkout_set_parent(struct clk_hw *hw, u8 index) index 402 drivers/clk/clk-cdce706.c if (hwd->parent == index) index 404 drivers/clk/clk-cdce706.c hwd->parent = index; index 407 drivers/clk/clk-cdce706.c CDCE706_CLKOUT_ENABLE_MASK, index); index 67 drivers/clk/clk-cdce925.c u8 index; index 76 drivers/clk/clk-cdce925.c u8 index; index 227 drivers/clk/clk-cdce925.c u8 reg_ofs = data->index * CDCE925_OFFSET_PLL; index 274 drivers/clk/clk-cdce925.c u8 reg_ofs = data->index * CDCE925_OFFSET_PLL; index 291 drivers/clk/clk-cdce925.c switch (data->index) { index 327 drivers/clk/clk-cdce925.c switch (data->index) { index 711 drivers/clk/clk-cdce925.c data->pll[i].index = i; index 751 drivers/clk/clk-cdce925.c data->clk[0].index = 0; index 769 drivers/clk/clk-cdce925.c data->clk[i].index = i; index 21 drivers/clk/clk-composite.c static int clk_composite_set_parent(struct clk_hw *hw, u8 index) index 29 drivers/clk/clk-composite.c return mux_ops->set_parent(mux_hw, index); index 145 drivers/clk/clk-composite.c u8 index) index 160 drivers/clk/clk-composite.c mux_ops->set_parent(mux_hw, index); index 162 drivers/clk/clk-composite.c mux_ops->set_parent(mux_hw, index); index 17 drivers/clk/clk-conf.c int index, rc, num_parents; index 26 drivers/clk/clk-conf.c for (index = 0; index < num_parents; index++) { index 28 drivers/clk/clk-conf.c "#clock-cells", index, &clkspec); index 42 drivers/clk/clk-conf.c index, node); index 47 drivers/clk/clk-conf.c "#clock-cells", index, &clkspec); index 58 drivers/clk/clk-conf.c index, node); index 81 drivers/clk/clk-conf.c int rc, index = 0; index 88 drivers/clk/clk-conf.c "#clock-cells", index, &clkspec); index 103 drivers/clk/clk-conf.c index, node); index 114 drivers/clk/clk-conf.c index++; index 69 drivers/clk/clk-fixed-factor.c const char *name, const char *parent_name, int index, index 74 drivers/clk/clk-fixed-factor.c struct clk_parent_data pdata = { .index = index }; index 105 drivers/clk/clk-gpio.c static int clk_gpio_mux_set_parent(struct clk_hw *hw, u8 index) index 109 drivers/clk/clk-gpio.c gpiod_set_value_cansleep(clk->gpiod, index); index 174 drivers/clk/clk-lochnagar.c static int lochnagar_clk_set_parent(struct clk_hw *hw, u8 index) index 181 drivers/clk/clk-lochnagar.c ret = regmap_update_bits(regmap, lclk->src_reg, lclk->src_mask, index); index 291 drivers/clk/clk-milbeaut.c static int m10v_mux_set_parent(struct clk_hw *hw, u8 index) index 294 drivers/clk/clk-milbeaut.c u32 val = clk_mux_index_to_val(mux->table, mux->flags, index); index 69 drivers/clk/clk-mux.c unsigned int clk_mux_index_to_val(u32 *table, unsigned int flags, u8 index) index 71 drivers/clk/clk-mux.c unsigned int val = index; index 74 drivers/clk/clk-mux.c val = table[index]; index 77 drivers/clk/clk-mux.c val = 1 << index; index 98 drivers/clk/clk-mux.c static int clk_mux_set_parent(struct clk_hw *hw, u8 index) index 101 drivers/clk/clk-mux.c u32 val = clk_mux_index_to_val(mux->table, mux->flags, index); index 39 drivers/clk/clk-si5341.c u8 index; index 48 drivers/clk/clk-si5341.c u8 index; index 92 drivers/clk/clk-si5341.c ((output)->data->reg_output_offset[(output)->index]) index 97 drivers/clk/clk-si5341.c ((output)->data->reg_rdiv_offset[(output)->index]) index 405 drivers/clk/clk-si5341.c u8 index = synth->index; index 412 drivers/clk/clk-si5341.c if (!(val & BIT(index))) index 419 drivers/clk/clk-si5341.c if (!(val & BIT(index))) index 427 drivers/clk/clk-si5341.c return !(val & BIT(index)); index 433 drivers/clk/clk-si5341.c u8 index = synth->index; /* In range 0..5 */ index 434 drivers/clk/clk-si5341.c u8 mask = BIT(index); index 451 drivers/clk/clk-si5341.c u8 index = synth->index; index 452 drivers/clk/clk-si5341.c u8 mask = BIT(index); index 482 drivers/clk/clk-si5341.c SI5341_SYNTH_N_NUM(synth->index), &n_num, &n_den); index 524 drivers/clk/clk-si5341.c u8 index = synth->index; index 527 drivers/clk/clk-si5341.c SI5341_SYNTH_N_NUM(index), n_num, n_den); index 530 drivers/clk/clk-si5341.c SI5341_SYNTH_N_PIBYP, BIT(index), is_integer ? BIT(index) : 0); index 535 drivers/clk/clk-si5341.c SI5341_SYNTH_N_UPD(index), 0x01); index 567 drivers/clk/clk-si5341.c synth->index, n_num, n_den, index 726 drivers/clk/clk-si5341.c static int si5341_output_reparent(struct clk_si5341_output *output, u8 index) index 729 drivers/clk/clk-si5341.c SI5341_OUT_MUX_SEL(output), 0x07, index); index 732 drivers/clk/clk-si5341.c static int si5341_output_set_parent(struct clk_hw *hw, u8 index) index 736 drivers/clk/clk-si5341.c if (index >= output->data->num_synth) index 739 drivers/clk/clk-si5341.c return si5341_output_reparent(output, index); index 1254 drivers/clk/clk-si5341.c data->synth[i].index = i; index 1271 drivers/clk/clk-si5341.c data->clk[i].index = i; index 397 drivers/clk/clk-si5351.c static int si5351_pll_set_parent(struct clk_hw *hw, u8 index) index 403 drivers/clk/clk-si5351.c index > 0) index 406 drivers/clk/clk-si5351.c if (index > 1) index 410 drivers/clk/clk-si5351.c (index == 0) ? SI5351_PLL_SRC_XTAL : index 589 drivers/clk/clk-si5351.c static int si5351_msynth_set_parent(struct clk_hw *hw, u8 index) index 595 drivers/clk/clk-si5351.c (index == 0) ? SI5351_MULTISYNTH_SRC_VCO0 : index 958 drivers/clk/clk-si5351.c int index = 0; index 964 drivers/clk/clk-si5351.c index = 0; index 967 drivers/clk/clk-si5351.c index = 1; index 970 drivers/clk/clk-si5351.c index = 2; index 973 drivers/clk/clk-si5351.c index = 3; index 977 drivers/clk/clk-si5351.c return index; index 980 drivers/clk/clk-si5351.c static int si5351_clkout_set_parent(struct clk_hw *hw, u8 index) index 986 drivers/clk/clk-si5351.c switch (index) { index 1036 drivers/clk/clk-stm32f4.c static int cclk_mux_set_parent(struct clk_hw *hw, u8 index) index 1044 drivers/clk/clk-stm32f4.c ret = clk_mux_ops.set_parent(hw, index); index 702 drivers/clk/clk-stm32mp1.c static int clk_mmux_set_parent(struct clk_hw *hw, u8 index) index 709 drivers/clk/clk-stm32mp1.c ret = clk_mux_ops.set_parent(hw, index); index 235 drivers/clk/clk-versaclock5.c static int vc5_mux_set_parent(struct clk_hw *hw, u8 index) index 242 drivers/clk/clk-versaclock5.c if ((index > 1) || !vc5->clk_mux_ins) index 246 drivers/clk/clk-versaclock5.c if (index == 0) index 248 drivers/clk/clk-versaclock5.c if (index == 1) index 251 drivers/clk/clk-versaclock5.c if (index != 0) index 636 drivers/clk/clk-versaclock5.c static int vc5_clk_out_set_parent(struct clk_hw *hw, u8 index) index 648 drivers/clk/clk-versaclock5.c if (index == 0) index 53 drivers/clk/clk.c int index; index 338 drivers/clk/clk.c static int of_parse_clkspec(const struct device_node *np, int index, index 343 drivers/clk/clk.c static inline int of_parse_clkspec(const struct device_node *np, int index, index 395 drivers/clk/clk.c int index = core->parents[p_index].index; index 402 drivers/clk/clk.c if (np && (name || index >= 0) && index 403 drivers/clk/clk.c !of_parse_clkspec(np, index, name, &clkspec)) { index 420 drivers/clk/clk.c static void clk_core_fill_parent_index(struct clk_core *core, u8 index) index 422 drivers/clk/clk.c struct clk_parent_map *entry = &core->parents[index]; index 435 drivers/clk/clk.c parent = clk_core_get(core, index); index 446 drivers/clk/clk.c u8 index) index 448 drivers/clk/clk.c if (!core || index >= core->num_parents || !core->parents) index 451 drivers/clk/clk.c if (!core->parents[index].core) index 452 drivers/clk/clk.c clk_core_fill_parent_index(core, index); index 454 drivers/clk/clk.c return core->parents[index].core; index 458 drivers/clk/clk.c clk_hw_get_parent_by_index(const struct clk_hw *hw, unsigned int index) index 462 drivers/clk/clk.c parent = clk_core_get_parent_by_index(hw->core, index); index 2402 drivers/clk/clk.c u8 index = 0; index 2405 drivers/clk/clk.c index = core->ops->get_parent(core->hw); index 2407 drivers/clk/clk.c return clk_core_get_parent_by_index(core, index); index 3069 drivers/clk/clk.c else if (core->parents[i].index >= 0) index 3072 drivers/clk/clk.c core->parents[i].index)); index 3606 drivers/clk/clk.c parent->index = -1; index 3616 drivers/clk/clk.c parent->index = parent_data[i].index; index 3852 drivers/clk/clk.c static int clk_nodrv_set_parent(struct clk_hw *hw, u8 index) index 4525 drivers/clk/clk.c static int of_parse_clkspec(const struct device_node *np, int index, index 4539 drivers/clk/clk.c index = of_property_match_string(np, "clock-names", name); index 4541 drivers/clk/clk.c index, out_args); index 4544 drivers/clk/clk.c if (name && index >= 0) index 4555 drivers/clk/clk.c index = 0; index 4614 drivers/clk/clk.c struct clk_hw *of_clk_get_hw(struct device_node *np, int index, index 4621 drivers/clk/clk.c ret = of_parse_clkspec(np, index, con_id, &clkspec); index 4632 drivers/clk/clk.c int index, const char *dev_id, index 4635 drivers/clk/clk.c struct clk_hw *hw = of_clk_get_hw(np, index, con_id); index 4640 drivers/clk/clk.c struct clk *of_clk_get(struct device_node *np, int index) index 4642 drivers/clk/clk.c return __of_clk_get(np, index, np->full_name, NULL); index 4682 drivers/clk/clk.c const char *of_clk_get_parent_name(struct device_node *np, int index) index 4693 drivers/clk/clk.c rc = of_parse_phandle_with_args(np, "clocks", "#clock-cells", index, index 4698 drivers/clk/clk.c index = clkspec.args_count ? clkspec.args[0] : 0; index 4705 drivers/clk/clk.c if (index == pv) { index 4706 drivers/clk/clk.c index = count; index 4716 drivers/clk/clk.c index, index 4823 drivers/clk/clk.c int index, unsigned long *flags) index 4833 drivers/clk/clk.c if (index == idx) index 13 drivers/clk/clk.h int index, const char *con_id); index 16 drivers/clk/clk.h int index, const char *con_id) index 213 drivers/clk/davinci/da8xx-cfgchip.c static int da8xx_cfgchip_mux_clk_set_parent(struct clk_hw *hw, u8 index) index 216 drivers/clk/davinci/da8xx-cfgchip.c unsigned int val = index ? clk->mask : 0; index 470 drivers/clk/davinci/da8xx-cfgchip.c static int da8xx_usb0_clk48_set_parent(struct clk_hw *hw, u8 index) index 476 drivers/clk/davinci/da8xx-cfgchip.c index ? CFGCHIP2_USB2PHYCLKMUX : 0); index 548 drivers/clk/davinci/da8xx-cfgchip.c static int da8xx_usb1_clk48_set_parent(struct clk_hw *hw, u8 index) index 554 drivers/clk/davinci/da8xx-cfgchip.c index ? CFGCHIP2_USB1PHYCLKMUX : 0); index 137 drivers/clk/imx/clk-busy.c static int clk_busy_mux_set_parent(struct clk_hw *hw, u8 index) index 142 drivers/clk/imx/clk-busy.c ret = busy->mux_ops->set_parent(&busy->mux.hw, index); index 41 drivers/clk/imx/clk-fixup-mux.c static int clk_fixup_mux_set_parent(struct clk_hw *hw, u8 index) index 52 drivers/clk/imx/clk-fixup-mux.c val |= index << mux->shift; index 175 drivers/clk/imx/clk-imx6q.c int index, rc, num_parents; index 180 drivers/clk/imx/clk-imx6q.c for (index = 0; index < num_parents; index++) { index 182 drivers/clk/imx/clk-imx6q.c "#clock-cells", index, &clkspec); index 191 drivers/clk/imx/clk-imx6q.c pr_err("ccm: parent clock %d not in ccm\n", index); index 197 drivers/clk/imx/clk-imx6q.c "#clock-cells", index, &clkspec); index 201 drivers/clk/imx/clk-imx6q.c pr_err("ccm: child clock %d not in ccm\n", index); index 226 drivers/clk/imx/clk-imx6q.c int index, ret, num_clocks; index 234 drivers/clk/imx/clk-imx6q.c for (index = 0; index < num_clocks; index++) { index 236 drivers/clk/imx/clk-imx6q.c "#clock-cells", index, index 247 drivers/clk/imx/clk-imx6q.c if (index == num_clocks) index 251 drivers/clk/imx/clk-imx6q.c "#clock-cells", index, &clkspec); index 982 drivers/clk/imx/clk-imx6q.c int index = uart_clk_ids[i]; index 984 drivers/clk/imx/clk-imx6q.c uart_clks[i] = &hws[index]->clk; index 449 drivers/clk/imx/clk-imx6sl.c int index = uart_clk_ids[i]; index 451 drivers/clk/imx/clk-imx6sl.c uart_clks[i] = &hws[index]->clk; index 360 drivers/clk/imx/clk-imx6sll.c int index = uart_clk_ids[i]; index 362 drivers/clk/imx/clk-imx6sll.c uart_clks[i] = &hws[index]->clk; index 559 drivers/clk/imx/clk-imx6sx.c int index = uart_clk_ids[i]; index 561 drivers/clk/imx/clk-imx6sx.c uart_clks[i] = &hws[index]->clk; index 898 drivers/clk/imx/clk-imx7d.c int index = uart_clk_ids[i]; index 900 drivers/clk/imx/clk-imx7d.c uart_clks[i] = &hws[index]->clk; index 193 drivers/clk/imx/clk-imx7ulp.c int index = pcc2_uart_clk_ids[i]; index 195 drivers/clk/imx/clk-imx7ulp.c pcc2_uart_clks[i] = &clks[index]->clk; index 247 drivers/clk/imx/clk-imx7ulp.c int index = pcc3_uart_clk_ids[i]; index 249 drivers/clk/imx/clk-imx7ulp.c pcc3_uart_clks[i] = &clks[index]->clk; index 407 drivers/clk/imx/clk-sccg-pll.c static int clk_sccg_pll_set_parent(struct clk_hw *hw, u8 index) index 260 drivers/clk/imx/clk-scu.c static int clk_scu_set_parent(struct clk_hw *hw, u8 index) index 273 drivers/clk/imx/clk-scu.c msg.parent = index; index 248 drivers/clk/keystone/sci-clk.c static int sci_clk_set_parent(struct clk_hw *hw, u8 index) index 254 drivers/clk/keystone/sci-clk.c index + 1 + clk->clk_id); index 505 drivers/clk/keystone/sci-clk.c int index; index 531 drivers/clk/keystone/sci-clk.c index = 0; index 535 drivers/clk/keystone/sci-clk.c "#clock-cells", index, index 595 drivers/clk/keystone/sci-clk.c index++; index 32 drivers/clk/mediatek/clk-cpumux.c static int clk_cpumux_set_parent(struct clk_hw *hw, u8 index) index 37 drivers/clk/mediatek/clk-cpumux.c val = index << mux->shift; index 75 drivers/clk/mediatek/clk-mux.c static int mtk_clk_mux_set_parent_lock(struct clk_hw *hw, u8 index) index 87 drivers/clk/mediatek/clk-mux.c index << mux->data->mux_shift); index 97 drivers/clk/mediatek/clk-mux.c static int mtk_clk_mux_set_parent_setclr_lock(struct clk_hw *hw, u8 index) index 111 drivers/clk/mediatek/clk-mux.c | (index << mux->data->mux_shift); index 117 drivers/clk/mediatek/clk-mux.c index << mux->data->mux_shift); index 139 drivers/clk/meson/clk-pll.c static int meson_clk_get_pll_table_index(unsigned int index, index 144 drivers/clk/meson/clk-pll.c if (!pll->table[index].n) index 147 drivers/clk/meson/clk-pll.c *m = pll->table[index].m; index 148 drivers/clk/meson/clk-pll.c *n = pll->table[index].n; index 168 drivers/clk/meson/clk-pll.c unsigned int index, index 173 drivers/clk/meson/clk-pll.c *n = index + 1; index 201 drivers/clk/meson/clk-pll.c unsigned int index, index 208 drivers/clk/meson/clk-pll.c index, m, n, pll); index 210 drivers/clk/meson/clk-pll.c return meson_clk_get_pll_table_index(index, m, n, pll); index 153 drivers/clk/meson/clk-regmap.c static int clk_regmap_mux_set_parent(struct clk_hw *hw, u8 index) index 157 drivers/clk/meson/clk-regmap.c unsigned int val = clk_mux_index_to_val(mux->table, mux->flags, index); index 1304 drivers/clk/meson/g12a.c .index = -1, index 220 drivers/clk/meson/gxbb-aoclk.c { .name = "fixme", .index = -1, }, index 548 drivers/clk/meson/gxbb.c .index = -1, index 1237 drivers/clk/meson/gxbb.c { .name = "cts_slow_oscin", .index = -1 }, index 1757 drivers/clk/meson/gxbb.c .index = -1, index 1773 drivers/clk/meson/gxbb.c { .name = "hdmi_pll", .index = -1 }, index 2037 drivers/clk/meson/meson8b.c .index = -1, index 2108 drivers/clk/meson/meson8b.c .index = -1, index 439 drivers/clk/microchip/clk-core.c static int roclk_set_parent(struct clk_hw *hw, u8 index) index 447 drivers/clk/microchip/clk-core.c index = refo->parent_map[index]; index 464 drivers/clk/microchip/clk-core.c v |= index << REFO_SEL_SHIFT; index 476 drivers/clk/microchip/clk-core.c u8 index) index 505 drivers/clk/microchip/clk-core.c index = refo->parent_map[index]; index 508 drivers/clk/microchip/clk-core.c v |= index << REFO_SEL_SHIFT; index 538 drivers/clk/microchip/clk-core.c u8 index = roclk_get_parent(hw); index 540 drivers/clk/microchip/clk-core.c return roclk_set_rate_and_parent(hw, rate, parent_rate, index); index 833 drivers/clk/microchip/clk-core.c static int sclk_set_parent(struct clk_hw *hw, u8 index) index 843 drivers/clk/microchip/clk-core.c nosc = sclk->parent_map ? sclk->parent_map[index] : index; index 276 drivers/clk/mmp/clk-mix.c u8 index) index 284 drivers/clk/mmp/clk-mix.c mux_val = _get_mux_val(mix, index); index 348 drivers/clk/mmp/clk-mix.c static int mmp_clk_set_parent(struct clk_hw *hw, u8 index) index 360 drivers/clk/mmp/clk-mix.c if (item->parent_index == index) index 369 drivers/clk/mmp/clk-mix.c mux_val = _get_mux_val(mix, index); index 441 drivers/clk/mvebu/armada-37xx-periph.c static int clk_pm_cpu_set_parent(struct clk_hw *hw, u8 index) index 461 drivers/clk/mvebu/armada-37xx-periph.c val = index << offset; index 1023 drivers/clk/nxp/clk-lpc32xx.c static int clk_mux_set_parent(struct clk_hw *hw, u8 index) index 1028 drivers/clk/nxp/clk-lpc32xx.c index = mux->table[index]; index 1031 drivers/clk/nxp/clk-lpc32xx.c mux->mask << mux->shift, index << mux->shift); index 142 drivers/clk/pxa/clk-pxa.h static inline int dummy_clk_set_parent(struct clk_hw *hw, u8 index) index 206 drivers/clk/pxa/clk-pxa25x.c static int clk_pxa25x_core_set_parent(struct clk_hw *hw, u8 index) index 208 drivers/clk/pxa/clk-pxa25x.c if (index > PXA_CORE_TURBO) index 211 drivers/clk/pxa/clk-pxa25x.c pxa2xx_core_turbo_switch(index == PXA_CORE_TURBO); index 340 drivers/clk/pxa/clk-pxa27x.c static int clk_pxa27x_core_set_parent(struct clk_hw *hw, u8 index) index 342 drivers/clk/pxa/clk-pxa27x.c if (index > PXA_CORE_TURBO) index 345 drivers/clk/pxa/clk-pxa27x.c pxa2xx_core_turbo_switch(index == PXA_CORE_TURBO); index 42 drivers/clk/qcom/clk-krait.c static int krait_mux_set_parent(struct clk_hw *hw, u8 index) index 47 drivers/clk/qcom/clk-krait.c sel = clk_mux_index_to_val(mux->parent_map, 0, index); index 94 drivers/clk/qcom/clk-rcg.c static int clk_rcg_set_parent(struct clk_hw *hw, u8 index) index 100 drivers/clk/qcom/clk-rcg.c ns = src_to_ns(&rcg->s, rcg->s.parent_map[index].cfg, ns); index 201 drivers/clk/qcom/clk-rcg.c int bank, new_bank, ret, index; index 271 drivers/clk/qcom/clk-rcg.c index = qcom_find_src_index(hw, s->parent_map, f->src); index 272 drivers/clk/qcom/clk-rcg.c if (index < 0) index 273 drivers/clk/qcom/clk-rcg.c return index; index 274 drivers/clk/qcom/clk-rcg.c ns = src_to_ns(s, s->parent_map[index].cfg, ns); index 291 drivers/clk/qcom/clk-rcg.c static int clk_dyn_rcg_set_parent(struct clk_hw *hw, u8 index) index 314 drivers/clk/qcom/clk-rcg.c f.src = qcom_find_src_index(hw, rcg->s[bank].parent_map, index); index 405 drivers/clk/qcom/clk-rcg.c int index; index 411 drivers/clk/qcom/clk-rcg.c index = qcom_find_src_index(hw, parent_map, f->src); index 412 drivers/clk/qcom/clk-rcg.c if (index < 0) index 413 drivers/clk/qcom/clk-rcg.c return index; index 416 drivers/clk/qcom/clk-rcg.c p = clk_hw_get_parent_by_index(hw, index); index 465 drivers/clk/qcom/clk-rcg.c int index = qcom_find_src_index(hw, rcg->s.parent_map, f->src); index 467 drivers/clk/qcom/clk-rcg.c req->best_parent_hw = p = clk_hw_get_parent_by_index(hw, index); index 575 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) index 662 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) index 728 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) index 803 drivers/clk/qcom/clk-rcg.c unsigned long rate, unsigned long parent_rate, u8 index) index 125 drivers/clk/qcom/clk-rcg2.c static int clk_rcg2_set_parent(struct clk_hw *hw, u8 index) index 129 drivers/clk/qcom/clk-rcg2.c u32 cfg = rcg->parent_map[index].cfg << CFG_SRC_SEL_SHIFT; index 198 drivers/clk/qcom/clk-rcg2.c int index; index 214 drivers/clk/qcom/clk-rcg2.c index = qcom_find_src_index(hw, rcg->parent_map, f->src); index 215 drivers/clk/qcom/clk-rcg2.c if (index < 0) index 216 drivers/clk/qcom/clk-rcg2.c return index; index 219 drivers/clk/qcom/clk-rcg2.c p = clk_hw_get_parent_by_index(hw, index); index 268 drivers/clk/qcom/clk-rcg2.c int ret, index = qcom_find_src_index(hw, rcg->parent_map, f->src); index 270 drivers/clk/qcom/clk-rcg2.c if (index < 0) index 271 drivers/clk/qcom/clk-rcg2.c return index; index 294 drivers/clk/qcom/clk-rcg2.c cfg |= rcg->parent_map[index].cfg << CFG_SRC_SEL_SHIFT; index 348 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) index 354 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) index 448 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) index 464 drivers/clk/qcom/clk-rcg2.c int index = qcom_find_src_index(hw, rcg->parent_map, f->src); index 467 drivers/clk/qcom/clk-rcg2.c req->best_parent_hw = clk_hw_get_parent_by_index(hw, index); index 513 drivers/clk/qcom/clk-rcg2.c int index = qcom_find_src_index(hw, rcg->parent_map, f->src); index 521 drivers/clk/qcom/clk-rcg2.c req->best_parent_hw = p = clk_hw_get_parent_by_index(hw, index); index 549 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) index 619 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) index 710 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate, u8 index) index 776 drivers/clk/qcom/clk-rcg2.c unsigned long parent_rate, u8 index) index 783 drivers/clk/qcom/clk-rcg2.c cfg = rcg->parent_map[index].cfg << CFG_SRC_SEL_SHIFT; index 882 drivers/clk/qcom/clk-rcg2.c unsigned long rate, unsigned long parent_rate, u8 index) index 179 drivers/clk/qcom/clk-regmap-mux-div.c static int mux_div_set_parent(struct clk_hw *hw, u8 index) index 183 drivers/clk/qcom/clk-regmap-mux-div.c return mux_div_set_src_div(md, md->parent_map[index], md->div); index 195 drivers/clk/qcom/clk-regmap-mux-div.c unsigned long prate, u8 index) index 200 drivers/clk/qcom/clk-regmap-mux-div.c md->parent_map[index]); index 36 drivers/clk/qcom/clk-regmap-mux.c static int mux_set_parent(struct clk_hw *hw, u8 index) index 44 drivers/clk/qcom/clk-regmap-mux.c index = mux->parent_map[index].cfg; index 46 drivers/clk/qcom/clk-regmap-mux.c val = index; index 312 drivers/clk/qcom/common.c int qcom_cc_probe_by_index(struct platform_device *pdev, int index, index 319 drivers/clk/qcom/common.c res = platform_get_resource(pdev, IORESOURCE_MEM, index); index 64 drivers/clk/qcom/common.h extern int qcom_cc_probe_by_index(struct platform_device *pdev, int index, index 526 drivers/clk/qcom/mmcc-msm8960.c static int pix_rdi_set_parent(struct clk_hw *hw, u8 index) index 549 drivers/clk/qcom/mmcc-msm8960.c if (index == 2) index 560 drivers/clk/qcom/mmcc-msm8960.c if (index == 1) index 151 drivers/clk/renesas/clk-div6.c static int cpg_div6_clock_set_parent(struct clk_hw *hw, u8 index) index 157 drivers/clk/renesas/clk-div6.c if (index >= clk_hw_get_num_parents(hw)) index 161 drivers/clk/renesas/clk-div6.c hw_index = clock->parents[index]; index 150 drivers/clk/renesas/clk-mstp.c const char *parent_name, unsigned int index, index 172 drivers/clk/renesas/clk-mstp.c clock->bit_index = index; index 117 drivers/clk/renesas/r7s9210-cpg-mssr.c u8 index; index 125 drivers/clk/renesas/r7s9210-cpg-mssr.c index = 0; index 127 drivers/clk/renesas/r7s9210-cpg-mssr.c index = 1; index 129 drivers/clk/renesas/r7s9210-cpg-mssr.c index = 2; index 131 drivers/clk/renesas/r7s9210-cpg-mssr.c index = 3; index 133 drivers/clk/renesas/r7s9210-cpg-mssr.c index = 4; index 140 drivers/clk/renesas/r7s9210-cpg-mssr.c r7s9210_core_clks[i].div = ratio_tab[index].i; index 143 drivers/clk/renesas/r7s9210-cpg-mssr.c r7s9210_core_clks[i].div = ratio_tab[index].g; index 146 drivers/clk/renesas/r7s9210-cpg-mssr.c r7s9210_core_clks[i].div = ratio_tab[index].b; index 150 drivers/clk/renesas/r7s9210-cpg-mssr.c r7s9210_core_clks[i].div = ratio_tab[index].p1; index 36 drivers/clk/renesas/r9a06g032-clocks.c uint32_t index: 8; index 54 drivers/clk/renesas/r9a06g032-clocks.c uint16_t group : 1, index: 3; index 65 drivers/clk/renesas/r9a06g032-clocks.c { .type = K_GATE, .index = R9A06G032_##_idx, \ index 69 drivers/clk/renesas/r9a06g032-clocks.c { .type = K_GATE, .index = R9A06G032_##_idx, \ index 73 drivers/clk/renesas/r9a06g032-clocks.c { .type = K_FFC, .index = R9A06G032_##_idx, .name = _n, \ index 76 drivers/clk/renesas/r9a06g032-clocks.c { .type = K_FFC, .index = R9A06G032_##_idx, \ index 80 drivers/clk/renesas/r9a06g032-clocks.c { .type = K_DIV, .index = R9A06G032_##_idx, \ index 85 drivers/clk/renesas/r9a06g032-clocks.c { .type = K_DUALGATE, .index = R9A06G032_##_idx, \ index 87 drivers/clk/renesas/r9a06g032-clocks.c .dual = { .group = _g, .index = _gi, \ index 285 drivers/clk/renesas/r9a06g032-clocks.c .index = R9A06G032_UART_GROUP_012, index 294 drivers/clk/renesas/r9a06g032-clocks.c .index = R9A06G032_UART_GROUP_34567, index 348 drivers/clk/renesas/r9a06g032-clocks.c u16 index; index 387 drivers/clk/renesas/r9a06g032-clocks.c int index; index 394 drivers/clk/renesas/r9a06g032-clocks.c index = clkspec.args[0]; index 395 drivers/clk/renesas/r9a06g032-clocks.c if (index < R9A06G032_CLOCK_COUNT && index 396 drivers/clk/renesas/r9a06g032-clocks.c r9a06g032_clocks[index].managed) { index 520 drivers/clk/renesas/r9a06g032-clocks.c g->index = desc->index; index 545 drivers/clk/renesas/r9a06g032-clocks.c u16 index; index 630 drivers/clk/renesas/r9a06g032-clocks.c if (clk->index == R9A06G032_DIV_UART || index 631 drivers/clk/renesas/r9a06g032-clocks.c clk->index == R9A06G032_DIV_P2_PG) { index 691 drivers/clk/renesas/r9a06g032-clocks.c div->index = desc->index; index 725 drivers/clk/renesas/r9a06g032-clocks.c u16 index; index 739 drivers/clk/renesas/r9a06g032-clocks.c static int r9a06g032_clk_mux_set_parent(struct clk_hw *hw, u8 index) index 744 drivers/clk/renesas/r9a06g032-clocks.c clk_rdesc_set(set->clocks, set->selector, !!index); index 779 drivers/clk/renesas/r9a06g032-clocks.c g->index = desc->index; index 794 drivers/clk/renesas/r9a06g032-clocks.c u16 index; index 859 drivers/clk/renesas/r9a06g032-clocks.c g->index = desc->index; index 954 drivers/clk/renesas/r9a06g032-clocks.c clocks->data.clks[d->index] = clk; index 158 drivers/clk/renesas/renesas-cpg-mssr.c u32 index; index 168 drivers/clk/renesas/renesas-cpg-mssr.c unsigned int reg = clock->index / 32; index 169 drivers/clk/renesas/renesas-cpg-mssr.c unsigned int bit = clock->index % 32; index 237 drivers/clk/renesas/renesas-cpg-mssr.c value = readb(priv->base + STBCR(clock->index / 32)); index 239 drivers/clk/renesas/renesas-cpg-mssr.c value = readl(priv->base + MSTPSR(clock->index / 32)); index 241 drivers/clk/renesas/renesas-cpg-mssr.c return !(value & BIT(clock->index % 32)); index 431 drivers/clk/renesas/renesas-cpg-mssr.c clock->index = id - priv->num_core_clks; index 441 drivers/clk/renesas/renesas-cpg-mssr.c priv->smstpcr_saved[clock->index / 32].mask |= BIT(clock->index % 32); index 35 drivers/clk/rockchip/clk-muxgrf.c static int rockchip_muxgrf_set_parent(struct clk_hw *hw, u8 index) index 41 drivers/clk/rockchip/clk-muxgrf.c val = index; index 75 drivers/clk/samsung/clk-s3c2410-dclk.c static int s3c24xx_clkout_set_parent(struct clk_hw *hw, u8 index) index 80 drivers/clk/samsung/clk-s3c2410-dclk.c (index << clkout->shift)); index 269 drivers/clk/sirf/clk-atlas7.c u32 index; index 572 drivers/clk/sirf/clk-atlas7.c static int dto_clk_set_parent(struct clk_hw *hw, u8 index) index 576 drivers/clk/sirf/clk-atlas7.c clkc_writel(index, clk->src_offset); index 45 drivers/clk/spear/clk-aux-synth.c int index) index 49 drivers/clk/spear/clk-aux-synth.c u8 eq = rtbl[index].eq ? 1 : 2; index 51 drivers/clk/spear/clk-aux-synth.c return (((prate / 10000) * rtbl[index].xscale) / index 52 drivers/clk/spear/clk-aux-synth.c (rtbl[index].yscale * eq)) * 10000; index 45 drivers/clk/spear/clk-frac-synth.c int index) index 52 drivers/clk/spear/clk-frac-synth.c prate /= (2 * rtbl[index].div); index 35 drivers/clk/spear/clk-gpt-synth.c int index) index 40 drivers/clk/spear/clk-gpt-synth.c prate /= ((1 << (rtbl[index].nscale + 1)) * (rtbl[index].mscale + 1)); index 70 drivers/clk/spear/clk-vco-pll.c unsigned long prate, int index, unsigned long *pll_rate) index 75 drivers/clk/spear/clk-vco-pll.c mode = rtbl[index].mode ? 256 : 1; index 76 drivers/clk/spear/clk-vco-pll.c rate = (((2 * rate / 10000) * rtbl[index].m) / (mode * rtbl[index].n)); index 79 drivers/clk/spear/clk-vco-pll.c *pll_rate = (rate / (1 << rtbl[index].p)) * 10000; index 85 drivers/clk/spear/clk-vco-pll.c unsigned long *prate, int *index) index 97 drivers/clk/spear/clk-vco-pll.c for (*index = 0; *index < pll->vco->rtbl_cnt; (*index)++) { index 100 drivers/clk/spear/clk-vco-pll.c *prate = pll_calc_rate(pll->vco->rtbl, vco_parent_rate, *index, index 104 drivers/clk/spear/clk-vco-pll.c if (*index) { index 107 drivers/clk/spear/clk-vco-pll.c (*index)--; index 175 drivers/clk/spear/clk-vco-pll.c unsigned long prate, int index) index 179 drivers/clk/spear/clk-vco-pll.c return pll_calc_rate(vco->rtbl, prate, index, NULL); index 18 drivers/clk/spear/clk.c int *index) index 22 drivers/clk/spear/clk.c for (*index = 0; *index < rtbl_cnt; (*index)++) { index 24 drivers/clk/spear/clk.c rate = calc_rate(hw, parent_rate, *index); index 27 drivers/clk/spear/clk.c if (*index) { index 29 drivers/clk/spear/clk.c (*index)--; index 35 drivers/clk/spear/clk.c if ((*index) == rtbl_cnt) index 36 drivers/clk/spear/clk.c (*index)--; index 110 drivers/clk/spear/clk.h int index); index 132 drivers/clk/spear/clk.h int *index); index 45 drivers/clk/sprd/composite.c static int sprd_comp_set_parent(struct clk_hw *hw, u8 index) index 49 drivers/clk/sprd/composite.c return sprd_mux_helper_set_parent(&cc->common, &cc->mux, index); index 48 drivers/clk/sprd/mux.c u8 index) index 53 drivers/clk/sprd/mux.c index = mux->table[index]; index 58 drivers/clk/sprd/mux.c reg | (index << mux->shift)); index 64 drivers/clk/sprd/mux.c static int sprd_mux_set_parent(struct clk_hw *hw, u8 index) index 68 drivers/clk/sprd/mux.c return sprd_mux_helper_set_parent(&cm->common, &cm->mux, index); index 72 drivers/clk/sprd/mux.h u8 index); index 39 drivers/clk/sprd/pll.c sprd_pll_read(const struct sprd_pll *pll, u8 index) index 44 drivers/clk/sprd/pll.c if (WARN_ON(index >= pll->regs_num)) index 47 drivers/clk/sprd/pll.c regmap_read(common->regmap, common->reg + index * 4, &val); index 53 drivers/clk/sprd/pll.c sprd_pll_write(const struct sprd_pll *pll, u8 index, index 60 drivers/clk/sprd/pll.c if (WARN_ON(index >= pll->regs_num)) index 63 drivers/clk/sprd/pll.c offset = common->reg + index * 4; index 71 drivers/clk/sprd/pll.c u32 shift, mask, index, refin_id = 3; index 75 drivers/clk/sprd/pll.c index = pindex(pll, PLL_REFIN); index 78 drivers/clk/sprd/pll.c refin_id = (sprd_pll_read(pll, index) & mask) >> shift; index 152 drivers/clk/sprd/pll.c u32 mask, shift, width, ibias_val, index; index 164 drivers/clk/sprd/pll.c index = pindex(pll, PLL_PREDIV); index 166 drivers/clk/sprd/pll.c if (width && (sprd_pll_read(pll, index) & mask)) index 170 drivers/clk/sprd/pll.c index = pindex(pll, PLL_POSTDIV); index 172 drivers/clk/sprd/pll.c cfg[index].msk = mask; index 175 drivers/clk/sprd/pll.c cfg[index].val |= mask; index 181 drivers/clk/sprd/pll.c index = pindex(pll, PLL_DIV_S); index 182 drivers/clk/sprd/pll.c cfg[index].val |= mask; index 183 drivers/clk/sprd/pll.c cfg[index].msk |= mask; index 186 drivers/clk/sprd/pll.c index = pindex(pll, PLL_SDM_EN); index 187 drivers/clk/sprd/pll.c cfg[index].val |= mask; index 188 drivers/clk/sprd/pll.c cfg[index].msk |= mask; index 192 drivers/clk/sprd/pll.c index = pindex(pll, PLL_NINT); index 194 drivers/clk/sprd/pll.c cfg[index].val |= (nint << shift) & mask; index 195 drivers/clk/sprd/pll.c cfg[index].msk |= mask; index 198 drivers/clk/sprd/pll.c index = pindex(pll, PLL_KINT); index 204 drivers/clk/sprd/pll.c cfg[index].val |= (kint << shift) & mask; index 205 drivers/clk/sprd/pll.c cfg[index].msk |= mask; index 210 drivers/clk/sprd/pll.c index = pindex(pll, PLL_IBIAS); index 212 drivers/clk/sprd/pll.c cfg[index].val |= ibias_val << shift & mask; index 213 drivers/clk/sprd/pll.c cfg[index].msk |= mask; index 99 drivers/clk/st/clk-flexgen.c static int flexgen_set_parent(struct clk_hw *hw, u8 index) index 106 drivers/clk/st/clk-flexgen.c return clk_mux_ops.set_parent(mux_hw, index); index 217 drivers/clk/sunxi-ng/ccu-sun4i-a10.c { .index = 3, .div = 3, }, index 251 drivers/clk/sunxi-ng/ccu-sun4i-a10.c { .index = 1, .div = 2, }, index 818 drivers/clk/sunxi-ng/ccu-sun4i-a10.c { .index = 0, .div = 750, }, index 228 drivers/clk/sunxi-ng/ccu-sun50i-a64.c { .index = 3, .shift = 6, .width = 2 }, index 272 drivers/clk/sunxi-ng/ccu-sun50i-a64.c { .index = 1, .div = 2 }, index 28 drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c { .index = 3, .shift = 0, .width = 5 }, index 659 drivers/clk/sunxi-ng/ccu-sun50i-h6.c { .index = 1, .div = 36621 }, index 178 drivers/clk/sunxi-ng/ccu-sun5i.c { .index = 3, .div = 3, }, index 201 drivers/clk/sunxi-ng/ccu-sun5i.c { .index = 2, .div = 2, }, index 204 drivers/clk/sunxi-ng/ccu-sun6i-a31.c { .index = 3, .shift = 6, .width = 2 }, index 659 drivers/clk/sunxi-ng/ccu-sun6i-a31.c { .index = 1, .div = 3, }, index 737 drivers/clk/sunxi-ng/ccu-sun6i-a31.c { .index = 0, .div = 750, }, index 738 drivers/clk/sunxi-ng/ccu-sun6i-a31.c { .index = 3, .div = 4, }, index 739 drivers/clk/sunxi-ng/ccu-sun6i-a31.c { .index = 4, .div = 4, }, index 178 drivers/clk/sunxi-ng/ccu-sun8i-a23.c { .index = 3, .shift = 6, .width = 2 }, index 188 drivers/clk/sunxi-ng/ccu-sun8i-a33.c { .index = 3, .shift = 6, .width = 2 }, index 243 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c { .index = 2, .shift = 6, .width = 2 }, index 244 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c { .index = 3, .shift = 6, .width = 2 }, index 277 drivers/clk/sunxi-ng/ccu-sun8i-a83t.c .index = 1, .div = 2 index 152 drivers/clk/sunxi-ng/ccu-sun8i-h3.c { .index = 3, .shift = 6, .width = 2 }, index 195 drivers/clk/sunxi-ng/ccu-sun8i-h3.c { .index = 1, .div = 2 }, index 28 drivers/clk/sunxi-ng/ccu-sun8i-r.c { .index = 2, .shift = 8, .width = 5 }, index 91 drivers/clk/sunxi-ng/ccu-sun8i-r.c { .index = 0, .div = 16 }, index 260 drivers/clk/sunxi-ng/ccu-sun8i-r40.c { .index = 3, .shift = 6, .width = 2 }, index 747 drivers/clk/sunxi-ng/ccu-sun8i-r40.c { .index = 0, .div = 750, }, index 137 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c { .index = 3, .shift = 6, .width = 2 }, index 180 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c { .index = 1, .div = 2 }, index 347 drivers/clk/sunxi-ng/ccu-sun9i-a80.c .index = 0, .div = 750 index 115 drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c { .index = 3, .shift = 6, .width = 2 }, index 125 drivers/clk/sunxi-ng/ccu_div.c static int ccu_div_set_parent(struct clk_hw *hw, u8 index) index 129 drivers/clk/sunxi-ng/ccu_div.c return ccu_mux_helper_set_parent(&cd->common, &cd->mux, index); index 229 drivers/clk/sunxi-ng/ccu_mp.c static int ccu_mp_set_parent(struct clk_hw *hw, u8 index) index 233 drivers/clk/sunxi-ng/ccu_mp.c return ccu_mux_helper_set_parent(&cmp->common, &cmp->mux, index); index 154 drivers/clk/sunxi-ng/ccu_mult.c static int ccu_mult_set_parent(struct clk_hw *hw, u8 index) index 158 drivers/clk/sunxi-ng/ccu_mult.c return ccu_mux_helper_set_parent(&cm->common, &cm->mux, index); index 40 drivers/clk/sunxi-ng/ccu_mux.c if (parent_index == cm->fixed_predivs[i].index) index 48 drivers/clk/sunxi-ng/ccu_mux.c if (parent_index == cm->var_predivs[i].index) { index 180 drivers/clk/sunxi-ng/ccu_mux.c u8 index) index 186 drivers/clk/sunxi-ng/ccu_mux.c index = cm->table[index]; index 192 drivers/clk/sunxi-ng/ccu_mux.c writel(reg | (index << cm->shift), common->base + common->reg); index 227 drivers/clk/sunxi-ng/ccu_mux.c static int ccu_mux_set_parent(struct clk_hw *hw, u8 index) index 231 drivers/clk/sunxi-ng/ccu_mux.c return ccu_mux_helper_set_parent(&cm->common, &cm->mux, index); index 10 drivers/clk/sunxi-ng/ccu_mux.h u8 index; index 15 drivers/clk/sunxi-ng/ccu_mux.h u8 index; index 102 drivers/clk/sunxi-ng/ccu_mux.h u8 index); index 190 drivers/clk/sunxi-ng/ccu_nkm.c static int ccu_nkm_set_parent(struct clk_hw *hw, u8 index) index 194 drivers/clk/sunxi-ng/ccu_nkm.c return ccu_mux_helper_set_parent(&nkm->common, &nkm->mux, index); index 31 drivers/clk/sunxi/clk-simple-gates.c u32 index; index 50 drivers/clk/sunxi/clk-simple-gates.c of_property_for_each_u32(node, "clock-indices", prop, p, index) { index 54 drivers/clk/sunxi/clk-simple-gates.c clk_reg = reg + 4 * (index / 32); index 55 drivers/clk/sunxi/clk-simple-gates.c clk_bit = index % 32; index 57 drivers/clk/sunxi/clk-simple-gates.c clk_data->clks[index] = clk_register_gate(NULL, clk_name, index 64 drivers/clk/sunxi/clk-simple-gates.c if (IS_ERR(clk_data->clks[index])) { index 70 drivers/clk/sunxi/clk-simple-gates.c if (protected[j] == index) index 71 drivers/clk/sunxi/clk-simple-gates.c clk_prepare_enable(clk_data->clks[index]); index 82 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c static int tcon_ch1_set_parent(struct clk_hw *hw, u8 index) index 91 drivers/clk/sunxi/clk-sun4i-tcon-ch1.c reg |= index << TCON_CH1_SCLK2_MUX_SHIFT; index 34 drivers/clk/sunxi/clk-sun8i-bus-gates.c int index; index 61 drivers/clk/sunxi/clk-sun8i-bus-gates.c of_property_for_each_u32(node, "clock-indices", prop, p, index) { index 65 drivers/clk/sunxi/clk-sun8i-bus-gates.c if (index == 17 || (index >= 29 && index <= 31)) index 67 drivers/clk/sunxi/clk-sun8i-bus-gates.c else if (index <= 63 || index >= 128) index 69 drivers/clk/sunxi/clk-sun8i-bus-gates.c else if (index >= 64 && index <= 95) index 71 drivers/clk/sunxi/clk-sun8i-bus-gates.c else if (index >= 96 && index <= 127) index 78 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_reg = reg + 4 * (index / 32); index 79 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_bit = index % 32; index 81 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_data->clks[index] = clk_register_gate(NULL, clk_name, index 87 drivers/clk/sunxi/clk-sun8i-bus-gates.c if (IS_ERR(clk_data->clks[index])) { index 194 drivers/clk/tegra/clk-bpmp.c static int tegra_bpmp_clk_set_parent(struct clk_hw *hw, u8 index) index 203 drivers/clk/tegra/clk-bpmp.c request.parent_id = clk->parents[index]; index 24 drivers/clk/tegra/clk-periph.c static int clk_periph_set_parent(struct clk_hw *hw, u8 index) index 32 drivers/clk/tegra/clk-periph.c return mux_ops->set_parent(mux_hw, index); index 67 drivers/clk/tegra/clk-sdmmc-mux.c static int clk_sdmmc_mux_set_parent(struct clk_hw *hw, u8 index) index 75 drivers/clk/tegra/clk-sdmmc-mux.c index = mux_non_lj_idx[index]; index 77 drivers/clk/tegra/clk-sdmmc-mux.c index = mux_lj_idx[index]; index 80 drivers/clk/tegra/clk-sdmmc-mux.c val |= index << MUX_SHIFT; index 60 drivers/clk/tegra/clk-super.c static int clk_super_set_parent(struct clk_hw *hw, u8 index) index 84 drivers/clk/tegra/clk-super.c if ((mux->flags & TEGRA_DIVIDER_2) && ((index == mux->div2_index) || index 85 drivers/clk/tegra/clk-super.c (index == mux->pllx_index))) { index 97 drivers/clk/tegra/clk-super.c if (index == mux->div2_index) index 98 drivers/clk/tegra/clk-super.c index = mux->pllx_index; index 101 drivers/clk/tegra/clk-super.c val |= (index & (super_state_to_src_mask(mux))) << shift; index 214 drivers/clk/ti/adpll.c int index, int output_index, const char *name, index 221 drivers/clk/ti/adpll.c d->clocks[index].clk = clock; index 222 drivers/clk/ti/adpll.c d->clocks[index].unregister = unregister; index 234 drivers/clk/ti/adpll.c d->clocks[index].cl = cl; index 249 drivers/clk/ti/adpll.c enum ti_adpll_clocks index, index 274 drivers/clk/ti/adpll.c return ti_adpll_setup_clock(d, clock, index, output_index, child_name, index 279 drivers/clk/ti/adpll.c enum ti_adpll_clocks index, index 302 drivers/clk/ti/adpll.c return ti_adpll_setup_clock(d, clock, index, -ENODEV, child_name, index 307 drivers/clk/ti/adpll.c enum ti_adpll_clocks index, index 332 drivers/clk/ti/adpll.c return ti_adpll_setup_clock(d, clock, index, output_index, child_name, index 337 drivers/clk/ti/adpll.c enum ti_adpll_clocks index, index 357 drivers/clk/ti/adpll.c return ti_adpll_setup_clock(d, clock, index, -ENODEV, child_name, index 587 drivers/clk/ti/adpll.c enum ti_adpll_clocks index, index 643 drivers/clk/ti/adpll.c return ti_adpll_setup_clock(d, clock, index, output_index, child_name, index 50 drivers/clk/ti/clk.c struct clk_iomap *io = clk_memmaps[reg->index]; index 72 drivers/clk/ti/clk.c struct clk_iomap *io = clk_memmaps[reg->index]; index 86 drivers/clk/ti/clk.c struct clk_iomap *io = clk_memmaps[reg->index]; index 263 drivers/clk/ti/clk.c int ti_clk_get_reg_addr(struct device_node *node, int index, index 279 drivers/clk/ti/clk.c reg->index = i; index 281 drivers/clk/ti/clk.c if (of_property_read_u32_index(node, "reg", index, &val)) { index 282 drivers/clk/ti/clk.c pr_err("%pOFn must have reg[%d]!\n", node, index); index 320 drivers/clk/ti/clk.c int __init omap2_clk_provider_init(struct device_node *parent, int index, index 334 drivers/clk/ti/clk.c clocks_node_ptr[index] = clocks; index 343 drivers/clk/ti/clk.c clk_memmaps[index] = io; index 355 drivers/clk/ti/clk.c void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem) index 366 drivers/clk/ti/clk.c clk_memmaps[index] = io; index 226 drivers/clk/ti/clock.h int ti_clk_get_reg_addr(struct device_node *node, int index, index 275 drivers/clk/ti/clock.h int omap3_noncore_dpll_set_parent(struct clk_hw *hw, u8 index); index 281 drivers/clk/ti/clock.h u8 index); index 300 drivers/clk/ti/clock.h unsigned long parent_rate, u8 index); index 534 drivers/clk/ti/dpll3xxx.c int omap3_noncore_dpll_set_parent(struct clk_hw *hw, u8 index) index 542 drivers/clk/ti/dpll3xxx.c if (index) index 612 drivers/clk/ti/dpll3xxx.c u8 index) index 624 drivers/clk/ti/dpll3xxx.c if (index) index 625 drivers/clk/ti/dpll3xxx.c ret = omap3_noncore_dpll_set_parent(hw, index); index 952 drivers/clk/ti/dpll3xxx.c unsigned long parent_rate, u8 index) index 960 drivers/clk/ti/dpll3xxx.c index); index 79 drivers/clk/ti/fapll.c int index; index 287 drivers/clk/ti/fapll.c v &= ~(1 << synth->index); index 298 drivers/clk/ti/fapll.c v |= 1 << synth->index; index 307 drivers/clk/ti/fapll.c return !(v & (1 << synth->index)); index 494 drivers/clk/ti/fapll.c int index, index 516 drivers/clk/ti/fapll.c synth->index = index; index 66 drivers/clk/ti/mux.c static int ti_clk_mux_set_parent(struct clk_hw *hw, u8 index) index 72 drivers/clk/ti/mux.c index = mux->table[index]; index 75 drivers/clk/ti/mux.c index = (1 << ffs(index)); index 78 drivers/clk/ti/mux.c index++; index 87 drivers/clk/ti/mux.c val |= index << mux->shift; index 243 drivers/clk/ti/mux.c mux->reg.index = setup->module; index 28 drivers/clk/uniphier/clk-uniphier-cpugear.c static int uniphier_clk_cpugear_set_parent(struct clk_hw *hw, u8 index) index 36 drivers/clk/uniphier/clk-uniphier-cpugear.c gear->mask, index); index 23 drivers/clk/uniphier/clk-uniphier-mux.c static int uniphier_clk_mux_set_parent(struct clk_hw *hw, u8 index) index 27 drivers/clk/uniphier/clk-uniphier-mux.c return regmap_write_bits(mux->regmap, mux->reg, mux->masks[index], index 28 drivers/clk/uniphier/clk-uniphier-mux.c mux->vals[index]); index 65 drivers/clk/ux500/clk-sysctrl.c static int clk_sysctrl_set_parent(struct clk_hw *hw, u8 index) index 78 drivers/clk/ux500/clk-sysctrl.c if (clk->reg_sel[index]) { index 79 drivers/clk/ux500/clk-sysctrl.c ret = ab8500_sysctrl_write(clk->reg_sel[index], index 80 drivers/clk/ux500/clk-sysctrl.c clk->reg_mask[index], index 81 drivers/clk/ux500/clk-sysctrl.c clk->reg_bits[index]); index 90 drivers/clk/ux500/clk-sysctrl.c clk->parent_index = index; index 43 drivers/clk/versatile/clk-sp810.c static int clk_sp810_timerclken_set_parent(struct clk_hw *hw, u8 index) index 50 drivers/clk/versatile/clk-sp810.c if (WARN_ON(index > 1)) index 57 drivers/clk/versatile/clk-sp810.c val |= index << shift; index 67 drivers/clk/x86/clk-pmc-atom.c static inline int plt_parent_to_reg(int index) index 69 drivers/clk/x86/clk-pmc-atom.c switch (index) { index 106 drivers/clk/x86/clk-pmc-atom.c static int plt_clk_set_parent(struct clk_hw *hw, u8 index) index 110 drivers/clk/x86/clk-pmc-atom.c plt_clk_reg_update(clk, PMC_MASK_CLK_FREQ, plt_parent_to_reg(index)); index 68 drivers/clk/zynqmp/clk-mux-zynqmp.c static int zynqmp_clk_mux_set_parent(struct clk_hw *hw, u8 index) index 76 drivers/clk/zynqmp/clk-mux-zynqmp.c ret = eemi_ops->clock_setparent(clk_id, index); index 257 drivers/clk/zynqmp/clkc.c static int zynqmp_pm_clock_get_topology(u32 clock_id, u32 index, index 266 drivers/clk/zynqmp/clkc.c qdata.arg2 = index; index 331 drivers/clk/zynqmp/clkc.c static int zynqmp_pm_clock_get_parents(u32 clock_id, u32 index, index 340 drivers/clk/zynqmp/clkc.c qdata.arg2 = index; index 89 drivers/clocksource/sh_cmt.c unsigned int index; /* Index in the documentation */ index 325 drivers/clocksource/sh_cmt.c ch->index); index 365 drivers/clocksource/sh_cmt.c ch->index); index 484 drivers/clocksource/sh_cmt.c ch->index); index 493 drivers/clocksource/sh_cmt.c ch->index); index 687 drivers/clocksource/sh_cmt.c ch->index); index 726 drivers/clocksource/sh_cmt.c ch->index, periodic ? "periodic" : "oneshot"); index 778 drivers/clocksource/sh_cmt.c irq = platform_get_irq(ch->cmt->pdev, ch->index); index 787 drivers/clocksource/sh_cmt.c ch->index, irq); index 812 drivers/clocksource/sh_cmt.c ch->index); index 838 drivers/clocksource/sh_cmt.c static int sh_cmt_setup_channel(struct sh_cmt_channel *ch, unsigned int index, index 849 drivers/clocksource/sh_cmt.c ch->index = index; index 886 drivers/clocksource/sh_cmt.c ch->index); index 30 drivers/clocksource/sh_mtu2.c unsigned int index; index 192 drivers/clocksource/sh_mtu2.c value |= 1 << ch->index; index 194 drivers/clocksource/sh_mtu2.c value &= ~(1 << ch->index); index 213 drivers/clocksource/sh_mtu2.c ch->index); index 289 drivers/clocksource/sh_mtu2.c ch->index); index 319 drivers/clocksource/sh_mtu2.c ch->index); index 335 drivers/clocksource/sh_mtu2.c static int sh_mtu2_setup_channel(struct sh_mtu2_channel *ch, unsigned int index, index 344 drivers/clocksource/sh_mtu2.c sprintf(name, "tgi%ua", index); index 356 drivers/clocksource/sh_mtu2.c index, irq); index 360 drivers/clocksource/sh_mtu2.c ch->base = mtu->mapbase + sh_mtu2_channel_offsets[index]; index 361 drivers/clocksource/sh_mtu2.c ch->index = index; index 36 drivers/clocksource/sh_tmu.c unsigned int index; index 132 drivers/clocksource/sh_tmu.c value |= 1 << ch->index; index 134 drivers/clocksource/sh_tmu.c value &= ~(1 << ch->index); index 148 drivers/clocksource/sh_tmu.c ch->index); index 324 drivers/clocksource/sh_tmu.c ch->index); index 364 drivers/clocksource/sh_tmu.c ch->index, periodic ? "periodic" : "oneshot"); index 420 drivers/clocksource/sh_tmu.c ch->index); index 429 drivers/clocksource/sh_tmu.c ch->index, ch->irq); index 448 drivers/clocksource/sh_tmu.c static int sh_tmu_channel_setup(struct sh_tmu_channel *ch, unsigned int index, index 457 drivers/clocksource/sh_tmu.c ch->index = index; index 460 drivers/clocksource/sh_tmu.c ch->base = tmu->mapbase + 4 + ch->index * 12; index 462 drivers/clocksource/sh_tmu.c ch->base = tmu->mapbase + 8 + ch->index * 12; index 464 drivers/clocksource/sh_tmu.c ch->irq = platform_get_irq(tmu->pdev, index); index 65 drivers/clocksource/timer-of.c of_irq->irq = irq_of_parse_and_map(np, of_irq->index); index 116 drivers/clocksource/timer-of.c of_clk_get(np, of_clk->index); index 158 drivers/clocksource/timer-of.c of_io_request_and_map(np, of_base->index, of_base->name) : index 159 drivers/clocksource/timer-of.c of_iomap(np, of_base->index); index 13 drivers/clocksource/timer-of.h int index; index 23 drivers/clocksource/timer-of.h int index; index 29 drivers/clocksource/timer-of.h int index; index 146 drivers/clocksource/timer-rda.c .index = 0, index 43 drivers/counter/counter.c size_t index; index 48 drivers/counter/counter.c err = e->get(counter, signal, &index); index 52 drivers/counter/counter.c if (index >= e->num_items) index 55 drivers/counter/counter.c return sprintf(buf, "%s\n", e->items[index]); index 64 drivers/counter/counter.c ssize_t index; index 70 drivers/counter/counter.c index = __sysfs_match_string(e->items, e->num_items, buf); index 71 drivers/counter/counter.c if (index < 0) index 72 drivers/counter/counter.c return index; index 74 drivers/counter/counter.c err = e->set(counter, signal, index); index 106 drivers/counter/counter.c size_t index; index 111 drivers/counter/counter.c err = e->get(counter, count, &index); index 115 drivers/counter/counter.c if (index >= e->num_items) index 118 drivers/counter/counter.c return sprintf(buf, "%s\n", e->items[index]); index 127 drivers/counter/counter.c ssize_t index; index 133 drivers/counter/counter.c index = __sysfs_match_string(e->items, e->num_items, buf); index 134 drivers/counter/counter.c if (index < 0) index 135 drivers/counter/counter.c return index; index 137 drivers/counter/counter.c err = e->set(counter, count, index); index 168 drivers/counter/counter.c size_t index; index 173 drivers/counter/counter.c err = e->get(counter, &index); index 177 drivers/counter/counter.c if (index >= e->num_items) index 180 drivers/counter/counter.c return sprintf(buf, "%s\n", e->items[index]); index 188 drivers/counter/counter.c ssize_t index; index 194 drivers/counter/counter.c index = __sysfs_match_string(e->items, e->num_items, buf); index 195 drivers/counter/counter.c if (index < 0) index 196 drivers/counter/counter.c return index; index 198 drivers/counter/counter.c err = e->set(counter, index); index 406 drivers/cpufreq/acpi-cpufreq.c unsigned int index) index 419 drivers/cpufreq/acpi-cpufreq.c next_perf_state = policy->freq_table[index].driver_data; index 443 drivers/cpufreq/acpi-cpufreq.c policy->freq_table[index].frequency)) { index 461 drivers/cpufreq/acpi-cpufreq.c unsigned int next_perf_state, next_freq, index; index 467 drivers/cpufreq/acpi-cpufreq.c index = policy->cached_resolved_idx; index 469 drivers/cpufreq/acpi-cpufreq.c index = cpufreq_table_find_index_dl(policy, target_freq); index 471 drivers/cpufreq/acpi-cpufreq.c entry = &policy->freq_table[index]; index 90 drivers/cpufreq/amd_freq_sensitivity.c unsigned int index; index 92 drivers/cpufreq/amd_freq_sensitivity.c index = cpufreq_table_find_index_h(policy, index 94 drivers/cpufreq/amd_freq_sensitivity.c freq_next = policy->freq_table[index].frequency; index 212 drivers/cpufreq/arm_big_little.c unsigned int index) index 221 drivers/cpufreq/arm_big_little.c freqs_new = freq_table[cur_cluster][index].frequency; index 106 drivers/cpufreq/bmips-cpufreq.c unsigned int index) index 108 drivers/cpufreq/bmips-cpufreq.c unsigned int div = policy->freq_table[index].driver_data; index 462 drivers/cpufreq/brcmstb-avs-cpufreq.c unsigned int index) index 465 drivers/cpufreq/brcmstb-avs-cpufreq.c policy->freq_table[index].driver_data); index 39 drivers/cpufreq/cpufreq-dt.c static int set_target(struct cpufreq_policy *policy, unsigned int index) index 42 drivers/cpufreq/cpufreq-dt.c unsigned long freq = policy->freq_table[index].frequency; index 2032 drivers/cpufreq/cpufreq.c struct cpufreq_freqs *freqs, int index) index 2036 drivers/cpufreq/cpufreq.c freqs->new = cpufreq_driver->get_intermediate(policy, index); index 2046 drivers/cpufreq/cpufreq.c ret = cpufreq_driver->target_intermediate(policy, index); index 2056 drivers/cpufreq/cpufreq.c static int __target_index(struct cpufreq_policy *policy, int index) index 2060 drivers/cpufreq/cpufreq.c unsigned int newfreq = policy->freq_table[index].frequency; index 2071 drivers/cpufreq/cpufreq.c retval = __target_intermediate(policy, &freqs, index); index 2088 drivers/cpufreq/cpufreq.c retval = cpufreq_driver->target_index(policy, index); index 2118 drivers/cpufreq/cpufreq.c int index; index 2147 drivers/cpufreq/cpufreq.c index = cpufreq_frequency_table_target(policy, target_freq, relation); index 2149 drivers/cpufreq/cpufreq.c return __target_index(policy, index); index 66 drivers/cpufreq/cpufreq_ondemand.c unsigned int index; index 80 drivers/cpufreq/cpufreq_ondemand.c index = cpufreq_frequency_table_target(policy, freq_next, relation); index 81 drivers/cpufreq/cpufreq_ondemand.c freq_req = freq_table[index].frequency; index 86 drivers/cpufreq/cpufreq_ondemand.c index = cpufreq_table_find_index_h(policy, freq_avg); index 87 drivers/cpufreq/cpufreq_ondemand.c freq_lo = freq_table[index].frequency; index 88 drivers/cpufreq/cpufreq_ondemand.c index = cpufreq_table_find_index_l(policy, freq_avg); index 89 drivers/cpufreq/cpufreq_ondemand.c freq_hi = freq_table[index].frequency; index 146 drivers/cpufreq/cpufreq_stats.c int index; index 147 drivers/cpufreq/cpufreq_stats.c for (index = 0; index < stats->max_state; index++) index 148 drivers/cpufreq/cpufreq_stats.c if (stats->freq_table[index] == freq) index 149 drivers/cpufreq/cpufreq_stats.c return index; index 153 drivers/cpufreq/e_powersaver.c static int eps_target(struct cpufreq_policy *policy, unsigned int index) index 165 drivers/cpufreq/e_powersaver.c dest_state = centaur->freq_table[index].driver_data & 0xffff; index 127 drivers/cpufreq/freq_table.c int index; index 195 drivers/cpufreq/freq_table.c index = suboptimal.driver_data; index 197 drivers/cpufreq/freq_table.c index = optimal.driver_data; index 199 drivers/cpufreq/freq_table.c pr_debug("target index is %u, freq is:%u kHz\n", index, index 200 drivers/cpufreq/freq_table.c table[index].frequency); index 201 drivers/cpufreq/freq_table.c return index; index 191 drivers/cpufreq/ia64-acpi-cpufreq.c unsigned int index) index 196 drivers/cpufreq/ia64-acpi-cpufreq.c req.state = index; index 59 drivers/cpufreq/imx6q-cpufreq.c static int imx6q_set_target(struct cpufreq_policy *policy, unsigned int index) index 67 drivers/cpufreq/imx6q-cpufreq.c new_freq = freq_table[index].frequency; index 89 drivers/cpufreq/imx6q-cpufreq.c ret = regulator_set_voltage_tol(pu_reg, imx6_soc_volt[index], 0); index 95 drivers/cpufreq/imx6q-cpufreq.c ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); index 178 drivers/cpufreq/imx6q-cpufreq.c ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); index 182 drivers/cpufreq/imx6q-cpufreq.c ret = regulator_set_voltage_tol(pu_reg, imx6_soc_volt[index], 0); index 608 drivers/cpufreq/intel_pstate.c int index = -EINVAL; index 634 drivers/cpufreq/intel_pstate.c index = (epp >> 2) + 1; index 637 drivers/cpufreq/intel_pstate.c return index; index 51 drivers/cpufreq/kirkwood-cpufreq.c unsigned int index) index 53 drivers/cpufreq/kirkwood-cpufreq.c unsigned int state = kirkwood_freq_table[index].driver_data; index 50 drivers/cpufreq/loongson1-cpufreq.c unsigned int index) index 56 drivers/cpufreq/loongson1-cpufreq.c new_freq = policy->freq_table[index].frequency; index 52 drivers/cpufreq/loongson2_cpufreq.c unsigned int index) index 58 drivers/cpufreq/loongson2_cpufreq.c loongson2_clockmod_table[index].driver_data) / 8; index 131 drivers/cpufreq/maple-cpufreq.c unsigned int index) index 133 drivers/cpufreq/maple-cpufreq.c return maple_scom_switch_freq(index); index 203 drivers/cpufreq/mediatek-cpufreq.c unsigned int index) index 223 drivers/cpufreq/mediatek-cpufreq.c freq_hz = freq_table[index].frequency * 1000; index 42 drivers/cpufreq/omap-cpufreq.c static int omap_target(struct cpufreq_policy *policy, unsigned int index) index 50 drivers/cpufreq/omap-cpufreq.c new_freq = freq_table[index].frequency; index 103 drivers/cpufreq/p4-clockmod.c static int cpufreq_p4_target(struct cpufreq_policy *policy, unsigned int index) index 112 drivers/cpufreq/p4-clockmod.c cpufreq_p4_setdc(i, p4clockmod_table[index].driver_data); index 363 drivers/cpufreq/pmac32-cpufreq.c unsigned int index) index 367 drivers/cpufreq/pmac32-cpufreq.c rc = do_set_cpu_speed(policy, index); index 312 drivers/cpufreq/pmac64-cpufreq.c static int g5_cpufreq_target(struct cpufreq_policy *policy, unsigned int index) index 314 drivers/cpufreq/pmac64-cpufreq.c return g5_switch_freq(index); index 248 drivers/cpufreq/powernow-k7.c static int powernow_target(struct cpufreq_policy *policy, unsigned int index) index 260 drivers/cpufreq/powernow-k7.c fid = powernow_table[index].driver_data & 0xFF; index 261 drivers/cpufreq/powernow-k7.c vid = (powernow_table[index].driver_data & 0xFF00) >> 8; index 267 drivers/cpufreq/powernow-k7.c freqs.new = powernow_table[index].frequency; index 710 drivers/cpufreq/powernow-k8.c unsigned int index) index 717 drivers/cpufreq/powernow-k8.c control = data->acpi_data.states[index].control; index 806 drivers/cpufreq/powernow-k8.c u32 freq, index; index 821 drivers/cpufreq/powernow-k8.c index = fid | (vid<<8); index 822 drivers/cpufreq/powernow-k8.c powernow_table[i].driver_data = index; index 881 drivers/cpufreq/powernow-k8.c unsigned int index) index 889 drivers/cpufreq/powernow-k8.c pr_debug("cpu %d transition to index %u\n", smp_processor_id(), index); index 896 drivers/cpufreq/powernow-k8.c fid = data->powernow_table[index].driver_data & 0xFF; index 897 drivers/cpufreq/powernow-k8.c vid = (data->powernow_table[index].driver_data & 0xFF00) >> 8; index 987 drivers/cpufreq/powernow-k8.c static int powernowk8_target(struct cpufreq_policy *pol, unsigned index) index 989 drivers/cpufreq/powernow-k8.c struct powernowk8_target_arg pta = { .pol = pol, .newstate = index }; index 186 drivers/cpufreq/powernow-k8.h static void powernow_k8_acpi_pst_values(struct powernow_k8_data *data, unsigned int index); index 918 drivers/cpufreq/powernv-cpufreq.c int index; index 922 drivers/cpufreq/powernv-cpufreq.c index = cpufreq_table_find_index_c(&policy, policy.cur); index 923 drivers/cpufreq/powernv-cpufreq.c powernv_cpufreq_target_index(&policy, index); index 1018 drivers/cpufreq/powernv-cpufreq.c int index; index 1021 drivers/cpufreq/powernv-cpufreq.c index = cpufreq_table_find_index_dl(policy, target_freq); index 1022 drivers/cpufreq/powernv-cpufreq.c freq_data.pstate_id = powernv_freqs[index].driver_data; index 1023 drivers/cpufreq/powernv-cpufreq.c freq_data.gpstate_id = powernv_freqs[index].driver_data; index 1026 drivers/cpufreq/powernv-cpufreq.c return powernv_freqs[index].frequency; index 156 drivers/cpufreq/pxa3xx-cpufreq.c static int pxa3xx_cpufreq_set(struct cpufreq_policy *policy, unsigned int index) index 164 drivers/cpufreq/pxa3xx-cpufreq.c next = &pxa3xx_freqs[index]; index 35 drivers/cpufreq/qcom-cpufreq-hw.c unsigned int index) index 38 drivers/cpufreq/qcom-cpufreq-hw.c unsigned long freq = policy->freq_table[index].frequency; index 40 drivers/cpufreq/qcom-cpufreq-hw.c writel_relaxed(index, perf_state_reg); index 51 drivers/cpufreq/qcom-cpufreq-hw.c unsigned int index; index 59 drivers/cpufreq/qcom-cpufreq-hw.c index = readl_relaxed(perf_state_reg); index 60 drivers/cpufreq/qcom-cpufreq-hw.c index = min(index, LUT_MAX_ENTRIES - 1); index 62 drivers/cpufreq/qcom-cpufreq-hw.c return policy->freq_table[index].frequency; index 69 drivers/cpufreq/qcom-cpufreq-hw.c int index; index 72 drivers/cpufreq/qcom-cpufreq-hw.c index = policy->cached_resolved_idx; index 73 drivers/cpufreq/qcom-cpufreq-hw.c if (index < 0) index 76 drivers/cpufreq/qcom-cpufreq-hw.c writel_relaxed(index, perf_state_reg); index 78 drivers/cpufreq/qcom-cpufreq-hw.c freq = policy->freq_table[index].frequency; index 152 drivers/cpufreq/qcom-cpufreq-hw.c static void qcom_get_related_cpus(int index, struct cpumask *m) index 170 drivers/cpufreq/qcom-cpufreq-hw.c if (index == args.args[0]) index 183 drivers/cpufreq/qcom-cpufreq-hw.c int ret, index; index 202 drivers/cpufreq/qcom-cpufreq-hw.c index = args.args[0]; index 204 drivers/cpufreq/qcom-cpufreq-hw.c res = platform_get_resource(global_pdev, IORESOURCE_MEM, index); index 214 drivers/cpufreq/qcom-cpufreq-hw.c dev_err(dev, "Domain-%d cpufreq hardware not enabled\n", index); index 219 drivers/cpufreq/qcom-cpufreq-hw.c qcom_get_related_cpus(index, policy->cpus); index 221 drivers/cpufreq/qcom-cpufreq-hw.c dev_err(dev, "Domain-%d failed to get related CPUs\n", index); index 230 drivers/cpufreq/qcom-cpufreq-hw.c dev_err(dev, "Domain-%d failed to read LUT\n", index); index 246 drivers/cpufreq/qoriq-cpufreq.c unsigned int index) index 251 drivers/cpufreq/qoriq-cpufreq.c parent = data->pclk[data->table[index].driver_data]; index 217 drivers/cpufreq/s3c2416-cpufreq.c unsigned int index) index 225 drivers/cpufreq/s3c2416-cpufreq.c idx = s3c_freq->freq_table[index].driver_data; index 243 drivers/cpufreq/s3c2416-cpufreq.c : s3c_freq->freq_table[index].frequency; index 202 drivers/cpufreq/s3c2440-cpufreq.c int index = 0; index 212 drivers/cpufreq/s3c2440-cpufreq.c index = s3c_cpufreq_addfreq(table, index, table_size, freq); index 213 drivers/cpufreq/s3c2440-cpufreq.c if (index < 0) index 217 drivers/cpufreq/s3c2440-cpufreq.c return index; index 279 drivers/cpufreq/s3c24xx-cpufreq.c unsigned int index; index 293 drivers/cpufreq/s3c24xx-cpufreq.c index = cpufreq_frequency_table_target(policy, target_freq, index 297 drivers/cpufreq/s3c24xx-cpufreq.c target_freq, index, ftab[index].frequency); index 298 drivers/cpufreq/s3c24xx-cpufreq.c target_freq = ftab[index].frequency; index 324 drivers/cpufreq/s3c24xx-cpufreq.c index = cpufreq_frequency_table_target(&tmp_policy, target_freq, index 326 drivers/cpufreq/s3c24xx-cpufreq.c pll = pll_reg + index; index 54 drivers/cpufreq/s3c64xx-cpufreq.c unsigned int index) index 61 drivers/cpufreq/s3c64xx-cpufreq.c new_freq = s3c64xx_freq_table[index].frequency; index 62 drivers/cpufreq/s3c64xx-cpufreq.c dvfs = &s3c64xx_dvfs_table[s3c64xx_freq_table[index].driver_data]; index 223 drivers/cpufreq/s5pv210-cpufreq.c static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index) index 243 drivers/cpufreq/s5pv210-cpufreq.c new_freq = s5pv210_freq_table[index].frequency; index 248 drivers/cpufreq/s5pv210-cpufreq.c arm_volt = dvs_conf[index].arm_volt; index 249 drivers/cpufreq/s5pv210-cpufreq.c int_volt = dvs_conf[index].int_volt; index 264 drivers/cpufreq/s5pv210-cpufreq.c if ((index == L0) || (priv_index == L0)) index 268 drivers/cpufreq/s5pv210-cpufreq.c if ((index == L4) || (priv_index == L4)) index 349 drivers/cpufreq/s5pv210-cpufreq.c reg |= ((clkdiv_val[index][0] << S5P_CLKDIV0_APLL_SHIFT) | index 350 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][1] << S5P_CLKDIV0_A2M_SHIFT) | index 351 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][2] << S5P_CLKDIV0_HCLK200_SHIFT) | index 352 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][3] << S5P_CLKDIV0_PCLK100_SHIFT) | index 353 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][4] << S5P_CLKDIV0_HCLK166_SHIFT) | index 354 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][5] << S5P_CLKDIV0_PCLK83_SHIFT) | index 355 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][6] << S5P_CLKDIV0_HCLK133_SHIFT) | index 356 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][7] << S5P_CLKDIV0_PCLK66_SHIFT)); index 367 drivers/cpufreq/s5pv210-cpufreq.c if (index >= L3) index 383 drivers/cpufreq/s5pv210-cpufreq.c if (index == L0) index 413 drivers/cpufreq/s5pv210-cpufreq.c reg |= (clkdiv_val[index][10] << S5P_CLKDIV2_G3D_SHIFT) | index 414 drivers/cpufreq/s5pv210-cpufreq.c (clkdiv_val[index][9] << S5P_CLKDIV2_MFC_SHIFT); index 448 drivers/cpufreq/s5pv210-cpufreq.c reg |= (clkdiv_val[index][8] << S5P_CLKDIV6_ONEDRAM_SHIFT); index 456 drivers/cpufreq/s5pv210-cpufreq.c if (index != L4) { index 481 drivers/cpufreq/s5pv210-cpufreq.c pr_debug("Perf changed[L%d]\n", index); index 49 drivers/cpufreq/scmi-cpufreq.c scmi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) index 54 drivers/cpufreq/scmi-cpufreq.c u64 freq = policy->freq_table[index].frequency; index 50 drivers/cpufreq/scpi-cpufreq.c scpi_cpufreq_set_target(struct cpufreq_policy *policy, unsigned int index) index 52 drivers/cpufreq/scpi-cpufreq.c unsigned long freq = policy->freq_table[index].frequency; index 47 drivers/cpufreq/sfi-cpufreq.c static int sfi_cpufreq_target(struct cpufreq_policy *policy, unsigned int index) index 52 drivers/cpufreq/sfi-cpufreq.c next_perf_state = policy->freq_table[index].driver_data; index 154 drivers/cpufreq/sparc-us2e-cpufreq.c static unsigned long index_to_estar_mode(unsigned int index) index 156 drivers/cpufreq/sparc-us2e-cpufreq.c switch (index) { index 177 drivers/cpufreq/sparc-us2e-cpufreq.c static unsigned long index_to_divisor(unsigned int index) index 179 drivers/cpufreq/sparc-us2e-cpufreq.c switch (index) { index 248 drivers/cpufreq/sparc-us2e-cpufreq.c unsigned int *index = arg; index 253 drivers/cpufreq/sparc-us2e-cpufreq.c new_bits = index_to_estar_mode(*index); index 254 drivers/cpufreq/sparc-us2e-cpufreq.c divisor = index_to_divisor(*index); index 267 drivers/cpufreq/sparc-us2e-cpufreq.c static int us2e_freq_target(struct cpufreq_policy *policy, unsigned int index) index 271 drivers/cpufreq/sparc-us2e-cpufreq.c return smp_call_function_single(cpu, __us2e_freq_target, &index, 1); index 95 drivers/cpufreq/sparc-us3-cpufreq.c static int us3_freq_target(struct cpufreq_policy *policy, unsigned int index) index 101 drivers/cpufreq/sparc-us3-cpufreq.c switch (index) { index 104 drivers/cpufreq/spear-cpufreq.c unsigned int index) index 110 drivers/cpufreq/spear-cpufreq.c newfreq = spear_cpufreq.freq_tbl[index].frequency * 1000; index 422 drivers/cpufreq/speedstep-centrino.c static int centrino_target(struct cpufreq_policy *policy, unsigned int index) index 439 drivers/cpufreq/speedstep-centrino.c op_points = &per_cpu(centrino_model, cpu)->op_points[index]; index 259 drivers/cpufreq/speedstep-ich.c static int speedstep_target(struct cpufreq_policy *policy, unsigned int index) index 265 drivers/cpufreq/speedstep-ich.c smp_call_function_single(policy_cpu, _speedstep_set_state, &index, index 221 drivers/cpufreq/speedstep-smi.c static int speedstep_target(struct cpufreq_policy *policy, unsigned int index) index 223 drivers/cpufreq/speedstep-smi.c speedstep_set_state(index); index 83 drivers/cpufreq/tegra186-cpufreq.c unsigned int index) index 85 drivers/cpufreq/tegra186-cpufreq.c struct cpufreq_frequency_table *tbl = policy->freq_table + index; index 40 drivers/cpufreq/tegra20-cpufreq.c unsigned int index) index 50 drivers/cpufreq/tegra20-cpufreq.c if (freq_table[index].frequency == ifreq || policy->cur == ifreq) index 57 drivers/cpufreq/tegra20-cpufreq.c unsigned int index) index 83 drivers/cpufreq/tegra20-cpufreq.c static int tegra_target(struct cpufreq_policy *policy, unsigned int index) index 86 drivers/cpufreq/tegra20-cpufreq.c unsigned long rate = freq_table[index].frequency; index 31 drivers/cpuidle/cpuidle-at91.c int index) index 34 drivers/cpuidle/cpuidle-at91.c return index; index 36 drivers/cpuidle/cpuidle-calxeda.c int index) index 42 drivers/cpuidle/cpuidle-calxeda.c return index; index 19 drivers/cpuidle/cpuidle-clps711x.c struct cpuidle_driver *drv, int index) index 23 drivers/cpuidle/cpuidle-clps711x.c return index; index 24 drivers/cpuidle/cpuidle-cps.c struct cpuidle_driver *drv, int index) index 36 drivers/cpuidle/cpuidle-cps.c if (cpus_are_siblings(0, dev->cpu) && (index > STATE_NC_WAIT)) index 37 drivers/cpuidle/cpuidle-cps.c index = STATE_NC_WAIT; index 40 drivers/cpuidle/cpuidle-cps.c switch (index) { index 66 drivers/cpuidle/cpuidle-cps.c return err ?: index; index 29 drivers/cpuidle/cpuidle-exynos.c int index) index 46 drivers/cpuidle/cpuidle-exynos.c index = ret; index 55 drivers/cpuidle/cpuidle-exynos.c return index; index 60 drivers/cpuidle/cpuidle-exynos.c int index) index 62 drivers/cpuidle/cpuidle-exynos.c int new_index = index; index 25 drivers/cpuidle/cpuidle-haltpoll.c struct cpuidle_driver *drv, int index) index 29 drivers/cpuidle/cpuidle-haltpoll.c return index; index 32 drivers/cpuidle/cpuidle-haltpoll.c return index; index 33 drivers/cpuidle/cpuidle-kirkwood.c int index) index 38 drivers/cpuidle/cpuidle-kirkwood.c return index; index 30 drivers/cpuidle/cpuidle-mvebu-v7.c int index) index 36 drivers/cpuidle/cpuidle-mvebu-v7.c if (drv->states[index].flags & MVEBU_V7_FLAG_DEEP_IDLE) index 45 drivers/cpuidle/cpuidle-mvebu-v7.c return index; index 51 drivers/cpuidle/cpuidle-powernv.c int index) index 58 drivers/cpuidle/cpuidle-powernv.c for (i = index + 1; i < drv->state_count; i++) { index 73 drivers/cpuidle/cpuidle-powernv.c int index) index 81 drivers/cpuidle/cpuidle-powernv.c snooze_exit_time = get_tb() + get_snooze_timeout(dev, drv, index); index 103 drivers/cpuidle/cpuidle-powernv.c return index; index 108 drivers/cpuidle/cpuidle-powernv.c int index) index 112 drivers/cpuidle/cpuidle-powernv.c return index; index 119 drivers/cpuidle/cpuidle-powernv.c int index) index 125 drivers/cpuidle/cpuidle-powernv.c return index; index 139 drivers/cpuidle/cpuidle-powernv.c return index; index 145 drivers/cpuidle/cpuidle-powernv.c int index) index 147 drivers/cpuidle/cpuidle-powernv.c power9_idle_type(stop_psscr_table[index].val, index 148 drivers/cpuidle/cpuidle-powernv.c stop_psscr_table[index].mask); index 149 drivers/cpuidle/cpuidle-powernv.c return index; index 230 drivers/cpuidle/cpuidle-powernv.c static inline void add_powernv_state(int index, const char *name, index 239 drivers/cpuidle/cpuidle-powernv.c strlcpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); index 240 drivers/cpuidle/cpuidle-powernv.c strlcpy(powernv_states[index].desc, name, CPUIDLE_NAME_LEN); index 241 drivers/cpuidle/cpuidle-powernv.c powernv_states[index].flags = flags; index 242 drivers/cpuidle/cpuidle-powernv.c powernv_states[index].target_residency = target_residency; index 243 drivers/cpuidle/cpuidle-powernv.c powernv_states[index].exit_latency = exit_latency; index 244 drivers/cpuidle/cpuidle-powernv.c powernv_states[index].enter = idle_fn; index 246 drivers/cpuidle/cpuidle-powernv.c stop_psscr_table[index].val = psscr_val; index 247 drivers/cpuidle/cpuidle-powernv.c stop_psscr_table[index].mask = psscr_mask; index 59 drivers/cpuidle/cpuidle-pseries.c int index) index 92 drivers/cpuidle/cpuidle-pseries.c return index; index 114 drivers/cpuidle/cpuidle-pseries.c int index) index 129 drivers/cpuidle/cpuidle-pseries.c return index; index 134 drivers/cpuidle/cpuidle-pseries.c int index) index 152 drivers/cpuidle/cpuidle-pseries.c return index; index 24 drivers/cpuidle/cpuidle-ux500.c struct cpuidle_driver *drv, int index) index 88 drivers/cpuidle/cpuidle-ux500.c return index; index 26 drivers/cpuidle/cpuidle-zynq.c struct cpuidle_driver *drv, int index) index 31 drivers/cpuidle/cpuidle-zynq.c return index; index 132 drivers/cpuidle/cpuidle.c struct cpuidle_device *dev, int index) index 150 drivers/cpuidle/cpuidle.c drv->states[index].enter_s2idle(dev, drv, index); index 162 drivers/cpuidle/cpuidle.c dev->states_usage[index].s2idle_time += ktime_us_delta(time_end, time_start); index 163 drivers/cpuidle/cpuidle.c dev->states_usage[index].s2idle_usage++; index 176 drivers/cpuidle/cpuidle.c int index; index 183 drivers/cpuidle/cpuidle.c index = find_deepest_state(drv, dev, UINT_MAX, 0, true); index 184 drivers/cpuidle/cpuidle.c if (index > 0) index 185 drivers/cpuidle/cpuidle.c enter_s2idle_proper(drv, dev, index); index 187 drivers/cpuidle/cpuidle.c return index; index 198 drivers/cpuidle/cpuidle.c int index) index 202 drivers/cpuidle/cpuidle.c struct cpuidle_state *target_state = &drv->states[index]; index 212 drivers/cpuidle/cpuidle.c index = find_deepest_state(drv, dev, target_state->exit_latency, index 214 drivers/cpuidle/cpuidle.c if (index < 0) { index 218 drivers/cpuidle/cpuidle.c target_state = &drv->states[index]; index 225 drivers/cpuidle/cpuidle.c trace_cpu_idle_rcuidle(index, dev->cpu); index 229 drivers/cpuidle/cpuidle.c entered_state = target_state->enter(dev, drv, index); index 246 drivers/cpuidle/cpuidle.c if (!cpuidle_state_is_coupled(drv, index)) index 329 drivers/cpuidle/cpuidle.c int index) index 341 drivers/cpuidle/cpuidle.c if (cpuidle_state_is_coupled(drv, index)) index 342 drivers/cpuidle/cpuidle.c ret = cpuidle_enter_state_coupled(dev, drv, index); index 344 drivers/cpuidle/cpuidle.c ret = cpuidle_enter_state(dev, drv, index); index 358 drivers/cpuidle/cpuidle.c void cpuidle_reflect(struct cpuidle_device *dev, int index) index 360 drivers/cpuidle/cpuidle.c if (cpuidle_curr_governor->reflect && index >= 0) index 361 drivers/cpuidle/cpuidle.c cpuidle_curr_governor->reflect(dev, index); index 113 drivers/cpuidle/governors/haltpoll.c static void haltpoll_reflect(struct cpuidle_device *dev, int index) index 115 drivers/cpuidle/governors/haltpoll.c dev->last_state_idx = index; index 117 drivers/cpuidle/governors/haltpoll.c if (index != 0) index 168 drivers/cpuidle/governors/ladder.c static void ladder_reflect(struct cpuidle_device *dev, int index) index 170 drivers/cpuidle/governors/ladder.c if (index > 0) index 171 drivers/cpuidle/governors/ladder.c dev->last_state_idx = index; index 447 drivers/cpuidle/governors/menu.c static void menu_reflect(struct cpuidle_device *dev, int index) index 451 drivers/cpuidle/governors/menu.c dev->last_state_idx = index; index 14 drivers/cpuidle/poll_state.c struct cpuidle_driver *drv, int index) index 41 drivers/cpuidle/poll_state.c return index; index 362 drivers/crypto/atmel-sha.c unsigned int index, padlen; index 383 drivers/crypto/atmel-sha.c index = ctx->bufcnt & 0x7f; index 384 drivers/crypto/atmel-sha.c padlen = (index < 112) ? (112 - index) : ((128+112) - index); index 393 drivers/crypto/atmel-sha.c index = ctx->bufcnt & 0x3f; index 394 drivers/crypto/atmel-sha.c padlen = (index < 56) ? (56 - index) : ((64+56) - index); index 2386 drivers/crypto/bcm/cipher.c unsigned int index; index 2465 drivers/crypto/bcm/cipher.c for (index = 0; index < blocksize; index++) { index 2466 drivers/crypto/bcm/cipher.c ctx->ipad[index] ^= HMAC_IPAD_VALUE; index 2467 drivers/crypto/bcm/cipher.c ctx->opad[index] ^= HMAC_OPAD_VALUE; index 31 drivers/crypto/bcm/util.c unsigned int index = 0; index 38 drivers/crypto/bcm/util.c index = next_index; index 44 drivers/crypto/bcm/util.c *sge_offset = skip - index; index 44 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c static inline int incr_index(int index, int count, int max) index 46 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c if ((index + count) >= max) index 47 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c index = index + count - max; index 49 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c index += count; index 51 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c return index; index 90 drivers/crypto/cavium/zip/zip_main.c zip->index = idx; index 248 drivers/crypto/cavium/zip/zip_main.c dev_info(dev, "Found ZIP device %d %x:%x on Node %d\n", zip->index, index 305 drivers/crypto/cavium/zip/zip_main.c zip_dev[zip->index] = NULL; index 339 drivers/crypto/cavium/zip/zip_main.c zip_dev[zip->index] = NULL; index 469 drivers/crypto/cavium/zip/zip_main.c int index = 0; index 473 drivers/crypto/cavium/zip/zip_main.c for (index = 0; index < MAX_ZIP_DEVICES; index++) { index 476 drivers/crypto/cavium/zip/zip_main.c if (zip_dev[index]) { index 477 drivers/crypto/cavium/zip/zip_main.c zip = zip_dev[index]; index 507 drivers/crypto/cavium/zip/zip_main.c index, index 528 drivers/crypto/cavium/zip/zip_main.c int index = 0; index 530 drivers/crypto/cavium/zip/zip_main.c for (index = 0; index < MAX_ZIP_DEVICES; index++) { index 531 drivers/crypto/cavium/zip/zip_main.c if (zip_dev[index]) { index 532 drivers/crypto/cavium/zip/zip_main.c memset(&zip_dev[index]->stats, 0, index 534 drivers/crypto/cavium/zip/zip_main.c seq_printf(s, "Cleared stats for zip %d\n", index); index 564 drivers/crypto/cavium/zip/zip_main.c int i = 0, index = 0; index 566 drivers/crypto/cavium/zip/zip_main.c for (index = 0; index < MAX_ZIP_DEVICES; index++) { index 567 drivers/crypto/cavium/zip/zip_main.c if (zip_dev[index]) { index 571 drivers/crypto/cavium/zip/zip_main.c index); index 576 drivers/crypto/cavium/zip/zip_main.c val = zip_reg_read((zip_dev[index]->reg_base + index 99 drivers/crypto/cavium/zip/zip_main.h u32 index; index 255 drivers/crypto/ccree/cc_buffer_mgr.c unsigned int index = sgl_data->num_of_buffers; index 258 drivers/crypto/ccree/cc_buffer_mgr.c index, &buffer_dma, buffer_len, is_last_entry); index 259 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->nents[index] = 1; index 260 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->entry[index].buffer_dma = buffer_dma; index 261 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->offset[index] = 0; index 262 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->total_data_len[index] = buffer_len; index 263 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->type[index] = DMA_BUFF_TYPE; index 264 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->is_last[index] = is_last_entry; index 265 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->mlli_nents[index] = mlli_nents; index 266 drivers/crypto/ccree/cc_buffer_mgr.c if (sgl_data->mlli_nents[index]) index 267 drivers/crypto/ccree/cc_buffer_mgr.c *sgl_data->mlli_nents[index] = 0; index 276 drivers/crypto/ccree/cc_buffer_mgr.c unsigned int index = sgl_data->num_of_buffers; index 279 drivers/crypto/ccree/cc_buffer_mgr.c index, nents, sgl, data_len, is_last_table); index 280 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->nents[index] = nents; index 281 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->entry[index].sgl = sgl; index 282 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->offset[index] = data_offset; index 283 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->total_data_len[index] = data_len; index 284 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->type[index] = DMA_SGL_TYPE; index 285 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->is_last[index] = is_last_table; index 286 drivers/crypto/ccree/cc_buffer_mgr.c sgl_data->mlli_nents[index] = mlli_nents; index 287 drivers/crypto/ccree/cc_buffer_mgr.c if (sgl_data->mlli_nents[index]) index 288 drivers/crypto/ccree/cc_buffer_mgr.c *sgl_data->mlli_nents[index] = 0; index 268 drivers/crypto/hisilicon/qm.c __le16 index; index 275 drivers/crypto/hisilicon/qm.c u8 cmd, u16 index, u8 priority); index 383 drivers/crypto/hisilicon/qm.c static void qm_db_v1(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) index 388 drivers/crypto/hisilicon/qm.c ((u64)index << QM_DB_INDEX_SHIFT_V1) | index 394 drivers/crypto/hisilicon/qm.c static void qm_db_v2(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) index 407 drivers/crypto/hisilicon/qm.c ((u64)index << QM_DB_INDEX_SHIFT_V2) | index 413 drivers/crypto/hisilicon/qm.c static void qm_db(struct hisi_qm *qm, u16 qn, u8 cmd, u16 index, u8 priority) index 416 drivers/crypto/hisilicon/qm.c qn, cmd, index); index 418 drivers/crypto/hisilicon/qm.c qm->ops->qm_db(qm, qn, cmd, index, priority); index 814 drivers/crypto/hisilicon/qm.c enum qm_debug_file index = file->index; index 820 drivers/crypto/hisilicon/qm.c switch (index) { index 840 drivers/crypto/hisilicon/qm.c enum qm_debug_file index = file->index; index 861 drivers/crypto/hisilicon/qm.c switch (index) { index 964 drivers/crypto/hisilicon/qm.c static int qm_create_debugfs_file(struct hisi_qm *qm, enum qm_debug_file index) index 967 drivers/crypto/hisilicon/qm.c struct debugfs_file *file = qm->debug.files + index; index 969 drivers/crypto/hisilicon/qm.c tmp = debugfs_create_file(qm_debug_file_name[index], 0600, qm_d, file, index 974 drivers/crypto/hisilicon/qm.c file->index = index; index 100 drivers/crypto/hisilicon/qm.h enum qm_debug_file index; index 106 drivers/crypto/hisilicon/sgl.c struct hisi_acc_hw_sgl *acc_get_sgl(struct hisi_acc_sgl_pool *pool, u32 index, index 109 drivers/crypto/hisilicon/sgl.c if (!pool || !hw_sgl_dma || index >= pool->count || !pool->sgl) index 112 drivers/crypto/hisilicon/sgl.c *hw_sgl_dma = pool->sgl_dma + pool->sgl_size * index; index 113 drivers/crypto/hisilicon/sgl.c return (void *)pool->sgl + pool->sgl_size * index; index 116 drivers/crypto/hisilicon/sgl.c void acc_put_sgl(struct hisi_acc_sgl_pool *pool, u32 index) {} index 150 drivers/crypto/hisilicon/sgl.c u32 index, dma_addr_t *hw_sgl_dma) index 166 drivers/crypto/hisilicon/sgl.c curr_hw_sgl = acc_get_sgl(pool, index, &curr_sgl_dma); index 18 drivers/crypto/hisilicon/sgl.h u32 index, dma_addr_t *hw_sgl_dma); index 157 drivers/crypto/hisilicon/zip/zip_main.c enum ctrl_debug_file_index index; index 438 drivers/crypto/hisilicon/zip/zip_main.c switch (file->index) { index 477 drivers/crypto/hisilicon/zip/zip_main.c switch (file->index) { index 552 drivers/crypto/hisilicon/zip/zip_main.c ctrl->files[i].index = i; index 125 drivers/crypto/marvell/hash.c unsigned int index, padlen; index 127 drivers/crypto/marvell/hash.c index = creq->len & CESA_HASH_BLOCK_SIZE_MSK; index 128 drivers/crypto/marvell/hash.c padlen = (index < 56) ? (56 - index) : (64 + 56 - index); index 241 drivers/crypto/mediatek/mtk-sha.c u32 index, padlen; index 254 drivers/crypto/mediatek/mtk-sha.c index = ctx->bufcnt & 0x7f; index 255 drivers/crypto/mediatek/mtk-sha.c padlen = (index < 112) ? (112 - index) : ((128 + 112) - index); index 264 drivers/crypto/mediatek/mtk-sha.c index = ctx->bufcnt & 0x3f; index 265 drivers/crypto/mediatek/mtk-sha.c padlen = (index < 56) ? (56 - index) : ((64 + 56) - index); index 1583 drivers/crypto/n2_core.c int index; index 1589 drivers/crypto/n2_core.c index = find_devino_index(dev, ip, p->devino); index 1590 drivers/crypto/n2_core.c if (index < 0) index 1591 drivers/crypto/n2_core.c return index; index 1593 drivers/crypto/n2_core.c p->irq = dev->archdata.irqs[index]; index 1595 drivers/crypto/n2_core.c sprintf(p->irq_name, "%s-%d", irq_name, index); index 80 drivers/crypto/nx/nx-842-powernv.c dde->index = 0; index 100 drivers/crypto/nx/nx-842-powernv.c dde->index = 0; index 62 drivers/crypto/qat/qat_common/adf_hw_arbiter.c #define WRITE_CSR_ARB_RINGSRVARBEN(csr_addr, index, value) \ index 64 drivers/crypto/qat/qat_common/adf_hw_arbiter.c (ADF_ARB_REG_SLOT * index), value) index 66 drivers/crypto/qat/qat_common/adf_hw_arbiter.c #define WRITE_CSR_ARB_SARCONFIG(csr_addr, index, value) \ index 68 drivers/crypto/qat/qat_common/adf_hw_arbiter.c (ADF_ARB_REG_SIZE * index), value) index 70 drivers/crypto/qat/qat_common/adf_hw_arbiter.c #define WRITE_CSR_ARB_WRK_2_SER_MAP(csr_addr, index, value) \ index 73 drivers/crypto/qat/qat_common/adf_hw_arbiter.c (ADF_ARB_REG_SIZE * index), value) index 75 drivers/crypto/qat/qat_common/adf_hw_arbiter.c #define WRITE_CSR_ARB_WQCFG(csr_addr, index, value) \ index 77 drivers/crypto/qat/qat_common/adf_hw_arbiter.c ADF_ARB_WQCFG_OFFSET) + (ADF_ARB_REG_SIZE * index), value) index 66 drivers/crypto/qat/qat_common/adf_sriov.c #define READ_CSR_ME2FUNCTION_MAP_A(pmisc_bar_addr, index) \ index 68 drivers/crypto/qat/qat_common/adf_sriov.c ME2FUNCTION_MAP_REG_SIZE * index) index 70 drivers/crypto/qat/qat_common/adf_sriov.c #define WRITE_CSR_ME2FUNCTION_MAP_A(pmisc_bar_addr, index, value) \ index 72 drivers/crypto/qat/qat_common/adf_sriov.c ME2FUNCTION_MAP_REG_SIZE * index, value) index 74 drivers/crypto/qat/qat_common/adf_sriov.c #define READ_CSR_ME2FUNCTION_MAP_B(pmisc_bar_addr, index) \ index 76 drivers/crypto/qat/qat_common/adf_sriov.c ME2FUNCTION_MAP_REG_SIZE * index) index 78 drivers/crypto/qat/qat_common/adf_sriov.c #define WRITE_CSR_ME2FUNCTION_MAP_B(pmisc_bar_addr, index, value) \ index 80 drivers/crypto/qat/qat_common/adf_sriov.c ME2FUNCTION_MAP_REG_SIZE * index, value) index 837 drivers/crypto/sahara.c int index) index 840 drivers/crypto/sahara.c int i = index; index 844 drivers/crypto/sahara.c dev->hw_desc[index]->hdr = sahara_sha_init_hdr(dev, rctx); index 847 drivers/crypto/sahara.c dev->hw_desc[index]->hdr = SAHARA_HDR_MDHA_HASH; index 849 drivers/crypto/sahara.c dev->hw_desc[index]->len1 = rctx->total; index 850 drivers/crypto/sahara.c if (dev->hw_desc[index]->len1 == 0) { index 852 drivers/crypto/sahara.c dev->hw_desc[index]->p1 = 0; index 856 drivers/crypto/sahara.c dev->hw_desc[index]->p1 = dev->hw_phys_link[index]; index 857 drivers/crypto/sahara.c i = sahara_sha_hw_links_create(dev, rctx, index); index 859 drivers/crypto/sahara.c rctx->sg_in_idx = index; index 864 drivers/crypto/sahara.c dev->hw_desc[index]->p2 = dev->hw_phys_link[i]; index 871 drivers/crypto/sahara.c dev->hw_desc[index]->len2 = result_len; index 890 drivers/crypto/sahara.c int index) index 892 drivers/crypto/sahara.c dev->hw_desc[index]->hdr = sahara_sha_init_hdr(dev, rctx); index 894 drivers/crypto/sahara.c dev->hw_desc[index]->len1 = rctx->context_size; index 895 drivers/crypto/sahara.c dev->hw_desc[index]->p1 = dev->hw_phys_link[index]; index 896 drivers/crypto/sahara.c dev->hw_desc[index]->len2 = 0; index 897 drivers/crypto/sahara.c dev->hw_desc[index]->p2 = 0; index 899 drivers/crypto/sahara.c dev->hw_link[index]->len = rctx->context_size; index 900 drivers/crypto/sahara.c dev->hw_link[index]->p = dev->context_phys_base; index 901 drivers/crypto/sahara.c dev->hw_link[index]->next = 0; index 166 drivers/crypto/ux500/cryp/cryp_core.c int index = 0; index 171 drivers/crypto/ux500/cryp/cryp_core.c index = len - j - BYTES_PER_WORD + i; index 173 drivers/crypto/ux500/cryp/cryp_core.c swap_bits_in_byte(in[index]); index 267 drivers/crypto/ux500/cryp/cryp_core.c enum cryp_init_vector_index index) index 277 drivers/crypto/ux500/cryp/cryp_core.c index, index 316 drivers/crypto/ux500/cryp/cryp_core.c enum cryp_key_reg_index index) index 327 drivers/crypto/ux500/cryp/cryp_core.c index, index 239 drivers/crypto/ux500/hash/hash_alg.h u8 index; index 766 drivers/crypto/ux500/hash/hash_core.c u8 *index) index 772 drivers/crypto/ux500/hash/hash_core.c if ((*index + msg_length) < HASH_BLOCK_SIZE) { index 774 drivers/crypto/ux500/hash/hash_core.c buffer[*index + count] = index 777 drivers/crypto/ux500/hash/hash_core.c *index += msg_length; index 810 drivers/crypto/ux500/hash/hash_core.c (0 == *index)) index 816 drivers/crypto/ux500/hash/hash_core.c count < (u32)(HASH_BLOCK_SIZE - *index); index 818 drivers/crypto/ux500/hash/hash_core.c buffer[*index + count] = index 826 drivers/crypto/ux500/hash/hash_core.c data_buffer += (HASH_BLOCK_SIZE - *index); index 828 drivers/crypto/ux500/hash/hash_core.c msg_length -= (HASH_BLOCK_SIZE - *index); index 829 drivers/crypto/ux500/hash/hash_core.c *index = 0; index 1026 drivers/crypto/ux500/hash/hash_core.c if (req_ctx->state.index) { index 1028 drivers/crypto/ux500/hash/hash_core.c req_ctx->state.index); index 1067 drivers/crypto/ux500/hash/hash_core.c u8 index = 0; index 1081 drivers/crypto/ux500/hash/hash_core.c index = req_ctx->state.index; index 1100 drivers/crypto/ux500/hash/hash_core.c data_buffer, buffer, &index); index 1111 drivers/crypto/ux500/hash/hash_core.c req_ctx->state.index = index; index 1113 drivers/crypto/ux500/hash/hash_core.c __func__, req_ctx->state.index, req_ctx->state.bit_index); index 1140 drivers/crypto/ux500/hash/hash_core.c if (device_state->index > HASH_BLOCK_SIZE || index 31 drivers/crypto/virtio/virtio_crypto_core.c unsigned int qid = vq->index; index 266 drivers/dax/device.c page->index = pgoff + i; index 221 drivers/devfreq/devfreq-event.c int index) index 229 drivers/devfreq/devfreq-event.c node = of_parse_phandle(dev->of_node, "devfreq-events", index); index 830 drivers/devfreq/devfreq.c struct devfreq *devfreq_get_devfreq_by_phandle(struct device *dev, int index) index 841 drivers/devfreq/devfreq.c node = of_parse_phandle(dev->of_node, "devfreq", index); index 860 drivers/devfreq/devfreq.c struct devfreq *devfreq_get_devfreq_by_phandle(struct device *dev, int index) index 312 drivers/devfreq/rk3399_dmc.c int ret, index, size; index 360 drivers/devfreq/rk3399_dmc.c for (index = 0; index < size; index++) { index 361 drivers/devfreq/rk3399_dmc.c arm_smccc_smc(ROCKCHIP_SIP_DRAM_FREQ, *timing++, index, index 322 drivers/dma/acpi-dma.c size_t index; index 338 drivers/dma/acpi-dma.c if (pdata->n++ == pdata->index) { index 357 drivers/dma/acpi-dma.c size_t index) index 376 drivers/dma/acpi-dma.c pdata.index = index; index 434 drivers/dma/acpi-dma.c int index; index 436 drivers/dma/acpi-dma.c index = device_property_match_string(dev, "dma-names", name); index 437 drivers/dma/acpi-dma.c if (index < 0) { index 439 drivers/dma/acpi-dma.c index = 0; index 441 drivers/dma/acpi-dma.c index = 1; index 446 drivers/dma/acpi-dma.c dev_dbg(dev, "Looking for DMA channel \"%s\" at index %d...\n", name, index); index 447 drivers/dma/acpi-dma.c return acpi_dma_request_slave_chan_by_index(dev, index); index 138 drivers/dma/bestcomm/ata.c tsk->index = 0; index 140 drivers/dma/bestcomm/fec.c tsk->index = 0; index 241 drivers/dma/bestcomm/fec.c tsk->index = 0; index 142 drivers/dma/bestcomm/gen_bd.c tsk->index = 0; index 226 drivers/dma/bestcomm/gen_bd.c tsk->index = 0; index 309 drivers/dma/dmatest.c static inline u8 gen_inv_idx(u8 index, bool is_memset) index 311 drivers/dma/dmatest.c u8 val = is_memset ? PATTERN_MEMSET_IDX : index; index 316 drivers/dma/dmatest.c static inline u8 gen_src_value(u8 index, bool is_memset) index 318 drivers/dma/dmatest.c return PATTERN_SRC | gen_inv_idx(index, is_memset); index 321 drivers/dma/dmatest.c static inline u8 gen_dst_value(u8 index, bool is_memset) index 323 drivers/dma/dmatest.c return PATTERN_DST | gen_inv_idx(index, is_memset); index 360 drivers/dma/dmatest.c static void dmatest_mismatch(u8 actual, u8 pattern, unsigned int index, index 369 drivers/dma/dmatest.c thread_name, index, expected, actual); index 373 drivers/dma/dmatest.c thread_name, index, expected, actual); index 376 drivers/dma/dmatest.c thread_name, index, expected, actual); index 379 drivers/dma/dmatest.c thread_name, index, expected, actual); index 240 drivers/dma/fsl_raid.c static void fill_cfd_frame(struct fsl_re_cmpnd_frame *cf, u8 index, index 246 drivers/dma/fsl_raid.c cf[index].efrl32 = efrl; index 247 drivers/dma/fsl_raid.c cf[index].addr_high = upper_32_bits(addr); index 248 drivers/dma/fsl_raid.c cf[index].addr_low = lower_32_bits(addr); index 233 drivers/dma/ioat/dma.h ioat_chan_by_index(struct ioatdma_device *ioat_dma, int index) index 235 drivers/dma/ioat/dma.h return ioat_dma->idx[index]; index 405 drivers/dma/k3dma.c u32 clli = 0, index = 0; index 409 drivers/dma/k3dma.c index = ((clli - ds->desc_hw_lli) / index 411 drivers/dma/k3dma.c for (; index < ds->desc_num; index++) { index 412 drivers/dma/k3dma.c bytes += ds->desc_hw[index].count; index 414 drivers/dma/k3dma.c if (!ds->desc_hw[index].lli) index 90 drivers/dma/mv_xor.c int index, dma_addr_t addr) index 93 drivers/dma/mv_xor.c hw_desc->phy_src_addr[mv_phy_src_idx(index)] = addr; index 95 drivers/dma/mv_xor.c hw_desc->desc_command |= (1 << index); index 189 drivers/dma/mv_xor_v2.c dma_addr_t src, int index) index 191 drivers/dma/mv_xor_v2.c int arr_index = ((index >> 1) * 3); index 204 drivers/dma/mv_xor_v2.c if ((index & 0x1) == 0) { index 210 drivers/dma/of-dma.c int index, struct of_phandle_args *dma_spec) index 214 drivers/dma/of-dma.c if (of_property_read_string_index(np, "dma-names", index, &s)) index 220 drivers/dma/of-dma.c if (of_parse_phandle_with_args(np, "dmas", "#dma-cells", index, index 1401 drivers/dma/pl330.c struct pl330_thread *thrd, unsigned index, index 1404 drivers/dma/pl330.c struct _pl330_req *req = &thrd->req[index]; index 114 drivers/dma/ppc4xx/adma.c struct ppc440spe_rxor *cursor, int index, index 118 drivers/dma/ppc4xx/adma.c int index, dma_addr_t addr); index 121 drivers/dma/ppc4xx/adma.c int index, u8 mult); index 1230 drivers/dma/ppc4xx/adma.c dma_addr_t addr, int index); index 1233 drivers/dma/ppc4xx/adma.c dma_addr_t addr, int index); index 1240 drivers/dma/ppc4xx/adma.c dma_addr_t addr, int index); index 1243 drivers/dma/ppc4xx/adma.c unsigned char mult, int index, int dst_pos); index 2786 drivers/dma/ppc4xx/adma.c dma_addr_t addr, int index) index 2790 drivers/dma/ppc4xx/adma.c BUG_ON(index >= sw_desc->dst_cnt); index 2801 drivers/dma/ppc4xx/adma.c chan, 0, addr, index); index 2804 drivers/dma/ppc4xx/adma.c sw_desc = ppc440spe_get_group_entry(sw_desc, index); index 2806 drivers/dma/ppc4xx/adma.c chan, 0, addr, index); index 2839 drivers/dma/ppc4xx/adma.c int index = 0, i; index 2865 drivers/dma/ppc4xx/adma.c index++; index 2867 drivers/dma/ppc4xx/adma.c index++; index 2869 drivers/dma/ppc4xx/adma.c iter = ppc440spe_get_group_entry(sw_desc, index); index 2887 drivers/dma/ppc4xx/adma.c if (index) { index 2891 drivers/dma/ppc4xx/adma.c index = 0; index 2895 drivers/dma/ppc4xx/adma.c sw_desc, index++); index 2903 drivers/dma/ppc4xx/adma.c sw_desc, index++); index 2926 drivers/dma/ppc4xx/adma.c iter = ppc440spe_get_group_entry(sw_desc, index++); index 2933 drivers/dma/ppc4xx/adma.c index++); index 2943 drivers/dma/ppc4xx/adma.c index); index 3099 drivers/dma/ppc4xx/adma.c dma_addr_t addr, int index) index 3117 drivers/dma/ppc4xx/adma.c if (index == 0) { index 3142 drivers/dma/ppc4xx/adma.c } else if (index < iskip) { index 3154 drivers/dma/ppc4xx/adma.c index - iskip + sw_desc->dst_cnt); index 3169 drivers/dma/ppc4xx/adma.c index + znum); index 3175 drivers/dma/ppc4xx/adma.c if (!index && index 3193 drivers/dma/ppc4xx/adma.c ppc440spe_adma_dma2rxor_set_src(iter, index, addr); index 3199 drivers/dma/ppc4xx/adma.c ppc440spe_adma_dma2rxor_set_src(iter, index, addr); index 3209 drivers/dma/ppc4xx/adma.c dma_addr_t addr, int index) index 3217 drivers/dma/ppc4xx/adma.c ppc440spe_desc_set_src_addr(sw_desc, chan, index, 0, addr); index 3225 drivers/dma/ppc4xx/adma.c struct ppc440spe_rxor *cursor, int index, int src_cnt) index 3228 drivers/dma/ppc4xx/adma.c if (index == src_cnt - 1) { index 3242 drivers/dma/ppc4xx/adma.c struct ppc440spe_rxor *cursor, int index, index 3262 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { index 3267 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3274 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { index 3279 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3291 drivers/dma/ppc4xx/adma.c if (index == src_cnt-2 || (sign == -1 index 3300 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3307 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { index 3309 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3317 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { index 3319 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3327 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { index 3329 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3339 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3346 drivers/dma/ppc4xx/adma.c if (index) { index 3348 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); index 3362 drivers/dma/ppc4xx/adma.c int index, dma_addr_t addr) index 3368 drivers/dma/ppc4xx/adma.c while (op <= index) { index 3388 drivers/dma/ppc4xx/adma.c if (index == op - 1) index 3392 drivers/dma/ppc4xx/adma.c if (index == lop) index 3403 drivers/dma/ppc4xx/adma.c int index, u8 mult) index 3409 drivers/dma/ppc4xx/adma.c while (op <= index) { index 3429 drivers/dma/ppc4xx/adma.c ppc440spe_rxor_set_mult(desc, k - 1, op - index - 1, mult); index 3432 drivers/dma/ppc4xx/adma.c ppc440spe_rxor_set_mult(desc, k - 1, index - lop, mult); index 3451 drivers/dma/ppc4xx/adma.c unsigned char mult, int index, int dst_pos) index 3466 drivers/dma/ppc4xx/adma.c if (index < region) { index 3474 drivers/dma/ppc4xx/adma.c mult_idx = DMA_CUED_MULT1_OFF + (index << 3); index 3479 drivers/dma/ppc4xx/adma.c index - region + index 3497 drivers/dma/ppc4xx/adma.c iter = ppc440spe_get_group_entry(sw_desc, index + znum); index 3521 drivers/dma/ppc4xx/adma.c ppc440spe_adma_dma2rxor_set_mult(iter, index, 1); index 3527 drivers/dma/ppc4xx/adma.c ppc440spe_adma_dma2rxor_set_mult(iter, index, mult); index 1208 drivers/dma/qcom/bam_dma.c u32 index) index 1210 drivers/dma/qcom/bam_dma.c bchan->id = index; index 15 drivers/dma/qcom/hidma_mgmt_sys.c int index; index 150 drivers/dma/qcom/hidma_mgmt_sys.c sprintf(buf, "%d\n", mdev->priority[chattr->index]); index 152 drivers/dma/qcom/hidma_mgmt_sys.c sprintf(buf, "%d\n", mdev->weight[chattr->index]); index 174 drivers/dma/qcom/hidma_mgmt_sys.c rc = set_priority(mdev, chattr->index, tmp); index 178 drivers/dma/qcom/hidma_mgmt_sys.c rc = set_weight(mdev, chattr->index, tmp); index 209 drivers/dma/qcom/hidma_mgmt_sys.c int mode, int index, index 224 drivers/dma/qcom/hidma_mgmt_sys.c chattr->index = index; index 162 drivers/dma/sh/rcar-dmac.c unsigned int index; index 356 drivers/dma/sh/rcar-dmac.c chan->index, desc, desc->nchunks, &desc->hwdescs.dma); index 415 drivers/dma/sh/rcar-dmac.c chan->index, chunk, chunk->size, &chunk->src_addr, index 472 drivers/dma/sh/rcar-dmac.c chan->index, tx->cookie, desc); index 982 drivers/dma/sh/rcar-dmac.c chan->index, chunk, desc, i, sg, size, len, index 1149 drivers/dma/sh/rcar-dmac.c "chan%u: failed to map %zx@%pap", rchan->index, index 1155 drivers/dma/sh/rcar-dmac.c rchan->index, dev_size, &dev_addr, &map->addr, index 1215 drivers/dma/sh/rcar-dmac.c rchan->index, sg_len, RCAR_DMAC_MAX_SG_LEN); index 1562 drivers/dma/sh/rcar-dmac.c rcar_dmac_write(dmac, RCAR_DMACHCLR, 1 << chan->index); index 1729 drivers/dma/sh/rcar-dmac.c unsigned int index) index 1737 drivers/dma/sh/rcar-dmac.c rchan->index = index; index 1738 drivers/dma/sh/rcar-dmac.c rchan->iomem = dmac->iomem + RCAR_DMAC_CHAN_OFFSET(index); index 1750 drivers/dma/sh/rcar-dmac.c sprintf(pdev_irqname, "ch%u", index); index 1756 drivers/dma/sh/rcar-dmac.c dev_name(dmac->dev), index); index 79 drivers/dma/sh/usb-dmac.c unsigned int index; index 194 drivers/dma/sh/usb-dmac.c unsigned int index) index 197 drivers/dma/sh/usb-dmac.c struct usb_dmac_sg *sg = desc->sg + index; index 209 drivers/dma/sh/usb-dmac.c chan->index, sg, sg->size, &src_addr, &dst_addr); index 640 drivers/dma/sh/usb-dmac.c if (uchan->index != dma_spec->args[0]) index 707 drivers/dma/sh/usb-dmac.c unsigned int index) index 714 drivers/dma/sh/usb-dmac.c uchan->index = index; index 715 drivers/dma/sh/usb-dmac.c uchan->iomem = dmac->iomem + USB_DMAC_CHAN_OFFSET(index); index 718 drivers/dma/sh/usb-dmac.c sprintf(pdev_irqname, "ch%u", index); index 724 drivers/dma/sh/usb-dmac.c dev_name(dmac->dev), index); index 1043 drivers/dma/ti/cppi41.c int index; index 1070 drivers/dma/ti/cppi41.c index = of_property_match_string(dev->of_node, index 1072 drivers/dma/ti/cppi41.c if (index < 0) index 1073 drivers/dma/ti/cppi41.c return index; index 1075 drivers/dma/ti/cppi41.c mem = platform_get_resource(pdev, IORESOURCE_MEM, index); index 1080 drivers/dma/ti/cppi41.c mem = platform_get_resource(pdev, IORESOURCE_MEM, index + 1); index 1085 drivers/dma/ti/cppi41.c mem = platform_get_resource(pdev, IORESOURCE_MEM, index + 2); index 361 drivers/dma/zx_dma.c u32 clli = 0, index = 0; index 365 drivers/dma/zx_dma.c index = (clli - ds->desc_hw_lli) / index 367 drivers/dma/zx_dma.c for (; index < ds->desc_num; index++) { index 368 drivers/dma/zx_dma.c bytes += ds->desc_hw[index].src_x; index 370 drivers/dma/zx_dma.c if (!ds->desc_hw[index].lli) index 193 drivers/edac/amd76x_edac.c int index; index 195 drivers/edac/amd76x_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 196 drivers/edac/amd76x_edac.c csrow = mci->csrows[index]; index 201 drivers/edac/amd76x_edac.c AMD76X_MEM_BASE_ADDR + (index * 4), &mba); index 215 drivers/edac/amd76x_edac.c dimm->dtype = ((dms >> index) & 0x1) ? DEV_X4 : DEV_UNKNOWN; index 320 drivers/edac/cpc925_edac.c int index, j; index 326 drivers/edac/cpc925_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 328 drivers/edac/cpc925_edac.c 0x20 * index); index 330 drivers/edac/cpc925_edac.c 0x20 + index); index 337 drivers/edac/cpc925_edac.c csrow = mci->csrows[index]; index 1056 drivers/edac/e752x_edac.c static inline int remap_csrow_index(struct mem_ctl_info *mci, int index) index 1061 drivers/edac/e752x_edac.c return (7 - index); index 1063 drivers/edac/e752x_edac.c return (index); index 1072 drivers/edac/e752x_edac.c int index, mem_dev, drc_chan; index 1079 drivers/edac/e752x_edac.c for (index = 0; index < 4; index++) { index 1081 drivers/edac/e752x_edac.c pci_read_config_byte(pdev, E752X_DRA + index, &dra_reg); index 1082 drivers/edac/e752x_edac.c dra |= dra_reg << (index * 8); index 1094 drivers/edac/e752x_edac.c for (last_cumul_size = index = 0; index < mci->nr_csrows; index++) { index 1096 drivers/edac/e752x_edac.c mem_dev = (dra >> (index * 4 + 2)) & 0x3; index 1097 drivers/edac/e752x_edac.c csrow = mci->csrows[remap_csrow_index(mci, index)]; index 1100 drivers/edac/e752x_edac.c pci_read_config_byte(pdev, E752X_DRB + index, &value); index 1103 drivers/edac/e752x_edac.c edac_dbg(3, "(%d) cumul_size 0x%x\n", index, cumul_size); index 1129 drivers/edac/e752x_edac.c edac_dbg(3, "Initializing rank at (%i,%i)\n", index, i); index 1142 drivers/edac/e752x_edac.c int index; index 1148 drivers/edac/e752x_edac.c for (index = 0; index < 8; index += 2) { index 1149 drivers/edac/e752x_edac.c pci_read_config_byte(pdev, E752X_DRB + index, &value); index 1153 drivers/edac/e752x_edac.c pvt->map[index] = 0xff; index 1154 drivers/edac/e752x_edac.c pvt->map[index + 1] = 0xff; index 1156 drivers/edac/e752x_edac.c pvt->map[index] = row; index 1162 drivers/edac/e752x_edac.c pci_read_config_byte(pdev, E752X_DRB + index + 1, index 1167 drivers/edac/e752x_edac.c pvt->map[index + 1] = (value == last) ? 0xff : row; index 358 drivers/edac/e7xxx_edac.c int index, j; index 377 drivers/edac/e7xxx_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 379 drivers/edac/e7xxx_edac.c mem_dev = (dra >> (index * 4 + 3)) & 0x1; index 380 drivers/edac/e7xxx_edac.c csrow = mci->csrows[index]; index 382 drivers/edac/e7xxx_edac.c pci_read_config_byte(pdev, E7XXX_DRB + index, &value); index 385 drivers/edac/e7xxx_edac.c edac_dbg(3, "(%d) cumul_size 0x%x\n", index, cumul_size); index 907 drivers/edac/edac_mc.c int i, index = 0; index 919 drivers/edac/edac_mc.c index += pos[i]; index 920 drivers/edac/edac_mc.c mci->ce_per_layer[i][index] += count; index 923 drivers/edac/edac_mc.c index *= mci->layers[i + 1].size; index 932 drivers/edac/edac_mc.c int i, index = 0; index 944 drivers/edac/edac_mc.c index += pos[i]; index 945 drivers/edac/edac_mc.c mci->ue_per_layer[i][index] += count; index 948 drivers/edac/edac_mc.c index *= mci->layers[i + 1].size; index 402 drivers/edac/edac_mc_sysfs.c struct csrow_info *csrow, int index) index 411 drivers/edac/edac_mc_sysfs.c dev_set_name(&csrow->dev, "csrow%d", index); index 630 drivers/edac/edac_mc_sysfs.c int index) index 640 drivers/edac/edac_mc_sysfs.c dev_set_name(&dimm->dev, "rank%d", index); index 642 drivers/edac/edac_mc_sysfs.c dev_set_name(&dimm->dev, "dimm%d", index); index 400 drivers/edac/fsl_ddr_edac.c int index; index 443 drivers/edac/fsl_ddr_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 447 drivers/edac/fsl_ddr_edac.c csrow = mci->csrows[index]; index 451 drivers/edac/fsl_ddr_edac.c (index * FSL_MC_CS_BNDS_OFS)); index 352 drivers/edac/ghes_edac.c int index = -1; index 361 drivers/edac/ghes_edac.c index = get_dimm_smbios_index(mci, mem_err->mem_dev_handle); index 362 drivers/edac/ghes_edac.c if (index >= 0) { index 363 drivers/edac/ghes_edac.c e->top_layer = index; index 191 drivers/edac/i82443bxgx_edac.c int index; index 197 drivers/edac/i82443bxgx_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 198 drivers/edac/i82443bxgx_edac.c csrow = mci->csrows[index]; index 201 drivers/edac/i82443bxgx_edac.c pci_read_config_byte(pdev, I82443BXGX_DRB + index, &drbar); index 203 drivers/edac/i82443bxgx_edac.c mci->mc_idx, index, drbar); index 207 drivers/edac/i82443bxgx_edac.c mci->mc_idx, index, row_high_limit, index 151 drivers/edac/i82860_edac.c int index; index 162 drivers/edac/i82860_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 163 drivers/edac/i82860_edac.c csrow = mci->csrows[index]; index 166 drivers/edac/i82860_edac.c pci_read_config_word(pdev, I82860_GBA + index * 2, &value); index 169 drivers/edac/i82860_edac.c edac_dbg(3, "(%d) cumul_size 0x%x\n", index, cumul_size); index 351 drivers/edac/i82875p_edac.c int index, j; index 362 drivers/edac/i82875p_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 363 drivers/edac/i82875p_edac.c csrow = mci->csrows[index]; index 365 drivers/edac/i82875p_edac.c value = readb(ovrfl_window + I82875P_DRB + index); index 367 drivers/edac/i82875p_edac.c edac_dbg(3, "(%d) cumul_size 0x%x\n", index, cumul_size); index 368 drivers/edac/i82975x_edac.c int index, chan; index 382 drivers/edac/i82975x_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 383 drivers/edac/i82975x_edac.c csrow = mci->csrows[index]; index 385 drivers/edac/i82975x_edac.c value = readb(mch_window + I82975X_DRB + index + index 386 drivers/edac/i82975x_edac.c ((index >= 4) ? 0x80 : 0)); index 395 drivers/edac/i82975x_edac.c edac_dbg(3, "(%d) cumul_size 0x%x\n", index, cumul_size); index 408 drivers/edac/i82975x_edac.c dimm = mci->csrows[index]->channels[chan]->dimm; index 414 drivers/edac/i82975x_edac.c index); index 129 drivers/edac/pasemi_edac.c int index; index 131 drivers/edac/pasemi_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 132 drivers/edac/pasemi_edac.c csrow = mci->csrows[index]; index 136 drivers/edac/pasemi_edac.c MCDRAM_RANKCFG + (index * 12), index 222 drivers/edac/r82600_edac.c int index; index 231 drivers/edac/r82600_edac.c for (index = 0; index < mci->nr_csrows; index++) { index 232 drivers/edac/r82600_edac.c csrow = mci->csrows[index]; index 236 drivers/edac/r82600_edac.c pci_read_config_byte(pdev, R82600_DRBA + index, &drbar); index 238 drivers/edac/r82600_edac.c edac_dbg(1, "Row=%d DRBA = %#0x\n", index, drbar); index 244 drivers/edac/r82600_edac.c index, row_high_limit, row_high_limit_last); index 922 drivers/edac/synopsys_edac.c int index; index 927 drivers/edac/synopsys_edac.c for (index = 0; index < DDR_MAX_ROW_SHIFT; index++) { index 928 drivers/edac/synopsys_edac.c if (priv->row_shift[index]) index 929 drivers/edac/synopsys_edac.c row |= (((hif_addr >> priv->row_shift[index]) & index 930 drivers/edac/synopsys_edac.c BIT(0)) << index); index 935 drivers/edac/synopsys_edac.c for (index = 0; index < DDR_MAX_COL_SHIFT; index++) { index 936 drivers/edac/synopsys_edac.c if (priv->col_shift[index] || index < 3) index 937 drivers/edac/synopsys_edac.c col |= (((hif_addr >> priv->col_shift[index]) & index 938 drivers/edac/synopsys_edac.c BIT(0)) << index); index 943 drivers/edac/synopsys_edac.c for (index = 0; index < DDR_MAX_BANK_SHIFT; index++) { index 944 drivers/edac/synopsys_edac.c if (priv->bank_shift[index]) index 945 drivers/edac/synopsys_edac.c bank |= (((hif_addr >> priv->bank_shift[index]) & index 946 drivers/edac/synopsys_edac.c BIT(0)) << index); index 951 drivers/edac/synopsys_edac.c for (index = 0; index < DDR_MAX_BANKGRP_SHIFT; index++) { index 952 drivers/edac/synopsys_edac.c if (priv->bankgrp_shift[index]) index 953 drivers/edac/synopsys_edac.c bankgrp |= (((hif_addr >> priv->bankgrp_shift[index]) index 954 drivers/edac/synopsys_edac.c & BIT(0)) << index); index 1055 drivers/edac/synopsys_edac.c int index; index 1063 drivers/edac/synopsys_edac.c for (index = 2; index < 11; index++) index 1064 drivers/edac/synopsys_edac.c priv->row_shift[index] = addrmap_row_b2_10 + index 1065 drivers/edac/synopsys_edac.c index + ROW_B0_BASE; index 1114 drivers/edac/synopsys_edac.c int index; index 1209 drivers/edac/synopsys_edac.c for (index = 9; index > width; index--) { index 1210 drivers/edac/synopsys_edac.c priv->col_shift[index] = priv->col_shift[index - width]; index 1211 drivers/edac/synopsys_edac.c priv->col_shift[index - width] = 0; index 1257 drivers/edac/synopsys_edac.c int index; index 1259 drivers/edac/synopsys_edac.c for (index = 0; index < 12; index++) { index 1262 drivers/edac/synopsys_edac.c addrmap_offset = ECC_ADDRMAP0_OFFSET + (index * 4); index 1263 drivers/edac/synopsys_edac.c addrmap[index] = readl(priv->baseaddr + addrmap_offset); index 1751 drivers/edac/thunderx_edac.c int index; index 1227 drivers/extcon/extcon-arizona.c static void arizona_micd_set_level(struct arizona *arizona, int index, index 1233 drivers/extcon/extcon-arizona.c reg = ARIZONA_MIC_DETECT_LEVEL_4 - (index / 2); index 1235 drivers/extcon/extcon-arizona.c if (!(index % 2)) { index 275 drivers/extcon/extcon.c static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) index 277 drivers/extcon/extcon.c return !!(edev->state & BIT(index)); index 280 drivers/extcon/extcon.c static bool is_extcon_changed(struct extcon_dev *edev, int index, index 283 drivers/extcon/extcon.c int state = !!(edev->state & BIT(index)); index 301 drivers/extcon/extcon.c unsigned int id, int index,unsigned int prop) index 311 drivers/extcon/extcon.c cable = &edev->cables[index]; index 333 drivers/extcon/extcon.c static void init_property(struct extcon_dev *edev, unsigned int id, int index) index 336 drivers/extcon/extcon.c struct extcon_cable *cable = &edev->cables[index]; index 416 drivers/extcon/extcon.c int index; index 423 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 424 drivers/extcon/extcon.c if (index < 0) index 425 drivers/extcon/extcon.c return index; index 428 drivers/extcon/extcon.c state = !!(edev->state & BIT(index)); index 435 drivers/extcon/extcon.c raw_notifier_call_chain(&edev->nh[index], state, edev); index 491 drivers/extcon/extcon.c int index, state; index 497 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 498 drivers/extcon/extcon.c if (index < 0) index 499 drivers/extcon/extcon.c return index; index 502 drivers/extcon/extcon.c state = is_extcon_attached(edev, index); index 525 drivers/extcon/extcon.c int index, ret = 0; index 530 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 531 drivers/extcon/extcon.c if (index < 0) index 532 drivers/extcon/extcon.c return index; index 537 drivers/extcon/extcon.c if (!is_extcon_changed(edev, index, state)) index 541 drivers/extcon/extcon.c (edev->state & ~BIT(index)) | (state & BIT(index)))) { index 551 drivers/extcon/extcon.c init_property(edev, id, index); index 555 drivers/extcon/extcon.c edev->state |= BIT(index); index 557 drivers/extcon/extcon.c edev->state &= ~(BIT(index)); index 579 drivers/extcon/extcon.c int ret, index; index 582 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 583 drivers/extcon/extcon.c if (index < 0) index 584 drivers/extcon/extcon.c return index; index 588 drivers/extcon/extcon.c ret = is_extcon_changed(edev, index, state); index 621 drivers/extcon/extcon.c int index, ret = 0; index 633 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 634 drivers/extcon/extcon.c if (index < 0) index 635 drivers/extcon/extcon.c return index; index 640 drivers/extcon/extcon.c if (!is_extcon_property_capability(edev, id, index, prop)) { index 650 drivers/extcon/extcon.c if (!is_extcon_attached(edev, index)) { index 655 drivers/extcon/extcon.c cable = &edev->cables[index]; index 700 drivers/extcon/extcon.c int index, ret = 0; index 710 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 711 drivers/extcon/extcon.c if (index < 0) index 712 drivers/extcon/extcon.c return index; index 717 drivers/extcon/extcon.c if (!is_extcon_property_capability(edev, id, index, prop)) { index 722 drivers/extcon/extcon.c cable = &edev->cables[index]; index 785 drivers/extcon/extcon.c int index; index 795 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 796 drivers/extcon/extcon.c if (index < 0) index 797 drivers/extcon/extcon.c return index; index 799 drivers/extcon/extcon.c return is_extcon_property_capability(edev, id, index, prop); index 820 drivers/extcon/extcon.c int index, type, ret = 0; index 830 drivers/extcon/extcon.c index = find_cable_index_by_id(edev, id); index 831 drivers/extcon/extcon.c if (index < 0) index 832 drivers/extcon/extcon.c return index; index 838 drivers/extcon/extcon.c cable = &edev->cables[index]; index 1084 drivers/extcon/extcon.c int ret, index = 0; index 1096 drivers/extcon/extcon.c for (; edev->supported_cable[index] != EXTCON_NONE; index++); index 1098 drivers/extcon/extcon.c edev->max_supported = index; index 1099 drivers/extcon/extcon.c if (index > SUPPORTED_CABLE_MAX) { index 1128 drivers/extcon/extcon.c for (index = 0; index < edev->max_supported; index++) { index 1129 drivers/extcon/extcon.c cable = &edev->cables[index]; index 1131 drivers/extcon/extcon.c str = kasprintf(GFP_KERNEL, "cable.%d", index); index 1133 drivers/extcon/extcon.c for (index--; index >= 0; index--) { index 1134 drivers/extcon/extcon.c cable = &edev->cables[index]; index 1143 drivers/extcon/extcon.c cable->cable_index = index; index 1166 drivers/extcon/extcon.c for (index = 0; edev->mutually_exclusive[index]; index++) index 1169 drivers/extcon/extcon.c edev->attrs_muex = kcalloc(index + 1, index 1177 drivers/extcon/extcon.c edev->d_attrs_muex = kcalloc(index, index 1186 drivers/extcon/extcon.c for (index = 0; edev->mutually_exclusive[index]; index++) { index 1188 drivers/extcon/extcon.c edev->mutually_exclusive[index]); index 1190 drivers/extcon/extcon.c for (index--; index >= 0; index--) { index 1191 drivers/extcon/extcon.c kfree(edev->d_attrs_muex[index].attr. index 1199 drivers/extcon/extcon.c sysfs_attr_init(&edev->d_attrs_muex[index].attr); index 1200 drivers/extcon/extcon.c edev->d_attrs_muex[index].attr.name = name; index 1201 drivers/extcon/extcon.c edev->d_attrs_muex[index].attr.mode = 0000; index 1202 drivers/extcon/extcon.c edev->attrs_muex[index] = &edev->d_attrs_muex[index] index 1223 drivers/extcon/extcon.c for (index = 0; index < edev->max_supported; index++) index 1224 drivers/extcon/extcon.c edev->extcon_dev_type.groups[index] = index 1225 drivers/extcon/extcon.c &edev->cables[index].attr_g; index 1227 drivers/extcon/extcon.c edev->extcon_dev_type.groups[index] = index 1247 drivers/extcon/extcon.c for (index = 0; index < edev->max_supported; index++) index 1248 drivers/extcon/extcon.c RAW_INIT_NOTIFIER_HEAD(&edev->nh[index]); index 1266 drivers/extcon/extcon.c for (index = 0; edev->mutually_exclusive[index]; index++) index 1267 drivers/extcon/extcon.c kfree(edev->d_attrs_muex[index].attr.name); index 1272 drivers/extcon/extcon.c for (index = 0; index < edev->max_supported; index++) index 1273 drivers/extcon/extcon.c kfree(edev->cables[index].attr_g.name); index 1291 drivers/extcon/extcon.c int index; index 1309 drivers/extcon/extcon.c for (index = 0; edev->mutually_exclusive[index]; index 1310 drivers/extcon/extcon.c index++) index 1311 drivers/extcon/extcon.c kfree(edev->d_attrs_muex[index].attr.name); index 1316 drivers/extcon/extcon.c for (index = 0; index < edev->max_supported; index++) index 1317 drivers/extcon/extcon.c kfree(edev->cables[index].attr_g.name); index 1358 drivers/extcon/extcon.c struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) index 1371 drivers/extcon/extcon.c node = of_parse_phandle(dev->of_node, "extcon", index); index 1391 drivers/extcon/extcon.c struct extcon_dev *extcon_get_edev_by_phandle(struct device *dev, int index) index 518 drivers/firewire/core-card.c static atomic_t index = ATOMIC_INIT(-1); index 520 drivers/firewire/core-card.c card->index = atomic_inc_return(&index); index 439 drivers/firewire/core-cdev.c a->card = client->device->card->index; index 728 drivers/firewire/core-cdev.c req->card = card->index; index 476 drivers/firewire/core-device.c int generation, int index, u32 *data) index 478 drivers/firewire/core-device.c u64 offset = (CSR_REGISTER_BASE | CSR_CONFIG_ROM) + index * 4; index 92 drivers/firewire/core-topology.c int index, shift; index 94 drivers/firewire/core-topology.c index = (port_index + 5) / 8; index 96 drivers/firewire/core-topology.c return (sid[index] >> shift) & 0x03; index 657 drivers/firewire/ohci.c static void ar_context_link_page(struct ar_context *ctx, unsigned int index) index 661 drivers/firewire/ohci.c d = &ctx->descriptors[index]; index 670 drivers/firewire/ohci.c ctx->last_buffer_index = index; index 703 drivers/firewire/ohci.c static inline unsigned int ar_next_buffer_index(unsigned int index) index 705 drivers/firewire/ohci.c return (index + 1) % AR_BUFFERS; index 2940 drivers/firewire/ohci.c int index, ret = -EBUSY; index 2948 drivers/firewire/ohci.c index = ffs(*mask) - 1; index 2949 drivers/firewire/ohci.c if (index >= 0) { index 2950 drivers/firewire/ohci.c *mask &= ~(1 << index); index 2951 drivers/firewire/ohci.c regs = OHCI1394_IsoXmitContextBase(index); index 2952 drivers/firewire/ohci.c ctx = &ohci->it_context_list[index]; index 2960 drivers/firewire/ohci.c index = *channels & 1ULL << channel ? ffs(*mask) - 1 : -1; index 2961 drivers/firewire/ohci.c if (index >= 0) { index 2963 drivers/firewire/ohci.c *mask &= ~(1 << index); index 2964 drivers/firewire/ohci.c regs = OHCI1394_IsoRcvContextBase(index); index 2965 drivers/firewire/ohci.c ctx = &ohci->ir_context_list[index]; index 2972 drivers/firewire/ohci.c index = !ohci->mc_allocated ? ffs(*mask) - 1 : -1; index 2973 drivers/firewire/ohci.c if (index >= 0) { index 2975 drivers/firewire/ohci.c *mask &= ~(1 << index); index 2976 drivers/firewire/ohci.c regs = OHCI1394_IsoRcvContextBase(index); index 2977 drivers/firewire/ohci.c ctx = &ohci->ir_context_list[index]; index 2982 drivers/firewire/ohci.c index = -1; index 2988 drivers/firewire/ohci.c if (index < 0) index 3023 drivers/firewire/ohci.c *mask |= 1 << index; index 3036 drivers/firewire/ohci.c int index; index 3044 drivers/firewire/ohci.c index = ctx - ohci->it_context_list; index 3050 drivers/firewire/ohci.c reg_write(ohci, OHCI1394_IsoXmitIntEventClear, 1 << index); index 3051 drivers/firewire/ohci.c reg_write(ohci, OHCI1394_IsoXmitIntMaskSet, 1 << index); index 3059 drivers/firewire/ohci.c index = ctx - ohci->ir_context_list; index 3066 drivers/firewire/ohci.c reg_write(ohci, OHCI1394_IsoRecvIntEventClear, 1 << index); index 3067 drivers/firewire/ohci.c reg_write(ohci, OHCI1394_IsoRecvIntMaskSet, 1 << index); index 3084 drivers/firewire/ohci.c int index; index 3088 drivers/firewire/ohci.c index = ctx - ohci->it_context_list; index 3089 drivers/firewire/ohci.c reg_write(ohci, OHCI1394_IsoXmitIntMaskClear, 1 << index); index 3094 drivers/firewire/ohci.c index = ctx - ohci->ir_context_list; index 3095 drivers/firewire/ohci.c reg_write(ohci, OHCI1394_IsoRecvIntMaskClear, 1 << index); index 3110 drivers/firewire/ohci.c int index; index 3120 drivers/firewire/ohci.c index = ctx - ohci->it_context_list; index 3121 drivers/firewire/ohci.c ohci->it_context_mask |= 1 << index; index 3125 drivers/firewire/ohci.c index = ctx - ohci->ir_context_list; index 3126 drivers/firewire/ohci.c ohci->ir_context_mask |= 1 << index; index 3131 drivers/firewire/ohci.c index = ctx - ohci->ir_context_list; index 3132 drivers/firewire/ohci.c ohci->ir_context_mask |= 1 << index; index 3712 drivers/firewire/ohci.c version >> 16, version & 0xff, ohci->card.index, index 312 drivers/firmware/arm_scpi.c u8 index; index 594 drivers/firmware/arm_scpi.c static int scpi_dvfs_set_idx(u8 domain, u8 index) index 597 drivers/firmware/arm_scpi.c struct dvfs_set dvfs = {domain, index}; index 185 drivers/firmware/dmi_scan.c int index) index 191 drivers/firmware/dmi_scan.c if (dmi_ident[slot] || dm->length < index + 16) index 194 drivers/firmware/dmi_scan.c d = (u8 *) dm + index; index 223 drivers/firmware/dmi_scan.c int index) index 228 drivers/firmware/dmi_scan.c if (dmi_ident[slot] || dm->length <= index) index 235 drivers/firmware/dmi_scan.c d = (u8 *) dm + index; index 48 drivers/firmware/edd.c unsigned int index; index 76 drivers/firmware/edd.c return edev->index < min_t(unsigned char, edd.mbr_signature_nr, EDD_MBR_SIG_MAX); index 82 drivers/firmware/edd.c return edev->index < min_t(unsigned char, edd.edd_info_nr, EDDMAXNR); index 94 drivers/firmware/edd.c edev->index = i; index 31 drivers/firmware/efi/capsule-loader.c while (cap_info->index > 0) index 32 drivers/firmware/efi/capsule-loader.c __free_page(cap_info->pages[--cap_info->index]); index 34 drivers/firmware/efi/capsule-loader.c cap_info->index = NO_FURTHER_WRITE_ACTION; index 118 drivers/firmware/efi/capsule-loader.c cap_info->capsule = vmap(cap_info->pages, cap_info->index, index 134 drivers/firmware/efi/capsule-loader.c cap_info->index = NO_FURTHER_WRITE_ACTION; index 180 drivers/firmware/efi/capsule-loader.c if (cap_info->index < 0) index 191 drivers/firmware/efi/capsule-loader.c cap_info->pages[cap_info->index] = page; index 192 drivers/firmware/efi/capsule-loader.c cap_info->phys[cap_info->index] = page_to_phys(page); index 194 drivers/firmware/efi/capsule-loader.c cap_info->index++; index 196 drivers/firmware/efi/capsule-loader.c page = cap_info->pages[cap_info->index - 1]; index 258 drivers/firmware/efi/capsule-loader.c if (cap_info->index > 0) { index 995 drivers/firmware/efi/efi.c int rc, index; index 1009 drivers/firmware/efi/efi.c index = atomic_fetch_add_unless(&rsv->count, 1, rsv->size); index 1010 drivers/firmware/efi/efi.c if (index < rsv->size) { index 1011 drivers/firmware/efi/efi.c rsv->entry[index].base = addr; index 1012 drivers/firmware/efi/efi.c rsv->entry[index].size = size; index 95 drivers/firmware/iscsi_ibft.c u8 index; index 263 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", initiator->hdr.index); index 305 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", nic->hdr.index); index 365 drivers/firmware/iscsi_ibft.c str += sprintf(str, "%d\n", tgt->hdr.index); index 649 drivers/firmware/iscsi_ibft.c boot_kobj = iscsi_boot_create_initiator(boot_kset, hdr->index, index 665 drivers/firmware/iscsi_ibft.c boot_kobj = iscsi_boot_create_ethernet(boot_kset, hdr->index, index 681 drivers/firmware/iscsi_ibft.c boot_kobj = iscsi_boot_create_target(boot_kset, hdr->index, index 756 drivers/firmware/iscsi_ibft.c rc |= ((control->hdr.index) ? -ENODEV : 0); index 26 drivers/firmware/meson/meson_sm.c unsigned int index; index 29 drivers/firmware/meson/meson_sm.c #define CMD(d, s) { .index = (d), .smc_id = (s), } index 64 drivers/firmware/meson/meson_sm.c while (cmd->smc_id && cmd->index != cmd_index) index 232 drivers/firmware/psci/psci_checker.c struct cpuidle_driver *drv, int index) index 234 drivers/firmware/psci/psci_checker.c struct cpuidle_state *state = &drv->states[index]; index 260 drivers/firmware/psci/psci_checker.c ret = state->enter(dev, drv, index); index 297 drivers/firmware/psci/psci_checker.c int index; index 302 drivers/firmware/psci/psci_checker.c for (index = 1; index < drv->state_count; ++index) { index 304 drivers/firmware/psci/psci_checker.c struct cpuidle_state *state = &drv->states[index]; index 319 drivers/firmware/psci/psci_checker.c ret = suspend_cpu(dev, drv, index); index 328 drivers/firmware/psci/psci_checker.c if (ret == index) { index 336 drivers/firmware/psci/psci_checker.c cpu, ret, index, i); index 108 drivers/firmware/tegra/bpmp-tegra186.c unsigned int index) index 122 drivers/firmware/tegra/bpmp-tegra186.c offset = queue_size * index; index 131 drivers/firmware/tegra/bpmp-tegra186.c index, err); index 213 drivers/firmware/tegra/bpmp-tegra186.c unsigned int index = bpmp->soc->channels.thread.offset + i; index 216 drivers/firmware/tegra/bpmp-tegra186.c bpmp, index); index 37 drivers/firmware/tegra/bpmp-tegra210.c static u32 bpmp_channel_status(struct tegra_bpmp *bpmp, unsigned int index) index 41 drivers/firmware/tegra/bpmp-tegra210.c return __raw_readl(priv->arb_sema + STA_OFFSET) & CH_MASK(index); index 46 drivers/firmware/tegra/bpmp-tegra210.c unsigned int index = channel->index; index 48 drivers/firmware/tegra/bpmp-tegra210.c return bpmp_channel_status(channel->bpmp, index) == MA_ACKD(index); index 53 drivers/firmware/tegra/bpmp-tegra210.c unsigned int index = channel->index; index 55 drivers/firmware/tegra/bpmp-tegra210.c return bpmp_channel_status(channel->bpmp, index) == SL_SIGL(index); index 61 drivers/firmware/tegra/bpmp-tegra210.c unsigned int index = channel->index; index 63 drivers/firmware/tegra/bpmp-tegra210.c return bpmp_channel_status(channel->bpmp, index) == MA_FREE(index); index 69 drivers/firmware/tegra/bpmp-tegra210.c unsigned int index = channel->index; index 71 drivers/firmware/tegra/bpmp-tegra210.c return bpmp_channel_status(channel->bpmp, index) == SL_QUED(index); index 78 drivers/firmware/tegra/bpmp-tegra210.c __raw_writel(CH_MASK(channel->index), priv->arb_sema + CLR_OFFSET); index 87 drivers/firmware/tegra/bpmp-tegra210.c __raw_writel(MA_ACKD(channel->index), priv->arb_sema + SET_OFFSET); index 96 drivers/firmware/tegra/bpmp-tegra210.c __raw_writel(MA_ACKD(channel->index) ^ MA_FREE(channel->index), index 106 drivers/firmware/tegra/bpmp-tegra210.c __raw_writel(SL_QUED(channel->index), priv->arb_sema + SET_OFFSET); index 137 drivers/firmware/tegra/bpmp-tegra210.c unsigned int index) index 144 drivers/firmware/tegra/bpmp-tegra210.c writel(index << TRIGGER_ID_SHIFT | TRIGGER_CMD_GET, index 146 drivers/firmware/tegra/bpmp-tegra210.c address = readl(priv->atomics + RESULT_OFFSET(index)); index 154 drivers/firmware/tegra/bpmp-tegra210.c channel->index = index; index 196 drivers/firmware/tegra/bpmp-tegra210.c unsigned int index = bpmp->soc->channels.thread.offset + i; index 199 drivers/firmware/tegra/bpmp-tegra210.c bpmp, index); index 82 drivers/firmware/tegra/bpmp.c int index; index 86 drivers/firmware/tegra/bpmp.c index = channel - channel->bpmp->threaded_channels; index 87 drivers/firmware/tegra/bpmp.c if (index < 0 || index >= count) index 90 drivers/firmware/tegra/bpmp.c return index; index 220 drivers/firmware/tegra/bpmp.c int index; index 222 drivers/firmware/tegra/bpmp.c index = tegra_bpmp_channel_get_thread_index(channel); index 223 drivers/firmware/tegra/bpmp.c if (index < 0) { index 224 drivers/firmware/tegra/bpmp.c err = index; index 230 drivers/firmware/tegra/bpmp.c clear_bit(index, bpmp->threaded.allocated); index 260 drivers/firmware/tegra/bpmp.c unsigned int index; index 269 drivers/firmware/tegra/bpmp.c index = find_first_zero_bit(bpmp->threaded.allocated, count); index 270 drivers/firmware/tegra/bpmp.c if (index == count) { index 275 drivers/firmware/tegra/bpmp.c channel = &bpmp->threaded_channels[index]; index 282 drivers/firmware/tegra/bpmp.c set_bit(index, bpmp->threaded.allocated); index 289 drivers/firmware/tegra/bpmp.c set_bit(index, bpmp->threaded.busy); index 295 drivers/firmware/tegra/bpmp.c clear_bit(index, bpmp->threaded.allocated); index 2119 drivers/firmware/ti_sci.c u32 valid_params, u16 nav_id, u16 index, index 2147 drivers/firmware/ti_sci.c req->index = index; index 2166 drivers/firmware/ti_sci.c dev_dbg(dev, "RM_RA:config ring %u ret:%d\n", index, ret); index 2188 drivers/firmware/ti_sci.c u32 nav_id, u32 index, u8 *mode, index 2216 drivers/firmware/ti_sci.c req->index = index; index 2245 drivers/firmware/ti_sci.c dev_dbg(dev, "RM_RA:get config ring %u ret:%d\n", index, ret); index 2399 drivers/firmware/ti_sci.c req->index = params->index; index 2427 drivers/firmware/ti_sci.c dev_dbg(dev, "TX_CH_CFG: chn %u ret:%u\n", params->index, ret); index 2469 drivers/firmware/ti_sci.c req->index = params->index; index 2496 drivers/firmware/ti_sci.c dev_dbg(dev, "RX_CH_CFG: chn %u ret:%d\n", params->index, ret); index 677 drivers/firmware/ti_sci.h u16 index; index 701 drivers/firmware/ti_sci.h u16 index; index 981 drivers/firmware/ti_sci.h u16 index; index 1101 drivers/firmware/ti_sci.h u16 index; index 644 drivers/fpga/dfl-afu-main.c ret = afu_mmio_region_get_by_index(pdata, rinfo.index, ®ion); index 33 drivers/fpga/dfl-afu-region.c if (region->index == region_index) index 60 drivers/fpga/dfl-afu-region.c region->index = region_index; index 35 drivers/fpga/dfl-afu.h u32 index; index 475 drivers/fpga/dfl.c int ret, index = 0; index 522 drivers/fpga/dfl.c struct dfl_feature *feature = &pdata->features[index]; index 526 drivers/fpga/dfl.c feature->resource_index = index; index 528 drivers/fpga/dfl.c fdev->resource[index++] = finfo->mmio_res; index 255 drivers/fpga/fpga-mgr.c int index; index 277 drivers/fpga/fpga-mgr.c for (index = 0; index < nr_pages; index++) { index 279 drivers/fpga/fpga-mgr.c pages[index] = vmalloc_to_page(p); index 281 drivers/fpga/fpga-mgr.c pages[index] = kmap_to_page((void *)p); index 282 drivers/fpga/fpga-mgr.c if (!pages[index]) { index 293 drivers/fpga/fpga-mgr.c rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), index 927 drivers/fsi/fsi-core.c static int fsi_adjust_index(int index) index 930 drivers/fsi/fsi-core.c return index; index 932 drivers/fsi/fsi-core.c return index + 1; index 28 drivers/gpio/gpio-exar.c int index; index 122 drivers/gpio/gpio-exar.c int index, ret; index 147 drivers/gpio/gpio-exar.c index = ida_simple_get(&ida_index, 0, 0, GFP_KERNEL); index 148 drivers/gpio/gpio-exar.c if (index < 0) { index 149 drivers/gpio/gpio-exar.c ret = index; index 153 drivers/gpio/gpio-exar.c sprintf(exar_gpio->name, "exar_gpio%d", index); index 164 drivers/gpio/gpio-exar.c exar_gpio->index = index; index 177 drivers/gpio/gpio-exar.c ida_simple_remove(&ida_index, index); index 187 drivers/gpio/gpio-exar.c ida_simple_remove(&ida_index, exar_gpio->index); index 56 drivers/gpio/gpio-grgpio.c s8 index; /* Index into struct grgpio_priv's uirqs, or -1 */ index 109 drivers/gpio/gpio-grgpio.c if (priv->lirqs[offset].index < 0) index 211 drivers/gpio/gpio-grgpio.c if (priv->imask & BIT(i) && lirq->index >= 0 && index 212 drivers/gpio/gpio-grgpio.c priv->uirqs[lirq->index].uirq == irq) { index 244 drivers/gpio/gpio-grgpio.c if (lirq->index < 0) index 254 drivers/gpio/gpio-grgpio.c uirq = &priv->uirqs[lirq->index]; index 283 drivers/gpio/gpio-grgpio.c int index; index 296 drivers/gpio/gpio-grgpio.c index = -1; index 302 drivers/gpio/gpio-grgpio.c index = lirq->index; index 306 drivers/gpio/gpio-grgpio.c WARN_ON(index < 0); index 308 drivers/gpio/gpio-grgpio.c if (index >= 0) { index 309 drivers/gpio/gpio-grgpio.c uirq = &priv->uirqs[lirq->index]; index 402 drivers/gpio/gpio-grgpio.c lirq->index = irqmap[i]; index 404 drivers/gpio/gpio-grgpio.c if (lirq->index < 0) index 407 drivers/gpio/gpio-grgpio.c ret = platform_get_irq(ofdev, lirq->index); index 415 drivers/gpio/gpio-grgpio.c priv->uirqs[lirq->index].uirq = ret; index 211 drivers/gpio/gpio-lpc18xx.c int ret, index; index 226 drivers/gpio/gpio-lpc18xx.c index = of_property_match_string(dev->of_node, "reg-names", index 228 drivers/gpio/gpio-lpc18xx.c if (index < 0) { index 233 drivers/gpio/gpio-lpc18xx.c ret = of_address_to_resource(dev->of_node, index, &res); index 331 drivers/gpio/gpio-lpc18xx.c int index, ret; index 340 drivers/gpio/gpio-lpc18xx.c index = of_property_match_string(dev->of_node, "reg-names", "gpio"); index 341 drivers/gpio/gpio-lpc18xx.c if (index < 0) { index 347 drivers/gpio/gpio-lpc18xx.c ret = of_address_to_resource(dev->of_node, index, &res); index 244 drivers/gpio/gpio-max3191x.c unsigned long in, shift, index; index 253 drivers/gpio/gpio-max3191x.c index = bit / BITS_PER_LONG; index 254 drivers/gpio/gpio-max3191x.c bits[index] &= ~(mask[index] & (0xff << shift)); index 255 drivers/gpio/gpio-max3191x.c bits[index] |= mask[index] & (in << shift); /* copy bits */ index 144 drivers/gpio/gpio-mb86s7x.c int irq, index; index 146 drivers/gpio/gpio-mb86s7x.c for (index = 0;; index++) { index 147 drivers/gpio/gpio-mb86s7x.c irq = platform_get_irq(to_platform_device(gc->parent), index); index 77 drivers/gpio/gpio-mockup.c static int gpio_mockup_range_base(unsigned int index) index 79 drivers/gpio/gpio-mockup.c return gpio_mockup_ranges[index * 2]; index 82 drivers/gpio/gpio-mockup.c static int gpio_mockup_range_ngpio(unsigned int index) index 84 drivers/gpio/gpio-mockup.c return gpio_mockup_ranges[index * 2 + 1]; index 42 drivers/gpio/gpio-timberdale.c static int timbgpio_update_bit(struct gpio_chip *gpio, unsigned index, index 52 drivers/gpio/gpio-timberdale.c reg |= (1 << index); index 54 drivers/gpio/gpio-timberdale.c reg &= ~(1 << index); index 110 drivers/gpio/gpio-xilinx.c int index = xgpio_index(chip, gpio); index 113 drivers/gpio/gpio-xilinx.c spin_lock_irqsave(&chip->gpio_lock[index], flags); index 117 drivers/gpio/gpio-xilinx.c chip->gpio_state[index] |= BIT(offset); index 119 drivers/gpio/gpio-xilinx.c chip->gpio_state[index] &= ~BIT(offset); index 122 drivers/gpio/gpio-xilinx.c xgpio_regoffset(chip, gpio), chip->gpio_state[index]); index 124 drivers/gpio/gpio-xilinx.c spin_unlock_irqrestore(&chip->gpio_lock[index], flags); index 141 drivers/gpio/gpio-xilinx.c int index = xgpio_index(chip, 0); index 144 drivers/gpio/gpio-xilinx.c spin_lock_irqsave(&chip->gpio_lock[index], flags); index 151 drivers/gpio/gpio-xilinx.c if (index != xgpio_index(chip, i)) { index 153 drivers/gpio/gpio-xilinx.c index * XGPIO_CHANNEL_OFFSET, index 154 drivers/gpio/gpio-xilinx.c chip->gpio_state[index]); index 155 drivers/gpio/gpio-xilinx.c spin_unlock_irqrestore(&chip->gpio_lock[index], flags); index 156 drivers/gpio/gpio-xilinx.c index = xgpio_index(chip, i); index 157 drivers/gpio/gpio-xilinx.c spin_lock_irqsave(&chip->gpio_lock[index], flags); index 162 drivers/gpio/gpio-xilinx.c chip->gpio_state[index] |= BIT(offset); index 164 drivers/gpio/gpio-xilinx.c chip->gpio_state[index] &= ~BIT(offset); index 169 drivers/gpio/gpio-xilinx.c index * XGPIO_CHANNEL_OFFSET, chip->gpio_state[index]); index 171 drivers/gpio/gpio-xilinx.c spin_unlock_irqrestore(&chip->gpio_lock[index], flags); index 187 drivers/gpio/gpio-xilinx.c int index = xgpio_index(chip, gpio); index 190 drivers/gpio/gpio-xilinx.c spin_lock_irqsave(&chip->gpio_lock[index], flags); index 193 drivers/gpio/gpio-xilinx.c chip->gpio_dir[index] |= BIT(offset); index 195 drivers/gpio/gpio-xilinx.c xgpio_regoffset(chip, gpio), chip->gpio_dir[index]); index 197 drivers/gpio/gpio-xilinx.c spin_unlock_irqrestore(&chip->gpio_lock[index], flags); index 218 drivers/gpio/gpio-xilinx.c int index = xgpio_index(chip, gpio); index 221 drivers/gpio/gpio-xilinx.c spin_lock_irqsave(&chip->gpio_lock[index], flags); index 225 drivers/gpio/gpio-xilinx.c chip->gpio_state[index] |= BIT(offset); index 227 drivers/gpio/gpio-xilinx.c chip->gpio_state[index] &= ~BIT(offset); index 229 drivers/gpio/gpio-xilinx.c xgpio_regoffset(chip, gpio), chip->gpio_state[index]); index 232 drivers/gpio/gpio-xilinx.c chip->gpio_dir[index] &= ~BIT(offset); index 234 drivers/gpio/gpio-xilinx.c xgpio_regoffset(chip, gpio), chip->gpio_dir[index]); index 236 drivers/gpio/gpio-xilinx.c spin_unlock_irqrestore(&chip->gpio_lock[index], flags); index 496 drivers/gpio/gpiolib-acpi.c const char *name, int index, index 506 drivers/gpio/gpiolib-acpi.c if (!strcmp(name, gm->name) && gm->data && index < gm->size) { index 507 drivers/gpio/gpiolib-acpi.c const struct acpi_gpio_params *par = gm->data + index; index 628 drivers/gpio/gpiolib-acpi.c int index; index 648 drivers/gpio/gpiolib-acpi.c lookup->index++; index 650 drivers/gpio/gpiolib-acpi.c if (lookup->n++ != lookup->index) index 708 drivers/gpio/gpiolib-acpi.c const char *propname, int index, index 716 drivers/gpio/gpiolib-acpi.c ret = __acpi_node_get_property_reference(fwnode, propname, index, 3, index 724 drivers/gpio/gpiolib-acpi.c if (!acpi_get_driver_gpio_data(adev, propname, index, &args, index 737 drivers/gpio/gpiolib-acpi.c lookup->index = args.args[0]; index 770 drivers/gpio/gpiolib-acpi.c const char *propname, int index, index 780 drivers/gpio/gpiolib-acpi.c lookup.index = index; index 786 drivers/gpio/gpiolib-acpi.c propname, index, &lookup); index 791 drivers/gpio/gpiolib-acpi.c dev_name(&lookup.info.adev->dev), lookup.index, index 794 drivers/gpio/gpiolib-acpi.c dev_dbg(&adev->dev, "GPIO: looking up %d in _CRS\n", index); index 878 drivers/gpio/gpiolib-acpi.c const char *propname, int index, index 887 drivers/gpio/gpiolib-acpi.c return acpi_get_gpiod_by_index(adev, propname, index, info); index 896 drivers/gpio/gpiolib-acpi.c lookup.index = index; index 898 drivers/gpio/gpiolib-acpi.c ret = acpi_gpio_property_lookup(fwnode, propname, index, &lookup); index 920 drivers/gpio/gpiolib-acpi.c int acpi_dev_gpio_irq_get(struct acpi_device *adev, int index) index 926 drivers/gpio/gpiolib-acpi.c for (i = 0, idx = 0; idx <= index; i++) { index 936 drivers/gpio/gpiolib-acpi.c if (info.gpioint && idx++ == index) { index 948 drivers/gpio/gpiolib-acpi.c snprintf(label, sizeof(label), "GpioInt() %d", index); index 51 drivers/gpio/gpiolib-acpi.h const char *propname, int index, index 86 drivers/gpio/gpiolib-acpi.h int index, struct acpi_gpio_info *info) index 149 drivers/gpio/gpiolib-devres.c const char *propname, int index, index 156 drivers/gpio/gpiolib-devres.c desc = gpiod_get_from_of_node(node, propname, index, dflags, label); index 204 drivers/gpio/gpiolib-devres.c const char *con_id, int index, index 227 drivers/gpio/gpiolib-devres.c desc = fwnode_get_named_gpiod(child, prop_name, index, flags, index 258 drivers/gpio/gpiolib-devres.c unsigned int index, index 263 drivers/gpio/gpiolib-devres.c desc = devm_gpiod_get_index(dev, con_id, index, flags); index 131 drivers/gpio/gpiolib-of.c int index) index 200 drivers/gpio/gpiolib-of.c if (cs == index) { index 250 drivers/gpio/gpiolib-of.c const char *propname, int index, enum of_gpio_flags *flags) index 257 drivers/gpio/gpiolib-of.c ret = of_parse_phandle_with_args_map(np, propname, "gpio", index, index 261 drivers/gpio/gpiolib-of.c __func__, propname, np, index); index 276 drivers/gpio/gpiolib-of.c of_gpio_flags_quirks(np, propname, flags, index); index 279 drivers/gpio/gpiolib-of.c __func__, propname, np, index, index 289 drivers/gpio/gpiolib-of.c int index, enum of_gpio_flags *flags) index 293 drivers/gpio/gpiolib-of.c desc = of_get_named_gpiod_flags(np, list_name, index, flags); index 317 drivers/gpio/gpiolib-of.c const char *propname, int index, index 331 drivers/gpio/gpiolib-of.c index, &flags); index 799 drivers/gpio/gpiolib-of.c int index = 0, ret; index 809 drivers/gpio/gpiolib-of.c for (;; index++) { index 811 drivers/gpio/gpiolib-of.c index, &pinspec); index 824 drivers/gpio/gpiolib-of.c index, &name); index 855 drivers/gpio/gpiolib-of.c index, &name); index 4628 drivers/gpio/gpiolib.c const char *propname, int index, index 4641 drivers/gpio/gpiolib.c propname, index, index 4648 drivers/gpio/gpiolib.c desc = acpi_node_get_gpiod(fwnode, propname, index, &info); index 4685 drivers/gpio/gpiolib.c unsigned int index, index 4690 drivers/gpio/gpiolib.c desc = gpiod_get_index(dev, con_id, index, flags); index 4994 drivers/gpio/gpiolib.c loff_t index = *pos; index 5000 drivers/gpio/gpiolib.c if (index-- == 0) { index 156 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c .drm_render_minor = adev->ddev->render->index, index 41 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u8 index) index 95 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, GPIO_I2C_Info); index 103 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { index 131 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, GPIO_I2C_Info); index 137 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { index 165 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, GPIO_Pin_LUT); index 174 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { index 268 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, Object_Header); index 274 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (!amdgpu_atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) index 295 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, Object_Header); index 311 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (!amdgpu_atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) index 561 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); index 566 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 715 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, GFX_Info); index 720 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 754 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 760 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, &size, index 781 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 788 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, &size, index 885 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, ASIC_InternalSS_Info); index 902 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, &size, index 1003 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(COMMAND, ComputeMemoryEnginePLL); index 1009 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1021 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1041 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1059 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1070 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1092 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(COMMAND, ComputeMemoryClockParam); index 1098 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1111 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1141 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(COMMAND, DynamicMemorySettings); index 1153 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1160 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); index 1169 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 1193 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetVoltage); index 1196 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1207 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1216 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1239 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetVoltage); index 1242 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1252 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1269 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, ASIC_ProfilingInfo); index 1279 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (!amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, &size, index 1359 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(COMMAND, GetVoltageInfo); index 1379 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1420 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 1426 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, &size, index 1464 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 1469 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, &size, index 1500 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 1507 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, &size, index 1571 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, VRAM_Info); index 1579 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, &size, index 1660 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, GPUVirtualizationInfo); index 1664 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, &size, index 1768 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c int index = GetIndexIntoMasterTable(DATA, VRAM_UsageByFirmware); index 1775 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (amdgpu_atom_parse_data_header(ctx, index, NULL, NULL, NULL, &data_offset)) { index 33 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 37 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, NULL, index 52 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 56 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(adev->mode_info.atom_context, index, NULL, index 70 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 77 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(ctx, index, NULL, NULL, NULL, &data_offset)) { index 130 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index; index 139 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 142 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 146 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, &size, index 229 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index; index 237 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 240 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 243 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index, &size, index 281 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index; index 287 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 291 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index, &size, &frev, &crev, &data_offset)) { index 315 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index; index 321 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 325 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index, &size, &frev, &crev, &data_offset)) { index 350 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int ret = -EINVAL, index; index 352 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 354 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 375 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 377 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 398 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 400 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 431 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c int index; index 435 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 437 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 67 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h amdgpu_bo_list_array_entry(struct amdgpu_bo_list *list, unsigned index) index 71 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h return &array[index]; index 59 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c unsigned index) index 64 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return RREG32_IDX(index); index 66 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return RREG32_PCIE(index); index 68 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return RREG32_SMC(index); index 70 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return RREG32_UVD_CTX(index); index 72 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return RREG32_DIDT(index); index 74 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return RREG32_GC_CAC(index); index 76 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return RREG32_SE_CAC(index); index 87 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c unsigned index, uint32_t value) index 92 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return WREG32_IDX(index, value); index 94 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return WREG32_PCIE(index, value); index 96 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return WREG32_SMC(index, value); index 98 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return WREG32_UVD_CTX(index, value); index 100 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return WREG32_DIDT(index, value); index 102 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return WREG32_GC_CAC(index, value); index 104 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c return WREG32_SE_CAC(index, value); index 322 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c u32 amdgpu_mm_rdoorbell(struct amdgpu_device *adev, u32 index) index 324 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (index < adev->doorbell.num_doorbells) { index 325 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c return readl(adev->doorbell.ptr + index); index 327 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); index 342 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c void amdgpu_mm_wdoorbell(struct amdgpu_device *adev, u32 index, u32 v) index 344 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (index < adev->doorbell.num_doorbells) { index 345 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c writel(v, adev->doorbell.ptr + index); index 347 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c DRM_ERROR("writing beyond doorbell aperture: 0x%08x!\n", index); index 360 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c u64 amdgpu_mm_rdoorbell64(struct amdgpu_device *adev, u32 index) index 362 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (index < adev->doorbell.num_doorbells) { index 363 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c return atomic64_read((atomic64_t *)(adev->doorbell.ptr + index)); index 365 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); index 380 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c void amdgpu_mm_wdoorbell64(struct amdgpu_device *adev, u32 index, u64 v) index 382 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (index < adev->doorbell.num_doorbells) { index 383 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c atomic64_set((atomic64_t *)(adev->doorbell.ptr + index), v); index 385 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c DRM_ERROR("writing beyond doorbell aperture: 0x%08x!\n", index); index 283 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h u32 amdgpu_mm_rdoorbell(struct amdgpu_device *adev, u32 index); index 284 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h void amdgpu_mm_wdoorbell(struct amdgpu_device *adev, u32 index, u32 v); index 285 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h u64 amdgpu_mm_rdoorbell64(struct amdgpu_device *adev, u32 index); index 286 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h void amdgpu_mm_wdoorbell64(struct amdgpu_device *adev, u32 index, u64 v); index 288 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h #define RDOORBELL32(index) amdgpu_mm_rdoorbell(adev, (index)) index 289 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h #define WDOORBELL32(index, v) amdgpu_mm_wdoorbell(adev, (index), (v)) index 290 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h #define RDOORBELL64(index) amdgpu_mm_rdoorbell64(adev, (index)) index 291 drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h #define WDOORBELL64(index, v) amdgpu_mm_wdoorbell64(adev, (index), (v)) index 255 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 259 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 287 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 292 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 765 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 771 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 1356 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c int index = 0; index 1376 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index++; index 1384 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c switch (index++) { index 1405 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c if (index == 1) index 395 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c uint64_t index; index 402 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index = ALIGN(adev->uvd.fw->size, 8); index 403 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c ring->fence_drv.cpu_addr = adev->uvd.inst[ring->me].cpu_addr + index; index 404 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c ring->fence_drv.gpu_addr = adev->uvd.inst[ring->me].gpu_addr + index; index 254 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (query_fw->index == 0) { index 257 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c } else if (query_fw->index == 1) { index 268 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (query_fw->index > 1) index 270 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (query_fw->index == 0) { index 279 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (query_fw->index >= adev->sdma.num_instances) index 281 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->ver = adev->sdma.instance[query_fw->index].fw_version; index 282 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c fw_info->feature = adev->sdma.instance[query_fw->index].feature_version; index 1316 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c query_fw.index = 0; index 1326 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c query_fw.index = 1; index 1353 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c query_fw.index = i; index 1372 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c query_fw.index = i; index 1472 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int channel = to_sensor_dev_attr(attr)->index; index 1515 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int hyst = to_sensor_dev_attr(attr)->index; index 1531 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int hyst = to_sensor_dev_attr(attr)->index; index 1547 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int hyst = to_sensor_dev_attr(attr)->index; index 1562 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int channel = to_sensor_dev_attr(attr)->index; index 1575 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int channel = to_sensor_dev_attr(attr)->index; index 2292 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c struct attribute *attr, int index) index 228 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c pmu_file_prefix, adev->ddev->primary->index); index 137 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c int index; index 146 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index = atomic_inc_return(&psp->fence_value); index 147 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c ret = psp_cmd_submit(psp, psp->cmd_buf_mc_addr, fence_mc_addr, index); index 154 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c while (*((unsigned int *)psp->fence_buf) != index) { index 94 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h int index); index 224 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h #define psp_cmd_submit(psp, cmd_mc, fence_mc, index) \ index 225 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h (psp)->funcs->cmd_submit((psp), (cmd_mc), (fence_mc), (index)) index 102 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h unsigned int index : 16; index 48 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c int amdgpu_sdma_get_index_from_ring(struct amdgpu_ring *ring, uint32_t *index) index 56 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c *index = i; index 69 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c uint32_t index = 0; index 75 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c r = amdgpu_sdma_get_index_from_ring(ring, &index); index 77 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c if (r || index > 31) index 82 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c index * AMDGPU_CSA_SDMA_SIZE; index 105 drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h int amdgpu_sdma_get_index_from_ring(struct amdgpu_ring *ring, uint32_t *index); index 577 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c int lo, int hi, unsigned size, int32_t index) index 579 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c int64_t offset = ((uint64_t)size) * ((int64_t)index); index 589 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c if (index >= 0) { index 601 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c addr, lo, hi, size, index); index 625 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c int lo, int hi, unsigned size, uint32_t index) index 632 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c if (index == 0xffffffff) index 633 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index = 0; index 637 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c addr += ((uint64_t)size) * ((uint64_t)index); index 642 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c addr, lo, hi, size, index); index 655 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c addr -= ((uint64_t)size) * ((uint64_t)index); index 33 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c int index; index 42 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c index = adev->virt.vf_errors.write_count % AMDGPU_VF_ERROR_ENTRY_SIZE; index 43 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.code [index] = error_code; index 44 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.flags [index] = error_flags; index 45 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.data [index] = error_data; index 55 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c int index; index 76 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c index =adev->virt.vf_errors.read_count % AMDGPU_VF_ERROR_ENTRY_SIZE; index 77 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c data1 = AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(adev->virt.vf_errors.code[index], index 78 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c adev->virt.vf_errors.flags[index]); index 79 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c data2 = adev->virt.vf_errors.data[index] & 0xFFFFFFFF; index 80 drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c data3 = (adev->virt.vf_errors.data[index] >> 32) & 0xFFFFFFFF; index 68 drivers/gpu/drm/amd/amdgpu/atom.c static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params); index 69 drivers/gpu/drm/amd/amdgpu/atom.c int amdgpu_atom_execute_table(struct atom_context *ctx, int index, uint32_t * params); index 105 drivers/gpu/drm/amd/amdgpu/atom.c uint32_t index, uint32_t data) index 139 drivers/gpu/drm/amd/amdgpu/atom.c ((index >> CU8(base + 2)) & index 1201 drivers/gpu/drm/amd/amdgpu/atom.c static int amdgpu_atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params) index 1203 drivers/gpu/drm/amd/amdgpu/atom.c int base = CU16(ctx->cmd_table + 4 + 2 * index); index 1262 drivers/gpu/drm/amd/amdgpu/atom.c int amdgpu_atom_execute_table(struct atom_context *ctx, int index, uint32_t * params) index 1278 drivers/gpu/drm/amd/amdgpu/atom.c r = amdgpu_atom_execute_table_locked(ctx, index, params); index 1387 drivers/gpu/drm/amd/amdgpu/atom.c bool amdgpu_atom_parse_data_header(struct atom_context *ctx, int index, index 1391 drivers/gpu/drm/amd/amdgpu/atom.c int offset = index * 2 + 4; index 1395 drivers/gpu/drm/amd/amdgpu/atom.c if (!mdt[index]) index 1408 drivers/gpu/drm/amd/amdgpu/atom.c bool amdgpu_atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t * frev, index 1411 drivers/gpu/drm/amd/amdgpu/atom.c int offset = index * 2 + 4; index 1415 drivers/gpu/drm/amd/amdgpu/atom.c if (!mct[index]) index 153 drivers/gpu/drm/amd/amdgpu/atom.h bool amdgpu_atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, index 155 drivers/gpu/drm/amd/amdgpu/atom.h bool amdgpu_atom_parse_cmd_header(struct atom_context *ctx, int index, index 47 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_OverScan); index 81 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 90 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableScaler); index 110 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 118 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = index 127 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 135 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableCRTC); index 143 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 151 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, BlankCRTC); index 159 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 167 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableDispPowerGating); index 175 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 180 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableDispPowerGating); index 187 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 197 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_UsingDTDTiming); index 232 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 248 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableSpreadSpectrumOnPPLL); index 297 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 322 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index; index 379 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index = GetIndexIntoMasterTable(COMMAND, AdjustDisplayPll); index 380 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, index 399 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index, (uint32_t *)&args); index 432 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index, (uint32_t *)&args); index 475 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index; index 480 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index = GetIndexIntoMasterTable(COMMAND, SetPixelClock); index 481 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, index 518 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 530 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index; index 536 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index = GetIndexIntoMasterTable(COMMAND, SetDCEClock); index 537 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, index 548 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 593 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, SetPixelClock); index 598 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, index 744 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 65 drivers/gpu/drm/amd/amdgpu/atombios_dp.c int index = GetIndexIntoMasterTable(COMMAND, ProcessAuxChannelTransaction); index 85 drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 298 drivers/gpu/drm/amd/amdgpu/atombios_dp.c int index = GetIndexIntoMasterTable(COMMAND, DPEncoderService); index 307 drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 200 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c "amdgpu_bl%d", dev->primary->index); index 325 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = 0; index 332 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DAC1EncoderControl); index 336 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DAC2EncoderControl); index 344 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 388 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, DVOEncoderControl); index 393 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 441 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 581 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, DIGxEncoderControl); index 603 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 747 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 770 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = 0; index 818 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DVOOutputControl); index 824 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, UNIPHYTransmitterControl); index 827 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LVTMATransmitterControl); index 831 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1172 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1183 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, UNIPHYTransmitterControl); index 1193 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1200 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1233 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, ExternalEncoderControl); index 1258 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1324 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1473 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, SelectCRTC_Source); index 1479 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1669 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 1712 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, DAC_LoadDetection); index 1717 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) index 1742 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 2004 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int index = GetIndexIntoMasterTable(DATA, LVDS_Info); index 2011 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 45 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c int index = GetIndexIntoMasterTable(COMMAND, ProcessI2cChannelTransaction); index 94 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 170 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c int index = GetIndexIntoMasterTable(COMMAND, ProcessI2cChannelTransaction); index 180 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); index 617 drivers/gpu/drm/amd/amdgpu/cik_sdma.c unsigned index; index 622 drivers/gpu/drm/amd/amdgpu/cik_sdma.c r = amdgpu_device_wb_get(adev, &index); index 626 drivers/gpu/drm/amd/amdgpu/cik_sdma.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 628 drivers/gpu/drm/amd/amdgpu/cik_sdma.c adev->wb.wb[index] = cpu_to_le32(tmp); index 642 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = le32_to_cpu(adev->wb.wb[index]); index 652 drivers/gpu/drm/amd/amdgpu/cik_sdma.c amdgpu_device_wb_free(adev, index); index 669 drivers/gpu/drm/amd/amdgpu/cik_sdma.c unsigned index; index 674 drivers/gpu/drm/amd/amdgpu/cik_sdma.c r = amdgpu_device_wb_get(adev, &index); index 678 drivers/gpu/drm/amd/amdgpu/cik_sdma.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 680 drivers/gpu/drm/amd/amdgpu/cik_sdma.c adev->wb.wb[index] = cpu_to_le32(tmp); index 704 drivers/gpu/drm/amd/amdgpu/cik_sdma.c tmp = le32_to_cpu(adev->wb.wb[index]); index 714 drivers/gpu/drm/amd/amdgpu/cik_sdma.c amdgpu_device_wb_free(adev, index); index 2672 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c static int dce_v10_0_crtc_init(struct amdgpu_device *adev, int index) index 2684 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c amdgpu_crtc->crtc_id = index; index 2685 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c adev->mode_info.crtcs[index] = amdgpu_crtc; index 2780 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c static int dce_v11_0_crtc_init(struct amdgpu_device *adev, int index) index 2792 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c amdgpu_crtc->crtc_id = index; index 2793 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c adev->mode_info.crtcs[index] = amdgpu_crtc; index 2560 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c static int dce_v6_0_crtc_init(struct amdgpu_device *adev, int index) index 2572 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c amdgpu_crtc->crtc_id = index; index 2573 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c adev->mode_info.crtcs[index] = amdgpu_crtc; index 2580 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c static int dce_v8_0_crtc_init(struct amdgpu_device *adev, int index) index 2592 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c amdgpu_crtc->crtc_id = index; index 2593 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c adev->mode_info.crtcs[index] = amdgpu_crtc; index 49 drivers/gpu/drm/amd/amdgpu/dce_virtual.c int index); index 223 drivers/gpu/drm/amd/amdgpu/dce_virtual.c static int dce_virtual_crtc_init(struct amdgpu_device *adev, int index) index 235 drivers/gpu/drm/amd/amdgpu/dce_virtual.c amdgpu_crtc->crtc_id = index; index 236 drivers/gpu/drm/amd/amdgpu/dce_virtual.c adev->mode_info.crtcs[index] = amdgpu_crtc; index 586 drivers/gpu/drm/amd/amdgpu/dce_virtual.c int index) index 595 drivers/gpu/drm/amd/amdgpu/dce_virtual.c encoder->possible_crtcs = 1 << index; index 879 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c unsigned int index; index 884 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c r = amdgpu_device_wb_get(adev, &index); index 888 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 889 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->wb.wb[index] = cpu_to_le32(0xCAFEDEAD); index 914 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c tmp = adev->wb.wb[index]; index 924 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c amdgpu_device_wb_free(adev, index); index 882 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c unsigned index; index 887 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c r = amdgpu_device_wb_get(adev, &index); index 891 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 892 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->wb.wb[index] = cpu_to_le32(0xCAFEDEAD); index 917 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c tmp = adev->wb.wb[index]; index 927 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c amdgpu_device_wb_free(adev, index); index 662 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 index, u32 sclk) index 673 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].SclkDid = (u8)dividers.post_div; index 674 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].SclkFrequency = cpu_to_be32(sclk); index 697 drivers/gpu/drm/amd/amdgpu/kv_dpm.c static int kv_set_vid(struct amdgpu_device *adev, u32 index, u32 vid) index 701 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].VoltageDownH = (u8)pi->voltage_drop_t; index 702 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].MinVddNb = index 708 drivers/gpu/drm/amd/amdgpu/kv_dpm.c static int kv_set_at(struct amdgpu_device *adev, u32 index, u32 at) index 712 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].AT = cpu_to_be16((u16)at); index 718 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 index, bool enable) index 722 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].EnabledForActivity = enable ? 1 : 0; index 2321 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u32 index, bool enable) index 2325 drivers/gpu/drm/amd/amdgpu/kv_dpm.c pi->graphics_level[index].EnabledForThrottle = enable ? 1 : 0; index 2562 drivers/gpu/drm/amd/amdgpu/kv_dpm.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 2568 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 2680 drivers/gpu/drm/amd/amdgpu/kv_dpm.c struct amdgpu_ps *rps, int index, index 2685 drivers/gpu/drm/amd/amdgpu/kv_dpm.c struct kv_pl *pl = &ps->levels[index]; index 2693 drivers/gpu/drm/amd/amdgpu/kv_dpm.c ps->num_levels = index + 1; index 2712 drivers/gpu/drm/amd/amdgpu/kv_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 2718 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 194 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c int index) index 230 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c write_frame->fence_value = index; index 509 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c int index) index 550 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c write_frame->fence_value = index; index 339 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c int index) index 380 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c write_frame->fence_value = index; index 415 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c int index) index 456 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c write_frame->fence_value = index; index 551 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c unsigned index; index 556 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c r = amdgpu_device_wb_get(adev, &index); index 560 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 562 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c adev->wb.wb[index] = cpu_to_le32(tmp); index 577 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = le32_to_cpu(adev->wb.wb[index]); index 587 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c amdgpu_device_wb_free(adev, index); index 604 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c unsigned index; index 609 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c r = amdgpu_device_wb_get(adev, &index); index 613 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 615 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c adev->wb.wb[index] = cpu_to_le32(tmp); index 643 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c tmp = le32_to_cpu(adev->wb.wb[index]); index 653 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c amdgpu_device_wb_free(adev, index); index 823 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c unsigned index; index 828 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c r = amdgpu_device_wb_get(adev, &index); index 832 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 834 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c adev->wb.wb[index] = cpu_to_le32(tmp); index 849 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = le32_to_cpu(adev->wb.wb[index]); index 859 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c amdgpu_device_wb_free(adev, index); index 876 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c unsigned index; index 881 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c r = amdgpu_device_wb_get(adev, &index); index 885 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 887 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c adev->wb.wb[index] = cpu_to_le32(tmp); index 915 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c tmp = le32_to_cpu(adev->wb.wb[index]); index 924 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c amdgpu_device_wb_free(adev, index); index 1376 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c unsigned index; index 1381 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c r = amdgpu_device_wb_get(adev, &index); index 1385 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 1387 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->wb.wb[index] = cpu_to_le32(tmp); index 1402 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c tmp = le32_to_cpu(adev->wb.wb[index]); index 1412 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c amdgpu_device_wb_free(adev, index); index 1429 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c unsigned index; index 1434 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c r = amdgpu_device_wb_get(adev, &index); index 1438 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 1440 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->wb.wb[index] = cpu_to_le32(tmp); index 1468 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c tmp = le32_to_cpu(adev->wb.wb[index]); index 1478 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c amdgpu_device_wb_free(adev, index); index 889 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c unsigned index; index 894 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c r = amdgpu_device_wb_get(adev, &index); index 900 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 902 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c adev->wb.wb[index] = cpu_to_le32(tmp); index 907 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c amdgpu_device_wb_free(adev, index); index 920 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c tmp = le32_to_cpu(adev->wb.wb[index]); index 939 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c amdgpu_device_wb_free(adev, index); index 957 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c unsigned index; index 962 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c r = amdgpu_device_wb_get(adev, &index); index 968 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 970 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c adev->wb.wb[index] = cpu_to_le32(tmp); index 1002 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c tmp = le32_to_cpu(adev->wb.wb[index]); index 1015 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c amdgpu_device_wb_free(adev, index); index 1364 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c u32 index = 0; index 1367 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c amdgpu_sdma_get_index_from_ring(ring, &index); index 1368 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c if (index == 0) index 206 drivers/gpu/drm/amd/amdgpu/si_dma.c unsigned index; index 211 drivers/gpu/drm/amd/amdgpu/si_dma.c r = amdgpu_device_wb_get(adev, &index); index 215 drivers/gpu/drm/amd/amdgpu/si_dma.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 217 drivers/gpu/drm/amd/amdgpu/si_dma.c adev->wb.wb[index] = cpu_to_le32(tmp); index 230 drivers/gpu/drm/amd/amdgpu/si_dma.c tmp = le32_to_cpu(adev->wb.wb[index]); index 240 drivers/gpu/drm/amd/amdgpu/si_dma.c amdgpu_device_wb_free(adev, index); index 257 drivers/gpu/drm/amd/amdgpu/si_dma.c unsigned index; index 262 drivers/gpu/drm/amd/amdgpu/si_dma.c r = amdgpu_device_wb_get(adev, &index); index 266 drivers/gpu/drm/amd/amdgpu/si_dma.c gpu_addr = adev->wb.gpu_addr + (index * 4); index 268 drivers/gpu/drm/amd/amdgpu/si_dma.c adev->wb.wb[index] = cpu_to_le32(tmp); index 290 drivers/gpu/drm/amd/amdgpu/si_dma.c tmp = le32_to_cpu(adev->wb.wb[index]); index 300 drivers/gpu/drm/amd/amdgpu/si_dma.c amdgpu_device_wb_free(adev, index); index 3712 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 index, u16 *leakage_voltage) index 3720 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((index & 0xff00) != 0xff00) index 3723 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((index & 0xff) > SISLANDS_MAX_LEAKAGE_COUNT + 1) index 3726 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (index < SISLANDS_LEAKAGE_INDEX0) index 3730 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (si_pi->leakage_voltage.entries[i].leakage_index == index) { index 4581 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = (u8)i; index 4601 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = 0; index 4603 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; index 4605 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); index 4653 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((u32)voltage->index < adev->pm.dpm.dyn_state.cac_leakage_table.count) index 4654 drivers/gpu/drm/amd/amdgpu/si_dpm.c *std_voltage = adev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; index 4662 drivers/gpu/drm/amd/amdgpu/si_dpm.c u16 value, u8 index, index 4665 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = index; index 4896 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->initialState.levels[0].vddc.index, index 4985 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->ACPIState.levels[0].vddc.index, index 5009 drivers/gpu/drm/amd/amdgpu/si_dpm.c table->ACPIState.levels[0].vddc.index, index 5519 drivers/gpu/drm/amd/amdgpu/si_dpm.c level->vddc.index, &level->std_vddc); index 7133 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ps *rps, int index, index 7141 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct rv7xx_pl *pl = &ps->performance_levels[index]; index 7144 drivers/gpu/drm/amd/amdgpu/si_dpm.c ps->performance_level_count = index + 1; index 7172 drivers/gpu/drm/amd/amdgpu/si_dpm.c index == 0) { index 7224 drivers/gpu/drm/amd/amdgpu/si_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 7230 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, index 410 drivers/gpu/drm/amd/amdgpu/si_dpm.h uint8_t index; index 741 drivers/gpu/drm/amd/amdgpu/si_dpm.h uint8_t index; index 135 drivers/gpu/drm/amd/amdgpu/sislands_smc.h uint8_t index; index 234 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c unsigned int index, unsigned int vmid) index 245 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c (uint32_t) (adw_info->watch_mask[index] & index 250 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c addr.quad_part = (unsigned long long) adw_info->watch_address[index]; index 257 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c cntl->bitfields.mode = adw_info->watch_mode[index]; index 92 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.h uint32_t index:16; index 2144 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c dm->adev->ddev->primary->index); index 5793 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_plane_state->plane->index, index 92 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c src_name, crtc->index); index 149 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c src_name, crtc->index); index 212 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c DRM_DEBUG_DRIVER("No amd connector matching CRTC-%d\n", crtc->index); index 158 drivers/gpu/drm/amd/display/dc/basics/vector.c uint32_t index) index 160 drivers/gpu/drm/amd/display/dc/basics/vector.c if (vector->container == NULL || index >= vector->count) index 162 drivers/gpu/drm/amd/display/dc/basics/vector.c return vector->container + (index * vector->struct_size); index 167 drivers/gpu/drm/amd/display/dc/basics/vector.c uint32_t index) index 169 drivers/gpu/drm/amd/display/dc/basics/vector.c if (index >= vector->count) index 172 drivers/gpu/drm/amd/display/dc/basics/vector.c if (index != vector->count - 1) index 174 drivers/gpu/drm/amd/display/dc/basics/vector.c vector->container + (index * vector->struct_size), index 175 drivers/gpu/drm/amd/display/dc/basics/vector.c vector->container + ((index + 1) * vector->struct_size), index 176 drivers/gpu/drm/amd/display/dc/basics/vector.c (vector->count - index - 1) * vector->struct_size); index 185 drivers/gpu/drm/amd/display/dc/basics/vector.c uint32_t index) index 187 drivers/gpu/drm/amd/display/dc/basics/vector.c void *where = dal_vector_at_index(vector, index); index 189 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c struct graphics_object_id object_id, uint32_t index, index 209 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (number <= index) index 212 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c *src_object_id = object_id_from_bios_object_id(id[index]); index 466 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c uint32_t index, index 476 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c uint32_t index; index 506 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index = 0; index 513 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ASIC_INTERNAL_MEMORY_SS, index, &internalSS) == BP_RESULT_OK) { index 529 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index = 1; index 536 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ASIC_INTERNAL_ENGINE_SS, index, &internalSS) == BP_RESULT_OK) { index 559 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c uint32_t index; index 591 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index = 0; index 598 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ASIC_INTERNAL_MEMORY_SS, index, &internal_ss) == BP_RESULT_OK) { index 614 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index = 1; index 621 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c ASIC_INTERNAL_ENGINE_SS, index, &internal_ss) == BP_RESULT_OK) { index 650 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c uint32_t index, index 681 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (table_index != index) { index 923 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c uint32_t index, index 938 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (!index) index 952 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c if (!index) index 964 drivers/gpu/drm/amd/display/dc/bios/bios_parser.c return get_ss_info_v3_1(bp, clk_id_ss, index, ss_info); index 195 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c struct graphics_object_id object_id, uint32_t index, index 640 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c uint32_t index, index 720 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c uint32_t index, index 807 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c uint32_t index, index 829 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c return get_ss_info_v4_1(bp, signal, index, ss_info); index 831 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c return get_ss_info_v4_2(bp, signal, index, ss_info); index 84 drivers/gpu/drm/amd/display/dc/bios/command_table.c uint32_t index) index 90 drivers/gpu/drm/amd/display/dc/bios/command_table.c index, index 65 drivers/gpu/drm/amd/display/dc/bios/command_table2.c uint32_t index) index 71 drivers/gpu/drm/amd/display/dc/bios/command_table2.c index, index 1689 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.time_elapsed_in_us[surface->time.index] = index 1694 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.index++; index 1695 drivers/gpu/drm/amd/display/dc/core/dc.c if (surface->time.index >= DC_PLANE_UPDATE_TIMES_MAX) index 1696 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.index = 0; index 373 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c uint32_t index) index 376 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c nibble = buf[index / 2]; index 378 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (index % 2) index 49 drivers/gpu/drm/amd/display/dc/dc_bios_types.h struct graphics_object_id object_id, uint32_t index, index 67 drivers/gpu/drm/amd/display/dc/dc_bios_types.h uint32_t index, index 337 drivers/gpu/drm/amd/display/dc/dc_helper.c uint32_t index, uint32_t data) index 339 drivers/gpu/drm/amd/display/dc/dc_helper.c dm_write_reg(ctx, addr_index, index); index 345 drivers/gpu/drm/amd/display/dc/dc_helper.c uint32_t index) index 349 drivers/gpu/drm/amd/display/dc/dc_helper.c dm_write_reg(ctx, addr_index, index); index 358 drivers/gpu/drm/amd/display/dc/dc_helper.c uint32_t index, uint32_t reg_val, int n, index 380 drivers/gpu/drm/amd/display/dc/dc_helper.c generic_write_indirect_reg(ctx, addr_index, addr_data, index, reg_val); index 591 drivers/gpu/drm/amd/display/dc/dc_types.h unsigned int index; index 99 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c uint32_t index; index 107 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c for (index = 0; index < audio_info->mode_count; index++) { index 108 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c if (audio_info->modes[index].format_code == audio_format_code) { index 112 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c if (audio_info->modes[index].channel_count > index 114 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c max_channe_index = index; index 119 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c max_channe_index = index; index 412 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c uint32_t index; index 509 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c audio_info, audio_format_code, &index)) { index 511 drivers/gpu/drm/amd/display/dc/dce/dce_audio.c &audio_info->modes[index]; index 59 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h #define CS_COMMON_REG_LIST_DCN2_0(index, pllid) \ index 82 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h #define CS_COMMON_REG_LIST_DCN2_1(index, pllid) \ index 108 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h #define CS_COMMON_REG_LIST_DCN1_0(index, pllid) \ index 239 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c uint32_t index) index 244 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c REG_WRITE(DP_DPHY_TRAINING_PATTERN_SEL, index); index 260 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.h uint32_t index); index 1277 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c uint32_t index; index 1301 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c for (index = 0; index < audio_array_size; index++) { index 1302 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c if (clock_info[index].pixel_clock_in_10khz > index 1305 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c else if (clock_info[index].pixel_clock_in_10khz == index 1308 drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c *audio_clock_info = clock_info[index]; index 461 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c unsigned int index = 0; index 465 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c index = 0; index 468 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c index = 1; index 471 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c index = 2; index 474 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c index = 3; index 479 drivers/gpu/drm/amd/display/dc/dce110/dce110_compressor.c return index; index 718 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c uint32_t index; index 827 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c for (index = 0; index < 6; index++) { index 831 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c dst_color[index] = index 832 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c src_color[index] >> (src_bpc - dst_bpc); index 839 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c dst_color[index] <<= (16 - dst_bpc); index 874 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c for (index = 0; index < 6; index++) { index 880 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c (1 << index), index 890 drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c dst_color[index], index 344 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c #define clk_src_regs(index, id)\ index 345 drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c [index] = {\ index 359 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c #define clk_src_regs(index, id)\ index 360 drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c [index] = {\ index 849 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c uint32_t index; index 926 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c for (index = 0; index < 6; index++) { index 930 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c dst_color[index] = index 931 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c src_color[index] >> (src_bpc - dst_bpc); index 938 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c dst_color[index] <<= (16 - dst_bpc); index 970 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c for (index = 0; index < 6; index++) { index 976 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c (1 << index), index 986 drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c dst_color[index], index 211 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c uint32_t index) index 216 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c REG_WRITE(DP_DPHY_TRAINING_PATTERN_SEL, index); index 500 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h uint32_t index); index 914 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c uint32_t index; index 991 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c for (index = 0; index < 6; index++) { index 995 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c dst_color[index] = index 996 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c src_color[index] >> (src_bpc - dst_bpc); index 1003 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c dst_color[index] <<= (16 - dst_bpc); index 1035 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c for (index = 0; index < 6; index++) { index 1039 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c pattern_mask = (1 << index); index 1049 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c pattern_data = dst_color[index]; index 474 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c #define clk_src_regs(index, pllid)\ index 475 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c [index] = {\ index 476 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c CS_COMMON_REG_LIST_DCN1_0(index, pllid),\ index 1218 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c uint32_t index; index 1242 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c for (index = 0; index < audio_array_size; index++) { index 1243 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c if (clock_info[index].pixel_clock_in_10khz > index 1246 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c else if (clock_info[index].pixel_clock_in_10khz == index 1249 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.c *audio_clock_info = clock_info[index]; index 49 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c #define IND_REG(index) \ index 50 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c (enc10->link_regs->index) index 58 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c uint32_t index; index 137 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c for (index = 0; index < 6; index++) { index 141 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c dst_color[index] = index 142 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c src_color[index] >> (src_bpc - dst_bpc); index 148 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_opp.c dst_color[index] <<= (16 - dst_bpc); index 470 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c #define clk_src_regs(index, pllid)\ index 471 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c [index] = {\ index 472 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c CS_COMMON_REG_LIST_DCN2_0(index, pllid),\ index 328 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c #define clk_src_regs(index, pllid)\ index 329 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c [index] = {\ index 330 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c CS_COMMON_REG_LIST_DCN2_1(index, pllid),\ index 89 drivers/gpu/drm/amd/display/dc/dm_services.h uint32_t index) index 91 drivers/gpu/drm/amd/display/dc/dm_services.h return cgs_read_ind_register(ctx->cgs_device, addr_space, index); index 97 drivers/gpu/drm/amd/display/dc/dm_services.h uint32_t index, index 100 drivers/gpu/drm/amd/display/dc/dm_services.h cgs_write_ind_register(ctx->cgs_device, addr_space, index, value); index 49 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c int index; index 78 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c index = (bpp - table[0].bpp) * 2; index 81 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c if (index >= table_size) { index 86 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c memcpy(qps, table[index].qps, sizeof(qp_set)); index 446 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define IX_REG_SET_N(index_reg_name, data_reg_name, index, n, initial_val, ...) \ index 448 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h REG(index_reg_name), REG(data_reg_name), IND_REG(index), \ index 452 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define IX_REG_SET_2(index_reg_name, data_reg_name, index, init_value, f1, v1, f2, v2) \ index 453 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h IX_REG_SET_N(index_reg_name, data_reg_name, index, 2, init_value, \ index 458 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define IX_REG_READ(index_reg_name, data_reg_name, index) \ index 459 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h generic_read_indirect_reg(CTX, REG(index_reg_name), REG(data_reg_name), IND_REG(index)) index 463 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define IX_REG_UPDATE_N(index_reg_name, data_reg_name, index, n, ...) \ index 465 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h REG(index_reg_name), REG(data_reg_name), IND_REG(index), \ index 466 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h IX_REG_READ(index_reg_name, data_reg_name, index), \ index 469 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h #define IX_REG_UPDATE_2(index_reg_name, data_reg_name, index, f1, v1, f2, v2) \ index 470 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h IX_REG_UPDATE_N(index_reg_name, data_reg_name, index, 2,\ index 476 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h uint32_t index, uint32_t data); index 480 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h uint32_t index); index 484 drivers/gpu/drm/amd/display/dc/inc/reg_helper.h uint32_t index, uint32_t reg_val, int n, index 84 drivers/gpu/drm/amd/display/include/vector.h uint32_t index); index 89 drivers/gpu/drm/amd/display/include/vector.h uint32_t index); index 100 drivers/gpu/drm/amd/display/include/vector.h uint32_t index); index 136 drivers/gpu/drm/amd/display/include/vector.h uint32_t index) \ index 138 drivers/gpu/drm/amd/display/include/vector.h return dal_vector_at_index(vector, index); \ index 145 drivers/gpu/drm/amd/display/include/vector.h uint32_t index) \ index 147 drivers/gpu/drm/amd/display/include/vector.h dal_vector_set_at_index(vector, what, index); \ index 78 drivers/gpu/drm/amd/display/modules/color/color_gamma.c uint32_t index; index 91 drivers/gpu/drm/amd/display/modules/color/color_gamma.c for (index = seg_offset + 1; index 92 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index < seg_offset + NUM_PTS_IN_REGION; index 93 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index++) { index 94 drivers/gpu/drm/amd/display/modules/color/color_gamma.c coordinates_x[index].x = dc_fixpt_add index 95 drivers/gpu/drm/amd/display/modules/color/color_gamma.c (coordinates_x[index-1].x, increment); index 298 drivers/gpu/drm/amd/display/modules/color/color_gamma.c uint32_t index = 0; index 302 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index = 0; index 304 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index = 1; index 306 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index = 2; index 308 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index = 3; index 310 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index = 4; index 318 drivers/gpu/drm/amd/display/modules/color/color_gamma.c gamma_numerator01[index], 10000000); index 320 drivers/gpu/drm/amd/display/modules/color/color_gamma.c gamma_numerator02[index], 1000); index 322 drivers/gpu/drm/amd/display/modules/color/color_gamma.c gamma_numerator03[index], 1000); index 324 drivers/gpu/drm/amd/display/modules/color/color_gamma.c gamma_numerator04[index], 1000); index 326 drivers/gpu/drm/amd/display/modules/color/color_gamma.c gamma_numerator05[index], 1000); index 1298 drivers/gpu/drm/amd/display/modules/color/color_gamma.c int32_t index = 0, index_next = 0; index 1317 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index = dc_fixpt_floor(norm_y); index 1318 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index_f = dc_fixpt_from_int(index); index 1320 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (index < 0 || index > max_lut_index) index 1323 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index_next = (index == max_lut_index) ? index : index+1; index 1326 drivers/gpu/drm/amd/display/modules/color/color_gamma.c lut1 = ramp->entries.red[index]; index 1329 drivers/gpu/drm/amd/display/modules/color/color_gamma.c lut1 = ramp->entries.green[index]; index 1332 drivers/gpu/drm/amd/display/modules/color/color_gamma.c lut1 = ramp->entries.blue[index]; index 1477 drivers/gpu/drm/amd/display/modules/color/color_gamma.c int32_t index; index 1518 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index = dc_fixpt_floor(norm_x); index 1519 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (index < 0 || index > 255) index 1522 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index_f = dc_fixpt_from_int(index); index 1523 drivers/gpu/drm/amd/display/modules/color/color_gamma.c index_next = (index == 255) ? index : index + 1; index 1526 drivers/gpu/drm/amd/display/modules/color/color_gamma.c lut1 = rgb_user[index].r; index 1529 drivers/gpu/drm/amd/display/modules/color/color_gamma.c lut1 = rgb_user[index].g; index 1532 drivers/gpu/drm/amd/display/modules/color/color_gamma.c lut1 = rgb_user[index].b; index 875 drivers/gpu/drm/amd/display/modules/freesync/freesync.c unsigned int oldest_index = plane->time.index + 1; index 86 drivers/gpu/drm/amd/display/modules/stats/stats.c unsigned int index; index 166 drivers/gpu/drm/amd/display/modules/stats/stats.c core_stats->index = 1; index 204 drivers/gpu/drm/amd/display/modules/stats/stats.c unsigned int index = 0; index 239 drivers/gpu/drm/amd/display/modules/stats/stats.c } else if (time_index < core_stats->index && index 276 drivers/gpu/drm/amd/display/modules/stats/stats.c unsigned int index = 0; index 289 drivers/gpu/drm/amd/display/modules/stats/stats.c core_stats->index = 1; index 302 drivers/gpu/drm/amd/display/modules/stats/stats.c unsigned int index = 0; index 314 drivers/gpu/drm/amd/display/modules/stats/stats.c index = core_stats->event_index; index 320 drivers/gpu/drm/amd/display/modules/stats/stats.c memcpy(&events[index].event_string, event_string, copy_length); index 321 drivers/gpu/drm/amd/display/modules/stats/stats.c events[index].event_string[copy_length - 1] = '\0'; index 323 drivers/gpu/drm/amd/display/modules/stats/stats.c events[index].entry_id = core_stats->entry_id; index 333 drivers/gpu/drm/amd/display/modules/stats/stats.c unsigned int index = 0; index 340 drivers/gpu/drm/amd/display/modules/stats/stats.c if (core_stats->index >= core_stats->entries) index 344 drivers/gpu/drm/amd/display/modules/stats/stats.c index = core_stats->index; index 346 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].flip_timestamp_in_ns = timestamp_in_ns; index 347 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].render_time_in_us = index 348 drivers/gpu/drm/amd/display/modules/stats/stats.c (timestamp_in_ns - time[index - 1].flip_timestamp_in_ns) / 1000; index 350 drivers/gpu/drm/amd/display/modules/stats/stats.c if (index >= 10) { index 352 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].avg_render_time_in_us_last_ten += index 353 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - i].render_time_in_us; index 354 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].avg_render_time_in_us_last_ten /= 10; index 357 drivers/gpu/drm/amd/display/modules/stats/stats.c if (time[index].num_vsync_between_flips > 0) index 358 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vsync_to_flip_time_in_us = index 360 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vupdate_timestamp_in_ns) / 1000; index 362 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vsync_to_flip_time_in_us = index 364 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - 1].vupdate_timestamp_in_ns) / 1000; index 366 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].entry_id = core_stats->entry_id; index 367 drivers/gpu/drm/amd/display/modules/stats/stats.c core_stats->index++; index 376 drivers/gpu/drm/amd/display/modules/stats/stats.c unsigned int index = 0; index 385 drivers/gpu/drm/amd/display/modules/stats/stats.c if (core_stats->index >= core_stats->entries) index 389 drivers/gpu/drm/amd/display/modules/stats/stats.c index = core_stats->index; index 390 drivers/gpu/drm/amd/display/modules/stats/stats.c num_vsyncs = time[index].num_vsync_between_flips; index 395 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - 1].vupdate_timestamp_in_ns; index 397 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].flip_to_vsync_time_in_us = index 399 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - 1].flip_timestamp_in_ns) / index 403 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vupdate_timestamp_in_ns; index 406 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].v_sync_time_in_us[num_vsyncs] = index 410 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vupdate_timestamp_in_ns = timestamp_in_ns; index 411 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].num_vsync_between_flips++; index 426 drivers/gpu/drm/amd/display/modules/stats/stats.c unsigned int index = 0; index 433 drivers/gpu/drm/amd/display/modules/stats/stats.c if (core_stats->index >= core_stats->entries) index 437 drivers/gpu/drm/amd/display/modules/stats/stats.c index = core_stats->index; index 439 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].v_total_min = v_total_min; index 440 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].v_total_max = v_total_max; index 441 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].event_triggers = event_triggers; index 442 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].min_window = window_min; index 443 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].max_window = window_max; index 444 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].lfc_mid_point_in_us = lfc_mid_point_in_us; index 445 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].num_frames_inserted = inserted_frames; index 446 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].inserted_duration_in_us = inserted_duration_in_us; index 110 drivers/gpu/drm/amd/include/cgs_common.h unsigned index); index 119 drivers/gpu/drm/amd/include/cgs_common.h unsigned index, uint32_t value); index 170 drivers/gpu/drm/amd/include/cgs_common.h #define cgs_read_ind_register(dev,space,index) \ index 171 drivers/gpu/drm/amd/include/cgs_common.h CGS_CALL(read_ind_register,dev,space,index) index 172 drivers/gpu/drm/amd/include/cgs_common.h #define cgs_write_ind_register(dev,space,index,value) \ index 173 drivers/gpu/drm/amd/include/cgs_common.h CGS_CALL(write_ind_register,dev,space,index,value) index 461 drivers/gpu/drm/amd/include/pptable.h UCHAR index; index 945 drivers/gpu/drm/amd/powerplay/amd_powerplay.c uint32_t index; index 962 drivers/gpu/drm/amd/powerplay/amd_powerplay.c index = fls(hwmgr->workload_mask); index 963 drivers/gpu/drm/amd/powerplay/amd_powerplay.c index = index > 0 && index <= Workload_Policy_Max ? index - 1 : 0; index 964 drivers/gpu/drm/amd/powerplay/amd_powerplay.c workload = hwmgr->workload_setting[index]; index 967 drivers/gpu/drm/amd/powerplay/amd_powerplay.c index = fls(hwmgr->workload_mask); index 968 drivers/gpu/drm/amd/powerplay/amd_powerplay.c index = index <= Workload_Policy_Max ? index - 1 : 0; index 969 drivers/gpu/drm/amd/powerplay/amd_powerplay.c workload = hwmgr->workload_setting[index]; index 1405 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c int index = 0; index 1419 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c for (index = 0; index < display_config->num_path_including_non_display; index++) { index 1420 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (display_config->displays[index].controller_id != 0) index 1611 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c int index = 0; index 1655 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index = fls(smu->workload_mask); index 1656 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index = index > 0 && index <= WORKLOAD_POLICY_MAX ? index - 1 : 0; index 1657 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c workload = smu->workload_setting[index]; index 1699 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c uint32_t index; index 1711 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index = fls(smu->workload_mask); index 1712 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index = index > 0 && index <= WORKLOAD_POLICY_MAX ? index - 1 : 0; index 1713 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c workload = smu->workload_setting[index]; index 1716 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index = fls(smu->workload_mask); index 1717 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index = index <= WORKLOAD_POLICY_MAX ? index - 1 : 0; index 1718 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c workload = smu->workload_setting[index]; index 44 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c #define MSG_MAP(msg, index) \ index 45 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c [SMU_MSG_##msg] = {1, (index)} index 190 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c static int arcturus_get_smu_msg_index(struct smu_context *smc, uint32_t index) index 194 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (index >= SMU_MSG_MAX_COUNT) index 197 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c mapping = arcturus_message_map[index]; index 204 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c static int arcturus_get_smu_clk_index(struct smu_context *smc, uint32_t index) index 208 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (index >= SMU_CLK_COUNT) index 211 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c mapping = arcturus_clk_map[index]; index 213 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c pr_warn("Unsupported SMU clk: %d\n", index); index 220 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c static int arcturus_get_smu_feature_index(struct smu_context *smc, uint32_t index) index 224 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (index >= SMU_FEATURE_COUNT) index 227 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c mapping = arcturus_feature_mask_map[index]; index 235 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c static int arcturus_get_smu_table_index(struct smu_context *smc, uint32_t index) index 239 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (index >= SMU_TABLE_COUNT) index 242 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c mapping = arcturus_table_map[index]; index 244 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c pr_warn("Unsupported SMU table: %d\n", index); index 251 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c static int arcturus_get_pwr_src_index(struct smu_context *smc, uint32_t index) index 255 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c if (index >= SMU_POWER_SOURCE_COUNT) index 258 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c mapping = arcturus_pwr_src_map[index]; index 260 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c pr_warn("Unsupported SMU power source: %d\n", index); index 508 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c int index, ret; index 510 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 513 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c ret = smu_get_atom_data_table(smu, index, NULL, NULL, NULL, index 290 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c int index = 0; index 301 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c for (index = 0; index < display_config->num_path_including_non_display; index++) { index 302 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c if (display_config->displays[index].controller_id != 0) index 346 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c PHM_PerformanceLevelDesignation designation, uint32_t index, index 353 drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c return hwmgr->hwmgr_func->get_performance_level(hwmgr, state, designation, index, level); index 262 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c uint32_t index; index 284 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c index = fls(hwmgr->workload_mask); index 285 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c index = index > 0 && index <= Workload_Policy_Max ? index - 1 : 0; index 286 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c workload = hwmgr->workload_setting[index]; index 48 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c uint8_t index, index 63 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c if (index == tmem_id) { index 203 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 209 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c smu_atom_get_data_table(device, index, index 136 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 145 drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c index, &size, &frev, &crev); index 36 drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.h unsigned int index, index 750 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c unsigned int index, index 755 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c smu10_ps->levels[index].engine_clock = 0; index 757 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c smu10_ps->levels[index].vddc_index = 0; index 758 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c smu10_ps->level = index + 1; index 761 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c smu10_ps->levels[index].ds_divider_index = 5; index 762 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c smu10_ps->levels[index].ss_divider_index = 5; index 931 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c PHM_PerformanceLevelDesignation designation, uint32_t index, index 941 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if (index == 0) { index 1793 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t index; index 1796 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c for (index = 0; index < leakage_table->count; index++) { index 1799 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (leakage_table->leakage_id[index] == *voltage) { index 1800 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c *voltage = leakage_table->actual_voltage[index]; index 2245 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t index; index 2248 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c for (index = 0; index < leakage_table->count; index++) { index 2251 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (leakage_table->leakage_id[index] == *voltage) { index 2252 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c *voltage = leakage_table->actual_voltage[index]; index 3066 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); index 3071 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c fw_info = (ATOM_FIRMWARE_INFO_V2_2 *)smu_atom_get_data_table(hwmgr->adev, index, index 3320 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c unsigned int index, const void *clock_info) index 5073 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c PHM_PerformanceLevelDesignation designation, uint32_t index, index 5086 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c i = index > ps->performance_level_count - 1 ? index 5087 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c ps->performance_level_count - 1 : index; index 1336 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c unsigned int index, index 1345 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c uint8_t clock_info_index = smu8_clock_info->index; index 1350 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_ps->levels[index].engineClock = table->entries[clock_info_index].clk; index 1351 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_ps->levels[index].vddcIndex = (uint8_t)table->entries[clock_info_index].v; index 1353 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_ps->level = index + 1; index 1356 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_ps->levels[index].dsDividerIndex = 5; index 1357 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c smu8_ps->levels[index].ssDividerIndex = 5; index 1552 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c PHM_PerformanceLevelDesignation designation, uint32_t index, index 1566 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c level_index = index > ps->level - 1 ? ps->level - 1 : index; index 109 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c int phm_wait_on_register(struct pp_hwmgr *hwmgr, uint32_t index, index 121 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c cur_value = cgs_read_register(hwmgr->device, index); index 141 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t index, index 150 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c cgs_write_register(hwmgr->device, indirect_port, index); index 155 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t index, index 166 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c index); index 180 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t index, index 187 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c cgs_write_register(hwmgr->device, indirect_port, index); index 362 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t index, uint32_t pcie_gen, index 366 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c dpm_table->dpm_level[index].value = pcie_gen; index 367 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c dpm_table->dpm_level[index].param1 = pcie_lanes; index 368 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c dpm_table->dpm_level[index].enabled = 1; index 63 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h uint32_t index, index 67 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h uint32_t indirect_port, uint32_t index, index 81 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h extern void phm_setup_pcie_table_entry(void *table, uint32_t index, uint32_t pcie_gen, uint32_t pcie_lanes); index 99 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h extern int phm_wait_on_register(struct pp_hwmgr *hwmgr, uint32_t index, index 104 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h uint32_t index, index 163 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WAIT_INDIRECT_REGISTER_GIVEN_INDEX(hwmgr, port, index, value, mask) \ index 164 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h phm_wait_on_indirect_register(hwmgr, mm##port##_INDEX, index, value, mask) index 174 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h #define PHM_WAIT_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, port, index, value, mask) \ index 176 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h mm##port##_INDEX, index, value, mask) index 188 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h port, index, value, mask) \ index 190 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h mm##port##_INDEX_11, index, value, mask) index 202 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h port, index, value, mask) \ index 204 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h mm##port##_INDEX_11, index, value, mask) index 215 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h index, value, mask) \ index 217 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h index, value, mask) index 611 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c uint32_t index; index 614 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c for (index = 0; index < leakage_table->count; index++) { index 617 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (leakage_table->leakage_id[index] == *voltage) { index 618 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c *voltage = leakage_table->actual_voltage[index]; index 5246 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c PHM_PerformanceLevelDesignation designation, uint32_t index, index 5259 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c i = index > ps->performance_level_count - 1 ? index 5260 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c ps->performance_level_count - 1 : index; index 49 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c int index = GetIndexIntoMasterDataTable(powerplayinfo); index 57 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_processpptables.c smu_atom_get_data_table(hwmgr->adev, index, index 500 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c PPCLK_e clkID, uint32_t index, uint32_t *clock) index 509 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c PPSMC_MSG_GetDpmFreqByIndex, (clkID << 16 | index)) == 0, index 2636 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c PHM_PerformanceLevelDesignation designation, uint32_t index, index 46 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c int index = GetIndexIntoMasterDataTable(powerplayinfo); index 54 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c smu_atom_get_data_table(hwmgr->adev, index, index 540 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PPCLK_e clk_id, uint32_t index, uint32_t *clk) index 546 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (clk_id << 16 | index)); index 1364 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c uint32_t index, index 1378 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c switch(index) { index 2283 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c PHM_PerformanceLevelDesignation designation, uint32_t index, index 48 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c int index = GetIndexIntoMasterDataTable(powerplayinfo); index 56 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c smu_atom_get_data_table(hwmgr->adev, index, index 719 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c int index = GetIndexIntoMasterDataTable(smc_dpm_info); index 723 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c smc_dpm_table = smu_atom_get_data_table(hwmgr->adev, index, NULL, NULL, NULL), index 396 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*get_smu_msg_index)(struct smu_context *smu, uint32_t index); index 397 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*get_smu_clk_index)(struct smu_context *smu, uint32_t index); index 398 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*get_smu_feature_index)(struct smu_context *smu, uint32_t index); index 399 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*get_smu_table_index)(struct smu_context *smu, uint32_t index); index 400 drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h int (*get_smu_power_index)(struct smu_context *smu, uint32_t index); index 441 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h PHM_PerformanceLevelDesignation designation, uint32_t index, index 82 drivers/gpu/drm/amd/powerplay/inc/smu72.h uint8_t index; index 76 drivers/gpu/drm/amd/powerplay/inc/smu73.h uint8_t index; index 107 drivers/gpu/drm/amd/powerplay/inc/smu74.h uint8_t index; index 51 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h #define CLK_MAP(clk, index) \ index 52 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h [SMU_##clk] = {1, (index)} index 52 drivers/gpu/drm/amd/powerplay/navi10_ppt.c #define MSG_MAP(msg, index) \ index 53 drivers/gpu/drm/amd/powerplay/navi10_ppt.c [SMU_MSG_##msg] = {1, (index)} index 212 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_get_smu_msg_index(struct smu_context *smc, uint32_t index) index 216 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (index >= SMU_MSG_MAX_COUNT) index 219 drivers/gpu/drm/amd/powerplay/navi10_ppt.c mapping = navi10_message_map[index]; index 227 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_get_smu_clk_index(struct smu_context *smc, uint32_t index) index 231 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (index >= SMU_CLK_COUNT) index 234 drivers/gpu/drm/amd/powerplay/navi10_ppt.c mapping = navi10_clk_map[index]; index 242 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_get_smu_feature_index(struct smu_context *smc, uint32_t index) index 246 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (index >= SMU_FEATURE_COUNT) index 249 drivers/gpu/drm/amd/powerplay/navi10_ppt.c mapping = navi10_feature_mask_map[index]; index 257 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_get_smu_table_index(struct smu_context *smc, uint32_t index) index 261 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (index >= SMU_TABLE_COUNT) index 264 drivers/gpu/drm/amd/powerplay/navi10_ppt.c mapping = navi10_table_map[index]; index 272 drivers/gpu/drm/amd/powerplay/navi10_ppt.c static int navi10_get_pwr_src_index(struct smu_context *smc, uint32_t index) index 276 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (index >= SMU_POWER_SOURCE_COUNT) index 279 drivers/gpu/drm/amd/powerplay/navi10_ppt.c mapping = navi10_pwr_src_map[index]; index 403 drivers/gpu/drm/amd/powerplay/navi10_ppt.c int index, ret; index 405 drivers/gpu/drm/amd/powerplay/navi10_ppt.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 408 drivers/gpu/drm/amd/powerplay/navi10_ppt.c ret = smu_get_atom_data_table(smu, index, NULL, NULL, NULL, index 33 drivers/gpu/drm/amd/powerplay/renoir_ppt.c #define MSG_MAP(msg, index) \ index 34 drivers/gpu/drm/amd/powerplay/renoir_ppt.c [SMU_MSG_##msg] = {1, (index)} index 113 drivers/gpu/drm/amd/powerplay/renoir_ppt.c static int renoir_get_smu_msg_index(struct smu_context *smc, uint32_t index) index 117 drivers/gpu/drm/amd/powerplay/renoir_ppt.c if (index >= SMU_MSG_MAX_COUNT) index 120 drivers/gpu/drm/amd/powerplay/renoir_ppt.c mapping = renoir_message_map[index]; index 127 drivers/gpu/drm/amd/powerplay/renoir_ppt.c static int renoir_get_smu_table_index(struct smu_context *smc, uint32_t index) index 131 drivers/gpu/drm/amd/powerplay/renoir_ppt.c if (index >= SMU_TABLE_COUNT) index 134 drivers/gpu/drm/amd/powerplay/renoir_ppt.c mapping = renoir_table_map[index]; index 94 drivers/gpu/drm/amd/powerplay/smu_v11_0.c int ret = 0, index = 0; index 96 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = smu_msg_get_index(smu, msg); index 97 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (index < 0) index 98 drivers/gpu/drm/amd/powerplay/smu_v11_0.c return index; index 104 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_v11_0_send_msg_without_waiting(smu, (uint16_t)index); index 110 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_get_message_name(smu, msg), index, ret); index 122 drivers/gpu/drm/amd/powerplay/smu_v11_0.c int ret = 0, index = 0; index 124 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = smu_msg_get_index(smu, msg); index 125 drivers/gpu/drm/amd/powerplay/smu_v11_0.c if (index < 0) index 126 drivers/gpu/drm/amd/powerplay/smu_v11_0.c return index; index 131 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_get_message_name(smu, msg), index, param, ret); index 137 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_v11_0_send_msg_without_waiting(smu, (uint16_t)index); index 142 drivers/gpu/drm/amd/powerplay/smu_v11_0.c smu_get_message_name(smu, msg), index, param, ret); index 361 drivers/gpu/drm/amd/powerplay/smu_v11_0.c int ret, index; index 388 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 391 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = smu_get_atom_data_table(smu, index, &atom_table_size, &frev, &crev, index 520 drivers/gpu/drm/amd/powerplay/smu_v11_0.c int ret, index; index 527 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 530 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = smu_get_atom_data_table(smu, index, &size, &frev, &crev, index 581 drivers/gpu/drm/amd/powerplay/smu_v11_0.c int ret, index; index 588 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_command_functions_v2_1, index 591 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = amdgpu_atom_execute_table(adev->mode_info.atom_context, index, index 602 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_command_functions_v2_1, index 605 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = amdgpu_atom_execute_table(adev->mode_info.atom_context, index, index 616 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_command_functions_v2_1, index 619 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = amdgpu_atom_execute_table(adev->mode_info.atom_context, index, index 630 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_command_functions_v2_1, index 633 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = amdgpu_atom_execute_table(adev->mode_info.atom_context, index, index 644 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_command_functions_v2_1, index 647 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = amdgpu_atom_execute_table(adev->mode_info.atom_context, index, index 661 drivers/gpu/drm/amd/powerplay/smu_v11_0.c index = get_index_into_master_table(atom_master_list_of_command_functions_v2_1, index 664 drivers/gpu/drm/amd/powerplay/smu_v11_0.c ret = amdgpu_atom_execute_table(adev->mode_info.atom_context, index, index 83 drivers/gpu/drm/amd/powerplay/smu_v12_0.c int ret = 0, index = 0; index 85 drivers/gpu/drm/amd/powerplay/smu_v12_0.c index = smu_msg_get_index(smu, msg); index 86 drivers/gpu/drm/amd/powerplay/smu_v12_0.c if (index < 0) index 87 drivers/gpu/drm/amd/powerplay/smu_v12_0.c return index; index 93 drivers/gpu/drm/amd/powerplay/smu_v12_0.c smu_v12_0_send_msg_without_waiting(smu, (uint16_t)index); index 98 drivers/gpu/drm/amd/powerplay/smu_v12_0.c pr_err("Failed to send message 0x%x, response 0x%x\n", index, index 110 drivers/gpu/drm/amd/powerplay/smu_v12_0.c int ret = 0, index = 0; index 112 drivers/gpu/drm/amd/powerplay/smu_v12_0.c index = smu_msg_get_index(smu, msg); index 113 drivers/gpu/drm/amd/powerplay/smu_v12_0.c if (index < 0) index 114 drivers/gpu/drm/amd/powerplay/smu_v12_0.c return index; index 119 drivers/gpu/drm/amd/powerplay/smu_v12_0.c index, ret, param); index 125 drivers/gpu/drm/amd/powerplay/smu_v12_0.c smu_v12_0_send_msg_without_waiting(smu, (uint16_t)index); index 130 drivers/gpu/drm/amd/powerplay/smu_v12_0.c index, ret, param); index 760 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint8_t index; index 773 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c index = phm_get_voltage_index(lookup_table, index 776 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c convert_to_vid(lookup_table->entries[index].us_cac_low); index 778 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c convert_to_vid(lookup_table->entries[index].us_cac_high); index 702 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint8_t index; index 714 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c index = phm_get_voltage_index(lookup_table, index 716 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->BapmVddcVidLoSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_low); index 717 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->BapmVddcVidHiSidd[count] = convert_to_vid(lookup_table->entries[index].us_cac_mid); index 718 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c table->BapmVddcVidHiSidd2[count] = convert_to_vid(lookup_table->entries[index].us_cac_high); index 150 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c uint32_t index = SMN_MP1_SRAM_START_ADDR + index 157 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c cgs_write_register(hwmgr->device, mmMP0PUB_IND_INDEX, index); index 727 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c uint32_t index = SMN_MP1_SRAM_START_ADDR + index 736 drivers/gpu/drm/amd/powerplay/smumgr/smu8_smumgr.c cgs_write_register(hwmgr->device, mmMP0PUB_IND_INDEX, index); index 395 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint8_t index = 0; index 412 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c index = phm_get_voltage_index(vddc_lookup_table, index 415 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddc_lookup_table->entries[index].us_cac_low); index 417 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddc_lookup_table->entries[index].us_cac_mid); index 419 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddc_lookup_table->entries[index].us_cac_high); index 425 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c index = phm_get_voltage_index(vddgfx_lookup_table, index 426 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_mid)); index 428 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddgfx_lookup_table->entries[index].us_cac_high); index 432 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c index = phm_get_voltage_index(vddc_lookup_table, index 435 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddc_lookup_table->entries[index].us_cac_low); index 437 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddc_lookup_table->entries[index].us_cac_mid); index 439 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c convert_to_vid(vddc_lookup_table->entries[index].us_cac_high); index 503 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint8_t index; index 515 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c index = phm_get_voltage_index(lookup_table, index 518 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c convert_to_vid(lookup_table->entries[index].us_cac_low); index 520 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c convert_to_vid(lookup_table->entries[index].us_cac_mid); index 522 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c convert_to_vid(lookup_table->entries[index].us_cac_high); index 226 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_get_smu_table_index(struct smu_context *smc, uint32_t index) index 230 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (index >= SMU_TABLE_COUNT) index 233 drivers/gpu/drm/amd/powerplay/vega20_ppt.c mapping = vega20_table_map[index]; index 241 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_get_pwr_src_index(struct smu_context *smc, uint32_t index) index 245 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (index >= SMU_POWER_SOURCE_COUNT) index 248 drivers/gpu/drm/amd/powerplay/vega20_ppt.c mapping = vega20_pwr_src_map[index]; index 256 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_get_smu_feature_index(struct smu_context *smc, uint32_t index) index 260 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (index >= SMU_FEATURE_COUNT) index 263 drivers/gpu/drm/amd/powerplay/vega20_ppt.c mapping = vega20_feature_mask_map[index]; index 271 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_get_smu_clk_index(struct smu_context *smc, uint32_t index) index 275 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (index >= SMU_CLK_COUNT) index 278 drivers/gpu/drm/amd/powerplay/vega20_ppt.c mapping = vega20_clk_map[index]; index 286 drivers/gpu/drm/amd/powerplay/vega20_ppt.c static int vega20_get_smu_msg_index(struct smu_context *smc, uint32_t index) index 290 drivers/gpu/drm/amd/powerplay/vega20_ppt.c if (index >= SMU_MSG_MAX_COUNT) index 293 drivers/gpu/drm/amd/powerplay/vega20_ppt.c mapping = vega20_message_map[index]; index 477 drivers/gpu/drm/amd/powerplay/vega20_ppt.c int index, i, ret; index 479 drivers/gpu/drm/amd/powerplay/vega20_ppt.c index = get_index_into_master_table(atom_master_list_of_data_tables_v2_1, index 482 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_get_atom_data_table(smu, index, NULL, NULL, NULL, index 2435 drivers/gpu/drm/amd/powerplay/vega20_ppt.c uint32_t index, index 2444 drivers/gpu/drm/amd/powerplay/vega20_ppt.c switch (index) { index 2512 drivers/gpu/drm/amd/powerplay/vega20_ppt.c uint32_t index, index 2525 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = vega20_update_specified_od8_value(smu, index, value); index 2548 drivers/gpu/drm/amd/powerplay/vega20_ppt.c uint32_t od_clk, index; index 2564 drivers/gpu/drm/amd/powerplay/vega20_ppt.c index = OD8_SETTING_GFXCLK_FMAX; index 2571 drivers/gpu/drm/amd/powerplay/vega20_ppt.c index = OD8_SETTING_UCLK_FMAX; index 2585 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = vega20_update_od8_settings(smu, index, od_clk); index 517 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c u32 index; index 519 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c for_each_changed_input(state, index) { index 520 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c id_reg = reg + index; index 521 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c cfg_reg = reg + index * CU_PER_INPUT_REGS; index 522 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c if (state->active_inputs & BIT(index)) { index 524 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c to_d71_input_id(state, index), index 525 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c &st->cins[index]); index 876 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c u32 index; index 878 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c for_each_changed_input(state, index) index 879 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c malidp_write32(reg, MG_INPUT_ID0 + index * 4, index 880 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c to_d71_input_id(state, index)); index 947 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c u32 index; index 949 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c for_each_changed_input(state, index) index 950 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c malidp_write32(reg, BLK_INPUT_ID0 + index * 4, index 951 drivers/gpu/drm/arm/display/komeda/d71/d71_component.c to_d71_input_id(state, index)); index 290 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c int index = left->base.id - KOMEDA_COMPONENT_LAYER0; index 293 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c for (i = index + 1; i < pipe->n_layers; i++) index 7 drivers/gpu/drm/ast/ast_dram_tables.h u16 index; index 175 drivers/gpu/drm/ast/ast_drv.h uint32_t base, uint8_t index, index 178 drivers/gpu/drm/ast/ast_drv.h ast_io_write16(ast, base, ((u16)val << 8) | index); index 182 drivers/gpu/drm/ast/ast_drv.h uint32_t base, uint8_t index, index 185 drivers/gpu/drm/ast/ast_drv.h uint32_t base, uint8_t index); index 187 drivers/gpu/drm/ast/ast_drv.h uint32_t base, uint8_t index, uint8_t mask); index 41 drivers/gpu/drm/ast/ast_main.c uint32_t base, uint8_t index, index 45 drivers/gpu/drm/ast/ast_main.c ast_io_write8(ast, base, index); index 47 drivers/gpu/drm/ast/ast_main.c ast_set_index_reg(ast, base, index, tmp); index 51 drivers/gpu/drm/ast/ast_main.c uint32_t base, uint8_t index) index 54 drivers/gpu/drm/ast/ast_main.c ast_io_write8(ast, base, index); index 60 drivers/gpu/drm/ast/ast_main.c uint32_t base, uint8_t index, uint8_t mask) index 63 drivers/gpu/drm/ast/ast_main.c ast_io_write8(ast, base, index); index 55 drivers/gpu/drm/ast/ast_mode.c u8 index, u8 red, u8 green, index 58 drivers/gpu/drm/ast/ast_mode.c ast_io_write8(ast, AST_IO_DAC_INDEX_WRITE, index); index 78 drivers/gpu/drm/ast/ast_post.c u8 i, index, reg; index 94 drivers/gpu/drm/ast/ast_post.c index = 0xa0; index 96 drivers/gpu/drm/ast/ast_post.c ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, index, 0x00, *ext_reg_info); index 97 drivers/gpu/drm/ast/ast_post.c index++; index 315 drivers/gpu/drm/ast/ast_post.c while (dram_reg_info->index != 0xffff) { index 316 drivers/gpu/drm/ast/ast_post.c if (dram_reg_info->index == 0xff00) {/* delay fn */ index 319 drivers/gpu/drm/ast/ast_post.c } else if (dram_reg_info->index == 0x4 && ast->chip != AST2000) { index 329 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x10000 + dram_reg_info->index, data | temp); index 331 drivers/gpu/drm/ast/ast_post.c ast_write32(ast, 0x10000 + dram_reg_info->index, dram_reg_info->data); index 293 drivers/gpu/drm/drm_atomic.c int ret, index = drm_crtc_index(crtc); index 310 drivers/gpu/drm/drm_atomic.c state->crtcs[index].state = crtc_state; index 311 drivers/gpu/drm/drm_atomic.c state->crtcs[index].old_state = crtc->state; index 312 drivers/gpu/drm/drm_atomic.c state->crtcs[index].new_state = crtc_state; index 313 drivers/gpu/drm/drm_atomic.c state->crtcs[index].ptr = crtc; index 466 drivers/gpu/drm/drm_atomic.c int ret, index = drm_plane_index(plane); index 488 drivers/gpu/drm/drm_atomic.c state->planes[index].state = plane_state; index 489 drivers/gpu/drm/drm_atomic.c state->planes[index].ptr = plane; index 490 drivers/gpu/drm/drm_atomic.c state->planes[index].old_state = plane->state; index 491 drivers/gpu/drm/drm_atomic.c state->planes[index].new_state = plane_state; index 769 drivers/gpu/drm/drm_atomic.c int index, num_objs, i, ret; index 789 drivers/gpu/drm/drm_atomic.c index = state->num_private_objs; index 790 drivers/gpu/drm/drm_atomic.c memset(&state->private_objs[index], 0, sizeof(*state->private_objs)); index 796 drivers/gpu/drm/drm_atomic.c state->private_objs[index].state = obj_state; index 797 drivers/gpu/drm/drm_atomic.c state->private_objs[index].old_state = obj->state; index 798 drivers/gpu/drm/drm_atomic.c state->private_objs[index].new_state = obj_state; index 799 drivers/gpu/drm/drm_atomic.c state->private_objs[index].ptr = obj; index 943 drivers/gpu/drm/drm_atomic.c int ret, index; index 953 drivers/gpu/drm/drm_atomic.c index = drm_connector_index(connector); index 955 drivers/gpu/drm/drm_atomic.c if (index >= state->num_connector) { index 957 drivers/gpu/drm/drm_atomic.c int alloc = max(index + 1, config->num_connector); index 970 drivers/gpu/drm/drm_atomic.c if (state->connectors[index].state) index 971 drivers/gpu/drm/drm_atomic.c return state->connectors[index].state; index 978 drivers/gpu/drm/drm_atomic.c state->connectors[index].state = connector_state; index 979 drivers/gpu/drm/drm_atomic.c state->connectors[index].old_state = connector->state; index 980 drivers/gpu/drm/drm_atomic.c state->connectors[index].new_state = connector_state; index 981 drivers/gpu/drm/drm_atomic.c state->connectors[index].ptr = connector; index 361 drivers/gpu/drm/drm_atomic_uapi.c unsigned int index = drm_connector_index(connector); index 369 drivers/gpu/drm/drm_atomic_uapi.c state->connectors[index].out_fence_ptr = fence_ptr; index 377 drivers/gpu/drm/drm_atomic_uapi.c unsigned int index = drm_connector_index(connector); index 380 drivers/gpu/drm/drm_atomic_uapi.c fence_ptr = state->connectors[index].out_fence_ptr; index 381 drivers/gpu/drm/drm_atomic_uapi.c state->connectors[index].out_fence_ptr = NULL; index 226 drivers/gpu/drm/drm_connector.c connector->index = ret; index 291 drivers/gpu/drm/drm_connector.c ida_simple_remove(&config->connector_ida, connector->index); index 457 drivers/gpu/drm/drm_connector.c connector->index); index 89 drivers/gpu/drm/drm_crtc.c if (idx == crtc->index) index 280 drivers/gpu/drm/drm_crtc.c crtc->index = config->num_crtc++; index 101 drivers/gpu/drm/drm_debugfs.c priv->minor->index, index 460 drivers/gpu/drm/drm_debugfs.c name = kasprintf(GFP_KERNEL, "crtc-%d", crtc->index); index 46 drivers/gpu/drm/drm_dp_aux_dev.c unsigned index; index 60 drivers/gpu/drm/drm_dp_aux_dev.c static struct drm_dp_aux_dev *drm_dp_aux_dev_get_by_minor(unsigned index) index 65 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev = idr_find(&aux_idr, index); index 76 drivers/gpu/drm/drm_dp_aux_dev.c int index; index 86 drivers/gpu/drm/drm_dp_aux_dev.c index = idr_alloc(&aux_idr, aux_dev, 0, DRM_AUX_MINORS, GFP_KERNEL); index 88 drivers/gpu/drm/drm_dp_aux_dev.c if (index < 0) { index 90 drivers/gpu/drm/drm_dp_aux_dev.c return ERR_PTR(index); index 92 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev->index = index; index 290 drivers/gpu/drm/drm_dp_aux_dev.c idr_remove(&aux_idr, aux_dev->index); index 296 drivers/gpu/drm/drm_dp_aux_dev.c minor = aux_dev->index; index 315 drivers/gpu/drm/drm_dp_aux_dev.c MKDEV(drm_dev_major, aux_dev->index), NULL, index 316 drivers/gpu/drm/drm_dp_aux_dev.c "drm_dp_aux%d", aux_dev->index); index 324 drivers/gpu/drm/drm_dp_aux_dev.c aux->name, aux_dev->index); index 138 drivers/gpu/drm/drm_drv.c minor->index = r; index 151 drivers/gpu/drm/drm_drv.c idr_remove(&drm_minors_idr, minor->index); index 171 drivers/gpu/drm/drm_drv.c idr_remove(&drm_minors_idr, minor->index); index 190 drivers/gpu/drm/drm_drv.c ret = drm_debugfs_init(minor, minor->index, drm_debugfs_root); index 202 drivers/gpu/drm/drm_drv.c idr_replace(&drm_minors_idr, minor, minor->index); index 205 drivers/gpu/drm/drm_drv.c DRM_DEBUG("new minor registered %d\n", minor->index); index 224 drivers/gpu/drm/drm_drv.c idr_replace(&drm_minors_idr, NULL, minor->index); index 906 drivers/gpu/drm/drm_drv.c name = kasprintf(GFP_KERNEL, "controlD%d", minor->index + 64); index 931 drivers/gpu/drm/drm_drv.c name = kasprintf(GFP_KERNEL, "controlD%d", minor->index + 64); index 996 drivers/gpu/drm/drm_drv.c dev->primary->index); index 143 drivers/gpu/drm/drm_encoder.c encoder->index = dev->mode_config.num_encoder++; index 666 drivers/gpu/drm/drm_fb_helper.c start = page->index << PAGE_SHIFT; index 310 drivers/gpu/drm/drm_file.c DRM_DEBUG("pid = %d, minor = %d\n", task_pid_nr(current), minor->index); index 1360 drivers/gpu/drm/drm_gem.c unsigned long index; index 1371 drivers/gpu/drm/drm_gem.c xa_for_each(fence_array, index, entry) { index 1377 drivers/gpu/drm/drm_gem.c xa_store(fence_array, index, fence, GFP_KERNEL); index 832 drivers/gpu/drm/drm_ioctl.c unsigned int index = nr - DRM_COMMAND_BASE; index 834 drivers/gpu/drm/drm_ioctl.c if (index >= dev->driver->num_ioctls) index 836 drivers/gpu/drm/drm_ioctl.c index = array_index_nospec(index, dev->driver->num_ioctls); index 837 drivers/gpu/drm/drm_ioctl.c ioctl = &dev->driver->ioctls[index]; index 709 drivers/gpu/drm/drm_modes.c int index) index 714 drivers/gpu/drm/drm_modes.c ret = of_get_videomode(np, &vm, index); index 1270 drivers/gpu/drm/drm_modes.c int index = status + 3; index 1272 drivers/gpu/drm/drm_modes.c if (WARN_ON(index < 0 || index >= ARRAY_SIZE(drm_mode_status_names))) index 1275 drivers/gpu/drm/drm_modes.c return drm_mode_status_names[index]; index 37 drivers/gpu/drm/drm_of.c unsigned int index = 0; index 42 drivers/gpu/drm/drm_of.c return 1 << index; index 44 drivers/gpu/drm/drm_of.c index++; index 263 drivers/gpu/drm/drm_plane.c plane->index = config->num_total_plane++; index 399 drivers/gpu/drm/drm_plane.c if (idx == plane->index) index 953 drivers/gpu/drm/drm_prime.c u32 len, index; index 956 drivers/gpu/drm/drm_prime.c index = 0; index 963 drivers/gpu/drm/drm_prime.c if (WARN_ON(index >= max_entries)) index 966 drivers/gpu/drm/drm_prime.c pages[index] = page; index 968 drivers/gpu/drm/drm_prime.c addrs[index] = addr; index 973 drivers/gpu/drm/drm_prime.c index++; index 394 drivers/gpu/drm/drm_property.c int index = 0; index 414 drivers/gpu/drm/drm_property.c index++; index 417 drivers/gpu/drm/drm_property.c if (WARN_ON(index >= property->num_values)) index 428 drivers/gpu/drm/drm_property.c property->values[index] = value; index 286 drivers/gpu/drm/drm_sysfs.c "card%d-%s", dev->primary->index, index 404 drivers/gpu/drm/drm_sysfs.c kdev->devt = MKDEV(DRM_MAJOR, minor->index); index 411 drivers/gpu/drm/drm_sysfs.c r = dev_set_name(kdev, minor_str, minor->index); index 37 drivers/gpu/drm/etnaviv/etnaviv_buffer.c u32 index = reg >> VIV_FE_LOAD_STATE_HEADER_OFFSET__SHR; index 44 drivers/gpu/drm/etnaviv/etnaviv_buffer.c VIV_FE_LOAD_STATE_HEADER_OFFSET(index)); index 52 drivers/gpu/drm/etnaviv/etnaviv_iommu.c unsigned int index = (iova - GPU_MEM_START) / SZ_4K; index 57 drivers/gpu/drm/etnaviv/etnaviv_iommu.c v1_context->pgtable_cpu[index] = paddr; index 66 drivers/gpu/drm/etnaviv/etnaviv_iommu.c unsigned int index = (iova - GPU_MEM_START) / SZ_4K; index 71 drivers/gpu/drm/etnaviv/etnaviv_iommu.c v1_context->pgtable_cpu[index] = context->global->bad_page_dma; index 445 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c unsigned int index) index 456 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c if (index - offset >= meta->nr_domains) { index 461 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c domain = meta->domains + (index - offset); index 406 drivers/gpu/drm/exynos/exynos5433_drm_decon.c unsigned int win = plane->index; index 460 drivers/gpu/drm/exynos/exynos5433_drm_decon.c unsigned int win = plane->index; index 390 drivers/gpu/drm/exynos/exynos7_drm_decon.c unsigned int win = plane->index; index 481 drivers/gpu/drm/exynos/exynos7_drm_decon.c unsigned int win = plane->index; index 90 drivers/gpu/drm/exynos/exynos_drm_drv.h unsigned int index; index 142 drivers/gpu/drm/exynos/exynos_drm_fb.c dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index) index 146 drivers/gpu/drm/exynos/exynos_drm_fb.c if (WARN_ON_ONCE(index >= MAX_FB_BUFFER)) index 149 drivers/gpu/drm/exynos/exynos_drm_fb.c exynos_gem = to_exynos_gem(fb->obj[index]); index 150 drivers/gpu/drm/exynos/exynos_drm_fb.c return exynos_gem->dma_addr + fb->offsets[index]; index 21 drivers/gpu/drm/exynos/exynos_drm_fb.h dma_addr_t exynos_drm_fb_dma_addr(struct drm_framebuffer *fb, int index); index 798 drivers/gpu/drm/exynos/exynos_drm_fimd.c unsigned int win = plane->index; index 887 drivers/gpu/drm/exynos/exynos_drm_fimd.c unsigned int win = plane->index; index 1026 drivers/gpu/drm/exynos/exynos_drm_g2d.c int index; index 1035 drivers/gpu/drm/exynos/exynos_drm_g2d.c index = cmdlist->last - 2 * (i + 1); index 1037 drivers/gpu/drm/exynos/exynos_drm_g2d.c reg_offset = cmdlist->data[index] & ~0xfffff000; index 1056 drivers/gpu/drm/exynos/exynos_drm_g2d.c if ((cmdlist->data[index] & ~0x7fffffff) >> 31) { index 1058 drivers/gpu/drm/exynos/exynos_drm_g2d.c cmdlist->data[index] &= ~G2D_BUF_USERPTR; index 1070 drivers/gpu/drm/exynos/exynos_drm_g2d.c buf_desc->stride = cmdlist->data[index + 1]; index 1080 drivers/gpu/drm/exynos/exynos_drm_g2d.c value = cmdlist->data[index + 1]; index 1092 drivers/gpu/drm/exynos/exynos_drm_g2d.c value = cmdlist->data[index + 1]; index 1105 drivers/gpu/drm/exynos/exynos_drm_g2d.c value = cmdlist->data[index + 1]; index 1120 drivers/gpu/drm/exynos/exynos_drm_g2d.c dev_err(g2d->dev, "Bad register offset: 0x%lx\n", cmdlist->data[index]); index 295 drivers/gpu/drm/exynos/exynos_drm_plane.c struct exynos_drm_plane *exynos_plane, unsigned int index, index 317 drivers/gpu/drm/exynos/exynos_drm_plane.c exynos_plane->index = index; index 8 drivers/gpu/drm/exynos/exynos_drm_plane.h struct exynos_drm_plane *exynos_plane, unsigned int index, index 589 drivers/gpu/drm/exynos/exynos_mixer.c mixer_cfg_layer(ctx, plane->index, priority, true); index 606 drivers/gpu/drm/exynos/exynos_mixer.c unsigned int win = plane->index; index 954 drivers/gpu/drm/exynos/exynos_mixer.c DRM_DEV_DEBUG_KMS(mixer_ctx->dev, "win: %d\n", plane->index); index 959 drivers/gpu/drm/exynos/exynos_mixer.c if (plane->index == VP_DEFAULT_WIN) index 971 drivers/gpu/drm/exynos/exynos_mixer.c DRM_DEV_DEBUG_KMS(mixer_ctx->dev, "win: %d\n", plane->index); index 977 drivers/gpu/drm/exynos/exynos_mixer.c mixer_cfg_layer(mixer_ctx, plane->index, 0, false); index 25 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c unsigned int index; index 27 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c index = drm_plane_index(plane); index 28 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c if (index < total_layer) index 29 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c return total_layer - index - 1; index 64 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c int index; index 66 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c index = fsl_dcu_drm_plane_index(plane); index 67 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c if (index < 0) index 70 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_read(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), &value); index 72 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), value); index 84 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c int index; index 89 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c index = fsl_dcu_drm_plane_index(plane); index 90 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c if (index < 0) index 127 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 1), index 130 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 2), index 134 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c DCU_CTRLDESCLN(index, 3), gem->paddr); index 135 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), index 140 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 5), index 144 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 6), index 148 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 7), 0); index 149 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 8), index 151 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 9), index 155 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 10), index 1438 drivers/gpu/drm/gma500/cdv_intel_dp.c int vswing, premph, index; index 1467 drivers/gpu/drm/gma500/cdv_intel_dp.c index = (vswing + premph) * 2; index 1471 drivers/gpu/drm/gma500/cdv_intel_dp.c cdv_sb_write(dev, ddi_reg->VSwing2, dp_vswing_premph_table[index]); index 1491 drivers/gpu/drm/gma500/cdv_intel_dp.c index = 2 * premph + 1; index 1492 drivers/gpu/drm/gma500/cdv_intel_dp.c cdv_sb_write(dev, ddi_reg->PreEmph2, dp_vswing_premph_table[index]); index 22 drivers/gpu/drm/gma500/intel_bios.c int index = 0; index 27 drivers/gpu/drm/gma500/intel_bios.c index += bdb->header_size; index 31 drivers/gpu/drm/gma500/intel_bios.c while (index < total) { index 32 drivers/gpu/drm/gma500/intel_bios.c current_id = *(base + index); index 33 drivers/gpu/drm/gma500/intel_bios.c index++; index 34 drivers/gpu/drm/gma500/intel_bios.c current_size = *((u16 *)(base + index)); index 35 drivers/gpu/drm/gma500/intel_bios.c index += 2; index 37 drivers/gpu/drm/gma500/intel_bios.c return base + index; index 38 drivers/gpu/drm/gma500/intel_bios.c index += current_size; index 311 drivers/gpu/drm/gma500/mmu.c pt->index = 0; index 319 drivers/gpu/drm/gma500/mmu.c uint32_t index = psb_mmu_pd_index(addr); index 325 drivers/gpu/drm/gma500/mmu.c pt = pd->tables[index]; index 333 drivers/gpu/drm/gma500/mmu.c if (pd->tables[index]) { index 337 drivers/gpu/drm/gma500/mmu.c pt = pd->tables[index]; index 342 drivers/gpu/drm/gma500/mmu.c pd->tables[index] = pt; index 343 drivers/gpu/drm/gma500/mmu.c v[index] = (page_to_pfn(pt->p) << 12) | pd->pd_mask; index 344 drivers/gpu/drm/gma500/mmu.c pt->index = index; index 348 drivers/gpu/drm/gma500/mmu.c psb_mmu_clflush(pd->driver, (void *)&v[index]); index 359 drivers/gpu/drm/gma500/mmu.c uint32_t index = psb_mmu_pd_index(addr); index 364 drivers/gpu/drm/gma500/mmu.c pt = pd->tables[index]; index 381 drivers/gpu/drm/gma500/mmu.c v[pt->index] = pd->invalid_pde; index 382 drivers/gpu/drm/gma500/mmu.c pd->tables[pt->index] = NULL; index 385 drivers/gpu/drm/gma500/mmu.c psb_mmu_clflush(pd->driver, (void *)&v[pt->index]); index 37 drivers/gpu/drm/gma500/mmu.h uint32_t index; index 85 drivers/gpu/drm/i915/display/intel_bios.c int index = 0; index 90 drivers/gpu/drm/i915/display/intel_bios.c index += bdb->header_size; index 94 drivers/gpu/drm/i915/display/intel_bios.c while (index + 3 < total) { index 95 drivers/gpu/drm/i915/display/intel_bios.c current_id = *(base + index); index 96 drivers/gpu/drm/i915/display/intel_bios.c current_size = _get_blocksize(base + index); index 97 drivers/gpu/drm/i915/display/intel_bios.c index += 3; index 99 drivers/gpu/drm/i915/display/intel_bios.c if (index + current_size > total) index 103 drivers/gpu/drm/i915/display/intel_bios.c return base + index; index 105 drivers/gpu/drm/i915/display/intel_bios.c index += current_size; index 164 drivers/gpu/drm/i915/display/intel_bios.c int index) index 178 drivers/gpu/drm/i915/display/intel_bios.c char *entry = (char *)lvds_lfp_data->data + lfp_data_size * index; index 190 drivers/gpu/drm/i915/display/intel_bios.c int index) index 196 drivers/gpu/drm/i915/display/intel_bios.c if (index >= ARRAY_SIZE(ptrs->ptr)) index 198 drivers/gpu/drm/i915/display/intel_bios.c ofs = ptrs->ptr[index].fp_timing_offset; index 358 drivers/gpu/drm/i915/display/intel_bios.c int index; index 360 drivers/gpu/drm/i915/display/intel_bios.c index = i915_modparams.vbt_sdvo_panel_type; index 361 drivers/gpu/drm/i915/display/intel_bios.c if (index == -2) { index 366 drivers/gpu/drm/i915/display/intel_bios.c if (index == -1) { index 373 drivers/gpu/drm/i915/display/intel_bios.c index = sdvo_lvds_options->panel_type; index 384 drivers/gpu/drm/i915/display/intel_bios.c fill_detail_timing_data(panel_fixed_mode, &dtds->dtds[index]); index 928 drivers/gpu/drm/i915/display/intel_bios.c int index = 0; index 935 drivers/gpu/drm/i915/display/intel_bios.c for (i = 0; i < MAX_MIPI_CONFIGURATIONS && index < total; i++) { index 936 drivers/gpu/drm/i915/display/intel_bios.c if (index + header_size > total) { index 941 drivers/gpu/drm/i915/display/intel_bios.c current_id = *(data + index); index 943 drivers/gpu/drm/i915/display/intel_bios.c current_size = *((const u32 *)(data + index + 1)); index 945 drivers/gpu/drm/i915/display/intel_bios.c current_size = *((const u16 *)(data + index + 1)); index 947 drivers/gpu/drm/i915/display/intel_bios.c index += header_size; index 949 drivers/gpu/drm/i915/display/intel_bios.c if (index + current_size > total) { index 956 drivers/gpu/drm/i915/display/intel_bios.c return data + index; index 959 drivers/gpu/drm/i915/display/intel_bios.c index += current_size; index 967 drivers/gpu/drm/i915/display/intel_bios.c static int goto_next_sequence(const u8 *data, int index, int total) index 972 drivers/gpu/drm/i915/display/intel_bios.c for (index = index + 1; index < total; index += len) { index 973 drivers/gpu/drm/i915/display/intel_bios.c u8 operation_byte = *(data + index); index 974 drivers/gpu/drm/i915/display/intel_bios.c index++; index 978 drivers/gpu/drm/i915/display/intel_bios.c return index; index 980 drivers/gpu/drm/i915/display/intel_bios.c if (index + 4 > total) index 983 drivers/gpu/drm/i915/display/intel_bios.c len = *((const u16 *)(data + index + 2)) + 4; index 992 drivers/gpu/drm/i915/display/intel_bios.c if (index + 7 > total) index 994 drivers/gpu/drm/i915/display/intel_bios.c len = *(data + index + 6) + 7; index 1005 drivers/gpu/drm/i915/display/intel_bios.c static int goto_next_sequence_v3(const u8 *data, int index, int total) index 1021 drivers/gpu/drm/i915/display/intel_bios.c index++; index 1028 drivers/gpu/drm/i915/display/intel_bios.c size_of_sequence = *((const u32 *)(data + index)); index 1029 drivers/gpu/drm/i915/display/intel_bios.c index += 4; index 1031 drivers/gpu/drm/i915/display/intel_bios.c seq_end = index + size_of_sequence; index 1037 drivers/gpu/drm/i915/display/intel_bios.c for (; index < total; index += len) { index 1038 drivers/gpu/drm/i915/display/intel_bios.c u8 operation_byte = *(data + index); index 1039 drivers/gpu/drm/i915/display/intel_bios.c index++; index 1042 drivers/gpu/drm/i915/display/intel_bios.c if (index != seq_end) { index 1046 drivers/gpu/drm/i915/display/intel_bios.c return index; index 1049 drivers/gpu/drm/i915/display/intel_bios.c len = *(data + index); index 1050 drivers/gpu/drm/i915/display/intel_bios.c index++; index 1081 drivers/gpu/drm/i915/display/intel_bios.c int index, len; index 1087 drivers/gpu/drm/i915/display/intel_bios.c for (index = 1; data[index] != MIPI_SEQ_ELEM_END; index += len) { index 1088 drivers/gpu/drm/i915/display/intel_bios.c switch (data[index]) { index 1090 drivers/gpu/drm/i915/display/intel_bios.c return index == 1 ? 0 : index; index 1163 drivers/gpu/drm/i915/display/intel_bios.c int index = 0; index 1194 drivers/gpu/drm/i915/display/intel_bios.c u8 seq_id = *(data + index); index 1207 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.dsi.sequence[seq_id] = data + index; index 1210 drivers/gpu/drm/i915/display/intel_bios.c index = goto_next_sequence_v3(data, index, seq_size); index 1212 drivers/gpu/drm/i915/display/intel_bios.c index = goto_next_sequence(data, index, seq_size); index 1213 drivers/gpu/drm/i915/display/intel_bios.c if (!index) { index 1222 drivers/gpu/drm/i915/display/intel_display_types.h u32 (*get_aux_clock_divider)(struct intel_dp *dp, int index); index 1231 drivers/gpu/drm/i915/display/intel_display_types.h i915_reg_t (*aux_ch_data_reg)(struct intel_dp *dp, int index); index 464 drivers/gpu/drm/i915/display/intel_dp.c int index; index 466 drivers/gpu/drm/i915/display/intel_dp.c index = intel_dp_rate_index(intel_dp->common_rates, index 469 drivers/gpu/drm/i915/display/intel_dp.c if (index > 0) { index 472 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->common_rates[index - 1], index 477 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->max_link_rate = intel_dp->common_rates[index - 1]; index 1164 drivers/gpu/drm/i915/display/intel_dp.c static u32 g4x_get_aux_clock_divider(struct intel_dp *intel_dp, int index) index 1168 drivers/gpu/drm/i915/display/intel_dp.c if (index) index 1178 drivers/gpu/drm/i915/display/intel_dp.c static u32 ilk_get_aux_clock_divider(struct intel_dp *intel_dp, int index) index 1183 drivers/gpu/drm/i915/display/intel_dp.c if (index) index 1197 drivers/gpu/drm/i915/display/intel_dp.c static u32 hsw_get_aux_clock_divider(struct intel_dp *intel_dp, int index) index 1204 drivers/gpu/drm/i915/display/intel_dp.c switch (index) { index 1211 drivers/gpu/drm/i915/display/intel_dp.c return ilk_get_aux_clock_divider(intel_dp, index); index 1214 drivers/gpu/drm/i915/display/intel_dp.c static u32 skl_get_aux_clock_divider(struct intel_dp *intel_dp, int index) index 1221 drivers/gpu/drm/i915/display/intel_dp.c return index ? 0 : 1; index 1571 drivers/gpu/drm/i915/display/intel_dp.c static i915_reg_t g4x_aux_data_reg(struct intel_dp *intel_dp, int index) index 1581 drivers/gpu/drm/i915/display/intel_dp.c return DP_AUX_CH_DATA(aux_ch, index); index 1584 drivers/gpu/drm/i915/display/intel_dp.c return DP_AUX_CH_DATA(AUX_CH_B, index); index 1607 drivers/gpu/drm/i915/display/intel_dp.c static i915_reg_t ilk_aux_data_reg(struct intel_dp *intel_dp, int index) index 1615 drivers/gpu/drm/i915/display/intel_dp.c return DP_AUX_CH_DATA(aux_ch, index); index 1619 drivers/gpu/drm/i915/display/intel_dp.c return PCH_DP_AUX_CH_DATA(aux_ch, index); index 1622 drivers/gpu/drm/i915/display/intel_dp.c return DP_AUX_CH_DATA(AUX_CH_A, index); index 1646 drivers/gpu/drm/i915/display/intel_dp.c static i915_reg_t skl_aux_data_reg(struct intel_dp *intel_dp, int index) index 1659 drivers/gpu/drm/i915/display/intel_dp.c return DP_AUX_CH_DATA(aux_ch, index); index 1662 drivers/gpu/drm/i915/display/intel_dp.c return DP_AUX_CH_DATA(AUX_CH_A, index); index 1911 drivers/gpu/drm/i915/display/intel_dp.c int index; index 1918 drivers/gpu/drm/i915/display/intel_dp.c index = intel_dp_rate_index(intel_dp->common_rates, index 1921 drivers/gpu/drm/i915/display/intel_dp.c if (index >= 0) index 1922 drivers/gpu/drm/i915/display/intel_dp.c limits->min_clock = limits->max_clock = index; index 6654 drivers/gpu/drm/i915/display/intel_dp.c enum drrs_refresh_rate_type index = DRRS_HIGH_RR; index 6678 drivers/gpu/drm/i915/display/intel_dp.c index = DRRS_LOW_RR; index 6680 drivers/gpu/drm/i915/display/intel_dp.c if (index == dev_priv->drrs.refresh_rate_type) { index 6692 drivers/gpu/drm/i915/display/intel_dp.c switch (index) { index 6708 drivers/gpu/drm/i915/display/intel_dp.c if (index > DRRS_HIGH_RR) { index 6722 drivers/gpu/drm/i915/display/intel_dp.c dev_priv->drrs.refresh_rate_type = index; index 589 drivers/gpu/drm/i915/display/intel_pipe_crc.c struct intel_pipe_crc *pipe_crc = &dev_priv->pipe_crc[crtc->index]; index 602 drivers/gpu/drm/i915/display/intel_pipe_crc.c power_domain = POWER_DOMAIN_PIPE(crtc->index); index 613 drivers/gpu/drm/i915/display/intel_pipe_crc.c ret = get_new_crc_ctl_reg(dev_priv, crtc->index, &source, &val); index 618 drivers/gpu/drm/i915/display/intel_pipe_crc.c I915_WRITE(PIPE_CRC_CTL(crtc->index), val); index 619 drivers/gpu/drm/i915/display/intel_pipe_crc.c POSTING_READ(PIPE_CRC_CTL(crtc->index)); index 623 drivers/gpu/drm/i915/display/intel_pipe_crc.c vlv_undo_pipe_scramble_reset(dev_priv, crtc->index); index 641 drivers/gpu/drm/i915/display/intel_pipe_crc.c struct intel_pipe_crc *pipe_crc = &dev_priv->pipe_crc[crtc->index]; index 647 drivers/gpu/drm/i915/display/intel_pipe_crc.c if (get_new_crc_ctl_reg(dev_priv, crtc->index, &pipe_crc->source, &val) < 0) index 653 drivers/gpu/drm/i915/display/intel_pipe_crc.c I915_WRITE(PIPE_CRC_CTL(crtc->index), val); index 654 drivers/gpu/drm/i915/display/intel_pipe_crc.c POSTING_READ(PIPE_CRC_CTL(crtc->index)); index 661 drivers/gpu/drm/i915/display/intel_pipe_crc.c struct intel_pipe_crc *pipe_crc = &dev_priv->pipe_crc[crtc->index]; index 668 drivers/gpu/drm/i915/display/intel_pipe_crc.c I915_WRITE(PIPE_CRC_CTL(crtc->index), 0); index 669 drivers/gpu/drm/i915/display/intel_pipe_crc.c POSTING_READ(PIPE_CRC_CTL(crtc->index)); index 119 drivers/gpu/drm/i915/gem/i915_gem_context.c if (lut->handle != iter.index) index 149 drivers/gpu/drm/i915/gem/i915_gem_pages.c radix_tree_delete(&obj->mm.get_page.radix, iter.index); index 326 drivers/gpu/drm/i915/gt/intel_mocs.c static i915_reg_t mocs_register(enum intel_engine_id engine_id, int index) index 330 drivers/gpu/drm/i915/gt/intel_mocs.c return GEN9_GFX_MOCS(index); index 332 drivers/gpu/drm/i915/gt/intel_mocs.c return GEN9_MFX0_MOCS(index); index 334 drivers/gpu/drm/i915/gt/intel_mocs.c return GEN9_BLT_MOCS(index); index 336 drivers/gpu/drm/i915/gt/intel_mocs.c return GEN9_VEBOX_MOCS(index); index 338 drivers/gpu/drm/i915/gt/intel_mocs.c return GEN9_MFX1_MOCS(index); index 340 drivers/gpu/drm/i915/gt/intel_mocs.c return GEN11_MFX2_MOCS(index); index 352 drivers/gpu/drm/i915/gt/intel_mocs.c unsigned int index) index 354 drivers/gpu/drm/i915/gt/intel_mocs.c if (table->table[index].used) index 355 drivers/gpu/drm/i915/gt/intel_mocs.c return table->table[index].control_value; index 372 drivers/gpu/drm/i915/gt/intel_mocs.c unsigned int index; index 388 drivers/gpu/drm/i915/gt/intel_mocs.c for (index = 0; index < table.size; index++) { index 389 drivers/gpu/drm/i915/gt/intel_mocs.c u32 value = get_entry_control(&table, index); index 392 drivers/gpu/drm/i915/gt/intel_mocs.c mocs_register(engine->id, index), index 397 drivers/gpu/drm/i915/gt/intel_mocs.c for (; index < table.n_entries; index++) index 399 drivers/gpu/drm/i915/gt/intel_mocs.c mocs_register(engine->id, index), index 407 drivers/gpu/drm/i915/gt/intel_mocs.c unsigned int index; index 417 drivers/gpu/drm/i915/gt/intel_mocs.c for (index = 0; index < table.size; index++) index 419 drivers/gpu/drm/i915/gt/intel_mocs.c GEN12_GLOBAL_MOCS(index), index 420 drivers/gpu/drm/i915/gt/intel_mocs.c table.table[index].control_value); index 427 drivers/gpu/drm/i915/gt/intel_mocs.c for (; index < table.n_entries; index++) index 429 drivers/gpu/drm/i915/gt/intel_mocs.c GEN12_GLOBAL_MOCS(index), index 437 drivers/gpu/drm/i915/gt/intel_mocs.c unsigned int index; index 453 drivers/gpu/drm/i915/gt/intel_mocs.c for (index = 0; index < table->size; index++) { index 454 drivers/gpu/drm/i915/gt/intel_mocs.c u32 value = get_entry_control(table, index); index 456 drivers/gpu/drm/i915/gt/intel_mocs.c *cs++ = i915_mmio_reg_offset(mocs_register(engine, index)); index 461 drivers/gpu/drm/i915/gt/intel_mocs.c for (; index < table->n_entries; index++) { index 462 drivers/gpu/drm/i915/gt/intel_mocs.c *cs++ = i915_mmio_reg_offset(mocs_register(engine, index)); index 477 drivers/gpu/drm/i915/gt/intel_mocs.c unsigned int index) index 479 drivers/gpu/drm/i915/gt/intel_mocs.c if (table->table[index].used) index 480 drivers/gpu/drm/i915/gt/intel_mocs.c return table->table[index].l3cc_value; index 695 drivers/gpu/drm/i915/gvt/cmd_parser.c static inline u32 *cmd_ptr(struct parser_exec_state *s, int index) index 697 drivers/gpu/drm/i915/gvt/cmd_parser.c return s->ip_va + (index << 2); index 700 drivers/gpu/drm/i915/gvt/cmd_parser.c static inline u32 cmd_val(struct parser_exec_state *s, int index) index 702 drivers/gpu/drm/i915/gvt/cmd_parser.c return *cmd_ptr(s, index); index 835 drivers/gpu/drm/i915/gvt/cmd_parser.c unsigned int offset, unsigned int index, char *cmd) index 844 drivers/gpu/drm/i915/gvt/cmd_parser.c data = cmd_val(s, index + 1); index 858 drivers/gpu/drm/i915/gvt/cmd_parser.c patch_value(s, cmd_ptr(s, index), nopid); index 871 drivers/gpu/drm/i915/gvt/cmd_parser.c unsigned int offset, unsigned int index) index 875 drivers/gpu/drm/i915/gvt/cmd_parser.c vgpu_vreg(s->vgpu, offset) = cmd_val(s, index + 1); index 880 drivers/gpu/drm/i915/gvt/cmd_parser.c unsigned int offset, unsigned int index, char *cmd) index 904 drivers/gpu/drm/i915/gvt/cmd_parser.c mocs_cmd_reg_handler(s, offset, index)) index 908 drivers/gpu/drm/i915/gvt/cmd_parser.c force_nonpriv_reg_handler(s, offset, index, cmd)) index 914 drivers/gpu/drm/i915/gvt/cmd_parser.c patch_value(s, cmd_ptr(s, index), VGT_PVINFO_PAGE); index 934 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 data = cmd_val(s, index + 1); index 1463 drivers/gpu/drm/i915/gvt/cmd_parser.c static unsigned long get_gma_bb_from_cmd(struct parser_exec_state *s, int index) index 1475 drivers/gpu/drm/i915/gvt/cmd_parser.c gma_low = cmd_val(s, index) & BATCH_BUFFER_ADDR_MASK; index 1479 drivers/gpu/drm/i915/gvt/cmd_parser.c gma_high = cmd_val(s, index + 1) & BATCH_BUFFER_ADDR_HIGH_MASK; index 69 drivers/gpu/drm/i915/gvt/execlist.c execlist->running_slot->index : -1, index 73 drivers/gpu/drm/i915/gvt/execlist.c execlist->pending_slot->index : -1); index 82 drivers/gpu/drm/i915/gvt/execlist.c execlist->running_slot->index : -1, index 86 drivers/gpu/drm/i915/gvt/execlist.c execlist->pending_slot->index : -1); index 104 drivers/gpu/drm/i915/gvt/execlist.c status.current_execlist_pointer = !!running->index; index 105 drivers/gpu/drm/i915/gvt/execlist.c status.execlist_write_pointer = !!!running->index; index 107 drivers/gpu/drm/i915/gvt/execlist.c !!!(running->index); index 109 drivers/gpu/drm/i915/gvt/execlist.c !!(running->index); index 305 drivers/gpu/drm/i915/gvt/execlist.c slot->index, ctx[0].context_id, index 320 drivers/gpu/drm/i915/gvt/execlist.c execlist->running_slot->index, index 336 drivers/gpu/drm/i915/gvt/execlist.c running->index, ctx0->context_id, ctx1->context_id); index 518 drivers/gpu/drm/i915/gvt/execlist.c execlist->slot[0].index = 0; index 519 drivers/gpu/drm/i915/gvt/execlist.c execlist->slot[1].index = 1; index 158 drivers/gpu/drm/i915/gvt/execlist.h u32 index; index 163 drivers/gpu/drm/i915/gvt/execlist.h u32 index; index 335 drivers/gpu/drm/i915/gvt/fb_decoder.c u32 val, mode, index; index 350 drivers/gpu/drm/i915/gvt/fb_decoder.c index = cursor_mode_to_drm(mode); index 352 drivers/gpu/drm/i915/gvt/fb_decoder.c if (!cursor_pixel_formats[index].bpp) { index 357 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->bpp = cursor_pixel_formats[index].bpp; index 358 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->drm_format = cursor_pixel_formats[index].drm_format; index 359 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->width = cursor_pixel_formats[index].width; index 360 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->height = cursor_pixel_formats[index].height; index 278 drivers/gpu/drm/i915/gvt/gtt.c static u64 read_pte64(struct drm_i915_private *dev_priv, unsigned long index) index 280 drivers/gpu/drm/i915/gvt/gtt.c void __iomem *addr = (gen8_pte_t __iomem *)dev_priv->ggtt.gsm + index; index 293 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index, u64 pte) index 295 drivers/gpu/drm/i915/gvt/gtt.c void __iomem *addr = (gen8_pte_t __iomem *)dev_priv->ggtt.gsm + index; index 302 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index, bool hypervisor_access, unsigned long gpa, index 313 drivers/gpu/drm/i915/gvt/gtt.c (index << info->gtt_entry_size_shift), index 318 drivers/gpu/drm/i915/gvt/gtt.c e->val64 = read_pte64(vgpu->gvt->dev_priv, index); index 320 drivers/gpu/drm/i915/gvt/gtt.c e->val64 = *((u64 *)pt + index); index 327 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index, bool hypervisor_access, unsigned long gpa, index 338 drivers/gpu/drm/i915/gvt/gtt.c (index << info->gtt_entry_size_shift), index 343 drivers/gpu/drm/i915/gvt/gtt.c write_pte64(vgpu->gvt->dev_priv, index, e->val64); index 345 drivers/gpu/drm/i915/gvt/gtt.c *((u64 *)pt + index) = e->val64; index 550 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index, index 560 drivers/gpu/drm/i915/gvt/gtt.c entry, index, false, 0, mm->vgpu); index 565 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 567 drivers/gpu/drm/i915/gvt/gtt.c _ppgtt_get_root_entry(mm, entry, index, true); index 571 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 573 drivers/gpu/drm/i915/gvt/gtt.c _ppgtt_get_root_entry(mm, entry, index, false); index 577 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index, index 584 drivers/gpu/drm/i915/gvt/gtt.c entry, index, false, 0, mm->vgpu); index 588 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 590 drivers/gpu/drm/i915/gvt/gtt.c _ppgtt_set_root_entry(mm, entry, index, true); index 594 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 596 drivers/gpu/drm/i915/gvt/gtt.c _ppgtt_set_root_entry(mm, entry, index, false); index 600 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 607 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->get_entry(mm->ggtt_mm.virtual_ggtt, entry, index, index 612 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 618 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->set_entry(mm->ggtt_mm.virtual_ggtt, entry, index, index 623 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 629 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->get_entry(NULL, entry, index, false, 0, mm->vgpu); index 633 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *entry, unsigned long index) index 639 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->set_entry(NULL, entry, index, false, 0, mm->vgpu); index 648 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *e, unsigned long index, index 660 drivers/gpu/drm/i915/gvt/gtt.c ret = ops->get_entry(page_table, e, index, guest, index 670 drivers/gpu/drm/i915/gvt/gtt.c type, e->type, index, e->val64); index 677 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *e, unsigned long index, index 687 drivers/gpu/drm/i915/gvt/gtt.c type, e->type, index, e->val64); index 689 drivers/gpu/drm/i915/gvt/gtt.c return ops->set_entry(page_table, e, index, guest, index 694 drivers/gpu/drm/i915/gvt/gtt.c #define ppgtt_get_guest_entry(spt, e, index) \ index 696 drivers/gpu/drm/i915/gvt/gtt.c spt->guest_page.type, e, index, true) index 698 drivers/gpu/drm/i915/gvt/gtt.c #define ppgtt_set_guest_entry(spt, e, index) \ index 700 drivers/gpu/drm/i915/gvt/gtt.c spt->guest_page.type, e, index, true) index 702 drivers/gpu/drm/i915/gvt/gtt.c #define ppgtt_get_shadow_entry(spt, e, index) \ index 704 drivers/gpu/drm/i915/gvt/gtt.c spt->shadow_page.type, e, index, false) index 706 drivers/gpu/drm/i915/gvt/gtt.c #define ppgtt_set_shadow_entry(spt, e, index) \ index 708 drivers/gpu/drm/i915/gvt/gtt.c spt->shadow_page.type, e, index, false) index 996 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index; index 1005 drivers/gpu/drm/i915/gvt/gtt.c for_each_present_shadow_entry(spt, &e, index) { index 1167 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_ppgtt_spt *spt, unsigned long index, index 1178 drivers/gpu/drm/i915/gvt/gtt.c gvt_dbg_mm("Split 2M gtt entry, index %lu\n", index); index 1209 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, se, index); index 1214 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_ppgtt_spt *spt, unsigned long index, index 1223 drivers/gpu/drm/i915/gvt/gtt.c gvt_vdbg_mm("Split 64K gtt entry, index %lu\n", index); index 1225 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(index % GTT_64K_PTE_STRIDE); index 1239 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, &entry, index + i); index 1245 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_ppgtt_spt *spt, unsigned long index, index 1270 drivers/gpu/drm/i915/gvt/gtt.c return split_64KB_gtt_entry(vgpu, spt, index, &se); index 1275 drivers/gpu/drm/i915/gvt/gtt.c return split_2MB_gtt_entry(vgpu, spt, index, &se); index 1294 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, &se, index); index 1342 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *se, unsigned long index) index 1349 drivers/gpu/drm/i915/gvt/gtt.c spt->shadow_page.type, se->val64, index); index 1352 drivers/gpu/drm/i915/gvt/gtt.c se->type, index, se->val64); index 1387 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *we, unsigned long index) index 1395 drivers/gpu/drm/i915/gvt/gtt.c we->val64, index); index 1398 drivers/gpu/drm/i915/gvt/gtt.c we->type, index, we->val64); index 1406 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_shadow_entry(spt, &m, index); index 1408 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, &m, index); index 1410 drivers/gpu/drm/i915/gvt/gtt.c ret = ppgtt_populate_shadow_entry(vgpu, spt, index, we); index 1429 drivers/gpu/drm/i915/gvt/gtt.c int index; index 1438 drivers/gpu/drm/i915/gvt/gtt.c for (index = 0; index < (I915_GTT_PAGE_SIZE >> index 1439 drivers/gpu/drm/i915/gvt/gtt.c info->gtt_entry_size_shift); index++) { index 1440 drivers/gpu/drm/i915/gvt/gtt.c ops->get_entry(oos_page->mem, &old, index, false, 0, vgpu); index 1441 drivers/gpu/drm/i915/gvt/gtt.c ops->get_entry(NULL, &new, index, true, index 1445 drivers/gpu/drm/i915/gvt/gtt.c && !test_and_clear_bit(index, spt->post_shadow_bitmap)) index 1450 drivers/gpu/drm/i915/gvt/gtt.c new.val64, index); index 1452 drivers/gpu/drm/i915/gvt/gtt.c ret = ppgtt_populate_shadow_entry(vgpu, spt, index, &new); index 1456 drivers/gpu/drm/i915/gvt/gtt.c ops->set_entry(oos_page->mem, &new, index, false, 0, vgpu); index 1593 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *we, unsigned long index) index 1609 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_shadow_entry(spt, &old_se, index); index 1612 drivers/gpu/drm/i915/gvt/gtt.c ret = ppgtt_handle_guest_entry_add(spt, we, index); index 1617 drivers/gpu/drm/i915/gvt/gtt.c ret = ppgtt_handle_guest_entry_removal(spt, &old_se, index); index 1624 drivers/gpu/drm/i915/gvt/gtt.c !(index % GTT_64K_PTE_STRIDE)) { index 1630 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, &old_se, index + i); index 1637 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, &old_se, index); index 1641 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, &old_se, index); index 1662 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index) index 1664 drivers/gpu/drm/i915/gvt/gtt.c set_bit(index, spt->post_shadow_bitmap); index 1687 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index; index 1694 drivers/gpu/drm/i915/gvt/gtt.c for_each_set_bit(index, spt->post_shadow_bitmap, index 1696 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_guest_entry(spt, &ge, index); index 1699 drivers/gpu/drm/i915/gvt/gtt.c &ge, index); index 1702 drivers/gpu/drm/i915/gvt/gtt.c clear_bit(index, spt->post_shadow_bitmap); index 1717 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index; index 1720 drivers/gpu/drm/i915/gvt/gtt.c index = (pa & (PAGE_SIZE - 1)) >> info->gtt_entry_size_shift; index 1722 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_guest_entry(spt, &we, index); index 1730 drivers/gpu/drm/i915/gvt/gtt.c (index % GTT_64K_PTE_STRIDE)) { index 1732 drivers/gpu/drm/i915/gvt/gtt.c index); index 1737 drivers/gpu/drm/i915/gvt/gtt.c ret = ppgtt_handle_guest_write_page_table(spt, &we, index); index 1741 drivers/gpu/drm/i915/gvt/gtt.c if (!test_bit(index, spt->post_shadow_bitmap)) { index 1744 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_shadow_entry(spt, &se, index); index 1745 drivers/gpu/drm/i915/gvt/gtt.c ret = ppgtt_handle_guest_entry_removal(spt, &se, index); index 1749 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_entry(spt, &se, index); index 1751 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_post_shadow(spt, index); index 1760 drivers/gpu/drm/i915/gvt/gtt.c ops->set_entry(spt->guest_page.oos_page->mem, &we, index, index 1781 drivers/gpu/drm/i915/gvt/gtt.c int index; index 1786 drivers/gpu/drm/i915/gvt/gtt.c for (index = 0; index < ARRAY_SIZE(mm->ppgtt_mm.shadow_pdps); index++) { index 1787 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_shadow_root_entry(mm, &se, index); index 1794 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_root_entry(mm, &se, index); index 1797 drivers/gpu/drm/i915/gvt/gtt.c NULL, se.type, se.val64, index); index 1812 drivers/gpu/drm/i915/gvt/gtt.c int index, ret; index 1819 drivers/gpu/drm/i915/gvt/gtt.c for (index = 0; index < ARRAY_SIZE(mm->ppgtt_mm.guest_pdps); index++) { index 1820 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_guest_root_entry(mm, &ge, index); index 1826 drivers/gpu/drm/i915/gvt/gtt.c ge.type, ge.val64, index); index 1835 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_set_shadow_root_entry(mm, &se, index); index 1838 drivers/gpu/drm/i915/gvt/gtt.c NULL, se.type, se.val64, index); index 2040 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *e, unsigned long index, bool guest) index 2051 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_shadow_entry(s, e, index); index 2053 drivers/gpu/drm/i915/gvt/gtt.c ppgtt_get_guest_entry(s, e, index); index 2147 drivers/gpu/drm/i915/gvt/gtt.c unsigned long index = off >> info->gtt_entry_size_shift; index 2154 drivers/gpu/drm/i915/gvt/gtt.c gma = index << I915_GTT_PAGE_SHIFT; index 2162 drivers/gpu/drm/i915/gvt/gtt.c ggtt_get_guest_entry(ggtt_mm, &e, index); index 2786 drivers/gpu/drm/i915/gvt/gtt.c u32 index; index 2792 drivers/gpu/drm/i915/gvt/gtt.c index = vgpu_aperture_gmadr_base(vgpu) >> PAGE_SHIFT; index 2796 drivers/gpu/drm/i915/gvt/gtt.c ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); index 2799 drivers/gpu/drm/i915/gvt/gtt.c ggtt_set_host_entry(vgpu->gtt.ggtt_mm, &entry, index++); index 2802 drivers/gpu/drm/i915/gvt/gtt.c index = vgpu_hidden_gmadr_base(vgpu) >> PAGE_SHIFT; index 2806 drivers/gpu/drm/i915/gvt/gtt.c ggtt_get_host_entry(vgpu->gtt.ggtt_mm, &old_entry, index); index 2809 drivers/gpu/drm/i915/gvt/gtt.c ggtt_set_host_entry(vgpu->gtt.ggtt_mm, &entry, index++); index 51 drivers/gpu/drm/i915/gvt/gtt.h unsigned long index, index 57 drivers/gpu/drm/i915/gvt/gtt.h unsigned long index, index 647 drivers/gpu/drm/i915/gvt/handlers.c unsigned int index; index 651 drivers/gpu/drm/i915/gvt/handlers.c index = FDI_RX_CTL_TO_PIPE(offset); index 653 drivers/gpu/drm/i915/gvt/handlers.c index = FDI_TX_CTL_TO_PIPE(offset); index 655 drivers/gpu/drm/i915/gvt/handlers.c index = FDI_RX_IMR_TO_PIPE(offset); index 663 drivers/gpu/drm/i915/gvt/handlers.c fdi_rx_iir = FDI_RX_IIR(index); index 665 drivers/gpu/drm/i915/gvt/handlers.c ret = check_fdi_rx_train_status(vgpu, index, FDI_LINK_TRAIN_PATTERN1); index 671 drivers/gpu/drm/i915/gvt/handlers.c ret = check_fdi_rx_train_status(vgpu, index, FDI_LINK_TRAIN_PATTERN2); index 691 drivers/gpu/drm/i915/gvt/handlers.c unsigned int index; index 696 drivers/gpu/drm/i915/gvt/handlers.c index = DP_TP_CTL_TO_PORT(offset); index 699 drivers/gpu/drm/i915/gvt/handlers.c status_reg = DP_TP_STATUS(index); index 1677 drivers/gpu/drm/i915/gvt/handlers.c execlist->elsp_dwords.data[3 - execlist->elsp_dwords.index] = data; index 1678 drivers/gpu/drm/i915/gvt/handlers.c if (execlist->elsp_dwords.index == 3) { index 1685 drivers/gpu/drm/i915/gvt/handlers.c ++execlist->elsp_dwords.index; index 1686 drivers/gpu/drm/i915/gvt/handlers.c execlist->elsp_dwords.index &= 0x3; index 57 drivers/gpu/drm/i915/gvt/kvmgt.c #define VFIO_PCI_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_PCI_OFFSET_SHIFT) index 936 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); index 941 drivers/gpu/drm/i915/gvt/kvmgt.c if (index >= VFIO_PCI_NUM_REGIONS + vgpu->vdev.num_regions) { index 942 drivers/gpu/drm/i915/gvt/kvmgt.c gvt_vgpu_err("invalid index: %u\n", index); index 946 drivers/gpu/drm/i915/gvt/kvmgt.c switch (index) { index 970 drivers/gpu/drm/i915/gvt/kvmgt.c if (index >= VFIO_PCI_NUM_REGIONS + vgpu->vdev.num_regions) index 973 drivers/gpu/drm/i915/gvt/kvmgt.c index -= VFIO_PCI_NUM_REGIONS; index 974 drivers/gpu/drm/i915/gvt/kvmgt.c return vgpu->vdev.region[index].ops->rw(vgpu, buf, count, index 984 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); index 989 drivers/gpu/drm/i915/gvt/kvmgt.c if (index != PCI_BASE_ADDRESS_0) index 1148 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index; index 1154 drivers/gpu/drm/i915/gvt/kvmgt.c index = vma->vm_pgoff >> (VFIO_PCI_OFFSET_SHIFT - PAGE_SHIFT); index 1155 drivers/gpu/drm/i915/gvt/kvmgt.c if (index >= VFIO_PCI_ROM_REGION_INDEX) index 1162 drivers/gpu/drm/i915/gvt/kvmgt.c if (index != VFIO_PCI_BAR2_REGION_INDEX) index 1192 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index, unsigned int start, index 1200 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index, unsigned int start, index 1207 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index, unsigned int start, unsigned int count, index 1214 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index, unsigned int start, unsigned int count, index 1235 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned int index, unsigned int start, unsigned int count, index 1238 drivers/gpu/drm/i915/gvt/kvmgt.c int (*func)(struct intel_vgpu *vgpu, unsigned int index, index 1242 drivers/gpu/drm/i915/gvt/kvmgt.c switch (index) { index 1272 drivers/gpu/drm/i915/gvt/kvmgt.c return func(vgpu, index, start, count, flags, data); index 1320 drivers/gpu/drm/i915/gvt/kvmgt.c switch (info.index) { index 1322 drivers/gpu/drm/i915/gvt/kvmgt.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 1328 drivers/gpu/drm/i915/gvt/kvmgt.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 1329 drivers/gpu/drm/i915/gvt/kvmgt.c info.size = vgpu->cfg_space.bar[info.index].size; index 1339 drivers/gpu/drm/i915/gvt/kvmgt.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 1344 drivers/gpu/drm/i915/gvt/kvmgt.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 1366 drivers/gpu/drm/i915/gvt/kvmgt.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 1370 drivers/gpu/drm/i915/gvt/kvmgt.c gvt_dbg_core("get region info bar:%d\n", info.index); index 1375 drivers/gpu/drm/i915/gvt/kvmgt.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 1379 drivers/gpu/drm/i915/gvt/kvmgt.c gvt_dbg_core("get region info index:%d\n", info.index); index 1387 drivers/gpu/drm/i915/gvt/kvmgt.c if (info.index >= VFIO_PCI_NUM_REGIONS + index 1390 drivers/gpu/drm/i915/gvt/kvmgt.c info.index = index 1391 drivers/gpu/drm/i915/gvt/kvmgt.c array_index_nospec(info.index, index 1395 drivers/gpu/drm/i915/gvt/kvmgt.c i = info.index - VFIO_PCI_NUM_REGIONS; index 1398 drivers/gpu/drm/i915/gvt/kvmgt.c VFIO_PCI_INDEX_TO_OFFSET(info.index); index 1462 drivers/gpu/drm/i915/gvt/kvmgt.c if (info.argsz < minsz || info.index >= VFIO_PCI_NUM_IRQS) index 1465 drivers/gpu/drm/i915/gvt/kvmgt.c switch (info.index) { index 1475 drivers/gpu/drm/i915/gvt/kvmgt.c info.count = intel_vgpu_get_irq_count(vgpu, info.index); index 1477 drivers/gpu/drm/i915/gvt/kvmgt.c if (info.index == VFIO_PCI_INTX_IRQ_INDEX) index 1497 drivers/gpu/drm/i915/gvt/kvmgt.c int max = intel_vgpu_get_irq_count(vgpu, hdr.index); index 1513 drivers/gpu/drm/i915/gvt/kvmgt.c ret = intel_vgpu_set_irqs(vgpu, hdr.flags, hdr.index, index 241 drivers/gpu/drm/i915/gvt/mmio_context.c unsigned int index; index 250 drivers/gpu/drm/i915/gvt/mmio_context.c for (index = 0; index < GEN9_MOCS_SIZE; index++) { index 251 drivers/gpu/drm/i915/gvt/mmio_context.c *cs++ = i915_mmio_reg_offset(GEN9_GFX_MOCS(index)); index 252 drivers/gpu/drm/i915/gvt/mmio_context.c *cs++ = vgpu_vreg_t(vgpu, GEN9_GFX_MOCS(index)); index 268 drivers/gpu/drm/i915/gvt/mmio_context.c unsigned int index; index 277 drivers/gpu/drm/i915/gvt/mmio_context.c for (index = 0; index < GEN9_MOCS_SIZE / 2; index++) { index 278 drivers/gpu/drm/i915/gvt/mmio_context.c *cs++ = i915_mmio_reg_offset(GEN9_LNCFCMOCS(index)); index 279 drivers/gpu/drm/i915/gvt/mmio_context.c *cs++ = vgpu_vreg_t(vgpu, GEN9_LNCFCMOCS(index)); index 99 drivers/gpu/drm/i915/gvt/trace.h unsigned long index), index 101 drivers/gpu/drm/i915/gvt/trace.h TP_ARGS(prefix, gma, index), index 109 drivers/gpu/drm/i915/gvt/trace.h "%s gma 0x%lx index 0x%lx\n", prefix, gma, index); index 173 drivers/gpu/drm/i915/gvt/trace.h unsigned long index), index 175 drivers/gpu/drm/i915/gvt/trace.h TP_ARGS(id, tag, spt, type, v, index), index 184 drivers/gpu/drm/i915/gvt/trace.h id, tag, spt, type, v, index); index 210 drivers/gpu/drm/i915/gvt/trace.h unsigned long index), index 212 drivers/gpu/drm/i915/gvt/trace.h TP_ARGS(id, page_id, gpt, type, v, index), index 221 drivers/gpu/drm/i915/gvt/trace.h id, page_id, gpt, type, v, index); index 1918 drivers/gpu/drm/i915/i915_debugfs.c int index; index 1923 drivers/gpu/drm/i915/i915_debugfs.c for (index = 0; index < GUC_MAX_STAGE_DESCRIPTORS; index++, desc++) { index 1929 drivers/gpu/drm/i915/i915_debugfs.c seq_printf(m, "GuC stage descriptor %u:\n", index); index 1234 drivers/gpu/drm/i915/i915_gem_gtt.c u16 index; index 1240 drivers/gpu/drm/i915/i915_gem_gtt.c index = __gen8_pte_index(start, 1); index 1249 drivers/gpu/drm/i915/i915_gem_gtt.c index = __gen8_pte_index(start, 0); index 1252 drivers/gpu/drm/i915/i915_gem_gtt.c if (!index && index 1256 drivers/gpu/drm/i915/i915_gem_gtt.c rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE)) index 1264 drivers/gpu/drm/i915/i915_gem_gtt.c vaddr[index++] = encode | iter->dma; index 1278 drivers/gpu/drm/i915/i915_gem_gtt.c if (maybe_64K != -1 && index < I915_PDES && index 1281 drivers/gpu/drm/i915/i915_gem_gtt.c rem >= (I915_PDES - index) * I915_GTT_PAGE_SIZE))) index 1287 drivers/gpu/drm/i915/i915_gem_gtt.c } while (rem >= page_size && index < I915_PDES); index 1298 drivers/gpu/drm/i915/i915_gem_gtt.c (index == I915_PDES || index 1323 drivers/gpu/drm/i915/i915_gem_gtt.c for (i = 1; i < index; i += 16) index 1776 drivers/gpu/drm/i915/i915_gpu_error.c i915->drm.primary->index); index 2464 drivers/gpu/drm/i915/i915_reg.h #define GEN10_PAT_INDEX(index) _MMIO(0x40e0 + (index) * 4) index 2465 drivers/gpu/drm/i915/i915_reg.h #define GEN12_PAT_INDEX(index) _MMIO(0x4800 + (index) * 4) index 4334 drivers/gpu/drm/i915/i915_reg.h #define _PSR2_SU_STATUS(index) _MMIO(_PICK_EVEN((index), _PSR2_SU_STATUS_0, _PSR2_SU_STATUS_1)) index 6756 drivers/gpu/drm/i915/i915_reg.h #define PLANE_INPUT_CSC_COEFF(pipe, plane, index) \ index 6757 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_INPUT_CSC_RY_GY_1(pipe) + (index) * 4, \ index 6758 drivers/gpu/drm/i915/i915_reg.h _PLANE_INPUT_CSC_RY_GY_2(pipe) + (index) * 4) index 6772 drivers/gpu/drm/i915/i915_reg.h #define PLANE_INPUT_CSC_PREOFF(pipe, plane, index) \ index 6773 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_INPUT_CSC_PREOFF_HI_1(pipe) + (index) * 4, \ index 6774 drivers/gpu/drm/i915/i915_reg.h _PLANE_INPUT_CSC_PREOFF_HI_2(pipe) + (index) * 4) index 6788 drivers/gpu/drm/i915/i915_reg.h #define PLANE_INPUT_CSC_POSTOFF(pipe, plane, index) \ index 6789 drivers/gpu/drm/i915/i915_reg.h _MMIO_PLANE(plane, _PLANE_INPUT_CSC_POSTOFF_HI_1(pipe) + (index) * 4, \ index 6790 drivers/gpu/drm/i915/i915_reg.h _PLANE_INPUT_CSC_POSTOFF_HI_2(pipe) + (index) * 4) index 445 drivers/gpu/drm/i915/i915_trace.h __entry->dev = i915->drm.primary->index; index 543 drivers/gpu/drm/i915/i915_trace.h TP_PROTO(struct drm_i915_gem_object *obj, u64 index, bool gtt, bool write), index 544 drivers/gpu/drm/i915/i915_trace.h TP_ARGS(obj, index, gtt, write), index 548 drivers/gpu/drm/i915/i915_trace.h __field(u64, index) index 555 drivers/gpu/drm/i915/i915_trace.h __entry->index = index; index 563 drivers/gpu/drm/i915/i915_trace.h __entry->index, index 605 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; index 631 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; index 655 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; index 677 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; index 706 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; index 751 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; index 782 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; index 847 drivers/gpu/drm/i915/i915_trace.h __entry->dev = rq->i915->drm.primary->index; index 931 drivers/gpu/drm/i915/i915_trace.h __entry->dev = vm->i915->drm.primary->index; index 966 drivers/gpu/drm/i915/i915_trace.h __entry->dev = ctx->i915->drm.primary->index; index 40 drivers/gpu/drm/i915/selftests/mock_drm.c inode->i_rdev = i915->drm.primary->index; index 380 drivers/gpu/drm/ingenic/ingenic-drm.c cpp = state->fb->format->cpp[plane->index]; index 171 drivers/gpu/drm/lima/lima_device.c static int lima_init_ip(struct lima_device *dev, int index) index 173 drivers/gpu/drm/lima/lima_device.c struct lima_ip_desc *desc = lima_ip_desc + index; index 174 drivers/gpu/drm/lima/lima_device.c struct lima_ip *ip = dev->ip + index; index 183 drivers/gpu/drm/lima/lima_device.c ip->id = index; index 202 drivers/gpu/drm/lima/lima_device.c static void lima_fini_ip(struct lima_device *ldev, int index) index 204 drivers/gpu/drm/lima/lima_device.c struct lima_ip_desc *desc = lima_ip_desc + index; index 205 drivers/gpu/drm/lima/lima_device.c struct lima_ip *ip = ldev->ip + index; index 139 drivers/gpu/drm/lima/lima_sched.c unsigned long index; index 144 drivers/gpu/drm/lima/lima_sched.c xa_for_each(&task->deps, index, fence) { index 114 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c u32 index = 0; index 173 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c msg->buf[index + i - 1] = sif_read_mask(ddc, offset, index 179 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c index += read_count; index 103 drivers/gpu/drm/msm/adreno/a6xx_gmu.c static void __a6xx_gmu_set_freq(struct a6xx_gmu *gmu, int index) index 113 drivers/gpu/drm/msm/adreno/a6xx_gmu.c ((3 & 0xf) << 28) | index); index 129 drivers/gpu/drm/msm/adreno/a6xx_gmu.c gmu->freq = gmu->gpu_freqs[index]; index 1114 drivers/gpu/drm/msm/adreno/a6xx_gmu.c int i, index = 0; index 1127 drivers/gpu/drm/msm/adreno/a6xx_gmu.c freqs[index++] = 0; index 1135 drivers/gpu/drm/msm/adreno/a6xx_gmu.c freqs[index++] = freq++; index 1138 drivers/gpu/drm/msm/adreno/a6xx_gmu.c return index; index 85 drivers/gpu/drm/msm/adreno/a6xx_gpu.c unsigned int index = submit->seqno % MSM_GPU_SUBMIT_STATS_COUNT; index 93 drivers/gpu/drm/msm/adreno/a6xx_gpu.c rbmemptr_stats(ring, index, cpcycles_start)); index 101 drivers/gpu/drm/msm/adreno/a6xx_gpu.c rbmemptr_stats(ring, index, alwayson_start)); index 129 drivers/gpu/drm/msm/adreno/a6xx_gpu.c rbmemptr_stats(ring, index, cpcycles_end)); index 131 drivers/gpu/drm/msm/adreno/a6xx_gpu.c rbmemptr_stats(ring, index, alwayson_end)); index 696 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c int i, regcount = 0, index = 0; index 711 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c obj->data[index++] = gpu_read(gpu, index 725 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c int i, regcount = 0, index = 0; index 740 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c obj->data[index++] = gmu_read(gmu, index 780 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c int index = 0; index 793 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c &a6xx_state->registers[index++]); index 798 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c &a6xx_state->registers[index++], index 804 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c &a6xx_state->registers[index++], index 931 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c int i, index = 0; index 941 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c for (j = 0; j < count; index++, offset++, j++) { index 942 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c if (data[index] == 0xdeafbead) index 946 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c offset << 2, data[index]); index 1009 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c int ctx, index = 0; index 1021 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c for (k = 0; k < count; index++, offset++, k++) { index 1022 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c if (data[index] == 0xdeafbead) index 1026 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c offset << 2, data[index]); index 25 drivers/gpu/drm/msm/adreno/a6xx_hfi.c u32 i, hdr, index = header->read_index; index 32 drivers/gpu/drm/msm/adreno/a6xx_hfi.c hdr = queue->data[index]; index 46 drivers/gpu/drm/msm/adreno/a6xx_hfi.c data[i] = queue->data[index]; index 47 drivers/gpu/drm/msm/adreno/a6xx_hfi.c index = (index + 1) % header->size; index 50 drivers/gpu/drm/msm/adreno/a6xx_hfi.c header->read_index = index; index 58 drivers/gpu/drm/msm/adreno/a6xx_hfi.c u32 i, space, index = header->write_index; index 71 drivers/gpu/drm/msm/adreno/a6xx_hfi.c queue->data[index] = data[i]; index 72 drivers/gpu/drm/msm/adreno/a6xx_hfi.c index = (index + 1) % header->size; index 75 drivers/gpu/drm/msm/adreno/a6xx_hfi.c header->write_index = index; index 506 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (crtc->index >= ARRAY_SIZE(priv->event_thread)) { index 507 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c DPU_ERROR("invalid crtc index[%d]\n", crtc->index); index 511 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c event_thread = &priv->event_thread[crtc->index]; index 1745 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c if (drm_enc->crtc->index >= ARRAY_SIZE(priv->event_thread)) { index 1749 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c event_thread = &priv->event_thread[drm_enc->crtc->index]; index 1752 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c drm_enc->crtc->index); index 166 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c enum dpu_sspp_multirect_index index, index 175 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c if (index == DPU_SSPP_RECT_SOLO) { index 184 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c mode_mask |= index; index 161 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h enum dpu_sspp_multirect_index index; index 234 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h enum dpu_sspp_multirect_index index); index 244 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h enum dpu_sspp_multirect_index index); index 262 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h enum dpu_sspp_multirect_index index); index 279 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h enum dpu_sspp_multirect_index index); index 289 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h enum dpu_sspp_multirect_index index, index 774 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_PROTO(enum dpu_sspp index, struct dpu_hw_fmt_layout *layout, index 776 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(index, layout, multirect_index), index 778 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field( enum dpu_sspp, index ) index 783 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->index = index; index 788 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h "multirect_index:%d", __entry->index, __entry->layout.width, index 857 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_PROTO(enum dpu_vbif index, u32 xin_id), index 858 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(index, xin_id), index 860 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field( enum dpu_vbif, index ) index 864 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->index = index; index 867 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_printk("index:%d xin_id:%u", __entry->index, __entry->xin_id) index 100 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c int ret, i, j, index = 0; index 132 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c index++; index 134 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c indices[i] = index; index 137 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c index += p->len; index 143 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c index++; index 221 drivers/gpu/drm/msm/msm_fb.c DBG("allocating %d bytes for fb %d", size, dev->primary->index); index 655 drivers/gpu/drm/msm/msm_gpu.c int index = submit->seqno % MSM_GPU_SUBMIT_STATS_COUNT; index 660 drivers/gpu/drm/msm/msm_gpu.c stats = &ring->memptrs->stats[index]; index 15 drivers/gpu/drm/msm/msm_ringbuffer.h #define rbmemptr_stats(ring, index, member) \ index 17 drivers/gpu/drm/msm/msm_ringbuffer.h ((index) * sizeof(struct msm_gpu_submit_stats)) + \ index 52 drivers/gpu/drm/nouveau/dispnv04/crtc.c crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) index 54 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteVgaCrtc(crtc->dev, nouveau_crtc(crtc)->index, index, index 55 drivers/gpu/drm/nouveau/dispnv04/crtc.c crtcstate->CRTC[index]); index 62 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 77 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 83 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteRAMDAC(crtc->dev, nv_crtc->index, NV_PRAMDAC_634, regp->ramdac_634); index 120 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *regp = &state->crtc_reg[nv_crtc->index]; index 124 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (nvbios_pll_parse(bios, nv_crtc->index ? PLL_VPLL1 : PLL_VPLL0, index 157 drivers/gpu/drm/nouveau/dispnv04/crtc.c state->pllsel |= nv_crtc->index ? PLLSEL_VPLL2_MASK : PLLSEL_VPLL1_MASK; index 179 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->index); index 187 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVSetOwner(dev, nv_crtc->index); index 190 drivers/gpu/drm/nouveau/dispnv04/crtc.c crtc1A = NVReadVgaCrtc(dev, nv_crtc->index, index 219 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVVgaSeqReset(dev, nv_crtc->index, true); index 221 drivers/gpu/drm/nouveau/dispnv04/crtc.c seq1 |= (NVReadVgaSeq(dev, nv_crtc->index, NV_VIO_SR_CLOCK_INDEX) & ~0x20); index 222 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteVgaSeq(dev, nv_crtc->index, NV_VIO_SR_CLOCK_INDEX, seq1); index 223 drivers/gpu/drm/nouveau/dispnv04/crtc.c crtc17 |= (NVReadVgaCrtc(dev, nv_crtc->index, NV_CIO_CR_MODE_INDEX) & ~0x80); index 225 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteVgaCrtc(dev, nv_crtc->index, NV_CIO_CR_MODE_INDEX, crtc17); index 226 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVVgaSeqReset(dev, nv_crtc->index, false); index 228 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteVgaCrtc(dev, nv_crtc->index, NV_CIO_CRE_RPC1_INDEX, crtc1A); index 236 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 461 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 462 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *savep = &nv04_display(dev)->saved_reg.crtc_reg[nv_crtc->index]; index 493 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (nv_crtc->index == 0) index 499 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (pPriv->overlayCRTC == nv_crtc->index) index 536 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (nv_crtc->index == 0) index 542 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (!nv_crtc->index) index 614 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (disp->image[nv_crtc->index]) index 615 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_unpin(disp->image[nv_crtc->index]); index 616 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_ref(nvfb->nvbo, &disp->image[nv_crtc->index]); index 640 drivers/gpu/drm/nouveau/dispnv04/crtc.c NV_DEBUG(drm, "CTRC mode on CRTC %d:\n", nv_crtc->index); index 648 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_lock_vga_crtc_shadow(dev, nv_crtc->index, -1); index 664 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *crtc_state = &state->crtc_reg[nv_crtc->index]; index 666 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *crtc_saved = &saved->crtc_reg[nv_crtc->index]; index 669 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVSetOwner(crtc->dev, nv_crtc->index); index 671 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_hw_save_state(crtc->dev, nv_crtc->index, saved); index 684 drivers/gpu/drm/nouveau/dispnv04/crtc.c int head = nv_crtc->index; index 704 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVSetOwner(dev, nv_crtc->index); index 709 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVBlankScreen(dev, nv_crtc->index, true); index 712 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteCRTC(dev, nv_crtc->index, NV_PCRTC_CONFIG, NV_PCRTC_CONFIG_START_ADDRESS_NON_VGA); index 714 drivers/gpu/drm/nouveau/dispnv04/crtc.c uint32_t reg900 = NVReadRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_900); index 715 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_900, reg900 & ~0x10000); index 725 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_hw_load_state(dev, nv_crtc->index, &nv04_display(dev)->mode_reg); index 731 drivers/gpu/drm/nouveau/dispnv04/crtc.c uint8_t tmp = NVReadVgaCrtc(dev, nv_crtc->index, NV_CIO_CRE_RCR); index 733 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteVgaCrtc(dev, nv_crtc->index, NV_CIO_CRE_RCR, tmp); index 751 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (disp->image[nv_crtc->index]) index 752 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_unpin(disp->image[nv_crtc->index]); index 753 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_ref(NULL, &disp->image[nv_crtc->index]); index 770 drivers/gpu/drm/nouveau/dispnv04/crtc.c rgbs = (struct rgb *)nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].DAC; index 781 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_hw_load_state_palette(dev, nv_crtc->index, &nv04_display(dev)->mode_reg); index 789 drivers/gpu/drm/nouveau/dispnv04/crtc.c if (disp->image[nv_crtc->index]) index 790 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_unpin(disp->image[nv_crtc->index]); index 791 drivers/gpu/drm/nouveau/dispnv04/crtc.c nouveau_bo_ref(NULL, &disp->image[nv_crtc->index]); index 824 drivers/gpu/drm/nouveau/dispnv04/crtc.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 829 drivers/gpu/drm/nouveau/dispnv04/crtc.c NV_DEBUG(drm, "index %d\n", nv_crtc->index); index 862 drivers/gpu/drm/nouveau/dispnv04/crtc.c NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_GENERAL_CONTROL, index 877 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_set_crtc_base(dev, nv_crtc->index, regp->fb_start); index 1153 drivers/gpu/drm/nouveau/dispnv04/crtc.c int head = nouveau_crtc(crtc)->index; index 1307 drivers/gpu/drm/nouveau/dispnv04/crtc.c nv_crtc->index = crtc_num; index 11 drivers/gpu/drm/nouveau/dispnv04/cursor.c nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, true); index 17 drivers/gpu/drm/nouveau/dispnv04/cursor.c nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, false); index 24 drivers/gpu/drm/nouveau/dispnv04/cursor.c NVWriteRAMDAC(nv_crtc->base.dev, nv_crtc->index, index 31 drivers/gpu/drm/nouveau/dispnv04/cursor.c crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) index 33 drivers/gpu/drm/nouveau/dispnv04/cursor.c NVWriteVgaCrtc(crtc->dev, nouveau_crtc(crtc)->index, index, index 34 drivers/gpu/drm/nouveau/dispnv04/cursor.c crtcstate->CRTC[index]); index 42 drivers/gpu/drm/nouveau/dispnv04/cursor.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 59 drivers/gpu/drm/nouveau/dispnv04/cursor.c nv_fix_nv40_hw_cursor(dev, nv_crtc->index); index 367 drivers/gpu/drm/nouveau/dispnv04/dac.c int head = nouveau_crtc(encoder->crtc)->index; index 380 drivers/gpu/drm/nouveau/dispnv04/dac.c int head = nouveau_crtc(encoder->crtc)->index; index 422 drivers/gpu/drm/nouveau/dispnv04/dac.c nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); index 436 drivers/gpu/drm/nouveau/dispnv04/dac.c *dac_users |= 1 << dcb->index; index 440 drivers/gpu/drm/nouveau/dispnv04/dac.c *dac_users &= ~(1 << dcb->index); index 456 drivers/gpu/drm/nouveau/dispnv04/dac.c (nv04_display(dev)->dac_users[ffs(dcb->or) - 1] & ~(1 << dcb->index)); index 469 drivers/gpu/drm/nouveau/dispnv04/dac.c mode, nv_encoder->dcb->index); index 122 drivers/gpu/drm/nouveau/dispnv04/dfp.c fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; index 132 drivers/gpu/drm/nouveau/dispnv04/dfp.c nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index; index 133 drivers/gpu/drm/nouveau/dispnv04/dfp.c NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_FP_TG_CONTROL, *fpc); index 137 drivers/gpu/drm/nouveau/dispnv04/dfp.c fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; index 139 drivers/gpu/drm/nouveau/dispnv04/dfp.c nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index); index 145 drivers/gpu/drm/nouveau/dispnv04/dfp.c NVWriteRAMDAC(dev, nv_crtc->index, index 249 drivers/gpu/drm/nouveau/dispnv04/dfp.c int head = nouveau_crtc(encoder->crtc)->index; index 287 drivers/gpu/drm/nouveau/dispnv04/dfp.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 288 drivers/gpu/drm/nouveau/dispnv04/dfp.c struct nv04_crtc_reg *savep = &nv04_display(dev)->saved_reg.crtc_reg[nv_crtc->index]; index 296 drivers/gpu/drm/nouveau/dispnv04/dfp.c NV_DEBUG(drm, "Output mode on CRTC %d:\n", nv_crtc->index); index 453 drivers/gpu/drm/nouveau/dispnv04/dfp.c int head = nouveau_crtc(encoder->crtc)->index; index 482 drivers/gpu/drm/nouveau/dispnv04/dfp.c nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); index 525 drivers/gpu/drm/nouveau/dispnv04/dfp.c mode, nv_encoder->dcb->index); index 534 drivers/gpu/drm/nouveau/dispnv04/dfp.c int head = crtc ? nouveau_crtc(crtc)->index : index 552 drivers/gpu/drm/nouveau/dispnv04/dfp.c nv04_dfp_prepare_sel_clk(dev, nv_encoder, nouveau_crtc(crtc)->index); index 570 drivers/gpu/drm/nouveau/dispnv04/dfp.c mode, nv_encoder->dcb->index); index 98 drivers/gpu/drm/nouveau/dispnv04/disp.h int nv04_crtc_create(struct drm_device *, int index); index 38 drivers/gpu/drm/nouveau/dispnv04/hw.c NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) index 40 drivers/gpu/drm/nouveau/dispnv04/hw.c NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); index 45 drivers/gpu/drm/nouveau/dispnv04/hw.c NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) index 47 drivers/gpu/drm/nouveau/dispnv04/hw.c NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); index 52 drivers/gpu/drm/nouveau/dispnv04/hw.c NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) index 54 drivers/gpu/drm/nouveau/dispnv04/hw.c NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index); index 59 drivers/gpu/drm/nouveau/dispnv04/hw.c NVReadVgaGr(struct drm_device *dev, int head, uint8_t index) index 61 drivers/gpu/drm/nouveau/dispnv04/hw.c NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index); index 378 drivers/gpu/drm/nouveau/dispnv04/hw.c struct nv04_crtc_reg *crtcstate, int index) index 380 drivers/gpu/drm/nouveau/dispnv04/hw.c crtcstate->CRTC[index] = NVReadVgaCrtc(dev, head, index); index 385 drivers/gpu/drm/nouveau/dispnv04/hw.c struct nv04_crtc_reg *crtcstate, int index) index 387 drivers/gpu/drm/nouveau/dispnv04/hw.c NVWriteVgaCrtc(dev, head, index, crtcstate->CRTC[index]); index 37 drivers/gpu/drm/nouveau/dispnv04/hw.h void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value); index 38 drivers/gpu/drm/nouveau/dispnv04/hw.h uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index); index 39 drivers/gpu/drm/nouveau/dispnv04/hw.h void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value); index 40 drivers/gpu/drm/nouveau/dispnv04/hw.h uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index); index 120 drivers/gpu/drm/nouveau/dispnv04/hw.h int head, uint8_t index, uint8_t value) index 123 drivers/gpu/drm/nouveau/dispnv04/hw.h nvif_wr08(device, NV_PRMCIO_CRX__COLOR + head * NV_PRMCIO_SIZE, index); index 128 drivers/gpu/drm/nouveau/dispnv04/hw.h int head, uint8_t index) index 132 drivers/gpu/drm/nouveau/dispnv04/hw.h nvif_wr08(device, NV_PRMCIO_CRX__COLOR + head * NV_PRMCIO_SIZE, index); index 152 drivers/gpu/drm/nouveau/dispnv04/hw.h NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) index 154 drivers/gpu/drm/nouveau/dispnv04/hw.h NVWriteVgaCrtc(dev, head, NV_CIO_CRE_57, index); index 158 drivers/gpu/drm/nouveau/dispnv04/hw.h static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) index 160 drivers/gpu/drm/nouveau/dispnv04/hw.h NVWriteVgaCrtc(dev, head, NV_CIO_CRE_57, index); index 209 drivers/gpu/drm/nouveau/dispnv04/hw.h int head, uint8_t index, uint8_t value) index 213 drivers/gpu/drm/nouveau/dispnv04/hw.h index &= ~0x20; index 215 drivers/gpu/drm/nouveau/dispnv04/hw.h index |= 0x20; index 218 drivers/gpu/drm/nouveau/dispnv04/hw.h nvif_wr08(device, NV_PRMCIO_ARX + head * NV_PRMCIO_SIZE, index); index 223 drivers/gpu/drm/nouveau/dispnv04/hw.h int head, uint8_t index) index 228 drivers/gpu/drm/nouveau/dispnv04/hw.h index &= ~0x20; index 230 drivers/gpu/drm/nouveau/dispnv04/hw.h index |= 0x20; index 233 drivers/gpu/drm/nouveau/dispnv04/hw.h nvif_wr08(device, NV_PRMCIO_ARX + head * NV_PRMCIO_SIZE, index); index 127 drivers/gpu/drm/nouveau/dispnv04/overlay.c int soff = NV_PCRTC0_SIZE * nv_crtc->index; index 128 drivers/gpu/drm/nouveau/dispnv04/overlay.c int soff2 = NV_PCRTC0_SIZE * !nv_crtc->index; index 546 drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.c int head = nouveau_crtc(encoder->crtc)->index; index 83 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c mode, nv_encoder->dcb->index); index 88 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c int head = nouveau_crtc(encoder->crtc)->index; index 127 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c int head = nouveau_crtc(encoder->crtc)->index; index 146 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; index 176 drivers/gpu/drm/nouveau/dispnv04/tvnv04.c nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); index 374 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c mode, nouveau_encoder(encoder)->dcb->index); index 402 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c int head = nouveau_crtc(encoder->crtc)->index; index 463 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c int head = nouveau_crtc(encoder->crtc)->index; index 603 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); index 396 drivers/gpu/drm/nouveau/dispnv50/disp.c core->func->dac->ctrl(core, nv_encoder->or, 1 << nv_crtc->index, asyh); index 495 drivers/gpu/drm/nouveau/dispnv50/disp.c (0x0100 << nv_crtc->index), index 519 drivers/gpu/drm/nouveau/dispnv50/disp.c (0x0100 << nv_crtc->index), index 548 drivers/gpu/drm/nouveau/dispnv50/disp.c (0x0100 << nv_crtc->index), index 570 drivers/gpu/drm/nouveau/dispnv50/disp.c (0x0100 << nv_crtc->index), index 747 drivers/gpu/drm/nouveau/dispnv50/disp.c (0x0100 << msto->head->base.index), index 872 drivers/gpu/drm/nouveau/dispnv50/disp.c mstm->outp->update(mstm->outp, head->base.index, armh, proto, index 889 drivers/gpu/drm/nouveau/dispnv50/disp.c mstm->outp->update(mstm->outp, msto->head->base.index, NULL, 0, 0); index 946 drivers/gpu/drm/nouveau/dispnv50/disp.c return &mstc->mstm->msto[head->base.index]->encoder; index 1447 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->update(nv_encoder, nv_crtc->index, NULL, 0, 0); index 1548 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->update(nv_encoder, nv_crtc->index, asyh, proto, depth); index 1679 drivers/gpu/drm/nouveau/dispnv50/disp.c u8 owner = 1 << nv_crtc->index; index 477 drivers/gpu/drm/nouveau/dispnv50/head.c nv50_head_create(struct drm_device *dev, int index) index 491 drivers/gpu/drm/nouveau/dispnv50/head.c head->base.index = index; index 494 drivers/gpu/drm/nouveau/dispnv50/head.c ret = nv50_base_new(drm, head->base.index, &base); index 495 drivers/gpu/drm/nouveau/dispnv50/head.c ret = nv50_ovly_new(drm, head->base.index, &ovly); index 498 drivers/gpu/drm/nouveau/dispnv50/head.c head->base.index * 2 + 0, &base); index 500 drivers/gpu/drm/nouveau/dispnv50/head.c head->base.index * 2 + 1, &ovly); index 503 drivers/gpu/drm/nouveau/dispnv50/head.c ret = nv50_curs_new(drm, head->base.index, &curs); index 511 drivers/gpu/drm/nouveau/dispnv50/head.c &nv50_head_func, "head-%d", head->base.index); index 16 drivers/gpu/drm/nouveau/dispnv50/head.h int nv50_head_create(struct drm_device *, int index); index 31 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x08a8 + (head->base.index * 0x400), 1); index 44 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x08a0 + (head->base.index * 0x0400), 1); index 73 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0904 + head->base.index * 0x400, 1); index 100 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0900 + head->base.index * 0x400, 1); index 112 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0880 + head->base.index * 0x400, 1); index 124 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0880 + head->base.index * 0x400, 2); index 164 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0874 + head->base.index * 0x400, 1); index 176 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0860 + head->base.index * 0x400, 1); index 178 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0868 + head->base.index * 0x400, 4); index 187 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x08c0 + head->base.index * 0x400, 1); index 238 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0840 + (head->base.index * 0x400), 1); index 250 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0840 + (head->base.index * 0x400), 2); index 292 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0804 + (head->base.index * 0x400), 2); index 295 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x0810 + (head->base.index * 0x400), 7); index 303 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x082c + (head->base.index * 0x400), 1); index 315 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x08a4 + (head->base.index * 0x400), 1); index 317 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x08c8 + (head->base.index * 0x400), 1); index 319 drivers/gpu/drm/nouveau/dispnv50/head507d.c evo_mthd(push, 0x08d8 + (head->base.index * 0x400), 2); index 31 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x0880 + head->base.index * 0x400, 1); index 33 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x089c + head->base.index * 0x400, 1); index 45 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x0880 + head->base.index * 0x400, 2); index 49 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x089c + head->base.index * 0x400, 1); index 61 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x0860 + head->base.index * 0x400, 1); index 63 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x0868 + head->base.index * 0x400, 4); index 71 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x08c0 + head->base.index * 0x400, 1); index 83 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x0840 + (head->base.index * 0x400), 1); index 85 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x085c + (head->base.index * 0x400), 1); index 97 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x0840 + (head->base.index * 0x400), 2); index 100 drivers/gpu/drm/nouveau/dispnv50/head827d.c evo_mthd(push, 0x085c + (head->base.index * 0x400), 1); index 31 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0404 + (head->base.index * 0x300), 2); index 35 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_data(push, 0x31ec6000 | head->base.index << 25 | index 47 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0498 + (head->base.index * 0x300), 1); index 60 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0490 + (head->base.index * 0x0300), 1); index 90 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x04d4 + head->base.index * 0x300, 1); index 117 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x04d0 + head->base.index * 0x300, 1); index 129 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0480 + head->base.index * 0x300, 1); index 131 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x048c + head->base.index * 0x300, 1); index 143 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0480 + head->base.index * 0x300, 2); index 147 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x048c + head->base.index * 0x300, 1); index 159 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0474 + head->base.index * 0x300, 1); index 171 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0460 + head->base.index * 0x300, 1); index 173 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0468 + head->base.index * 0x300, 4); index 181 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x04b0 + head->base.index * 0x300, 1); index 193 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0448 + (head->base.index * 0x300), 1); index 195 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x045c + (head->base.index * 0x300), 1); index 207 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0448 + (head->base.index * 0x300), 2); index 210 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x045c + (head->base.index * 0x300), 1); index 247 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0410 + (head->base.index * 0x300), 6); index 254 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x042c + (head->base.index * 0x300), 2); index 257 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0450 + (head->base.index * 0x300), 3); index 271 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x0494 + (head->base.index * 0x300), 1); index 273 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x04b8 + (head->base.index * 0x300), 1); index 275 drivers/gpu/drm/nouveau/dispnv50/head907d.c evo_mthd(push, 0x04c0 + (head->base.index * 0x300), 3); index 31 drivers/gpu/drm/nouveau/dispnv50/head917d.c evo_mthd(push, 0x04a0 + (head->base.index * 0x0300), 1); index 60 drivers/gpu/drm/nouveau/dispnv50/head917d.c evo_mthd(push, 0x04d0 + head->base.index * 0x300, 1); index 45 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2004 + (head->base.index * 0x400), 1); index 60 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2000 + (head->base.index * 0x400), 1); index 74 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2018 + (head->base.index * 0x0400), 1); index 88 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x209c + head->base.index * 0x400, 1); index 90 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2088 + head->base.index * 0x400, 1); index 102 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x209c + head->base.index * 0x400, 2); index 107 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2088 + head->base.index * 0x400, 1); index 109 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2090 + head->base.index * 0x400, 1); index 129 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x20ac + (head->base.index * 0x400), 1); index 141 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x20a4 + (head->base.index * 0x400), 3); index 168 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2064 + (head->base.index * 0x400), 5); index 174 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x200c + (head->base.index * 0x400), 1); index 176 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2028 + (head->base.index * 0x400), 1); index 179 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2030 + (head->base.index * 0x400), 1); index 191 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x204c + (head->base.index * 0x400), 1); index 193 drivers/gpu/drm/nouveau/dispnv50/headc37d.c evo_mthd(push, 0x2058 + (head->base.index * 0x400), 1); index 45 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x2004 + (head->base.index * 0x400), 1); index 60 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x2000 + (head->base.index * 0x400), 1); index 78 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x2288 + (head->base.index * 0x400), 1); index 90 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x2280 + (head->base.index * 0x400), 4); index 174 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x2064 + (head->base.index * 0x400), 5); index 180 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x200c + (head->base.index * 0x400), 1); index 182 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x2028 + (head->base.index * 0x400), 1); index 185 drivers/gpu/drm/nouveau/dispnv50/headc57d.c evo_mthd(push, 0x2030 + (head->base.index * 0x400), 1); index 65 drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c .index = wndw->id, index 629 drivers/gpu/drm/nouveau/dispnv50/wndw.c enum drm_plane_type type, const char *name, int index, index 644 drivers/gpu/drm/nouveau/dispnv50/wndw.c wndw->id = index; index 655 drivers/gpu/drm/nouveau/dispnv50/wndw.c type, "%s-%d", name, index); index 699 drivers/gpu/drm/nouveau/dispnv50/wndw.c nv50_wndw_new(struct nouveau_drm *drm, enum drm_plane_type type, int index, index 721 drivers/gpu/drm/nouveau/dispnv50/wndw.c ret = wndws[cid].new(drm, type, index, wndws[cid].oclass, pwndw); index 40 drivers/gpu/drm/nouveau/dispnv50/wndw.h enum drm_plane_type, const char *name, int index, index 103 drivers/gpu/drm/nouveau/dispnv50/wndw.h enum drm_plane_type type, int index, s32 oclass, u32 heads, index 120 drivers/gpu/drm/nouveau/dispnv50/wndw.h int nv50_wndw_new(struct nouveau_drm *, enum drm_plane_type, int index, index 277 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c enum drm_plane_type type, int index, s32 oclass, u32 heads, index 281 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c .pushbuf = 0xb0007e00 | index, index 282 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c .index = index, index 288 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c ret = nv50_wndw_new_(func, drm->dev, type, "wndw", index, index 290 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c BIT(index), &wndw); index 309 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c wndwc37e_new(struct nouveau_drm *drm, enum drm_plane_type type, int index, index 312 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c return wndwc37e_new_(&wndwc37e, drm, type, index, oclass, index 313 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c BIT(index >> 1), pwndw); index 198 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c wndwc57e_new(struct nouveau_drm *drm, enum drm_plane_type type, int index, index 201 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c return wndwc37e_new_(&wndwc57e, drm, type, index, oclass, index 202 drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c BIT(index >> 1), pwndw); index 30 drivers/gpu/drm/nouveau/include/nvif/cl9097.h __u8 index; index 40 drivers/gpu/drm/nouveau/include/nvif/cl9097.h __u8 index; index 7 drivers/gpu/drm/nouveau/include/nvif/clc37b.h __u8 index; index 7 drivers/gpu/drm/nouveau/include/nvif/clc37e.h __u8 index; index 29 drivers/gpu/drm/nouveau/include/nvif/if0001.h __u8 index; /* in: index of attribute to query index 17 drivers/gpu/drm/nouveau/include/nvif/if0008.h __u8 index; index 24 drivers/gpu/drm/nouveau/include/nvif/if0008.h __u8 index; index 24 drivers/gpu/drm/nouveau/include/nvif/if000c.h __u8 index; index 103 drivers/gpu/drm/nouveau/include/nvif/ioctl.h __u8 index; index 111 drivers/gpu/drm/nouveau/include/nvif/ioctl.h __u8 index; index 118 drivers/gpu/drm/nouveau/include/nvif/ioctl.h __u8 index; index 125 drivers/gpu/drm/nouveau/include/nvif/ioctl.h __u8 index; index 7 drivers/gpu/drm/nouveau/include/nvif/notify.h int index; index 32 drivers/gpu/drm/nouveau/include/nvkm/core/client.h int nvkm_client_notify_del(struct nvkm_client *, int index); index 33 drivers/gpu/drm/nouveau/include/nvkm/core/client.h int nvkm_client_notify_get(struct nvkm_client *, int index); index 34 drivers/gpu/drm/nouveau/include/nvkm/core/client.h int nvkm_client_notify_put(struct nvkm_client *, int index); index 182 drivers/gpu/drm/nouveau/include/nvkm/core/device.h struct nvkm_subdev *nvkm_device_subdev(struct nvkm_device *, int index); index 183 drivers/gpu/drm/nouveau/include/nvkm/core/device.h struct nvkm_engine *nvkm_device_engine(struct nvkm_device *, int index); index 29 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h int (*sclass)(struct nvkm_oclass *, int index, index 37 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h int (*sclass)(struct nvkm_oclass *, int index); index 45 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h int index, bool enable, struct nvkm_engine *); index 47 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h int index, bool enable, struct nvkm_engine **); index 24 drivers/gpu/drm/nouveau/include/nvkm/core/event.h void (*init)(struct nvkm_event *, int type, int index); index 25 drivers/gpu/drm/nouveau/include/nvkm/core/event.h void (*fini)(struct nvkm_event *, int type, int index); index 31 drivers/gpu/drm/nouveau/include/nvkm/core/event.h void nvkm_event_get(struct nvkm_event *, u32 types, int index); index 32 drivers/gpu/drm/nouveau/include/nvkm/core/event.h void nvkm_event_put(struct nvkm_event *, u32 types, int index); index 33 drivers/gpu/drm/nouveau/include/nvkm/core/event.h void nvkm_event_send(struct nvkm_event *, u32 types, int index, index 20 drivers/gpu/drm/nouveau/include/nvkm/core/notify.h int index; index 45 drivers/gpu/drm/nouveau/include/nvkm/core/object.h int (*sclass)(struct nvkm_object *, int index, struct nvkm_oclass *); index 9 drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h enum nvkm_devidx index; index 28 drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h int index, struct nvkm_subdev *); index 41 drivers/gpu/drm/nouveau/include/nvkm/core/subdev.h nvkm_subdev_name[_subdev->index], ##a); \ index 66 drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h int index, bool enable, u32 addr, struct nvkm_engine **); index 5 drivers/gpu/drm/nouveau/include/nvkm/engine/mpeg.h int nv31_mpeg_new(struct nvkm_device *, int index, struct nvkm_engine **); index 6 drivers/gpu/drm/nouveau/include/nvkm/engine/mpeg.h int nv40_mpeg_new(struct nvkm_device *, int index, struct nvkm_engine **); index 7 drivers/gpu/drm/nouveau/include/nvkm/engine/mpeg.h int nv44_mpeg_new(struct nvkm_device *, int index, struct nvkm_engine **); index 8 drivers/gpu/drm/nouveau/include/nvkm/engine/mpeg.h int nv50_mpeg_new(struct nvkm_device *, int index, struct nvkm_engine **); index 9 drivers/gpu/drm/nouveau/include/nvkm/engine/mpeg.h int g84_mpeg_new(struct nvkm_device *, int index, struct nvkm_engine **); index 16 drivers/gpu/drm/nouveau/include/nvkm/engine/xtensa.h int index, bool enable, u32 addr, struct nvkm_engine **); index 9 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u8 index; index 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dcb.h int index; /* may not be raw dcb index if merging has happened */ index 66 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dcb.h (struct nvkm_bios *, void *, int index, u16 entry)); index 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/i2c.h u16 dcb_i2c_entry(struct nvkm_bios *, u8 index, u8 *ver, u8 *len); index 25 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/i2c.h int dcb_i2c_parse(struct nvkm_bios *, u8 index, struct dcb_i2c_entry *); index 17 drivers/gpu/drm/nouveau/include/nvkm/subdev/iccsense.h int gf100_iccsense_new(struct nvkm_device *, int index, struct nvkm_iccsense **); index 29 drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h int nvkm_ltc_zbc_color_get(struct nvkm_ltc *, int index, const u32[4]); index 30 drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h int nvkm_ltc_zbc_depth_get(struct nvkm_ltc *, int index, const u32); index 31 drivers/gpu/drm/nouveau/include/nvkm/subdev/ltc.h int nvkm_ltc_zbc_stencil_get(struct nvkm_ltc *, int index, const u32); index 11 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index); index 12 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value); index 15 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index); index 16 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value); index 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index); index 20 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value); index 23 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index); index 24 drivers/gpu/drm/nouveau/include/nvkm/subdev/vga.h void nvkm_wrvgai(struct nvkm_device *, int head, u16 port, u8 index, u8 value); index 1376 drivers/gpu/drm/nouveau/nouveau_bios.c entry->index = dcb->entries++; index 1637 drivers/gpu/drm/nouveau/nouveau_bios.c dcb->entry[newentries].index = newentries; index 167 drivers/gpu/drm/nouveau/nouveau_bios.h nouveau_bios_connector_entry(struct drm_device *, int index); index 594 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_wr16(struct nouveau_bo *nvbo, unsigned index, u16 val) index 599 drivers/gpu/drm/nouveau/nouveau_bo.c mem += index; index 608 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_rd32(struct nouveau_bo *nvbo, unsigned index) index 613 drivers/gpu/drm/nouveau/nouveau_bo.c mem += index; index 622 drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_wr32(struct nouveau_bo *nvbo, unsigned index, u32 val) index 627 drivers/gpu/drm/nouveau/nouveau_bo.c mem += index; index 87 drivers/gpu/drm/nouveau/nouveau_bo.h void nouveau_bo_wr16(struct nouveau_bo *, unsigned index, u16 val); index 88 drivers/gpu/drm/nouveau/nouveau_bo.h u32 nouveau_bo_rd32(struct nouveau_bo *, unsigned index); index 89 drivers/gpu/drm/nouveau/nouveau_bo.h void nouveau_bo_wr32(struct nouveau_bo *, unsigned index, u32 val); index 1265 drivers/gpu/drm/nouveau/nouveau_connector.c int index = dcbe->connector; index 1272 drivers/gpu/drm/nouveau/nouveau_connector.c if (nv_connector->index == index) { index 1284 drivers/gpu/drm/nouveau/nouveau_connector.c nv_connector->index = index; index 1287 drivers/gpu/drm/nouveau/nouveau_connector.c nv_connector->dcb = olddcb_conn(dev, index); index 1326 drivers/gpu/drm/nouveau/nouveau_connector.c if (dcbt->entry[i].connector == nv_connector->index) index 1442 drivers/gpu/drm/nouveau/nouveau_connector.c .conn = index, index 105 drivers/gpu/drm/nouveau/nouveau_connector.h u8 index; index 37 drivers/gpu/drm/nouveau/nouveau_crtc.h int index; index 90 drivers/gpu/drm/nouveau/nouveau_debugfs.c .index = 0, index 104 drivers/gpu/drm/nouveau/nouveau_debugfs.c attr.index = 0; index 116 drivers/gpu/drm/nouveau/nouveau_debugfs.c } while (attr.index); index 109 drivers/gpu/drm/nouveau/nouveau_display.c .base.head = nouveau_crtc(crtc)->index, index 147 drivers/gpu/drm/nouveau/nouveau_display.c if (nouveau_crtc(crtc)->index == pipe) { index 180 drivers/gpu/drm/nouveau/nouveau_display.c .head = nv_crtc->index, index 136 drivers/gpu/drm/nouveau/nouveau_usif.c if (usif_notify_find(f, args->v0.index)) index 156 drivers/gpu/drm/nouveau/nouveau_usif.c ntfy->handle = args->v0.index; index 178 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ntfy = usif_notify_find(f, args->v0.index))) index 201 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ntfy = usif_notify_find(f, args->v0.index))) index 238 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ntfy = usif_notify_find(f, args->v0.index))) index 81 drivers/gpu/drm/nouveau/nvif/mmu.c struct nvif_mmu_heap_v0 args = { .index = i }; index 92 drivers/gpu/drm/nouveau/nvif/mmu.c struct nvif_mmu_type_v0 args = { .index = i }; index 41 drivers/gpu/drm/nouveau/nvif/notify.c .ntfy.index = notify->index, index 72 drivers/gpu/drm/nouveau/nvif/notify.c .ntfy.index = notify->index, index 153 drivers/gpu/drm/nouveau/nvif/notify.c .ntfy.index = notify->index, index 203 drivers/gpu/drm/nouveau/nvif/notify.c notify->index = args->ntfy.index; index 150 drivers/gpu/drm/nouveau/nvif/vmm.c struct nvif_vmm_page_v0 args = { .index = i }; index 90 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_notify_put(struct nvkm_client *client, int index) index 92 drivers/gpu/drm/nouveau/nvkm/core/client.c if (index < ARRAY_SIZE(client->notify)) { index 93 drivers/gpu/drm/nouveau/nvkm/core/client.c if (client->notify[index]) { index 94 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_notify_put(&client->notify[index]->n); index 102 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_notify_get(struct nvkm_client *client, int index) index 104 drivers/gpu/drm/nouveau/nvkm/core/client.c if (index < ARRAY_SIZE(client->notify)) { index 105 drivers/gpu/drm/nouveau/nvkm/core/client.c if (client->notify[index]) { index 106 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_notify_get(&client->notify[index]->n); index 114 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_notify_del(struct nvkm_client *client, int index) index 116 drivers/gpu/drm/nouveau/nvkm/core/client.c if (index < ARRAY_SIZE(client->notify)) { index 117 drivers/gpu/drm/nouveau/nvkm/core/client.c if (client->notify[index]) { index 118 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_notify_fini(&client->notify[index]->n); index 119 drivers/gpu/drm/nouveau/nvkm/core/client.c kfree(client->notify[index]); index 120 drivers/gpu/drm/nouveau/nvkm/core/client.c client->notify[index] = NULL; index 136 drivers/gpu/drm/nouveau/nvkm/core/client.c u8 index, reply; index 139 drivers/gpu/drm/nouveau/nvkm/core/client.c for (index = 0; index < ARRAY_SIZE(client->notify); index++) { index 140 drivers/gpu/drm/nouveau/nvkm/core/client.c if (!client->notify[index]) index 144 drivers/gpu/drm/nouveau/nvkm/core/client.c if (index == ARRAY_SIZE(client->notify)) index 168 drivers/gpu/drm/nouveau/nvkm/core/client.c client->notify[index] = notify; index 170 drivers/gpu/drm/nouveau/nvkm/core/client.c return index; index 238 drivers/gpu/drm/nouveau/nvkm/core/client.c nvkm_client_child_get(struct nvkm_object *object, int index, index 243 drivers/gpu/drm/nouveau/nvkm/core/client.c switch (index) { index 174 drivers/gpu/drm/nouveau/nvkm/core/engine.c struct nvkm_device *device, int index, bool enable, index 177 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_subdev_ctor(&nvkm_engine_func, device, index, &engine->subdev); index 180 drivers/gpu/drm/nouveau/nvkm/core/engine.c if (!nvkm_boolopt(device->cfgopt, nvkm_subdev_name[index], enable)) { index 191 drivers/gpu/drm/nouveau/nvkm/core/engine.c struct nvkm_device *device, int index, bool enable, index 196 drivers/gpu/drm/nouveau/nvkm/core/engine.c return nvkm_engine_ctor(func, device, index, enable, *pengine); index 26 drivers/gpu/drm/nouveau/nvkm/core/event.c nvkm_event_put(struct nvkm_event *event, u32 types, int index) index 31 drivers/gpu/drm/nouveau/nvkm/core/event.c if (--event->refs[index * event->types_nr + type] == 0) { index 33 drivers/gpu/drm/nouveau/nvkm/core/event.c event->func->fini(event, 1 << type, index); index 39 drivers/gpu/drm/nouveau/nvkm/core/event.c nvkm_event_get(struct nvkm_event *event, u32 types, int index) index 44 drivers/gpu/drm/nouveau/nvkm/core/event.c if (++event->refs[index * event->types_nr + type] == 1) { index 46 drivers/gpu/drm/nouveau/nvkm/core/event.c event->func->init(event, 1 << type, index); index 52 drivers/gpu/drm/nouveau/nvkm/core/event.c nvkm_event_send(struct nvkm_event *event, u32 types, int index, index 58 drivers/gpu/drm/nouveau/nvkm/core/event.c if (!event->refs || WARN_ON(index >= event->index_nr)) index 63 drivers/gpu/drm/nouveau/nvkm/core/event.c if (notify->index == index && (notify->types & types)) { index 314 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.index = ret; index 335 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.index); index 336 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_client_notify_del(client, args->v0.index); index 354 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.index); index 355 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_client_notify_get(client, args->v0.index); index 373 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.index); index 374 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_client_notify_put(client, args->v0.index); index 31 drivers/gpu/drm/nouveau/nvkm/core/notify.c nvkm_event_put(notify->event, notify->types, notify->index); index 53 drivers/gpu/drm/nouveau/nvkm/core/notify.c nvkm_event_get(notify->event, notify->types, notify->index); index 98 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c nvkm_oproxy_sclass(struct nvkm_object *object, int index, index 105 drivers/gpu/drm/nouveau/nvkm/core/oproxy.c return oproxy->object->func->sclass(oproxy->object, index, oclass); index 128 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_mc_reset(device, subdev->index); index 213 drivers/gpu/drm/nouveau/nvkm/core/subdev.c struct nvkm_device *device, int index, index 216 drivers/gpu/drm/nouveau/nvkm/core/subdev.c const char *name = nvkm_subdev_name[index]; index 219 drivers/gpu/drm/nouveau/nvkm/core/subdev.c subdev->index = index; index 221 drivers/gpu/drm/nouveau/nvkm/core/subdev.c __mutex_init(&subdev->mutex, name, &nvkm_subdev_lock_class[index]); index 39 drivers/gpu/drm/nouveau/nvkm/engine/bsp/g84.c g84_bsp_new(struct nvkm_device *device, int index, struct nvkm_engine **pengine) index 41 drivers/gpu/drm/nouveau/nvkm/engine/bsp/g84.c return nvkm_xtensa_new_(&g84_bsp, device, index, index 33 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c const int index = ce->engine.subdev.index - NVKM_ENGINE_CE0; index 34 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c nvkm_wr32(device, ce->addr + 0x084, index); index 66 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c gf100_ce_new(struct nvkm_device *device, int index, index 69 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c if (index == NVKM_ENGINE_CE0) { index 70 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c return nvkm_falcon_new_(&gf100_ce0, device, index, true, index 73 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c if (index == NVKM_ENGINE_CE1) { index 74 drivers/gpu/drm/nouveau/nvkm/engine/ce/gf100.c return nvkm_falcon_new_(&gf100_ce1, device, index, true, index 61 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c const u32 base = (ce->subdev.index - NVKM_ENGINE_CE0) * 0x1000; index 97 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c gk104_ce_new(struct nvkm_device *device, int index, index 100 drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c return nvkm_engine_new_(&gk104_ce, device, index, true, pengine); index 39 drivers/gpu/drm/nouveau/nvkm/engine/ce/gm107.c gm107_ce_new(struct nvkm_device *device, int index, index 42 drivers/gpu/drm/nouveau/nvkm/engine/ce/gm107.c return nvkm_engine_new_(&gm107_ce, device, index, true, pengine); index 38 drivers/gpu/drm/nouveau/nvkm/engine/ce/gm200.c gm200_ce_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/engine/ce/gm200.c return nvkm_engine_new_(&gm200_ce, device, index, true, pengine); index 62 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c const u32 base = (ce->subdev.index - NVKM_ENGINE_CE0) * 0x80; index 98 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c gp100_ce_new(struct nvkm_device *device, int index, index 101 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp100.c return nvkm_engine_new_(&gp100_ce, device, index, true, pengine); index 40 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp102.c gp102_ce_new(struct nvkm_device *device, int index, index 43 drivers/gpu/drm/nouveau/nvkm/engine/ce/gp102.c return nvkm_engine_new_(&gp102_ce, device, index, true, pengine); index 47 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c const u32 base = (subdev->index - NVKM_ENGINE_CE0) * 0x1000; index 78 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c gt215_ce_new(struct nvkm_device *device, int index, index 81 drivers/gpu/drm/nouveau/nvkm/engine/ce/gt215.c return nvkm_falcon_new_(>215_ce, device, index, index 36 drivers/gpu/drm/nouveau/nvkm/engine/ce/gv100.c gv100_ce_new(struct nvkm_device *device, int index, index 39 drivers/gpu/drm/nouveau/nvkm/engine/ce/gv100.c return nvkm_engine_new_(&gv100_ce, device, index, true, pengine); index 36 drivers/gpu/drm/nouveau/nvkm/engine/ce/tu102.c tu102_ce_new(struct nvkm_device *device, int index, index 39 drivers/gpu/drm/nouveau/nvkm/engine/ce/tu102.c return nvkm_engine_new_(&tu102_ce, device, index, true, pengine); index 130 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c g84_cipher_new(struct nvkm_device *device, int index, index 133 drivers/gpu/drm/nouveau/nvkm/engine/cipher/g84.c return nvkm_engine_new_(&g84_cipher, device, index, true, pengine); index 2620 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c notify->index = 0; index 2632 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c nvkm_device_subdev(struct nvkm_device *device, int index) index 2636 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c if (device->disable_mask & (1ULL << index)) index 2639 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c switch (index) { index 2668 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c engine = nvkm_device_engine(device, index); index 2677 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c nvkm_device_engine(struct nvkm_device *device, int index) index 2679 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c if (device->disable_mask & (1ULL << index)) index 2682 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c switch (index) { index 85 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.version, args->v0.state, args->v0.index); index 97 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (domain->mname && ++j == args->v0.index) index 129 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.index = 0; index 132 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.index = ++j; index 345 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvkm_udevice_child_get(struct nvkm_object *object, int index, index 364 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c index -= engine->func->base.sclass(oclass, index, &sclass); index 368 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (index-- == 0) index 370 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c else if (device->mmu && index-- == 0) index 372 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c else if (device->fault && index-- == 0) index 75 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c notify->index = req->v0.head; index 112 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (ret = -ENXIO, outp->conn->index == req->v0.conn) { index 115 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c notify->index = req->v0.conn; index 195 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c nvkm_disp_class_get(struct nvkm_oclass *oclass, int index, index 199 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (index == 0) { index 369 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c if (conn->index == outp->info.connector) { index 383 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c outp->index, ret); index 476 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c int index, struct nvkm_disp *disp) index 483 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c return nvkm_engine_ctor(&nvkm_disp, device, index, true, &disp->engine); index 488 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c int index, struct nvkm_disp **pdisp) index 492 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c return nvkm_disp_ctor(func, device, index, *pdisp); index 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c gf119_disp_chan_uevent_fini(struct nvkm_event *event, int type, int index) index 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c nvkm_mask(device, 0x610090, 0x00000001 << index, 0x00000000 << index); index 32 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c nvkm_wr32(device, 0x61008c, 0x00000001 << index); index 36 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c gf119_disp_chan_uevent_init(struct nvkm_event *event, int types, int index) index 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c nvkm_wr32(device, 0x61008c, 0x00000001 << index); index 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c nvkm_mask(device, 0x610090, 0x00000001 << index, 0x00000001 << index); index 107 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nv50_disp_chan_uevent_fini(struct nvkm_event *event, int type, int index) index 111 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nvkm_mask(device, 0x610028, 0x00000001 << index, 0x00000000 << index); index 112 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nvkm_wr32(device, 0x610020, 0x00000001 << index); index 116 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nv50_disp_chan_uevent_init(struct nvkm_event *event, int types, int index) index 120 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nvkm_wr32(device, 0x610020, 0x00000001 << index); index 121 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nvkm_mask(device, 0x610028, 0x00000001 << index, 0x00000001 << index); index 146 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c notify->index = chan->chid.user; index 273 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c nv50_disp_chan_child_get(struct nvkm_object *object, int index, index 286 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c sclass->engine->func->base.sclass(sclass, index, &oclass); index 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c int index = conn->index; index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c if (!nvkm_gpio_get(gpio, 0, DCB_GPIO_UNUSED, conn->hpd.index)) index 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); index 78 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c nvkm_conn_ctor(struct nvkm_disp *disp, int index, struct nvbios_connE *info, index 87 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c conn->index = index; index 125 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c nvkm_conn_new(struct nvkm_disp *disp, int index, struct nvbios_connE *info, index 130 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c nvkm_conn_ctor(disp, index, info, *pconn); index 12 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.h int index; index 20 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.h int nvkm_conn_new(struct nvkm_disp *, int index, struct nvbios_connE *, index 29 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.h _conn->index, _conn->info.location, _conn->info.type, ##a); \ index 558 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_event_send(&disp->hpd, rep.mask, conn->index, &rep, sizeof(rep)); index 627 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_dp_ctor(struct nvkm_disp *disp, int index, struct dcb_output *dcbE, index 637 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ret = nvkm_outp_ctor(&nvkm_dp_func, disp, index, dcbE, &dp->outp); index 680 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c nvkm_dp_new(struct nvkm_disp *disp, int index, struct dcb_output *dcbE, index 696 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c return nvkm_dp_ctor(disp, index, dcbE, aux, dp); index 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.h int nvkm_dp_new(struct nvkm_disp *, int index, struct dcb_output *, index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c g84_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c return nv50_disp_new_(&g84_disp, device, index, pdisp); index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c g94_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c return nv50_disp_new_(&g94_disp, device, index, pdisp); index 269 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c gf119_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 271 drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c return nv50_disp_new_(&gf119_disp, device, index, pdisp); index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c gk104_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c return nv50_disp_new_(&gk104_disp, device, index, pdisp); index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c gk110_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c return nv50_disp_new_(&gk110_disp, device, index, pdisp); index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c gm107_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c return nv50_disp_new_(&gm107_disp, device, index, pdisp); index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c gm200_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c return nv50_disp_new_(&gm200_disp, device, index, pdisp); index 43 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp100.c gp100_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp100.c return nv50_disp_new_(&gp100_disp, device, index, pdisp); index 70 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c gp102_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 72 drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c return nv50_disp_new_(&gp102_disp, device, index, pdisp); index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c gt200_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c return nv50_disp_new_(>200_disp, device, index, pdisp); index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c gt215_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 46 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c return nv50_disp_new_(>215_disp, device, index, pdisp); index 427 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c gv100_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 429 drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c return nv50_disp_new_(&gv100_disp, device, index, pdisp); index 42 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c mcp77_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp77.c return nv50_disp_new_(&mcp77_disp, device, index, pdisp); index 42 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c mcp89_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 44 drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c return nv50_disp_new_(&mcp89_disp, device, index, pdisp); index 67 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c nv04_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c ret = nvkm_disp_new_(&nv04_disp, device, index, pdisp); index 157 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c int index, struct nvkm_disp **pdisp) index 167 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ret = nvkm_disp_ctor(&nv50_disp_, device, index, &disp->base); index 772 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c nv50_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 774 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c return nv50_disp_new_(&nv50_disp, device, index, pdisp); index 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h int index, struct nvkm_disp **); index 248 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c int index, struct dcb_output *dcbE, struct nvkm_outp *outp) index 256 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c outp->index = index; index 280 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c nvkm_outp_new(struct nvkm_disp *disp, int index, struct dcb_output *dcbE, index 285 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c return nvkm_outp_ctor(&nvkm_outp, disp, index, dcbE, *poutp); index 12 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h int index; index 29 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h int index, struct dcb_output *, struct nvkm_outp *); index 30 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h int nvkm_outp_new(struct nvkm_disp *, int index, struct dcb_output *, index 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h _outp->index, _outp->info.hasht, _outp->info.hashm, ##a); \ index 8 drivers/gpu/drm/nouveau/nvkm/engine/disp/priv.h int index, struct nvkm_disp *); index 10 drivers/gpu/drm/nouveau/nvkm/engine/disp/priv.h int index, struct nvkm_disp **); index 287 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c nv50_disp_root_child_get_(struct nvkm_object *object, int index, index 292 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (root->func->user[index].ctor) { index 293 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c sclass->base = root->func->user[index].base; index 294 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c sclass->priv = root->func->user + index; index 149 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c tu102_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) index 151 drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.c return nv50_disp_new_(&tu102_disp, device, index, pdisp); index 69 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) index 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrport(device, head, 0x03c4, index); index 76 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) index 78 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrport(device, head, 0x03c4, index); index 83 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) index 85 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrport(device, head, 0x03ce, index); index 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) index 92 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrport(device, head, 0x03ce, index); index 97 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) index 99 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrport(device, head, 0x03d4, index); index 104 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) index 106 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrport(device, head, 0x03d4, index); index 111 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) index 113 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c if (port == 0x03c4) return nvkm_rdvgas(device, head, index); index 114 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c if (port == 0x03ce) return nvkm_rdvgag(device, head, index); index 115 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c if (port == 0x03d4) return nvkm_rdvgac(device, head, index); index 120 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) index 122 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c if (port == 0x03c4) nvkm_wrvgas(device, head, index, value); index 123 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c else if (port == 0x03ce) nvkm_wrvgag(device, head, index, value); index 124 drivers/gpu/drm/nouveau/nvkm/engine/disp/vga.c else if (port == 0x03d4) nvkm_wrvgac(device, head, index, value); index 64 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c args->v0.version, args->v0.pushbuf, args->v0.index); index 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c if (!(disp->wndw.mask & BIT(args->v0.index))) index 68 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c wndw = args->v0.index; index 166 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c args->v0.version, args->v0.pushbuf, args->v0.index); index 167 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c if (!(disp->wndw.mask & BIT(args->v0.index))) index 170 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c wndw = args->v0.index; index 67 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c nvkm_dma_oclass_base_get(struct nvkm_oclass *sclass, int index, index 71 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c if (index < count) { index 72 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c const struct nvkm_sclass *oclass = &nvkm_dma_sclass[index]; index 76 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c return index; index 82 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c nvkm_dma_oclass_fifo_get(struct nvkm_oclass *oclass, int index) index 85 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c if (index < count) { index 86 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c oclass->base = nvkm_dma_sclass[index]; index 87 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c return index; index 107 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c int index, struct nvkm_dma **pdma) index 115 drivers/gpu/drm/nouveau/nvkm/engine/dma/base.c return nvkm_engine_ctor(&nvkm_dma, device, index, true, &dma->engine); index 33 drivers/gpu/drm/nouveau/nvkm/engine/dma/gf100.c gf100_dma_new(struct nvkm_device *device, int index, struct nvkm_dma **pdma) index 35 drivers/gpu/drm/nouveau/nvkm/engine/dma/gf100.c return nvkm_dma_new_(&gf100_dma, device, index, pdma); index 33 drivers/gpu/drm/nouveau/nvkm/engine/dma/gf119.c gf119_dma_new(struct nvkm_device *device, int index, struct nvkm_dma **pdma) index 35 drivers/gpu/drm/nouveau/nvkm/engine/dma/gf119.c return nvkm_dma_new_(&gf119_dma, device, index, pdma); index 31 drivers/gpu/drm/nouveau/nvkm/engine/dma/gv100.c gv100_dma_new(struct nvkm_device *device, int index, struct nvkm_dma **pdma) index 33 drivers/gpu/drm/nouveau/nvkm/engine/dma/gv100.c return nvkm_dma_new_(&gv100_dma, device, index, pdma); index 33 drivers/gpu/drm/nouveau/nvkm/engine/dma/nv04.c nv04_dma_new(struct nvkm_device *device, int index, struct nvkm_dma **pdma) index 35 drivers/gpu/drm/nouveau/nvkm/engine/dma/nv04.c return nvkm_dma_new_(&nv04_dma, device, index, pdma); index 33 drivers/gpu/drm/nouveau/nvkm/engine/dma/nv50.c nv50_dma_new(struct nvkm_device *device, int index, struct nvkm_dma **pdma) index 35 drivers/gpu/drm/nouveau/nvkm/engine/dma/nv50.c return nvkm_dma_new_(&nv50_dma, device, index, pdma); index 13 drivers/gpu/drm/nouveau/nvkm/engine/dma/priv.h int index, struct nvkm_dma **); index 30 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c nvkm_falcon_oclass_get(struct nvkm_oclass *oclass, int index) index 36 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c if (c++ == index) { index 37 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c oclass->base = falcon->func->sclass[index]; index 38 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c return index; index 111 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c if (nvkm_mc_enabled(device, engine->subdev.index)) { index 339 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c struct nvkm_device *device, int index, bool enable, index 354 drivers/gpu/drm/nouveau/nvkm/engine/falcon.c return nvkm_engine_ctor(&nvkm_falcon, device, index, index 136 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c notify->index = chan->chid; index 154 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c notify->index = 0; index 172 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c nvkm_fifo_uevent_fini(struct nvkm_event *event, int type, int index) index 179 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c nvkm_fifo_uevent_init(struct nvkm_event *event, int type, int index) index 197 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c notify->index = 0; index 248 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c nvkm_fifo_class_get(struct nvkm_oclass *oclass, int index, index 256 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c int ret = fifo->func->class_get(fifo, index, oclass); index 263 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c if (c++ == index) { index 354 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c int index, int nr, struct nvkm_fifo *fifo) index 368 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c ret = nvkm_engine_ctor(&nvkm_fifo, device, index, true, &fifo->engine); index 45 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; index 46 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c const char *name = nvkm_subdev_name[engine->subdev.index]; index 78 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; index 79 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c const char *name = nvkm_subdev_name[engine->subdev.index]; index 111 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; index 121 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c atomic_dec(&chan->vmm->engref[engine->subdev.index]); index 138 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; index 155 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c atomic_inc(&chan->vmm->engref[engine->subdev.index]); index 201 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c nvkm_fifo_chan_child_get(struct nvkm_object *object, int index, index 218 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c ret = engine->func->fifo.sclass(oclass, index); index 226 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c index -= ret; index 231 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c if (c++ == index) { index 232 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c oclass->base = engine->func->sclass[index]; index 239 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c index -= c; index 50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c switch (engine->subdev.index) { index 70 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c switch (engine->subdev.index) { index 137 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c struct nvkm_gpuobj *engn = chan->engn[engine->subdev.index]; index 165 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c int engn = engine->subdev.index; index 181 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c switch (object->engine->subdev.index) { index 34 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c switch (engine->subdev.index) { index 106 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c struct nvkm_gpuobj *engn = chan->engn[engine->subdev.index]; index 133 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c nvkm_gpuobj_del(&chan->engn[engine->subdev.index]); index 142 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c int engn = engine->subdev.index; index 165 drivers/gpu/drm/nouveau/nvkm/engine/fifo/channv50.c switch (object->engine->subdev.index) { index 56 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c switch (object->engine->subdev.index) { index 38 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c switch (engine->subdev.index) { index 102 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c inst = chan->engn[engine->subdev.index]->addr >> 4; index 124 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c nvkm_gpuobj_del(&chan->engn[engine->subdev.index]); index 133 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c const int engn = engine->subdev.index; index 152 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c switch (object->engine->subdev.index) { index 59 drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c g84_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 61 drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c return nv50_fifo_new_(&g84_fifo, device, index, pfifo); index 184 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c nvkm_subdev_name[engine->subdev.index], chid); index 192 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c fifo->recover.mask |= 1ULL << engine->subdev.index; index 685 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c gf100_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 695 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c return nvkm_fifo_ctor(&gf100_fifo, device, index, 128, &fifo->base); index 116 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c gk104_fifo_class_get(struct nvkm_fifo *base, int index, index 122 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (fifo->func->user.ctor && c++ == index) { index 128 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (fifo->func->chan.ctor && c++ == index) { index 425 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c mmui = nvkm_top_fault_id(device, engine->subdev.index); index 429 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c if (en->data2 == engine->subdev.index) { index 891 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c *data |= BIT_ULL(engine->subdev.index); index 1045 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c int index, int nr, struct nvkm_fifo **pfifo) index 1055 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c return nvkm_fifo_ctor(&gk104_fifo_, device, index, nr, &fifo->base); index 1194 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c gk104_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 1196 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c return gk104_fifo_new_(&gk104_fifo, device, index, 4096, pfifo); index 91 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.h int index, int nr, struct nvkm_fifo **); index 63 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c gk110_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 65 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk110.c return gk104_fifo_new_(&gk110_fifo, device, index, 4096, pfifo); index 60 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk208.c gk208_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 62 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk208.c return gk104_fifo_new_(&gk208_fifo, device, index, 1024, pfifo); index 41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk20a.c gk20a_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 43 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk20a.c return gk104_fifo_new_(&gk20a_fifo, device, index, 128, pfifo); index 109 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c gm107_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 111 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c return gk104_fifo_new_(&gm107_fifo, device, index, 2048, pfifo); index 57 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm200.c gm200_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 59 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm200.c return gk104_fifo_new_(&gm200_fifo, device, index, 4096, pfifo); index 41 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c gm20b_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 43 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c return gk104_fifo_new_(&gm20b_fifo, device, index, 512, pfifo); index 94 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp100.c gp100_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 96 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp100.c return gk104_fifo_new_(&gp100_fifo, device, index, 4096, pfifo); index 42 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp10b.c gp10b_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 44 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp10b.c return gk104_fifo_new_(&gp10b_fifo, device, index, 512, pfifo); index 55 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c switch (engine->subdev.index) { index 114 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c u64 addr = chan->engn[engine->subdev.index].vma->addr; index 129 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c nvkm_vmm_put(chan->base.vmm, &chan->engn[engine->subdev.index].vma); index 130 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c nvkm_gpuobj_del(&chan->engn[engine->subdev.index].inst); index 139 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c int engn = engine->subdev.index; index 77 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c switch (engine->subdev.index) { index 133 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c u64 addr = chan->engn[engine->subdev.index].vma->addr; index 154 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c nvkm_vmm_put(chan->base.vmm, &chan->engn[engine->subdev.index].vma); index 155 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c nvkm_gpuobj_del(&chan->engn[engine->subdev.index].inst); index 164 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c int engn = engine->subdev.index; index 261 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index); index 73 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c if (engine->subdev.index >= NVKM_ENGINE_CE0 && index 74 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c engine->subdev.index <= NVKM_ENGINE_CE_LAST) index 96 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c if (engine->subdev.index >= NVKM_ENGINE_CE0 && index 97 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c engine->subdev.index <= NVKM_ENGINE_CE_LAST) index 100 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c addr = chan->engn[engine->subdev.index].vma->addr; index 144 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c subdevs |= BIT_ULL(fifo->engine[i].engine->subdev.index); index 304 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c gv100_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 306 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gv100.c return gk104_fifo_new_(&gv100_fifo, device, index, 4096, pfifo); index 329 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c int index, int nr, const struct nv04_fifo_ramfc *ramfc, index 340 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c ret = nvkm_fifo_ctor(func, device, index, nr, &fifo->base); index 361 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c nv04_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 363 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c return nv04_fifo_new_(&nv04_fifo, device, index, 16, index 21 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.h int index, int nr, const struct nv04_fifo_ramfc *, index 55 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv10.c nv10_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 57 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv10.c return nv04_fifo_new_(&nv10_fifo, device, index, 32, index 93 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv17.c nv17_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 95 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv17.c return nv04_fifo_new_(&nv17_fifo, device, index, 32, index 124 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv40.c nv40_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 126 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv40.c return nv04_fifo_new_(&nv40_fifo, device, index, 32, index 110 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c int index, struct nvkm_fifo **pfifo) index 119 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c ret = nvkm_fifo_ctor(func, device, index, 128, &fifo->base); index 144 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c nv50_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 146 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c return nv50_fifo_new_(&nv50_fifo, device, index, pfifo); index 14 drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.h int index, struct nvkm_fifo **); index 8 drivers/gpu/drm/nouveau/nvkm/engine/fifo/priv.h int index, int nr, struct nvkm_fifo *); index 31 drivers/gpu/drm/nouveau/nvkm/engine/fifo/priv.h int (*class_get)(struct nvkm_fifo *, int index, struct nvkm_oclass *); index 113 drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c tu102_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) index 115 drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c return gk104_fifo_new_(&tu102_fifo, device, index, 4096, pfifo); index 89 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c nvkm_gr_oclass_get(struct nvkm_oclass *oclass, int index) index 95 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c int ret = gr->func->object_get(gr, index, &oclass->base); index 97 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return index; index 102 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (c++ == index) { index 103 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c oclass->base = gr->func->sclass[index]; index 104 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return index; index 178 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c int index, bool enable, struct nvkm_gr *gr) index 181 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return nvkm_engine_ctor(&nvkm_gr, device, index, enable, &gr->engine); index 195 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c g84_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 197 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c return nv50_gr_new_(&g84_gr, device, index, pgr); index 194 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c args->v0.index = ret; index 299 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_object_get(struct nvkm_gr *base, int index, struct nvkm_sclass *sclass) index 305 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (c++ == index) { index 306 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c *sclass = gr->func->sclass[index]; index 308 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c return index; index 958 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c int index, c = ltc->zbc_min, d = ltc->zbc_min, s = ltc->zbc_min; index 974 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c for (index = c; index <= ltc->zbc_max; index++) index 975 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_color(gr, index); index 976 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c for (index = d; index <= ltc->zbc_max; index++) index 977 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_depth(gr, index); index 980 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c for (index = s; index <= ltc->zbc_max; index++) index 981 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->func->zbc->clear_stencil(gr, index); index 2163 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c int index, struct gf100_gr *gr) index 2169 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c return nvkm_gr_ctor(&gf100_gr_, device, index, index 2176 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c int index, struct nvkm_gr **pgr) index 2185 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c ret = gf100_gr_ctor(func, device, index, gr); index 2483 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 2485 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c return gf100_gr_new_(&gf100_gr, device, index, pgr); index 148 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf104.c gf104_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 150 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf104.c return gf100_gr_new_(&gf104_gr, device, index, pgr); index 147 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c gf108_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 149 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf108.c return gf100_gr_new_(&gf108_gr, device, index, pgr); index 123 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf110.c gf110_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 125 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf110.c return gf100_gr_new_(&gf110_gr, device, index, pgr); index 188 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c gf117_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 190 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c return gf100_gr_new_(&gf117_gr, device, index, pgr); index 214 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf119.c gf119_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 216 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf119.c return gf100_gr_new_(&gf119_gr, device, index, pgr); index 493 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c gk104_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 495 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c return gf100_gr_new_(&gk104_gr, device, index, pgr); index 389 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c gk110_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 391 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c return gf100_gr_new_(&gk110_gr, device, index, pgr); index 140 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110b.c gk110b_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 142 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110b.c return gf100_gr_new_(&gk110b_gr, device, index, pgr); index 198 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk208.c gk208_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 200 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk208.c return gf100_gr_new_(&gk208_gr, device, index, pgr); index 80 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c u32 index; index 307 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c gk20a_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 316 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c ret = gf100_gr_ctor(&gk20a_gr, device, index, gr); index 433 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c gm107_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 435 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c return gf100_gr_new_(&gm107_gr, device, index, pgr); index 129 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c int index, struct nvkm_gr **pgr) index 138 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c ret = gf100_gr_ctor(func, device, index, gr); index 201 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c gm200_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 203 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c return gm200_gr_new_(&gm200_gr, device, index, pgr); index 89 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c gm20b_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 91 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c return gm200_gr_new_(&gm20b_gr, device, index, pgr); index 139 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c gp100_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 141 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.c return gm200_gr_new_(&gp100_gr, device, index, pgr); index 135 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c gp102_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 137 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.c return gm200_gr_new_(&gp102_gr, device, index, pgr); index 63 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp104.c gp104_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 65 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp104.c return gm200_gr_new_(&gp104_gr, device, index, pgr); index 65 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp107.c gp107_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 67 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp107.c return gm200_gr_new_(&gp107_gr, device, index, pgr); index 63 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c gp10b_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 65 drivers/gpu/drm/nouveau/nvkm/engine/gr/gp10b.c return gm200_gr_new_(&gp10b_gr, device, index, pgr); index 46 drivers/gpu/drm/nouveau/nvkm/engine/gr/gt200.c gt200_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 48 drivers/gpu/drm/nouveau/nvkm/engine/gr/gt200.c return nv50_gr_new_(>200_gr, device, index, pgr); index 47 drivers/gpu/drm/nouveau/nvkm/engine/gr/gt215.c gt215_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 49 drivers/gpu/drm/nouveau/nvkm/engine/gr/gt215.c return nv50_gr_new_(>215_gr, device, index, pgr); index 124 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c gv100_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 126 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c return gm200_gr_new_(&gv100_gr, device, index, pgr); index 45 drivers/gpu/drm/nouveau/nvkm/engine/gr/mcp79.c mcp79_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 47 drivers/gpu/drm/nouveau/nvkm/engine/gr/mcp79.c return nv50_gr_new_(&mcp79_gr, device, index, pgr); index 47 drivers/gpu/drm/nouveau/nvkm/engine/gr/mcp89.c mcp89_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 49 drivers/gpu/drm/nouveau/nvkm/engine/gr/mcp89.c return nv50_gr_new_(&mcp89_gr, device, index, pgr); index 1416 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c nv04_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 1425 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c return nvkm_gr_ctor(&nv04_gr, device, index, true, &gr->base); index 1176 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c int index, struct nvkm_gr **pgr) index 1185 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c return nvkm_gr_ctor(func, device, index, true, &gr->base); index 1218 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c nv10_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 1220 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.c return nv10_gr_new_(&nv10_gr, device, index, pgr); index 6 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv10.h int nv10_gr_new_(const struct nvkm_gr_func *, struct nvkm_device *, int index, index 56 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv15.c nv15_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 58 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv15.c return nv10_gr_new_(&nv15_gr, device, index, pgr); index 56 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv17.c nv17_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 58 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv17.c return nv10_gr_new_(&nv17_gr, device, index, pgr); index 333 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c int index, struct nvkm_gr **pgr) index 341 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c return nvkm_gr_ctor(func, device, index, true, &gr->base); index 373 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nv20_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 375 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c return nv20_gr_new_(&nv20_gr, device, index, pgr); index 132 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c nv25_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 134 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c return nv20_gr_new_(&nv25_gr, device, index, pgr); index 123 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv2a.c nv2a_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 125 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv2a.c return nv20_gr_new_(&nv2a_gr, device, index, pgr); index 197 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c nv30_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 199 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c return nv20_gr_new_(&nv30_gr, device, index, pgr); index 134 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c nv34_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 136 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c return nv20_gr_new_(&nv34_gr, device, index, pgr); index 134 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv35.c nv35_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 136 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv35.c return nv20_gr_new_(&nv35_gr, device, index, pgr); index 432 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c int index, struct nvkm_gr **pgr) index 441 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c return nvkm_gr_ctor(func, device, index, true, &gr->base); index 473 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c nv40_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 475 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c return nv40_gr_new_(&nv40_gr, device, index, pgr); index 13 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.h int nv40_gr_new_(const struct nvkm_gr_func *, struct nvkm_device *, int index, index 105 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c nv44_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 107 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c return nv40_gr_new_(&nv44_gr, device, index, pgr); index 764 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c int index, struct nvkm_gr **pgr) index 773 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c return nvkm_gr_ctor(func, device, index, true, &gr->base); index 793 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c nv50_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) index 795 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c return nv50_gr_new_(&nv50_gr, device, index, pgr); index 14 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.h int nv50_gr_new_(const struct nvkm_gr_func *, struct nvkm_device *, int index, index 11 drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h int index, bool enable, struct nvkm_gr *); index 40 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/g84.c g84_mpeg_new(struct nvkm_device *device, int index, struct nvkm_engine **pmpeg) index 42 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/g84.c return nvkm_engine_new_(&g84_mpeg, device, index, true, pmpeg); index 277 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c int index, struct nvkm_engine **pmpeg) index 286 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c return nvkm_engine_ctor(&nv31_mpeg_, device, index, index 296 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c nv31_mpeg_new(struct nvkm_device *device, int index, struct nvkm_engine **pmpeg) index 298 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c return nv31_mpeg_new_(&nv31_mpeg, device, index, pmpeg); index 15 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.h int index, struct nvkm_engine **); index 79 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv40.c nv40_mpeg_new(struct nvkm_device *device, int index, struct nvkm_engine **pmpeg) index 81 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv40.c return nv31_mpeg_new_(&nv40_mpeg, device, index, pmpeg); index 206 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c nv44_mpeg_new(struct nvkm_device *device, int index, struct nvkm_engine **pmpeg) index 215 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv44.c return nvkm_engine_ctor(&nv44_mpeg, device, index, true, &mpeg->engine); index 132 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c nv50_mpeg_new(struct nvkm_device *device, int index, struct nvkm_engine **pmpeg) index 134 drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv50.c return nvkm_engine_new_(&nv50_mpeg, device, index, true, pmpeg); index 28 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/base.c struct nvkm_device *device, int index, index 31 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/base.c return nvkm_falcon_new_(func, device, index, true, 0x085000, pengine); index 46 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/g98.c g98_mspdec_new(struct nvkm_device *device, int index, index 49 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/g98.c return nvkm_mspdec_new_(&g98_mspdec, device, index, pengine); index 46 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/gf100.c gf100_mspdec_new(struct nvkm_device *device, int index, index 49 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/gf100.c return nvkm_mspdec_new_(&gf100_mspdec, device, index, pengine); index 38 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/gk104.c gk104_mspdec_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/gk104.c return nvkm_mspdec_new_(&gk104_mspdec, device, index, pengine); index 38 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/gt215.c gt215_mspdec_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/gt215.c return nvkm_mspdec_new_(>215_mspdec, device, index, pengine); index 7 drivers/gpu/drm/nouveau/nvkm/engine/mspdec/priv.h int index, struct nvkm_engine **); index 28 drivers/gpu/drm/nouveau/nvkm/engine/msppp/base.c int index, struct nvkm_engine **pengine) index 30 drivers/gpu/drm/nouveau/nvkm/engine/msppp/base.c return nvkm_falcon_new_(func, device, index, true, 0x086000, pengine); index 46 drivers/gpu/drm/nouveau/nvkm/engine/msppp/g98.c g98_msppp_new(struct nvkm_device *device, int index, index 49 drivers/gpu/drm/nouveau/nvkm/engine/msppp/g98.c return nvkm_msppp_new_(&g98_msppp, device, index, pengine); index 46 drivers/gpu/drm/nouveau/nvkm/engine/msppp/gf100.c gf100_msppp_new(struct nvkm_device *device, int index, index 49 drivers/gpu/drm/nouveau/nvkm/engine/msppp/gf100.c return nvkm_msppp_new_(&gf100_msppp, device, index, pengine); index 38 drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c gt215_msppp_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c return nvkm_msppp_new_(>215_msppp, device, index, pengine); index 7 drivers/gpu/drm/nouveau/nvkm/engine/msppp/priv.h int index, struct nvkm_engine **); index 28 drivers/gpu/drm/nouveau/nvkm/engine/msvld/base.c int index, struct nvkm_engine **pengine) index 30 drivers/gpu/drm/nouveau/nvkm/engine/msvld/base.c return nvkm_falcon_new_(func, device, index, true, 0x084000, pengine); index 46 drivers/gpu/drm/nouveau/nvkm/engine/msvld/g98.c g98_msvld_new(struct nvkm_device *device, int index, index 49 drivers/gpu/drm/nouveau/nvkm/engine/msvld/g98.c return nvkm_msvld_new_(&g98_msvld, device, index, pengine); index 46 drivers/gpu/drm/nouveau/nvkm/engine/msvld/gf100.c gf100_msvld_new(struct nvkm_device *device, int index, index 49 drivers/gpu/drm/nouveau/nvkm/engine/msvld/gf100.c return nvkm_msvld_new_(&gf100_msvld, device, index, pengine); index 38 drivers/gpu/drm/nouveau/nvkm/engine/msvld/gk104.c gk104_msvld_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/engine/msvld/gk104.c return nvkm_msvld_new_(&gk104_msvld, device, index, pengine); index 38 drivers/gpu/drm/nouveau/nvkm/engine/msvld/gt215.c gt215_msvld_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/engine/msvld/gt215.c return nvkm_msvld_new_(>215_msvld, device, index, pengine); index 38 drivers/gpu/drm/nouveau/nvkm/engine/msvld/mcp89.c mcp89_msvld_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/engine/msvld/mcp89.c return nvkm_msvld_new_(&mcp89_msvld, device, index, pengine); index 7 drivers/gpu/drm/nouveau/nvkm/engine/msvld/priv.h int index, struct nvkm_engine **); index 33 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c nvdec->addr = nvkm_top_addr(subdev->device, subdev->index); index 57 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c nvkm_nvdec_new_(struct nvkm_device *device, int index, index 65 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/base.c return nvkm_engine_ctor(&nvkm_nvdec, device, index, true, index 26 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/gp102.c gp102_nvdec_new(struct nvkm_device *device, int index, index 29 drivers/gpu/drm/nouveau/nvkm/engine/nvdec/gp102.c return nvkm_nvdec_new_(device, index, pnvdec); index 613 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfmon_child_get(struct nvkm_object *object, int index, index 616 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (index == 0) { index 691 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_pm_oclass_get(struct nvkm_oclass *oclass, int index, index 694 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (index == 0) { index 697 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c return index; index 861 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c int index, struct nvkm_pm *pm) index 866 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c return nvkm_engine_ctor(&nvkm_pm, device, index, true, &pm->engine); index 162 drivers/gpu/drm/nouveau/nvkm/engine/pm/g84.c g84_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 164 drivers/gpu/drm/nouveau/nvkm/engine/pm/g84.c return nv40_pm_new_(g84_pm, device, index, ppm); index 190 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c int index, struct nvkm_pm **ppm) index 199 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c ret = nvkm_pm_ctor(&gf100_pm_, device, index, pm); index 240 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c gf100_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 242 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c return gf100_pm_new_(&gf100_pm, device, index, ppm); index 13 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.h int index, struct nvkm_pm **); index 63 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf108.c gf108_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 65 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf108.c return gf100_pm_new_(&gf108_pm, device, index, ppm); index 77 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf117.c gf117_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 79 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf117.c return gf100_pm_new_(&gf117_pm, device, index, ppm); index 181 drivers/gpu/drm/nouveau/nvkm/engine/pm/gk104.c gk104_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 183 drivers/gpu/drm/nouveau/nvkm/engine/pm/gk104.c return gf100_pm_new_(&gk104_pm, device, index, ppm); index 154 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt200.c gt200_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 156 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt200.c return nv40_pm_new_(gt200_pm, device, index, ppm); index 135 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt215.c gt215_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 137 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt215.c return nv40_pm_new_(gt215_pm, device, index, ppm); index 83 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c int index, struct nvkm_pm **ppm) index 92 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c ret = nvkm_pm_ctor(&nv40_pm_, device, index, &pm->base); index 120 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c nv40_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 122 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c return nv40_pm_new_(nv40_pm, device, index, ppm); index 13 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.h int index, struct nvkm_pm **); index 172 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv50.c nv50_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) index 174 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv50.c return nv40_pm_new_(nv50_pm, device, index, ppm); index 8 drivers/gpu/drm/nouveau/nvkm/engine/pm/priv.h int index, struct nvkm_pm *); index 77 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c g98_sec_new(struct nvkm_device *device, int index, index 80 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c return nvkm_falcon_new_(&g98_sec, device, index, index 81 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c sec2->addr = nvkm_top_addr(subdev->device, subdev->index); index 106 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c nvkm_sec2_new_(struct nvkm_device *device, int index, u32 addr, index 116 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c return nvkm_engine_ctor(&nvkm_sec2, device, index, true, &sec2->engine); index 26 drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c gp102_sec2_new(struct nvkm_device *device, int index, index 29 drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c return nvkm_sec2_new_(device, index, 0, psec2); index 26 drivers/gpu/drm/nouveau/nvkm/engine/sec2/tu102.c tu102_sec2_new(struct nvkm_device *device, int index, index 32 drivers/gpu/drm/nouveau/nvkm/engine/sec2/tu102.c return nvkm_sec2_new_(device, index, 0x840000, psec2); index 59 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c nvkm_sw_oclass_get(struct nvkm_oclass *oclass, int index) index 65 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c if (c++ == index) { index 66 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c oclass->engn = &sw->func->sclass[index]; index 67 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c oclass->base = sw->func->sclass[index].base; index 69 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c return index; index 100 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c int index, struct nvkm_sw **psw) index 109 drivers/gpu/drm/nouveau/nvkm/engine/sw/base.c return nvkm_engine_ctor(&nvkm_sw, device, index, true, &sw->engine); index 61 drivers/gpu/drm/nouveau/nvkm/engine/sw/chan.c notify->index = 0; index 42 drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c container_of(notify, typeof(*chan), vblank.notify[notify->index]); index 152 drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c gf100_sw_new(struct nvkm_device *device, int index, struct nvkm_sw **psw) index 154 drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c return nvkm_sw_new_(&gf100_sw, device, index, psw); index 136 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv04.c nv04_sw_new(struct nvkm_device *device, int index, struct nvkm_sw **psw) index 138 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv04.c return nvkm_sw_new_(&nv04_sw, device, index, psw); index 65 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv10.c nv10_sw_new(struct nvkm_device *device, int index, struct nvkm_sw **psw) index 67 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv10.c return nvkm_sw_new_(&nv10_sw, device, index, psw); index 42 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c container_of(notify, typeof(*chan), vblank.notify[notify->index]); index 145 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c nv50_sw_new(struct nvkm_device *device, int index, struct nvkm_sw **psw) index 147 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c return nvkm_sw_new_(&nv50_sw, device, index, psw); index 9 drivers/gpu/drm/nouveau/nvkm/engine/sw/priv.h int index, struct nvkm_sw **); index 39 drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c g84_vp_new(struct nvkm_device *device, int index, struct nvkm_engine **pengine) index 41 drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c return nvkm_xtensa_new_(&g84_vp, device, index, index 28 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c nvkm_xtensa_oclass_get(struct nvkm_oclass *oclass, int index) index 34 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c if (c++ == index) { index 35 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c oclass->base = xtensa->func->sclass[index]; index 36 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c return index; index 179 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c struct nvkm_device *device, int index, bool enable, index 190 drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c return nvkm_engine_ctor(&nvkm_xtensa, device, index, index 90 drivers/gpu/drm/nouveau/nvkm/falcon/base.c enum nvkm_devidx id = falcon->owner->index; index 107 drivers/gpu/drm/nouveau/nvkm/falcon/base.c enum nvkm_devidx id = falcon->owner->index; index 157 drivers/gpu/drm/nouveau/nvkm/falcon/base.c falcon->name, nvkm_subdev_name[falcon->user->index]); index 193 drivers/gpu/drm/nouveau/nvkm/falcon/base.c switch (subdev->index) { index 212 drivers/gpu/drm/nouveau/nvkm/falcon/base.c nvkm_subdev_name[subdev->index]); index 113 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c nvkm_error(subdev, "fail to open queue %d\n", queue->index); index 206 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c nvkm_error(subdev, "queue %d rewind failed\n", queue->index); index 208 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c nvkm_error(subdev, "queue %d rewinded\n", queue->index); index 282 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c u32 index; index 286 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c index = find_first_zero_bit(priv->seq_tbl, NVKM_MSGQUEUE_NUM_SEQUENCES); index 288 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c if (index >= NVKM_MSGQUEUE_NUM_SEQUENCES) { index 294 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c set_bit(index, priv->seq_tbl); index 298 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c seq = &priv->seq[index]; index 395 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c switch (falcon->owner->index) { index 404 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.c nvkm_subdev_name[falcon->owner->index]); index 136 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue.h u32 index; index 132 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c u8 index; index 157 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c queue->index = init->queue_info[i].index; index 162 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c queue->head_reg = 0x4a0 + (queue->index * 4); index 163 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c queue->tail_reg = 0x4b0 + (queue->index * 4); index 171 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c i, queue->index, queue->offset, queue->size); index 101 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c u8 index; index 127 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c queue->index = init->queue_info[i].index; index 132 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c queue->head_reg = 0xa30 + (queue->index * 8); index 133 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c queue->tail_reg = 0xa34 + (queue->index * 8); index 135 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c queue->head_reg = 0xa00 + (queue->index * 8); index 136 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c queue->tail_reg = 0xa04 + (queue->index * 8); index 141 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c id, queue->index, queue->offset, queue->size); index 195 drivers/gpu/drm/nouveau/nvkm/falcon/v1.c switch (falcon->owner->index) { index 249 drivers/gpu/drm/nouveau/nvkm/falcon/v1.c switch (falcon->owner->index) { index 137 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c int index, struct nvkm_bar *bar) index 139 drivers/gpu/drm/nouveau/nvkm/subdev/bar/base.c nvkm_subdev_ctor(&nvkm_bar, device, index, &bar->subdev); index 59 drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c g84_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) index 61 drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c return nv50_bar_new_(&g84_bar_func, device, index, 0x200, pbar); index 165 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c int index, struct nvkm_bar **pbar) index 170 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c nvkm_bar_ctor(func, device, index, &bar->base); index 192 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c gf100_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) index 194 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c return gf100_bar_new_(&gf100_bar_func, device, index, pbar); index 35 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c gk20a_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) index 37 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gk20a.c int ret = gf100_bar_new_(&gk20a_bar_func, device, index, pbar); index 62 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm107.c gm107_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) index 64 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm107.c return gf100_bar_new_(&gm107_bar_func, device, index, pbar); index 35 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm20b.c gm20b_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) index 37 drivers/gpu/drm/nouveau/nvkm/subdev/bar/gm20b.c int ret = gf100_bar_new_(&gm20b_bar_func, device, index, pbar); index 223 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c int index, u32 pgd_addr, struct nvkm_bar **pbar) index 228 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c nvkm_bar_ctor(func, device, index, &bar->base); index 251 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c nv50_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) index 253 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c return nv50_bar_new_(&nv50_bar_func, device, index, 0x1400, pbar); index 95 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c tu102_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) index 97 drivers/gpu/drm/nouveau/nvkm/subdev/bar/tu102.c return gf100_bar_new_(&tu102_bar, device, index, pbar); index 143 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c nvkm_bios_new(struct nvkm_device *device, int index, struct nvkm_bios **pbios) index 152 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c nvkm_subdev_ctor(&nvkm_bios, device, index, &bios->subdev); index 79 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c info->index = nvbios_rd08(bios, data + 0x03); index 229 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_rdvgai(struct nvbios_init *init, u16 port, u8 index) index 234 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c return nvkm_rdvgai(subdev->device, head, port, index); index 240 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wrvgai(struct nvbios_init *init, u16 port, u8 index, u8 value) index 246 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (port == 0x03d4 && index == 0x44) index 252 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c nvkm_wrvgai(device, head, port, index, value); index 257 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (port == 0x03d4 && index == 0x44 && value == 3) index 263 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_i2c(struct nvbios_init *init, int index) index 268 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (index == 0xff) { index 269 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index = NVKM_I2C_BUS_PRI; index 271 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index = NVKM_I2C_BUS_SEC; index 273 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (index == 0x80) { index 274 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index = NVKM_I2C_BUS_PRI; index 276 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (index == 0x81) { index 277 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index = NVKM_I2C_BUS_SEC; index 280 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c bus = nvkm_i2c_bus_find(i2c, index); index 285 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_rdi2cr(struct nvbios_init *init, u8 index, u8 addr, u8 reg) index 287 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c struct i2c_adapter *adap = init_i2c(init, index); index 294 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wri2cr(struct nvbios_init *init, u8 index, u8 addr, u8 reg, u8 val) index 296 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c struct i2c_adapter *adap = init_i2c(init, index); index 409 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_script(struct nvkm_bios *bios, int index) index 415 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (index > 1 || bmp_ver < 0x0100) index 419 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c return nvbios_rd16(bios, data + (index * 2)); index 424 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c return nvbios_rd16(bios, data + (index * 2)); index 461 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_xlat_(struct nvbios_init *init, u8 index, u8 offset) index 466 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u16 data = nvbios_rd16(bios, table + (index * 2)); index 469 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c warn("xlat table pointer %d invalid\n", index); index 501 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, table + (cond * 5) + 2); index 505 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c cond, port, index, mask, value); index 506 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c return (init_rdvgai(init, port, index) & mask) == value; index 518 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, table + (cond * 9) + 2); index 524 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 ioval = (init_rdvgai(init, port, index) & mask) >> shift; index 625 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 3); index 634 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c reg, port, index, mask, shift); index 637 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c conf = (init_rdvgai(init, port, index) & mask) >> shift; index 688 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 3); index 698 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c reg, port, index, mask, shift, iofc); index 701 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c conf = (init_rdvgai(init, port, index) & mask) >> shift; index 747 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 9); index 753 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c port, index, mask, reg, (shift & 0x80) ? "<<" : ">>", index 757 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c data = init_rdvgai(init, port, index) & mask; index 759 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wrvgai(init, port, index, data); index 851 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 855 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("IO_MASK_OR\t0x03d4[0x%02x] &= ~(1 << 0x%02x)\n", index, or); index 858 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c data = init_rdvgai(init, 0x03d4, index); index 859 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wrvgai(init, 0x03d4, index, data &= ~(1 << or)); index 870 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 874 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("IO_OR\t0x03d4[0x%02x] |= (1 << 0x%02x)\n", index, or); index 877 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c data = init_rdvgai(init, 0x03d4, index); index 878 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wrvgai(init, 0x03d4, index, data | (1 << or)); index 954 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 3); index 963 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c reg, port, index, mask, shift); index 966 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c conf = (init_rdvgai(init, port, index) & mask) >> shift; index 1005 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 1009 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("I2C_BYTE\tI2C[0x%02x][0x%02x]\n", index, addr); index 1021 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c val = init_rdi2cr(init, index, addr, reg); index 1024 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wri2cr(init, index, addr, reg, (val & mask) | data); index 1036 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 1040 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("ZM_I2C_BYTE\tI2C[0x%02x][0x%02x]\n", index, addr); index 1050 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wri2cr(init, index, addr, reg, data); index 1062 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 1067 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("ZM_I2C\tI2C[0x%02x][0x%02x]\n", index, addr); index 1077 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c struct i2c_adapter *adap = init_i2c(init, index); index 1391 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 1399 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index, addr, reg, mask, data); index 1403 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c value = init_rdi2cr(init, index, addr, reg); index 1445 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 3); index 1448 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("ZM_INDEX_IO\tI[0x%04x][0x%02x] = 0x%02x\n", port, index, data); index 1451 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wrvgai(init, port, index, data); index 1666 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 1669 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("SUB\t0x%02x\n", index); index 1671 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c addr = init_script(bios, index); index 1857 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd16(bios, init->offset + 3); index 1863 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c port, index, mask, data); index 1866 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c value = init_rdvgai(init, port, index) & mask; index 1867 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wrvgai(init, port, index, data | value); index 1987 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = init_ram_restrict(init); index 1999 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (j == index) { index 2063 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 7); index 2071 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c daddr, dmask, index, saddr, (sshift & 0x80) ? "<<" : ">>", index 2076 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c data = init_xlat_(init, index, data) << shift; index 2155 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, init->offset + 1); index 2165 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index, addr, reglo, reghi, mask, data); index 2168 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c adap = init_i2c(init, index); index 56 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c int index, struct nvkm_bus **pbus) index 61 drivers/gpu/drm/nouveau/nvkm/subdev/bus/base.c nvkm_subdev_ctor(&nvkm_bus, device, index, &bus->subdev); index 61 drivers/gpu/drm/nouveau/nvkm/subdev/bus/g94.c g94_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) index 63 drivers/gpu/drm/nouveau/nvkm/subdev/bus/g94.c return nvkm_bus_new_(&g94_bus, device, index, pbus); index 72 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c gf100_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) index 74 drivers/gpu/drm/nouveau/nvkm/subdev/bus/gf100.c return nvkm_bus_new_(&gf100_bus, device, index, pbus); index 71 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c nv04_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) index 73 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv04.c return nvkm_bus_new_(&nv04_bus, device, index, pbus); index 85 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c nv31_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) index 87 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv31.c return nvkm_bus_new_(&nv31_bus, device, index, pbus); index 102 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c nv50_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) index 104 drivers/gpu/drm/nouveau/nvkm/subdev/bus/nv50.c return nvkm_bus_new_(&nv50_bus, device, index, pbus); index 456 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c int idx = cstepE.index; index 652 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c int index, bool allow_reclock, struct nvkm_clk *clk) index 660 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_subdev_ctor(&nvkm_clk, device, index, subdev); index 719 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c int index, bool allow_reclock, struct nvkm_clk **pclk) index 723 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return nvkm_clk_ctor(func, device, index, allow_reclock, *pclk); index 44 drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c g84_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 46 drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c return nv50_clk_new_(&g84_clk, device, index, index 471 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 479 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c return nvkm_clk_ctor(&gf100_clk, device, index, false, &clk->base); index 507 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c gk104_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 515 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c return nvkm_clk_ctor(&gk104_clk, device, index, true, &clk->base); index 613 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c gk20a_clk_ctor(struct nvkm_device *device, int index, index 631 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c ret = nvkm_clk_ctor(func, device, index, true, &clk->base); index 642 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c gk20a_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 652 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c ret = gk20a_clk_ctor(device, index, &gk20a_clk, &gk20a_pllg_params, index 911 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c gm20b_clk_new_speedo0(struct nvkm_device *device, int index, index 922 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c ret = gk20a_clk_ctor(device, index, &gm20b_clk_speedo0, index 1017 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c gm20b_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 1027 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c return gm20b_clk_new_speedo0(device, index, pclk); index 1039 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c ret = gk20a_clk_ctor(device, index, &gm20b_clk, clk_params, index 1053 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c return gm20b_clk_new_speedo0(device, index, pclk); index 540 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c gt215_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 548 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c return nvkm_clk_ctor(>215_clk, device, index, true, &clk->base); index 415 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c mcp77_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 423 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c return nvkm_clk_ctor(&mcp77_clk, device, index, true, &clk->base); index 75 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c nv04_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 77 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c int ret = nvkm_clk_new_(&nv04_clk, device, index, false, pclk); index 221 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c nv40_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 231 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c return nvkm_clk_ctor(&nv40_clk, device, index, true, &clk->base); index 510 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c int index, bool allow_reclock, struct nvkm_clk **pclk) index 517 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c ret = nvkm_clk_ctor(func, device, index, allow_reclock, &clk->base); index 558 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c nv50_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) index 560 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c return nv50_clk_new_(&nv50_clk, device, index, false, pclk); index 130 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c struct nvkm_device *device, int index, index 133 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/base.c nvkm_subdev_ctor(&nvkm_devinit, device, index, &init->subdev); index 64 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g84.c g84_devinit_new(struct nvkm_device *device, int index, index 67 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g84.c return nv50_devinit_new_(&g84_devinit, device, index, pinit); index 63 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c g98_devinit_new(struct nvkm_device *device, int index, index 66 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c return nv50_devinit_new_(&g98_devinit, device, index, pinit); index 117 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c gf100_devinit_new(struct nvkm_device *device, int index, index 120 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gf100.c return nv50_devinit_new_(&gf100_devinit, device, index, pinit); index 57 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm107.c gm107_devinit_new(struct nvkm_device *device, int index, index 60 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm107.c return nv50_devinit_new_(&gm107_devinit, device, index, pinit); index 182 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c gm200_devinit_new(struct nvkm_device *device, int index, index 185 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c return nv50_devinit_new_(&gm200_devinit, device, index, pinit); index 149 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c gt215_devinit_new(struct nvkm_device *device, int index, index 152 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gt215.c return nv50_devinit_new_(>215_devinit, device, index, pinit); index 75 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c gv100_devinit_new(struct nvkm_device *device, int index, index 78 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gv100.c return nv50_devinit_new_(&gv100_devinit, device, index, pinit); index 64 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c mcp89_devinit_new(struct nvkm_device *device, int index, index 67 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c return nv50_devinit_new_(&mcp89_devinit, device, index, pinit); index 438 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c struct nvkm_device *device, int index, index 447 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c nvkm_devinit_ctor(func, device, index, &init->base); index 462 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c nv04_devinit_new(struct nvkm_device *device, int index, index 465 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c return nv04_devinit_new_(&nv04_devinit, device, index, pinit); index 139 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c nv05_devinit_new(struct nvkm_device *device, int index, index 142 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c return nv04_devinit_new_(&nv05_devinit, device, index, pinit); index 109 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv10.c nv10_devinit_new(struct nvkm_device *device, int index, index 112 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv10.c return nv04_devinit_new_(&nv10_devinit, device, index, pinit); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv1a.c nv1a_devinit_new(struct nvkm_device *device, int index, index 41 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv1a.c return nv04_devinit_new_(&nv1a_devinit, device, index, pinit); index 75 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c nv20_devinit_new(struct nvkm_device *device, int index, index 78 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv20.c return nv04_devinit_new_(&nv20_devinit, device, index, pinit); index 152 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c struct nvkm_device *device, int index, index 161 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c nvkm_devinit_ctor(func, device, index, &init->base); index 175 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c nv50_devinit_new(struct nvkm_device *device, int index, index 178 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c return nv50_devinit_new_(&nv50_devinit, device, index, pinit); index 19 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/priv.h int index, struct nvkm_devinit *); index 85 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c tu102_devinit_new(struct nvkm_device *device, int index, index 88 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c return nv50_devinit_new_(&tu102_devinit, device, index, pinit); index 28 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_ntfy_fini(struct nvkm_event *event, int type, int index) index 31 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.intr(fault->buffer[index], false); index 35 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_ntfy_init(struct nvkm_event *event, int type, int index) index 38 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c fault->func->buffer.intr(fault->buffer[index], true); index 49 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c notify->index = buffer->id; index 173 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c int index, struct nvkm_fault **pfault) index 178 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_subdev_ctor(&nvkm_fault, device, index, &fault->subdev); index 78 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c gp100_fault_new(struct nvkm_device *device, int index, index 81 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gp100.c return nvkm_fault_new_(&gp100_fault, device, index, pfault); index 230 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c gv100_fault_new(struct nvkm_device *device, int index, index 233 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c return nvkm_fault_new_(&gv100_fault, device, index, pfault); index 22 drivers/gpu/drm/nouveau/nvkm/subdev/fault/priv.h int index, struct nvkm_fault **); index 164 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c tu102_fault_new(struct nvkm_device *device, int index, index 167 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c return nvkm_fault_new_(&tu102_fault, device, index, pfault); index 190 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c int index, struct nvkm_fb *fb) index 192 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_subdev_ctor(&nvkm_fb, device, index, &fb->subdev); index 201 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c int index, struct nvkm_fb **pfb) index 205 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_ctor(func, device, index, *pfb); index 35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/g84.c g84_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/g84.c return nv50_fb_new_(&g84_fb, device, index, pfb); index 120 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c int index, struct nvkm_fb **pfb) index 126 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c nvkm_fb_ctor(func, device, index, &fb->base); index 144 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c gf100_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 146 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c return gf100_fb_new_(&gf100_fb, device, index, pfb); index 14 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.h int index, struct nvkm_fb **); index 39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf108.c gf108_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 41 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf108.c return gf100_fb_new_(&gf108_fb, device, index, pfb); index 86 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.c gk104_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 88 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.c return gf100_fb_new_(&gk104_fb, device, index, pfb); index 68 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk110.c gk110_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 70 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk110.c return gf100_fb_new_(&gk110_fb, device, index, pfb); index 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk20a.c gk20a_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk20a.c return gf100_fb_new_(&gk20a_fb, device, index, pfb); index 39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm107.c gm107_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 41 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm107.c return gf100_fb_new_(&gm107_fb, device, index, pfb); index 70 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c gm200_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 72 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c return gf100_fb_new_(&gm200_fb, device, index, pfb); index 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm20b.c gm20b_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm20b.c return gf100_fb_new_(&gm20b_fb, device, index, pfb); index 74 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c gp100_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 76 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c return gf100_fb_new_(&gp100_fb, device, index, pfb); index 40 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp102.c gp102_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp102.c return gf100_fb_new_(&gp102_fb, device, index, pfb); index 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp10b.c gp10b_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp10b.c return gf100_fb_new_(&gp10b_fb, device, index, pfb); index 35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gt215.c gt215_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gt215.c return nv50_fb_new_(>215_fb, device, index, pfb); index 43 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.c gv100_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 45 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.c return gf100_fb_new_(&gv100_fb, device, index, pfb); index 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/mcp77.c mcp77_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/mcp77.c return nv50_fb_new_(&mcp77_fb, device, index, pfb); index 34 drivers/gpu/drm/nouveau/nvkm/subdev/fb/mcp89.c mcp89_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/mcp89.c return nv50_fb_new_(&mcp89_fb, device, index, pfb); index 47 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv04.c nv04_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 49 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv04.c return nvkm_fb_new_(&nv04_fb, device, index, pfb); index 67 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c nv10_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 69 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c return nvkm_fb_new_(&nv10_fb, device, index, pfb); index 39 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv1a.c nv1a_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 41 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv1a.c return nvkm_fb_new_(&nv1a_fb, device, index, pfb); index 99 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c nv20_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 101 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c return nvkm_fb_new_(&nv20_fb, device, index, pfb); index 57 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv25.c nv25_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 59 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv25.c return nvkm_fb_new_(&nv25_fb, device, index, pfb); index 130 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c nv30_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 132 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c return nvkm_fb_new_(&nv30_fb, device, index, pfb); index 59 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv35.c nv35_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 61 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv35.c return nvkm_fb_new_(&nv35_fb, device, index, pfb); index 59 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv36.c nv36_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 61 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv36.c return nvkm_fb_new_(&nv36_fb, device, index, pfb); index 65 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.c nv40_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 67 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.c return nvkm_fb_new_(&nv40_fb, device, index, pfb); index 59 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv41.c nv41_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 61 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv41.c return nvkm_fb_new_(&nv41_fb, device, index, pfb); index 68 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c nv44_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 70 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c return nvkm_fb_new_(&nv44_fb, device, index, pfb); index 54 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv46.c nv46_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 56 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv46.c return nvkm_fb_new_(&nv46_fb, device, index, pfb); index 42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv47.c nv47_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 44 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv47.c return nvkm_fb_new_(&nv47_fb, device, index, pfb); index 42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv49.c nv49_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 44 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv49.c return nvkm_fb_new_(&nv49_fb, device, index, pfb); index 40 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c nv4e_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 42 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c return nvkm_fb_new_(&nv4e_fb, device, index, pfb); index 265 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c int index, struct nvkm_fb **pfb) index 271 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c nvkm_fb_ctor(&nv50_fb_, device, index, &fb->base); index 286 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c nv50_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) index 288 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.c return nv50_fb_new_(&nv50_fb, device, index, pfb); index 20 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.h int nv50_fb_new_(const struct nv50_fb_func *, struct nvkm_device *, int index, index 36 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h int index, struct nvkm_fb *); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h int index, struct nvkm_fb **); index 45 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c int index, struct nvkm_fuse **pfuse) index 50 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/base.c nvkm_subdev_ctor(&nvkm_fuse, device, index, &fuse->subdev); index 50 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gf100.c gf100_fuse_new(struct nvkm_device *device, int index, struct nvkm_fuse **pfuse) index 52 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gf100.c return nvkm_fuse_new_(&gf100_fuse, device, index, pfuse); index 39 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gm107.c gm107_fuse_new(struct nvkm_device *device, int index, struct nvkm_fuse **pfuse) index 41 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/gm107.c return nvkm_fuse_new_(&gm107_fuse, device, index, pfuse); index 48 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/nv50.c nv50_fuse_new(struct nvkm_device *device, int index, struct nvkm_fuse **pfuse) index 50 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/nv50.c return nvkm_fuse_new_(&nv50_fuse, device, index, pfuse); index 12 drivers/gpu/drm/nouveau/nvkm/subdev/fuse/priv.h int index, struct nvkm_fuse **); index 113 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_intr_fini(struct nvkm_event *event, int type, int index) index 116 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->intr_mask(gpio, type, 1 << index, 0); index 120 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_gpio_intr_init(struct nvkm_event *event, int type, int index) index 123 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c gpio->func->intr_mask(gpio, type, 1 << index, 1 << index); index 134 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c notify->index = req->line; index 244 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c int index, struct nvkm_gpio **pgpio) index 251 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c nvkm_subdev_ctor(&nvkm_gpio, device, index, &gpio->subdev); index 71 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/g94.c g94_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) index 73 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/g94.c return nvkm_gpio_new_(&g94_gpio, device, index, pgpio); index 83 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c gf119_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) index 85 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c return nvkm_gpio_new_(&gf119_gpio, device, index, pgpio); index 71 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gk104.c gk104_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) index 73 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gk104.c return nvkm_gpio_new_(&gk104_gpio, device, index, pgpio); index 115 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c nv10_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) index 117 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv10.c return nvkm_gpio_new_(&nv10_gpio, device, index, pgpio); index 129 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c nv50_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) index 131 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c return nvkm_gpio_new_(&nv50_gpio, device, index, pgpio); index 32 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/priv.h int index, struct nvkm_gpio **); index 31 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c gsp->addr = nvkm_top_addr(subdev->device, subdev->index); index 53 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c gv100_gsp_new(struct nvkm_device *device, int index, struct nvkm_gsp **pgsp) index 60 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c nvkm_subdev_ctor(&gv100_gsp, device, index, &gsp->subdev); index 165 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c struct nvkm_i2c_pad *pad, int index, u8 drive, index 174 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c nvkm_i2c_aux_ctor(func, pad, index, &aux->base); index 186 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c g94_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, index 189 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c return g94_i2c_aux_new_(&g94_i2c_aux, pad, index, drive, paux); index 31 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgf119.c gf119_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, index 34 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgf119.c return g94_i2c_aux_new_(&gf119_i2c_aux, pad, index, drive, paux); index 170 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c gm200_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, index 179 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c nvkm_i2c_aux_ctor(&gm200_i2c_aux_func, pad, index, &aux->base); index 115 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c notify->index = req->port; index 280 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c int index, struct nvkm_i2c **pi2c) index 292 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c nvkm_subdev_ctor(&nvkm_i2c, device, index, &i2c->subdev); index 69 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c g94_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 71 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/g94.c return nvkm_i2c_new_(&g94_i2c, device, index, pi2c); index 33 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gf117.c gf117_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gf117.c return nvkm_i2c_new_(&gf117_i2c, device, index, pi2c); index 37 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gf119.c gf119_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 39 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gf119.c return nvkm_i2c_new_(&gf119_i2c, device, index, pi2c); index 69 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c gk104_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 71 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gk104.c return nvkm_i2c_new_(&gk104_i2c, device, index, pi2c); index 37 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gm200.c gm200_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 39 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/gm200.c return nvkm_i2c_new_(&gm200_i2c, device, index, pi2c); index 33 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/nv04.c nv04_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/nv04.c return nvkm_i2c_new_(&nv04_i2c, device, index, pi2c); index 33 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/nv4e.c nv4e_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/nv4e.c return nvkm_i2c_new_(&nv4e_i2c, device, index, pi2c); index 33 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/nv50.c nv50_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) index 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/nv50.c return nvkm_i2c_new_(&nv50_i2c, device, index, pi2c); index 8 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/priv.h int index, struct nvkm_i2c **); index 114 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c gf100_ibus_new(struct nvkm_device *device, int index, index 120 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf100.c nvkm_subdev_ctor(&gf100_ibus, device, index, ibus); index 43 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf117.c gf117_ibus_new(struct nvkm_device *device, int index, index 49 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gf117.c nvkm_subdev_ctor(&gf117_ibus, device, index, ibus); index 117 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c gk104_ibus_new(struct nvkm_device *device, int index, index 123 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk104.c nvkm_subdev_ctor(&gk104_ibus, device, index, ibus); index 81 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk20a.c gk20a_ibus_new(struct nvkm_device *device, int index, index 87 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gk20a.c nvkm_subdev_ctor(&gk20a_ibus, device, index, ibus); index 32 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gm200.c gm200_ibus_new(struct nvkm_device *device, int index, index 38 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gm200.c nvkm_subdev_ctor(&gm200_ibus, device, index, ibus); index 51 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gp10b.c gp10b_ibus_new(struct nvkm_device *device, int index, index 57 drivers/gpu/drm/nouveau/nvkm/subdev/ibus/gp10b.c nvkm_subdev_ctor(&gp10b_ibus, device, index, ibus); index 315 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c nvkm_iccsense_ctor(struct nvkm_device *device, int index, index 318 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c nvkm_subdev_ctor(&iccsense_func, device, index, &iccsense->subdev); index 322 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c nvkm_iccsense_new_(struct nvkm_device *device, int index, index 329 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c nvkm_iccsense_ctor(device, index, *iccsense); index 27 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/gf100.c gf100_iccsense_new(struct nvkm_device *device, int index, index 30 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/gf100.c return nvkm_iccsense_new_(device, index, piccsense); index 236 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c struct nvkm_device *device, int index, index 239 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c nvkm_subdev_ctor(&nvkm_instmem, device, index, &imem->subdev); index 571 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c gk20a_instmem_new(struct nvkm_device *device, int index, index 579 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c nvkm_instmem_ctor(&gk20a_instmem, device, index, &imem->base); index 221 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instmem_new(struct nvkm_device *device, int index, index 228 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nvkm_instmem_ctor(&nv04_instmem, device, index, &imem->base); index 239 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instmem_new(struct nvkm_device *device, int index, index 247 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nvkm_instmem_ctor(&nv40_instmem, device, index, &imem->base); index 389 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nv50_instmem_new(struct nvkm_device *device, int index, index 396 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c nvkm_instmem_ctor(&nv50_instmem, device, index, &imem->base); index 19 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h int index, struct nvkm_instmem *); index 43 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_zbc_color_get(struct nvkm_ltc *ltc, int index, const u32 color[4]) index 45 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c memcpy(ltc->zbc_color[index], color, sizeof(ltc->zbc_color[index])); index 46 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_color(ltc, index, color); index 47 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c return index; index 51 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_zbc_depth_get(struct nvkm_ltc *ltc, int index, const u32 depth) index 53 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->zbc_depth[index] = depth; index 54 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_depth(ltc, index, depth); index 55 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c return index; index 59 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_ltc_zbc_stencil_get(struct nvkm_ltc *ltc, int index, const u32 stencil) index 61 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->zbc_stencil[index] = stencil; index 62 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c ltc->func->zbc_clear_stencil(ltc, index, stencil); index 63 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c return index; index 129 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c int index, struct nvkm_ltc **pltc) index 136 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/base.c nvkm_subdev_ctor(&nvkm_ltc, device, index, <c->subdev); index 252 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c gf100_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) index 254 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gf100.c return nvkm_ltc_new_(&gf100_ltc, device, index, pltc); index 53 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gk104.c gk104_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) index 55 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gk104.c return nvkm_ltc_new_(&gk104_ltc, device, index, pltc); index 148 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c gm107_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) index 150 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm107.c return nvkm_ltc_new_(&gm107_ltc, device, index, pltc); index 60 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm200.c gm200_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) index 62 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gm200.c return nvkm_ltc_new_(&gm200_ltc, device, index, pltc); index 72 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp100.c gp100_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) index 74 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp100.c return nvkm_ltc_new_(&gp100_ltc, device, index, pltc); index 48 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp102.c gp102_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) index 50 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp102.c return nvkm_ltc_new_(&gp102_ltc, device, index, pltc); index 9 drivers/gpu/drm/nouveau/nvkm/subdev/ltc/priv.h int index, struct nvkm_ltc **); index 209 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c int index, struct nvkm_mc *mc) index 211 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_subdev_ctor(&nvkm_mc, device, index, &mc->subdev); index 217 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c int index, struct nvkm_mc **pmc) index 222 drivers/gpu/drm/nouveau/nvkm/subdev/mc/base.c nvkm_mc_ctor(func, device, index, *pmc); index 65 drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c g84_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 67 drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c return nvkm_mc_new_(&g84_mc, device, index, pmc); index 65 drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c g98_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 67 drivers/gpu/drm/nouveau/nvkm/subdev/mc/g98.c return nvkm_mc_new_(&g98_mc, device, index, pmc); index 115 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c gf100_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 117 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gf100.c return nvkm_mc_new_(&gf100_mc, device, index, pmc); index 63 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c gk104_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 65 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk104.c return nvkm_mc_new_(&gk104_mc, device, index, pmc); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c gk20a_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gk20a.c return nvkm_mc_new_(&gk20a_mc, device, index, pmc); index 109 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c int index, struct nvkm_mc **pmc) index 115 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c nvkm_mc_ctor(func, device, index, &mc->base); index 125 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c gp100_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 127 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c return gp100_mc_new_(&gp100_mc, device, index, pmc); index 46 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp10b.c gp10b_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 48 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp10b.c return gp100_mc_new_(&gp10b_mc, device, index, pmc); index 74 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c gt215_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 76 drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c return nvkm_mc_new_(>215_mc, device, index, pmc); index 83 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c nv04_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 85 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c return nvkm_mc_new_(&nv04_mc, device, index, pmc); index 47 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c nv11_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 49 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv11.c return nvkm_mc_new_(&nv11_mc, device, index, pmc); index 56 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c nv17_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 58 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c return nvkm_mc_new_(&nv17_mc, device, index, pmc); index 51 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c nv44_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 53 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv44.c return nvkm_mc_new_(&nv44_mc, device, index, pmc); index 58 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c nv50_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 60 drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv50.c return nvkm_mc_new_(&nv50_mc, device, index, pmc); index 8 drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h int index, struct nvkm_mc *); index 10 drivers/gpu/drm/nouveau/nvkm/subdev/mc/priv.h int index, struct nvkm_mc **); index 52 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c tu102_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) index 54 drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c return gp100_mc_new_(&tu102_mc, device, index, pmc); index 417 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c int index, struct nvkm_mmu *mmu) index 419 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_subdev_ctor(&nvkm_mmu, device, index, &mmu->subdev); index 429 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c int index, struct nvkm_mmu **pmmu) index 433 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_ctor(func, device, index, *pmmu); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/g84.c g84_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/g84.c return nvkm_mmu_new_(&g84_mmu, device, index, pmmu); index 86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gf100.c gf100_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 88 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gf100.c return nvkm_mmu_new_(&gf100_mmu, device, index, pmmu); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gk104.c gk104_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gk104.c return nvkm_mmu_new_(&gk104_mmu, device, index, pmmu); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gk20a.c gk20a_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gk20a.c return nvkm_mmu_new_(&gk20a_mmu, device, index, pmmu); index 92 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm200.c gm200_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 95 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm200.c return nvkm_mmu_new_(&gm200_mmu_fixed, device, index, pmmu); index 96 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm200.c return nvkm_mmu_new_(&gm200_mmu, device, index, pmmu); index 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm20b.c gm20b_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 53 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm20b.c return nvkm_mmu_new_(&gm20b_mmu_fixed, device, index, pmmu); index 54 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm20b.c return nvkm_mmu_new_(&gm20b_mmu, device, index, pmmu); index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gp100.c gp100_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 43 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gp100.c return gm200_mmu_new(device, index, pmmu); index 44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gp100.c return nvkm_mmu_new_(&gp100_mmu, device, index, pmmu); index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gp10b.c gp10b_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 43 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gp10b.c return gm20b_mmu_new(device, index, pmmu); index 44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gp10b.c return nvkm_mmu_new_(&gp10b_mmu, device, index, pmmu); index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gv100.c gv100_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 42 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gv100.c return nvkm_mmu_new_(&gv100_mmu, device, index, pmmu); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mcp77.c mcp77_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mcp77.c return nvkm_mmu_new_(&mcp77_mmu, device, index, pmmu); index 38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv04.c nv04_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv04.c return nvkm_mmu_new_(&nv04_mmu, device, index, pmmu); index 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv41.c nv41_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 54 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv41.c return nv04_mmu_new(device, index, pmmu); index 56 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv41.c return nvkm_mmu_new_(&nv41_mmu, device, index, pmmu); index 65 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv44.c nv44_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 69 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv44.c return nv04_mmu_new(device, index, pmmu); index 71 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv44.c return nvkm_mmu_new_(&nv44_mmu, device, index, pmmu); index 73 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv50.c nv50_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 75 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/nv50.c return nvkm_mmu_new_(&nv50_mmu, device, index, pmmu); index 8 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h int index, struct nvkm_mmu *); index 10 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/priv.h int index, struct nvkm_mmu **); index 40 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/tu102.c tu102_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) index 42 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/tu102.c return nvkm_mmu_new_(&tu102_mmu, device, index, pmmu); index 32 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c nvkm_ummu_sclass(struct nvkm_object *object, int index, index 38 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (index-- == 0) { index 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (index-- == 0) { index 64 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c u8 index; index 67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if ((index = args->v0.index) >= mmu->heap_nr) index 69 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.size = mmu->heap[index].size; index 84 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c u8 type, index; index 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if ((index = args->v0.index) >= mmu->type_nr) index 89 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c type = mmu->type[index].type; index 90 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.heap = mmu->type[index].heap; index 312 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c u8 type, index, nr; index 318 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if ((index = args->v0.index) >= nr) index 320 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c type = page[index].type; index 321 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.shift = page[index].shift; index 233 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c nvkm_mxm_new_(struct nvkm_device *device, int index, struct nvkm_mxm **pmxm) index 243 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c nvkm_subdev_ctor(&nvkm_mxm, device, index, &mxm->subdev); index 204 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c nv50_mxm_new(struct nvkm_device *device, int index, struct nvkm_subdev **pmxm) index 209 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/nv50.c ret = nvkm_mxm_new_(device, index, &mxm); index 15 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/priv.h int nvkm_mxm_new_(struct nvkm_device *, int index, struct nvkm_mxm **); index 186 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c int index, struct nvkm_pci **ppci) index 192 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_subdev_ctor(&nvkm_pci_func, device, index, &pci->subdev); index 153 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 155 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c return nvkm_pci_new_(&g84_pci_func, device, index, ppci); index 54 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c g92_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 56 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c return nvkm_pci_new_(&g92_pci_func, device, index, ppci); index 46 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g94.c g94_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 48 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g94.c return nvkm_pci_new_(&g94_pci_func, device, index, ppci); index 99 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 101 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c return nvkm_pci_new_(&gf100_pci_func, device, index, ppci); index 46 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf106.c gf106_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 48 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf106.c return nvkm_pci_new_(&gf106_pci_func, device, index, ppci); index 225 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 227 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c return nvkm_pci_new_(&gk104_pci_func, device, index, ppci); index 41 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gp100.c gp100_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gp100.c return nvkm_pci_new_(&gp100_pci_func, device, index, ppci); index 55 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c nv04_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 57 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c return nvkm_pci_new_(&nv04_pci_func, device, index, ppci); index 62 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c nv40_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 64 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c return nvkm_pci_new_(&nv40_pci_func, device, index, ppci); index 48 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c nv46_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 50 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c return nvkm_pci_new_(&nv46_pci_func, device, index, ppci); index 34 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv4c.c nv4c_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) index 36 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv4c.c return nvkm_pci_new_(&nv4c_pci_func, device, index, ppci); index 8 drivers/gpu/drm/nouveau/nvkm/subdev/pci/priv.h int index, struct nvkm_pci **); index 164 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c int index, struct nvkm_pmu *pmu) index 166 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c nvkm_subdev_ctor(&nvkm_pmu, device, index, &pmu->subdev); index 175 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c int index, struct nvkm_pmu **ppmu) index 180 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c return nvkm_pmu_ctor(func, device, index, *ppmu); index 59 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gf100.c gf100_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 61 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gf100.c return nvkm_pmu_new_(&gf100_pmu, device, index, ppmu); index 43 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gf119.c gf119_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 45 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gf119.c return nvkm_pmu_new_(&gf119_pmu, device, index, ppmu); index 123 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk104.c gk104_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 125 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk104.c return nvkm_pmu_new_(&gk104_pmu, device, index, ppmu); index 102 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk110.c gk110_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 104 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk110.c return nvkm_pmu_new_(&gk110_pmu, device, index, ppmu); index 44 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk208.c gk208_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 46 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk208.c return nvkm_pmu_new_(&gk208_pmu, device, index, ppmu); index 206 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c gk20a_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 214 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c nvkm_pmu_ctor(&gk20a_pmu, device, index, &pmu->base); index 45 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm107.c gm107_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 47 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm107.c return nvkm_pmu_new_(&gm107_pmu, device, index, ppmu); index 47 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c gm20b_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 51 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c ret = nvkm_pmu_new_(&gm20b_pmu, device, index, ppmu); index 33 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp100.c gp100_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 35 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp100.c return nvkm_pmu_new_(&gp100_pmu, device, index, ppmu); index 47 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c gp102_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 49 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c return nvkm_pmu_new_(&gp102_pmu, device, index, ppmu); index 260 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c gt215_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) index 262 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c return nvkm_pmu_new_(>215_pmu, device, index, ppmu); index 9 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h int index, struct nvkm_pmu *); index 11 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h int index, struct nvkm_pmu **); index 196 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c struct nvkm_device *device, int index, index 201 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/base.c nvkm_subdev_ctor(&nvkm_secboot, device, index, &sb->subdev); index 75 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c nvkm_mc_intr_mask(sb->subdev.device, falcon->owner->index, false); index 95 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c nvkm_mc_intr_mask(sb->subdev.device, falcon->owner->index, true); index 173 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c gm200_secboot_new(struct nvkm_device *device, int index, index 192 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c ret = nvkm_secboot_ctor(&gm200_secboot, acr, device, index, &gsb->base); index 104 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c gm20b_secboot_new(struct nvkm_device *device, int index, index 124 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c ret = nvkm_secboot_ctor(&gm20b_secboot, acr, device, index, &gsb->base); index 145 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c gp102_secboot_new(struct nvkm_device *device, int index, index 166 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp102.c ret = nvkm_secboot_ctor(&gp102_secboot, acr, device, index, &gsb->base); index 26 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp108.c gp108_secboot_new(struct nvkm_device *device, int index, index 45 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp108.c return nvkm_secboot_ctor(&gp102_secboot, acr, device, index, &gsb->base); index 50 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp10b.c gp10b_secboot_new(struct nvkm_device *device, int index, index 70 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gp10b.c ret = nvkm_secboot_ctor(&gp10b_secboot, acr, device, index, &gsb->base); index 93 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c nvkm_mc_intr_mask(device, falcon->owner->index, true); index 425 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c int index, const struct nvkm_therm_func *func) index 427 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_subdev_ctor(&nvkm_therm, device, index, &therm->subdev); index 446 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c int index, struct nvkm_therm **ptherm) index 453 drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c nvkm_therm_ctor(therm, device, index, func); index 226 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c g84_therm_new(struct nvkm_device *device, int index, struct nvkm_therm **ptherm) index 231 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c ret = nvkm_therm_new_(&g84_therm, device, index, &therm); index 149 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c gf119_therm_new(struct nvkm_device *device, int index, index 152 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c return nvkm_therm_new_(&gf119_therm, device, index, ptherm); index 111 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c int index, index 121 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c nvkm_therm_ctor(&therm->base, device, index, func); index 131 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c int index, struct nvkm_therm **ptherm) index 133 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c return gk104_therm_new_(&gk104_therm_func, device, index, index 71 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm107.c gm107_therm_new(struct nvkm_device *device, int index, index 74 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm107.c return nvkm_therm_new_(&gm107_therm, device, index, ptherm); index 35 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm200.c gm200_therm_new(struct nvkm_device *device, int index, index 38 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gm200.c return nvkm_therm_new_(&gm200_therm, device, index, ptherm); index 52 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gp100.c gp100_therm_new(struct nvkm_device *device, int index, index 55 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gp100.c return nvkm_therm_new_(&gp100_therm, device, index, ptherm); index 71 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c gt215_therm_new(struct nvkm_device *device, int index, index 74 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c return nvkm_therm_new_(>215_therm, device, index, ptherm); index 200 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c nv40_therm_new(struct nvkm_device *device, int index, index 203 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv40.c return nvkm_therm_new_(&nv40_therm, device, index, ptherm); index 172 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c nv50_therm_new(struct nvkm_device *device, int index, index 175 drivers/gpu/drm/nouveau/nvkm/subdev/therm/nv50.c return nvkm_therm_new_(&nv50_therm, device, index, ptherm); index 34 drivers/gpu/drm/nouveau/nvkm/subdev/therm/priv.h int index, struct nvkm_therm **); index 36 drivers/gpu/drm/nouveau/nvkm/subdev/therm/priv.h int index, const struct nvkm_therm_func *func); index 186 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c int index, struct nvkm_timer **ptmr) index 193 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_subdev_ctor(&nvkm_timer, device, index, &tmr->subdev); index 36 drivers/gpu/drm/nouveau/nvkm/subdev/timer/gk20a.c gk20a_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) index 38 drivers/gpu/drm/nouveau/nvkm/subdev/timer/gk20a.c return nvkm_timer_new_(&gk20a_timer, device, index, ptmr); index 148 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c nv04_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) index 150 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c return nvkm_timer_new_(&nv04_timer, device, index, ptmr); index 85 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c nv40_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) index 87 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c return nvkm_timer_new_(&nv40_timer, device, index, ptmr); index 82 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c nv41_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) index 84 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c return nvkm_timer_new_(&nv41_timer, device, index, ptmr); index 8 drivers/gpu/drm/nouveau/nvkm/subdev/timer/priv.h int index, struct nvkm_timer **); index 31 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c info->index = NVKM_SUBDEV_NR; index 44 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_addr(struct nvkm_device *device, enum nvkm_devidx index) index 51 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (info->index == index) index 60 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_reset(struct nvkm_device *device, enum nvkm_devidx index) index 67 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (info->index == index && info->reset >= 0) index 83 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (info->index == devidx && info->intr >= 0) index 101 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (info->index != NVKM_SUBDEV_NR && info->intr >= 0) { index 103 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c subdevs |= BIT_ULL(info->index); index 121 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (info->index == devidx && info->fault >= 0) index 136 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c return info->index; index 143 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_top_engine(struct nvkm_device *device, int index, int *runl, int *engn) index 150 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c if (info->engine >= 0 && info->runlist >= 0 && n++ == index) { index 153 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c return info->index; index 189 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c int index, struct nvkm_top **ptop) index 194 drivers/gpu/drm/nouveau/nvkm/subdev/top/base.c nvkm_subdev_ctor(&nvkm_top, device, index, &top->subdev); index 73 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c #define A_(A) if (inst == 0) info->index = NVKM_ENGINE_##A index 75 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c info->index = NVKM_ENGINE_##A##0 + inst index 76 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c #define C_(A) if (inst == 0) info->index = NVKM_SUBDEV_##A index 101 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c info->index == NVKM_SUBDEV_NR ? NULL : index 102 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c nvkm_subdev_name[info->index], index 117 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c gk104_top_new(struct nvkm_device *device, int index, struct nvkm_top **ptop) index 119 drivers/gpu/drm/nouveau/nvkm/subdev/top/gk104.c return nvkm_top_new_(&gk104_top, device, index, ptop); index 15 drivers/gpu/drm/nouveau/nvkm/subdev/top/priv.h enum nvkm_devidx index; index 284 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c int index, struct nvkm_volt *volt) index 289 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_subdev_ctor(&nvkm_volt, device, index, &volt->subdev); index 322 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c int index, struct nvkm_volt **pvolt) index 326 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c nvkm_volt_ctor(func, device, index, *pvolt); index 59 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf100.c gf100_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) index 64 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf100.c ret = nvkm_volt_new_(&gf100_volt, device, index, &volt); index 49 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf117.c gf117_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) index 54 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gf117.c ret = nvkm_volt_new_(&gf117_volt, device, index, &volt); index 98 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c gk104_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) index 117 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c nvkm_volt_ctor(volt_func, device, index, &volt->base); index 147 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c gk20a_volt_ctor(struct nvkm_device *device, int index, index 154 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c nvkm_volt_ctor(&gk20a_volt, device, index, &volt->base); index 175 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c gk20a_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) index 184 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c return gk20a_volt_ctor(device, index, gk20a_cvb_coef, index 40 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.h int gk20a_volt_ctor(struct nvkm_device *device, int index, index 67 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gm20b.c gm20b_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) index 87 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gm20b.c return gk20a_volt_ctor(device, index, gm20b_na_cvb_coef, index 90 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gm20b.c return gk20a_volt_ctor(device, index, gm20b_cvb_coef, index 33 drivers/gpu/drm/nouveau/nvkm/subdev/volt/nv40.c nv40_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) index 38 drivers/gpu/drm/nouveau/nvkm/subdev/volt/nv40.c ret = nvkm_volt_new_(&nv40_volt, device, index, &volt); index 8 drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h int index, struct nvkm_volt *); index 10 drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h int index, struct nvkm_volt **); index 129 drivers/gpu/drm/omapdrm/omap_fbdev.c DBG("allocating %d bytes for fb %d", gsize.bytes, dev->primary->index); index 92 drivers/gpu/drm/omapdrm/tcm-sita.c unsigned long index; index 135 drivers/gpu/drm/omapdrm/tcm-sita.c index = *pos / BITS_PER_LONG + i * 8; index 136 drivers/gpu/drm/omapdrm/tcm-sita.c if (bitmap_intersects(&map[index], mask, index 155 drivers/gpu/drm/omapdrm/tcm-sita.c for (i = 0, index = *pos; i < h; i++, index += slot_stride) index 156 drivers/gpu/drm/omapdrm/tcm-sita.c bitmap_set(map, index, w); index 67 drivers/gpu/drm/panel/panel-lg-lb035q02.c u16 index; index 100 drivers/gpu/drm/panel/panel-lg-lb035q02.c ret = lb035q02_write(lcd, init_data[i].index, index 436 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c unsigned int index = s6e3ha2_get_brightness_index(brightness); index 440 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c memcpy(data + 1, gamma_tbl + index, S6E3HA2_GAMMA_CMD_CNT); index 174 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c unsigned int index; index 176 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c index = brightness / (MAX_BRIGHTNESS / NUM_GAMMA_STEPS); index 178 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c if (index >= NUM_GAMMA_STEPS) index 179 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c index = NUM_GAMMA_STEPS - 1; index 181 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c return index; index 188 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c unsigned int index = s6e63j0x03_get_brightness_index(brightness); index 195 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ret = s6e63j0x03_dcs_write_seq(ctx, gamma_tbl[index], GAMMA_CMD_CNT); index 153 drivers/gpu/drm/qxl/qxl_display.c head = &qdev->client_monitors_config->heads[output->index]; index 247 drivers/gpu/drm/qxl/qxl_display.c int h = output->index; index 316 drivers/gpu/drm/qxl/qxl_display.c int oldcount, i = qcrtc->index; index 561 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[plane->state->crtc->index].x; index 721 drivers/gpu/drm/qxl/qxl_display.c int index, struct qxl_bo *bo) index 725 drivers/gpu/drm/qxl/qxl_display.c if (index >= qdev->monitors_config->max_allowed) index 736 drivers/gpu/drm/qxl/qxl_display.c if (qdev->dumb_heads[index].width == width && index 737 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[index].height == height) index 740 drivers/gpu/drm/qxl/qxl_display.c DRM_DEBUG("#%d: %dx%d -> %dx%d\n", index, index 741 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[index].width, index 742 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[index].height, index 744 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[index].width = width; index 745 drivers/gpu/drm/qxl/qxl_display.c qdev->dumb_heads[index].height = height; index 792 drivers/gpu/drm/qxl/qxl_display.c qxl_update_dumb_head(qdev, new_state->crtc->index, index 963 drivers/gpu/drm/qxl/qxl_display.c qxl_crtc->index = crtc_id; index 989 drivers/gpu/drm/qxl/qxl_display.c head = &qdev->client_monitors_config->heads[output->index]; index 1045 drivers/gpu/drm/qxl/qxl_display.c if (output->index == 0) index 1048 drivers/gpu/drm/qxl/qxl_display.c connected = qdev->client_monitors_config->count > output->index && index 1049 drivers/gpu/drm/qxl/qxl_display.c qxl_head_enabled(&qdev->client_monitors_config->heads[output->index]); index 1051 drivers/gpu/drm/qxl/qxl_display.c DRM_DEBUG("#%d connected: %d\n", output->index, connected); index 1108 drivers/gpu/drm/qxl/qxl_display.c qxl_output->index = num_output; index 110 drivers/gpu/drm/qxl/qxl_drv.h int index; index 116 drivers/gpu/drm/qxl/qxl_drv.h int index; index 130 drivers/gpu/drm/qxl/qxl_drv.h int index; index 377 drivers/gpu/drm/qxl/qxl_ioctl.c byte = param->index / 8; index 378 drivers/gpu/drm/qxl/qxl_ioctl.c idx = param->index % 8; index 63 drivers/gpu/drm/qxl/qxl_kms.c qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index); index 75 drivers/gpu/drm/qxl/qxl_kms.c slot->index = slot_index; index 83 drivers/gpu/drm/qxl/qxl_kms.c high_bits = (qdev->rom->slots_start + slot->index) index 90 drivers/gpu/drm/qxl/qxl_kms.c slot->index, slot->name, index 70 drivers/gpu/drm/radeon/atom.c static int atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params); index 71 drivers/gpu/drm/radeon/atom.c int atom_execute_table(struct atom_context *ctx, int index, uint32_t * params); index 108 drivers/gpu/drm/radeon/atom.c uint32_t index, uint32_t data) index 145 drivers/gpu/drm/radeon/atom.c ((index >> CU8(base + 2)) & index 1158 drivers/gpu/drm/radeon/atom.c static int atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params) index 1160 drivers/gpu/drm/radeon/atom.c int base = CU16(ctx->cmd_table + 4 + 2 * index); index 1219 drivers/gpu/drm/radeon/atom.c int atom_execute_table_scratch_unlocked(struct atom_context *ctx, int index, uint32_t * params) index 1235 drivers/gpu/drm/radeon/atom.c r = atom_execute_table_locked(ctx, index, params); index 1240 drivers/gpu/drm/radeon/atom.c int atom_execute_table(struct atom_context *ctx, int index, uint32_t * params) index 1244 drivers/gpu/drm/radeon/atom.c r = atom_execute_table_scratch_unlocked(ctx, index, params); index 1361 drivers/gpu/drm/radeon/atom.c bool atom_parse_data_header(struct atom_context *ctx, int index, index 1365 drivers/gpu/drm/radeon/atom.c int offset = index * 2 + 4; index 1369 drivers/gpu/drm/radeon/atom.c if (!mdt[index]) index 1382 drivers/gpu/drm/radeon/atom.c bool atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t * frev, index 1385 drivers/gpu/drm/radeon/atom.c int offset = index * 2 + 4; index 1389 drivers/gpu/drm/radeon/atom.c if (!mct[index]) index 1401 drivers/gpu/drm/radeon/atom.c int index = GetIndexIntoMasterTable(DATA, VRAM_UsageByFirmware); index 1406 drivers/gpu/drm/radeon/atom.c if (atom_parse_data_header(ctx, index, NULL, NULL, NULL, &data_offset)) { index 151 drivers/gpu/drm/radeon/atom.h bool atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, index 153 drivers/gpu/drm/radeon/atom.h bool atom_parse_cmd_header(struct atom_context *ctx, int index, index 46 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_OverScan); index 80 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 89 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableScaler); index 160 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 172 drivers/gpu/drm/radeon/atombios_crtc.c int index = index 181 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 189 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableCRTC); index 197 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 205 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableCRTCMemReq); index 213 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 231 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, BlankCRTC); index 245 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 257 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableDispPowerGating); index 265 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 310 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_UsingDTDTiming); index 347 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 357 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, SetCRTC_Timing); index 393 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 451 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, EnableSpreadSpectrumOnPPLL); index 550 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 681 drivers/gpu/drm/radeon/atombios_crtc.c int index; index 683 drivers/gpu/drm/radeon/atombios_crtc.c index = GetIndexIntoMasterTable(COMMAND, AdjustDisplayPll); index 684 drivers/gpu/drm/radeon/atombios_crtc.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, index 703 drivers/gpu/drm/radeon/atombios_crtc.c index, (uint32_t *)&args); index 736 drivers/gpu/drm/radeon/atombios_crtc.c index, (uint32_t *)&args); index 778 drivers/gpu/drm/radeon/atombios_crtc.c int index; index 783 drivers/gpu/drm/radeon/atombios_crtc.c index = GetIndexIntoMasterTable(COMMAND, SetPixelClock); index 784 drivers/gpu/drm/radeon/atombios_crtc.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, index 820 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 840 drivers/gpu/drm/radeon/atombios_crtc.c int index = GetIndexIntoMasterTable(COMMAND, SetPixelClock); index 845 drivers/gpu/drm/radeon/atombios_crtc.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, index 960 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1281 drivers/gpu/drm/radeon/atombios_crtc.c unsigned index, num_banks; index 1291 drivers/gpu/drm/radeon/atombios_crtc.c for (index = 0; tileb > 64; index++) index 1294 drivers/gpu/drm/radeon/atombios_crtc.c if (index >= 16) { index 1301 drivers/gpu/drm/radeon/atombios_crtc.c num_banks = (rdev->config.cik.macrotile_mode_array[index] >> 6) & 0x3; index 1305 drivers/gpu/drm/radeon/atombios_crtc.c index = 10; index 1308 drivers/gpu/drm/radeon/atombios_crtc.c index = SI_TILE_MODE_COLOR_2D_SCANOUT_16BPP; index 1312 drivers/gpu/drm/radeon/atombios_crtc.c index = SI_TILE_MODE_COLOR_2D_SCANOUT_32BPP; index 1316 drivers/gpu/drm/radeon/atombios_crtc.c num_banks = (rdev->config.si.tile_mode_array[index] >> 20) & 0x3; index 93 drivers/gpu/drm/radeon/atombios_dp.c int index = GetIndexIntoMasterTable(COMMAND, ProcessAuxChannelTransaction); index 115 drivers/gpu/drm/radeon/atombios_dp.c atom_execute_table_scratch_unlocked(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 347 drivers/gpu/drm/radeon/atombios_dp.c int index = GetIndexIntoMasterTable(COMMAND, DPEncoderService); index 356 drivers/gpu/drm/radeon/atombios_dp.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 796 drivers/gpu/drm/radeon/atombios_dp.c int index; index 817 drivers/gpu/drm/radeon/atombios_dp.c index = GetIndexIntoMasterTable(COMMAND, DPEncoderService); index 818 drivers/gpu/drm/radeon/atombios_dp.c if (atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) { index 100 drivers/gpu/drm/radeon/atombios_encoders.c int index; index 114 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LCD1OutputControl); index 117 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 120 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 122 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 222 drivers/gpu/drm/radeon/atombios_encoders.c "radeon_bl%d", dev->primary->index); index 300 drivers/gpu/drm/radeon/atombios_encoders.c bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, index 358 drivers/gpu/drm/radeon/atombios_encoders.c int index = 0; index 366 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DAC1EncoderControl); index 370 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DAC2EncoderControl); index 399 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 410 drivers/gpu/drm/radeon/atombios_encoders.c int index = 0; index 415 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, TVEncoderControl); index 455 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 499 drivers/gpu/drm/radeon/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, DVOEncoderControl); index 504 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 556 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 572 drivers/gpu/drm/radeon/atombios_encoders.c int index = 0; index 586 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LVDSEncoderControl); index 590 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, TMDS1EncoderControl); index 594 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LVDSEncoderControl); index 596 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, TMDS2EncoderControl); index 600 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 674 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 854 drivers/gpu/drm/radeon/atombios_encoders.c int index = 0; index 877 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DIGxEncoderControl); index 880 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DIG2EncoderControl); index 882 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DIG1EncoderControl); index 885 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 997 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1024 drivers/gpu/drm/radeon/atombios_encoders.c int index = 0; index 1073 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DVOOutputControl); index 1079 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, UNIPHYTransmitterControl); index 1082 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LVTMATransmitterControl); index 1086 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 1379 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1395 drivers/gpu/drm/radeon/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, UNIPHYTransmitterControl); index 1408 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 1415 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1448 drivers/gpu/drm/radeon/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, ExternalEncoderControl); index 1473 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 1537 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1548 drivers/gpu/drm/radeon/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, EnableYUV); index 1572 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1584 drivers/gpu/drm/radeon/atombios_encoders.c int index = 0; index 1591 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, TMDSAOutputControl); index 1596 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DVOOutputControl); index 1599 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LCD1OutputControl); index 1603 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LCD1OutputControl); index 1605 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, LVTMAOutputControl); index 1610 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, TV1OutputControl); index 1612 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, CV1OutputControl); index 1614 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DAC1OutputControl); index 1619 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, TV1OutputControl); index 1621 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, CV1OutputControl); index 1623 drivers/gpu/drm/radeon/atombios_encoders.c index = GetIndexIntoMasterTable(COMMAND, DAC2OutputControl); index 1636 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1639 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1647 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1655 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1658 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 1871 drivers/gpu/drm/radeon/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, SelectCRTC_Source); index 1877 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 2006 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2018 drivers/gpu/drm/radeon/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, SelectCRTC_Source); index 2024 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 2056 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2350 drivers/gpu/drm/radeon/atombios_encoders.c int index = GetIndexIntoMasterTable(COMMAND, DAC_LoadDetection); index 2355 drivers/gpu/drm/radeon/atombios_encoders.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 2380 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 43 drivers/gpu/drm/radeon/atombios_i2c.c int index = GetIndexIntoMasterTable(COMMAND, ProcessI2cChannelTransaction); index 86 drivers/gpu/drm/radeon/atombios_i2c.c atom_execute_table_scratch_unlocked(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3386 drivers/gpu/drm/radeon/ci_dpm.c u32 index, u32 pcie_gen, u32 pcie_lanes) index 3388 drivers/gpu/drm/radeon/ci_dpm.c dpm_table->dpm_levels[index].value = pcie_gen; index 3389 drivers/gpu/drm/radeon/ci_dpm.c dpm_table->dpm_levels[index].param1 = pcie_lanes; index 3390 drivers/gpu/drm/radeon/ci_dpm.c dpm_table->dpm_levels[index].enabled = true; index 5475 drivers/gpu/drm/radeon/ci_dpm.c struct radeon_ps *rps, int index, index 5480 drivers/gpu/drm/radeon/ci_dpm.c struct ci_pl *pl = &ps->performance_levels[index]; index 5482 drivers/gpu/drm/radeon/ci_dpm.c ps->performance_level_count = index + 1; index 5554 drivers/gpu/drm/radeon/ci_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 5560 drivers/gpu/drm/radeon/ci_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 5639 drivers/gpu/drm/radeon/ci_dpm.c int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); index 5644 drivers/gpu/drm/radeon/ci_dpm.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 5677 drivers/gpu/drm/radeon/ci_dpm.c int index = GetIndexIntoMasterTable(DATA, ASIC_InternalSS_Info); index 5911 drivers/gpu/drm/radeon/ci_dpm.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 1741 drivers/gpu/drm/radeon/cik.c u32 cik_mm_rdoorbell(struct radeon_device *rdev, u32 index) index 1743 drivers/gpu/drm/radeon/cik.c if (index < rdev->doorbell.num_doorbells) { index 1744 drivers/gpu/drm/radeon/cik.c return readl(rdev->doorbell.ptr + index); index 1746 drivers/gpu/drm/radeon/cik.c DRM_ERROR("reading beyond doorbell aperture: 0x%08x!\n", index); index 1761 drivers/gpu/drm/radeon/cik.c void cik_mm_wdoorbell(struct radeon_device *rdev, u32 index, u32 v) index 1763 drivers/gpu/drm/radeon/cik.c if (index < rdev->doorbell.num_doorbells) { index 1764 drivers/gpu/drm/radeon/cik.c writel(v, rdev->doorbell.ptr + index); index 1766 drivers/gpu/drm/radeon/cik.c DRM_ERROR("writing beyond doorbell aperture: 0x%08x!\n", index); index 650 drivers/gpu/drm/radeon/cik_sdma.c unsigned index; index 655 drivers/gpu/drm/radeon/cik_sdma.c index = R600_WB_DMA_RING_TEST_OFFSET; index 657 drivers/gpu/drm/radeon/cik_sdma.c index = CAYMAN_WB_DMA1_RING_TEST_OFFSET; index 659 drivers/gpu/drm/radeon/cik_sdma.c gpu_addr = rdev->wb.gpu_addr + index; index 662 drivers/gpu/drm/radeon/cik_sdma.c rdev->wb.wb[index/4] = cpu_to_le32(tmp); index 677 drivers/gpu/drm/radeon/cik_sdma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); index 706 drivers/gpu/drm/radeon/cik_sdma.c unsigned index; index 712 drivers/gpu/drm/radeon/cik_sdma.c index = R600_WB_DMA_RING_TEST_OFFSET; index 714 drivers/gpu/drm/radeon/cik_sdma.c index = CAYMAN_WB_DMA1_RING_TEST_OFFSET; index 716 drivers/gpu/drm/radeon/cik_sdma.c gpu_addr = rdev->wb.gpu_addr + index; index 719 drivers/gpu/drm/radeon/cik_sdma.c rdev->wb.wb[index/4] = cpu_to_le32(tmp); index 751 drivers/gpu/drm/radeon/cik_sdma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); index 412 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = (u8)i; index 660 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_high_index; index 666 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_low_index; index 669 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_high_index; index 1229 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_high_index; index 536 drivers/gpu/drm/radeon/kv_dpm.c u32 index, u32 sclk) index 547 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].SclkDid = (u8)dividers.post_div; index 548 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].SclkFrequency = cpu_to_be32(sclk); index 617 drivers/gpu/drm/radeon/kv_dpm.c static int kv_set_vid(struct radeon_device *rdev, u32 index, u32 vid) index 621 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].VoltageDownH = (u8)pi->voltage_drop_t; index 622 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].MinVddNb = index 628 drivers/gpu/drm/radeon/kv_dpm.c static int kv_set_at(struct radeon_device *rdev, u32 index, u32 at) index 632 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].AT = cpu_to_be16((u16)at); index 638 drivers/gpu/drm/radeon/kv_dpm.c u32 index, bool enable) index 642 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].EnabledForActivity = enable ? 1 : 0; index 2256 drivers/gpu/drm/radeon/kv_dpm.c u32 index, bool enable) index 2260 drivers/gpu/drm/radeon/kv_dpm.c pi->graphics_level[index].EnabledForThrottle = enable ? 1 : 0; index 2494 drivers/gpu/drm/radeon/kv_dpm.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 2500 drivers/gpu/drm/radeon/kv_dpm.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 2612 drivers/gpu/drm/radeon/kv_dpm.c struct radeon_ps *rps, int index, index 2617 drivers/gpu/drm/radeon/kv_dpm.c struct kv_pl *pl = &ps->levels[index]; index 2625 drivers/gpu/drm/radeon/kv_dpm.c ps->num_levels = index + 1; index 2644 drivers/gpu/drm/radeon/kv_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 2650 drivers/gpu/drm/radeon/kv_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 1310 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = (u8)i; index 1330 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_high_index; index 1336 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_low_index; index 1339 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_high_index; index 1349 drivers/gpu/drm/radeon/ni_dpm.c ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)) index 1350 drivers/gpu/drm/radeon/ni_dpm.c *std_voltage = rdev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; index 1358 drivers/gpu/drm/radeon/ni_dpm.c u16 value, u8 index, index 1361 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = index; index 1677 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_high_index; index 1741 drivers/gpu/drm/radeon/ni_dpm.c table->initialState.levels[0].vddc.index, index 1826 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].vddc.index, index 1851 drivers/gpu/drm/radeon/ni_dpm.c table->ACPIState.levels[0].vddc.index, index 2376 drivers/gpu/drm/radeon/ni_dpm.c level->vddc.index, &level->std_vddc); index 3921 drivers/gpu/drm/radeon/ni_dpm.c struct radeon_ps *rps, int index, index 3927 drivers/gpu/drm/radeon/ni_dpm.c struct rv7xx_pl *pl = &ps->performance_levels[index]; index 3929 drivers/gpu/drm/radeon/ni_dpm.c ps->performance_level_count = index + 1; index 3993 drivers/gpu/drm/radeon/ni_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 3998 drivers/gpu/drm/radeon/ni_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 90 drivers/gpu/drm/radeon/nislands_smc.h uint8_t index; index 235 drivers/gpu/drm/radeon/r600_dma.c unsigned index; index 240 drivers/gpu/drm/radeon/r600_dma.c index = R600_WB_DMA_RING_TEST_OFFSET; index 242 drivers/gpu/drm/radeon/r600_dma.c index = CAYMAN_WB_DMA1_RING_TEST_OFFSET; index 244 drivers/gpu/drm/radeon/r600_dma.c gpu_addr = rdev->wb.gpu_addr + index; index 247 drivers/gpu/drm/radeon/r600_dma.c rdev->wb.wb[index/4] = cpu_to_le32(tmp); index 261 drivers/gpu/drm/radeon/r600_dma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); index 341 drivers/gpu/drm/radeon/r600_dma.c unsigned index; index 347 drivers/gpu/drm/radeon/r600_dma.c index = R600_WB_DMA_RING_TEST_OFFSET; index 349 drivers/gpu/drm/radeon/r600_dma.c index = CAYMAN_WB_DMA1_RING_TEST_OFFSET; index 351 drivers/gpu/drm/radeon/r600_dma.c gpu_addr = rdev->wb.gpu_addr + index; index 382 drivers/gpu/drm/radeon/r600_dma.c tmp = le32_to_cpu(rdev->wb.wb[index/4]); index 352 drivers/gpu/drm/radeon/r600_dpm.c u32 index, u32 u_t, u32 d_t) index 354 drivers/gpu/drm/radeon/r600_dpm.c WREG32(CG_FFCT_0 + (index * 4), UTC_0(u_t) | DTC_0(d_t)); index 446 drivers/gpu/drm/radeon/r600_dpm.c u32 index, bool enable) index 449 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART2 + (index * 4 * 2), index 452 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART2 + (index * 4 * 2), index 457 drivers/gpu/drm/radeon/r600_dpm.c u32 index, bool enable) index 460 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART2 + (index * 4 * 2), index 463 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART2 + (index * 4 * 2), index 468 drivers/gpu/drm/radeon/r600_dpm.c u32 index, bool enable) index 471 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART2 + (index * 4 * 2), index 474 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART2 + (index * 4 * 2), index 479 drivers/gpu/drm/radeon/r600_dpm.c u32 index, u32 divider) index 481 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART1 + (index * 4 * 2), index 486 drivers/gpu/drm/radeon/r600_dpm.c u32 index, u32 divider) index 488 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART1 + (index * 4 * 2), index 493 drivers/gpu/drm/radeon/r600_dpm.c u32 index, u32 divider) index 495 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART1 + (index * 4 * 2), index 500 drivers/gpu/drm/radeon/r600_dpm.c u32 index, u32 step_time) index 502 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(SCLK_FREQ_SETTING_STEP_0_PART1 + (index * 4 * 2), index 530 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index, u64 pins) index 533 drivers/gpu/drm/radeon/r600_dpm.c u32 ix = 3 - (3 & index); index 562 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index, bool enable) index 564 drivers/gpu/drm/radeon/r600_dpm.c u32 ix = 3 - (3 & index); index 575 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index, u32 voltage_index) index 577 drivers/gpu/drm/radeon/r600_dpm.c u32 ix = 3 - (3 & index); index 584 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index, u32 mem_clock_index) index 586 drivers/gpu/drm/radeon/r600_dpm.c u32 ix = 3 - (3 & index); index 593 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index, u32 eng_clock_index) index 595 drivers/gpu/drm/radeon/r600_dpm.c u32 ix = 3 - (3 & index); index 602 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index, index 605 drivers/gpu/drm/radeon/r600_dpm.c u32 ix = 3 - (3 & index); index 614 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index, bool compatible) index 616 drivers/gpu/drm/radeon/r600_dpm.c u32 ix = 3 - (3 & index); index 643 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index) index 645 drivers/gpu/drm/radeon/r600_dpm.c WREG32_P(TARGET_AND_CURRENT_PROFILE_INDEX, DYN_PWR_ENTER_INDEX(index), index 650 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index) index 655 drivers/gpu/drm/radeon/r600_dpm.c if (r600_power_level_get_target_index(rdev) != index) index 661 drivers/gpu/drm/radeon/r600_dpm.c if (r600_power_level_get_current_index(rdev) != index) index 668 drivers/gpu/drm/radeon/r600_dpm.c enum r600_power_level index) index 673 drivers/gpu/drm/radeon/r600_dpm.c if (r600_power_level_get_target_index(rdev) == index) index 679 drivers/gpu/drm/radeon/r600_dpm.c if (r600_power_level_get_current_index(rdev) == index) index 849 drivers/gpu/drm/radeon/r600_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 853 drivers/gpu/drm/radeon/r600_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 879 drivers/gpu/drm/radeon/r600_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 884 drivers/gpu/drm/radeon/r600_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 157 drivers/gpu/drm/radeon/r600_dpm.h void r600_set_tc(struct radeon_device *rdev, u32 index, u32 u_t, u32 d_t); index 175 drivers/gpu/drm/radeon/r600_dpm.h u32 index, bool enable); index 177 drivers/gpu/drm/radeon/r600_dpm.h u32 index, bool enable); index 179 drivers/gpu/drm/radeon/r600_dpm.h u32 index, bool enable); index 181 drivers/gpu/drm/radeon/r600_dpm.h u32 index, u32 divider); index 183 drivers/gpu/drm/radeon/r600_dpm.h u32 index, u32 divider); index 185 drivers/gpu/drm/radeon/r600_dpm.h u32 index, u32 divider); index 187 drivers/gpu/drm/radeon/r600_dpm.h u32 index, u32 step_time); index 194 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index, u64 pins); index 198 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index, bool enable); index 200 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index, u32 voltage_index); index 202 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index, u32 mem_clock_index); index 204 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index, u32 eng_clock_index); index 206 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index, index 209 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index, bool compatible); index 213 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index); index 215 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index); index 217 drivers/gpu/drm/radeon/r600_dpm.h enum r600_power_level index); index 2487 drivers/gpu/drm/radeon/radeon.h u32 cik_mm_rdoorbell(struct radeon_device *rdev, u32 index); index 2488 drivers/gpu/drm/radeon/radeon.h void cik_mm_wdoorbell(struct radeon_device *rdev, u32 index, u32 v); index 2569 drivers/gpu/drm/radeon/radeon.h #define RDOORBELL32(index) cik_mm_rdoorbell(rdev, (index)) index 2570 drivers/gpu/drm/radeon/radeon.h #define WDOORBELL32(index, v) cik_mm_wdoorbell(rdev, (index), (v)) index 54 drivers/gpu/drm/radeon/radeon_atombios.c u8 index) index 70 drivers/gpu/drm/radeon/radeon_atombios.c if ((index == 7) && index 83 drivers/gpu/drm/radeon/radeon_atombios.c if ((index == 4) && index 139 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, GPIO_I2C_Info); index 147 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { index 175 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, GPIO_I2C_Info); index 181 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { index 208 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, GPIO_Pin_LUT); index 217 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { index 526 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, Object_Header); index 542 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) index 596 drivers/gpu/drm/radeon/radeon_atombios.c index = index 600 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(ctx, index, &size, &frev, index 864 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, XTMDS_Info); index 869 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) { index 908 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, SupportedDevicesInfo); index 926 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_data_header(ctx, index, &size, &frev, &crev, index 1124 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 1129 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 1142 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); index 1152 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 1311 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 1320 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 1347 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, TMDS_Info); index 1354 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 1395 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, PPLL_SS_Info); index 1403 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, &size, index 1435 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 1442 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, &size, index 1523 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, ASIC_InternalSS_Info); index 1540 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, &size, index 1636 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, LVDS_Info); index 1643 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 1776 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, CompassionateData); index 1783 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 1801 drivers/gpu/drm/radeon/radeon_atombios.c bool radeon_atom_get_tv_timings(struct radeon_device *rdev, int index, index 1819 drivers/gpu/drm/radeon/radeon_atombios.c if (index >= MAX_SUPPORTED_TV_TIMING) index 1822 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_htotal = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Total); index 1823 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_hdisplay = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Disp); index 1824 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_hsync_start = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncStart); index 1825 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_hsync_end = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncStart) + index 1826 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_SyncWidth); index 1828 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_vtotal = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Total); index 1829 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_vdisplay = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_Disp); index 1830 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_vsync_start = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncStart); index 1831 drivers/gpu/drm/radeon/radeon_atombios.c mode->crtc_vsync_end = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncStart) + index 1832 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(tv_info->aModeTimings[index].usCRTC_V_SyncWidth); index 1835 drivers/gpu/drm/radeon/radeon_atombios.c misc = le16_to_cpu(tv_info->aModeTimings[index].susModeMiscInfo.usAccess); index 1848 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(tv_info->aModeTimings[index].usPixelClock) * 10; index 1850 drivers/gpu/drm/radeon/radeon_atombios.c if (index == 1) { index 1858 drivers/gpu/drm/radeon/radeon_atombios.c if (index >= MAX_SUPPORTED_TV_TIMING_V1_2) index 1861 drivers/gpu/drm/radeon/radeon_atombios.c dtd_timings = &tv_info_v1_2->aModeTimings[index]; index 1902 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, AnalogTV_Info); index 1908 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 1962 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, CompassionateData); index 1969 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 2101 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 2105 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 2380 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, FirmwareInfo); index 2389 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 2584 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 2588 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 2677 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 2682 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 2764 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 2771 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 2844 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, ComputeMemoryEnginePLL); index 2850 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 2859 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2873 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2888 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2908 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2927 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2938 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 2960 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, ComputeMemoryClockParam); index 2966 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 2979 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3008 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, DynamicClockGating); index 3012 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3018 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, GetEngineClock); index 3020 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3027 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, GetMemoryClock); index 3029 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3037 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetEngineClock); index 3041 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3048 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetMemoryClock); index 3055 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3062 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, DynamicMemorySettings); index 3074 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3081 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, DynamicMemorySettings); index 3085 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3092 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, DynamicMemorySettings); index 3097 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3110 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetVoltage); index 3113 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 3141 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3148 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetVoltage); index 3151 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 3162 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3171 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3194 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetVoltage); index 3197 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 3207 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3224 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, ASIC_ProfilingInfo); index 3234 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3314 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, GetVoltageInfo); index 3334 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3346 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(COMMAND, SetVoltage); index 3349 drivers/gpu/drm/radeon/radeon_atombios.c if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) index 3360 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3368 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); index 3447 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 3453 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3506 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 3512 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3549 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 3555 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3608 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 3614 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3658 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 3664 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3726 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VoltageObjectInfo); index 3733 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3826 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VRAM_Info); index 3833 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3916 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VRAM_Info); index 3925 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 3989 drivers/gpu/drm/radeon/radeon_atombios.c int index = GetIndexIntoMasterTable(DATA, VRAM_Info); index 3997 drivers/gpu/drm/radeon/radeon_atombios.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, index 2891 drivers/gpu/drm/radeon/radeon_combios.c uint32_t index, id; index 2905 drivers/gpu/drm/radeon/radeon_combios.c index = offset + 4; index 2907 drivers/gpu/drm/radeon/radeon_combios.c id = RBIOS16(index); index 2908 drivers/gpu/drm/radeon/radeon_combios.c index += 2; index 2912 drivers/gpu/drm/radeon/radeon_combios.c val = RBIOS32(index); index 2913 drivers/gpu/drm/radeon/radeon_combios.c index += 4; index 2918 drivers/gpu/drm/radeon/radeon_combios.c and_mask = RBIOS32(index); index 2919 drivers/gpu/drm/radeon/radeon_combios.c index += 4; index 2920 drivers/gpu/drm/radeon/radeon_combios.c or_mask = RBIOS32(index); index 2921 drivers/gpu/drm/radeon/radeon_combios.c index += 4; index 2927 drivers/gpu/drm/radeon/radeon_combios.c val = RBIOS16(index); index 2928 drivers/gpu/drm/radeon/radeon_combios.c index += 2; index 2932 drivers/gpu/drm/radeon/radeon_combios.c val = RBIOS16(index); index 2933 drivers/gpu/drm/radeon/radeon_combios.c index += 2; index 2939 drivers/gpu/drm/radeon/radeon_combios.c index++; index 2940 drivers/gpu/drm/radeon/radeon_combios.c reg = RBIOS8(index); index 2941 drivers/gpu/drm/radeon/radeon_combios.c index++; index 2942 drivers/gpu/drm/radeon/radeon_combios.c val = RBIOS8(index); index 2943 drivers/gpu/drm/radeon/radeon_combios.c index++; index 2960 drivers/gpu/drm/radeon/radeon_combios.c index = offset + 10; index 2961 drivers/gpu/drm/radeon/radeon_combios.c id = RBIOS16(index); index 2963 drivers/gpu/drm/radeon/radeon_combios.c index += 2; index 2967 drivers/gpu/drm/radeon/radeon_combios.c val = RBIOS32(index); index 2972 drivers/gpu/drm/radeon/radeon_combios.c and_mask = RBIOS32(index); index 2973 drivers/gpu/drm/radeon/radeon_combios.c index += 4; index 2974 drivers/gpu/drm/radeon/radeon_combios.c or_mask = RBIOS32(index); index 2975 drivers/gpu/drm/radeon/radeon_combios.c index += 4; index 2981 drivers/gpu/drm/radeon/radeon_combios.c val = RBIOS16(index); index 2982 drivers/gpu/drm/radeon/radeon_combios.c index += 2; index 2987 drivers/gpu/drm/radeon/radeon_combios.c and_mask = RBIOS32(index); index 2988 drivers/gpu/drm/radeon/radeon_combios.c index += 4; index 2989 drivers/gpu/drm/radeon/radeon_combios.c or_mask = RBIOS32(index); index 2990 drivers/gpu/drm/radeon/radeon_combios.c index += 4; index 2997 drivers/gpu/drm/radeon/radeon_combios.c val = RBIOS8(index); index 2998 drivers/gpu/drm/radeon/radeon_combios.c index += 1; index 3007 drivers/gpu/drm/radeon/radeon_combios.c id = RBIOS16(index); index 673 drivers/gpu/drm/radeon/radeon_display.c static void radeon_crtc_init(struct drm_device *dev, int index) index 686 drivers/gpu/drm/radeon/radeon_display.c radeon_crtc->crtc_id = index; index 688 drivers/gpu/drm/radeon/radeon_display.c rdev->mode_info.crtcs[index] = radeon_crtc; index 835 drivers/gpu/drm/radeon/radeon_fence.c uint64_t index; index 842 drivers/gpu/drm/radeon/radeon_fence.c index = R600_WB_EVENT_OFFSET + ring * 4; index 843 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].cpu_addr = &rdev->wb.wb[index/4]; index 845 drivers/gpu/drm/radeon/radeon_fence.c index; index 849 drivers/gpu/drm/radeon/radeon_fence.c index = ALIGN(rdev->uvd_fw->size, 8); index 850 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].cpu_addr = rdev->uvd.cpu_addr + index; index 851 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].gpu_addr = rdev->uvd.gpu_addr + index; index 860 drivers/gpu/drm/radeon/radeon_fence.c index = RADEON_WB_SCRATCH_OFFSET + index 863 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].cpu_addr = &rdev->wb.wb[index/4]; index 864 drivers/gpu/drm/radeon/radeon_fence.c rdev->fence_drv[ring].gpu_addr = rdev->wb.gpu_addr + index; index 401 drivers/gpu/drm/radeon/radeon_legacy_encoders.c "radeon_bl%d", dev->primary->index); index 696 drivers/gpu/drm/radeon/radeon_pm.c int hyst = to_sensor_dev_attr(attr)->index; index 728 drivers/gpu/drm/radeon/radeon_pm.c struct attribute *attr, int index) index 417 drivers/gpu/drm/radeon/radeon_ring.c u32 index = RADEON_WB_RING0_NEXT_RPTR + (ring->idx * 4); index 418 drivers/gpu/drm/radeon/radeon_ring.c ring->next_rptr_gpu_addr = rdev->wb.gpu_addr + index; index 419 drivers/gpu/drm/radeon/radeon_ring.c ring->next_rptr_cpu_addr = &rdev->wb.wb[index/4]; index 138 drivers/gpu/drm/radeon/radeon_trace.h __entry->dev = dev->primary->index; index 68 drivers/gpu/drm/radeon/rs690.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 74 drivers/gpu/drm/radeon/rs690.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, NULL, index 799 drivers/gpu/drm/radeon/rs780_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 804 drivers/gpu/drm/radeon/rs780_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 852 drivers/gpu/drm/radeon/rs780_dpm.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 874 drivers/gpu/drm/radeon/rs780_dpm.c if (atom_parse_data_header(rdev->mode_info.atom_context, index, NULL, index 297 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 clock, u32 index) index 302 drivers/gpu/drm/radeon/rv6xx_dpm.c rv6xx_output_stepping(rdev, index, &step); index 315 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 index, u32 clk_s) index 317 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), index 322 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 index, u32 clk_v) index 324 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), index 329 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 index, bool enable) index 332 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), index 335 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(CG_SPLL_SPREAD_SPECTRUM_LOW + (index * 4), index 370 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 index, bool enable) index 373 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(MPLL_FREQ_LEVEL_0 + (index * 4), index 376 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(MPLL_FREQ_LEVEL_0 + (index * 4), 0, ~LEVEL0_MPLL_DIV_EN); index 380 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 index, u32 divider) index 382 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(MPLL_FREQ_LEVEL_0 + (index * 4), index 387 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 index, u32 divider) index 389 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(MPLL_FREQ_LEVEL_0 + (index * 4), LEVEL0_MPLL_FB_DIV(divider), index 394 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 index, u32 divider) index 396 drivers/gpu/drm/radeon/rv6xx_dpm.c WREG32_P(MPLL_FREQ_LEVEL_0 + (index * 4), index 1817 drivers/gpu/drm/radeon/rv6xx_dpm.c struct radeon_ps *rps, int index, index 1825 drivers/gpu/drm/radeon/rv6xx_dpm.c switch (index) { index 1880 drivers/gpu/drm/radeon/rv6xx_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 1885 drivers/gpu/drm/radeon/rv6xx_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 572 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = 0; index 579 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = pi->vddc_table[i].vddc_index; index 597 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_HIGH_INDEX; index 603 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_LOW_INDEX; index 606 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_HIGH_INDEX; index 1012 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_LOW_INDEX; index 1015 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_HIGH_INDEX; index 2174 drivers/gpu/drm/radeon/rv770_dpm.c struct radeon_ps *rps, int index, index 2183 drivers/gpu/drm/radeon/rv770_dpm.c switch (index) { index 2274 drivers/gpu/drm/radeon/rv770_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 2279 drivers/gpu/drm/radeon/rv770_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 79 drivers/gpu/drm/radeon/rv770_smc.h uint8_t index; index 3253 drivers/gpu/drm/radeon/si_dpm.c u32 index, u16 *leakage_voltage) index 3261 drivers/gpu/drm/radeon/si_dpm.c if ((index & 0xff00) != 0xff00) index 3264 drivers/gpu/drm/radeon/si_dpm.c if ((index & 0xff) > SISLANDS_MAX_LEAKAGE_COUNT + 1) index 3267 drivers/gpu/drm/radeon/si_dpm.c if (index < SISLANDS_LEAKAGE_INDEX0) index 3271 drivers/gpu/drm/radeon/si_dpm.c if (si_pi->leakage_voltage.entries[i].leakage_index == index) { index 4119 drivers/gpu/drm/radeon/si_dpm.c voltage->index = (u8)i; index 4139 drivers/gpu/drm/radeon/si_dpm.c voltage->index = 0; index 4141 drivers/gpu/drm/radeon/si_dpm.c voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; index 4143 drivers/gpu/drm/radeon/si_dpm.c voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); index 4191 drivers/gpu/drm/radeon/si_dpm.c if ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count) index 4192 drivers/gpu/drm/radeon/si_dpm.c *std_voltage = rdev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; index 4200 drivers/gpu/drm/radeon/si_dpm.c u16 value, u8 index, index 4203 drivers/gpu/drm/radeon/si_dpm.c voltage->index = index; index 4432 drivers/gpu/drm/radeon/si_dpm.c table->initialState.levels[0].vddc.index, index 4523 drivers/gpu/drm/radeon/si_dpm.c table->ACPIState.levels[0].vddc.index, index 4547 drivers/gpu/drm/radeon/si_dpm.c table->ACPIState.levels[0].vddc.index, index 5057 drivers/gpu/drm/radeon/si_dpm.c level->vddc.index, &level->std_vddc); index 6733 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ps *rps, int index, index 6741 drivers/gpu/drm/radeon/si_dpm.c struct rv7xx_pl *pl = &ps->performance_levels[index]; index 6744 drivers/gpu/drm/radeon/si_dpm.c ps->performance_level_count = index + 1; index 6772 drivers/gpu/drm/radeon/si_dpm.c index == 0) { index 6819 drivers/gpu/drm/radeon/si_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 6825 drivers/gpu/drm/radeon/si_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 135 drivers/gpu/drm/radeon/sislands_smc.h uint8_t index; index 364 drivers/gpu/drm/radeon/sumo_dpm.c u32 index, u32 value) index 366 drivers/gpu/drm/radeon/sumo_dpm.c if (index == 0) index 368 drivers/gpu/drm/radeon/sumo_dpm.c else if (index == 1) index 370 drivers/gpu/drm/radeon/sumo_dpm.c else if (index == 2) index 372 drivers/gpu/drm/radeon/sumo_dpm.c else if (index == 3) index 374 drivers/gpu/drm/radeon/sumo_dpm.c else if (index == 4) index 376 drivers/gpu/drm/radeon/sumo_dpm.c else if (index == 5) index 378 drivers/gpu/drm/radeon/sumo_dpm.c else if (index == 6) index 380 drivers/gpu/drm/radeon/sumo_dpm.c else if (index == 7) index 474 drivers/gpu/drm/radeon/sumo_dpm.c u32 index, u32 divider) index 476 drivers/gpu/drm/radeon/sumo_dpm.c u32 reg_index = index / 4; index 477 drivers/gpu/drm/radeon/sumo_dpm.c u32 field_index = index % 4; index 494 drivers/gpu/drm/radeon/sumo_dpm.c u32 index, u32 divider) index 501 drivers/gpu/drm/radeon/sumo_dpm.c dpm_ctrl &= ~(0x7 << (index * 3)); index 502 drivers/gpu/drm/radeon/sumo_dpm.c dpm_ctrl |= (divider << (index * 3)); index 508 drivers/gpu/drm/radeon/sumo_dpm.c u32 index, u32 divider) index 515 drivers/gpu/drm/radeon/sumo_dpm.c dpm_ctrl &= ~(0x7 << (index * 3)); index 516 drivers/gpu/drm/radeon/sumo_dpm.c dpm_ctrl |= (divider << (index * 3)); index 521 drivers/gpu/drm/radeon/sumo_dpm.c static void sumo_set_vid(struct radeon_device *rdev, u32 index, u32 vid) index 525 drivers/gpu/drm/radeon/sumo_dpm.c voltage_cntl &= ~(DPM_STATE0_LEVEL_MASK << (index * 2)); index 526 drivers/gpu/drm/radeon/sumo_dpm.c voltage_cntl |= (vid << (DPM_STATE0_LEVEL_SHIFT + index * 2)); index 530 drivers/gpu/drm/radeon/sumo_dpm.c static void sumo_set_allos_gnb_slow(struct radeon_device *rdev, u32 index, u32 gnb_slow) index 540 drivers/gpu/drm/radeon/sumo_dpm.c cg_sclk_dpm_ctrl_3 &= ~(GNB_SLOW_FSTATE_0_MASK << index); index 541 drivers/gpu/drm/radeon/sumo_dpm.c cg_sclk_dpm_ctrl_3 |= (temp << (GNB_SLOW_FSTATE_0_SHIFT + index)); index 547 drivers/gpu/drm/radeon/sumo_dpm.c struct sumo_pl *pl, u32 index) index 559 drivers/gpu/drm/radeon/sumo_dpm.c sumo_set_divider_value(rdev, index, dividers.post_div); index 561 drivers/gpu/drm/radeon/sumo_dpm.c sumo_set_vid(rdev, index, pl->vddc_index); index 567 drivers/gpu/drm/radeon/sumo_dpm.c sumo_set_ss_dividers(rdev, index, pl->ss_divider_index); index 568 drivers/gpu/drm/radeon/sumo_dpm.c sumo_set_ds_dividers(rdev, index, pl->ds_divider_index); index 574 drivers/gpu/drm/radeon/sumo_dpm.c sumo_set_allos_gnb_slow(rdev, index, pl->allow_gnb_slow); index 577 drivers/gpu/drm/radeon/sumo_dpm.c sumo_set_tdp_limit(rdev, index, pl->sclk_dpm_tdp_limit); index 580 drivers/gpu/drm/radeon/sumo_dpm.c static void sumo_power_level_enable(struct radeon_device *rdev, u32 index, bool enable) index 582 drivers/gpu/drm/radeon/sumo_dpm.c u32 reg_index = index / 4; index 583 drivers/gpu/drm/radeon/sumo_dpm.c u32 field_index = index % 4; index 726 drivers/gpu/drm/radeon/sumo_dpm.c static void sumo_set_forced_level(struct radeon_device *rdev, u32 index) index 728 drivers/gpu/drm/radeon/sumo_dpm.c WREG32_P(CG_SCLK_DPM_CTRL_3, FORCE_SCLK_STATE(index), ~FORCE_SCLK_STATE_MASK); index 1430 drivers/gpu/drm/radeon/sumo_dpm.c struct radeon_ps *rps, int index, index 1435 drivers/gpu/drm/radeon/sumo_dpm.c struct sumo_pl *pl = &ps->levels[index]; index 1444 drivers/gpu/drm/radeon/sumo_dpm.c ps->num_levels = index + 1; index 1463 drivers/gpu/drm/radeon/sumo_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 1469 drivers/gpu/drm/radeon/sumo_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 1659 drivers/gpu/drm/radeon/sumo_dpm.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 1665 drivers/gpu/drm/radeon/sumo_dpm.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 214 drivers/gpu/drm/radeon/sumo_dpm.h void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit); index 165 drivers/gpu/drm/radeon/sumo_smc.c void sumo_set_tdp_limit(struct radeon_device *rdev, u32 index, u32 tdp_limit) index 172 drivers/gpu/drm/radeon/sumo_smc.c switch (index) { index 585 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 sclk) index 590 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 614 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 divider) index 617 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 626 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 divider) index 629 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 637 drivers/gpu/drm/radeon/trinity_dpm.c static void trinity_set_vid(struct radeon_device *rdev, u32 index, u32 vid) index 642 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 656 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 gnb_slow) index 659 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 668 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 force_nbp_state) index 671 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 680 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 wm) index 683 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 692 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 wm) index 695 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 704 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, u32 at) index 707 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 716 drivers/gpu/drm/radeon/trinity_dpm.c struct trinity_pl *pl, u32 index) index 720 drivers/gpu/drm/radeon/trinity_dpm.c if (index >= SUMO_MAX_HARDWARE_POWERLEVELS) index 723 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_divider_value(rdev, index, pl->sclk); index 724 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_vid(rdev, index, pl->vddc_index); index 725 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_ss_dividers(rdev, index, pl->ss_divider_index); index 726 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_ds_dividers(rdev, index, pl->ds_divider_index); index 727 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_allos_gnb_slow(rdev, index, pl->allow_gnb_slow); index 728 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_force_nbp_state(rdev, index, pl->force_nbp_state); index 729 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_display_wm(rdev, index, pl->display_wm); index 730 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_vce_wm(rdev, index, pl->vce_wm); index 731 drivers/gpu/drm/radeon/trinity_dpm.c trinity_set_at(rdev, index, pi->at[index]); index 735 drivers/gpu/drm/radeon/trinity_dpm.c u32 index, bool enable) index 738 drivers/gpu/drm/radeon/trinity_dpm.c u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; index 1433 drivers/gpu/drm/radeon/trinity_dpm.c struct trinity_ps *ps, u32 index) index 1438 drivers/gpu/drm/radeon/trinity_dpm.c if (index == 0) index 1443 drivers/gpu/drm/radeon/trinity_dpm.c if (index == 0) index 1445 drivers/gpu/drm/radeon/trinity_dpm.c else if (ps->levels[index].sclk < 30000) index 1709 drivers/gpu/drm/radeon/trinity_dpm.c struct radeon_ps *rps, int index, index 1714 drivers/gpu/drm/radeon/trinity_dpm.c struct trinity_pl *pl = &ps->levels[index]; index 1722 drivers/gpu/drm/radeon/trinity_dpm.c ps->num_levels = index + 1; index 1741 drivers/gpu/drm/radeon/trinity_dpm.c int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); index 1747 drivers/gpu/drm/radeon/trinity_dpm.c if (!atom_parse_data_header(mode_info->atom_context, index, NULL, index 1851 drivers/gpu/drm/radeon/trinity_dpm.c int index = GetIndexIntoMasterTable(DATA, IntegratedSystemInfo); index 1857 drivers/gpu/drm/radeon/trinity_dpm.c if (atom_parse_data_header(mode_info->atom_context, index, NULL, index 219 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (rcdu->info->dpll_mask & (1 << rcrtc->index)) { index 252 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (rcrtc->index == 1) index 262 drivers/gpu/drm/rcar-du/rcar_du_crtc.c } else if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index)) { index 289 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_crtc_write(rcrtc, rcrtc->index % 2 ? ESCR13 : ESCR02, escr); index 290 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_crtc_write(rcrtc, rcrtc->index % 2 ? OTAR13 : OTAR02, 0); index 365 drivers/gpu/drm/rcar-du/rcar_du_crtc.c unsigned int index = to_rcar_plane_state(state)->hwindex; index 368 drivers/gpu/drm/rcar-du/rcar_du_crtc.c dspr |= (index + 1) << prio; index 369 drivers/gpu/drm/rcar-du/rcar_du_crtc.c hwplanes |= 1 << index; index 372 drivers/gpu/drm/rcar-du/rcar_du_crtc.c index = (index + 1) % 8; index 375 drivers/gpu/drm/rcar-du/rcar_du_crtc.c dspr |= (index + 1) << prio; index 376 drivers/gpu/drm/rcar-du/rcar_du_crtc.c hwplanes |= 1 << index; index 383 drivers/gpu/drm/rcar-du/rcar_du_crtc.c dspr = (rcrtc->index % 2) + 1; index 384 drivers/gpu/drm/rcar-du/rcar_du_crtc.c hwplanes = 1 << (rcrtc->index % 2); index 386 drivers/gpu/drm/rcar-du/rcar_du_crtc.c dspr = (rcrtc->index % 2) ? 3 : 1; index 387 drivers/gpu/drm/rcar-du/rcar_du_crtc.c hwplanes = 1 << ((rcrtc->index % 2) ? 2 : 0); index 402 drivers/gpu/drm/rcar-du/rcar_du_crtc.c dptsr_planes = rcrtc->index % 2 ? rcrtc->group->dptsr_planes | hwplanes index 420 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_group_write(rcrtc->group, rcrtc->index % 2 ? DS2PR : DS1PR, index 492 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_group_write(rcrtc->group, rcrtc->index % 2 ? DS2PR : DS1PR, 0); index 581 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcar_du_group_write(rcrtc->group, rcrtc->index % 2 ? DS2PR : DS1PR, 0); index 677 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index) && index 680 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcdu->encoders[RCAR_DU_OUTPUT_LVDS0 + rcrtc->index]; index 701 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index) && index 704 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcdu->encoders[RCAR_DU_OUTPUT_LVDS0 + rcrtc->index]; index 911 drivers/gpu/drm/rcar-du/rcar_du_crtc.c state->crc.index = 0; index 940 drivers/gpu/drm/rcar-du/rcar_du_crtc.c unsigned int index; index 960 drivers/gpu/drm/rcar-du/rcar_du_crtc.c ret = kstrtouint(source_name + strlen("plane"), 10, &index); index 965 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (index == rcrtc->vsp->planes[i].plane.base.id) index 1006 drivers/gpu/drm/rcar-du/rcar_du_crtc.c unsigned int index; index 1013 drivers/gpu/drm/rcar-du/rcar_du_crtc.c index = ret; index 1033 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcrtc_state->crc.index = index; index 1182 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcrtc->index = hwindex; index 1183 drivers/gpu/drm/rcar-du/rcar_du_crtc.c rcrtc->dsysr = (rcrtc->index % 2 ? 0 : DSYSR_DRES) | DSYSR_TVM_TVSYNC; index 53 drivers/gpu/drm/rcar-du/rcar_du_crtc.h unsigned int index; index 69 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rgrp->index == 0) { index 80 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rgrp->index == rcdu->dpad0_source / 2) index 103 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->gen < 3 && rgrp->index == 0) { index 115 drivers/gpu/drm/rcar-du/rcar_du_group.c rcrtc = &rcdu->crtcs[rgrp->index * 2]; index 124 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index)) index 215 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->info->channels_mask & BIT(rgrp->index * 2)) { index 216 drivers/gpu/drm/rcar-du/rcar_du_group.c struct rcar_du_crtc *rcrtc = &rgrp->dev->crtcs[rgrp->index * 2]; index 262 drivers/gpu/drm/rcar-du/rcar_du_group.c unsigned int index; index 275 drivers/gpu/drm/rcar-du/rcar_du_group.c index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; index 276 drivers/gpu/drm/rcar-du/rcar_du_group.c rgrp = &rcdu->groups[index]; index 277 drivers/gpu/drm/rcar-du/rcar_du_group.c crtc = &rcdu->crtcs[index * 2]; index 321 drivers/gpu/drm/rcar-du/rcar_du_group.c rcrtc = &rcdu->crtcs[rgrp->index * 2 + i]; index 343 drivers/gpu/drm/rcar-du/rcar_du_group.c if (rcdu->dpad1_source == rgrp->index * 2) index 37 drivers/gpu/drm/rcar-du/rcar_du_group.h unsigned int index; index 405 drivers/gpu/drm/rcar-du/rcar_du_kms.c rcdu->dpad0_source = rcrtc->index; index 408 drivers/gpu/drm/rcar-du/rcar_du_kms.c rcdu->dpad1_source = rcrtc->index; index 600 drivers/gpu/drm/rcar-du/rcar_du_kms.c vsp->index = i; index 677 drivers/gpu/drm/rcar-du/rcar_du_kms.c rgrp->index = i; index 247 drivers/gpu/drm/rcar-du/rcar_du_of.c int index; index 250 drivers/gpu/drm/rcar-du/rcar_du_of.c index = of_property_match_string(du_node, "clock-names", name); index 251 drivers/gpu/drm/rcar-du/rcar_du_of.c if (index < 0) index 255 drivers/gpu/drm/rcar-du/rcar_du_of.c "#clock-cells", index, index 270 drivers/gpu/drm/rcar-du/rcar_du_of.c index = of_property_match_string(du_node, "reg-names", name); index 271 drivers/gpu/drm/rcar-du/rcar_du_of.c if (index < 0) index 274 drivers/gpu/drm/rcar-du/rcar_du_of.c of_address_to_resource(du_node, index, &lvds->res); index 105 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (plane->group->index != 0) index 111 drivers/gpu/drm/rcar-du/rcar_du_plane.c fixed = plane->group->index == 0 ? 1 : 0; index 147 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index; index 154 drivers/gpu/drm/rcar-du/rcar_du_plane.c plane->group->index, plane - plane->group->planes); index 164 drivers/gpu/drm/rcar-du/rcar_du_plane.c index = plane - plane->group->planes; index 165 drivers/gpu/drm/rcar-du/rcar_du_plane.c group_freed_planes[plane->group->index] |= 1 << index; index 177 drivers/gpu/drm/rcar-du/rcar_du_plane.c groups |= 1 << plane->group->index; index 180 drivers/gpu/drm/rcar-du/rcar_du_plane.c index = plane - plane->group->planes; index 181 drivers/gpu/drm/rcar-du/rcar_du_plane.c group_freed_planes[plane->group->index] |= 1 << index; index 199 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index = ffs(groups) - 1; index 200 drivers/gpu/drm/rcar-du/rcar_du_plane.c struct rcar_du_group *group = &rcdu->groups[index]; index 204 drivers/gpu/drm/rcar-du/rcar_du_plane.c __func__, index); index 223 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (group_freed_planes[index] & (1 << i)) { index 226 drivers/gpu/drm/rcar-du/rcar_du_plane.c __func__, plane->group->index, index 236 drivers/gpu/drm/rcar-du/rcar_du_plane.c __func__, plane->group->index, index 243 drivers/gpu/drm/rcar-du/rcar_du_plane.c group_free_planes[index] = 0xff & ~used_planes; index 244 drivers/gpu/drm/rcar-du/rcar_du_plane.c groups &= ~(1 << index); index 247 drivers/gpu/drm/rcar-du/rcar_du_plane.c __func__, index, group_free_planes[index]); index 265 drivers/gpu/drm/rcar-du/rcar_du_plane.c plane->group->index, plane - plane->group->planes); index 281 drivers/gpu/drm/rcar-du/rcar_du_plane.c crtc_planes = to_rcar_crtc(new_plane_state->state.crtc)->index % 2 index 284 drivers/gpu/drm/rcar-du/rcar_du_plane.c free = group_free_planes[plane->group->index]; index 302 drivers/gpu/drm/rcar-du/rcar_du_plane.c group_free_planes[plane->group->index] &= index 306 drivers/gpu/drm/rcar-du/rcar_du_plane.c __func__, plane->group->index, index 307 drivers/gpu/drm/rcar-du/rcar_du_plane.c group_free_planes[plane->group->index]); index 322 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index, u32 reg, u32 data) index 324 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_write(rgrp->dev, rgrp->mmio_offset + index * PLANE_OFF + reg, index 333 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index = state->hwindex; index 365 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnMWR, index 382 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnSPXR, src_x); index 383 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnSPYR, src_y * index 386 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDSA0R, dma[0]); index 389 drivers/gpu/drm/rcar-du/rcar_du_plane.c index = (index + 1) % 8; index 391 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnMWR, pitch); index 393 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnSPXR, src_x); index 394 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnSPYR, src_y * index 397 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDSA0R, dma[1]); index 402 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index, index 419 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnALPHAR, PnALPHAR_ABIT_0); index 421 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnALPHAR, index 438 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnMR, pnmr); index 445 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnTC2R, colorkey); index 453 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnTC2R, colorkey); index 458 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnTC3R, index 465 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index, index 478 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_setup_mode(rgrp, index, state); index 481 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (state->hwindex != index) { index 495 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDDCR2, ddcr2); index 501 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDDCR4, ddcr4); index 505 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index, index 508 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnMR, index 511 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDDCR4, index 516 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int index, index 523 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_setup_format_gen2(rgrp, index, state); index 525 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_setup_format_gen3(rgrp, index, state); index 528 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDSXR, drm_rect_width(dst)); index 529 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDSYR, drm_rect_height(dst)); index 530 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDPXR, dst->x1); index 531 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnDPYR, dst->y1); index 535 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnWASPR, 0); index 536 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnWAMWR, 4095); index 537 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnBTR, 0); index 538 drivers/gpu/drm/rcar-du/rcar_du_plane.c rcar_du_plane_write(rgrp, index, PnMLR, 0); index 556 drivers/gpu/drm/rcar-du/rcar_du_plane.c unsigned int vspd1_sink = rgrp->index ? 2 : 0; index 766 drivers/gpu/drm/rcar-du/rcar_du_plane.c crtcs = ((1 << rcdu->num_crtcs) - 1) & (3 << (2 * rgrp->index)); index 78 drivers/gpu/drm/rcar-du/rcar_du_vsp.c state.hwindex = (crtc->index % 2) ? 2 : 0; index 80 drivers/gpu/drm/rcar-du/rcar_du_vsp.c state.hwindex = crtc->index % 2; index 180 drivers/gpu/drm/rcar-du/rcar_du_vsp.c plane->index, &cfg); index 284 drivers/gpu/drm/rcar-du/rcar_du_vsp.c rplane->index, NULL); index 382 drivers/gpu/drm/rcar-du/rcar_du_vsp.c plane->index = i; index 23 drivers/gpu/drm/rcar-du/rcar_du_vsp.h unsigned int index; index 27 drivers/gpu/drm/rcar-du/rcar_du_vsp.h unsigned int index; index 23 drivers/gpu/drm/shmobile/shmob_drm_plane.c unsigned int index; index 114 drivers/gpu/drm/shmobile/shmob_drm_plane.c splane->index, #reg, \ index 115 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_read(sdev, reg(splane->index)), \ index 116 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_read(sdev, reg(splane->index) + LCDC_SIDE_B_OFFSET)) index 125 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBCR, LDBCR_UPC(splane->index)); index 126 drivers/gpu/drm/shmobile/shmob_drm_plane.c dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x\n", __func__, splane->index, index 129 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBSIFR(splane->index), format); index 131 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBSSZR(splane->index), index 134 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBLOCR(splane->index), index 137 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBSMWR(splane->index), index 142 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBSAYR(splane->index), splane->dma[0]); index 144 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBSACR(splane->index), splane->dma[1]); index 147 drivers/gpu/drm/shmobile/shmob_drm_plane.c LDBCR_UPF(splane->index) | LDBCR_UPD(splane->index)); index 148 drivers/gpu/drm/shmobile/shmob_drm_plane.c dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x\n", __func__, splane->index, index 214 drivers/gpu/drm/shmobile/shmob_drm_plane.c lcdc_write(sdev, LDBnBSIFR(splane->index), 0); index 242 drivers/gpu/drm/shmobile/shmob_drm_plane.c int shmob_drm_plane_create(struct shmob_drm_device *sdev, unsigned int index) index 251 drivers/gpu/drm/shmobile/shmob_drm_plane.c splane->index = index; index 16 drivers/gpu/drm/shmobile/shmob_drm_plane.h int shmob_drm_plane_create(struct shmob_drm_device *sdev, unsigned int index); index 764 drivers/gpu/drm/stm/ltdc.c u32 lofs = plane->index * LAY_OFS; index 858 drivers/gpu/drm/stm/ltdc.c ldev->plane_fpsi[plane->index].counter++; index 876 drivers/gpu/drm/stm/ltdc.c u32 lofs = plane->index * LAY_OFS; index 890 drivers/gpu/drm/stm/ltdc.c struct fps_info *fpsi = &ldev->plane_fpsi[plane->index]; index 520 drivers/gpu/drm/sun4i/sun4i_backend.c plane->index); index 178 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c static int sun4i_tmds_set_parent(struct clk_hw *hw, u8 index) index 183 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c if (index > 1) index 188 drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c writel(reg | SUN4I_HDMI_PLL_DBG0_TMDS_PARENT(index), index 120 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c static int sun8i_phy_clk_set_parent(struct clk_hw *hw, u8 index) index 124 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c if (index > 1) index 129 drivers/gpu/drm/sun4i/sun8i_hdmi_phy_clk.c index << SUN8I_HDMI_PHY_PLL_CFG1_CKIN_SEL_SHIFT); index 104 drivers/gpu/drm/sun4i/sun8i_tcon_top.c int ret, index; index 106 drivers/gpu/drm/sun4i/sun8i_tcon_top.c index = of_property_match_string(dev->of_node, "clock-names", parent); index 107 drivers/gpu/drm/sun4i/sun8i_tcon_top.c if (index < 0) index 108 drivers/gpu/drm/sun4i/sun8i_tcon_top.c return ERR_PTR(index); index 110 drivers/gpu/drm/sun4i/sun8i_tcon_top.c parent_name = of_clk_get_parent_name(dev->of_node, index); index 340 drivers/gpu/drm/sun4i/sun8i_ui_layer.c int index) index 343 drivers/gpu/drm/sun4i/sun8i_ui_layer.c int channel = mixer->cfg->vi_num + index; index 352 drivers/gpu/drm/sun4i/sun8i_ui_layer.c if (index == 0) index 61 drivers/gpu/drm/sun4i/sun8i_ui_layer.h int index); index 33 drivers/gpu/drm/sun4i/sun8i_ui_scaler.h #define SUN8I_SCALER_GSU_HCOEFF(base, index) ((base) + 0x200 + 0x4 * (index)) index 485 drivers/gpu/drm/sun4i/sun8i_vi_layer.c int index) index 517 drivers/gpu/drm/sun4i/sun8i_vi_layer.c ret = drm_plane_create_zpos_property(&layer->plane, index, index 542 drivers/gpu/drm/sun4i/sun8i_vi_layer.c layer->channel = index; index 60 drivers/gpu/drm/sun4i/sun8i_vi_layer.h int index); index 315 drivers/gpu/drm/tegra/dc.c if (plane->index == 0 && dc->soc->has_win_a_without_filters) index 330 drivers/gpu/drm/tegra/dc.c if (plane->index == 0 && dc->soc->has_win_a_without_filters) index 333 drivers/gpu/drm/tegra/dc.c if (plane->index == 2 && dc->soc->has_win_c_without_vert_filter) index 774 drivers/gpu/drm/tegra/dc.c plane->index = 0; index 790 drivers/gpu/drm/tegra/dc.c drm_plane_create_zpos_property(&plane->base, plane->index, 0, 255); index 942 drivers/gpu/drm/tegra/dc.c plane->index = 6; index 1040 drivers/gpu/drm/tegra/dc.c unsigned int index, index 1054 drivers/gpu/drm/tegra/dc.c plane->offset = 0xa00 + 0x200 * index; index 1055 drivers/gpu/drm/tegra/dc.c plane->index = index; index 1075 drivers/gpu/drm/tegra/dc.c drm_plane_create_zpos_property(&plane->base, plane->index, 0, 255); index 1099 drivers/gpu/drm/tegra/dc.c unsigned int index = wgrp->windows[j]; index 1102 drivers/gpu/drm/tegra/dc.c wgrp->index, index 1103 drivers/gpu/drm/tegra/dc.c index); index 2216 drivers/gpu/drm/tegra/dc.c .index = 0, index 2221 drivers/gpu/drm/tegra/dc.c .index = 1, index 2226 drivers/gpu/drm/tegra/dc.c .index = 2, index 2231 drivers/gpu/drm/tegra/dc.c .index = 3, index 2236 drivers/gpu/drm/tegra/dc.c .index = 4, index 2241 drivers/gpu/drm/tegra/dc.c .index = 5, index 2264 drivers/gpu/drm/tegra/dc.c .index = 0, index 2269 drivers/gpu/drm/tegra/dc.c .index = 1, index 2274 drivers/gpu/drm/tegra/dc.c .index = 2, index 2279 drivers/gpu/drm/tegra/dc.c .index = 3, index 2284 drivers/gpu/drm/tegra/dc.c .index = 4, index 2289 drivers/gpu/drm/tegra/dc.c .index = 5, index 44 drivers/gpu/drm/tegra/dc.h unsigned int index; index 681 drivers/gpu/drm/tegra/drm.c if (args->index >= context->client->base.num_syncpts) { index 686 drivers/gpu/drm/tegra/drm.c syncpt = context->client->base.syncpts[args->index]; index 172 drivers/gpu/drm/tegra/drm.h unsigned int index); index 27 drivers/gpu/drm/tegra/fb.c unsigned int index) index 29 drivers/gpu/drm/tegra/fb.c return to_tegra_bo(drm_gem_fb_get_obj(framebuffer, index)); index 121 drivers/gpu/drm/tegra/hub.c wgrp->index); index 171 drivers/gpu/drm/tegra/hub.c mask = COMMON_UPDATE | WIN_A_UPDATE << plane->base.index; index 191 drivers/gpu/drm/tegra/hub.c mask = COMMON_ACTREQ | WIN_A_ACT_REQ << plane->base.index; index 224 drivers/gpu/drm/tegra/hub.c dc->pipe, plane->index); index 237 drivers/gpu/drm/tegra/hub.c unsigned int owner, index = plane->index; index 244 drivers/gpu/drm/tegra/hub.c dev_WARN(dev, "window %u owned by head %u\n", index, owner); index 254 drivers/gpu/drm/tegra/hub.c dev_dbg(dev, "window %u not owned by head %u but %u\n", index, index 312 drivers/gpu/drm/tegra/hub.c value |= THREAD_NUM(plane->base.index); index 532 drivers/gpu/drm/tegra/hub.c unsigned int index) index 550 drivers/gpu/drm/tegra/hub.c plane->base.offset = 0x0a00 + 0x0300 * index; index 551 drivers/gpu/drm/tegra/hub.c plane->base.index = index; index 795 drivers/gpu/drm/tegra/hub.c wgrp->index = i; index 19 drivers/gpu/drm/tegra/hub.h unsigned int index; index 84 drivers/gpu/drm/tegra/hub.h unsigned int index); index 37 drivers/gpu/drm/tegra/plane.c plane->state->zpos = p->index; index 38 drivers/gpu/drm/tegra/plane.c plane->state->normalized_zpos = p->index; index 118 drivers/gpu/drm/tegra/plane.c tegra->planes |= WIN_A_ACT_REQ << plane->index; index 369 drivers/gpu/drm/tegra/plane.c unsigned int index = 0, i; index 374 drivers/gpu/drm/tegra/plane.c if (i == plane->index) index 377 drivers/gpu/drm/tegra/plane.c if (i == other->index) index 380 drivers/gpu/drm/tegra/plane.c index++; index 383 drivers/gpu/drm/tegra/plane.c return index; index 395 drivers/gpu/drm/tegra/plane.c unsigned index; index 401 drivers/gpu/drm/tegra/plane.c index = tegra_plane_get_overlap_index(tegra, p); index 404 drivers/gpu/drm/tegra/plane.c state->blending[index].alpha = true; index 406 drivers/gpu/drm/tegra/plane.c state->blending[index].alpha = false; index 409 drivers/gpu/drm/tegra/plane.c state->blending[index].top = true; index 411 drivers/gpu/drm/tegra/plane.c state->blending[index].top = false; index 420 drivers/gpu/drm/tegra/plane.c state->blending[index].top = (index == 1); index 18 drivers/gpu/drm/tegra/plane.h unsigned int index; index 402 drivers/gpu/drm/tegra/sor.c unsigned int index; index 521 drivers/gpu/drm/tegra/sor.c static int tegra_clk_sor_pad_set_parent(struct clk_hw *hw, u8 index) index 530 drivers/gpu/drm/tegra/sor.c switch (index) { index 2404 drivers/gpu/drm/tegra/sor.c value &= ~SOR_ENABLE(sor->index); index 2779 drivers/gpu/drm/tegra/sor.c value |= SOR_ENABLE(sor->index); index 2784 drivers/gpu/drm/tegra/sor.c value = tegra_dc_readl(dc, DC_DISP_CORE_SOR_SET_CONTROL(sor->index)); index 2787 drivers/gpu/drm/tegra/sor.c tegra_dc_writel(dc, value, DC_DISP_CORE_SOR_SET_CONTROL(sor->index)); index 3196 drivers/gpu/drm/tegra/sor.c sor->index = value; index 3202 drivers/gpu/drm/tegra/sor.c sor->pad = TEGRA_IO_PAD_HDMI_DP0 + sor->index; index 3205 drivers/gpu/drm/tegra/sor.c sor->index = 0; index 3207 drivers/gpu/drm/tegra/sor.c sor->index = 1; index 64 drivers/gpu/drm/tilcdc/tilcdc_external.c if (encoder->possible_crtcs & (1 << priv->crtc->index)) index 270 drivers/gpu/drm/ttm/ttm_bo_vm.c page->index = drm_vma_node_start(&bo->base.vma_node) + index 836 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c unsigned index) index 847 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c ttm->pages[index] = d_page->p; index 848 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c ttm_dma->dma_address[index] = d_page->dma; index 486 drivers/gpu/drm/ttm/ttm_tt.c (*page++)->index = 0; index 130 drivers/gpu/drm/udl/udl_drv.c DRM_INFO("Initialized udl on minor %d\n", udl->drm.primary->index); index 355 drivers/gpu/drm/v3d/v3d_gem.c unsigned long index; index 365 drivers/gpu/drm/v3d/v3d_gem.c xa_for_each(&job->deps, index, fence) { index 26 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 52 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 78 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 98 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 118 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 138 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 157 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 177 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 197 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 219 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 237 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 253 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 269 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 285 drivers/gpu/drm/v3d/v3d_trace.h __entry->dev = dev->primary->index; index 80 drivers/gpu/drm/vboxvideo/hgsmi_base.c int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret) index 89 drivers/gpu/drm/vboxvideo/hgsmi_base.c p->index = index; index 182 drivers/gpu/drm/vboxvideo/vbox_drv.h static inline void vbox_write_ioport(u16 index, u16 data) index 184 drivers/gpu/drm/vboxvideo/vbox_drv.h outw(index, VBE_DISPI_IOPORT_INDEX); index 205 drivers/gpu/drm/vboxvideo/vboxvideo.h u32 index; index 33 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h int hgsmi_query_conf(struct gen_pool *ctx, u32 index, u32 *value_ret); index 52 drivers/gpu/drm/vc4/vc4_drv.c void __iomem *vc4_ioremap_regs(struct platform_device *dev, int index) index 57 drivers/gpu/drm/vc4/vc4_drv.c res = platform_get_resource(dev, IORESOURCE_MEM, index); index 782 drivers/gpu/drm/vc4/vc4_drv.h void __iomem *vc4_ioremap_regs(struct platform_device *dev, int index); index 28 drivers/gpu/drm/vc4/vc4_trace.h __entry->dev = dev->primary->index; index 47 drivers/gpu/drm/vc4/vc4_trace.h __entry->dev = dev->primary->index; index 167 drivers/gpu/drm/via/via_mm.c mem->index = user_key; index 179 drivers/gpu/drm/via/via_mm.c mem->index = 0; index 192 drivers/gpu/drm/via/via_mm.c obj = idr_find(&dev_priv->object_idr, mem->index); index 198 drivers/gpu/drm/via/via_mm.c idr_remove(&dev_priv->object_idr, mem->index); index 204 drivers/gpu/drm/via/via_mm.c DRM_DEBUG("free = 0x%lx\n", mem->index); index 88 drivers/gpu/drm/virtio/virtgpu_display.c virtio_gpu_cmd_set_scanout(vgdev, output->index, 0, index 108 drivers/gpu/drm/virtio/virtgpu_display.c virtio_gpu_cmd_set_scanout(vgdev, output->index, 0, 0, 0, 0, 0); index 250 drivers/gpu/drm/virtio/virtgpu_display.c static int vgdev_output_init(struct virtio_gpu_device *vgdev, int index) index 253 drivers/gpu/drm/virtio/virtgpu_display.c struct virtio_gpu_output *output = vgdev->outputs + index; index 259 drivers/gpu/drm/virtio/virtgpu_display.c output->index = index; index 260 drivers/gpu/drm/virtio/virtgpu_display.c if (index == 0) { index 266 drivers/gpu/drm/virtio/virtgpu_display.c primary = virtio_gpu_plane_init(vgdev, DRM_PLANE_TYPE_PRIMARY, index); index 269 drivers/gpu/drm/virtio/virtgpu_display.c cursor = virtio_gpu_plane_init(vgdev, DRM_PLANE_TYPE_CURSOR, index); index 285 drivers/gpu/drm/virtio/virtgpu_display.c encoder->possible_crtcs = 1 << index; index 125 drivers/gpu/drm/virtio/virtgpu_drv.h int index; index 340 drivers/gpu/drm/virtio/virtgpu_drv.h int index); index 130 drivers/gpu/drm/virtio/virtgpu_plane.c virtio_gpu_cmd_set_scanout(vgdev, output->index, handle, index 268 drivers/gpu/drm/virtio/virtgpu_plane.c int index) index 289 drivers/gpu/drm/virtio/virtgpu_plane.c ret = drm_universal_plane_init(dev, plane, 1 << index, index 24 drivers/gpu/drm/virtio/virtgpu_trace.h __entry->dev = vq->vdev->index; index 25 drivers/gpu/drm/virtio/virtgpu_trace.h __entry->vq = vq->index; index 1040 drivers/gpu/drm/virtio/virtgpu_vq.c output->cursor.pos.scanout_id = cpu_to_le32(output->index); index 118 drivers/gpu/drm/vkms/vkms_drv.h int vkms_output_init(struct vkms_device *vkmsdev, int index); index 121 drivers/gpu/drm/vkms/vkms_drv.h enum drm_plane_type type, int index); index 38 drivers/gpu/drm/vkms/vkms_output.c int vkms_output_init(struct vkms_device *vkmsdev, int index) index 48 drivers/gpu/drm/vkms/vkms_output.c primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); index 53 drivers/gpu/drm/vkms/vkms_output.c cursor = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_CURSOR, index); index 181 drivers/gpu/drm/vkms/vkms_plane.c enum drm_plane_type type, int index) index 203 drivers/gpu/drm/vkms/vkms_plane.c ret = drm_universal_plane_init(dev, plane, 1 << index, index 967 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint32 index; index 977 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint32 index; index 1005 drivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h uint32 index; index 333 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c start = page->index << PAGE_SHIFT; index 133 drivers/gpu/drm/xen/xen_drm_front.c evtchnl = &front_info->evt_pairs[pipeline->index].req; index 555 drivers/gpu/drm/xen/xen_drm_front.c xen_drm_driver.date, drm_dev->primary->index); index 110 drivers/gpu/drm/xen/xen_drm_front.h int index; index 23 drivers/gpu/drm/xen/xen_drm_front_cfg.c const char *path, int index) index 28 drivers/gpu/drm/xen/xen_drm_front_cfg.c GFP_KERNEL, "%s/%d", path, index); index 109 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c xen_drm_front_on_frame_done(front_info, evtchnl->index, index 156 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c static int evtchnl_alloc(struct xen_drm_front_info *front_info, int index, index 168 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c evtchnl->index = index; index 43 drivers/gpu/drm/xen/xen_drm_front_evtchnl.h int index; index 208 drivers/gpu/drm/xen/xen_drm_front_kms.c pipeline->index, index 297 drivers/gpu/drm/xen/xen_drm_front_kms.c int index, struct xen_drm_front_cfg_connector *cfg, index 306 drivers/gpu/drm/xen/xen_drm_front_kms.c pipeline->index = index; index 68 drivers/gpu/host1x/channel.c unsigned int index) index 70 drivers/gpu/host1x/channel.c struct host1x_channel *ch = &host->channel_list.channels[index]; index 101 drivers/gpu/host1x/channel.c unsigned int index; index 103 drivers/gpu/host1x/channel.c index = find_first_zero_bit(chlist->allocated_channels, max_channels); index 104 drivers/gpu/host1x/channel.c if (index >= max_channels) { index 109 drivers/gpu/host1x/channel.c chlist->channels[index].id = index; index 111 drivers/gpu/host1x/channel.c set_bit(index, chlist->allocated_channels); index 113 drivers/gpu/host1x/channel.c return &chlist->channels[index]; index 38 drivers/gpu/host1x/channel.h unsigned int index); index 231 drivers/gpu/host1x/hw/channel_hw.c unsigned int index) index 234 drivers/gpu/host1x/hw/channel_hw.c ch->regs = dev->regs + index * 0x4000; index 236 drivers/gpu/host1x/hw/channel_hw.c ch->regs = dev->regs + index * 0x100; index 339 drivers/gpu/ipu-v3/ipu-image-convert.c int ipu_image_convert_enum_format(int index, u32 *fourcc) index 343 drivers/gpu/ipu-v3/ipu-image-convert.c if (index >= (int)ARRAY_SIZE(image_convert_formats)) index 347 drivers/gpu/ipu-v3/ipu-image-convert.c fmt = &image_convert_formats[index]; index 483 drivers/gpu/ipu-v3/ipu-image-convert.c unsigned int index, index 507 drivers/gpu/ipu-v3/ipu-image-convert.c out_start = max_t(int, index * out_align, out_edge - 1024); index 509 drivers/gpu/ipu-v3/ipu-image-convert.c out_end = min_t(unsigned int, out_edge, index * 1024 + 1); index 515 drivers/gpu/ipu-v3/ipu-image-convert.c in_start = max_t(int, index * in_align, index 518 drivers/gpu/ipu-v3/ipu-image-convert.c index * (1024 << downsize_coeff) + 1); index 114 drivers/gpu/ipu-v3/ipu-pre.c ipu_pre_lookup_by_phandle(struct device *dev, const char *name, int index) index 117 drivers/gpu/ipu-v3/ipu-pre.c name, index); index 257 drivers/gpu/ipu-v3/ipu-prv.h int index); index 195 drivers/hid/hid-appleir.c int index; index 207 drivers/hid/hid-appleir.c index = appleir->prev_key_idx; index 209 drivers/hid/hid-appleir.c index = get_key(data[4]); index 211 drivers/hid/hid-appleir.c if (index >= 0) { index 212 drivers/hid/hid-appleir.c appleir->current_key = appleir->keymap[index]; index 224 drivers/hid/hid-appleir.c appleir->prev_key_idx = -index; index 108 drivers/hid/hid-core.c field->index = report->maxfield++; index 109 drivers/hid/hid-core.c report->field[field->index] = field; index 207 drivers/hid/hid-core.c unsigned index = parser->collection_stack[n]; index 208 drivers/hid/hid-core.c if (collection[index].type == type) index 209 drivers/hid/hid-core.c return collection[index].usage; index 219 drivers/hid/hid-core.c static void complete_usage(struct hid_parser *parser, unsigned int index) index 221 drivers/hid/hid-core.c parser->local.usage[index] &= 0xFFFF; index 222 drivers/hid/hid-core.c parser->local.usage[index] |= index 116 drivers/hid/hid-input.c unsigned int *index) index 122 drivers/hid/hid-input.c usage = hidinput_find_key(hid, match_index, ke->index, index); index 124 drivers/hid/hid-input.c usage = hidinput_find_key(hid, match_scancode, scancode, index); index 136 drivers/hid/hid-input.c unsigned int scancode, index; index 138 drivers/hid/hid-input.c usage = hidinput_locate_usage(hid, ke, &index); index 142 drivers/hid/hid-input.c ke->index = index; index 984 drivers/hid/hid-logitech-hidpp.c unsigned index = 0; index 1001 drivers/hid/hid-logitech-hidpp.c while (index < __name_length) { index 1003 drivers/hid/hid-logitech-hidpp.c feature_index, index, name + index, index 1004 drivers/hid/hid-logitech-hidpp.c __name_length - index); index 1009 drivers/hid/hid-logitech-hidpp.c index += ret; index 1421 drivers/hid/hid-multitouch.c unsigned int index = usage->usage_index; index 1450 drivers/hid/hid-multitouch.c field->value[index] = td->inputmode_value; index 1458 drivers/hid/hid-multitouch.c if (field->value[index] != max) { index 1459 drivers/hid/hid-multitouch.c field->value[index] = max; index 1466 drivers/hid/hid-multitouch.c field->value[index] = latency; index 1470 drivers/hid/hid-multitouch.c field->value[index] = surface_switch; index 1474 drivers/hid/hid-multitouch.c field->value[index] = button_switch; index 86 drivers/hid/hid-prodikeys.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 90 drivers/hid/hid-prodikeys.c module_param_array(index, int, NULL, 0444); index 93 drivers/hid/hid-prodikeys.c MODULE_PARM_DESC(index, "Index value for the PC-MIDI virtual audio driver"); index 625 drivers/hid/hid-prodikeys.c err = snd_card_new(&pm->pk->hdev->dev, index[dev], id[dev], index 186 drivers/hid/hid-sensor-custom.c sensor_inst->power_state->attribute.index, index 191 drivers/hid/hid-sensor-custom.c sensor_inst->report_state->attribute.index, index 199 drivers/hid/hid-sensor-custom.c sensor_inst->power_state->attribute.index, index 214 drivers/hid/hid-sensor-custom.c sensor_inst->report_state->attribute.index, index 278 drivers/hid/hid-sensor-custom.c int index, usage, field_index; index 284 drivers/hid/hid-sensor-custom.c if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, index 287 drivers/hid/hid-sensor-custom.c field_index = index + sensor_inst->input_field_count; index 288 drivers/hid/hid-sensor-custom.c } else if (sscanf(attr->attr.name, "input-%x-%x-%s", &index, &usage, index 291 drivers/hid/hid-sensor-custom.c field_index = index; index 309 drivers/hid/hid-sensor-custom.c index, index 385 drivers/hid/hid-sensor-custom.c int index, field_index, usage; index 389 drivers/hid/hid-sensor-custom.c if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, index 391 drivers/hid/hid-sensor-custom.c field_index = index + sensor_inst->input_field_count; index 405 drivers/hid/hid-sensor-custom.c index, sizeof(value), &value); index 471 drivers/hid/hid-sensor-custom.c int index, int report_type, index 493 drivers/hid/hid-sensor-custom.c sensor_field->attribute.index = index; index 504 drivers/hid/hid-sensor-custom.c sensor_field->attribute.index, index 509 drivers/hid/hid-sensor-custom.c "input-%x-%x", sensor_field->attribute.index, index 87 drivers/hid/hid-sensor-hub.c s32 index, s32 report_id, struct hid_field *field) index 89 drivers/hid/hid-sensor-hub.c info->index = index; index 387 drivers/hid/hid-sensor-hub.c info->index = -1; index 910 drivers/hid/hid-sony.c u8 index = rd[offset] <= 5 ? rd[offset] : 5; index 911 drivers/hid/hid-sony.c battery_capacity = sixaxis_battery_capacity[index]; index 115 drivers/hid/hid-zydacron.c unsigned short index; index 120 drivers/hid/hid-zydacron.c for (index = 0; index < 4; index++) { index 121 drivers/hid/hid-zydacron.c key = zc->last_key[index]; index 124 drivers/hid/hid-zydacron.c zc->last_key[index] = 0; index 135 drivers/hid/hid-zydacron.c index = 0; index 139 drivers/hid/hid-zydacron.c index = 1; index 143 drivers/hid/hid-zydacron.c index = 2; index 147 drivers/hid/hid-zydacron.c index = 3; index 153 drivers/hid/hid-zydacron.c zc->last_key[index] = key; index 343 drivers/hid/i2c-hid/i2c-hid-core.c int index = 0; index 361 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = reportID; index 370 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = dataRegister & 0xFF; index 371 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = dataRegister >> 8; index 374 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = outputRegister & 0xFF; index 375 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = outputRegister >> 8; index 379 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = size & 0xFF; index 380 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = size >> 8; index 383 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = reportID; index 385 drivers/hid/i2c-hid/i2c-hid-core.c memcpy(&args[index], buf, data_len); index 539 drivers/hid/intel-ish-hid/ishtp-hid-client.c static int ishtp_get_hid_descriptor(struct ishtp_cl *hid_ishtp_cl, int index) index 549 drivers/hid/intel-ish-hid/ishtp-hid-client.c msg.hdr.device_id = client_data->hid_devices[index].dev_id; index 565 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->hid_descr[index]) { index 586 drivers/hid/intel-ish-hid/ishtp-hid-client.c int index) index 596 drivers/hid/intel-ish-hid/ishtp-hid-client.c msg.hdr.device_id = client_data->hid_devices[index].dev_id; index 611 drivers/hid/intel-ish-hid/ishtp-hid-client.c if (!client_data->report_descr[index]) { index 27 drivers/hid/intel-ish-hid/ishtp-hid.c rv = hid_parse_report(hid, client_data->report_descr[hid_data->index], index 28 drivers/hid/intel-ish-hid/ishtp-hid.c client_data->report_descr_size[hid_data->index]); index 225 drivers/hid/intel-ish-hid/ishtp-hid.c hid_data->index = cur_hid_dev; index 160 drivers/hid/intel-ish-hid/ishtp-hid.h int index; index 177 drivers/hid/usbhid/hiddev.c uref.field_index = field->index; index 803 drivers/hid/usbhid/hiddev.c if (cinfo.index >= hid->maxcollection) index 805 drivers/hid/usbhid/hiddev.c cinfo.index = array_index_nospec(cinfo.index, index 808 drivers/hid/usbhid/hiddev.c cinfo.type = hid->collection[cinfo.index].type; index 809 drivers/hid/usbhid/hiddev.c cinfo.usage = hid->collection[cinfo.index].usage; index 810 drivers/hid/usbhid/hiddev.c cinfo.level = hid->collection[cinfo.index].level; index 263 drivers/hid/wacom_sys.c field->index + 2 < field->report->maxfield) { index 264 drivers/hid/wacom_sys.c struct hid_field *a = field->report->field[field->index + 1]; index 265 drivers/hid/wacom_sys.c struct hid_field *b = field->report->field[field->index + 2]; index 1824 drivers/hid/wacom_sys.c char *buf, int index) index 1831 drivers/hid/wacom_sys.c mode = wacom->led.groups[index].select; index 1862 drivers/hid/wacom_sys.c int index) index 1867 drivers/hid/wacom_sys.c remote->remotes[index].group.name = devm_kasprintf(&wacom->hdev->dev, index 1870 drivers/hid/wacom_sys.c if (!remote->remotes[index].group.name) index 1874 drivers/hid/wacom_sys.c &remote->remotes[index].group); index 1876 drivers/hid/wacom_sys.c remote->remotes[index].group.name = NULL; index 2489 drivers/hid/wacom_sys.c static void wacom_remote_destroy_one(struct wacom *wacom, unsigned int index) index 2492 drivers/hid/wacom_sys.c u32 serial = remote->remotes[index].serial; index 2520 drivers/hid/wacom_sys.c unsigned int index) index 2535 drivers/hid/wacom_sys.c remote->remotes[index].serial = serial; index 2539 drivers/hid/wacom_sys.c if (!devres_open_group(dev, &remote->remotes[index], GFP_KERNEL)) index 2542 drivers/hid/wacom_sys.c error = wacom_remote_create_attr_group(wacom, serial, index); index 2546 drivers/hid/wacom_sys.c remote->remotes[index].input = wacom_allocate_input(wacom); index 2547 drivers/hid/wacom_sys.c if (!remote->remotes[index].input) { index 2551 drivers/hid/wacom_sys.c remote->remotes[index].input->uniq = remote->remotes[index].group.name; index 2552 drivers/hid/wacom_sys.c remote->remotes[index].input->name = wacom->wacom_wac.pad_name; index 2554 drivers/hid/wacom_sys.c if (!remote->remotes[index].input->name) { index 2559 drivers/hid/wacom_sys.c error = wacom_setup_pad_input_capabilities(remote->remotes[index].input, index 2564 drivers/hid/wacom_sys.c remote->remotes[index].serial = serial; index 2566 drivers/hid/wacom_sys.c error = input_register_device(remote->remotes[index].input); index 2571 drivers/hid/wacom_sys.c &remote->remotes[index].input->dev, index 2572 drivers/hid/wacom_sys.c wacom, index, 3, true); index 2576 drivers/hid/wacom_sys.c remote->remotes[index].registered = true; index 2578 drivers/hid/wacom_sys.c devres_close_group(dev, &remote->remotes[index]); index 2582 drivers/hid/wacom_sys.c devres_release_group(dev, &remote->remotes[index]); index 2583 drivers/hid/wacom_sys.c remote->remotes[index].serial = 0; index 2587 drivers/hid/wacom_sys.c static int wacom_remote_attach_battery(struct wacom *wacom, int index) index 2592 drivers/hid/wacom_sys.c if (!remote->remotes[index].registered) index 2595 drivers/hid/wacom_sys.c if (remote->remotes[index].battery.battery) index 2598 drivers/hid/wacom_sys.c if (wacom->led.groups[index].select == WACOM_STATUS_UNKNOWN) index 2602 drivers/hid/wacom_sys.c &wacom->remote->remotes[index].battery); index 1055 drivers/hid/wacom_wac.c int i, index = -1; index 1071 drivers/hid/wacom_wac.c index = i; index 1076 drivers/hid/wacom_wac.c if (index < 0 || !remote->remotes[index].registered) index 1079 drivers/hid/wacom_wac.c input = remote->remotes[index].input; index 1127 drivers/hid/wacom_wac.c __wacom_notify_battery(&remote->remotes[index].battery, index 2508 drivers/hid/wacom_wac.c wacom_wac->hid_data.cc_index = field->index; index 490 drivers/hv/hv_kvp.c message->body.kvp_enum_data.index = index 491 drivers/hv/hv_kvp.c in_msg->body.kvp_enum_data.index; index 124 drivers/hwmon/ab8500.c int index = attr->index; index 126 drivers/hwmon/ab8500.c switch (index) { index 794 drivers/hwmon/abituguru.c return sprintf(buf, "%d\n", (data->bank1_value[attr->index] * index 795 drivers/hwmon/abituguru.c data->bank1_max_value[attr->index] + 128) / 255); index 804 drivers/hwmon/abituguru.c (data->bank1_settings[attr->index][attr->nr] * index 805 drivers/hwmon/abituguru.c data->bank1_max_value[attr->index] + 128) / 255); index 815 drivers/hwmon/abituguru.c return sprintf(buf, "%d\n", (data->bank2_value[attr->index] * index 825 drivers/hwmon/abituguru.c (data->bank2_settings[attr->index][attr->nr] * index 842 drivers/hwmon/abituguru.c val = (val * 255 + data->bank1_max_value[attr->index] / 2) / index 843 drivers/hwmon/abituguru.c data->bank1_max_value[attr->index]; index 848 drivers/hwmon/abituguru.c if (data->bank1_settings[attr->index][attr->nr] != val) { index 849 drivers/hwmon/abituguru.c u8 orig_val = data->bank1_settings[attr->index][attr->nr]; index 850 drivers/hwmon/abituguru.c data->bank1_settings[attr->index][attr->nr] = val; index 852 drivers/hwmon/abituguru.c attr->index, data->bank1_settings[attr->index], index 854 drivers/hwmon/abituguru.c data->bank1_settings[attr->index][attr->nr] = orig_val; index 883 drivers/hwmon/abituguru.c if (data->bank2_settings[attr->index][attr->nr] != val) { index 884 drivers/hwmon/abituguru.c u8 orig_val = data->bank2_settings[attr->index][attr->nr]; index 885 drivers/hwmon/abituguru.c data->bank2_settings[attr->index][attr->nr] = val; index 887 drivers/hwmon/abituguru.c attr->index, data->bank2_settings[attr->index], index 889 drivers/hwmon/abituguru.c data->bank2_settings[attr->index][attr->nr] = orig_val; index 911 drivers/hwmon/abituguru.c if ((data->alarms[attr->index / 8] & (0x01 << (attr->index % 8))) && index 912 drivers/hwmon/abituguru.c (data->bank1_settings[attr->index][0] & attr->nr)) index 925 drivers/hwmon/abituguru.c if (data->alarms[2] & (0x01 << attr->index)) index 936 drivers/hwmon/abituguru.c if (data->bank1_settings[attr->index][0] & attr->nr) index 947 drivers/hwmon/abituguru.c if (data->bank2_settings[attr->index][0] & attr->nr) index 968 drivers/hwmon/abituguru.c orig_val = data->bank1_settings[attr->index][0]; index 971 drivers/hwmon/abituguru.c data->bank1_settings[attr->index][0] |= attr->nr; index 973 drivers/hwmon/abituguru.c data->bank1_settings[attr->index][0] &= ~attr->nr; index 975 drivers/hwmon/abituguru.c if ((data->bank1_settings[attr->index][0] != orig_val) && index 977 drivers/hwmon/abituguru.c ABIT_UGURU_SENSOR_BANK1 + 2, attr->index, index 978 drivers/hwmon/abituguru.c data->bank1_settings[attr->index], 3) < 1)) { index 979 drivers/hwmon/abituguru.c data->bank1_settings[attr->index][0] = orig_val; index 1001 drivers/hwmon/abituguru.c orig_val = data->bank2_settings[attr->index][0]; index 1004 drivers/hwmon/abituguru.c data->bank2_settings[attr->index][0] |= attr->nr; index 1006 drivers/hwmon/abituguru.c data->bank2_settings[attr->index][0] &= ~attr->nr; index 1008 drivers/hwmon/abituguru.c if ((data->bank2_settings[attr->index][0] != orig_val) && index 1010 drivers/hwmon/abituguru.c ABIT_UGURU_SENSOR_BANK2 + 2, attr->index, index 1011 drivers/hwmon/abituguru.c data->bank2_settings[attr->index], 2) < 1)) { index 1012 drivers/hwmon/abituguru.c data->bank2_settings[attr->index][0] = orig_val; index 1025 drivers/hwmon/abituguru.c return sprintf(buf, "%d\n", data->pwm_settings[attr->index][attr->nr] * index 1047 drivers/hwmon/abituguru.c if ((attr->index == 0) && ((attr->nr == 1) || (attr->nr == 2))) index 1059 drivers/hwmon/abituguru.c (val >= data->pwm_settings[attr->index][attr->nr + 1])) index 1062 drivers/hwmon/abituguru.c (val <= data->pwm_settings[attr->index][attr->nr - 1])) index 1064 drivers/hwmon/abituguru.c else if (data->pwm_settings[attr->index][attr->nr] != val) { index 1065 drivers/hwmon/abituguru.c u8 orig_val = data->pwm_settings[attr->index][attr->nr]; index 1066 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][attr->nr] = val; index 1068 drivers/hwmon/abituguru.c attr->index, data->pwm_settings[attr->index], index 1070 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][attr->nr] = index 1091 drivers/hwmon/abituguru.c (data->pwm_settings[attr->index][0] & 0x0F)) index 1117 drivers/hwmon/abituguru.c orig_val = data->pwm_settings[attr->index][0]; index 1119 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][0] &= 0xF0; index 1120 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][0] |= address; index 1121 drivers/hwmon/abituguru.c if (data->pwm_settings[attr->index][0] != orig_val) { index 1122 drivers/hwmon/abituguru.c if (abituguru_write(data, ABIT_UGURU_FAN_PWM + 1, attr->index, index 1123 drivers/hwmon/abituguru.c data->pwm_settings[attr->index], 5) < 1) { index 1124 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][0] = orig_val; index 1138 drivers/hwmon/abituguru.c if (data->pwm_settings[attr->index][0] & ABIT_UGURU_FAN_PWM_ENABLE) index 1158 drivers/hwmon/abituguru.c orig_val = data->pwm_settings[attr->index][0]; index 1161 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][0] &= index 1165 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][0] |= ABIT_UGURU_FAN_PWM_ENABLE; index 1170 drivers/hwmon/abituguru.c if ((data->pwm_settings[attr->index][0] != orig_val) && index 1172 drivers/hwmon/abituguru.c attr->index, data->pwm_settings[attr->index], index 1174 drivers/hwmon/abituguru.c data->pwm_settings[attr->index][0] = orig_val; index 1349 drivers/hwmon/abituguru.c data->sysfs_attr[sysfs_attr_i].index = probe_order[i]; index 1371 drivers/hwmon/abituguru.c data->sysfs_attr[sysfs_attr_i].index = i; index 1388 drivers/hwmon/abituguru.c data->sysfs_attr[sysfs_attr_i].index = i; index 836 drivers/hwmon/abituguru3.c sensor = &data->sensors[attr->index]; index 868 drivers/hwmon/abituguru3.c port = data->sensors[attr->index].port; index 889 drivers/hwmon/abituguru3.c if (data->settings[data->sensors[attr->index].port][0] & attr->nr) index 901 drivers/hwmon/abituguru3.c return sprintf(buf, "%s\n", data->sensors[attr->index].name); index 1022 drivers/hwmon/abituguru3.c data->sysfs_attr[sysfs_attr_i].index = i; index 146 drivers/hwmon/abx500.c u8 gpadc_addr = data->gpadc_addr[attr->index]; index 169 drivers/hwmon/abx500.c data->min[attr->index] = val; index 189 drivers/hwmon/abx500.c data->max[attr->index] = val; index 210 drivers/hwmon/abx500.c data->max_hyst[attr->index] = val; index 224 drivers/hwmon/abx500.c return sprintf(buf, "%lu\n", data->min[attr->index]); index 233 drivers/hwmon/abx500.c return sprintf(buf, "%lu\n", data->max[attr->index]); index 242 drivers/hwmon/abx500.c return sprintf(buf, "%lu\n", data->max_hyst[attr->index]); index 251 drivers/hwmon/abx500.c return sprintf(buf, "%d\n", data->min_alarm[attr->index]); index 260 drivers/hwmon/abx500.c return sprintf(buf, "%d\n", data->max_alarm[attr->index]); index 105 drivers/hwmon/acpi_power_meter.c int index; index 300 drivers/hwmon/acpi_power_meter.c resource->trip[attr->index - 7] = temp; index 359 drivers/hwmon/acpi_power_meter.c switch (attr->index) { index 371 drivers/hwmon/acpi_power_meter.c attr->index); index 388 drivers/hwmon/acpi_power_meter.c switch (attr->index) { index 421 drivers/hwmon/acpi_power_meter.c if (resource->trip[attr->index - 7] < 0) index 424 drivers/hwmon/acpi_power_meter.c val = resource->trip[attr->index - 7] * 1000; index 428 drivers/hwmon/acpi_power_meter.c attr->index); index 457 drivers/hwmon/acpi_power_meter.c .index = _index, \ index 465 drivers/hwmon/acpi_power_meter.c .index = _index, \ index 630 drivers/hwmon/acpi_power_meter.c sensors->index = attrs->index; index 117 drivers/hwmon/ad7414.c int index = to_sensor_dev_attr(attr)->index; index 119 drivers/hwmon/ad7414.c return sprintf(buf, "%d\n", data->temps[index] * 1000); index 128 drivers/hwmon/ad7414.c int index = to_sensor_dev_attr(attr)->index; index 129 drivers/hwmon/ad7414.c u8 reg = AD7414_REG_LIMIT[index]; index 140 drivers/hwmon/ad7414.c data->temps[index] = temp; index 152 drivers/hwmon/ad7414.c int bitnr = to_sensor_dev_attr(attr)->index; index 138 drivers/hwmon/ad7418.c LM75_TEMP_FROM_REG(data->temp[attr->index])); index 153 drivers/hwmon/ad7418.c ((data->in[attr->index] >> 6) * 2500 + 512) / 1024); index 170 drivers/hwmon/ad7418.c data->temp[attr->index] = LM75_TEMP_TO_REG(temp); index 172 drivers/hwmon/ad7418.c AD7418_REG_TEMP[attr->index], index 173 drivers/hwmon/ad7418.c data->temp[attr->index]); index 151 drivers/hwmon/adc128d818.c int index = to_sensor_dev_attr_2(attr)->index; index 158 drivers/hwmon/adc128d818.c val = DIV_ROUND_CLOSEST(data->in[index][nr] * data->vref, 4095); index 167 drivers/hwmon/adc128d818.c int index = to_sensor_dev_attr_2(attr)->index; index 180 drivers/hwmon/adc128d818.c data->in[index][nr] = regval << 4; index 181 drivers/hwmon/adc128d818.c reg = index == 1 ? ADC128_REG_IN_MIN(nr) : ADC128_REG_IN_MAX(nr); index 192 drivers/hwmon/adc128d818.c int index = to_sensor_dev_attr(attr)->index; index 198 drivers/hwmon/adc128d818.c temp = sign_extend32(data->temp[index], 8); index 207 drivers/hwmon/adc128d818.c int index = to_sensor_dev_attr(attr)->index; index 218 drivers/hwmon/adc128d818.c data->temp[index] = regval << 1; index 220 drivers/hwmon/adc128d818.c index == 1 ? ADC128_REG_TEMP_MAX index 232 drivers/hwmon/adc128d818.c int mask = 1 << to_sensor_dev_attr(attr)->index; index 249 drivers/hwmon/adc128d818.c struct attribute *attr, int index) index 254 drivers/hwmon/adc128d818.c if (index < ADC128_ATTR_NUM_VOLT) { index 256 drivers/hwmon/adc128d818.c if (index >= num_inputs[data->mode] * 4) index 64 drivers/hwmon/adcxx.c tx_buf[0] = attr->index << 3; /* other bits are don't care */ index 149 drivers/hwmon/adm1021.c int index = to_sensor_dev_attr(devattr)->index; index 152 drivers/hwmon/adm1021.c return sprintf(buf, "%d\n", data->temp[index]); index 158 drivers/hwmon/adm1021.c int index = to_sensor_dev_attr(devattr)->index; index 161 drivers/hwmon/adm1021.c return sprintf(buf, "%d\n", data->temp_max[index]); index 167 drivers/hwmon/adm1021.c int index = to_sensor_dev_attr(devattr)->index; index 170 drivers/hwmon/adm1021.c return sprintf(buf, "%d\n", data->temp_min[index]); index 176 drivers/hwmon/adm1021.c int index = to_sensor_dev_attr(attr)->index; index 178 drivers/hwmon/adm1021.c return sprintf(buf, "%u\n", (data->alarms >> index) & 1); index 193 drivers/hwmon/adm1021.c int index = to_sensor_dev_attr(devattr)->index; index 206 drivers/hwmon/adm1021.c data->temp_max[index] = reg_val * 1000; index 208 drivers/hwmon/adm1021.c i2c_smbus_write_byte_data(client, ADM1021_REG_TOS_W(index), index 219 drivers/hwmon/adm1021.c int index = to_sensor_dev_attr(devattr)->index; index 232 drivers/hwmon/adm1021.c data->temp_min[index] = reg_val * 1000; index 234 drivers/hwmon/adm1021.c i2c_smbus_write_byte_data(client, ADM1021_REG_THYST_W(index), index 166 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 168 drivers/hwmon/adm1025.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in[index], index 169 drivers/hwmon/adm1025.c in_scale[index])); index 175 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 177 drivers/hwmon/adm1025.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[index], index 178 drivers/hwmon/adm1025.c in_scale[index])); index 184 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 186 drivers/hwmon/adm1025.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[index], index 187 drivers/hwmon/adm1025.c in_scale[index])); index 193 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 195 drivers/hwmon/adm1025.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[index])); index 201 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 203 drivers/hwmon/adm1025.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[index])); index 209 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 211 drivers/hwmon/adm1025.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); index 217 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 228 drivers/hwmon/adm1025.c data->in_min[index] = IN_TO_REG(val, in_scale[index]); index 229 drivers/hwmon/adm1025.c i2c_smbus_write_byte_data(client, ADM1025_REG_IN_MIN(index), index 230 drivers/hwmon/adm1025.c data->in_min[index]); index 238 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 249 drivers/hwmon/adm1025.c data->in_max[index] = IN_TO_REG(val, in_scale[index]); index 250 drivers/hwmon/adm1025.c i2c_smbus_write_byte_data(client, ADM1025_REG_IN_MAX(index), index 251 drivers/hwmon/adm1025.c data->in_max[index]); index 279 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 290 drivers/hwmon/adm1025.c data->temp_min[index] = TEMP_TO_REG(val); index 291 drivers/hwmon/adm1025.c i2c_smbus_write_byte_data(client, ADM1025_REG_TEMP_LOW(index), index 292 drivers/hwmon/adm1025.c data->temp_min[index]); index 301 drivers/hwmon/adm1025.c int index = to_sensor_dev_attr(attr)->index; index 312 drivers/hwmon/adm1025.c data->temp_max[index] = TEMP_TO_REG(val); index 313 drivers/hwmon/adm1025.c i2c_smbus_write_byte_data(client, ADM1025_REG_TEMP_HIGH(index), index 314 drivers/hwmon/adm1025.c data->temp_max[index]); index 337 drivers/hwmon/adm1025.c int bitnr = to_sensor_dev_attr(attr)->index; index 471 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 479 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 487 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 507 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 515 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 657 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 666 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 676 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 734 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 743 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 795 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 803 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 812 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 833 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 842 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 874 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 883 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 910 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 920 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 930 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 939 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 1010 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 1019 drivers/hwmon/adm1026.c int nr = sensor_attr->index; index 1121 drivers/hwmon/adm1026.c int bitnr = to_sensor_dev_attr(attr)->index; index 164 drivers/hwmon/adm1029.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); index 174 drivers/hwmon/adm1029.c if (data->fan[attr->index] == 0 || index 175 drivers/hwmon/adm1029.c (data->fan_div[attr->index] & 0xC0) == 0 || index 176 drivers/hwmon/adm1029.c data->fan[attr->index] == 255) { index 180 drivers/hwmon/adm1029.c val = 1880 * 120 / DIV_FROM_REG(data->fan_div[attr->index]) index 181 drivers/hwmon/adm1029.c / data->fan[attr->index]; index 191 drivers/hwmon/adm1029.c if ((data->fan_div[attr->index] & 0xC0) == 0) index 193 drivers/hwmon/adm1029.c return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index])); index 214 drivers/hwmon/adm1029.c ADM1029_REG_FAN_DIV[attr->index]); index 237 drivers/hwmon/adm1029.c data->fan_div[attr->index] = reg; index 241 drivers/hwmon/adm1029.c ADM1029_REG_FAN_DIV[attr->index], reg); index 324 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 335 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 389 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 397 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 408 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 427 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 438 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 470 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 479 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 559 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 571 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 578 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 590 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 615 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 669 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 680 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 688 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 695 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 702 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 712 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 734 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 756 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 778 drivers/hwmon/adm1031.c int nr = to_sensor_dev_attr(attr)->index; index 824 drivers/hwmon/adm1031.c int bitnr = to_sensor_dev_attr(attr)->index; index 264 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", data->temp_max[attr->index] * 1000); index 281 drivers/hwmon/adm9240.c data->temp_max[attr->index] = TEMP_TO_REG(val); index 282 drivers/hwmon/adm9240.c i2c_smbus_write_byte_data(client, ADM9240_REG_TEMP_MAX(attr->index), index 283 drivers/hwmon/adm9240.c data->temp_max[attr->index]); index 298 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[attr->index], index 299 drivers/hwmon/adm9240.c attr->index)); index 307 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[attr->index], index 308 drivers/hwmon/adm9240.c attr->index)); index 316 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in_max[attr->index], index 317 drivers/hwmon/adm9240.c attr->index)); index 335 drivers/hwmon/adm9240.c data->in_min[attr->index] = IN_TO_REG(val, attr->index); index 336 drivers/hwmon/adm9240.c i2c_smbus_write_byte_data(client, ADM9240_REG_IN_MIN(attr->index), index 337 drivers/hwmon/adm9240.c data->in_min[attr->index]); index 357 drivers/hwmon/adm9240.c data->in_max[attr->index] = IN_TO_REG(val, attr->index); index 358 drivers/hwmon/adm9240.c i2c_smbus_write_byte_data(client, ADM9240_REG_IN_MAX(attr->index), index 359 drivers/hwmon/adm9240.c data->in_max[attr->index]); index 389 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan[attr->index], index 390 drivers/hwmon/adm9240.c 1 << data->fan_div[attr->index])); index 398 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan_min[attr->index], index 399 drivers/hwmon/adm9240.c 1 << data->fan_div[attr->index])); index 407 drivers/hwmon/adm9240.c return sprintf(buf, "%d\n", 1 << data->fan_div[attr->index]); index 428 drivers/hwmon/adm9240.c int nr = attr->index; index 500 drivers/hwmon/adm9240.c int bitnr = to_sensor_dev_attr(attr)->index; index 57 drivers/hwmon/ads7828.c u8 cmd = ads7828_cmd_byte(data->cmd_byte, attr->index); index 100 drivers/hwmon/ads7871.c channel = attr->index; index 170 drivers/hwmon/adt7411.c int ret = i2c_smbus_read_byte_data(client, attr2->index); index 189 drivers/hwmon/adt7411.c ret = adt7411_modify_bit(client, s_attr2->index, s_attr2->nr, flag); index 784 drivers/hwmon/adt7462.c if (!temp_enabled(data, attr->index)) index 787 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", 1000 * (data->temp_min[attr->index] - 64)); index 799 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) index 806 drivers/hwmon/adt7462.c data->temp_min[attr->index] = temp; index 807 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_TEMP_MIN_REG(attr->index), index 820 drivers/hwmon/adt7462.c if (!temp_enabled(data, attr->index)) index 823 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", 1000 * (data->temp_max[attr->index] - 64)); index 835 drivers/hwmon/adt7462.c if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) index 842 drivers/hwmon/adt7462.c data->temp_max[attr->index] = temp; index 843 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_TEMP_MAX_REG(attr->index), index 855 drivers/hwmon/adt7462.c u8 frac = data->temp_frac[attr->index] >> TEMP_FRAC_OFFSET; index 857 drivers/hwmon/adt7462.c if (!temp_enabled(data, attr->index)) index 860 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", 1000 * (data->temp[attr->index] - 64) + index 870 drivers/hwmon/adt7462.c return sprintf(buf, "%s\n", temp_label(data, attr->index)); index 878 drivers/hwmon/adt7462.c int x = voltage_multiplier(data, attr->index); index 880 drivers/hwmon/adt7462.c x *= data->volt_max[attr->index]; index 893 drivers/hwmon/adt7462.c int x = voltage_multiplier(data, attr->index); index 904 drivers/hwmon/adt7462.c data->volt_max[attr->index] = temp; index 906 drivers/hwmon/adt7462.c ADT7462_REG_VOLT_MAX(data, attr->index), index 918 drivers/hwmon/adt7462.c int x = voltage_multiplier(data, attr->index); index 920 drivers/hwmon/adt7462.c x *= data->volt_min[attr->index]; index 933 drivers/hwmon/adt7462.c int x = voltage_multiplier(data, attr->index); index 944 drivers/hwmon/adt7462.c data->volt_min[attr->index] = temp; index 946 drivers/hwmon/adt7462.c ADT7462_REG_VOLT_MIN(data, attr->index), index 958 drivers/hwmon/adt7462.c int x = voltage_multiplier(data, attr->index); index 960 drivers/hwmon/adt7462.c x *= data->voltages[attr->index]; index 972 drivers/hwmon/adt7462.c return sprintf(buf, "%s\n", voltage_label(data, attr->index)); index 980 drivers/hwmon/adt7462.c int reg = attr->index >> ADT7462_ALARM_REG_SHIFT; index 981 drivers/hwmon/adt7462.c int mask = attr->index & ADT7462_ALARM_FLAG_MASK; index 1002 drivers/hwmon/adt7462.c temp = data->fan_min[attr->index]; index 1005 drivers/hwmon/adt7462.c if (!fan_enabled(data, attr->index) || index 1022 drivers/hwmon/adt7462.c !fan_enabled(data, attr->index)) index 1030 drivers/hwmon/adt7462.c data->fan_min[attr->index] = temp; index 1031 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_FAN_MIN(attr->index), index 1044 drivers/hwmon/adt7462.c if (!fan_enabled(data, attr->index) || index 1045 drivers/hwmon/adt7462.c !FAN_DATA_VALID(data->fan[attr->index])) index 1049 drivers/hwmon/adt7462.c FAN_PERIOD_TO_RPM(data->fan[attr->index])); index 1089 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", data->pwm[attr->index]); index 1106 drivers/hwmon/adt7462.c data->pwm[attr->index] = temp; index 1107 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM(attr->index), temp); index 1146 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", data->pwm_min[attr->index]); index 1164 drivers/hwmon/adt7462.c data->pwm_min[attr->index] = temp; index 1165 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_MIN(attr->index), index 1178 drivers/hwmon/adt7462.c (data->pwm_trange[attr->index] & ADT7462_PWM_HYST_MASK)); index 1198 drivers/hwmon/adt7462.c temp |= data->pwm_trange[attr->index] & ADT7462_PWM_RANGE_MASK; index 1201 drivers/hwmon/adt7462.c data->pwm_trange[attr->index] = temp; index 1202 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_TRANGE(attr->index), index 1216 drivers/hwmon/adt7462.c int trange = trange_values[data->pwm_trange[attr->index] >> index 1218 drivers/hwmon/adt7462.c int tmin = (data->pwm_tmin[attr->index] - 64) * 1000; index 1238 drivers/hwmon/adt7462.c tmin = (data->pwm_tmin[attr->index] - 64) * 1000; index 1244 drivers/hwmon/adt7462.c temp |= data->pwm_trange[attr->index] & ADT7462_PWM_HYST_MASK; index 1247 drivers/hwmon/adt7462.c data->pwm_trange[attr->index] = temp; index 1248 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_TRANGE(attr->index), index 1260 drivers/hwmon/adt7462.c return sprintf(buf, "%d\n", 1000 * (data->pwm_tmin[attr->index] - 64)); index 1279 drivers/hwmon/adt7462.c data->pwm_tmin[attr->index] = temp; index 1280 drivers/hwmon/adt7462.c i2c_smbus_write_byte_data(client, ADT7462_REG_PWM_TMIN(attr->index), index 1292 drivers/hwmon/adt7462.c int cfg = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; index 1332 drivers/hwmon/adt7462.c set_pwm_channel(client, data, attr->index, 4); index 1335 drivers/hwmon/adt7462.c set_pwm_channel(client, data, attr->index, 7); index 1347 drivers/hwmon/adt7462.c int channel = data->pwm_cfg[attr->index] >> ADT7462_PWM_CHANNEL_SHIFT; index 1391 drivers/hwmon/adt7462.c set_pwm_channel(client, data, attr->index, temp); index 454 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", 1000 * data->temp_min[attr->index]); index 473 drivers/hwmon/adt7470.c data->temp_min[attr->index] = temp; index 474 drivers/hwmon/adt7470.c i2c_smbus_write_byte_data(client, ADT7470_TEMP_MIN_REG(attr->index), index 486 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", 1000 * data->temp_max[attr->index]); index 505 drivers/hwmon/adt7470.c data->temp_max[attr->index] = temp; index 506 drivers/hwmon/adt7470.c i2c_smbus_write_byte_data(client, ADT7470_TEMP_MAX_REG(attr->index), index 518 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", 1000 * data->temp[attr->index]); index 557 drivers/hwmon/adt7470.c if (FAN_DATA_VALID(data->fan_max[attr->index])) index 559 drivers/hwmon/adt7470.c FAN_PERIOD_TO_RPM(data->fan_max[attr->index])); index 580 drivers/hwmon/adt7470.c data->fan_max[attr->index] = temp; index 581 drivers/hwmon/adt7470.c adt7470_write_word_data(client, ADT7470_REG_FAN_MAX(attr->index), temp); index 593 drivers/hwmon/adt7470.c if (FAN_DATA_VALID(data->fan_min[attr->index])) index 595 drivers/hwmon/adt7470.c FAN_PERIOD_TO_RPM(data->fan_min[attr->index])); index 616 drivers/hwmon/adt7470.c data->fan_min[attr->index] = temp; index 617 drivers/hwmon/adt7470.c adt7470_write_word_data(client, ADT7470_REG_FAN_MIN(attr->index), temp); index 629 drivers/hwmon/adt7470.c if (FAN_DATA_VALID(data->fan[attr->index])) index 631 drivers/hwmon/adt7470.c FAN_PERIOD_TO_RPM(data->fan[attr->index])); index 673 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", data->pwm[attr->index]); index 690 drivers/hwmon/adt7470.c data->pwm[attr->index] = temp; index 691 drivers/hwmon/adt7470.c i2c_smbus_write_byte_data(client, ADT7470_REG_PWM(attr->index), temp); index 708 drivers/hwmon/adt7470.c int index; index 715 drivers/hwmon/adt7470.c index = (cfg_reg_2 & ADT7470_FREQ_MASK) >> ADT7470_FREQ_SHIFT; index 717 drivers/hwmon/adt7470.c index += 8; index 718 drivers/hwmon/adt7470.c if (index >= ARRAY_SIZE(adt7470_freq_map)) index 719 drivers/hwmon/adt7470.c index = ARRAY_SIZE(adt7470_freq_map) - 1; index 721 drivers/hwmon/adt7470.c return scnprintf(buf, PAGE_SIZE, "%d\n", adt7470_freq_map[index]); index 731 drivers/hwmon/adt7470.c int index; index 739 drivers/hwmon/adt7470.c index = find_closest(freq, adt7470_freq_map, index 742 drivers/hwmon/adt7470.c if (index >= 8) { index 743 drivers/hwmon/adt7470.c index -= 8; index 755 drivers/hwmon/adt7470.c (val & ~ADT7470_FREQ_MASK) | (index << ADT7470_FREQ_SHIFT)); index 766 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", data->pwm_max[attr->index]); index 784 drivers/hwmon/adt7470.c data->pwm_max[attr->index] = temp; index 785 drivers/hwmon/adt7470.c i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_MAX(attr->index), index 797 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", data->pwm_min[attr->index]); index 815 drivers/hwmon/adt7470.c data->pwm_min[attr->index] = temp; index 816 drivers/hwmon/adt7470.c i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_MIN(attr->index), index 829 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", 1000 * (20 + data->pwm_tmin[attr->index])); index 837 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", 1000 * data->pwm_tmin[attr->index]); index 856 drivers/hwmon/adt7470.c data->pwm_tmin[attr->index] = temp; index 857 drivers/hwmon/adt7470.c i2c_smbus_write_byte_data(client, ADT7470_REG_PWM_TMIN(attr->index), index 869 drivers/hwmon/adt7470.c return sprintf(buf, "%d\n", 1 + data->pwm_automatic[attr->index]); index 879 drivers/hwmon/adt7470.c int pwm_auto_reg = ADT7470_REG_PWM_CFG(attr->index); index 887 drivers/hwmon/adt7470.c if (attr->index % 2) index 897 drivers/hwmon/adt7470.c data->pwm_automatic[attr->index] = temp; index 914 drivers/hwmon/adt7470.c u8 ctrl = data->pwm_auto_temp[attr->index]; index 938 drivers/hwmon/adt7470.c int pwm_auto_reg = ADT7470_REG_PWM_AUTO_TEMP(attr->index); index 950 drivers/hwmon/adt7470.c data->pwm_automatic[attr->index] = temp; index 953 drivers/hwmon/adt7470.c if (!(attr->index % 2)) { index 973 drivers/hwmon/adt7470.c if (data->alarm & attr->index) index 221 drivers/hwmon/adt7475.c static void adt7475_read_pwm(struct i2c_client *client, int index); index 337 drivers/hwmon/adt7475.c (data->alarms >> sattr->index) & 1); index 339 drivers/hwmon/adt7475.c val = data->voltage[sattr->nr][sattr->index]; index 341 drivers/hwmon/adt7475.c reg2volt(sattr->index, val, data->bypass_attn)); index 361 drivers/hwmon/adt7475.c data->voltage[sattr->nr][sattr->index] = index 362 drivers/hwmon/adt7475.c volt2reg(sattr->index, val, data->bypass_attn); index 364 drivers/hwmon/adt7475.c if (sattr->index < ADT7475_VOLTAGE_COUNT) { index 366 drivers/hwmon/adt7475.c reg = VOLTAGE_MIN_REG(sattr->index); index 368 drivers/hwmon/adt7475.c reg = VOLTAGE_MAX_REG(sattr->index); index 377 drivers/hwmon/adt7475.c data->voltage[sattr->nr][sattr->index] >> 2); index 396 drivers/hwmon/adt7475.c out = data->temp[sattr->nr][sattr->index]; index 397 drivers/hwmon/adt7475.c if (sattr->index != 1) index 405 drivers/hwmon/adt7475.c out = reg2temp(data, data->temp[THERM][sattr->index]) - index 416 drivers/hwmon/adt7475.c out = (s8)data->temp[sattr->nr][sattr->index]; index 425 drivers/hwmon/adt7475.c out = (data->alarms >> (sattr->index + 4)) & 1; index 430 drivers/hwmon/adt7475.c out = !!(data->alarms & (sattr->index ? 0x8000 : 0x4000)); index 435 drivers/hwmon/adt7475.c out = reg2temp(data, data->temp[sattr->nr][sattr->index]); index 464 drivers/hwmon/adt7475.c out = data->temp[OFFSET][sattr->index] = val / 1000; index 467 drivers/hwmon/adt7475.c out = data->temp[OFFSET][sattr->index] = val / 500; index 478 drivers/hwmon/adt7475.c data->temp[THERM][sattr->index] = index 479 drivers/hwmon/adt7475.c adt7475_read(TEMP_THERM_REG(sattr->index)) << 2; index 482 drivers/hwmon/adt7475.c temp = reg2temp(data, data->temp[THERM][sattr->index]); index 486 drivers/hwmon/adt7475.c if (sattr->index != 1) { index 487 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] &= 0xF0; index 488 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] |= (val & 0xF) << 4; index 490 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] &= 0x0F; index 491 drivers/hwmon/adt7475.c data->temp[HYSTERSIS][sattr->index] |= (val & 0xF); index 494 drivers/hwmon/adt7475.c out = data->temp[HYSTERSIS][sattr->index]; index 498 drivers/hwmon/adt7475.c data->temp[sattr->nr][sattr->index] = temp2reg(data, val); index 504 drivers/hwmon/adt7475.c out = (u8) (data->temp[sattr->nr][sattr->index] >> 2); index 509 drivers/hwmon/adt7475.c reg = TEMP_MIN_REG(sattr->index); index 512 drivers/hwmon/adt7475.c reg = TEMP_MAX_REG(sattr->index); index 515 drivers/hwmon/adt7475.c reg = TEMP_OFFSET_REG(sattr->index); index 518 drivers/hwmon/adt7475.c reg = TEMP_TMIN_REG(sattr->index); index 521 drivers/hwmon/adt7475.c reg = TEMP_THERM_REG(sattr->index); index 524 drivers/hwmon/adt7475.c if (sattr->index != 2) index 550 drivers/hwmon/adt7475.c switch (sattr->index) { index 583 drivers/hwmon/adt7475.c switch (sattr->index) { index 641 drivers/hwmon/adt7475.c out = (data->range[sattr->index] >> 4) & 0x0F; index 642 drivers/hwmon/adt7475.c val = reg2temp(data, data->temp[AUTOMIN][sattr->index]); index 664 drivers/hwmon/adt7475.c data->temp[AUTOMIN][sattr->index] = index 665 drivers/hwmon/adt7475.c adt7475_read(TEMP_TMIN_REG(sattr->index)) << 2; index 666 drivers/hwmon/adt7475.c data->range[sattr->index] = index 667 drivers/hwmon/adt7475.c adt7475_read(TEMP_TRANGE_REG(sattr->index)); index 673 drivers/hwmon/adt7475.c temp = reg2temp(data, data->temp[AUTOMIN][sattr->index]); index 681 drivers/hwmon/adt7475.c data->range[sattr->index] &= ~0xF0; index 682 drivers/hwmon/adt7475.c data->range[sattr->index] |= val << 4; index 684 drivers/hwmon/adt7475.c i2c_smbus_write_byte_data(client, TEMP_TRANGE_REG(sattr->index), index 685 drivers/hwmon/adt7475.c data->range[sattr->index]); index 702 drivers/hwmon/adt7475.c out = (data->alarms >> (sattr->index + 10)) & 1; index 704 drivers/hwmon/adt7475.c out = tach2rpm(data->tach[sattr->nr][sattr->index]); index 723 drivers/hwmon/adt7475.c data->tach[MIN][sattr->index] = rpm2tach(val); index 725 drivers/hwmon/adt7475.c adt7475_write_word(client, TACH_MIN_REG(sattr->index), index 726 drivers/hwmon/adt7475.c data->tach[MIN][sattr->index]); index 741 drivers/hwmon/adt7475.c return sprintf(buf, "%d\n", data->pwm[sattr->nr][sattr->index]); index 753 drivers/hwmon/adt7475.c return sprintf(buf, "%d\n", data->pwmchan[sattr->index]); index 765 drivers/hwmon/adt7475.c return sprintf(buf, "%d\n", data->pwmctl[sattr->index]); index 786 drivers/hwmon/adt7475.c data->pwm[CONTROL][sattr->index] = index 787 drivers/hwmon/adt7475.c adt7475_read(PWM_CONFIG_REG(sattr->index)); index 793 drivers/hwmon/adt7475.c if (((data->pwm[CONTROL][sattr->index] >> 5) & 7) != 7) { index 798 drivers/hwmon/adt7475.c reg = PWM_REG(sattr->index); index 802 drivers/hwmon/adt7475.c reg = PWM_MIN_REG(sattr->index); index 806 drivers/hwmon/adt7475.c reg = PWM_MAX_REG(sattr->index); index 810 drivers/hwmon/adt7475.c data->pwm[sattr->nr][sattr->index] = clamp_val(val, 0, 0xFF); index 812 drivers/hwmon/adt7475.c data->pwm[sattr->nr][sattr->index]); index 824 drivers/hwmon/adt7475.c u8 mask = BIT(5 + sattr->index); index 837 drivers/hwmon/adt7475.c u8 mask = BIT(5 + sattr->index); index 858 drivers/hwmon/adt7475.c static int hw_set_pwm(struct i2c_client *client, int index, index 901 drivers/hwmon/adt7475.c data->pwmctl[index] = pwmctl; index 902 drivers/hwmon/adt7475.c data->pwmchan[index] = pwmchan; index 904 drivers/hwmon/adt7475.c data->pwm[CONTROL][index] &= ~0xE0; index 905 drivers/hwmon/adt7475.c data->pwm[CONTROL][index] |= (val & 7) << 5; index 907 drivers/hwmon/adt7475.c i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index), index 908 drivers/hwmon/adt7475.c data->pwm[CONTROL][index]); index 928 drivers/hwmon/adt7475.c adt7475_read_pwm(client, sattr->index); index 929 drivers/hwmon/adt7475.c r = hw_set_pwm(client, sattr->index, data->pwmctl[sattr->index], val); index 952 drivers/hwmon/adt7475.c adt7475_read_pwm(client, sattr->index); index 953 drivers/hwmon/adt7475.c r = hw_set_pwm(client, sattr->index, val, data->pwmchan[sattr->index]); index 975 drivers/hwmon/adt7475.c idx = clamp_val(data->range[sattr->index] & 0xf, 0, index 998 drivers/hwmon/adt7475.c data->range[sattr->index] = index 999 drivers/hwmon/adt7475.c adt7475_read(TEMP_TRANGE_REG(sattr->index)); index 1000 drivers/hwmon/adt7475.c data->range[sattr->index] &= ~0xf; index 1001 drivers/hwmon/adt7475.c data->range[sattr->index] |= out; index 1003 drivers/hwmon/adt7475.c i2c_smbus_write_byte_data(client, TEMP_TRANGE_REG(sattr->index), index 1004 drivers/hwmon/adt7475.c data->range[sattr->index]); index 1657 drivers/hwmon/adt7475.c static void adt7475_read_pwm(struct i2c_client *client, int index) index 1662 drivers/hwmon/adt7475.c data->pwm[CONTROL][index] = adt7475_read(PWM_CONFIG_REG(index)); index 1668 drivers/hwmon/adt7475.c v = (data->pwm[CONTROL][index] >> 5) & 7; index 1671 drivers/hwmon/adt7475.c data->pwmctl[index] = 0; index 1673 drivers/hwmon/adt7475.c data->pwmctl[index] = 1; index 1680 drivers/hwmon/adt7475.c data->pwm[INPUT][index] = 0; index 1681 drivers/hwmon/adt7475.c data->pwm[CONTROL][index] &= ~0xE0; index 1682 drivers/hwmon/adt7475.c data->pwm[CONTROL][index] |= (7 << 5); index 1684 drivers/hwmon/adt7475.c i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index), index 1685 drivers/hwmon/adt7475.c data->pwm[INPUT][index]); index 1687 drivers/hwmon/adt7475.c i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index), index 1688 drivers/hwmon/adt7475.c data->pwm[CONTROL][index]); index 1690 drivers/hwmon/adt7475.c data->pwmctl[index] = 1; index 1692 drivers/hwmon/adt7475.c data->pwmctl[index] = 2; index 1696 drivers/hwmon/adt7475.c data->pwmchan[index] = 1; index 1699 drivers/hwmon/adt7475.c data->pwmchan[index] = 2; index 1702 drivers/hwmon/adt7475.c data->pwmchan[index] = 4; index 1705 drivers/hwmon/adt7475.c data->pwmchan[index] = 6; index 1708 drivers/hwmon/adt7475.c data->pwmchan[index] = 7; index 227 drivers/hwmon/adt7x10.c if (attr->index == 0) { index 236 drivers/hwmon/adt7x10.c data->temp[attr->index])); index 245 drivers/hwmon/adt7x10.c int nr = attr->index; index 267 drivers/hwmon/adt7x10.c int nr = attr->index; index 315 drivers/hwmon/adt7x10.c return sprintf(buf, "%d\n", !!(ret & attr->index)); index 271 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr(devattr)->index; index 281 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr(attr)->index; index 303 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr(devattr)->index; index 436 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr_2(devattr)->index; index 456 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr(devattr)->index; index 489 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr_2(attr)->index; index 596 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr(devattr)->index; index 618 drivers/hwmon/amc6821.c int ix = to_sensor_dev_attr(attr)->index; index 90 drivers/hwmon/applesmc.c #define to_index(attr) (to_sensor_dev_attr(attr)->index & 0xffff) index 91 drivers/hwmon/applesmc.c #define to_option(attr) (to_sensor_dev_attr(attr)->index >> 16) index 131 drivers/hwmon/applesmc.c const char **index; /* temperature key index */ index 328 drivers/hwmon/applesmc.c static const struct applesmc_entry *applesmc_get_entry_by_index(int index) index 330 drivers/hwmon/applesmc.c struct applesmc_entry *cache = &smcreg.cache[index]; index 342 drivers/hwmon/applesmc.c be = cpu_to_be32(index); index 503 drivers/hwmon/applesmc.c if (s->index) index 506 drivers/hwmon/applesmc.c s->index = kcalloc(s->temp_count, sizeof(s->index[0]), GFP_KERNEL); index 507 drivers/hwmon/applesmc.c if (!s->index) index 516 drivers/hwmon/applesmc.c s->index[s->index_count++] = entry->key; index 599 drivers/hwmon/applesmc.c kfree(smcreg.index); index 600 drivers/hwmon/applesmc.c smcreg.index = NULL; index 773 drivers/hwmon/applesmc.c const char *key = smcreg.index[to_index(devattr)]; index 782 drivers/hwmon/applesmc.c const char *key = smcreg.index[to_index(devattr)]; index 1113 drivers/hwmon/applesmc.c node->sda.index = (grp->option << 16) | (i & 0xffff); index 239 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; \ index 252 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; \ index 290 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; index 299 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; index 308 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; index 316 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; index 342 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; index 421 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; \ index 434 drivers/hwmon/asb100.c int nr = to_sensor_dev_attr(attr)->index; \ index 523 drivers/hwmon/asb100.c int bitnr = to_sensor_dev_attr(attr)->index; index 299 drivers/hwmon/asc7621.c u8 nr = sda->index; index 316 drivers/hwmon/asc7621.c u8 nr = sda->index; index 328 drivers/hwmon/asc7621.c u8 nr = sda->index; index 480 drivers/hwmon/aspeed-pwm-tacho.c u8 index, u8 fan_ctrl) index 484 drivers/hwmon/aspeed-pwm-tacho.c period = priv->type_pwm_clock_unit[priv->pwm_port_type[index]]; index 489 drivers/hwmon/aspeed-pwm-tacho.c aspeed_set_pwm_port_enable(priv->regmap, index, false); index 494 drivers/hwmon/aspeed-pwm-tacho.c aspeed_set_pwm_port_duty_rising_falling(priv->regmap, index, 0, index 496 drivers/hwmon/aspeed-pwm-tacho.c aspeed_set_pwm_port_enable(priv->regmap, index, true); index 574 drivers/hwmon/aspeed-pwm-tacho.c int index = sensor_attr->index; index 586 drivers/hwmon/aspeed-pwm-tacho.c if (priv->pwm_port_fan_ctrl[index] == fan_ctrl) index 589 drivers/hwmon/aspeed-pwm-tacho.c priv->pwm_port_fan_ctrl[index] = fan_ctrl; index 590 drivers/hwmon/aspeed-pwm-tacho.c aspeed_set_pwm_port_fan_ctrl(priv, index, fan_ctrl); index 599 drivers/hwmon/aspeed-pwm-tacho.c int index = sensor_attr->index; index 602 drivers/hwmon/aspeed-pwm-tacho.c return sprintf(buf, "%u\n", priv->pwm_port_fan_ctrl[index]); index 609 drivers/hwmon/aspeed-pwm-tacho.c int index = sensor_attr->index; index 613 drivers/hwmon/aspeed-pwm-tacho.c rpm = aspeed_get_fan_tach_ch_rpm(priv, index); index 621 drivers/hwmon/aspeed-pwm-tacho.c struct attribute *a, int index) index 626 drivers/hwmon/aspeed-pwm-tacho.c if (!priv->pwm_present[index]) index 632 drivers/hwmon/aspeed-pwm-tacho.c struct attribute *a, int index) index 637 drivers/hwmon/aspeed-pwm-tacho.c if (!priv->fan_tach_present[index]) index 746 drivers/hwmon/aspeed-pwm-tacho.c u8 val, index; index 749 drivers/hwmon/aspeed-pwm-tacho.c index = fan_tach_ch[val]; index 750 drivers/hwmon/aspeed-pwm-tacho.c aspeed_set_fan_tach_ch_enable(priv->regmap, index, true); index 751 drivers/hwmon/aspeed-pwm-tacho.c priv->fan_tach_present[index] = true; index 752 drivers/hwmon/aspeed-pwm-tacho.c priv->fan_tach_ch_source[index] = pwm_source; index 753 drivers/hwmon/aspeed-pwm-tacho.c aspeed_set_fan_tach_ch_source(priv->regmap, index, pwm_source); index 109 drivers/hwmon/coretemp.c struct temp_data *tdata = pdata->core_data[attr->index]; index 123 drivers/hwmon/coretemp.c struct temp_data *tdata = pdata->core_data[attr->index]; index 138 drivers/hwmon/coretemp.c return sprintf(buf, "%d\n", pdata->core_data[attr->index]->tjmax); index 147 drivers/hwmon/coretemp.c return sprintf(buf, "%d\n", pdata->core_data[attr->index]->ttarget); index 156 drivers/hwmon/coretemp.c struct temp_data *tdata = pdata->core_data[attr->index]; index 399 drivers/hwmon/coretemp.c tdata->sd_attrs[i].index = attr_no; index 157 drivers/hwmon/da9052-hwmon.c int channel = to_sensor_dev_attr(devattr)->index; index 244 drivers/hwmon/da9052-hwmon.c int channel = to_sensor_dev_attr(devattr)->index; index 296 drivers/hwmon/da9052-hwmon.c input_names[to_sensor_dev_attr(devattr)->index]); index 300 drivers/hwmon/da9052-hwmon.c struct attribute *attr, int index) index 309 drivers/hwmon/da9052-hwmon.c switch (sattr->index) { index 144 drivers/hwmon/da9055-hwmon.c int channel = to_sensor_dev_attr(devattr)->index; index 202 drivers/hwmon/da9055-hwmon.c input_names[to_sensor_dev_attr(devattr)->index]); index 630 drivers/hwmon/dell-smm-hwmon.c int index = to_sensor_dev_attr(devattr)->index; index 633 drivers/hwmon/dell-smm-hwmon.c type = i8k_get_temp_type(index); index 645 drivers/hwmon/dell-smm-hwmon.c int index = to_sensor_dev_attr(devattr)->index; index 648 drivers/hwmon/dell-smm-hwmon.c temp = i8k_get_temp(index); index 666 drivers/hwmon/dell-smm-hwmon.c int index = to_sensor_dev_attr(devattr)->index; index 670 drivers/hwmon/dell-smm-hwmon.c type = i8k_get_fan_type(index); index 688 drivers/hwmon/dell-smm-hwmon.c int index = to_sensor_dev_attr(devattr)->index; index 691 drivers/hwmon/dell-smm-hwmon.c fan_speed = i8k_get_fan_speed(index); index 700 drivers/hwmon/dell-smm-hwmon.c int index = to_sensor_dev_attr(devattr)->index; index 703 drivers/hwmon/dell-smm-hwmon.c status = i8k_get_fan_status(index); index 713 drivers/hwmon/dell-smm-hwmon.c int index = to_sensor_dev_attr(attr)->index; index 723 drivers/hwmon/dell-smm-hwmon.c err = i8k_set_fan(index, val); index 793 drivers/hwmon/dell-smm-hwmon.c int index) index 795 drivers/hwmon/dell-smm-hwmon.c if (disallow_fan_support && index >= 8) index 798 drivers/hwmon/dell-smm-hwmon.c (index == 9 || index == 12 || index == 15)) index 800 drivers/hwmon/dell-smm-hwmon.c if (index >= 0 && index <= 1 && index 803 drivers/hwmon/dell-smm-hwmon.c if (index >= 2 && index <= 3 && index 806 drivers/hwmon/dell-smm-hwmon.c if (index >= 4 && index <= 5 && index 809 drivers/hwmon/dell-smm-hwmon.c if (index >= 6 && index <= 7 && index 812 drivers/hwmon/dell-smm-hwmon.c if (index >= 8 && index <= 9 && index 815 drivers/hwmon/dell-smm-hwmon.c if (index >= 10 && index <= 11 && index 818 drivers/hwmon/dell-smm-hwmon.c if (index >= 12 && index <= 13 && index 821 drivers/hwmon/dell-smm-hwmon.c if (index >= 14 && index <= 15 && index 824 drivers/hwmon/dell-smm-hwmon.c if (index >= 16 && index <= 17 && index 827 drivers/hwmon/dell-smm-hwmon.c if (index >= 18 && index <= 19 && index 831 drivers/hwmon/dell-smm-hwmon.c if (index >= 20 && index <= 22 && index 834 drivers/hwmon/dell-smm-hwmon.c if (index >= 23 && index <= 25 && index 837 drivers/hwmon/dell-smm-hwmon.c if (index >= 26 && index <= 28 && index 805 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 836 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 883 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 920 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 971 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 1012 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 1086 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 1126 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 1202 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 1265 drivers/hwmon/dme1737.c int ix = sensor_attr_2->index; index 230 drivers/hwmon/ds1621.c DS1621_TEMP_FROM_REG(data->temp[attr->index])); index 246 drivers/hwmon/ds1621.c data->temp[attr->index] = DS1621_TEMP_TO_REG(val, data->zbits); index 247 drivers/hwmon/ds1621.c i2c_smbus_write_word_swapped(data->client, DS1621_REG_TEMP[attr->index], index 248 drivers/hwmon/ds1621.c data->temp[attr->index]); index 265 drivers/hwmon/ds1621.c return sprintf(buf, "%d\n", !!(data->conf & attr->index)); index 327 drivers/hwmon/ds1621.c struct attribute *attr, int index) index 138 drivers/hwmon/ds620.c return sprintf(buf, "%d\n", ((data->temp[attr->index] / 8) * 625) / 10); index 159 drivers/hwmon/ds620.c data->temp[attr->index] = val; index 160 drivers/hwmon/ds620.c i2c_smbus_write_word_swapped(client, DS620_REG_TEMP[attr->index], index 161 drivers/hwmon/ds620.c data->temp[attr->index]); index 186 drivers/hwmon/ds620.c new_conf &= ~attr->index; index 194 drivers/hwmon/ds620.c return sprintf(buf, "%d\n", !!(conf & attr->index)); index 43 drivers/hwmon/emc1403.c retval = regmap_read(data->regmap, sda->index, &val); index 60 drivers/hwmon/emc1403.c return sprintf(buf, "%d\n", !!(val & sda->index)); index 73 drivers/hwmon/emc1403.c retval = regmap_write(data->regmap, sda->index, index 91 drivers/hwmon/emc1403.c retval = regmap_update_bits(data->regmap, sda->nr, sda->index, index 92 drivers/hwmon/emc1403.c val ? sda->index : 0); index 109 drivers/hwmon/emc1403.c retval = regmap_read(regmap, sda->index, &limit); index 147 drivers/hwmon/emc1403.c retval = regmap_read(regmap, sda->index, &limit); index 177 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 187 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 196 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 205 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 215 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 225 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 234 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 256 drivers/hwmon/emc2103.c int nr = to_sensor_dev_attr(da)->index; index 183 drivers/hwmon/emc6w201.c int sf = to_sensor_dev_attr_2(devattr)->index; index 195 drivers/hwmon/emc6w201.c int sf = to_sensor_dev_attr_2(devattr)->index; index 222 drivers/hwmon/emc6w201.c int sf = to_sensor_dev_attr_2(devattr)->index; index 234 drivers/hwmon/emc6w201.c int sf = to_sensor_dev_attr_2(devattr)->index; index 261 drivers/hwmon/emc6w201.c int sf = to_sensor_dev_attr_2(devattr)->index; index 278 drivers/hwmon/emc6w201.c int sf = to_sensor_dev_attr_2(devattr)->index; index 424 drivers/hwmon/f71805f.c int nr = attr->index; index 434 drivers/hwmon/f71805f.c int nr = attr->index; index 444 drivers/hwmon/f71805f.c int nr = attr->index; index 454 drivers/hwmon/f71805f.c int nr = attr->index; index 475 drivers/hwmon/f71805f.c int nr = attr->index; index 496 drivers/hwmon/f71805f.c int nr = attr->index; index 506 drivers/hwmon/f71805f.c int nr = attr->index; index 516 drivers/hwmon/f71805f.c int nr = attr->index; index 526 drivers/hwmon/f71805f.c int nr = attr->index; index 547 drivers/hwmon/f71805f.c int nr = attr->index; index 568 drivers/hwmon/f71805f.c int nr = attr->index; index 578 drivers/hwmon/f71805f.c int nr = attr->index; index 588 drivers/hwmon/f71805f.c int nr = attr->index; index 598 drivers/hwmon/f71805f.c int nr = attr->index; index 619 drivers/hwmon/f71805f.c int nr = attr->index; index 641 drivers/hwmon/f71805f.c int nr = attr->index; index 651 drivers/hwmon/f71805f.c int nr = attr->index; index 673 drivers/hwmon/f71805f.c int nr = attr->index; index 683 drivers/hwmon/f71805f.c int nr = attr->index; index 693 drivers/hwmon/f71805f.c int nr = attr->index; index 719 drivers/hwmon/f71805f.c int nr = attr->index; index 769 drivers/hwmon/f71805f.c int nr = attr->index; index 792 drivers/hwmon/f71805f.c int apnr = attr->index; index 805 drivers/hwmon/f71805f.c int apnr = attr->index; index 829 drivers/hwmon/f71805f.c int apnr = attr->index; index 842 drivers/hwmon/f71805f.c int apnr = attr->index; index 864 drivers/hwmon/f71805f.c int nr = attr->index; index 874 drivers/hwmon/f71805f.c int nr = attr->index; index 884 drivers/hwmon/f71805f.c int nr = attr->index; index 894 drivers/hwmon/f71805f.c int nr = attr->index; index 905 drivers/hwmon/f71805f.c int nr = attr->index; index 926 drivers/hwmon/f71805f.c int nr = attr->index; index 971 drivers/hwmon/f71805f.c int bitnr = attr->index; index 1375 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1388 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1398 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1420 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1432 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1456 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1468 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1510 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1522 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1553 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1565 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1590 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1599 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1621 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1639 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1674 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1683 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1705 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1723 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1732 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1744 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1768 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1780 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1792 drivers/hwmon/f71882fg.c int val, nr = to_sensor_dev_attr_2(devattr)->index; index 1811 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1851 drivers/hwmon/f71882fg.c int val, nr = to_sensor_dev_attr_2(devattr)->index; index 1862 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1884 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 1909 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 1967 drivers/hwmon/f71882fg.c int pwm = to_sensor_dev_attr_2(devattr)->index; index 1988 drivers/hwmon/f71882fg.c int err, pwm = to_sensor_dev_attr_2(devattr)->index; index 2022 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 2041 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 2077 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 2089 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 2116 drivers/hwmon/f71882fg.c int nr = to_sensor_dev_attr_2(devattr)->index; index 2129 drivers/hwmon/f71882fg.c int err, nr = to_sensor_dev_attr_2(devattr)->index; index 2167 drivers/hwmon/f71882fg.c int pwm = to_sensor_dev_attr_2(devattr)->index; index 2179 drivers/hwmon/f71882fg.c int err, pwm = to_sensor_dev_attr_2(devattr)->index; index 288 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 308 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 333 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 357 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 429 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 448 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 492 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 500 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 511 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 519 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 527 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 535 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 556 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 580 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 588 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 596 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 604 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 625 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index; index 648 drivers/hwmon/f75375s.c int nr = to_sensor_dev_attr(attr)->index;\ index 325 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 329 drivers/hwmon/fschmd.c return sprintf(buf, "%d\n", (data->volt[index] * dmi_vref * index 330 drivers/hwmon/fschmd.c dmi_mult[index]) / 255 + dmi_offset[index]); index 332 drivers/hwmon/fschmd.c return sprintf(buf, "%d\n", (data->volt[index] * index 333 drivers/hwmon/fschmd.c max_reading[index] + 128) / 255); index 342 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 345 drivers/hwmon/fschmd.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_act[index])); index 351 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 354 drivers/hwmon/fschmd.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[index])); index 361 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 374 drivers/hwmon/fschmd.c FSCHMD_REG_TEMP_LIMIT[data->kind][index], v); index 375 drivers/hwmon/fschmd.c data->temp_max[index] = v; index 384 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 388 drivers/hwmon/fschmd.c if (data->temp_status[index] & FSCHMD_TEMP_WORKING) index 397 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 400 drivers/hwmon/fschmd.c if ((data->temp_status[index] & FSCHMD_TEMP_ALARM_MASK) == index 413 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 416 drivers/hwmon/fschmd.c return sprintf(buf, "%u\n", RPM_FROM_REG(data->fan_act[index])); index 422 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 426 drivers/hwmon/fschmd.c return sprintf(buf, "%d\n", 1 << (data->fan_ripple[index] & 3)); index 434 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 464 drivers/hwmon/fschmd.c FSCHMD_REG_FAN_RIPPLE[data->kind][index]); index 471 drivers/hwmon/fschmd.c FSCHMD_REG_FAN_RIPPLE[data->kind][index], reg); index 473 drivers/hwmon/fschmd.c data->fan_ripple[index] = reg; index 483 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 486 drivers/hwmon/fschmd.c if (data->fan_status[index] & FSCHMD_FAN_ALARM) index 495 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 498 drivers/hwmon/fschmd.c if (data->fan_status[index] & FSCHMD_FAN_NOT_PRESENT) index 509 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 511 drivers/hwmon/fschmd.c int val = data->fan_min[index]; index 524 drivers/hwmon/fschmd.c int index = to_sensor_dev_attr(devattr)->index; index 542 drivers/hwmon/fschmd.c FSCHMD_REG_FAN_MIN[data->kind][index], v); index 543 drivers/hwmon/fschmd.c data->fan_min[index] = v; index 349 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 356 drivers/hwmon/ftsteutates.c return sprintf(buf, "%u\n", data->volt[index]); index 363 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 370 drivers/hwmon/ftsteutates.c return sprintf(buf, "%u\n", data->temp_input[index]); index 377 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 385 drivers/hwmon/ftsteutates.c return sprintf(buf, "%d\n", data->temp_input[index] == 0); index 392 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 399 drivers/hwmon/ftsteutates.c return sprintf(buf, "%u\n", !!(data->temp_alarm & BIT(index))); index 407 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 418 drivers/hwmon/ftsteutates.c ret = fts_read_byte(data->client, FTS_REG_TEMP_CONTROL(index)); index 422 drivers/hwmon/ftsteutates.c ret = fts_write_byte(data->client, FTS_REG_TEMP_CONTROL(index), index 438 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 445 drivers/hwmon/ftsteutates.c return sprintf(buf, "%u\n", data->fan_input[index]); index 452 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 459 drivers/hwmon/ftsteutates.c return sprintf(buf, "%u\n", data->fan_source[index]); index 466 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 473 drivers/hwmon/ftsteutates.c return sprintf(buf, "%d\n", !!(data->fan_alarm & BIT(index))); index 481 drivers/hwmon/ftsteutates.c int index = to_sensor_dev_attr(devattr)->index; index 492 drivers/hwmon/ftsteutates.c ret = fts_read_byte(data->client, FTS_REG_FAN_CONTROL(index)); index 496 drivers/hwmon/ftsteutates.c ret = fts_write_byte(data->client, FTS_REG_FAN_CONTROL(index), index 257 drivers/hwmon/gl518sm.c int nr = to_sensor_dev_attr(attr)->index; index 266 drivers/hwmon/gl518sm.c int nr = to_sensor_dev_attr(attr)->index; index 275 drivers/hwmon/gl518sm.c int nr = to_sensor_dev_attr(attr)->index; index 346 drivers/hwmon/gl518sm.c int nr = to_sensor_dev_attr(attr)->index; index 380 drivers/hwmon/gl518sm.c int nr = to_sensor_dev_attr(attr)->index; index 451 drivers/hwmon/gl518sm.c int bitnr = to_sensor_dev_attr(attr)->index; index 467 drivers/hwmon/gl518sm.c int bitnr = to_sensor_dev_attr(attr)->index; index 477 drivers/hwmon/gl518sm.c int bitnr = to_sensor_dev_attr(attr)->index; index 208 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 221 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 234 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 249 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 283 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 341 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 351 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 361 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 380 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 420 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 504 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 513 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 522 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 534 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 555 drivers/hwmon/gl520sm.c int n = to_sensor_dev_attr(attr)->index; index 652 drivers/hwmon/gl520sm.c int bit_nr = to_sensor_dev_attr(attr)->index; index 671 drivers/hwmon/gl520sm.c int bitnr = to_sensor_dev_attr(attr)->index; index 682 drivers/hwmon/gl520sm.c int bitnr = to_sensor_dev_attr(attr)->index; index 300 drivers/hwmon/gpio-fan.c struct attribute *attr, int index) index 305 drivers/hwmon/gpio-fan.c if (index == 0 && !data->alarm_gpio) index 307 drivers/hwmon/gpio-fan.c if (index > 0 && !data->gpios) index 48 drivers/hwmon/hwmon.c int index; index 63 drivers/hwmon/hwmon.c int index; /* sensor index */ index 146 drivers/hwmon/hwmon.c tdata->index, &t); index 159 drivers/hwmon/hwmon.c static int hwmon_thermal_add_sensor(struct device *dev, int index) index 169 drivers/hwmon/hwmon.c tdata->index = index; index 171 drivers/hwmon/hwmon.c tzd = devm_thermal_zone_of_sensor_register(dev, index, tdata, index 183 drivers/hwmon/hwmon.c static int hwmon_thermal_add_sensor(struct device *dev, int index) index 205 drivers/hwmon/hwmon.c ret = hattr->ops->read(dev, hattr->type, hattr->attr, hattr->index, index 210 drivers/hwmon/hwmon.c trace_hwmon_attr_show(hattr->index + hwmon_attr_base(hattr->type), index 226 drivers/hwmon/hwmon.c hattr->index, &s); index 230 drivers/hwmon/hwmon.c trace_hwmon_attr_show_string(hattr->index + hwmon_attr_base(type), index 248 drivers/hwmon/hwmon.c ret = hattr->ops->write(dev, hattr->type, hattr->attr, hattr->index, index 253 drivers/hwmon/hwmon.c trace_hwmon_attr_store(hattr->index + hwmon_attr_base(hattr->type), index 273 drivers/hwmon/hwmon.c int index, index 288 drivers/hwmon/hwmon.c mode = ops->is_visible(drvdata, type, attr, index); index 306 drivers/hwmon/hwmon.c index + hwmon_attr_base(type)); index 312 drivers/hwmon/hwmon.c hattr->index = index; index 56 drivers/hwmon/i5500_temp.c int reg = to_sensor_dev_attr(devattr)->index; index 70 drivers/hwmon/i5500_temp.c int nr = to_sensor_dev_attr(devattr)->index; index 133 drivers/hwmon/i5k_amb.c if (!(amb_read_byte(data, amb_reg_temp_status(attr->index)) & 0x20) && index 134 drivers/hwmon/i5k_amb.c (amb_read_byte(data, amb_reg_temp_status(attr->index)) & 0x8)) index 156 drivers/hwmon/i5k_amb.c amb_write_byte(data, amb_reg_temp_min(attr->index), temp); index 176 drivers/hwmon/i5k_amb.c amb_write_byte(data, amb_reg_temp_mid(attr->index), temp); index 196 drivers/hwmon/i5k_amb.c amb_write_byte(data, amb_reg_temp_max(attr->index), temp); index 207 drivers/hwmon/i5k_amb.c 500 * amb_read_byte(data, amb_reg_temp_min(attr->index))); index 217 drivers/hwmon/i5k_amb.c 500 * amb_read_byte(data, amb_reg_temp_mid(attr->index))); index 227 drivers/hwmon/i5k_amb.c 500 * amb_read_byte(data, amb_reg_temp_max(attr->index))); index 237 drivers/hwmon/i5k_amb.c 500 * amb_read_byte(data, amb_reg_temp(attr->index))); index 246 drivers/hwmon/i5k_amb.c return sprintf(buf, "Ch. %d DIMM %d\n", attr->index >> CHANNEL_SHIFT, index 247 drivers/hwmon/i5k_amb.c attr->index & DIMM_MASK); index 288 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; index 303 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; index 319 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; index 335 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; index 351 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; index 366 drivers/hwmon/i5k_amb.c iattr->s_attr.index = k; index 110 drivers/hwmon/ibmaem.c int index; index 121 drivers/hwmon/ibmaem.c int index; index 185 drivers/hwmon/ibmaem.c __be16 index; index 499 drivers/hwmon/ibmaem.c ff_req.index = 0; index 833 drivers/hwmon/ibmaem.c update_aem_energy_one(data, attr->index); index 835 drivers/hwmon/ibmaem.c before = data->energy[attr->index]; index 838 drivers/hwmon/ibmaem.c msecs_to_jiffies(data->power_period[attr->index]) index 845 drivers/hwmon/ibmaem.c update_aem_energy_one(data, attr->index); index 847 drivers/hwmon/ibmaem.c after = data->energy[attr->index]; index 864 drivers/hwmon/ibmaem.c update_aem_energy_one(a, attr->index); index 868 drivers/hwmon/ibmaem.c (unsigned long long)a->energy[attr->index] * 1000); index 880 drivers/hwmon/ibmaem.c return sprintf(buf, "%lu\n", a->power_period[attr->index]); index 901 drivers/hwmon/ibmaem.c a->power_period[attr->index] = temp; index 922 drivers/hwmon/ibmaem.c sensors->index = ro->index; index 940 drivers/hwmon/ibmaem.c sensors->index = rw->index; index 973 drivers/hwmon/ibmaem.c return sprintf(buf, "%u\n", a->temp[attr->index] * 1000); index 985 drivers/hwmon/ibmaem.c return sprintf(buf, "%u\n", a->pcap[attr->index] * 100000); index 272 drivers/hwmon/ibmpex.c int mult = data->sensors[attr->index].multiplier; index 276 drivers/hwmon/ibmpex.c data->sensors[attr->index].values[attr->nr] * mult); index 348 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].index = sensor; index 218 drivers/hwmon/ibmpowernv.c static int get_sensor_index_attr(const char *name, u32 *index, char *attr) index 239 drivers/hwmon/ibmpowernv.c err = kstrtou32(buf, 10, index); index 274 drivers/hwmon/ibmpowernv.c enum sensors type, u32 *index) index 280 drivers/hwmon/ibmpowernv.c err = get_sensor_index_attr(node_name, index, attr_suffix); index 47 drivers/hwmon/iio_hwmon.c struct iio_channel *chan = &state->channels[sattr->index]; index 145 drivers/hwmon/iio_hwmon.c a->index = i; index 286 drivers/hwmon/ina209.c u32 mask = attr->index; index 311 drivers/hwmon/ina209.c int reg = attr->index; index 345 drivers/hwmon/ina209.c val = ina209_from_reg(attr->index, data->regs[attr->index]); index 354 drivers/hwmon/ina209.c const unsigned int mask = attr->index; index 297 drivers/hwmon/ina2xx.c int err = ina2xx_read_reg(dev, attr->index, ®val); index 303 drivers/hwmon/ina2xx.c ina2xx_get_value(data, attr->index, regval)); index 500 drivers/hwmon/ina3221.c int index = channel - 1; index 502 drivers/hwmon/ina3221.c *str = ina->inputs[index].label; index 602 drivers/hwmon/ina3221.c unsigned int channel = sd_attr->index; index 614 drivers/hwmon/ina3221.c unsigned int channel = sd_attr->index; index 860 drivers/hwmon/it87.c int index = sattr->index; index 863 drivers/hwmon/it87.c return sprintf(buf, "%d\n", in_from_reg(data, nr, data->in[nr][index])); index 871 drivers/hwmon/it87.c int index = sattr->index; index 879 drivers/hwmon/it87.c data->in[nr][index] = in_to_reg(data, nr, val); index 881 drivers/hwmon/it87.c index == 1 ? IT87_REG_VIN_MIN(nr) index 883 drivers/hwmon/it87.c data->in[nr][index]); index 948 drivers/hwmon/it87.c int index = sattr->index; index 951 drivers/hwmon/it87.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr][index])); index 959 drivers/hwmon/it87.c int index = sattr->index; index 969 drivers/hwmon/it87.c switch (index) { index 988 drivers/hwmon/it87.c data->temp[nr][index] = TEMP_TO_REG(val); index 989 drivers/hwmon/it87.c it87_write_value(data, reg, data->temp[nr][index]); index 1023 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1042 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1114 drivers/hwmon/it87.c int index = sattr->index; index 1119 drivers/hwmon/it87.c FAN16_FROM_REG(data->fan[nr][index]) : index 1120 drivers/hwmon/it87.c FAN_FROM_REG(data->fan[nr][index], index 1130 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1140 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1150 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1161 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1163 drivers/hwmon/it87.c int index; index 1166 drivers/hwmon/it87.c index = (data->extra >> 4) & 0x07; index 1168 drivers/hwmon/it87.c index = (data->fan_ctl >> 4) & 0x07; index 1170 drivers/hwmon/it87.c freq = pwm_freq[index] / (has_newer_autopwm(data) ? 256 : 128); index 1180 drivers/hwmon/it87.c int index = sattr->index; index 1192 drivers/hwmon/it87.c data->fan[nr][index] = FAN16_TO_REG(val); index 1194 drivers/hwmon/it87.c data->fan[nr][index] & 0xff); index 1196 drivers/hwmon/it87.c data->fan[nr][index] >> 8); index 1210 drivers/hwmon/it87.c data->fan[nr][index] = index 1213 drivers/hwmon/it87.c data->fan[nr][index]); index 1225 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1300 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1372 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1413 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1449 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1467 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1514 drivers/hwmon/it87.c int point = sensor_attr->index; index 1527 drivers/hwmon/it87.c int point = sensor_attr->index; index 1550 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1561 drivers/hwmon/it87.c int nr = sensor_attr->index; index 1582 drivers/hwmon/it87.c int point = sensor_attr->index; index 1600 drivers/hwmon/it87.c int point = sensor_attr->index; index 1813 drivers/hwmon/it87.c int bitnr = to_sensor_dev_attr(attr)->index; index 1868 drivers/hwmon/it87.c int bitnr = to_sensor_dev_attr(attr)->index; index 1876 drivers/hwmon/it87.c int bitnr = to_sensor_dev_attr(attr)->index; index 1963 drivers/hwmon/it87.c int nr = to_sensor_dev_attr(attr)->index; index 1982 drivers/hwmon/it87.c struct attribute *attr, int index) index 1986 drivers/hwmon/it87.c int i = index / 5; /* voltage index */ index 1987 drivers/hwmon/it87.c int a = index % 5; /* attribute index */ index 1989 drivers/hwmon/it87.c if (index >= 40) { /* in8 and higher only have input attributes */ index 1990 drivers/hwmon/it87.c i = index - 40 + 8; index 2066 drivers/hwmon/it87.c struct attribute *attr, int index) index 2070 drivers/hwmon/it87.c int i = index / 7; /* temperature index */ index 2071 drivers/hwmon/it87.c int a = index % 7; /* attribute index */ index 2073 drivers/hwmon/it87.c if (index >= 21) { index 2074 drivers/hwmon/it87.c i = index - 21 + 3; index 2127 drivers/hwmon/it87.c struct attribute *attr, int index) index 2132 drivers/hwmon/it87.c if ((index == 2 || index == 3) && !data->has_vid) index 2135 drivers/hwmon/it87.c if (index > 3 && !(data->in_internal & BIT(index - 4))) index 2159 drivers/hwmon/it87.c struct attribute *attr, int index) index 2163 drivers/hwmon/it87.c int i = index / 5; /* fan index */ index 2164 drivers/hwmon/it87.c int a = index % 5; /* attribute index */ index 2166 drivers/hwmon/it87.c if (index >= 15) { /* fan 4..6 don't have divisor attributes */ index 2167 drivers/hwmon/it87.c i = (index - 15) / 4 + 3; index 2168 drivers/hwmon/it87.c a = (index - 15) % 4; index 2230 drivers/hwmon/it87.c struct attribute *attr, int index) index 2234 drivers/hwmon/it87.c int i = index / 4; /* pwm index */ index 2235 drivers/hwmon/it87.c int a = index % 4; /* attribute index */ index 2291 drivers/hwmon/it87.c struct attribute *attr, int index) index 2295 drivers/hwmon/it87.c int i = index / 11; /* pwm index */ index 2296 drivers/hwmon/it87.c int a = index % 11; /* attribute index */ index 2298 drivers/hwmon/it87.c if (index >= 33) { /* pwm 4..6 */ index 2299 drivers/hwmon/it87.c i = (index - 33) / 6 + 3; index 2300 drivers/hwmon/it87.c a = (index - 33) % 6 + 4; index 3251 drivers/hwmon/it87.c static int __init it87_device_add(int index, unsigned short address, index 3290 drivers/hwmon/it87.c it87_pdev[index] = pdev; index 166 drivers/hwmon/k10temp.c return sprintf(buf, "%s\n", attr->index ? "Tctl" : "Tdie"); index 180 drivers/hwmon/k10temp.c int show_hyst = attr->index; index 201 drivers/hwmon/k10temp.c struct attribute *attr, int index) index 208 drivers/hwmon/k10temp.c switch (index) { index 201 drivers/hwmon/lineage-pem.c static long pem_get_data(u8 *data, int len, int index) index 205 drivers/hwmon/lineage-pem.c switch (index) { index 207 drivers/hwmon/lineage-pem.c val = (data[index] + (data[index+1] << 8)) * 5 / 2; index 210 drivers/hwmon/lineage-pem.c val = data[index] * 200; index 213 drivers/hwmon/lineage-pem.c val = data[index] * 1000; index 228 drivers/hwmon/lineage-pem.c static long pem_get_input(u8 *data, int len, int index) index 232 drivers/hwmon/lineage-pem.c switch (index) { index 235 drivers/hwmon/lineage-pem.c val = (data[index] + (data[index+1] << 8) - 75) * 1000; index 237 drivers/hwmon/lineage-pem.c val = (data[index] - 75) * 1000; index 241 drivers/hwmon/lineage-pem.c index++; index 242 drivers/hwmon/lineage-pem.c val = (data[index] + (data[index+1] << 8)) * 1000000L; index 251 drivers/hwmon/lineage-pem.c static long pem_get_fan(u8 *data, int len, int index) index 255 drivers/hwmon/lineage-pem.c switch (index) { index 259 drivers/hwmon/lineage-pem.c val = data[index] * 100; index 282 drivers/hwmon/lineage-pem.c status = data->data_string[attr->nr] & attr->index; index 297 drivers/hwmon/lineage-pem.c attr->index); index 313 drivers/hwmon/lineage-pem.c attr->index); index 329 drivers/hwmon/lineage-pem.c attr->index); index 336 drivers/hwmon/lm63.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan[attr->index])); index 366 drivers/hwmon/lm63.c int nr = attr->index; index 385 drivers/hwmon/lm63.c int nr = attr->index; index 462 drivers/hwmon/lm63.c return sprintf(buf, "%d\n", TEMP8_FROM_REG(data->temp8[attr->index])); index 471 drivers/hwmon/lm63.c return sprintf(buf, "%d\n", temp8_from_reg(data, attr->index) index 481 drivers/hwmon/lm63.c return sprintf(buf, "%d\n", lut_temp_from_reg(data, attr->index) index 491 drivers/hwmon/lm63.c int nr = attr->index; index 529 drivers/hwmon/lm63.c int nr = attr->index; index 567 drivers/hwmon/lm63.c int nr = attr->index; index 606 drivers/hwmon/lm63.c return sprintf(buf, "%d\n", lut_temp_from_reg(data, attr->index) index 735 drivers/hwmon/lm63.c int bitnr = attr->index; index 932 drivers/hwmon/lm63.c struct attribute *attr, int index) index 77 drivers/hwmon/lm73.c err = i2c_smbus_write_word_swapped(data->client, attr->index, value); index 88 drivers/hwmon/lm73.c s32 err = i2c_smbus_read_word_swapped(data->client, attr->index); index 157 drivers/hwmon/lm73.c return scnprintf(buf, PAGE_SIZE, "%d\n", (ctrl >> attr->index) & 1); index 403 drivers/hwmon/lm75.c u8 index; index 406 drivers/hwmon/lm75.c index = find_closest(val, data->params->sample_times, index 411 drivers/hwmon/lm75.c err = lm75_write_config(data, lm75_sample_set_masks[index], index 416 drivers/hwmon/lm75.c data->sample_time = data->params->sample_times[index]; index 418 drivers/hwmon/lm75.c data->resolution = data->params->resolutions[index]; index 425 drivers/hwmon/lm75.c reg |= (3 - index) << 6; index 429 drivers/hwmon/lm75.c data->sample_time = data->params->sample_times[index]; index 433 drivers/hwmon/lm75.c index + 1); index 436 drivers/hwmon/lm75.c data->sample_time = data->params->sample_times[index]; index 137 drivers/hwmon/lm77.c return sprintf(buf, "%d\n", data->temp[attr->index]); index 145 drivers/hwmon/lm77.c int nr = attr->index; index 161 drivers/hwmon/lm77.c int nr = attr->index; index 206 drivers/hwmon/lm77.c int bitnr = to_sensor_dev_attr(attr)->index; index 147 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[attr->index])); index 155 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[attr->index])); index 163 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in_max[attr->index])); index 171 drivers/hwmon/lm78.c int nr = attr->index; index 191 drivers/hwmon/lm78.c int nr = attr->index; index 298 drivers/hwmon/lm78.c int nr = attr->index; index 308 drivers/hwmon/lm78.c int nr = attr->index; index 318 drivers/hwmon/lm78.c int nr = attr->index; index 338 drivers/hwmon/lm78.c return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index])); index 352 drivers/hwmon/lm78.c int nr = attr->index; index 440 drivers/hwmon/lm78.c int nr = to_sensor_dev_attr(da)->index; index 263 drivers/hwmon/lm80.c int index = to_sensor_dev_attr_2(attr)->index; index 268 drivers/hwmon/lm80.c return sprintf(buf, "%d\n", IN_FROM_REG(data->in[nr][index])); index 276 drivers/hwmon/lm80.c int index = to_sensor_dev_attr_2(attr)->index; index 284 drivers/hwmon/lm80.c reg = nr == i_min ? LM80_REG_IN_MIN(index) : LM80_REG_IN_MAX(index); index 287 drivers/hwmon/lm80.c data->in[nr][index] = IN_TO_REG(val); index 288 drivers/hwmon/lm80.c lm80_write_value(client, reg, data->in[nr][index]); index 296 drivers/hwmon/lm80.c int index = to_sensor_dev_attr_2(attr)->index; index 301 drivers/hwmon/lm80.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan[nr][index], index 302 drivers/hwmon/lm80.c DIV_FROM_REG(data->fan_div[index]))); index 308 drivers/hwmon/lm80.c int nr = to_sensor_dev_attr(attr)->index; index 318 drivers/hwmon/lm80.c int index = to_sensor_dev_attr_2(attr)->index; index 328 drivers/hwmon/lm80.c data->fan[nr][index] = FAN_TO_REG(val, index 329 drivers/hwmon/lm80.c DIV_FROM_REG(data->fan_div[index])); index 330 drivers/hwmon/lm80.c lm80_write_value(client, LM80_REG_FAN_MIN(index + 1), index 331 drivers/hwmon/lm80.c data->fan[nr][index]); index 346 drivers/hwmon/lm80.c int nr = to_sensor_dev_attr(attr)->index; index 408 drivers/hwmon/lm80.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); index 418 drivers/hwmon/lm80.c int nr = attr->index; index 443 drivers/hwmon/lm80.c int bitnr = to_sensor_dev_attr(attr)->index; index 157 drivers/hwmon/lm83.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); index 168 drivers/hwmon/lm83.c int nr = attr->index; index 195 drivers/hwmon/lm83.c int bitnr = attr->index; index 555 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 563 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 572 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 658 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 686 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 694 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 714 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 737 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 780 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 797 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 846 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 855 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 863 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 883 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 891 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 938 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 947 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 956 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 979 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 988 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1024 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1033 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1055 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1064 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1086 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1095 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1133 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1143 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1173 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1182 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1213 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1223 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1250 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 1259 drivers/hwmon/lm85.c int nr = to_sensor_dev_attr(attr)->index; index 270 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 280 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 290 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 301 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 322 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 367 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 376 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 386 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 398 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 419 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 466 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 476 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 486 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 498 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 526 drivers/hwmon/lm87.c int nr = to_sensor_dev_attr(attr)->index; index 656 drivers/hwmon/lm87.c int bitnr = to_sensor_dev_attr(attr)->index; index 977 drivers/hwmon/lm90.c static int lm90_get_temp11(struct lm90_data *data, int index) index 979 drivers/hwmon/lm90.c s16 temp11 = data->temp11[index]; index 990 drivers/hwmon/lm90.c if (data->kind == lm99 && index <= 2) index 996 drivers/hwmon/lm90.c static int lm90_set_temp11(struct lm90_data *data, int index, long val) index 1009 drivers/hwmon/lm90.c struct reg *regp = ®[index]; index 1013 drivers/hwmon/lm90.c if (data->kind == lm99 && index <= 2) index 1017 drivers/hwmon/lm90.c data->temp11[index] = temp_to_u16_adt7461(data, val); index 1019 drivers/hwmon/lm90.c data->temp11[index] = temp_to_u8(val) << 8; index 1021 drivers/hwmon/lm90.c data->temp11[index] = temp_to_s16(val); index 1023 drivers/hwmon/lm90.c data->temp11[index] = temp_to_s8(val) << 8; index 1025 drivers/hwmon/lm90.c lm90_select_remote_channel(data, index >= 3); index 1027 drivers/hwmon/lm90.c data->temp11[index] >> 8); index 1032 drivers/hwmon/lm90.c data->temp11[index] & 0xff); index 1038 drivers/hwmon/lm90.c static int lm90_get_temp8(struct lm90_data *data, int index) index 1040 drivers/hwmon/lm90.c s8 temp8 = data->temp8[index]; index 1051 drivers/hwmon/lm90.c if (data->kind == lm99 && index == 3) index 1057 drivers/hwmon/lm90.c static int lm90_set_temp8(struct lm90_data *data, int index, long val) index 1073 drivers/hwmon/lm90.c if (data->kind == lm99 && index == 3) index 1077 drivers/hwmon/lm90.c data->temp8[index] = temp_to_u8_adt7461(data, val); index 1079 drivers/hwmon/lm90.c data->temp8[index] = temp_to_u8(val); index 1081 drivers/hwmon/lm90.c data->temp8[index] = temp_to_s8(val); index 1083 drivers/hwmon/lm90.c lm90_select_remote_channel(data, index >= 6); index 1084 drivers/hwmon/lm90.c err = i2c_smbus_write_byte_data(client, reg[index], data->temp8[index]); index 1090 drivers/hwmon/lm90.c static int lm90_get_temphyst(struct lm90_data *data, int index) index 1095 drivers/hwmon/lm90.c temp = temp_from_u8_adt7461(data, data->temp8[index]); index 1097 drivers/hwmon/lm90.c temp = temp_from_u8(data->temp8[index]); index 1099 drivers/hwmon/lm90.c temp = temp_from_s8(data->temp8[index]); index 1102 drivers/hwmon/lm90.c if (data->kind == lm99 && index == 3) index 143 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); index 153 drivers/hwmon/lm92.c int nr = attr->index; index 174 drivers/hwmon/lm92.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index]) index 204 drivers/hwmon/lm92.c TEMP_TO_REG(TEMP_FROM_REG(data->temp[attr->index]) - val); index 222 drivers/hwmon/lm92.c int bitnr = to_sensor_dev_attr(attr)->index; index 1104 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1130 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1147 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1195 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1212 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1260 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1272 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1281 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1305 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1314 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1338 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1347 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1371 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1380 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1405 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1416 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1446 drivers/hwmon/lm93.c int nr = s_attr->index; index 1460 drivers/hwmon/lm93.c int nr = s_attr->index; index 1525 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1538 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1570 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1581 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1613 drivers/hwmon/lm93.c int nr = s_attr->index; index 1627 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1637 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1676 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1716 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1750 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1768 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1799 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1816 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1856 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1892 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1922 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1931 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1956 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 1971 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2001 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2011 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2101 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2112 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2123 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2134 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2143 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2169 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2179 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2206 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2220 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 2313 drivers/hwmon/lm93.c int nr = (to_sensor_dev_attr(attr))->index; index 71 drivers/hwmon/lm95234.c static int lm95234_read_temp(struct i2c_client *client, int index, int *t) index 76 drivers/hwmon/lm95234.c if (index) { index 78 drivers/hwmon/lm95234.c LM95234_REG_UTEMPH(index - 1)); index 83 drivers/hwmon/lm95234.c LM95234_REG_UTEMPL(index - 1)); index 95 drivers/hwmon/lm95234.c LM95234_REG_TEMPH(index)); index 100 drivers/hwmon/lm95234.c LM95234_REG_TEMPL(index)); index 209 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 216 drivers/hwmon/lm95234.c DIV_ROUND_CLOSEST(data->temp[index] * 125, 32)); index 223 drivers/hwmon/lm95234.c u32 mask = to_sensor_dev_attr(attr)->index; index 236 drivers/hwmon/lm95234.c u8 mask = to_sensor_dev_attr(attr)->index; index 250 drivers/hwmon/lm95234.c u8 mask = to_sensor_dev_attr(attr)->index; index 280 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 286 drivers/hwmon/lm95234.c return sprintf(buf, "%u", data->tcrit2[index] * 1000); index 293 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 304 drivers/hwmon/lm95234.c val = clamp_val(DIV_ROUND_CLOSEST(val, 1000), 0, index ? 255 : 127); index 307 drivers/hwmon/lm95234.c data->tcrit2[index] = val; index 308 drivers/hwmon/lm95234.c i2c_smbus_write_byte_data(data->client, LM95234_REG_TCRIT2(index), val); index 318 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 326 drivers/hwmon/lm95234.c ((int)data->tcrit2[index] - (int)data->thyst) * 1000); index 333 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 335 drivers/hwmon/lm95234.c return sprintf(buf, "%u", data->tcrit1[index] * 1000); index 342 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 356 drivers/hwmon/lm95234.c data->tcrit1[index] = val; index 357 drivers/hwmon/lm95234.c i2c_smbus_write_byte_data(data->client, LM95234_REG_TCRIT1(index), val); index 367 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 375 drivers/hwmon/lm95234.c ((int)data->tcrit1[index] - (int)data->thyst) * 1000); index 383 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 395 drivers/hwmon/lm95234.c val = clamp_val((int)data->tcrit1[index] - val, 0, 31); index 409 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 415 drivers/hwmon/lm95234.c return sprintf(buf, "%d", data->toffset[index] * 500); index 422 drivers/hwmon/lm95234.c int index = to_sensor_dev_attr(attr)->index; index 437 drivers/hwmon/lm95234.c data->toffset[index] = val; index 438 drivers/hwmon/lm95234.c i2c_smbus_write_byte_data(data->client, LM95234_REG_OFFSET(index), val); index 226 drivers/hwmon/ltc2945.c value = ltc2945_reg_to_val(dev, attr->index); index 238 drivers/hwmon/ltc2945.c u8 reg = attr->index; index 273 drivers/hwmon/ltc2945.c u8 reg = attr->index; index 332 drivers/hwmon/ltc2945.c fault &= attr->index; index 334 drivers/hwmon/ltc2945.c regmap_update_bits(regmap, LTC2945_FAULT, attr->index, 0); index 72 drivers/hwmon/ltc2990.c static int ltc2990_get_value(struct i2c_client *i2c, int index, int *result) index 77 drivers/hwmon/ltc2990.c switch (index) { index 108 drivers/hwmon/ltc2990.c switch (index) { index 146 drivers/hwmon/ltc2990.c ret = ltc2990_get_value(data->i2c, attr->index, &value); index 166 drivers/hwmon/ltc2990.c if (attr->index & attrs_mask) index 130 drivers/hwmon/ltc4151.c value = ltc4151_get_value(data, attr->index); index 140 drivers/hwmon/ltc4215.c const int voltage = ltc4215_get_voltage(dev, attr->index); index 171 drivers/hwmon/ltc4215.c const u32 mask = attr->index; index 94 drivers/hwmon/ltc4222.c value = ltc4222_get_value(dev, attr->index); index 111 drivers/hwmon/ltc4222.c fault &= attr->index; index 113 drivers/hwmon/ltc4222.c regmap_update_bits(regmap, attr->nr, attr->index, 0); index 79 drivers/hwmon/ltc4260.c value = ltc4260_get_value(dev, attr->index); index 97 drivers/hwmon/ltc4260.c fault &= attr->index; index 99 drivers/hwmon/ltc4260.c regmap_update_bits(regmap, LTC4260_FAULT, attr->index, 0); index 132 drivers/hwmon/ltc4261.c value = ltc4261_get_value(data, attr->index); index 146 drivers/hwmon/ltc4261.c fault = data->regs[LTC4261_FAULT] & attr->index; index 108 drivers/hwmon/max1111.c int channel = to_sensor_dev_attr(attr)->index; index 185 drivers/hwmon/max16065.c val &= (1 << attr2->index); index 198 drivers/hwmon/max16065.c int adc = data->adc[attr->index]; index 204 drivers/hwmon/max16065.c ADC_TO_MV(adc, data->range[attr->index])); index 233 drivers/hwmon/max16065.c limit = MV_TO_LIMIT(val, data->range[attr2->index]); index 236 drivers/hwmon/max16065.c data->limit[attr2->nr][attr2->index] index 237 drivers/hwmon/max16065.c = LIMIT_TO_MV(limit, data->range[attr2->index]); index 239 drivers/hwmon/max16065.c MAX16065_LIMIT(attr2->nr, attr2->index), index 253 drivers/hwmon/max16065.c data->limit[attr2->nr][attr2->index]); index 459 drivers/hwmon/max16065.c int index = n / 4; index 461 drivers/hwmon/max16065.c if (index >= data->num_adc || !data->range[index]) index 467 drivers/hwmon/max16065.c struct attribute *a, int index) index 472 drivers/hwmon/max16065.c if (index >= data->num_adc) index 145 drivers/hwmon/max1619.c return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); index 161 drivers/hwmon/max1619.c data->temp[attr->index] = temp_to_reg(val); index 162 drivers/hwmon/max1619.c i2c_smbus_write_byte_data(client, regs_write[attr->index], index 163 drivers/hwmon/max1619.c data->temp[attr->index]); index 178 drivers/hwmon/max1619.c int bitnr = to_sensor_dev_attr(attr)->index; index 133 drivers/hwmon/max1668.c int index = to_sensor_dev_attr(devattr)->index; index 139 drivers/hwmon/max1668.c return sprintf(buf, "%d\n", data->temp[index] * 1000); index 145 drivers/hwmon/max1668.c int index = to_sensor_dev_attr(devattr)->index; index 151 drivers/hwmon/max1668.c return sprintf(buf, "%d\n", data->temp_max[index] * 1000); index 157 drivers/hwmon/max1668.c int index = to_sensor_dev_attr(devattr)->index; index 163 drivers/hwmon/max1668.c return sprintf(buf, "%d\n", data->temp_min[index] * 1000); index 169 drivers/hwmon/max1668.c int index = to_sensor_dev_attr(attr)->index; index 175 drivers/hwmon/max1668.c return sprintf(buf, "%u\n", (data->alarms >> index) & 0x1); index 181 drivers/hwmon/max1668.c int index = to_sensor_dev_attr(devattr)->index; index 188 drivers/hwmon/max1668.c (data->alarms & (1 << 12)) && data->temp[index] == 127); index 195 drivers/hwmon/max1668.c int index = to_sensor_dev_attr(devattr)->index; index 206 drivers/hwmon/max1668.c data->temp_max[index] = clamp_val(temp/1000, -128, 127); index 208 drivers/hwmon/max1668.c MAX1668_REG_LIMH_WR(index), index 209 drivers/hwmon/max1668.c data->temp_max[index]); index 221 drivers/hwmon/max1668.c int index = to_sensor_dev_attr(devattr)->index; index 232 drivers/hwmon/max1668.c data->temp_min[index] = clamp_val(temp/1000, -128, 127); index 234 drivers/hwmon/max1668.c MAX1668_REG_LIML_WR(index), index 235 drivers/hwmon/max1668.c data->temp_min[index]); index 329 drivers/hwmon/max1668.c struct attribute *attr, int index) index 93 drivers/hwmon/max197.c int channel = attr->index; index 121 drivers/hwmon/max197.c int channel = attr->index; index 176 drivers/hwmon/max197.c int channel = attr->index; index 162 drivers/hwmon/max6639.c temp = data->temp[attr->index] * 125; index 175 drivers/hwmon/max6639.c return sprintf(buf, "%d\n", data->temp_fault[attr->index]); index 184 drivers/hwmon/max6639.c return sprintf(buf, "%d\n", (data->temp_therm[attr->index] * 1000)); index 202 drivers/hwmon/max6639.c data->temp_therm[attr->index] = TEMP_LIMIT_TO_REG(val); index 204 drivers/hwmon/max6639.c MAX6639_REG_THERM_LIMIT(attr->index), index 205 drivers/hwmon/max6639.c data->temp_therm[attr->index]); index 216 drivers/hwmon/max6639.c return sprintf(buf, "%d\n", (data->temp_alert[attr->index] * 1000)); index 234 drivers/hwmon/max6639.c data->temp_alert[attr->index] = TEMP_LIMIT_TO_REG(val); index 236 drivers/hwmon/max6639.c MAX6639_REG_ALERT_LIMIT(attr->index), index 237 drivers/hwmon/max6639.c data->temp_alert[attr->index]); index 249 drivers/hwmon/max6639.c return sprintf(buf, "%d\n", (data->temp_ot[attr->index] * 1000)); index 267 drivers/hwmon/max6639.c data->temp_ot[attr->index] = TEMP_LIMIT_TO_REG(val); index 269 drivers/hwmon/max6639.c MAX6639_REG_OT_LIMIT(attr->index), index 270 drivers/hwmon/max6639.c data->temp_ot[attr->index]); index 281 drivers/hwmon/max6639.c return sprintf(buf, "%d\n", data->pwm[attr->index] * 255 / 120); index 301 drivers/hwmon/max6639.c data->pwm[attr->index] = (u8)(val * 120 / 255); index 303 drivers/hwmon/max6639.c MAX6639_REG_TARGTDUTY(attr->index), index 304 drivers/hwmon/max6639.c data->pwm[attr->index]); index 318 drivers/hwmon/max6639.c return sprintf(buf, "%d\n", FAN_FROM_REG(data->fan[attr->index], index 331 drivers/hwmon/max6639.c return sprintf(buf, "%d\n", !!(data->status & (1 << attr->index))); index 203 drivers/hwmon/max6642.c temp_from_reg10(data->temp_input[attr->index])); index 230 drivers/hwmon/max6642.c i2c_smbus_write_byte_data(data->client, attr2->index, index 239 drivers/hwmon/max6642.c int bitnr = to_sensor_dev_attr(attr)->index; index 307 drivers/hwmon/max6650.c alarm = data->alarm & attr->index; index 310 drivers/hwmon/max6650.c data->alarm &= ~attr->index; index 335 drivers/hwmon/max6650.c if (!(data->alarm_en & to_sensor_dev_attr(devattr)->index)) index 247 drivers/hwmon/max6697.c int index = to_sensor_dev_attr(devattr)->index; index 254 drivers/hwmon/max6697.c temp = (data->temp[index][MAX6697_TEMP_INPUT] - data->temp_offset) << 3; index 255 drivers/hwmon/max6697.c temp |= data->temp[index][MAX6697_TEMP_EXT] >> 5; index 264 drivers/hwmon/max6697.c int index = to_sensor_dev_attr_2(devattr)->index; index 271 drivers/hwmon/max6697.c temp = data->temp[nr][index]; index 280 drivers/hwmon/max6697.c int index = to_sensor_dev_attr(attr)->index; index 287 drivers/hwmon/max6697.c index = data->chip->alarm_map[index]; index 289 drivers/hwmon/max6697.c return sprintf(buf, "%u\n", (data->alarms >> index) & 0x1); index 297 drivers/hwmon/max6697.c int index = to_sensor_dev_attr_2(devattr)->index; index 309 drivers/hwmon/max6697.c data->temp[nr][index] = temp; index 311 drivers/hwmon/max6697.c index == 2 ? MAX6697_REG_MAX[nr] index 380 drivers/hwmon/max6697.c int index) index 385 drivers/hwmon/max6697.c int channel = index / 6; /* channel number */ index 386 drivers/hwmon/max6697.c int nr = index % 6; /* attribute index within channel */ index 45 drivers/hwmon/mc13783-adc.c unsigned int channel = attr->index; index 104 drivers/hwmon/menf21bmc_hwmon.c return sprintf(buf, "%s\n", input_names[attr->index]); index 116 drivers/hwmon/menf21bmc_hwmon.c return sprintf(buf, "%d\n", drv_data->in_val[attr->index]); index 125 drivers/hwmon/menf21bmc_hwmon.c return sprintf(buf, "%d\n", drv_data->in_min[attr->index]); index 134 drivers/hwmon/menf21bmc_hwmon.c return sprintf(buf, "%d\n", drv_data->in_max[attr->index]); index 343 drivers/hwmon/nct6683.c u8 index; index 345 drivers/hwmon/nct6683.c int index; index 366 drivers/hwmon/nct6683.c .u.index = _index, \ index 372 drivers/hwmon/nct6683.c .u.s.index = _index, \ index 443 drivers/hwmon/nct6683.c a2->index = (*t)->u.s.index; index 453 drivers/hwmon/nct6683.c a->index = (*t)->u.index + i; index 520 drivers/hwmon/nct6683.c static int get_in_reg(struct nct6683_data *data, int nr, int index) index 522 drivers/hwmon/nct6683.c int ch = data->in_index[index]; index 543 drivers/hwmon/nct6683.c static int get_temp_reg(struct nct6683_data *data, int nr, int index) index 545 drivers/hwmon/nct6683.c int ch = data->temp_index[index]; index 657 drivers/hwmon/nct6683.c int nr = sattr->index; index 667 drivers/hwmon/nct6683.c int index = sattr->index; index 671 drivers/hwmon/nct6683.c in_from_reg(data->in[index][nr], data->in_index[index])); index 675 drivers/hwmon/nct6683.c struct attribute *attr, int index) index 679 drivers/hwmon/nct6683.c int nr = index % 4; /* attribute */ index 716 drivers/hwmon/nct6683.c return sprintf(buf, "%d\n", data->rpm[sattr->index]); index 724 drivers/hwmon/nct6683.c int nr = sattr->index; index 736 drivers/hwmon/nct6683.c ((data->fanin_cfg[sattr->index] >> 5) & 0x03) + 1); index 740 drivers/hwmon/nct6683.c struct attribute *attr, int index) index 744 drivers/hwmon/nct6683.c int fan = index / 3; /* fan index */ index 745 drivers/hwmon/nct6683.c int nr = index % 3; /* attribute index */ index 787 drivers/hwmon/nct6683.c int nr = sattr->index; index 797 drivers/hwmon/nct6683.c int index = sattr->index; index 800 drivers/hwmon/nct6683.c return sprintf(buf, "%d\n", data->temp[index][nr] * 1000); index 808 drivers/hwmon/nct6683.c int nr = sattr->index; index 819 drivers/hwmon/nct6683.c int index = sattr->index; index 821 drivers/hwmon/nct6683.c return sprintf(buf, "%d\n", (data->temp_in[index] / 128) * 500); index 853 drivers/hwmon/nct6683.c int nr = sattr->index; index 858 drivers/hwmon/nct6683.c struct attribute *attr, int index) index 862 drivers/hwmon/nct6683.c int temp = index / 7; /* temp index */ index 863 drivers/hwmon/nct6683.c int nr = index % 7; /* attribute index */ index 915 drivers/hwmon/nct6683.c int index = sattr->index; index 917 drivers/hwmon/nct6683.c return sprintf(buf, "%d\n", data->pwm[index]); index 926 drivers/hwmon/nct6683.c int index = sattr->index; index 935 drivers/hwmon/nct6683.c nct6683_write(data, NCT6683_REG_PWM_WRITE(index), val); index 945 drivers/hwmon/nct6683.c struct attribute *attr, int index) index 949 drivers/hwmon/nct6683.c int pwm = index; /* pwm index */ index 1230 drivers/hwmon/nct6775.c u8 index; index 1232 drivers/hwmon/nct6775.c int index; index 1253 drivers/hwmon/nct6775.c .u.index = _index, \ index 1259 drivers/hwmon/nct6775.c .u.s.index = _index, \ index 1330 drivers/hwmon/nct6775.c a2->index = (*t)->u.s.index; index 1340 drivers/hwmon/nct6775.c a->index = (*t)->u.index + i; index 1875 drivers/hwmon/nct6775.c int index = sattr->index; index 1878 drivers/hwmon/nct6775.c return sprintf(buf, "%ld\n", in_from_reg(data->in[nr][index], nr)); index 1887 drivers/hwmon/nct6775.c int index = sattr->index; index 1896 drivers/hwmon/nct6775.c data->in[nr][index] = in_to_reg(val, nr); index 1897 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_IN_MINMAX[index - 1][nr], index 1898 drivers/hwmon/nct6775.c data->in[nr][index]); index 1908 drivers/hwmon/nct6775.c int nr = data->ALARM_BITS[sattr->index]; index 1914 drivers/hwmon/nct6775.c static int find_temp_source(struct nct6775_data *data, int index, int count) index 1916 drivers/hwmon/nct6775.c int source = data->temp_src[index]; index 1942 drivers/hwmon/nct6775.c nr = find_temp_source(data, sattr->index, data->num_temp_alarms); index 1956 drivers/hwmon/nct6775.c int nr = data->BEEP_BITS[sattr->index]; index 1968 drivers/hwmon/nct6775.c int nr = data->BEEP_BITS[sattr->index]; index 2003 drivers/hwmon/nct6775.c nr = find_temp_source(data, sattr->index, data->num_temp_beeps); index 2028 drivers/hwmon/nct6775.c nr = find_temp_source(data, sattr->index, data->num_temp_beeps); index 2048 drivers/hwmon/nct6775.c struct attribute *attr, int index) index 2052 drivers/hwmon/nct6775.c int in = index / 5; /* voltage index */ index 2093 drivers/hwmon/nct6775.c int nr = sattr->index; index 2103 drivers/hwmon/nct6775.c int nr = sattr->index; index 2115 drivers/hwmon/nct6775.c int nr = sattr->index; index 2126 drivers/hwmon/nct6775.c int nr = sattr->index; index 2219 drivers/hwmon/nct6775.c int p = data->fan_pulses[sattr->index]; index 2230 drivers/hwmon/nct6775.c int nr = sattr->index; index 2254 drivers/hwmon/nct6775.c struct attribute *attr, int index) index 2258 drivers/hwmon/nct6775.c int fan = index / 6; /* fan index */ index 2259 drivers/hwmon/nct6775.c int nr = index % 6; /* attribute index */ index 2315 drivers/hwmon/nct6775.c int nr = sattr->index; index 2326 drivers/hwmon/nct6775.c int index = sattr->index; index 2328 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", LM75_TEMP_FROM_REG(data->temp[index][nr])); index 2338 drivers/hwmon/nct6775.c int index = sattr->index; index 2347 drivers/hwmon/nct6775.c data->temp[index][nr] = LM75_TEMP_TO_REG(val); index 2348 drivers/hwmon/nct6775.c nct6775_write_temp(data, data->reg_temp[index][nr], index 2349 drivers/hwmon/nct6775.c data->temp[index][nr]); index 2360 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", data->temp_offset[sattr->index] * 1000); index 2369 drivers/hwmon/nct6775.c int nr = sattr->index; index 2392 drivers/hwmon/nct6775.c int nr = sattr->index; index 2403 drivers/hwmon/nct6775.c int nr = sattr->index; index 2441 drivers/hwmon/nct6775.c struct attribute *attr, int index) index 2445 drivers/hwmon/nct6775.c int temp = index / 10; /* temp index */ index 2446 drivers/hwmon/nct6775.c int nr = index % 10; /* attribute index */ index 2528 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", data->pwm_mode[sattr->index]); index 2537 drivers/hwmon/nct6775.c int nr = sattr->index; index 2573 drivers/hwmon/nct6775.c int index = sattr->index; index 2580 drivers/hwmon/nct6775.c if (index == 0 && data->pwm_enable[nr] > manual) index 2583 drivers/hwmon/nct6775.c pwm = data->pwm[index][nr]; index 2595 drivers/hwmon/nct6775.c int index = sattr->index; index 2606 drivers/hwmon/nct6775.c val = clamp_val(val, minval[index], maxval[index]); index 2609 drivers/hwmon/nct6775.c data->pwm[index][nr] = val; index 2610 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_PWM[index][nr], val); index 2611 drivers/hwmon/nct6775.c if (index == 2) { /* floor: disable if val == 0 */ index 2688 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", data->pwm_enable[sattr->index]); index 2697 drivers/hwmon/nct6775.c int nr = sattr->index; index 2758 drivers/hwmon/nct6775.c int index = sattr->index; index 2760 drivers/hwmon/nct6775.c return show_pwm_temp_sel_common(data, buf, data->pwm_temp_sel[index]); index 2769 drivers/hwmon/nct6775.c int nr = sattr->index; index 2799 drivers/hwmon/nct6775.c int index = sattr->index; index 2802 drivers/hwmon/nct6775.c data->pwm_weight_temp_sel[index]); index 2811 drivers/hwmon/nct6775.c int nr = sattr->index; index 2850 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", data->target_temp[sattr->index] * 1000); index 2859 drivers/hwmon/nct6775.c int nr = sattr->index; index 2882 drivers/hwmon/nct6775.c int nr = sattr->index; index 2895 drivers/hwmon/nct6775.c int nr = sattr->index; index 2921 drivers/hwmon/nct6775.c int index = sattr->index; index 2923 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", data->temp_tolerance[index][nr] * 1000); index 2933 drivers/hwmon/nct6775.c int index = sattr->index; index 2945 drivers/hwmon/nct6775.c data->temp_tolerance[index][nr] = val; index 2946 drivers/hwmon/nct6775.c if (index) index 2969 drivers/hwmon/nct6775.c int nr = sattr->index; index 2997 drivers/hwmon/nct6775.c int nr = sattr->index; index 3050 drivers/hwmon/nct6775.c int index = sattr->index; index 3052 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", data->weight_temp[index][nr] * 1000); index 3062 drivers/hwmon/nct6775.c int index = sattr->index; index 3073 drivers/hwmon/nct6775.c data->weight_temp[index][nr] = val; index 3074 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_WEIGHT_TEMP[index][nr], val); index 3098 drivers/hwmon/nct6775.c int index = sattr->index; index 3101 drivers/hwmon/nct6775.c step_time_from_reg(data->fan_time[index][nr], index 3112 drivers/hwmon/nct6775.c int index = sattr->index; index 3122 drivers/hwmon/nct6775.c data->fan_time[index][nr] = val; index 3123 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_FAN_TIME[index][nr], val); index 3134 drivers/hwmon/nct6775.c return sprintf(buf, "%d\n", data->auto_pwm[sattr->nr][sattr->index]); index 3144 drivers/hwmon/nct6775.c int point = sattr->index; index 3217 drivers/hwmon/nct6775.c int point = sattr->index; index 3233 drivers/hwmon/nct6775.c int point = sattr->index; index 3258 drivers/hwmon/nct6775.c struct attribute *attr, int index) index 3262 drivers/hwmon/nct6775.c int pwm = index / 36; /* pwm index */ index 3263 drivers/hwmon/nct6775.c int nr = index % 36; /* attribute index */ index 3413 drivers/hwmon/nct6775.c int nr = to_sensor_dev_attr(attr)->index - INTRUSION_ALARM_BASE; index 3460 drivers/hwmon/nct6775.c struct attribute *attr, int index) index 3465 drivers/hwmon/nct6775.c if (index == 0 && !data->have_vid) index 3468 drivers/hwmon/nct6775.c if (index == 1 || index == 2) { index 3469 drivers/hwmon/nct6775.c if (data->ALARM_BITS[INTRUSION_ALARM_BASE + index - 1] < 0) index 3473 drivers/hwmon/nct6775.c if (index == 3 || index == 4) { index 3474 drivers/hwmon/nct6775.c if (data->BEEP_BITS[INTRUSION_ALARM_BASE + index - 3] < 0) index 3773 drivers/hwmon/nct6775.c int index; index 3784 drivers/hwmon/nct6775.c index = __ffs(*available); index 3785 drivers/hwmon/nct6775.c nct6775_write_value(data, data->REG_TEMP_SOURCE[index], src); index 3786 drivers/hwmon/nct6775.c *available &= ~BIT(index); index 77 drivers/hwmon/nct7802.c return sprintf(buf, "%u\n", (mode >> (2 * sattr->index) & 3) + 2); index 92 drivers/hwmon/nct7802.c if (sattr->index == 2 && type != 4) /* RD3 */ index 97 drivers/hwmon/nct7802.c 3 << 2 * sattr->index, (type - 2) << 2 * sattr->index); index 109 drivers/hwmon/nct7802.c if (sattr->index > 1) index 116 drivers/hwmon/nct7802.c return sprintf(buf, "%u\n", !(regval & (1 << sattr->index))); index 127 drivers/hwmon/nct7802.c if (!attr->index) index 130 drivers/hwmon/nct7802.c ret = regmap_read(data->regmap, attr->index, &val); index 149 drivers/hwmon/nct7802.c err = regmap_write(data->regmap, attr->index, val); index 161 drivers/hwmon/nct7802.c ret = regmap_read(data->regmap, REG_SMARTFAN_EN(sattr->index), ®); index 164 drivers/hwmon/nct7802.c enabled = reg >> SMARTFAN_EN_SHIFT(sattr->index) & 1; index 182 drivers/hwmon/nct7802.c ret = regmap_update_bits(data->regmap, REG_SMARTFAN_EN(sattr->index), index 183 drivers/hwmon/nct7802.c 1 << SMARTFAN_EN_SHIFT(sattr->index), index 184 drivers/hwmon/nct7802.c (val - 1) << SMARTFAN_EN_SHIFT(sattr->index)); index 286 drivers/hwmon/nct7802.c static int nct7802_read_voltage(struct nct7802_data *data, int nr, int index) index 292 drivers/hwmon/nct7802.c if (index == 0) { /* voltage */ index 301 drivers/hwmon/nct7802.c int shift = 8 - REG_VOLTAGE_LIMIT_MSB_SHIFT[index - 1][nr]; index 304 drivers/hwmon/nct7802.c REG_VOLTAGE_LIMIT_LSB[index - 1][nr], &v1); index 318 drivers/hwmon/nct7802.c static int nct7802_write_voltage(struct nct7802_data *data, int nr, int index, index 321 drivers/hwmon/nct7802.c int shift = 8 - REG_VOLTAGE_LIMIT_MSB_SHIFT[index - 1][nr]; index 329 drivers/hwmon/nct7802.c REG_VOLTAGE_LIMIT_LSB[index - 1][nr], index 348 drivers/hwmon/nct7802.c voltage = nct7802_read_voltage(data, sattr->nr, sattr->index); index 360 drivers/hwmon/nct7802.c int index = sattr->index; index 369 drivers/hwmon/nct7802.c err = nct7802_write_voltage(data, nr, index, val); index 403 drivers/hwmon/nct7802.c if (!(data->in_status & (0x10 << sattr->index))) { index 420 drivers/hwmon/nct7802.c data->in_status |= (1 << sattr->index); index 422 drivers/hwmon/nct7802.c data->in_status &= ~(1 << sattr->index); index 424 drivers/hwmon/nct7802.c data->in_status |= 0x10 << sattr->index; index 427 drivers/hwmon/nct7802.c ret = sprintf(buf, "%u\n", !!(data->in_status & (1 << sattr->index))); index 440 drivers/hwmon/nct7802.c err = nct7802_read_temp(data, sattr->nr, sattr->index, &temp); index 473 drivers/hwmon/nct7802.c speed = nct7802_read_fan(data, sattr->index); index 487 drivers/hwmon/nct7802.c speed = nct7802_read_fan_min(data, sattr->nr, sattr->index); index 507 drivers/hwmon/nct7802.c err = nct7802_write_fan_min(data, sattr->nr, sattr->index, val); index 516 drivers/hwmon/nct7802.c int bit = sattr->index; index 539 drivers/hwmon/nct7802.c return sprintf(buf, "%u\n", !!(regval & (1 << sattr->index))); index 557 drivers/hwmon/nct7802.c err = regmap_update_bits(data->regmap, sattr->nr, 1 << sattr->index, index 558 drivers/hwmon/nct7802.c val ? 1 << sattr->index : 0); index 680 drivers/hwmon/nct7802.c struct attribute *attr, int index) index 691 drivers/hwmon/nct7802.c if (index < 10 && index 695 drivers/hwmon/nct7802.c if (index >= 10 && index < 20 && index 698 drivers/hwmon/nct7802.c if (index >= 20 && index < 30 && (reg & 0x30) != 0x20) /* RD3 */ index 701 drivers/hwmon/nct7802.c if (index >= 30 && index < 38) /* local */ index 708 drivers/hwmon/nct7802.c if (index >= 38 && index < 46 && !(reg & 0x01)) /* PECI 0 */ index 711 drivers/hwmon/nct7802.c if (index >= 0x46 && (!(reg & 0x02))) /* PECI 1 */ index 779 drivers/hwmon/nct7802.c struct attribute *attr, int index) index 786 drivers/hwmon/nct7802.c if (index < 6) /* VCC, VCORE */ index 793 drivers/hwmon/nct7802.c if (index >= 6 && index < 11 && (reg & 0x03) != 0x03) /* VSEN1 */ index 795 drivers/hwmon/nct7802.c if (index >= 11 && index < 16 && (reg & 0x0c) != 0x0c) /* VSEN2 */ index 797 drivers/hwmon/nct7802.c if (index >= 16 && (reg & 0x30) != 0x30) /* VSEN3 */ index 854 drivers/hwmon/nct7802.c struct attribute *attr, int index) index 858 drivers/hwmon/nct7802.c int fan = index / 4; /* 4 attributes per fan */ index 269 drivers/hwmon/nct7904.c int ret, volt, index; index 271 drivers/hwmon/nct7904.c index = nct7904_chan_to_index[channel]; index 276 drivers/hwmon/nct7904.c VSEN1_HV_REG + index * 2); index 280 drivers/hwmon/nct7904.c if (index < 14) index 288 drivers/hwmon/nct7904.c VSEN1_HV_LL_REG + index * 4); index 292 drivers/hwmon/nct7904.c if (index < 14) index 300 drivers/hwmon/nct7904.c VSEN1_HV_HL_REG + index * 4); index 304 drivers/hwmon/nct7904.c if (index < 14) index 312 drivers/hwmon/nct7904.c SMI_STS1_REG + (index >> 3)); index 315 drivers/hwmon/nct7904.c if (!data->vsen_alarm[index >> 3]) index 316 drivers/hwmon/nct7904.c data->vsen_alarm[index >> 3] = ret & 0xff; index 319 drivers/hwmon/nct7904.c data->vsen_alarm[index >> 3] |= (ret & 0xff); index 320 drivers/hwmon/nct7904.c *val = (data->vsen_alarm[index >> 3] >> (index & 0x07)) & 1; index 323 drivers/hwmon/nct7904.c data->vsen_alarm[index >> 3] ^= 1 << (index & 0x07); index 333 drivers/hwmon/nct7904.c int index = nct7904_chan_to_index[channel]; index 338 drivers/hwmon/nct7904.c if (channel > 0 && (data->vsen_mask & BIT(index))) index 343 drivers/hwmon/nct7904.c if (channel > 0 && (data->vsen_mask & BIT(index))) index 606 drivers/hwmon/nct7904.c int ret, index, tmp; index 608 drivers/hwmon/nct7904.c index = nct7904_chan_to_index[channel]; index 610 drivers/hwmon/nct7904.c if (index < 14) index 620 drivers/hwmon/nct7904.c VSEN1_LV_LL_REG + index * 4); index 626 drivers/hwmon/nct7904.c VSEN1_LV_LL_REG + index * 4, tmp); index 630 drivers/hwmon/nct7904.c VSEN1_HV_LL_REG + index * 4); index 635 drivers/hwmon/nct7904.c VSEN1_HV_LL_REG + index * 4, tmp); index 639 drivers/hwmon/nct7904.c VSEN1_LV_HL_REG + index * 4); index 645 drivers/hwmon/nct7904.c VSEN1_LV_HL_REG + index * 4, tmp); index 649 drivers/hwmon/nct7904.c VSEN1_HV_HL_REG + index * 4); index 654 drivers/hwmon/nct7904.c VSEN1_HV_HL_REG + index * 4, tmp); index 869 drivers/hwmon/npcm750-pwm-fan.c u8 index, ch; index 900 drivers/hwmon/npcm750-pwm-fan.c index = fan_ch[ch]; index 901 drivers/hwmon/npcm750-pwm-fan.c data->fan_present[index] = true; index 902 drivers/hwmon/npcm750-pwm-fan.c data->fan_dev[index].fan_st_flg = FAN_INIT; index 112 drivers/hwmon/nsa320-hwmon.c int channel = to_sensor_dev_attr(attr)->index; index 237 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_1 *)sensors->temp.data) + sattr->index; index 273 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_2 *)sensors->temp.data) + sattr->index; index 324 drivers/hwmon/occ/common.c freq = ((struct freq_sensor_1 *)sensors->freq.data) + sattr->index; index 354 drivers/hwmon/occ/common.c freq = ((struct freq_sensor_2 *)sensors->freq.data) + sattr->index; index 384 drivers/hwmon/occ/common.c power = ((struct power_sensor_1 *)sensors->power.data) + sattr->index; index 431 drivers/hwmon/occ/common.c power = ((struct power_sensor_2 *)sensors->power.data) + sattr->index; index 470 drivers/hwmon/occ/common.c power = ((struct power_sensor_a0 *)sensors->power.data) + sattr->index; index 550 drivers/hwmon/occ/common.c caps = ((struct caps_sensor_2 *)sensors->caps.data) + sattr->index; index 600 drivers/hwmon/occ/common.c caps = ((struct caps_sensor_3 *)sensors->caps.data) + sattr->index; index 669 drivers/hwmon/occ/common.c sattr->index; index 712 drivers/hwmon/occ/common.c .index = _index, \ index 38 drivers/hwmon/occ/sysfs.c switch (sattr->index) { index 249 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", FAN_FROM_REG(data->fan[attr->index], index 250 drivers/hwmon/pc87360.c FAN_DIV_FROM_REG(data->fan_status[attr->index]))); index 257 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", FAN_FROM_REG(data->fan_min[attr->index], index 258 drivers/hwmon/pc87360.c FAN_DIV_FROM_REG(data->fan_status[attr->index]))); index 266 drivers/hwmon/pc87360.c FAN_DIV_FROM_REG(data->fan_status[attr->index])); index 274 drivers/hwmon/pc87360.c FAN_STATUS_FROM_REG(data->fan_status[attr->index])); index 291 drivers/hwmon/pc87360.c FAN_DIV_FROM_REG(data->fan_status[attr->index])); index 295 drivers/hwmon/pc87360.c && (data->fan_status[attr->index] & 0x60) != 0x60) { index 297 drivers/hwmon/pc87360.c data->fan[attr->index] >>= 1; index 298 drivers/hwmon/pc87360.c data->fan_status[attr->index] += 0x20; index 300 drivers/hwmon/pc87360.c data->fan_min[attr->index] = fan_min > 255 ? 255 : fan_min; index 302 drivers/hwmon/pc87360.c PC87360_REG_FAN_MIN(attr->index), index 303 drivers/hwmon/pc87360.c data->fan_min[attr->index]); index 307 drivers/hwmon/pc87360.c PC87360_REG_FAN_STATUS(attr->index), index 308 drivers/hwmon/pc87360.c data->fan_status[attr->index] & 0xF9); index 349 drivers/hwmon/pc87360.c PWM_FROM_REG(data->pwm[attr->index], index 351 drivers/hwmon/pc87360.c attr->index))); index 366 drivers/hwmon/pc87360.c data->pwm[attr->index] = PWM_TO_REG(val, index 367 drivers/hwmon/pc87360.c FAN_CONFIG_INVERT(data->fan_conf, attr->index)); index 368 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_FAN, NO_BANK, PC87360_REG_PWM(attr->index), index 369 drivers/hwmon/pc87360.c data->pwm[attr->index]); index 397 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in[attr->index], index 405 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[attr->index], index 413 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[attr->index], index 421 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", data->in_status[attr->index]); index 437 drivers/hwmon/pc87360.c data->in_min[attr->index] = IN_TO_REG(val, data->in_vref); index 438 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_IN, attr->index, PC87365_REG_IN_MIN, index 439 drivers/hwmon/pc87360.c data->in_min[attr->index]); index 457 drivers/hwmon/pc87360.c data->in_max[attr->index] = IN_TO_REG(val, index 459 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_IN, attr->index, PC87365_REG_IN_MAX, index 460 drivers/hwmon/pc87360.c data->in_max[attr->index]); index 533 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 541 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 648 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in[attr->index], index 656 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[attr->index], index 664 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[attr->index], index 672 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", IN_FROM_REG(data->in_crit[attr->index-11], index 680 drivers/hwmon/pc87360.c return sprintf(buf, "%u\n", data->in_status[attr->index]); index 697 drivers/hwmon/pc87360.c data->in_min[attr->index] = IN_TO_REG(val, data->in_vref); index 698 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_IN, attr->index, PC87365_REG_TEMP_MIN, index 699 drivers/hwmon/pc87360.c data->in_min[attr->index]); index 718 drivers/hwmon/pc87360.c data->in_max[attr->index] = IN_TO_REG(val, data->in_vref); index 719 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_IN, attr->index, PC87365_REG_TEMP_MAX, index 720 drivers/hwmon/pc87360.c data->in_max[attr->index]); index 738 drivers/hwmon/pc87360.c data->in_crit[attr->index-11] = IN_TO_REG(val, data->in_vref); index 739 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_IN, attr->index, PC87365_REG_TEMP_CRIT, index 740 drivers/hwmon/pc87360.c data->in_crit[attr->index-11]); index 785 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 794 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 803 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 849 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); index 857 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[attr->index])); index 865 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[attr->index])); index 874 drivers/hwmon/pc87360.c TEMP_FROM_REG(data->temp_crit[attr->index])); index 882 drivers/hwmon/pc87360.c return sprintf(buf, "%d\n", data->temp_status[attr->index]); index 899 drivers/hwmon/pc87360.c data->temp_min[attr->index] = TEMP_TO_REG(val); index 900 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_TEMP, attr->index, PC87365_REG_TEMP_MIN, index 901 drivers/hwmon/pc87360.c data->temp_min[attr->index]); index 920 drivers/hwmon/pc87360.c data->temp_max[attr->index] = TEMP_TO_REG(val); index 921 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_TEMP, attr->index, PC87365_REG_TEMP_MAX, index 922 drivers/hwmon/pc87360.c data->temp_max[attr->index]); index 941 drivers/hwmon/pc87360.c data->temp_crit[attr->index] = TEMP_TO_REG(val); index 942 drivers/hwmon/pc87360.c pc87360_write_value(data, LD_TEMP, attr->index, PC87365_REG_TEMP_CRIT, index 943 drivers/hwmon/pc87360.c data->temp_crit[attr->index]); index 994 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 1004 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 1014 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 1042 drivers/hwmon/pc87360.c unsigned nr = to_sensor_dev_attr(devattr)->index; index 391 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 400 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 409 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 419 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 430 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 568 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 582 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 603 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 612 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 695 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 704 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 713 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 722 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 731 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 741 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 752 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 763 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 773 drivers/hwmon/pc87427.c int nr = to_sensor_dev_attr(devattr)->index; index 64 drivers/hwmon/pmbus/inspur-ipsps.c reg = ipsps_regs[attr->index]; index 86 drivers/hwmon/pmbus/inspur-ipsps.c reg = ipsps_regs[attr->index]; index 107 drivers/hwmon/pmbus/inspur-ipsps.c reg = ipsps_regs[attr->index]; index 139 drivers/hwmon/pmbus/inspur-ipsps.c reg = ipsps_regs[attr->index]; index 75 drivers/hwmon/pmbus/isl68137.c return isl68137_avs_enable_show_page(client, attr->index, buf); index 85 drivers/hwmon/pmbus/isl68137.c return isl68137_avs_enable_store_page(client, attr->index, buf, count); index 900 drivers/hwmon/pmbus/pmbus_core.c int index) index 904 drivers/hwmon/pmbus/pmbus_core.c u16 reg = (index >> 16) & 0xffff; index 905 drivers/hwmon/pmbus/pmbus_core.c u16 mask = index & 0xffff; index 942 drivers/hwmon/pmbus/pmbus_core.c val = pmbus_get_boolean(data, boolean, attr->index); index 1041 drivers/hwmon/pmbus/pmbus_core.c a->index = idx; index 1111 drivers/hwmon/pmbus/pmbus_core.c const char *lstring, int index) index 1123 drivers/hwmon/pmbus/pmbus_core.c if (!index) index 1127 drivers/hwmon/pmbus/pmbus_core.c index); index 1179 drivers/hwmon/pmbus/pmbus_core.c const char *name, int index, int page, index 1191 drivers/hwmon/pmbus/pmbus_core.c curr = pmbus_add_sensor(data, name, l->attr, index, index 1199 drivers/hwmon/pmbus/pmbus_core.c l->alarm, index, index 1219 drivers/hwmon/pmbus/pmbus_core.c int index, int page, index 1228 drivers/hwmon/pmbus/pmbus_core.c ret = pmbus_add_label(data, name, index, attr->label, index 1233 drivers/hwmon/pmbus/pmbus_core.c base = pmbus_add_sensor(data, name, "input", index, page, attr->reg, index 1239 drivers/hwmon/pmbus/pmbus_core.c index, page, base, attr); index 1251 drivers/hwmon/pmbus/pmbus_core.c ret = pmbus_add_boolean(data, name, "alarm", index, index 1293 drivers/hwmon/pmbus/pmbus_core.c int index, i; index 1296 drivers/hwmon/pmbus/pmbus_core.c index = 1; index 1306 drivers/hwmon/pmbus/pmbus_core.c name, index, page, index 1310 drivers/hwmon/pmbus/pmbus_core.c index++; index 1808 drivers/hwmon/pmbus/pmbus_core.c struct pmbus_data *data, int index, int page, int id, index 1813 drivers/hwmon/pmbus/pmbus_core.c sensor = pmbus_add_sensor(data, "fan", "target", index, page, index 1824 drivers/hwmon/pmbus/pmbus_core.c sensor = pmbus_add_sensor(data, "pwm", NULL, index, page, index 1831 drivers/hwmon/pmbus/pmbus_core.c sensor = pmbus_add_sensor(data, "pwm", "enable", index, page, index 1845 drivers/hwmon/pmbus/pmbus_core.c int index = 1; index 1873 drivers/hwmon/pmbus/pmbus_core.c if (pmbus_add_sensor(data, "fan", "input", index, index 1881 drivers/hwmon/pmbus/pmbus_core.c ret = pmbus_add_fan_ctrl(client, data, index, index 1901 drivers/hwmon/pmbus/pmbus_core.c "alarm", index, NULL, NULL, base, index 1906 drivers/hwmon/pmbus/pmbus_core.c "fault", index, NULL, NULL, base, index 1911 drivers/hwmon/pmbus/pmbus_core.c index++; index 70 drivers/hwmon/pmbus/ucd9000.c u8 index; index 385 drivers/hwmon/pmbus/ucd9000.c *val = !!(buffer[1] & BIT(entry->index)); index 451 drivers/hwmon/pmbus/ucd9000.c entries[i].index = i; index 176 drivers/hwmon/powr1220.c int adc_val = powr1220_read_adc(dev, attr->index); index 191 drivers/hwmon/powr1220.c return sprintf(buf, "%d\n", data->adc_maxes[attr->index]); index 201 drivers/hwmon/powr1220.c return sprintf(buf, "%s\n", input_names[attr->index]); index 93 drivers/hwmon/s3c-hwmon.c ret = s3c_hwmon_read_ch(dev, adc, sa->index); index 160 drivers/hwmon/s3c-hwmon.c cfg = pdata->in[sen_attr->index]; index 162 drivers/hwmon/s3c-hwmon.c ret = s3c_hwmon_read_ch(dev, hwmon, sen_attr->index); index 188 drivers/hwmon/s3c-hwmon.c cfg = pdata->in[sen_attr->index]; index 218 drivers/hwmon/s3c-hwmon.c attr->index = channel; index 236 drivers/hwmon/s3c-hwmon.c attr->index = channel; index 211 drivers/hwmon/sch5627.c val = reg_to_temp(data->temp[attr->index]); index 224 drivers/hwmon/sch5627.c return snprintf(buf, PAGE_SIZE, "%d\n", data->temp[attr->index] == 0); index 234 drivers/hwmon/sch5627.c val = reg_to_temp_limit(data->temp_max[attr->index]); index 245 drivers/hwmon/sch5627.c val = reg_to_temp_limit(data->temp_crit[attr->index]); index 259 drivers/hwmon/sch5627.c val = reg_to_rpm(data->fan[attr->index]); index 276 drivers/hwmon/sch5627.c data->fan[attr->index] == 0xffff); index 284 drivers/hwmon/sch5627.c int val = reg_to_rpm(data->fan_min[attr->index]); index 302 drivers/hwmon/sch5627.c data->in[attr->index] * SCH5627_REG_IN_FACTOR[attr->index], index 313 drivers/hwmon/sch5627.c SCH5627_IN_LABELS[attr->index]); index 177 drivers/hwmon/sch5636.c data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index], index 188 drivers/hwmon/sch5636.c SCH5636_IN_LABELS[attr->index]); index 201 drivers/hwmon/sch5636.c val = (data->temp_val[attr->index] - 64) * 1000; index 215 drivers/hwmon/sch5636.c val = (data->temp_ctrl[attr->index] & SCH5636_TEMP_WORKING) ? 0 : 1; index 229 drivers/hwmon/sch5636.c val = (data->temp_ctrl[attr->index] & SCH5636_TEMP_ALARM) ? 1 : 0; index 243 drivers/hwmon/sch5636.c val = reg_to_rpm(data->fan_val[attr->index]); index 260 drivers/hwmon/sch5636.c val = (data->fan_ctrl[attr->index] & SCH5636_FAN_NOT_PRESENT) ? 1 : 0; index 274 drivers/hwmon/sch5636.c val = (data->fan_ctrl[attr->index] & SCH5636_FAN_ALARM) ? 1 : 0; index 685 drivers/hwmon/sht15.c u8 bit = to_sensor_dev_attr(attr)->index; index 154 drivers/hwmon/sht3x.c size_t index; index 161 drivers/hwmon/sht3x.c for (index = 1; index < number_of_modes; index++) { index 162 drivers/hwmon/sht3x.c if (mode_to_update_interval[index] <= value) index 163 drivers/hwmon/sht3x.c return index; index 288 drivers/hwmon/sht3x.c u8 index; index 296 drivers/hwmon/sht3x.c for (index = 0; index < SHT3X_NUM_LIMIT_CMD; index++) { index 297 drivers/hwmon/sht3x.c commands = &limit_commands[index]; index 308 drivers/hwmon/sht3x.c data->temperature_limits[index] = temperature; index 309 drivers/hwmon/sht3x.c data->humidity_limits[index] = humidity; index 320 drivers/hwmon/sht3x.c u8 index = to_sensor_dev_attr(attr)->index; index 321 drivers/hwmon/sht3x.c int temperature_limit = data->temperature_limits[index]; index 331 drivers/hwmon/sht3x.c u8 index = to_sensor_dev_attr(attr)->index; index 332 drivers/hwmon/sht3x.c u32 humidity_limit = data->humidity_limits[index]; index 342 drivers/hwmon/sht3x.c u8 index, index 354 drivers/hwmon/sht3x.c commands = &limit_commands[index]; index 381 drivers/hwmon/sht3x.c data->temperature_limits[index] = temperature; index 382 drivers/hwmon/sht3x.c data->humidity_limits[index] = humidity; index 394 drivers/hwmon/sht3x.c u8 index = to_sensor_dev_attr(attr)->index; index 403 drivers/hwmon/sht3x.c ret = limit_store(dev, count, index, temperature, index 404 drivers/hwmon/sht3x.c data->humidity_limits[index]); index 418 drivers/hwmon/sht3x.c u8 index = to_sensor_dev_attr(attr)->index; index 426 drivers/hwmon/sht3x.c ret = limit_store(dev, count, index, data->temperature_limits[index], index 216 drivers/hwmon/sis5595.c int nr = attr->index; index 225 drivers/hwmon/sis5595.c int nr = attr->index; index 234 drivers/hwmon/sis5595.c int nr = attr->index; index 243 drivers/hwmon/sis5595.c int nr = attr->index; index 263 drivers/hwmon/sis5595.c int nr = attr->index; index 364 drivers/hwmon/sis5595.c int nr = attr->index; index 374 drivers/hwmon/sis5595.c int nr = attr->index; index 384 drivers/hwmon/sis5595.c int nr = attr->index; index 404 drivers/hwmon/sis5595.c int nr = attr->index; index 419 drivers/hwmon/sis5595.c int nr = attr->index; index 491 drivers/hwmon/sis5595.c int nr = to_sensor_dev_attr(da)->index; index 276 drivers/hwmon/smm665.c static int smm665_convert(u16 adcval, int index) index 280 drivers/hwmon/smm665.c switch (index) { index 313 drivers/hwmon/smm665.c static int smm665_get_min(struct device *dev, int index) index 317 drivers/hwmon/smm665.c return data->alarm_min_limit[index]; index 320 drivers/hwmon/smm665.c static int smm665_get_max(struct device *dev, int index) index 324 drivers/hwmon/smm665.c return data->alarm_max_limit[index]; index 327 drivers/hwmon/smm665.c static int smm665_get_lcrit(struct device *dev, int index) index 331 drivers/hwmon/smm665.c return data->critical_min_limit[index]; index 334 drivers/hwmon/smm665.c static int smm665_get_crit(struct device *dev, int index) index 338 drivers/hwmon/smm665.c return data->critical_max_limit[index]; index 351 drivers/hwmon/smm665.c if (data->faults & (1 << attr->index)) index 362 drivers/hwmon/smm665.c int adc = attr->index; index 377 drivers/hwmon/smm665.c const int val = smm665_get_##what(dev, attr->index); \ index 164 drivers/hwmon/smsc47b397.c return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); index 188 drivers/hwmon/smsc47b397.c return sprintf(buf, "%d\n", fan_from_reg(data->fan[attr->index])); index 202 drivers/hwmon/smsc47m1.c int nr = attr->index; index 221 drivers/hwmon/smsc47m1.c int nr = attr->index; index 232 drivers/hwmon/smsc47m1.c return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index])); index 238 drivers/hwmon/smsc47m1.c int bitnr = to_sensor_dev_attr(devattr)->index; index 248 drivers/hwmon/smsc47m1.c return sprintf(buf, "%d\n", PWM_FROM_REG(data->pwm[attr->index])); index 256 drivers/hwmon/smsc47m1.c return sprintf(buf, "%d\n", PWM_EN_FROM_REG(data->pwm[attr->index])); index 272 drivers/hwmon/smsc47m1.c int nr = attr->index; index 309 drivers/hwmon/smsc47m1.c int nr = attr->index; index 374 drivers/hwmon/smsc47m1.c int nr = attr->index; index 401 drivers/hwmon/smsc47m1.c int nr = attr->index; index 173 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 182 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 191 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 200 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 222 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 270 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 279 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 288 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 298 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 321 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 343 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 353 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 438 drivers/hwmon/smsc47m192.c int nr = sensor_attr->index; index 197 drivers/hwmon/tc654.c int nr = to_sensor_dev_attr(da)->index; index 215 drivers/hwmon/tc654.c int nr = to_sensor_dev_attr(da)->index; index 228 drivers/hwmon/tc654.c int nr = to_sensor_dev_attr(da)->index; index 252 drivers/hwmon/tc654.c int nr = to_sensor_dev_attr(da)->index; index 272 drivers/hwmon/tc654.c int nr = to_sensor_dev_attr(da)->index; index 287 drivers/hwmon/tc654.c int nr = to_sensor_dev_attr(da)->index; index 166 drivers/hwmon/thmc50.c int nr = to_sensor_dev_attr(attr)->index; index 174 drivers/hwmon/thmc50.c int nr = to_sensor_dev_attr(attr)->index; index 183 drivers/hwmon/thmc50.c int nr = to_sensor_dev_attr(attr)->index; index 204 drivers/hwmon/thmc50.c int nr = to_sensor_dev_attr(attr)->index; index 213 drivers/hwmon/thmc50.c int nr = to_sensor_dev_attr(attr)->index; index 234 drivers/hwmon/thmc50.c int nr = to_sensor_dev_attr(attr)->index; index 242 drivers/hwmon/thmc50.c int index = to_sensor_dev_attr(attr)->index; index 245 drivers/hwmon/thmc50.c return sprintf(buf, "%u\n", (data->alarms >> index) & 1); index 62 drivers/hwmon/tmp103.c ret = regmap_read(regmap, sda->index, ®val); index 82 drivers/hwmon/tmp103.c ret = regmap_write(regmap, sda->index, tmp103_mc_to_reg(val)); index 282 drivers/hwmon/tmp401.c int index = to_sensor_dev_attr_2(devattr)->index; index 289 drivers/hwmon/tmp401.c tmp401_register_to_temp(data->temp[nr][index], data->config)); index 296 drivers/hwmon/tmp401.c int temp, index = to_sensor_dev_attr(devattr)->index; index 303 drivers/hwmon/tmp401.c temp = tmp401_register_to_temp(data->temp[3][index], data->config); index 314 drivers/hwmon/tmp401.c int mask = to_sensor_dev_attr_2(devattr)->index; index 328 drivers/hwmon/tmp401.c int index = to_sensor_dev_attr_2(devattr)->index; index 342 drivers/hwmon/tmp401.c regaddr = data->kind == tmp432 ? TMP432_TEMP_MSB_WRITE[nr][index] index 343 drivers/hwmon/tmp401.c : TMP401_TEMP_MSB_WRITE[nr][index]; index 350 drivers/hwmon/tmp401.c data->temp[nr][index] = reg; index 361 drivers/hwmon/tmp401.c int temp, index = to_sensor_dev_attr(devattr)->index; index 378 drivers/hwmon/tmp401.c temp = tmp401_register_to_temp(data->temp[3][index], data->config); index 100 drivers/hwmon/ultra45_env.c int fan_nr = to_sensor_dev_attr(attr)->index; index 118 drivers/hwmon/ultra45_env.c int fan_nr = to_sensor_dev_attr(attr)->index; index 142 drivers/hwmon/ultra45_env.c int fan_nr = to_sensor_dev_attr(attr)->index; index 148 drivers/hwmon/ultra45_env.c #define fan(index) \ index 149 drivers/hwmon/ultra45_env.c static SENSOR_DEVICE_ATTR(fan##index##_speed, S_IRUGO | S_IWUSR, \ index 150 drivers/hwmon/ultra45_env.c show_fan_speed, set_fan_speed, index); \ index 151 drivers/hwmon/ultra45_env.c static SENSOR_DEVICE_ATTR(fan##index##_fault, S_IRUGO, \ index 152 drivers/hwmon/ultra45_env.c show_fan_fault, NULL, index) index 165 drivers/hwmon/ultra45_env.c int temp_nr = to_sensor_dev_attr(attr)->index; index 186 drivers/hwmon/ultra45_env.c int index = to_sensor_dev_attr(attr)->index; index 191 drivers/hwmon/ultra45_env.c return sprintf(buf, "%d\n", (val & (1 << index)) ? 1 : 0); index 45 drivers/hwmon/vexpress-hwmon.c to_sensor_dev_attr(dev_attr)->index); index 65 drivers/hwmon/vexpress-hwmon.c to_sensor_dev_attr(dev_attr)->index)); index 69 drivers/hwmon/vexpress-hwmon.c struct attribute *attr, int index) index 57 drivers/hwmon/via-cputemp.c if (attr->index == SHOW_NAME) index 348 drivers/hwmon/via686a.c int nr = attr->index; index 356 drivers/hwmon/via686a.c int nr = attr->index; index 364 drivers/hwmon/via686a.c int nr = attr->index; index 372 drivers/hwmon/via686a.c int nr = attr->index; index 391 drivers/hwmon/via686a.c int nr = attr->index; index 428 drivers/hwmon/via686a.c int nr = attr->index; index 435 drivers/hwmon/via686a.c int nr = attr->index; index 442 drivers/hwmon/via686a.c int nr = attr->index; index 450 drivers/hwmon/via686a.c int nr = attr->index; index 470 drivers/hwmon/via686a.c int nr = attr->index; index 501 drivers/hwmon/via686a.c int nr = attr->index; index 509 drivers/hwmon/via686a.c int nr = attr->index; index 518 drivers/hwmon/via686a.c int nr = attr->index; index 525 drivers/hwmon/via686a.c int nr = attr->index; index 543 drivers/hwmon/via686a.c int nr = attr->index; index 581 drivers/hwmon/via686a.c int bitnr = to_sensor_dev_attr(attr)->index; index 346 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 377 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 420 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 451 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 496 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 527 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 602 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 633 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 757 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 771 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 821 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 834 drivers/hwmon/vt1211.c int ix = sensor_attr_2->index; index 186 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 196 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 206 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 216 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 236 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 403 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 412 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 421 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 431 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 451 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 497 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 507 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 517 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 527 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 550 drivers/hwmon/vt8231.c int nr = sensor_attr->index; index 611 drivers/hwmon/vt8231.c int bitnr = to_sensor_dev_attr(attr)->index; index 937 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 953 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 975 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1036 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1045 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1057 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1067 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1196 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1208 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1223 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1245 drivers/hwmon/w83627ehf.c data->temp_offset[sensor_attr->index] * 1000); index 1254 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1276 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1374 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1389 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1422 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1446 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1488 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1501 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1525 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; index 1618 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1628 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1654 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1667 drivers/hwmon/w83627ehf.c int nr = sensor_attr->index; \ index 1766 drivers/hwmon/w83627ehf.c !!(data->caseopen & to_sensor_dev_attr_2(attr)->index)); index 1818 drivers/hwmon/w83627ehf.c data->REG_FAN_STEP_OUTPUT[attr->index] != 0xff) index 2447 drivers/hwmon/w83627ehf.c data->REG_FAN_STEP_OUTPUT[attr->index] != 0xff) { index 479 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 486 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 493 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 501 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 520 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 668 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 676 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 685 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 713 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 724 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 736 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 748 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 770 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 844 drivers/hwmon/w83627hf.c int bitnr = to_sensor_dev_attr(attr)->index; index 905 drivers/hwmon/w83627hf.c int bitnr = to_sensor_dev_attr(attr)->index; index 914 drivers/hwmon/w83627hf.c int bitnr = to_sensor_dev_attr(attr)->index; index 979 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 994 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1038 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1047 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1085 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1094 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1123 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1137 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1173 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 1182 drivers/hwmon/w83627hf.c int nr = to_sensor_dev_attr(devattr)->index; index 74 drivers/hwmon/w83773g.c static int get_remote_temp(struct regmap *regmap, int index, long *val) index 80 drivers/hwmon/w83773g.c ret = regmap_read(regmap, W83773_TEMP_MSB[index], ®val_high); index 84 drivers/hwmon/w83773g.c ret = regmap_read(regmap, W83773_TEMP_LSB[index], ®val_low); index 92 drivers/hwmon/w83773g.c static int get_fault(struct regmap *regmap, int index, long *val) index 97 drivers/hwmon/w83773g.c ret = regmap_read(regmap, W83773_STATUS[index], ®val); index 105 drivers/hwmon/w83773g.c static int get_offset(struct regmap *regmap, int index, long *val) index 111 drivers/hwmon/w83773g.c ret = regmap_read(regmap, W83773_OFFSET_MSB[index], ®val_high); index 115 drivers/hwmon/w83773g.c ret = regmap_read(regmap, W83773_OFFSET_LSB[index], ®val_low); index 123 drivers/hwmon/w83773g.c static int set_offset(struct regmap *regmap, int index, long val) index 135 drivers/hwmon/w83773g.c ret = regmap_write(regmap, W83773_OFFSET_MSB[index], high_byte); index 139 drivers/hwmon/w83773g.c return regmap_write(regmap, W83773_OFFSET_LSB[index], low_byte); index 253 drivers/hwmon/w83781d.c (long)IN_FROM_REG(data->reg[attr->index])); \ index 265 drivers/hwmon/w83781d.c int nr = attr->index; \ index 306 drivers/hwmon/w83781d.c FAN_FROM_REG(data->reg[attr->index], \ index 307 drivers/hwmon/w83781d.c DIV_FROM_REG(data->fan_div[attr->index]))); \ index 318 drivers/hwmon/w83781d.c int nr = attr->index; index 352 drivers/hwmon/w83781d.c int nr = attr->index; \ index 370 drivers/hwmon/w83781d.c int nr = attr->index; \ index 452 drivers/hwmon/w83781d.c int bitnr = to_sensor_dev_attr(attr)->index; index 523 drivers/hwmon/w83781d.c int bitnr = to_sensor_dev_attr(attr)->index; index 532 drivers/hwmon/w83781d.c int bitnr = to_sensor_dev_attr(attr)->index; index 625 drivers/hwmon/w83781d.c (long) DIV_FROM_REG(data->fan_div[attr->index])); index 641 drivers/hwmon/w83781d.c int nr = attr->index; index 693 drivers/hwmon/w83781d.c return sprintf(buf, "%d\n", (int)data->pwm[attr->index]); index 709 drivers/hwmon/w83781d.c int nr = attr->index; index 774 drivers/hwmon/w83781d.c return sprintf(buf, "%d\n", (int)data->sens[attr->index]); index 783 drivers/hwmon/w83781d.c int nr = attr->index; index 360 drivers/hwmon/w83791d.c int nr = sensor_attr->index; \ index 377 drivers/hwmon/w83791d.c int nr = sensor_attr->index; \ index 438 drivers/hwmon/w83791d.c int bitnr = sensor_attr->index; index 450 drivers/hwmon/w83791d.c int bitnr = sensor_attr->index; index 484 drivers/hwmon/w83791d.c int bitnr = sensor_attr->index; index 526 drivers/hwmon/w83791d.c int nr = sensor_attr->index; \ index 540 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 560 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 577 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 716 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 727 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 757 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 768 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 824 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 834 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 865 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 875 drivers/hwmon/w83791d.c int nr = sensor_attr->index; index 928 drivers/hwmon/w83791d.c return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index])); index 937 drivers/hwmon/w83791d.c int nr = attr->index; index 959 drivers/hwmon/w83791d.c int index = attr->index; index 960 drivers/hwmon/w83791d.c return sprintf(buf, "%d\n", TEMP23_FROM_REG(data->temp_add[nr][index])); index 973 drivers/hwmon/w83791d.c int index = attr->index; index 980 drivers/hwmon/w83791d.c data->temp_add[nr][index] = TEMP23_TO_REG(val); index 981 drivers/hwmon/w83791d.c w83791d_write(client, W83791D_REG_TEMP_ADD[nr][index * 2], index 982 drivers/hwmon/w83791d.c data->temp_add[nr][index] >> 8); index 983 drivers/hwmon/w83791d.c w83791d_write(client, W83791D_REG_TEMP_ADD[nr][index * 2 + 1], index 984 drivers/hwmon/w83791d.c data->temp_add[nr][index] & 0x80); index 347 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 359 drivers/hwmon/w83792d.c int nr = sensor_attr->index; \ index 375 drivers/hwmon/w83792d.c int nr = sensor_attr->index; \ index 399 drivers/hwmon/w83792d.c int nr = sensor_attr->index - 1; \ index 413 drivers/hwmon/w83792d.c int nr = sensor_attr->index - 1; index 437 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 453 drivers/hwmon/w83792d.c int nr = sensor_attr->index - 1; index 495 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 504 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 531 drivers/hwmon/w83792d.c int index = sensor_attr->index; index 534 drivers/hwmon/w83792d.c (long)TEMP_ADD_FROM_REG(data->temp_add[nr][index], index 535 drivers/hwmon/w83792d.c data->temp_add[nr][index+1])); index 544 drivers/hwmon/w83792d.c int index = sensor_attr->index; index 555 drivers/hwmon/w83792d.c data->temp_add[nr][index] = TEMP_ADD_TO_REG_HIGH(val); index 556 drivers/hwmon/w83792d.c data->temp_add[nr][index+1] = TEMP_ADD_TO_REG_LOW(val); index 557 drivers/hwmon/w83792d.c w83792d_write_value(client, W83792D_REG_TEMP_ADD[nr][index], index 558 drivers/hwmon/w83792d.c data->temp_add[nr][index]); index 559 drivers/hwmon/w83792d.c w83792d_write_value(client, W83792D_REG_TEMP_ADD[nr][index+1], index 560 drivers/hwmon/w83792d.c data->temp_add[nr][index+1]); index 578 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 588 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 598 drivers/hwmon/w83792d.c int nr = sensor_attr->index - 1; index 622 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 647 drivers/hwmon/w83792d.c int nr = sensor_attr->index - 1; index 689 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 699 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 759 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 769 drivers/hwmon/w83792d.c int nr = sensor_attr->index - 1; index 799 drivers/hwmon/w83792d.c int nr = sensor_attr->index; index 809 drivers/hwmon/w83792d.c int nr = sensor_attr->index - 1; index 843 drivers/hwmon/w83792d.c int index = sensor_attr->index; index 845 drivers/hwmon/w83792d.c return sprintf(buf, "%ld\n", (long)data->sf2_points[index-1][nr-1]); index 855 drivers/hwmon/w83792d.c int index = sensor_attr->index - 1; index 867 drivers/hwmon/w83792d.c data->sf2_points[index][nr] = clamp_val(val, 0, 127); index 869 drivers/hwmon/w83792d.c W83792D_REG_POINTS[index][nr]) & 0x80; index 870 drivers/hwmon/w83792d.c w83792d_write_value(client, W83792D_REG_POINTS[index][nr], index 871 drivers/hwmon/w83792d.c mask_tmp|data->sf2_points[index][nr]); index 884 drivers/hwmon/w83792d.c int index = sensor_attr->index; index 887 drivers/hwmon/w83792d.c (((data->sf2_levels[index-1][nr]) * 100) / 15)); index 897 drivers/hwmon/w83792d.c int index = sensor_attr->index - 1; index 909 drivers/hwmon/w83792d.c data->sf2_levels[index][nr] = clamp_val((val * 15) / 100, 0, 15); index 910 drivers/hwmon/w83792d.c mask_tmp = w83792d_read_value(client, W83792D_REG_LEVELS[index][nr]) index 913 drivers/hwmon/w83792d.c level_tmp = data->sf2_levels[index][nr]; index 915 drivers/hwmon/w83792d.c level_tmp = data->sf2_levels[index][nr] << 4; index 916 drivers/hwmon/w83792d.c w83792d_write_value(client, W83792D_REG_LEVELS[index][nr], index 116 drivers/hwmon/w83793.c #define W83793_REG_BEEP(index) (0x53 + (index)) index 117 drivers/hwmon/w83793.c #define W83793_REG_ALARM(index) (0x4b + (index)) index 146 drivers/hwmon/w83793.c #define W83793_REG_FAN(index) (0x23 + 2 * (index)) /* High byte */ index 147 drivers/hwmon/w83793.c #define W83793_REG_FAN_MIN(index) (0x90 + 2 * (index)) /* High byte */ index 159 drivers/hwmon/w83793.c #define W83793_REG_PWM(index, nr) (((nr) == 0 ? 0xb3 : \ index 160 drivers/hwmon/w83793.c (nr) == 1 ? 0x220 : 0x218) + (index)) index 163 drivers/hwmon/w83793.c #define W83793_REG_TEMP_FAN_MAP(index) (0x201 + (index)) index 164 drivers/hwmon/w83793.c #define W83793_REG_TEMP_TOL(index) (0x208 + (index)) index 165 drivers/hwmon/w83793.c #define W83793_REG_TEMP_CRUISE(index) (0x210 + (index)) index 166 drivers/hwmon/w83793.c #define W83793_REG_PWM_STOP_TIME(index) (0x228 + (index)) index 167 drivers/hwmon/w83793.c #define W83793_REG_SF2_TEMP(index, nr) (0x230 + ((index) << 4) + (nr)) index 168 drivers/hwmon/w83793.c #define W83793_REG_SF2_PWM(index, nr) (0x238 + ((index) << 4) + (nr)) index 326 drivers/hwmon/w83793.c int index = sensor_attr->index; index 328 drivers/hwmon/w83793.c return sprintf(buf, "%d\n", vid_from_reg(data->vid[index], data->vrm)); index 359 drivers/hwmon/w83793.c int index = sensor_attr->index >> 3; index 360 drivers/hwmon/w83793.c int bit = sensor_attr->index & 0x07; index 364 drivers/hwmon/w83793.c val = (data->alarms[index] >> (bit)) & 1; index 366 drivers/hwmon/w83793.c val = (data->beeps[index] >> (bit)) & 1; index 380 drivers/hwmon/w83793.c int index = sensor_attr->index >> 3; index 381 drivers/hwmon/w83793.c int shift = sensor_attr->index & 0x07; index 394 drivers/hwmon/w83793.c data->beeps[index] = w83793_read_value(client, W83793_REG_BEEP(index)); index 395 drivers/hwmon/w83793.c data->beeps[index] &= ~beep_bit; index 396 drivers/hwmon/w83793.c data->beeps[index] |= val << shift; index 397 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_BEEP(index), data->beeps[index]); index 470 drivers/hwmon/w83793.c int index = sensor_attr->index; index 475 drivers/hwmon/w83793.c val = data->fan[index] & 0x0fff; index 477 drivers/hwmon/w83793.c val = data->fan_min[index] & 0x0fff; index 488 drivers/hwmon/w83793.c int index = sensor_attr->index; index 500 drivers/hwmon/w83793.c data->fan_min[index] = val; index 501 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_FAN_MIN(index), index 503 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_FAN_MIN(index) + 1, val & 0xff); index 517 drivers/hwmon/w83793.c int index = sensor_attr->index; index 520 drivers/hwmon/w83793.c val = TIME_FROM_REG(data->pwm_stop_time[index]); index 522 drivers/hwmon/w83793.c val = (data->pwm[index][nr] & 0x3f) << 2; index 536 drivers/hwmon/w83793.c int index = sensor_attr->index; index 547 drivers/hwmon/w83793.c data->pwm_stop_time[index] = val; index 548 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_PWM_STOP_TIME(index), index 552 drivers/hwmon/w83793.c data->pwm[index][nr] = index 553 drivers/hwmon/w83793.c w83793_read_value(client, W83793_REG_PWM(index, nr)) & 0xc0; index 554 drivers/hwmon/w83793.c data->pwm[index][nr] |= val; index 555 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_PWM(index, nr), index 556 drivers/hwmon/w83793.c data->pwm[index][nr]); index 569 drivers/hwmon/w83793.c int index = sensor_attr->index; index 571 drivers/hwmon/w83793.c long temp = TEMP_FROM_REG(data->temp[index][nr]); index 573 drivers/hwmon/w83793.c if (nr == TEMP_READ && index < 4) { /* Only TD1-TD4 have low bits */ index 574 drivers/hwmon/w83793.c int low = ((data->temp_low_bits >> (index * 2)) & 0x03) * 250; index 587 drivers/hwmon/w83793.c int index = sensor_attr->index; index 598 drivers/hwmon/w83793.c data->temp[index][nr] = TEMP_TO_REG(tmp, -128, 127); index 599 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_TEMP[index][nr], index 600 drivers/hwmon/w83793.c data->temp[index][nr]); index 628 drivers/hwmon/w83793.c int index = sensor_attr->index; index 629 drivers/hwmon/w83793.c u8 mask = (index < 4) ? 0x03 : 0x01; index 630 drivers/hwmon/w83793.c u8 shift = (index < 4) ? (2 * index) : (index - 4); index 632 drivers/hwmon/w83793.c index = (index < 4) ? 0 : 1; index 634 drivers/hwmon/w83793.c tmp = (data->temp_mode[index] >> shift) & mask; index 638 drivers/hwmon/w83793.c tmp = index == 0 ? 3 : 4; index 653 drivers/hwmon/w83793.c int index = sensor_attr->index; index 654 drivers/hwmon/w83793.c u8 mask = (index < 4) ? 0x03 : 0x01; index 655 drivers/hwmon/w83793.c u8 shift = (index < 4) ? (2 * index) : (index - 4); index 664 drivers/hwmon/w83793.c if ((val == 6) && (index < 4)) { index 666 drivers/hwmon/w83793.c } else if ((val == 3 && index < 4) index 667 drivers/hwmon/w83793.c || (val == 4 && index >= 4)) { index 674 drivers/hwmon/w83793.c index = (index < 4) ? 0 : 1; index 676 drivers/hwmon/w83793.c data->temp_mode[index] = index 677 drivers/hwmon/w83793.c w83793_read_value(client, W83793_REG_TEMP_MODE[index]); index 678 drivers/hwmon/w83793.c data->temp_mode[index] &= ~(mask << shift); index 679 drivers/hwmon/w83793.c data->temp_mode[index] |= val << shift; index 680 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_TEMP_MODE[index], index 681 drivers/hwmon/w83793.c data->temp_mode[index]); index 794 drivers/hwmon/w83793.c int index = sensor_attr->index; index 799 drivers/hwmon/w83793.c val = data->temp_fan_map[index]; index 802 drivers/hwmon/w83793.c val = ((data->pwm_enable >> index) & 0x01) + 2; index 804 drivers/hwmon/w83793.c val = TEMP_FROM_REG(data->temp_cruise[index] & 0x7f); index 806 drivers/hwmon/w83793.c val = data->tolerance[index >> 1] >> ((index & 0x01) ? 4 : 0); index 819 drivers/hwmon/w83793.c int index = sensor_attr->index; index 832 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_TEMP_FAN_MAP(index), val); index 833 drivers/hwmon/w83793.c data->temp_fan_map[index] = val; index 839 drivers/hwmon/w83793.c data->pwm_enable |= 1 << index; index 841 drivers/hwmon/w83793.c data->pwm_enable &= ~(1 << index); index 849 drivers/hwmon/w83793.c data->temp_cruise[index] = index 850 drivers/hwmon/w83793.c w83793_read_value(client, W83793_REG_TEMP_CRUISE(index)); index 851 drivers/hwmon/w83793.c data->temp_cruise[index] &= 0x80; index 852 drivers/hwmon/w83793.c data->temp_cruise[index] |= TEMP_TO_REG(val, 0, 0x7f); index 854 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_TEMP_CRUISE(index), index 855 drivers/hwmon/w83793.c data->temp_cruise[index]); index 857 drivers/hwmon/w83793.c int i = index >> 1; index 858 drivers/hwmon/w83793.c u8 shift = (index & 0x01) ? 4 : 0; index 878 drivers/hwmon/w83793.c int index = sensor_attr->index; index 881 drivers/hwmon/w83793.c return sprintf(buf, "%d\n", (data->sf2_pwm[index][nr] & 0x3f) << 2); index 893 drivers/hwmon/w83793.c int index = sensor_attr->index; index 903 drivers/hwmon/w83793.c data->sf2_pwm[index][nr] = index 904 drivers/hwmon/w83793.c w83793_read_value(client, W83793_REG_SF2_PWM(index, nr)) & 0xc0; index 905 drivers/hwmon/w83793.c data->sf2_pwm[index][nr] |= val; index 906 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_SF2_PWM(index, nr), index 907 drivers/hwmon/w83793.c data->sf2_pwm[index][nr]); index 918 drivers/hwmon/w83793.c int index = sensor_attr->index; index 922 drivers/hwmon/w83793.c TEMP_FROM_REG(data->sf2_temp[index][nr] & 0x7f)); index 934 drivers/hwmon/w83793.c int index = sensor_attr->index; index 944 drivers/hwmon/w83793.c data->sf2_temp[index][nr] = index 945 drivers/hwmon/w83793.c w83793_read_value(client, W83793_REG_SF2_TEMP(index, nr)) & 0x80; index 946 drivers/hwmon/w83793.c data->sf2_temp[index][nr] |= val; index 947 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_SF2_TEMP(index, nr), index 948 drivers/hwmon/w83793.c data->sf2_temp[index][nr]); index 960 drivers/hwmon/w83793.c int index = sensor_attr->index; index 962 drivers/hwmon/w83793.c u16 val = data->in[index][nr]; index 964 drivers/hwmon/w83793.c if (index < 3) { index 966 drivers/hwmon/w83793.c val += (data->in_low_bits[nr] >> (index * 2)) & 0x3; index 969 drivers/hwmon/w83793.c val = val * scale_in[index] + scale_in_add[index]; index 980 drivers/hwmon/w83793.c int index = sensor_attr->index; index 989 drivers/hwmon/w83793.c val = (val + scale_in[index] / 2) / scale_in[index]; index 992 drivers/hwmon/w83793.c if (index > 2) { index 995 drivers/hwmon/w83793.c val -= scale_in_add[index] / scale_in[index]; index 1001 drivers/hwmon/w83793.c data->in_low_bits[nr] &= ~(0x03 << (2 * index)); index 1002 drivers/hwmon/w83793.c data->in_low_bits[nr] |= (val & 0x03) << (2 * index); index 1007 drivers/hwmon/w83793.c data->in[index][nr] = val; index 1008 drivers/hwmon/w83793.c w83793_write_value(client, W83793_REG_IN[index][nr], index 1009 drivers/hwmon/w83793.c data->in[index][nr]); index 1016 drivers/hwmon/w83793.c #define SENSOR_ATTR_IN(index) \ index 1017 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \ index 1018 drivers/hwmon/w83793.c IN_READ, index), \ index 1019 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \ index 1020 drivers/hwmon/w83793.c store_in, IN_MAX, index), \ index 1021 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \ index 1022 drivers/hwmon/w83793.c store_in, IN_LOW, index), \ index 1023 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \ index 1024 drivers/hwmon/w83793.c NULL, ALARM_STATUS, index + ((index > 2) ? 1 : 0)), \ index 1025 drivers/hwmon/w83793.c SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \ index 1027 drivers/hwmon/w83793.c index + ((index > 2) ? 1 : 0)) index 1029 drivers/hwmon/w83793.c #define SENSOR_ATTR_FAN(index) \ index 1030 drivers/hwmon/w83793.c SENSOR_ATTR_2(fan##index##_alarm, S_IRUGO, show_alarm_beep, \ index 1031 drivers/hwmon/w83793.c NULL, ALARM_STATUS, index + 17), \ index 1032 drivers/hwmon/w83793.c SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \ index 1033 drivers/hwmon/w83793.c show_alarm_beep, store_beep, BEEP_ENABLE, index + 17), \ index 1034 drivers/hwmon/w83793.c SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ index 1035 drivers/hwmon/w83793.c NULL, FAN_INPUT, index - 1), \ index 1036 drivers/hwmon/w83793.c SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \ index 1037 drivers/hwmon/w83793.c show_fan, store_fan_min, FAN_MIN, index - 1) index 1039 drivers/hwmon/w83793.c #define SENSOR_ATTR_PWM(index) \ index 1040 drivers/hwmon/w83793.c SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ index 1041 drivers/hwmon/w83793.c store_pwm, PWM_DUTY, index - 1), \ index 1042 drivers/hwmon/w83793.c SENSOR_ATTR_2(pwm##index##_nonstop, S_IWUSR | S_IRUGO, \ index 1043 drivers/hwmon/w83793.c show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ index 1044 drivers/hwmon/w83793.c SENSOR_ATTR_2(pwm##index##_start, S_IWUSR | S_IRUGO, \ index 1045 drivers/hwmon/w83793.c show_pwm, store_pwm, PWM_START, index - 1), \ index 1046 drivers/hwmon/w83793.c SENSOR_ATTR_2(pwm##index##_stop_time, S_IWUSR | S_IRUGO, \ index 1047 drivers/hwmon/w83793.c show_pwm, store_pwm, PWM_STOP_TIME, index - 1) index 1049 drivers/hwmon/w83793.c #define SENSOR_ATTR_TEMP(index) \ index 1050 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_type, S_IRUGO | S_IWUSR, \ index 1051 drivers/hwmon/w83793.c show_temp_mode, store_temp_mode, NOT_USED, index - 1), \ index 1052 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ index 1053 drivers/hwmon/w83793.c NULL, TEMP_READ, index - 1), \ index 1054 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ index 1055 drivers/hwmon/w83793.c store_temp, TEMP_CRIT, index - 1), \ index 1056 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ index 1057 drivers/hwmon/w83793.c show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \ index 1058 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \ index 1059 drivers/hwmon/w83793.c store_temp, TEMP_WARN, index - 1), \ index 1060 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_warn_hyst, S_IRUGO | S_IWUSR, \ index 1061 drivers/hwmon/w83793.c show_temp, store_temp, TEMP_WARN_HYST, index - 1), \ index 1062 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ index 1063 drivers/hwmon/w83793.c show_alarm_beep, NULL, ALARM_STATUS, index + 11), \ index 1064 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \ index 1065 drivers/hwmon/w83793.c show_alarm_beep, store_beep, BEEP_ENABLE, index + 11), \ index 1066 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_channels_pwm, \ index 1068 drivers/hwmon/w83793.c TEMP_FAN_MAP, index - 1), \ index 1069 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_pwm_enable, S_IWUSR | S_IRUGO, \ index 1071 drivers/hwmon/w83793.c index - 1), \ index 1072 drivers/hwmon/w83793.c SENSOR_ATTR_2(thermal_cruise##index, S_IRUGO | S_IWUSR, \ index 1073 drivers/hwmon/w83793.c show_sf_ctrl, store_sf_ctrl, TEMP_CRUISE, index - 1), \ index 1074 drivers/hwmon/w83793.c SENSOR_ATTR_2(tolerance##index, S_IRUGO | S_IWUSR, show_sf_ctrl,\ index 1075 drivers/hwmon/w83793.c store_sf_ctrl, TEMP_TOLERANCE, index - 1), \ index 1076 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point1_pwm, S_IRUGO | S_IWUSR, \ index 1077 drivers/hwmon/w83793.c show_sf2_pwm, store_sf2_pwm, 0, index - 1), \ index 1078 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point2_pwm, S_IRUGO | S_IWUSR, \ index 1079 drivers/hwmon/w83793.c show_sf2_pwm, store_sf2_pwm, 1, index - 1), \ index 1080 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point3_pwm, S_IRUGO | S_IWUSR, \ index 1081 drivers/hwmon/w83793.c show_sf2_pwm, store_sf2_pwm, 2, index - 1), \ index 1082 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point4_pwm, S_IRUGO | S_IWUSR, \ index 1083 drivers/hwmon/w83793.c show_sf2_pwm, store_sf2_pwm, 3, index - 1), \ index 1084 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point5_pwm, S_IRUGO | S_IWUSR, \ index 1085 drivers/hwmon/w83793.c show_sf2_pwm, store_sf2_pwm, 4, index - 1), \ index 1086 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point6_pwm, S_IRUGO | S_IWUSR, \ index 1087 drivers/hwmon/w83793.c show_sf2_pwm, store_sf2_pwm, 5, index - 1), \ index 1088 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point7_pwm, S_IRUGO | S_IWUSR, \ index 1089 drivers/hwmon/w83793.c show_sf2_pwm, store_sf2_pwm, 6, index - 1), \ index 1090 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point1_temp, S_IRUGO | S_IWUSR,\ index 1091 drivers/hwmon/w83793.c show_sf2_temp, store_sf2_temp, 0, index - 1), \ index 1092 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point2_temp, S_IRUGO | S_IWUSR,\ index 1093 drivers/hwmon/w83793.c show_sf2_temp, store_sf2_temp, 1, index - 1), \ index 1094 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point3_temp, S_IRUGO | S_IWUSR,\ index 1095 drivers/hwmon/w83793.c show_sf2_temp, store_sf2_temp, 2, index - 1), \ index 1096 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point4_temp, S_IRUGO | S_IWUSR,\ index 1097 drivers/hwmon/w83793.c show_sf2_temp, store_sf2_temp, 3, index - 1), \ index 1098 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point5_temp, S_IRUGO | S_IWUSR,\ index 1099 drivers/hwmon/w83793.c show_sf2_temp, store_sf2_temp, 4, index - 1), \ index 1100 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point6_temp, S_IRUGO | S_IWUSR,\ index 1101 drivers/hwmon/w83793.c show_sf2_temp, store_sf2_temp, 5, index - 1), \ index 1102 drivers/hwmon/w83793.c SENSOR_ATTR_2(temp##index##_auto_point7_temp, S_IRUGO | S_IWUSR,\ index 1103 drivers/hwmon/w83793.c show_sf2_temp, store_sf2_temp, 6, index - 1) index 118 drivers/hwmon/w83795.c #define IN_LSB_REG(index, type) \ index 119 drivers/hwmon/w83795.c (((type) == 1) ? W83795_REG_IN_HL_LSB[(index)] \ index 120 drivers/hwmon/w83795.c : (W83795_REG_IN_HL_LSB[(index)] + 1)) index 150 drivers/hwmon/w83795.c #define W83795_REG_FAN(index) (0x2E + (index)) index 151 drivers/hwmon/w83795.c #define W83795_REG_FAN_MIN_HL(index) (0xB6 + (index)) index 152 drivers/hwmon/w83795.c #define W83795_REG_FAN_MIN_LSB(index) (0xC4 + (index) / 2) index 153 drivers/hwmon/w83795.c #define W83795_REG_FAN_MIN_LSB_SHIFT(index) \ index 154 drivers/hwmon/w83795.c (((index) & 1) ? 4 : 0) index 160 drivers/hwmon/w83795.c #define W83795_REG_ALARM(index) (0x41 + (index)) index 162 drivers/hwmon/w83795.c #define W83795_REG_BEEP(index) (0x50 + (index)) index 170 drivers/hwmon/w83795.c #define W83795_REG_TFMR(index) (0x202 + (index)) index 173 drivers/hwmon/w83795.c #define W83795_REG_TSS(index) (0x209 + (index)) index 188 drivers/hwmon/w83795.c #define W83795_REG_PWM(index, nr) (0x210 + (nr) * 8 + (index)) index 190 drivers/hwmon/w83795.c #define W83795_REG_FTSH(index) (0x240 + (index) * 2) index 191 drivers/hwmon/w83795.c #define W83795_REG_FTSL(index) (0x241 + (index) * 2) index 198 drivers/hwmon/w83795.c #define W83795_REG_TTTI(index) (0x260 + (index)) index 199 drivers/hwmon/w83795.c #define W83795_REG_CTFS(index) (0x268 + (index)) index 200 drivers/hwmon/w83795.c #define W83795_REG_HT(index) (0x270 + (index)) index 204 drivers/hwmon/w83795.c #define W83795_REG_SF4_TEMP(temp_num, index) \ index 205 drivers/hwmon/w83795.c (0x280 + 0x10 * (temp_num) + (index)) index 206 drivers/hwmon/w83795.c #define W83795_REG_SF4_PWM(temp_num, index) \ index 207 drivers/hwmon/w83795.c (0x288 + 0x10 * (temp_num) + (index)) index 211 drivers/hwmon/w83795.c #define W83795_REG_DTS(index) (0x26 + (index)) index 212 drivers/hwmon/w83795.c #define W83795_REG_PECI_TBASE(index) (0x320 + (index)) index 218 drivers/hwmon/w83795.c #define W83795_REG_DTS_EXT(index) (0xB2 + (index)) index 223 drivers/hwmon/w83795.c #define W83795_REG_SETUP_PWM(index) (0x20C + (index)) index 225 drivers/hwmon/w83795.c static inline u16 in_from_reg(u8 index, u16 val) index 228 drivers/hwmon/w83795.c if (index >= 12 && index <= 14) index 234 drivers/hwmon/w83795.c static inline u16 in_to_reg(u8 index, u16 val) index 236 drivers/hwmon/w83795.c if (index >= 12 && index <= 14) index 707 drivers/hwmon/w83795.c int index = sensor_attr->index >> 3; index 708 drivers/hwmon/w83795.c int bit = sensor_attr->index & 0x07; index 712 drivers/hwmon/w83795.c val = (data->alarms[index] >> bit) & 1; index 714 drivers/hwmon/w83795.c val = (data->beeps[index] >> bit) & 1; index 727 drivers/hwmon/w83795.c int index = sensor_attr->index >> 3; index 728 drivers/hwmon/w83795.c int shift = sensor_attr->index & 0x07; index 738 drivers/hwmon/w83795.c data->beeps[index] = w83795_read(client, W83795_REG_BEEP(index)); index 739 drivers/hwmon/w83795.c data->beeps[index] &= ~beep_bit; index 740 drivers/hwmon/w83795.c data->beeps[index] |= val << shift; index 741 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_BEEP(index), data->beeps[index]); index 780 drivers/hwmon/w83795.c int index = sensor_attr->index; index 785 drivers/hwmon/w83795.c val = data->fan[index] & 0x0fff; index 787 drivers/hwmon/w83795.c val = data->fan_min[index] & 0x0fff; index 798 drivers/hwmon/w83795.c int index = sensor_attr->index; index 808 drivers/hwmon/w83795.c data->fan_min[index] = val; index 809 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_FAN_MIN_HL(index), (val >> 4) & 0xff); index 811 drivers/hwmon/w83795.c if (index & 1) { index 813 drivers/hwmon/w83795.c val |= w83795_read(client, W83795_REG_FAN_MIN_LSB(index)) index 816 drivers/hwmon/w83795.c val |= w83795_read(client, W83795_REG_FAN_MIN_LSB(index)) index 819 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_FAN_MIN_LSB(index), val & 0xff); index 832 drivers/hwmon/w83795.c int index = sensor_attr->index; index 840 drivers/hwmon/w83795.c val = time_from_reg(data->pwm[index][nr]); index 843 drivers/hwmon/w83795.c val = pwm_freq_from_reg(data->pwm[index][nr], data->clkin); index 846 drivers/hwmon/w83795.c val = data->pwm[index][nr]; index 862 drivers/hwmon/w83795.c int index = sensor_attr->index; index 880 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_PWM(index, nr), val); index 881 drivers/hwmon/w83795.c data->pwm[index][nr] = val; index 892 drivers/hwmon/w83795.c int index = sensor_attr->index; index 896 drivers/hwmon/w83795.c if (data->pwm_fcms[0] & (1 << index)) { index 902 drivers/hwmon/w83795.c if (data->pwm_tfmr[tmp] & (1 << index)) { index 922 drivers/hwmon/w83795.c int index = sensor_attr->index; index 943 drivers/hwmon/w83795.c data->pwm_fcms[0] &= ~(1 << index); index 947 drivers/hwmon/w83795.c data->pwm_tfmr[i] &= ~(1 << index); index 953 drivers/hwmon/w83795.c data->pwm_fcms[0] |= (1 << index); index 965 drivers/hwmon/w83795.c int index = to_sensor_dev_attr_2(attr)->index; index 968 drivers/hwmon/w83795.c if (data->pwm_fomc & (1 << index)) index 1003 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1004 drivers/hwmon/w83795.c u8 tmp = data->temp_src[index / 2]; index 1006 drivers/hwmon/w83795.c if (index & 1) index 1012 drivers/hwmon/w83795.c if (tmp >= 4 || tss_map[tmp][index] == TSS_MAP_RESERVED) index 1015 drivers/hwmon/w83795.c return sprintf(buf, "%u\n", (unsigned int)tss_map[tmp][index] + 1); index 1026 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1029 drivers/hwmon/w83795.c u8 val = index / 2; index 1037 drivers/hwmon/w83795.c if (tss_map[tmp][index] == channel - 1) index 1044 drivers/hwmon/w83795.c if (index & 1) { index 1067 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1072 drivers/hwmon/w83795.c tmp = (data->pwm_fcms[1] >> index) & 1; index 1079 drivers/hwmon/w83795.c tmp = data->pwm_tfmr[index]; index 1095 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1107 drivers/hwmon/w83795.c data->pwm_fcms[1] &= ~(1 << index); index 1108 drivers/hwmon/w83795.c data->pwm_fcms[1] |= tmp << index; index 1115 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_TFMR(index), tmp); index 1116 drivers/hwmon/w83795.c data->pwm_tfmr[index] = tmp; index 1132 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1137 drivers/hwmon/w83795.c tmp = fan_from_reg(data->target_speed[index]); index 1156 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1166 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_FTSH(index), val >> 4); index 1167 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_FTSL(index), (val << 4) & 0xf0); index 1168 drivers/hwmon/w83795.c data->target_speed[index] = val; index 1189 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1190 drivers/hwmon/w83795.c long tmp = temp_from_reg(data->pwm_temp[index][nr]); index 1204 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1216 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_TTTI(index), val); index 1220 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_CTFS(index), val); index 1224 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_HT(index)); index 1227 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_HT(index), tmp); index 1231 drivers/hwmon/w83795.c tmp = w83795_read(client, W83795_REG_HT(index)); index 1234 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_HT(index), tmp); index 1237 drivers/hwmon/w83795.c data->pwm_temp[index][nr] = val; index 1250 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1252 drivers/hwmon/w83795.c return sprintf(buf, "%u\n", data->sf4_reg[index][SF4_PWM][nr]); index 1264 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1271 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_SF4_PWM(index, nr), val); index 1272 drivers/hwmon/w83795.c data->sf4_reg[index][SF4_PWM][nr] = val; index 1285 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1288 drivers/hwmon/w83795.c (data->sf4_reg[index][SF4_TEMP][nr]) * 1000); index 1300 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1308 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_SF4_TEMP(index, nr), val); index 1309 drivers/hwmon/w83795.c data->sf4_reg[index][SF4_TEMP][nr] = val; index 1322 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1324 drivers/hwmon/w83795.c long temp = temp_from_reg(data->temp[index][nr]); index 1327 drivers/hwmon/w83795.c temp += (data->temp_read_vrlsb[index] >> 6) * 250; index 1338 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1347 drivers/hwmon/w83795.c data->temp[index][nr] = temp_to_reg(tmp, -128, 127); index 1348 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_TEMP[index][nr], data->temp[index][nr]); index 1373 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1375 drivers/hwmon/w83795.c long temp = temp_from_reg(data->dts[index]); index 1377 drivers/hwmon/w83795.c temp += (data->dts_read_vrlsb[index] >> 6) * 250; index 1421 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1424 drivers/hwmon/w83795.c if (data->temp_mode & (1 << index)) index 1441 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1455 drivers/hwmon/w83795.c data->temp_mode |= 1 << index; index 1459 drivers/hwmon/w83795.c data->temp_mode &= ~(1 << index); index 1462 drivers/hwmon/w83795.c reg_shift = 2 * index; index 1480 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1482 drivers/hwmon/w83795.c u16 val = data->in[index][nr]; index 1488 drivers/hwmon/w83795.c if ((index >= 17) && index 1489 drivers/hwmon/w83795.c !((data->has_gain >> (index - 17)) & 1)) index 1494 drivers/hwmon/w83795.c lsb_idx = IN_LSB_SHIFT_IDX[index][IN_LSB_IDX]; index 1497 drivers/hwmon/w83795.c IN_LSB_SHIFT_IDX[index][IN_LSB_SHIFT]) & 0x03; index 1498 drivers/hwmon/w83795.c if ((index >= 17) && index 1499 drivers/hwmon/w83795.c !((data->has_gain >> (index - 17)) & 1)) index 1503 drivers/hwmon/w83795.c val = in_from_reg(index, val); index 1515 drivers/hwmon/w83795.c int index = sensor_attr->index; index 1524 drivers/hwmon/w83795.c val = in_to_reg(index, val); index 1526 drivers/hwmon/w83795.c if ((index >= 17) && index 1527 drivers/hwmon/w83795.c !((data->has_gain >> (index - 17)) & 1)) index 1532 drivers/hwmon/w83795.c lsb_idx = IN_LSB_SHIFT_IDX[index][IN_LSB_IDX]; index 1534 drivers/hwmon/w83795.c tmp &= ~(0x03 << IN_LSB_SHIFT_IDX[index][IN_LSB_SHIFT]); index 1535 drivers/hwmon/w83795.c tmp |= (val & 0x03) << IN_LSB_SHIFT_IDX[index][IN_LSB_SHIFT]; index 1540 drivers/hwmon/w83795.c w83795_write(client, W83795_REG_IN[index][nr], tmp); index 1541 drivers/hwmon/w83795.c data->in[index][nr] = tmp; index 1609 drivers/hwmon/w83795.c #define SENSOR_ATTR_IN(index) { \ index 1610 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \ index 1611 drivers/hwmon/w83795.c IN_READ, index), \ index 1612 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \ index 1613 drivers/hwmon/w83795.c store_in, IN_MAX, index), \ index 1614 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \ index 1615 drivers/hwmon/w83795.c store_in, IN_LOW, index), \ index 1616 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \ index 1617 drivers/hwmon/w83795.c NULL, ALARM_STATUS, index + ((index > 14) ? 1 : 0)), \ index 1618 drivers/hwmon/w83795.c SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \ index 1620 drivers/hwmon/w83795.c index + ((index > 14) ? 1 : 0)) } index 1626 drivers/hwmon/w83795.c #define SENSOR_ATTR_FAN(index) { \ index 1627 drivers/hwmon/w83795.c SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ index 1628 drivers/hwmon/w83795.c NULL, FAN_INPUT, index - 1), \ index 1629 drivers/hwmon/w83795.c SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \ index 1630 drivers/hwmon/w83795.c show_fan, store_fan_min, FAN_MIN, index - 1), \ index 1631 drivers/hwmon/w83795.c SENSOR_ATTR_2(fan##index##_alarm, S_IRUGO, show_alarm_beep, \ index 1632 drivers/hwmon/w83795.c NULL, ALARM_STATUS, index + 31), \ index 1633 drivers/hwmon/w83795.c SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \ index 1634 drivers/hwmon/w83795.c show_alarm_beep, store_beep, BEEP_ENABLE, index + 31) } index 1636 drivers/hwmon/w83795.c #define SENSOR_ATTR_PWM(index) { \ index 1637 drivers/hwmon/w83795.c SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ index 1638 drivers/hwmon/w83795.c store_pwm, PWM_OUTPUT, index - 1), \ index 1639 drivers/hwmon/w83795.c SENSOR_ATTR_2(pwm##index##_enable, S_IWUSR | S_IRUGO, \ index 1640 drivers/hwmon/w83795.c show_pwm_enable, store_pwm_enable, NOT_USED, index - 1), \ index 1641 drivers/hwmon/w83795.c SENSOR_ATTR_2(pwm##index##_mode, S_IRUGO, \ index 1642 drivers/hwmon/w83795.c show_pwm_mode, NULL, NOT_USED, index - 1), \ index 1643 drivers/hwmon/w83795.c SENSOR_ATTR_2(pwm##index##_freq, S_IWUSR | S_IRUGO, \ index 1644 drivers/hwmon/w83795.c show_pwm, store_pwm, PWM_FREQ, index - 1), \ index 1645 drivers/hwmon/w83795.c SENSOR_ATTR_2(pwm##index##_nonstop, S_IWUSR | S_IRUGO, \ index 1646 drivers/hwmon/w83795.c show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ index 1647 drivers/hwmon/w83795.c SENSOR_ATTR_2(pwm##index##_start, S_IWUSR | S_IRUGO, \ index 1648 drivers/hwmon/w83795.c show_pwm, store_pwm, PWM_START, index - 1), \ index 1649 drivers/hwmon/w83795.c SENSOR_ATTR_2(pwm##index##_stop_time, S_IWUSR | S_IRUGO, \ index 1650 drivers/hwmon/w83795.c show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \ index 1651 drivers/hwmon/w83795.c SENSOR_ATTR_2(fan##index##_target, S_IWUSR | S_IRUGO, \ index 1652 drivers/hwmon/w83795.c show_fanin, store_fanin, FANIN_TARGET, index - 1) } index 1658 drivers/hwmon/w83795.c #define SENSOR_ATTR_DTS(index) { \ index 1659 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_type, S_IRUGO , \ index 1660 drivers/hwmon/w83795.c show_dts_mode, NULL, NOT_USED, index - 7), \ index 1661 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_dts, \ index 1662 drivers/hwmon/w83795.c NULL, NOT_USED, index - 7), \ index 1663 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_dts_ext, \ index 1665 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \ index 1667 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_dts_ext, \ index 1669 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ index 1671 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ index 1672 drivers/hwmon/w83795.c show_alarm_beep, NULL, ALARM_STATUS, index + 17), \ index 1673 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \ index 1674 drivers/hwmon/w83795.c show_alarm_beep, store_beep, BEEP_ENABLE, index + 17) } index 1680 drivers/hwmon/w83795.c #define SENSOR_ATTR_TEMP(index) { \ index 1681 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_type, S_IRUGO | (index < 5 ? S_IWUSR : 0), \ index 1682 drivers/hwmon/w83795.c show_temp_mode, store_temp_mode, NOT_USED, index - 1), \ index 1683 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ index 1684 drivers/hwmon/w83795.c NULL, TEMP_READ, index - 1), \ index 1685 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \ index 1686 drivers/hwmon/w83795.c store_temp, TEMP_CRIT, index - 1), \ index 1687 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \ index 1688 drivers/hwmon/w83795.c show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \ index 1689 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ index 1690 drivers/hwmon/w83795.c store_temp, TEMP_WARN, index - 1), \ index 1691 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ index 1692 drivers/hwmon/w83795.c show_temp, store_temp, TEMP_WARN_HYST, index - 1), \ index 1693 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ index 1695 drivers/hwmon/w83795.c index + (index > 4 ? 11 : 17)), \ index 1696 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \ index 1698 drivers/hwmon/w83795.c index + (index > 4 ? 11 : 17)), \ index 1699 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_pwm_enable, S_IWUSR | S_IRUGO, \ index 1701 drivers/hwmon/w83795.c TEMP_PWM_ENABLE, index - 1), \ index 1702 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_channels_pwm, S_IWUSR | S_IRUGO, \ index 1704 drivers/hwmon/w83795.c TEMP_PWM_FAN_MAP, index - 1), \ index 1705 drivers/hwmon/w83795.c SENSOR_ATTR_2(thermal_cruise##index, S_IWUSR | S_IRUGO, \ index 1706 drivers/hwmon/w83795.c show_temp_pwm, store_temp_pwm, TEMP_PWM_TTTI, index - 1), \ index 1707 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_warn, S_IWUSR | S_IRUGO, \ index 1708 drivers/hwmon/w83795.c show_temp_pwm, store_temp_pwm, TEMP_PWM_CTFS, index - 1), \ index 1709 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_warn_hyst, S_IWUSR | S_IRUGO, \ index 1710 drivers/hwmon/w83795.c show_temp_pwm, store_temp_pwm, TEMP_PWM_HCT, index - 1), \ index 1711 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_operation_hyst, S_IWUSR | S_IRUGO, \ index 1712 drivers/hwmon/w83795.c show_temp_pwm, store_temp_pwm, TEMP_PWM_HOT, index - 1), \ index 1713 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point1_pwm, S_IRUGO | S_IWUSR, \ index 1714 drivers/hwmon/w83795.c show_sf4_pwm, store_sf4_pwm, 0, index - 1), \ index 1715 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point2_pwm, S_IRUGO | S_IWUSR, \ index 1716 drivers/hwmon/w83795.c show_sf4_pwm, store_sf4_pwm, 1, index - 1), \ index 1717 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point3_pwm, S_IRUGO | S_IWUSR, \ index 1718 drivers/hwmon/w83795.c show_sf4_pwm, store_sf4_pwm, 2, index - 1), \ index 1719 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point4_pwm, S_IRUGO | S_IWUSR, \ index 1720 drivers/hwmon/w83795.c show_sf4_pwm, store_sf4_pwm, 3, index - 1), \ index 1721 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point5_pwm, S_IRUGO | S_IWUSR, \ index 1722 drivers/hwmon/w83795.c show_sf4_pwm, store_sf4_pwm, 4, index - 1), \ index 1723 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point6_pwm, S_IRUGO | S_IWUSR, \ index 1724 drivers/hwmon/w83795.c show_sf4_pwm, store_sf4_pwm, 5, index - 1), \ index 1725 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point7_pwm, S_IRUGO | S_IWUSR, \ index 1726 drivers/hwmon/w83795.c show_sf4_pwm, store_sf4_pwm, 6, index - 1), \ index 1727 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point1_temp, S_IRUGO | S_IWUSR,\ index 1728 drivers/hwmon/w83795.c show_sf4_temp, store_sf4_temp, 0, index - 1), \ index 1729 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point2_temp, S_IRUGO | S_IWUSR,\ index 1730 drivers/hwmon/w83795.c show_sf4_temp, store_sf4_temp, 1, index - 1), \ index 1731 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point3_temp, S_IRUGO | S_IWUSR,\ index 1732 drivers/hwmon/w83795.c show_sf4_temp, store_sf4_temp, 2, index - 1), \ index 1733 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point4_temp, S_IRUGO | S_IWUSR,\ index 1734 drivers/hwmon/w83795.c show_sf4_temp, store_sf4_temp, 3, index - 1), \ index 1735 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point5_temp, S_IRUGO | S_IWUSR,\ index 1736 drivers/hwmon/w83795.c show_sf4_temp, store_sf4_temp, 4, index - 1), \ index 1737 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point6_temp, S_IRUGO | S_IWUSR,\ index 1738 drivers/hwmon/w83795.c show_sf4_temp, store_sf4_temp, 5, index - 1), \ index 1739 drivers/hwmon/w83795.c SENSOR_ATTR_2(temp##index##_auto_point7_temp, S_IRUGO | S_IWUSR,\ index 1740 drivers/hwmon/w83795.c show_sf4_temp, store_sf4_temp, 6, index - 1) } index 118 drivers/hwmon/w83l785ts.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); index 227 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; \ index 241 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; \ index 281 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; \ index 294 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 317 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 332 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 411 drivers/hwmon/w83l786ng.c int index = sensor_attr->index; index 413 drivers/hwmon/w83l786ng.c return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[nr][index])); index 423 drivers/hwmon/w83l786ng.c int index = sensor_attr->index; index 434 drivers/hwmon/w83l786ng.c data->temp[nr][index] = TEMP_TO_REG(val); index 435 drivers/hwmon/w83l786ng.c w83l786ng_write_value(client, W83L786NG_REG_TEMP[nr][index], index 436 drivers/hwmon/w83l786ng.c data->temp[nr][index]); index 466 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; \ index 478 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 506 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 530 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 577 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 586 drivers/hwmon/w83l786ng.c int nr = to_sensor_dev_attr(attr)->index; index 34 drivers/hwmon/wm831x-hwmon.c int channel = to_sensor_dev_attr(attr)->index; index 48 drivers/hwmon/wm831x-hwmon.c int channel = to_sensor_dev_attr(attr)->index; index 65 drivers/hwmon/wm831x-hwmon.c int channel = to_sensor_dev_attr(attr)->index; index 29 drivers/hwmon/wm8350-hwmon.c int channel = to_sensor_dev_attr(attr)->index; index 41 drivers/hwmon/wm8350-hwmon.c int channel = to_sensor_dev_attr(attr)->index; index 339 drivers/hwspinlock/hwspinlock_core.c int of_hwspin_lock_get_id(struct device_node *np, int index) index 348 drivers/hwspinlock/hwspinlock_core.c ret = of_parse_phandle_with_args(np, "hwlocks", "#hwlock-cells", index, index 408 drivers/hwspinlock/hwspinlock_core.c int index; index 413 drivers/hwspinlock/hwspinlock_core.c index = of_property_match_string(np, "hwlock-names", name); index 414 drivers/hwspinlock/hwspinlock_core.c if (index < 0) index 415 drivers/hwspinlock/hwspinlock_core.c return index; index 417 drivers/hwspinlock/hwspinlock_core.c return of_hwspin_lock_get_id(np, index); index 413 drivers/hwtracing/coresight/coresight-etm-perf.c int index = 0; index 421 drivers/hwtracing/coresight/coresight-etm-perf.c if (++index > ETM_ADDR_CMP_MAX) index 893 drivers/hwtracing/coresight/coresight-etm4x.c int nr_comparator, index = 0; index 903 drivers/hwtracing/coresight/coresight-etm4x.c while (index < nr_comparator) { index 906 drivers/hwtracing/coresight/coresight-etm4x.c if (config->addr_type[index] == ETM_ADDR_TYPE_NONE && index 907 drivers/hwtracing/coresight/coresight-etm4x.c config->addr_type[index + 1] == ETM_ADDR_TYPE_NONE) index 908 drivers/hwtracing/coresight/coresight-etm4x.c return index; index 911 drivers/hwtracing/coresight/coresight-etm4x.c index += 2; index 915 drivers/hwtracing/coresight/coresight-etm4x.c if (config->addr_type[index] == ETM_ADDR_TYPE_NONE) index 916 drivers/hwtracing/coresight/coresight-etm4x.c return index; index 919 drivers/hwtracing/coresight/coresight-etm4x.c index += 1; index 693 drivers/hwtracing/coresight/coresight-stm.c int index = 0, found = 0; index 696 drivers/hwtracing/coresight/coresight-stm.c while (!of_property_read_string_index(np, "reg-names", index, &name)) { index 698 drivers/hwtracing/coresight/coresight-stm.c index++; index 710 drivers/hwtracing/coresight/coresight-stm.c return of_address_to_resource(np, index, res); index 351 drivers/hwtracing/coresight/coresight-tmc-etr.c int i, index, start; index 358 drivers/hwtracing/coresight/coresight-tmc-etr.c index = i % data->nr_pages; index 359 drivers/hwtracing/coresight/coresight-tmc-etr.c dma_sync_single_for_cpu(real_dev, data->daddrs[index], index 35 drivers/hwtracing/intel_th/gth.c unsigned int index; index 780 drivers/hwtracing/intel_th/gth.c gth->output[i].index = i; index 163 drivers/hwtracing/intel_th/msu.c unsigned int index; index 679 drivers/hwtracing/intel_th/msu.c mintctl |= msc->index ? M1BLIE : M0BLIE; index 701 drivers/hwtracing/intel_th/msu.c mintctl &= msc->index ? ~M1BLIE : ~M0BLIE; index 860 drivers/hwtracing/intel_th/msu.c reg &= msc->index ? MSUSTS_MSC1BLAST : MSUSTS_MSC0BLAST; index 1591 drivers/hwtracing/intel_th/msu.c vmf->page->index = vmf->pgoff; index 1734 drivers/hwtracing/intel_th/msu.c u32 mask = msc->index ? MSUSTS_MSC1BLAST : MSUSTS_MSC0BLAST; index 2086 drivers/hwtracing/intel_th/msu.c msc->index = thdev->id; index 2089 drivers/hwtracing/intel_th/msu.c msc->reg_base = base + msc->index * 0x100; index 323 drivers/i2c/busses/i2c-gpio.c unsigned int index, index 335 drivers/i2c/busses/i2c-gpio.c retdesc = devm_gpiod_get_index(dev, NULL, index, gflags); index 337 drivers/i2c/busses/i2c-gpio.c dev_dbg(dev, "got GPIO from index %u\n", index); index 37 drivers/i2c/busses/i2c-robotfuzz-osif.c int value, int index, void *data, int len) index 43 drivers/i2c/busses/i2c-robotfuzz-osif.c USB_DIR_IN, value, index, data, len, 2000); index 47 drivers/i2c/busses/i2c-robotfuzz-osif.c int value, int index, void *data, int len) index 54 drivers/i2c/busses/i2c-robotfuzz-osif.c value, index, data, len, 2000); index 40 drivers/i2c/busses/i2c-tiny-usb.c int value, int index, void *data, int len); index 43 drivers/i2c/busses/i2c-tiny-usb.c int value, int index, void *data, int len); index 174 drivers/i2c/busses/i2c-tiny-usb.c int value, int index, void *data, int len) index 186 drivers/i2c/busses/i2c-tiny-usb.c USB_DIR_IN, value, index, dmadata, len, 2000); index 194 drivers/i2c/busses/i2c-tiny-usb.c int value, int index, void *data, int len) index 206 drivers/i2c/busses/i2c-tiny-usb.c value, index, dmadata, len, 2000); index 416 drivers/i2c/busses/scx200_acb.c struct device *dev, int index) index 427 drivers/i2c/busses/scx200_acb.c snprintf(adapter->name, sizeof(adapter->name), "%s ACB%d", text, index); index 470 drivers/i2c/busses/scx200_acb.c unsigned long base, int index, struct device *dev) index 475 drivers/i2c/busses/scx200_acb.c iface = scx200_create_iface(text, dev, index); index 39 drivers/i2c/i2c-core-acpi.c int index; index 82 drivers/i2c/i2c-core-acpi.c if (lookup->index != -1 && lookup->n++ != lookup->index) index 187 drivers/i2c/i2c-core-acpi.c lookup.index = -1; index 348 drivers/i2c/i2c-core-acpi.c lookup.index = -1; index 467 drivers/i2c/i2c-core-acpi.c struct i2c_client *i2c_acpi_new_device(struct device *dev, int index, index 484 drivers/i2c/i2c-core-acpi.c lookup.index = index; index 51 drivers/i2c/i2c-dev.c static struct i2c_dev *i2c_dev_get_by_minor(unsigned index) index 57 drivers/i2c/i2c-dev.c if (i2c_dev->adap->nr == index) index 247 drivers/i3c/master/dw-i3c-master.c u8 index; index 879 drivers/i3c/master/dw-i3c-master.c COMMAND_PORT_DEV_INDEX(data->index) | index 905 drivers/i3c/master/dw-i3c-master.c DEV_ADDR_TABLE_LOC(master->datstartaddr, data->index)); index 907 drivers/i3c/master/dw-i3c-master.c master->addrs[data->index] = dev->info.dyn_addr; index 927 drivers/i3c/master/dw-i3c-master.c data->index = pos; index 934 drivers/i3c/master/dw-i3c-master.c DEV_ADDR_TABLE_LOC(master->datstartaddr, data->index)); index 947 drivers/i3c/master/dw-i3c-master.c DEV_ADDR_TABLE_LOC(master->datstartaddr, data->index)); index 950 drivers/i3c/master/dw-i3c-master.c master->addrs[data->index] = 0; index 951 drivers/i3c/master/dw-i3c-master.c master->free_pos |= BIT(data->index); index 994 drivers/i3c/master/dw-i3c-master.c COMMAND_PORT_DEV_INDEX(data->index) | index 1035 drivers/i3c/master/dw-i3c-master.c data->index = pos; index 1043 drivers/i3c/master/dw-i3c-master.c DEV_ADDR_TABLE_LOC(master->datstartaddr, data->index)); index 1056 drivers/i3c/master/dw-i3c-master.c DEV_ADDR_TABLE_LOC(master->datstartaddr, data->index)); index 1059 drivers/i3c/master/dw-i3c-master.c master->addrs[data->index] = 0; index 1060 drivers/i3c/master/dw-i3c-master.c master->free_pos |= BIT(data->index); index 136 drivers/ide/ali14xx.c driveNum = (drive->hwif->index << 1) + (drive->dn & 1); index 400 drivers/ide/cmd640.c static void __init check_prefetch(ide_drive_t *drive, unsigned int index) index 402 drivers/ide/cmd640.c u8 b = get_cmd640_reg(prefetch_regs[index]); index 404 drivers/ide/cmd640.c __set_prefetch_mode(drive, (b & prefetch_masks[index]) ? 0 : 1); index 411 drivers/ide/cmd640.c static void set_prefetch_mode(ide_drive_t *drive, unsigned int index, int mode) index 414 drivers/ide/cmd640.c int reg = prefetch_regs[index]; index 421 drivers/ide/cmd640.c b &= ~prefetch_masks[index]; /* enable prefetch */ index 423 drivers/ide/cmd640.c b |= prefetch_masks[index]; /* disable prefetch */ index 431 drivers/ide/cmd640.c static void display_clocks(unsigned int index) index 435 drivers/ide/cmd640.c active_count = active_counts[index]; index 438 drivers/ide/cmd640.c recovery_count = recovery_counts[index]; index 443 drivers/ide/cmd640.c printk(", clocks=%d/%d/%d\n", setup_counts[index], active_count, recovery_count); index 459 drivers/ide/cmd640.c static void program_drive_counts(ide_drive_t *drive, unsigned int index) index 462 drivers/ide/cmd640.c u8 setup_count = setup_counts[index]; index 463 drivers/ide/cmd640.c u8 active_count = active_counts[index]; index 464 drivers/ide/cmd640.c u8 recovery_count = recovery_counts[index]; index 472 drivers/ide/cmd640.c if (index > 1) { index 474 drivers/ide/cmd640.c unsigned int mate = index ^ 1; index 506 drivers/ide/cmd640.c setup_count |= __get_cmd640_reg(arttim_regs[index]) & 0x3f; index 507 drivers/ide/cmd640.c __put_cmd640_reg(arttim_regs[index], setup_count); index 508 drivers/ide/cmd640.c __put_cmd640_reg(drwtim_regs[index], pack_nibbles(active_count, recovery_count)); index 515 drivers/ide/cmd640.c static void cmd640_set_mode(ide_drive_t *drive, unsigned int index, index 562 drivers/ide/cmd640.c setup_counts[index] = setup_count; index 563 drivers/ide/cmd640.c active_counts[index] = active_count; index 564 drivers/ide/cmd640.c recovery_counts[index] = recovery_count; index 574 drivers/ide/cmd640.c program_drive_counts(drive, index); index 579 drivers/ide/cmd640.c unsigned int index = 0, cycle_time; index 595 drivers/ide/cmd640.c set_prefetch_mode(drive, index, pio & 1); index 602 drivers/ide/cmd640.c cmd640_set_mode(drive, index, pio, cycle_time); index 607 drivers/ide/cmd640.c display_clocks(index); index 60 drivers/ide/cy82c693.c u8 single = (mode & 0x10) >> 4, index = 0, data = 0; index 62 drivers/ide/cy82c693.c index = hwif->channel ? CY82_INDEX_CHANNEL1 : CY82_INDEX_CHANNEL0; index 66 drivers/ide/cy82c693.c outb(index, CY82_INDEX_PORT); index 240 drivers/ide/ide-cs.c 'a' + host->ports[0]->index * 2, index 58 drivers/ide/ide-disk.c u8 index, lba48, write; index 65 drivers/ide/ide-disk.c index = 8; index 70 drivers/ide/ide-disk.c index = 0; index 72 drivers/ide/ide-disk.c index = 4; index 75 drivers/ide/ide-disk.c cmd->tf.command = ide_rw_cmds[index + lba48 + write]; index 971 drivers/ide/ide-probe.c sprintf(disk->disk_name, "hd%c", 'a' + hwif->index * MAX_DRIVES + unit); index 1042 drivers/ide/ide-probe.c dev_set_name(dev, "%u.%u", hwif->index, i); index 1196 drivers/ide/ide-probe.c u8 j = (hwif->index * MAX_DRIVES) + i; index 1223 drivers/ide/ide-probe.c static void ide_init_port_data(ide_hwif_t *hwif, unsigned int index) index 1226 drivers/ide/ide-probe.c hwif->index = index; index 1227 drivers/ide/ide-probe.c hwif->major = ide_hwif_to_major[index]; index 1232 drivers/ide/ide-probe.c hwif->name[3] = '0' + index; index 1414 drivers/ide/ide-probe.c ide_free_port_slot(hwif->index); index 283 drivers/ide/ide.c int i = drive->hwif->index * MAX_DRIVES + unit; index 360 drivers/ide/ide.c if (ide_ignore_cable & (1 << hwif->index)) { index 67 drivers/ide/pdc202xx_new.c static u8 get_indexed_reg(ide_hwif_t *hwif, u8 index) index 71 drivers/ide/pdc202xx_new.c outb(index, hwif->dma_base + 1); index 74 drivers/ide/pdc202xx_new.c DBG("index[%02X] value[%02X]\n", index, value); index 83 drivers/ide/pdc202xx_new.c static void set_indexed_reg(ide_hwif_t *hwif, u8 index, u8 value) index 85 drivers/ide/pdc202xx_new.c outb(index, hwif->dma_base + 1); index 87 drivers/ide/pdc202xx_new.c DBG("index[%02X] value[%02X]\n", index, value); index 1638 drivers/ide/pmac.c hwif->index); index 95 drivers/ide/qd65xx.c u8 index = (( (QD_TIMREG(drive)) & 0x80 ) >> 7) | index 98 drivers/ide/qd65xx.c if (timings[index] != QD_TIMING(drive)) index 99 drivers/ide/qd65xx.c outb(timings[index] = QD_TIMING(drive), QD_TIMREG(drive)); index 87 drivers/idle/intel_idle.c struct cpuidle_driver *drv, int index); index 89 drivers/idle/intel_idle.c struct cpuidle_driver *drv, int index); index 898 drivers/idle/intel_idle.c struct cpuidle_driver *drv, int index) index 901 drivers/idle/intel_idle.c struct cpuidle_state *state = &drv->states[index]; index 929 drivers/idle/intel_idle.c return index; index 939 drivers/idle/intel_idle.c struct cpuidle_driver *drv, int index) index 942 drivers/idle/intel_idle.c unsigned long eax = flg2MWAIT(drv->states[index].flags); index 22 drivers/iio/accel/adxl345_core.c #define ADXL345_REG_OFS_AXIS(index) (ADXL345_REG_OFSX + (index)) index 29 drivers/iio/accel/adxl345_core.c #define ADXL345_REG_DATA_AXIS(index) \ index 30 drivers/iio/accel/adxl345_core.c (ADXL345_REG_DATAX0 + (index) * sizeof(__le16)) index 68 drivers/iio/accel/adxl345_core.c #define ADXL345_CHANNEL(index, axis) { \ index 72 drivers/iio/accel/adxl345_core.c .address = index, \ index 225 drivers/iio/accel/adxl372.c #define ADXL372_ACCEL_CHANNEL(index, reg, axis) { \ index 234 drivers/iio/accel/adxl372.c .scan_index = index, \ index 35 drivers/iio/accel/bma220_spi.c #define BMA220_ACCEL_CHANNEL(index, reg, axis) { \ index 42 drivers/iio/accel/bma220_spi.c .scan_index = index, \ index 155 drivers/iio/accel/bma220_spi.c int index = -1; index 163 drivers/iio/accel/bma220_spi.c index = i; index 166 drivers/iio/accel/bma220_spi.c if (index < 0) index 171 drivers/iio/accel/bma220_spi.c data->tx_buf[1] = index; index 310 drivers/iio/accel/hid-sensor-accel-3d.c st->accel[0].index, index 312 drivers/iio/accel/hid-sensor-accel-3d.c st->accel[1].index, st->accel[1].report_id, index 313 drivers/iio/accel/hid-sensor-accel-3d.c st->accel[2].index, st->accel[2].report_id); index 321 drivers/iio/accel/hid-sensor-accel-3d.c if (st->common_attributes.sensitivity.index < 0) { index 328 drivers/iio/accel/hid-sensor-accel-3d.c st->common_attributes.sensitivity.index, index 274 drivers/iio/accel/kxsd9.c #define KXSD9_ACCEL_CHAN(axis, index) \ index 284 drivers/iio/accel/kxsd9.c .scan_index = index, \ index 483 drivers/iio/accel/sca3000.c #define SCA3000_CHAN(index, mod) \ index 492 drivers/iio/accel/sca3000.c .address = index, \ index 493 drivers/iio/accel/sca3000.c .scan_index = index, \ index 1161 drivers/iio/accel/st_accel_core.c int index = st_sensors_get_settings_index(name, index 1164 drivers/iio/accel/st_accel_core.c if (index < 0) index 1167 drivers/iio/accel/st_accel_core.c return &st_accel_sensors_settings[index]; index 74 drivers/iio/accel/stk8312.c #define STK8312_ACCEL_CHANNEL(index, reg, axis) { \ index 82 drivers/iio/accel/stk8312.c .scan_index = index, \ index 380 drivers/iio/accel/stk8312.c int index = -1; index 389 drivers/iio/accel/stk8312.c index = i + 1; index 392 drivers/iio/accel/stk8312.c if (index < 0) index 396 drivers/iio/accel/stk8312.c ret = stk8312_set_range(data, index); index 404 drivers/iio/accel/stk8312.c index = i; index 407 drivers/iio/accel/stk8312.c if (index < 0) index 410 drivers/iio/accel/stk8312.c ret = stk8312_set_sample_rate(data, index); index 102 drivers/iio/accel/stk8ba50.c #define STK8BA50_ACCEL_CHANNEL(index, reg, axis) { \ index 110 drivers/iio/accel/stk8ba50.c .scan_index = index, \ index 255 drivers/iio/accel/stk8ba50.c int index = -1; index 265 drivers/iio/accel/stk8ba50.c index = i; index 268 drivers/iio/accel/stk8ba50.c if (index < 0) index 273 drivers/iio/accel/stk8ba50.c stk8ba50_scale_table[index].reg_val); index 278 drivers/iio/accel/stk8ba50.c data->range = index; index 284 drivers/iio/accel/stk8ba50.c index = i; index 287 drivers/iio/accel/stk8ba50.c if (index < 0) index 292 drivers/iio/accel/stk8ba50.c stk8ba50_samp_freq_table[index].reg_val); index 297 drivers/iio/accel/stk8ba50.c data->sample_rate_idx = index; index 57 drivers/iio/adc/ad7298.c #define AD7298_V_CHAN(index) \ index 61 drivers/iio/adc/ad7298.c .channel = index, \ index 64 drivers/iio/adc/ad7298.c .address = index, \ index 65 drivers/iio/adc/ad7298.c .scan_index = index, \ index 83 drivers/iio/adc/ad7923.c #define AD7923_V_CHAN(index, bits) \ index 87 drivers/iio/adc/ad7923.c .channel = index, \ index 90 drivers/iio/adc/ad7923.c .address = index, \ index 91 drivers/iio/adc/ad7923.c .scan_index = index, \ index 476 drivers/iio/adc/at91-sama5d2_adc.c int index = at91_adc_chan_xlate(indio_dev, chan); index 478 drivers/iio/adc/at91-sama5d2_adc.c if (index < 0) index 480 drivers/iio/adc/at91-sama5d2_adc.c return indio_dev->channels + index; index 676 drivers/iio/adc/cpcap-adc.c int index = req->channel; index 682 drivers/iio/adc/cpcap-adc.c index = req->bank_index; index 683 drivers/iio/adc/cpcap-adc.c req->result -= phase_tbl[index].offset; index 685 drivers/iio/adc/cpcap-adc.c req->result *= phase_tbl[index].multiplier; index 686 drivers/iio/adc/cpcap-adc.c if (phase_tbl[index].divider == 0) index 688 drivers/iio/adc/cpcap-adc.c req->result /= phase_tbl[index].divider; index 692 drivers/iio/adc/cpcap-adc.c index = req->bank_index; index 695 drivers/iio/adc/cpcap-adc.c req->result += conv_tbl[index].cal_offset; index 696 drivers/iio/adc/cpcap-adc.c req->result += conv_tbl[index].align_offset; index 697 drivers/iio/adc/cpcap-adc.c req->result *= phase_tbl[index].multiplier; index 698 drivers/iio/adc/cpcap-adc.c if (phase_tbl[index].divider == 0) index 700 drivers/iio/adc/cpcap-adc.c req->result /= phase_tbl[index].divider; index 701 drivers/iio/adc/cpcap-adc.c req->result += phase_tbl[index].offset; index 705 drivers/iio/adc/cpcap-adc.c if (req->result < phase_tbl[index].min) index 706 drivers/iio/adc/cpcap-adc.c req->result = phase_tbl[index].min; index 707 drivers/iio/adc/cpcap-adc.c else if (req->result > phase_tbl[index].max) index 708 drivers/iio/adc/cpcap-adc.c req->result = phase_tbl[index].max; index 747 drivers/iio/adc/cpcap-adc.c int index = req->channel; index 752 drivers/iio/adc/cpcap-adc.c index = CPCAP_ADC_BATTP; index 755 drivers/iio/adc/cpcap-adc.c index = CPCAP_ADC_BATTI; index 762 drivers/iio/adc/cpcap-adc.c if (conv_tbl[index].conv_type == IIO_CHAN_INFO_RAW) index 775 drivers/iio/adc/cpcap-adc.c req->result *= conv_tbl[index].multiplier; index 776 drivers/iio/adc/cpcap-adc.c if (conv_tbl[index].divider == 0) index 778 drivers/iio/adc/cpcap-adc.c req->result /= conv_tbl[index].divider; index 779 drivers/iio/adc/cpcap-adc.c req->result += conv_tbl[index].conv_offset; index 51 drivers/iio/adc/ep93xx_adc.c #define EP93XX_ADC_CH(index, dname, swcfg) { \ index 54 drivers/iio/adc/ep93xx_adc.c .channel = index, \ index 86 drivers/iio/adc/max1027.c #define MAX1027_V_CHAN(index) \ index 90 drivers/iio/adc/max1027.c .channel = index, \ index 93 drivers/iio/adc/max1027.c .scan_index = index + 1, \ index 675 drivers/iio/adc/qcom-spmi-adc5.c unsigned int index = 0; index 720 drivers/iio/adc/qcom-spmi-adc5.c iio_chan->address = index; index 723 drivers/iio/adc/qcom-spmi-adc5.c index++; index 741 drivers/iio/adc/qcom-spmi-vadc.c unsigned int index = 0; index 768 drivers/iio/adc/qcom-spmi-vadc.c vadc->chan_props[index] = prop; index 777 drivers/iio/adc/qcom-spmi-vadc.c iio_chan->address = index++; index 388 drivers/iio/adc/sc27xx_adc.c #define SC27XX_ADC_CHANNEL(index, mask) { \ index 390 drivers/iio/adc/sc27xx_adc.c .channel = index, \ index 83 drivers/iio/adc/ti-adc108s102.c #define ADC108S102_V_CHAN(index) \ index 87 drivers/iio/adc/ti-adc108s102.c .channel = index, \ index 90 drivers/iio/adc/ti-adc108s102.c .address = index, \ index 91 drivers/iio/adc/ti-adc108s102.c .scan_index = index, \ index 103 drivers/iio/adc/ti-ads124s08.c #define ADS124S08_CHAN(index) \ index 107 drivers/iio/adc/ti-ads124s08.c .channel = index, \ index 109 drivers/iio/adc/ti-ads124s08.c .scan_index = index, \ index 136 drivers/iio/adc/ti-ads7950.c #define TI_ADS7950_V_CHAN(index, bits) \ index 140 drivers/iio/adc/ti-ads7950.c .channel = index, \ index 143 drivers/iio/adc/ti-ads7950.c .address = index, \ index 145 drivers/iio/adc/ti-ads7950.c .scan_index = index, \ index 151 drivers/iio/adc/ti-ads8688.c #define ADS8688_CHAN(index) \ index 155 drivers/iio/adc/ti-ads8688.c .channel = index, \ index 159 drivers/iio/adc/ti-ads8688.c .scan_index = index, \ index 166 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->poll.index, sizeof(value), &value); index 187 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->poll.index, sizeof(value), &value); index 225 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->poll.index, sizeof(value), &value); index 231 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->poll.index, sizeof(value), &value); index 249 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->sensitivity.index, sizeof(value), index 277 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->sensitivity.index, sizeof(value), index 284 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->sensitivity.index, sizeof(value), index 415 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->report_latency.index, st->report_latency.report_id); index 424 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->report_latency.index, sizeof(value), index 436 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->report_latency.index, index 443 drivers/iio/common/hid-sensors/hid-sensor-attributes.c return st->report_latency.index > 0 && st->report_latency.report_id > 0; index 482 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (timestamp.index >= 0 && timestamp.report_id) { index 494 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->poll.index, st->poll.report_id, index 495 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->report_state.index, st->report_state.report_id, index 496 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->power_state.index, st->power_state.report_id, index 497 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->sensitivity.index, st->sensitivity.report_id, index 498 drivers/iio/common/hid-sensors/hid-sensor-attributes.c timestamp.index, timestamp.report_id); index 502 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->power_state.index, sizeof(value), &value); index 108 drivers/iio/common/hid-sensors/hid-sensor-trigger.c st->power_state.index, index 112 drivers/iio/common/hid-sensors/hid-sensor-trigger.c st->report_state.index, index 126 drivers/iio/common/hid-sensors/hid-sensor-trigger.c st->power_state.index, index 130 drivers/iio/common/hid-sensors/hid-sensor-trigger.c st->report_state.index, index 137 drivers/iio/common/hid-sensors/hid-sensor-trigger.c st->power_state.index, sizeof(state_val), index 144 drivers/iio/common/hid-sensors/hid-sensor-trigger.c st->report_state.index, index 153 drivers/iio/common/hid-sensors/hid-sensor-trigger.c st->power_state.index, index 201 drivers/iio/common/hid-sensors/hid-sensor-trigger.c attrb->poll.index, index 208 drivers/iio/common/hid-sensors/hid-sensor-trigger.c attrb->sensitivity.index, index 121 drivers/iio/common/ssp_sensors/ssp_spi.c #define SSP_GET_BUFFER_AT_INDEX(m, index) \ index 122 drivers/iio/common/ssp_sensors/ssp_spi.c (m->buffer[SSP_HEADER_SIZE_ALIGNED + index]) index 123 drivers/iio/common/ssp_sensors/ssp_spi.c #define SSP_SET_BUFFER_AT_INDEX(m, index, val) \ index 124 drivers/iio/common/ssp_sensors/ssp_spi.c (m->buffer[SSP_HEADER_SIZE_ALIGNED + index] = val) index 700 drivers/iio/dac/ad5758.c int *index, ret; index 709 drivers/iio/dac/ad5758.c index = bsearch(&tmp, ad5758_dc_dc_ilim, index 712 drivers/iio/dac/ad5758.c if (!index) index 715 drivers/iio/dac/ad5758.c st->dc_dc_ilim = index - ad5758_dc_dc_ilim; index 432 drivers/iio/frequency/adf4371.c #define ADF4371_CHANNEL(index) { \ index 435 drivers/iio/frequency/adf4371.c .channel = index, \ index 354 drivers/iio/gyro/fxas21002c_core.c int index, int *val) index 365 drivers/iio/gyro/fxas21002c_core.c ret = regmap_bulk_read(data->regmap, FXAS21002C_AXIS_TO_REG(index), index 368 drivers/iio/gyro/fxas21002c_core.c dev_err(dev, "failed to read axis: %d: %d\n", index, ret); index 258 drivers/iio/gyro/hid-sensor-gyro-3d.c st->gyro[0].index, index 260 drivers/iio/gyro/hid-sensor-gyro-3d.c st->gyro[1].index, st->gyro[1].report_id, index 261 drivers/iio/gyro/hid-sensor-gyro-3d.c st->gyro[2].index, st->gyro[2].report_id); index 269 drivers/iio/gyro/hid-sensor-gyro-3d.c if (st->common_attributes.sensitivity.index < 0) { index 276 drivers/iio/gyro/hid-sensor-gyro-3d.c st->common_attributes.sensitivity.index, index 684 drivers/iio/gyro/mpu3050-core.c #define MPU3050_AXIS_CHANNEL(axis, index) \ index 694 drivers/iio/gyro/mpu3050-core.c .scan_index = index, \ index 451 drivers/iio/gyro/st_gyro_core.c int index = st_sensors_get_settings_index(name, index 454 drivers/iio/gyro/st_gyro_core.c if (index < 0) index 457 drivers/iio/gyro/st_gyro_core.c return &st_gyro_sensors_settings[index]; index 180 drivers/iio/humidity/hid-sensor-humidity.c if (st->common_attributes.sensitivity.index < 0) index 124 drivers/iio/inkern.c struct device_node *np, int index) index 133 drivers/iio/inkern.c index, &iiospec); index 146 drivers/iio/inkern.c index = indio_dev->info->of_xlate(indio_dev, &iiospec); index 148 drivers/iio/inkern.c index = __of_iio_simple_xlate(indio_dev, &iiospec); index 149 drivers/iio/inkern.c if (index < 0) index 151 drivers/iio/inkern.c channel->channel = &indio_dev->channels[index]; index 157 drivers/iio/inkern.c return index; index 160 drivers/iio/inkern.c static struct iio_channel *of_iio_channel_get(struct device_node *np, int index) index 165 drivers/iio/inkern.c if (index < 0) index 172 drivers/iio/inkern.c err = __of_iio_channel_get(channel, np, index); index 190 drivers/iio/inkern.c int index = 0; index 199 drivers/iio/inkern.c index = of_property_match_string(np, "io-channel-names", index 201 drivers/iio/inkern.c chan = of_iio_channel_get(np, index); index 204 drivers/iio/inkern.c else if (name && index >= 0) { index 206 drivers/iio/inkern.c np, name ? name : "", index); index 242 drivers/iio/light/hid-sensor-als.c dev_dbg(&pdev->dev, "als %x:%x\n", st->als_illum.index, index 251 drivers/iio/light/hid-sensor-als.c if (st->common_attributes.sensitivity.index < 0) { index 258 drivers/iio/light/hid-sensor-als.c st->common_attributes.sensitivity.index, index 218 drivers/iio/light/hid-sensor-prox.c dev_dbg(&pdev->dev, "prox %x:%x\n", st->prox_attr.index, index 222 drivers/iio/light/hid-sensor-prox.c if (st->common_attributes.sensitivity.index < 0) { index 229 drivers/iio/light/hid-sensor-prox.c st->common_attributes.sensitivity.index, index 232 drivers/iio/light/hid-sensor-prox.c if (st->common_attributes.sensitivity.index < 0) index 344 drivers/iio/light/ltr501.c int ret, i, index = -1, status; index 348 drivers/iio/light/ltr501.c index = i; index 353 drivers/iio/light/ltr501.c if (index < 0) index 365 drivers/iio/light/ltr501.c if (index > 1) index 369 drivers/iio/light/ltr501.c if (index == 1) index 372 drivers/iio/light/ltr501.c return regmap_field_write(data->reg_it, index); index 378 drivers/iio/light/ltr501.c int ret, index; index 380 drivers/iio/light/ltr501.c ret = regmap_field_read(data->reg_it, &index); index 385 drivers/iio/light/ltr501.c if (index < 0 || index >= ARRAY_SIZE(int_time_mapping)) index 388 drivers/iio/light/ltr501.c *val2 = int_time_mapping[index]; index 279 drivers/iio/light/lv0104cs.c int ret, i, index; index 291 drivers/iio/light/lv0104cs.c index = i; index 297 drivers/iio/light/lv0104cs.c index = i + 1; index 309 drivers/iio/light/lv0104cs.c lv0104cs_calibscales[index].regval); index 313 drivers/iio/light/lv0104cs.c lv0104cs->calibscale = index; index 492 drivers/iio/light/max44000.c int index = 0; index 501 drivers/iio/light/max44000.c buf[index++] = ret; index 507 drivers/iio/light/max44000.c buf[index] = regval; index 533 drivers/iio/light/si1133.c int index; index 535 drivers/iio/light/si1133.c index = si1133_get_int_time_index(milliseconds, nanoseconds); index 536 drivers/iio/light/si1133.c if (index < 0) index 537 drivers/iio/light/si1133.c return index; index 540 drivers/iio/light/si1133.c data->adc_sens[adc] |= index; index 236 drivers/iio/light/stk3310.c unsigned int index; index 240 drivers/iio/light/stk3310.c ret = regmap_field_read(data->reg_ps_gain, &index); index 244 drivers/iio/light/stk3310.c if (val < 0 || val > stk3310_ps_max[index]) index 308 drivers/iio/light/stk3310.c unsigned int index; index 334 drivers/iio/light/stk3310.c ret = regmap_field_read(data->reg_als_it, &index); index 336 drivers/iio/light/stk3310.c ret = regmap_field_read(data->reg_ps_it, &index); index 340 drivers/iio/light/stk3310.c *val = stk3310_it_table[index][0]; index 341 drivers/iio/light/stk3310.c *val2 = stk3310_it_table[index][1]; index 345 drivers/iio/light/stk3310.c ret = regmap_field_read(data->reg_als_gain, &index); index 347 drivers/iio/light/stk3310.c ret = regmap_field_read(data->reg_ps_gain, &index); index 351 drivers/iio/light/stk3310.c *val = stk3310_scale_table[index][0]; index 352 drivers/iio/light/stk3310.c *val2 = stk3310_scale_table[index][1]; index 364 drivers/iio/light/stk3310.c int index; index 372 drivers/iio/light/stk3310.c index = stk3310_get_index(stk3310_it_table, index 375 drivers/iio/light/stk3310.c if (index < 0) index 379 drivers/iio/light/stk3310.c ret = regmap_field_write(data->reg_als_it, index); index 381 drivers/iio/light/stk3310.c ret = regmap_field_write(data->reg_ps_it, index); index 389 drivers/iio/light/stk3310.c index = stk3310_get_index(stk3310_scale_table, index 392 drivers/iio/light/stk3310.c if (index < 0) index 396 drivers/iio/light/stk3310.c ret = regmap_field_write(data->reg_als_gain, index); index 398 drivers/iio/light/stk3310.c ret = regmap_field_write(data->reg_ps_gain, index); index 456 drivers/iio/light/us5182d.c static int us5182d_update_dark_th(struct us5182d_data *data, int index) index 458 drivers/iio/light/us5182d.c __be16 dark_th = cpu_to_be16(data->us5182d_dark_ths[index]); index 478 drivers/iio/light/us5182d.c static int us5182d_apply_scale(struct us5182d_data *data, int index) index 487 drivers/iio/light/us5182d.c ret |= index; index 493 drivers/iio/light/us5182d.c return us5182d_update_dark_th(data, index); index 634 drivers/iio/magnetometer/ak8974.c #define AK8974_AXIS_CHANNEL(axis, index) \ index 641 drivers/iio/magnetometer/ak8974.c .address = index, \ index 642 drivers/iio/magnetometer/ak8974.c .scan_index = index, \ index 675 drivers/iio/magnetometer/ak8975.c static int ak8975_read_axis(struct iio_dev *indio_dev, int index, int *val) index 693 drivers/iio/magnetometer/ak8975.c client, def->data_regs[index], index 746 drivers/iio/magnetometer/ak8975.c #define AK8975_CHANNEL(axis, index) \ index 753 drivers/iio/magnetometer/ak8975.c .address = index, \ index 754 drivers/iio/magnetometer/ak8975.c .scan_index = index, \ index 376 drivers/iio/magnetometer/hid-sensor-magn-3d.c st->magn[0].index, index 378 drivers/iio/magnetometer/hid-sensor-magn-3d.c st->magn[1].index, st->magn[1].report_id, index 379 drivers/iio/magnetometer/hid-sensor-magn-3d.c st->magn[2].index, st->magn[2].report_id); index 403 drivers/iio/magnetometer/hid-sensor-magn-3d.c if (st->magn[i].index >= 0) { index 442 drivers/iio/magnetometer/hid-sensor-magn-3d.c if (st->magn_flux_attributes.sensitivity.index < 0) { index 449 drivers/iio/magnetometer/hid-sensor-magn-3d.c st->magn_flux_attributes.sensitivity.index, index 452 drivers/iio/magnetometer/hid-sensor-magn-3d.c if (st->magn_flux_attributes.sensitivity.index < 0) { index 459 drivers/iio/magnetometer/hid-sensor-magn-3d.c st->magn_flux_attributes.sensitivity.index, index 462 drivers/iio/magnetometer/hid-sensor-magn-3d.c if (st->rot_attributes.sensitivity.index < 0) { index 469 drivers/iio/magnetometer/hid-sensor-magn-3d.c st->rot_attributes.sensitivity.index, index 313 drivers/iio/magnetometer/mmc35240.c static int mmc35240_raw_to_mgauss(struct mmc35240_data *data, int index, index 330 drivers/iio/magnetometer/mmc35240.c switch (index) { index 346 drivers/iio/magnetometer/mmc35240.c *val = (*val) * data->axis_coef[index] / data->axis_scale[index]; index 480 drivers/iio/magnetometer/st_magn_core.c int index = st_sensors_get_settings_index(name, index 483 drivers/iio/magnetometer/st_magn_core.c if (index < 0) index 486 drivers/iio/magnetometer/st_magn_core.c return &st_magn_sensors_settings[index]; index 275 drivers/iio/orientation/hid-sensor-incl-3d.c st->incl[0].index, index 277 drivers/iio/orientation/hid-sensor-incl-3d.c st->incl[1].index, st->incl[1].report_id, index 278 drivers/iio/orientation/hid-sensor-incl-3d.c st->incl[2].index, st->incl[2].report_id); index 286 drivers/iio/orientation/hid-sensor-incl-3d.c if (st->common_attributes.sensitivity.index < 0) { index 293 drivers/iio/orientation/hid-sensor-incl-3d.c st->common_attributes.sensitivity.index, index 202 drivers/iio/orientation/hid-sensor-rotation.c dev_dbg(&pdev->dev, "dev_rot %x:%x\n", st->quaternion.index, index 214 drivers/iio/orientation/hid-sensor-rotation.c if (st->common_attributes.sensitivity.index < 0) { index 221 drivers/iio/orientation/hid-sensor-rotation.c st->common_attributes.sensitivity.index, index 222 drivers/iio/pressure/hid-sensor-press.c dev_dbg(&pdev->dev, "press %x:%x\n", st->press_attr.index, index 231 drivers/iio/pressure/hid-sensor-press.c if (st->common_attributes.sensitivity.index < 0) { index 238 drivers/iio/pressure/hid-sensor-press.c st->common_attributes.sensitivity.index, index 54 drivers/iio/pressure/ms5611.h int (*read_prom_word)(struct device *dev, int index, u16 *word); index 28 drivers/iio/pressure/ms5611_i2c.c static int ms5611_i2c_read_prom_word(struct device *dev, int index, u16 *word) index 34 drivers/iio/pressure/ms5611_i2c.c MS5611_READ_PROM_WORD + (index << 1)); index 24 drivers/iio/pressure/ms5611_spi.c static int ms5611_spi_read_prom_word(struct device *dev, int index, u16 *word) index 29 drivers/iio/pressure/ms5611_spi.c ret = spi_w8r16be(st->client, MS5611_READ_PROM_WORD + (index << 1)); index 674 drivers/iio/pressure/st_pressure_core.c int index = st_sensors_get_settings_index(name, index 677 drivers/iio/pressure/st_pressure_core.c if (index < 0) index 680 drivers/iio/pressure/st_pressure_core.c return &st_press_sensors_settings[index]; index 177 drivers/iio/temperature/hid-sensor-temperature.c if (st->common_attributes.sensitivity.index < 0) index 73 drivers/iio/trigger/stm32-lptimer-trigger.c u32 index; index 80 drivers/iio/trigger/stm32-lptimer-trigger.c if (of_property_read_u32(pdev->dev.of_node, "reg", &index)) index 83 drivers/iio/trigger/stm32-lptimer-trigger.c if (index >= ARRAY_SIZE(stm32_lptim_triggers)) index 87 drivers/iio/trigger/stm32-lptimer-trigger.c priv->trg = stm32_lptim_triggers[index]; index 733 drivers/iio/trigger/stm32-timer-trigger.c unsigned int index; index 736 drivers/iio/trigger/stm32-timer-trigger.c if (of_property_read_u32(dev->of_node, "reg", &index)) index 742 drivers/iio/trigger/stm32-timer-trigger.c if (index >= ARRAY_SIZE(triggers_table) || index 743 drivers/iio/trigger/stm32-timer-trigger.c index >= cfg->num_valids_table) index 747 drivers/iio/trigger/stm32-timer-trigger.c if (*cfg->valids_table[index]) index 759 drivers/iio/trigger/stm32-timer-trigger.c priv->triggers = triggers_table[index]; index 760 drivers/iio/trigger/stm32-timer-trigger.c priv->valids = cfg->valids_table[index]; index 167 drivers/infiniband/core/cache.c unsigned int index) index 169 drivers/infiniband/core/cache.c return index < 32 && (BIT(index) & table->default_gid_indices); index 240 drivers/infiniband/core/cache.c port_num, entry->attr.index, entry->attr.gid.raw); index 250 drivers/infiniband/core/cache.c if (entry == table->data_vec[entry->attr.index]) index 251 drivers/infiniband/core/cache.c table->data_vec[entry->attr.index] = NULL; index 323 drivers/infiniband/core/cache.c __func__, entry->attr.port_num, entry->attr.index, index 328 drivers/infiniband/core/cache.c table->data_vec[entry->attr.index] = entry; index 354 drivers/infiniband/core/cache.c __func__, attr->port_num, attr->index); index 362 drivers/infiniband/core/cache.c __func__, attr->port_num, attr->index); index 432 drivers/infiniband/core/cache.c if (is_gid_entry_valid(table->data_vec[attr->index])) index 433 drivers/infiniband/core/cache.c del_gid(attr->device, attr->port_num, table, attr->index); index 571 drivers/infiniband/core/cache.c attr->index = empty; index 956 drivers/infiniband/core/cache.c int index, union ib_gid *gid) index 968 drivers/infiniband/core/cache.c if (index < 0 || index >= table->sz || index 969 drivers/infiniband/core/cache.c !is_gid_entry_valid(table->data_vec[index])) index 972 drivers/infiniband/core/cache.c memcpy(gid, &table->data_vec[index]->attr.gid, sizeof(*gid)); index 1010 drivers/infiniband/core/cache.c int index; index 1014 drivers/infiniband/core/cache.c index = find_gid(table, gid, &gid_attr_val, false, mask, NULL); index 1015 drivers/infiniband/core/cache.c if (index >= 0) { index 1018 drivers/infiniband/core/cache.c get_gid_entry(table->data_vec[index]); index 1019 drivers/infiniband/core/cache.c attr = &table->data_vec[index]->attr; index 1032 drivers/infiniband/core/cache.c int index, index 1046 drivers/infiniband/core/cache.c if (index < 0 || index >= cache->table_len) index 1049 drivers/infiniband/core/cache.c *pkey = cache->table[index]; index 1077 drivers/infiniband/core/cache.c u16 *index) index 1092 drivers/infiniband/core/cache.c *index = -1; index 1097 drivers/infiniband/core/cache.c *index = i; index 1105 drivers/infiniband/core/cache.c *index = partial_ix; index 1118 drivers/infiniband/core/cache.c u16 *index) index 1132 drivers/infiniband/core/cache.c *index = -1; index 1136 drivers/infiniband/core/cache.c *index = i; index 1200 drivers/infiniband/core/cache.c rdma_get_gid_attr(struct ib_device *device, u8 port_num, int index) index 1210 drivers/infiniband/core/cache.c if (index < 0 || index >= table->sz) index 1214 drivers/infiniband/core/cache.c if (!is_gid_entry_valid(table->data_vec[index])) index 1217 drivers/infiniband/core/cache.c get_gid_entry(table->data_vec[index]); index 1218 drivers/infiniband/core/cache.c attr = &table->data_vec[index]->attr; index 1290 drivers/infiniband/core/cache.c valid = is_gid_entry_valid(table->data_vec[attr->index]); index 1381 drivers/infiniband/core/cache.c gid_attr.index = i; index 99 drivers/infiniband/core/cm.c size_t index = reason; index 101 drivers/infiniband/core/cm.c if (index < ARRAY_SIZE(ibcm_rej_reason_strs) && index 102 drivers/infiniband/core/cm.c ibcm_rej_reason_strs[index]) index 103 drivers/infiniband/core/cm.c return ibcm_rej_reason_strs[index]; index 175 drivers/infiniband/core/cm.c int index; index 181 drivers/infiniband/core/cm.c .index = _index \ index 4260 drivers/infiniband/core/cm.c atomic_long_read(&group->counter[cm_attr->index])); index 99 drivers/infiniband/core/cma.c size_t index = event; index 101 drivers/infiniband/core/cma.c return (index < ARRAY_SIZE(cma_events) && cma_events[index]) ? index 102 drivers/infiniband/core/cma.c cma_events[index] : "unrecognized event"; index 815 drivers/infiniband/core/cma.c u16 pkey, index; index 831 drivers/infiniband/core/cma.c if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) index 314 drivers/infiniband/core/core_priv.h struct ib_device *ib_device_get_by_index(const struct net *net, u32 index); index 358 drivers/infiniband/core/counters.c u8 port, u32 index) index 379 drivers/infiniband/core/counters.c sum += counter->stats->value[index]; index 394 drivers/infiniband/core/counters.c u64 rdma_counter_get_hwstat_value(struct ib_device *dev, u8 port, u32 index) index 403 drivers/infiniband/core/counters.c sum = get_running_counters_hwstat_sum(dev, port, index); index 404 drivers/infiniband/core/counters.c sum += port_counter->hstats->value[index]; index 179 drivers/infiniband/core/device.c #define xan_for_each_marked(xa, index, entry, filter) \ index 180 drivers/infiniband/core/device.c for (index = 0, entry = xan_find_marked(xa, &(index), filter); \ index 182 drivers/infiniband/core/device.c (index)++, entry = xan_find_marked(xa, &(index), filter)) index 310 drivers/infiniband/core/device.c struct ib_device *ib_device_get_by_index(const struct net *net, u32 index) index 315 drivers/infiniband/core/device.c device = xa_load(&devices, index); index 347 drivers/infiniband/core/device.c unsigned long index; index 349 drivers/infiniband/core/device.c xa_for_each (&devices, index, device) index 387 drivers/infiniband/core/device.c unsigned long index; index 391 drivers/infiniband/core/device.c xa_for_each (&device->compat_devs, index, cdev) { index 406 drivers/infiniband/core/device.c unsigned long index; index 432 drivers/infiniband/core/device.c xan_for_each_marked(&ibdev->client_data, index, client_data, index 434 drivers/infiniband/core/device.c struct ib_client *client = xa_load(&clients, index); index 458 drivers/infiniband/core/device.c unsigned long index; index 465 drivers/infiniband/core/device.c xa_for_each (&devices, index, device) { index 629 drivers/infiniband/core/device.c if (xa_load(&devices, device->index) == device) index 630 drivers/infiniband/core/device.c xa_erase(&devices, device->index); index 818 drivers/infiniband/core/device.c unsigned long index; index 821 drivers/infiniband/core/device.c xa_for_each_marked (&devices, index, dev, DEVICE_REGISTERED) { index 951 drivers/infiniband/core/device.c unsigned long index; index 953 drivers/infiniband/core/device.c xa_for_each (&device->compat_devs, index, cdev) index 954 drivers/infiniband/core/device.c remove_one_compat_dev(device, index); index 960 drivers/infiniband/core/device.c unsigned long index; index 966 drivers/infiniband/core/device.c xa_for_each (&rdma_nets, index, rnet) { index 979 drivers/infiniband/core/device.c unsigned long index; index 982 drivers/infiniband/core/device.c xa_for_each (&devices, index, dev) { index 1000 drivers/infiniband/core/device.c unsigned long index; index 1004 drivers/infiniband/core/device.c xa_for_each_marked (&devices, index, dev, DEVICE_REGISTERED) { index 1027 drivers/infiniband/core/device.c unsigned long index; index 1039 drivers/infiniband/core/device.c xa_for_each (&rdma_nets, index, rnet) { index 1060 drivers/infiniband/core/device.c unsigned long index; index 1072 drivers/infiniband/core/device.c xa_for_each (&devices, index, dev) { index 1099 drivers/infiniband/core/device.c unsigned long index; index 1120 drivers/infiniband/core/device.c xa_for_each_marked (&devices, index, dev, DEVICE_REGISTERED) { index 1162 drivers/infiniband/core/device.c ret = xa_alloc_cyclic(&devices, &device->index, device, xa_limit_31b, index 1259 drivers/infiniband/core/device.c xa_clear_mark(&devices, device->index, DEVICE_REGISTERED); index 1296 drivers/infiniband/core/device.c unsigned long index; index 1305 drivers/infiniband/core/device.c xa_set_mark(&devices, device->index, DEVICE_REGISTERED); index 1320 drivers/infiniband/core/device.c xa_for_each_marked (&clients, index, client, CLIENT_REGISTERED) { index 1523 drivers/infiniband/core/device.c unsigned long index; index 1526 drivers/infiniband/core/device.c xa_for_each (&devices, index, ib_dev) { index 1742 drivers/infiniband/core/device.c unsigned long index; index 1752 drivers/infiniband/core/device.c xa_for_each_marked (&devices, index, device, DEVICE_REGISTERED) { index 1779 drivers/infiniband/core/device.c unsigned long index; index 1788 drivers/infiniband/core/device.c xa_for_each (&devices, index, device) { index 1813 drivers/infiniband/core/device.c unsigned long index; index 1817 drivers/infiniband/core/device.c xa_for_each_marked (&clients, index, client, CLIENT_REGISTERED) { index 1839 drivers/infiniband/core/device.c unsigned long index; index 1844 drivers/infiniband/core/device.c xan_for_each_marked (&ibdev->client_data, index, client_data, index 1846 drivers/infiniband/core/device.c struct ib_client *client = xa_load(&clients, index); index 2301 drivers/infiniband/core/device.c unsigned long index; index 2304 drivers/infiniband/core/device.c xa_for_each_marked (&devices, index, dev, DEVICE_REGISTERED) index 2318 drivers/infiniband/core/device.c unsigned long index; index 2324 drivers/infiniband/core/device.c xa_for_each_marked (&devices, index, dev, DEVICE_REGISTERED) { index 2347 drivers/infiniband/core/device.c u8 port_num, u16 index, u16 *pkey) index 2352 drivers/infiniband/core/device.c return device->ops.query_pkey(device, port_num, index, pkey); index 2421 drivers/infiniband/core/device.c u8 *port_num, u16 *index) index 2438 drivers/infiniband/core/device.c if (index) index 2439 drivers/infiniband/core/device.c *index = i; index 2458 drivers/infiniband/core/device.c u8 port_num, u16 pkey, u16 *index) index 2472 drivers/infiniband/core/device.c *index = i; index 2482 drivers/infiniband/core/device.c *index = partial_ix; index 2507 drivers/infiniband/core/device.c unsigned long index; index 2518 drivers/infiniband/core/device.c xan_for_each_marked (&dev->client_data, index, client_data, index 2520 drivers/infiniband/core/device.c struct ib_client *client = xa_load(&clients, index); index 70 drivers/infiniband/core/iwcm.c size_t index; index 73 drivers/infiniband/core/iwcm.c index = -reason; index 75 drivers/infiniband/core/iwcm.c if (index < ARRAY_SIZE(iwcm_rej_reason_strs) && index 76 drivers/infiniband/core/iwcm.c iwcm_rej_reason_strs[index]) index 77 drivers/infiniband/core/iwcm.c return iwcm_rej_reason_strs[index]; index 1678 drivers/infiniband/core/mad.c int index; index 1730 drivers/infiniband/core/mad.c index = find_vendor_oui(vendor_class, agent_priv->reg_req->oui); index 1731 drivers/infiniband/core/mad.c if (index < 0) index 1733 drivers/infiniband/core/mad.c method = vendor_class->method_table[index]; index 1744 drivers/infiniband/core/mad.c vendor_class->method_table[index] = NULL; index 1745 drivers/infiniband/core/mad.c memset(vendor_class->oui[index], 0, 3); index 1794 drivers/infiniband/core/mad.c int index; index 1827 drivers/infiniband/core/mad.c index = find_vendor_oui(vendor_class, vendor_mad->oui); index 1828 drivers/infiniband/core/mad.c if (index == -1) index 1830 drivers/infiniband/core/mad.c method = vendor_class->method_table[index]; index 796 drivers/infiniband/core/multicast.c int index; index 802 drivers/infiniband/core/multicast.c index = event->element.port_num - dev->start_port; index 808 drivers/infiniband/core/multicast.c mcast_groups_event(&dev->port[index], MCAST_GROUP_ERROR); index 811 drivers/infiniband/core/multicast.c mcast_groups_event(&dev->port[index], MCAST_PKEY_EVENT); index 111 drivers/infiniband/core/netlink.c void rdma_nl_register(unsigned int index, index 114 drivers/infiniband/core/netlink.c if (WARN_ON(!is_nl_msg_valid(index, 0)) || index 115 drivers/infiniband/core/netlink.c WARN_ON(READ_ONCE(rdma_nl_types[index].cb_table))) index 119 drivers/infiniband/core/netlink.c smp_store_release(&rdma_nl_types[index].cb_table, cb_table); index 123 drivers/infiniband/core/netlink.c void rdma_nl_unregister(unsigned int index) index 125 drivers/infiniband/core/netlink.c down_write(&rdma_nl_types[index].sem); index 126 drivers/infiniband/core/netlink.c rdma_nl_types[index].cb_table = NULL; index 127 drivers/infiniband/core/netlink.c up_write(&rdma_nl_types[index].sem); index 156 drivers/infiniband/core/netlink.c unsigned int index = RDMA_NL_GET_CLIENT(type); index 161 drivers/infiniband/core/netlink.c if (!is_nl_msg_valid(index, op)) index 164 drivers/infiniband/core/netlink.c down_read(&rdma_nl_types[index].sem); index 165 drivers/infiniband/core/netlink.c cb_table = get_cb_table(skb, index, op); index 179 drivers/infiniband/core/netlink.c if (index == RDMA_NL_LS) { index 185 drivers/infiniband/core/netlink.c if ((nlh->nlmsg_flags & NLM_F_DUMP) || index == RDMA_NL_IWCM) { index 197 drivers/infiniband/core/netlink.c up_read(&rdma_nl_types[index].sem); index 214 drivers/infiniband/core/nldev.c if (nla_put_u32(msg, RDMA_NLDEV_ATTR_DEV_INDEX, device->index)) index 803 drivers/infiniband/core/nldev.c u32 index; index 811 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 813 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 848 drivers/infiniband/core/nldev.c u32 index; index 856 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 857 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 939 drivers/infiniband/core/nldev.c u32 index; index 950 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 951 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1051 drivers/infiniband/core/nldev.c u32 index; index 1059 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1060 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1193 drivers/infiniband/core/nldev.c u32 index, id, port = 0; index 1203 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1204 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1284 drivers/infiniband/core/nldev.c u32 index, port = 0; index 1300 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1301 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1508 drivers/infiniband/core/nldev.c u32 index; index 1516 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1517 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1538 drivers/infiniband/core/nldev.c u32 index; index 1550 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1551 drivers/infiniband/core/nldev.c ibdev = ib_device_get_by_index(sock_net(skb->sk), index); index 1669 drivers/infiniband/core/nldev.c u32 index, port, mode, mask = 0, qpn, cntn = 0; index 1686 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1687 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1759 drivers/infiniband/core/nldev.c u32 index, port, qpn, cntn; index 1773 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1774 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1829 drivers/infiniband/core/nldev.c u32 index, port; index 1835 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1836 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 1920 drivers/infiniband/core/nldev.c u32 index, port; index 1930 drivers/infiniband/core/nldev.c index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); index 1931 drivers/infiniband/core/nldev.c device = ib_device_get_by_index(sock_net(skb->sk), index); index 72 drivers/infiniband/core/restrack.c unsigned long index; index 78 drivers/infiniband/core/restrack.c xa_for_each(xa, index, e) { index 84 drivers/infiniband/core/sysfs.c int index; index 96 drivers/infiniband/core/sysfs.c int index; index 388 drivers/infiniband/core/sysfs.c gid_attr = rdma_get_gid_attr(p->ibdev, p->port_num, tab_attr->index); index 405 drivers/infiniband/core/sysfs.c gid_attr = rdma_get_gid_attr(p->ibdev, p->port_num, tab_attr->index); index 447 drivers/infiniband/core/sysfs.c ret = ib_query_pkey(p->ibdev, p->port_num, tab_attr->index, &pkey); index 457 drivers/infiniband/core/sysfs.c .index = (_offset) | ((_width) << 16) | ((_counter) << 24), \ index 464 drivers/infiniband/core/sysfs.c .index = (_offset) | ((_width) << 16), \ index 523 drivers/infiniband/core/sysfs.c int offset = tab_attr->index & 0xffff; index 524 drivers/infiniband/core/sysfs.c int width = (tab_attr->index >> 16) & 0xff; index 759 drivers/infiniband/core/sysfs.c element->index = i; index 799 drivers/infiniband/core/sysfs.c u8 port_num, int index) index 805 drivers/infiniband/core/sysfs.c ret = dev->ops.get_hw_stats(dev, stats, port_num, index); index 815 drivers/infiniband/core/sysfs.c struct rdma_hw_stats *stats, int index, char *buf) index 817 drivers/infiniband/core/sysfs.c u64 v = rdma_counter_get_hwstat_value(dev, port_num, index); index 819 drivers/infiniband/core/sysfs.c return sprintf(buf, "%llu\n", stats->value[index] + v); index 842 drivers/infiniband/core/sysfs.c ret = update_hw_stats(dev, stats, hsa->port_num, hsa->index); index 845 drivers/infiniband/core/sysfs.c ret = print_hw_stat(dev, hsa->port_num, stats, hsa->index, buf); index 925 drivers/infiniband/core/sysfs.c static struct attribute *alloc_hsa(int index, u8 port_num, const char *name) index 937 drivers/infiniband/core/sysfs.c hsa->index = index; index 955 drivers/infiniband/core/sysfs.c hsa->index = 0; index 596 drivers/infiniband/core/uverbs_ioctl.c pbundle->method_key = attrs_iter.index; index 370 drivers/infiniband/core/uverbs_uapi.c u32 attr_key = iter.index & UVERBS_API_ATTR_KEY_MASK; index 374 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_attr_to_ioctl_method(iter.index) != index 432 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_ioctl_method(iter.index)) { index 434 drivers/infiniband/core/uverbs_uapi.c iter.index); index 439 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_write_method(iter.index)) index 441 drivers/infiniband/core/uverbs_uapi.c iter.index & UVERBS_API_ATTR_KEY_MASK); index 442 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_write_ex_method(iter.index)) index 445 drivers/infiniband/core/uverbs_uapi.c iter.index & UVERBS_API_ATTR_KEY_MASK); index 459 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_write_method(iter.index)) index 460 drivers/infiniband/core/uverbs_uapi.c uapi->write_methods[iter.index & index 463 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_write_ex_method(iter.index)) index 464 drivers/infiniband/core/uverbs_uapi.c uapi->write_ex_methods[iter.index & index 478 drivers/infiniband/core/uverbs_uapi.c if (iter.index > last) index 535 drivers/infiniband/core/uverbs_uapi.c uapi_key_okay(iter.index); index 537 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_object(iter.index)) { index 544 drivers/infiniband/core/uverbs_uapi.c starting_key = iter.index; index 545 drivers/infiniband/core/uverbs_uapi.c uapi_remove_object(uapi, iter.index); index 551 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_ioctl_method(iter.index)) { index 556 drivers/infiniband/core/uverbs_uapi.c starting_key = iter.index; index 557 drivers/infiniband/core/uverbs_uapi.c uapi_remove_method(uapi, iter.index); index 563 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_write_method(iter.index) || index 564 drivers/infiniband/core/uverbs_uapi.c uapi_key_is_write_ex_method(iter.index)) { index 575 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_attr(iter.index)) { index 600 drivers/infiniband/core/uverbs_uapi.c starting_key = iter.index; index 603 drivers/infiniband/core/uverbs_uapi.c iter.index & (UVERBS_API_OBJ_KEY_MASK | index 689 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_ioctl_method(iter.index)) { index 712 drivers/infiniband/core/uverbs_uapi.c if (uapi_key_is_object(iter.index)) { index 722 drivers/infiniband/core/uverbs_uapi.c } else if (uapi_key_is_attr(iter.index)) { index 83 drivers/infiniband/core/verbs.c size_t index = event; index 85 drivers/infiniband/core/verbs.c return (index < ARRAY_SIZE(ib_events) && ib_events[index]) ? index 86 drivers/infiniband/core/verbs.c ib_events[index] : "unrecognized event"; index 117 drivers/infiniband/core/verbs.c size_t index = status; index 119 drivers/infiniband/core/verbs.c return (index < ARRAY_SIZE(wc_statuses) && wc_statuses[index]) ? index 120 drivers/infiniband/core/verbs.c wc_statuses[index] : "unrecognized status"; index 424 drivers/infiniband/core/verbs.c if (ah_attr->grh.sgid_attr->index != ah_attr->grh.sgid_index || index 872 drivers/infiniband/core/verbs.c rdma_ah_set_grh(attr, dgid, flow_label, sgid_attr->index, hop_limit, index 117 drivers/infiniband/hw/bnxt_re/hw_counters.c u8 port, int index) index 103 drivers/infiniband/hw/bnxt_re/hw_counters.h u8 port, int index); index 279 drivers/infiniband/hw/bnxt_re/ib_verbs.c u16 index, u16 *pkey) index 287 drivers/infiniband/hw/bnxt_re/ib_verbs.c &rdev->qplib_res.pkey_tbl, index, pkey); index 291 drivers/infiniband/hw/bnxt_re/ib_verbs.c int index, union ib_gid *gid) index 299 drivers/infiniband/hw/bnxt_re/ib_verbs.c &rdev->qplib_res.sgid_tbl, index, index 157 drivers/infiniband/hw/bnxt_re/ib_verbs.h u16 index, u16 *pkey); index 161 drivers/infiniband/hw/bnxt_re/ib_verbs.h int index, union ib_gid *gid); index 1140 drivers/infiniband/hw/bnxt_re/main.c u16 gid_idx, index; index 1151 drivers/infiniband/hw/bnxt_re/main.c for (index = 0; index < sgid_tbl->active; index++) { index 1152 drivers/infiniband/hw/bnxt_re/main.c gid_idx = sgid_tbl->hw_id[index]; index 1154 drivers/infiniband/hw/bnxt_re/main.c if (!memcmp(&sgid_tbl->tbl[index], &bnxt_qplib_gid_zero, index 1160 drivers/infiniband/hw/bnxt_re/main.c if (sgid_tbl->vlan[index]) index 1163 drivers/infiniband/hw/bnxt_re/main.c memcpy(&gid, &sgid_tbl->tbl[index], sizeof(gid)); index 1482 drivers/infiniband/hw/bnxt_re/qplib_fp.c dma_addr_t bnxt_qplib_get_qp_buf_from_index(struct bnxt_qplib_qp *qp, u32 index) index 1484 drivers/infiniband/hw/bnxt_re/qplib_fp.c return (qp->rq_hdr_buf_map + index * qp->rq_hdr_buf_size); index 436 drivers/infiniband/hw/bnxt_re/qplib_fp.h static inline void bnxt_qplib_ring_nq_db64(void __iomem *db, u32 index, index 445 drivers/infiniband/hw/bnxt_re/qplib_fp.h val |= index & DBC_DBC_INDEX_MASK; index 453 drivers/infiniband/hw/bnxt_re/qplib_fp.h u32 index = raw_cons & (max_elements - 1); index 456 drivers/infiniband/hw/bnxt_re/qplib_fp.h bnxt_qplib_ring_nq_db64(db, index, xid, true); index 458 drivers/infiniband/hw/bnxt_re/qplib_fp.h writel(NQ_DB_CP_FLAGS_REARM | (index & DBC_DBC32_XID_MASK), db); index 465 drivers/infiniband/hw/bnxt_re/qplib_fp.h u32 index = raw_cons & (max_elements - 1); index 468 drivers/infiniband/hw/bnxt_re/qplib_fp.h bnxt_qplib_ring_nq_db64(db, index, xid, false); index 470 drivers/infiniband/hw/bnxt_re/qplib_fp.h writel(NQ_DB_CP_FLAGS | (index & DBC_DBC32_XID_MASK), db); index 539 drivers/infiniband/hw/bnxt_re/qplib_fp.h u32 index); index 166 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h static inline void bnxt_qplib_ring_creq_db64(void __iomem *db, u32 index, index 175 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h val |= index & DBC_DBC_INDEX_MASK; index 184 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h u32 index = raw_cons & (max_elements - 1); index 187 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h bnxt_qplib_ring_creq_db64(db, index, xid, true); index 189 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h writel(CREQ_DB_CP_FLAGS_REARM | (index & DBC_DBC32_XID_MASK), index 197 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h u32 index = raw_cons & (max_elements - 1); index 200 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h bnxt_qplib_ring_creq_db64(db, index, xid, true); index 202 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h writel(CREQ_DB_CP_FLAGS | (index & DBC_DBC32_XID_MASK), index 207 drivers/infiniband/hw/bnxt_re/qplib_sp.c struct bnxt_qplib_sgid_tbl *sgid_tbl, int index, index 210 drivers/infiniband/hw/bnxt_re/qplib_sp.c if (index >= sgid_tbl->max) { index 213 drivers/infiniband/hw/bnxt_re/qplib_sp.c index, sgid_tbl->max); index 216 drivers/infiniband/hw/bnxt_re/qplib_sp.c memcpy(gid, &sgid_tbl->tbl[index].gid, sizeof(*gid)); index 227 drivers/infiniband/hw/bnxt_re/qplib_sp.c int index; index 238 drivers/infiniband/hw/bnxt_re/qplib_sp.c for (index = 0; index < sgid_tbl->max; index++) { index 239 drivers/infiniband/hw/bnxt_re/qplib_sp.c if (!memcmp(&sgid_tbl->tbl[index].gid, gid, sizeof(*gid)) && index 240 drivers/infiniband/hw/bnxt_re/qplib_sp.c vlan_id == sgid_tbl->tbl[index].vlan_id) index 243 drivers/infiniband/hw/bnxt_re/qplib_sp.c if (index == sgid_tbl->max) { index 255 drivers/infiniband/hw/bnxt_re/qplib_sp.c if (sgid_tbl->hw_id[index] == 0xFFFF) { index 260 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.gid_index = cpu_to_le16(sgid_tbl->hw_id[index]); index 266 drivers/infiniband/hw/bnxt_re/qplib_sp.c memcpy(&sgid_tbl->tbl[index].gid, &bnxt_qplib_gid_zero, index 268 drivers/infiniband/hw/bnxt_re/qplib_sp.c sgid_tbl->tbl[index].vlan_id = 0xFFFF; index 269 drivers/infiniband/hw/bnxt_re/qplib_sp.c sgid_tbl->vlan[index] = 0; index 273 drivers/infiniband/hw/bnxt_re/qplib_sp.c index, sgid_tbl->hw_id[index], sgid_tbl->active); index 274 drivers/infiniband/hw/bnxt_re/qplib_sp.c sgid_tbl->hw_id[index] = (u16)-1; index 282 drivers/infiniband/hw/bnxt_re/qplib_sp.c bool update, u32 *index) index 305 drivers/infiniband/hw/bnxt_re/qplib_sp.c *index = i; index 366 drivers/infiniband/hw/bnxt_re/qplib_sp.c *index = free_idx; index 410 drivers/infiniband/hw/bnxt_re/qplib_sp.c struct bnxt_qplib_pkey_tbl *pkey_tbl, u16 index, index 413 drivers/infiniband/hw/bnxt_re/qplib_sp.c if (index == 0xFFFF) { index 417 drivers/infiniband/hw/bnxt_re/qplib_sp.c if (index >= pkey_tbl->max) { index 420 drivers/infiniband/hw/bnxt_re/qplib_sp.c index, pkey_tbl->max); index 423 drivers/infiniband/hw/bnxt_re/qplib_sp.c memcpy(pkey, &pkey_tbl->tbl[index], sizeof(*pkey)); index 226 drivers/infiniband/hw/bnxt_re/qplib_sp.h struct bnxt_qplib_sgid_tbl *sgid_tbl, int index, index 232 drivers/infiniband/hw/bnxt_re/qplib_sp.h bool update, u32 *index); index 236 drivers/infiniband/hw/bnxt_re/qplib_sp.h struct bnxt_qplib_pkey_tbl *pkey_tbl, u16 index, index 76 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 index; index 67 drivers/infiniband/hw/cxgb3/iwch.c unsigned long index; index 71 drivers/infiniband/hw/cxgb3/iwch.c xa_for_each(&rnicp->qps, index, qhp) index 78 drivers/infiniband/hw/cxgb3/iwch.c unsigned long index; index 82 drivers/infiniband/hw/cxgb3/iwch.c xa_for_each(&rnicp->qps, index, qhp) { index 912 drivers/infiniband/hw/cxgb3/iwch_provider.c u8 port, u16 index, u16 * pkey) index 920 drivers/infiniband/hw/cxgb3/iwch_provider.c int index, union ib_gid *gid) index 925 drivers/infiniband/hw/cxgb3/iwch_provider.c __func__, ibdev, port, index, gid); index 1119 drivers/infiniband/hw/cxgb3/iwch_provider.c u8 port, int index) index 330 drivers/infiniband/hw/cxgb4/device.c unsigned long index; index 344 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&qpd->devp->qps, index, qp) index 355 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&qpd->devp->qps, index, qp) index 356 drivers/infiniband/hw/cxgb4/device.c dump_qp(index, qp, qpd); index 423 drivers/infiniband/hw/cxgb4/device.c unsigned long index; index 435 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&stagd->devp->mrs, index, p) index 446 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&stagd->devp->mrs, index, p) index 447 drivers/infiniband/hw/cxgb4/device.c dump_stag(index, stagd); index 673 drivers/infiniband/hw/cxgb4/device.c unsigned long index; index 686 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&epd->devp->hwtids, index, ep) index 688 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&epd->devp->atids, index, ep) index 690 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&epd->devp->stids, index, lep) index 701 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&epd->devp->hwtids, index, ep) index 705 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&epd->devp->atids, index, ep) index 709 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&epd->devp->stids, index, lep) index 1270 drivers/infiniband/hw/cxgb4/device.c unsigned long index, flags; index 1276 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&ctx->dev->qps, index, qp) index 1318 drivers/infiniband/hw/cxgb4/device.c unsigned long index; index 1324 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&ctx->dev->qps, index, qp) index 1417 drivers/infiniband/hw/cxgb4/device.c unsigned long index; index 1438 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&ctx->dev->qps, index, qp) index 1449 drivers/infiniband/hw/cxgb4/device.c xa_for_each(&ctx->dev->qps, index, qp) { index 239 drivers/infiniband/hw/cxgb4/provider.c static int c4iw_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 247 drivers/infiniband/hw/cxgb4/provider.c static int c4iw_query_gid(struct ib_device *ibdev, u8 port, int index, index 253 drivers/infiniband/hw/cxgb4/provider.c ibdev, port, index, gid); index 400 drivers/infiniband/hw/cxgb4/provider.c u8 port, int index) index 127 drivers/infiniband/hw/efa/efa.h int efa_query_gid(struct ib_device *ibdev, u8 port, int index, index 129 drivers/infiniband/hw/efa/efa.h int efa_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 161 drivers/infiniband/hw/efa/efa.h u8 port_num, int index); index 399 drivers/infiniband/hw/efa/efa_verbs.c int efa_query_gid(struct ib_device *ibdev, u8 port, int index, index 409 drivers/infiniband/hw/efa/efa_verbs.c int efa_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 412 drivers/infiniband/hw/efa/efa_verbs.c if (index > 0) index 1763 drivers/infiniband/hw/efa/efa_verbs.c u8 port_num, int index) index 9893 drivers/infiniband/hw/hfi1/chip.c void hfi1_put_tid(struct hfi1_devdata *dd, u32 index, index 9907 drivers/infiniband/hw/hfi1/chip.c type, index); index 9910 drivers/infiniband/hw/hfi1/chip.c trace_hfi1_put_tid(dd, index, type, pa, order); index 9917 drivers/infiniband/hw/hfi1/chip.c trace_hfi1_write_rcvarray(dd->rcvarray_wc + (index * 8), reg); index 9918 drivers/infiniband/hw/hfi1/chip.c writeq(reg, dd->rcvarray_wc + (index * 8)); index 9920 drivers/infiniband/hw/hfi1/chip.c if (type == PT_EAGER || type == PT_INVALID_FLUSH || (index & 3) == 3) index 12306 drivers/infiniband/hw/hfi1/chip.c u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl) index 12311 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[index]; index 12320 drivers/infiniband/hw/hfi1/chip.c u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data) index 12325 drivers/infiniband/hw/hfi1/chip.c entry = &dev_cntrs[index]; index 12334 drivers/infiniband/hw/hfi1/chip.c u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl) index 12339 drivers/infiniband/hw/hfi1/chip.c entry = &port_cntrs[index]; index 12345 drivers/infiniband/hw/hfi1/chip.c if ((index >= C_RCV_HDR_OVF_FIRST + ppd->dd->num_rcv_contexts) && index 12346 drivers/infiniband/hw/hfi1/chip.c (index <= C_RCV_HDR_OVF_LAST)) { index 12354 drivers/infiniband/hw/hfi1/chip.c u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data) index 12359 drivers/infiniband/hw/hfi1/chip.c entry = &port_cntrs[index]; index 12365 drivers/infiniband/hw/hfi1/chip.c if ((index >= C_RCV_HDR_OVF_FIRST + ppd->dd->num_rcv_contexts) && index 12366 drivers/infiniband/hw/hfi1/chip.c (index <= C_RCV_HDR_OVF_LAST)) { index 14709 drivers/infiniband/hw/hfi1/chip.c unsigned long index; index 14721 drivers/infiniband/hw/hfi1/chip.c xa_for_each(&hfi1_dev_table, index, peer) { index 827 drivers/infiniband/hw/hfi1/chip.h u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl); index 828 drivers/infiniband/hw/hfi1/chip.h u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data); index 829 drivers/infiniband/hw/hfi1/chip.h u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl); index 830 drivers/infiniband/hw/hfi1/chip.h u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data); index 1421 drivers/infiniband/hw/hfi1/chip.h void hfi1_put_tid(struct hfi1_devdata *dd, u32 index, index 1378 drivers/infiniband/hw/hfi1/debugfs.c unsigned long index, flags; index 1383 drivers/infiniband/hw/hfi1/debugfs.c xa_for_each(&hfi1_dev_table, index, dd) { index 176 drivers/infiniband/hw/hfi1/driver.c unsigned long index, flags; index 180 drivers/infiniband/hw/hfi1/driver.c xa_for_each(&hfi1_dev_table, index, dd) { index 134 drivers/infiniband/hw/hfi1/exp_rcv.h static inline void rcv_array_wc_fill(struct hfi1_devdata *dd, u32 index) index 141 drivers/infiniband/hw/hfi1/exp_rcv.h writeq(0, dd->rcvarray_wc + (index * 8)); index 142 drivers/infiniband/hw/hfi1/exp_rcv.h if ((index & 3) == 3) index 1901 drivers/infiniband/hw/hfi1/hfi.h static inline u16 hfi1_get_pkey(struct hfi1_ibport *ibp, unsigned index) index 1906 drivers/infiniband/hw/hfi1/hfi.h if (index >= ARRAY_SIZE(ppd->pkeys)) index 1909 drivers/infiniband/hw/hfi1/hfi.h ret = ppd->pkeys[index]; index 1917 drivers/infiniband/hw/hfi1/hfi.h static inline __be64 get_sguid(struct hfi1_ibport *ibp, unsigned int index) index 1921 drivers/infiniband/hw/hfi1/hfi.h WARN_ON(index >= HFI1_GUIDS_PER_PORT); index 1922 drivers/infiniband/hw/hfi1/hfi.h return cpu_to_be64(ppd->guids[index]); index 266 drivers/infiniband/hw/hfi1/init.c struct hfi1_ctxtdata *rcd, u16 *index) index 286 drivers/infiniband/hw/hfi1/init.c *index = ctxt; index 876 drivers/infiniband/hw/hfi1/pcie.c static void write_gasket_interrupt(struct hfi1_devdata *dd, int index, index 879 drivers/infiniband/hw/hfi1/pcie.c write_csr(dd, ASIC_PCIE_SD_INTRPT_LIST + (index * 8), index 211 drivers/infiniband/hw/hfi1/pio.c static const char *sc_type_name(int index) index 213 drivers/infiniband/hw/hfi1/pio.c if (index < 0 || index >= SC_MAX) index 215 drivers/infiniband/hw/hfi1/pio.c return sc_type_names[index]; index 499 drivers/infiniband/hw/hfi1/pio.c u32 index; index 502 drivers/infiniband/hw/hfi1/pio.c for (index = 0, sci = &dd->send_contexts[0]; index 503 drivers/infiniband/hw/hfi1/pio.c index < dd->num_send_contexts; index++, sci++) { index 507 drivers/infiniband/hw/hfi1/pio.c context = chip_send_contexts(dd) - index - 1; index 508 drivers/infiniband/hw/hfi1/pio.c dd->hw_to_sw[context] = index; index 509 drivers/infiniband/hw/hfi1/pio.c *sw_index = index; index 564 drivers/infiniband/hw/hfi1/pio.c u32 index = sc->hw_context & 0x7; index 566 drivers/infiniband/hw/hfi1/pio.c sc->hw_free = &sc->dd->cr_base[sc->node].va[gc].cr[index]; index 492 drivers/infiniband/hw/hfi1/sdma.c unsigned index; index 495 drivers/infiniband/hw/hfi1/sdma.c for (index = 0; index < dd->num_sdma; index++) { index 496 drivers/infiniband/hw/hfi1/sdma.c struct sdma_engine *curr_sdma = &dd->per_sdma[index]; index 511 drivers/infiniband/hw/hfi1/sdma.c unsigned index; index 515 drivers/infiniband/hw/hfi1/sdma.c for (index = 0; index < sde->dd->num_sdma; index++) { index 516 drivers/infiniband/hw/hfi1/sdma.c struct sdma_engine *curr_sde = &sde->dd->per_sdma[index]; index 349 drivers/infiniband/hw/hfi1/tid_rdma.c qpriv->flow_state.index = RXE_NUM_TID_FLOWS; index 784 drivers/infiniband/hw/hfi1/tid_rdma.c if (fs->index != RXE_NUM_TID_FLOWS) index 794 drivers/infiniband/hw/hfi1/tid_rdma.c fs->index = ret; index 795 drivers/infiniband/hw/hfi1/tid_rdma.c fs->last_index = fs->index; index 799 drivers/infiniband/hw/hfi1/tid_rdma.c rcd->flows[fs->index].generation = fs->generation; index 800 drivers/infiniband/hw/hfi1/tid_rdma.c fs->generation = kern_setup_hw_flow(rcd, fs->index); index 822 drivers/infiniband/hw/hfi1/tid_rdma.c if (fs->index >= RXE_NUM_TID_FLOWS) index 825 drivers/infiniband/hw/hfi1/tid_rdma.c kern_clear_hw_flow(rcd, fs->index); index 826 drivers/infiniband/hw/hfi1/tid_rdma.c clear_bit(fs->index, &rcd->flow_mask); index 827 drivers/infiniband/hw/hfi1/tid_rdma.c fs->index = RXE_NUM_TID_FLOWS; index 1513 drivers/infiniband/hw/hfi1/tid_rdma.c flow->idx = qpriv->flow_state.index; index 3168 drivers/infiniband/hw/hfi1/tid_rdma.c if (fs->index != RXE_NUM_TID_FLOWS) index 3485 drivers/infiniband/hw/hfi1/tid_rdma.c if (qpriv->flow_state.index < RXE_NUM_TID_FLOWS && index 3519 drivers/infiniband/hw/hfi1/tid_rdma.c if (qpriv->flow_state.index >= RXE_NUM_TID_FLOWS) { index 4891 drivers/infiniband/hw/hfi1/tid_rdma.c if (fs->index >= RXE_NUM_TID_FLOWS) { index 4899 drivers/infiniband/hw/hfi1/tid_rdma.c rcd->flows[fs->index].generation = generation; index 4900 drivers/infiniband/hw/hfi1/tid_rdma.c fs->generation = kern_setup_hw_flow(rcd, fs->index); index 80 drivers/infiniband/hw/hfi1/tid_rdma.h u8 index; index 137 drivers/infiniband/hw/hfi1/trace_tid.h u32 index, u32 type, unsigned long pa, u16 order), index 138 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(dd, index, type, pa, order), index 142 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, index); index 149 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index = index; index 157 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index, index 416 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, struct tid_rdma_flow *flow, u32 index, index 418 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, flow, index, mtu8k, v1, vaddr), index 424 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, index) index 433 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index = index; index 441 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index, index 450 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, struct tid_rdma_flow *flow, u32 index, index 452 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, flow, index, mtu8k, v1, vaddr) index 457 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 index, u16 idx, u16 count), index 458 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, idx, count), index 462 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, index) index 469 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index = index; index 477 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index, index 485 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, u32 index, u16 idx, u16 count), index 486 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, idx, count) index 491 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 492 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow), index 496 drivers/infiniband/hw/hfi1/trace_tid.h __field(int, index) index 516 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index = index; index 539 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index, index 560 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 561 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 566 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 567 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 572 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 573 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 578 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 579 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 584 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 585 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 590 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 591 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 596 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 597 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 602 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 603 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 608 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 609 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 614 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 615 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 620 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 621 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 626 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 627 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 632 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct tid_rdma_flow *flow), index 633 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, flow) index 638 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, const char *msg, u32 index, u32 base, index 640 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, msg, index, base, map, used, cnt), index 645 drivers/infiniband/hw/hfi1/trace_tid.h __field(u32, index) index 655 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index = index; index 666 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index, index 676 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, const char *msg, u32 index, u32 base, index 678 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, msg, index, base, map, used, cnt) index 683 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, u32 ent), index 684 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, ent), index 688 drivers/infiniband/hw/hfi1/trace_tid.h __field(int, index) index 696 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index = index; index 705 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index, index 714 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, u32 entry), index 715 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, entry) index 720 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, u32 ent), index 721 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, ent) index 726 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, u32 ent), index 727 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, ent) index 732 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, u32 entry), index 733 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, entry) index 738 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, u32 entry), index 739 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, entry) index 1008 drivers/infiniband/hw/hfi1/trace_tid.h __entry->hw_flow_index = priv->flow_state.index; index 1324 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct rvt_sge *sge), index 1325 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, sge), index 1329 drivers/infiniband/hw/hfi1/trace_tid.h __field(int, index) index 1336 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index = index; index 1344 drivers/infiniband/hw/hfi1/trace_tid.h __entry->index, index 1352 drivers/infiniband/hw/hfi1/trace_tid.h TP_PROTO(struct rvt_qp *qp, int index, struct rvt_sge *sge), index 1353 drivers/infiniband/hw/hfi1/trace_tid.h TP_ARGS(qp, index, sge) index 1394 drivers/infiniband/hw/hfi1/trace_tid.h __entry->hw_flow_index = priv->flow_state.index; index 1746 drivers/infiniband/hw/hfi1/verbs.c unsigned long index, flags; index 1751 drivers/infiniband/hw/hfi1/verbs.c xa_for_each(&hfi1_dev_table, index, dd) { index 1759 drivers/infiniband/hw/hfi1/verbs.c u8 port, int index) index 544 drivers/infiniband/hw/hfi1/vnic_main.c unsigned long index = 0; index 546 drivers/infiniband/hw/hfi1/vnic_main.c vinfo_tmp = xa_find(&dd->vnic.vesws, &index, ULONG_MAX, index 372 drivers/infiniband/hw/hns/hns_roce_cq.c DB_REG_OFFSET * uar->index; index 117 drivers/infiniband/hw/hns/hns_roce_db.c db->index = i; index 118 drivers/infiniband/hw/hns/hns_roce_db.c db->db_record = pgdir->page + db->index; index 119 drivers/infiniband/hw/hns/hns_roce_db.c db->dma = pgdir->db_dma + db->index * HNS_ROCE_DB_UNIT_SIZE; index 162 drivers/infiniband/hw/hns/hns_roce_db.c i = db->index; index 278 drivers/infiniband/hw/hns/hns_roce_device.h unsigned long index; index 481 drivers/infiniband/hw/hns/hns_roce_device.h int index; index 3289 drivers/infiniband/hw/hns/hns_roce_hw_v1.c DB_REG_OFFSET * hr_dev->priv_uar.index; index 85 drivers/infiniband/hw/hns/hns_roce_main.c ret = hr_dev->hw->set_gid(hr_dev, port, attr->index, &attr->gid, attr); index 100 drivers/infiniband/hw/hns/hns_roce_main.c ret = hr_dev->hw->set_gid(hr_dev, port, attr->index, &zgid, &zattr); index 279 drivers/infiniband/hw/hns/hns_roce_main.c static int hns_roce_query_pkey(struct ib_device *ib_dev, u8 port, u16 index, index 576 drivers/infiniband/hw/hns/hns_roce_mr.c unsigned long index = 0; index 580 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_bitmap_alloc(&hr_dev->mr_table.mtpt_bitmap, &index); index 589 drivers/infiniband/hw/hns/hns_roce_mr.c mr->key = hw_index_to_key(index); /* MR key */ index 1517 drivers/infiniband/hw/hns/hns_roce_mr.c unsigned long index = 0; index 1525 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_bitmap_alloc(&hr_dev->mr_table.mtpt_bitmap, &index); index 1529 drivers/infiniband/hw/hns/hns_roce_mr.c mw->rkey = hw_index_to_key(index); index 103 drivers/infiniband/hw/hns/hns_roce_pd.c uar->index = (uar->logic_idx - 1) % index 106 drivers/infiniband/hw/hns/hns_roce_pd.c uar->index = 0; index 114 drivers/infiniband/hw/hns/hns_roce_pd.c uar->pfn = ((res->start) >> PAGE_SHIFT) + uar->index; index 832 drivers/infiniband/hw/hns/hns_roce_qp.c DB_REG_OFFSET * hr_dev->priv_uar.index; index 834 drivers/infiniband/hw/hns/hns_roce_qp.c DB_REG_OFFSET * hr_dev->priv_uar.index; index 4846 drivers/infiniband/hw/i40iw/i40iw_ctrl.c enum i40iw_hw_stats_index_32b index, index 4854 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u32 stats_reg_offset = stats_table->stats_offset_32[index]; index 4858 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (new_stats_value < last_rd_stats->stats_value_32[index]) index 4859 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_32[index] += new_stats_value; index 4861 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_32[index] += index 4862 drivers/infiniband/hw/i40iw/i40iw_ctrl.c new_stats_value - last_rd_stats->stats_value_32[index]; index 4863 drivers/infiniband/hw/i40iw/i40iw_ctrl.c last_rd_stats->stats_value_32[index] = new_stats_value; index 4864 drivers/infiniband/hw/i40iw/i40iw_ctrl.c *value = hw_stats->stats_value_32[index]; index 4874 drivers/infiniband/hw/i40iw/i40iw_ctrl.c enum i40iw_hw_stats_index_64b index, index 4882 drivers/infiniband/hw/i40iw/i40iw_ctrl.c u32 stats_reg_offset = stats_table->stats_offset_64[index]; index 4886 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (new_stats_value < last_rd_stats->stats_value_64[index]) index 4887 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_64[index] += new_stats_value; index 4889 drivers/infiniband/hw/i40iw/i40iw_ctrl.c hw_stats->stats_value_64[index] += index 4890 drivers/infiniband/hw/i40iw/i40iw_ctrl.c new_stats_value - last_rd_stats->stats_value_64[index]; index 4891 drivers/infiniband/hw/i40iw/i40iw_ctrl.c last_rd_stats->stats_value_64[index] = new_stats_value; index 4892 drivers/infiniband/hw/i40iw/i40iw_ctrl.c *value = hw_stats->stats_value_64[index]; index 1621 drivers/infiniband/hw/i40iw/i40iw_d.h #define I40IW_ATOMIC_RING_MOVE_HEAD(_ring, index, _retcode) \ index 1623 drivers/infiniband/hw/i40iw/i40iw_d.h index = I40IW_RING_GETCURRENT_HEAD(_ring); \ index 75 drivers/infiniband/hw/i40iw/i40iw_p.h enum i40iw_hw_stats_index_32b index, index 78 drivers/infiniband/hw/i40iw/i40iw_p.h enum i40iw_hw_stats_index_64b index, index 80 drivers/infiniband/hw/i40iw/i40iw_p.h void i40iw_hw_stats_init(struct i40iw_vsi_pestat *stats, u8 index, bool is_pf); index 2579 drivers/infiniband/hw/i40iw/i40iw_verbs.c u8 port_num, int index) index 2607 drivers/infiniband/hw/i40iw/i40iw_verbs.c int index, index 2626 drivers/infiniband/hw/i40iw/i40iw_verbs.c u16 index, index 411 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c static void i40iw_vf_init_pestat(struct i40iw_sc_dev *dev, struct i40iw_vsi_pestat *stats, u16 index) index 414 drivers/infiniband/hw/i40iw/i40iw_virtchnl.c i40iw_hw_stats_init(stats, (u8)index, false); index 111 drivers/infiniband/hw/mlx4/alias_GUID.c static __be64 get_cached_alias_guid(struct mlx4_ib_dev *dev, int port, int index) index 113 drivers/infiniband/hw/mlx4/alias_GUID.c if (index >= NUM_ALIAS_GUID_PER_PORT) { index 114 drivers/infiniband/hw/mlx4/alias_GUID.c pr_err("%s: ERROR: asked for index:%d\n", __func__, index); index 117 drivers/infiniband/hw/mlx4/alias_GUID.c return *(__be64 *)&dev->sriov.demux[port - 1].guid_cache[index]; index 121 drivers/infiniband/hw/mlx4/alias_GUID.c ib_sa_comp_mask mlx4_ib_get_aguid_comp_mask_from_ix(int index) index 123 drivers/infiniband/hw/mlx4/alias_GUID.c return IB_SA_COMP_MASK(4 + index); index 131 drivers/infiniband/hw/mlx4/alias_GUID.c int index = slave % 8; index 144 drivers/infiniband/hw/mlx4/alias_GUID.c all_recs[GUID_REC_SIZE * index]; index 156 drivers/infiniband/hw/mlx4/alias_GUID.c all_recs[GUID_REC_SIZE * index] = required_guid; index 159 drivers/infiniband/hw/mlx4/alias_GUID.c |= mlx4_ib_get_aguid_comp_mask_from_ix(index); index 168 drivers/infiniband/hw/mlx4/alias_GUID.c guids_retry_schedule[index] = 0; index 452 drivers/infiniband/hw/mlx4/alias_GUID.c static void invalidate_guid_record(struct mlx4_ib_dev *dev, u8 port, int index) index 458 drivers/infiniband/hw/mlx4/alias_GUID.c dev->sriov.alias_guid.ports_guid[port - 1].all_rec_per_port[index].status index 465 drivers/infiniband/hw/mlx4/alias_GUID.c all_rec_per_port[index].all_recs[GUID_REC_SIZE * i]; index 473 drivers/infiniband/hw/mlx4/alias_GUID.c (!index && !i)) index 478 drivers/infiniband/hw/mlx4/alias_GUID.c all_rec_per_port[index].guid_indexes |= comp_mask; index 480 drivers/infiniband/hw/mlx4/alias_GUID.c all_rec_per_port[index].guid_indexes) index 482 drivers/infiniband/hw/mlx4/alias_GUID.c all_rec_per_port[index].status = MLX4_GUID_INFO_STATUS_IDLE; index 497 drivers/infiniband/hw/mlx4/alias_GUID.c int index = rec->block_num; index 525 drivers/infiniband/hw/mlx4/alias_GUID.c callback_context->block_num = index; index 532 drivers/infiniband/hw/mlx4/alias_GUID.c guid_info_rec.block_num = index; index 569 drivers/infiniband/hw/mlx4/alias_GUID.c invalidate_guid_record(dev, port, index); index 958 drivers/infiniband/hw/mlx4/mad.c tmp_counter->index, index 1312 drivers/infiniband/hw/mlx4/mad.c int index) index 1322 drivers/infiniband/hw/mlx4/mad.c sg_list.addr = tun_qp->ring[index].map; index 1329 drivers/infiniband/hw/mlx4/mad.c recv_wr.wr_id = (u64) index | MLX4_TUN_WRID_RECV | index 1331 drivers/infiniband/hw/mlx4/mad.c ib_dma_sync_single_for_device(ctx->ib_dev, tun_qp->ring[index].map, index 412 drivers/infiniband/hw/mlx4/main.c return attr->index; index 834 drivers/infiniband/hw/mlx4/main.c int __mlx4_ib_query_gid(struct ib_device *ibdev, u8 port, int index, index 863 drivers/infiniband/hw/mlx4/main.c if (index) { index 873 drivers/infiniband/hw/mlx4/main.c in_mad->attr_mod = cpu_to_be32(index / 8); index 880 drivers/infiniband/hw/mlx4/main.c memcpy(gid->raw + 8, out_mad->data + (index % 8) * 8, 8); index 890 drivers/infiniband/hw/mlx4/main.c static int mlx4_ib_query_gid(struct ib_device *ibdev, u8 port, int index, index 894 drivers/infiniband/hw/mlx4/main.c return __mlx4_ib_query_gid(ibdev, port, index, gid, 0); index 958 drivers/infiniband/hw/mlx4/main.c int __mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 973 drivers/infiniband/hw/mlx4/main.c in_mad->attr_mod = cpu_to_be32(index / 32); index 983 drivers/infiniband/hw/mlx4/main.c *pkey = be16_to_cpu(((__be16 *) out_mad->data)[index % 32]); index 991 drivers/infiniband/hw/mlx4/main.c static int mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) index 993 drivers/infiniband/hw/mlx4/main.c return __mlx4_ib_query_pkey(ibdev, port, index, pkey, 0); index 1300 drivers/infiniband/hw/mlx4/main.c mlx4_counter_free(ibdev->dev, counter->index); index 2133 drivers/infiniband/hw/mlx4/main.c u8 port, int index) index 2790 drivers/infiniband/hw/mlx4/main.c new_counter_index->index = counter_index; index 2805 drivers/infiniband/hw/mlx4/main.c new_counter_index->index = counter_index; index 564 drivers/infiniband/hw/mlx4/mlx4_ib.h u32 index; index 805 drivers/infiniband/hw/mlx4/mlx4_ib.h int __mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 808 drivers/infiniband/hw/mlx4/mlx4_ib.h int __mlx4_ib_query_gid(struct ib_device *ibdev, u8 port, int index, index 880 drivers/infiniband/hw/mlx4/mlx4_ib.h ib_sa_comp_mask mlx4_ib_get_aguid_comp_mask_from_ix(int index); index 531 drivers/infiniband/hw/mlx4/qp.c mlx4_counter_free(dev->dev, qp->counter_index->index); index 1995 drivers/infiniband/hw/mlx4/qp.c new_counter_index->index = tmp_idx; index 2254 drivers/infiniband/hw/mlx4/qp.c mlx4_to_hw_uar_index(dev->dev, ucontext->uar.index)); index 2257 drivers/infiniband/hw/mlx4/qp.c mlx4_to_hw_uar_index(dev->dev, dev->priv_uar.index)); index 2278 drivers/infiniband/hw/mlx4/qp.c counter_index = qp->counter_index->index; index 3013 drivers/infiniband/hw/mlx4/qp.c int index, union ib_gid *gid, index 3022 drivers/infiniband/hw/mlx4/qp.c memcpy(gid, &port_gid_table->gids[index].gid, sizeof(*gid)); index 3023 drivers/infiniband/hw/mlx4/qp.c *gid_type = port_gid_table->gids[index].gid_type; index 436 drivers/infiniband/hw/mlx4/sysfs.c int index; index 446 drivers/infiniband/hw/mlx4/sysfs.c if (p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index] >= index 452 drivers/infiniband/hw/mlx4/sysfs.c [p->port_num - 1][tab_attr->index]); index 476 drivers/infiniband/hw/mlx4/sysfs.c [tab_attr->index] = idx; index 478 drivers/infiniband/hw/mlx4/sysfs.c tab_attr->index, idx); index 528 drivers/infiniband/hw/mlx4/sysfs.c element->index = i; index 706 drivers/infiniband/hw/mlx5/cq.c int *cqe_size, int *index, int *inlen) index 766 drivers/infiniband/hw/mlx5/cq.c *index = context->bfregi.sys_pages[0]; index 847 drivers/infiniband/hw/mlx5/cq.c u32 **cqb, int *index, int *inlen) index 884 drivers/infiniband/hw/mlx5/cq.c *index = dev->mdev->priv.uar->index; index 919 drivers/infiniband/hw/mlx5/cq.c int uninitialized_var(index); index 950 drivers/infiniband/hw/mlx5/cq.c &index, &inlen); index 956 drivers/infiniband/hw/mlx5/cq.c &index, &inlen); index 975 drivers/infiniband/hw/mlx5/cq.c MLX5_SET(cqc, cqc, uar_page, index); index 77 drivers/infiniband/hw/mlx5/gsi.c u32 index; index 79 drivers/infiniband/hw/mlx5/gsi.c for (index = gsi->outstanding_ci; index != gsi->outstanding_pi; index 80 drivers/infiniband/hw/mlx5/gsi.c index++) { index 81 drivers/infiniband/hw/mlx5/gsi.c wr = &gsi->outstanding_wrs[index % gsi->cap.max_send_wr]; index 93 drivers/infiniband/hw/mlx5/gsi.c gsi->outstanding_ci = index; index 465 drivers/infiniband/hw/mlx5/mad.c int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index, index 479 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(index / 32); index 486 drivers/infiniband/hw/mlx5/mad.c *pkey = be16_to_cpu(((__be16 *)out_mad->data)[index % 32]); index 494 drivers/infiniband/hw/mlx5/mad.c int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u8 port, int index, index 519 drivers/infiniband/hw/mlx5/mad.c in_mad->attr_mod = cpu_to_be32(index / 8); index 526 drivers/infiniband/hw/mlx5/mad.c memcpy(gid->raw + 8, out_mad->data + (index % 8) * 8, 8); index 579 drivers/infiniband/hw/mlx5/main.c unsigned int index, const union ib_gid *gid, index 612 drivers/infiniband/hw/mlx5/main.c return mlx5_core_roce_gid_set(dev->mdev, index, roce_version, index 622 drivers/infiniband/hw/mlx5/main.c attr->index, &attr->gid, attr); index 629 drivers/infiniband/hw/mlx5/main.c attr->index, NULL, NULL); index 1429 drivers/infiniband/hw/mlx5/main.c static int mlx5_ib_query_gid(struct ib_device *ibdev, u8 port, int index, index 1437 drivers/infiniband/hw/mlx5/main.c return mlx5_query_mad_ifc_gids(ibdev, port, index, gid); index 1440 drivers/infiniband/hw/mlx5/main.c return mlx5_query_hca_vport_gid(mdev, 0, port, 0, index, gid); index 1449 drivers/infiniband/hw/mlx5/main.c u16 index, u16 *pkey) index 1468 drivers/infiniband/hw/mlx5/main.c index, pkey); index 1475 drivers/infiniband/hw/mlx5/main.c static int mlx5_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 1480 drivers/infiniband/hw/mlx5/main.c return mlx5_query_mad_ifc_pkey(ibdev, port, index, pkey); index 1484 drivers/infiniband/hw/mlx5/main.c return mlx5_query_hca_nic_pkey(ibdev, port, index, pkey); index 3399 drivers/infiniband/hw/mlx5/main.c if (cntrs_max_index <= desc_data[i].index) index 3400 drivers/infiniband/hw/mlx5/main.c cntrs_max_index = desc_data[i].index + 1; index 5580 drivers/infiniband/hw/mlx5/main.c u8 port_num, int index) index 6104 drivers/infiniband/hw/mlx5/main.c read_attr->counters_buff[desc[i].index] += mread_attr.out[desc[i].description]; index 1201 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index, index 1203 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u8 port, int index, index 1056 drivers/infiniband/hw/mlx5/qp.c uar_index = qp->bf.bfreg->index; index 118 drivers/infiniband/hw/mthca/mthca_allocator.c void *mthca_array_get(struct mthca_array *array, int index) index 120 drivers/infiniband/hw/mthca/mthca_allocator.c int p = (index * sizeof (void *)) >> PAGE_SHIFT; index 123 drivers/infiniband/hw/mthca/mthca_allocator.c return array->page_list[p].page[index & MTHCA_ARRAY_MASK]; index 128 drivers/infiniband/hw/mthca/mthca_allocator.c int mthca_array_set(struct mthca_array *array, int index, void *value) index 130 drivers/infiniband/hw/mthca/mthca_allocator.c int p = (index * sizeof (void *)) >> PAGE_SHIFT; index 139 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[p].page[index & MTHCA_ARRAY_MASK] = value; index 145 drivers/infiniband/hw/mthca/mthca_allocator.c void mthca_array_clear(struct mthca_array *array, int index) index 147 drivers/infiniband/hw/mthca/mthca_allocator.c int p = (index * sizeof (void *)) >> PAGE_SHIFT; index 153 drivers/infiniband/hw/mthca/mthca_allocator.c array->page_list[p].page[index & MTHCA_ARRAY_MASK] = NULL; index 157 drivers/infiniband/hw/mthca/mthca_allocator.c array, index, p, array->page_list[p].used); index 158 drivers/infiniband/hw/mthca/mthca_av.c u32 index = -1; index 172 drivers/infiniband/hw/mthca/mthca_av.c index = mthca_alloc(&dev->av_table.alloc); index 175 drivers/infiniband/hw/mthca/mthca_av.c if (index == -1) index 184 drivers/infiniband/hw/mthca/mthca_av.c index * MTHCA_AV_SIZE; index 235 drivers/infiniband/hw/mthca/mthca_av.c memcpy_toio(dev->av_table.av_map + index * MTHCA_AV_SIZE, index 1941 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_READ_MGM(struct mthca_dev *dev, int index, index 1944 drivers/infiniband/hw/mthca/mthca_cmd.c return mthca_cmd_box(dev, 0, mailbox->dma, index, 0, index 1948 drivers/infiniband/hw/mthca/mthca_cmd.c int mthca_WRITE_MGM(struct mthca_dev *dev, int index, index 1951 drivers/infiniband/hw/mthca/mthca_cmd.c return mthca_cmd(dev, mailbox->dma, index, 0, CMD_WRITE_MGM, index 317 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_READ_MGM(struct mthca_dev *dev, int index, index 319 drivers/infiniband/hw/mthca/mthca_cmd.h int mthca_WRITE_MGM(struct mthca_dev *dev, int index, index 828 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); index 830 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); index 419 drivers/infiniband/hw/mthca/mthca_dev.h void *mthca_array_get(struct mthca_array *array, int index); index 420 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_array_set(struct mthca_array *array, int index, void *value); index 421 drivers/infiniband/hw/mthca/mthca_dev.h void mthca_array_clear(struct mthca_array *array, int index); index 543 drivers/infiniband/hw/mthca/mthca_dev.h int index, int *dbd, __be32 *new_wqe); index 539 drivers/infiniband/hw/mthca/mthca_eq.c eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); index 65 drivers/infiniband/hw/mthca/mthca_mcg.c u16 *hash, int *prev, int *index) index 88 drivers/infiniband/hw/mthca/mthca_mcg.c *index = *hash; index 92 drivers/infiniband/hw/mthca/mthca_mcg.c err = mthca_READ_MGM(dev, *index, mgm_mailbox); index 99 drivers/infiniband/hw/mthca/mthca_mcg.c if (*index != *hash) { index 109 drivers/infiniband/hw/mthca/mthca_mcg.c *prev = *index; index 110 drivers/infiniband/hw/mthca/mthca_mcg.c *index = be32_to_cpu(mgm->next_gid_index) >> 6; index 111 drivers/infiniband/hw/mthca/mthca_mcg.c } while (*index); index 113 drivers/infiniband/hw/mthca/mthca_mcg.c *index = -1; index 126 drivers/infiniband/hw/mthca/mthca_mcg.c int index, prev; index 138 drivers/infiniband/hw/mthca/mthca_mcg.c err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index); index 142 drivers/infiniband/hw/mthca/mthca_mcg.c if (index != -1) { index 148 drivers/infiniband/hw/mthca/mthca_mcg.c index = mthca_alloc(&dev->mcg_table.alloc); index 149 drivers/infiniband/hw/mthca/mthca_mcg.c if (index == -1) { index 155 drivers/infiniband/hw/mthca/mthca_mcg.c err = mthca_READ_MGM(dev, index, mailbox); index 176 drivers/infiniband/hw/mthca/mthca_mcg.c mthca_err(dev, "MGM at index %x is full.\n", index); index 181 drivers/infiniband/hw/mthca/mthca_mcg.c err = mthca_WRITE_MGM(dev, index, mailbox); index 197 drivers/infiniband/hw/mthca/mthca_mcg.c mgm->next_gid_index = cpu_to_be32(index << 6); index 204 drivers/infiniband/hw/mthca/mthca_mcg.c if (err && link && index != -1) { index 205 drivers/infiniband/hw/mthca/mthca_mcg.c BUG_ON(index < dev->limits.num_mgms); index 206 drivers/infiniband/hw/mthca/mthca_mcg.c mthca_free(&dev->mcg_table.alloc, index); index 220 drivers/infiniband/hw/mthca/mthca_mcg.c int prev, index; index 231 drivers/infiniband/hw/mthca/mthca_mcg.c err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index); index 235 drivers/infiniband/hw/mthca/mthca_mcg.c if (index == -1) { index 257 drivers/infiniband/hw/mthca/mthca_mcg.c err = mthca_WRITE_MGM(dev, index, mailbox); index 279 drivers/infiniband/hw/mthca/mthca_mcg.c err = mthca_WRITE_MGM(dev, index, mailbox); index 304 drivers/infiniband/hw/mthca/mthca_mcg.c BUG_ON(index < dev->limits.num_mgms); index 305 drivers/infiniband/hw/mthca/mthca_mcg.c mthca_free(&dev->mcg_table.alloc, index); index 442 drivers/infiniband/hw/mthca/mthca_memfree.c uar->index * dev->uar_table.uarc_size + index 447 drivers/infiniband/hw/mthca/mthca_memfree.c struct mthca_user_db_table *db_tab, int index, u64 uaddr) index 456 drivers/infiniband/hw/mthca/mthca_memfree.c if (index < 0 || index > dev->uar_table.uarc_size / 8) index 461 drivers/infiniband/hw/mthca/mthca_memfree.c i = index / MTHCA_DB_REC_PER_PAGE; index 506 drivers/infiniband/hw/mthca/mthca_memfree.c struct mthca_user_db_table *db_tab, int index) index 518 drivers/infiniband/hw/mthca/mthca_memfree.c --db_tab->page[index / MTHCA_DB_REC_PER_PAGE].refcount; index 166 drivers/infiniband/hw/mthca/mthca_memfree.h struct mthca_user_db_table *db_tab, int index, u64 uaddr); index 168 drivers/infiniband/hw/mthca/mthca_memfree.h struct mthca_user_db_table *db_tab, int index); index 236 drivers/infiniband/hw/mthca/mthca_provider.c u8 port, u16 index, u16 *pkey) index 249 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_mod = cpu_to_be32(index / 32); index 256 drivers/infiniband/hw/mthca/mthca_provider.c *pkey = be16_to_cpu(((__be16 *) out_mad->data)[index % 32]); index 265 drivers/infiniband/hw/mthca/mthca_provider.c int index, union ib_gid *gid) index 289 drivers/infiniband/hw/mthca/mthca_provider.c in_mad->attr_mod = cpu_to_be32(index / 8); index 296 drivers/infiniband/hw/mthca/mthca_provider.c memcpy(gid->raw + 8, out_mad->data + (index % 8) * 8, 8); index 59 drivers/infiniband/hw/mthca/mthca_provider.h int index; index 627 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->usr_page = cpu_to_be32(context->uar.index); index 629 drivers/infiniband/hw/mthca/mthca_qp.c qp_context->usr_page = cpu_to_be32(dev->driver_uar.index); index 2232 drivers/infiniband/hw/mthca/mthca_qp.c int index, int *dbd, __be32 *new_wqe) index 2246 drivers/infiniband/hw/mthca/mthca_qp.c next = get_send_wqe(qp, index); index 2248 drivers/infiniband/hw/mthca/mthca_qp.c next = get_recv_wqe(qp, index); index 113 drivers/infiniband/hw/mthca/mthca_srq.c context->uar = cpu_to_be32(ucontext->uar.index); index 115 drivers/infiniband/hw/mthca/mthca_srq.c context->uar = cpu_to_be32(dev->driver_uar.index); index 141 drivers/infiniband/hw/mthca/mthca_srq.c context->logstride_usrpage |= cpu_to_be32(ucontext->uar.index); index 143 drivers/infiniband/hw/mthca/mthca_srq.c context->logstride_usrpage |= cpu_to_be32(dev->driver_uar.index); index 40 drivers/infiniband/hw/mthca/mthca_uar.c uar->index = mthca_alloc(&dev->uar_table.alloc); index 41 drivers/infiniband/hw/mthca/mthca_uar.c if (uar->index == -1) index 44 drivers/infiniband/hw/mthca/mthca_uar.c uar->pfn = (pci_resource_start(dev->pdev, 2) >> PAGE_SHIFT) + uar->index; index 51 drivers/infiniband/hw/mthca/mthca_uar.c mthca_free(&dev->uar_table.alloc, uar->index); index 57 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c int ocrdma_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) index 59 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (index > 0) index 64 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h int ocrdma_query_pkey(struct ib_device *, u8 port, u16 index, u16 *pkey); index 408 drivers/infiniband/hw/qedr/main.c cnq->index = i; index 506 drivers/infiniband/hw/qedr/main.c qed_ops->rdma_cnq_prod_update(cnq->dev->rdma_ctx, cnq->index, index 80 drivers/infiniband/hw/qedr/qedr.h u8 index; index 338 drivers/infiniband/hw/qedr/qedr.h #define QEDR_INC_SW_IDX(p_info, index) \ index 340 drivers/infiniband/hw/qedr/qedr.h p_info->index = (p_info->index + 1) & \ index 70 drivers/infiniband/hw/qedr/verbs.c int qedr_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) index 72 drivers/infiniband/hw/qedr/verbs.c if (index >= QEDR_ROCE_PKEY_TABLE_LEN) index 80 drivers/infiniband/hw/qedr/verbs.c int index, union ib_gid *sgid) index 87 drivers/infiniband/hw/qedr/verbs.c DP_DEBUG(dev, QEDR_MSG_INIT, "QUERY sgid[%d]=%llx:%llx\n", index, index 42 drivers/infiniband/hw/qedr/verbs.h int index, union ib_gid *gid); index 44 drivers/infiniband/hw/qedr/verbs.h int qedr_query_pkey(struct ib_device *, u8 port, u16 index, u16 *pkey); index 97 drivers/infiniband/hw/qib/qib_driver.c unsigned long index, flags; index 101 drivers/infiniband/hw/qib/qib_driver.c xa_for_each(&qib_dev_table, index, dd) { index 126 drivers/infiniband/hw/qib/qib_driver.c unsigned long index, flags; index 131 drivers/infiniband/hw/qib/qib_driver.c xa_for_each(&qib_dev_table, index, dd) { index 513 drivers/infiniband/hw/qib/qib_fs.c unsigned long index; index 528 drivers/infiniband/hw/qib/qib_fs.c xa_for_each(&qib_dev_table, index, dd) { index 6140 drivers/infiniband/hw/qib/qib_iba7322.c unsigned long index, val; index 6156 drivers/infiniband/hw/qib/qib_iba7322.c xa_for_each(&qib_dev_table, index, dd) index 1059 drivers/infiniband/hw/qib/qib_init.c unsigned long index, flags; index 1064 drivers/infiniband/hw/qib/qib_init.c xa_for_each(&qib_dev_table, index, dd) { index 59 drivers/infiniband/hw/qib/qib_ruc.c static __be64 get_sguid(struct qib_ibport *ibp, unsigned index) index 61 drivers/infiniband/hw/qib/qib_ruc.c if (!index) { index 66 drivers/infiniband/hw/qib/qib_ruc.c return ibp->guids[index - 1]; index 72 drivers/infiniband/hw/qib/qib_user_sdma.c u16 index; /* last header index or push index */ index 382 drivers/infiniband/hw/qib/qib_user_sdma.c if (!pkt->addr[pkt->index].addr) { index 383 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].addr = index 385 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].kvaddr, index 386 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].dma_length, index 389 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].addr)) { index 393 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].dma_mapped = 1; index 432 drivers/infiniband/hw/qib/qib_user_sdma.c pbclen = pkt->addr[pkt->index].length; index 439 drivers/infiniband/hw/qib/qib_user_sdma.c pbc16 = (__le16 *)pkt->addr[pkt->index].kvaddr; index 473 drivers/infiniband/hw/qib/qib_user_sdma.c if (!pkt->addr[pkt->index].addr) { index 474 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].addr = index 476 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].kvaddr, index 477 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].dma_length, index 480 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].addr)) { index 484 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->addr[pkt->index].dma_mapped = 1; index 530 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->index = pkt->naddr; index 980 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->index = 0; index 1014 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->index = 0; /* reset index for push on hw */ index 1259 drivers/infiniband/hw/qib/qib_user_sdma.c for (i = pkt->index; i < pkt->naddr && nfree; i++) { index 1281 drivers/infiniband/hw/qib/qib_user_sdma.c for (j = pkt->index; j <= i; j++) { index 1288 drivers/infiniband/hw/qib/qib_user_sdma.c c += i + 1 - pkt->index; index 1289 drivers/infiniband/hw/qib/qib_user_sdma.c pkt->index = i + 1; /* index for next first */ index 1297 drivers/infiniband/hw/qib/qib_user_sdma.c if (pkt->index == pkt->naddr) { index 1373 drivers/infiniband/hw/qib/qib_verbs.c unsigned qib_get_pkey(struct qib_ibport *ibp, unsigned index) index 1381 drivers/infiniband/hw/qib/qib_verbs.c if (!dd->rcd || index >= ARRAY_SIZE(dd->rcd[ctxt]->pkeys)) index 1384 drivers/infiniband/hw/qib/qib_verbs.c ret = dd->rcd[ctxt]->pkeys[index]; index 422 drivers/infiniband/hw/usnic/usnic_ib_verbs.c int usnic_ib_query_gid(struct ib_device *ibdev, u8 port, int index, index 429 drivers/infiniband/hw/usnic/usnic_ib_verbs.c if (index > 1) index 441 drivers/infiniband/hw/usnic/usnic_ib_verbs.c int usnic_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 444 drivers/infiniband/hw/usnic/usnic_ib_verbs.c if (index > 0) index 49 drivers/infiniband/hw/usnic/usnic_ib_verbs.h int usnic_ib_query_gid(struct ib_device *ibdev, u8 port, int index, index 51 drivers/infiniband/hw/usnic/usnic_ib_verbs.h int usnic_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 112 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h int index; index 405 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u8 index; index 618 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 index; index 626 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 index; index 108 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c uar->index = obj; index 110 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c PAGE_SHIFT) + uar->index; index 121 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c obj = uar->index & (tbl->max - 1); index 613 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c int index) index 629 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c cmd_bind->index = index; index 638 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c memcpy(&dev->sgid_tbl[index], gid, sizeof(*gid)); index 648 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c attr->index); index 651 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c static int pvrdma_del_gid_at_index(struct pvrdma_dev *dev, int index) index 665 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c memcpy(cmd_dest->dest_gid, &dev->sgid_tbl[index], 16); index 666 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c cmd_dest->index = index; index 674 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c memset(&dev->sgid_tbl[index], 0, 16); index 683 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c attr->index, dev->netdev->name); index 685 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c return pvrdma_del_gid_at_index(dev, attr->index); index 871 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c dev->driver_uar.index = 0; index 186 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c int pvrdma_query_gid(struct ib_device *ibdev, u8 port, int index, index 191 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c if (index >= dev->dsr->caps.gid_tbl_len) index 194 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c memcpy(gid, &dev->sgid_tbl[index], sizeof(union ib_gid)); index 208 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c int pvrdma_query_pkey(struct ib_device *ibdev, u8 port, u16 index, index 219 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c cmd->index = index; index 389 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h int index, union ib_gid *gid); index 391 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h u16 index, u16 *pkey); index 2551 drivers/infiniband/sw/rdmavt/qp.c unsigned long rvt_rnr_tbl_to_usec(u32 index) index 2553 drivers/infiniband/sw/rdmavt/qp.c return ib_rvt_rnr_table[(index & IB_AETH_CREDIT_MASK)]; index 230 drivers/infiniband/sw/rdmavt/vt.c static int rvt_query_pkey(struct ib_device *ibdev, u8 port_num, u16 index, index 246 drivers/infiniband/sw/rdmavt/vt.c if (index >= rvt_get_npkeys(rdi)) index 249 drivers/infiniband/sw/rdmavt/vt.c *pkey = rvt_get_pkey(rdi, port_index, index); index 56 drivers/infiniband/sw/rxe/rxe_hw_counters.c u8 port, int index) index 63 drivers/infiniband/sw/rxe/rxe_hw_counters.h u8 port, int index); index 79 drivers/infiniband/sw/rxe/rxe_mr.c u32 lkey = mem->pelem.index << 8 | rxe_get_key(); index 573 drivers/infiniband/sw/rxe/rxe_mr.c int index = key >> 8; index 575 drivers/infiniband/sw/rxe/rxe_mr.c mem = rxe_pool_get_index(&rxe->mr_pool, index); index 270 drivers/infiniband/sw/rxe/rxe_pool.c u32 index; index 273 drivers/infiniband/sw/rxe/rxe_pool.c index = find_next_zero_bit(pool->table, range, pool->last); index 274 drivers/infiniband/sw/rxe/rxe_pool.c if (index >= range) index 275 drivers/infiniband/sw/rxe/rxe_pool.c index = find_first_zero_bit(pool->table, range); index 277 drivers/infiniband/sw/rxe/rxe_pool.c WARN_ON_ONCE(index >= range); index 278 drivers/infiniband/sw/rxe/rxe_pool.c set_bit(index, pool->table); index 279 drivers/infiniband/sw/rxe/rxe_pool.c pool->last = index; index 280 drivers/infiniband/sw/rxe/rxe_pool.c return index + pool->min_index; index 293 drivers/infiniband/sw/rxe/rxe_pool.c if (elem->index == new->index) { index 298 drivers/infiniband/sw/rxe/rxe_pool.c if (elem->index > new->index) index 371 drivers/infiniband/sw/rxe/rxe_pool.c elem->index = alloc_index(pool); index 383 drivers/infiniband/sw/rxe/rxe_pool.c clear_bit(elem->index - pool->min_index, pool->table); index 477 drivers/infiniband/sw/rxe/rxe_pool.c void *rxe_pool_get_index(struct rxe_pool *pool, u32 index) index 493 drivers/infiniband/sw/rxe/rxe_pool.c if (elem->index > index) index 495 drivers/infiniband/sw/rxe/rxe_pool.c else if (elem->index < index) index 89 drivers/infiniband/sw/rxe/rxe_pool.h u32 index; index 155 drivers/infiniband/sw/rxe/rxe_pool.h void *rxe_pool_get_index(struct rxe_pool *pool, u32 index); index 187 drivers/infiniband/sw/rxe/rxe_qp.c qpn = qp->pelem.index; index 99 drivers/infiniband/sw/rxe/rxe_queue.h static inline int next_index(struct rxe_queue *q, int index) index 101 drivers/infiniband/sw/rxe/rxe_queue.h return (index + 1) & q->buf->index_mask; index 150 drivers/infiniband/sw/rxe/rxe_queue.h static inline void *addr_from_index(struct rxe_queue *q, unsigned int index) index 152 drivers/infiniband/sw/rxe/rxe_queue.h return q->buf->data + ((index & q->index_mask) index 220 drivers/infiniband/sw/rxe/rxe_recv.c int index; index 234 drivers/infiniband/sw/rxe/rxe_recv.c index = (qpn == 1) ? port->qp_gsi_index : qpn; index 236 drivers/infiniband/sw/rxe/rxe_recv.c qp = rxe_pool_get_index(&rxe->qp_pool, index); index 112 drivers/infiniband/sw/rxe/rxe_srq.c srq->srq_num = srq->pelem.index; index 84 drivers/infiniband/sw/rxe/rxe_verbs.c u8 port_num, u16 index, u16 *pkey) index 91 drivers/infiniband/sw/rxe/rxe_verbs.c if (unlikely(index >= port->attr.pkey_tbl_len)) { index 93 drivers/infiniband/sw/rxe/rxe_verbs.c index); index 97 drivers/infiniband/sw/rxe/rxe_verbs.c *pkey = port->pkey_tbl[index]; index 418 drivers/infiniband/sw/rxe/rxe_verbs.h static inline void rxe_counter_inc(struct rxe_dev *rxe, enum rxe_counters index) index 420 drivers/infiniband/sw/rxe/rxe_verbs.h atomic64_inc(&rxe->stats_counters[index]); index 139 drivers/infiniband/sw/siw/siw_verbs.c unsigned long index; index 146 drivers/infiniband/sw/siw/siw_verbs.c xa_for_each(&uctx->xa, index, entry) { index 147 drivers/infiniband/sw/siw/siw_verbs.c kfree(xa_erase(&uctx->xa, index)); index 148 drivers/infiniband/sw/siw/siw_verbs.c pr_warn("siw: dropping orphaned uobj at %lu\n", index); index 1071 drivers/infiniband/ulp/ipoib/ipoib_ib.c u16 index; index 1092 drivers/infiniband/ulp/ipoib/ipoib_ib.c err = ib_find_gid(priv->ca, &search_gid, &port, &index); index 1131 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (index == 0) index 370 drivers/infiniband/ulp/iser/iser_verbs.c int index, min_index = 0; index 381 drivers/infiniband/ulp/iser/iser_verbs.c for (index = 0; index < device->comps_used; index++) { index 382 drivers/infiniband/ulp/iser/iser_verbs.c if (device->comps[index].active_qps < index 384 drivers/infiniband/ulp/iser/iser_verbs.c min_index = index; index 172 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c if ((node->index < loffset) || index 173 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c (node->index >= (loffset + lnum_entries))) index 177 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c entry = &tbl->tbl_entries[node->index - loffset]; index 247 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c node->index = loffset + i; index 264 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c if ((node->index >= loffset) && index 265 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c (node->index < (loffset + lnum_entries))) index 274 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c new_node->index = node->index; index 241 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h u16 index; index 863 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c unsigned long index; index 876 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c xa_for_each(&port->vports, index, adapter) { index 893 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c unsigned long index; index 904 drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c xa_for_each(&port->vports, index, adapter) index 733 drivers/infiniband/ulp/srpt/ib_srpt.c ring[i]->index = i; index 1767 drivers/infiniband/ulp/srpt/ib_srpt.c ioctx->ioctx.index); index 2816 drivers/infiniband/ulp/srpt/ib_srpt.c ch, ioctx->ioctx.index, ioctx->state); index 179 drivers/infiniband/ulp/srpt/ib_srpt.h uint32_t index; index 793 drivers/input/input.c unsigned int index) index 797 drivers/input/input.c return ((u8 *)dev->keycode)[index]; index 800 drivers/input/input.c return ((u16 *)dev->keycode)[index]; index 803 drivers/input/input.c return ((u32 *)dev->keycode)[index]; index 810 drivers/input/input.c unsigned int index; index 817 drivers/input/input.c index = ke->index; index 819 drivers/input/input.c error = input_scancode_to_scalar(ke, &index); index 824 drivers/input/input.c if (index >= dev->keycodemax) index 827 drivers/input/input.c ke->keycode = input_fetch_keycode(dev, index); index 828 drivers/input/input.c ke->index = index; index 829 drivers/input/input.c ke->len = sizeof(index); index 830 drivers/input/input.c memcpy(ke->scancode, &index, sizeof(index)); index 839 drivers/input/input.c unsigned int index; index 847 drivers/input/input.c index = ke->index; index 849 drivers/input/input.c error = input_scancode_to_scalar(ke, &index); index 854 drivers/input/input.c if (index >= dev->keycodemax) index 864 drivers/input/input.c *old_keycode = k[index]; index 865 drivers/input/input.c k[index] = ke->keycode; index 870 drivers/input/input.c *old_keycode = k[index]; index 871 drivers/input/input.c k[index] = ke->keycode; index 876 drivers/input/input.c *old_keycode = k[index]; index 877 drivers/input/input.c k[index] = ke->keycode; index 445 drivers/input/joystick/analog.c static int analog_init_device(struct analog_port *port, struct analog *analog, int index) index 453 drivers/input/joystick/analog.c "%s/input%d", port->gameport->phys, index); index 199 drivers/input/keyboard/mtk-pmic-keys.c int index; index 201 drivers/input/keyboard/mtk-pmic-keys.c for (index = 0; index < MTK_PMIC_MAX_KEY_COUNT; index++) { index 202 drivers/input/keyboard/mtk-pmic-keys.c if (keys->keys[index].wakeup) index 203 drivers/input/keyboard/mtk-pmic-keys.c enable_irq_wake(keys->keys[index].irq); index 212 drivers/input/keyboard/mtk-pmic-keys.c int index; index 214 drivers/input/keyboard/mtk-pmic-keys.c for (index = 0; index < MTK_PMIC_MAX_KEY_COUNT; index++) { index 215 drivers/input/keyboard/mtk-pmic-keys.c if (keys->keys[index].wakeup) index 216 drivers/input/keyboard/mtk-pmic-keys.c disable_irq_wake(keys->keys[index].irq); index 240 drivers/input/keyboard/mtk-pmic-keys.c int error, index = 0; index 277 drivers/input/keyboard/mtk-pmic-keys.c keys->keys[index].regs = &mtk_pmic_regs->keys_regs[index]; index 279 drivers/input/keyboard/mtk-pmic-keys.c keys->keys[index].irq = platform_get_irq(pdev, index); index 280 drivers/input/keyboard/mtk-pmic-keys.c if (keys->keys[index].irq < 0) { index 282 drivers/input/keyboard/mtk-pmic-keys.c return keys->keys[index].irq; index 286 drivers/input/keyboard/mtk-pmic-keys.c "linux,keycodes", &keys->keys[index].keycode); index 290 drivers/input/keyboard/mtk-pmic-keys.c index, error); index 296 drivers/input/keyboard/mtk-pmic-keys.c keys->keys[index].wakeup = true; index 298 drivers/input/keyboard/mtk-pmic-keys.c error = mtk_pmic_key_setup(keys, &keys->keys[index]); index 304 drivers/input/keyboard/mtk-pmic-keys.c index++; index 34 drivers/input/keyboard/tc3589x-keypad.c #define TC3589x_IO_PULL_VAL(index, mask) ((mask)<<((index)%4)*2) index 138 drivers/input/keyboard/tm2-touchkey.c int index; index 152 drivers/input/keyboard/tm2-touchkey.c index = (data & TM2_TOUCHKEY_BIT_KEYCODE) - 1; index 153 drivers/input/keyboard/tm2-touchkey.c if (index < 0 || index >= touchkey->num_keycodes) { index 155 drivers/input/keyboard/tm2-touchkey.c "invalid keycode index %d\n", index); index 165 drivers/input/keyboard/tm2-touchkey.c touchkey->keycodes[index], 1); index 351 drivers/input/misc/ati_remote2.c int channel, mode, hw_code, index; index 386 drivers/input/misc/ati_remote2.c index = ati_remote2_lookup(hw_code); index 387 drivers/input/misc/ati_remote2.c if (index < 0) { index 403 drivers/input/misc/ati_remote2.c if (ar2->keycode[mode][index] == BTN_LEFT || index 404 drivers/input/misc/ati_remote2.c ar2->keycode[mode][index] == BTN_RIGHT) index 419 drivers/input/misc/ati_remote2.c input_event(idev, EV_KEY, ar2->keycode[mode][index], data[1]); index 487 drivers/input/misc/ati_remote2.c unsigned int index; index 491 drivers/input/misc/ati_remote2.c index = ke->index; index 492 drivers/input/misc/ati_remote2.c if (index >= ATI_REMOTE2_MODES * index 496 drivers/input/misc/ati_remote2.c mode = ke->index / ARRAY_SIZE(ati_remote2_key_table); index 497 drivers/input/misc/ati_remote2.c offset = ke->index % ARRAY_SIZE(ati_remote2_key_table); index 511 drivers/input/misc/ati_remote2.c index = mode * ARRAY_SIZE(ati_remote2_key_table) + offset; index 517 drivers/input/misc/ati_remote2.c ke->index = index; index 529 drivers/input/misc/ati_remote2.c unsigned int index; index 533 drivers/input/misc/ati_remote2.c if (ke->index >= ATI_REMOTE2_MODES * index 537 drivers/input/misc/ati_remote2.c mode = ke->index / ARRAY_SIZE(ati_remote2_key_table); index 538 drivers/input/misc/ati_remote2.c offset = ke->index % ARRAY_SIZE(ati_remote2_key_table); index 557 drivers/input/misc/ati_remote2.c for (index = 0; index < ARRAY_SIZE(ati_remote2_key_table); index++) { index 558 drivers/input/misc/ati_remote2.c if (ar2->keycode[mode][index] == *old_keycode) index 571 drivers/input/misc/ati_remote2.c int index, mode, retval; index 586 drivers/input/misc/ati_remote2.c for (index = 0; index < ARRAY_SIZE(ati_remote2_key_table); index++) { index 587 drivers/input/misc/ati_remote2.c ar2->keycode[mode][index] = ati_remote2_key_table[index].keycode; index 588 drivers/input/misc/ati_remote2.c __set_bit(ar2->keycode[mode][index], idev->keybit); index 593 drivers/input/misc/ati_remote2.c index = ati_remote2_lookup(0x3f); index 594 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX1][index] = KEY_PROG1; index 595 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX2][index] = KEY_PROG2; index 596 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX3][index] = KEY_PROG3; index 597 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_AUX4][index] = KEY_PROG4; index 598 drivers/input/misc/ati_remote2.c ar2->keycode[ATI_REMOTE2_PC][index] = KEY_PC; index 2462 drivers/input/mouse/alps.c unsigned char index, unsigned char otp[]) index 2466 drivers/input/mouse/alps.c switch (index) { index 286 drivers/input/mouse/bcm5974.c const struct tp_finger *index[MAX_FINGERS]; /* finger index data */ index 623 drivers/input/mouse/bcm5974.c dev->index[n++] = f; index 630 drivers/input/mouse/bcm5974.c &dev->pos[i], dev->index[i]); index 248 drivers/input/mouse/cyapa_gen3.c u8 index; index 264 drivers/input/mouse/cyapa_gen3.c for (index = 0; index * I2C_SMBUS_BLOCK_MAX < len; index++) { index 265 drivers/input/mouse/cyapa_gen3.c smbus_cmd = SMBUS_ENCODE_IDX(cmd, index); index 267 drivers/input/mouse/cyapa_gen3.c buf = values + I2C_SMBUS_BLOCK_MAX * index; index 561 drivers/input/mouse/cypress_ps2.c int index = psmouse->pktcnt - 1; index 565 drivers/input/mouse/cypress_ps2.c if (index < 0 || index > cytp->pkt_size) index 568 drivers/input/mouse/cypress_ps2.c if (index == 0 && (packet[0] & 0xfc) == 0) { index 578 drivers/input/mouse/cypress_ps2.c if (index != 0) index 36 drivers/input/mouse/navpoint.c int index; index 136 drivers/input/mouse/navpoint.c navpoint->data[navpoint->index + 0] = (data >> 8); index 137 drivers/input/mouse/navpoint.c navpoint->data[navpoint->index + 1] = data; index 138 drivers/input/mouse/navpoint.c navpoint->index += 2; index 139 drivers/input/mouse/navpoint.c if (HEADER_LENGTH(navpoint->data[0]) < navpoint->index) { index 141 drivers/input/mouse/navpoint.c navpoint->index = 0; index 225 drivers/input/mousedev.c int index; index 231 drivers/input/mousedev.c case BTN_LEFT: index = 0; break; index 235 drivers/input/mousedev.c case BTN_RIGHT: index = 1; break; index 240 drivers/input/mousedev.c case BTN_MIDDLE: index = 2; break; index 244 drivers/input/mousedev.c case BTN_SIDE: index = 3; break; index 247 drivers/input/mousedev.c case BTN_EXTRA: index = 4; break; index 253 drivers/input/mousedev.c set_bit(index, &mousedev->packet.buttons); index 254 drivers/input/mousedev.c set_bit(index, &mousedev_mix->packet.buttons); index 256 drivers/input/mousedev.c clear_bit(index, &mousedev->packet.buttons); index 257 drivers/input/mousedev.c clear_bit(index, &mousedev_mix->packet.buttons); index 351 drivers/input/rmi4/rmi_f34v7.c int index; index 357 drivers/input/rmi4/rmi_f34v7.c index = i * 8 + 2; index 358 drivers/input/rmi4/rmi_f34v7.c ptable = partition_table + index; index 750 drivers/input/rmi4/rmi_f34v7.c u16 index = 0; index 796 drivers/input/rmi4/rmi_f34v7.c &f34->v7.read_config_buf[index], index 805 drivers/input/rmi4/rmi_f34v7.c index += (transfer * f34->v7.block_size); index 388 drivers/input/rmi4/rmi_f54.c reptype = rmi_f54_get_reptype(f54, i->index); index 461 drivers/input/rmi4/rmi_f54.c if (fmt->index) index 126 drivers/input/serio/arc_ps2.c int index, bool status) index 130 drivers/input/serio/arc_ps2.c addr = arc_ps2->addr + 4 + 4 * index; index 153 drivers/input/serio/arc_ps2.c int index) index 155 drivers/input/serio/arc_ps2.c struct arc_ps2_port *port = &arc_ps2->port[index]; index 166 drivers/input/serio/arc_ps2.c snprintf(io->name, sizeof(io->name), "ARC PS/2 port%d", index); index 167 drivers/input/serio/arc_ps2.c snprintf(io->phys, sizeof(io->phys), "arc/serio%d", index); index 172 drivers/input/serio/arc_ps2.c port->data_addr = arc_ps2_calc_addr(arc_ps2, index, false); index 173 drivers/input/serio/arc_ps2.c port->status_addr = arc_ps2_calc_addr(arc_ps2, index, true); index 176 drivers/input/serio/arc_ps2.c index, port->data_addr, port->status_addr); index 40 drivers/input/sparse-keymap.c unsigned int index) index 47 drivers/input/sparse-keymap.c if (key_cnt++ == index) index 102 drivers/input/sparse-keymap.c key = sparse_keymap_entry_by_index(dev, ke->index); index 121 drivers/input/sparse-keymap.c ke->index = index 481 drivers/input/touchscreen/ads7846.c int index) index 486 drivers/input/touchscreen/ads7846.c if (ts->model == 7843 && index < 2) /* in0, in1 */ index 488 drivers/input/touchscreen/ads7846.c if (ts->model == 7845 && index != 2) /* in0 */ index 2418 drivers/input/touchscreen/atmel_mxt_ts.c if (i->index >= MXT_V4L_INPUT_MAX) index 2423 drivers/input/touchscreen/atmel_mxt_ts.c switch (i->index) { index 2490 drivers/input/touchscreen/atmel_mxt_ts.c switch (fmt->index) { index 53 drivers/input/touchscreen/ektf2127.c int index = 0; index 57 drivers/input/touchscreen/ektf2127.c index = 2 + i * 3; index 59 drivers/input/touchscreen/ektf2127.c touches[i].x = (buf[index] & 0x0f); index 61 drivers/input/touchscreen/ektf2127.c touches[i].x |= buf[index + 2]; index 63 drivers/input/touchscreen/ektf2127.c touches[i].y = (buf[index] & 0xf0); index 65 drivers/input/touchscreen/ektf2127.c touches[i].y |= buf[index + 1]; index 247 drivers/input/touchscreen/fsl-imx25-tcq.c unsigned int index = MX25_ADCQ_FIFO_ID(sample_buf[i]); index 250 drivers/input/touchscreen/fsl-imx25-tcq.c switch (index) { index 265 drivers/input/touchscreen/fsl-imx25-tcq.c index); index 97 drivers/input/touchscreen/hideep.c u8 index; index 695 drivers/input/touchscreen/hideep.c input_mt_slot(input, event->index & 0x0f); index 197 drivers/input/touchscreen/mms114.c int index; index 218 drivers/input/touchscreen/mms114.c for (index = 0; index < touch_size; index++) index 219 drivers/input/touchscreen/mms114.c mms114_process_mt(data, touch + index); index 256 drivers/input/touchscreen/sur40.c u8 command, u16 index, void *buffer, u16 size) index 261 drivers/input/touchscreen/sur40.c 0x00, index, buffer, size, 1000); index 268 drivers/input/touchscreen/sur40.c u8 index = 0x96; // 0xae for permanent write index 272 drivers/input/touchscreen/sur40.c 0x32, index, NULL, 0, 1000); index 938 drivers/input/touchscreen/sur40.c if (i->index != 0) index 1043 drivers/input/touchscreen/sur40.c if (f->index >= ARRAY_SIZE(sur40_pix_format)) index 1046 drivers/input/touchscreen/sur40.c f->pixelformat = sur40_pix_format[f->index].pixelformat; index 1056 drivers/input/touchscreen/sur40.c if ((f->index != 0) || ((f->pixel_format != V4L2_TCH_FMT_TU08) index 1071 drivers/input/touchscreen/sur40.c if ((f->index > 0) || ((f->pixel_format != V4L2_TCH_FMT_TU08) index 2046 drivers/iommu/amd_iommu.c domain->dev_iommu[iommu->index] += 1; index 2079 drivers/iommu/amd_iommu.c domain->dev_iommu[iommu->index] -= 1; index 3488 drivers/iommu/amd_iommu.c int index; index 3493 drivers/iommu/amd_iommu.c index = (pasid >> (9 * level)) & 0x1ff; index 3494 drivers/iommu/amd_iommu.c pte = &root[index]; index 3827 drivers/iommu/amd_iommu.c int index, c, alignment = 1; index 3844 drivers/iommu/amd_iommu.c for (index = ALIGN(table->min_index, alignment), c = 0; index 3845 drivers/iommu/amd_iommu.c index < MAX_IRQS_PER_TABLE;) { index 3846 drivers/iommu/amd_iommu.c if (!iommu->irte_ops->is_allocated(table, index)) { index 3850 drivers/iommu/amd_iommu.c index = ALIGN(index + 1, alignment); index 3856 drivers/iommu/amd_iommu.c iommu->irte_ops->set_allocated(table, index - c + 1); index 3858 drivers/iommu/amd_iommu.c index -= count - 1; index 3862 drivers/iommu/amd_iommu.c index++; index 3865 drivers/iommu/amd_iommu.c index = -ENOSPC; index 3870 drivers/iommu/amd_iommu.c return index; index 3873 drivers/iommu/amd_iommu.c static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, index 3892 drivers/iommu/amd_iommu.c entry = &entry[index]; index 3908 drivers/iommu/amd_iommu.c static int modify_irte(u16 devid, int index, union irte *irte) index 3923 drivers/iommu/amd_iommu.c table->table[index] = irte->val; index 3932 drivers/iommu/amd_iommu.c static void free_irte(u16 devid, int index) index 3947 drivers/iommu/amd_iommu.c iommu->irte_ops->clear_allocated(table, index); index 3984 drivers/iommu/amd_iommu.c static void irte_activate(void *entry, u16 devid, u16 index) index 3989 drivers/iommu/amd_iommu.c modify_irte(devid, index, irte); index 3992 drivers/iommu/amd_iommu.c static void irte_ga_activate(void *entry, u16 devid, u16 index) index 3997 drivers/iommu/amd_iommu.c modify_irte_ga(devid, index, irte, NULL); index 4000 drivers/iommu/amd_iommu.c static void irte_deactivate(void *entry, u16 devid, u16 index) index 4005 drivers/iommu/amd_iommu.c modify_irte(devid, index, irte); index 4008 drivers/iommu/amd_iommu.c static void irte_ga_deactivate(void *entry, u16 devid, u16 index) index 4013 drivers/iommu/amd_iommu.c modify_irte_ga(devid, index, irte, NULL); index 4016 drivers/iommu/amd_iommu.c static void irte_set_affinity(void *entry, u16 devid, u16 index, index 4023 drivers/iommu/amd_iommu.c modify_irte(devid, index, irte); index 4026 drivers/iommu/amd_iommu.c static void irte_ga_set_affinity(void *entry, u16 devid, u16 index, index 4037 drivers/iommu/amd_iommu.c modify_irte_ga(devid, index, irte, NULL); index 4042 drivers/iommu/amd_iommu.c static void irte_set_allocated(struct irq_remap_table *table, int index) index 4044 drivers/iommu/amd_iommu.c table->table[index] = IRTE_ALLOCATED; index 4047 drivers/iommu/amd_iommu.c static void irte_ga_set_allocated(struct irq_remap_table *table, int index) index 4050 drivers/iommu/amd_iommu.c struct irte_ga *irte = &ptr[index]; index 4057 drivers/iommu/amd_iommu.c static bool irte_is_allocated(struct irq_remap_table *table, int index) index 4060 drivers/iommu/amd_iommu.c union irte *irte = &ptr[index]; index 4065 drivers/iommu/amd_iommu.c static bool irte_ga_is_allocated(struct irq_remap_table *table, int index) index 4068 drivers/iommu/amd_iommu.c struct irte_ga *irte = &ptr[index]; index 4073 drivers/iommu/amd_iommu.c static void irte_clear_allocated(struct irq_remap_table *table, int index) index 4075 drivers/iommu/amd_iommu.c table->table[index] = 0; index 4078 drivers/iommu/amd_iommu.c static void irte_ga_clear_allocated(struct irq_remap_table *table, int index) index 4081 drivers/iommu/amd_iommu.c struct irte_ga *irte = &ptr[index]; index 4167 drivers/iommu/amd_iommu.c int devid, int index, int sub_handle) index 4178 drivers/iommu/amd_iommu.c data->irq_2_irte.index = index + sub_handle; index 4189 drivers/iommu/amd_iommu.c entry->vector = index; index 4203 drivers/iommu/amd_iommu.c msg->data = irte_info->index; index 4240 drivers/iommu/amd_iommu.c int index; index 4280 drivers/iommu/amd_iommu.c index = info->ioapic_pin; index 4282 drivers/iommu/amd_iommu.c index = -ENOMEM; index 4288 drivers/iommu/amd_iommu.c index = alloc_irq_index(devid, nr_irqs, align, info->msi_dev); index 4290 drivers/iommu/amd_iommu.c index = alloc_irq_index(devid, nr_irqs, false, NULL); index 4293 drivers/iommu/amd_iommu.c if (index < 0) { index 4295 drivers/iommu/amd_iommu.c ret = index; index 4325 drivers/iommu/amd_iommu.c irq_remapping_prepare_irte(data, cfg, info, devid, index, i); index 4338 drivers/iommu/amd_iommu.c free_irte(devid, index + i); index 4357 drivers/iommu/amd_iommu.c free_irte(irte_info->devid, irte_info->index); index 4382 drivers/iommu/amd_iommu.c irte_info->index); index 4396 drivers/iommu/amd_iommu.c irte_info->index); index 4425 drivers/iommu/amd_iommu.c ir_data->irq_2_irte.index, entry, ir_data); index 4451 drivers/iommu/amd_iommu.c ir_data->irq_2_irte.index, entry, ir_data); index 4523 drivers/iommu/amd_iommu.c irte_info->index, cfg->vector, index 4574 drivers/iommu/amd_iommu.c fn = irq_domain_alloc_named_id_fwnode("AMD-IR", iommu->index); index 4585 drivers/iommu/amd_iommu.c iommu->index); index 31 drivers/iommu/amd_iommu_debugfs.c snprintf(name, MAX_NAME_LEN, "iommu%02d", iommu->index); index 884 drivers/iommu/amd_iommu_init.c iommu->index); index 892 drivers/iommu/amd_iommu_init.c iommu->index); index 1498 drivers/iommu/amd_iommu_init.c iommu->index = amd_iommus_present++; index 1500 drivers/iommu/amd_iommu_init.c if (unlikely(iommu->index >= MAX_IOMMUS)) { index 1506 drivers/iommu/amd_iommu_init.c amd_iommus[iommu->index] = iommu; index 1568 drivers/iommu/amd_iommu_init.c iommu->index); index 1835 drivers/iommu/amd_iommu_init.c amd_iommu_groups, "ivhd%d", iommu->index); index 490 drivers/iommu/amd_iommu_types.h int index; index 869 drivers/iommu/amd_iommu_types.h u16 index; /* Index into IRTE table*/ index 158 drivers/iommu/amd_iommu_v2.c int level, index; index 165 drivers/iommu/amd_iommu_v2.c index = (pasid >> (9 * level)) & 0x1ff; index 166 drivers/iommu/amd_iommu_v2.c ptr = &root[index]; index 278 drivers/iommu/dmar.c int index; index 284 drivers/iommu/dmar.c for_each_active_dev_scope(devices, count, index, tmp) index 286 drivers/iommu/dmar.c RCU_INIT_POINTER(devices[index].dev, NULL); index 656 drivers/iommu/dmar.c int index; index 660 drivers/iommu/dmar.c for_each_active_dev_scope(devices, cnt, index, tmp) index 1156 drivers/iommu/dmar.c static int qi_check_fault(struct intel_iommu *iommu, int index) index 1161 drivers/iommu/dmar.c int wait_index = (index + 1) % QI_LENGTH; index 1176 drivers/iommu/dmar.c if ((head >> shift) == index) { index 1233 drivers/iommu/dmar.c int wait_index, index; index 1249 drivers/iommu/dmar.c index = qi->free_head; index 1250 drivers/iommu/dmar.c wait_index = (index + 1) % QI_LENGTH; index 1254 drivers/iommu/dmar.c qi->desc_status[index] = qi->desc_status[wait_index] = QI_IN_USE; index 1256 drivers/iommu/dmar.c offset = index << shift; index 1284 drivers/iommu/dmar.c rc = qi_check_fault(iommu, index); index 1293 drivers/iommu/dmar.c qi->desc_status[index] = QI_DONE; index 230 drivers/iommu/intel-pasid.c int dir_index, index; index 240 drivers/iommu/intel-pasid.c index = pasid & PASID_PTE_MASK; index 256 drivers/iommu/intel-pasid.c return &entries[index]; index 110 drivers/iommu/intel_irq_remapping.c int index; index 128 drivers/iommu/intel_irq_remapping.c index = bitmap_find_free_region(table->bitmap, index 130 drivers/iommu/intel_irq_remapping.c if (index < 0) { index 134 drivers/iommu/intel_irq_remapping.c irq_iommu->irte_index = index; index 141 drivers/iommu/intel_irq_remapping.c return index; index 144 drivers/iommu/intel_irq_remapping.c static int qi_flush_iec(struct intel_iommu *iommu, int index, int mask) index 148 drivers/iommu/intel_irq_remapping.c desc.qw0 = QI_IEC_IIDEX(index) | QI_IEC_TYPE | QI_IEC_IM(mask) index 163 drivers/iommu/intel_irq_remapping.c int rc, index; index 172 drivers/iommu/intel_irq_remapping.c index = irq_iommu->irte_index + irq_iommu->sub_handle; index 173 drivers/iommu/intel_irq_remapping.c irte = &iommu->ir_table->base[index]; index 197 drivers/iommu/intel_irq_remapping.c rc = qi_flush_iec(iommu, index, 0); index 241 drivers/iommu/intel_irq_remapping.c int index; index 247 drivers/iommu/intel_irq_remapping.c index = irq_iommu->irte_index; index 249 drivers/iommu/intel_irq_remapping.c start = iommu->ir_table->base + index; index 256 drivers/iommu/intel_irq_remapping.c bitmap_release_region(iommu->ir_table->bitmap, index, index 259 drivers/iommu/intel_irq_remapping.c return qi_flush_iec(iommu, index, irq_iommu->irte_mask); index 1262 drivers/iommu/intel_irq_remapping.c int index, int sub_handle) index 1283 drivers/iommu/intel_irq_remapping.c entry->index2 = (index >> 15) & 0x1; index 1286 drivers/iommu/intel_irq_remapping.c entry->index = (index & 0x7fff); index 1311 drivers/iommu/intel_irq_remapping.c MSI_ADDR_IR_INDEX1(index) | index 1312 drivers/iommu/intel_irq_remapping.c MSI_ADDR_IR_INDEX2(index); index 1352 drivers/iommu/intel_irq_remapping.c int i, ret, index; index 1377 drivers/iommu/intel_irq_remapping.c index = alloc_irte(iommu, &data->irq_2_iommu, nr_irqs); index 1379 drivers/iommu/intel_irq_remapping.c if (index < 0) { index 1404 drivers/iommu/intel_irq_remapping.c irq_data->hwirq = (index << 16) + i; index 1407 drivers/iommu/intel_irq_remapping.c intel_irq_remapping_prepare_irte(ird, irq_cfg, info, index, i); index 33 drivers/iommu/of_iommu.c int of_get_dma_window(struct device_node *dn, const char *prefix, int index, index 80 drivers/iommu/of_iommu.c if (cur_index++ == index) index 473 drivers/iommu/rockchip-iommu.c static void log_iova(struct rk_iommu *iommu, int index, dma_addr_t iova) index 475 drivers/iommu/rockchip-iommu.c void __iomem *base = iommu->bases[index]; index 467 drivers/iommu/tegra-smmu.c unsigned int index = 0; index 470 drivers/iommu/tegra-smmu.c while (!of_parse_phandle_with_args(np, "iommus", "#iommu-cells", index, index 486 drivers/iommu/tegra-smmu.c index++; index 489 drivers/iommu/tegra-smmu.c if (index == 0) index 501 drivers/iommu/tegra-smmu.c unsigned int index = 0; index 503 drivers/iommu/tegra-smmu.c while (!of_parse_phandle_with_args(np, "iommus", "#iommu-cells", index, index 516 drivers/iommu/tegra-smmu.c index++; index 761 drivers/iommu/tegra-smmu.c unsigned int index = 0; index 764 drivers/iommu/tegra-smmu.c while (of_parse_phandle_with_args(np, "iommus", "#iommu-cells", index, index 787 drivers/iommu/tegra-smmu.c index++; index 56 drivers/ipack/devices/ipoctal.c unsigned int index) index 58 drivers/ipack/devices/ipoctal.c return container_of(chan, struct ipoctal, channel[index]); index 89 drivers/ipack/devices/ipoctal.c struct ipoctal *ipoctal = chan_to_ipoctal(channel, tty->index); index 647 drivers/ipack/devices/ipoctal.c struct ipoctal *ipoctal = chan_to_ipoctal(channel, tty->index); index 20 drivers/irqchip/irq-gic-v3-its-platform-msi.c int ret, index = 0; index 28 drivers/irqchip/irq-gic-v3-its-platform-msi.c index, &args); index 35 drivers/irqchip/irq-gic-v3-its-platform-msi.c index++; index 243 drivers/irqchip/irq-gic-v3.c static u32 convert_offset_index(struct irq_data *d, u32 offset, u32 *index) index 248 drivers/irqchip/irq-gic-v3.c *index = d->hwirq; index 256 drivers/irqchip/irq-gic-v3.c *index = d->hwirq - EPPI_BASE_INTID + 32; index 259 drivers/irqchip/irq-gic-v3.c *index = d->hwirq - ESPI_BASE_INTID; index 288 drivers/irqchip/irq-gic-v3.c *index = d->hwirq; index 295 drivers/irqchip/irq-gic-v3.c u32 index, mask; index 297 drivers/irqchip/irq-gic-v3.c offset = convert_offset_index(d, offset, &index); index 298 drivers/irqchip/irq-gic-v3.c mask = 1 << (index % 32); index 305 drivers/irqchip/irq-gic-v3.c return !!(readl_relaxed(base + offset + (index / 32) * 4) & mask); index 312 drivers/irqchip/irq-gic-v3.c u32 index, mask; index 314 drivers/irqchip/irq-gic-v3.c offset = convert_offset_index(d, offset, &index); index 315 drivers/irqchip/irq-gic-v3.c mask = 1 << (index % 32); index 325 drivers/irqchip/irq-gic-v3.c writel_relaxed(mask, base + offset + (index / 32) * 4); index 418 drivers/irqchip/irq-gic-v3.c u32 offset, index; index 420 drivers/irqchip/irq-gic-v3.c offset = convert_offset_index(d, GICD_IPRIORITYR, &index); index 422 drivers/irqchip/irq-gic-v3.c writeb_relaxed(prio, base + offset + index); index 529 drivers/irqchip/irq-gic-v3.c u32 offset, index; index 551 drivers/irqchip/irq-gic-v3.c offset = convert_offset_index(d, GICD_ICFGR, &index); index 553 drivers/irqchip/irq-gic-v3.c ret = gic_configure_irq(index, type, base + offset, rwp_wait); index 1132 drivers/irqchip/irq-gic-v3.c u32 offset, index; index 1153 drivers/irqchip/irq-gic-v3.c offset = convert_offset_index(d, GICD_IROUTER, &index); index 1154 drivers/irqchip/irq-gic-v3.c reg = gic_dist_base(d) + offset + (index * 8); index 37 drivers/irqchip/irq-ls-scfg-msi.c unsigned int index; index 242 drivers/irqchip/irq-ls-scfg-msi.c static int ls_scfg_msi_setup_hwirq(struct ls_scfg_msi *msi_data, int index) index 247 drivers/irqchip/irq-ls-scfg-msi.c virq = platform_get_irq(msi_data->pdev, index); index 251 drivers/irqchip/irq-ls-scfg-msi.c msir = &msi_data->msir[index]; index 252 drivers/irqchip/irq-ls-scfg-msi.c msir->index = index; index 255 drivers/irqchip/irq-ls-scfg-msi.c msir->reg = msi_data->regs + msi_data->cfg->msir_base + 4 * index; index 258 drivers/irqchip/irq-ls-scfg-msi.c msir->bit_start = 32 - ((msir->index + 1) * index 273 drivers/irqchip/irq-ls-scfg-msi.c irq_set_affinity(msir->gic_irq, get_cpu_mask(index)); index 276 drivers/irqchip/irq-ls-scfg-msi.c msir->srs = index; index 279 drivers/irqchip/irq-ls-scfg-msi.c if (!msi_affinity_flag || msir->index == 0) { index 281 drivers/irqchip/irq-ls-scfg-msi.c hwirq = i << msi_data->cfg->ibs_shift | msir->index; index 298 drivers/irqchip/irq-ls-scfg-msi.c hwirq = i << msi_data->cfg->ibs_shift | msir->index; index 119 drivers/irqchip/irq-tegra.c u32 index, mask; index 121 drivers/irqchip/irq-tegra.c index = (irq / 32); index 124 drivers/irqchip/irq-tegra.c lic->ictlr_wake_mask[index] |= mask; index 126 drivers/irqchip/irq-tegra.c lic->ictlr_wake_mask[index] &= ~mask; index 32 drivers/irqchip/irq-ti-sci-inta.c #define TO_HWIRQ(dev, index) ((((dev) & TI_SCI_DEV_ID_MASK) << \ index 34 drivers/irqchip/irq-ti-sci-inta.c ((index) & TI_SCI_IRQ_ID_MASK)) index 27 drivers/irqchip/irq-ti-sci-intr.c #define TO_HWIRQ(dev, index) ((((dev) & TI_SCI_DEV_ID_MASK) << \ index 29 drivers/irqchip/irq-ti-sci-intr.c ((index) & TI_SCI_IRQ_ID_MASK)) index 46 drivers/irqchip/irq-uniphier-aidet.c unsigned long index, unsigned int val) index 51 drivers/irqchip/irq-uniphier-aidet.c reg = UNIPHIER_AIDET_DETCONF + index / 32 * 4; index 52 drivers/irqchip/irq-uniphier-aidet.c mask = BIT(index % 32); index 53 drivers/irqchip/qcom-pdc.c u32 index, mask; index 56 drivers/irqchip/qcom-pdc.c index = pin_out / 32; index 60 drivers/irqchip/qcom-pdc.c enable = pdc_reg_read(IRQ_ENABLE_BANK, index); index 62 drivers/irqchip/qcom-pdc.c pdc_reg_write(IRQ_ENABLE_BANK, index, enable); index 1009 drivers/isdn/capi/capi.c struct capiminor *mp = capiminor_get(tty->index); index 153 drivers/isdn/mISDN/dsp.h int index; index 377 drivers/isdn/mISDN/dsp_tones.c int index, count, start, num; index 390 drivers/isdn/mISDN/dsp_tones.c index = tone->index; /* gives current sequence index */ index 398 drivers/isdn/mISDN/dsp_tones.c if (!pat->seq[index]) { index 400 drivers/isdn/mISDN/dsp_tones.c index = 0; index 403 drivers/isdn/mISDN/dsp_tones.c if (count < pat->seq[index]) index 407 drivers/isdn/mISDN/dsp_tones.c "(index=%d)\n", __func__, index); index 408 drivers/isdn/mISDN/dsp_tones.c count -= pat->seq[index]; index 409 drivers/isdn/mISDN/dsp_tones.c index++; index 412 drivers/isdn/mISDN/dsp_tones.c start = count % (*(pat->siz[index])); index 414 drivers/isdn/mISDN/dsp_tones.c if (num + count > pat->seq[index]) index 415 drivers/isdn/mISDN/dsp_tones.c num = pat->seq[index] - count; index 416 drivers/isdn/mISDN/dsp_tones.c if (num + start > (*(pat->siz[index]))) index 417 drivers/isdn/mISDN/dsp_tones.c num = (*(pat->siz[index])) - start; index 419 drivers/isdn/mISDN/dsp_tones.c memcpy(data, pat->data[index] + start, num); index 425 drivers/isdn/mISDN/dsp_tones.c tone->index = index; index 465 drivers/isdn/mISDN/dsp_tones.c int index = tone->index; index 470 drivers/isdn/mISDN/dsp_tones.c index++; index 471 drivers/isdn/mISDN/dsp_tones.c if (!pat->seq[index]) index 472 drivers/isdn/mISDN/dsp_tones.c index = 0; index 473 drivers/isdn/mISDN/dsp_tones.c tone->index = index; index 476 drivers/isdn/mISDN/dsp_tones.c if (pat->data[index] == DATA_S) index 479 drivers/isdn/mISDN/dsp_tones.c dsp_tone_hw_message(dsp, pat->data[index], *(pat->siz[index])); index 481 drivers/isdn/mISDN/dsp_tones.c tone->tl.expires = jiffies + (pat->seq[index] * HZ) / 8000; index 533 drivers/isdn/mISDN/dsp_tones.c tonet->index = 0; index 332 drivers/leds/trigger/ledtrig-pattern.c struct attribute *attr, int index) index 303 drivers/lightnvm/pblk-recovery.c int index) index 311 drivers/lightnvm/pblk-recovery.c rlun = &pblk->luns[index]; index 152 drivers/lightnvm/pblk.h struct list_head index; /* List head to enable indexes */ index 1341 drivers/lightnvm/pblk.h void *meta, int index) index 1345 drivers/lightnvm/pblk.h * index; index 498 drivers/macintosh/adb.c adb_unregister(int index) index 504 drivers/macintosh/adb.c if (adb_handler[index].handler) { index 505 drivers/macintosh/adb.c while(adb_handler[index].busy) { index 511 drivers/macintosh/adb.c adb_handler[index].handler = NULL; index 182 drivers/macintosh/macio_asic.c int index) index 189 drivers/macintosh/macio_asic.c if (index == 0 && of_node_name_eq(np, "gc")) index 193 drivers/macintosh/macio_asic.c if (index >= 2 && of_node_name_eq(np, "radio")) index 210 drivers/macintosh/macio_asic.c if (index >= 3 && (of_node_name_eq(np, "ch-a") || index 215 drivers/macintosh/macio_asic.c if (index > 0 && of_node_name_eq(np, "media-bay")) index 221 drivers/macintosh/macio_asic.c if (index == 0 && (res->end - res->start) > 0xfff) index 223 drivers/macintosh/macio_asic.c if (index == 1 && (res->end - res->start) > 0xff) index 229 drivers/macintosh/macio_asic.c static void macio_create_fixup_irq(struct macio_dev *dev, int index, index 236 drivers/macintosh/macio_asic.c dev->interrupt[index].start = irq; index 237 drivers/macintosh/macio_asic.c dev->interrupt[index].flags = IORESOURCE_IRQ; index 238 drivers/macintosh/macio_asic.c dev->interrupt[index].name = dev_name(&dev->ofdev.dev); index 240 drivers/macintosh/macio_asic.c if (dev->n_interrupts <= index) index 241 drivers/macintosh/macio_asic.c dev->n_interrupts = index + 1; index 317 drivers/macintosh/macio_asic.c int index; index 319 drivers/macintosh/macio_asic.c for (index = 0; of_address_to_resource(np, index, &r) == 0; index++) { index 321 drivers/macintosh/macio_asic.c if (index >= MACIO_DEV_COUNT_RESOURCES) index 323 drivers/macintosh/macio_asic.c res = &dev->resource[index]; index 327 drivers/macintosh/macio_asic.c if (macio_resource_quirks(np, res, index)) { index 338 drivers/macintosh/macio_asic.c index, dev_name(&dev->ofdev.dev)); index 341 drivers/macintosh/macio_asic.c dev->n_resources = index; index 405 drivers/macintosh/macio_asic.c chip->lbus.index, index 415 drivers/macintosh/macio_asic.c chip->lbus.index, index 63 drivers/macintosh/mediabay.c int index; index 338 drivers/macintosh/mediabay.c pr_debug("mediabay%d: powering up\n", bay->index); index 343 drivers/macintosh/mediabay.c pr_debug("mediabay%d: powering down\n", bay->index); index 377 drivers/macintosh/mediabay.c pr_debug("mediabay%d: forcing MB_NO\n", bay->index); index 379 drivers/macintosh/mediabay.c pr_debug("mediabay%d: switching to %d\n", bay->index, id); index 383 drivers/macintosh/mediabay.c printk(KERN_INFO "mediabay%d: Bay is now empty\n", bay->index); index 386 drivers/macintosh/mediabay.c bay->index, mb_content_types[id]); index 585 drivers/macintosh/mediabay.c bay->index = i; index 647 drivers/macintosh/mediabay.c printk("mediabay%d: Content changed during sleep...\n", bay->index); index 657 drivers/macintosh/mediabay.c media_bay_step(bay->index); index 311 drivers/macintosh/rack-meter.c static u32 rackmeter_calc_sample(struct rackmeter *rm, unsigned int index) index 180 drivers/macintosh/windfarm_ad7417_sensor.c int index, const char *name, index 183 drivers/macintosh/windfarm_ad7417_sensor.c pv->sensors[index].name = kasprintf(GFP_KERNEL, "%s-%d", name, pv->cpu); index 184 drivers/macintosh/windfarm_ad7417_sensor.c pv->sensors[index].priv = pv; index 185 drivers/macintosh/windfarm_ad7417_sensor.c pv->sensors[index].ops = ops; index 186 drivers/macintosh/windfarm_ad7417_sensor.c if (!wf_register_sensor(&pv->sensors[index])) index 49 drivers/macintosh/windfarm_pid.c st->index = 0; index 51 drivers/macintosh/windfarm_pid.c st->index = (st->index + 1) % hlen; index 52 drivers/macintosh/windfarm_pid.c st->samples[st->index] = new_sample; index 53 drivers/macintosh/windfarm_pid.c st->errors[st->index] = error; index 58 drivers/macintosh/windfarm_pid.c integ += st->errors[(st->index + hlen - i) % hlen]; index 62 drivers/macintosh/windfarm_pid.c deriv = st->errors[st->index] - index 63 drivers/macintosh/windfarm_pid.c st->errors[(st->index + hlen - 1) % hlen]; index 105 drivers/macintosh/windfarm_pid.c st->index = st->tindex = 0; index 107 drivers/macintosh/windfarm_pid.c st->index = (st->index + 1) % hlen; index 108 drivers/macintosh/windfarm_pid.c st->powers[st->index] = new_power; index 109 drivers/macintosh/windfarm_pid.c st->errors[st->index] = error; index 116 drivers/macintosh/windfarm_pid.c integ += st->errors[(st->index + hlen - i) % hlen]; index 36 drivers/macintosh/windfarm_pid.h int index; /* index of current sample */ index 71 drivers/macintosh/windfarm_pid.h int index; /* index of current power */ index 42 drivers/macintosh/windfarm_smu_sat.c int index; index 152 drivers/macintosh/windfarm_smu_sat.c i = sens->index * 2; index 202 drivers/macintosh/windfarm_smu_sat.c int shift, cpu, index; index 229 drivers/macintosh/windfarm_smu_sat.c index = *reg - 0x30; index 253 drivers/macintosh/windfarm_smu_sat.c vsens[core] = index; index 257 drivers/macintosh/windfarm_smu_sat.c isens[core] = index; index 271 drivers/macintosh/windfarm_smu_sat.c sens->index = index; index 298 drivers/macintosh/windfarm_smu_sat.c sens->index = vsens[core]; index 55 drivers/mailbox/bcm-flexrm-mailbox.c #define RING_DESC_OFFSET(index) \ index 56 drivers/mailbox/bcm-flexrm-mailbox.c ((index) * RING_DESC_SIZE) index 1497 drivers/mailbox/bcm-flexrm-mailbox.c int index, ret = 0; index 1552 drivers/mailbox/bcm-flexrm-mailbox.c for (index = 0; index < mbox->num_rings; index++) { index 1553 drivers/mailbox/bcm-flexrm-mailbox.c ring = &mbox->rings[index]; index 1554 drivers/mailbox/bcm-flexrm-mailbox.c ring->num = index; index 1646 drivers/mailbox/bcm-flexrm-mailbox.c for (index = 0; index < mbox->num_rings; index++) index 1647 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.chans[index].con_priv = &mbox->rings[index]; index 329 drivers/mailbox/mailbox.c struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index) index 346 drivers/mailbox/mailbox.c "#mbox-cells", index, &spec)) { index 406 drivers/mailbox/mailbox.c int index = 0; index 421 drivers/mailbox/mailbox.c return mbox_request_channel(cl, index); index 422 drivers/mailbox/mailbox.c index++; index 65 drivers/mailbox/tegra-hsp.c unsigned int index; index 70 drivers/mailbox/tegra-hsp.c unsigned int index; index 77 drivers/mailbox/tegra-hsp.c unsigned int index; index 228 drivers/mailbox/tegra-hsp.c hsp->mask &= ~BIT(HSP_INT_EMPTY_SHIFT + mb->index); index 270 drivers/mailbox/tegra-hsp.c unsigned int master, unsigned int index) index 281 drivers/mailbox/tegra-hsp.c offset += index * 0x100; index 288 drivers/mailbox/tegra-hsp.c db->index = index; index 385 drivers/mailbox/tegra-hsp.c hsp->mask |= BIT(HSP_INT_EMPTY_SHIFT + mb->index); index 438 drivers/mailbox/tegra-hsp.c hsp->mask &= ~BIT(HSP_INT_EMPTY_SHIFT + mb->index); index 440 drivers/mailbox/tegra-hsp.c hsp->mask |= BIT(HSP_INT_FULL_SHIFT + mb->index); index 477 drivers/mailbox/tegra-hsp.c hsp->mask &= ~BIT(HSP_INT_EMPTY_SHIFT + mb->index); index 479 drivers/mailbox/tegra-hsp.c hsp->mask &= ~BIT(HSP_INT_FULL_SHIFT + mb->index); index 536 drivers/mailbox/tegra-hsp.c unsigned int type = args->args[0], index; index 539 drivers/mailbox/tegra-hsp.c index = args->args[1] & TEGRA_HSP_SM_MASK; index 542 drivers/mailbox/tegra-hsp.c index >= hsp->num_sm) index 545 drivers/mailbox/tegra-hsp.c mb = &hsp->mailboxes[index]; index 562 drivers/mailbox/tegra-hsp.c map->master, map->index); index 584 drivers/mailbox/tegra-hsp.c mb->index = i; index 440 drivers/mailbox/zynqmp-ipi-mailbox.c int ret, index; index 442 drivers/mailbox/zynqmp-ipi-mailbox.c index = of_property_match_string(node, "reg-names", name); index 443 drivers/mailbox/zynqmp-ipi-mailbox.c if (index >= 0) { index 444 drivers/mailbox/zynqmp-ipi-mailbox.c ret = of_address_to_resource(node, index, res); index 347 drivers/md/dm-bio-prison-v1.c static unsigned ds_next(unsigned index) index 349 drivers/md/dm-bio-prison-v1.c return (index + 1) % DEFERRED_SET_SIZE; index 1585 drivers/md/dm-cache-metadata.c static int is_dirty_callback(uint32_t index, bool *value, void *context) index 1588 drivers/md/dm-cache-metadata.c *value = test_bit(index, bits); index 1690 drivers/md/dm-cache-metadata.c static int get_hint(uint32_t index, void *value_le, void *context) index 1695 drivers/md/dm-cache-metadata.c value = policy_get_hint(policy, to_cblock(index)); index 778 drivers/md/dm-cache-policy-smq.c static struct entry *get_entry(struct entry_alloc *ea, unsigned index) index 780 drivers/md/dm-cache-policy-smq.c return __get_entry(ea->es, ea->begin + index); index 1033 drivers/md/dm-cache-policy-smq.c unsigned index = safe_div(hits << 4u, hits + misses); index 1034 drivers/md/dm-cache-policy-smq.c return table[index]; index 675 drivers/md/dm-clone-metadata.c unsigned long index = word * BITS_PER_LONG; index 678 drivers/md/dm-clone-metadata.c while (index < max_index) { index 679 drivers/md/dm-clone-metadata.c if (test_bit(index, dirty_regions)) { index 681 drivers/md/dm-clone-metadata.c index, &cmd->bitset_root); index 686 drivers/md/dm-clone-metadata.c __clear_bit(index, dirty_regions); index 688 drivers/md/dm-clone-metadata.c index++; index 407 drivers/md/dm-snap-persistent.c uint32_t index) index 409 drivers/md/dm-snap-persistent.c BUG_ON(index >= ps->exceptions_per_area); index 411 drivers/md/dm-snap-persistent.c return ((struct disk_exception *) ps_area) + index; index 415 drivers/md/dm-snap-persistent.c uint32_t index, struct core_exception *result) index 417 drivers/md/dm-snap-persistent.c struct disk_exception *de = get_exception(ps, ps_area, index); index 425 drivers/md/dm-snap-persistent.c uint32_t index, struct core_exception *e) index 427 drivers/md/dm-snap-persistent.c struct disk_exception *de = get_exception(ps, ps->area, index); index 434 drivers/md/dm-snap-persistent.c static void clear_exception(struct pstore *ps, uint32_t index) index 436 drivers/md/dm-snap-persistent.c struct disk_exception *de = get_exception(ps, ps->area, index); index 39 drivers/md/dm-table.c sector_t *index[MAX_DEPTH]; index 100 drivers/md/dm-table.c return t->index[l] + (n * KEYS_PER_NODE); index 240 drivers/md/dm-table.c vfree(t->index[t->depth - 2]); index 1161 drivers/md/dm-table.c t->index[i] = indexes; index 1183 drivers/md/dm-table.c t->index[t->depth - 1] = t->highs; index 1349 drivers/md/dm-table.c struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index) index 1351 drivers/md/dm-table.c if (index >= t->num_targets) index 1354 drivers/md/dm-table.c return t->targets + index; index 61 drivers/md/dm-verity-fec.c static u8 *fec_read_parity(struct dm_verity *v, u64 rsb, int index, index 67 drivers/md/dm-verity-fec.c position = (index + rsb) * v->fec->roots; index 86 drivers/md/dm-writecache.c unsigned long index index 351 drivers/md/dm-writecache.c return &sb(wc)->entries[e->index]; index 356 drivers/md/dm-writecache.c return (char *)wc->block_start + (e->index << wc->block_size_bits); index 362 drivers/md/dm-writecache.c ((sector_t)e->index << (wc->block_size_bits - SECTOR_SHIFT)); index 873 drivers/md/dm-writecache.c e->index = b; index 1772 drivers/md/dm-writecache.c e.index = n_blocks; index 1773 drivers/md/dm-writecache.c if (e.index != n_blocks) index 54 drivers/md/dm.h struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index); index 151 drivers/md/md-bitmap.c unsigned long index, int size) index 164 drivers/md/md-bitmap.c target = offset + index * (PAGE_SIZE/512); index 169 drivers/md/md-bitmap.c page->index = index; index 227 drivers/md/md-bitmap.c if (page->index == store->file_pages-1) { index 239 drivers/md/md-bitmap.c if (rdev->sb_start + offset + (page->index index 250 drivers/md/md-bitmap.c + (long)(page->index * (PAGE_SIZE/512)) index 262 drivers/md/md-bitmap.c + page->index*(PAGE_SIZE/512) + size/512 index 271 drivers/md/md-bitmap.c + page->index * (PAGE_SIZE/512), index 359 drivers/md/md-bitmap.c static int read_page(struct file *file, unsigned long index, index 370 drivers/md/md-bitmap.c (unsigned long long)index << PAGE_SHIFT); index 378 drivers/md/md-bitmap.c block = index << (PAGE_SHIFT - inode->i_blkbits); index 405 drivers/md/md-bitmap.c page->index = index; index 415 drivers/md/md-bitmap.c (unsigned long long)index << PAGE_SHIFT, index 530 drivers/md/md-bitmap.c bitmap->storage.sb_page->index = 0; index 808 drivers/md/md-bitmap.c store->sb_page->index = offset; index 817 drivers/md/md-bitmap.c store->filemap[pnum]->index = pnum + offset; index 951 drivers/md/md-bitmap.c pr_debug("set file bit %lu page %lu\n", bit, page->index); index 953 drivers/md/md-bitmap.c set_page_attr(bitmap, page->index - node_offset, BITMAP_PAGE_DIRTY); index 978 drivers/md/md-bitmap.c if (!test_page_attr(bitmap, page->index - node_offset, BITMAP_PAGE_NEEDWRITE)) { index 979 drivers/md/md-bitmap.c set_page_attr(bitmap, page->index - node_offset, BITMAP_PAGE_PENDING); index 1061 drivers/md/md-bitmap.c unsigned long i, chunks, index, oldindex, bit, node_offset = 0; index 1111 drivers/md/md-bitmap.c index = file_page_index(&bitmap->storage, i); index 1113 drivers/md/md-bitmap.c if (index != oldindex) { /* this is a new page, read it in */ index 1116 drivers/md/md-bitmap.c if (index == store->file_pages-1) index 1117 drivers/md/md-bitmap.c count = store->bytes - index * PAGE_SIZE; index 1120 drivers/md/md-bitmap.c page = store->filemap[index]; index 1122 drivers/md/md-bitmap.c ret = read_page(file, index, bitmap, index 1129 drivers/md/md-bitmap.c index + node_offset, count); index 1134 drivers/md/md-bitmap.c oldindex = index; index 97 drivers/md/persistent-data/dm-array.c unsigned index) index 101 drivers/md/persistent-data/dm-array.c entry += index * info->value_type.size; index 254 drivers/md/persistent-data/dm-array.c unsigned index, struct dm_block **block, index 258 drivers/md/persistent-data/dm-array.c uint64_t key = index; index 271 drivers/md/persistent-data/dm-array.c static int insert_ablock(struct dm_array_info *info, uint64_t index, index 277 drivers/md/persistent-data/dm-array.c return dm_btree_insert(&info->btree_info, *root, &index, &block_le, root); index 302 drivers/md/persistent-data/dm-array.c static int __reinsert_ablock(struct dm_array_info *info, unsigned index, index 316 drivers/md/persistent-data/dm-array.c r = insert_ablock(info, index, block, root); index 328 drivers/md/persistent-data/dm-array.c unsigned index, struct dm_block **block, index 332 drivers/md/persistent-data/dm-array.c uint64_t key = index; index 345 drivers/md/persistent-data/dm-array.c return __reinsert_ablock(info, index, *block, b, root); index 769 drivers/md/persistent-data/dm-array.c uint32_t index, void *value_le) index 780 drivers/md/persistent-data/dm-array.c r = lookup_ablock(info, root, index / max_entries, &block, &ab); index 784 drivers/md/persistent-data/dm-array.c entry = index % max_entries; index 797 drivers/md/persistent-data/dm-array.c uint32_t index, const void *value, dm_block_t *new_root) index 811 drivers/md/persistent-data/dm-array.c r = shadow_ablock(info, &root, index / max_entries, &block, &ab); index 816 drivers/md/persistent-data/dm-array.c entry = index % max_entries; index 838 drivers/md/persistent-data/dm-array.c uint32_t index, const void *value, dm_block_t *new_root) index 843 drivers/md/persistent-data/dm-array.c r = array_set_value(info, root, index, value, new_root); index 912 drivers/md/persistent-data/dm-array.c c->index = 0; index 963 drivers/md/persistent-data/dm-array.c c->index++; index 965 drivers/md/persistent-data/dm-array.c if (c->index >= le32_to_cpu(c->ab->nr_entries)) { index 984 drivers/md/persistent-data/dm-array.c uint32_t remaining = le32_to_cpu(c->ab->nr_entries) - c->index; index 987 drivers/md/persistent-data/dm-array.c c->index += count; index 1002 drivers/md/persistent-data/dm-array.c *value_le = element_at(c->info, c->ab, c->index); index 129 drivers/md/persistent-data/dm-array.h typedef int (*value_fn)(uint32_t index, void *value_le, void *context); index 150 drivers/md/persistent-data/dm-array.h uint32_t index, void *value); index 168 drivers/md/persistent-data/dm-array.h uint32_t index, const void *value, dm_block_t *new_root) index 201 drivers/md/persistent-data/dm-array.h unsigned index; index 48 drivers/md/persistent-data/dm-bitset.c static int pack_bits(uint32_t index, void *value, void *context) index 52 drivers/md/persistent-data/dm-bitset.c unsigned bit, nr = min(64u, p->nr_bits - (index * 64)); index 57 drivers/md/persistent-data/dm-bitset.c r = p->fn(index * 64 + bit, &bv, p->context); index 147 drivers/md/persistent-data/dm-bitset.c uint32_t index, dm_block_t *new_root) index 150 drivers/md/persistent-data/dm-bitset.c unsigned array_index = index / BITS_PER_ARRAY_ENTRY; index 165 drivers/md/persistent-data/dm-bitset.c uint32_t index, dm_block_t *new_root) index 168 drivers/md/persistent-data/dm-bitset.c unsigned b = index % BITS_PER_ARRAY_ENTRY; index 170 drivers/md/persistent-data/dm-bitset.c r = get_array_entry(info, root, index, new_root); index 182 drivers/md/persistent-data/dm-bitset.c uint32_t index, dm_block_t *new_root) index 185 drivers/md/persistent-data/dm-bitset.c unsigned b = index % BITS_PER_ARRAY_ENTRY; index 187 drivers/md/persistent-data/dm-bitset.c r = get_array_entry(info, root, index, new_root); index 199 drivers/md/persistent-data/dm-bitset.c uint32_t index, dm_block_t *new_root, bool *result) index 202 drivers/md/persistent-data/dm-bitset.c unsigned b = index % BITS_PER_ARRAY_ENTRY; index 204 drivers/md/persistent-data/dm-bitset.c r = get_array_entry(info, root, index, new_root); index 107 drivers/md/persistent-data/dm-bitset.h typedef int (*bit_value_fn)(uint32_t index, bool *value, void *context); index 141 drivers/md/persistent-data/dm-bitset.h uint32_t index, dm_block_t *new_root); index 154 drivers/md/persistent-data/dm-bitset.h uint32_t index, dm_block_t *new_root); index 168 drivers/md/persistent-data/dm-bitset.h uint32_t index, dm_block_t *new_root, bool *result); index 108 drivers/md/persistent-data/dm-btree-internal.h static inline __le64 *key_ptr(struct btree_node *n, uint32_t index) index 110 drivers/md/persistent-data/dm-btree-internal.h return n->keys + index; index 118 drivers/md/persistent-data/dm-btree-internal.h static inline void *value_ptr(struct btree_node *n, uint32_t index) index 121 drivers/md/persistent-data/dm-btree-internal.h return value_base(n) + (value_size * index); index 127 drivers/md/persistent-data/dm-btree-internal.h static inline uint64_t value64(struct btree_node *n, uint32_t index) index 131 drivers/md/persistent-data/dm-btree-internal.h return le64_to_cpu(values_le[index]); index 111 drivers/md/persistent-data/dm-btree-remove.c static void delete_at(struct btree_node *n, unsigned index) index 114 drivers/md/persistent-data/dm-btree-remove.c unsigned nr_to_copy = nr_entries - (index + 1); index 116 drivers/md/persistent-data/dm-btree-remove.c BUG_ON(index >= nr_entries); index 119 drivers/md/persistent-data/dm-btree-remove.c memmove(key_ptr(n, index), index 120 drivers/md/persistent-data/dm-btree-remove.c key_ptr(n, index + 1), index 123 drivers/md/persistent-data/dm-btree-remove.c memmove(value_ptr(n, index), index 124 drivers/md/persistent-data/dm-btree-remove.c value_ptr(n, index + 1), index 137 drivers/md/persistent-data/dm-btree-remove.c unsigned index; index 144 drivers/md/persistent-data/dm-btree-remove.c unsigned index, struct child *result) index 149 drivers/md/persistent-data/dm-btree-remove.c result->index = index; index 150 drivers/md/persistent-data/dm-btree-remove.c root = value64(parent, index); index 162 drivers/md/persistent-data/dm-btree-remove.c *((__le64 *) value_ptr(parent, index)) = index 220 drivers/md/persistent-data/dm-btree-remove.c delete_at(parent, r->index); index 233 drivers/md/persistent-data/dm-btree-remove.c *key_ptr(parent, r->index) = right->keys[0]; index 288 drivers/md/persistent-data/dm-btree-remove.c *key_ptr(parent, r->index) = right->keys[0]; index 290 drivers/md/persistent-data/dm-btree-remove.c delete_at(parent, c->index); index 291 drivers/md/persistent-data/dm-btree-remove.c r->index--; index 343 drivers/md/persistent-data/dm-btree-remove.c *key_ptr(parent, c->index) = center->keys[0]; index 344 drivers/md/persistent-data/dm-btree-remove.c *key_ptr(parent, r->index) = right->keys[0]; index 451 drivers/md/persistent-data/dm-btree-remove.c static int do_leaf(struct btree_node *n, uint64_t key, unsigned *index) index 460 drivers/md/persistent-data/dm-btree-remove.c *index = i; index 471 drivers/md/persistent-data/dm-btree-remove.c uint64_t key, unsigned *index) index 473 drivers/md/persistent-data/dm-btree-remove.c int i = *index, r; index 495 drivers/md/persistent-data/dm-btree-remove.c return do_leaf(n, key, index); index 503 drivers/md/persistent-data/dm-btree-remove.c return do_leaf(n, key, index); index 522 drivers/md/persistent-data/dm-btree-remove.c int index = 0, r = 0; index 533 drivers/md/persistent-data/dm-btree-remove.c root, keys[level], (unsigned *)&index); index 539 drivers/md/persistent-data/dm-btree-remove.c root = value64(n, index); index 543 drivers/md/persistent-data/dm-btree-remove.c BUG_ON(index < 0 || index >= le32_to_cpu(n->header.nr_entries)); index 547 drivers/md/persistent-data/dm-btree-remove.c value_ptr(n, index)); index 549 drivers/md/persistent-data/dm-btree-remove.c delete_at(n, index); index 563 drivers/md/persistent-data/dm-btree-remove.c uint64_t key, int *index) index 565 drivers/md/persistent-data/dm-btree-remove.c int i = *index, r; index 587 drivers/md/persistent-data/dm-btree-remove.c *index = lower_bound(n, key); index 597 drivers/md/persistent-data/dm-btree-remove.c *index = lower_bound(n, key); index 619 drivers/md/persistent-data/dm-btree-remove.c int index = 0, r = 0; index 629 drivers/md/persistent-data/dm-btree-remove.c root, keys[level], (unsigned *) &index); index 634 drivers/md/persistent-data/dm-btree-remove.c root = value64(n, index); index 638 drivers/md/persistent-data/dm-btree-remove.c root, keys[last_level], &index); index 644 drivers/md/persistent-data/dm-btree-remove.c if (index < 0) index 645 drivers/md/persistent-data/dm-btree-remove.c index = 0; index 647 drivers/md/persistent-data/dm-btree-remove.c if (index >= le32_to_cpu(n->header.nr_entries)) { index 652 drivers/md/persistent-data/dm-btree-remove.c k = le64_to_cpu(n->keys[index]); index 656 drivers/md/persistent-data/dm-btree-remove.c value_ptr(n, index)); index 658 drivers/md/persistent-data/dm-btree-remove.c delete_at(n, index); index 27 drivers/md/persistent-data/dm-btree.c unsigned index, void *elt) index 30 drivers/md/persistent-data/dm-btree.c if (index < nr_elts) index 31 drivers/md/persistent-data/dm-btree.c memmove(base + (elt_size * (index + 1)), index 32 drivers/md/persistent-data/dm-btree.c base + (elt_size * index), index 33 drivers/md/persistent-data/dm-btree.c (nr_elts - index) * elt_size); index 35 drivers/md/persistent-data/dm-btree.c memcpy_disk(base + (elt_size * index), elt, elt_size); index 85 drivers/md/persistent-data/dm-btree.c static int insert_at(size_t value_size, struct btree_node *node, unsigned index, index 92 drivers/md/persistent-data/dm-btree.c if (index > nr_entries || index 93 drivers/md/persistent-data/dm-btree.c index >= le32_to_cpu(node->header.max_entries)) { index 101 drivers/md/persistent-data/dm-btree.c array_insert(node->keys, sizeof(*node->keys), nr_entries, index, &key_le); index 102 drivers/md/persistent-data/dm-btree.c array_insert(value_base(node), value_size, nr_entries, index, value); index 694 drivers/md/persistent-data/dm-btree.c uint64_t key, unsigned *index) index 696 drivers/md/persistent-data/dm-btree.c int r, i = *index, top = 1; index 751 drivers/md/persistent-data/dm-btree.c *index = i; index 756 drivers/md/persistent-data/dm-btree.c unsigned level, unsigned index) index 758 drivers/md/persistent-data/dm-btree.c return ((index >= le32_to_cpu(node->header.nr_entries)) || index 759 drivers/md/persistent-data/dm-btree.c (le64_to_cpu(node->keys[index]) != keys[level])); index 768 drivers/md/persistent-data/dm-btree.c unsigned level, index = -1, last_level = info->levels - 1; index 778 drivers/md/persistent-data/dm-btree.c r = btree_insert_raw(&spine, block, &le64_type, keys[level], &index); index 784 drivers/md/persistent-data/dm-btree.c if (need_insert(n, keys, level, index)) { index 795 drivers/md/persistent-data/dm-btree.c r = insert_at(sizeof(uint64_t), n, index, index 802 drivers/md/persistent-data/dm-btree.c block = value64(n, index); index 806 drivers/md/persistent-data/dm-btree.c keys[level], &index); index 812 drivers/md/persistent-data/dm-btree.c if (need_insert(n, keys, level, index)) { index 816 drivers/md/persistent-data/dm-btree.c r = insert_at(info->value_type.size, n, index, index 828 drivers/md/persistent-data/dm-btree.c value_ptr(n, index), index 831 drivers/md/persistent-data/dm-btree.c value_ptr(n, index)); index 833 drivers/md/persistent-data/dm-btree.c memcpy_disk(value_ptr(n, index), index 1034 drivers/md/persistent-data/dm-btree.c n->index = 0; index 1061 drivers/md/persistent-data/dm-btree.c n->index++; index 1062 drivers/md/persistent-data/dm-btree.c if (n->index < le32_to_cpu(bn->header.nr_entries)) index 1085 drivers/md/persistent-data/dm-btree.c memcpy(&value_le, value_ptr(bn, n->index), sizeof(value_le)); index 1157 drivers/md/persistent-data/dm-btree.c *key = le64_to_cpu(*key_ptr(bn, n->index)); index 1158 drivers/md/persistent-data/dm-btree.c memcpy(value_le, value_ptr(bn, n->index), c->info->value_type.size); index 191 drivers/md/persistent-data/dm-btree.h unsigned index; index 280 drivers/md/persistent-data/dm-space-map-common.c dm_block_t index = b; index 284 drivers/md/persistent-data/dm-space-map-common.c b = do_div(index, ll->entries_per_block); index 285 drivers/md/persistent-data/dm-space-map-common.c r = ll->load_ie(ll, index, &ie_disk); index 417 drivers/md/persistent-data/dm-space-map-common.c dm_block_t index = b; index 422 drivers/md/persistent-data/dm-space-map-common.c bit = do_div(index, ll->entries_per_block); index 423 drivers/md/persistent-data/dm-space-map-common.c r = ll->load_ie(ll, index, &ie_disk); index 495 drivers/md/persistent-data/dm-space-map-common.c return ll->save_ie(ll, index, &ie_disk); index 552 drivers/md/persistent-data/dm-space-map-common.c static int metadata_ll_load_ie(struct ll_disk *ll, dm_block_t index, index 555 drivers/md/persistent-data/dm-space-map-common.c memcpy(ie, ll->mi_le.index + index, sizeof(*ie)); index 559 drivers/md/persistent-data/dm-space-map-common.c static int metadata_ll_save_ie(struct ll_disk *ll, dm_block_t index, index 563 drivers/md/persistent-data/dm-space-map-common.c memcpy(ll->mi_le.index + index, ie, sizeof(*ie)); index 688 drivers/md/persistent-data/dm-space-map-common.c static int disk_ll_load_ie(struct ll_disk *ll, dm_block_t index, index 691 drivers/md/persistent-data/dm-space-map-common.c return dm_btree_lookup(&ll->bitmap_info, ll->bitmap_root, &index, ie); index 694 drivers/md/persistent-data/dm-space-map-common.c static int disk_ll_save_ie(struct ll_disk *ll, dm_block_t index, index 699 drivers/md/persistent-data/dm-space-map-common.c &index, ie, &ll->bitmap_root); index 45 drivers/md/persistent-data/dm-space-map-common.h struct disk_index_entry index[MAX_METADATA_BITMAPS]; index 50 drivers/md/persistent-data/dm-space-map-common.h typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result); index 51 drivers/md/persistent-data/dm-space-map-common.h typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie); index 86 drivers/media/cec/cec-adap.c conn_info->drm.card_no = connector->dev->primary->index; index 133 drivers/media/common/b2c2/flexcop-common.h flexcop_dma_index_t dma_idx, flexcop_dma_addr_index_t index, index 113 drivers/media/common/b2c2/flexcop-hw-filter.c int index, u16 pid, int onoff) index 119 drivers/media/common/b2c2/flexcop-hw-filter.c pid, pid, index, onoff ? "on" : "off"); index 123 drivers/media/common/b2c2/flexcop-hw-filter.c index += 6; index 127 drivers/media/common/b2c2/flexcop-hw-filter.c switch (index) { index 147 drivers/media/common/b2c2/flexcop-hw-filter.c if (fc->has_32_hw_pid_filter && index < 38) { index 152 drivers/media/common/b2c2/flexcop-hw-filter.c vid.index_reg_310.index_reg = index - 6; index 184 drivers/media/common/b2c2/flexcop-hw-filter.c if (dvbdmxfeed->index >= max_pid_filter) index 198 drivers/media/common/b2c2/flexcop-hw-filter.c (fc, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); index 506 drivers/media/common/saa7146/saa7146_video.c if (f->index >= ARRAY_SIZE(formats)) index 508 drivers/media/common/saa7146/saa7146_video.c f->pixelformat = formats[f->index].pixelformat; index 55 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue, (vb)->index, #op, \ index 117 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue, (vb)->index, #op, \ index 249 drivers/media/common/videobuf2/videobuf2-core.c dprintk(3, "freed plane %d of buffer %d\n", plane, vb->index); index 309 drivers/media/common/videobuf2/videobuf2-core.c if (vb->index) { index 310 drivers/media/common/videobuf2/videobuf2-core.c struct vb2_buffer *prev = q->bufs[vb->index - 1]; index 320 drivers/media/common/videobuf2/videobuf2-core.c vb->index, plane, off); index 357 drivers/media/common/videobuf2/videobuf2-core.c vb->index = q->num_buffers + buffer; index 366 drivers/media/common/videobuf2/videobuf2-core.c q->bufs[vb->index] = vb; index 374 drivers/media/common/videobuf2/videobuf2-core.c q->bufs[vb->index] = NULL; index 389 drivers/media/common/videobuf2/videobuf2-core.c q->bufs[vb->index] = NULL; index 575 drivers/media/common/videobuf2/videobuf2-core.c void vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb) index 577 drivers/media/common/videobuf2/videobuf2-core.c call_void_bufop(q, fill_user_buffer, q->bufs[index], pb); index 943 drivers/media/common/videobuf2/videobuf2-core.c vb->index, state); index 1357 drivers/media/common/videobuf2/videobuf2-core.c int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb, index 1365 drivers/media/common/videobuf2/videobuf2-core.c vb2_core_qbuf(vb->vb2_queue, vb->index, NULL, NULL); index 1419 drivers/media/common/videobuf2/videobuf2-core.c int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb) index 1424 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[index]; index 1442 drivers/media/common/videobuf2/videobuf2-core.c dprintk(2, "prepare of buffer %d succeeded\n", vb->index); index 1511 drivers/media/common/videobuf2/videobuf2-core.c int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb, index 1522 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[index]; index 1543 drivers/media/common/videobuf2/videobuf2-core.c vb->index); index 1586 drivers/media/common/videobuf2/videobuf2-core.c dprintk(2, "qbuf of buffer %d succeeded\n", vb->index); index 1648 drivers/media/common/videobuf2/videobuf2-core.c dprintk(2, "qbuf of buffer %d succeeded\n", vb->index); index 1828 drivers/media/common/videobuf2/videobuf2-core.c *pindex = vb->index; index 1852 drivers/media/common/videobuf2/videobuf2-core.c vb->index, vb->state); index 2077 drivers/media/common/videobuf2/videobuf2-core.c unsigned int index, unsigned int plane, unsigned int flags) index 2104 drivers/media/common/videobuf2/videobuf2-core.c if (index >= q->num_buffers) { index 2109 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[index]; index 2127 drivers/media/common/videobuf2/videobuf2-core.c index, plane); index 2134 drivers/media/common/videobuf2/videobuf2-core.c index, plane, ret); index 2140 drivers/media/common/videobuf2/videobuf2-core.c index, plane, ret); index 2606 drivers/media/common/videobuf2/videobuf2-core.c unsigned index; index 2636 drivers/media/common/videobuf2/videobuf2-core.c index = fileio->cur_index; index 2637 drivers/media/common/videobuf2/videobuf2-core.c if (index >= q->num_buffers) { index 2643 drivers/media/common/videobuf2/videobuf2-core.c ret = vb2_core_dqbuf(q, &index, NULL, nonblock); index 2649 drivers/media/common/videobuf2/videobuf2-core.c fileio->cur_index = index; index 2650 drivers/media/common/videobuf2/videobuf2-core.c buf = &fileio->bufs[index]; index 2651 drivers/media/common/videobuf2/videobuf2-core.c b = q->bufs[index]; index 2658 drivers/media/common/videobuf2/videobuf2-core.c buf->size = read ? vb2_get_plane_payload(q->bufs[index], 0) index 2659 drivers/media/common/videobuf2/videobuf2-core.c : vb2_plane_size(q->bufs[index], 0); index 2667 drivers/media/common/videobuf2/videobuf2-core.c buf = &fileio->bufs[index]; index 2682 drivers/media/common/videobuf2/videobuf2-core.c count, index, buf->pos); index 2702 drivers/media/common/videobuf2/videobuf2-core.c struct vb2_buffer *b = q->bufs[index]; index 2719 drivers/media/common/videobuf2/videobuf2-core.c ret = vb2_core_qbuf(q, index, NULL, NULL); index 2729 drivers/media/common/videobuf2/videobuf2-core.c buf->size = vb2_plane_size(q->bufs[index], 0); index 2783 drivers/media/common/videobuf2/videobuf2-core.c unsigned index = 0; index 2800 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[index++]; index 2805 drivers/media/common/videobuf2/videobuf2-core.c ret = vb2_core_dqbuf(q, &index, NULL, 0); index 2809 drivers/media/common/videobuf2/videobuf2-core.c vb = q->bufs[index]; index 2822 drivers/media/common/videobuf2/videobuf2-core.c ret = vb2_core_qbuf(q, vb->index, NULL, NULL); index 349 drivers/media/common/videobuf2/videobuf2-v4l2.c if (b->index >= q->num_buffers) { index 354 drivers/media/common/videobuf2/videobuf2-v4l2.c if (q->bufs[b->index] == NULL) { index 365 drivers/media/common/videobuf2/videobuf2-v4l2.c vb = q->bufs[b->index]; index 472 drivers/media/common/videobuf2/videobuf2-v4l2.c b->index = vb->index; index 636 drivers/media/common/videobuf2/videobuf2-v4l2.c if (b->index >= q->num_buffers) { index 640 drivers/media/common/videobuf2/videobuf2-v4l2.c vb = q->bufs[b->index]; index 643 drivers/media/common/videobuf2/videobuf2-v4l2.c vb2_core_querybuf(q, b->index, b); index 687 drivers/media/common/videobuf2/videobuf2-v4l2.c return ret ? ret : vb2_core_prepare_buf(q, b->index, b); index 700 drivers/media/common/videobuf2/videobuf2-v4l2.c create->index = q->num_buffers; index 761 drivers/media/common/videobuf2/videobuf2-v4l2.c ret = vb2_core_qbuf(q, b->index, b, req); index 821 drivers/media/common/videobuf2/videobuf2-v4l2.c return vb2_core_expbuf(q, &eb->fd, eb->type, eb->index, index 934 drivers/media/common/videobuf2/videobuf2-v4l2.c p->index = vdev->queue->num_buffers; index 1265 drivers/media/dvb-core/dvb_demux.c dvbdemux->filter[i].index = i; index 1269 drivers/media/dvb-core/dvb_demux.c dvbdemux->feed[i].index = i; index 142 drivers/media/dvb-core/dvb_vb2.c b->index = vb->index; index 361 drivers/media/dvb-core/dvb_vb2.c vb2_core_querybuf(&ctx->vb_q, b->index, b); index 362 drivers/media/dvb-core/dvb_vb2.c dprintk(3, "[%s] index=%d\n", ctx->name, b->index); index 371 drivers/media/dvb-core/dvb_vb2.c ret = vb2_core_expbuf(&ctx->vb_q, &exp->fd, q->type, exp->index, index 375 drivers/media/dvb-core/dvb_vb2.c exp->index, ret); index 378 drivers/media/dvb-core/dvb_vb2.c dprintk(3, "[%s] index=%d fd=%d\n", ctx->name, exp->index, exp->fd); index 387 drivers/media/dvb-core/dvb_vb2.c ret = vb2_core_qbuf(&ctx->vb_q, b->index, b, NULL); index 390 drivers/media/dvb-core/dvb_vb2.c b->index, ret); index 393 drivers/media/dvb-core/dvb_vb2.c dprintk(5, "[%s] index=%d\n", ctx->name, b->index); index 403 drivers/media/dvb-core/dvb_vb2.c ret = vb2_core_dqbuf(&ctx->vb_q, &b->index, b, ctx->nonblocking); index 416 drivers/media/dvb-core/dvb_vb2.c ctx->name, b->index, ctx->count, b->flags); index 1181 drivers/media/dvb-frontends/af9013.c static int af9013_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, index 1190 drivers/media/dvb-frontends/af9013.c index, pid, onoff); index 1203 drivers/media/dvb-frontends/af9013.c ret = regmap_write(state->regmap, 0xd504, onoff << 5 | index << 0); index 980 drivers/media/dvb-frontends/af9033.c static int af9033_pid_filter(struct dvb_frontend *fe, int index, u16 pid, index 989 drivers/media/dvb-frontends/af9033.c index, pid, onoff); index 1000 drivers/media/dvb-frontends/af9033.c ret = regmap_write(dev->regmap, 0x80f995, index); index 87 drivers/media/dvb-frontends/af9033.h int (*pid_filter)(struct dvb_frontend *fe, int index, u16 pid, index 1673 drivers/media/dvb-frontends/cxd2841er.c int min_index, max_index, index; index 1707 drivers/media/dvb-frontends/cxd2841er.c index = (max_index + min_index) / 2; index 1708 drivers/media/dvb-frontends/cxd2841er.c if (value == cn_data[index].value) { index 1709 drivers/media/dvb-frontends/cxd2841er.c res = cn_data[index].cnr_x1000; index 1711 drivers/media/dvb-frontends/cxd2841er.c } else if (value > cn_data[index].value) index 1712 drivers/media/dvb-frontends/cxd2841er.c max_index = index; index 1714 drivers/media/dvb-frontends/cxd2841er.c min_index = index; index 613 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c u8 index = 0; index 672 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->id = data[index++]; index 674 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c (enum cxd2880_dvbt2_plp_type)(data[index++] & 0x07); index 676 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c (enum cxd2880_dvbt2_plp_payload)(data[index++] & 0x1f); index 677 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->ff = data[index++] & 0x01; index 678 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->first_rf_idx = data[index++] & 0x07; index 679 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->first_frm_idx = data[index++]; index 680 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->group_id = data[index++]; index 682 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c (enum cxd2880_dvbt2_plp_code_rate)(data[index++] & 0x07); index 684 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c (enum cxd2880_dvbt2_plp_constell)(data[index++] & 0x07); index 685 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->rot = data[index++] & 0x01; index 687 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c (enum cxd2880_dvbt2_plp_fec)(data[index++] & 0x03); index 688 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->num_blocks_max = (data[index++] & 0x03) << 8; index 689 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->num_blocks_max |= data[index++]; index 690 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->frm_int = data[index++]; index 691 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->til_len = data[index++]; index 692 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->til_type = data[index++] & 0x01; index 694 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->in_band_a_flag = data[index++] & 0x01; index 695 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->rsvd = data[index++] << 8; index 696 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c plp_info->rsvd |= data[index++]; index 36 drivers/media/dvb-frontends/dib3000.h int (*pid_ctrl)(struct dvb_frontend *fe, int index, int pid, int onoff); index 701 drivers/media/dvb-frontends/dib3000mb.c static int dib3000mb_pid_control(struct dvb_frontend *fe,int index, int pid,int onoff) index 705 drivers/media/dvb-frontends/dib3000mb.c wr(index+DIB3000MB_REG_FIRST_PID,pid); index 832 drivers/media/dvb-frontends/dib3000mc.c int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff) index 835 drivers/media/dvb-frontends/dib3000mc.c dib3000mc_write_word(state, 212 + index, onoff ? (1 << 13) | pid : 0); index 76 drivers/media/dvb-frontends/dib3000mc.h extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff); index 9979 drivers/media/dvb-frontends/drx39xyj/drxj.c u16 index = 0; index 9983 drivers/media/dvb-frontends/drx39xyj/drxj.c index = (u16) ((freq - 400) / 200); index 9986 drivers/media/dvb-frontends/drx39xyj/drxj.c trk_filtercfg[index] - (trk_filtercfg[index] - index 9987 drivers/media/dvb-frontends/drx39xyj/drxj.c trk_filtercfg[index + index 15 drivers/media/dvb-frontends/drxd.h u8 index; index 65 drivers/media/dvb-frontends/gp8psk-fe.h int (*in)(void *priv, u8 req, u16 value, u16 index, u8 *b, int blen); index 66 drivers/media/dvb-frontends/gp8psk-fe.h int (*out)(void *priv, u8 req, u16 value, u16 index, u8 *b, int blen); index 38 drivers/media/dvb-frontends/lgdt330x.h int (*pll_rf_set) (struct dvb_frontend* fe, int index); index 891 drivers/media/dvb-frontends/mxl5xx.c u32 index = 0; index 907 drivers/media/dvb-frontends/mxl5xx.c for (index = 0; index < mbin_ptr->header.num_segments; index++) { index 601 drivers/media/dvb-frontends/rtl2830.c static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int onoff) index 609 drivers/media/dvb-frontends/rtl2830.c index, pid, onoff); index 612 drivers/media/dvb-frontends/rtl2830.c if (pid > 0x1fff || index > 32) index 616 drivers/media/dvb-frontends/rtl2830.c set_bit(index, &dev->filters); index 618 drivers/media/dvb-frontends/rtl2830.c clear_bit(index, &dev->filters); index 632 drivers/media/dvb-frontends/rtl2830.c ret = rtl2830_bulk_write(client, 0x066 + 2 * index, buf, 2); index 973 drivers/media/dvb-frontends/rtl2832.c static int rtl2832_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, index 982 drivers/media/dvb-frontends/rtl2832.c index, pid, onoff, dev->slave_ts); index 985 drivers/media/dvb-frontends/rtl2832.c if (pid > 0x1fff || index > 32) index 989 drivers/media/dvb-frontends/rtl2832.c set_bit(index, &dev->filters); index 991 drivers/media/dvb-frontends/rtl2832.c clear_bit(index, &dev->filters); index 1011 drivers/media/dvb-frontends/rtl2832.c ret = regmap_bulk_write(dev->regmap, 0x026 + 2 * index, buf, 2); index 1013 drivers/media/dvb-frontends/rtl2832.c ret = regmap_bulk_write(dev->regmap, 0x066 + 2 * index, buf, 2); index 41 drivers/media/dvb-frontends/rtl2832_sdr.c .index = 0, index 49 drivers/media/dvb-frontends/rtl2832_sdr.c .index = 1, index 57 drivers/media/dvb-frontends/rtl2832_sdr.c .index = 2, index 68 drivers/media/dvb-frontends/rtl2832_sdr.c .index = 0, index 957 drivers/media/dvb-frontends/rtl2832_sdr.c dev_dbg(&pdev->dev, "index=%d type=%d\n", v->index, v->type); index 959 drivers/media/dvb-frontends/rtl2832_sdr.c if (v->index == 0) { index 966 drivers/media/dvb-frontends/rtl2832_sdr.c } else if (v->index == 1 && index 969 drivers/media/dvb-frontends/rtl2832_sdr.c } else if (v->index == 1) { index 991 drivers/media/dvb-frontends/rtl2832_sdr.c if (v->index == 0) { index 993 drivers/media/dvb-frontends/rtl2832_sdr.c } else if (v->index == 1 && index 996 drivers/media/dvb-frontends/rtl2832_sdr.c } else if (v->index == 1) { index 1012 drivers/media/dvb-frontends/rtl2832_sdr.c band->tuner, band->type, band->index); index 1015 drivers/media/dvb-frontends/rtl2832_sdr.c if (band->index >= ARRAY_SIZE(bands_adc)) index 1018 drivers/media/dvb-frontends/rtl2832_sdr.c *band = bands_adc[band->index]; index 1024 drivers/media/dvb-frontends/rtl2832_sdr.c if (band->index >= ARRAY_SIZE(bands_fm)) index 1027 drivers/media/dvb-frontends/rtl2832_sdr.c *band = bands_fm[band->index]; index 1114 drivers/media/dvb-frontends/rtl2832_sdr.c if (f->index >= dev->num_formats) index 1117 drivers/media/dvb-frontends/rtl2832_sdr.c f->pixelformat = formats[f->index].pixelformat; index 201 drivers/media/dvb-frontends/stb0899_algo.c int index = 0; index 211 drivers/media/dvb-frontends/stb0899_algo.c index++; index 212 drivers/media/dvb-frontends/stb0899_algo.c derot_freq += index * internal->direction * derot_step; /* next derot zig zag position */ index 271 drivers/media/dvb-frontends/stb0899_algo.c int index = 0; index 286 drivers/media/dvb-frontends/stb0899_algo.c index++; index 288 drivers/media/dvb-frontends/stb0899_algo.c derot_freq += index * internal->direction * internal->derot_step; /* next zig zag derotator position */ index 327 drivers/media/dvb-frontends/stb0899_algo.c int lock = 0, index = 0, dataTime = 500, loop; index 360 drivers/media/dvb-frontends/stb0899_algo.c if (lock || loop || (index > dataTime)) index 362 drivers/media/dvb-frontends/stb0899_algo.c index++; index 382 drivers/media/dvb-frontends/stb0899_algo.c int index = 1; index 394 drivers/media/dvb-frontends/stb0899_algo.c derot_freq += index * internal->direction * derot_step; /* next zig zag derotator position */ index 409 drivers/media/dvb-frontends/stb0899_algo.c index++; index 166 drivers/media/dvb-frontends/stv0299.c u8 index; index 170 drivers/media/dvb-frontends/stv0299.c index = stv0299_readreg (state, 0x1b); index 171 drivers/media/dvb-frontends/stv0299.c index &= 0x7; index 173 drivers/media/dvb-frontends/stv0299.c if (index > 4) index 176 drivers/media/dvb-frontends/stv0299.c return fec_tab [index]; index 1229 drivers/media/dvb-frontends/stv0367.c s8 num_trials, index; index 1297 drivers/media/dvb-frontends/stv0367.c index = 0; index 1299 drivers/media/dvb-frontends/stv0367.c while (((index) < num_trials) && (ter_state->state != FE_TER_LOCKOK)) { index 1302 drivers/media/dvb-frontends/stv0367.c ter_state->sense = SenseTrials[index]; index 1309 drivers/media/dvb-frontends/stv0367.c (index == 1)) { index 1311 drivers/media/dvb-frontends/stv0367.c SenseTrials[index] = SenseTrials[0]; index 1312 drivers/media/dvb-frontends/stv0367.c SenseTrials[(index + 1) % 2] = (SenseTrials[1] + 1) % 2; index 1315 drivers/media/dvb-frontends/stv0367.c index++; index 2793 drivers/media/dvb-frontends/stv090x.c s32 index = 0; index 2799 drivers/media/dvb-frontends/stv090x.c index = 0; index 2802 drivers/media/dvb-frontends/stv090x.c index = 1; index 2805 drivers/media/dvb-frontends/stv090x.c index = 2; index 2808 drivers/media/dvb-frontends/stv090x.c index = 3; index 2821 drivers/media/dvb-frontends/stv090x.c aclc = short_crl[index].crl_2; index 2823 drivers/media/dvb-frontends/stv090x.c aclc = short_crl[index].crl_5; index 2825 drivers/media/dvb-frontends/stv090x.c aclc = short_crl[index].crl_10; index 2827 drivers/media/dvb-frontends/stv090x.c aclc = short_crl[index].crl_20; index 2829 drivers/media/dvb-frontends/stv090x.c aclc = short_crl[index].crl_30; index 426 drivers/media/dvb-frontends/stv6111.c u32 index = (cutoff_frequency + 999999) / 1000000; index 429 drivers/media/dvb-frontends/stv6111.c if (index < 6) index 430 drivers/media/dvb-frontends/stv6111.c index = 6; index 431 drivers/media/dvb-frontends/stv6111.c if (index > 50) index 432 drivers/media/dvb-frontends/stv6111.c index = 50; index 433 drivers/media/dvb-frontends/stv6111.c if ((state->reg[0x08] & ~0xFC) == ((index - 6) << 2)) index 436 drivers/media/dvb-frontends/stv6111.c state->reg[0x08] = (state->reg[0x08] & ~0xFC) | ((index - 6) << 2); index 451 drivers/media/dvb-frontends/stv6111.c u32 index = (cutoff_frequency + 999999) / 1000000; index 456 drivers/media/dvb-frontends/stv6111.c if (index < 6) index 457 drivers/media/dvb-frontends/stv6111.c index = 6; index 458 drivers/media/dvb-frontends/stv6111.c if (index > 50) index 459 drivers/media/dvb-frontends/stv6111.c index = 50; index 498 drivers/media/dvb-frontends/stv6111.c state->reg[0x08] = (state->reg[0x08] & ~0xFC) | ((index - 6) << 2); index 111 drivers/media/dvb-frontends/tda8083.c u8 index; index 117 drivers/media/dvb-frontends/tda8083.c index = tda8083_readreg(state, 0x0e) & 0x07; index 119 drivers/media/dvb-frontends/tda8083.c return fec_tab [index]; index 85 drivers/media/firewire/firedtv-fw.c static int queue_iso(struct fdtv_ir_context *ctx, int index) index 95 drivers/media/firewire/firedtv-fw.c index * MAX_PACKET_SIZE); index 256 drivers/media/i2c/adv7170.c if (code->pad || code->index >= ARRAY_SIZE(adv7170_codes)) index 259 drivers/media/i2c/adv7170.c code->code = adv7170_codes[code->index]; index 294 drivers/media/i2c/adv7175.c if (code->pad || code->index >= ARRAY_SIZE(adv7175_codes)) index 297 drivers/media/i2c/adv7175.c code->code = adv7175_codes[code->index]; index 639 drivers/media/i2c/adv7180.c if (code->index != 0) index 415 drivers/media/i2c/adv7183.c if (code->pad || code->index > 0) index 337 drivers/media/i2c/adv748x/adv748x-afe.c if (code->index != 0) index 415 drivers/media/i2c/adv748x/adv748x-hdmi.c if (code->index != 0) index 1236 drivers/media/i2c/adv7511-v4l2.c switch (code->index) { index 1817 drivers/media/i2c/adv7604.c if (code->index >= state->info->nformats) index 1820 drivers/media/i2c/adv7604.c code->code = state->info->formats[code->index].code; index 2418 drivers/media/i2c/adv7604.c static int adv76xx_read_infoframe(struct v4l2_subdev *sd, int index, index 2425 drivers/media/i2c/adv7604.c if (!(io_read(sd, 0x60) & adv76xx_cri[index].present_mask)) { index 2427 drivers/media/i2c/adv7604.c adv76xx_cri[index].desc); index 2433 drivers/media/i2c/adv7604.c adv76xx_cri[index].head_addr + i); index 2439 drivers/media/i2c/adv7604.c adv76xx_cri[index].desc, len); index 2445 drivers/media/i2c/adv7604.c adv76xx_cri[index].payload_addr + i); index 2449 drivers/media/i2c/adv7604.c adv76xx_cri[index].desc); index 2001 drivers/media/i2c/adv7842.c if (code->index >= ARRAY_SIZE(adv7842_formats)) index 2003 drivers/media/i2c/adv7842.c code->code = adv7842_formats[code->index].code; index 117 drivers/media/i2c/ak881x.c if (code->pad || code->index) index 893 drivers/media/i2c/et8ek8/et8ek8_driver.c if (code->index >= MAX_FMTS) index 910 drivers/media/i2c/et8ek8/et8ek8_driver.c if (code->index == npixelformat) { index 931 drivers/media/i2c/et8ek8/et8ek8_driver.c int index = fse->index; index 948 drivers/media/i2c/et8ek8/et8ek8_driver.c if (index-- == 0) { index 967 drivers/media/i2c/et8ek8/et8ek8_driver.c int index = fie->index; index 982 drivers/media/i2c/et8ek8/et8ek8_driver.c if (index-- == 0) { index 479 drivers/media/i2c/imx214.c if (code->index > 0) index 494 drivers/media/i2c/imx214.c if (fse->index >= ARRAY_SIZE(imx214_modes)) index 497 drivers/media/i2c/imx214.c fse->min_width = fse->max_width = imx214_modes[fse->index].width; index 498 drivers/media/i2c/imx214.c fse->min_height = fse->max_height = imx214_modes[fse->index].height; index 818 drivers/media/i2c/imx214.c if (fie->index != 0) index 796 drivers/media/i2c/imx258.c if (code->index > 0) index 808 drivers/media/i2c/imx258.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 814 drivers/media/i2c/imx258.c fse->min_width = supported_modes[fse->index].width; index 816 drivers/media/i2c/imx258.c fse->min_height = supported_modes[fse->index].height; index 1955 drivers/media/i2c/imx319.c if (code->index > 0) index 1971 drivers/media/i2c/imx319.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 1981 drivers/media/i2c/imx319.c fse->min_width = supported_modes[fse->index].width; index 1983 drivers/media/i2c/imx319.c fse->min_height = supported_modes[fse->index].height; index 1256 drivers/media/i2c/imx355.c if (code->index > 0) index 1272 drivers/media/i2c/imx355.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 1282 drivers/media/i2c/imx355.c fse->min_width = supported_modes[fse->index].width; index 1284 drivers/media/i2c/imx355.c fse->min_height = supported_modes[fse->index].height; index 654 drivers/media/i2c/m5mols/m5mols_core.c if (!code || code->index >= SIZE_DEFAULT_FFMT) index 657 drivers/media/i2c/m5mols/m5mols_core.c code->code = m5mols_default_ffmt[code->index].code; index 221 drivers/media/i2c/max2175.c .index = 0, index 230 drivers/media/i2c/max2175.c .index = 0, index 1145 drivers/media/i2c/max2175.c if (band->tuner != 0 || band->index != 0) index 1157 drivers/media/i2c/max2175.c if (vt->index > 0) index 1172 drivers/media/i2c/max2175.c if (vt->index > 0) index 194 drivers/media/i2c/ml86v7667.c if (code->pad || code->index > 0) index 685 drivers/media/i2c/mt9m001.c if (code->pad || code->index >= mt9m001->num_fmts) index 688 drivers/media/i2c/mt9m001.c code->code = mt9m001->fmts[code->index].code; index 310 drivers/media/i2c/mt9m032.c if (code->index != 0) index 321 drivers/media/i2c/mt9m032.c if (fse->index != 0 || fse->code != MEDIA_BUS_FMT_Y8_1X8) index 1106 drivers/media/i2c/mt9m111.c if (code->pad || code->index >= ARRAY_SIZE(mt9m111_colour_fmts)) index 1109 drivers/media/i2c/mt9m111.c code->code = mt9m111_colour_fmts[code->index].code; index 479 drivers/media/i2c/mt9p031.c if (code->pad || code->index) index 492 drivers/media/i2c/mt9p031.c if (fse->index >= 8 || fse->code != mt9p031->format.code) index 496 drivers/media/i2c/mt9p031.c / min_t(unsigned int, 7, fse->index + 1); index 498 drivers/media/i2c/mt9p031.c fse->min_height = MT9P031_WINDOW_HEIGHT_DEF / (fse->index + 1); index 341 drivers/media/i2c/mt9t001.c if (code->index > 0) index 352 drivers/media/i2c/mt9t001.c if (fse->index >= 8 || fse->code != MEDIA_BUS_FMT_SGRBG10_1X10) index 355 drivers/media/i2c/mt9t001.c fse->min_width = (MT9T001_WINDOW_WIDTH_DEF + 1) / fse->index; index 357 drivers/media/i2c/mt9t001.c fse->min_height = (MT9T001_WINDOW_HEIGHT_DEF + 1) / fse->index; index 997 drivers/media/i2c/mt9t112.c if (code->pad || code->index >= priv->num_formats) index 1000 drivers/media/i2c/mt9t112.c code->code = mt9t112_cfmts[code->index].code; index 333 drivers/media/i2c/mt9v011.c if (code->pad || code->index > 0) index 433 drivers/media/i2c/mt9v032.c if (code->index > 0) index 446 drivers/media/i2c/mt9v032.c if (fse->index >= 3) index 451 drivers/media/i2c/mt9v032.c fse->min_width = MT9V032_WINDOW_WIDTH_DEF / (1 << fse->index); index 453 drivers/media/i2c/mt9v032.c fse->min_height = MT9V032_WINDOW_HEIGHT_DEF / (1 << fse->index); index 816 drivers/media/i2c/mt9v111.c if (code->pad || code->index > ARRAY_SIZE(mt9v111_formats) - 1) index 819 drivers/media/i2c/mt9v111.c code->code = mt9v111_formats[code->index].code; index 830 drivers/media/i2c/mt9v111.c if (fie->pad || fie->index >= ARRAY_SIZE(mt9v111_frame_intervals)) index 842 drivers/media/i2c/mt9v111.c fie->interval.denominator = mt9v111_frame_intervals[fie->index]; index 851 drivers/media/i2c/mt9v111.c if (fse->pad || fse->index >= ARRAY_SIZE(mt9v111_frame_sizes)) index 854 drivers/media/i2c/mt9v111.c fse->min_width = mt9v111_frame_sizes[fse->index].width; index 855 drivers/media/i2c/mt9v111.c fse->max_width = mt9v111_frame_sizes[fse->index].width; index 856 drivers/media/i2c/mt9v111.c fse->min_height = mt9v111_frame_sizes[fse->index].height; index 857 drivers/media/i2c/mt9v111.c fse->max_height = mt9v111_frame_sizes[fse->index].height; index 494 drivers/media/i2c/noon010pc30.c if (code->index >= ARRAY_SIZE(noon010_formats)) index 497 drivers/media/i2c/noon010pc30.c code->code = noon010_formats[code->index].code; index 1281 drivers/media/i2c/ov13858.c if (code->index > 0) index 1293 drivers/media/i2c/ov13858.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 1299 drivers/media/i2c/ov13858.c fse->min_width = supported_modes[fse->index].width; index 1301 drivers/media/i2c/ov13858.c fse->min_height = supported_modes[fse->index].height; index 1032 drivers/media/i2c/ov2640.c if (code->pad || code->index >= ARRAY_SIZE(ov2640_codes)) index 1035 drivers/media/i2c/ov2640.c code->code = ov2640_codes[code->index]; index 1009 drivers/media/i2c/ov2659.c if (code->index >= ARRAY_SIZE(ov2659_formats)) index 1012 drivers/media/i2c/ov2659.c code->code = ov2659_formats[code->index].code; index 1026 drivers/media/i2c/ov2659.c if (fse->index >= ARRAY_SIZE(ov2659_framesizes)) index 1035 drivers/media/i2c/ov2659.c fse->min_width = ov2659_framesizes[fse->index].width; index 1037 drivers/media/i2c/ov2659.c fse->max_height = ov2659_framesizes[fse->index].height; index 1110 drivers/media/i2c/ov2659.c int index = ARRAY_SIZE(ov2659_formats); index 1120 drivers/media/i2c/ov2659.c while (--index >= 0) index 1121 drivers/media/i2c/ov2659.c if (ov2659_formats[index].code == mf->code) index 1124 drivers/media/i2c/ov2659.c if (index < 0) { index 1125 drivers/media/i2c/ov2659.c index = 0; index 1126 drivers/media/i2c/ov2659.c mf->code = ov2659_formats[index].code; index 1150 drivers/media/i2c/ov2659.c ov2659_formats[index].format_ctrl_regs; index 653 drivers/media/i2c/ov2680.c if (code->pad != 0 || code->index != 0) index 764 drivers/media/i2c/ov2680.c int index = fse->index; index 766 drivers/media/i2c/ov2680.c if (index >= OV2680_MODE_MAX || index < 0) index 769 drivers/media/i2c/ov2680.c fse->min_width = ov2680_mode_data[index].width; index 770 drivers/media/i2c/ov2680.c fse->min_height = ov2680_mode_data[index].height; index 771 drivers/media/i2c/ov2680.c fse->max_width = ov2680_mode_data[index].width; index 772 drivers/media/i2c/ov2680.c fse->max_height = ov2680_mode_data[index].height; index 783 drivers/media/i2c/ov2680.c if (fie->index >= OV2680_MODE_MAX || fie->width > OV2680_WIDTH_MAX || index 359 drivers/media/i2c/ov2685.c if (code->index >= ARRAY_SIZE(supported_modes)) index 371 drivers/media/i2c/ov2685.c int index = fse->index; index 373 drivers/media/i2c/ov2685.c if (index >= ARRAY_SIZE(supported_modes)) index 378 drivers/media/i2c/ov2685.c fse->min_width = supported_modes[index].width; index 379 drivers/media/i2c/ov2685.c fse->max_width = supported_modes[index].width; index 380 drivers/media/i2c/ov2685.c fse->max_height = supported_modes[index].height; index 381 drivers/media/i2c/ov2685.c fse->min_height = supported_modes[index].height; index 2733 drivers/media/i2c/ov5640.c if (fse->index >= OV5640_NUM_MODES) index 2737 drivers/media/i2c/ov5640.c ov5640_mode_data[fse->index].hact; index 2740 drivers/media/i2c/ov5640.c ov5640_mode_data[fse->index].vact; index 2757 drivers/media/i2c/ov5640.c if (fie->index >= OV5640_NUM_FRAMERATES) index 2761 drivers/media/i2c/ov5640.c tpf.denominator = ov5640_framerates[fie->index]; index 2836 drivers/media/i2c/ov5640.c if (code->index >= ARRAY_SIZE(ov5640_formats)) index 2839 drivers/media/i2c/ov5640.c code->code = ov5640_formats[code->index].code; index 843 drivers/media/i2c/ov5645.c if (code->index > 0) index 858 drivers/media/i2c/ov5645.c if (fse->index >= ARRAY_SIZE(ov5645_mode_info_data)) index 861 drivers/media/i2c/ov5645.c fse->min_width = ov5645_mode_info_data[fse->index].width; index 862 drivers/media/i2c/ov5645.c fse->max_width = ov5645_mode_info_data[fse->index].width; index 863 drivers/media/i2c/ov5645.c fse->min_height = ov5645_mode_info_data[fse->index].height; index 864 drivers/media/i2c/ov5645.c fse->max_height = ov5645_mode_info_data[fse->index].height; index 458 drivers/media/i2c/ov5647.c if (code->index > 0) index 2147 drivers/media/i2c/ov5670.c if (code->index > 0) index 2159 drivers/media/i2c/ov5670.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 2165 drivers/media/i2c/ov5670.c fse->min_width = supported_modes[fse->index].width; index 2167 drivers/media/i2c/ov5670.c fse->min_height = supported_modes[fse->index].height; index 922 drivers/media/i2c/ov5675.c if (code->index > 0) index 934 drivers/media/i2c/ov5675.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 940 drivers/media/i2c/ov5675.c fse->min_width = supported_modes[fse->index].width; index 942 drivers/media/i2c/ov5675.c fse->min_height = supported_modes[fse->index].height; index 873 drivers/media/i2c/ov5695.c if (code->index != 0) index 884 drivers/media/i2c/ov5695.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 890 drivers/media/i2c/ov5695.c fse->min_width = supported_modes[fse->index].width; index 891 drivers/media/i2c/ov5695.c fse->max_width = supported_modes[fse->index].width; index 892 drivers/media/i2c/ov5695.c fse->max_height = supported_modes[fse->index].height; index 893 drivers/media/i2c/ov5695.c fse->min_height = supported_modes[fse->index].height; index 745 drivers/media/i2c/ov6650.c if (code->pad || code->index >= ARRAY_SIZE(ov6650_codes)) index 748 drivers/media/i2c/ov6650.c code->code = ov6650_codes[code->index]; index 904 drivers/media/i2c/ov7251.c if (code->index > 0) index 919 drivers/media/i2c/ov7251.c if (fse->index >= ARRAY_SIZE(ov7251_mode_info_data)) index 922 drivers/media/i2c/ov7251.c fse->min_width = ov7251_mode_info_data[fse->index].width; index 923 drivers/media/i2c/ov7251.c fse->max_width = ov7251_mode_info_data[fse->index].width; index 924 drivers/media/i2c/ov7251.c fse->min_height = ov7251_mode_info_data[fse->index].height; index 925 drivers/media/i2c/ov7251.c fse->max_height = ov7251_mode_info_data[fse->index].height; index 934 drivers/media/i2c/ov7251.c unsigned int index = fie->index; index 942 drivers/media/i2c/ov7251.c if (index-- == 0) { index 952 drivers/media/i2c/ov7670.c if (code->pad || code->index >= N_OV7670_FMTS) index 955 drivers/media/i2c/ov7670.c code->code = ov7670_formats[code->index].mbus_code; index 964 drivers/media/i2c/ov7670.c int index, i; index 970 drivers/media/i2c/ov7670.c for (index = 0; index < N_OV7670_FMTS; index++) index 971 drivers/media/i2c/ov7670.c if (ov7670_formats[index].mbus_code == fmt->code) index 973 drivers/media/i2c/ov7670.c if (index >= N_OV7670_FMTS) { index 975 drivers/media/i2c/ov7670.c index = 0; index 979 drivers/media/i2c/ov7670.c *ret_fmt = ov7670_formats + index; index 1016 drivers/media/i2c/ov7670.c fmt->colorspace = ov7670_formats[index].colorspace; index 1200 drivers/media/i2c/ov7670.c if (fie->index >= ARRAY_SIZE(ov7670_frame_rates)) index 1222 drivers/media/i2c/ov7670.c fie->interval.denominator = ov7670_frame_rates[fie->index]; index 1236 drivers/media/i2c/ov7670.c __u32 index = fse->index; index 1252 drivers/media/i2c/ov7670.c if (index == ++num_valid) { index 1305 drivers/media/i2c/ov772x.c if (fie->pad || fie->index >= ARRAY_SIZE(ov772x_frame_intervals)) index 1314 drivers/media/i2c/ov772x.c fie->interval.denominator = ov772x_frame_intervals[fie->index]; index 1323 drivers/media/i2c/ov772x.c if (code->pad || code->index >= ARRAY_SIZE(ov772x_cfmts)) index 1326 drivers/media/i2c/ov772x.c code->code = ov772x_cfmts[code->index].code; index 715 drivers/media/i2c/ov7740.c if (code->pad || code->index >= N_OV7740_FMTS) index 718 drivers/media/i2c/ov7740.c code->code = ov7740_formats[code->index].mbus_code; index 730 drivers/media/i2c/ov7740.c if (fie->index >= 1) index 749 drivers/media/i2c/ov7740.c if (fse->index > 0) index 765 drivers/media/i2c/ov7740.c int index, i; index 767 drivers/media/i2c/ov7740.c for (index = 0; index < N_OV7740_FMTS; index++) { index 768 drivers/media/i2c/ov7740.c if (ov7740_formats[index].mbus_code == fmt->code) index 771 drivers/media/i2c/ov7740.c if (index >= N_OV7740_FMTS) { index 773 drivers/media/i2c/ov7740.c index = 0; index 777 drivers/media/i2c/ov7740.c *ret_fmt = ov7740_formats + index; index 798 drivers/media/i2c/ov7740.c fmt->colorspace = ov7740_formats[index].colorspace; index 1013 drivers/media/i2c/ov8856.c if (code->index > 0) index 1025 drivers/media/i2c/ov8856.c if (fse->index >= ARRAY_SIZE(supported_modes)) index 1031 drivers/media/i2c/ov8856.c fse->min_width = supported_modes[fse->index].width; index 1033 drivers/media/i2c/ov8856.c fse->min_height = supported_modes[fse->index].height; index 559 drivers/media/i2c/ov9640.c if (code->pad || code->index >= ARRAY_SIZE(ov9640_codes)) index 562 drivers/media/i2c/ov9640.c code->code = ov9640_codes[code->index]; index 1076 drivers/media/i2c/ov9650.c if (code->index >= ARRAY_SIZE(ov965x_formats)) index 1079 drivers/media/i2c/ov9650.c code->code = ov965x_formats[code->index].code; index 1089 drivers/media/i2c/ov9650.c if (fse->index >= ARRAY_SIZE(ov965x_framesizes)) index 1098 drivers/media/i2c/ov9650.c fse->min_width = ov965x_framesizes[fse->index].width; index 1100 drivers/media/i2c/ov9650.c fse->max_height = ov965x_framesizes[fse->index].height; index 1218 drivers/media/i2c/ov9650.c unsigned int index = ARRAY_SIZE(ov965x_formats); index 1226 drivers/media/i2c/ov9650.c while (--index) index 1227 drivers/media/i2c/ov9650.c if (ov965x_formats[index].code == mf->code) index 1231 drivers/media/i2c/ov9650.c mf->code = ov965x_formats[index].code; index 1247 drivers/media/i2c/ov9650.c ov965x->tslb_reg = ov965x_formats[index].tslb_reg; index 494 drivers/media/i2c/rj54n1cb0c.c if (code->pad || code->index >= ARRAY_SIZE(rj54n1_colour_fmts)) index 497 drivers/media/i2c/rj54n1cb0c.c code->code = rj54n1_colour_fmts[code->index].code; index 958 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fie->index >= ARRAY_SIZE(s5c73m3_intervals)) index 962 drivers/media/i2c/s5c73m3/s5c73m3-core.c fi = &s5c73m3_intervals[fie->index]; index 972 drivers/media/i2c/s5c73m3/s5c73m3-core.c static int s5c73m3_oif_get_pad_code(int pad, int index) index 975 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (index > 1) index 977 drivers/media/i2c/s5c73m3/s5c73m3-core.c return (index == 0) ? S5C73M3_ISP_FMT : S5C73M3_JPEG_FMT; index 980 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (index > 0) index 1193 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (code->index > 0 || code->pad >= S5C73M3_NUM_PADS) index 1207 drivers/media/i2c/s5c73m3/s5c73m3-core.c ret = s5c73m3_oif_get_pad_code(code->pad, code->index); index 1232 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fse->index >= s5c73m3_resolutions_len[idx]) index 1235 drivers/media/i2c/s5c73m3/s5c73m3-core.c fse->min_width = s5c73m3_resolutions[idx][fse->index].width; index 1237 drivers/media/i2c/s5c73m3/s5c73m3-core.c fse->max_height = s5c73m3_resolutions[idx][fse->index].height; index 1251 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fse->index > 0) index 1291 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (fse->index >= s5c73m3_resolutions_len[idx]) index 1294 drivers/media/i2c/s5c73m3/s5c73m3-core.c fse->min_width = s5c73m3_resolutions[idx][fse->index].width; index 1296 drivers/media/i2c/s5c73m3/s5c73m3-core.c fse->max_height = s5c73m3_resolutions[idx][fse->index].height; index 531 drivers/media/i2c/s5k4ecgx.c if (code->index >= ARRAY_SIZE(s5k4ecgx_formats)) index 533 drivers/media/i2c/s5k4ecgx.c code->code = s5k4ecgx_formats[code->index].code; index 1187 drivers/media/i2c/s5k5baf.c if (fie->index > S5K5BAF_MAX_FR_TIME - S5K5BAF_MIN_FR_TIME || index 1196 drivers/media/i2c/s5k5baf.c fie->interval.numerator = S5K5BAF_MIN_FR_TIME + fie->index; index 1207 drivers/media/i2c/s5k5baf.c if (code->index > 0) index 1213 drivers/media/i2c/s5k5baf.c if (code->index >= ARRAY_SIZE(s5k5baf_formats)) index 1216 drivers/media/i2c/s5k5baf.c code->code = s5k5baf_formats[code->index].code; index 1226 drivers/media/i2c/s5k5baf.c if (fse->index > 0) index 105 drivers/media/i2c/s5k6a3.c if (code->index >= ARRAY_SIZE(s5k6a3_formats)) index 108 drivers/media/i2c/s5k6a3.c code->code = s5k6a3_formats[code->index].code; index 200 drivers/media/i2c/s5k6aa.c u8 index; index 320 drivers/media/i2c/s5k6aa.c preset->index = i; index 467 drivers/media/i2c/s5k6aa.c int index = s5k6aa->preset->index; index 472 drivers/media/i2c/s5k6aa.c return s5k6aa_write(client, REG_P_PREV_MIRROR(index), flip); index 635 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(client, REG_P_OUT_WIDTH(preset->index), index 638 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(client, REG_P_OUT_HEIGHT(preset->index), index 641 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(client, REG_P_FMT(preset->index), index 735 drivers/media/i2c/s5k6aa.c int idx = preset->index; index 1007 drivers/media/i2c/s5k6aa.c if (fie->index >= ARRAY_SIZE(s5k6aa_intervals)) index 1016 drivers/media/i2c/s5k6aa.c fi = &s5k6aa_intervals[fie->index]; index 1030 drivers/media/i2c/s5k6aa.c if (code->index >= ARRAY_SIZE(s5k6aa_formats)) index 1033 drivers/media/i2c/s5k6aa.c code->code = s5k6aa_formats[code->index].code; index 1043 drivers/media/i2c/s5k6aa.c if (fse->index > 0) index 1073 drivers/media/i2c/s5k6aa.c unsigned int index; index 1084 drivers/media/i2c/s5k6aa.c index = s5k6aa_get_pixfmt_index(s5k6aa, mf); index 1086 drivers/media/i2c/s5k6aa.c mf->colorspace = s5k6aa_formats[index].colorspace; index 1087 drivers/media/i2c/s5k6aa.c mf->code = s5k6aa_formats[index].code; index 1267 drivers/media/i2c/s5k6aa.c idx = s5k6aa->preset->index; index 1582 drivers/media/i2c/smiapp/smiapp-core.c subdev->name, code->pad, code->index); index 1585 drivers/media/i2c/smiapp/smiapp-core.c if (code->index) index 1597 drivers/media/i2c/smiapp/smiapp-core.c if (idx == code->index) { index 1600 drivers/media/i2c/smiapp/smiapp-core.c code->index, i, code->code); index 475 drivers/media/i2c/sr030pc30.c code->index >= ARRAY_SIZE(sr030pc30_formats)) index 478 drivers/media/i2c/sr030pc30.c code->code = sr030pc30_formats[code->index].code; index 357 drivers/media/i2c/st-mipid02.c qm.index = v4l2_ctrl_g_ctrl(ctrl); index 655 drivers/media/i2c/st-mipid02.c if (code->index >= ARRAY_SIZE(mipid02_supported_fmt_codes)) index 658 drivers/media/i2c/st-mipid02.c code->code = mipid02_supported_fmt_codes[code->index]; index 661 drivers/media/i2c/st-mipid02.c if (code->index == 0) index 1652 drivers/media/i2c/tc358743.c switch (code->index) { index 1738 drivers/media/i2c/tda1997x.c v4l_dbg(1, debug, state->client, "%s %d\n", __func__, code->index); index 1739 drivers/media/i2c/tda1997x.c if (code->index >= ARRAY_SIZE(state->mbus_codes)) index 1742 drivers/media/i2c/tda1997x.c if (!state->mbus_codes[code->index]) index 1745 drivers/media/i2c/tda1997x.c code->code = state->mbus_codes[code->index]; index 86 drivers/media/i2c/tda9840.c if (t->index) index 216 drivers/media/i2c/tvp514x.c .index = 0, index 237 drivers/media/i2c/tvp514x.c .index = 0, index 250 drivers/media/i2c/tvp514x.c .index = 1, index 866 drivers/media/i2c/tvp514x.c u32 index = code->index; index 869 drivers/media/i2c/tvp514x.c code->index = index; index 872 drivers/media/i2c/tvp514x.c if (index != 0) index 1147 drivers/media/i2c/tvp5150.c if (code->pad || code->index) index 1160 drivers/media/i2c/tvp5150.c if (fse->index >= 8 || fse->code != TVP5150_MBUS_FMT) index 608 drivers/media/i2c/tvp7002.c static int tvp7002_query_dv(struct v4l2_subdev *sd, int *index) index 621 drivers/media/i2c/tvp7002.c *index = NUM_TIMINGS; index 642 drivers/media/i2c/tvp7002.c for (*index = 0; *index < NUM_TIMINGS; (*index)++, timings++) index 651 drivers/media/i2c/tvp7002.c if (*index == NUM_TIMINGS) { index 658 drivers/media/i2c/tvp7002.c v4l2_dbg(1, debug, sd, "detected timings: %d\n", *index); index 665 drivers/media/i2c/tvp7002.c int index; index 666 drivers/media/i2c/tvp7002.c int err = tvp7002_query_dv(sd, &index); index 670 drivers/media/i2c/tvp7002.c *timings = tvp7002_timings[index].timings; index 778 drivers/media/i2c/tvp7002.c if (timings->index >= NUM_TIMINGS) index 781 drivers/media/i2c/tvp7002.c timings->timings = tvp7002_timings[timings->index].timings; index 802 drivers/media/i2c/tvp7002.c if (code->index != 0) index 892 drivers/media/i2c/tw9910.c if (code->pad || code->index) index 596 drivers/media/i2c/video-i2c.c if (vin->index > 0) index 612 drivers/media/i2c/video-i2c.c if (fmt->index > 0) index 628 drivers/media/i2c/video-i2c.c if (fsize->index > 0) index 647 drivers/media/i2c/video-i2c.c if (fe->index >= data->chip->num_frame_intervals) index 654 drivers/media/i2c/video-i2c.c fe->discrete = data->chip->frame_intervals[fe->index]; index 483 drivers/media/i2c/vs6624.c static int vs6624_read(struct v4l2_subdev *sd, u16 index) index 488 drivers/media/i2c/vs6624.c buf[0] = index >> 8; index 489 drivers/media/i2c/vs6624.c buf[1] = index; index 497 drivers/media/i2c/vs6624.c static int vs6624_write(struct v4l2_subdev *sd, u16 index, index 503 drivers/media/i2c/vs6624.c buf[0] = index >> 8; index 504 drivers/media/i2c/vs6624.c buf[1] = index; index 552 drivers/media/i2c/vs6624.c if (code->pad || code->index >= ARRAY_SIZE(vs6624_formats)) index 555 drivers/media/i2c/vs6624.c code->code = vs6624_formats[code->index].mbus_code; index 565 drivers/media/i2c/vs6624.c int index; index 570 drivers/media/i2c/vs6624.c for (index = 0; index < ARRAY_SIZE(vs6624_formats); index++) index 571 drivers/media/i2c/vs6624.c if (vs6624_formats[index].mbus_code == fmt->code) index 573 drivers/media/i2c/vs6624.c if (index >= ARRAY_SIZE(vs6624_formats)) { index 575 drivers/media/i2c/vs6624.c index = 0; index 587 drivers/media/i2c/vs6624.c fmt->colorspace = vs6624_formats[index].colorspace; index 147 drivers/media/mc/mc-device.c upad->index = kpad->index; index 215 drivers/media/mc/mc-device.c if (linkd->source.index >= source->num_pads || index 216 drivers/media/mc/mc-device.c linkd->sink.index >= sink->num_pads) index 219 drivers/media/mc/mc-device.c link = media_entity_find_link(&source->pads[linkd->source.index], index 220 drivers/media/mc/mc-device.c &sink->pads[linkd->sink.index]); index 329 drivers/media/mc/mc-device.c kpad.index = pad->index; index 126 drivers/media/mc/mc-entity.c pad->entity->name, pad->index); index 214 drivers/media/mc/mc-entity.c pads[i].index = i; index 321 drivers/media/mc/mc-entity.c link->source->entity->name, link->source->index, index 322 drivers/media/mc/mc-entity.c link->sink->entity->name, link->sink->index); index 455 drivers/media/mc/mc-entity.c bitmap_clear(has_no_links, pad->index, 1); index 464 drivers/media/mc/mc-entity.c bitmap_set(active, pad->index, 1); index 479 drivers/media/mc/mc-entity.c link->source->index, index 480 drivers/media/mc/mc-entity.c entity->name, link->sink->index, ret); index 890 drivers/media/mc/mc-entity.c link->source->index == source->index && index 892 drivers/media/mc/mc-entity.c link->sink->index == sink->index) index 74 drivers/media/pci/b2c2/flexcop-dma.c flexcop_dma_addr_index_t index, index 98 drivers/media/pci/b2c2/flexcop-dma.c if (index & FC_DMA_SUBADDR_0) index 101 drivers/media/pci/b2c2/flexcop-dma.c if (index & FC_DMA_SUBADDR_1) index 1736 drivers/media/pci/bt8xx/bttv-driver.c if (i->index >= bttv_tvcards[btv->c.type].video_inputs) index 1742 drivers/media/pci/bt8xx/bttv-driver.c if (btv->tuner_type != TUNER_ABSENT && i->index == 0) { index 1746 drivers/media/pci/bt8xx/bttv-driver.c } else if (i->index == btv->svhs) { index 1749 drivers/media/pci/bt8xx/bttv-driver.c sprintf(i->name, "Composite%d", i->index); index 1752 drivers/media/pci/bt8xx/bttv-driver.c if (i->index == btv->input) { index 1792 drivers/media/pci/bt8xx/bttv-driver.c if (t->index) index 2473 drivers/media/pci/bt8xx/bttv-driver.c int index = -1, i; index 2477 drivers/media/pci/bt8xx/bttv-driver.c index++; index 2478 drivers/media/pci/bt8xx/bttv-driver.c if ((unsigned int)index == f->index) index 2725 drivers/media/pci/bt8xx/bttv-driver.c if (0 != t->index) index 3202 drivers/media/pci/bt8xx/bttv-driver.c if (0 != t->index) index 3225 drivers/media/pci/bt8xx/bttv-driver.c if (0 != t->index) index 61 drivers/media/pci/cobalt/cobalt-v4l2.c struct sg_dma_desc_info *desc = &s->dma_desc_info[vb->index]; index 91 drivers/media/pci/cobalt/cobalt-v4l2.c struct sg_dma_desc_info *desc = &s->dma_desc_info[vb->index]; index 115 drivers/media/pci/cobalt/cobalt-v4l2.c desc[i] = &s->dma_desc_info[cb->vb.vb2_buf.index]; index 128 drivers/media/pci/cobalt/cobalt-v4l2.c struct sg_dma_desc_info *desc = &s->dma_desc_info[vb->index]; index 275 drivers/media/pci/cobalt/cobalt-v4l2.c omni_sg_dma_start(s, &s->dma_desc_info[cb->vb.vb2_buf.index]); index 372 drivers/media/pci/cobalt/cobalt-v4l2.c desc = &s->dma_desc_info[cb->vb.vb2_buf.index]; index 611 drivers/media/pci/cobalt/cobalt-v4l2.c if (timings->index) index 689 drivers/media/pci/cobalt/cobalt-v4l2.c switch (f->index) { index 890 drivers/media/pci/cobalt/cobalt-v4l2.c switch (f->index) { index 951 drivers/media/pci/cobalt/cobalt-v4l2.c if (inp->index > 1) index 953 drivers/media/pci/cobalt/cobalt-v4l2.c if (inp->index == 0) index 961 drivers/media/pci/cobalt/cobalt-v4l2.c if (inp->index == 1) index 997 drivers/media/pci/cobalt/cobalt-v4l2.c if (out->index) index 999 drivers/media/pci/cobalt/cobalt-v4l2.c snprintf(out->name, sizeof(out->name), "HDMI-%d", out->index); index 573 drivers/media/pci/cx18/cx18-cards.c const struct cx18_card *cx18_get_card(u16 index) index 575 drivers/media/pci/cx18/cx18-cards.c if (index >= ARRAY_SIZE(cx18_card_list)) index 577 drivers/media/pci/cx18/cx18-cards.c return cx18_card_list[index]; index 580 drivers/media/pci/cx18/cx18-cards.c int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input) index 583 drivers/media/pci/cx18/cx18-cards.c cx->card->video_inputs + index; index 593 drivers/media/pci/cx18/cx18-cards.c if (index >= cx->nof_inputs) index 595 drivers/media/pci/cx18/cx18-cards.c input->index = index; index 606 drivers/media/pci/cx18/cx18-cards.c int cx18_get_audio_input(struct cx18 *cx, u16 index, struct v4l2_audio *audio) index 609 drivers/media/pci/cx18/cx18-cards.c cx->card->audio_inputs + index; index 617 drivers/media/pci/cx18/cx18-cards.c if (index >= cx->nof_audio_inputs) index 621 drivers/media/pci/cx18/cx18-cards.c audio->index = index; index 137 drivers/media/pci/cx18/cx18-cards.h int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input); index 138 drivers/media/pci/cx18/cx18-cards.h int cx18_get_audio_input(struct cx18 *cx, u16 index, struct v4l2_audio *input); index 139 drivers/media/pci/cx18/cx18-cards.h const struct cx18_card *cx18_get_card(u16 index); index 247 drivers/media/pci/cx18/cx18-dvb.c feed->pid, feed->index); index 315 drivers/media/pci/cx18/cx18-dvb.c feed->pid, feed->index); index 402 drivers/media/pci/cx18/cx18-ioctl.c return cx18_get_audio_input(cx, vin->index, vin); index 409 drivers/media/pci/cx18/cx18-ioctl.c vin->index = cx->audio_input; index 410 drivers/media/pci/cx18/cx18-ioctl.c return cx18_get_audio_input(cx, vin->index, vin); index 417 drivers/media/pci/cx18/cx18-ioctl.c if (vout->index >= cx->nof_audio_inputs) index 419 drivers/media/pci/cx18/cx18-ioctl.c cx->audio_input = vout->index; index 429 drivers/media/pci/cx18/cx18-ioctl.c return cx18_get_input(cx, vin->index, vin); index 480 drivers/media/pci/cx18/cx18-ioctl.c if (fmt->index > ARRAY_SIZE(formats) - 1) index 482 drivers/media/pci/cx18/cx18-ioctl.c *fmt = formats[fmt->index]; index 607 drivers/media/pci/cx18/cx18-ioctl.c if (vt->index != 0) index 618 drivers/media/pci/cx18/cx18-ioctl.c if (vt->index != 0) index 1272 drivers/media/pci/cx23885/cx23885-417.c if (0 != t->index) index 1339 drivers/media/pci/cx23885/cx23885-417.c if (f->index != 0) index 441 drivers/media/pci/cx23885/cx23885-core.c buf->vb.vb2_buf.index, count, q->count); index 444 drivers/media/pci/cx23885/cx23885-core.c buf->vb.vb2_buf.index, count, q->count); index 1628 drivers/media/pci/cx23885/cx23885-core.c buf, buf->vb.vb2_buf.index, __func__); index 1636 drivers/media/pci/cx23885/cx23885-core.c buf, buf->vb.vb2_buf.index, __func__); index 1656 drivers/media/pci/cx23885/cx23885-core.c buf, buf->vb.vb2_buf.index, reason, index 202 drivers/media/pci/cx23885/cx23885-vbi.c buf, buf->vb.vb2_buf.index); index 213 drivers/media/pci/cx23885/cx23885-vbi.c buf, buf->vb.vb2_buf.index); index 101 drivers/media/pci/cx23885/cx23885-video.c buf->vb.vb2_buf.index, count, q->count); index 415 drivers/media/pci/cx23885/cx23885-video.c buf, buf->vb.vb2_buf.index, index 471 drivers/media/pci/cx23885/cx23885-video.c buf, buf->vb.vb2_buf.index); index 479 drivers/media/pci/cx23885/cx23885-video.c buf, buf->vb.vb2_buf.index); index 647 drivers/media/pci/cx23885/cx23885-video.c if (unlikely(f->index >= ARRAY_SIZE(formats))) index 650 drivers/media/pci/cx23885/cx23885-video.c f->pixelformat = formats[f->index].fourcc; index 726 drivers/media/pci/cx23885/cx23885-video.c n = i->index; index 733 drivers/media/pci/cx23885/cx23885-video.c i->index = n; index 826 drivers/media/pci/cx23885/cx23885-video.c n = i->index; index 831 drivers/media/pci/cx23885/cx23885-video.c i->index = n; index 851 drivers/media/pci/cx23885/cx23885-video.c i->index = 2; index 853 drivers/media/pci/cx23885/cx23885-video.c i->index = dev->audinput; index 854 drivers/media/pci/cx23885/cx23885-video.c dprintk(1, "%s(input=%d)\n", __func__, i->index); index 866 drivers/media/pci/cx23885/cx23885-video.c return i->index != 2 ? -EINVAL : 0; index 868 drivers/media/pci/cx23885/cx23885-video.c if (i->index > 1) index 871 drivers/media/pci/cx23885/cx23885-video.c dprintk(1, "%s(%d)\n", __func__, i->index); index 873 drivers/media/pci/cx23885/cx23885-video.c dev->audinput = i->index; index 888 drivers/media/pci/cx23885/cx23885-video.c if (0 != t->index) index 904 drivers/media/pci/cx23885/cx23885-video.c if (0 != t->index) index 90 drivers/media/pci/cx25821/cx25821-alsa.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 97 drivers/media/pci/cx25821/cx25821-alsa.c module_param_array(index, int, NULL, 0444); index 98 drivers/media/pci/cx25821/cx25821-alsa.c MODULE_PARM_DESC(index, "Index value for cx25821 capture interface(s)."); index 710 drivers/media/pci/cx25821/cx25821-alsa.c err = snd_card_new(&dev->pci->dev, index[devno], id[devno], index 14 drivers/media/pci/cx25821/cx25821-biffuncs.h static inline u8 getBit(u32 sample, u8 index) index 16 drivers/media/pci/cx25821/cx25821-biffuncs.h return (u8) ((sample >> index) & 1); index 217 drivers/media/pci/cx25821/cx25821-video.c buf, buf->vb.vb2_buf.index, chan->width, chan->height, index 309 drivers/media/pci/cx25821/cx25821-video.c if (unlikely(f->index >= ARRAY_SIZE(formats))) index 312 drivers/media/pci/cx25821/cx25821-video.c f->pixelformat = formats[f->index].fourcc; index 465 drivers/media/pci/cx25821/cx25821-video.c if (i->index) index 513 drivers/media/pci/cx25821/cx25821-video.c if (o->index) index 81 drivers/media/pci/cx88/cx88-alsa.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 88 drivers/media/pci/cx88/cx88-alsa.c module_param_array(index, int, NULL, 0444); index 89 drivers/media/pci/cx88/cx88-alsa.c MODULE_PARM_DESC(index, "Index value for cx88x capture interface(s)."); index 930 drivers/media/pci/cx88/cx88-alsa.c err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, index 805 drivers/media/pci/cx88/cx88-blackbird.c if (f->index != 0) index 984 drivers/media/pci/cx88/cx88-blackbird.c if (t->index != 0) index 1006 drivers/media/pci/cx88/cx88-blackbird.c if (t->index != 0) index 380 drivers/media/pci/cx88/cx88-dvb.c static int lgdt330x_pll_rf_set(struct dvb_frontend *fe, int index) index 385 drivers/media/pci/cx88/cx88-dvb.c dprintk(1, "%s: index = %d\n", __func__, index); index 386 drivers/media/pci/cx88/cx88-dvb.c if (index == 0) index 206 drivers/media/pci/cx88/cx88-mpeg.c buf, buf->vb.vb2_buf.index); index 253 drivers/media/pci/cx88/cx88-mpeg.c buf, buf->vb.vb2_buf.index, __func__); index 262 drivers/media/pci/cx88/cx88-mpeg.c buf, buf->vb.vb2_buf.index, __func__); index 108 drivers/media/pci/cx88/cx88-vbi.c buf, buf->vb.vb2_buf.index); index 182 drivers/media/pci/cx88/cx88-vbi.c buf, buf->vb.vb2_buf.index); index 190 drivers/media/pci/cx88/cx88-vbi.c buf, buf->vb.vb2_buf.index); index 413 drivers/media/pci/cx88/cx88-video.c buf, buf->vb.vb2_buf.index); index 483 drivers/media/pci/cx88/cx88-video.c buf, buf->vb.vb2_buf.index, __func__, index 517 drivers/media/pci/cx88/cx88-video.c buf, buf->vb.vb2_buf.index); index 525 drivers/media/pci/cx88/cx88-video.c buf, buf->vb.vb2_buf.index); index 819 drivers/media/pci/cx88/cx88-video.c if (unlikely(f->index >= ARRAY_SIZE(formats))) index 822 drivers/media/pci/cx88/cx88-video.c f->pixelformat = formats[f->index].fourcc; index 858 drivers/media/pci/cx88/cx88-video.c unsigned int n = i->index; index 917 drivers/media/pci/cx88/cx88-video.c if (t->index != 0) index 939 drivers/media/pci/cx88/cx88-video.c if (t->index != 0) index 1030 drivers/media/pci/cx88/cx88-video.c if (unlikely(t->index > 0)) index 1045 drivers/media/pci/cx88/cx88-video.c if (t->index != 0) index 36 drivers/media/pci/dt3155/dt3155.c static int read_i2c_reg(void __iomem *addr, u8 index, u8 *data) index 38 drivers/media/pci/dt3155/dt3155.c u32 tmp = index; index 66 drivers/media/pci/dt3155/dt3155.c static int write_i2c_reg(void __iomem *addr, u8 index, u8 data) index 68 drivers/media/pci/dt3155/dt3155.c u32 tmp = index; index 92 drivers/media/pci/dt3155/dt3155.c static void write_i2c_reg_nowait(void __iomem *addr, u8 index, u8 data) index 94 drivers/media/pci/dt3155/dt3155.c u32 tmp = index; index 306 drivers/media/pci/dt3155/dt3155.c if (f->index) index 358 drivers/media/pci/dt3155/dt3155.c if (input->index > 3) index 360 drivers/media/pci/dt3155/dt3155.c if (input->index) index 362 drivers/media/pci/dt3155/dt3155.c input->index); index 312 drivers/media/pci/intel/ipu3/ipu3-cio2.c qm.index = v4l2_ctrl_g_ctrl(link_freq); index 572 drivers/media/pci/intel/ipu3/ipu3-cio2.c "buffer %i done\n", b->vbb.vb2_buf.index); index 910 drivers/media/pci/intel/ipu3/ipu3-cio2.c dev_dbg(&cio2->pci_dev->dev, "queue buffer %d\n", vb->index); index 1078 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (f->index >= ARRAY_SIZE(formats)) index 1081 drivers/media/pci/intel/ipu3/ipu3-cio2.c f->pixelformat = formats[f->index].fourcc; index 1143 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (input->index > 0) index 1310 drivers/media/pci/intel/ipu3/ipu3-cio2.c if (code->index >= ARRAY_SIZE(formats)) index 1313 drivers/media/pci/intel/ipu3/ipu3-cio2.c code->code = formats[code->index].mbus_code; index 1325 drivers/media/pci/intel/ipu3/ipu3-cio2.c fmt->pad = pad->index; index 20 drivers/media/pci/ivtv/ivtv-alsa-main.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 35 drivers/media/pci/ivtv/ivtv-alsa-main.c module_param_array(index, int, NULL, 0444); index 36 drivers/media/pci/ivtv/ivtv-alsa-main.c MODULE_PARM_DESC(index, index 131 drivers/media/pci/ivtv/ivtv-alsa-main.c idx = index[itv->instance] == -1 ? SNDRV_DEFAULT_IDX1 : index[itv->instance]; index 1286 drivers/media/pci/ivtv/ivtv-cards.c const struct ivtv_card *ivtv_get_card(u16 index) index 1288 drivers/media/pci/ivtv/ivtv-cards.c if (index >= ARRAY_SIZE(ivtv_card_list)) index 1290 drivers/media/pci/ivtv/ivtv-cards.c return ivtv_card_list[index]; index 1293 drivers/media/pci/ivtv/ivtv-cards.c int ivtv_get_input(struct ivtv *itv, u16 index, struct v4l2_input *input) index 1295 drivers/media/pci/ivtv/ivtv-cards.c const struct ivtv_card_video_input *card_input = itv->card->video_inputs + index; index 1305 drivers/media/pci/ivtv/ivtv-cards.c if (index >= itv->nof_inputs) index 1307 drivers/media/pci/ivtv/ivtv-cards.c input->index = index; index 1318 drivers/media/pci/ivtv/ivtv-cards.c int ivtv_get_output(struct ivtv *itv, u16 index, struct v4l2_output *output) index 1320 drivers/media/pci/ivtv/ivtv-cards.c const struct ivtv_card_output *card_output = itv->card->video_outputs + index; index 1322 drivers/media/pci/ivtv/ivtv-cards.c if (index >= itv->card->nof_outputs) index 1324 drivers/media/pci/ivtv/ivtv-cards.c output->index = index; index 1332 drivers/media/pci/ivtv/ivtv-cards.c int ivtv_get_audio_input(struct ivtv *itv, u16 index, struct v4l2_audio *audio) index 1334 drivers/media/pci/ivtv/ivtv-cards.c const struct ivtv_card_audio_input *aud_input = itv->card->audio_inputs + index; index 1342 drivers/media/pci/ivtv/ivtv-cards.c if (index >= itv->nof_audio_inputs) index 1346 drivers/media/pci/ivtv/ivtv-cards.c audio->index = index; index 1351 drivers/media/pci/ivtv/ivtv-cards.c int ivtv_get_audio_output(struct ivtv *itv, u16 index, struct v4l2_audioout *aud_output) index 1354 drivers/media/pci/ivtv/ivtv-cards.c if (itv->card->video_outputs == NULL || index != 0) index 282 drivers/media/pci/ivtv/ivtv-cards.h int ivtv_get_input(struct ivtv *itv, u16 index, struct v4l2_input *input); index 283 drivers/media/pci/ivtv/ivtv-cards.h int ivtv_get_output(struct ivtv *itv, u16 index, struct v4l2_output *output); index 284 drivers/media/pci/ivtv/ivtv-cards.h int ivtv_get_audio_input(struct ivtv *itv, u16 index, struct v4l2_audio *input); index 285 drivers/media/pci/ivtv/ivtv-cards.h int ivtv_get_audio_output(struct ivtv *itv, u16 index, struct v4l2_audioout *output); index 286 drivers/media/pci/ivtv/ivtv-cards.h const struct ivtv_card *ivtv_get_card(u16 index); index 749 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_get_audio_input(itv, vin->index, vin); index 756 drivers/media/pci/ivtv/ivtv-ioctl.c vin->index = itv->audio_input; index 757 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_get_audio_input(itv, vin->index, vin); index 764 drivers/media/pci/ivtv/ivtv-ioctl.c if (vout->index >= itv->nof_audio_inputs) index 767 drivers/media/pci/ivtv/ivtv-ioctl.c itv->audio_input = vout->index; index 778 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_get_audio_output(itv, vin->index, vin); index 785 drivers/media/pci/ivtv/ivtv-ioctl.c vin->index = 0; index 786 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_get_audio_output(itv, vin->index, vin); index 793 drivers/media/pci/ivtv/ivtv-ioctl.c if (itv->card->video_outputs == NULL || vout->index != 0) index 803 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_get_input(itv, vin->index, vin); index 810 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_get_output(itv, vout->index, vout); index 935 drivers/media/pci/ivtv/ivtv-ioctl.c if (fmt->index) index 961 drivers/media/pci/ivtv/ivtv-ioctl.c if (fmt->index) index 1195 drivers/media/pci/ivtv/ivtv-ioctl.c if (vt->index != 0) index 1207 drivers/media/pci/ivtv/ivtv-ioctl.c if (vt->index != 0) index 1021 drivers/media/pci/meye/meye.c if (i->index != 0) index 1101 drivers/media/pci/meye/meye.c if (f->index > 1) index 1104 drivers/media/pci/meye/meye.c if (f->index == 0) { index 1254 drivers/media/pci/meye/meye.c unsigned int index = buf->index; index 1256 drivers/media/pci/meye/meye.c if (index >= gbuffers) index 1259 drivers/media/pci/meye/meye.c buf->bytesused = meye.grab_buffer[index].size; index 1262 drivers/media/pci/meye/meye.c if (meye.grab_buffer[index].state == MEYE_BUF_USING) index 1265 drivers/media/pci/meye/meye.c if (meye.grab_buffer[index].state == MEYE_BUF_DONE) index 1269 drivers/media/pci/meye/meye.c buf->timestamp = ns_to_timeval(meye.grab_buffer[index].ts); index 1270 drivers/media/pci/meye/meye.c buf->sequence = meye.grab_buffer[index].sequence; index 1272 drivers/media/pci/meye/meye.c buf->m.offset = index * gbufsize; index 1283 drivers/media/pci/meye/meye.c if (buf->index >= gbuffers) index 1286 drivers/media/pci/meye/meye.c if (meye.grab_buffer[buf->index].state != MEYE_BUF_UNUSED) index 1292 drivers/media/pci/meye/meye.c meye.grab_buffer[buf->index].state = MEYE_BUF_USING; index 1293 drivers/media/pci/meye/meye.c kfifo_in_locked(&meye.grabq, (unsigned char *)&buf->index, index 1331 drivers/media/pci/meye/meye.c buf->index = reqnr; index 1122 drivers/media/pci/ngene/ngene-cards.c .index = 0, index 1133 drivers/media/pci/ngene/ngene-cards.c .index = 1, index 251 drivers/media/pci/pluto2/pluto2.c if ((f->pid < 0x2000) && (f->index < NHWFILTERS)) index 252 drivers/media/pci/pluto2/pluto2.c pluto_rw(pluto, REG_PIDn(f->index), PIDn_ENP | PIDn_PID, PIDn_ENP | f->pid); index 267 drivers/media/pci/pluto2/pluto2.c if ((f->pid < 0x2000) && (f->index < NHWFILTERS)) index 268 drivers/media/pci/pluto2/pluto2.c pluto_rw(pluto, REG_PIDn(f->index), PIDn_ENP | PIDn_PID, 0x1fff); index 92 drivers/media/pci/pt1/pt1.c int index; index 423 drivers/media/pci/pt1/pt1.c static void pt1_set_stream(struct pt1 *pt1, int index, int enabled) index 425 drivers/media/pci/pt1/pt1.c pt1_write_reg(pt1, 2, 1 << (index + 8) | enabled << index); index 439 drivers/media/pci/pt1/pt1.c int index; index 450 drivers/media/pci/pt1/pt1.c index = (upacket >> 29) - 1; index 451 drivers/media/pci/pt1/pt1.c if (index < 0 || index >= PT1_NR_ADAPS) index 454 drivers/media/pci/pt1/pt1.c adap = pt1->adaps[index]; index 466 drivers/media/pci/pt1/pt1.c index); index 703 drivers/media/pci/pt1/pt1.c pt1_set_stream(adap->pt1, adap->index, 1); index 728 drivers/media/pci/pt1/pt1.c pt1_set_stream(adap->pt1, adap->index, 0); index 920 drivers/media/pci/pt1/pt1.c adap->index = i; index 526 drivers/media/pci/pt3/pt3.c static int pt3_alloc_adapter(struct pt3_board *pt3, int index) index 536 drivers/media/pci/pt3/pt3.c pt3->adaps[index] = adap; index 537 drivers/media/pci/pt3/pt3.c adap->adap_idx = index; index 539 drivers/media/pci/pt3/pt3.c if (index == 0 || !one_adapter) { index 586 drivers/media/pci/pt3/pt3.c if (index == 0 || !one_adapter) index 590 drivers/media/pci/pt3/pt3.c pt3->adaps[index] = NULL; index 594 drivers/media/pci/pt3/pt3.c static void pt3_cleanup_adapter(struct pt3_board *pt3, int index) index 599 drivers/media/pci/pt3/pt3.c adap = pt3->adaps[index]; index 619 drivers/media/pci/pt3/pt3.c if (index == 0 || !one_adapter) index 622 drivers/media/pci/pt3/pt3.c pt3->adaps[index] = NULL; index 34 drivers/media/pci/saa7134/saa7134-alsa.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 38 drivers/media/pci/saa7134/saa7134-alsa.c module_param_array(index, int, NULL, 0444); index 40 drivers/media/pci/saa7134/saa7134-alsa.c MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s)."); index 900 drivers/media/pci/saa7134/saa7134-alsa.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 997 drivers/media/pci/saa7134/saa7134-alsa.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1127 drivers/media/pci/saa7134/saa7134-alsa.c err = snd_card_new(&dev->pci->dev, index[devnum], id[devnum], index 1177 drivers/media/pci/saa7134/saa7134-alsa.c dev->name, card->longname, index[devnum]); index 118 drivers/media/pci/saa7134/saa7134-core.c u32 index, bitval; index 120 drivers/media/pci/saa7134/saa7134-core.c index = 1 << bit_no; index 126 drivers/media/pci/saa7134/saa7134-core.c if (index & 0x00c00000) index 129 drivers/media/pci/saa7134/saa7134-core.c bitval = index; index 132 drivers/media/pci/saa7134/saa7134-core.c saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, index, index); index 133 drivers/media/pci/saa7134/saa7134-core.c saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, index, bitval); index 137 drivers/media/pci/saa7134/saa7134-core.c saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, index, 0); index 206 drivers/media/pci/saa7134/saa7134-core.c * buf->vb2.vb2_buf.index; index 91 drivers/media/pci/saa7134/saa7134-empress.c if (f->index != 0) index 1419 drivers/media/pci/saa7134/saa7134-video.c n = i->index; index 1422 drivers/media/pci/saa7134/saa7134-video.c if (card_in(dev, i->index).type == SAA7134_NO_INPUT) index 1424 drivers/media/pci/saa7134/saa7134-video.c i->index = n; index 1686 drivers/media/pci/saa7134/saa7134-video.c if (0 != t->index) index 1719 drivers/media/pci/saa7134/saa7134-video.c if (0 != t->index) index 1766 drivers/media/pci/saa7134/saa7134-video.c if (f->index >= FORMATS) index 1769 drivers/media/pci/saa7134/saa7134-video.c f->pixelformat = formats[f->index].fourcc; index 1782 drivers/media/pci/saa7134/saa7134-video.c if ((f->index >= FORMATS) || formats[f->index].planar) index 1785 drivers/media/pci/saa7134/saa7134-video.c f->pixelformat = formats[f->index].fourcc; index 1880 drivers/media/pci/saa7134/saa7134-video.c if (0 != t->index) index 1899 drivers/media/pci/saa7134/saa7134-video.c if (0 != t->index) index 205 drivers/media/pci/saa7146/hexium_gemini.c DEB_EE("VIDIOC_ENUMINPUT %d\n", i->index); index 207 drivers/media/pci/saa7146/hexium_gemini.c if (i->index >= HEXIUM_INPUTS) index 210 drivers/media/pci/saa7146/hexium_gemini.c memcpy(i, &hexium_inputs[i->index], sizeof(struct v4l2_input)); index 212 drivers/media/pci/saa7146/hexium_gemini.c DEB_D("v4l2_ioctl: VIDIOC_ENUMINPUT %d\n", i->index); index 316 drivers/media/pci/saa7146/hexium_orion.c DEB_EE("VIDIOC_ENUMINPUT %d\n", i->index); index 318 drivers/media/pci/saa7146/hexium_orion.c if (i->index >= HEXIUM_INPUTS) index 321 drivers/media/pci/saa7146/hexium_orion.c memcpy(i, &hexium_inputs[i->index], sizeof(struct v4l2_input)); index 323 drivers/media/pci/saa7146/hexium_orion.c DEB_D("v4l2_ioctl: VIDIOC_ENUMINPUT %d\n", i->index); index 91 drivers/media/pci/saa7146/mxb.c .index = 0, index 95 drivers/media/pci/saa7146/mxb.c .index = 1, index 99 drivers/media/pci/saa7146/mxb.c .index = 2, index 103 drivers/media/pci/saa7146/mxb.c .index = 3, index 107 drivers/media/pci/saa7146/mxb.c .index = 4, index 111 drivers/media/pci/saa7146/mxb.c .index = 5, index 451 drivers/media/pci/saa7146/mxb.c DEB_EE("VIDIOC_ENUMINPUT %d\n", i->index); index 452 drivers/media/pci/saa7146/mxb.c if (i->index >= MXB_INPUTS) index 454 drivers/media/pci/saa7146/mxb.c memcpy(i, &mxb_inputs[i->index], sizeof(struct v4l2_input)); index 535 drivers/media/pci/saa7146/mxb.c if (t->index) { index 537 drivers/media/pci/saa7146/mxb.c t->index); index 541 drivers/media/pci/saa7146/mxb.c DEB_EE("VIDIOC_G_TUNER: %d\n", t->index); index 557 drivers/media/pci/saa7146/mxb.c if (t->index) { index 559 drivers/media/pci/saa7146/mxb.c t->index); index 622 drivers/media/pci/saa7146/mxb.c if (a->index >= MXB_AUDIOS) index 624 drivers/media/pci/saa7146/mxb.c *a = mxb_audios[a->index]; index 643 drivers/media/pci/saa7146/mxb.c DEB_D("VIDIOC_S_AUDIO %d\n", a->index); index 644 drivers/media/pci/saa7146/mxb.c if (mxb_inputs[mxb->cur_input].audioset & (1 << a->index)) { index 645 drivers/media/pci/saa7146/mxb.c if (mxb->cur_audinput != a->index) { index 646 drivers/media/pci/saa7146/mxb.c mxb->cur_audinput = a->index; index 647 drivers/media/pci/saa7146/mxb.c tea6420_route(mxb, a->index); index 248 drivers/media/pci/saa7164/saa7164-encoder.c if (i->index >= 7) index 251 drivers/media/pci/saa7164/saa7164-encoder.c strscpy(i->name, inputs[i->index], sizeof(i->name)); index 253 drivers/media/pci/saa7164/saa7164-encoder.c if (i->index == 0) index 315 drivers/media/pci/saa7164/saa7164-encoder.c if (0 != t->index) index 331 drivers/media/pci/saa7164/saa7164-encoder.c if (0 != t->index) index 503 drivers/media/pci/saa7164/saa7164-encoder.c if (f->index != 0) index 64 drivers/media/pci/smipcie/smipcie-ir.c u8 index, ucIRCount, readLoop; index 74 drivers/media/pci/smipcie/smipcie-ir.c for (index = 0; index < readLoop; index++) { index 75 drivers/media/pci/smipcie/smipcie-ir.c dwIRData = smi_read(IR_DATA_BUFFER_BASE + (index * 4)); index 77 drivers/media/pci/smipcie/smipcie-ir.c ir->irData[index*4 + 0] = (u8)(dwIRData); index 78 drivers/media/pci/smipcie/smipcie-ir.c ir->irData[index*4 + 1] = (u8)(dwIRData >> 8); index 79 drivers/media/pci/smipcie/smipcie-ir.c ir->irData[index*4 + 2] = (u8)(dwIRData >> 16); index 80 drivers/media/pci/smipcie/smipcie-ir.c ir->irData[index*4 + 3] = (u8)(dwIRData >> 24); index 902 drivers/media/pci/smipcie/smipcie-main.c struct smi_port *port, int index) index 907 drivers/media/pci/smipcie/smipcie-main.c port->idx = index; index 908 drivers/media/pci/smipcie/smipcie-main.c port->fe_type = (index == 0) ? dev->info->fe_0 : dev->info->fe_1; index 909 drivers/media/pci/smipcie/smipcie-main.c dmachs = (index == 0) ? dev->info->ts_0 : dev->info->ts_1; index 783 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (input->index) index 798 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c unsigned int index) index 800 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (index) index 807 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c unsigned int *index) index 809 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c *index = 0; index 820 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c switch (f->index) { index 968 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c switch (fsize->index) { index 994 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c if (fintv->index) index 387 drivers/media/pci/solo6x10/solo6x10-v4l2.c int ext = input->index - solo_dev->nr_chans; index 413 drivers/media/pci/solo6x10/solo6x10-v4l2.c if (input->index >= solo_dev->nr_chans) { index 420 drivers/media/pci/solo6x10/solo6x10-v4l2.c input->index + 1); index 423 drivers/media/pci/solo6x10/solo6x10-v4l2.c if (!tw28_get_video_status(solo_dev, input->index)) index 432 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_set_input(struct file *file, void *priv, unsigned int index) index 435 drivers/media/pci/solo6x10/solo6x10-v4l2.c int ret = solo_v4l2_set_ch(solo_dev, index); index 445 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_get_input(struct file *file, void *priv, unsigned int *index) index 449 drivers/media/pci/solo6x10/solo6x10-v4l2.c *index = solo_dev->cur_disp_ch; index 457 drivers/media/pci/solo6x10/solo6x10-v4l2.c if (f->index) index 490 drivers/media/pci/sta2x11/sta2x11_vip.c if (inp->index > 1) index 495 drivers/media/pci/sta2x11/sta2x11_vip.c sprintf(inp->name, "Camera %u", inp->index); index 560 drivers/media/pci/sta2x11/sta2x11_vip.c if (f->index != 0) index 321 drivers/media/pci/ttpci/av7110.c &av7110->p2t_filter[dvbdmxfilter->index]); index 797 drivers/media/pci/ttpci/av7110.c av7110_p2t_init(&av7110->p2t_filter[dvbdmxfilter->index], dvbdmxfeed); index 299 drivers/media/pci/ttpci/av7110_ca.c if (descr->index >= 16 || descr->parity > 1) { index 304 drivers/media/pci/ttpci/av7110_ca.c (descr->index<<8)|descr->parity, index 696 drivers/media/pci/ttpci/av7110_hw.c enum av7110_osd_palette_type colordepth, u16 index, u8 blending) index 699 drivers/media/pci/ttpci/av7110_hw.c windownr, colordepth, index, blending); index 703 drivers/media/pci/ttpci/av7110_hw.c enum av7110_osd_palette_type colordepth, u16 index, u16 colorhi, u16 colorlo) index 706 drivers/media/pci/ttpci/av7110_hw.c windownr, colordepth, index, colorhi, colorlo); index 84 drivers/media/pci/ttpci/av7110_v4l.c .index = 0, index 93 drivers/media/pci/ttpci/av7110_v4l.c .index = 1, index 102 drivers/media/pci/ttpci/av7110_v4l.c .index = 2, index 111 drivers/media/pci/ttpci/av7110_v4l.c .index = 3, index 211 drivers/media/pci/ttpci/av7110_v4l.c .index = 0, index 318 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_G_TUNER: %d\n", t->index); index 320 drivers/media/pci/ttpci/av7110_v4l.c if (!av7110->analog_tuner_flags || t->index != 0) index 360 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_S_TUNER: %d\n", t->index); index 450 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_ENUMINPUT: %d\n", i->index); index 453 drivers/media/pci/ttpci/av7110_v4l.c if (i->index >= 4) index 456 drivers/media/pci/ttpci/av7110_v4l.c if (i->index != 0) index 460 drivers/media/pci/ttpci/av7110_v4l.c memcpy(i, &inputs[i->index], sizeof(struct v4l2_input)); index 494 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_G_AUDIO: %d\n", a->index); index 495 drivers/media/pci/ttpci/av7110_v4l.c if (a->index != 0) index 506 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_G_AUDIO: %d\n", a->index); index 507 drivers/media/pci/ttpci/av7110_v4l.c if (a->index != 0) index 520 drivers/media/pci/ttpci/av7110_v4l.c dprintk(2, "VIDIOC_S_AUDIO: %d\n", a->index); index 523 drivers/media/pci/ttpci/av7110_v4l.c return a->index ? -EINVAL : 0; index 1404 drivers/media/pci/ttpci/budget-av.c dprintk(1, "VIDIOC_ENUMINPUT %d\n", i->index); index 1405 drivers/media/pci/ttpci/budget-av.c if (i->index >= KNC1_INPUTS) index 1407 drivers/media/pci/ttpci/budget-av.c memcpy(i, &knc1_inputs[i->index], sizeof(struct v4l2_input)); index 566 drivers/media/pci/tw5864/tw5864-video.c if (i->index) index 647 drivers/media/pci/tw5864/tw5864-video.c if (f->index) index 737 drivers/media/pci/tw5864/tw5864-video.c if (fsize->index > 0) index 755 drivers/media/pci/tw5864/tw5864-video.c struct v4l2_frmsizeenum fsize = { .index = fintv->index, index 666 drivers/media/pci/tw68/tw68-video.c n = i->index; index 669 drivers/media/pci/tw68/tw68-video.c i->index = n; index 763 drivers/media/pci/tw68/tw68-video.c if (f->index >= FORMATS) index 766 drivers/media/pci/tw68/tw68-video.c f->pixelformat = formats[f->index].fourcc; index 364 drivers/media/pci/tw686x/tw686x-video.c static unsigned int tw686x_real_fps(unsigned int index, unsigned int max_fps) index 368 drivers/media/pci/tw686x/tw686x-video.c if (!index || index >= ARRAY_SIZE(fps_map)) index 372 drivers/media/pci/tw686x/tw686x-video.c return hweight_long(fps_map[index] & mask); index 907 drivers/media/pci/tw686x/tw686x-video.c if (fsize->index) index 926 drivers/media/pci/tw686x/tw686x-video.c if (ival->index >= max_rates) index 931 drivers/media/pci/tw686x/tw686x-video.c if (ival->index < (max_rates - 1)) index 932 drivers/media/pci/tw686x/tw686x-video.c ival->discrete.denominator = (ival->index + 1) * 2; index 975 drivers/media/pci/tw686x/tw686x-video.c if (f->index >= ARRAY_SIZE(formats)) index 977 drivers/media/pci/tw686x/tw686x-video.c f->pixelformat = formats[f->index].fourcc; index 1025 drivers/media/pci/tw686x/tw686x-video.c if (i->index >= TW686X_INPUTS_PER_CH) index 1028 drivers/media/pci/tw686x/tw686x-video.c snprintf(i->name, sizeof(i->name), "Composite%d", i->index); index 93 drivers/media/platform/am437x/am437x-vpfe.c u32 index; index 1509 drivers/media/platform/am437x/am437x-vpfe.c f->index); index 1515 drivers/media/platform/am437x/am437x-vpfe.c if (f->index > ARRAY_SIZE(formats)) index 1519 drivers/media/platform/am437x/am437x-vpfe.c if (formats[k].index == f->index) { index 1530 drivers/media/platform/am437x/am437x-vpfe.c f->index, fmt->code, print_fourcc(fmt->fourcc)); index 1627 drivers/media/platform/am437x/am437x-vpfe.c fse.index = fsize->index; index 1636 drivers/media/platform/am437x/am437x-vpfe.c fse.index, fse.code, fse.min_width, fse.max_width, index 1644 drivers/media/platform/am437x/am437x-vpfe.c fsize->index, print_fourcc(fsize->pixel_format), index 1708 drivers/media/platform/am437x/am437x-vpfe.c int subdev, index; index 1712 drivers/media/platform/am437x/am437x-vpfe.c if (vpfe_get_subdev_input_index(vpfe, &subdev, &index, index 1713 drivers/media/platform/am437x/am437x-vpfe.c inp->index) < 0) { index 1719 drivers/media/platform/am437x/am437x-vpfe.c *inp = sdinfo->inputs[index]; index 1724 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_g_input(struct file *file, void *priv, unsigned int *index) index 1730 drivers/media/platform/am437x/am437x-vpfe.c return vpfe_get_app_input_index(vpfe, index); index 1734 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_set_input(struct vpfe_device *vpfe, unsigned int index) index 1742 drivers/media/platform/am437x/am437x-vpfe.c vpfe_dbg(2, vpfe, "vpfe_set_input: index: %d\n", index); index 1752 drivers/media/platform/am437x/am437x-vpfe.c index); index 1754 drivers/media/platform/am437x/am437x-vpfe.c vpfe_err(vpfe, "invalid input index: %d\n", index); index 1779 drivers/media/platform/am437x/am437x-vpfe.c vpfe->current_input = index; index 1795 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_s_input(struct file *file, void *priv, unsigned int index) index 1800 drivers/media/platform/am437x/am437x-vpfe.c "vpfe_s_input: index: %d\n", index); index 1802 drivers/media/platform/am437x/am437x-vpfe.c return vpfe_set_input(vpfe, index); index 2315 drivers/media/platform/am437x/am437x-vpfe.c mbus_code.index = j; index 2327 drivers/media/platform/am437x/am437x-vpfe.c fmt->index = i++; index 2446 drivers/media/platform/am437x/am437x-vpfe.c sdinfo->inputs[0].index = i; index 997 drivers/media/platform/aspeed-video.c if (f->index) index 1020 drivers/media/platform/aspeed-video.c if (inp->index) index 1095 drivers/media/platform/aspeed-video.c if (fsize->index) index 1113 drivers/media/platform/aspeed-video.c if (fival->index) index 404 drivers/media/platform/atmel/atmel-isc-base.c static int isc_clk_set_parent(struct clk_hw *hw, u8 index) index 408 drivers/media/platform/atmel/atmel-isc-base.c if (index >= clk_hw_get_num_parents(hw)) index 411 drivers/media/platform/atmel/atmel-isc-base.c isc_clk->parent_id = index; index 926 drivers/media/platform/atmel/atmel-isc-base.c u32 index = f->index; index 929 drivers/media/platform/atmel/atmel-isc-base.c if (index < ARRAY_SIZE(controller_formats)) { index 930 drivers/media/platform/atmel/atmel-isc-base.c f->pixelformat = controller_formats[index].fourcc; index 934 drivers/media/platform/atmel/atmel-isc-base.c index -= ARRAY_SIZE(controller_formats); index 943 drivers/media/platform/atmel/atmel-isc-base.c if (supported_index == index) { index 1373 drivers/media/platform/atmel/atmel-isc-base.c if (inp->index != 0) index 1417 drivers/media/platform/atmel/atmel-isc-base.c .index = fsize->index, index 1453 drivers/media/platform/atmel/atmel-isc-base.c .index = fival->index, index 1929 drivers/media/platform/atmel/atmel-isc-base.c static struct isc_format *find_format_by_code(unsigned int code, int *index) index 1936 drivers/media/platform/atmel/atmel-isc-base.c *index = i; index 1959 drivers/media/platform/atmel/atmel-isc-base.c mbus_code.index++; index 645 drivers/media/platform/atmel/atmel-isi.c if (f->index >= isi->num_user_formats) index 648 drivers/media/platform/atmel/atmel-isi.c f->pixelformat = isi->user_formats[f->index]->fourcc; index 664 drivers/media/platform/atmel/atmel-isi.c if (i->index != 0) index 705 drivers/media/platform/atmel/atmel-isi.c .index = fsize->index, index 734 drivers/media/platform/atmel/atmel-isi.c .index = fival->index, index 1020 drivers/media/platform/atmel/atmel-isi.c mbus_code.index++; index 162 drivers/media/platform/cadence/cdns-csi2tx.c if (code->pad || code->index >= ARRAY_SIZE(csi2tx_formats)) index 165 drivers/media/platform/cadence/cdns-csi2tx.c code->code = csi2tx_formats[code->index].mbus; index 448 drivers/media/platform/coda/coda-bit.c static void coda_parabuf_write(struct coda_ctx *ctx, int index, u32 value) index 454 drivers/media/platform/coda/coda-bit.c p[index] = value; index 456 drivers/media/platform/coda/coda-bit.c p[index ^ 1] = value; index 2177 drivers/media/platform/coda/coda-bit.c CODA_MAX_FRAMEBUFFERS + dst_buf->vb2_buf.index, index 411 drivers/media/platform/coda/coda-common.c if (f->index >= CODA_MAX_FORMATS || formats[f->index] == 0) index 416 drivers/media/platform/coda/coda-common.c formats[f->index] == V4L2_PIX_FMT_YUYV) index 419 drivers/media/platform/coda/coda-common.c f->pixelformat = formats[f->index]; index 1164 drivers/media/platform/coda/coda-common.c if (fsize->index) index 1196 drivers/media/platform/coda/coda-common.c if (f->index) index 59 drivers/media/platform/coda/trace.h __field(int, index) index 65 drivers/media/platform/coda/trace.h __entry->index = buf->vb2_buf.index; index 70 drivers/media/platform/coda/trace.h __entry->minor, __entry->index, __entry->ctx) index 91 drivers/media/platform/coda/trace.h __field(int, index) index 99 drivers/media/platform/coda/trace.h __entry->index = buf->vb2_buf.index; index 106 drivers/media/platform/coda/trace.h __entry->minor, __entry->index, __entry->start, __entry->end, index 361 drivers/media/platform/davinci/dm355_ccdc.c static int ccdc_write_dfc_entry(int index, struct ccdc_vertical_dft *dfc) index 367 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_vert[index], DFCMEM0); index 368 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_horz[index], DFCMEM1); index 369 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_sub1[index], DFCMEM2); index 370 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_sub2[index], DFCMEM3); index 371 drivers/media/platform/davinci/dm355_ccdc.c regw(dfc->dft_corr_sub3[index], DFCMEM4); index 54 drivers/media/platform/davinci/vpbe.c int index = vpbe_dev->current_sd_index; index 56 drivers/media/platform/davinci/vpbe.c return ((index == 0) ? &cfg->venc : index 57 drivers/media/platform/davinci/vpbe.c &cfg->ext_encoders[index-1]); index 69 drivers/media/platform/davinci/vpbe.c int index) index 71 drivers/media/platform/davinci/vpbe.c char *encoder_name = cfg->outputs[index].subdev_name; index 99 drivers/media/platform/davinci/vpbe.c unsigned int temp_index = output->index; index 105 drivers/media/platform/davinci/vpbe.c output->index = temp_index; index 190 drivers/media/platform/davinci/vpbe.c static int vpbe_set_output(struct vpbe_device *vpbe_dev, int index) index 200 drivers/media/platform/davinci/vpbe.c if (index >= cfg->num_outputs) index 206 drivers/media/platform/davinci/vpbe.c enc_out_index = cfg->outputs[index].output.index; index 217 drivers/media/platform/davinci/vpbe.c cfg->outputs[index].subdev_name)) { index 219 drivers/media/platform/davinci/vpbe.c sd_index = vpbe_find_encoder_sd_index(cfg, index); index 225 drivers/media/platform/davinci/vpbe.c ret = venc_device->setup_if_config(cfg->outputs[index].if_params); index 245 drivers/media/platform/davinci/vpbe.c cfg->outputs[index].default_mode, index); index 254 drivers/media/platform/davinci/vpbe.c vpbe_dev->current_out_index = index; index 387 drivers/media/platform/davinci/vpbe.c if (j == timings->index) index 793 drivers/media/platform/davinci/vpbe_display.c if (fmt->index > 1) { index 799 drivers/media/platform/davinci/vpbe_display.c if (fmt->index == 0) index 876 drivers/media/platform/davinci/vpfe_capture.c if (ccdc_dev->hw_ops.enum_pix(&pix, fmt->index) < 0) index 991 drivers/media/platform/davinci/vpfe_capture.c int subdev, index ; index 997 drivers/media/platform/davinci/vpfe_capture.c &index, index 998 drivers/media/platform/davinci/vpfe_capture.c inp->index) < 0) { index 1003 drivers/media/platform/davinci/vpfe_capture.c *inp = sdinfo->inputs[index]; index 1007 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_g_input(struct file *file, void *priv, unsigned int *index) index 1013 drivers/media/platform/davinci/vpfe_capture.c return vpfe_get_app_input_index(vpfe_dev, index); index 1017 drivers/media/platform/davinci/vpfe_capture.c static int vpfe_s_input(struct file *file, void *priv, unsigned int index) index 1045 drivers/media/platform/davinci/vpfe_capture.c index); index 1074 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->current_input = index; index 397 drivers/media/platform/davinci/vpif.h static inline void disable_raw_feature(u8 channel_id, u8 index) index 405 drivers/media/platform/davinci/vpif.h if (1 == index) index 411 drivers/media/platform/davinci/vpif.h static inline void enable_raw_feature(u8 channel_id, u8 index) index 419 drivers/media/platform/davinci/vpif.h if (1 == index) index 493 drivers/media/platform/davinci/vpif.h static inline void channel2_raw_enable(int enable, u8 index) index 497 drivers/media/platform/davinci/vpif.h if (1 == index) index 509 drivers/media/platform/davinci/vpif.h static inline void channel3_raw_enable(int enable, u8 index) index 513 drivers/media/platform/davinci/vpif.h if (1 == index) index 466 drivers/media/platform/davinci/vpif_capture.c int index; index 499 drivers/media/platform/davinci/vpif_capture.c for (index = 0; index < vpif_ch_params_count; index++) { index 500 drivers/media/platform/davinci/vpif_capture.c config = &vpif_ch_params[index]; index 518 drivers/media/platform/davinci/vpif_capture.c if (index == vpif_ch_params_count) index 702 drivers/media/platform/davinci/vpif_capture.c int index) index 712 drivers/media/platform/davinci/vpif_capture.c sd_index = vpif_input_to_subdev(vpif_cfg, chan_cfg, index); index 728 drivers/media/platform/davinci/vpif_capture.c subdev_info->name, index); index 734 drivers/media/platform/davinci/vpif_capture.c input = chan_cfg->inputs[index].input_route; index 735 drivers/media/platform/davinci/vpif_capture.c output = chan_cfg->inputs[index].output_route; index 743 drivers/media/platform/davinci/vpif_capture.c ch->input_idx = index; index 749 drivers/media/platform/davinci/vpif_capture.c ch->video_dev.tvnorms = chan_cfg->inputs[index].input.std; index 875 drivers/media/platform/davinci/vpif_capture.c if (input->index >= chan_cfg->input_count) index 878 drivers/media/platform/davinci/vpif_capture.c memcpy(input, &chan_cfg->inputs[input->index].input, index 889 drivers/media/platform/davinci/vpif_capture.c static int vpif_g_input(struct file *file, void *priv, unsigned int *index) index 894 drivers/media/platform/davinci/vpif_capture.c *index = ch->input_idx; index 904 drivers/media/platform/davinci/vpif_capture.c static int vpif_s_input(struct file *file, void *priv, unsigned int index) index 914 drivers/media/platform/davinci/vpif_capture.c if (index >= chan_cfg->input_count) index 920 drivers/media/platform/davinci/vpif_capture.c return vpif_set_input(config, ch, index); index 935 drivers/media/platform/davinci/vpif_capture.c if (fmt->index != 0) { index 598 drivers/media/platform/davinci/vpif_display.c if (fmt->index != 0) index 753 drivers/media/platform/davinci/vpif_display.c if (output->index >= chan_cfg->output_count) { index 758 drivers/media/platform/davinci/vpif_display.c *output = chan_cfg->outputs[output->index].output; index 774 drivers/media/platform/davinci/vpif_display.c struct vpif_display_chan_config *chan_cfg, int index) index 785 drivers/media/platform/davinci/vpif_display.c subdev_name = chan_cfg->outputs[index].subdev_name; index 807 drivers/media/platform/davinci/vpif_display.c struct channel_obj *ch, int index) index 816 drivers/media/platform/davinci/vpif_display.c sd_index = vpif_output_to_subdev(vpif_cfg, chan_cfg, index); index 821 drivers/media/platform/davinci/vpif_display.c input = chan_cfg->outputs[index].input_route; index 822 drivers/media/platform/davinci/vpif_display.c output = chan_cfg->outputs[index].output_route; index 830 drivers/media/platform/davinci/vpif_display.c ch->output_idx = index; index 834 drivers/media/platform/davinci/vpif_display.c ch->video_dev.tvnorms = chan_cfg->outputs[index].output.std; index 201 drivers/media/platform/exynos-gsc/gsc-core.c const struct gsc_fmt *get_format(int index) index 203 drivers/media/platform/exynos-gsc/gsc-core.c if (index >= ARRAY_SIZE(gsc_formats)) index 206 drivers/media/platform/exynos-gsc/gsc-core.c return (struct gsc_fmt *)&gsc_formats[index]; index 209 drivers/media/platform/exynos-gsc/gsc-core.c const struct gsc_fmt *find_fmt(u32 *pixelformat, u32 *mbus_code, u32 index) index 214 drivers/media/platform/exynos-gsc/gsc-core.c if (index >= ARRAY_SIZE(gsc_formats)) index 223 drivers/media/platform/exynos-gsc/gsc-core.c if (index == i) index 313 drivers/media/platform/exynos-gsc/gsc-core.c fmt = find_fmt(NULL, NULL, f->index); index 322 drivers/media/platform/exynos-gsc/gsc-core.c static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32 *ret_addr) index 325 drivers/media/platform/exynos-gsc/gsc-core.c *index = 0; index 328 drivers/media/platform/exynos-gsc/gsc-core.c *index = 1; index 331 drivers/media/platform/exynos-gsc/gsc-core.c *index = 2; index 384 drivers/media/platform/exynos-gsc/gsc-core.h const struct gsc_fmt *get_format(int index); index 385 drivers/media/platform/exynos-gsc/gsc-core.h const struct gsc_fmt *find_fmt(u32 *pixelformat, u32 *mbus_code, u32 index); index 497 drivers/media/platform/exynos-gsc/gsc-core.h int index); index 499 drivers/media/platform/exynos-gsc/gsc-core.h int index); index 87 drivers/media/platform/exynos-gsc/gsc-regs.c int index) index 89 drivers/media/platform/exynos-gsc/gsc-regs.c pr_debug("src_buf[%d]: %pad, cb: %pad, cr: %pad", index, index 91 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->y, dev->regs + GSC_IN_BASE_ADDR_Y(index)); index 92 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->cb, dev->regs + GSC_IN_BASE_ADDR_CB(index)); index 93 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->cr, dev->regs + GSC_IN_BASE_ADDR_CR(index)); index 98 drivers/media/platform/exynos-gsc/gsc-regs.c struct gsc_addr *addr, int index) index 101 drivers/media/platform/exynos-gsc/gsc-regs.c index, &addr->y, &addr->cb, &addr->cr); index 102 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->y, dev->regs + GSC_OUT_BASE_ADDR_Y(index)); index 103 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->cb, dev->regs + GSC_OUT_BASE_ADDR_CB(index)); index 104 drivers/media/platform/exynos-gsc/gsc-regs.c writel(addr->cr, dev->regs + GSC_OUT_BASE_ADDR_CR(index)); index 204 drivers/media/platform/exynos4-is/fimc-capture.c v_buf->index = cap->buf_index; index 210 drivers/media/platform/exynos4-is/fimc-capture.c fimc_hw_get_frame_index(fimc), v_buf->index); index 222 drivers/media/platform/exynos4-is/fimc-capture.c s32 index = fimc_hw_get_frame_index(fimc); index 226 drivers/media/platform/exynos4-is/fimc-capture.c if (v_buf->index != index) index 422 drivers/media/platform/exynos4-is/fimc-capture.c buf->index = vid_cap->buf_index; index 738 drivers/media/platform/exynos4-is/fimc-capture.c f->index); index 1074 drivers/media/platform/exynos4-is/fimc-capture.c if (i->index != 0) index 1144 drivers/media/platform/exynos4-is/fimc-capture.c sink_fmt.pad = sink_pad->index; index 1153 drivers/media/platform/exynos4-is/fimc-capture.c src_fmt.pad = src_pad->index; index 1482 drivers/media/platform/exynos4-is/fimc-capture.c fmt = fimc_find_format(NULL, NULL, FMT_FLAGS_CAM, code->index); index 184 drivers/media/platform/exynos4-is/fimc-core.c struct fimc_fmt *fimc_get_format(unsigned int index) index 186 drivers/media/platform/exynos4-is/fimc-core.c if (index >= ARRAY_SIZE(fimc_formats)) index 189 drivers/media/platform/exynos4-is/fimc-core.c return &fimc_formats[index]; index 757 drivers/media/platform/exynos4-is/fimc-core.c unsigned int mask, int index) index 763 drivers/media/platform/exynos4-is/fimc-core.c if (index >= (int)ARRAY_SIZE(fimc_formats)) index 774 drivers/media/platform/exynos4-is/fimc-core.c if (index == id) index 227 drivers/media/platform/exynos4-is/fimc-core.h int index; index 626 drivers/media/platform/exynos4-is/fimc-core.h unsigned int mask, int index); index 627 drivers/media/platform/exynos4-is/fimc-core.h struct fimc_fmt *fimc_get_format(unsigned int index); index 218 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 223 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 224 drivers/media/platform/exynos4-is/fimc-is-param.c drc = &is->config[index].drc; index 225 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 242 drivers/media/platform/exynos4-is/fimc-is-param.c &is->config[index].p_region_index[0])) index 265 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 269 drivers/media/platform/exynos4-is/fimc-is-param.c sensor = &is->config[index].sensor; index 270 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 310 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 311 drivers/media/platform/exynos4-is/fimc-is-param.c struct isp_param *isp = &is->config[index].isp; index 322 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 325 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 336 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 339 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 349 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 352 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 363 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 367 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[0]; index 368 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 410 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 414 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[0]; index 415 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 445 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 448 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 459 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 462 drivers/media/platform/exynos4-is/fimc-is-param.c drc = &is->config[index].drc; index 471 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 475 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 476 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 486 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 490 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 491 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 506 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 510 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 511 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 526 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 530 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 531 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 546 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 550 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 551 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 566 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 570 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 571 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 586 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 590 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 591 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 606 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 610 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 611 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 626 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 630 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 631 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 646 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index = is->config_index; index 650 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[1]; index 651 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 671 drivers/media/platform/exynos4-is/fimc-is-param.c unsigned int index; index 673 drivers/media/platform/exynos4-is/fimc-is-param.c index = is->config_index; index 674 drivers/media/platform/exynos4-is/fimc-is-param.c global = &is->config[index].global; index 675 drivers/media/platform/exynos4-is/fimc-is-param.c isp = &is->config[index].isp; index 676 drivers/media/platform/exynos4-is/fimc-is-param.c drc = &is->config[index].drc; index 677 drivers/media/platform/exynos4-is/fimc-is-param.c fd = &is->config[index].fd; index 678 drivers/media/platform/exynos4-is/fimc-is-param.c p_index = &is->config[index].p_region_index[0]; index 129 drivers/media/platform/exynos4-is/fimc-is-regs.c void fimc_is_hw_close_sensor(struct fimc_is *is, unsigned int index) index 131 drivers/media/platform/exynos4-is/fimc-is-regs.c if (is->sensor_index != index) index 153 drivers/media/platform/exynos4-is/fimc-is-regs.h void fimc_is_hw_close_sensor(struct fimc_is *is, unsigned int index); index 164 drivers/media/platform/exynos4-is/fimc-is.c static int fimc_is_parse_sensor_config(struct fimc_is *is, unsigned int index, index 167 drivers/media/platform/exynos4-is/fimc-is.c struct fimc_is_sensor *sensor = &is->sensor[index]; index 205 drivers/media/platform/exynos4-is/fimc-is.c int ret, index = 0; index 213 drivers/media/platform/exynos4-is/fimc-is.c ret = fimc_is_parse_sensor_config(is, index, child); index 215 drivers/media/platform/exynos4-is/fimc-is.c if (ret < 0 || index >= FIMC_IS_SENSORS_NUM) { index 219 drivers/media/platform/exynos4-is/fimc-is.c index++; index 487 drivers/media/platform/exynos4-is/fimc-is.c is->fd_header.index = is->i2h_cmd.args[1]; index 155 drivers/media/platform/exynos4-is/fimc-is.h u32 index; index 198 drivers/media/platform/exynos4-is/fimc-isp-video.c video->buf_mask |= BIT(ivb->index); index 203 drivers/media/platform/exynos4-is/fimc-isp-video.c ivb->index = video->buf_count; index 204 drivers/media/platform/exynos4-is/fimc-isp-video.c video->buffers[ivb->index] = ivb; index 207 drivers/media/platform/exynos4-is/fimc-isp-video.c int buf_index = ivb->index * num_planes + i; index 215 drivers/media/platform/exynos4-is/fimc-isp-video.c buf_index, ivb->index, i, vb->index, index 358 drivers/media/platform/exynos4-is/fimc-isp-video.c if (f->index >= FIMC_ISP_NUM_FORMATS) index 361 drivers/media/platform/exynos4-is/fimc-isp-video.c fmt = fimc_isp_find_format(NULL, NULL, f->index); index 458 drivers/media/platform/exynos4-is/fimc-isp-video.c sink_fmt.pad = pad->index; index 470 drivers/media/platform/exynos4-is/fimc-isp-video.c src_fmt.pad = pad->index; index 63 drivers/media/platform/exynos4-is/fimc-isp.c const u32 *mbus_code, int index) index 69 drivers/media/platform/exynos4-is/fimc-isp.c if (index >= (int)ARRAY_SIZE(fimc_isp_formats)) index 78 drivers/media/platform/exynos4-is/fimc-isp.c if (index == id) index 114 drivers/media/platform/exynos4-is/fimc-isp.c fmt = fimc_isp_find_format(NULL, NULL, code->index); index 104 drivers/media/platform/exynos4-is/fimc-isp.h unsigned int index; index 189 drivers/media/platform/exynos4-is/fimc-isp.h const u32 *mbus_code, int index); index 266 drivers/media/platform/exynos4-is/fimc-lite-reg.c unsigned int index; index 270 drivers/media/platform/exynos4-is/fimc-lite-reg.c index = 0; index 272 drivers/media/platform/exynos4-is/fimc-lite-reg.c index = buf->index; index 274 drivers/media/platform/exynos4-is/fimc-lite-reg.c if (index == 0) index 277 drivers/media/platform/exynos4-is/fimc-lite-reg.c writel(buf->paddr, dev->regs + FLITE_REG_CIOSAN(index - 1)); index 280 drivers/media/platform/exynos4-is/fimc-lite-reg.c cfg |= BIT(index); index 284 drivers/media/platform/exynos4-is/fimc-lite-reg.c void flite_hw_mask_dma_buffer(struct fimc_lite *dev, u32 index) index 289 drivers/media/platform/exynos4-is/fimc-lite-reg.c index = 0; index 292 drivers/media/platform/exynos4-is/fimc-lite-reg.c cfg &= ~BIT(index); index 148 drivers/media/platform/exynos4-is/fimc-lite-reg.h void flite_hw_mask_dma_buffer(struct fimc_lite *dev, u32 index); index 108 drivers/media/platform/exynos4-is/fimc-lite.c const u32 *mbus_code, unsigned int mask, int index) index 114 drivers/media/platform/exynos4-is/fimc-lite.c if (index >= (int)ARRAY_SIZE(fimc_lite_formats)) index 125 drivers/media/platform/exynos4-is/fimc-lite.c if (index == id) index 287 drivers/media/platform/exynos4-is/fimc-lite.c flite_hw_mask_dma_buffer(fimc, vbuf->index); index 413 drivers/media/platform/exynos4-is/fimc-lite.c buf->index = fimc->buf_index++; index 659 drivers/media/platform/exynos4-is/fimc-lite.c if (f->index >= ARRAY_SIZE(fimc_lite_formats)) index 662 drivers/media/platform/exynos4-is/fimc-lite.c fmt = &fimc_lite_formats[f->index]; index 784 drivers/media/platform/exynos4-is/fimc-lite.c sink_fmt.pad = pad->index; index 797 drivers/media/platform/exynos4-is/fimc-lite.c src_fmt.pad = pad->index; index 975 drivers/media/platform/exynos4-is/fimc-lite.c switch (local->index) { index 1021 drivers/media/platform/exynos4-is/fimc-lite.c fmt = fimc_lite_find_format(NULL, NULL, 0, code->index); index 1263 drivers/media/platform/exynos4-is/fimc-lite.c fimc->index); index 1402 drivers/media/platform/exynos4-is/fimc-lite.c snprintf(sd->name, sizeof(sd->name), "FIMC-LITE.%d", fimc->index); index 1476 drivers/media/platform/exynos4-is/fimc-lite.c fimc->index = of_alias_get_id(dev->of_node, "fimc-lite"); index 1478 drivers/media/platform/exynos4-is/fimc-lite.c if (!drv_data || fimc->index >= drv_data->num_instances || index 1479 drivers/media/platform/exynos4-is/fimc-lite.c fimc->index < 0) { index 1532 drivers/media/platform/exynos4-is/fimc-lite.c fimc->index); index 103 drivers/media/platform/exynos4-is/fimc-lite.h unsigned short index; index 153 drivers/media/platform/exynos4-is/fimc-lite.h int index; index 246 drivers/media/platform/exynos4-is/fimc-m2m.c f->index); index 544 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_addr *paddr, int index) index 546 drivers/media/platform/exynos4-is/fimc-reg.c int i = (index == -1) ? 0 : index; index 553 drivers/media/platform/exynos4-is/fimc-reg.c } while (index == -1 && ++i < FIMC_MAX_OUT_BUFS); index 307 drivers/media/platform/exynos4-is/fimc-reg.h int index); index 385 drivers/media/platform/exynos4-is/media-dev.c unsigned int index) index 387 drivers/media/platform/exynos4-is/media-dev.c struct fimc_source_info *pd = &fmd->sensor[index].pdata; index 403 drivers/media/platform/exynos4-is/media-dev.c if (WARN_ON(endpoint.base.port == 0) || index >= FIMC_MAX_SENSORS) { index 450 drivers/media/platform/exynos4-is/media-dev.c if (WARN_ON(index >= ARRAY_SIZE(fmd->sensor))) { index 455 drivers/media/platform/exynos4-is/media-dev.c fmd->sensor[index].asd.match_type = V4L2_ASYNC_MATCH_FWNODE; index 456 drivers/media/platform/exynos4-is/media-dev.c fmd->sensor[index].asd.match.fwnode = of_fwnode_handle(rem); index 459 drivers/media/platform/exynos4-is/media-dev.c &fmd->sensor[index].asd); index 476 drivers/media/platform/exynos4-is/media-dev.c int index = 0; index 503 drivers/media/platform/exynos4-is/media-dev.c ret = fimc_md_parse_port_node(fmd, port, index); index 509 drivers/media/platform/exynos4-is/media-dev.c index++; index 518 drivers/media/platform/exynos4-is/media-dev.c ret = fimc_md_parse_port_node(fmd, node, index); index 523 drivers/media/platform/exynos4-is/media-dev.c index++; index 560 drivers/media/platform/exynos4-is/media-dev.c if (WARN_ON(fimc_lite->index >= FIMC_LITE_MAX_DEVS || index 561 drivers/media/platform/exynos4-is/media-dev.c fmd->fimc_lite[fimc_lite->index])) index 575 drivers/media/platform/exynos4-is/media-dev.c fmd->fimc_lite[fimc_lite->index] = fimc_lite; index 578 drivers/media/platform/exynos4-is/media-dev.c fimc_lite->index); index 197 drivers/media/platform/exynos4-is/media-dev.h unsigned int index) index 201 drivers/media/platform/exynos4-is/media-dev.h if (!p || index >= IDX_MAX) index 204 drivers/media/platform/exynos4-is/media-dev.h return p->subdevs[index]; index 204 drivers/media/platform/exynos4-is/mipi-csis.c u8 index; index 543 drivers/media/platform/exynos4-is/mipi-csis.c if (code->index >= ARRAY_SIZE(s5pcsis_formats)) index 546 drivers/media/platform/exynos4-is/mipi-csis.c code->code = s5pcsis_formats[code->index].code; index 739 drivers/media/platform/exynos4-is/mipi-csis.c state->index = endpoint.base.port - FIMC_INPUT_MIPI_CSI2_0; index 740 drivers/media/platform/exynos4-is/mipi-csis.c if (state->index >= CSIS_MAX_ENTITIES) { index 843 drivers/media/platform/exynos4-is/mipi-csis.c CSIS_SUBDEV_NAME, state->index); index 572 drivers/media/platform/fsl-viu.c int index = f->index; index 574 drivers/media/platform/fsl-viu.c if (f->index >= NUM_FORMATS) index 577 drivers/media/platform/fsl-viu.c f->pixelformat = formats[index].fourcc; index 929 drivers/media/platform/fsl-viu.c if (inp->index != 0) index 1045 drivers/media/platform/imx-pxp.c if (num == f->index) index 450 drivers/media/platform/m2m-deinterlace.c if (num == f->index) index 1359 drivers/media/platform/marvell-ccic/mcam-core.c if (fmt->index >= N_MCAM_FMTS) index 1361 drivers/media/platform/marvell-ccic/mcam-core.c fmt->pixelformat = mcam_formats[fmt->index].pixelformat; index 1458 drivers/media/platform/marvell-ccic/mcam-core.c if (input->index != 0) index 1511 drivers/media/platform/marvell-ccic/mcam-core.c .index = sizes->index, index 1546 drivers/media/platform/marvell-ccic/mcam-core.c .index = interval->index, index 104 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (num == f->index) index 516 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c if (buf->index >= vq->num_buffers) { index 521 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c vb = vb2_get_buffer(vq, buf->index); index 663 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c vb->vb2_queue->type, vb->index, vb); index 134 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c static const struct mtk_mdp_fmt *mtk_mdp_find_fmt_by_index(u32 index, u32 type) index 144 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c if (index == num) index 619 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c fmt = mtk_mdp_find_fmt_by_index(f->index, type); index 135 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dstbuf->vb.vb2_buf.index, index 190 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dstbuf->vb.vb2_buf.index, index 208 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dstbuf->vb.vb2_buf.index); index 222 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dstbuf->vb.vb2_buf.index, index 384 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dst_buf->vb2_buf.index, pfb, index 415 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, src_buf->vb2_buf.index); index 435 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c src_buf->vb2_buf.index, index 438 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c dst_buf->vb2_buf.index, index 901 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (fsize->index != 0) index 944 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c if (j == f->index) index 1106 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, vb->vb2_queue->type, vb->index); index 1135 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c vb->index, vb); index 1181 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, src_buf->vb2_buf.index, index 1205 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c ctx->id, src_buf->vb2_buf.index, index 170 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (j == f->index) { index 187 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c if (fsize->index != 0) index 807 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, index 954 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c dst_buf->vb2_buf.index, bs_buf.va, index 1001 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, index 1012 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, index 1029 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c mtk_buf->vb.vb2_buf.index, index 1123 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c src_buf->vb2_buf.index, dst_buf->vb2_buf.index, ret, index 365 drivers/media/platform/mtk-vpu/mtk_vpu.c int index, ret; index 379 drivers/media/platform/mtk-vpu/mtk_vpu.c for (index = 0; index < VPU_RST_MAX; index++) { index 380 drivers/media/platform/mtk-vpu/mtk_vpu.c if (handler[index].reset_func) { index 381 drivers/media/platform/mtk-vpu/mtk_vpu.c handler[index].reset_func(handler[index].priv); index 382 drivers/media/platform/mtk-vpu/mtk_vpu.c dev_dbg(vpu->dev, "wdt handler func %d\n", index); index 396 drivers/media/platform/mx2_emmaprp.c if (num == f->index) index 546 drivers/media/platform/omap/omap_vout.c addr = (unsigned long)vout->queued_buf_addr[vout->next_frm->vbuf.vb2_buf.index] index 585 drivers/media/platform/omap/omap_vout.c int index = fmt->index; index 587 drivers/media/platform/omap/omap_vout.c if (index >= NUM_OUTPUT_FORMATS) index 590 drivers/media/platform/omap/omap_vout.c fmt->flags = omap_formats[index].flags; index 591 drivers/media/platform/omap/omap_vout.c fmt->pixelformat = omap_formats[index].pixelformat; index 979 drivers/media/platform/omap/omap_vout.c vout->queued_buf_addr[vb->index] = (u8 *)buf_phy_addr; index 1021 drivers/media/platform/omap/omap_vout.c addr = (unsigned long)vout->queued_buf_addr[vout->cur_frm->vbuf.vb2_buf.index] index 1239 drivers/media/platform/omap/omap_vout.c if (out->index) index 257 drivers/media/platform/omap/omap_vout_vrfb.c xt->dst_start = vout->vrfb_context[vb->index].paddr[0]; index 308 drivers/media/platform/omap/omap_vout_vrfb.c vout->queued_buf_addr[vb->index] = (u8 *) index 309 drivers/media/platform/omap/omap_vout_vrfb.c vout->vrfb_context[vb->index].paddr[rotation]; index 1152 drivers/media/platform/omap3isp/ispccdc.c fmt_src.pad = pad->index; index 2122 drivers/media/platform/omap3isp/ispccdc.c if (code->index >= ARRAY_SIZE(ccdc_fmts)) index 2125 drivers/media/platform/omap3isp/ispccdc.c code->code = ccdc_fmts[code->index]; index 2135 drivers/media/platform/omap3isp/ispccdc.c if (code->index == 0) index 2137 drivers/media/platform/omap3isp/ispccdc.c else if (code->index == 1) index 2145 drivers/media/platform/omap3isp/ispccdc.c if (code->index == 0) index 2157 drivers/media/platform/omap3isp/ispccdc.c if (code->index != 0) index 2186 drivers/media/platform/omap3isp/ispccdc.c if (fse->index != 0) index 2510 drivers/media/platform/omap3isp/ispccdc.c unsigned int index = local->index; index 2514 drivers/media/platform/omap3isp/ispccdc.c index |= 2 << 16; index 2516 drivers/media/platform/omap3isp/ispccdc.c switch (index) { index 698 drivers/media/platform/omap3isp/ispccp2.c if (code->index >= ARRAY_SIZE(ccp2_fmts)) index 701 drivers/media/platform/omap3isp/ispccp2.c code->code = ccp2_fmts[code->index]; index 703 drivers/media/platform/omap3isp/ispccp2.c if (code->index != 0) index 721 drivers/media/platform/omap3isp/ispccp2.c if (fse->index != 0) index 960 drivers/media/platform/omap3isp/ispccp2.c unsigned int index = local->index; index 964 drivers/media/platform/omap3isp/ispccp2.c index |= 2 << 16; index 966 drivers/media/platform/omap3isp/ispccp2.c switch (index) { index 904 drivers/media/platform/omap3isp/ispcsi2.c if (code->index >= ARRAY_SIZE(csi2_input_fmts)) index 907 drivers/media/platform/omap3isp/ispcsi2.c code->code = csi2_input_fmts[code->index]; index 911 drivers/media/platform/omap3isp/ispcsi2.c switch (code->index) { index 939 drivers/media/platform/omap3isp/ispcsi2.c if (fse->index != 0) index 1139 drivers/media/platform/omap3isp/ispcsi2.c unsigned int index = local->index; index 1148 drivers/media/platform/omap3isp/ispcsi2.c index |= 2 << 16; index 1150 drivers/media/platform/omap3isp/ispcsi2.c switch (index) { index 36 drivers/media/platform/omap3isp/isph3a_af.c int index; index 76 drivers/media/platform/omap3isp/isph3a_af.c for (index = 0; index <= 8; index += 2) { index 79 drivers/media/platform/omap3isp/isph3a_af.c coef |= conf->iir.coeff_set0[index]; index 80 drivers/media/platform/omap3isp/isph3a_af.c coef |= conf->iir.coeff_set0[index + 1] << index 88 drivers/media/platform/omap3isp/isph3a_af.c coef |= conf->iir.coeff_set1[index]; index 89 drivers/media/platform/omap3isp/isph3a_af.c coef |= conf->iir.coeff_set1[index + 1] << index 158 drivers/media/platform/omap3isp/isph3a_af.c int index; index 199 drivers/media/platform/omap3isp/isph3a_af.c for (index = 0; index < OMAP3ISP_AF_NUM_COEF; index++) { index 200 drivers/media/platform/omap3isp/isph3a_af.c if ((iir_cfg->coeff_set0[index]) > OMAP3ISP_AF_COEF_MAX) index 203 drivers/media/platform/omap3isp/isph3a_af.c if ((iir_cfg->coeff_set1[index]) > OMAP3ISP_AF_COEF_MAX) index 232 drivers/media/platform/omap3isp/isph3a_af.c int index; index 261 drivers/media/platform/omap3isp/isph3a_af.c for (index = 0; index < OMAP3ISP_AF_NUM_COEF; index++) { index 262 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->iir.coeff_set0[index] != index 263 drivers/media/platform/omap3isp/isph3a_af.c user_cfg->iir.coeff_set0[index]) { index 267 drivers/media/platform/omap3isp/isph3a_af.c if (cur_cfg->iir.coeff_set1[index] != index 268 drivers/media/platform/omap3isp/isph3a_af.c user_cfg->iir.coeff_set1[index]) { index 1870 drivers/media/platform/omap3isp/isppreview.c if (code->index >= ARRAY_SIZE(preview_input_fmts)) index 1873 drivers/media/platform/omap3isp/isppreview.c code->code = preview_input_fmts[code->index]; index 1876 drivers/media/platform/omap3isp/isppreview.c if (code->index >= ARRAY_SIZE(preview_output_fmts)) index 1879 drivers/media/platform/omap3isp/isppreview.c code->code = preview_output_fmts[code->index]; index 1895 drivers/media/platform/omap3isp/isppreview.c if (fse->index != 0) index 2144 drivers/media/platform/omap3isp/isppreview.c unsigned int index = local->index; index 2148 drivers/media/platform/omap3isp/isppreview.c index |= 2 << 16; index 2150 drivers/media/platform/omap3isp/isppreview.c switch (index) { index 1422 drivers/media/platform/omap3isp/ispresizer.c if (code->index >= ARRAY_SIZE(resizer_formats)) index 1425 drivers/media/platform/omap3isp/ispresizer.c code->code = resizer_formats[code->index]; index 1427 drivers/media/platform/omap3isp/ispresizer.c if (code->index != 0) index 1445 drivers/media/platform/omap3isp/ispresizer.c if (fse->index != 0) index 1623 drivers/media/platform/omap3isp/ispresizer.c unsigned int index = local->index; index 1627 drivers/media/platform/omap3isp/ispresizer.c index |= 2 << 16; index 1629 drivers/media/platform/omap3isp/ispresizer.c switch (index) { index 216 drivers/media/platform/omap3isp/ispvideo.c *pad = remote->index; index 1004 drivers/media/platform/omap3isp/ispvideo.c fmt.pad = source_pad->index; index 1244 drivers/media/platform/omap3isp/ispvideo.c if (input->index > 0) index 766 drivers/media/platform/pxa_camera.c code.index++; index 1725 drivers/media/platform/pxa_camera.c .index = idx, index 1850 drivers/media/platform/pxa_camera.c if (f->index >= idx) index 1853 drivers/media/platform/pxa_camera.c format = pcdev->user_formats[f->index].host_fmt; index 2001 drivers/media/platform/pxa_camera.c if (i->index > 0) index 359 drivers/media/platform/qcom/camss/camss-csid.c unsigned int index, u32 req_code) index 363 drivers/media/platform/qcom/camss/camss-csid.c if (!req_code && (index >= n_code)) index 371 drivers/media/platform/qcom/camss/camss-csid.c if (i == index) index 379 drivers/media/platform/qcom/camss/camss-csid.c unsigned int index, u32 src_req_code) index 382 drivers/media/platform/qcom/camss/camss-csid.c if (index > 0) index 396 drivers/media/platform/qcom/camss/camss-csid.c index, src_req_code); index 406 drivers/media/platform/qcom/camss/camss-csid.c index, src_req_code); index 409 drivers/media/platform/qcom/camss/camss-csid.c if (index > 0) index 855 drivers/media/platform/qcom/camss/camss-csid.c if (code->index >= csid->nformats) index 858 drivers/media/platform/qcom/camss/camss-csid.c code->code = csid->formats[code->index].code; index 868 drivers/media/platform/qcom/camss/camss-csid.c code->index, 0); index 872 drivers/media/platform/qcom/camss/camss-csid.c if (code->index >= csid->nformats) index 875 drivers/media/platform/qcom/camss/camss-csid.c code->code = csid->formats[code->index].code; index 896 drivers/media/platform/qcom/camss/camss-csid.c if (fse->index != 0) index 390 drivers/media/platform/qcom/camss/camss-csiphy.c if (code->index >= csiphy->nformats) index 393 drivers/media/platform/qcom/camss/camss-csiphy.c code->code = csiphy->formats[code->index].code; index 395 drivers/media/platform/qcom/camss/camss-csiphy.c if (code->index > 0) index 421 drivers/media/platform/qcom/camss/camss-csiphy.c if (fse->index != 0) index 918 drivers/media/platform/qcom/camss/camss-ispif.c if (code->index >= line->nformats) index 921 drivers/media/platform/qcom/camss/camss-ispif.c code->code = line->formats[code->index]; index 923 drivers/media/platform/qcom/camss/camss-ispif.c if (code->index > 0) index 949 drivers/media/platform/qcom/camss/camss-ispif.c if (fse->index != 0) index 136 drivers/media/platform/qcom/camss/camss-vfe.c unsigned int index, u32 req_code) index 140 drivers/media/platform/qcom/camss/camss-vfe.c if (!req_code && (index >= n_code)) index 148 drivers/media/platform/qcom/camss/camss-vfe.c if (i == index) index 156 drivers/media/platform/qcom/camss/camss-vfe.c unsigned int index, u32 src_req_code) index 170 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 180 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 190 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 200 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 203 drivers/media/platform/qcom/camss/camss-vfe.c if (index > 0) index 221 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 234 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 247 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 260 drivers/media/platform/qcom/camss/camss-vfe.c index, src_req_code); index 263 drivers/media/platform/qcom/camss/camss-vfe.c if (index > 0) index 1678 drivers/media/platform/qcom/camss/camss-vfe.c if (code->index >= line->nformats) index 1681 drivers/media/platform/qcom/camss/camss-vfe.c code->code = line->formats[code->index].code; index 1689 drivers/media/platform/qcom/camss/camss-vfe.c code->index, 0); index 1712 drivers/media/platform/qcom/camss/camss-vfe.c if (fse->index != 0) index 280 drivers/media/platform/qcom/camss/camss-video.c *pad = remote->index; index 540 drivers/media/platform/qcom/camss/camss-video.c if (f->index >= video->nformats) index 555 drivers/media/platform/qcom/camss/camss-video.c if (k == f->index) index 559 drivers/media/platform/qcom/camss/camss-video.c if (k < f->index) index 683 drivers/media/platform/qcom/camss/camss-video.c if (input->index > 0) index 32 drivers/media/platform/qcom/camss/camss.h #define module_pointer(ptr_module, index) \ index 33 drivers/media/platform/qcom/camss/camss.h ((const struct ptr_module##_device (*)[]) &(ptr_module[-(index)])) index 35 drivers/media/platform/qcom/camss/camss.h #define to_camss_index(ptr_module, index) \ index 36 drivers/media/platform/qcom/camss/camss.h container_of(module_pointer(ptr_module, index), \ index 39 drivers/media/platform/qcom/camss/camss.h #define to_device_index(ptr_module, index) \ index 40 drivers/media/platform/qcom/camss/camss.h (to_camss_index(ptr_module, index)->dev) index 532 drivers/media/platform/qcom/venus/helpers.c fdata.clnt_data = vbuf->vb2_buf.index; index 988 drivers/media/platform/qcom/venus/helpers.c if (buf->vb.vb2_buf.index == idx) { index 845 drivers/media/platform/qcom/venus/hfi_venus.c unsigned int index) index 849 drivers/media/platform/qcom/venus/hfi_venus.c if (index >= IFACEQ_NUM) index 852 drivers/media/platform/qcom/venus/hfi_venus.c qhdr = hdev->queues[index].qhdr; index 112 drivers/media/platform/qcom/venus/vdec.c find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) index 118 drivers/media/platform/qcom/venus/vdec.c if (index > size) index 128 drivers/media/platform/qcom/venus/vdec.c if (k == index && valid) index 387 drivers/media/platform/qcom/venus/vdec.c fmt = find_format_by_index(inst, f->index, f->type); index 446 drivers/media/platform/qcom/venus/vdec.c if (fsize->index) index 84 drivers/media/platform/qcom/venus/venc.c find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) index 90 drivers/media/platform/qcom/venus/venc.c if (index > size) index 100 drivers/media/platform/qcom/venus/venc.c if (k == index && valid) index 279 drivers/media/platform/qcom/venus/venc.c fmt = find_format_by_index(inst, f->index, f->type); index 560 drivers/media/platform/qcom/venus/venc.c if (fsize->index) index 590 drivers/media/platform/qcom/venus/venc.c if (fival->index) index 167 drivers/media/platform/rcar-vin/rcar-core.c channel = rvin_group_csi_pad_to_channel(csi_pad->index); index 202 drivers/media/platform/rcar-vin/rcar-core.c channel = rvin_group_csi_pad_to_channel(link->source->index); index 461 drivers/media/platform/rcar-vin/rcar-core.c code.index = 0; index 465 drivers/media/platform/rcar-vin/rcar-core.c code.index++; index 1046 drivers/media/platform/rcar-vin/rcar-dma.c fmt.pad = pad->index; index 306 drivers/media/platform/rcar-vin/rcar-v4l2.c if (f->index >= ARRAY_SIZE(rvin_formats)) index 309 drivers/media/platform/rcar-vin/rcar-v4l2.c f->pixelformat = rvin_formats[f->index].fourcc; index 439 drivers/media/platform/rcar-vin/rcar-v4l2.c if (i->index != 0) index 726 drivers/media/platform/rcar-vin/rcar-v4l2.c if (i->index != 0) index 449 drivers/media/platform/rcar_drif.c rdrif_dbg(sdr, "buf_queue idx %u\n", vb->index); index 902 drivers/media/platform/rcar_drif.c if (f->index >= ARRAY_SIZE(formats)) index 905 drivers/media/platform/rcar_drif.c f->pixelformat = formats[f->index].pixelformat; index 1379 drivers/media/platform/rcar_fdp1.c if (num == f->index) index 707 drivers/media/platform/rcar_jpu.c if (num == f->index) index 983 drivers/media/platform/renesas-ceu.c .index = 0, index 1007 drivers/media/platform/renesas-ceu.c sd_mbus_fmt.index++; index 1151 drivers/media/platform/renesas-ceu.c if (f->index >= ARRAY_SIZE(ceu_fmt_list)) index 1154 drivers/media/platform/renesas-ceu.c fmt = &ceu_fmt_list[f->index]; index 1195 drivers/media/platform/renesas-ceu.c if (inp->index >= ceudev->num_sd) index 1198 drivers/media/platform/renesas-ceu.c ceusd = &ceudev->subdevs[inp->index]; index 1203 drivers/media/platform/renesas-ceu.c inp->index, ceusd->v4l2_sd->name); index 1285 drivers/media/platform/renesas-ceu.c .index = fsize->index, index 1317 drivers/media/platform/renesas-ceu.c .index = fival->index, index 453 drivers/media/platform/rockchip/rga/rga.c if (f->index >= NUM_FORMATS) index 456 drivers/media/platform/rockchip/rga/rga.c fmt = &formats[f->index]; index 328 drivers/media/platform/s3c-camif/camif-capture.c unsigned int index; index 335 drivers/media/platform/s3c-camif/camif-capture.c index = (CISTATUS_FRAMECNT(status) + 2) & 1; index 336 drivers/media/platform/s3c-camif/camif-capture.c vbuf = camif_active_queue_peek(vp, index); index 346 drivers/media/platform/s3c-camif/camif-capture.c vbuf->index = index; index 347 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_set_output_addr(vp, &vbuf->paddr, index); index 348 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_set_output_addr(vp, &vbuf->paddr, index + 2); index 491 drivers/media/platform/s3c-camif/camif-capture.c buf->index = vp->buf_index; index 493 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_set_output_addr(vp, &buf->paddr, buf->index); index 494 drivers/media/platform/s3c-camif/camif-capture.c camif_hw_set_output_addr(vp, &buf->paddr, buf->index + 2); index 653 drivers/media/platform/s3c-camif/camif-capture.c if (input->index || sensor == NULL) index 680 drivers/media/platform/s3c-camif/camif-capture.c fmt = s3c_camif_find_format(vp, NULL, f->index); index 818 drivers/media/platform/s3c-camif/camif-capture.c src_fmt.pad = pad->index; index 1205 drivers/media/platform/s3c-camif/camif-capture.c if (code->index >= ARRAY_SIZE(camif_mbus_formats)) index 1208 drivers/media/platform/s3c-camif/camif-capture.c code->code = camif_mbus_formats[code->index]; index 102 drivers/media/platform/s3c-camif/camif-core.c int index) index 108 drivers/media/platform/s3c-camif/camif-core.c if (index >= (int)ARRAY_SIZE(camif_formats)) index 117 drivers/media/platform/s3c-camif/camif-core.c if (index == id) index 322 drivers/media/platform/s3c-camif/camif-core.h unsigned int index; index 326 drivers/media/platform/s3c-camif/camif-core.h const u32 *pixelformat, int index); index 354 drivers/media/platform/s3c-camif/camif-core.h struct camif_vp *vp, int index) index 362 drivers/media/platform/s3c-camif/camif-core.h if (buf->index == index) { index 259 drivers/media/platform/s3c-camif/camif-regs.h int index); index 299 drivers/media/platform/s5p-g2d/g2d.c if (f->index >= NUM_FORMATS) index 301 drivers/media/platform/s5p-g2d/g2d.c f->pixelformat = formats[f->index].fourcc; index 1276 drivers/media/platform/s5p-jpeg/jpeg-core.c if (num == f->index) index 230 drivers/media/platform/s5p-mfc/s5p_mfc.c dst_buf->b->vb2_buf.index); index 245 drivers/media/platform/s5p-mfc/s5p_mfc.c ctx->dec_dst_flag &= ~(1 << dst_buf->b->vb2_buf.index); index 347 drivers/media/platform/s5p-mfc/s5p_mfc.c clear_bit(dst_buf->b->vb2_buf.index, index 278 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c if (j == f->index) index 636 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c (ctx->dst_bufs[buf->index].flags & MFC_BUF_FLAG_EOS)) index 964 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c i = vb->index; index 982 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c i = vb->index; index 1064 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c mfc_buf = &ctx->src_bufs[vb->index]; index 1071 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c mfc_buf = &ctx->dst_bufs[vb->index]; index 1075 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c set_bit(vb->index, &ctx->dec_dst_flag); index 1325 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c if (j == f->index) { index 2362 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c vb->index, i, &dma); index 2430 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c i = vb->index; index 2439 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c i = vb->index; index 2562 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c mfc_buf = &ctx->dst_bufs[vb->index]; index 2570 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c mfc_buf = &ctx->src_bufs[vb->index]; index 1243 drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c src_mb ? src_mb->b->vb2_buf.index : -1, ctx->state); index 356 drivers/media/platform/sh_veu.c if (f->index >= fmt_num) index 359 drivers/media/platform/sh_veu.c f->pixelformat = sh_veu_fmt[fmt[f->index]].fourcc; index 387 drivers/media/platform/sh_vou.c if (fmt->index >= ARRAY_SIZE(vou_fmt)) index 392 drivers/media/platform/sh_vou.c fmt->pixelformat = vou_fmt[fmt->index].pfmt; index 780 drivers/media/platform/sh_vou.c if (a->index) index 702 drivers/media/platform/sti/bdisp/bdisp-v4l2.c if (f->index >= ARRAY_SIZE(bdisp_formats)) index 705 drivers/media/platform/sti/bdisp/bdisp-v4l2.c fmt = &bdisp_formats[f->index]; index 672 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c int ret, index = 0; index 764 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c fei->channel_data[index] = devm_kzalloc(dev, index 768 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c if (!fei->channel_data[index]) { index 773 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin = fei->channel_data[index]; index 838 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c , fei->channel_data[index]->tsin_id); index 850 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin->demux_mapping = index; index 854 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c fei->channel_data[index], index, index 859 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c index++; index 927 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c int index = 0, ret; index 934 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin = fei->channel_data[index]; index 937 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c fei->channel_data[index]); index 944 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c index++; index 950 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c for (index = 0; index < fei->tsin_count; index++) { index 951 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c tsin = fei->channel_data[index]; index 69 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, index 73 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, au->vbuf.vb2_buf.index, au->dts, au->size, index 84 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, frame->index, frame->dts, index 402 drivers/media/platform/sti/delta/delta-v4l2.c if (unlikely(f->index >= delta->nb_of_streamformats)) index 405 drivers/media/platform/sti/delta/delta-v4l2.c f->pixelformat = delta->streamformats[f->index]; index 416 drivers/media/platform/sti/delta/delta-v4l2.c if (unlikely(f->index >= delta->nb_of_pixelformats)) index 419 drivers/media/platform/sti/delta/delta-v4l2.c f->pixelformat = delta->pixelformats[f->index]; index 831 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, frame->index); index 1130 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, vb->index, au->vaddr, &au->paddr); index 1145 drivers/media/platform/sti/delta/delta-v4l2.c if (frame->index >= DELTA_MAX_FRAMES) { index 1148 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, frame->index, DELTA_MAX_FRAMES); index 1159 drivers/media/platform/sti/delta/delta-v4l2.c if (frame->index != ctx->nb_of_frames) { index 1162 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, ctx->nb_of_frames, frame->index); index 1233 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, frame->index, index 1260 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, frame->index); index 1266 drivers/media/platform/sti/delta/delta-v4l2.c "%s get free frame[%d]\n", ctx->name, frame->index); index 1471 drivers/media/platform/sti/delta/delta-v4l2.c frame->index = vbuf->vb2_buf.index; index 1486 drivers/media/platform/sti/delta/delta-v4l2.c ctx->name, vb->index, frame->vaddr, index 174 drivers/media/platform/sti/delta/delta.h u32 index; index 274 drivers/media/platform/sti/hva/hva-v4l2.c if (unlikely(f->index >= hva->nb_of_streamformats)) index 277 drivers/media/platform/sti/hva/hva-v4l2.c f->pixelformat = hva->streamformats[f->index]; index 288 drivers/media/platform/sti/hva/hva-v4l2.c if (unlikely(f->index >= hva->nb_of_pixelformats)) index 291 drivers/media/platform/sti/hva/hva-v4l2.c f->pixelformat = hva->pixelformats[f->index]; index 573 drivers/media/platform/sti/hva/hva-v4l2.c if (buf->index >= vq->num_buffers) { index 575 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, buf->index, vq->num_buffers); index 579 drivers/media/platform/sti/hva/hva-v4l2.c vb2_buf = vb2_get_buffer(vq, buf->index); index 947 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, vb->index, vbuf->field); index 961 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, vb->index, index 977 drivers/media/platform/sti/hva/hva-v4l2.c ctx->name, vb->index, index 226 drivers/media/platform/stm32/stm32-dcmi.c vbuf->vb2_buf.index, vbuf->sequence, bytesused); index 553 drivers/media/platform/stm32/stm32-dcmi.c vb->index, &buf->paddr, buf->size); index 575 drivers/media/platform/stm32/stm32-dcmi.c buf->vb.vb2_buf.index); index 647 drivers/media/platform/stm32/stm32-dcmi.c subdev->name, pad->index, format->format.code, index 650 drivers/media/platform/stm32/stm32-dcmi.c fmt.pad = pad->index; index 656 drivers/media/platform/stm32/stm32-dcmi.c subdev->name, pad->index, ret); index 664 drivers/media/platform/stm32/stm32-dcmi.c subdev->name, pad->index, fmt.format.code, index 1123 drivers/media/platform/stm32/stm32-dcmi.c if (f->index >= dcmi->num_of_sd_formats) index 1126 drivers/media/platform/stm32/stm32-dcmi.c f->pixelformat = dcmi->sd_formats[f->index]->fourcc; index 1333 drivers/media/platform/stm32/stm32-dcmi.c if (i->index != 0) index 1360 drivers/media/platform/stm32/stm32-dcmi.c .index = fsize->index, index 1405 drivers/media/platform/stm32/stm32-dcmi.c .index = fival->index, index 1615 drivers/media/platform/stm32/stm32-dcmi.c mbus_code.index++; index 1651 drivers/media/platform/stm32/stm32-dcmi.c fse.index++; index 1653 drivers/media/platform/stm32/stm32-dcmi.c num_fsize = fse.index; index 1669 drivers/media/platform/stm32/stm32-dcmi.c fse.index = i; index 1674 drivers/media/platform/stm32/stm32-dcmi.c dcmi->sd_framesizes[fse.index].width = fse.max_width; index 1675 drivers/media/platform/stm32/stm32-dcmi.c dcmi->sd_framesizes[fse.index].height = fse.max_height; index 69 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c if (inp->index != 0) index 173 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c if (f->index >= ARRAY_SIZE(sun4i_csi_formats)) index 176 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c f->pixelformat = sun4i_csi_formats[f->index].fourcc; index 334 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c if (mbus->index >= ARRAY_SIZE(sun4i_csi_formats)) index 337 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c mbus->code = sun4i_csi_formats[mbus->index].mbus; index 651 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c entity->name, src_pad_index, sink->name, sink_pad->index); index 653 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c sink_pad->index, index 659 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c sink->name, sink_pad->index); index 86 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c *pad = remote->index; index 330 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c u32 index = f->index; index 332 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c if (index >= ARRAY_SIZE(supported_pixformats)) index 335 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c f->pixelformat = supported_pixformats[index]; index 412 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c if (inp->index != 0) index 540 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c fmt->pad = pad->index; index 923 drivers/media/platform/ti-vpe/cal.c if (f->index >= ctx->num_active_fmt) index 926 drivers/media/platform/ti-vpe/cal.c fmt = ctx->active_fmt[f->index]; index 1036 drivers/media/platform/ti-vpe/cal.c for (fse.index = 0; ; fse.index++) { index 1130 drivers/media/platform/ti-vpe/cal.c fse.index = fsize->index; index 1139 drivers/media/platform/ti-vpe/cal.c __func__, fse.index, fse.code, fse.min_width, fse.max_width, index 1152 drivers/media/platform/ti-vpe/cal.c if (inp->index >= CAL_NUM_INPUT) index 1156 drivers/media/platform/ti-vpe/cal.c sprintf(inp->name, "Camera %u", inp->index); index 1186 drivers/media/platform/ti-vpe/cal.c .index = fival->index, index 1451 drivers/media/platform/ti-vpe/cal.c mbus_code.index = j; index 1645 drivers/media/platform/ti-vpe/cal.c int ret, index, found_port = 0, lane; index 1657 drivers/media/platform/ti-vpe/cal.c for (index = 0; index < CAL_NUM_CSI2_PORTS; index++) { index 1661 drivers/media/platform/ti-vpe/cal.c index); index 1668 drivers/media/platform/ti-vpe/cal.c index, inst, regval); index 1669 drivers/media/platform/ti-vpe/cal.c if ((regval == inst) && (index == inst)) { index 1503 drivers/media/platform/ti-vpe/vpe.c int i, index; index 1506 drivers/media/platform/ti-vpe/vpe.c index = 0; index 1509 drivers/media/platform/ti-vpe/vpe.c if (index == f->index) { index 1513 drivers/media/platform/ti-vpe/vpe.c index++; index 755 drivers/media/platform/via-camera.c if (input->index != 0) index 795 drivers/media/platform/via-camera.c if (fmt->index >= N_VIA_FMTS) index 797 drivers/media/platform/via-camera.c fmt->pixelformat = via_formats[fmt->index].pixelformat; index 947 drivers/media/platform/via-camera.c if (sizes->index != 0) index 968 drivers/media/platform/via-camera.c .index = interval->index, index 730 drivers/media/platform/vicodec/vicodec-core.c info = v4l2_fwht_get_pixfmt(f->index); index 736 drivers/media/platform/vicodec/vicodec-core.c f->index); index 741 drivers/media/platform/vicodec/vicodec-core.c if (f->index) index 1327 drivers/media/platform/vicodec/vicodec-core.c if (fsize->index) index 60 drivers/media/platform/video-mux.c remote->entity->name, remote->index, local->entity->name, index 61 drivers/media/platform/video-mux.c local->index, flags & MEDIA_LNK_FL_ENABLED); index 66 drivers/media/platform/video-mux.c if (vmux->active == local->index) index 74 drivers/media/platform/video-mux.c dev_dbg(sd->dev, "setting %d active\n", local->index); index 75 drivers/media/platform/video-mux.c ret = mux_control_try_select(vmux->mux, local->index); index 78 drivers/media/platform/video-mux.c vmux->active = local->index; index 83 drivers/media/platform/video-mux.c if (vmux->active != local->index) index 295 drivers/media/platform/video-mux.c if ((pad->flags & MEDIA_PAD_FL_SINK) && (pad->index == vmux->active)) index 679 drivers/media/platform/vim2m.c if (num == f->index) index 715 drivers/media/platform/vim2m.c if (fsize->index != 0) index 155 drivers/media/platform/vimc/vimc-capture.c const struct vimc_pix_map *vpix = vimc_pix_map_by_index(f->index); index 170 drivers/media/platform/vimc/vimc-capture.c if (fsize->index) index 213 drivers/media/platform/vimc/vimc-common.c pads[i].index = i; index 259 drivers/media/platform/vimc/vimc-common.c fmt->pad = pad->index; index 165 drivers/media/platform/vimc/vimc-debayer.c if (code->index) index 170 drivers/media/platform/vimc/vimc-debayer.c if (code->index >= ARRAY_SIZE(vimc_deb_pix_map_list)) index 173 drivers/media/platform/vimc/vimc-debayer.c code->code = vimc_deb_pix_map_list[code->index].code; index 185 drivers/media/platform/vimc/vimc-debayer.c if (fse->index) index 304 drivers/media/platform/vimc/vimc-debayer.c unsigned int i, index; index 306 drivers/media/platform/vimc/vimc-debayer.c index = VIMC_FRAME_INDEX(lin, col, vdeb->sink_fmt.width, 3); index 308 drivers/media/platform/vimc/vimc-debayer.c vdeb->src_frame[index + i] = rgb[i]; index 420 drivers/media/platform/vimc/vimc-debayer.c unsigned int index; index 425 drivers/media/platform/vimc/vimc-debayer.c index = VIMC_FRAME_INDEX(wlin, wcol, index 431 drivers/media/platform/vimc/vimc-debayer.c vdeb->sd.name, index, wlin, wcol, color); index 435 drivers/media/platform/vimc/vimc-debayer.c vimc_deb_get_val(&frame[index], vdeb->sink_bpp); index 73 drivers/media/platform/vimc/vimc-scaler.c const struct vimc_pix_map *vpix = vimc_pix_map_by_index(code->index); index 90 drivers/media/platform/vimc/vimc-scaler.c if (fse->index) index 272 drivers/media/platform/vimc/vimc-scaler.c unsigned int i, j, index; index 276 drivers/media/platform/vimc/vimc-scaler.c index = VIMC_FRAME_INDEX(lin, col, index 279 drivers/media/platform/vimc/vimc-scaler.c pixel = &sink_frame[index]; index 283 drivers/media/platform/vimc/vimc-scaler.c vsca->sd.name, lin, col, index); index 288 drivers/media/platform/vimc/vimc-scaler.c index = VIMC_FRAME_INDEX(lin * sca_mult, col * sca_mult, index 292 drivers/media/platform/vimc/vimc-scaler.c vsca->sd.name, lin * sca_mult, col * sca_mult, index); index 302 drivers/media/platform/vimc/vimc-scaler.c vsca->sd.name, index + j); index 305 drivers/media/platform/vimc/vimc-scaler.c vimc_sca_fill_pix(&vsca->src_frame[index + j], index 310 drivers/media/platform/vimc/vimc-scaler.c index += vsca->src_line_size; index 61 drivers/media/platform/vimc/vimc-sensor.c const struct vimc_pix_map *vpix = vimc_pix_map_by_index(code->index); index 77 drivers/media/platform/vimc/vimc-sensor.c if (fse->index) index 238 drivers/media/platform/vivid/vivid-kthread-cap.c bool blank = dev->must_blank[vid_cap_buf->vb.vb2_buf.index]; index 447 drivers/media/platform/vivid/vivid-kthread-cap.c tpg_s_perc_fill_blank(tpg, dev->must_blank[buf->vb.vb2_buf.index]); index 470 drivers/media/platform/vivid/vivid-kthread-cap.c dev->must_blank[buf->vb.vb2_buf.index] = false; index 723 drivers/media/platform/vivid/vivid-kthread-cap.c vid_cap_buf->vb.vb2_buf.index); index 735 drivers/media/platform/vivid/vivid-kthread-cap.c vid_cap_buf->vb.vb2_buf.index); index 754 drivers/media/platform/vivid/vivid-kthread-cap.c vbi_cap_buf->vb.vb2_buf.index); index 939 drivers/media/platform/vivid/vivid-kthread-cap.c buf->vb.vb2_buf.index); index 954 drivers/media/platform/vivid/vivid-kthread-cap.c buf->vb.vb2_buf.index); index 95 drivers/media/platform/vivid/vivid-kthread-out.c vid_out_buf->vb.vb2_buf.index); index 112 drivers/media/platform/vivid/vivid-kthread-out.c vbi_out_buf->vb.vb2_buf.index); index 284 drivers/media/platform/vivid/vivid-kthread-out.c buf->vb.vb2_buf.index); index 299 drivers/media/platform/vivid/vivid-kthread-out.c buf->vb.vb2_buf.index); index 27 drivers/media/platform/vivid/vivid-radio-common.c .index = 0, index 37 drivers/media/platform/vivid/vivid-radio-common.c .index = 1, index 46 drivers/media/platform/vivid/vivid-radio-common.c .index = 2, index 141 drivers/media/platform/vivid/vivid-radio-rx.c if (band->index >= TOT_BANDS) index 144 drivers/media/platform/vivid/vivid-radio-rx.c *band = vivid_radio_bands[band->index]; index 223 drivers/media/platform/vivid/vivid-radio-rx.c if (vt->index > 0) index 274 drivers/media/platform/vivid/vivid-radio-rx.c if (vt->index) index 103 drivers/media/platform/vivid/vivid-radio-tx.c if (a->index > 0) index 122 drivers/media/platform/vivid/vivid-radio-tx.c if (a->index) index 46 drivers/media/platform/vivid/vivid-sdr-cap.c .index = 0, index 54 drivers/media/platform/vivid/vivid-sdr-cap.c .index = 1, index 62 drivers/media/platform/vivid/vivid-sdr-cap.c .index = 2, index 77 drivers/media/platform/vivid/vivid-sdr-cap.c .index = 0, index 337 drivers/media/platform/vivid/vivid-sdr-cap.c if (band->index >= ARRAY_SIZE(bands_adc)) index 339 drivers/media/platform/vivid/vivid-sdr-cap.c *band = bands_adc[band->index]; index 342 drivers/media/platform/vivid/vivid-sdr-cap.c if (band->index >= ARRAY_SIZE(bands_fm)) index 344 drivers/media/platform/vivid/vivid-sdr-cap.c *band = bands_fm[band->index]; index 413 drivers/media/platform/vivid/vivid-sdr-cap.c switch (vt->index) { index 437 drivers/media/platform/vivid/vivid-sdr-cap.c if (vt->index > 1) index 444 drivers/media/platform/vivid/vivid-sdr-cap.c if (f->index >= ARRAY_SIZE(formats)) index 446 drivers/media/platform/vivid/vivid-sdr-cap.c f->pixelformat = formats[f->index].pixelformat; index 1049 drivers/media/platform/vivid/vivid-vid-cap.c if (f->index >= ARRAY_SIZE(formats_ovl)) index 1052 drivers/media/platform/vivid/vivid-vid-cap.c fmt = &formats_ovl[f->index]; index 1275 drivers/media/platform/vivid/vivid-vid-cap.c if (inp->index >= dev->num_inputs) index 1279 drivers/media/platform/vivid/vivid-vid-cap.c switch (dev->input_type[inp->index]) { index 1282 drivers/media/platform/vivid/vivid-vid-cap.c dev->input_name_counter[inp->index]); index 1287 drivers/media/platform/vivid/vivid-vid-cap.c dev->input_name_counter[inp->index]); index 1296 drivers/media/platform/vivid/vivid-vid-cap.c dev->input_name_counter[inp->index]); index 1304 drivers/media/platform/vivid/vivid-vid-cap.c dev->input_name_counter[inp->index]); index 1318 drivers/media/platform/vivid/vivid-vid-cap.c if (dev->input == inp->index && vivid_is_sdtv_cap(dev)) { index 1432 drivers/media/platform/vivid/vivid-vid-cap.c if (vin->index >= ARRAY_SIZE(vivid_audio_inputs)) index 1434 drivers/media/platform/vivid/vivid-vid-cap.c *vin = vivid_audio_inputs[vin->index]; index 1454 drivers/media/platform/vivid/vivid-vid-cap.c if (vin->index >= ARRAY_SIZE(vivid_audio_inputs)) index 1456 drivers/media/platform/vivid/vivid-vid-cap.c dev->tv_audio_input = vin->index; index 1486 drivers/media/platform/vivid/vivid-vid-cap.c if (vt->index != 0) index 1499 drivers/media/platform/vivid/vivid-vid-cap.c if (vt->index != 0) index 1810 drivers/media/platform/vivid/vivid-vid-cap.c if (fsize->index >= ARRAY_SIZE(webcam_sizes)) index 1813 drivers/media/platform/vivid/vivid-vid-cap.c fsize->discrete = webcam_sizes[fsize->index]; index 1816 drivers/media/platform/vivid/vivid-vid-cap.c if (fsize->index) index 1841 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->index) index 1858 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->index >= 2 * (VIVID_WEBCAM_SIZES - i)) index 1861 drivers/media/platform/vivid/vivid-vid-cap.c fival->discrete = webcam_intervals[fival->index]; index 916 drivers/media/platform/vivid/vivid-vid-common.c if (f->index >= ARRAY_SIZE(vivid_formats) - index 920 drivers/media/platform/vivid/vivid-vid-common.c fmt = &vivid_formats[f->index]; index 1042 drivers/media/platform/vivid/vivid-vid-out.c if (out->index >= dev->num_outputs) index 1046 drivers/media/platform/vivid/vivid-vid-out.c switch (dev->output_type[out->index]) { index 1049 drivers/media/platform/vivid/vivid-vid-out.c dev->output_name_counter[out->index]); index 1057 drivers/media/platform/vivid/vivid-vid-out.c dev->output_name_counter[out->index]); index 1105 drivers/media/platform/vivid/vivid-vid-out.c if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) index 1107 drivers/media/platform/vivid/vivid-vid-out.c *vout = vivid_audio_outputs[vout->index]; index 1127 drivers/media/platform/vivid/vivid-vid-out.c if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) index 1129 drivers/media/platform/vivid/vivid-vid-out.c dev->tv_audio_output = vout->index; index 111 drivers/media/platform/vsp1/vsp1.h int vsp1_reset_wpf(struct vsp1_device *vsp1, unsigned int index); index 84 drivers/media/platform/vsp1/vsp1_brx.c if (fse->index) index 217 drivers/media/platform/vsp1/vsp1_dl.c unsigned int index; index 846 drivers/media/platform/vsp1/vsp1_dl.c return !!(vsp1_read(vsp1, VI6_CMD(dlm->index)) & VI6_CMD_UPDHDR); index 861 drivers/media/platform/vsp1/vsp1_dl.c vsp1_write(vsp1, VI6_DL_HDR_ADDR(dlm->index), dl->dma); index 1000 drivers/media/platform/vsp1/vsp1_dl.c if (status & VI6_STATUS_FLD_STD(dlm->index)) index 1088 drivers/media/platform/vsp1/vsp1_dl.c unsigned int index, index 1099 drivers/media/platform/vsp1/vsp1_dl.c dlm->index = index; index 55 drivers/media/platform/vsp1/vsp1_dl.h unsigned int index, index 130 drivers/media/platform/vsp1/vsp1_drm.c crop = &vsp1->drm->inputs[rpf->entity.index].crop; index 148 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, rpf->entity.index); index 164 drivers/media/platform/vsp1/vsp1_drm.c rpf->entity.index); index 180 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, rpf->entity.index); index 209 drivers/media/platform/vsp1/vsp1_drm.c sel.r = vsp1->drm->inputs[rpf->entity.index].compose; index 260 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, index 293 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, BRX_NAME(brx)); index 307 drivers/media/platform/vsp1/vsp1_drm.c owner_pipe->pipe.lif->index); index 322 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, BRX_NAME(brx)); index 363 drivers/media/platform/vsp1/vsp1_drm.c return vsp1->drm->inputs[rpf->entity.index].zpos; index 432 drivers/media/platform/vsp1/vsp1_drm.c __func__, rpf->entity.index, BRX_NAME(pipe->brx), i); index 435 drivers/media/platform/vsp1/vsp1_drm.c drm_pipe->crc.index == i ? drm_pipe->uif : NULL; index 442 drivers/media/platform/vsp1/vsp1_drm.c __func__, rpf->entity.index); index 497 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->output->entity.index); index 507 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->output->entity.index); index 517 drivers/media/platform/vsp1/vsp1_drm.c format.format.code, pipe->lif->index); index 527 drivers/media/platform/vsp1/vsp1_drm.c pipe->lif->index); index 692 drivers/media/platform/vsp1/vsp1_drm.c __func__, pipe->lif->index, index 111 drivers/media/platform/vsp1/vsp1_drv.c source->index == sink->index index 483 drivers/media/platform/vsp1/vsp1_drv.c int vsp1_reset_wpf(struct vsp1_device *vsp1, unsigned int index) index 489 drivers/media/platform/vsp1/vsp1_drv.c if (!(status & VI6_STATUS_SYS_ACT(index))) index 492 drivers/media/platform/vsp1/vsp1_drv.c vsp1_write(vsp1, VI6_SRESET, VI6_SRESET_SRTS(index)); index 495 drivers/media/platform/vsp1/vsp1_drv.c if (!(status & VI6_STATUS_SYS_ACT(index))) index 502 drivers/media/platform/vsp1/vsp1_drv.c dev_err(vsp1->dev, "failed to reset wpf.%u\n", index); index 38 drivers/media/platform/vsp1/vsp1_entity.c smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) index 51 drivers/media/platform/vsp1/vsp1_entity.c smppt = (pipe->output->entity.index << VI6_DPR_SMPPT_TGW_SHIFT) index 249 drivers/media/platform/vsp1/vsp1_entity.c if (code->index >= ncodes) index 252 drivers/media/platform/vsp1/vsp1_entity.c code->code = codes[code->index]; index 261 drivers/media/platform/vsp1/vsp1_entity.c if (code->index) index 311 drivers/media/platform/vsp1/vsp1_entity.c if (fse->index || fse->code != format->code) { index 462 drivers/media/platform/vsp1/vsp1_entity.c source->sink_pad = sink_pad->index; index 484 drivers/media/platform/vsp1/vsp1_entity.c if (sink->sources[sink_pad->index]) index 487 drivers/media/platform/vsp1/vsp1_entity.c sink->sources[sink_pad->index] = source; index 489 drivers/media/platform/vsp1/vsp1_entity.c sink->sources[sink_pad->index] = NULL; index 619 drivers/media/platform/vsp1/vsp1_entity.c vsp1_routes[i].index == entity->index) { index 60 drivers/media/platform/vsp1/vsp1_entity.h unsigned int index; index 102 drivers/media/platform/vsp1/vsp1_entity.h unsigned int index; index 444 drivers/media/platform/vsp1/vsp1_histo.c if (f->index > 0 || f->type != histo->queue.type) index 42 drivers/media/platform/vsp1/vsp1_hsit.c if (code->index > 0) index 29 drivers/media/platform/vsp1/vsp1_lif.c vsp1_dl_body_write(dlb, reg + lif->entity.index * VI6_LIF_OFFSET, index 152 drivers/media/platform/vsp1/vsp1_lif.c struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1, unsigned int index) index 163 drivers/media/platform/vsp1/vsp1_lif.c lif->entity.index = index; index 31 drivers/media/platform/vsp1/vsp1_lif.h struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1, unsigned int index); index 292 drivers/media/platform/vsp1/vsp1_pipe.c vsp1_write(vsp1, VI6_CMD(pipe->output->entity.index), index 324 drivers/media/platform/vsp1/vsp1_pipe.c ret = vsp1_reset_wpf(vsp1, pipe->output->entity.index); index 439 drivers/media/platform/vsp1/vsp1_pipe.c unsigned int index, index 446 drivers/media/platform/vsp1/vsp1_pipe.c entity->ops->partition(entity, pipe, partition, index, index 169 drivers/media/platform/vsp1/vsp1_pipe.h unsigned int index, index 42 drivers/media/platform/vsp1/vsp1_rpf.c vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, index 210 drivers/media/platform/vsp1/vsp1_rpf.c auto_fld = &auto_fld[rpf->entity.index]; index 223 drivers/media/platform/vsp1/vsp1_rpf.c cmd->flags |= VI6_DL_EXT_AUTOFLD_INT | BIT(16 + rpf->entity.index); index 344 drivers/media/platform/vsp1/vsp1_rpf.c struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index) index 359 drivers/media/platform/vsp1/vsp1_rpf.c rpf->entity.index = index; index 361 drivers/media/platform/vsp1/vsp1_rpf.c sprintf(name, "rpf.%u", index); index 371 drivers/media/platform/vsp1/vsp1_rpf.c index); index 40 drivers/media/platform/vsp1/vsp1_rwpf.c if (code->index >= ARRAY_SIZE(codes)) index 43 drivers/media/platform/vsp1/vsp1_rwpf.c code->code = codes[code->index]; index 79 drivers/media/platform/vsp1/vsp1_rwpf.h struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index); index 80 drivers/media/platform/vsp1/vsp1_rwpf.h struct vsp1_rwpf *vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index); index 138 drivers/media/platform/vsp1/vsp1_sru.c if (fse->index || fse->code != format->code) { index 33 drivers/media/platform/vsp1/vsp1_uds.c vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); index 144 drivers/media/platform/vsp1/vsp1_uds.c if (fse->index || fse->code != format->code) { index 406 drivers/media/platform/vsp1/vsp1_uds.c struct vsp1_uds *vsp1_uds_create(struct vsp1_device *vsp1, unsigned int index) index 418 drivers/media/platform/vsp1/vsp1_uds.c uds->entity.index = index; index 420 drivers/media/platform/vsp1/vsp1_uds.c sprintf(name, "uds.%u", index); index 32 drivers/media/platform/vsp1/vsp1_uds.h struct vsp1_uds *vsp1_uds_create(struct vsp1_device *vsp1, unsigned int index); index 32 drivers/media/platform/vsp1/vsp1_uif.c uif->entity.index * VI6_UIF_OFFSET + reg); index 38 drivers/media/platform/vsp1/vsp1_uif.c vsp1_dl_body_write(dlb, reg + uif->entity.index * VI6_UIF_OFFSET, data); index 240 drivers/media/platform/vsp1/vsp1_uif.c struct vsp1_uif *vsp1_uif_create(struct vsp1_device *vsp1, unsigned int index) index 255 drivers/media/platform/vsp1/vsp1_uif.c uif->entity.index = index; index 258 drivers/media/platform/vsp1/vsp1_uif.c sprintf(name, "uif.%u", index + 4); index 29 drivers/media/platform/vsp1/vsp1_uif.h struct vsp1_uif *vsp1_uif_create(struct vsp1_device *vsp1, unsigned int index); index 58 drivers/media/platform/vsp1/vsp1_video.c *pad = remote->index; index 189 drivers/media/platform/vsp1/vsp1_video.c unsigned int index) index 208 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_propagate_partition(pipe, partition, index, index 214 drivers/media/platform/vsp1/vsp1_video.c window.left = index * div_size; index 236 drivers/media/platform/vsp1/vsp1_video.c if (index == partitions - 1) { index 239 drivers/media/platform/vsp1/vsp1_video.c } else if (index == partitions) { index 244 drivers/media/platform/vsp1/vsp1_video.c } else if (index == partitions) { index 249 drivers/media/platform/vsp1/vsp1_video.c vsp1_pipeline_propagate_partition(pipe, partition, index, &window); index 517 drivers/media/platform/vsp1/vsp1_video.c brx->inputs[pad->index].rpf = input; index 518 drivers/media/platform/vsp1/vsp1_video.c input->brx_input = pad->index; index 590 drivers/media/platform/vsp1/vsp1_video.c pipe->inputs[rwpf->entity.index] = rwpf; index 1206 drivers/media/platform/vsp1/vsp1_video.c wpf->entity.index); index 32 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); index 141 drivers/media/platform/vsp1/vsp1_wpf.c if (wpf->entity.index != 0) { index 181 drivers/media/platform/vsp1/vsp1_wpf.c wpf->entity.index); index 204 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0); index 205 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_write(vsp1, wpf->entity.index * VI6_WPF_OFFSET + index 238 drivers/media/platform/vsp1/vsp1_wpf.c unsigned int index = wpf->entity.index; index 250 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_dl_body_write(dlb, VI6_WPF_WRBCK_CTRL(index), 0); index 265 drivers/media/platform/vsp1/vsp1_wpf.c unsigned int index = wpf->entity.index; index 304 drivers/media/platform/vsp1/vsp1_wpf.c if (vsp1_feature(vsp1, VSP1_HAS_WPF_HFLIP) && index == 0) index 315 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_dl_body_write(dlb, VI6_DPR_WPF_FPORCH(index), index 331 drivers/media/platform/vsp1/vsp1_wpf.c ? VI6_WPF_SRCRPF_RPF_ACT_MST(input->entity.index) index 332 drivers/media/platform/vsp1/vsp1_wpf.c : VI6_WPF_SRCRPF_RPF_ACT_SUB(input->entity.index); index 343 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_dl_body_write(dlb, VI6_WPF_IRQ_STA(index), 0); index 344 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_dl_body_write(dlb, VI6_WPF_IRQ_ENB(index), index 361 drivers/media/platform/vsp1/vsp1_wpf.c vsp1_dl_body_write(dlb, VI6_WPF_WRBCK_CTRL(index), index 563 drivers/media/platform/vsp1/vsp1_wpf.c struct vsp1_rwpf *vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index) index 583 drivers/media/platform/vsp1/vsp1_wpf.c wpf->entity.index = index; index 585 drivers/media/platform/vsp1/vsp1_wpf.c sprintf(name, "wpf.%u", index); index 592 drivers/media/platform/vsp1/vsp1_wpf.c wpf->dlm = vsp1_dlm_create(vsp1, index, 64); index 602 drivers/media/platform/vsp1/vsp1_wpf.c index); index 53 drivers/media/platform/xilinx/xilinx-dma.c *pad = remote->index; index 516 drivers/media/platform/xilinx/xilinx-dma.c if (f->index > 0) index 328 drivers/media/platform/xilinx/xilinx-tpg.c if (fse->index || fse->code != format->code) index 260 drivers/media/platform/xilinx/xilinx-vip.c if (code->index) index 300 drivers/media/platform/xilinx/xilinx-vip.c if (fse->index || fse->code != format->code) index 153 drivers/media/platform/xilinx/xilinx-vipp.c local->name, local_pad->index, index 154 drivers/media/platform/xilinx/xilinx-vipp.c remote->name, remote_pad->index); index 156 drivers/media/platform/xilinx/xilinx-vipp.c ret = media_create_pad_link(local, local_pad->index, index 157 drivers/media/platform/xilinx/xilinx-vipp.c remote, remote_pad->index, index 162 drivers/media/platform/xilinx/xilinx-vipp.c local->name, local_pad->index, index 163 drivers/media/platform/xilinx/xilinx-vipp.c remote->name, remote_pad->index); index 264 drivers/media/platform/xilinx/xilinx-vipp.c source->name, source_pad->index, index 265 drivers/media/platform/xilinx/xilinx-vipp.c sink->name, sink_pad->index); index 267 drivers/media/platform/xilinx/xilinx-vipp.c ret = media_create_pad_link(source, source_pad->index, index 268 drivers/media/platform/xilinx/xilinx-vipp.c sink, sink_pad->index, index 273 drivers/media/platform/xilinx/xilinx-vipp.c source->name, source_pad->index, index 274 drivers/media/platform/xilinx/xilinx-vipp.c sink->name, sink_pad->index); index 437 drivers/media/platform/xilinx/xilinx-vipp.c unsigned int index; index 451 drivers/media/platform/xilinx/xilinx-vipp.c of_property_read_u32(node, "reg", &index); index 457 drivers/media/platform/xilinx/xilinx-vipp.c ret = xvip_dma_init(xdev, dma, type, index); index 179 drivers/media/radio/dsbr100.c if (v->index > 0) index 198 drivers/media/radio/dsbr100.c return v->index ? -EINVAL : 0; index 96 drivers/media/radio/radio-cadet.c .index = 0, index 103 drivers/media/radio/radio-cadet.c .index = 1, index 368 drivers/media/radio/radio-cadet.c if (v->index) index 396 drivers/media/radio/radio-cadet.c return v->index ? -EINVAL : 0; index 404 drivers/media/radio/radio-cadet.c if (band->index >= ARRAY_SIZE(bands)) index 406 drivers/media/radio/radio-cadet.c *band = bands[band->index]; index 49 drivers/media/radio/radio-isa.c if (v->index > 0) index 79 drivers/media/radio/radio-isa.c if (v->index) index 179 drivers/media/radio/radio-keene.c if (v->index > 0) index 195 drivers/media/radio/radio-keene.c if (v->index > 0) index 203 drivers/media/radio/radio-ma901.c if (v->index > 0) index 231 drivers/media/radio/radio-ma901.c if (v->index > 0) index 231 drivers/media/radio/radio-miropcm20.c if (v->index) index 258 drivers/media/radio/radio-miropcm20.c if (v->index) index 274 drivers/media/radio/radio-mr800.c if (v->index > 0) index 300 drivers/media/radio/radio-mr800.c if (v->index > 0) index 77 drivers/media/radio/radio-raremono.c .index = 0, index 87 drivers/media/radio/radio-raremono.c .index = 1, index 96 drivers/media/radio/radio-raremono.c .index = 2, index 196 drivers/media/radio/radio-raremono.c if (band->index >= ARRAY_SIZE(bands)) index 199 drivers/media/radio/radio-raremono.c *band = bands[band->index]; index 210 drivers/media/radio/radio-raremono.c if (v->index > 0) index 236 drivers/media/radio/radio-raremono.c return v->index ? -EINVAL : 0; index 144 drivers/media/radio/radio-sf16fmi.c if (v->index > 0) index 161 drivers/media/radio/radio-sf16fmi.c return v->index ? -EINVAL : 0; index 51 drivers/media/radio/radio-si476x.c .index = SI476X_BAND_FM, index 63 drivers/media/radio/radio-si476x.c .index = SI476X_BAND_AM, index 355 drivers/media/radio/radio-si476x.c if (band->index < ARRAY_SIZE(si476x_bands)) { index 356 drivers/media/radio/radio-si476x.c *band = si476x_bands[band->index]; index 365 drivers/media/radio/radio-si476x.c if (band->index == SI476X_BAND_FM) { index 366 drivers/media/radio/radio-si476x.c *band = si476x_bands[band->index]; index 394 drivers/media/radio/radio-si476x.c if (tuner->index != 0) index 461 drivers/media/radio/radio-si476x.c if (tuner->index != 0) index 294 drivers/media/radio/radio-tea5764.c if (v->index > 0) index 319 drivers/media/radio/radio-tea5764.c if (v->index > 0) index 141 drivers/media/radio/radio-tea5777.c .index = 0, index 152 drivers/media/radio/radio-tea5777.c .index = 1, index 271 drivers/media/radio/radio-tea5777.c if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || index 272 drivers/media/radio/radio-tea5777.c (!tea->has_am && band->index == BAND_AM)) index 275 drivers/media/radio/radio-tea5777.c *band = bands[band->index]; index 285 drivers/media/radio/radio-tea5777.c if (v->index > 0) index 327 drivers/media/radio/radio-tea5777.c if (v->index) index 1471 drivers/media/radio/radio-wl1273.c if (audio->index > 1) index 1487 drivers/media/radio/radio-wl1273.c if (audio->index != 0) index 1506 drivers/media/radio/radio-wl1273.c if (tuner->index > 0) index 1568 drivers/media/radio/radio-wl1273.c dev_dbg(radio->dev, "tuner->index: %d\n", tuner->index); index 1575 drivers/media/radio/radio-wl1273.c if (tuner->index > 0) index 1728 drivers/media/radio/radio-wl1273.c if (modulator->index > 0) index 136 drivers/media/radio/si470x/radio-si470x-common.c .index = 0, index 148 drivers/media/radio/si470x/radio-si470x-common.c .index = 1, index 160 drivers/media/radio/si470x/radio-si470x-common.c .index = 2, index 606 drivers/media/radio/si470x/radio-si470x-common.c if (tuner->index != 0) index 665 drivers/media/radio/si470x/radio-si470x-common.c if (tuner->index != 0) index 747 drivers/media/radio/si470x/radio-si470x-common.c if (band->index >= ARRAY_SIZE(bands)) index 749 drivers/media/radio/si470x/radio-si470x-common.c *band = bands[band->index]; index 1064 drivers/media/radio/si4713/si4713.c vm.index = 0; index 1263 drivers/media/radio/si4713/si4713.c if (vm->index > 0) index 1311 drivers/media/radio/si4713/si4713.c if (vm->index > 0) index 52 drivers/media/radio/tea575x.c .index = 0, index 61 drivers/media/radio/tea575x.c .index = 0, index 70 drivers/media/radio/tea575x.c .index = 1, index 235 drivers/media/radio/tea575x.c int index; index 240 drivers/media/radio/tea575x.c switch (band->index) { index 243 drivers/media/radio/tea575x.c index = BAND_FM_JAPAN; index 245 drivers/media/radio/tea575x.c index = BAND_FM; index 249 drivers/media/radio/tea575x.c index = BAND_AM; index 257 drivers/media/radio/tea575x.c *band = bands[index]; index 277 drivers/media/radio/tea575x.c if (v->index > 0) index 311 drivers/media/radio/tea575x.c if (v->index) index 70 drivers/media/radio/tef6862.c if (v->index > 0) index 88 drivers/media/radio/tef6862.c return v->index ? -EINVAL : 0; index 191 drivers/media/radio/wl128x/fmdrv_common.c u8 index; index 204 drivers/media/radio/wl128x/fmdrv_common.c for (index = 0; index < len; index++) index 206 drivers/media/radio/wl128x/fmdrv_common.c skb->data[FM_CMD_MSG_HDR_SIZE + index]); index 216 drivers/media/radio/wl128x/fmdrv_common.c u8 index; index 229 drivers/media/radio/wl128x/fmdrv_common.c for (index = 0; index < len; index++) index 231 drivers/media/radio/wl128x/fmdrv_common.c skb->data[FM_EVT_MSG_HDR_SIZE + index]); index 627 drivers/media/radio/wl128x/fmdrv_common.c u8 index; index 652 drivers/media/radio/wl128x/fmdrv_common.c for (index = 0; index < stat_info->afcache_size; index++) { index 653 drivers/media/radio/wl128x/fmdrv_common.c if (stat_info->af_cache[index] == freq) index 657 drivers/media/radio/wl128x/fmdrv_common.c if (index == stat_info->af_list_max) { index 665 drivers/media/radio/wl128x/fmdrv_common.c if (index == stat_info->afcache_size) { index 666 drivers/media/radio/wl128x/fmdrv_common.c fmdbg("Storing AF %d to cache index %d\n", freq, index); index 667 drivers/media/radio/wl128x/fmdrv_common.c stat_info->af_cache[index] = freq; index 679 drivers/media/radio/wl128x/fmdrv_common.c u8 index = 0; index 689 drivers/media/radio/wl128x/fmdrv_common.c while (index + 1 < FM_RX_RDS_INFO_FIELD_MAX) { index 690 drivers/media/radio/wl128x/fmdrv_common.c swap(rds_buff[index], rds_buff[index + 1]); index 691 drivers/media/radio/wl128x/fmdrv_common.c index += 2; index 245 drivers/media/radio/wl128x/fmdrv_v4l2.c if (audio->index != 0) index 262 drivers/media/radio/wl128x/fmdrv_v4l2.c if (tuner->index != 0) index 323 drivers/media/radio/wl128x/fmdrv_v4l2.c if (tuner->index != 0) index 415 drivers/media/radio/wl128x/fmdrv_v4l2.c if (mod->index != 0) index 441 drivers/media/radio/wl128x/fmdrv_v4l2.c if (mod->index != 0) index 484 drivers/media/rc/ati_remote.c int index = -1; index 549 drivers/media/rc/ati_remote.c index = i; index 556 drivers/media/rc/ati_remote.c if (index >= 0 && ati_remote_tbl[index].kind == KIND_LITERAL) { index 561 drivers/media/rc/ati_remote.c input_event(dev, EV_KEY, ati_remote_tbl[index].code, index 566 drivers/media/rc/ati_remote.c } else if (index < 0 || ati_remote_tbl[index].kind == KIND_FILTERED) { index 591 drivers/media/rc/ati_remote.c if (index >= 0) { index 592 drivers/media/rc/ati_remote.c input_event(dev, EV_KEY, ati_remote_tbl[index].code, 1); index 593 drivers/media/rc/ati_remote.c input_event(dev, EV_KEY, ati_remote_tbl[index].code, 0); index 623 drivers/media/rc/ati_remote.c } else if (ati_remote_tbl[index].kind == KIND_ACCEL) { index 624 drivers/media/rc/ati_remote.c signed char dx = ati_remote_tbl[index].code >> 8; index 625 drivers/media/rc/ati_remote.c signed char dy = ati_remote_tbl[index].code & 255; index 641 drivers/media/rc/ati_remote.c ati_remote_tbl[index].kind); index 1000 drivers/media/rc/ite-cir.c static inline u8 it8709_rm(struct ite_dev *dev, int index) index 1002 drivers/media/rc/ite-cir.c outb(index, dev->cir_addr + IT8709_RAM_IDX); index 1007 drivers/media/rc/ite-cir.c static inline void it8709_wm(struct ite_dev *dev, u8 val, int index) index 1009 drivers/media/rc/ite-cir.c outb(index, dev->cir_addr + IT8709_RAM_IDX); index 1028 drivers/media/rc/ite-cir.c static u8 it8709_rr(struct ite_dev *dev, int index) index 1032 drivers/media/rc/ite-cir.c it8709_wm(dev, index, IT8709_REG_IDX); index 1043 drivers/media/rc/ite-cir.c static void it8709_wr(struct ite_dev *dev, u8 val, int index) index 1049 drivers/media/rc/ite-cir.c it8709_wm(dev, index, IT8709_REG_IDX); index 280 drivers/media/rc/rc-main.c unsigned int index, index 283 drivers/media/rc/rc-main.c int old_keycode = rc_map->scan[index].keycode; index 289 drivers/media/rc/rc-main.c index, rc_map->scan[index].scancode); index 291 drivers/media/rc/rc-main.c memmove(&rc_map->scan[index], &rc_map->scan[index+ 1], index 292 drivers/media/rc/rc-main.c (rc_map->len - index) * sizeof(struct rc_map_table)); index 295 drivers/media/rc/rc-main.c index, index 297 drivers/media/rc/rc-main.c rc_map->scan[index].scancode, new_keycode); index 298 drivers/media/rc/rc-main.c rc_map->scan[index].keycode = new_keycode; index 396 drivers/media/rc/rc-main.c unsigned int index; index 404 drivers/media/rc/rc-main.c index = ke->index; index 405 drivers/media/rc/rc-main.c if (index >= rc_map->len) { index 414 drivers/media/rc/rc-main.c index = ir_establish_scancode(rdev, rc_map, scancode, true); index 415 drivers/media/rc/rc-main.c if (index >= rc_map->len) { index 421 drivers/media/rc/rc-main.c *old_keycode = ir_update_mapping(rdev, rc_map, index, ke->keycode); index 441 drivers/media/rc/rc-main.c unsigned int i, index; index 450 drivers/media/rc/rc-main.c index = ir_establish_scancode(dev, rc_map, index 452 drivers/media/rc/rc-main.c if (index >= rc_map->len) { index 457 drivers/media/rc/rc-main.c ir_update_mapping(dev, rc_map, index, index 518 drivers/media/rc/rc-main.c unsigned int index; index 525 drivers/media/rc/rc-main.c index = ke->index; index 531 drivers/media/rc/rc-main.c index = ir_lookup_by_scancode(rc_map, scancode); index 534 drivers/media/rc/rc-main.c if (index < rc_map->len) { index 535 drivers/media/rc/rc-main.c entry = &rc_map->scan[index]; index 537 drivers/media/rc/rc-main.c ke->index = index; index 548 drivers/media/rc/rc-main.c ke->index = index; index 577 drivers/media/rc/rc-main.c unsigned int index; index 582 drivers/media/rc/rc-main.c index = ir_lookup_by_scancode(rc_map, scancode); index 583 drivers/media/rc/rc-main.c keycode = index < rc_map->len ? index 584 drivers/media/rc/rc-main.c rc_map->scan[index].keycode : KEY_RESERVED; index 316 drivers/media/spi/gs1662.c if (timings->index >= ARRAY_SIZE(fmt_cap)) index 322 drivers/media/spi/gs1662.c timings->timings = fmt_cap[timings->index]; index 264 drivers/media/tuners/e4000.c .index = 0, index 271 drivers/media/tuners/e4000.c .index = 1, index 300 drivers/media/tuners/e4000.c dev_dbg(&client->dev, "index=%d\n", v->index); index 315 drivers/media/tuners/e4000.c dev_dbg(&client->dev, "index=%d\n", v->index); index 350 drivers/media/tuners/e4000.c band->tuner, band->type, band->index); index 352 drivers/media/tuners/e4000.c if (band->index >= ARRAY_SIZE(bands)) index 355 drivers/media/tuners/e4000.c band->capability = bands[band->index].capability; index 356 drivers/media/tuners/e4000.c band->rangelow = bands[band->index].rangelow; index 357 drivers/media/tuners/e4000.c band->rangehigh = bands[band->index].rangehigh; index 364 drivers/media/tuners/fc2580.c .index = 0, index 393 drivers/media/tuners/fc2580.c dev_dbg(&client->dev, "index=%d\n", v->index); index 408 drivers/media/tuners/fc2580.c dev_dbg(&client->dev, "index=%d\n", v->index); index 443 drivers/media/tuners/fc2580.c band->tuner, band->type, band->index); index 445 drivers/media/tuners/fc2580.c if (band->index >= ARRAY_SIZE(bands)) index 448 drivers/media/tuners/fc2580.c band->capability = bands[band->index].capability; index 449 drivers/media/tuners/fc2580.c band->rangelow = bands[band->index].rangelow; index 450 drivers/media/tuners/fc2580.c band->rangehigh = bands[band->index].rangehigh; index 17 drivers/media/tuners/msi001.c .index = 0, index 23 drivers/media/tuners/msi001.c .index = 1, index 297 drivers/media/tuners/msi001.c dev_dbg(&spi->dev, "index=%d\n", v->index); index 313 drivers/media/tuners/msi001.c dev_dbg(&spi->dev, "index=%d\n", v->index); index 354 drivers/media/tuners/msi001.c band->tuner, band->type, band->index); index 356 drivers/media/tuners/msi001.c if (band->index >= ARRAY_SIZE(bands)) index 359 drivers/media/tuners/msi001.c band->capability = bands[band->index].capability; index 360 drivers/media/tuners/msi001.c band->rangelow = bands[band->index].rangelow; index 361 drivers/media/tuners/msi001.c band->rangehigh = bands[band->index].rangehigh; index 301 drivers/media/tuners/xc4000.c unsigned int len, pos, index; index 304 drivers/media/tuners/xc4000.c index = 0; index 305 drivers/media/tuners/xc4000.c while ((i2c_sequence[index] != 0xFF) || index 306 drivers/media/tuners/xc4000.c (i2c_sequence[index + 1] != 0xFF)) { index 307 drivers/media/tuners/xc4000.c len = i2c_sequence[index] * 256 + i2c_sequence[index+1]; index 312 drivers/media/tuners/xc4000.c index += 2; index 316 drivers/media/tuners/xc4000.c index += 2; index 321 drivers/media/tuners/xc4000.c index += 2; index 322 drivers/media/tuners/xc4000.c buf[0] = i2c_sequence[index]; index 323 drivers/media/tuners/xc4000.c buf[1] = i2c_sequence[index + 1]; index 332 drivers/media/tuners/xc4000.c buf[i] = i2c_sequence[index + pos + index 343 drivers/media/tuners/xc4000.c index += len; index 354 drivers/media/tuners/xc5000.c unsigned int len, pos, index; index 357 drivers/media/tuners/xc5000.c index = 0; index 358 drivers/media/tuners/xc5000.c while ((i2c_sequence[index] != 0xFF) || index 359 drivers/media/tuners/xc5000.c (i2c_sequence[index + 1] != 0xFF)) { index 360 drivers/media/tuners/xc5000.c len = i2c_sequence[index] * 256 + i2c_sequence[index+1]; index 364 drivers/media/tuners/xc5000.c index += 2; index 370 drivers/media/tuners/xc5000.c index += 2; index 375 drivers/media/tuners/xc5000.c index += 2; index 376 drivers/media/tuners/xc5000.c buf[0] = i2c_sequence[index]; index 377 drivers/media/tuners/xc5000.c buf[1] = i2c_sequence[index + 1]; index 386 drivers/media/tuners/xc5000.c buf[i] = i2c_sequence[index + pos + index 397 drivers/media/tuners/xc5000.c index += len; index 54 drivers/media/usb/airspy/airspy.c .index = 0, index 65 drivers/media/usb/airspy/airspy.c .index = 0, index 160 drivers/media/usb/airspy/airspy.c static int airspy_ctrl_msg(struct airspy *s, u8 request, u16 value, u16 index, index 195 drivers/media/usb/airspy/airspy.c index, s->buf, size, 1000); index 197 drivers/media/usb/airspy/airspy.c index, s->buf, size); index 620 drivers/media/usb/airspy/airspy.c if (f->index >= NUM_FORMATS) index 623 drivers/media/usb/airspy/airspy.c f->pixelformat = formats[f->index].pixelformat; index 692 drivers/media/usb/airspy/airspy.c if (v->index == 0) index 694 drivers/media/usb/airspy/airspy.c else if (v->index == 1) index 706 drivers/media/usb/airspy/airspy.c if (v->index == 0) { index 713 drivers/media/usb/airspy/airspy.c } else if (v->index == 1) { index 786 drivers/media/usb/airspy/airspy.c if (band->index >= ARRAY_SIZE(bands)) { index 789 drivers/media/usb/airspy/airspy.c *band = bands[band->index]; index 793 drivers/media/usb/airspy/airspy.c if (band->index >= ARRAY_SIZE(bands_rf)) { index 796 drivers/media/usb/airspy/airspy.c *band = bands_rf[band->index]; index 95 drivers/media/usb/as102/as102_drv.c int index, u16 pid, int onoff) { index 111 drivers/media/usb/as102/as102_drv.c index, pid, ret); index 124 drivers/media/usb/as102/as102_drv.c index, filter.idx, filter.pid, ret); index 143 drivers/media/usb/as102/as102_drv.c as10x_pid_filter(as102_dev, dvbdmxfeed->index, index 165 drivers/media/usb/as102/as102_drv.c as10x_pid_filter(as102_dev, dvbdmxfeed->index, index 41 drivers/media/usb/au0828/au0828-core.c u16 index); index 43 drivers/media/usb/au0828/au0828-core.c u16 index, unsigned char *cp, u16 size); index 66 drivers/media/usb/au0828/au0828-core.c u16 index) index 78 drivers/media/usb/au0828/au0828-core.c value, index, NULL, 0, 1000); index 93 drivers/media/usb/au0828/au0828-core.c u16 index, unsigned char *cp, u16 size) index 102 drivers/media/usb/au0828/au0828-core.c value, index, index 1204 drivers/media/usb/au0828/au0828-video.c if (f->index) index 1328 drivers/media/usb/au0828/au0828-video.c tmp = input->index; index 1335 drivers/media/usb/au0828/au0828-video.c input->index = tmp; index 1362 drivers/media/usb/au0828/au0828-video.c static void au0828_s_input(struct au0828_dev *dev, int index) index 1369 drivers/media/usb/au0828/au0828-video.c switch (AUVI_INPUT(index).type) { index 1384 drivers/media/usb/au0828/au0828-video.c AUVI_INPUT(index).type); index 1388 drivers/media/usb/au0828/au0828-video.c dev->ctrl_input = index; index 1391 drivers/media/usb/au0828/au0828-video.c AUVI_INPUT(index).vmux, 0, 0); index 1398 drivers/media/usb/au0828/au0828-video.c if (i == index) index 1408 drivers/media/usb/au0828/au0828-video.c ((AUVI_INPUT(index).audio_setup))) { index 1415 drivers/media/usb/au0828/au0828-video.c AUVI_INPUT(index).amux, 0, 0); index 1418 drivers/media/usb/au0828/au0828-video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int index) index 1424 drivers/media/usb/au0828/au0828-video.c index); index 1425 drivers/media/usb/au0828/au0828-video.c if (index >= AU0828_MAX_INPUT) index 1427 drivers/media/usb/au0828/au0828-video.c if (AUVI_INPUT(index).type == 0) index 1430 drivers/media/usb/au0828/au0828-video.c if (dev->ctrl_input == index) index 1433 drivers/media/usb/au0828/au0828-video.c au0828_s_input(dev, index); index 1446 drivers/media/usb/au0828/au0828-video.c if (a->index > 1) index 1451 drivers/media/usb/au0828/au0828-video.c if (a->index == 0) index 1467 drivers/media/usb/au0828/au0828-video.c a->index = dev->ctrl_ainput; index 1468 drivers/media/usb/au0828/au0828-video.c if (a->index == 0) index 1481 drivers/media/usb/au0828/au0828-video.c if (a->index != dev->ctrl_ainput) index 1495 drivers/media/usb/au0828/au0828-video.c if (t->index != 0) index 1519 drivers/media/usb/au0828/au0828-video.c if (t->index != 0) index 222 drivers/media/usb/cpia2/cpia2.h u8 index; index 227 drivers/media/usb/cpia2/cpia2.h u8 index; index 247 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_ST_CTRL; index 250 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VC_ST_CTRL; index 260 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = index 262 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = index 380 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_VC_TARGET_KB; index 386 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_VC_JPEG_OPT; index 389 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VC_VC_USER_SQUEEZE; index 391 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[2].index = CPIA2_VC_VC_CREEP_PERIOD; index 393 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[3].index = CPIA2_VC_VC_JPEG_OPT; index 583 drivers/media/usb/cpia2/cpia2_core.c DIR(cmd), cmd->buffer.registers[i].index, index 638 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VC_ST_CTRL; index 641 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VC_ST_CTRL; index 653 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_SYSTEM_INT_PACKET_CTRL; index 675 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VP5_MYBLACK_LEVEL; index 678 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VP5_MCYRANGE; index 682 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[2].index = CPIA2_VP5_MYCEILING; index 686 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[3].index = CPIA2_VP5_MCUVSATURATION; index 690 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[4].index = CPIA2_VP5_ANTIFLKRSETUP; index 695 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[5].index = CPIA2_VP_RAM_ADDR_H; index 697 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[6].index = CPIA2_VP_RAM_ADDR_L; index 699 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[7].index = CPIA2_VP_RAM_DATA; index 701 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[8].index = CPIA2_VP_RAM_DATA; index 737 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VP_SYSTEMCTRL; index 738 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VP_DEVICE_CONFIG; index 784 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[0].index = CPIA2_VP_DEVICE_CONFIG; index 785 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[1].index = CPIA2_VP_SYSTEMCTRL; index 1198 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_FORMAT; index 1209 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_CLOCKS; index 1239 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_IHSIZE_LO; index 1248 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_HI; index 1254 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_LO; index 1260 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_HI; index 1266 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_LO; index 1273 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OHSIZE; index 1276 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OVSIZE; index 1280 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HCROP; index 1288 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VCROP; index 1297 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HPHASE; index 1300 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VPHASE; index 1303 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HISPAN; index 1306 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VISPAN; index 1309 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HICROP; index 1312 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VICROP; index 1315 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HFRACT; index 1318 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VFRACT; index 1373 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_FORMAT; index 1380 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_CLOCKS; index 1403 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_IHSIZE_LO; index 1414 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_HI; index 1420 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_XLIM_LO; index 1428 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_HI; index 1434 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_YLIM_LO; index 1443 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OHSIZE; index 1449 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_OVSIZE; index 1456 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HCROP; index 1470 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VCROP; index 1485 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HPHASE; index 1491 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VPHASE; index 1497 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HISPAN; index 1503 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VISPAN; index 1509 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HICROP; index 1512 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VICROP; index 1515 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_HFRACT; index 1521 drivers/media/usb/cpia2/cpia2_core.c cmd.buffer.registers[i].index = CPIA2_VC_VC_VFRACT; index 266 drivers/media/usb/cpia2/cpia2_v4l.c if (i->index) index 295 drivers/media/usb/cpia2/cpia2_v4l.c if (f->index > 1) index 298 drivers/media/usb/cpia2/cpia2_v4l.c if (f->index == 0) index 557 drivers/media/usb/cpia2/cpia2_v4l.c if (fsize->index >= ARRAY_SIZE(cpia2_framesizes)) index 560 drivers/media/usb/cpia2/cpia2_v4l.c fsize->discrete.width = cpia2_framesizes[fsize->index].width; index 561 drivers/media/usb/cpia2/cpia2_v4l.c fsize->discrete.height = cpia2_framesizes[fsize->index].height; index 581 drivers/media/usb/cpia2/cpia2_v4l.c if (fival->index > max) index 590 drivers/media/usb/cpia2/cpia2_v4l.c fival->discrete = framerate_controls[fival->index].period; index 779 drivers/media/usb/cpia2/cpia2_v4l.c buf->index >= cam->num_frames) index 782 drivers/media/usb/cpia2/cpia2_v4l.c buf->m.offset = cam->buffers[buf->index].data - cam->frame_buffer; index 794 drivers/media/usb/cpia2/cpia2_v4l.c switch (cam->buffers[buf->index].status) { index 802 drivers/media/usb/cpia2/cpia2_v4l.c buf->bytesused = cam->buffers[buf->index].length; index 803 drivers/media/usb/cpia2/cpia2_v4l.c buf->timestamp = ns_to_timeval(cam->buffers[buf->index].ts); index 804 drivers/media/usb/cpia2/cpia2_v4l.c buf->sequence = cam->buffers[buf->index].seq; index 810 drivers/media/usb/cpia2/cpia2_v4l.c buf->index, buf->m.offset, buf->flags, buf->sequence, index 830 drivers/media/usb/cpia2/cpia2_v4l.c buf->index >= cam->num_frames) index 833 drivers/media/usb/cpia2/cpia2_v4l.c DBG("QBUF #%d\n", buf->index); index 835 drivers/media/usb/cpia2/cpia2_v4l.c if(cam->buffers[buf->index].status == FRAME_READY) index 836 drivers/media/usb/cpia2/cpia2_v4l.c cam->buffers[buf->index].status = FRAME_EMPTY; index 905 drivers/media/usb/cpia2/cpia2_v4l.c buf->index = frame; index 906 drivers/media/usb/cpia2/cpia2_v4l.c buf->bytesused = cam->buffers[buf->index].length; index 910 drivers/media/usb/cpia2/cpia2_v4l.c buf->timestamp = ns_to_timeval(cam->buffers[buf->index].ts); index 911 drivers/media/usb/cpia2/cpia2_v4l.c buf->sequence = cam->buffers[buf->index].seq; index 912 drivers/media/usb/cpia2/cpia2_v4l.c buf->m.offset = cam->buffers[buf->index].data - cam->frame_buffer; index 918 drivers/media/usb/cpia2/cpia2_v4l.c DBG("DQBUF #%d status:%d seq:%d length:%d\n", buf->index, index 919 drivers/media/usb/cpia2/cpia2_v4l.c cam->buffers[buf->index].status, buf->sequence, buf->bytesused); index 1593 drivers/media/usb/cx231xx/cx231xx-417.c if (f->index != 0) index 31 drivers/media/usb/cx231xx/cx231xx-audio.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 658 drivers/media/usb/cx231xx/cx231xx-audio.c err = snd_card_new(dev->dev, index[devnr], "Cx231xx Audio", index 226 drivers/media/usb/cx231xx/cx231xx-core.c __u8 request, __u8 requesttype, __u16 value, __u16 index, index 239 drivers/media/usb/cx231xx/cx231xx-core.c index & 0xff, index >> 8, index 254 drivers/media/usb/cx231xx/cx231xx-core.c index, dev->urb_buf, size, timeout); index 518 drivers/media/usb/cx231xx/cx231xx-core.c int cx231xx_set_alt_setting(struct cx231xx *dev, u8 index, u8 alt) index 524 drivers/media/usb/cx231xx/cx231xx-core.c switch (index) { index 776 drivers/media/usb/cx231xx/cx231xx-pcb-cfg.c (dev->current_pcb_config.index) + 1); index 171 drivers/media/usb/cx231xx/cx231xx-pcb-cfg.h u8 index; index 858 drivers/media/usb/cx231xx/cx231xx-video.c void video_mux(struct cx231xx *dev, int index) index 860 drivers/media/usb/cx231xx/cx231xx-video.c dev->video_input = index; index 861 drivers/media/usb/cx231xx/cx231xx-video.c dev->ctl_ainput = INPUT(index)->amux; index 863 drivers/media/usb/cx231xx/cx231xx-video.c cx231xx_set_video_input_mux(dev, index); index 865 drivers/media/usb/cx231xx/cx231xx-video.c cx25840_call(dev, video, s_routing, INPUT(index)->vmux, 0, 0); index 869 drivers/media/usb/cx231xx/cx231xx-video.c dev_dbg(dev->dev, "video_mux : %d\n", index); index 1150 drivers/media/usb/cx231xx/cx231xx-video.c n = i->index; index 1156 drivers/media/usb/cx231xx/cx231xx-video.c i->index = n; index 1231 drivers/media/usb/cx231xx/cx231xx-video.c if (0 != t->index) index 1255 drivers/media/usb/cx231xx/cx231xx-video.c if (0 != t->index) index 1577 drivers/media/usb/cx231xx/cx231xx-video.c if (unlikely(f->index >= ARRAY_SIZE(format))) index 1580 drivers/media/usb/cx231xx/cx231xx-video.c f->pixelformat = format[f->index].fourcc; index 1709 drivers/media/usb/cx231xx/cx231xx-video.c if (t->index) index 1722 drivers/media/usb/cx231xx/cx231xx-video.c if (t->index) index 873 drivers/media/usb/cx231xx/cx231xx.h int cx231xx_set_alt_setting(struct cx231xx *dev, u8 index, u8 alt); index 928 drivers/media/usb/cx231xx/cx231xx.h void video_mux(struct cx231xx *dev, int index); index 1087 drivers/media/usb/dvb-usb-v2/af9015.c static int af9015_pid_filter(struct dvb_usb_adapter *adap, int index, index 1095 drivers/media/usb/dvb-usb-v2/af9015.c ret = pdata->pid_filter(adap->fe[0], index, pid, onoff); index 1920 drivers/media/usb/dvb-usb-v2/af9035.c static int af9035_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, index 1925 drivers/media/usb/dvb-usb-v2/af9035.c return state->ops.pid_filter(adap->fe[0], index, pid, onoff); index 18 drivers/media/usb/dvb-usb-v2/au6610.c u16 index; index 31 drivers/media/usb/dvb-usb-v2/au6610.c index = wbuf[0] << 8; index 34 drivers/media/usb/dvb-usb-v2/au6610.c index = wbuf[0] << 8; index 35 drivers/media/usb/dvb-usb-v2/au6610.c index += wbuf[1]; index 45 drivers/media/usb/dvb-usb-v2/au6610.c USB_TYPE_VENDOR|USB_DIR_IN, addr << 1, index, index 49 drivers/media/usb/dvb-usb-v2/au6610.c (USB_TYPE_VENDOR|USB_DIR_IN), addr << 1, index, index 101 drivers/media/usb/dvb-usb-v2/az6007.c u16 index, u8 *b, int blen) index 109 drivers/media/usb/dvb-usb-v2/az6007.c value, index, b, blen, 5000); index 117 drivers/media/usb/dvb-usb-v2/az6007.c req, value, index); index 126 drivers/media/usb/dvb-usb-v2/az6007.c u16 index, u8 *b, int blen) index 134 drivers/media/usb/dvb-usb-v2/az6007.c ret = __az6007_read(d->udev, req, value, index, b, blen); index 142 drivers/media/usb/dvb-usb-v2/az6007.c u16 index, u8 *b, int blen) index 148 drivers/media/usb/dvb-usb-v2/az6007.c req, value, index); index 163 drivers/media/usb/dvb-usb-v2/az6007.c value, index, b, blen, 5000); index 173 drivers/media/usb/dvb-usb-v2/az6007.c u16 index, u8 *b, int blen) index 181 drivers/media/usb/dvb-usb-v2/az6007.c ret = __az6007_write(d->udev, req, value, index, b, blen); index 257 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 272 drivers/media/usb/dvb-usb-v2/az6007.c index = 0; index 275 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_read(d, req, value, index, b, blen); index 299 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 309 drivers/media/usb/dvb-usb-v2/az6007.c index = value; index 312 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_write(d, req, value1, index, NULL, blen); index 330 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 345 drivers/media/usb/dvb-usb-v2/az6007.c index = 0; index 348 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_read(d, req, value, index, b, blen); index 376 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 385 drivers/media/usb/dvb-usb-v2/az6007.c index = value; index 388 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_write(d, req, value1, index, NULL, blen); index 406 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 416 drivers/media/usb/dvb-usb-v2/az6007.c index = 0; index 419 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_read(d, req, value, index, b, blen); index 438 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 445 drivers/media/usb/dvb-usb-v2/az6007.c index = 0; index 448 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_write(d, req, value, index, NULL, blen); index 457 drivers/media/usb/dvb-usb-v2/az6007.c index = 0; index 460 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_write(d, req, value, index, NULL, blen); index 494 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 501 drivers/media/usb/dvb-usb-v2/az6007.c index = 0; index 504 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_write(d, req, value, index, NULL, blen); index 522 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 533 drivers/media/usb/dvb-usb-v2/az6007.c index = 0; index 536 drivers/media/usb/dvb-usb-v2/az6007.c ret = az6007_read(d, req, value, index, b, blen); index 749 drivers/media/usb/dvb-usb-v2/az6007.c u16 index; index 773 drivers/media/usb/dvb-usb-v2/az6007.c index = msgs[i].buf[0]; index 777 drivers/media/usb/dvb-usb-v2/az6007.c ret = __az6007_read(d->udev, req, value, index, index 791 drivers/media/usb/dvb-usb-v2/az6007.c index = msgs[i].buf[0]; index 797 drivers/media/usb/dvb-usb-v2/az6007.c ret = __az6007_write(d->udev, req, value, index, index 805 drivers/media/usb/dvb-usb-v2/az6007.c index = msgs[i].buf[0]; index 809 drivers/media/usb/dvb-usb-v2/az6007.c ret = __az6007_read(d->udev, req, value, index, index 19 drivers/media/usb/dvb-usb-v2/ce6230.c u16 index; index 24 drivers/media/usb/dvb-usb-v2/ce6230.c index = req->index; index 61 drivers/media/usb/dvb-usb-v2/ce6230.c ret = usb_control_msg(d->udev, pipe, request, requesttype, value, index, index 64 drivers/media/usb/dvb-usb-v2/ce6230.c dvb_usb_dbg_usb_control_msg(d->udev, request, requesttype, value, index, index 106 drivers/media/usb/dvb-usb-v2/ce6230.c req.index = msg[i].buf[0]; index 122 drivers/media/usb/dvb-usb-v2/ce6230.c req.index = msg[i].buf[0]; index 129 drivers/media/usb/dvb-usb-v2/ce6230.c req.index = 0x0000; index 20 drivers/media/usb/dvb-usb-v2/ce6230.h u16 index; /* [4|5] */ index 250 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvbdmxfeed->pid, dvbdmxfeed->index); index 316 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->props->pid_filter(adap, dvbdmxfeed->index, index 337 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c dvbdmxfeed->pid, dvbdmxfeed->index); index 344 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c ret = adap->props->pid_filter(adap, dvbdmxfeed->index, index 74 drivers/media/usb/dvb-usb-v2/ec168.c req->index, buf, req->size, EC168_USB_TIMEOUT); index 77 drivers/media/usb/dvb-usb-v2/ec168.c req->index, buf, req->size); index 120 drivers/media/usb/dvb-usb-v2/ec168.c req.index = 0xff00 + msg[i].buf[0]; /* reg */ index 136 drivers/media/usb/dvb-usb-v2/ec168.c req.index = 0xff00 + msg[i].buf[0]; /* reg */ index 144 drivers/media/usb/dvb-usb-v2/ec168.c req.index = 0x0100 + msg[i].addr; /* I2C addr */ index 212 drivers/media/usb/dvb-usb-v2/ec168.c req.index = fw->size - remaining; index 228 drivers/media/usb/dvb-usb-v2/ec168.c req.index = 0x0001; index 236 drivers/media/usb/dvb-usb-v2/ec168.c req.index = 0x0206; index 244 drivers/media/usb/dvb-usb-v2/ec168.c req.index = 0x00c6; index 305 drivers/media/usb/dvb-usb-v2/ec168.c req.index = 0x0102; index 19 drivers/media/usb/dvb-usb-v2/ec168.h u16 index; /* [4|5] */ index 20 drivers/media/usb/dvb-usb-v2/gl861.c u16 index; index 41 drivers/media/usb/dvb-usb-v2/gl861.c index = wbuf[0]; index 44 drivers/media/usb/dvb-usb-v2/gl861.c index = wbuf[0]; index 57 drivers/media/usb/dvb-usb-v2/gl861.c value, index, buf, rlen, 2000); index 180 drivers/media/usb/dvb-usb-v2/lmedm04.c static int lme2510_enable_pid(struct dvb_usb_device *d, u8 index, u16 pid_out) index 185 drivers/media/usb/dvb-usb-v2/lmedm04.c u8 pid_no = index * 2; index 428 drivers/media/usb/dvb-usb-v2/lmedm04.c static int lme2510_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, index 435 drivers/media/usb/dvb-usb-v2/lmedm04.c pid, index, onoff); index 439 drivers/media/usb/dvb-usb-v2/lmedm04.c ret |= lme2510_enable_pid(d, index, pid); index 308 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c u8 index, u8 *wdata) index 318 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c u8 index, u8 *wdata, u8 *rdata) index 431 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c u16 index = 0; index 444 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c for (index = 0; index < 26; index++) index 445 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c buf[index] = USB_END_I2C_CMD; index 514 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c for (index = 0; index < block_len; index++) { index 518 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c buf[3+(i*3)] = msg->buf[(index*8)+i]; index 548 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c buf[3+(i*3)] = msg->buf[(index*8)+i]; index 550 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c index, i, msg->buf[(index*8)+i]); index 617 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c index = 0; index 626 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c for (index = 0; index < block_len; index++) { index 657 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c msg->buf[(index*8)+i] = index 669 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c msg->buf[(index*8)+(k+i+1)] = index 672 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c msg->buf[(index*8)+(k+i)], index 673 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c (index*8)+(k+i)); index 675 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c msg->buf[(index*8)+(k+i+1)], index 684 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c msg->buf[(index*8)+i] = index 688 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c msg->buf[(index*8)+i] = index 32 drivers/media/usb/dvb-usb-v2/rtl28xxu.c if (req->index & CMD_WR_FLAG) { index 44 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req->index, dev->buf, req->size, 1000); index 46 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req->index, dev->buf, req->size); index 68 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_USB_WR; index 70 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_SYS_WR; index 72 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_IR_WR; index 86 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_USB_RD; index 88 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_SYS_RD; index 90 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_IR_RD; index 177 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_DEMOD_RD | dev->page; index 185 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_I2C_RD; index 192 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_I2C_DA_WR; index 200 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_I2C_DA_RD; index 219 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_DEMOD_WR | dev->page; index 227 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_I2C_WR; index 234 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_I2C_DA_WR; index 241 drivers/media/usb/dvb-usb-v2/rtl28xxu.c req.index = CMD_I2C_DA_RD; index 1840 drivers/media/usb/dvb-usb-v2/rtl28xxu.c static int rtl28xxu_pid_filter(struct dvb_usb_adapter *adap, int index, index 1848 drivers/media/usb/dvb-usb-v2/rtl28xxu.c return pdata->pid_filter(adap->fe[0], index, pid, onoff); index 1852 drivers/media/usb/dvb-usb-v2/rtl28xxu.c return pdata->pid_filter(adap->fe[0], index, pid, onoff); index 117 drivers/media/usb/dvb-usb-v2/rtl28xxu.h u16 index; index 913 drivers/media/usb/dvb-usb/af9005.c static int af9005_pid_filter(struct dvb_usb_adapter *adap, int index, index 916 drivers/media/usb/dvb-usb/af9005.c u8 cmd = index & 0x1f; index 918 drivers/media/usb/dvb-usb/af9005.c deb_info("set pid filter, index %d, pid %x, onoff %d\n", index, index 299 drivers/media/usb/dvb-usb/az6027.c u16 value, u16 index, u8 *b, int blen) index 310 drivers/media/usb/dvb-usb/az6027.c index, index 321 drivers/media/usb/dvb-usb/az6027.c deb_xfer("in: req. %02x, val: %04x, ind: %04x, buffer: ", req, value, index); index 331 drivers/media/usb/dvb-usb/az6027.c u16 index, index 337 drivers/media/usb/dvb-usb/az6027.c deb_xfer("out: req. %02x, val: %04x, ind: %04x, buffer: ", req, value, index); index 348 drivers/media/usb/dvb-usb/az6027.c index, index 368 drivers/media/usb/dvb-usb/az6027.c u16 index; index 375 drivers/media/usb/dvb-usb/az6027.c index = 0; index 378 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); index 415 drivers/media/usb/dvb-usb/az6027.c u16 index; index 430 drivers/media/usb/dvb-usb/az6027.c index = 0; index 433 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_in_op(d, req, value, index, b, blen); index 457 drivers/media/usb/dvb-usb/az6027.c u16 index; index 467 drivers/media/usb/dvb-usb/az6027.c index = value; index 470 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(d, req, value1, index, NULL, blen); index 488 drivers/media/usb/dvb-usb/az6027.c u16 index; index 503 drivers/media/usb/dvb-usb/az6027.c index = 0; index 506 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_in_op(d, req, value, index, b, blen); index 534 drivers/media/usb/dvb-usb/az6027.c u16 index; index 543 drivers/media/usb/dvb-usb/az6027.c index = value; index 546 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(d, req, value1, index, NULL, blen); index 564 drivers/media/usb/dvb-usb/az6027.c u16 index; index 574 drivers/media/usb/dvb-usb/az6027.c index = 0; index 577 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_in_op(d, req, value, index, b, blen); index 596 drivers/media/usb/dvb-usb/az6027.c u16 index; index 603 drivers/media/usb/dvb-usb/az6027.c index = 0; index 606 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(d, req, value, index, NULL, blen); index 615 drivers/media/usb/dvb-usb/az6027.c index = 0; index 618 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(d, req, value, index, NULL, blen); index 652 drivers/media/usb/dvb-usb/az6027.c u16 index; index 659 drivers/media/usb/dvb-usb/az6027.c index = 0; index 662 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(d, req, value, index, NULL, blen); index 680 drivers/media/usb/dvb-usb/az6027.c u16 index; index 691 drivers/media/usb/dvb-usb/az6027.c index = 0; index 694 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_in_op(d, req, value, index, b, blen); index 825 drivers/media/usb/dvb-usb/az6027.c u16 index; index 830 drivers/media/usb/dvb-usb/az6027.c index = 3; index 833 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); index 844 drivers/media/usb/dvb-usb/az6027.c u16 index; index 850 drivers/media/usb/dvb-usb/az6027.c index = 3; index 853 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); index 859 drivers/media/usb/dvb-usb/az6027.c index = 3; index 863 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); index 871 drivers/media/usb/dvb-usb/az6027.c index = 3; index 874 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); index 887 drivers/media/usb/dvb-usb/az6027.c u16 index; index 893 drivers/media/usb/dvb-usb/az6027.c index = 0; index 896 drivers/media/usb/dvb-usb/az6027.c ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); index 954 drivers/media/usb/dvb-usb/az6027.c u16 index; index 976 drivers/media/usb/dvb-usb/az6027.c index = 0; index 979 drivers/media/usb/dvb-usb/az6027.c az6027_usb_out_op(d, req, value, index, data, length); index 986 drivers/media/usb/dvb-usb/az6027.c index = (((msg[i].buf[0] << 8) & 0xff00) | (msg[i].buf[1] & 0x00ff)); index 989 drivers/media/usb/dvb-usb/az6027.c az6027_usb_in_op(d, req, value, index, data, length); index 999 drivers/media/usb/dvb-usb/az6027.c index = (((msg[i].buf[0] << 8) & 0xff00) | (msg[i].buf[1] & 0x00ff)); index 1005 drivers/media/usb/dvb-usb/az6027.c az6027_usb_out_op(d, req, value, index, data, length); index 1013 drivers/media/usb/dvb-usb/az6027.c index = 0x0; index 1016 drivers/media/usb/dvb-usb/az6027.c az6027_usb_in_op(d, req, value, index, data, length); index 1024 drivers/media/usb/dvb-usb/az6027.c index = msg[i].buf[0] & 0x00FF; index 1032 drivers/media/usb/dvb-usb/az6027.c az6027_usb_out_op(d, req, value, index, data, length); index 985 drivers/media/usb/dvb-usb/cxusb-analog.c if (f->index != 0) index 1092 drivers/media/usb/dvb-usb/cxusb-analog.c u32 index = inp->index; index 1094 drivers/media/usb/dvb-usb/cxusb-analog.c if (index >= CXUSB_INPUT_CNT) index 1097 drivers/media/usb/dvb-usb/cxusb-analog.c *inp = cxusb_medion_inputs[index].input; index 1098 drivers/media/usb/dvb-usb/cxusb-analog.c inp->index = index; index 1101 drivers/media/usb/dvb-usb/cxusb-analog.c if (index == cxdev->input) { index 1223 drivers/media/usb/dvb-usb/cxusb-analog.c if (tuner->index != 0) index 1280 drivers/media/usb/dvb-usb/cxusb-analog.c if (tuner->index != 0) index 73 drivers/media/usb/dvb-usb/dib0700_core.c u16 index, value; index 89 drivers/media/usb/dvb-usb/dib0700_core.c index = 0; index 91 drivers/media/usb/dvb-usb/dib0700_core.c index |= (tx[2] << 8); index 93 drivers/media/usb/dvb-usb/dib0700_core.c index |= tx[3]; index 96 drivers/media/usb/dvb-usb/dib0700_core.c USB_TYPE_VENDOR | USB_DIR_IN, value, index, rx, rxlen, index 196 drivers/media/usb/dvb-usb/dib0700_core.c u16 index, value; index 203 drivers/media/usb/dvb-usb/dib0700_core.c index = ((gen_mode << 6) & 0xC0) | index 210 drivers/media/usb/dvb-usb/dib0700_core.c value, index, st->buf, index 916 drivers/media/usb/dvb-usb/dib0700_devices.c static int stk7700p_pid_filter(struct dvb_usb_adapter *adapter, int index, index 923 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); index 924 drivers/media/usb/dvb-usb/dib0700_devices.c return dib7000m_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); index 936 drivers/media/usb/dvb-usb/dib0700_devices.c static int stk70x0p_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff) index 939 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); index 1326 drivers/media/usb/dvb-usb/dib0700_devices.c static int stk80xx_pid_filter(struct dvb_usb_adapter *adapter, int index, index 1331 drivers/media/usb/dvb-usb/dib0700_devices.c return state->dib8000_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); index 2206 drivers/media/usb/dvb-usb/dib0700_devices.c static int dib90x0_pid_filter(struct dvb_usb_adapter *adapter, int index, u16 pid, int onoff) index 2208 drivers/media/usb/dvb-usb/dib0700_devices.c return dib9000_fw_pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); index 36 drivers/media/usb/dvb-usb/dibusb-common.c int dibusb_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) index 42 drivers/media/usb/dvb-usb/dibusb-common.c index, pid, onoff); index 66 drivers/media/usb/dvb-usb/dtt200u.c static int dtt200u_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) index 76 drivers/media/usb/dvb-usb/dtt200u.c st->data[1] = index; index 32 drivers/media/usb/dvb-usb/dtv5100.c u16 index; index 53 drivers/media/usb/dvb-usb/dtv5100.c index = (addr << 8) + wbuf[0]; index 58 drivers/media/usb/dvb-usb/dtv5100.c type, value, index, st->data, rlen, index 148 drivers/media/usb/dvb-usb/dtv5100.c dtv5100_init[i].index, NULL, 0, index 31 drivers/media/usb/dvb-usb/dtv5100.h u16 index; index 49 drivers/media/usb/dvb-usb/dvb-usb-dvb.c dvbdmxfeed->index, onoff ? "on" : "off"); index 53 drivers/media/usb/dvb-usb/dvb-usb-dvb.c adap->props.fe[adap->active_fe].pid_filter(adap, dvbdmxfeed->index, dvbdmxfeed->pid, onoff); index 17 drivers/media/usb/dvb-usb/dvb-usb-remote.c unsigned int index; index 21 drivers/media/usb/dvb-usb/dvb-usb-remote.c index = ke->index; index 27 drivers/media/usb/dvb-usb/dvb-usb-remote.c for (index = 0; index < keymap_size; index++) index 28 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].scancode == scancode) index 32 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (index >= keymap_size) { index 33 drivers/media/usb/dvb-usb/dvb-usb-remote.c for (index = 0; index < keymap_size; index++) { index 34 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].keycode == KEY_RESERVED || index 35 drivers/media/usb/dvb-usb/dvb-usb-remote.c keymap[index].keycode == KEY_UNKNOWN) { index 42 drivers/media/usb/dvb-usb/dvb-usb-remote.c return index; index 51 drivers/media/usb/dvb-usb/dvb-usb-remote.c unsigned int index; index 53 drivers/media/usb/dvb-usb/dvb-usb-remote.c index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); index 54 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (index >= keymap_size) index 57 drivers/media/usb/dvb-usb/dvb-usb-remote.c ke->keycode = keymap[index].keycode; index 60 drivers/media/usb/dvb-usb/dvb-usb-remote.c ke->len = sizeof(keymap[index].scancode); index 61 drivers/media/usb/dvb-usb/dvb-usb-remote.c memcpy(&ke->scancode, &keymap[index].scancode, ke->len); index 62 drivers/media/usb/dvb-usb/dvb-usb-remote.c ke->index = index; index 74 drivers/media/usb/dvb-usb/dvb-usb-remote.c unsigned int index; index 76 drivers/media/usb/dvb-usb/dvb-usb-remote.c index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); index 84 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (index >= keymap_size) index 87 drivers/media/usb/dvb-usb/dvb-usb-remote.c *old_keycode = keymap[index].keycode; index 93 drivers/media/usb/dvb-usb/dvb-usb-remote.c for (index = 0; index < keymap_size; index++) { index 94 drivers/media/usb/dvb-usb/dvb-usb-remote.c if (keymap[index].keycode == *old_keycode) { index 90 drivers/media/usb/dvb-usb/dw2102.c u16 index, u8 * data, u16 len, int flags) index 106 drivers/media/usb/dvb-usb/dw2102.c value, index , u8buf, len, 2000); index 30 drivers/media/usb/dvb-usb/gp8psk.c u16 index, u8 *b, int blen) index 46 drivers/media/usb/dvb-usb/gp8psk.c value, index, st->data, blen, index 60 drivers/media/usb/dvb-usb/gp8psk.c deb_xfer("in: req. %x, val: %x, ind: %x, buffer: ",req,value,index); index 69 drivers/media/usb/dvb-usb/gp8psk.c u16 index, u8 *b, int blen) index 74 drivers/media/usb/dvb-usb/gp8psk.c deb_xfer("out: req. %x, val: %x, ind: %x, buffer: ",req,value,index); index 88 drivers/media/usb/dvb-usb/gp8psk.c value, index, st->data, blen, index 256 drivers/media/usb/dvb-usb/gp8psk.c u16 index, u8 *b, int blen) index 260 drivers/media/usb/dvb-usb/gp8psk.c return gp8psk_usb_in_op(d, req, value, index, b, blen); index 264 drivers/media/usb/dvb-usb/gp8psk.c u16 index, u8 *b, int blen) index 268 drivers/media/usb/dvb-usb/gp8psk.c return gp8psk_usb_out_op(d, req, value, index, b, blen); index 32 drivers/media/usb/dvb-usb/m920x.c u16 index, void *data, int size) index 38 drivers/media/usb/dvb-usb/m920x.c value, index, data, size, 2000); index 53 drivers/media/usb/dvb-usb/m920x.c u16 value, u16 index) index 56 drivers/media/usb/dvb-usb/m920x.c USB_TYPE_VENDOR | USB_DIR_OUT, value, index, index 379 drivers/media/usb/dvb-usb/m920x.c static int m920x_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, int onoff) index 383 drivers/media/usb/dvb-usb/m920x.c m->filters[adap->id][index] = onoff ? pid : 0; index 390 drivers/media/usb/dvb-usb/m920x.c u16 value, index, size; index 417 drivers/media/usb/dvb-usb/m920x.c index = get_unaligned_le16(fw->data + i); index 430 drivers/media/usb/dvb-usb/m920x.c value, index, buff, size, 20); index 306 drivers/media/usb/dvb-usb/opera1.c static int opera1_pid_filter(struct dvb_usb_adapter *adap, int index, u16 pid, index 314 drivers/media/usb/dvb-usb/opera1.c info("pidfilter index: %d pid: %d %s", index, pid, index 316 drivers/media/usb/dvb-usb/opera1.c b_pid[0] = (2 * index) + 4; index 31 drivers/media/usb/dvb-usb/vp702x.c u16 value, u16 index, u8 *b, int blen) index 39 drivers/media/usb/dvb-usb/vp702x.c value, index, b, blen, index 49 drivers/media/usb/dvb-usb/vp702x.c deb_xfer("in: req. %02x, val: %04x, ind: %04x, buffer: ",req,value,index); index 56 drivers/media/usb/dvb-usb/vp702x.c u16 index, u8 *b, int blen) index 61 drivers/media/usb/dvb-usb/vp702x.c ret = vp702x_usb_in_op_unlocked(d, req, value, index, b, blen); index 68 drivers/media/usb/dvb-usb/vp702x.c u16 value, u16 index, u8 *b, int blen) index 71 drivers/media/usb/dvb-usb/vp702x.c deb_xfer("out: req. %02x, val: %04x, ind: %04x, buffer: ",req,value,index); index 78 drivers/media/usb/dvb-usb/vp702x.c value,index,b,blen, index 87 drivers/media/usb/dvb-usb/vp702x.c u16 index, u8 *b, int blen) index 92 drivers/media/usb/dvb-usb/vp702x.c ret = vp702x_usb_out_op_unlocked(d, req, value, index, b, blen); index 112 drivers/media/usb/dvb-usb/vp702x.h extern int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen); index 59 drivers/media/usb/em28xx/em28xx-audio.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 926 drivers/media/usb/em28xx/em28xx-audio.c err = snd_card_new(&dev->intf->dev, index[devnr], "Em28xx Audio", index 660 drivers/media/usb/em28xx/em28xx-input.c unsigned int index = dev->num_button_polling_addresses; index 662 drivers/media/usb/em28xx/em28xx-input.c dev->button_polling_addresses[index] = button->reg_r; index 1287 drivers/media/usb/em28xx/em28xx-video.c static void video_mux(struct em28xx *dev, int index) index 1291 drivers/media/usb/em28xx/em28xx-video.c dev->ctl_input = index; index 1292 drivers/media/usb/em28xx/em28xx-video.c dev->ctl_ainput = INPUT(index)->amux; index 1293 drivers/media/usb/em28xx/em28xx-video.c dev->ctl_aoutput = INPUT(index)->aout; index 1299 drivers/media/usb/em28xx/em28xx-video.c INPUT(index)->vmux, 0, 0); index 1665 drivers/media/usb/em28xx/em28xx-video.c n = i->index; index 1717 drivers/media/usb/em28xx/em28xx-video.c unsigned int index) index 1719 drivers/media/usb/em28xx/em28xx-video.c unsigned int idx = dev->amux_map[index]; index 1760 drivers/media/usb/em28xx/em28xx-video.c a->index = index; index 1764 drivers/media/usb/em28xx/em28xx-video.c s, a->index, a->name); index 1773 drivers/media/usb/em28xx/em28xx-video.c if (a->index >= MAX_EM28XX_INPUT) index 1776 drivers/media/usb/em28xx/em28xx-video.c return em28xx_fill_audio_input(dev, __func__, a, a->index); index 1798 drivers/media/usb/em28xx/em28xx-video.c if (a->index >= MAX_EM28XX_INPUT) index 1801 drivers/media/usb/em28xx/em28xx-video.c idx = dev->amux_map[a->index]; index 1837 drivers/media/usb/em28xx/em28xx-video.c if (t->index != 0) index 1851 drivers/media/usb/em28xx/em28xx-video.c if (t->index != 0) index 2003 drivers/media/usb/em28xx/em28xx-video.c if (unlikely(f->index >= ARRAY_SIZE(format))) index 2006 drivers/media/usb/em28xx/em28xx-video.c f->pixelformat = format[f->index].fourcc; index 2027 drivers/media/usb/em28xx/em28xx-video.c if (fsize->index > 1) index 2030 drivers/media/usb/em28xx/em28xx-video.c fsize->discrete.width = maxw / (1 + fsize->index); index 2031 drivers/media/usb/em28xx/em28xx-video.c fsize->discrete.height = maxh / (1 + fsize->index); index 2035 drivers/media/usb/em28xx/em28xx-video.c if (fsize->index != 0) index 2093 drivers/media/usb/em28xx/em28xx-video.c if (unlikely(t->index > 0)) index 2108 drivers/media/usb/em28xx/em28xx-video.c if (t->index != 0) index 623 drivers/media/usb/go7007/go7007-usb.c int value, int index, void *transfer_buffer, int length, int in) index 632 drivers/media/usb/go7007/go7007-usb.c value, index, transfer_buffer, length, timeout); index 637 drivers/media/usb/go7007/go7007-usb.c value, index, transfer_buffer, length, timeout); index 288 drivers/media/usb/go7007/go7007-v4l2.c switch (fmt->index) { index 518 drivers/media/usb/go7007/go7007-v4l2.c if (fsize->index > 2) index 526 drivers/media/usb/go7007/go7007-v4l2.c fsize->discrete.width = (width >> fsize->index) & ~0xf; index 527 drivers/media/usb/go7007/go7007-v4l2.c fsize->discrete.height = (height >> fsize->index) & ~0xf; index 538 drivers/media/usb/go7007/go7007-v4l2.c if (fival->index > 4) index 554 drivers/media/usb/go7007/go7007-v4l2.c fival->discrete.numerator = 1001 * (fival->index + 1); index 606 drivers/media/usb/go7007/go7007-v4l2.c if (inp->index >= go->board_info->num_inputs) index 609 drivers/media/usb/go7007/go7007-v4l2.c strscpy(inp->name, go->board_info->inputs[inp->index].name, index 614 drivers/media/usb/go7007/go7007-v4l2.c inp->index == 0) index 646 drivers/media/usb/go7007/go7007-v4l2.c if (a->index >= go->board_info->num_aud_inputs) index 648 drivers/media/usb/go7007/go7007-v4l2.c strscpy(a->name, go->board_info->aud_inputs[a->index].name, index 658 drivers/media/usb/go7007/go7007-v4l2.c a->index = go->aud_input; index 670 drivers/media/usb/go7007/go7007-v4l2.c if (a->index >= go->board_info->num_aud_inputs) index 672 drivers/media/usb/go7007/go7007-v4l2.c go->aud_input = a->index; index 714 drivers/media/usb/go7007/go7007-v4l2.c if (t->index != 0) index 726 drivers/media/usb/go7007/go7007-v4l2.c if (t->index != 0) index 132 drivers/media/usb/go7007/s2250-board.c u16 value, u16 index, void *transfer_buffer, int length, int in) index 141 drivers/media/usb/go7007/s2250-board.c value, index, transfer_buffer, length, timeout); index 146 drivers/media/usb/go7007/s2250-board.c value, index, transfer_buffer, length, timeout); index 25 drivers/media/usb/go7007/snd-go7007.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 29 drivers/media/usb/go7007/snd-go7007.c module_param_array(index, int, NULL, 0444); index 32 drivers/media/usb/go7007/snd-go7007.c MODULE_PARM_DESC(index, "Index value for the go7007 audio driver"); index 237 drivers/media/usb/go7007/snd-go7007.c ret = snd_card_new(go->dev, index[dev], id[dev], THIS_MODULE, 0, index 34 drivers/media/usb/gspca/benq.c u16 value, u16 index) index 45 drivers/media/usb/gspca/benq.c index, index 58 drivers/media/usb/gspca/conex.c __u16 index, index 73 drivers/media/usb/gspca/conex.c index, gspca_dev->usb_buf, len, index 76 drivers/media/usb/gspca/conex.c index, gspca_dev->usb_buf[0]); index 81 drivers/media/usb/gspca/conex.c __u16 index, index 92 drivers/media/usb/gspca/conex.c index, gspca_dev->usb_buf, 1, 500); index 96 drivers/media/usb/gspca/conex.c __u16 index, index 107 drivers/media/usb/gspca/conex.c index, *buffer); index 115 drivers/media/usb/gspca/conex.c index, gspca_dev->usb_buf, len, 500); index 148 drivers/media/usb/gspca/etoms.c __u16 index, index 163 drivers/media/usb/gspca/etoms.c index, gspca_dev->usb_buf, len, 500); index 165 drivers/media/usb/gspca/etoms.c index, gspca_dev->usb_buf[0]); index 169 drivers/media/usb/gspca/etoms.c __u16 index, index 180 drivers/media/usb/gspca/etoms.c index, gspca_dev->usb_buf, 1, 500); index 184 drivers/media/usb/gspca/etoms.c __u16 index, index 195 drivers/media/usb/gspca/etoms.c index, *buffer); index 202 drivers/media/usb/gspca/etoms.c 0, index, gspca_dev->usb_buf, len, 500); index 539 drivers/media/usb/gspca/gl860/gl860.c unsigned char pref, u32 req, u16 val, u16 index, index 549 drivers/media/usb/gspca/gl860/gl860.c req, pref, val, index, index 554 drivers/media/usb/gspca/gl860/gl860.c req, pref, val, index, NULL, len, 400); index 559 drivers/media/usb/gspca/gl860/gl860.c req, pref, val, index, index 565 drivers/media/usb/gspca/gl860/gl860.c req, pref, val, index, NULL, len, 400); index 571 drivers/media/usb/gspca/gl860/gl860.c r, pref, req, val, index, len); index 85 drivers/media/usb/gspca/gl860/gl860.h unsigned char pref, u32 req, u16 val, u16 index, index 1002 drivers/media/usb/gspca/gspca.c int i, j, index; index 1006 drivers/media/usb/gspca/gspca.c index = 0; index 1008 drivers/media/usb/gspca/gspca.c fmt_tb[index] = gspca_dev->cam.cam_mode[i].pixelformat; index 1011 drivers/media/usb/gspca/gspca.c if (fmt_tb[j] == fmt_tb[index]) index 1015 drivers/media/usb/gspca/gspca.c if (j == index) { index 1016 drivers/media/usb/gspca/gspca.c if (fmtdesc->index == index) index 1018 drivers/media/usb/gspca/gspca.c index++; index 1019 drivers/media/usb/gspca/gspca.c if (index >= ARRAY_SIZE(fmt_tb)) index 1026 drivers/media/usb/gspca/gspca.c fmtdesc->pixelformat = fmt_tb[index]; index 1119 drivers/media/usb/gspca/gspca.c __u32 index = 0; index 1129 drivers/media/usb/gspca/gspca.c if (fsize->index == index) { index 1137 drivers/media/usb/gspca/gspca.c index++; index 1164 drivers/media/usb/gspca/gspca.c if (fival->index == i) { index 1213 drivers/media/usb/gspca/gspca.c if (input->index != 0) index 77 drivers/media/usb/gspca/konica.c static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) index 88 drivers/media/usb/gspca/konica.c index, index 94 drivers/media/usb/gspca/konica.c value, index, ret); index 99 drivers/media/usb/gspca/konica.c static void reg_r(struct gspca_dev *gspca_dev, u16 value, u16 index) index 110 drivers/media/usb/gspca/konica.c index, index 1527 drivers/media/usb/gspca/nw80x.c u16 index, index 1538 drivers/media/usb/gspca/nw80x.c index, *data); index 1541 drivers/media/usb/gspca/nw80x.c index, *data, data[1]); index 1547 drivers/media/usb/gspca/nw80x.c index, index 1559 drivers/media/usb/gspca/nw80x.c u16 index, index 1570 drivers/media/usb/gspca/nw80x.c 0x00, index, index 1584 drivers/media/usb/gspca/nw80x.c index, gspca_dev->usb_buf[0]); index 1587 drivers/media/usb/gspca/nw80x.c index, gspca_dev->usb_buf[0], index 1719 drivers/media/usb/gspca/nw80x.c u16 index, index 1723 drivers/media/usb/gspca/nw80x.c reg_w(gspca_dev, index, &value, 1); index 1726 drivers/media/usb/gspca/nw80x.c reg_r(gspca_dev, index, 1); index 1989 drivers/media/usb/gspca/ov519.c static void reg_w(struct sd *sd, u16 index, u16 value) index 2010 drivers/media/usb/gspca/ov519.c req, value, index); index 2015 drivers/media/usb/gspca/ov519.c value, index, NULL, 0, 500); index 2022 drivers/media/usb/gspca/ov519.c req, index, value); index 2028 drivers/media/usb/gspca/ov519.c 0, index, index 2032 drivers/media/usb/gspca/ov519.c gspca_err(gspca_dev, "reg_w %02x failed %d\n", index, ret); index 2040 drivers/media/usb/gspca/ov519.c static int reg_r(struct sd *sd, u16 index) index 2067 drivers/media/usb/gspca/ov519.c 0, index, sd->gspca_dev.usb_buf, 1, 500); index 2072 drivers/media/usb/gspca/ov519.c req, index, ret); index 2074 drivers/media/usb/gspca/ov519.c gspca_err(gspca_dev, "reg_r %02x failed %d\n", index, ret); index 2088 drivers/media/usb/gspca/ov519.c u16 index) index 2102 drivers/media/usb/gspca/ov519.c 0, index, sd->gspca_dev.usb_buf, 8, 500); index 2107 drivers/media/usb/gspca/ov519.c gspca_err(gspca_dev, "reg_r8 %02x failed %d\n", index, ret); index 2126 drivers/media/usb/gspca/ov519.c u16 index, index 2135 drivers/media/usb/gspca/ov519.c ret = reg_r(sd, index); index 2142 drivers/media/usb/gspca/ov519.c reg_w(sd, index, value); index 2149 drivers/media/usb/gspca/ov519.c static void ov518_reg_w32(struct sd *sd, u16 index, u32 value, int n) index 2165 drivers/media/usb/gspca/ov519.c 0, index, index 2168 drivers/media/usb/gspca/ov519.c gspca_err(gspca_dev, "reg_w32 %02x failed %d\n", index, ret); index 86 drivers/media/usb/gspca/pac207.c static void pac207_write_regs(struct gspca_dev *gspca_dev, u16 index, index 99 drivers/media/usb/gspca/pac207.c 0x00, index, index 103 drivers/media/usb/gspca/pac207.c index, err); index 108 drivers/media/usb/gspca/pac207.c static void pac207_write_reg(struct gspca_dev *gspca_dev, u16 index, u16 value) index 118 drivers/media/usb/gspca/pac207.c value, index, NULL, 0, PAC207_CTRL_TIMEOUT); index 121 drivers/media/usb/gspca/pac207.c index, value, err); index 126 drivers/media/usb/gspca/pac207.c static int pac207_read_reg(struct gspca_dev *gspca_dev, u16 index) index 136 drivers/media/usb/gspca/pac207.c 0x00, index, index 140 drivers/media/usb/gspca/pac207.c index, res); index 233 drivers/media/usb/gspca/pac7302.c u8 index, index 246 drivers/media/usb/gspca/pac7302.c index, gspca_dev->usb_buf, len, index 250 drivers/media/usb/gspca/pac7302.c index, ret); index 257 drivers/media/usb/gspca/pac7302.c u8 index, index 269 drivers/media/usb/gspca/pac7302.c 0, index, gspca_dev->usb_buf, 1, index 273 drivers/media/usb/gspca/pac7302.c index, value, ret); index 291 drivers/media/usb/gspca/pac7302.c int index; index 296 drivers/media/usb/gspca/pac7302.c for (index = 0; index < len; index++) { index 297 drivers/media/usb/gspca/pac7302.c if (page[index] == SKIP) /* skip this index */ index 299 drivers/media/usb/gspca/pac7302.c gspca_dev->usb_buf[0] = page[index]; index 304 drivers/media/usb/gspca/pac7302.c 0, index, gspca_dev->usb_buf, 1, index 308 drivers/media/usb/gspca/pac7302.c index, page[index], ret); index 320 drivers/media/usb/gspca/pac7302.c int index, len; index 323 drivers/media/usb/gspca/pac7302.c index = *seq++; index 339 drivers/media/usb/gspca/pac7302.c index, seq, len); index 343 drivers/media/usb/gspca/pac7302.c reg_w_buf(gspca_dev, index, seq, 8); index 345 drivers/media/usb/gspca/pac7302.c index += 8; index 830 drivers/media/usb/gspca/pac7302.c u8 index; index 843 drivers/media/usb/gspca/pac7302.c index = reg->reg; index 852 drivers/media/usb/gspca/pac7302.c reg_w(gspca_dev, index, value); index 152 drivers/media/usb/gspca/pac7311.c __u8 index, index 165 drivers/media/usb/gspca/pac7311.c index, gspca_dev->usb_buf, len, index 169 drivers/media/usb/gspca/pac7311.c index, ret); index 176 drivers/media/usb/gspca/pac7311.c __u8 index, index 188 drivers/media/usb/gspca/pac7311.c 0, index, gspca_dev->usb_buf, 1, index 192 drivers/media/usb/gspca/pac7311.c index, value, ret); index 210 drivers/media/usb/gspca/pac7311.c int index; index 215 drivers/media/usb/gspca/pac7311.c for (index = 0; index < len; index++) { index 216 drivers/media/usb/gspca/pac7311.c if (page[index] == SKIP) /* skip this index */ index 218 drivers/media/usb/gspca/pac7311.c gspca_dev->usb_buf[0] = page[index]; index 223 drivers/media/usb/gspca/pac7311.c 0, index, gspca_dev->usb_buf, 1, index 227 drivers/media/usb/gspca/pac7311.c index, page[index], ret); index 239 drivers/media/usb/gspca/pac7311.c int index, len; index 242 drivers/media/usb/gspca/pac7311.c index = *seq++; index 258 drivers/media/usb/gspca/pac7311.c index, seq, len); index 262 drivers/media/usb/gspca/pac7311.c reg_w_buf(gspca_dev, index, seq, 8); index 264 drivers/media/usb/gspca/pac7311.c index += 8; index 51 drivers/media/usb/gspca/spca1528.c u16 index, index 66 drivers/media/usb/gspca/spca1528.c index, index 69 drivers/media/usb/gspca/spca1528.c gspca_dbg(gspca_dev, D_USBI, "GET %02x 0000 %04x %02x\n", req, index, index 85 drivers/media/usb/gspca/spca1528.c u16 index) index 92 drivers/media/usb/gspca/spca1528.c gspca_dbg(gspca_dev, D_USBO, "SET %02x %04x %04x\n", req, value, index); index 96 drivers/media/usb/gspca/spca1528.c value, index, index 107 drivers/media/usb/gspca/spca1528.c u16 index, index 116 drivers/media/usb/gspca/spca1528.c req, value, index, byte); index 121 drivers/media/usb/gspca/spca1528.c value, index, index 305 drivers/media/usb/gspca/spca500.c __u16 index, index 313 drivers/media/usb/gspca/spca500.c index, gspca_dev->usb_buf, length, 500); index 317 drivers/media/usb/gspca/spca500.c __u16 req, __u16 index, __u16 value) index 322 drivers/media/usb/gspca/spca500.c index, value); index 327 drivers/media/usb/gspca/spca500.c value, index, NULL, 0, 500); index 336 drivers/media/usb/gspca/spca500.c __u16 index, /* wIndex */ index 347 drivers/media/usb/gspca/spca500.c index, index 363 drivers/media/usb/gspca/spca500.c __u16 reg, __u16 index, __u16 value) index 368 drivers/media/usb/gspca/spca500.c ret = reg_r_12(gspca_dev, reg, index, 1); index 1746 drivers/media/usb/gspca/spca501.c __u16 req, __u16 index, __u16 value) index 1755 drivers/media/usb/gspca/spca501.c value, index, NULL, 0, 500); index 1757 drivers/media/usb/gspca/spca501.c req, index, value); index 534 drivers/media/usb/gspca/spca505.c u16 req, u16 index, u16 value) index 543 drivers/media/usb/gspca/spca505.c value, index, NULL, 0, 500); index 545 drivers/media/usb/gspca/spca505.c req, index, value, ret); index 554 drivers/media/usb/gspca/spca505.c u16 index) /* wIndex */ index 563 drivers/media/usb/gspca/spca505.c index, index 66 drivers/media/usb/gspca/spca506.c __u16 index, index 74 drivers/media/usb/gspca/spca506.c index, gspca_dev->usb_buf, length, index 81 drivers/media/usb/gspca/spca506.c __u16 index) index 87 drivers/media/usb/gspca/spca506.c value, index, index 1231 drivers/media/usb/gspca/spca508.c static int reg_write(struct gspca_dev *gspca_dev, u16 index, u16 value) index 1240 drivers/media/usb/gspca/spca508.c value, index, NULL, 0, 500); index 1242 drivers/media/usb/gspca/spca508.c index, value); index 1251 drivers/media/usb/gspca/spca508.c u16 index) /* wIndex */ index 1260 drivers/media/usb/gspca/spca508.c index, index 1264 drivers/media/usb/gspca/spca508.c index, gspca_dev->usb_buf[0]); index 275 drivers/media/usb/gspca/spca561.c static void reg_w_val(struct gspca_dev *gspca_dev, __u16 index, __u8 value) index 283 drivers/media/usb/gspca/spca561.c value, index, NULL, 0, 500); index 285 drivers/media/usb/gspca/spca561.c index, value); index 304 drivers/media/usb/gspca/spca561.c __u16 index, __u16 length) index 311 drivers/media/usb/gspca/spca561.c index, gspca_dev->usb_buf, length, 500); index 316 drivers/media/usb/gspca/spca561.c __u16 index, __u16 len) index 323 drivers/media/usb/gspca/spca561.c index, gspca_dev->usb_buf, len, 500); index 102 drivers/media/usb/gspca/sq905.c static int sq905_command(struct gspca_dev *gspca_dev, u16 index) index 111 drivers/media/usb/gspca/sq905.c SQ905_COMMAND, index, gspca_dev->usb_buf, 1, index 76 drivers/media/usb/gspca/sq905c.c static int sq905c_command(struct gspca_dev *gspca_dev, u16 command, u16 index) index 84 drivers/media/usb/gspca/sq905c.c command, index, NULL, 0, index 94 drivers/media/usb/gspca/sq905c.c static int sq905c_read(struct gspca_dev *gspca_dev, u16 command, u16 index, index 103 drivers/media/usb/gspca/sq905c.c command, index, gspca_dev->usb_buf, size, index 436 drivers/media/usb/gspca/sq930x.c static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) index 442 drivers/media/usb/gspca/sq930x.c gspca_dbg(gspca_dev, D_USBO, "reg_w v: %04x i: %04x\n", value, index); index 447 drivers/media/usb/gspca/sq930x.c value, index, NULL, 0, index 451 drivers/media/usb/gspca/sq930x.c pr_err("reg_w %04x %04x failed %d\n", value, index, ret); index 456 drivers/media/usb/gspca/sq930x.c static void reg_wb(struct gspca_dev *gspca_dev, u16 value, u16 index, index 464 drivers/media/usb/gspca/sq930x.c value, index, *data, data[len - 1]); index 470 drivers/media/usb/gspca/sq930x.c value, index, gspca_dev->usb_buf, len, index 474 drivers/media/usb/gspca/sq930x.c pr_err("reg_wb %04x %04x failed %d\n", value, index, ret); index 42 drivers/media/usb/gspca/stk014.c __u16 index) index 53 drivers/media/usb/gspca/stk014.c index, index 66 drivers/media/usb/gspca/stk014.c __u16 index, __u16 value) index 77 drivers/media/usb/gspca/stk014.c index, index 46 drivers/media/usb/gspca/stk1135.c static u8 reg_r(struct gspca_dev *gspca_dev, u16 index) index 57 drivers/media/usb/gspca/stk1135.c index, index 62 drivers/media/usb/gspca/stk1135.c index, gspca_dev->usb_buf[0]); index 64 drivers/media/usb/gspca/stk1135.c pr_err("reg_r 0x%x err %d\n", index, ret); index 73 drivers/media/usb/gspca/stk1135.c static void reg_w(struct gspca_dev *gspca_dev, u16 index, u8 val) index 84 drivers/media/usb/gspca/stk1135.c index, index 88 drivers/media/usb/gspca/stk1135.c gspca_dbg(gspca_dev, D_USBO, "reg_w 0x%x:=0x%02x\n", index, val); index 90 drivers/media/usb/gspca/stk1135.c pr_err("reg_w 0x%x err %d\n", index, ret); index 95 drivers/media/usb/gspca/stk1135.c static void reg_w_mask(struct gspca_dev *gspca_dev, u16 index, u8 val, u8 mask) index 97 drivers/media/usb/gspca/stk1135.c val = (reg_r(gspca_dev, index) & ~mask) | (val & mask); index 98 drivers/media/usb/gspca/stk1135.c reg_w(gspca_dev, index, val); index 621 drivers/media/usb/gspca/stk1135.c if (fsize->index != 0 || fsize->pixel_format != V4L2_PIX_FMT_SBGGR8) index 236 drivers/media/usb/gspca/sunplus.c u16 index, index 252 drivers/media/usb/gspca/sunplus.c index, index 270 drivers/media/usb/gspca/sunplus.c u16 index, index 282 drivers/media/usb/gspca/sunplus.c value, index, index 293 drivers/media/usb/gspca/sunplus.c u8 req, u16 index, u16 value) index 304 drivers/media/usb/gspca/sunplus.c value, index, NULL, 0, 500); index 311 drivers/media/usb/gspca/sunplus.c req, index, value); index 294 drivers/media/usb/gspca/t613.c u16 index) index 301 drivers/media/usb/gspca/t613.c index, index 307 drivers/media/usb/gspca/t613.c u16 index) index 313 drivers/media/usb/gspca/t613.c 0, index, index 975 drivers/media/usb/gspca/topro.c static void reg_w(struct gspca_dev *gspca_dev, u8 index, u8 value) index 985 drivers/media/usb/gspca/topro.c value, index, NULL, 0, 500); index 993 drivers/media/usb/gspca/topro.c static void reg_r(struct gspca_dev *gspca_dev, u8 index) index 1003 drivers/media/usb/gspca/topro.c 0, index, gspca_dev->usb_buf, 1, 500); index 1019 drivers/media/usb/gspca/topro.c static int i2c_w(struct gspca_dev *gspca_dev, u8 index, u8 value) index 1024 drivers/media/usb/gspca/topro.c reg_w(gspca_dev, TP6800_R19_SIF_ADDR_S2, index); index 1046 drivers/media/usb/gspca/topro.c static int i2c_r(struct gspca_dev *gspca_dev, u8 index, int len) index 1051 drivers/media/usb/gspca/topro.c reg_w(gspca_dev, TP6800_R19_SIF_ADDR_S2, index); index 154 drivers/media/usb/gspca/touptek.c u16 index; index 203 drivers/media/usb/gspca/touptek.c static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) index 210 drivers/media/usb/gspca/touptek.c value, index); index 212 drivers/media/usb/gspca/touptek.c 0x0B, 0xC0, value, index, buff, 1, 500); index 216 drivers/media/usb/gspca/touptek.c value, index, rc); index 222 drivers/media/usb/gspca/touptek.c value, index); index 231 drivers/media/usb/gspca/touptek.c reg_w(gspca_dev, p->value, p->index); index 106 drivers/media/usb/gspca/tv8532.c __u16 index, __u8 value) index 114 drivers/media/usb/gspca/tv8532.c index, gspca_dev->usb_buf, 1, 500); index 119 drivers/media/usb/gspca/tv8532.c u16 index, u16 value) index 128 drivers/media/usb/gspca/tv8532.c index, gspca_dev->usb_buf, 2, 500); index 2892 drivers/media/usb/gspca/vc032x.c u16 index, index 2904 drivers/media/usb/gspca/vc032x.c index, gspca_dev->usb_buf, len, index 2918 drivers/media/usb/gspca/vc032x.c u16 index, index 2921 drivers/media/usb/gspca/vc032x.c reg_r_i(gspca_dev, req, index, len); index 2926 drivers/media/usb/gspca/vc032x.c req, index, index 2930 drivers/media/usb/gspca/vc032x.c req, index, 3, gspca_dev->usb_buf); index 2936 drivers/media/usb/gspca/vc032x.c u16 index) index 2946 drivers/media/usb/gspca/vc032x.c value, index, NULL, 0, index 2956 drivers/media/usb/gspca/vc032x.c u16 index) index 2960 drivers/media/usb/gspca/vc032x.c gspca_dbg(gspca_dev, D_USBO, "SET %02x %04x %04x\n", req, value, index); index 2961 drivers/media/usb/gspca/vc032x.c reg_w_i(gspca_dev, req, value, index); index 69 drivers/media/usb/gspca/vicam.c u16 value, u16 index, u8 *data, u16 len) index 77 drivers/media/usb/gspca/vicam.c value, index, data, len, 1000); index 50 drivers/media/usb/gspca/w996Xcf.c static void reg_w(struct sd *sd, u16 index, u16 value); index 666 drivers/media/usb/gspca/xirlink_cit.c static int cit_write_reg(struct gspca_dev *gspca_dev, u16 value, u16 index) index 673 drivers/media/usb/gspca/xirlink_cit.c value, index, NULL, 0, 1000); index 676 drivers/media/usb/gspca/xirlink_cit.c index, value, err); index 681 drivers/media/usb/gspca/xirlink_cit.c static int cit_read_reg(struct gspca_dev *gspca_dev, u16 index, int verbose) index 689 drivers/media/usb/gspca/xirlink_cit.c 0x00, index, buf, 8, 1000); index 692 drivers/media/usb/gspca/xirlink_cit.c index, res); index 698 drivers/media/usb/gspca/xirlink_cit.c index, buf[0]); index 5530 drivers/media/usb/gspca/zc3xx.c u16 index) index 5541 drivers/media/usb/gspca/zc3xx.c index, gspca_dev->usb_buf, 1, index 5553 drivers/media/usb/gspca/zc3xx.c u16 index) index 5563 drivers/media/usb/gspca/zc3xx.c value, index, NULL, 0, index 53 drivers/media/usb/hackrf/hackrf.c .index = 0, index 64 drivers/media/usb/hackrf/hackrf.c .index = 0, index 183 drivers/media/usb/hackrf/hackrf.c u16 index, u8 *data, u16 size) index 217 drivers/media/usb/hackrf/hackrf.c index, dev->buf, size, 1000); index 219 drivers/media/usb/hackrf/hackrf.c index, dev->buf, size); index 993 drivers/media/usb/hackrf/hackrf.c dev_dbg(dev->dev, "index=%d\n", f->index); index 995 drivers/media/usb/hackrf/hackrf.c if (f->index >= NUM_FORMATS) index 998 drivers/media/usb/hackrf/hackrf.c f->pixelformat = formats[f->index].pixelformat; index 1009 drivers/media/usb/hackrf/hackrf.c dev_dbg(dev->dev, "index=%d\n", v->index); index 1011 drivers/media/usb/hackrf/hackrf.c if (v->index == 0) index 1013 drivers/media/usb/hackrf/hackrf.c else if (v->index == 1) index 1026 drivers/media/usb/hackrf/hackrf.c dev_dbg(dev->dev, "index=%d\n", v->index); index 1028 drivers/media/usb/hackrf/hackrf.c if (v->index == 0) { index 1035 drivers/media/usb/hackrf/hackrf.c } else if (v->index == 1) { index 1054 drivers/media/usb/hackrf/hackrf.c dev_dbg(dev->dev, "index=%d\n", a->index); index 1056 drivers/media/usb/hackrf/hackrf.c return a->index > 1 ? -EINVAL : 0; index 1065 drivers/media/usb/hackrf/hackrf.c dev_dbg(dev->dev, "index=%d\n", a->index); index 1067 drivers/media/usb/hackrf/hackrf.c if (a->index == 0) { index 1074 drivers/media/usb/hackrf/hackrf.c } else if (a->index == 1) { index 1175 drivers/media/usb/hackrf/hackrf.c band->tuner, band->type, band->index); index 1178 drivers/media/usb/hackrf/hackrf.c if (band->index >= ARRAY_SIZE(bands_adc_dac)) { index 1181 drivers/media/usb/hackrf/hackrf.c *band = bands_adc_dac[band->index]; index 1185 drivers/media/usb/hackrf/hackrf.c if (band->index >= ARRAY_SIZE(bands_rx_tx)) { index 1188 drivers/media/usb/hackrf/hackrf.c *band = bands_rx_tx[band->index]; index 729 drivers/media/usb/hdpvr/hdpvr-video.c if (timings->index >= ARRAY_SIZE(hdpvr_dv_timings)) index 731 drivers/media/usb/hdpvr/hdpvr-video.c timings->timings = hdpvr_dv_timings[timings->index]; index 766 drivers/media/usb/hdpvr/hdpvr-video.c n = i->index; index 783 drivers/media/usb/hdpvr/hdpvr-video.c unsigned int index) index 788 drivers/media/usb/hdpvr/hdpvr-video.c if (index >= HDPVR_VIDEO_INPUTS) index 794 drivers/media/usb/hdpvr/hdpvr-video.c retval = hdpvr_config_call(dev, CTRL_VIDEO_INPUT_VALUE, index+1); index 796 drivers/media/usb/hdpvr/hdpvr-video.c dev->options.video_input = index; index 817 drivers/media/usb/hdpvr/hdpvr-video.c unsigned int *index) index 821 drivers/media/usb/hdpvr/hdpvr-video.c *index = dev->options.video_input; index 837 drivers/media/usb/hdpvr/hdpvr-video.c n = audio->index; index 854 drivers/media/usb/hdpvr/hdpvr-video.c if (audio->index >= HDPVR_AUDIO_INPUTS) index 860 drivers/media/usb/hdpvr/hdpvr-video.c retval = hdpvr_set_audio(dev, audio->index+1, dev->options.audio_codec); index 862 drivers/media/usb/hdpvr/hdpvr-video.c dev->options.audio_input = audio->index; index 872 drivers/media/usb/hdpvr/hdpvr-video.c audio->index = dev->options.audio_input; index 874 drivers/media/usb/hdpvr/hdpvr-video.c strscpy(audio->name, audio_iname[audio->index], sizeof(audio->name)); index 987 drivers/media/usb/hdpvr/hdpvr-video.c if (f->index != 0) index 60 drivers/media/usb/msi2500/msi2500.c .index = 0, index 657 drivers/media/usb/msi2500/msi2500.c u16 index = (data >> 16) & 0xffff; index 660 drivers/media/usb/msi2500/msi2500.c value, index, NULL, 0); index 662 drivers/media/usb/msi2500/msi2500.c requesttype, value, index, NULL, 0, 2000); index 895 drivers/media/usb/msi2500/msi2500.c dev_dbg(dev->dev, "index=%d\n", f->index); index 897 drivers/media/usb/msi2500/msi2500.c if (f->index >= dev->num_formats) index 900 drivers/media/usb/msi2500/msi2500.c f->pixelformat = formats[f->index].pixelformat; index 980 drivers/media/usb/msi2500/msi2500.c dev_dbg(dev->dev, "index=%d\n", v->index); index 982 drivers/media/usb/msi2500/msi2500.c if (v->index == 0) index 984 drivers/media/usb/msi2500/msi2500.c else if (v->index == 1) index 997 drivers/media/usb/msi2500/msi2500.c dev_dbg(dev->dev, "index=%d\n", v->index); index 999 drivers/media/usb/msi2500/msi2500.c if (v->index == 0) { index 1006 drivers/media/usb/msi2500/msi2500.c } else if (v->index == 1) { index 1067 drivers/media/usb/msi2500/msi2500.c band->tuner, band->type, band->index); index 1070 drivers/media/usb/msi2500/msi2500.c if (band->index >= ARRAY_SIZE(bands)) { index 1073 drivers/media/usb/msi2500/msi2500.c *band = bands[band->index]; index 3509 drivers/media/usb/pvrusb2/pvrusb2-hdw.c enum pvr2_v4l_type index) index 3511 drivers/media/usb/pvrusb2/pvrusb2-hdw.c switch (index) { index 3522 drivers/media/usb/pvrusb2/pvrusb2-hdw.c enum pvr2_v4l_type index,int v) index 3524 drivers/media/usb/pvrusb2/pvrusb2-hdw.c switch (index) { index 222 drivers/media/usb/pvrusb2/pvrusb2-hdw.h int pvr2_hdw_v4l_get_minor_number(struct pvr2_hdw *,enum pvr2_v4l_type index); index 226 drivers/media/usb/pvrusb2/pvrusb2-hdw.h enum pvr2_v4l_type index,int); index 285 drivers/media/usb/pvrusb2/pvrusb2-std.c idx = std->index; index 287 drivers/media/usb/pvrusb2/pvrusb2-std.c std->index = idx; index 292 drivers/media/usb/pvrusb2/pvrusb2-std.c std->index,std->name); index 360 drivers/media/usb/pvrusb2/pvrusb2-std.c stddefs[idx].index = idx; index 174 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c tmp.index = vi->index; index 175 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (vi->index >= fh->input_cnt) index 177 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c val = fh->input_map[vi->index]; index 264 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (vin->index > 0) index 274 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vin->index = 0; index 282 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (vout->index) index 292 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (vt->index != 0) index 305 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (vt->index != 0) index 385 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (fd->index) index 567 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vm->index, index 112 drivers/media/usb/pwc/pwc-ctrl.c int index, const unsigned char *buf, int buflen) index 121 drivers/media/usb/pwc/pwc-ctrl.c VIDEO_OUTPUT_CONTROL_FORMATTER, index, index 348 drivers/media/usb/pwc/pwc-ctrl.c static unsigned int pwc_get_fps_Nala(struct pwc_device *pdev, unsigned int index, unsigned int size) index 354 drivers/media/usb/pwc/pwc-ctrl.c if (index--==0) return Nala_fps_vector[i]; index 360 drivers/media/usb/pwc/pwc-ctrl.c static unsigned int pwc_get_fps_Kiara(struct pwc_device *pdev, unsigned int index, unsigned int size) index 366 drivers/media/usb/pwc/pwc-ctrl.c if (index--==0) return Kiara_fps_vector[i]; index 372 drivers/media/usb/pwc/pwc-ctrl.c static unsigned int pwc_get_fps_Timon(struct pwc_device *pdev, unsigned int index, unsigned int size) index 378 drivers/media/usb/pwc/pwc-ctrl.c if (index--==0) return Timon_fps_vector[i]; index 384 drivers/media/usb/pwc/pwc-ctrl.c unsigned int pwc_get_fps(struct pwc_device *pdev, unsigned int index, unsigned int size) index 389 drivers/media/usb/pwc/pwc-ctrl.c ret = pwc_get_fps_Nala(pdev, index, size); index 392 drivers/media/usb/pwc/pwc-ctrl.c ret = pwc_get_fps_Kiara(pdev, index, size); index 395 drivers/media/usb/pwc/pwc-ctrl.c ret = pwc_get_fps_Timon(pdev, index, size); index 491 drivers/media/usb/pwc/pwc-v4l.c if (i->index) /* Only one INPUT is supported */ index 872 drivers/media/usb/pwc/pwc-v4l.c switch (f->index) { index 910 drivers/media/usb/pwc/pwc-v4l.c unsigned int i = 0, index = fsize->index; index 920 drivers/media/usb/pwc/pwc-v4l.c if (!index--) { index 950 drivers/media/usb/pwc/pwc-v4l.c i = pwc_get_fps(pdev, fival->index, size); index 358 drivers/media/usb/pwc/pwc.h extern unsigned int pwc_get_fps(struct pwc_device *pdev, unsigned int index, unsigned int size); index 346 drivers/media/usb/s2255/s2255drv.c u16 index, u16 value, void *buf, index 726 drivers/media/usb/s2255/s2255drv.c int index = f->index; index 728 drivers/media/usb/s2255/s2255drv.c if (index >= ARRAY_SIZE(formats)) index 730 drivers/media/usb/s2255/s2255drv.c if (!jpeg_enable && ((formats[index].fourcc == V4L2_PIX_FMT_JPEG) || index 731 drivers/media/usb/s2255/s2255drv.c (formats[index].fourcc == V4L2_PIX_FMT_MJPEG))) index 733 drivers/media/usb/s2255/s2255drv.c f->pixelformat = formats[index].fourcc; index 1091 drivers/media/usb/s2255/s2255drv.c buf, buf->vb.vb2_buf.index); index 1159 drivers/media/usb/s2255/s2255drv.c if (inp->index != 0) index 1358 drivers/media/usb/s2255/s2255drv.c if (fe->index >= NUM_SIZE_ENUMS) index 1365 drivers/media/usb/s2255/s2255drv.c fe->discrete = is_ntsc ? ntsc_sizes[fe->index] : pal_sizes[fe->index]; index 1380 drivers/media/usb/s2255/s2255drv.c if (fe->index >= NUM_FRAME_ENUMS) index 1397 drivers/media/usb/s2255/s2255drv.c fe->discrete.numerator = (is_ntsc ? 1001 : 1000) * frm_dec[fe->index]; index 345 drivers/media/usb/stk1160/stk1160-v4l.c if (f->index != 0) index 348 drivers/media/usb/stk1160/stk1160-v4l.c f->pixelformat = format[f->index].fourcc; index 552 drivers/media/usb/stk1160/stk1160-v4l.c if (i->index > STK1160_MAX_INPUT) index 556 drivers/media/usb/stk1160/stk1160-v4l.c if (i->index == STK1160_SVIDEO_INPUT) index 559 drivers/media/usb/stk1160/stk1160-v4l.c sprintf(i->name, "Composite%d", i->index); index 761 drivers/media/usb/stk1160/stk1160-v4l.c buf, buf->vb.vb2_buf.index); index 771 drivers/media/usb/stk1160/stk1160-v4l.c buf, buf->vb.vb2_buf.index); index 124 drivers/media/usb/stkwebcam/stk-webcam.c int stk_camera_write_reg(struct stk_camera *dev, u16 index, u8 value) index 133 drivers/media/usb/stkwebcam/stk-webcam.c index, index 143 drivers/media/usb/stkwebcam/stk-webcam.c int stk_camera_read_reg(struct stk_camera *dev, u16 index, u8 *value) index 157 drivers/media/usb/stkwebcam/stk-webcam.c index, index 517 drivers/media/usb/stkwebcam/stk-webcam.c static int stk_setup_siobuf(struct stk_camera *dev, int index) index 519 drivers/media/usb/stkwebcam/stk-webcam.c struct stk_sio_buffer *buf = dev->sio_bufs + index; index 527 drivers/media/usb/stkwebcam/stk-webcam.c buf->v4lbuf.index = index; index 532 drivers/media/usb/stkwebcam/stk-webcam.c buf->v4lbuf.m.offset = 2*index*buf->v4lbuf.length; index 806 drivers/media/usb/stkwebcam/stk-webcam.c if (input->index != 0) index 856 drivers/media/usb/stkwebcam/stk-webcam.c switch (fmtd->index) { index 1070 drivers/media/usb/stkwebcam/stk-webcam.c if (buf->index >= dev->n_sbufs) index 1072 drivers/media/usb/stkwebcam/stk-webcam.c sbuf = dev->sio_bufs + buf->index; index 1087 drivers/media/usb/stkwebcam/stk-webcam.c if (buf->index >= dev->n_sbufs) index 1089 drivers/media/usb/stkwebcam/stk-webcam.c sbuf = dev->sio_bufs + buf->index; index 1178 drivers/media/usb/stkwebcam/stk-webcam.c if (frms->index >= ARRAY_SIZE(stk_sizes)) index 1187 drivers/media/usb/stkwebcam/stk-webcam.c frms->discrete.width = stk_sizes[frms->index].w; index 1188 drivers/media/usb/stkwebcam/stk-webcam.c frms->discrete.height = stk_sizes[frms->index].h; index 37 drivers/media/usb/tm6000/tm6000-alsa.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 44 drivers/media/usb/tm6000/tm6000-alsa.c module_param_array(index, int, NULL, 0444); index 45 drivers/media/usb/tm6000/tm6000-alsa.c MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s)."); index 426 drivers/media/usb/tm6000/tm6000-alsa.c rc = snd_card_new(&dev->udev->dev, index[devnr], "tm6000", index 22 drivers/media/usb/tm6000/tm6000-core.c u16 value, u16 index, u8 *buf, u16 len) index 49 drivers/media/usb/tm6000/tm6000-core.c req_type, req, value&0xff, value>>8, index&0xff, index 50 drivers/media/usb/tm6000/tm6000-core.c index>>8, len&0xff, len>>8); index 60 drivers/media/usb/tm6000/tm6000-core.c ret = usb_control_msg(dev->udev, pipe, req, req_type, value, index, index 100 drivers/media/usb/tm6000/tm6000-core.c int tm6000_set_reg(struct tm6000_core *dev, u8 req, u16 value, u16 index) index 104 drivers/media/usb/tm6000/tm6000-core.c req, value, index, NULL, 0); index 108 drivers/media/usb/tm6000/tm6000-core.c int tm6000_get_reg(struct tm6000_core *dev, u8 req, u16 value, u16 index) index 114 drivers/media/usb/tm6000/tm6000-core.c value, index, buf, 1); index 124 drivers/media/usb/tm6000/tm6000-core.c u16 index, u16 mask) index 136 drivers/media/usb/tm6000/tm6000-core.c new_index = (buf[0] & ~mask) | (index & mask); index 146 drivers/media/usb/tm6000/tm6000-core.c int tm6000_get_reg16(struct tm6000_core *dev, u8 req, u16 value, u16 index) index 152 drivers/media/usb/tm6000/tm6000-core.c value, index, buf, 2); index 160 drivers/media/usb/tm6000/tm6000-core.c int tm6000_get_reg32(struct tm6000_core *dev, u8 req, u16 value, u16 index) index 166 drivers/media/usb/tm6000/tm6000-core.c value, index, buf, 4); index 872 drivers/media/usb/tm6000/tm6000-video.c if (f->index >= ARRAY_SIZE(format)) index 875 drivers/media/usb/tm6000/tm6000-video.c f->pixelformat = format[f->index].fourcc; index 1072 drivers/media/usb/tm6000/tm6000-video.c n = i->index; index 1079 drivers/media/usb/tm6000/tm6000-video.c i->index = n; index 1180 drivers/media/usb/tm6000/tm6000-video.c if (0 != t->index) index 1204 drivers/media/usb/tm6000/tm6000-video.c if (0 != t->index) index 1259 drivers/media/usb/tm6000/tm6000-video.c if (0 != t->index) index 1280 drivers/media/usb/tm6000/tm6000-video.c if (0 != t->index) index 307 drivers/media/usb/tm6000/tm6000.h u16 value, u16 index, u8 *buf, u16 len); index 308 drivers/media/usb/tm6000/tm6000.h int tm6000_get_reg(struct tm6000_core *dev, u8 req, u16 value, u16 index); index 309 drivers/media/usb/tm6000/tm6000.h int tm6000_get_reg16(struct tm6000_core *dev, u8 req, u16 value, u16 index); index 310 drivers/media/usb/tm6000/tm6000.h int tm6000_get_reg32(struct tm6000_core *dev, u8 req, u16 value, u16 index); index 311 drivers/media/usb/tm6000/tm6000.h int tm6000_set_reg(struct tm6000_core *dev, u8 req, u16 value, u16 index); index 313 drivers/media/usb/tm6000/tm6000.h u16 index, u16 mask); index 933 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb_set_channel(ttusb, dvbdmxfeed->index, feed_type, dvbdmxfeed->pid); index 945 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb_del_channel(ttusb, dvbdmxfeed->index); index 54 drivers/media/usb/usbtv/usbtv-core.c u16 index = regs[i][0]; index 59 drivers/media/usb/usbtv/usbtv-core.c value, index, NULL, 0, USB_CTRL_GET_TIMEOUT); index 614 drivers/media/usb/usbtv/usbtv-video.c switch (i->index) { index 633 drivers/media/usb/usbtv/usbtv-video.c if (f->index > 0) index 788 drivers/media/usb/usbtv/usbtv-video.c u16 index, size; index 811 drivers/media/usb/usbtv/usbtv-video.c index = USBTV_BASE + 0x0244; index 818 drivers/media/usb/usbtv/usbtv-video.c index = USBTV_BASE + 0x0244; index 825 drivers/media/usb/usbtv/usbtv-video.c index = USBTV_BASE + 0x0242; index 831 drivers/media/usb/usbtv/usbtv-video.c index = USBTV_BASE + 0x0240; index 842 drivers/media/usb/usbtv/usbtv-video.c index = USBTV_BASE + 0x0239; index 855 drivers/media/usb/usbtv/usbtv-video.c 0, index, (void *)data, size, USB_CTRL_SET_TIMEOUT); index 1772 drivers/media/usb/usbvision/usbvision-core.c usbvision->frame[i].index = i; index 485 drivers/media/usb/usbvision/usbvision-video.c if (vi->index >= usbvision->video_inputs) index 488 drivers/media/usb/usbvision/usbvision-video.c chan = vi->index; index 490 drivers/media/usb/usbvision/usbvision-video.c chan = vi->index + 1; /* skip Television string*/ index 580 drivers/media/usb/usbvision/usbvision-video.c if (vt->index) /* Only tuner 0 */ index 599 drivers/media/usb/usbvision/usbvision-video.c if (vt->index) index 679 drivers/media/usb/usbvision/usbvision-video.c if (vb->index >= usbvision->num_frames) index 683 drivers/media/usb/usbvision/usbvision-video.c frame = &usbvision->frame[vb->index]; index 692 drivers/media/usb/usbvision/usbvision-video.c vb->m.offset = vb->index * PAGE_ALIGN(usbvision->max_frame_size); index 699 drivers/media/usb/usbvision/usbvision-video.c vb->timestamp = ns_to_timeval(usbvision->frame[vb->index].ts); index 700 drivers/media/usb/usbvision/usbvision-video.c vb->sequence = usbvision->frame[vb->index].sequence; index 711 drivers/media/usb/usbvision/usbvision-video.c if (vb->index >= usbvision->num_frames) index 714 drivers/media/usb/usbvision/usbvision-video.c frame = &usbvision->frame[vb->index]; index 730 drivers/media/usb/usbvision/usbvision-video.c list_add_tail(&usbvision->frame[vb->index].frame, &usbvision->inqueue); index 766 drivers/media/usb/usbvision/usbvision-video.c vb->index = f->index; index 806 drivers/media/usb/usbvision/usbvision-video.c if (vfd->index >= USBVISION_SUPPORTED_PALETTES - 1) index 808 drivers/media/usb/usbvision/usbvision-video.c vfd->pixelformat = usbvision_v4l2_format[vfd->index].format; index 963 drivers/media/usb/usbvision/usbvision-video.c frame->index, frame->bytes_read, frame->scanlength); index 293 drivers/media/usb/usbvision/usbvision.h int index; /* Frame index */ index 40 drivers/media/usb/uvc/uvc_ctrl.c .index = 0, index 49 drivers/media/usb/uvc/uvc_ctrl.c .index = 1, index 58 drivers/media/usb/uvc/uvc_ctrl.c .index = 2, index 68 drivers/media/usb/uvc/uvc_ctrl.c .index = 3, index 77 drivers/media/usb/uvc/uvc_ctrl.c .index = 4, index 86 drivers/media/usb/uvc/uvc_ctrl.c .index = 5, index 95 drivers/media/usb/uvc/uvc_ctrl.c .index = 6, index 105 drivers/media/usb/uvc/uvc_ctrl.c .index = 7, index 115 drivers/media/usb/uvc/uvc_ctrl.c .index = 8, index 124 drivers/media/usb/uvc/uvc_ctrl.c .index = 9, index 133 drivers/media/usb/uvc/uvc_ctrl.c .index = 10, index 141 drivers/media/usb/uvc/uvc_ctrl.c .index = 11, index 149 drivers/media/usb/uvc/uvc_ctrl.c .index = 12, index 157 drivers/media/usb/uvc/uvc_ctrl.c .index = 13, index 165 drivers/media/usb/uvc/uvc_ctrl.c .index = 14, index 174 drivers/media/usb/uvc/uvc_ctrl.c .index = 15, index 183 drivers/media/usb/uvc/uvc_ctrl.c .index = 16, index 190 drivers/media/usb/uvc/uvc_ctrl.c .index = 17, index 197 drivers/media/usb/uvc/uvc_ctrl.c .index = 0, index 205 drivers/media/usb/uvc/uvc_ctrl.c .index = 1, index 214 drivers/media/usb/uvc/uvc_ctrl.c .index = 2, index 222 drivers/media/usb/uvc/uvc_ctrl.c .index = 3, index 232 drivers/media/usb/uvc/uvc_ctrl.c .index = 4, index 239 drivers/media/usb/uvc/uvc_ctrl.c .index = 5, index 249 drivers/media/usb/uvc/uvc_ctrl.c .index = 6, index 259 drivers/media/usb/uvc/uvc_ctrl.c .index = 7, index 269 drivers/media/usb/uvc/uvc_ctrl.c .index = 8, index 277 drivers/media/usb/uvc/uvc_ctrl.c .index = 9, index 287 drivers/media/usb/uvc/uvc_ctrl.c .index = 10, index 297 drivers/media/usb/uvc/uvc_ctrl.c .index = 11, index 307 drivers/media/usb/uvc/uvc_ctrl.c .index = 12, index 316 drivers/media/usb/uvc/uvc_ctrl.c .index = 13, index 326 drivers/media/usb/uvc/uvc_ctrl.c .index = 14, index 336 drivers/media/usb/uvc/uvc_ctrl.c .index = 17, index 344 drivers/media/usb/uvc/uvc_ctrl.c .index = 18, index 1146 drivers/media/usb/uvc/uvc_ctrl.c u32 index = query_menu->index; index 1152 drivers/media/usb/uvc/uvc_ctrl.c query_menu->index = index; index 1164 drivers/media/usb/uvc/uvc_ctrl.c if (query_menu->index >= mapping->menu_count) { index 1169 drivers/media/usb/uvc/uvc_ctrl.c menu_info = &mapping->menu_info[query_menu->index]; index 1777 drivers/media/usb/uvc/uvc_ctrl.c info->index = ctrl->index; index 1778 drivers/media/usb/uvc/uvc_ctrl.c info->selector = ctrl->index + 1; index 1869 drivers/media/usb/uvc/uvc_ctrl.c if (ctrl->index == xqry->selector - 1) { index 1991 drivers/media/usb/uvc/uvc_ctrl.c ctrl->info.entity, ctrl->info.index, index 2112 drivers/media/usb/uvc/uvc_ctrl.c if (ctrl->index == mapping->selector - 1) { index 2180 drivers/media/usb/uvc/uvc_ctrl.c u8 index; index 2221 drivers/media/usb/uvc/uvc_ctrl.c if (blacklist[i].index >= 8 * size || index 2222 drivers/media/usb/uvc/uvc_ctrl.c !uvc_test_bit(controls, blacklist[i].index)) index 2226 drivers/media/usb/uvc/uvc_ctrl.c "removing it.\n", entity->id, blacklist[i].index); index 2228 drivers/media/usb/uvc/uvc_ctrl.c uvc_clear_bit(controls, blacklist[i].index); index 2254 drivers/media/usb/uvc/uvc_ctrl.c ctrl->index == info->index) { index 2318 drivers/media/usb/uvc/uvc_ctrl.c ctrl->index = i; index 456 drivers/media/usb/uvc/uvc_driver.c format->index = buffer[3]; index 115 drivers/media/usb/uvc/uvc_metadata.c u32 index = fdesc->index; index 118 drivers/media/usb/uvc/uvc_metadata.c index > 1U || (index && !dev->info->meta_format)) index 124 drivers/media/usb/uvc/uvc_metadata.c fdesc->index = index; index 125 drivers/media/usb/uvc/uvc_metadata.c fdesc->pixelformat = index ? dev->info->meta_format : V4L2_META_FMT_UVC; index 224 drivers/media/usb/uvc/uvc_v4l2.c probe->bFormatIndex = format->index; index 601 drivers/media/usb/uvc/uvc_v4l2.c u32 index = fmt->index; index 603 drivers/media/usb/uvc/uvc_v4l2.c if (fmt->type != stream->type || fmt->index >= stream->nformats) index 607 drivers/media/usb/uvc/uvc_v4l2.c fmt->index = index; index 610 drivers/media/usb/uvc/uvc_v4l2.c format = &stream->format[fmt->index]; index 829 drivers/media/usb/uvc/uvc_v4l2.c u32 index = input->index; index 834 drivers/media/usb/uvc/uvc_v4l2.c if (index != 0) index 841 drivers/media/usb/uvc/uvc_v4l2.c } else if (index < selector->bNrInPins) { index 842 drivers/media/usb/uvc/uvc_v4l2.c pin = selector->baSourceID[index]; index 855 drivers/media/usb/uvc/uvc_v4l2.c input->index = index; index 1171 drivers/media/usb/uvc/uvc_v4l2.c unsigned int index; index 1185 drivers/media/usb/uvc/uvc_v4l2.c for (i = 0, index = 0; i < format->nframes; i++) { index 1190 drivers/media/usb/uvc/uvc_v4l2.c if (index == fsize->index) index 1192 drivers/media/usb/uvc/uvc_v4l2.c index++; index 1212 drivers/media/usb/uvc/uvc_v4l2.c unsigned int index; index 1225 drivers/media/usb/uvc/uvc_v4l2.c index = fival->index; index 1231 drivers/media/usb/uvc/uvc_v4l2.c if (index < nintervals) index 1233 drivers/media/usb/uvc/uvc_v4l2.c index -= nintervals; index 1242 drivers/media/usb/uvc/uvc_v4l2.c frame->dwFrameInterval[index]; index 132 drivers/media/usb/uvc/uvc_video.c if (stream->format[i].index == ctrl->bFormatIndex) { index 2027 drivers/media/usb/uvc/uvc_video.c if (format->index == probe->bFormatIndex) index 2048 drivers/media/usb/uvc/uvc_video.c probe->bFormatIndex = format->index; index 220 drivers/media/usb/uvc/uvcvideo.h u8 index; /* Bit index in bmControls */ index 258 drivers/media/usb/uvc/uvcvideo.h u8 index; /* Used to match the uvc_control entry with a index 371 drivers/media/usb/uvc/uvcvideo.h u8 index; index 196 drivers/media/usb/zr364xx/zr364xx.c u16 index, unsigned char *cp, u16 size) index 208 drivers/media/usb/zr364xx/zr364xx.c USB_RECIP_DEVICE, value, index, index 702 drivers/media/usb/zr364xx/zr364xx.c if (i->index != 0) index 747 drivers/media/usb/zr364xx/zr364xx.c if (f->index > 0) index 252 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 index; index 426 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 index; index 439 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p64->index, &p32->index)) index 448 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p32->index, &p64->index) || index 472 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 index; index 598 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p64->index, &p32->index) || index 696 drivers/media/v4l2-core/v4l2-compat-ioctl32.c assign_in_user(&p32->index, &p64->index) || index 811 drivers/media/v4l2-core/v4l2-compat-ioctl32.c __u32 index; /* Which input */ index 3067 drivers/media/v4l2-core/v4l2-ctrls.c u32 i = qm->index; index 50 drivers/media/v4l2-core/v4l2-dev.c return sprintf(buf, "%i\n", vdev->index); index 52 drivers/media/v4l2-core/v4l2-dev.c static DEVICE_ATTR_RO(index); index 510 drivers/media/v4l2-core/v4l2-dev.c set_bit(video_devices[i]->index, used); index 970 drivers/media/v4l2-core/v4l2-dev.c vdev->index = get_index(vdev); index 179 drivers/media/v4l2-core/v4l2-dv-timings.c idx++ == t->index) { index 749 drivers/media/v4l2-core/v4l2-fwnode.c unsigned int index; index 752 drivers/media/v4l2-core/v4l2-fwnode.c for (index = 0; index 755 drivers/media/v4l2-core/v4l2-fwnode.c index, &args)); index 756 drivers/media/v4l2-core/v4l2-fwnode.c index++) index 759 drivers/media/v4l2-core/v4l2-fwnode.c if (!index) index 769 drivers/media/v4l2-core/v4l2-fwnode.c for (index = 0; index 771 drivers/media/v4l2-core/v4l2-fwnode.c 0, index, &args); index 772 drivers/media/v4l2-core/v4l2-fwnode.c index++) { index 953 drivers/media/v4l2-core/v4l2-fwnode.c unsigned int index, index 969 drivers/media/v4l2-core/v4l2-fwnode.c index, &fwnode_args); index 1042 drivers/media/v4l2-core/v4l2-fwnode.c unsigned int index; index 1048 drivers/media/v4l2-core/v4l2-fwnode.c index = 0; index 1051 drivers/media/v4l2-core/v4l2-fwnode.c prop, index, index 1065 drivers/media/v4l2-core/v4l2-fwnode.c index++; index 1068 drivers/media/v4l2-core/v4l2-fwnode.c for (index = 0; index 1070 drivers/media/v4l2-core/v4l2-fwnode.c prop, index, index 1073 drivers/media/v4l2-core/v4l2-fwnode.c index++) { index 130 drivers/media/v4l2-core/v4l2-ioctl.c unsigned int index = vs->index, i, j = 0; index 139 drivers/media/v4l2-core/v4l2-ioctl.c for (i = 0; i <= index && id; i++) { index 154 drivers/media/v4l2-core/v4l2-ioctl.c if (i <= index) index 225 drivers/media/v4l2-core/v4l2-ioctl.c p->index, (int)sizeof(p->name), p->name, p->type, p->audioset, index 235 drivers/media/v4l2-core/v4l2-ioctl.c p->index, (int)sizeof(p->name), p->name, p->type, p->audioset, index 244 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("index=%u, mode=0x%x\n", p->index, p->mode); index 247 drivers/media/v4l2-core/v4l2-ioctl.c p->index, (int)sizeof(p->name), p->name, index 256 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("index=%u\n", p->index); index 259 drivers/media/v4l2-core/v4l2-ioctl.c p->index, (int)sizeof(p->name), p->name, index 268 drivers/media/v4l2-core/v4l2-ioctl.c p->index, prt_names(p->type, v4l2_type_names), index 405 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("index=%u, txsubchans=0x%x\n", p->index, p->txsubchans); index 408 drivers/media/v4l2-core/v4l2-ioctl.c p->index, (int)sizeof(p->name), p->name, p->capability, index 417 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("index=%u, audmode=%u\n", p->index, p->audmode); index 420 drivers/media/v4l2-core/v4l2-ioctl.c p->index, (int)sizeof(p->name), p->name, p->type, index 439 drivers/media/v4l2-core/v4l2-ioctl.c p->index, index 482 drivers/media/v4l2-core/v4l2-ioctl.c p->index, index 512 drivers/media/v4l2-core/v4l2-ioctl.c p->index, p->plane, p->flags); index 520 drivers/media/v4l2-core/v4l2-ioctl.c p->index, p->count, index 578 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("id=0x%x, index=%d\n", p->id, p->index); index 730 drivers/media/v4l2-core/v4l2-ioctl.c pr_cont("index=%u, ", p->index); index 757 drivers/media/v4l2-core/v4l2-ioctl.c p->index, index 790 drivers/media/v4l2-core/v4l2-ioctl.c p->index, index 877 drivers/media/v4l2-core/v4l2-ioctl.c p->tuner, p->type, p->index, index 2585 drivers/media/v4l2-core/v4l2-ioctl.c .index = p->tuner, index 2589 drivers/media/v4l2-core/v4l2-ioctl.c if (p->index) index 2603 drivers/media/v4l2-core/v4l2-ioctl.c .index = p->tuner, index 2608 drivers/media/v4l2-core/v4l2-ioctl.c if (p->index) index 2711 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_ENUMSTD, v4l_enumstd, v4l_print_standard, INFO_FL_CLEAR(v4l2_standard, index)), index 2712 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_ENUMINPUT, v4l_enuminput, v4l_print_enuminput, INFO_FL_CLEAR(v4l2_input, index)), index 2715 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_G_TUNER, v4l_g_tuner, v4l_print_tuner, INFO_FL_CLEAR(v4l2_tuner, index)), index 2720 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_QUERYMENU, v4l_querymenu, v4l_print_querymenu, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_querymenu, index)), index 2727 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_ENUMOUTPUT, v4l_enumoutput, v4l_print_enumoutput, INFO_FL_CLEAR(v4l2_output, index)), index 2730 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_G_MODULATOR, v4l_g_modulator, v4l_print_modulator, INFO_FL_CLEAR(v4l2_modulator, index)), index 2743 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_ENUMAUDIO, v4l_stub_enumaudio, v4l_print_audio, INFO_FL_CLEAR(v4l2_audio, index)), index 2744 drivers/media/v4l2-core/v4l2-ioctl.c IOCTL_INFO(VIDIOC_ENUMAUDOUT, v4l_stub_enumaudout, v4l_print_audioout, INFO_FL_CLEAR(v4l2_audioout, index)), index 209 drivers/media/v4l2-core/v4l2-mem2mem.c if (b->vb.vb2_buf.index == idx) { index 707 drivers/media/v4l2-core/v4l2-subdev.c fmt->pad = pad->index; index 323 drivers/media/v4l2-core/videobuf-core.c b->index = vb->i; index 509 drivers/media/v4l2-core/videobuf-core.c if (unlikely(b->index >= VIDEO_MAX_FRAME)) { index 513 drivers/media/v4l2-core/videobuf-core.c if (unlikely(NULL == q->bufs[b->index])) { index 518 drivers/media/v4l2-core/videobuf-core.c videobuf_status(q, b, q->bufs[b->index], q->type); index 550 drivers/media/v4l2-core/videobuf-core.c if (b->index >= VIDEO_MAX_FRAME) { index 554 drivers/media/v4l2-core/videobuf-core.c buf = q->bufs[b->index]; index 347 drivers/memory/emif.c u32 index, type, density; index 354 drivers/memory/emif.c index = density - 1; index 360 drivers/memory/emif.c index = density + 3; index 363 drivers/memory/emif.c index = density - 1; index 370 drivers/memory/emif.c return &lpddr2_jedec_addressing_table[index]; index 2262 drivers/message/fusion/mptbase.c mpt_signal_reset(u8 index, MPT_ADAPTER *ioc, int reset_phase) index 2264 drivers/message/fusion/mptbase.c if ((MptDriverClass[index] == MPTSPI_DRIVER && index 2266 drivers/message/fusion/mptbase.c (MptDriverClass[index] == MPTFC_DRIVER && index 2268 drivers/message/fusion/mptbase.c (MptDriverClass[index] == MPTSAS_DRIVER && index 2273 drivers/message/fusion/mptbase.c return (MptResetHandlers[index])(ioc, reset_phase); index 3032 drivers/message/fusion/mptsas.c struct mptsas_phyinfo *phy_info, int index, int local) index 3046 drivers/message/fusion/mptsas.c phy = sas_phy_alloc(dev, index); index 2529 drivers/message/fusion/mptscsih.c int i, index=-1; index 2534 drivers/message/fusion/mptscsih.c index = i; index 2541 drivers/message/fusion/mptscsih.c return index; index 388 drivers/mfd/ab8500-core.c int index = offset / 8; index 391 drivers/mfd/ab8500-core.c ab8500->mask[index] |= mask; index 395 drivers/mfd/ab8500-core.c ab8500->mask[index + 2] |= mask; index 397 drivers/mfd/ab8500-core.c ab8500->mask[index + 1] |= mask; index 400 drivers/mfd/ab8500-core.c ab8500->mask[index] |= (mask << 1); index 408 drivers/mfd/ab8500-core.c int index = offset / 8; index 412 drivers/mfd/ab8500-core.c ab8500->mask[index] &= ~mask; index 417 drivers/mfd/ab8500-core.c ab8500->mask[index + 2] &= ~mask; index 420 drivers/mfd/ab8500-core.c ab8500->mask[index + 1] &= ~mask; index 424 drivers/mfd/ab8500-core.c ab8500->mask[index] &= ~(mask << 1); index 426 drivers/mfd/ab8500-core.c ab8500->mask[index] &= ~mask; index 429 drivers/mfd/ab8500-core.c ab8500->mask[index] &= ~mask; index 225 drivers/mfd/asic3.c u32 val, bank, index; index 229 drivers/mfd/asic3.c index = asic3_irq_to_index(asic, data->irq); index 233 drivers/mfd/asic3.c val |= 1 << index; index 262 drivers/mfd/asic3.c u32 val, bank, index; index 266 drivers/mfd/asic3.c index = asic3_irq_to_index(asic, data->irq); index 270 drivers/mfd/asic3.c val &= ~(1 << index); index 299 drivers/mfd/asic3.c u32 bank, index; index 304 drivers/mfd/asic3.c index = asic3_irq_to_index(asic, data->irq); index 305 drivers/mfd/asic3.c bit = 1<<index; index 356 drivers/mfd/asic3.c u32 bank, index; index 360 drivers/mfd/asic3.c index = asic3_irq_to_index(asic, data->irq); index 361 drivers/mfd/asic3.c bit = 1<<index; index 52 drivers/mfd/ipaq-micro.c tx->index = 0; index 154 drivers/mfd/ipaq-micro.c rx->index = 0; index 160 drivers/mfd/ipaq-micro.c rx->buf[rx->index] = ch; index 161 drivers/mfd/ipaq-micro.c if (++rx->index == rx->len) index 286 drivers/mfd/ipaq-micro.c while ((tx->index < tx->len) && index 288 drivers/mfd/ipaq-micro.c writel(tx->buf[tx->index], micro->base + UTDR); index 289 drivers/mfd/ipaq-micro.c tx->index++; index 357 drivers/mfd/ipaq-micro.c } while (((tx->index < tx->len) && (status & UTSR0_TFS)) || index 170 drivers/mfd/kempld-core.c u8 kempld_read8(struct kempld_device_data *pld, u8 index) index 172 drivers/mfd/kempld-core.c iowrite8(index, pld->io_index); index 185 drivers/mfd/kempld-core.c void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data) index 187 drivers/mfd/kempld-core.c iowrite8(index, pld->io_index); index 199 drivers/mfd/kempld-core.c u16 kempld_read16(struct kempld_device_data *pld, u8 index) index 201 drivers/mfd/kempld-core.c return kempld_read8(pld, index) | kempld_read8(pld, index + 1) << 8; index 213 drivers/mfd/kempld-core.c void kempld_write16(struct kempld_device_data *pld, u8 index, u16 data) index 215 drivers/mfd/kempld-core.c kempld_write8(pld, index, (u8)data); index 216 drivers/mfd/kempld-core.c kempld_write8(pld, index + 1, (u8)(data >> 8)); index 227 drivers/mfd/kempld-core.c u32 kempld_read32(struct kempld_device_data *pld, u8 index) index 229 drivers/mfd/kempld-core.c return kempld_read16(pld, index) | kempld_read16(pld, index + 2) << 16; index 241 drivers/mfd/kempld-core.c void kempld_write32(struct kempld_device_data *pld, u8 index, u32 data) index 243 drivers/mfd/kempld-core.c kempld_write16(pld, index, (u16)data); index 244 drivers/mfd/kempld-core.c kempld_write16(pld, index + 2, (u16)(data >> 16)); index 1190 drivers/mfd/sm501.c int index; index 1193 drivers/mfd/sm501.c for (index = 0; index < pdata->gpio_i2c_nr; index++, iic++) { index 93 drivers/mfd/sta2x11-mfd.c enum sta2x11_mfd_plat_dev index) index 105 drivers/mfd/sta2x11-mfd.c regs = mfd->regs[index]; index 110 drivers/mfd/sta2x11-mfd.c spin_lock_irqsave(&mfd->lock[index], flags); index 116 drivers/mfd/sta2x11-mfd.c spin_unlock_irqrestore(&mfd->lock[index], flags); index 122 drivers/mfd/sta2x11-mfd.c enum sta2x11_mfd_plat_dev index, index 134 drivers/mfd/sta2x11-mfd.c if (index >= sta2x11_n_mfd_plat_devs) index 136 drivers/mfd/sta2x11-mfd.c *regs = mfd->regs[index]; index 137 drivers/mfd/sta2x11-mfd.c *lock = &mfd->lock[index]; index 297 drivers/mfd/sta2x11-mfd.c enum sta2x11_mfd_plat_dev index) index 302 drivers/mfd/sta2x11-mfd.c const char *name = sta2x11_mfd_names[index]; index 303 drivers/mfd/sta2x11-mfd.c struct regmap_config *regmap_config = sta2x11_mfd_regmap_configs[index]; index 319 drivers/mfd/sta2x11-mfd.c mfd->regs[index] = ioremap(res->start, resource_size(res)); index 320 drivers/mfd/sta2x11-mfd.c if (!mfd->regs[index]) { index 330 drivers/mfd/sta2x11-mfd.c mfd->regmap[index] = devm_regmap_init_mmio(&dev->dev, mfd->regs[index], index 332 drivers/mfd/sta2x11-mfd.c WARN_ON(IS_ERR(mfd->regmap[index])); index 58 drivers/mfd/tps65911-comparator.c u8 index = 0, val; index 61 drivers/mfd/tps65911-comparator.c curr_voltage = tps_comp.vsel_table[index]; index 65 drivers/mfd/tps65911-comparator.c index ++; index 71 drivers/mfd/tps65911-comparator.c val = index << 1; index 248 drivers/misc/altera-stapl/altera.c u32 index; index 922 drivers/misc/altera-stapl/altera.c index = 7 + 1; index 923 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 924 drivers/misc/altera-stapl/altera.c long_tmp = stack[stack_ptr - index]; index 925 drivers/misc/altera-stapl/altera.c stack[stack_ptr - index] = stack[stack_ptr - 1]; index 937 drivers/misc/altera-stapl/altera.c index = 6 + 1; index 938 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 939 drivers/misc/altera-stapl/altera.c long_tmp = stack[stack_ptr - index]; index 940 drivers/misc/altera-stapl/altera.c stack[stack_ptr - index] = stack[stack_ptr - 1]; index 945 drivers/misc/altera-stapl/altera.c index = 8 + 1; index 946 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 947 drivers/misc/altera-stapl/altera.c stack[stack_ptr] = stack[stack_ptr - index]; index 952 drivers/misc/altera-stapl/altera.c index = 2 + 1; index 953 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 954 drivers/misc/altera-stapl/altera.c long_tmp = stack[stack_ptr - index]; index 955 drivers/misc/altera-stapl/altera.c stack[stack_ptr - index] = stack[stack_ptr - 1]; index 967 drivers/misc/altera-stapl/altera.c index = 6 + 1; index 968 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 969 drivers/misc/altera-stapl/altera.c stack[stack_ptr] = stack[stack_ptr - index]; index 974 drivers/misc/altera-stapl/altera.c index = 6 + 1; index 975 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 976 drivers/misc/altera-stapl/altera.c stack[stack_ptr] = stack[stack_ptr - index]; index 1077 drivers/misc/altera-stapl/altera.c index = (args[0]) + 1; index 1078 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 1079 drivers/misc/altera-stapl/altera.c long_tmp = stack[stack_ptr - index]; index 1080 drivers/misc/altera-stapl/altera.c stack[stack_ptr - index] = stack[stack_ptr - 1]; index 1089 drivers/misc/altera-stapl/altera.c index = (args[0]) + 1; index 1090 drivers/misc/altera-stapl/altera.c if (altera_check_stack(stack_ptr, index, &status)) { index 1091 drivers/misc/altera-stapl/altera.c stack[stack_ptr] = stack[stack_ptr - index]; index 1160 drivers/misc/altera-stapl/altera.c index = stack[--stack_ptr]; index 1163 drivers/misc/altera-stapl/altera.c longptr_tmp[index] = stack[--stack_ptr]; index 1386 drivers/misc/altera-stapl/altera.c index = stack[--stack_ptr]; index 1394 drivers/misc/altera-stapl/altera.c count = 1 + count - index; index 1397 drivers/misc/altera-stapl/altera.c status = altera_set_dr_pre(&astate->js, count, index, index 1409 drivers/misc/altera-stapl/altera.c index = stack[--stack_ptr]; index 1417 drivers/misc/altera-stapl/altera.c count = 1 + count - index; index 1420 drivers/misc/altera-stapl/altera.c status = altera_set_dr_post(&astate->js, count, index, index 1432 drivers/misc/altera-stapl/altera.c index = stack[--stack_ptr]; index 1440 drivers/misc/altera-stapl/altera.c count = 1 + count - index; index 1443 drivers/misc/altera-stapl/altera.c status = altera_set_ir_pre(&astate->js, count, index, index 1456 drivers/misc/altera-stapl/altera.c index = stack[--stack_ptr]; index 1464 drivers/misc/altera-stapl/altera.c count = 1 + count - index; index 1467 drivers/misc/altera-stapl/altera.c status = altera_set_ir_post(&astate->js, count, index, index 1492 drivers/misc/altera-stapl/altera.c index = stack[stack_ptr - 1]; index 1498 drivers/misc/altera-stapl/altera.c stack[stack_ptr - 1] = longptr_tmp[index]; index 1502 drivers/misc/altera-stapl/altera.c (index * sizeof(long)); index 1532 drivers/misc/altera-stapl/altera.c index = stack[stack_ptr - 1]; index 1539 drivers/misc/altera-stapl/altera.c count = 1 + count - index; index 1549 drivers/misc/altera-stapl/altera.c if (charptr_tmp[(i + index) >> 3] & index 1550 drivers/misc/altera-stapl/altera.c (1 << ((i + index) & 7))) index 1609 drivers/misc/altera-stapl/altera.c for (index = 0; index < count; ++index) index 1610 drivers/misc/altera-stapl/altera.c charptr_tmp[index] = 0; index 1753 drivers/misc/altera-stapl/altera.c index = copy_index; index 1821 drivers/misc/altera-stapl/altera.c if (charptr_tmp2[index >> 3] & index 1822 drivers/misc/altera-stapl/altera.c (1 << (index & 7))) index 1829 drivers/misc/altera-stapl/altera.c ++index; index 2319 drivers/misc/altera-stapl/altera.c int index, index 2355 drivers/misc/altera-stapl/altera.c if (index >= action_count) index 2358 drivers/misc/altera-stapl/altera.c act_name_id = get_unaligned_be32(&p[action_table + (12 * index)]); index 2359 drivers/misc/altera-stapl/altera.c act_desc_id = get_unaligned_be32(&p[action_table + (12 * index) + 4]); index 2360 drivers/misc/altera-stapl/altera.c act_proc_id = get_unaligned_be32(&p[action_table + (12 * index) + 8]); index 2416 drivers/misc/altera-stapl/altera.c int index = 0; index 2459 drivers/misc/altera-stapl/altera.c for (index = 0; index < action_count; ++index) { index 2461 drivers/misc/altera-stapl/altera.c index, &action_name, index 172 drivers/misc/cardreader/rtsx_usb.c u16 value, index; index 176 drivers/misc/cardreader/rtsx_usb.c index = mask | data << 8; index 181 drivers/misc/cardreader/rtsx_usb.c value, index, NULL, 0, 100); index 66 drivers/misc/ds1682.c rc = i2c_smbus_read_i2c_block_data(client, sattr->index, sattr->nr, index 73 drivers/misc/ds1682.c if (sattr->index == DS1682_REG_ELAPSED) { index 78 drivers/misc/ds1682.c rc = i2c_smbus_read_i2c_block_data(client, sattr->index, index 122 drivers/misc/ds1682.c rc = i2c_smbus_write_i2c_block_data(client, sattr->index, sattr->nr, index 126 drivers/misc/ds1682.c sattr->index, sattr->nr); index 509 drivers/misc/eeprom/at24.c static int at24_make_dummy_client(struct at24_data *at24, unsigned int index, index 520 drivers/misc/eeprom/at24.c base_client->addr + index); index 528 drivers/misc/eeprom/at24.c at24->client[index].client = dummy_client; index 529 drivers/misc/eeprom/at24.c at24->client[index].regmap = regmap; index 4283 drivers/misc/habanalabs/goya/goya.c u8 index; index 4294 drivers/misc/habanalabs/goya/goya.c index = (event_type - GOYA_ASYNC_EVENT_ID_TPC0_ECC) / 3; index 4295 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4298 drivers/misc/habanalabs/goya/goya.c index = event_type - GOYA_ASYNC_EVENT_ID_SRAM0; index 4299 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4302 drivers/misc/habanalabs/goya/goya.c index = event_type - GOYA_ASYNC_EVENT_ID_PLL0; index 4303 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4313 drivers/misc/habanalabs/goya/goya.c index = (event_type - GOYA_ASYNC_EVENT_ID_TPC0_DEC) / 3; index 4314 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4324 drivers/misc/habanalabs/goya/goya.c index = (event_type - GOYA_ASYNC_EVENT_ID_TPC0_KRN_ERR) / 10; index 4325 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4328 drivers/misc/habanalabs/goya/goya.c index = event_type - GOYA_ASYNC_EVENT_ID_TPC0_CMDQ; index 4329 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4332 drivers/misc/habanalabs/goya/goya.c index = event_type - GOYA_ASYNC_EVENT_ID_TPC0_QM; index 4333 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4336 drivers/misc/habanalabs/goya/goya.c index = event_type - GOYA_ASYNC_EVENT_ID_DMA0_QM; index 4337 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4340 drivers/misc/habanalabs/goya/goya.c index = event_type - GOYA_ASYNC_EVENT_ID_DMA0_CH; index 4341 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4351 drivers/misc/habanalabs/goya/goya.c index = (event_type - GOYA_ASYNC_EVENT_ID_TPC0_BMON_SPMU) / 10; index 4352 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 4355 drivers/misc/habanalabs/goya/goya.c index = event_type - GOYA_ASYNC_EVENT_ID_DMA_BM_CH0; index 4356 drivers/misc/habanalabs/goya/goya.c snprintf(desc, size, _goya_get_event_desc(event_type), index); index 81 drivers/misc/ibmasm/event.c unsigned int index; index 95 drivers/misc/ibmasm/event.c index = buffer->next_index; index 96 drivers/misc/ibmasm/event.c event = &buffer->events[index]; index 98 drivers/misc/ibmasm/event.c index = (index + 1) % IBMASM_NUM_EVENTS; index 99 drivers/misc/ibmasm/event.c event = &buffer->events[index]; index 455 drivers/misc/ibmvmc.c hmcs[i].index = i; index 502 drivers/misc/ibmvmc.c hmc->index = 0; index 580 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc->index; index 624 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc->index; index 802 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc->index; index 1095 drivers/misc/ibmvmc.c vmc_buffer = ibmvmc_get_valid_hmc_buffer(hmc->index); index 1150 drivers/misc/ibmvmc.c unsigned int valid, free, index; index 1165 drivers/misc/ibmvmc.c for (index = 0; index <= ibmvmc.max_hmc_index; index++) { index 1167 drivers/misc/ibmvmc.c ibmvmc_count_hmc_buffers(index, &valid, &free); index 1170 drivers/misc/ibmvmc.c index); index 1242 drivers/misc/ibmvmc.c buffer = ibmvmc_get_valid_hmc_buffer(hmc->index); index 186 drivers/misc/ibmvmc.h u8 index; index 524 drivers/misc/lis3lv02d/lis3lv02d.c static inline void lis302dl_data_ready(struct lis3lv02d *lis3, int index) index 530 drivers/misc/lis3lv02d/lis3lv02d.c lis3->data_ready_count[index]++; index 81 drivers/misc/mic/bus/cosm_bus.c cdev->index = ret; index 83 drivers/misc/mic/bus/cosm_bus.c dev_set_name(&cdev->dev, "cosm-dev%u", cdev->index); index 90 drivers/misc/mic/bus/cosm_bus.c ida_simple_remove(&cosm_index_ida, cdev->index); index 99 drivers/misc/mic/bus/cosm_bus.c int index = dev->index; /* save for after device release */ index 102 drivers/misc/mic/bus/cosm_bus.c ida_simple_remove(&cosm_index_ida, index); index 63 drivers/misc/mic/bus/cosm_bus.h int index; index 136 drivers/misc/mic/bus/mic_bus.c struct mbus_hw_ops *hw_ops, int index, index 156 drivers/misc/mic/bus/mic_bus.c mbdev->index = index; index 157 drivers/misc/mic/bus/mic_bus.c dev_set_name(&mbdev->dev, "mbus-dev%u", mbdev->index); index 157 drivers/misc/mic/bus/vop_bus.c vdev->index = dnode - 1; index 158 drivers/misc/mic/bus/vop_bus.c dev_set_name(&vdev->dev, "vop-dev%u", vdev->index); index 50 drivers/misc/mic/bus/vop_bus.h int index; index 80 drivers/misc/mic/card/mic_device.c void *data, int index) index 86 drivers/misc/mic/card/mic_device.c rc = request_threaded_irq(mic_db_to_irq(mdrv, index), handler, index 92 drivers/misc/mic/card/mic_device.c mdrv->irq_info.irq_usage_count[index]++; index 93 drivers/misc/mic/card/mic_device.c cookie = index; index 110 drivers/misc/mic/card/mic_device.c int index; index 113 drivers/misc/mic/card/mic_device.c index = (unsigned long)cookie & 0xFFFFU; index 114 drivers/misc/mic/card/mic_device.c free_irq(mic_db_to_irq(mdrv, index), data); index 115 drivers/misc/mic/card/mic_device.c mdrv->irq_info.irq_usage_count[index]--; index 126 drivers/misc/mic/card/mic_device.c int index = 0; index 131 drivers/misc/mic/card/mic_device.c mdrv->irq_info.irq_usage_count[index]) index 132 drivers/misc/mic/card/mic_device.c index = i; index 135 drivers/misc/mic/card/mic_device.c return index; index 112 drivers/misc/mic/card/mic_x100.c static inline int mic_get_rdmasr_irq(int index) index 114 drivers/misc/mic/card/mic_x100.c return MIC_X100_RDMASR_IRQ_BASE + index; index 94 drivers/misc/mic/cosm/cosm_debugfs.c scnprintf(name, sizeof(name), "mic%d", cdev->index); index 105 drivers/misc/mic/cosm/cosm_main.c rc = cdev->hw_ops->start(cdev, cdev->index); index 257 drivers/misc/mic/cosm/cosm_main.c MKDEV(0, cdev->index), cdev, cdev->attr_group, index 258 drivers/misc/mic/cosm/cosm_main.c "mic%d", cdev->index); index 276 drivers/misc/mic/cosm/cosm_main.c device_destroy(g_cosm_class, MKDEV(0, cdev->index)); index 287 drivers/misc/mic/cosm/cosm_main.c device_destroy(g_cosm_class, MKDEV(0, cdev->index)); index 25 drivers/misc/mic/host/mic_smpt.c static inline u64 mic_smpt_to_pa(struct mic_device *mdev, u8 index) index 27 drivers/misc/mic/host/mic_smpt.c return mdev->smpt->info.base + (index * mdev->smpt->info.page_size); index 18 drivers/misc/mic/host/mic_smpt.h void (*set)(struct mic_device *mdev, dma_addr_t dma_addr, u8 index); index 501 drivers/misc/mic/host/mic_x100.c mic_x100_smpt_set(struct mic_device *mdev, dma_addr_t dma_addr, u8 index) index 518 drivers/misc/mic/host/mic_x100.c MIC_X100_SBOX_SMPT00 + (4 * index)); index 763 drivers/misc/mic/scif/scif_dma.c i = iter->index; index 773 drivers/misc/mic/scif/scif_dma.c iter->index = i; index 378 drivers/misc/mic/scif/scif_rma.h int index; index 385 drivers/misc/mic/scif/scif_rma.h iter->index = 0; index 273 drivers/misc/mic/vop/vop_main.c static struct virtqueue *vop_new_virtqueue(unsigned int index, index 289 drivers/misc/mic/vop/vop_main.c return __vring_new_virtqueue(index, vring, vdev, weak_barriers, context, index 299 drivers/misc/mic/vop/vop_main.c unsigned index, index 314 drivers/misc/mic/vop/vop_main.c if (index >= ioread8(&vdev->desc->num_vq)) index 321 drivers/misc/mic/vop/vop_main.c vqconfig = _vop_vq_config(vdev->desc) + index; index 328 drivers/misc/mic/vop/vop_main.c vdev->vr[index] = va; index 334 drivers/misc/mic/vop/vop_main.c if (WARN(magic != MIC_MAGIC + type + index, "magic mismatch")) { index 339 drivers/misc/mic/vop/vop_main.c vdev->used_size[index] = PAGE_ALIGN(sizeof(__u16) * 3 + index 343 drivers/misc/mic/vop/vop_main.c get_order(vdev->used_size[index])); index 344 drivers/misc/mic/vop/vop_main.c vdev->used_virt[index] = used; index 352 drivers/misc/mic/vop/vop_main.c vq = vop_new_virtqueue(index, le16_to_cpu(config.num), dev, ctx, index 360 drivers/misc/mic/vop/vop_main.c vdev->used[index] = dma_map_single(&vpdev->dev, used, index 361 drivers/misc/mic/vop/vop_main.c vdev->used_size[index], index 363 drivers/misc/mic/vop/vop_main.c if (dma_mapping_error(&vpdev->dev, vdev->used[index])) { index 369 drivers/misc/mic/vop/vop_main.c writeq(vdev->used[index], &vqconfig->used_address); index 377 drivers/misc/mic/vop/vop_main.c get_order(vdev->used_size[index])); index 379 drivers/misc/mic/vop/vop_main.c vpdev->hw_ops->unmap(vpdev, vdev->vr[index]); index 349 drivers/misc/mic/vop/vop_vringh.c snprintf(irqname, sizeof(irqname), "vop%dvirtio%d", vpdev->index, index 1126 drivers/misc/mic/vop/vop_vringh.c snprintf(vi->name, sizeof(vi->name), "vop_virtio%d", vpdev->index); index 455 drivers/misc/pti.c int idx = tty->index; index 692 drivers/misc/pti.c static struct tty_driver *pti_console_device(struct console *c, int *index) index 694 drivers/misc/pti.c *index = c->index; index 730 drivers/misc/pti.c .index = 0, index 749 drivers/misc/pti.c if (port->tty->index == PTITTY_MINOR_START) index 766 drivers/misc/pti.c if (port->tty->index == PTITTY_MINOR_START) index 713 drivers/misc/sgi-gru/gru_instructions.h int index) index 715 drivers/misc/sgi-gru/gru_instructions.h return gseg + GRU_CB_BASE + index * GRU_HANDLE_STRIDE; index 723 drivers/misc/sgi-gru/gru_instructions.h static inline void *gru_get_data_pointer(void *gseg, int index) index 725 drivers/misc/sgi-gru/gru_instructions.h return gseg + GRU_DS_BASE + index * GRU_CACHE_LINE_BYTES; index 50 drivers/misc/vexpress-syscfg.c int index, bool write, u32 *data) index 57 drivers/misc/vexpress-syscfg.c if (WARN_ON(index >= func->num_templates)) index 64 drivers/misc/vexpress-syscfg.c command = func->template[index]; index 110 drivers/misc/vexpress-syscfg.c static int vexpress_syscfg_read(void *context, unsigned int index, index 115 drivers/misc/vexpress-syscfg.c return vexpress_syscfg_exec(func, index, false, val); index 118 drivers/misc/vexpress-syscfg.c static int vexpress_syscfg_write(void *context, unsigned int index, index 123 drivers/misc/vexpress-syscfg.c return vexpress_syscfg_exec(func, index, true, &val); index 116 drivers/misc/vmw_vmci/vmci_handle_array.c vmci_handle_arr_get_entry(const struct vmci_handle_arr *array, u32 index) index 118 drivers/misc/vmw_vmci/vmci_handle_array.c if (unlikely(index >= array->size)) index 121 drivers/misc/vmw_vmci/vmci_handle_array.c return array->entries[index]; index 41 drivers/misc/vmw_vmci/vmci_handle_array.h vmci_handle_arr_get_entry(const struct vmci_handle_arr *array, u32 index); index 2339 drivers/mmc/core/block.c "mmcblk%u%s", card->host->index, subname ? subname : ""); index 2526 drivers/mmc/core/block.c "mmcblk%u%s", card->host->index, subname ? subname : ""); index 39 drivers/mmc/core/host.c ida_simple_remove(&mmc_host_ida, host->index); index 414 drivers/mmc/core/host.c host->index = err; index 416 drivers/mmc/core/host.c dev_set_name(&host->class_dev, "mmc%d", host->index); index 525 drivers/mmc/core/mmc_ops.c int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, index 551 drivers/mmc/core/mmc_ops.c (index << 16) | index 566 drivers/mmc/core/mmc_ops.c if (index == EXT_CSD_SANITIZE_START) index 603 drivers/mmc/core/mmc_ops.c int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, index 606 drivers/mmc/core/mmc_ops.c return __mmc_switch(card, set, index, value, timeout_ms, 0, index 34 drivers/mmc/core/mmc_ops.h int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, index 37 drivers/mmc/core/mmc_ops.h int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, index 65 drivers/mmc/core/sdio_uart.c unsigned int index; index 88 drivers/mmc/core/sdio_uart.c int index, ret = -EBUSY; index 96 drivers/mmc/core/sdio_uart.c for (index = 0; index < UART_NR; index++) { index 97 drivers/mmc/core/sdio_uart.c if (!sdio_uart_table[index]) { index 98 drivers/mmc/core/sdio_uart.c port->index = index; index 99 drivers/mmc/core/sdio_uart.c sdio_uart_table[index] = port; index 109 drivers/mmc/core/sdio_uart.c static struct sdio_uart_port *sdio_uart_port_get(unsigned index) index 113 drivers/mmc/core/sdio_uart.c if (index >= UART_NR) index 117 drivers/mmc/core/sdio_uart.c port = sdio_uart_table[index]; index 135 drivers/mmc/core/sdio_uart.c sdio_uart_table[port->index] = NULL; index 728 drivers/mmc/core/sdio_uart.c int idx = tty->index; index 1100 drivers/mmc/core/sdio_uart.c sdio_uart_tty_driver, port->index, &func->dev); index 1114 drivers/mmc/core/sdio_uart.c tty_unregister_device(sdio_uart_tty_driver, port->index); index 106 drivers/mmc/host/au1xmmc.c int index; index 247 drivers/mmc/host/au1xmmc.c host->pio.index = 0; index 406 drivers/mmc/host/au1xmmc.c sg = &data->sg[host->pio.index]; index 410 drivers/mmc/host/au1xmmc.c sg_len = data->sg[host->pio.index].length - host->pio.offset; index 434 drivers/mmc/host/au1xmmc.c host->pio.index++; index 463 drivers/mmc/host/au1xmmc.c if (host->pio.index < host->dma.len) { index 464 drivers/mmc/host/au1xmmc.c sg = &data->sg[host->pio.index]; index 468 drivers/mmc/host/au1xmmc.c sg_len = sg_dma_len(&data->sg[host->pio.index]) - host->pio.offset; index 513 drivers/mmc/host/au1xmmc.c host->pio.index++; index 670 drivers/mmc/host/au1xmmc.c host->pio.index = 0; index 100 drivers/mmc/host/mmci_qcom_dml.c int index; index 103 drivers/mmc/host/mmci_qcom_dml.c index = of_property_match_string(np, "dma-names", name); index 105 drivers/mmc/host/mmci_qcom_dml.c if (index < 0) index 108 drivers/mmc/host/mmci_qcom_dml.c if (of_parse_phandle_with_args(np, "dmas", "#dma-cells", index, index 1690 drivers/mmc/host/omap_hsmmc.c seq_printf(s, "mmc%d:\n", mmc->index); index 496 drivers/mmc/host/sdhci-sprd.c int ret, i, index; index 505 drivers/mmc/host/sdhci-sprd.c index = sdhci_sprd_phy_cfgs[i].timing; index 506 drivers/mmc/host/sdhci-sprd.c p[index] = val[0] | (val[1] << 8) | (val[2] << 16) | (val[3] << 24); index 491 drivers/mmc/host/sunxi-mmc.c host->mmc->index, cmd->opcode, index 720 drivers/mmc/host/sunxi-mmc.c int index; index 732 drivers/mmc/host/sunxi-mmc.c index = SDXC_CLK_400K; index 734 drivers/mmc/host/sunxi-mmc.c index = SDXC_CLK_25M; index 738 drivers/mmc/host/sunxi-mmc.c index = SDXC_CLK_50M; index 740 drivers/mmc/host/sunxi-mmc.c index = SDXC_CLK_50M_DDR_8BIT; index 742 drivers/mmc/host/sunxi-mmc.c index = SDXC_CLK_50M_DDR; index 749 drivers/mmc/host/sunxi-mmc.c clk_set_phase(host->clk_sample, host->cfg->clk_delays[index].sample); index 750 drivers/mmc/host/sunxi-mmc.c clk_set_phase(host->clk_output, host->cfg->clk_delays[index].output); index 113 drivers/mmc/host/wbsd.c static inline void wbsd_write_index(struct wbsd_host *host, u8 index, u8 value) index 115 drivers/mmc/host/wbsd.c outb(index, host->base + WBSD_IDXR); index 119 drivers/mmc/host/wbsd.c static inline u8 wbsd_read_index(struct wbsd_host *host, u8 index) index 121 drivers/mmc/host/wbsd.c outb(index, host->base + WBSD_IDXR); index 1972 drivers/mtd/chips/jedec_probe.c static int cfi_jedec_setup(struct map_info *map, struct cfi_private *cfi, int index) index 1977 drivers/mtd/chips/jedec_probe.c if (!(jedec_table[index].devtypes & cfi->device_type)) { index 1979 drivers/mtd/chips/jedec_probe.c jedec_table[index].name, 4 * (1<<cfi->device_type)); index 1983 drivers/mtd/chips/jedec_probe.c printk(KERN_INFO "Found: %s\n",jedec_table[index].name); index 1985 drivers/mtd/chips/jedec_probe.c num_erase_regions = jedec_table[index].nr_regions; index 1995 drivers/mtd/chips/jedec_probe.c cfi->cfiq->P_ID = jedec_table[index].cmd_set; index 1996 drivers/mtd/chips/jedec_probe.c cfi->cfiq->NumEraseRegions = jedec_table[index].nr_regions; index 1997 drivers/mtd/chips/jedec_probe.c cfi->cfiq->DevSize = jedec_table[index].dev_size; index 2002 drivers/mtd/chips/jedec_probe.c cfi->cfiq->EraseRegionInfo[i] = jedec_table[index].regions[i]; index 2007 drivers/mtd/chips/jedec_probe.c cfi->mfr = jedec_table[index].mfr_id; index 2008 drivers/mtd/chips/jedec_probe.c cfi->id = jedec_table[index].dev_id; index 2010 drivers/mtd/chips/jedec_probe.c uaddr = jedec_table[index].uaddr; index 47 drivers/mtd/devices/block2mtd.c static struct page *page_read(struct address_space *mapping, int index) index 49 drivers/mtd/devices/block2mtd.c return read_mapping_page(mapping, index, NULL); index 57 drivers/mtd/devices/block2mtd.c int index = to >> PAGE_SHIFT; // page index index 63 drivers/mtd/devices/block2mtd.c page = page_read(mapping, index); index 80 drivers/mtd/devices/block2mtd.c index++; index 106 drivers/mtd/devices/block2mtd.c int index = from >> PAGE_SHIFT; index 117 drivers/mtd/devices/block2mtd.c page = page_read(dev->blkdev->bd_inode->i_mapping, index); index 128 drivers/mtd/devices/block2mtd.c index++; index 140 drivers/mtd/devices/block2mtd.c int index = to >> PAGE_SHIFT; // page index index 151 drivers/mtd/devices/block2mtd.c page = page_read(mapping, index); index 169 drivers/mtd/devices/block2mtd.c index++; index 307 drivers/mtd/devices/block2mtd.c dev->mtd.index, index 486 drivers/mtd/devices/block2mtd.c dev->mtd.index, index 218 drivers/mtd/devices/ms02-nv.c mtd->index, ms02nv_name, addr, size >> 20); index 359 drivers/mtd/devices/spear_smi.c int index; index 362 drivers/mtd/devices/spear_smi.c for (index = 0; index < ARRAY_SIZE(flash_devices); index++) { index 363 drivers/mtd/devices/spear_smi.c if (flash_devices[index].device_id == flash_id) index 364 drivers/mtd/devices/spear_smi.c return index; index 73 drivers/mtd/inftlmount.c inftl->mbd.mtd->index, ret); index 95 drivers/mtd/inftlmount.c inftl->mbd.mtd->index, ret); index 631 drivers/mtd/maps/pcmciamtd.c dev_info(&dev->p_dev->dev, "mtd%d: %s\n", mtd->index, mtd->name); index 664 drivers/mtd/maps/pcmciamtd.c dev->mtd_info->index); index 358 drivers/mtd/maps/vmu-flash.c int index = 0, retval, partition, leftover, numblocks; index 374 drivers/mtd/maps/vmu-flash.c vblock = ofs_to_block(from + index, mtd, partition); index 383 drivers/mtd/maps/vmu-flash.c if (vblock->ofs + len - index < card->blocklen) { index 385 drivers/mtd/maps/vmu-flash.c memcpy(buf + index, index 387 drivers/mtd/maps/vmu-flash.c len - index); index 388 drivers/mtd/maps/vmu-flash.c index = len; index 391 drivers/mtd/maps/vmu-flash.c memcpy(buf + index, pcache->buffer + index 393 drivers/mtd/maps/vmu-flash.c index += leftover; index 400 drivers/mtd/maps/vmu-flash.c cx = vmu_flash_read_char(from + index, &retval, mtd); index 402 drivers/mtd/maps/vmu-flash.c *retlen = index; index 406 drivers/mtd/maps/vmu-flash.c memset(buf + index, cx, 1); index 407 drivers/mtd/maps/vmu-flash.c index++; index 410 drivers/mtd/maps/vmu-flash.c } while (len > index); index 411 drivers/mtd/maps/vmu-flash.c *retlen = index; index 422 drivers/mtd/maps/vmu-flash.c int index = 0, partition, error = 0, numblocks; index 459 drivers/mtd/maps/vmu-flash.c buffer[vblock->ofs] = buf[index]; index 461 drivers/mtd/maps/vmu-flash.c index++; index 462 drivers/mtd/maps/vmu-flash.c if (index >= len) index 477 drivers/mtd/maps/vmu-flash.c } while (len > index); index 480 drivers/mtd/maps/vmu-flash.c *retlen = index; index 313 drivers/mtd/mtdblock.c dev->mbd.devnum = mtd->index; index 43 drivers/mtd/mtdblock_ro.c dev->devnum = mtd->index; index 85 drivers/mtd/mtdcore.c #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2) index 93 drivers/mtd/mtdcore.c dev_t index = MTD_DEVT(mtd->index); index 96 drivers/mtd/mtdcore.c device_destroy(&mtd_class, index + 1); index 635 drivers/mtd/mtdcore.c mtd->index = i; index 732 drivers/mtd/mtdcore.c if (idr_find(&mtd_idr, mtd->index) != mtd) { index 744 drivers/mtd/mtdcore.c mtd->index, mtd->name, mtd->usecount); index 753 drivers/mtd/mtdcore.c idr_remove(&mtd_idr, mtd->index); index 1927 drivers/mtd/mtdcore.c mtd->index, (unsigned long long)mtd->size, index 29 drivers/mtd/mtdcore.h (mtd) = __mtd_next_device(mtd->index + 1)) index 297 drivers/mtd/mtdoops.c cxt->mtd_index = mtd->index; index 299 drivers/mtd/mtdoops.c if (mtd->index != cxt->mtd_index || cxt->mtd_index < 0) index 304 drivers/mtd/mtdoops.c mtd->index); index 309 drivers/mtd/mtdoops.c mtd->index); index 314 drivers/mtd/mtdoops.c mtd->index, MTDOOPS_MAX_MTD_SIZE / 1024 / 1024); index 341 drivers/mtd/mtdoops.c printk(KERN_INFO "mtdoops: Attached to MTD device %d\n", mtd->index); index 348 drivers/mtd/mtdoops.c if (mtd->index != cxt->mtd_index || cxt->mtd_index < 0) index 691 drivers/mtd/mtdpart.c (slave->mtd.index == partno)) { index 31 drivers/mtd/mtdsuper.c mtd->index, mtd->name); index 36 drivers/mtd/mtdsuper.c sb->s_mtd->index, sb->s_mtd->name, mtd->index, mtd->name); index 48 drivers/mtd/mtdsuper.c sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); index 72 drivers/mtd/mtdsuper.c mtd->index, mtd->name); index 77 drivers/mtd/mtdsuper.c mtd->index, mtd->name); index 1359 drivers/mtd/mtdswap.c if (mtd->index == part) index 1363 drivers/mtd/mtdswap.c if (mtd->index != part) index 1438 drivers/mtd/mtdswap.c mbd_dev->devnum = mtd->index; index 384 drivers/mtd/nand/onenand/samsung.c int index; index 403 drivers/mtd/nand/onenand/samsung.c index = ONENAND_CURRENT_BUFFERRAM(this); index 411 drivers/mtd/nand/onenand/samsung.c if (index) { index 477 drivers/mtd/nand/onenand/samsung.c int index = ONENAND_CURRENT_BUFFERRAM(this); index 482 drivers/mtd/nand/onenand/samsung.c if (index == 1) index 486 drivers/mtd/nand/onenand/samsung.c if (index == 1) index 186 drivers/mtd/nand/raw/diskonchip.c int index, bitpos, pos = 1015 - errpos[i]; index 195 drivers/mtd/nand/raw/diskonchip.c index = (pos >> 3) ^ 1; index 197 drivers/mtd/nand/raw/diskonchip.c if ((index >= 0 && index < SECTOR_SIZE) || index == (SECTOR_SIZE + 1)) { index 200 drivers/mtd/nand/raw/diskonchip.c if (index < SECTOR_SIZE) index 201 drivers/mtd/nand/raw/diskonchip.c data[index] ^= val; index 203 drivers/mtd/nand/raw/diskonchip.c index = ((pos >> 3) + 1) ^ 1; index 207 drivers/mtd/nand/raw/diskonchip.c if ((index >= 0 && index < SECTOR_SIZE) || index == (SECTOR_SIZE + 1)) { index 210 drivers/mtd/nand/raw/diskonchip.c if (index < SECTOR_SIZE) index 211 drivers/mtd/nand/raw/diskonchip.c data[index] ^= val; index 58 drivers/mtd/nand/raw/fsl_elbc_nand.c unsigned int index; /* Pointer to next byte to 'read' */ index 186 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index = column; index 190 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index += priv->page_size ? 2048 : 512; index 196 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index, index 321 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index = 0; index 339 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index += column; index 351 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index = column; index 481 drivers/mtd/nand/raw/fsl_elbc_nand.c "writing %d bytes.\n", elbc_fcm_ctrl->index); index 488 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index != mtd->writesize + mtd->oobsize) index 490 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index - elbc_fcm_ctrl->column); index 555 drivers/mtd/nand/raw/fsl_elbc_nand.c if ((unsigned int)len > bufsize - elbc_fcm_ctrl->index) { index 559 drivers/mtd/nand/raw/fsl_elbc_nand.c len, bufsize - elbc_fcm_ctrl->index); index 560 drivers/mtd/nand/raw/fsl_elbc_nand.c len = bufsize - elbc_fcm_ctrl->index; index 563 drivers/mtd/nand/raw/fsl_elbc_nand.c memcpy_toio(&elbc_fcm_ctrl->addr[elbc_fcm_ctrl->index], buf, len); index 571 drivers/mtd/nand/raw/fsl_elbc_nand.c in_8(&elbc_fcm_ctrl->addr[elbc_fcm_ctrl->index] + len - 1); index 573 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index += len; index 586 drivers/mtd/nand/raw/fsl_elbc_nand.c if (elbc_fcm_ctrl->index < elbc_fcm_ctrl->read_bytes) index 587 drivers/mtd/nand/raw/fsl_elbc_nand.c return in_8(&elbc_fcm_ctrl->addr[elbc_fcm_ctrl->index++]); index 606 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->read_bytes - elbc_fcm_ctrl->index); index 607 drivers/mtd/nand/raw/fsl_elbc_nand.c memcpy_fromio(buf, &elbc_fcm_ctrl->addr[elbc_fcm_ctrl->index], avail); index 608 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->index += avail; index 49 drivers/mtd/nand/raw/fsl_ifc_nand.c unsigned int index; /* Pointer to next byte to 'read' */ index 155 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index = column; index 159 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index += mtd->writesize; index 301 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index = 0; index 310 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index += column; index 448 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_out32(ifc_nand_ctrl->index - index 520 drivers/mtd/nand/raw/fsl_ifc_nand.c if ((unsigned int)len > bufsize - ifc_nand_ctrl->index) { index 523 drivers/mtd/nand/raw/fsl_ifc_nand.c __func__, len, bufsize - ifc_nand_ctrl->index); index 524 drivers/mtd/nand/raw/fsl_ifc_nand.c len = bufsize - ifc_nand_ctrl->index; index 527 drivers/mtd/nand/raw/fsl_ifc_nand.c memcpy_toio(ifc_nand_ctrl->addr + ifc_nand_ctrl->index, buf, len); index 528 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index += len; index 544 drivers/mtd/nand/raw/fsl_ifc_nand.c if (ifc_nand_ctrl->index < ifc_nand_ctrl->read_bytes) { index 545 drivers/mtd/nand/raw/fsl_ifc_nand.c offset = ifc_nand_ctrl->index++; index 566 drivers/mtd/nand/raw/fsl_ifc_nand.c if (ifc_nand_ctrl->index < ifc_nand_ctrl->read_bytes) { index 567 drivers/mtd/nand/raw/fsl_ifc_nand.c data = ifc_in16(ifc_nand_ctrl->addr + ifc_nand_ctrl->index); index 568 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index += 2; index 590 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->read_bytes - ifc_nand_ctrl->index); index 591 drivers/mtd/nand/raw/fsl_ifc_nand.c memcpy_fromio(buf, ifc_nand_ctrl->addr + ifc_nand_ctrl->index, avail); index 592 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index += avail; index 1023 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->index = 0; index 99 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c static void jz_nand_correct_data(uint8_t *buf, int index, int mask) index 101 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c int offset = index & 0x7; index 104 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c index += (index >> 3); index 106 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c data = buf[index]; index 107 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c data |= buf[index + 1] << 8; index 113 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c buf[index] = data & 0xff; index 114 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c buf[index + 1] = (data >> 8) & 0xff; index 121 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c int i, error_count, index; index 153 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c index = ((error >> 16) & 0x1ff) - 1; index 154 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c if (index >= 0 && index < params->size) index 155 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c jz_nand_correct_data(buf, index, error & 0x1ff); index 187 drivers/mtd/nand/raw/ingenic/jz4780_bch.c u32 reg, mask, index; index 217 drivers/mtd/nand/raw/ingenic/jz4780_bch.c index = (reg & BCH_BHERR_INDEX_MASK) >> index 219 drivers/mtd/nand/raw/ingenic/jz4780_bch.c buf[(index * 2) + 0] ^= mask; index 220 drivers/mtd/nand/raw/ingenic/jz4780_bch.c buf[(index * 2) + 1] ^= mask >> 8; index 94 drivers/mtd/nand/raw/meson_nand.c #define ROW_ADDER(page, index) (((page) >> (8 * (index))) & 0xff) index 2754 drivers/mtd/nand/raw/nand_base.c int index, section = 0; index 2762 drivers/mtd/nand/raw/nand_base.c index = start_step * chip->ecc.bytes; index 2783 drivers/mtd/nand/raw/nand_base.c ret = mtd_ooblayout_find_eccregion(mtd, index, §ion, &oobregion); index 2818 drivers/mtd/nand/raw/nand_base.c chip->oob_poi, index, eccfrag_len); index 1301 drivers/mtd/nand/raw/nandsim.c pgoff_t index, start_index, end_index; index 1310 drivers/mtd/nand/raw/nandsim.c for (index = start_index; index <= end_index; index++) { index 1311 drivers/mtd/nand/raw/nandsim.c page = find_get_page(mapping, index); index 1313 drivers/mtd/nand/raw/nandsim.c page = find_or_create_page(mapping, index, GFP_NOFS); index 1316 drivers/mtd/nand/raw/nandsim.c page = find_or_create_page(mapping, index, GFP_NOFS); index 139 drivers/mtd/nand/raw/omap_elm.c static void elm_configure_page_mode(struct elm_info *info, int index, index 146 drivers/mtd/nand/raw/omap_elm.c reg_val |= BIT(index); /* enable page mode */ index 148 drivers/mtd/nand/raw/omap_elm.c reg_val &= ~BIT(index); /* disable page mode */ index 342 drivers/mtd/nand/raw/sh_flctl.c unsigned int index; index 347 drivers/mtd/nand/raw/sh_flctl.c index = (512 * sector_number) + index 350 drivers/mtd/nand/raw/sh_flctl.c index = data >> 16; index 352 drivers/mtd/nand/raw/sh_flctl.c org = flctl->done_buff[index]; index 353 drivers/mtd/nand/raw/sh_flctl.c flctl->done_buff[index] = org ^ (data & 0xFF); index 749 drivers/mtd/nand/raw/sh_flctl.c flctl->index = 0; index 770 drivers/mtd/nand/raw/sh_flctl.c flctl->index += column; index 874 drivers/mtd/nand/raw/sh_flctl.c writel(flctl->index, FLDTCNTR(flctl)); /* set write size */ index 876 drivers/mtd/nand/raw/sh_flctl.c write_fiforeg(flctl, flctl->index, 0); index 963 drivers/mtd/nand/raw/sh_flctl.c memcpy(&flctl->done_buff[flctl->index], buf, len); index 964 drivers/mtd/nand/raw/sh_flctl.c flctl->index += len; index 972 drivers/mtd/nand/raw/sh_flctl.c data = flctl->done_buff[flctl->index]; index 973 drivers/mtd/nand/raw/sh_flctl.c flctl->index++; index 981 drivers/mtd/nand/raw/sh_flctl.c memcpy(buf, &flctl->done_buff[flctl->index], len); index 982 drivers/mtd/nand/raw/sh_flctl.c flctl->index += len; index 62 drivers/mtd/nftlmount.c block * nftl->EraseSize, nftl->mbd.mtd->index, ret); index 73 drivers/mtd/nftlmount.c block * nftl->EraseSize, nftl->mbd.mtd->index); index 84 drivers/mtd/nftlmount.c block * nftl->EraseSize, nftl->mbd.mtd->index, ret); index 94 drivers/mtd/nftlmount.c block * nftl->EraseSize, nftl->mbd.mtd->index, index 104 drivers/mtd/nftlmount.c block * nftl->EraseSize, nftl->mbd.mtd->index, ret); index 111 drivers/mtd/nftlmount.c block * nftl->EraseSize, nftl->mbd.mtd->index); index 1185 drivers/mtd/sm_ftl.c (int)(mtd->size / (1024 * 1024)), mtd->index); index 137 drivers/mtd/ssfdc.c mtd->index); index 349 drivers/mtd/ssfdc.c ssfdc->mbd.devnum + 'a', mtd->index, mtd->name); index 378 drivers/mtd/ubi/build.c ret = sprintf(buf, "%d\n", ubi->mtd->index); index 716 drivers/mtd/ubi/build.c ubi->mtd->index); index 824 drivers/mtd/ubi/build.c if (ubi && mtd->index == ubi->mtd->index) { index 826 drivers/mtd/ubi/build.c mtd->index, i); index 841 drivers/mtd/ubi/build.c mtd->index); index 852 drivers/mtd/ubi/build.c mtd->index); index 929 drivers/mtd/ubi/build.c ubi_msg(ubi, "attaching mtd%d", mtd->index); index 949 drivers/mtd/ubi/build.c mtd->index, err); index 979 drivers/mtd/ubi/build.c mtd->index, mtd->name, ubi->flash_size >> 20); index 1066 drivers/mtd/ubi/build.c ubi_msg(ubi, "detaching mtd%d", ubi->mtd->index); index 1093 drivers/mtd/ubi/build.c ubi_msg(ubi, "mtd%d is detached", ubi->mtd->index); index 1233 drivers/mtd/ubi/build.c mtd->index); index 324 drivers/mtd/ubi/gluebi.c g->mtd.index, vi->ubi_num, vi->vol_id); index 372 drivers/mtd/ubi/gluebi.c mtd->index, gluebi->ubi_num, gluebi->vol_id, err); index 488 drivers/mtd/ubi/gluebi.c err, mtd->index, gluebi->ubi_num, index 431 drivers/mux/core.c int index = 0; index 435 drivers/mux/core.c index = of_property_match_string(np, "mux-control-names", index 437 drivers/mux/core.c if (index < 0) { index 440 drivers/mux/core.c return ERR_PTR(index); index 446 drivers/mux/core.c index, &args); index 449 drivers/mux/core.c np, mux_name ?: "", index); index 340 drivers/net/arcnet/arcdevice.h void devm_arcnet_led_init(struct net_device *netdev, int index, int subid); index 235 drivers/net/arcnet/arcnet.c void devm_arcnet_led_init(struct net_device *netdev, int index, int subid) index 247 drivers/net/arcnet/arcnet.c "arc%d-%d-tx", index, subid); index 249 drivers/net/arcnet/arcnet.c "arc%d-%d-recon", index, subid); index 78 drivers/net/arcnet/com20020-pci.c outb(!!value, priv->misc + ci->leds[card->index].green); index 93 drivers/net/arcnet/com20020-pci.c outb(!!value, priv->misc + ci->leds[card->index].red); index 233 drivers/net/arcnet/com20020-pci.c card->index = i; index 78 drivers/net/arcnet/com20020.h int index; index 105 drivers/net/arcnet/com90xx.c int index; index 207 drivers/net/arcnet/com90xx.c for (index = 0, p = &shmems[0]; index < numshmems; p++, index++) { index 257 drivers/net/arcnet/com90xx.c iomem[index] = base; index 265 drivers/net/arcnet/com90xx.c index--; index 387 drivers/net/arcnet/com90xx.c for (index = 0; index < numshmems; index++) { index 388 drivers/net/arcnet/com90xx.c u_long ptr = shmems[index]; index 389 drivers/net/arcnet/com90xx.c void __iomem *base = iomem[index]; index 401 drivers/net/arcnet/com90xx.c shmems[index] = shmems[--numshmems]; index 402 drivers/net/arcnet/com90xx.c iomem[index] = iomem[numshmems]; index 427 drivers/net/arcnet/com90xx.c for (index = 0; index < numshmems; index++) { index 428 drivers/net/arcnet/com90xx.c arcnet_writeb(TESTvalue, iomem[index], COM9026_REG_W_INTMASK); index 429 drivers/net/arcnet/com90xx.c iounmap(iomem[index]); index 430 drivers/net/arcnet/com90xx.c release_mem_region(shmems[index], MIRROR_SIZE); index 57 drivers/net/bonding/bond_alb.c static void rlb_src_unlink(struct bonding *bond, u32 index); index 97 drivers/net/bonding/bond_alb.c u32 index; index 104 drivers/net/bonding/bond_alb.c index = SLAVE_TLB_INFO(slave).head; index 105 drivers/net/bonding/bond_alb.c while (index != TLB_NULL_INDEX) { index 106 drivers/net/bonding/bond_alb.c u32 next_index = tx_hash_table[index].next; index 107 drivers/net/bonding/bond_alb.c tlb_init_table_entry(&tx_hash_table[index], save_load); index 108 drivers/net/bonding/bond_alb.c index = next_index; index 383 drivers/net/bonding/bond_alb.c u32 index, next_index; index 389 drivers/net/bonding/bond_alb.c index = bond_info->rx_hashtbl_used_head; index 390 drivers/net/bonding/bond_alb.c for (; index != RLB_NULL_INDEX; index = next_index) { index 391 drivers/net/bonding/bond_alb.c next_index = rx_hash_table[index].used_next; index 392 drivers/net/bonding/bond_alb.c if (rx_hash_table[index].slave == slave) { index 396 drivers/net/bonding/bond_alb.c rx_hash_table[index].slave = assigned_slave; index 397 drivers/net/bonding/bond_alb.c if (is_valid_ether_addr(rx_hash_table[index].mac_dst)) { index 398 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[index].ntt = 1; index 411 drivers/net/bonding/bond_alb.c rx_hash_table[index].slave = NULL; index 753 drivers/net/bonding/bond_alb.c static void rlb_delete_table_entry_dst(struct bonding *bond, u32 index) index 756 drivers/net/bonding/bond_alb.c u32 next_index = bond_info->rx_hashtbl[index].used_next; index 757 drivers/net/bonding/bond_alb.c u32 prev_index = bond_info->rx_hashtbl[index].used_prev; index 759 drivers/net/bonding/bond_alb.c if (index == bond_info->rx_hashtbl_used_head) index 768 drivers/net/bonding/bond_alb.c static void rlb_src_unlink(struct bonding *bond, u32 index) index 771 drivers/net/bonding/bond_alb.c u32 next_index = bond_info->rx_hashtbl[index].src_next; index 772 drivers/net/bonding/bond_alb.c u32 prev_index = bond_info->rx_hashtbl[index].src_prev; index 774 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[index].src_next = RLB_NULL_INDEX; index 775 drivers/net/bonding/bond_alb.c bond_info->rx_hashtbl[index].src_prev = RLB_NULL_INDEX; index 784 drivers/net/bonding/bond_alb.c if (bond_info->rx_hashtbl[prev_index].src_first == index) index 791 drivers/net/bonding/bond_alb.c static void rlb_delete_table_entry(struct bonding *bond, u32 index) index 794 drivers/net/bonding/bond_alb.c struct rlb_client_info *entry = &(bond_info->rx_hashtbl[index]); index 796 drivers/net/bonding/bond_alb.c rlb_delete_table_entry_dst(bond, index); index 799 drivers/net/bonding/bond_alb.c rlb_src_unlink(bond, index); index 825 drivers/net/bonding/bond_alb.c u32 index; index 829 drivers/net/bonding/bond_alb.c index = bond_info->rx_hashtbl[ip_src_hash].src_first; index 830 drivers/net/bonding/bond_alb.c while (index != RLB_NULL_INDEX) { index 831 drivers/net/bonding/bond_alb.c struct rlb_client_info *entry = &(bond_info->rx_hashtbl[index]); index 835 drivers/net/bonding/bond_alb.c rlb_delete_table_entry(bond, index); index 836 drivers/net/bonding/bond_alb.c index = next_index; index 204 drivers/net/can/c_can/c_can.h u16 (*read_reg) (const struct c_can_priv *priv, enum reg index); index 205 drivers/net/can/c_can/c_can.h void (*write_reg) (const struct c_can_priv *priv, enum reg index, u16 val); index 206 drivers/net/can/c_can/c_can.h u32 (*read_reg32) (const struct c_can_priv *priv, enum reg index); index 207 drivers/net/can/c_can/c_can.h void (*write_reg32) (const struct c_can_priv *priv, enum reg index, u32 val); index 51 drivers/net/can/c_can/c_can_pci.c enum reg index) index 53 drivers/net/can/c_can/c_can_pci.c return readw(priv->base + priv->regs[index]); index 57 drivers/net/can/c_can/c_can_pci.c enum reg index, u16 val) index 59 drivers/net/can/c_can/c_can_pci.c writew(val, priv->base + priv->regs[index]); index 63 drivers/net/can/c_can/c_can_pci.c enum reg index) index 65 drivers/net/can/c_can/c_can_pci.c return readw(priv->base + 2 * priv->regs[index]); index 69 drivers/net/can/c_can/c_can_pci.c enum reg index, u16 val) index 71 drivers/net/can/c_can/c_can_pci.c writew(val, priv->base + 2 * priv->regs[index]); index 75 drivers/net/can/c_can/c_can_pci.c enum reg index) index 77 drivers/net/can/c_can/c_can_pci.c return (u16)ioread32(priv->base + 2 * priv->regs[index]); index 81 drivers/net/can/c_can/c_can_pci.c enum reg index, u16 val) index 83 drivers/net/can/c_can/c_can_pci.c iowrite32((u32)val, priv->base + 2 * priv->regs[index]); index 86 drivers/net/can/c_can/c_can_pci.c static u32 c_can_pci_read_reg32(const struct c_can_priv *priv, enum reg index) index 90 drivers/net/can/c_can/c_can_pci.c val = priv->read_reg(priv, index); index 91 drivers/net/can/c_can/c_can_pci.c val |= ((u32) priv->read_reg(priv, index + 1)) << 16; index 96 drivers/net/can/c_can/c_can_pci.c static void c_can_pci_write_reg32(const struct c_can_priv *priv, enum reg index, index 99 drivers/net/can/c_can/c_can_pci.c priv->write_reg(priv, index + 1, val >> 16); index 100 drivers/net/can/c_can/c_can_pci.c priv->write_reg(priv, index, val); index 51 drivers/net/can/c_can/c_can_platform.c enum reg index) index 53 drivers/net/can/c_can/c_can_platform.c return readw(priv->base + priv->regs[index]); index 57 drivers/net/can/c_can/c_can_platform.c enum reg index, u16 val) index 59 drivers/net/can/c_can/c_can_platform.c writew(val, priv->base + priv->regs[index]); index 63 drivers/net/can/c_can/c_can_platform.c enum reg index) index 65 drivers/net/can/c_can/c_can_platform.c return readw(priv->base + 2 * priv->regs[index]); index 69 drivers/net/can/c_can/c_can_platform.c enum reg index, u16 val) index 71 drivers/net/can/c_can/c_can_platform.c writew(val, priv->base + 2 * priv->regs[index]); index 142 drivers/net/can/c_can/c_can_platform.c static u32 c_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) index 146 drivers/net/can/c_can/c_can_platform.c val = priv->read_reg(priv, index); index 147 drivers/net/can/c_can/c_can_platform.c val |= ((u32) priv->read_reg(priv, index + 1)) << 16; index 152 drivers/net/can/c_can/c_can_platform.c static void c_can_plat_write_reg32(const struct c_can_priv *priv, enum reg index, index 155 drivers/net/can/c_can/c_can_platform.c priv->write_reg(priv, index + 1, val >> 16); index 156 drivers/net/can/c_can/c_can_platform.c priv->write_reg(priv, index, val); index 159 drivers/net/can/c_can/c_can_platform.c static u32 d_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) index 161 drivers/net/can/c_can/c_can_platform.c return readl(priv->base + priv->regs[index]); index 164 drivers/net/can/c_can/c_can_platform.c static void d_can_plat_write_reg32(const struct c_can_priv *priv, enum reg index, index 167 drivers/net/can/c_can/c_can_platform.c writel(val, priv->base + priv->regs[index]); index 60 drivers/net/can/peak_canfd/peak_canfd.c cmd->opcode_channel = pucan_cmd_opcode_channel(priv->index, cmd_op); index 520 drivers/net/can/peak_canfd/peak_canfd.c priv->index); index 692 drivers/net/can/peak_canfd/peak_canfd.c msg->channel_dlc = PUCAN_MSG_CHANNEL_DLC(priv->index, can_dlc); index 738 drivers/net/can/peak_canfd/peak_canfd.c struct net_device *alloc_peak_canfd_dev(int sizeof_priv, int index, index 772 drivers/net/can/peak_canfd/peak_canfd.c priv->index = index; index 778 drivers/net/can/peak_canfd/peak_canfd.c ndev->dev_id = index; index 19 drivers/net/can/peak_canfd/peak_canfd_user.h int index; /* channel index */ index 41 drivers/net/can/peak_canfd/peak_canfd_user.h struct net_device *alloc_peak_canfd_dev(int sizeof_priv, int index, index 612 drivers/net/can/peak_canfd/peak_pciefd_main.c priv->reg_base = pciefd->reg_base + PCIEFD_CANX_OFF(priv->ucan.index); index 31 drivers/net/can/softing/softing.h int index; index 441 drivers/net/can/softing/softing_fw.c bus_bitmask_start |= (1 << priv->index); index 84 drivers/net/can/softing/softing_main.c if (priv->index) index 104 drivers/net/can/softing/softing_main.c card->tx.last_bus = priv->index; index 238 drivers/net/can/softing/softing_main.c iowrite8(state, &card->dpram[priv->index ? index 816 drivers/net/can/softing/softing_main.c priv->index = j; index 209 drivers/net/can/usb/esd_usb2.c int index; index 632 drivers/net/can/usb/esd_usb2.c msg->msg.filter.net = priv->index; index 739 drivers/net/can/usb/esd_usb2.c msg->msg.tx.net = priv->index; index 843 drivers/net/can/usb/esd_usb2.c msg->msg.filter.net = priv->index; index 853 drivers/net/can/usb/esd_usb2.c msg->msg.setbaud.net = priv->index; index 926 drivers/net/can/usb/esd_usb2.c msg->msg.setbaud.net = priv->index; index 963 drivers/net/can/usb/esd_usb2.c static int esd_usb2_probe_one_net(struct usb_interface *intf, int index) index 988 drivers/net/can/usb/esd_usb2.c priv->index = index; index 1011 drivers/net/can/usb/esd_usb2.c netdev->dev_id = index; index 1021 drivers/net/can/usb/esd_usb2.c dev->nets[index] = priv; index 527 drivers/net/dsa/b53/b53_common.c cpu_port = ds->ports[port].cpu_dp->index; index 1667 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; index 1713 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; index 418 drivers/net/dsa/bcm_sf2.c static int index; index 439 drivers/net/dsa/bcm_sf2.c index++); index 764 drivers/net/dsa/bcm_sf2.c s8 cpu_port = ds->ports[port].cpu_dp->index; index 824 drivers/net/dsa/bcm_sf2_cfp.c s8 cpu_port = ds->ports[port].cpu_dp->index; index 1032 drivers/net/dsa/bcm_sf2_cfp.c unsigned int index = 1, rules_cnt = 0; index 1034 drivers/net/dsa/bcm_sf2_cfp.c for_each_set_bit_from(index, priv->cfp.unique, priv->num_cfp_rules) { index 1035 drivers/net/dsa/bcm_sf2_cfp.c rule_locs[rules_cnt] = index; index 260 drivers/net/dsa/lantiq_gswip.c u16 index; // PCE_TBL_ADDR.ADDR = pData->table_index index 517 drivers/net/dsa/lantiq_gswip.c gswip_switch_w(priv, tbl->index, GSWIP_PCE_TBL_ADDR); index 559 drivers/net/dsa/lantiq_gswip.c gswip_switch_w(priv, tbl->index, GSWIP_PCE_TBL_ADDR); index 611 drivers/net/dsa/lantiq_gswip.c vlan_active.index = port + 1; index 625 drivers/net/dsa/lantiq_gswip.c vlan_mapping.index = port + 1; index 873 drivers/net/dsa/lantiq_gswip.c vlan_active.index = idx; index 897 drivers/net/dsa/lantiq_gswip.c vlan_active.index = idx; index 936 drivers/net/dsa/lantiq_gswip.c vlan_mapping.index = idx; index 942 drivers/net/dsa/lantiq_gswip.c vlan_mapping.index = idx; index 1004 drivers/net/dsa/lantiq_gswip.c vlan_mapping.index = idx; index 1010 drivers/net/dsa/lantiq_gswip.c vlan_mapping.index = idx; index 1069 drivers/net/dsa/lantiq_gswip.c vlan_mapping.index = idx; index 1240 drivers/net/dsa/lantiq_gswip.c mac_bridge.index = i; index 1365 drivers/net/dsa/lantiq_gswip.c mac_bridge.index = i; index 1542 drivers/net/dsa/lantiq_gswip.c u32 index) index 1547 drivers/net/dsa/lantiq_gswip.c gswip_switch_w(priv, index, GSWIP_BM_RAM_ADDR); index 1557 drivers/net/dsa/lantiq_gswip.c table, index); index 430 drivers/net/dsa/microchip/ksz8795.c int index; index 437 drivers/net/dsa/microchip/ksz8795.c index = vid & 3; index 439 drivers/net/dsa/microchip/ksz8795.c *vlan = data[index]; index 444 drivers/net/dsa/microchip/ksz8795.c int index; index 451 drivers/net/dsa/microchip/ksz8795.c index = vid & 3; index 453 drivers/net/dsa/microchip/ksz8795.c data[index] = vlan; index 762 drivers/net/dsa/microchip/ksz8795.c int first, index, cnt; index 773 drivers/net/dsa/microchip/ksz8795.c for (index = first; index < cnt; index++) { index 774 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[index]; index 777 drivers/net/dsa/microchip/ksz8795.c ksz_pread8(dev, index, P_STP_CTRL, &learn[index]); index 778 drivers/net/dsa/microchip/ksz8795.c if (!(learn[index] & PORT_LEARN_DISABLE)) index 779 drivers/net/dsa/microchip/ksz8795.c ksz_pwrite8(dev, index, P_STP_CTRL, index 780 drivers/net/dsa/microchip/ksz8795.c learn[index] | PORT_LEARN_DISABLE); index 783 drivers/net/dsa/microchip/ksz8795.c for (index = first; index < cnt; index++) { index 784 drivers/net/dsa/microchip/ksz8795.c p = &dev->ports[index]; index 787 drivers/net/dsa/microchip/ksz8795.c if (!(learn[index] & PORT_LEARN_DISABLE)) index 788 drivers/net/dsa/microchip/ksz8795.c ksz_pwrite8(dev, index, P_STP_CTRL, learn[index]); index 26 drivers/net/dsa/microchip/ksz9477.c int index; index 263 drivers/net/dsa/microchip/ksz9477.c addr = ksz9477_mib_names[addr].index; index 797 drivers/net/dsa/microchip/ksz9477.c int index; index 806 drivers/net/dsa/microchip/ksz9477.c for (index = 0; index < dev->num_statics; index++) { index 808 drivers/net/dsa/microchip/ksz9477.c data = (index << ALU_STAT_INDEX_S) | index 836 drivers/net/dsa/microchip/ksz9477.c if (index == dev->num_statics) index 850 drivers/net/dsa/microchip/ksz9477.c data = (index << ALU_STAT_INDEX_S) | ALU_STAT_START; index 867 drivers/net/dsa/microchip/ksz9477.c int index; index 877 drivers/net/dsa/microchip/ksz9477.c for (index = 0; index < dev->num_statics; index++) { index 879 drivers/net/dsa/microchip/ksz9477.c data = (index << ALU_STAT_INDEX_S) | index 906 drivers/net/dsa/microchip/ksz9477.c if (index == dev->num_statics) index 922 drivers/net/dsa/microchip/ksz9477.c data = (index << ALU_STAT_INDEX_S) | ALU_STAT_START; index 290 drivers/net/dsa/microchip/ksz_common.c int index; index 294 drivers/net/dsa/microchip/ksz_common.c for (index = 0; index < dev->num_statics; index++) { index 295 drivers/net/dsa/microchip/ksz_common.c if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { index 302 drivers/net/dsa/microchip/ksz_common.c empty = index + 1; index 307 drivers/net/dsa/microchip/ksz_common.c if (index == dev->num_statics && !empty) index 311 drivers/net/dsa/microchip/ksz_common.c if (index == dev->num_statics) { index 312 drivers/net/dsa/microchip/ksz_common.c index = empty - 1; index 324 drivers/net/dsa/microchip/ksz_common.c dev->dev_ops->w_sta_mac_table(dev, index, &alu); index 333 drivers/net/dsa/microchip/ksz_common.c int index; index 336 drivers/net/dsa/microchip/ksz_common.c for (index = 0; index < dev->num_statics; index++) { index 337 drivers/net/dsa/microchip/ksz_common.c if (!dev->dev_ops->r_sta_mac_table(dev, index, &alu)) { index 346 drivers/net/dsa/microchip/ksz_common.c if (index == dev->num_statics) index 353 drivers/net/dsa/microchip/ksz_common.c dev->dev_ops->w_sta_mac_table(dev, index, &alu); index 143 drivers/net/dsa/mv88e6060.c BIT(dsa_to_port(priv->ds, p)->cpu_dp->index))); index 1095 drivers/net/dsa/mv88e6xxx/chip.c u16 output_ports = mv88e6xxx_port_vlan(chip, chip->ds->index, port); index 1163 drivers/net/dsa/mv88e6xxx/chip.c err = mv88e6xxx_g1_set_device_number(chip, chip->ds->index); index 1259 drivers/net/dsa/mv88e6xxx/chip.c if (dev != chip->ds->index) index 2819 drivers/net/dsa/mv88e6xxx/chip.c static int index; index 2848 drivers/net/dsa/mv88e6xxx/chip.c snprintf(bus->id, MII_BUS_ID_SIZE, "mv88e6xxx-%d", index++); index 425 drivers/net/dsa/mv88e6xxx/global1.c int mv88e6xxx_g1_set_device_number(struct mv88e6xxx_chip *chip, int index) index 429 drivers/net/dsa/mv88e6xxx/global1.c index); index 308 drivers/net/dsa/mv88e6xxx/global1.h int mv88e6xxx_g1_set_device_number(struct mv88e6xxx_chip *chip, int index); index 189 drivers/net/dsa/mv88e6xxx/ptp.c ev.index = 0; index 289 drivers/net/dsa/mv88e6xxx/ptp.c pin = ptp_find_pin(chip->ptp_clock, PTP_PF_EXTTS, rq->extts.index); index 480 drivers/net/dsa/mv88e6xxx/ptp.c ppd->index = i; index 366 drivers/net/dsa/realtek-smi-core.c smi->ds->index); index 86 drivers/net/dsa/realtek-smi-core.h int (*get_vlan_mc)(struct realtek_smi *smi, u32 index, index 88 drivers/net/dsa/realtek-smi-core.h int (*set_vlan_mc)(struct realtek_smi *smi, u32 index, index 95 drivers/net/dsa/realtek-smi-core.h int (*set_mc_index)(struct realtek_smi *smi, int port, int index); index 23 drivers/net/dsa/rtl8366.c int index = 0; index 25 drivers/net/dsa/rtl8366.c ret = smi->ops->get_mc_index(smi, i, &index); index 29 drivers/net/dsa/rtl8366.c if (mc_index == index) { index 85 drivers/net/dsa/rtl8366.c int index; index 87 drivers/net/dsa/rtl8366.c ret = smi->ops->get_mc_index(smi, port, &index); index 91 drivers/net/dsa/rtl8366.c ret = smi->ops->get_vlan_mc(smi, index, &vlanmc); index 1169 drivers/net/dsa/rtl8366rb.c static int rtl8366rb_get_vlan_mc(struct realtek_smi *smi, u32 index, index 1178 drivers/net/dsa/rtl8366rb.c if (index >= RTL8366RB_NUM_VLANS) index 1183 drivers/net/dsa/rtl8366rb.c RTL8366RB_VLAN_MC_BASE(index) + i, index 1200 drivers/net/dsa/rtl8366rb.c static int rtl8366rb_set_vlan_mc(struct realtek_smi *smi, u32 index, index 1207 drivers/net/dsa/rtl8366rb.c if (index >= RTL8366RB_NUM_VLANS || index 1225 drivers/net/dsa/rtl8366rb.c RTL8366RB_VLAN_MC_BASE(index) + i, index 1253 drivers/net/dsa/rtl8366rb.c static int rtl8366rb_set_mc_index(struct realtek_smi *smi, int port, int index) index 1255 drivers/net/dsa/rtl8366rb.c if (port >= smi->num_ports || index >= RTL8366RB_NUM_VLANS) index 1261 drivers/net/dsa/rtl8366rb.c (index & RTL8366RB_PORT_VLAN_CTRL_MASK) << index 183 drivers/net/dsa/sja1105/sja1105.h int index, void *entry); index 186 drivers/net/dsa/sja1105/sja1105.h int index, void *entry, bool keep); index 136 drivers/net/dsa/sja1105/sja1105_dynamic_config.c u64 index; index 202 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &cmd->index, 15, 6, index 276 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &cmd->index, 29, 20, index 371 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &cmd->index, 38, 27, index 385 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->index, 4, 0, size, op); index 397 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &cmd->index, 26, 24, size, op); index 439 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->index, 2, 0, size, op); index 645 drivers/net/dsa/sja1105/sja1105_dynamic_config.c int index, void *entry) index 659 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (index >= 0 && index >= ops->max_entry_count) index 661 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (index < 0 && !(ops->access & OP_SEARCH)) index 674 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (index < 0) { index 676 drivers/net/dsa/sja1105/sja1105_dynamic_config.c cmd.index = 0; index 679 drivers/net/dsa/sja1105/sja1105_dynamic_config.c cmd.index = index; index 730 drivers/net/dsa/sja1105/sja1105_dynamic_config.c int index, void *entry, bool keep) index 743 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (index >= ops->max_entry_count) index 745 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (index < 0) index 757 drivers/net/dsa/sja1105/sja1105_dynamic_config.c cmd.index = index; index 34 drivers/net/dsa/sja1105/sja1105_dynamic_config.h u64 index; index 387 drivers/net/dsa/sja1105/sja1105_main.c .switchid = priv->ds->index, index 463 drivers/net/dsa/sja1105/sja1105_main.c int index) index 465 drivers/net/dsa/sja1105/sja1105_main.c policing[index].sharindx = index; index 466 drivers/net/dsa/sja1105/sja1105_main.c policing[index].smax = 65535; /* Burst size in bytes */ index 467 drivers/net/dsa/sja1105/sja1105_main.c policing[index].rate = SJA1105_RATE_MBPS(1000); index 468 drivers/net/dsa/sja1105/sja1105_main.c policing[index].maxlen = ETH_FRAME_LEN + VLAN_HLEN + ETH_FCS_LEN; index 469 drivers/net/dsa/sja1105/sja1105_main.c policing[index].partition = 0; index 625 drivers/net/dsa/sja1105/sja1105_main.c u32 index; index 628 drivers/net/dsa/sja1105/sja1105_main.c if (of_property_read_u32(child, "reg", &index) < 0) { index 640 drivers/net/dsa/sja1105/sja1105_main.c index); index 644 drivers/net/dsa/sja1105/sja1105_main.c ports[index].phy_mode = phy_mode; index 657 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_PHY; index 660 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_MAC; index 666 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_MAC; index 668 drivers/net/dsa/sja1105/sja1105_main.c ports[index].role = XMII_PHY; index 968 drivers/net/dsa/sja1105/sja1105_main.c int index = sja1105et_fdb_index(bin, way); index 974 drivers/net/dsa/sja1105/sja1105_main.c index, &l2_lookup)) { index 1013 drivers/net/dsa/sja1105/sja1105_main.c int index = sja1105et_fdb_index(bin, way); index 1037 drivers/net/dsa/sja1105/sja1105_main.c index, NULL, false); index 1040 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index = sja1105et_fdb_index(bin, way); index 1043 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index, &l2_lookup, index 1056 drivers/net/dsa/sja1105/sja1105_main.c int index, bin, way, rc; index 1064 drivers/net/dsa/sja1105/sja1105_main.c index = sja1105et_fdb_index(bin, way); index 1079 drivers/net/dsa/sja1105/sja1105_main.c index, &l2_lookup, keep); index 1137 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index = i; index 1141 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index, &l2_lookup, index 1186 drivers/net/dsa/sja1105/sja1105_main.c l2_lookup.index, &l2_lookup, keep); index 263 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->index, 29, 20, size, op); index 291 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->index, 15, 6, size, op); index 173 drivers/net/dsa/sja1105/sja1105_static_config.h u64 index; index 189 drivers/net/ethernet/3com/3c509.c static ushort id_read_eeprom(int index); index 190 drivers/net/ethernet/3com/3c509.c static ushort read_eeprom(int ioaddr, int index); index 631 drivers/net/ethernet/3com/3c509.c static ushort read_eeprom(int ioaddr, int index) index 633 drivers/net/ethernet/3com/3c509.c outw(EEPROM_READ + index, ioaddr + 10); index 641 drivers/net/ethernet/3com/3c509.c static ushort id_read_eeprom(int index) index 647 drivers/net/ethernet/3com/3c509.c outb(EEPROM_READ + index, id_port); index 657 drivers/net/ethernet/3com/3c509.c pr_debug(" 3c509 EEPROM word %d %#4.4x.\n", index, word); index 224 drivers/net/ethernet/3com/3c574_cs.c static unsigned short read_eeprom(unsigned int ioaddr, int index); index 503 drivers/net/ethernet/3com/3c574_cs.c static unsigned short read_eeprom(unsigned int ioaddr, int index) index 506 drivers/net/ethernet/3com/3c574_cs.c outw(EEPROM_Read + index, ioaddr + Wn0EepromCmd); index 164 drivers/net/ethernet/3com/3c589_cs.c static u16 read_eeprom(unsigned int ioaddr, int index); index 381 drivers/net/ethernet/3com/3c589_cs.c static u16 read_eeprom(unsigned int ioaddr, int index) index 384 drivers/net/ethernet/3com/3c589_cs.c outw(EEPROM_READ + index, ioaddr + 10); index 335 drivers/net/ethernet/3com/typhoon.c typhoon_inc_index(u32 *index, const int count, const int num_entries) index 341 drivers/net/ethernet/3com/typhoon.c *index += count * sizeof(struct cmd_desc); index 342 drivers/net/ethernet/3com/typhoon.c *index %= num_entries * sizeof(struct cmd_desc); index 346 drivers/net/ethernet/3com/typhoon.c typhoon_inc_cmd_index(u32 *index, const int count) index 348 drivers/net/ethernet/3com/typhoon.c typhoon_inc_index(index, count, COMMAND_ENTRIES); index 352 drivers/net/ethernet/3com/typhoon.c typhoon_inc_resp_index(u32 *index, const int count) index 354 drivers/net/ethernet/3com/typhoon.c typhoon_inc_index(index, count, RESPONSE_ENTRIES); index 358 drivers/net/ethernet/3com/typhoon.c typhoon_inc_rxfree_index(u32 *index, const int count) index 360 drivers/net/ethernet/3com/typhoon.c typhoon_inc_index(index, count, RXFREE_ENTRIES); index 364 drivers/net/ethernet/3com/typhoon.c typhoon_inc_tx_index(u32 *index, const int count) index 367 drivers/net/ethernet/3com/typhoon.c typhoon_inc_index(index, count, TXLO_ENTRIES); index 371 drivers/net/ethernet/3com/typhoon.c typhoon_inc_rx_index(u32 *index, const int count) index 374 drivers/net/ethernet/3com/typhoon.c *index += count * sizeof(struct rx_desc); index 375 drivers/net/ethernet/3com/typhoon.c *index %= RX_ENTRIES * sizeof(struct rx_desc); index 1508 drivers/net/ethernet/3com/typhoon.c volatile __le32 * index) index 1516 drivers/net/ethernet/3com/typhoon.c while(lastRead != le32_to_cpu(*index)) { index 1544 drivers/net/ethernet/3com/typhoon.c volatile __le32 * index) index 1550 drivers/net/ethernet/3com/typhoon.c lastRead = typhoon_clean_tx(tp, txRing, index); index 488 drivers/net/ethernet/3com/typhoon.h u32 index; index 354 drivers/net/ethernet/agere/et131x.c u32 index; /* Ring indexes */ index 524 drivers/net/ethernet/agere/et131x.c int index = 0; index 622 drivers/net/ethernet/agere/et131x.c if ((val & 0xFF00) != 0xC000 || index == 10000) index 624 drivers/net/ethernet/agere/et131x.c index++; index 2553 drivers/net/ethernet/agere/et131x.c tcb->index = NUM_DESC_PER_RING_TX - 1; index 2555 drivers/net/ethernet/agere/et131x.c tcb->index = ET_DMA10_WRAP|(NUM_DESC_PER_RING_TX - 1); index 2557 drivers/net/ethernet/agere/et131x.c tcb->index = tx_ring->send_idx - 1; index 2671 drivers/net/ethernet/agere/et131x.c } while (desc != tx_ring->tx_desc_ring + INDEX10(tcb->index)); index 2744 drivers/net/ethernet/agere/et131x.c u32 index; index 2748 drivers/net/ethernet/agere/et131x.c index = INDEX10(serviced); index 2758 drivers/net/ethernet/agere/et131x.c ((serviced ^ tcb->index) & ET_DMA10_WRAP) && index 2759 drivers/net/ethernet/agere/et131x.c index < INDEX10(tcb->index)) { index 2773 drivers/net/ethernet/agere/et131x.c !((serviced ^ tcb->index) & ET_DMA10_WRAP) && index 2774 drivers/net/ethernet/agere/et131x.c index > (tcb->index & ET_DMA10_MASK)) { index 3848 drivers/net/ethernet/agere/et131x.c tcb->index); index 340 drivers/net/ethernet/amd/pcnet32.c static u16 pcnet32_wio_read_csr(unsigned long addr, int index) index 342 drivers/net/ethernet/amd/pcnet32.c outw(index, addr + PCNET32_WIO_RAP); index 346 drivers/net/ethernet/amd/pcnet32.c static void pcnet32_wio_write_csr(unsigned long addr, int index, u16 val) index 348 drivers/net/ethernet/amd/pcnet32.c outw(index, addr + PCNET32_WIO_RAP); index 352 drivers/net/ethernet/amd/pcnet32.c static u16 pcnet32_wio_read_bcr(unsigned long addr, int index) index 354 drivers/net/ethernet/amd/pcnet32.c outw(index, addr + PCNET32_WIO_RAP); index 358 drivers/net/ethernet/amd/pcnet32.c static void pcnet32_wio_write_bcr(unsigned long addr, int index, u16 val) index 360 drivers/net/ethernet/amd/pcnet32.c outw(index, addr + PCNET32_WIO_RAP); index 395 drivers/net/ethernet/amd/pcnet32.c static u16 pcnet32_dwio_read_csr(unsigned long addr, int index) index 397 drivers/net/ethernet/amd/pcnet32.c outl(index, addr + PCNET32_DWIO_RAP); index 401 drivers/net/ethernet/amd/pcnet32.c static void pcnet32_dwio_write_csr(unsigned long addr, int index, u16 val) index 403 drivers/net/ethernet/amd/pcnet32.c outl(index, addr + PCNET32_DWIO_RAP); index 407 drivers/net/ethernet/amd/pcnet32.c static u16 pcnet32_dwio_read_bcr(unsigned long addr, int index) index 409 drivers/net/ethernet/amd/pcnet32.c outl(index, addr + PCNET32_DWIO_RAP); index 413 drivers/net/ethernet/amd/pcnet32.c static void pcnet32_dwio_write_bcr(unsigned long addr, int index, u16 val) index 415 drivers/net/ethernet/amd/pcnet32.c outl(index, addr + PCNET32_DWIO_RAP); index 324 drivers/net/ethernet/amd/xgbe/xgbe-dev.c unsigned int index, unsigned int val) index 338 drivers/net/ethernet/amd/xgbe/xgbe-dev.c XGMAC_IOWRITE_BITS(pdata, MAC_RSSAR, RSSIA, index); index 1147 drivers/net/ethernet/amd/xgbe/xgbe-dev.c unsigned int mmd_address, index, offset; index 1165 drivers/net/ethernet/amd/xgbe/xgbe-dev.c index = mmd_address & ~pdata->xpcs_window_mask; index 1169 drivers/net/ethernet/amd/xgbe/xgbe-dev.c XPCS32_IOWRITE(pdata, pdata->xpcs_window_sel_reg, index); index 1180 drivers/net/ethernet/amd/xgbe/xgbe-dev.c unsigned int mmd_address, index, offset; index 1197 drivers/net/ethernet/amd/xgbe/xgbe-dev.c index = mmd_address & ~pdata->xpcs_window_mask; index 1201 drivers/net/ethernet/amd/xgbe/xgbe-dev.c XPCS32_IOWRITE(pdata, pdata->xpcs_window_sel_reg, index); index 1439 drivers/net/ethernet/amd/xgbe/xgbe-dev.c struct xgbe_ring_data *rdata, unsigned int index) index 1452 drivers/net/ethernet/amd/xgbe/xgbe-dev.c if (rx_frames && !((index + 1) % rx_frames)) index 124 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c u32 index, enum xgene_cle_dram_type type, index 141 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c ind_addr = XGENE_CLE_DRAM(type + (port * 4)) | index; index 616 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c u32 index, u8 priority) index 639 drivers/net/ethernet/apm/xgene/xgene_enet_cle.c def_cls = ((priority & 0x7) << 10) | (index & 0x3ff); index 543 drivers/net/ethernet/apm/xgene/xgene_enet_main.c pdata->tx_level[tx_ring->cp_ring->index] += count; index 554 drivers/net/ethernet/apm/xgene/xgene_enet_main.c int index = skb->queue_mapping; index 555 drivers/net/ethernet/apm/xgene/xgene_enet_main.c u32 tx_level = pdata->tx_level[index]; index 558 drivers/net/ethernet/apm/xgene/xgene_enet_main.c tx_ring = pdata->tx_ring[index]; index 559 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (tx_level < pdata->txc_level[index]) index 560 drivers/net/ethernet/apm/xgene/xgene_enet_main.c tx_level += ((typeof(pdata->tx_level[index]))~0U); index 562 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if ((tx_level - pdata->txc_level[index]) > pdata->tx_qcnt_hi) { index 563 drivers/net/ethernet/apm/xgene/xgene_enet_main.c netif_stop_subqueue(ndev, index); index 829 drivers/net/ethernet/apm/xgene/xgene_enet_main.c pdata->txc_level[ring->index] += desc_count; index 839 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (__netif_subqueue_stopped(ndev, ring->index)) index 840 drivers/net/ethernet/apm/xgene/xgene_enet_main.c netif_start_subqueue(ndev, ring->index); index 1433 drivers/net/ethernet/apm/xgene/xgene_enet_main.c cp_ring->index = i; index 111 drivers/net/ethernet/apm/xgene/xgene_enet_main.h u8 index; index 153 drivers/net/ethernet/apm/xgene/xgene_enet_main.h void (*set_mss)(struct xgene_enet_pdata *pdata, u16 mss, u8 index); index 222 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c u16 mss, u8 index) index 227 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c offset = (index < 2) ? 0 : 4; index 230 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c if (!(index & 0x1)) index 622 drivers/net/ethernet/aquantia/atlantic/aq_filters.c struct aq_rx_filter *aq_rx_fltr, u16 index, index 632 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (rule->aq_fsp.location >= index) index 637 drivers/net/ethernet/aquantia/atlantic/aq_filters.c if (rule && rule->aq_fsp.location == index) { index 1034 drivers/net/ethernet/atheros/alx/hw.c void alx_mask_msix(struct alx_hw *hw, int index, bool mask) index 1038 drivers/net/ethernet/atheros/alx/hw.c reg = ALX_MSIX_ENTRY_BASE + index * PCI_MSIX_ENTRY_SIZE + index 564 drivers/net/ethernet/atheros/alx/hw.h void alx_mask_msix(struct alx_hw *hw, int index, bool mask); index 859 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 index, ring_count; index 862 drivers/net/ethernet/atheros/atl1c/atl1c_main.c for (index = 0; index < ring_count; index++) { index 863 drivers/net/ethernet/atheros/atl1c/atl1c_main.c buffer_info = &tpd_ring->buffer_info[index]; index 2076 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 first_index, index; index 2079 drivers/net/ethernet/atheros/atl1c/atl1c_main.c index = first_index; index 2080 drivers/net/ethernet/atheros/atl1c/atl1c_main.c while (index != tpd_ring->next_to_use) { index 2081 drivers/net/ethernet/atheros/atl1c/atl1c_main.c tpd = ATL1C_TPD_DESC(tpd_ring, index); index 2082 drivers/net/ethernet/atheros/atl1c/atl1c_main.c buffer_info = &tpd_ring->buffer_info[index]; index 2085 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (++index == tpd_ring->count) index 2086 drivers/net/ethernet/atheros/atl1c/atl1c_main.c index = 0; index 650 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 index, ring_count; index 657 drivers/net/ethernet/atheros/atl1e/atl1e_main.c for (index = 0; index < ring_count; index++) { index 658 drivers/net/ethernet/atheros/atl1e/atl1e_main.c tx_buffer = &tx_ring->tx_buffer[index]; index 670 drivers/net/ethernet/atheros/atl1e/atl1e_main.c for (index = 0; index < ring_count; index++) { index 671 drivers/net/ethernet/atheros/atl1e/atl1e_main.c tx_buffer = &tx_ring->tx_buffer[index]; index 1117 drivers/net/ethernet/aurora/nb8800.c static u32 nb8800_read_stat(struct net_device *dev, int index) index 1121 drivers/net/ethernet/aurora/nb8800.c nb8800_writeb(priv, NB8800_STAT_INDEX, index); index 201 drivers/net/ethernet/broadcom/b44.c static inline void __b44_cam_read(struct b44 *bp, unsigned char *data, int index) index 206 drivers/net/ethernet/broadcom/b44.c (index << CAM_CTRL_INDEX_SHIFT))); index 223 drivers/net/ethernet/broadcom/b44.c static inline void __b44_cam_write(struct b44 *bp, unsigned char *data, int index) index 237 drivers/net/ethernet/broadcom/b44.c (index << CAM_CTRL_INDEX_SHIFT))); index 579 drivers/net/ethernet/broadcom/bcmsysport.c reg = tdma_readl(priv, TDMA_DESC_RING_INTR_CONTROL(ring->index)); index 585 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, reg, TDMA_DESC_RING_INTR_CONTROL(ring->index)); index 888 drivers/net/ethernet/broadcom/bcmsysport.c intrl2_1_writel(ring->priv, BIT(ring->index), INTRL2_CPU_CLEAR); index 890 drivers/net/ethernet/broadcom/bcmsysport.c intrl2_0_writel(ring->priv, BIT(ring->index + index 894 drivers/net/ethernet/broadcom/bcmsysport.c hw_ind = tdma_readl(priv, TDMA_DESC_RING_PROD_CONS_INDEX(ring->index)); index 900 drivers/net/ethernet/broadcom/bcmsysport.c ring->index, ring->c_index, c_index, txbds_ready); index 924 drivers/net/ethernet/broadcom/bcmsysport.c ring->index, ring->c_index, pkts_compl, bytes_compl); index 937 drivers/net/ethernet/broadcom/bcmsysport.c txq = netdev_get_tx_queue(priv->netdev, ring->index); index 972 drivers/net/ethernet/broadcom/bcmsysport.c intrl2_1_mask_clear(ring->priv, BIT(ring->index)); index 974 drivers/net/ethernet/broadcom/bcmsysport.c intrl2_0_mask_clear(ring->priv, BIT(ring->index + index 1053 drivers/net/ethernet/broadcom/bcmsysport.c unsigned int index; index 1065 drivers/net/ethernet/broadcom/bcmsysport.c for_each_set_bit(index, priv->filters, RXCHK_BRCM_TAG_MAX) { index 1066 drivers/net/ethernet/broadcom/bcmsysport.c rxchk_writel(priv, priv->filters_loc[index] << index 1067 drivers/net/ethernet/broadcom/bcmsysport.c RXCHK_BRCM_TAG_CID_SHIFT, RXCHK_BRCM_TAG(index)); index 1068 drivers/net/ethernet/broadcom/bcmsysport.c rxchk_writel(priv, 0xff00ffff, RXCHK_BRCM_TAG_MASK(index)); index 1342 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, len_status, TDMA_WRITE_PORT_HI(ring->index)); index 1343 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, addr_lo, TDMA_WRITE_PORT_LO(ring->index)); index 1350 drivers/net/ethernet/broadcom/bcmsysport.c ring->index, ring->desc_count, ring->curr_desc); index 1466 drivers/net/ethernet/broadcom/bcmsysport.c unsigned int index) index 1468 drivers/net/ethernet/broadcom/bcmsysport.c struct bcm_sysport_tx_ring *ring = &priv->tx_rings[index]; index 1485 drivers/net/ethernet/broadcom/bcmsysport.c ring->index = index; index 1493 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, RING_EN, TDMA_DESC_RING_HEAD_TAIL_PTR(index)); index 1494 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, 0, TDMA_DESC_RING_COUNT(index)); index 1495 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, 1, TDMA_DESC_RING_INTR_CONTROL(index)); index 1496 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, 0, TDMA_DESC_RING_PROD_CONS_INDEX(index)); index 1499 drivers/net/ethernet/broadcom/bcmsysport.c reg = tdma_readl(priv, TDMA_DESC_RING_MAPPING(index)); index 1507 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, reg, TDMA_DESC_RING_MAPPING(index)); index 1508 drivers/net/ethernet/broadcom/bcmsysport.c tdma_writel(priv, 0, TDMA_DESC_RING_PCP_DEI_VID(index)); index 1533 drivers/net/ethernet/broadcom/bcmsysport.c TDMA_DESC_RING_MAX_HYST(index)); index 1537 drivers/net/ethernet/broadcom/bcmsysport.c reg |= (1 << index); index 1551 drivers/net/ethernet/broadcom/bcmsysport.c unsigned int index) index 1553 drivers/net/ethernet/broadcom/bcmsysport.c struct bcm_sysport_tx_ring *ring = &priv->tx_rings[index]; index 2088 drivers/net/ethernet/broadcom/bcmsysport.c unsigned int index; index 2091 drivers/net/ethernet/broadcom/bcmsysport.c for_each_set_bit(index, priv->filters, RXCHK_BRCM_TAG_MAX) { index 2092 drivers/net/ethernet/broadcom/bcmsysport.c reg = rxchk_readl(priv, RXCHK_BRCM_TAG(index)); index 2096 drivers/net/ethernet/broadcom/bcmsysport.c return index; index 2105 drivers/net/ethernet/broadcom/bcmsysport.c int index; index 2108 drivers/net/ethernet/broadcom/bcmsysport.c index = bcm_sysport_rule_find(priv, nfc->fs.location); index 2109 drivers/net/ethernet/broadcom/bcmsysport.c if (index < 0) index 2120 drivers/net/ethernet/broadcom/bcmsysport.c unsigned int index; index 2138 drivers/net/ethernet/broadcom/bcmsysport.c index = find_first_zero_bit(priv->filters, RXCHK_BRCM_TAG_MAX); index 2139 drivers/net/ethernet/broadcom/bcmsysport.c if (index >= RXCHK_BRCM_TAG_MAX) index 2145 drivers/net/ethernet/broadcom/bcmsysport.c reg = rxchk_readl(priv, RXCHK_BRCM_TAG(index)); index 2148 drivers/net/ethernet/broadcom/bcmsysport.c rxchk_writel(priv, reg, RXCHK_BRCM_TAG(index)); index 2149 drivers/net/ethernet/broadcom/bcmsysport.c rxchk_writel(priv, 0xff00ffff, RXCHK_BRCM_TAG_MASK(index)); index 2151 drivers/net/ethernet/broadcom/bcmsysport.c priv->filters_loc[index] = nfc->fs.location; index 2152 drivers/net/ethernet/broadcom/bcmsysport.c set_bit(index, priv->filters); index 2160 drivers/net/ethernet/broadcom/bcmsysport.c int index; index 2163 drivers/net/ethernet/broadcom/bcmsysport.c index = bcm_sysport_rule_find(priv, location); index 2164 drivers/net/ethernet/broadcom/bcmsysport.c if (index < 0) index 2170 drivers/net/ethernet/broadcom/bcmsysport.c clear_bit(index, priv->filters); index 2171 drivers/net/ethernet/broadcom/bcmsysport.c priv->filters_loc[index] = 0; index 2250 drivers/net/ethernet/broadcom/bcmsysport.c return tx_ring->index; index 2596 drivers/net/ethernet/broadcom/bcmsysport.c unsigned int index, i = 0; index 2626 drivers/net/ethernet/broadcom/bcmsysport.c for_each_set_bit(index, priv->filters, RXCHK_BRCM_TAG_MAX) { index 712 drivers/net/ethernet/broadcom/bcmsysport.h unsigned int index; /* Ring index */ index 137 drivers/net/ethernet/broadcom/bgmac.c int index = ring->end % BGMAC_TX_RING_SLOTS; index 138 drivers/net/ethernet/broadcom/bgmac.c struct bgmac_slot_info *slot = &ring->slots[index]; index 171 drivers/net/ethernet/broadcom/bgmac.c bgmac_dma_tx_add_buf(bgmac, ring, index, skb_headlen(skb), flags); index 178 drivers/net/ethernet/broadcom/bgmac.c index = (index + 1) % BGMAC_TX_RING_SLOTS; index 179 drivers/net/ethernet/broadcom/bgmac.c slot = &ring->slots[index]; index 188 drivers/net/ethernet/broadcom/bgmac.c bgmac_dma_tx_add_buf(bgmac, ring, index, len, flags); index 215 drivers/net/ethernet/broadcom/bgmac.c int index = (ring->end + i) % BGMAC_TX_RING_SLOTS; index 216 drivers/net/ethernet/broadcom/bgmac.c struct bgmac_slot_info *slot = &ring->slots[index]; index 217 drivers/net/ethernet/broadcom/bgmac.c u32 ctl1 = le32_to_cpu(ring->cpu_base[index].ctl1); index 2728 drivers/net/ethernet/broadcom/bnx2.c bnx2_alloc_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp) index 2731 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_sw_pg *rx_pg = &rxr->rx_pg_ring[index]; index 2733 drivers/net/ethernet/broadcom/bnx2.c &rxr->rx_pg_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)]; index 2753 drivers/net/ethernet/broadcom/bnx2.c bnx2_free_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index) index 2755 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_sw_pg *rx_pg = &rxr->rx_pg_ring[index]; index 2769 drivers/net/ethernet/broadcom/bnx2.c bnx2_alloc_rx_data(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp) index 2772 drivers/net/ethernet/broadcom/bnx2.c struct bnx2_sw_bd *rx_buf = &rxr->rx_buf_ring[index]; index 2775 drivers/net/ethernet/broadcom/bnx2.c &rxr->rx_desc_ring[BNX2_RX_RING(index)][BNX2_RX_IDX(index)]; index 2852 drivers/net/ethernet/broadcom/bnx2.c int tx_pkt = 0, index; index 2856 drivers/net/ethernet/broadcom/bnx2.c index = (bnapi - bp->bnx2_napi); index 2857 drivers/net/ethernet/broadcom/bnx2.c txq = netdev_get_tx_queue(bp->dev, index); index 329 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h ((fp)->index + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp)) index 584 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h u8 index; /* number in fp array */ index 616 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_sp_obj(bp, fp) ((bp)->sp_objs[(fp)->index]) index 617 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_fp_stats(bp, fp) (&((bp)->fp_stats[(fp)->index])) index 618 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define bnx2x_fp_qstats(bp, fp) (&((bp)->fp_stats[(fp)->index].eth_q_stats)) index 635 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define IS_ETH_FP(fp) ((fp)->index < BNX2X_NUM_ETH_QUEUES((fp)->bp)) index 636 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define IS_FCOE_FP(fp) ((fp)->index == FCOE_IDX((fp)->bp)) index 104 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c to_fp->index = to; index 547 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u16 index, gfp_t gfp_mask) index 549 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct sw_rx_page *sw_buf = &fp->rx_page_ring[index]; index 550 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct eth_rx_sge *sge = &fp->rx_sge_ring[index]; index 827 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c u16 index, gfp_t gfp_mask) index 830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct sw_rx_bd *rx_buf = &fp->rx_buf_ring[index]; index 831 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct eth_rx_bd *rx_bd = &fp->rx_desc_ring[index]; index 907 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c "queue[%d]: sw_comp_cons %u\n", fp->index, sw_comp_cons); index 1134 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c fp->index, fp->fw_sb_id, fp->igu_sb_id); index 1148 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi)); index 2456 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void bnx2x_bz_fp(struct bnx2x *bp, int index) index 2458 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct bnx2x_fastpath *fp = &bp->fp[index]; index 2473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c fp->index = index; index 2486 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c BNX2X_NUM_ETH_QUEUES(bp) + index]; index 2815 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c rc = bnx2x_vfpf_config_mac(bp, bp->dev->dev_addr, bp->fp->index, index 4426 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static void set_sb_shortcuts(struct bnx2x *bp, int index) index 4428 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c union host_hc_status_block status_blk = bnx2x_fp(bp, index, status_blk); index 4430 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, sb_index_values) = index 4432 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, sb_running_index) = index 4435 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, sb_index_values) = index 4437 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, sb_running_index) = index 4468 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c i - failure_cnt, fp->index); index 4498 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c static int bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index) index 4501 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct bnx2x_fastpath *fp = &bp->fp[index]; index 4534 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c sb = &bnx2x_fp(bp, index, status_blk); index 4536 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!IS_FCOE_IDX(index)) { index 4539 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c sb->e2_sb = BNX2X_PCI_ALLOC(&bnx2x_fp(bp, index, status_blk_mapping), index 4544 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c sb->e1x_sb = BNX2X_PCI_ALLOC(&bnx2x_fp(bp, index, status_blk_mapping), index 4554 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!IS_FCOE_IDX(index)) index 4555 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c set_sb_shortcuts(bp, index); index 4558 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!skip_tx_queue(bp, index)) { index 4565 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c index, cos); index 4580 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!skip_rx_queue(bp, index)) { index 4582 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, rx_buf_ring) = index 4584 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!bnx2x_fp(bp, index, rx_buf_ring)) index 4586 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, rx_desc_ring) = index 4587 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c BNX2X_PCI_ALLOC(&bnx2x_fp(bp, index, rx_desc_mapping), index 4589 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!bnx2x_fp(bp, index, rx_desc_ring)) index 4593 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, rx_comp_ring) = index 4594 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c BNX2X_PCI_FALLOC(&bnx2x_fp(bp, index, rx_comp_mapping), index 4596 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!bnx2x_fp(bp, index, rx_comp_ring)) index 4600 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, rx_page_ring) = index 4603 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!bnx2x_fp(bp, index, rx_page_ring)) index 4605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_fp(bp, index, rx_sge_ring) = index 4606 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c BNX2X_PCI_ALLOC(&bnx2x_fp(bp, index, rx_sge_mapping), index 4608 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (!bnx2x_fp(bp, index, rx_sge_ring)) index 4627 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c index, ring_size); index 4635 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_free_fp_mem_at(bp, index); index 203 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u16 index, u8 op, u8 update); index 533 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h fp->index, bd_prod, rx_comp_prod, rx_sge_prod); index 639 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u8 segment, u16 index, u8 op, index 645 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h ((index << IGU_REGULAR_SB_INDEX_SHIFT) | index 659 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u8 storm, u16 index, u8 op, u8 update) index 665 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h igu_ack.status_block_index = index; index 679 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u16 index, u8 op, u8 update) index 682 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_hc_ack_sb(bp, igu_sb_id, storm, index, op, update); index 694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_igu_ack_sb(bp, igu_sb_id, segment, index, op, update); index 802 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h struct bnx2x_fastpath *fp, u16 index) index 804 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h struct sw_rx_page *sw_buf = &fp->rx_page_ring[index]; index 806 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h struct eth_rx_sge *sge = &fp->rx_sge_ring[index]; index 177 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c u32 index = MAX_PFC_PRIORITIES - 1; index 182 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c while ((MAX_PFC_PRIORITIES == pri) && (0 != index)) { index 183 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c pri_mask = 1 << index; index 185 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c pri = index ; index 186 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c index--; index 196 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c u8 index; index 215 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c for (index = 0 ; index < LLFC_DRIVER_TRAFFIC_TYPE_MAX; index++) index 216 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c ttp[index] = 0; index 218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c for (index = 0 ; index < DCBX_MAX_APP_PROTOCOL; index++) { index 223 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c if (GET_FLAGS(entry[index].appBitfield, index 225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c GET_FLAGS(entry[index].appBitfield, index 228 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c } else if (GET_FLAGS(entry[index].appBitfield, index 230 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c TCP_PORT_ISCSI == entry[index].app_id) { index 233 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c } else if (GET_FLAGS(entry[index].appBitfield, index 235 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c ETH_TYPE_FCOE == entry[index].app_id) { index 244 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c entry[index].pri_bitmap, index 269 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c for (index = 0 ; index < LLFC_DRIVER_TRAFFIC_TYPE_MAX; index++) index 270 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c ttp[index] = INVALID_TRAFFIC_TYPE_PRIORITY; index 2388 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c u32 val, index; index 2432 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index = BNX2X_CHIP_E1_OFST; index 2434 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index = BNX2X_CHIP_E1H_OFST; index 2436 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index = BNX2X_CHIP_E2_OFST; index 2438 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index = BNX2X_CHIP_E3_OFST; index 2443 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (val & ~(prty_tbl[i].hw_mask[index])) { index 2458 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c if (val & ~(prty_tbl[i].hw_mask[index])) { index 5866 drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h u8 index; index 1379 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c #define OP_GEN_AGG_VECT(index) \ index 1380 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (((index) << SDM_OP_GEN_AGG_VECT_IDX_SHIFT) & SDM_OP_GEN_AGG_VECT_IDX) index 1804 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c fp->index, cid, command, bp->state, index 1852 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c command, fp->index); index 1925 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c mask = 0x2 << (fp->index + CNIC_SUPPORT(bp)); index 1931 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi)); index 5095 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int index; index 5134 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c for (index = 0; index < MAX_DYNAMIC_ATTN_GRPS; index++) { index 5135 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (deasserted & (1 << index)) { index 5136 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c group_mask = &bp->attn_group[index]; index 5139 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c index, index 5221 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u16 index, u8 op, u8 update) index 5225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_igu_ack_sb_gen(bp, igu_sb_id, segment, index, op, update, index 5829 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int index; index 5830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c for (index = 0; index < data_size; index++) index 5833 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c sizeof(u32)*index, index 5834 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c *(sb_data_p + index)); index 6025 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int index; index 6048 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c for (index = 0; index < MAX_DYNAMIC_ATTN_GRPS; index++) { index 6052 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->attn_group[index].sig[sindex] = index 6053 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c REG_RD(bp, reg_offset + sindex*0x4 + 0x10*index); index 6061 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->attn_group[index].sig[4] = REG_RD(bp, index 6062 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c reg_offset_en5 + 0x4*index); index 6064 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->attn_group[index].sig[4] = 0; index 6324 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return fp->bp->igu_base_sb + fp->index + CNIC_SUPPORT(fp->bp); index 6329 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return fp->bp->base_fw_ndsb + fp->index + CNIC_SUPPORT(fp->bp); index 6335 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return BP_L_ID(fp->bp) + fp->index; index 6460 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c DP(NETIF_MSG_IFUP, "created fcoe tx data (fp index %d)\n", fp->index); index 6481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c fp->index, bp, fp->status_blk.e2_sb, fp->cl_id, fp->fw_sb_id, index 7720 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static void bnx2x_ilt_wr(struct bnx2x *bp, u32 index, dma_addr_t addr) index 7726 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c reg = PXP2_REG_RQ_ONCHIP_AT + index*8; index 7728 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c reg = PXP2_REG_RQ_ONCHIP_AT_B0 + index*8; index 8546 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->fp->index, set); index 8757 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c fp->index, init_params->max_cos); index 8823 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c DP(NETIF_MSG_IFUP, "setting up queue %d\n", fp->index); index 8843 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_ERR("Queue(%d) INIT failed\n", fp->index); index 8874 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_ERR("Queue(%d) SETUP failed\n", fp->index); index 8888 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c fp->index, tx_index); index 8896 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_stop_queue(struct bnx2x *bp, int index) index 8898 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c struct bnx2x_fastpath *fp = &bp->fp[index]; index 8903 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c DP(NETIF_MSG_IFDOWN, "stopping queue %d cid %d\n", index, fp->cid); index 13007 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c rc = bnx2x_vfpf_update_vlan(bp, vid, bp->fp->index, add); index 13677 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int index; index 13699 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c index = control & PCI_MSIX_FLAGS_QSIZE; index 13701 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c return index; index 14785 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 index = ctl->data.io.offset; index 14788 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_ilt_wr(bp, index, addr); index 801 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bool add, unsigned char *dev_addr, int index) index 810 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (index > BNX2X_LLH_CAM_MAX_PF_LINE) index 814 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c (add ? "ADD" : "DELETE"), index); index 818 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c reg_offset += 8*index; index 828 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c NIG_REG_LLH0_FUNC_MEM_ENABLE) + 4*index, add); index 79 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c u8 igu_sb_id, u8 segment, u16 index, u8 op, index 91 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c ((index << IGU_REGULAR_SB_INDEX_SHIFT) | index 1268 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bnx2x_vf(bp, i, index) = i; index 1942 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c cur_query_entry->index = vfq_stat_id(vf, rxq); index 1954 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c j, cur_query_entry->index); index 2023 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c int base_vf_cid = (BP_VFDB(bp)->sriov.first_vf_in_pf + vf->index) * index 2091 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c q->index = i; index 2096 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c vf->abs_vfid, i, q->index, q->cid, q->cxt); index 2151 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bnx2x_post_vf_bulletin(bp, vf->index); index 90 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h u16 index; index 178 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h #define bnx2x_vfq_is_leading(vfq) ((vfq)->index == LEADING_IDX) index 182 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h u8 index; /* index in the vf array */ index 347 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h (vf)->index * sizeof(struct bnx2x_vf_sp) + \ index 350 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h (vf)->index * sizeof(struct bnx2x_vf_sp) + \ index 369 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h static inline struct bnx2x_vf_queue *vfq_get(struct bnx2x_virtf *vf, u8 index) index 371 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h return &(vf->vfqs[index]); index 387 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h return vf->igu_base_id + q->index; index 528 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h bp->acquire_resp.resc.hw_qid[fp->index] * index 112 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c bp->fw_stats_req->query[i].index, index 1474 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = BP_PORT(bp); index 1488 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = BP_PORT(bp); index 1503 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = BP_PORT(bp); index 1529 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = bnx2x_stats_id(&bp->fp[i]); index 1546 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c cur_query_entry->index = bnx2x_stats_id(&bp->fp[FCOE_IDX(bp)]); index 507 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bnx2x_vfpf_config_mac(bp, bp->dev->dev_addr, bp->fp->index, false); index 605 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c u8 fp_idx = fp->index; index 1126 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c struct bnx2x_vf_mbx *mbx = BP_VF_MBX(bp, vf->index); index 1143 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c struct bnx2x_vf_mbx *mbx = BP_VF_MBX(bp, vf->index); index 1293 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c BP_VF_BULLETIN(bp, vf->index); index 1484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c bnx2x_iov_link_update_vf(bp, vf->index); index 1583 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c q->index, q->sb_idx); index 1633 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c q->index, q->sb_idx); index 1638 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c rc = bnx2x_vf_queue_setup(bp, vf, q->index, &qctor); index 1736 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c &BP_VF_MBX(bp, vf->index)->msg->req.set_q_filters; index 1797 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c BP_VF_BULLETIN(bp, vf->index); index 1841 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); index 1891 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c struct pf_vf_bulletin_content *bulletin = BP_VF_BULLETIN(bp, vf->index); index 1989 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c vf->index); index 1660 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb_record_rx_queue(skb, bnapi->index); index 2935 drivers/net/ethernet/broadcom/bnxt/bnxt.c ring->grp_idx = txr->bnapi->index; index 3980 drivers/net/ethernet/broadcom/bnxt/bnxt.c bp->bnapi[i]->index = i; index 5040 drivers/net/ethernet/broadcom/bnxt/bnxt.c grp_idx = bp->rx_ring[ring].bnapi->index; index 5100 drivers/net/ethernet/broadcom/bnxt/bnxt.c grp_idx = bp->rx_ring[i].bnapi->index; index 5170 drivers/net/ethernet/broadcom/bnxt/bnxt.c unsigned int grp_idx = bp->rx_ring[i].bnapi->index; index 5448 drivers/net/ethernet/broadcom/bnxt/bnxt.c map_idx = bnapi->index; index 5469 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 map_idx = bnapi->index; index 5575 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 grp_idx = rxr->bnapi->index; index 5597 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 grp_idx = rxr->bnapi->index; index 9886 drivers/net/ethernet/broadcom/bnxt/bnxt.c int i = bnapi->index; index 9899 drivers/net/ethernet/broadcom/bnxt/bnxt.c int i = bnapi->index; index 9913 drivers/net/ethernet/broadcom/bnxt/bnxt.c int i = bnapi->index; index 944 drivers/net/ethernet/broadcom/bnxt/bnxt.h int index; index 1710 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u16 ext, u16 *index, u32 *item_length, index 2010 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u16 index; index 2016 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c &index, &item_len, NULL) != 0) { index 2039 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c modify.dir_idx = cpu_to_le16(index); index 2187 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c static int bnxt_get_nvram_item(struct net_device *dev, u32 index, u32 offset, index 2208 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c req.dir_idx = cpu_to_le16(index); index 2220 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u16 ext, u16 *index, u32 *item_length, index 2238 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (index) index 2239 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c *index = le16_to_cpu(output->dir_idx); index 2285 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u16 index = 0; index 2293 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c &index, NULL, &pkglen) != 0) index 2303 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (bnxt_get_nvram_item(dev, index, 0, pkglen, pkgbuf)) index 2321 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u32 index; index 2327 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c index = eeprom->offset >> 24; index 2330 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (index == 0) { index 2331 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c netdev_err(dev, "unsupported index value: %d\n", index); index 2335 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c return bnxt_get_nvram_item(dev, index - 1, offset, eeprom->len, data); index 2338 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c static int bnxt_erase_nvram_directory(struct net_device *dev, u8 index) index 2344 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c req.dir_idx = cpu_to_le16(index); index 2353 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u8 index, dir_op; index 2364 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c index = eeprom->magic & 0xff; index 2366 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (index == 0) index 2372 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c return bnxt_erase_nvram_directory(dev, index - 1); index 3052 drivers/net/ethernet/broadcom/cnic.c u16 index, u8 op, u8 update) index 3059 drivers/net/ethernet/broadcom/cnic.c igu_ack.status_block_index = index; index 3070 drivers/net/ethernet/broadcom/cnic.c u16 index, u8 op, u8 update) index 3076 drivers/net/ethernet/broadcom/cnic.c (index << IGU_REGULAR_SB_INDEX_SHIFT) | index 324 drivers/net/ethernet/broadcom/cnic.h void (*arm_int)(struct cnic_dev *, u32 index); index 629 drivers/net/ethernet/broadcom/genet/bcmgenet.c unsigned int i = ring->index; index 1284 drivers/net/ethernet/broadcom/genet/bcmgenet.c 1 << (UMAC_IRQ1_RX_INTR_SHIFT + ring->index), index 1291 drivers/net/ethernet/broadcom/genet/bcmgenet.c 1 << (UMAC_IRQ1_RX_INTR_SHIFT + ring->index), index 1309 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_intrl2_1_writel(ring->priv, 1 << ring->index, index 1315 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_intrl2_1_writel(ring->priv, 1 << ring->index, index 1387 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (ring->index == DESC_INDEX) index 1391 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_intrl2_1_writel(priv, (1 << ring->index), index 1395 drivers/net/ethernet/broadcom/genet/bcmgenet.c c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX) index 1401 drivers/net/ethernet/broadcom/genet/bcmgenet.c __func__, ring->index, ring->c_index, c_index, txbds_ready); index 1553 drivers/net/ethernet/broadcom/genet/bcmgenet.c int nr_frags, index; index 1561 drivers/net/ethernet/broadcom/genet/bcmgenet.c index = skb_get_queue_mapping(skb); index 1569 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (index == 0) index 1570 drivers/net/ethernet/broadcom/genet/bcmgenet.c index = DESC_INDEX; index 1572 drivers/net/ethernet/broadcom/genet/bcmgenet.c index -= 1; index 1574 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring = &priv->tx_rings[index]; index 1585 drivers/net/ethernet/broadcom/genet/bcmgenet.c __func__, index, ring->queue); index 1670 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, ring->index, index 1753 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (ring->index == DESC_INDEX) { index 1757 drivers/net/ethernet/broadcom/genet/bcmgenet.c mask = 1 << (UMAC_IRQ1_RX_INTR_SHIFT + ring->index); index 1763 drivers/net/ethernet/broadcom/genet/bcmgenet.c p_index = bcmgenet_rdma_ring_readl(priv, ring->index, RDMA_PROD_INDEX); index 1775 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, ring->index, 0, index 1888 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, ring->index, ring->c_index, RDMA_CONS_INDEX); index 2116 drivers/net/ethernet/broadcom/genet/bcmgenet.c unsigned int index, unsigned int size, index 2119 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_tx_ring *ring = &priv->tx_rings[index]; index 2125 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->index = index; index 2126 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (index == DESC_INDEX) { index 2131 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->queue = index + 1; index 2146 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (index != DESC_INDEX) index 2149 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, 0, TDMA_PROD_INDEX); index 2150 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, 0, TDMA_CONS_INDEX); index 2151 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, 1, DMA_MBUF_DONE_THRESH); index 2153 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, flow_period_val, index 2155 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, index 2160 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, start_ptr * words_per_bd, index 2162 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, start_ptr * words_per_bd, index 2164 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, start_ptr * words_per_bd, index 2166 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_tdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, index 2176 drivers/net/ethernet/broadcom/genet/bcmgenet.c unsigned int index, unsigned int size, index 2179 drivers/net/ethernet/broadcom/genet/bcmgenet.c struct bcmgenet_rx_ring *ring = &priv->rx_rings[index]; index 2184 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->index = index; index 2185 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (index == DESC_INDEX) { index 2210 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, 0, RDMA_PROD_INDEX); index 2211 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, 0, RDMA_CONS_INDEX); index 2212 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, index 2215 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, index 2221 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, start_ptr * words_per_bd, index 2223 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, start_ptr * words_per_bd, index 2225 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, start_ptr * words_per_bd, index 2227 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, index 2635 drivers/net/ethernet/broadcom/genet/bcmgenet.c unsigned int index, status; index 2648 drivers/net/ethernet/broadcom/genet/bcmgenet.c for (index = 0; index < priv->hw_params->rx_queues; index++) { index 2649 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (!(status & BIT(UMAC_IRQ1_RX_INTR_SHIFT + index))) index 2652 drivers/net/ethernet/broadcom/genet/bcmgenet.c rx_ring = &priv->rx_rings[index]; index 2662 drivers/net/ethernet/broadcom/genet/bcmgenet.c for (index = 0; index < priv->hw_params->tx_queues; index++) { index 2663 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (!(status & BIT(index))) index 2666 drivers/net/ethernet/broadcom/genet/bcmgenet.c tx_ring = &priv->tx_rings[index]; index 3029 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (ring->index == DESC_INDEX) { index 3034 drivers/net/ethernet/broadcom/genet/bcmgenet.c intmsk = 1 << ring->index; index 3036 drivers/net/ethernet/broadcom/genet/bcmgenet.c c_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_CONS_INDEX); index 3037 drivers/net/ethernet/broadcom/genet/bcmgenet.c p_index = bcmgenet_tdma_ring_readl(priv, ring->index, TDMA_PROD_INDEX); index 3049 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->index, ring->queue, index 561 drivers/net/ethernet/broadcom/genet/bcmgenet.h unsigned int index; /* ring index */ index 591 drivers/net/ethernet/broadcom/genet/bcmgenet.h unsigned int index; /* Rx ring index */ index 3957 drivers/net/ethernet/broadcom/tg3.c static void __tg3_set_one_mac_addr(struct tg3 *tp, u8 *mac_addr, int index) index 3965 drivers/net/ethernet/broadcom/tg3.c if (index < 4) { index 3966 drivers/net/ethernet/broadcom/tg3.c tw32(MAC_ADDR_0_HIGH + (index * 8), addr_high); index 3967 drivers/net/ethernet/broadcom/tg3.c tw32(MAC_ADDR_0_LOW + (index * 8), addr_low); index 3969 drivers/net/ethernet/broadcom/tg3.c index -= 4; index 3970 drivers/net/ethernet/broadcom/tg3.c tw32(MAC_EXTADDR_0_HIGH + (index * 8), addr_high); index 3971 drivers/net/ethernet/broadcom/tg3.c tw32(MAC_EXTADDR_0_LOW + (index * 8), addr_low); index 6287 drivers/net/ethernet/broadcom/tg3.c if (rq->perout.index != 0) index 6551 drivers/net/ethernet/broadcom/tg3.c int index = tnapi - tp->napi; index 6555 drivers/net/ethernet/broadcom/tg3.c index--; index 6557 drivers/net/ethernet/broadcom/tg3.c txq = netdev_get_tx_queue(tp->dev, index); index 10831 drivers/net/ethernet/broadcom/tg3.c tg3_ape_scratchpad_read(tp, &temperature, attr->index, index 927 drivers/net/ethernet/brocade/bna/bna_tx_rx.c int index = (vlan_id >> BFI_VLAN_WORD_SHIFT); index 931 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->vlan_filter_table[index] |= bit; index 942 drivers/net/ethernet/brocade/bna/bna_tx_rx.c int index = (vlan_id >> BFI_VLAN_WORD_SHIFT); index 946 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->vlan_filter_table[index] &= ~bit; index 2026 drivers/net/ethernet/brocade/bna/bna_tx_rx.c int index; index 2051 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (index = 0; index < bna->ioceth.attr.num_rxp; index++) { index 2052 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx_ptr = &rx_mod->rx[index]; index 2056 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx_ptr->rid = index; index 2065 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (index = 0; index < bna->ioceth.attr.num_rxp; index++) { index 2066 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp_ptr = &rx_mod->rxp[index]; index 2072 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (index = 0; index < (bna->ioceth.attr.num_rxp * 2); index++) { index 2073 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq_ptr = &rx_mod->rxq[index]; index 91 drivers/net/ethernet/brocade/bna/bnad.c u32 q_depth, u32 index) index 97 drivers/net/ethernet/brocade/bna/bnad.c unmap = &unmap_q[index]; index 114 drivers/net/ethernet/brocade/bna/bnad.c BNA_QE_INDX_INC(index, q_depth); index 115 drivers/net/ethernet/brocade/bna/bnad.c unmap = &unmap_q[index]; index 126 drivers/net/ethernet/brocade/bna/bnad.c BNA_QE_INDX_INC(index, q_depth); index 128 drivers/net/ethernet/brocade/bna/bnad.c return index; index 178 drivers/net/ethernet/cadence/macb_main.c static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) index 180 drivers/net/ethernet/cadence/macb_main.c return index & (bp->tx_ring_size - 1); index 184 drivers/net/ethernet/cadence/macb_main.c unsigned int index) index 186 drivers/net/ethernet/cadence/macb_main.c index = macb_tx_ring_wrap(queue->bp, index); index 187 drivers/net/ethernet/cadence/macb_main.c index = macb_adj_dma_desc_idx(queue->bp, index); index 188 drivers/net/ethernet/cadence/macb_main.c return &queue->tx_ring[index]; index 192 drivers/net/ethernet/cadence/macb_main.c unsigned int index) index 194 drivers/net/ethernet/cadence/macb_main.c return &queue->tx_skb[macb_tx_ring_wrap(queue->bp, index)]; index 197 drivers/net/ethernet/cadence/macb_main.c static dma_addr_t macb_tx_dma(struct macb_queue *queue, unsigned int index) index 201 drivers/net/ethernet/cadence/macb_main.c offset = macb_tx_ring_wrap(queue->bp, index) * index 207 drivers/net/ethernet/cadence/macb_main.c static unsigned int macb_rx_ring_wrap(struct macb *bp, unsigned int index) index 209 drivers/net/ethernet/cadence/macb_main.c return index & (bp->rx_ring_size - 1); index 212 drivers/net/ethernet/cadence/macb_main.c static struct macb_dma_desc *macb_rx_desc(struct macb_queue *queue, unsigned int index) index 214 drivers/net/ethernet/cadence/macb_main.c index = macb_rx_ring_wrap(queue->bp, index); index 215 drivers/net/ethernet/cadence/macb_main.c index = macb_adj_dma_desc_idx(queue->bp, index); index 216 drivers/net/ethernet/cadence/macb_main.c return &queue->rx_ring[index]; index 219 drivers/net/ethernet/cadence/macb_main.c static void *macb_rx_buffer(struct macb_queue *queue, unsigned int index) index 222 drivers/net/ethernet/cadence/macb_main.c macb_rx_ring_wrap(queue->bp, index); index 2911 drivers/net/ethernet/cadence/macb_main.c uint16_t index = fs->location; index 2929 drivers/net/ethernet/cadence/macb_main.c gem_writel_n(bp, T2CMPW0, T2CMP_OFST(GEM_IP4SRC_CMP(index)), w0); index 2930 drivers/net/ethernet/cadence/macb_main.c gem_writel_n(bp, T2CMPW1, T2CMP_OFST(GEM_IP4SRC_CMP(index)), w1); index 2943 drivers/net/ethernet/cadence/macb_main.c gem_writel_n(bp, T2CMPW0, T2CMP_OFST(GEM_IP4DST_CMP(index)), w0); index 2944 drivers/net/ethernet/cadence/macb_main.c gem_writel_n(bp, T2CMPW1, T2CMP_OFST(GEM_IP4DST_CMP(index)), w1); index 2971 drivers/net/ethernet/cadence/macb_main.c gem_writel_n(bp, T2CMPW0, T2CMP_OFST(GEM_PORT_CMP(index)), w0); index 2972 drivers/net/ethernet/cadence/macb_main.c gem_writel_n(bp, T2CMPW1, T2CMP_OFST(GEM_PORT_CMP(index)), w1); index 2980 drivers/net/ethernet/cadence/macb_main.c t2_scr = GEM_BFINS(CMPA, GEM_IP4SRC_CMP(index), t2_scr); index 2982 drivers/net/ethernet/cadence/macb_main.c t2_scr = GEM_BFINS(CMPB, GEM_IP4DST_CMP(index), t2_scr); index 2984 drivers/net/ethernet/cadence/macb_main.c t2_scr = GEM_BFINS(CMPC, GEM_PORT_CMP(index), t2_scr); index 2985 drivers/net/ethernet/cadence/macb_main.c gem_writel_n(bp, SCRT2, index, t2_scr); index 126 drivers/net/ethernet/cavium/liquidio/liquidio_common.h static inline u32 incr_index(u32 index, u32 count, u32 max) index 128 drivers/net/ethernet/cavium/liquidio/liquidio_common.h if ((index + count) >= max) index 129 drivers/net/ethernet/cavium/liquidio/liquidio_common.h index = index + count - max; index 131 drivers/net/ethernet/cavium/liquidio/liquidio_common.h index += count; index 133 drivers/net/ethernet/cavium/liquidio/liquidio_common.h return index; index 35 drivers/net/ethernet/cavium/liquidio/request_manager.c int index; index 322 drivers/net/ethernet/cavium/liquidio/request_manager.c st.index = -1; index 332 drivers/net/ethernet/cavium/liquidio/request_manager.c st.index = iq->host_write_index; index 562 drivers/net/ethernet/cavium/liquidio/request_manager.c __add_to_request_list(iq, st.index, buf, reqtype); index 23 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c unsigned int index; index 28 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c .index = offsetof(struct nicvf_hw_stats, stat) / sizeof(u64), \ index 33 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c .index = offsetof(struct nicvf_drv_stats, stat) / sizeof(u64), \ index 311 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_queue_stats[stat].index]; index 318 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_queue_stats[stat].index]; index 336 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_hw_stats[stat].index]; index 341 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c [nicvf_drv_stats[stat].index]; index 134 drivers/net/ethernet/chelsio/cxgb/gmac.h struct cmac *(*create)(adapter_t *adapter, int index); index 587 drivers/net/ethernet/chelsio/cxgb/pm3393.c static struct cmac *pm3393_mac_create(adapter_t *adapter, int index) index 601 drivers/net/ethernet/chelsio/cxgb/subr.c static int vpd_macaddress_get(adapter_t *adapter, int index, u8 mac_addr[]) index 608 drivers/net/ethernet/chelsio/cxgb/subr.c mac_addr[5] = vpd.mac_base_address[5] + index; index 29 drivers/net/ethernet/chelsio/cxgb/vsc7326.c u32 index; index 385 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int port = mac->instance->index; index 408 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int port = mac->instance->index; index 425 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int index = mac->instance->index; index 427 drivers/net/ethernet/chelsio/cxgb/vsc7326.c run_table(mac->adapter, vsc7326_portinit[index], index 428 drivers/net/ethernet/chelsio/cxgb/vsc7326.c ARRAY_SIZE(vsc7326_portinit[index])); index 436 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int port = mac->instance->index; index 452 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int port = mac->instance->index; index 463 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int enable, port = mac->instance->index; index 531 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int port = mac->instance->index; index 548 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int i, port = mac->instance->index; index 618 drivers/net/ethernet/chelsio/cxgb/vsc7326.c unsigned int port = mac->instance->index; index 647 drivers/net/ethernet/chelsio/cxgb/vsc7326.c int port = mac->instance->index; index 682 drivers/net/ethernet/chelsio/cxgb/vsc7326.c static struct cmac *vsc7326_mac_create(adapter_t *adapter, int index) index 696 drivers/net/ethernet/chelsio/cxgb/vsc7326.c mac->instance->index = index; index 3539 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c static void mac_prep(struct cmac *mac, struct adapter *adapter, int index) index 3547 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c index = 0; index 3548 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c mac->offset = (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR) * index; index 1823 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c int index, bit, bit_pos = 0; index 1836 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c index = bit_pos / 32; index 1838 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c return buf[index] & (1U << bit); index 1697 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_read_rss_pf_config(struct adapter *adapter, unsigned int index, index 1699 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_read_rss_vf_config(struct adapter *adapter, unsigned int index, index 1000 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c unsigned long index; index 1006 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c index = dinfo->first + fidx; index 1007 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c if (index >= dinfo->nentries) index 1008 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c index -= dinfo->nentries; index 1009 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c e = &dinfo->log[index]; index 1085 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c unsigned int index; index 1119 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c for (fseqno = ~((u32)0), index = 0; index < dinfo->nentries; index++) { index 1120 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c struct fw_devlog_e *e = &dinfo->log[index]; index 1129 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c dinfo->first = index; index 3055 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static int cxgb_set_tx_maxrate(struct net_device *dev, int index, u32 rate) index 3068 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (index < 0 || index > pi->nqsets - 1) index 3074 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index); index 3091 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c qe.queue = index; index 3098 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index, pi->port_id, err); index 3126 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c qe.queue = index; index 110 drivers/net/ethernet/chelsio/cxgb4/sched.c int *index) index 129 drivers/net/ethernet/chelsio/cxgb4/sched.c if (index) index 130 drivers/net/ethernet/chelsio/cxgb4/sched.c *index = i; index 150 drivers/net/ethernet/chelsio/cxgb4/sched.c int index = -1; index 160 drivers/net/ethernet/chelsio/cxgb4/sched.c e = t4_sched_queue_lookup(pi, qid, &index); index 161 drivers/net/ethernet/chelsio/cxgb4/sched.c if (e && index >= 0) { index 165 drivers/net/ethernet/chelsio/cxgb4/sched.c if (i == index) index 1001 drivers/net/ethernet/chelsio/cxgb4/sge.c int index = (q->pidx index 1004 drivers/net/ethernet/chelsio/cxgb4/sge.c u64 *wr = (u64 *)&q->desc[index]; index 5519 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_read_rss_pf_config(struct adapter *adapter, unsigned int index, index 5522 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_tp_pio_read(adapter, valp, 1, TP_RSS_PF0_CONFIG_A + index, sleep_ok); index 5536 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_read_rss_vf_config(struct adapter *adapter, unsigned int index, index 5543 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data = VFWRADDR_V(index); index 5546 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c data = T6_VFWRADDR_V(index); index 8013 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u16 index = FW_VI_MAC_CMD_IDX_G( index 8017 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c idx[offset + i] = (index >= max_naddr ? index 8018 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c 0xffff : index); index 8019 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (index < max_naddr) index 8095 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u16 index = FW_VI_MAC_CMD_IDX_G( index 8098 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (index < max_naddr) index 977 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __be32 index; index 996 drivers/net/ethernet/chelsio/cxgb4vf/sge.c unsigned int index = (tq->pidx index 999 drivers/net/ethernet/chelsio/cxgb4vf/sge.c __be64 *src = (__be64 *)&tq->desc[index]; index 85 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_defs.h #define T4VF_MOD_MAP(module, index, first, last) \ index 86 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_defs.h T4VF_MOD_MAP_##module##_INDEX = (index), \ index 1573 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u16 index = FW_VI_MAC_CMD_IDX_G( index 1578 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c (index >= max_naddr index 1580 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c : index); index 1581 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c if (index < max_naddr) index 1656 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c u16 index = FW_VI_MAC_CMD_IDX_G( index 1659 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c if (index < max_naddr) index 32 drivers/net/ethernet/cisco/enic/enic_ethtool.c unsigned int index; index 37 drivers/net/ethernet/cisco/enic/enic_ethtool.c .index = offsetof(struct vnic_tx_stats, stat) / sizeof(u64) \ index 42 drivers/net/ethernet/cisco/enic/enic_ethtool.c .index = offsetof(struct vnic_rx_stats, stat) / sizeof(u64) \ index 47 drivers/net/ethernet/cisco/enic/enic_ethtool.c .index = offsetof(struct vnic_gen_stats, stat) / sizeof(u64)\ index 282 drivers/net/ethernet/cisco/enic/enic_ethtool.c *(data++) = ((u64 *)&vstats->tx)[enic_tx_stats[i].index]; index 284 drivers/net/ethernet/cisco/enic/enic_ethtool.c *(data++) = ((u64 *)&vstats->rx)[enic_rx_stats[i].index]; index 286 drivers/net/ethernet/cisco/enic/enic_ethtool.c *(data++) = ((u64 *)&enic->gen_stats)[enic_gen_stats[i].index]; index 1335 drivers/net/ethernet/cisco/enic/enic_main.c struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; index 1446 drivers/net/ethernet/cisco/enic/enic_main.c skb_mark_napi_id(skb, &enic->napi[rq->index]); index 1480 drivers/net/ethernet/cisco/enic/enic_main.c unsigned int intr = enic_msix_rq_intr(enic, rq->index); index 1481 drivers/net/ethernet/cisco/enic/enic_main.c struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; index 1493 drivers/net/ethernet/cisco/enic/enic_main.c struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; index 1495 drivers/net/ethernet/cisco/enic/enic_main.c int index; index 1520 drivers/net/ethernet/cisco/enic/enic_main.c for (index = 0; index < ENIC_MAX_COALESCE_TIMERS; index++) index 1521 drivers/net/ethernet/cisco/enic/enic_main.c if (traffic < mod_table[index].rx_rate) index 1528 drivers/net/ethernet/cisco/enic/enic_main.c mod_table[index].range_percent / 100); index 1646 drivers/net/ethernet/cisco/enic/enic_main.c wq_irq = wq->index; index 1857 drivers/net/ethernet/cisco/enic/enic_main.c int index = -1; index 1866 drivers/net/ethernet/cisco/enic/enic_main.c index = ENIC_LINK_40G_INDEX; index 1868 drivers/net/ethernet/cisco/enic/enic_main.c index = ENIC_LINK_10G_INDEX; index 1870 drivers/net/ethernet/cisco/enic/enic_main.c index = ENIC_LINK_4G_INDEX; index 1872 drivers/net/ethernet/cisco/enic/enic_main.c rx_coal->small_pkt_range_start = mod_range[index].small_pkt_range_start; index 1873 drivers/net/ethernet/cisco/enic/enic_main.c rx_coal->large_pkt_range_start = mod_range[index].large_pkt_range_start; index 1877 drivers/net/ethernet/cisco/enic/enic_main.c for (index = 0; index < enic->rq_count; index++) index 1878 drivers/net/ethernet/cisco/enic/enic_main.c enic->cq[index].cur_rx_coal_timeval = index 36 drivers/net/ethernet/cisco/enic/vnic_cq.c int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, index 41 drivers/net/ethernet/cisco/enic/vnic_cq.c cq->index = index; index 44 drivers/net/ethernet/cisco/enic/vnic_cq.c cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); index 46 drivers/net/ethernet/cisco/enic/vnic_cq.c vdev_err(vdev, "Failed to hook CQ[%d] resource\n", index); index 59 drivers/net/ethernet/cisco/enic/vnic_cq.h unsigned int index; index 114 drivers/net/ethernet/cisco/enic/vnic_cq.h int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, index 141 drivers/net/ethernet/cisco/enic/vnic_dev.c unsigned int index) index 152 drivers/net/ethernet/cisco/enic/vnic_dev.c index * VNIC_RES_STRIDE; index 505 drivers/net/ethernet/cisco/enic/vnic_dev.c void vnic_dev_cmd_proxy_by_index_start(struct vnic_dev *vdev, u16 index) index 508 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->proxy_index = index; index 121 drivers/net/ethernet/cisco/enic/vnic_dev.h unsigned int index); index 129 drivers/net/ethernet/cisco/enic/vnic_dev.h void vnic_dev_cmd_proxy_by_index_start(struct vnic_dev *vdev, u16 index); index 36 drivers/net/ethernet/cisco/enic/vnic_intr.c unsigned int index) index 38 drivers/net/ethernet/cisco/enic/vnic_intr.c intr->index = index; index 41 drivers/net/ethernet/cisco/enic/vnic_intr.c intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); index 44 drivers/net/ethernet/cisco/enic/vnic_intr.c index); index 49 drivers/net/ethernet/cisco/enic/vnic_intr.h unsigned int index; index 104 drivers/net/ethernet/cisco/enic/vnic_intr.h unsigned int index); index 46 drivers/net/ethernet/cisco/enic/vnic_rq.c buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES(count) + j; index 48 drivers/net/ethernet/cisco/enic/vnic_rq.c rq->ring.desc_size * buf->index; index 49 drivers/net/ethernet/cisco/enic/vnic_rq.c if (buf->index + 1 == count) { index 85 drivers/net/ethernet/cisco/enic/vnic_rq.c int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, index 90 drivers/net/ethernet/cisco/enic/vnic_rq.c rq->index = index; index 93 drivers/net/ethernet/cisco/enic/vnic_rq.c rq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_RQ, index); index 95 drivers/net/ethernet/cisco/enic/vnic_rq.c vdev_err(vdev, "Failed to hook RQ[%d] resource\n", index); index 175 drivers/net/ethernet/cisco/enic/vnic_rq.c rq->index); index 74 drivers/net/ethernet/cisco/enic/vnic_rq.h unsigned int index; index 86 drivers/net/ethernet/cisco/enic/vnic_rq.h unsigned int index; index 116 drivers/net/ethernet/cisco/enic/vnic_rq.h return rq->to_use->index; index 143 drivers/net/ethernet/cisco/enic/vnic_rq.h if ((buf->index & VNIC_RQ_RETURN_RATE) == 0) { index 150 drivers/net/ethernet/cisco/enic/vnic_rq.h iowrite32(buf->index, &rq->ctrl->posted_index); index 176 drivers/net/ethernet/cisco/enic/vnic_rq.h skipped = (buf->index != completed_index); index 208 drivers/net/ethernet/cisco/enic/vnic_rq.h int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, index 46 drivers/net/ethernet/cisco/enic/vnic_wq.c buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES(count) + j; index 48 drivers/net/ethernet/cisco/enic/vnic_wq.c wq->ring.desc_size * buf->index; index 49 drivers/net/ethernet/cisco/enic/vnic_wq.c if (buf->index + 1 == count) { index 88 drivers/net/ethernet/cisco/enic/vnic_wq.c int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, index 93 drivers/net/ethernet/cisco/enic/vnic_wq.c wq->index = index; index 96 drivers/net/ethernet/cisco/enic/vnic_wq.c wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_WQ, index); index 98 drivers/net/ethernet/cisco/enic/vnic_wq.c vdev_err(vdev, "Failed to hook WQ[%d] resource\n", index); index 122 drivers/net/ethernet/cisco/enic/vnic_wq.c wq->index = 0; index 190 drivers/net/ethernet/cisco/enic/vnic_wq.c vdev_neterr(vdev, "Failed to disable WQ[%d]\n", wq->index); index 58 drivers/net/ethernet/cisco/enic/vnic_wq.h unsigned int index; index 81 drivers/net/ethernet/cisco/enic/vnic_wq.h unsigned int index; index 128 drivers/net/ethernet/cisco/enic/vnic_wq.h iowrite32(wq->to_use->index, &wq->ctrl->posted_index); index 171 drivers/net/ethernet/cisco/enic/vnic_wq.h if (buf->index == completed_index) index 179 drivers/net/ethernet/cisco/enic/vnic_wq.h int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, index 674 drivers/net/ethernet/dec/tulip/de2104x.c int index = ether_crc_le(ETH_ALEN, ha->addr) & 0x1ff; index 676 drivers/net/ethernet/dec/tulip/de2104x.c __set_bit_le(index, hash_table); index 938 drivers/net/ethernet/dec/tulip/de4x5.c static struct sk_buff *de4x5_alloc_rx_buff(struct net_device *dev, int index, int len); index 3596 drivers/net/ethernet/dec/tulip/de4x5.c de4x5_alloc_rx_buff(struct net_device *dev, int index, int len) index 3611 drivers/net/ethernet/dec/tulip/de4x5.c lp->rx_ring[index].buf = cpu_to_le32(tmp + i); index 3613 drivers/net/ethernet/dec/tulip/de4x5.c ret = lp->rx_skb[index]; index 3614 drivers/net/ethernet/dec/tulip/de4x5.c lp->rx_skb[index] = p; index 3629 drivers/net/ethernet/dec/tulip/de4x5.c if (index < lp->rx_old) { /* Wrapped buffer */ index 391 drivers/net/ethernet/dec/tulip/tulip.h int index; index 1021 drivers/net/ethernet/dec/tulip/tulip_core.c int index = ether_crc_le(ETH_ALEN, ha->addr) & 0x1ff; index 1023 drivers/net/ethernet/dec/tulip/tulip_core.c __set_bit_le(index, hash_table); index 1220 drivers/net/ethernet/dlink/dl2k.c int bit, index = 0; index 1226 drivers/net/ethernet/dlink/dl2k.c index |= (1 << bit); index 1227 drivers/net/ethernet/dlink/dl2k.c hash_table[index / 32] |= (1 << (index % 32)); index 1585 drivers/net/ethernet/dlink/sundance.c int index; index 1590 drivers/net/ethernet/dlink/sundance.c for (index=0, bit=0; bit < 6; bit++, crc <<= 1) index 1591 drivers/net/ethernet/dlink/sundance.c if (crc & 0x80000000) index |= 1 << bit; index 1592 drivers/net/ethernet/dlink/sundance.c mc_filter[index/16] |= (1 << (index % 16)); index 142 drivers/net/ethernet/emulex/benet/be.h static inline void index_adv(u32 *index, u32 val, u32 limit) index 144 drivers/net/ethernet/emulex/benet/be.h *index = MODULO((*index + val), limit); index 147 drivers/net/ethernet/emulex/benet/be.h static inline void index_inc(u32 *index, u32 limit) index 149 drivers/net/ethernet/emulex/benet/be.h *index = MODULO((*index + 1), limit); index 162 drivers/net/ethernet/emulex/benet/be.h static inline void *queue_index_node(struct be_queue_info *q, u16 index) index 164 drivers/net/ethernet/emulex/benet/be.h return q->dma_mem.va + index * q->entry_size; index 172 drivers/net/ethernet/emulex/benet/be.h static inline void index_dec(u32 *index, u32 limit) index 174 drivers/net/ethernet/emulex/benet/be.h *index = MODULO((*index - 1), limit); index 604 drivers/net/ethernet/emulex/benet/be_cmds.c u32 index = mcc_obj->q.head; index 607 drivers/net/ethernet/emulex/benet/be_cmds.c index_dec(&index, mcc_obj->q.len); index 608 drivers/net/ethernet/emulex/benet/be_cmds.c wrb = queue_index_node(&mcc_obj->q, index); index 249 drivers/net/ethernet/ethoc.c static inline void ethoc_read_bd(struct ethoc *dev, int index, index 252 drivers/net/ethernet/ethoc.c loff_t offset = ETHOC_BD_BASE + (index * sizeof(struct ethoc_bd)); index 257 drivers/net/ethernet/ethoc.c static inline void ethoc_write_bd(struct ethoc *dev, int index, index 260 drivers/net/ethernet/ethoc.c loff_t offset = ETHOC_BD_BASE + (index * sizeof(struct ethoc_bd)); index 579 drivers/net/ethernet/faraday/ftgmac100.c unsigned int index) index 581 drivers/net/ethernet/faraday/ftgmac100.c if (index == (priv->tx_q_entries - 1)) index 189 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static inline size_t bpool_buffer_raw_size(u8 index, u8 cnt) index 194 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c for (i = (cnt < 3) ? cnt : 3; i < 3 + index; i++) index 436 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h u8 index; index 468 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h u8 index; index 487 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h u8 index; index 502 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h u8 index; index 548 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h __le16 index; index 1378 drivers/net/ethernet/freescale/dpaa2/dpni.c u8 index, index 1392 drivers/net/ethernet/freescale/dpaa2/dpni.c cmd_params->index = index; index 1426 drivers/net/ethernet/freescale/dpaa2/dpni.c u8 index, index 1442 drivers/net/ethernet/freescale/dpaa2/dpni.c cmd_params->index = index; index 1530 drivers/net/ethernet/freescale/dpaa2/dpni.c u8 index, index 1544 drivers/net/ethernet/freescale/dpaa2/dpni.c cmd_params->index = index; index 1574 drivers/net/ethernet/freescale/dpaa2/dpni.c u8 index, index 1590 drivers/net/ethernet/freescale/dpaa2/dpni.c cmd_params->index = index; index 1731 drivers/net/ethernet/freescale/dpaa2/dpni.c u16 index, index 1745 drivers/net/ethernet/freescale/dpaa2/dpni.c cmd_params->index = cpu_to_le16(index); index 823 drivers/net/ethernet/freescale/dpaa2/dpni.h u8 index, index 832 drivers/net/ethernet/freescale/dpaa2/dpni.h u8 index, index 954 drivers/net/ethernet/freescale/dpaa2/dpni.h u16 index, index 33 drivers/net/ethernet/freescale/enetc/enetc.c netif_stop_subqueue(ndev, tx_ring->index); index 42 drivers/net/ethernet/freescale/enetc/enetc.c netif_stop_subqueue(ndev, tx_ring->index); index 389 drivers/net/ethernet/freescale/enetc/enetc.c enetc_wr_reg(tx_ring->idr, BIT(tx_ring->index) | index 390 drivers/net/ethernet/freescale/enetc/enetc.c BIT(16 + tx_ring->index)); index 402 drivers/net/ethernet/freescale/enetc/enetc.c __netif_subqueue_stopped(ndev, tx_ring->index) && index 404 drivers/net/ethernet/freescale/enetc/enetc.c netif_wake_subqueue(ndev, tx_ring->index); index 533 drivers/net/ethernet/freescale/enetc/enetc.c skb_record_rx_queue(skb, rx_ring->index); index 651 drivers/net/ethernet/freescale/enetc/enetc.c enetc_wr_reg(rx_ring->idr, BIT(rx_ring->index)); index 1105 drivers/net/ethernet/freescale/enetc/enetc.c int idx = tx_ring->index; index 1139 drivers/net/ethernet/freescale/enetc/enetc.c int idx = rx_ring->index; index 1188 drivers/net/ethernet/freescale/enetc/enetc.c int idx = rx_ring->index; index 1197 drivers/net/ethernet/freescale/enetc/enetc.c int idx = tx_ring->index; index 1253 drivers/net/ethernet/freescale/enetc/enetc.c int idx = v->tx_ring[j].index; index 1452 drivers/net/ethernet/freescale/enetc/enetc.c enetc_set_bdr_prio(&priv->si->hw, tx_ring->index, 0); index 1471 drivers/net/ethernet/freescale/enetc/enetc.c enetc_set_bdr_prio(&priv->si->hw, tx_ring->index, i); index 1654 drivers/net/ethernet/freescale/enetc/enetc.c bdr->index = idx; index 1662 drivers/net/ethernet/freescale/enetc/enetc.c bdr->index = i; index 58 drivers/net/ethernet/freescale/enetc/enetc.h u16 index; index 239 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_set_mac_flt_entry(struct enetc_si *si, int index, index 241 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_clear_mac_flt_entry(struct enetc_si *si, int index); index 243 drivers/net/ethernet/freescale/enetc/enetc.h int index); index 74 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_clear_mac_flt_entry(struct enetc_si *si, int index) index 82 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c cbd.index = cpu_to_le16(index); index 87 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_set_mac_flt_entry(struct enetc_si *si, int index, index 99 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c cbd.index = cpu_to_le16(index); index 115 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int index) index 125 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c cbd.index = cpu_to_le16(index); index 451 drivers/net/ethernet/freescale/enetc/enetc_hw.h __le16 index; index 339 drivers/net/ethernet/freescale/fec_main.c int index = 0; index 349 drivers/net/ethernet/freescale/fec_main.c index, index 355 drivers/net/ethernet/freescale/fec_main.c txq->tx_skbuff[index]); index 357 drivers/net/ethernet/freescale/fec_main.c index++; index 396 drivers/net/ethernet/freescale/fec_main.c unsigned int index; index 433 drivers/net/ethernet/freescale/fec_main.c index = fec_enet_get_bd_index(bdp, &txq->bd); index 436 drivers/net/ethernet/freescale/fec_main.c memcpy(txq->tx_bounce[index], bufaddr, frag_len); index 437 drivers/net/ethernet/freescale/fec_main.c bufaddr = txq->tx_bounce[index]; index 482 drivers/net/ethernet/freescale/fec_main.c unsigned int index; index 509 drivers/net/ethernet/freescale/fec_main.c index = fec_enet_get_bd_index(bdp, &txq->bd); index 512 drivers/net/ethernet/freescale/fec_main.c memcpy(txq->tx_bounce[index], skb->data, buflen); index 513 drivers/net/ethernet/freescale/fec_main.c bufaddr = txq->tx_bounce[index]; index 566 drivers/net/ethernet/freescale/fec_main.c index = fec_enet_get_bd_index(last_bdp, &txq->bd); index 568 drivers/net/ethernet/freescale/fec_main.c txq->tx_skbuff[index] = skb; index 601 drivers/net/ethernet/freescale/fec_main.c struct bufdesc *bdp, int index, char *data, index 617 drivers/net/ethernet/freescale/fec_main.c memcpy(txq->tx_bounce[index], data, size); index 618 drivers/net/ethernet/freescale/fec_main.c data = txq->tx_bounce[index]; index 661 drivers/net/ethernet/freescale/fec_main.c struct bufdesc *bdp, int index) index 675 drivers/net/ethernet/freescale/fec_main.c bufaddr = txq->tso_hdrs + index * TSO_HEADER_SIZE; index 676 drivers/net/ethernet/freescale/fec_main.c dmabuf = txq->tso_hdrs_dma + index * TSO_HEADER_SIZE; index 679 drivers/net/ethernet/freescale/fec_main.c memcpy(txq->tx_bounce[index], skb->data, hdr_len); index 680 drivers/net/ethernet/freescale/fec_main.c bufaddr = txq->tx_bounce[index]; index 721 drivers/net/ethernet/freescale/fec_main.c unsigned int index = 0; index 744 drivers/net/ethernet/freescale/fec_main.c index = fec_enet_get_bd_index(bdp, &txq->bd); index 749 drivers/net/ethernet/freescale/fec_main.c hdr = txq->tso_hdrs + index * TSO_HEADER_SIZE; index 751 drivers/net/ethernet/freescale/fec_main.c ret = fec_enet_txq_put_hdr_tso(txq, skb, ndev, bdp, index); index 760 drivers/net/ethernet/freescale/fec_main.c index = fec_enet_get_bd_index(bdp, &txq->bd); index 762 drivers/net/ethernet/freescale/fec_main.c bdp, index, index 777 drivers/net/ethernet/freescale/fec_main.c txq->tx_skbuff[index] = skb; index 1250 drivers/net/ethernet/freescale/fec_main.c int index = 0; index 1272 drivers/net/ethernet/freescale/fec_main.c index = fec_enet_get_bd_index(bdp, &txq->bd); index 1274 drivers/net/ethernet/freescale/fec_main.c skb = txq->tx_skbuff[index]; index 1275 drivers/net/ethernet/freescale/fec_main.c txq->tx_skbuff[index] = NULL; index 1426 drivers/net/ethernet/freescale/fec_main.c int index = 0; index 1480 drivers/net/ethernet/freescale/fec_main.c index = fec_enet_get_bd_index(bdp, &rxq->bd); index 1481 drivers/net/ethernet/freescale/fec_main.c skb = rxq->rx_skbuff[index]; index 1565 drivers/net/ethernet/freescale/fec_main.c rxq->rx_skbuff[index] = skb_new; index 720 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->tx_dmatsk->index, index 723 drivers/net/ethernet/freescale/fec_mpc52xx.c priv->rx_dmatsk->index, index 1322 drivers/net/ethernet/freescale/gianfar.h u32 index; index 860 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = RQFCR_AND | RQFCR_PID_MASK | RQFCR_CMP_EXACT; index 861 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = mask; index 862 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->index++; index 869 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_PID_PARSE | index 871 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = value; index 872 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->index++; index 879 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = RQFCR_CMP_EXACT | RQFCR_AND | flag; index 880 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = value; index 881 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->index++; index 1102 drivers/net/ethernet/freescale/gianfar_ethtool.c u32 old_index = tab->index; index 1173 drivers/net/ethernet/freescale/gianfar_ethtool.c if (tab->index == old_index) { index 1175 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].ctrl = 0x20; index 1176 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index].prop = 0x0; index 1177 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->index++; index 1181 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl &= (~RQFCR_AND); index 1185 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl |= RQFCR_RJE; index 1187 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl |= (rule->ring_cookie << 10); index 1190 drivers/net/ethernet/freescale/gianfar_ethtool.c if (tab->index > (old_index + 2)) { index 1192 drivers/net/ethernet/freescale/gianfar_ethtool.c tab->fe[tab->index - 1].ctrl |= RQFCR_CLE; index 1198 drivers/net/ethernet/freescale/gianfar_ethtool.c if (tab->index > MAX_FILER_CACHE_IDX - 1) index 1209 drivers/net/ethernet/freescale/gianfar_ethtool.c if (tab->index > MAX_FILER_IDX - 1) index 221 drivers/net/ethernet/google/gve/gve_adminq.c .index = cpu_to_be32(queue_index), index 125 drivers/net/ethernet/google/gve/gve_adminq.h __be32 index; index 1471 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c (priv->soft_mac_tbl + i)->index = DSAF_INVALID_ENTRY_IDX; index 1513 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if ((soft_mac_entry->index != DSAF_INVALID_ENTRY_IDX) && index 1517 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c return soft_mac_entry->index; index 1538 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (soft_mac_entry->index == DSAF_INVALID_ENTRY_IDX) index 1561 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (soft_mac_entry->index == DSAF_INVALID_ENTRY_IDX) index 1667 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = entry_index; index 1843 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = entry_index; index 1896 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = DSAF_INVALID_ENTRY_IDX; index 2001 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = DSAF_INVALID_ENTRY_IDX; index 2037 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (soft_mac_entry->index != DSAF_INVALID_ENTRY_IDX && index 2186 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static u32 hns_dsaf_get_inode_prio_reg(int index) index 2191 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c base_index = (index + 1) / DSAF_REG_PER_ZONE; index 2192 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c offset = (index + 1) % DSAF_REG_PER_ZONE; index 2797 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = entry_index; index 2851 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = entry_index; index 2883 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = DSAF_INVALID_ENTRY_IDX; index 2901 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c soft_mac_entry->index = DSAF_INVALID_ENTRY_IDX; index 387 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h u16 index; /*the entry's index in tcam tab*/ index 127 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->index = i; index 305 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c u32 port = ppe_cb->index; index 356 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c port = ppe_cb->index; index 465 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c int index = ppe_cb->index; index 467 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_sw_pkt", index); index 469 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_ok", index); index 471 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_drop_pkt_no_bd", index); index 473 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_fail", index); index 475 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_alloc_buf_wait", index); index 477 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_drop_no_buf", index); index 479 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_rx_pkt_err_fifo_full", index); index 482 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_bd", index); index 484 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt", index); index 486 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt_ok", index); index 488 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt_err_fifo_empty", index); index 490 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c snprintf(buff, ETH_GSTRING_LEN, "ppe%d_tx_pkt_err_csum_fail", index); index 78 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h u8 index; /* index in a ppe common device */ index 528 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c ring_pair_cb->index = i; index 831 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c PPE_COM_HIS_RX_PKT_QID_OK_CNT_REG + 4 * ring->index); index 833 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c PPE_COM_HIS_RX_PKT_QID_DROP_CNT_REG + 4 * ring->index); index 840 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c PPE_COM_HIS_TX_PKT_QID_OK_CNT_REG + 4 * ring->index); index 842 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c PPE_COM_HIS_TX_PKT_QID_ERR_CNT_REG + 4 * ring->index); index 929 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c void hns_rcb_get_strings(int stringset, u8 *data, int index) index 936 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_rcb_pkt_num", index); index 938 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_tx_pkt_num", index); index 940 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_drop_pkt_num", index); index 942 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_fbd_num", index); index 945 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_pkt_num", index); index 947 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_bytes", index); index 949 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_err_cnt", index); index 951 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_io_err", index); index 953 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_sw_err", index); index 955 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_seg_pkt", index); index 957 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_restart_queue", index); index 959 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_tx_busy", index); index 962 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_rcb_pkt_num", index); index 964 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_ppe_pkt_num", index); index 966 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_ppe_drop_pkt_num", index); index 968 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_fbd_num", index); index 971 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_pkt_num", index); index 973 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_bytes", index); index 975 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_err_cnt", index); index 977 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_io_err", index); index 979 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_sw_err", index); index 981 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_seg_pkt", index); index 983 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_reuse_pg", index); index 985 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_len_err", index); index 987 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_non_vld_desc_err", index); index 989 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_bd_num_err", index); index 991 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_l2_err", index); index 993 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c snprintf(buff, ETH_GSTRING_LEN, "rx_ring%d_l3l4csum_err", index); index 1117 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c regs[i] = 0xcccccc00 + ring_pair->index; index 89 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h u16 index; /* global index in a rcb common device */ index 160 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h void hns_rcb_get_strings(int stringset, u8 *data, int index); index 868 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h __le16 index; index 1003 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h __le32 index; index 1035 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h __le32 index; index 80 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c int index; index 91 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c index = offset % entries_per_desc; index 92 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c return (int)desc[offset / entries_per_desc].data[index]; index 97 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c int index, int bd_num, index 104 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c desc->data[0] = cpu_to_le32(index); index 132 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c int index = 0; index 137 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c ret = kstrtouint(s, 0, &index); index 138 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c index = (ret != 0) ? 0 : index; index 156 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c ret = hclge_dbg_cmd_send(hdev, desc, index, bd_num, reg_msg->cmd); index 306 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_title_idx_print(struct hclge_dev *hdev, bool flag, int index, index 311 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c dev_info(&hdev->pdev->dev, "%s(%d): %s\n", title_buf, index, index 314 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c dev_info(&hdev->pdev->dev, "%s(%d): %s\n", title_buf, index, index 833 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c req0->index = cpu_to_le16(i); index 848 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c req0->index, req0->mac_addr[0], req0->mac_addr[1], index 897 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c req1->index = cpu_to_le32(loc); index 553 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff)); index 573 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc[0].data[0] = cpu_to_le32((tqp->index & 0x1ff)); index 626 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp->index); index 634 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp->index); index 1461 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp->index = i; index 1570 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_map_tqps_to_func(hdev, vport->vport_id, q->index, index 4826 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req1->index = cpu_to_le32(loc); index 4857 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c req->index = cpu_to_le32(loc); index 8512 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return tqp->index; index 9782 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u32 entries_per_desc, desc_index, index, offset, i; index 9796 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c index = offset % entries_per_desc; index 9798 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c bd_num_list[i] = le32_to_cpu(desc[desc_index].data[index]); index 9831 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int entries_per_desc, reg_num, separator_num, desc_index, index, i; index 9839 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c index = i % entries_per_desc; index 9841 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c *reg++ = le32_to_cpu(desc[desc_index].data[index]); index 296 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u16 index; /* Global index in a NIC controller */ index 947 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h return tqp->index; index 536 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 index; index 538 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c index = mbx_req->msg[2]; index 541 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c &hdev->vport[0].rss_hash_key[index * HCLGE_RSS_MBX_RESP_LEN], index 141 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c u32 index = i * HCLGE_TM_PFC_PKT_GET_CMD_NUM + j; index 143 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c if (index < HCLGE_MAX_TC_NUM) index 144 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c stats[index] = index 113 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); index 127 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c desc.data[0] = cpu_to_le32(tqp->index & 0x1ff); index 178 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tqp->index); index 186 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tqp->index); index 367 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tqp->index = i; index 677 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u8 index; index 682 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (index = 0; index < msg_num; index++) { index 684 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c &index, sizeof(index), index 694 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c hash_key_index = HCLGEVF_RSS_MBX_RESP_LEN * index; index 695 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c if (index == msg_num - 1) index 186 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h u16 index; /* global index in a NIC controller */ index 334 drivers/net/ethernet/ibm/ehea/ehea.h int index; /* array index */ index 379 drivers/net/ethernet/ibm/ehea/ehea_main.c static void ehea_refill_rq1(struct ehea_port_res *pr, int index, int nr_of_wqes) index 392 drivers/net/ethernet/ibm/ehea/ehea_main.c pr->rq1_skba.index = index; index 398 drivers/net/ethernet/ibm/ehea/ehea_main.c if (!skb_arr_rq1[index]) { index 399 drivers/net/ethernet/ibm/ehea/ehea_main.c skb_arr_rq1[index] = netdev_alloc_skb(dev, index 401 drivers/net/ethernet/ibm/ehea/ehea_main.c if (!skb_arr_rq1[index]) { index 406 drivers/net/ethernet/ibm/ehea/ehea_main.c index--; index 407 drivers/net/ethernet/ibm/ehea/ehea_main.c index &= max_index_mask; index 446 drivers/net/ethernet/ibm/ehea/ehea_main.c int i, index, max_index_mask, fill_wqes; index 458 drivers/net/ethernet/ibm/ehea/ehea_main.c index = q_skba->index; index 476 drivers/net/ethernet/ibm/ehea/ehea_main.c skb_arr[index] = skb; index 487 drivers/net/ethernet/ibm/ehea/ehea_main.c | EHEA_BMASK_SET(EHEA_WR_ID_INDEX, index); index 493 drivers/net/ethernet/ibm/ehea/ehea_main.c index++; index 494 drivers/net/ethernet/ibm/ehea/ehea_main.c index &= max_index_mask; index 498 drivers/net/ethernet/ibm/ehea/ehea_main.c q_skba->index = index; index 805 drivers/net/ethernet/ibm/ehea/ehea_main.c int index; index 842 drivers/net/ethernet/ibm/ehea/ehea_main.c index = EHEA_BMASK_GET(EHEA_WR_ID_INDEX, cqe->wr_id); index 843 drivers/net/ethernet/ibm/ehea/ehea_main.c skb = pr->sq_skba.arr[index]; index 845 drivers/net/ethernet/ibm/ehea/ehea_main.c pr->sq_skba.arr[index] = NULL; index 1430 drivers/net/ethernet/ibm/ehea/ehea_main.c q_skba->index = 0; index 2053 drivers/net/ethernet/ibm/ehea/ehea_main.c | EHEA_BMASK_SET(EHEA_WR_ID_INDEX, pr->sq_skba.index); index 2054 drivers/net/ethernet/ibm/ehea/ehea_main.c pr->sq_skba.arr[pr->sq_skba.index] = skb; index 2056 drivers/net/ethernet/ibm/ehea/ehea_main.c pr->sq_skba.index++; index 2057 drivers/net/ethernet/ibm/ehea/ehea_main.c pr->sq_skba.index &= (pr->sq_skba.len - 1); index 2090 drivers/net/ethernet/ibm/ehea/ehea_main.c int index; index 2109 drivers/net/ethernet/ibm/ehea/ehea_main.c index = (vid / 64); index 2110 drivers/net/ethernet/ibm/ehea/ehea_main.c cb1->vlan_filter[index] |= ((u64)(0x8000000000000000 >> (vid & 0x3F))); index 2128 drivers/net/ethernet/ibm/ehea/ehea_main.c int index; index 2147 drivers/net/ethernet/ibm/ehea/ehea_main.c index = (vid / 64); index 2148 drivers/net/ethernet/ibm/ehea/ehea_main.c cb1->vlan_filter[index] &= ~((u64)(0x8000000000000000 >> (vid & 0x3F))); index 2586 drivers/net/ethernet/ibm/ehea/ehea_main.c int index; index 2591 drivers/net/ethernet/ibm/ehea/ehea_main.c index = EHEA_BMASK_GET(EHEA_WR_ID_INDEX, rwqe->wr_id); index 2592 drivers/net/ethernet/ibm/ehea/ehea_main.c skb = skba_rq2[index]; index 2600 drivers/net/ethernet/ibm/ehea/ehea_main.c index = EHEA_BMASK_GET(EHEA_WR_ID_INDEX, rwqe->wr_id); index 2601 drivers/net/ethernet/ibm/ehea/ehea_main.c skb = skba_rq3[index]; index 2667 drivers/net/ethernet/ibm/ehea/ehea_main.c ehea_refill_rq1(pr, pr->rq1_skba.index, 0); index 763 drivers/net/ethernet/ibm/ehea/ehea_qmr.c unsigned long index, offset; index 768 drivers/net/ethernet/ibm/ehea/ehea_qmr.c index = __pa(caddr) >> SECTION_SIZE_BITS; index 769 drivers/net/ethernet/ibm/ehea/ehea_qmr.c top = (index >> EHEA_TOP_INDEX_SHIFT) & EHEA_INDEX_MASK; index 773 drivers/net/ethernet/ibm/ehea/ehea_qmr.c dir = (index >> EHEA_DIR_INDEX_SHIFT) & EHEA_INDEX_MASK; index 777 drivers/net/ethernet/ibm/ehea/ehea_qmr.c idx = index & EHEA_INDEX_MASK; index 2193 drivers/net/ethernet/ibm/emac/core.c hdr->index = dev->cell_index; index 456 drivers/net/ethernet/ibm/emac/core.h u32 index; index 46 drivers/net/ethernet/ibm/emac/mal.c mal->index); index 90 drivers/net/ethernet/ibm/emac/mal.c mal->index, size, channel); index 243 drivers/net/ethernet/ibm/emac/mal.c mal->index, esr); index 253 drivers/net/ethernet/ibm/emac/mal.c mal->index, esr); index 322 drivers/net/ethernet/ibm/emac/mal.c mal->index, deir); index 471 drivers/net/ethernet/ibm/emac/mal.c printk(KERN_ERR "mal%d: reset timeout\n", mal->index); index 487 drivers/net/ethernet/ibm/emac/mal.c hdr->index = mal->index; index 518 drivers/net/ethernet/ibm/emac/mal.c int index = mal_count++; index 529 drivers/net/ethernet/ibm/emac/mal.c mal->index = index; index 539 drivers/net/ethernet/ibm/emac/mal.c index); index 549 drivers/net/ethernet/ibm/emac/mal.c index); index 558 drivers/net/ethernet/ibm/emac/mal.c "mal%d: can't find DCR resource!\n", index); index 565 drivers/net/ethernet/ibm/emac/mal.c "mal%d: failed to map DCRs !\n", index); index 597 drivers/net/ethernet/ibm/emac/mal.c "mal%d: failed to map interrupts !\n", index); index 725 drivers/net/ethernet/ibm/emac/mal.c mal->index); index 205 drivers/net/ethernet/ibm/emac/mal.h int index; index 206 drivers/net/ethernet/ibm/emac/rgmii.c hdr->index = 0; /* for now, are there chips with more than one index 78 drivers/net/ethernet/ibm/emac/tah.c hdr->index = 0; /* for now, are there chips with more than one index 222 drivers/net/ethernet/ibm/emac/zmii.c hdr->index = 0; /* for now, are there chips with more than one index 105 drivers/net/ethernet/ibm/ibmveth.c return be32_to_cpu(adapter->rx_queue.queue_addr[adapter->rx_queue.index].flags_off); index 136 drivers/net/ethernet/ibm/ibmveth.c return be32_to_cpu(adapter->rx_queue.queue_addr[adapter->rx_queue.index].length); index 150 drivers/net/ethernet/ibm/ibmveth.c pool->index = pool_index; index 212 drivers/net/ethernet/ibm/ibmveth.c unsigned int free_index, index; index 235 drivers/net/ethernet/ibm/ibmveth.c index = pool->free_map[free_index]; index 237 drivers/net/ethernet/ibm/ibmveth.c BUG_ON(index == IBM_VETH_INVALID_MAP); index 238 drivers/net/ethernet/ibm/ibmveth.c BUG_ON(pool->skbuff[index] != NULL); index 247 drivers/net/ethernet/ibm/ibmveth.c pool->dma_addr[index] = dma_addr; index 248 drivers/net/ethernet/ibm/ibmveth.c pool->skbuff[index] = skb; index 250 drivers/net/ethernet/ibm/ibmveth.c correlator = ((u64)pool->index << 32) | index; index 278 drivers/net/ethernet/ibm/ibmveth.c pool->free_map[free_index] = index; index 279 drivers/net/ethernet/ibm/ibmveth.c pool->skbuff[index] = NULL; index 286 drivers/net/ethernet/ibm/ibmveth.c pool->dma_addr[index], pool->buff_size, index 364 drivers/net/ethernet/ibm/ibmveth.c unsigned int index = correlator & 0xffffffffUL; index 369 drivers/net/ethernet/ibm/ibmveth.c BUG_ON(index >= adapter->rx_buff_pool[pool].size); index 371 drivers/net/ethernet/ibm/ibmveth.c skb = adapter->rx_buff_pool[pool].skbuff[index]; index 375 drivers/net/ethernet/ibm/ibmveth.c adapter->rx_buff_pool[pool].skbuff[index] = NULL; index 378 drivers/net/ethernet/ibm/ibmveth.c adapter->rx_buff_pool[pool].dma_addr[index], index 387 drivers/net/ethernet/ibm/ibmveth.c adapter->rx_buff_pool[pool].free_map[free_index] = index; index 397 drivers/net/ethernet/ibm/ibmveth.c u64 correlator = adapter->rx_queue.queue_addr[adapter->rx_queue.index].correlator; index 399 drivers/net/ethernet/ibm/ibmveth.c unsigned int index = correlator & 0xffffffffUL; index 402 drivers/net/ethernet/ibm/ibmveth.c BUG_ON(index >= adapter->rx_buff_pool[pool].size); index 404 drivers/net/ethernet/ibm/ibmveth.c return adapter->rx_buff_pool[pool].skbuff[index]; index 410 drivers/net/ethernet/ibm/ibmveth.c u32 q_index = adapter->rx_queue.index; index 413 drivers/net/ethernet/ibm/ibmveth.c unsigned int index = correlator & 0xffffffffUL; index 419 drivers/net/ethernet/ibm/ibmveth.c BUG_ON(index >= adapter->rx_buff_pool[pool].size); index 429 drivers/net/ethernet/ibm/ibmveth.c desc.fields.address = adapter->rx_buff_pool[pool].dma_addr[index]; index 436 drivers/net/ethernet/ibm/ibmveth.c ibmveth_remove_buffer_from_pool(adapter, adapter->rx_queue.queue_addr[adapter->rx_queue.index].correlator); index 440 drivers/net/ethernet/ibm/ibmveth.c if (++adapter->rx_queue.index == adapter->rx_queue.num_slots) { index 441 drivers/net/ethernet/ibm/ibmveth.c adapter->rx_queue.index = 0; index 451 drivers/net/ethernet/ibm/ibmveth.c ibmveth_remove_buffer_from_pool(adapter, adapter->rx_queue.queue_addr[adapter->rx_queue.index].correlator); index 453 drivers/net/ethernet/ibm/ibmveth.c if (++adapter->rx_queue.index == adapter->rx_queue.num_slots) { index 454 drivers/net/ethernet/ibm/ibmveth.c adapter->rx_queue.index = 0; index 552 drivers/net/ethernet/ibm/ibmveth.c adapter->rx_queue.index = 0; index 111 drivers/net/ethernet/ibm/ibmveth.h u32 index; index 125 drivers/net/ethernet/ibm/ibmveth.h u64 index; index 256 drivers/net/ethernet/ibm/ibmvnic.c int index; index 274 drivers/net/ethernet/ibm/ibmvnic.c index = pool->free_map[pool->next_free]; index 276 drivers/net/ethernet/ibm/ibmvnic.c if (pool->rx_buff[index].skb) index 280 drivers/net/ethernet/ibm/ibmvnic.c offset = index * pool->buff_size; index 284 drivers/net/ethernet/ibm/ibmvnic.c pool->rx_buff[index].data = dst; index 287 drivers/net/ethernet/ibm/ibmvnic.c pool->rx_buff[index].dma = dma_addr; index 288 drivers/net/ethernet/ibm/ibmvnic.c pool->rx_buff[index].skb = skb; index 289 drivers/net/ethernet/ibm/ibmvnic.c pool->rx_buff[index].pool_index = pool->index; index 290 drivers/net/ethernet/ibm/ibmvnic.c pool->rx_buff[index].size = pool->buff_size; index 295 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be64((u64)&pool->rx_buff[index]); index 309 drivers/net/ethernet/ibm/ibmvnic.c lpar_rc = send_subcrq(adapter, handle_array[pool->index], index 324 drivers/net/ethernet/ibm/ibmvnic.c pool->free_map[pool->next_free] = index; index 325 drivers/net/ethernet/ibm/ibmvnic.c pool->rx_buff[index].skb = NULL; index 525 drivers/net/ethernet/ibm/ibmvnic.c rx_pool->index = i; index 1427 drivers/net/ethernet/ibm/ibmvnic.c int index = 0; index 1458 drivers/net/ethernet/ibm/ibmvnic.c index = tx_pool->free_map[tx_pool->consumer_index]; index 1460 drivers/net/ethernet/ibm/ibmvnic.c if (index == IBMVNIC_INVALID_MAP) { index 1470 drivers/net/ethernet/ibm/ibmvnic.c offset = index * tx_pool->buf_size; index 1498 drivers/net/ethernet/ibm/ibmvnic.c tx_buff = &tx_pool->tx_buff[index]; index 1502 drivers/net/ethernet/ibm/ibmvnic.c tx_buff->index = index; index 1515 drivers/net/ethernet/ibm/ibmvnic.c cpu_to_be32(index | IBMVNIC_TSO_POOL_MASK); index 1517 drivers/net/ethernet/ibm/ibmvnic.c tx_crq.v1.correlator = cpu_to_be32(index); index 1619 drivers/net/ethernet/ibm/ibmvnic.c tx_pool->free_map[tx_pool->consumer_index] = index; index 2908 drivers/net/ethernet/ibm/ibmvnic.c int index; index 2923 drivers/net/ethernet/ibm/ibmvnic.c index = be32_to_cpu(next->tx_comp.correlators[i]); index 2924 drivers/net/ethernet/ibm/ibmvnic.c if (index & IBMVNIC_TSO_POOL_MASK) { index 2926 drivers/net/ethernet/ibm/ibmvnic.c index &= ~IBMVNIC_TSO_POOL_MASK; index 2931 drivers/net/ethernet/ibm/ibmvnic.c txbuff = &tx_pool->tx_buff[index]; index 2947 drivers/net/ethernet/ibm/ibmvnic.c tx_pool->free_map[tx_pool->producer_index] = index; index 891 drivers/net/ethernet/ibm/ibmvnic.h int index; index 921 drivers/net/ethernet/ibm/ibmvnic.h int index; index 4342 drivers/net/ethernet/intel/e1000/e1000_hw.c void e1000_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) index 4378 drivers/net/ethernet/intel/e1000/e1000_hw.c E1000_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low); index 4380 drivers/net/ethernet/intel/e1000/e1000_hw.c E1000_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); index 4939 drivers/net/ethernet/intel/e1000/e1000_main.c u32 vfta, index; index 4950 drivers/net/ethernet/intel/e1000/e1000_main.c index = (vid >> 5) & 0x7F; index 4951 drivers/net/ethernet/intel/e1000/e1000_main.c vfta = E1000_READ_REG_ARRAY(hw, VFTA, index); index 4953 drivers/net/ethernet/intel/e1000/e1000_main.c e1000_write_vfta(hw, index, vfta); index 4965 drivers/net/ethernet/intel/e1000/e1000_main.c u32 vfta, index; index 4973 drivers/net/ethernet/intel/e1000/e1000_main.c index = (vid >> 5) & 0x7F; index 4974 drivers/net/ethernet/intel/e1000/e1000_main.c vfta = E1000_READ_REG_ARRAY(hw, VFTA, index); index 4976 drivers/net/ethernet/intel/e1000/e1000_main.c e1000_write_vfta(hw, index, vfta); index 613 drivers/net/ethernet/intel/e1000e/80003es2lan.c u16 phy_data, index; index 619 drivers/net/ethernet/intel/e1000e/80003es2lan.c index = phy_data & GG82563_DSPD_CABLE_LENGTH; index 621 drivers/net/ethernet/intel/e1000e/80003es2lan.c if (index >= GG82563_CABLE_LENGTH_TABLE_SIZE - 5) index 624 drivers/net/ethernet/intel/e1000e/80003es2lan.c phy->min_cable_length = e1000_gg82563_cable_length_table[index]; index 625 drivers/net/ethernet/intel/e1000e/80003es2lan.c phy->max_cable_length = e1000_gg82563_cable_length_table[index + 5]; index 132 drivers/net/ethernet/intel/e1000e/ich8lan.c static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index); index 133 drivers/net/ethernet/intel/e1000e/ich8lan.c static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index); index 1831 drivers/net/ethernet/intel/e1000e/ich8lan.c static int e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index) index 1848 drivers/net/ethernet/intel/e1000e/ich8lan.c if (index == 0) { index 1849 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(RAL(index), rar_low); index 1851 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(RAH(index), rar_high); index 1859 drivers/net/ethernet/intel/e1000e/ich8lan.c if (index < (u32)(hw->mac.rar_entry_count)) { index 1866 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(SHRAL(index - 1), rar_low); index 1868 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(SHRAH(index - 1), rar_high); index 1874 drivers/net/ethernet/intel/e1000e/ich8lan.c if ((er32(SHRAL(index - 1)) == rar_low) && index 1875 drivers/net/ethernet/intel/e1000e/ich8lan.c (er32(SHRAH(index - 1)) == rar_high)) index 1879 drivers/net/ethernet/intel/e1000e/ich8lan.c (index - 1), er32(FWSM)); index 1883 drivers/net/ethernet/intel/e1000e/ich8lan.c e_dbg("Failed to write receive address at index %d\n", index); index 1934 drivers/net/ethernet/intel/e1000e/ich8lan.c static int e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index) index 1951 drivers/net/ethernet/intel/e1000e/ich8lan.c if (index == 0) { index 1952 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(RAL(index), rar_low); index 1954 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(RAH(index), rar_high); index 1962 drivers/net/ethernet/intel/e1000e/ich8lan.c if (index < hw->mac.rar_entry_count) { index 1970 drivers/net/ethernet/intel/e1000e/ich8lan.c if ((wlock_mac == 0) || (index <= wlock_mac)) { index 1978 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(SHRAL_PCH_LPT(index - 1), rar_low); index 1980 drivers/net/ethernet/intel/e1000e/ich8lan.c ew32(SHRAH_PCH_LPT(index - 1), rar_high); index 1986 drivers/net/ethernet/intel/e1000e/ich8lan.c if ((er32(SHRAL_PCH_LPT(index - 1)) == rar_low) && index 1987 drivers/net/ethernet/intel/e1000e/ich8lan.c (er32(SHRAH_PCH_LPT(index - 1)) == rar_high)) index 1993 drivers/net/ethernet/intel/e1000e/ich8lan.c e_dbg("Failed to write receive address at index %d\n", index); index 210 drivers/net/ethernet/intel/e1000e/mac.c int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) index 230 drivers/net/ethernet/intel/e1000e/mac.c ew32(RAL(index), rar_low); index 232 drivers/net/ethernet/intel/e1000e/mac.c ew32(RAH(index), rar_high); index 47 drivers/net/ethernet/intel/e1000e/mac.h int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index); index 2697 drivers/net/ethernet/intel/e1000e/netdev.c u32 vfta, index; index 2707 drivers/net/ethernet/intel/e1000e/netdev.c index = (vid >> 5) & 0x7F; index 2708 drivers/net/ethernet/intel/e1000e/netdev.c vfta = E1000_READ_REG_ARRAY(hw, E1000_VFTA, index); index 2710 drivers/net/ethernet/intel/e1000e/netdev.c hw->mac.ops.write_vfta(hw, index, vfta); index 2723 drivers/net/ethernet/intel/e1000e/netdev.c u32 vfta, index; index 2735 drivers/net/ethernet/intel/e1000e/netdev.c index = (vid >> 5) & 0x7F; index 2736 drivers/net/ethernet/intel/e1000e/netdev.c vfta = E1000_READ_REG_ARRAY(hw, E1000_VFTA, index); index 2738 drivers/net/ethernet/intel/e1000e/netdev.c hw->mac.ops.write_vfta(hw, index, vfta); index 1781 drivers/net/ethernet/intel/e1000e/phy.c u16 phy_data, index; index 1787 drivers/net/ethernet/intel/e1000e/phy.c index = ((phy_data & M88E1000_PSSR_CABLE_LENGTH) >> index 1790 drivers/net/ethernet/intel/e1000e/phy.c if (index >= M88E1000_CABLE_LENGTH_TABLE_SIZE - 1) index 1793 drivers/net/ethernet/intel/e1000e/phy.c phy->min_cable_length = e1000_m88_cable_length_table[index]; index 1794 drivers/net/ethernet/intel/e1000e/phy.c phy->max_cable_length = e1000_m88_cable_length_table[index + 1]; index 1136 drivers/net/ethernet/intel/i40e/i40e.h void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index); index 2693 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 index; /* 0 to 15 */ index 2701 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h u8 index; /* 0 to 15 */ index 3856 drivers/net/ethernet/intel/i40e/i40e_common.c *filter_index = resp->index; index 3867 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_status i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index, index 3877 drivers/net/ethernet/intel/i40e/i40e_common.c cmd->index = index; index 1063 drivers/net/ethernet/intel/i40e/i40e_debugfs.c int index, ret; index 1071 drivers/net/ethernet/intel/i40e/i40e_debugfs.c &cluster_id, &table_id, &index); index 1080 drivers/net/ethernet/intel/i40e/i40e_debugfs.c cluster_id, table_id, index, buff_len); index 1086 drivers/net/ethernet/intel/i40e/i40e_debugfs.c index, buff_len, buff, &rlen, index 1924 drivers/net/ethernet/intel/i40e/i40e_ethtool.c static bool i40e_active_tx_ring_index(struct i40e_vsi *vsi, u16 index) index 1927 drivers/net/ethernet/intel/i40e/i40e_ethtool.c return index < vsi->num_queue_pairs || index 1928 drivers/net/ethernet/intel/i40e/i40e_ethtool.c (index >= vsi->alloc_queue_pairs && index 1929 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index < vsi->alloc_queue_pairs + vsi->num_queue_pairs); index 1932 drivers/net/ethernet/intel/i40e/i40e_ethtool.c return index < vsi->num_queue_pairs; index 3203 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u16 index; index 3231 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_SCTP; index 3234 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_TCP; index 3237 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_UDP; index 3240 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_OTHER; index 3254 drivers/net/ethernet/intel/i40e/i40e_ethtool.c input_set = i40e_read_fd_input_set(pf, index); index 3835 drivers/net/ethernet/intel/i40e/i40e_ethtool.c int index = flex_pit_start + i; index 3842 drivers/net/ethernet/intel/i40e/i40e_ethtool.c I40E_PRTQF_FLX_PIT(index), index 4062 drivers/net/ethernet/intel/i40e/i40e_ethtool.c u16 index, src_offset = 0; index 4068 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_SCTP; index 4072 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_TCP; index 4076 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_UDP; index 4080 drivers/net/ethernet/intel/i40e/i40e_ethtool.c index = I40E_FILTER_PCTYPE_NONF_IPV4_OTHER; index 4089 drivers/net/ethernet/intel/i40e/i40e_ethtool.c current_mask = i40e_read_fd_input_set(pf, index); index 4317 drivers/net/ethernet/intel/i40e/i40e_ethtool.c i40e_write_fd_input_set(pf, index, new_mask); index 4325 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (index == I40E_FILTER_PCTYPE_NONF_IPV4_OTHER) index 156 drivers/net/ethernet/intel/i40e/i40e_hmc.h #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ index 160 drivers/net/ethernet/intel/i40e/i40e_hmc.h (hmc_info)->hmc_obj[(type)].size * (index); \ index 244 drivers/net/ethernet/intel/i40e/i40e_main.c static int i40e_put_lump(struct i40e_lump_tracking *pile, u16 index, u16 id) index 250 drivers/net/ethernet/intel/i40e/i40e_main.c if (!pile || index >= pile->num_entries) index 253 drivers/net/ethernet/intel/i40e/i40e_main.c for (i = index; index 260 drivers/net/ethernet/intel/i40e/i40e_main.c if (count && index < pile->search_hint) index 261 drivers/net/ethernet/intel/i40e/i40e_main.c pile->search_hint = index; index 410 drivers/net/ethernet/intel/i40e/i40e_nvm.c u16 index, word; index 414 drivers/net/ethernet/intel/i40e/i40e_nvm.c index = offset + word; index 415 drivers/net/ethernet/intel/i40e/i40e_nvm.c ret_code = i40e_read_nvm_word_srctl(hw, index, &data[word]); index 225 drivers/net/ethernet/intel/i40e/i40e_prototype.h i40e_status i40e_aq_del_udp_tunnel(struct i40e_hw *hw, u8 index, index 408 drivers/net/ethernet/intel/i40e/i40e_ptp.c void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index) index 428 drivers/net/ethernet/intel/i40e/i40e_ptp.c if (!(prttsyn_stat & BIT(index))) { index 434 drivers/net/ethernet/intel/i40e/i40e_ptp.c pf->latch_event_flags &= ~BIT(index); index 436 drivers/net/ethernet/intel/i40e/i40e_ptp.c lo = rd32(hw, I40E_PRTTSYN_RXTIME_L(index)); index 437 drivers/net/ethernet/intel/i40e/i40e_ptp.c hi = rd32(hw, I40E_PRTTSYN_RXTIME_H(index)); index 552 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 index; /* The index of the rule in the lookup table */ index 565 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 index; /* Index in large action table */ index 625 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 index; /* Index of VSI/Prune list */ index 632 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 index; index 2151 drivers/net/ethernet/intel/ice/ice_common.c int index; index 2155 drivers/net/ethernet/intel/ice/ice_common.c for (index = 0; index <= ICE_PHY_TYPE_LOW_MAX_INDEX; index++) { index 2156 drivers/net/ethernet/intel/ice/ice_common.c pt_low = BIT_ULL(index); index 2160 drivers/net/ethernet/intel/ice/ice_common.c *phy_type_low |= BIT_ULL(index); index 2164 drivers/net/ethernet/intel/ice/ice_common.c for (index = 0; index <= ICE_PHY_TYPE_HIGH_MAX_INDEX; index++) { index 2165 drivers/net/ethernet/intel/ice/ice_common.c pt_high = BIT_ULL(index); index 2169 drivers/net/ethernet/intel/ice/ice_common.c *phy_type_high |= BIT_ULL(index); index 248 drivers/net/ethernet/intel/ice/ice_flex_type.h void *(*handler)(u32 sect_type, void *section, u32 index, u32 *offset); index 642 drivers/net/ethernet/intel/ice/ice_lib.c int i, index = 0; index 646 drivers/net/ethernet/intel/ice/ice_lib.c index = find_next_zero_bit(qs_cfg->pf_map, index 647 drivers/net/ethernet/intel/ice/ice_lib.c qs_cfg->pf_map_size, index); index 648 drivers/net/ethernet/intel/ice/ice_lib.c if (index >= qs_cfg->pf_map_size) index 650 drivers/net/ethernet/intel/ice/ice_lib.c set_bit(index, qs_cfg->pf_map); index 651 drivers/net/ethernet/intel/ice/ice_lib.c qs_cfg->vsi_map[i + qs_cfg->vsi_map_offset] = index; index 657 drivers/net/ethernet/intel/ice/ice_lib.c for (index = 0; index < i; index++) { index 658 drivers/net/ethernet/intel/ice/ice_lib.c clear_bit(qs_cfg->vsi_map[index], qs_cfg->pf_map); index 659 drivers/net/ethernet/intel/ice/ice_lib.c qs_cfg->vsi_map[index + qs_cfg->vsi_map_offset] = 0; index 2800 drivers/net/ethernet/intel/ice/ice_lib.c int ice_free_res(struct ice_res_tracker *res, u16 index, u16 id) index 2805 drivers/net/ethernet/intel/ice/ice_lib.c if (!res || index >= res->end) index 2809 drivers/net/ethernet/intel/ice/ice_lib.c for (i = index; i < res->end && res->list[i] == id; i++) { index 92 drivers/net/ethernet/intel/ice/ice_lib.h int ice_free_res(struct ice_res_tracker *res, u16 index, u16 id); index 729 drivers/net/ethernet/intel/ice/ice_switch.c s_rule->pdata.lkup_tx_rx.index = index 886 drivers/net/ethernet/intel/ice/ice_switch.c lg_act->pdata.lg_act.index = cpu_to_le16(l_id); index 932 drivers/net/ethernet/intel/ice/ice_switch.c rx_tx->pdata.lkup_tx_rx.index = index 1034 drivers/net/ethernet/intel/ice/ice_switch.c s_rule->pdata.vsi_list.index = cpu_to_le16(vsi_list_id); index 1117 drivers/net/ethernet/intel/ice/ice_switch.c le16_to_cpu(s_rule->pdata.lkup_tx_rx.index); index 1119 drivers/net/ethernet/intel/ice/ice_switch.c le16_to_cpu(s_rule->pdata.lkup_tx_rx.index); index 1154 drivers/net/ethernet/intel/ice/ice_switch.c s_rule->pdata.lkup_tx_rx.index = cpu_to_le16(f_info->fltr_rule_id); index 1448 drivers/net/ethernet/intel/ice/ice_switch.c s_rule->pdata.vsi_list.index = cpu_to_le16(vsi_list_id); index 1767 drivers/net/ethernet/intel/ice/ice_switch.c le16_to_cpu(r_iter->pdata.lkup_tx_rx.index); index 2116 drivers/net/ethernet/intel/ice/ice_switch.c u16 index = le16_to_cpu(s_rule->pdata.lkup_tx_rx.index); index 2120 drivers/net/ethernet/intel/ice/ice_switch.c hw->port_info->dflt_tx_vsi_rule_id = index; index 2123 drivers/net/ethernet/intel/ice/ice_switch.c hw->port_info->dflt_rx_vsi_rule_id = index; index 355 drivers/net/ethernet/intel/igb/e1000_mac.c void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) index 376 drivers/net/ethernet/intel/igb/e1000_mac.c wr32(E1000_RAL(index), rar_low); index 378 drivers/net/ethernet/intel/igb/e1000_mac.c wr32(E1000_RAH(index), rar_high); index 46 drivers/net/ethernet/intel/igb/e1000_mac.h void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index); index 1678 drivers/net/ethernet/intel/igb/e1000_phy.c u16 phy_data, index; index 1684 drivers/net/ethernet/intel/igb/e1000_phy.c index = (phy_data & M88E1000_PSSR_CABLE_LENGTH) >> index 1686 drivers/net/ethernet/intel/igb/e1000_phy.c if (index >= ARRAY_SIZE(e1000_m88_cable_length_table) - 1) { index 1691 drivers/net/ethernet/intel/igb/e1000_phy.c phy->min_cable_length = e1000_m88_cable_length_table[index]; index 1692 drivers/net/ethernet/intel/igb/e1000_phy.c phy->max_cable_length = e1000_m88_cable_length_table[index + 1]; index 1704 drivers/net/ethernet/intel/igb/e1000_phy.c u16 phy_data, phy_data2, index, default_page, is_cm; index 1798 drivers/net/ethernet/intel/igb/e1000_phy.c index = (phy_data & M88E1000_PSSR_CABLE_LENGTH) >> index 1800 drivers/net/ethernet/intel/igb/e1000_phy.c if (index >= ARRAY_SIZE(e1000_m88_cable_length_table) - 1) { index 1805 drivers/net/ethernet/intel/igb/e1000_phy.c phy->min_cable_length = e1000_m88_cable_length_table[index]; index 1806 drivers/net/ethernet/intel/igb/e1000_phy.c phy->max_cable_length = e1000_m88_cable_length_table[index + 1]; index 776 drivers/net/ethernet/intel/igb/igb_main.c int index, int offset) index 778 drivers/net/ethernet/intel/igb/igb_main.c u32 ivar = array_rd32(E1000_IVAR0, index); index 786 drivers/net/ethernet/intel/igb/igb_main.c array_wr32(E1000_IVAR0, index, ivar); index 6501 drivers/net/ethernet/intel/igb/igb_main.c event.index = 0; index 6511 drivers/net/ethernet/intel/igb/igb_main.c event.index = 1; index 9083 drivers/net/ethernet/intel/igb/igb_main.c static void igb_rar_set_index(struct igb_adapter *adapter, u32 index) index 9087 drivers/net/ethernet/intel/igb/igb_main.c u8 *addr = adapter->mac_table[index].addr; index 9098 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[index].state & IGB_MAC_STATE_IN_USE) { index 9102 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[index].state & IGB_MAC_STATE_SRC_ADDR) index 9108 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[index].state & index 9113 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[index].queue; index 9117 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[index].queue; index 9122 drivers/net/ethernet/intel/igb/igb_main.c wr32(E1000_RAL(index), rar_low); index 9124 drivers/net/ethernet/intel/igb/igb_main.c wr32(E1000_RAH(index), rar_high); index 539 drivers/net/ethernet/intel/igb/igb_ptp.c rq->extts.index); index 543 drivers/net/ethernet/intel/igb/igb_ptp.c if (rq->extts.index == 1) { index 554 drivers/net/ethernet/intel/igb/igb_ptp.c igb_pin_extts(igb, rq->extts.index, pin); index 573 drivers/net/ethernet/intel/igb/igb_ptp.c rq->perout.index); index 588 drivers/net/ethernet/intel/igb/igb_ptp.c if (rq->perout.index == 1) { index 614 drivers/net/ethernet/intel/igb/igb_ptp.c if (rq->perout.index == 1) { index 622 drivers/net/ethernet/intel/igb/igb_ptp.c int i = rq->perout.index; index 1225 drivers/net/ethernet/intel/igb/igb_ptp.c ppd->index = i; index 925 drivers/net/ethernet/intel/igbvf/netdev.c u32 ivar, index; index 933 drivers/net/ethernet/intel/igbvf/netdev.c index = (rx_queue >> 1); index 934 drivers/net/ethernet/intel/igbvf/netdev.c ivar = array_er32(IVAR0, index); index 945 drivers/net/ethernet/intel/igbvf/netdev.c array_ew32(IVAR0, index, ivar); index 948 drivers/net/ethernet/intel/igbvf/netdev.c index = (tx_queue >> 1); index 949 drivers/net/ethernet/intel/igbvf/netdev.c ivar = array_er32(IVAR0, index); index 960 drivers/net/ethernet/intel/igbvf/netdev.c array_ew32(IVAR0, index, ivar); index 292 drivers/net/ethernet/intel/igbvf/vf.c static void e1000_rar_set_vf(struct e1000_hw *hw, u8 *addr, u32 index) index 33 drivers/net/ethernet/intel/igc/igc_hw.h void (*rar_set)(struct igc_hw *hw, u8 *address, u32 index); index 332 drivers/net/ethernet/intel/igc/igc_mac.c void igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index) index 353 drivers/net/ethernet/intel/igc/igc_mac.c wr32(IGC_RAL(index), rar_low); index 355 drivers/net/ethernet/intel/igc/igc_mac.c wr32(IGC_RAH(index), rar_high); index 25 drivers/net/ethernet/intel/igc/igc_mac.h void igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index); index 2360 drivers/net/ethernet/intel/igc/igc_main.c static void igc_rar_set_index(struct igc_adapter *adapter, u32 index) index 2362 drivers/net/ethernet/intel/igc/igc_main.c u8 *addr = adapter->mac_table[index].addr; index 2375 drivers/net/ethernet/intel/igc/igc_main.c if (adapter->mac_table[index].state & IGC_MAC_STATE_IN_USE) { index 2380 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table[index].queue; index 2383 drivers/net/ethernet/intel/igc/igc_main.c wr32(IGC_RAL(index), rar_low); index 2385 drivers/net/ethernet/intel/igc/igc_main.c wr32(IGC_RAH(index), rar_high); index 2578 drivers/net/ethernet/intel/igc/igc_main.c int index, int offset) index 2580 drivers/net/ethernet/intel/igc/igc_main.c u32 ivar = array_rd32(IGC_IVAR0, index); index 2588 drivers/net/ethernet/intel/igc/igc_main.c array_wr32(IGC_IVAR0, index, ivar); index 508 drivers/net/ethernet/intel/ixgb/ixgb_ee.c ixgb_get_eeprom_word(struct ixgb_hw *hw, u16 index) index 511 drivers/net/ethernet/intel/ixgb/ixgb_ee.c if (index < IXGB_EEPROM_SIZE && ixgb_check_and_get_eeprom_data(hw)) index 512 drivers/net/ethernet/intel/ixgb/ixgb_ee.c return hw->eeprom[index]; index 555 drivers/net/ethernet/intel/ixgb/ixgb_hw.c u32 index) index 573 drivers/net/ethernet/intel/ixgb/ixgb_hw.c IXGB_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low); index 574 drivers/net/ethernet/intel/ixgb/ixgb_hw.c IXGB_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high); index 743 drivers/net/ethernet/intel/ixgb/ixgb_hw.h void ixgb_rar_set(struct ixgb_hw *hw, u8 *addr, u32 index); index 757 drivers/net/ethernet/intel/ixgb/ixgb_hw.h __le16 ixgb_get_eeprom_word(struct ixgb_hw *hw, u16 index); index 2149 drivers/net/ethernet/intel/ixgb/ixgb_main.c u32 vfta, index; index 2153 drivers/net/ethernet/intel/ixgb/ixgb_main.c index = (vid >> 5) & 0x7F; index 2154 drivers/net/ethernet/intel/ixgb/ixgb_main.c vfta = IXGB_READ_REG_ARRAY(&adapter->hw, VFTA, index); index 2156 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_write_vfta(&adapter->hw, index, vfta); index 2166 drivers/net/ethernet/intel/ixgb/ixgb_main.c u32 vfta, index; index 2170 drivers/net/ethernet/intel/ixgb/ixgb_main.c index = (vid >> 5) & 0x7F; index 2171 drivers/net/ethernet/intel/ixgb/ixgb_main.c vfta = IXGB_READ_REG_ARRAY(&adapter->hw, VFTA, index); index 2173 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_write_vfta(&adapter->hw, index, vfta); index 803 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index) index 807 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (index > 3) index 811 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg &= ~IXGBE_LED_MODE_MASK(index); index 812 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg |= IXGBE_LED_ON << IXGBE_LED_MODE_SHIFT(index); index 824 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_led_off_generic(struct ixgbe_hw *hw, u32 index) index 828 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (index > 3) index 832 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg &= ~IXGBE_LED_MODE_MASK(index); index 833 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg |= IXGBE_LED_OFF << IXGBE_LED_MODE_SHIFT(index); index 1839 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, index 1846 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (index >= rar_entries) { index 1847 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c hw_dbg(hw, "RAR index %d is out of range.\n", index); index 1852 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c hw->mac.ops.set_vmdq(hw, index, vmdq); index 1867 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(index)); index 1878 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_RAL(index), rar_low); index 1880 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_RAH(index), rar_high); index 1892 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_clear_rar_generic(struct ixgbe_hw *hw, u32 index) index 1898 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (index >= rar_entries) { index 1899 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c hw_dbg(hw, "RAR index %d is out of range.\n", index); index 1908 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c rar_high = IXGBE_READ_REG(hw, IXGBE_RAH(index)); index 1915 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_RAH(index), rar_high); index 1917 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c IXGBE_WRITE_REG(hw, IXGBE_RAL(index), 0); index 1920 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c hw->mac.ops.clear_vmdq(hw, index, IXGBE_CLEAR_VMDQ_ALL); index 2750 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_blink_led_start_generic(struct ixgbe_hw *hw, u32 index) index 2759 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (index > 3) index 2785 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg &= ~IXGBE_LED_MODE_MASK(index); index 2786 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg |= IXGBE_LED_BLINK(index); index 2798 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c s32 ixgbe_blink_led_stop_generic(struct ixgbe_hw *hw, u32 index) index 2805 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (index > 3) index 2819 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg &= ~IXGBE_LED_MODE_MASK(index); index 2820 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg &= ~IXGBE_LED_BLINK(index); index 2821 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c led_reg |= IXGBE_LED_LINK_ACTIVE << IXGBE_LED_MODE_SHIFT(index); index 25 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index); index 26 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_led_off_generic(struct ixgbe_hw *hw, u32 index); index 48 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, index 50 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_clear_rar_generic(struct ixgbe_hw *hw, u32 index); index 83 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_blink_led_start_generic(struct ixgbe_hw *hw, u32 index); index 84 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h s32 ixgbe_blink_led_stop_generic(struct ixgbe_hw *hw, u32 index); index 859 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 ivar, index; index 866 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index = (((direction * 64) + queue) >> 2) & 0x1F; index 867 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ivar = IXGBE_READ_REG(hw, IXGBE_IVAR(index)); index 870 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c IXGBE_WRITE_REG(hw, IXGBE_IVAR(index), ivar); index 880 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index = ((queue & 1) * 8); index 882 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ivar &= ~(0xFF << index); index 883 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ivar |= (msix_vector << index); index 889 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index = ((16 * (queue & 1)) + (8 * direction)); index 891 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ivar &= ~(0xFF << index); index 892 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ivar |= (msix_vector << index); index 211 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c static s32 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) index 213 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c u32 mbvficr = IXGBE_READ_REG(hw, IXGBE_MBVFICR(index)); index 216 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c IXGBE_WRITE_REG(hw, IXGBE_MBVFICR(index), mask); index 232 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c s32 index = IXGBE_MBVFICR_INDEX(vf_number); index 236 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c index)) { index 253 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c s32 index = IXGBE_MBVFICR_INDEX(vf_number); index 257 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c index)) { index 637 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c int vf, int index, unsigned char *mac_addr) index 643 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (index <= 1) { index 660 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (!index) index 968 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c int index = (msgbuf[0] & IXGBE_VT_MSGINFO_MASK) >> index 973 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c index > 0) { index 981 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (index) { index 999 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c err = ixgbe_set_vf_macvlan(adapter, vf, index, new_mac); index 764 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) index 771 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c if (index > 3) index 786 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); index 787 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c ledctl_reg |= IXGBE_LED_BLINK(index); index 802 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) index 807 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c if (index > 3) index 812 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); index 813 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c ledctl_reg |= IXGBE_LED_LINK_ACTIVE << IXGBE_LED_MODE_SHIFT(index); index 814 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c ledctl_reg &= ~IXGBE_LED_BLINK(index); index 14 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index); index 15 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index); index 172 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u32 ivar, index; index 185 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c index = ((16 * (queue & 1)) + (8 * direction)); index 187 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ivar &= ~(0xFF << index); index 188 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ivar |= (msix_vector << index); index 1760 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c struct ixgbevf_ring *ring, int index) index 1774 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c IXGBE_WRITE_REG(hw, IXGBE_VFSRRCTL(index), srrctl); index 246 drivers/net/ethernet/intel/ixgbevf/vf.c static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) index 258 drivers/net/ethernet/intel/ixgbevf/vf.c msgbuf[0] |= index << IXGBE_VT_MSGINFO_SHIFT; index 277 drivers/net/ethernet/intel/ixgbevf/vf.c static s32 ixgbevf_hv_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) index 426 drivers/net/ethernet/intel/ixgbevf/vf.c static s32 ixgbevf_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, index 462 drivers/net/ethernet/intel/ixgbevf/vf.c static s32 ixgbevf_hv_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, index 325 drivers/net/ethernet/marvell/mv643xx_eth.c int index; index 340 drivers/net/ethernet/marvell/mv643xx_eth.c int index; index 442 drivers/net/ethernet/marvell/mv643xx_eth.c return container_of(rxq, struct mv643xx_eth_private, rxq[rxq->index]); index 447 drivers/net/ethernet/marvell/mv643xx_eth.c return container_of(txq, struct mv643xx_eth_private, txq[txq->index]); index 453 drivers/net/ethernet/marvell/mv643xx_eth.c wrlp(mp, RXQ_COMMAND, 1 << rxq->index); index 459 drivers/net/ethernet/marvell/mv643xx_eth.c u8 mask = 1 << rxq->index; index 473 drivers/net/ethernet/marvell/mv643xx_eth.c wrlp(mp, TXQ_CURRENT_DESC_PTR(txq->index), addr); index 479 drivers/net/ethernet/marvell/mv643xx_eth.c wrlp(mp, TXQ_COMMAND, 1 << txq->index); index 485 drivers/net/ethernet/marvell/mv643xx_eth.c u8 mask = 1 << txq->index; index 495 drivers/net/ethernet/marvell/mv643xx_eth.c struct netdev_queue *nq = netdev_get_tx_queue(mp->dev, txq->index); index 537 drivers/net/ethernet/marvell/mv643xx_eth.c mp->work_rx_refill |= 1 << rxq->index; index 592 drivers/net/ethernet/marvell/mv643xx_eth.c mp->work_rx &= ~(1 << rxq->index); index 647 drivers/net/ethernet/marvell/mv643xx_eth.c mp->work_rx_refill &= ~(1 << rxq->index); index 880 drivers/net/ethernet/marvell/mv643xx_eth.c mp->work_tx_end &= ~(1 << txq->index); index 985 drivers/net/ethernet/marvell/mv643xx_eth.c mp->work_tx_end &= ~(1 << txq->index); index 1038 drivers/net/ethernet/marvell/mv643xx_eth.c struct netdev_queue *nq = netdev_get_tx_queue(mp->dev, txq->index); index 1044 drivers/net/ethernet/marvell/mv643xx_eth.c if (rdlp(mp, TXQ_COMMAND) & (1 << txq->index)) index 1047 drivers/net/ethernet/marvell/mv643xx_eth.c hw_desc_ptr = rdlp(mp, TXQ_CURRENT_DESC_PTR(txq->index)); index 1057 drivers/net/ethernet/marvell/mv643xx_eth.c mp->work_tx_end &= ~(1 << txq->index); index 1063 drivers/net/ethernet/marvell/mv643xx_eth.c struct netdev_queue *nq = netdev_get_tx_queue(mp->dev, txq->index); index 1125 drivers/net/ethernet/marvell/mv643xx_eth.c mp->work_tx &= ~(1 << txq->index); index 1182 drivers/net/ethernet/marvell/mv643xx_eth.c wrlp(mp, TXQ_BW_TOKENS(txq->index), token_rate << 14); index 1183 drivers/net/ethernet/marvell/mv643xx_eth.c wrlp(mp, TXQ_BW_CONF(txq->index), (bucket_size << 10) | token_rate); index 1207 drivers/net/ethernet/marvell/mv643xx_eth.c val |= 1 << txq->index; index 1932 drivers/net/ethernet/marvell/mv643xx_eth.c static int rxq_init(struct mv643xx_eth_private *mp, int index) index 1934 drivers/net/ethernet/marvell/mv643xx_eth.c struct rx_queue *rxq = mp->rxq + index; index 1939 drivers/net/ethernet/marvell/mv643xx_eth.c rxq->index = index; index 1949 drivers/net/ethernet/marvell/mv643xx_eth.c if (index == 0 && size <= mp->rx_desc_sram_size) { index 1988 drivers/net/ethernet/marvell/mv643xx_eth.c if (index == 0 && size <= mp->rx_desc_sram_size) index 2018 drivers/net/ethernet/marvell/mv643xx_eth.c if (rxq->index == 0 && index 2028 drivers/net/ethernet/marvell/mv643xx_eth.c static int txq_init(struct mv643xx_eth_private *mp, int index) index 2030 drivers/net/ethernet/marvell/mv643xx_eth.c struct tx_queue *txq = mp->txq + index; index 2036 drivers/net/ethernet/marvell/mv643xx_eth.c txq->index = index; index 2053 drivers/net/ethernet/marvell/mv643xx_eth.c if (index == 0 && size <= mp->tx_desc_sram_size) { index 2108 drivers/net/ethernet/marvell/mv643xx_eth.c if (index == 0 && size <= mp->tx_desc_sram_size) index 2125 drivers/net/ethernet/marvell/mv643xx_eth.c if (txq->index == 0 && index 259 drivers/net/ethernet/marvell/mvneta.c #define MVNETA_QUEUE_NEXT_DESC(q, index) \ index 260 drivers/net/ethernet/marvell/mvneta.c (((index) < (q)->last_desc) ? ((index) + 1) : 0) index 1960 drivers/net/ethernet/marvell/mvneta.c u32 rx_status, index; index 1964 drivers/net/ethernet/marvell/mvneta.c index = rx_desc - rxq->descs; index 1965 drivers/net/ethernet/marvell/mvneta.c page = (struct page *)rxq->buf_virt_addr[index]; index 496 drivers/net/ethernet/marvell/mvpp2/mvpp2.h #define MVPP2_QUEUE_NEXT_DESC(q, index) \ index 497 drivers/net/ethernet/marvell/mvpp2/mvpp2.h (((index) < (q)->last_desc) ? ((index) + 1) : 0) index 325 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 mvpp2_cls_flow_hits(struct mvpp2 *priv, int index) index 327 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CTRS_IDX, index); index 332 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c void mvpp2_cls_flow_read(struct mvpp2 *priv, int index, index 335 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe->index = index; index 336 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CLS_FLOW_INDEX_REG, index); index 346 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CLS_FLOW_INDEX_REG, fe->index); index 352 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c u32 mvpp2_cls_lookup_hits(struct mvpp2 *priv, int index) index 354 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP2_CTRS_IDX, index); index 499 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP22_CLS_C2_TCAM_IDX, c2->index); index 523 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c void mvpp2_cls_c2_read(struct mvpp2 *priv, int index, index 527 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_write(priv, MVPP22_CLS_C2_TCAM_IDX, index); index 529 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c c2->index = index; index 586 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe.index = i; index 868 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c c2.index = MVPP22_CLS_C2_RSS_ENTRY(port->id); index 907 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int index; index 914 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c for (index = 0; index < MVPP2_CLS_FLOWS_TBL_SIZE; index++) { index 915 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c fe.index = index; index 921 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c for (index = 0; index < MVPP2_CLS_LKP_TBL_SIZE; index++) { index 922 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c le.lkpid = index; index 933 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c for (index = 0; index < MVPP22_CLS_C2_N_ENTRIES; index++) { index 934 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c c2.index = index; index 1083 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int index, ctx; index 1087 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c index = mvpp2_cls_c2_port_flow_index(port, rule->loc); index 1088 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (index < 0) index 1090 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c c2.index = index; index 1094 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c rule->c2_index = c2.index; index 1148 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c qh = ((act->queue.index + port->first_rxq) >> 3) & index 1150 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c ql = (act->queue.index + port->first_rxq) & index 1176 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int index, i; index 1183 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c index = MVPP2_CLS_FLT_C2_RFS(port->id, flow->flow_id, rule->loc); index 1185 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_read(port->priv, index, &fe); index 1202 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c int index, ret, i; index 1219 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c index = MVPP2_CLS_FLT_C2_RFS(port->id, flow->flow_id, rule->loc); index 1221 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_flow_read(priv, index, &fe); index 1316 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c if (act->queue.ctx && act->queue.index) index 115 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u32 index; index 252 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u32 index; index 290 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u32 mvpp2_cls_flow_hits(struct mvpp2 *priv, int index); index 292 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h void mvpp2_cls_flow_read(struct mvpp2 *priv, int index, index 295 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h u32 mvpp2_cls_lookup_hits(struct mvpp2 *priv, int index); index 302 drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.h void mvpp2_cls_c2_read(struct mvpp2 *priv, int index, index 305 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c int index, tid; index 325 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c for (index = 0; index < ETH_ALEN; index++) index 326 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c mvpp2_prs_tcam_data_byte_get(&pe, index, &da[index], index 327 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c &da_mask[index]); index 1413 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static u32 mvpp2_read_index(struct mvpp2 *priv, u32 index, u32 reg) index 1415 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_write(priv, MVPP2_CTRS_IDX, index); index 26 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (pe->index > MVPP2_PRS_TCAM_SRAM_SIZE - 1) index 33 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_TCAM_IDX_REG, pe->index); index 38 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_SRAM_IDX_REG, pe->index); index 55 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe->index = tid; index 58 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_TCAM_IDX_REG, pe->index); index 69 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_SRAM_IDX_REG, pe->index); index 77 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_hw_inv(struct mvpp2 *priv, int index) index 80 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_TCAM_IDX_REG, index); index 86 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_shadow_set(struct mvpp2 *priv, int index, int lu) index 88 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[index].valid = true; index 89 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[index].lu = lu; index 93 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static void mvpp2_prs_shadow_ri_set(struct mvpp2 *priv, int index, index 96 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[index].ri_mask = ri_mask; index 97 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[index].ri = ri; index 420 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_DROP_ALL; index 430 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_MAC); index 467 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 487 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_MAC); index 518 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 521 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_DSA); index 589 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 602 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_DSA); index 711 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 732 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VLAN); index 836 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 852 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VLAN); index 883 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 907 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 916 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 929 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 948 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 980 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 1004 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1021 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP6); index 1043 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1061 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP6); index 1103 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_FIRST_DEFAULT_FLOW - port; index 1113 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_FLOWS); index 1125 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_MH_DEFAULT; index 1135 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_MH); index 1149 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_MAC_NON_PROMISCUOUS; index 1161 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_MAC); index 1208 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_DSA_DEFAULT; index 1213 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_MAC); index 1232 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_VID_FLTR_DEFAULT; index 1250 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VID); index 1257 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_VID_EDSA_FLTR_DEFAULT; index 1276 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VID); index 1294 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1305 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_L2); index 1306 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; index 1307 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].finish = false; index 1308 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, MVPP2_PRS_RI_PPPOE_MASK, index 1320 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1335 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_L2); index 1336 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; index 1337 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].finish = true; index 1338 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, MVPP2_PRS_RI_L3_ARP, index 1350 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1367 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_L2); index 1368 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; index 1369 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].finish = true; index 1370 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, MVPP2_PRS_RI_CPU_CODE_RX_SPEC | index 1384 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1404 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_L2); index 1405 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; index 1406 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].finish = false; index 1407 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, MVPP2_PRS_RI_L3_IP4, index 1417 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1430 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_L2); index 1431 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; index 1432 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].finish = false; index 1433 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, MVPP2_PRS_RI_L3_IP4_OPT, index 1445 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1461 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_L2); index 1462 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; index 1463 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].finish = false; index 1464 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, MVPP2_PRS_RI_L3_IP6, index 1471 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_ETH_TYPE_UN; index 1487 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_L2); index 1488 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_L2_DEF; index 1489 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].finish = true; index 1490 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, MVPP2_PRS_RI_L3_UN, index 1542 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_VLAN_DBL; index 1557 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VLAN); index 1563 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_VLAN_NONE; index 1573 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VLAN); index 1593 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1609 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_PPPOE); index 1618 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1632 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_PPPOE); index 1643 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1659 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_PPPOE); index 1670 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1684 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_PPPOE); index 1728 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_IP4_PROTO_UN; index 1747 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 1753 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_IP4_ADDR_UN; index 1767 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 1821 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1836 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 1842 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_IP6_PROTO_UN; index 1860 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 1866 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_IP6_EXT_PROTO_UN; index 1880 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP4); index 1886 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = MVPP2_PE_IP6_ADDR_UN; index 1902 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_IP6); index 1974 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 1998 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VID); index 2061 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 2091 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_VID); index 2098 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int err, index, i; index 2104 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c for (index = 0; index < MVPP2_PRS_TCAM_SRAM_SIZE; index++) { index 2105 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_TCAM_IDX_REG, index); index 2109 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_SRAM_IDX_REG, index); index 2115 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c for (index = 0; index < MVPP2_PRS_TCAM_SRAM_SIZE; index++) index 2116 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_hw_inv(priv, index); index 2125 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c for (index = 0; index < MVPP2_MAX_PORTS; index++) index 2126 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_hw_port_init(priv, index, MVPP2_PRS_LU_MH, index 2167 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int index; index 2169 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c for (index = 0; index < ETH_ALEN; index++) { index 2170 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_tcam_data_byte_get(pe, index, &tcam_byte, &tcam_mask); index 2171 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (tcam_mask != mask[index]) index 2174 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if ((tcam_mask & tcam_byte) != (da[index] & mask[index])) index 2238 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 2257 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_hw_inv(priv, pe.index); index 2258 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].valid = false; index 2284 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_ri_set(priv, pe.index, ri, MVPP2_PRS_RI_L2_CAST_MASK | index 2292 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c priv->prs_shadow[pe.index].udf = MVPP2_PRS_UDF_MAC_DEF; index 2293 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_MAC); index 2325 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int index, tid; index 2345 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c for (index = 0; index < ETH_ALEN; index++) index 2346 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_tcam_data_byte_get(&pe, index, &da[index], index 2347 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c &da_mask[index]); index 2425 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 2438 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(priv, pe.index, MVPP2_PRS_LU_FLOWS); index 2465 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c pe.index = tid; index 2472 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_shadow_set(port->priv, pe.index, MVPP2_PRS_LU_FLOWS); index 2484 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c int mvpp2_prs_hits(struct mvpp2 *priv, int index) index 2488 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c if (index > MVPP2_PRS_TCAM_SRAM_SIZE) index 2491 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_write(priv, MVPP2_PRS_TCAM_HIT_IDX_REG, index); index 270 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h u32 index; index 331 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.h int mvpp2_prs_hits(struct mvpp2 *priv, int index); index 162 drivers/net/ethernet/marvell/octeontx2/af/cgx.c int index; index 164 drivers/net/ethernet/marvell/octeontx2/af/cgx.c for (index = ETH_ALEN - 1; index >= 0; index--) index 165 drivers/net/ethernet/marvell/octeontx2/af/cgx.c mac |= ((u64)*mac_addr++) << (8 * index); index 249 drivers/net/ethernet/marvell/octeontx2/af/npc.h u64 index :20; index 255 drivers/net/ethernet/marvell/octeontx2/af/npc.h u64 index :20; index 1635 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c aq_req.mce.index = 0; index 68 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int index; index 74 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = mcam->pf_offset + (pf * RSVD_MCAM_ENTRIES_PER_PF); index 79 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c return index; index 81 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c return index + 1; index 87 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c static int npc_get_bank(struct npc_mcam *mcam, int index) index 89 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int bank = index / mcam->banksize; index 99 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, int index) index 101 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int bank = npc_get_bank(mcam, index); index 104 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index &= (mcam->banksize - 1); index 105 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c cfg = rvu_read64(rvu, blkaddr, NPC_AF_MCAMEX_BANKX_CFG(index, bank)); index 110 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, int index, bool enable) index 112 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int bank = npc_get_bank(mcam, index); index 115 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index &= (mcam->banksize - 1); index 118 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_CFG(index, bank), index 203 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, int index, u8 intf, index 206 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int bank = npc_get_bank(mcam, index); index 211 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c actindex = index; index 212 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index &= (mcam->banksize - 1); index 223 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_CAMX_INTF(index, bank, 1), index 226 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_CAMX_INTF(index, bank, 0), index 232 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_CAMX_W0(index, bank, 1), cam1); index 234 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_CAMX_W0(index, bank, 0), cam0); index 238 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_CAMX_W1(index, bank, 1), cam1); index 240 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_CAMX_W1(index, bank, 0), cam0); index 245 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_ACTION(index, actbank), entry->action); index 248 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rvu_write64(rvu, blkaddr, NPC_AF_MCAMEX_BANKX_TAG_ACT(index, actbank), index 299 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, int index) index 301 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int bank = npc_get_bank(mcam, index); index 303 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index &= (mcam->banksize - 1); index 305 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_ACTION(index, bank)); index 315 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, index, kwi; index 326 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (index = ETH_ALEN - 1; index >= 0; index--) index 327 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c mac |= ((u64)*mac_addr++) << (8 * index); index 329 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 343 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (is_mcam_entry_enabled(rvu, mcam, blkaddr, index)) { index 345 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c blkaddr, index); index 353 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_config_mcam_entry(rvu, mcam, blkaddr, index, index 372 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, ucast_idx, index, kwi; index 384 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 413 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_config_mcam_entry(rvu, mcam, blkaddr, index, index 421 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, index; index 431 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 433 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_enable_mcam_entry(rvu, mcam, blkaddr, index, enable); index 455 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, index; index 468 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 502 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c action.index = pfvf->bcast_mce_idx; index 509 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_config_mcam_entry(rvu, mcam, blkaddr, index, index 518 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, index, bank; index 528 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 532 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = mcam_index; index 535 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index >= mcam->total_entries) index 538 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c bank = npc_get_bank(mcam, index); index 539 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index &= (mcam->banksize - 1); index 542 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_ACTION(index, bank)); index 549 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c action.index = group; index 553 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_ACTION(index, bank), *(u64 *)&action); index 555 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 561 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (is_mcam_entry_enabled(rvu, mcam, blkaddr, index)) { index 562 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c bank = npc_get_bank(mcam, index); index 563 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index &= (mcam->banksize - 1); index 566 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_ACTION(index, bank), index 578 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int index, bank, blkaddr; index 585 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 587 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_enable_mcam_entry(rvu, mcam, blkaddr, index, enable); index 598 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, index 600 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c bank = npc_get_bank(mcam, index); index 602 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_ACTION(index & (mcam->banksize - 1), bank)); index 605 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c blkaddr, index, enable); index 1236 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index = entry & (mcam->banksize - 1); index 1244 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_STAT_ACT(index, bank), index 1252 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index = entry & (mcam->banksize - 1); index 1260 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c NPC_AF_MCAMEX_BANKX_STAT_ACT(index, bank), 0x00); index 1267 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c static void npc_mcam_set_bit(struct npc_mcam *mcam, u16 index) index 1271 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c entry = index; index 1272 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rentry = mcam->bmap_entries - index - 1; index 1283 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c static void npc_mcam_clear_bit(struct npc_mcam *mcam, u16 index) index 1287 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c entry = index; index 1288 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rentry = mcam->bmap_entries - index - 1; index 1298 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index, cntr; index 1301 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (index = 0; index < mcam->bmap_entries; index++) { index 1302 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (mcam->entry2pfvf_map[index] == pcifunc) { index 1303 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c mcam->entry2pfvf_map[index] = NPC_MCAM_INVALID_MAP; index 1305 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_mcam_clear_bit(mcam, index); index 1307 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_enable_mcam_entry(rvu, mcam, blkaddr, index, false); index 1310 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c cntr = mcam->entry2cntr_map[index]; index 1313 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c blkaddr, index, index 1346 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index, next, end; index 1351 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = find_next_zero_bit(map, size, start); index 1352 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index >= size) index 1355 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c end = ((index + nr) >= size) ? size : index + nr; index 1356 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c next = find_next_bit(map, end, index); index 1357 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (*max_area < (next - index)) { index 1358 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c *max_area = next - index; index 1359 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c max_area_start = index; index 1375 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index, next; index 1382 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = find_next_zero_bit(map, end, start); index 1383 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index >= end) index 1386 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c next = find_next_bit(map, end, index); index 1388 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c fcnt += next - index; index 1393 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c fcnt += end - index; index 1463 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 start, end, index; index 1535 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = start; index 1537 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c end = index; index 1546 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_mcam_find_zero_area(bmap, end, start, index 1550 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->entry = mcam->bmap_entries - index - max_contig; index 1552 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->entry = index; index 1560 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = find_next_zero_bit(bmap, end, next_start); index 1561 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index >= end) index 1564 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c next_start = start + (index - start) + 1; index 1568 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = mcam->bmap_entries - index - 1; index 1569 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c entry_list[entry] = index; index 1609 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = 0; index 1612 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->entry_list[index++] = entry_list[entry]; index 1620 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = req->contig ? index 1622 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c npc_mcam_set_bit(mcam, index); index 1623 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c mcam->entry2pfvf_map[index] = pcifunc; index 1624 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c mcam->entry2cntr_map[index] = NPC_MCAM_INVALID_MAP; index 1814 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index, cntr; index 1825 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (index = 0; index < req->shift_count; index++) { index 1826 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c old_entry = req->curr_entry[index]; index 1827 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c new_entry = req->new_entry[index]; index 1867 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index != req->shift_count) { index 1869 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->failed_entry_idx = index; index 1883 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, index; index 1913 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_mcam_find_zero_area(mcam->counters.bmap, index 1917 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->cntr = index; index 1918 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c for (cntr = index; cntr < (index + max_contig); cntr++) { index 1927 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = rvu_alloc_rsrc(&mcam->counters); index 1928 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index < 0) index 1930 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c rsp->cntr_list[cntr] = index; index 1932 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c mcam->cntr2pfvf_map[index] = pcifunc; index 1944 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index, entry = 0; index 1967 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = find_next_bit(mcam->bmap, mcam->bmap_entries, entry); index 1968 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index >= mcam->bmap_entries) index 1970 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (mcam->entry2cntr_map[index] != req->cntr) index 1973 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c entry = index + 1; index 1975 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index, req->cntr); index 1986 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c u16 index, entry = 0; index 2013 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = find_next_bit(mcam->bmap, mcam->bmap_entries, entry); index 2014 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (index >= mcam->bmap_entries) index 2016 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (mcam->entry2cntr_map[index] != req->cntr) index 2019 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c entry = index + 1; index 2021 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index, req->cntr); index 2194 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c int blkaddr, index; index 2204 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c index = npc_get_nixlf_mcam_index(mcam, pcifunc, nixlf, index 2206 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c pfvf->entry.action = npc_get_mcam_action(rvu, mcam, blkaddr, index); index 2207 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c enable = is_mcam_entry_enabled(rvu, mcam, blkaddr, index); index 832 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h uint64_t index : 20; index 840 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h uint64_t index : 20; index 707 drivers/net/ethernet/mellanox/mlx4/alloc.c db->index = i; index 708 drivers/net/ethernet/mellanox/mlx4/alloc.c db->db = pgdir->db_page + db->index; index 709 drivers/net/ethernet/mellanox/mlx4/alloc.c db->dma = pgdir->db_dma + db->index * 4; index 754 drivers/net/ethernet/mellanox/mlx4/alloc.c i = db->index; index 839 drivers/net/ethernet/mellanox/mlx4/cmd.c static int query_pkey_block(struct mlx4_dev *dev, u8 port, u16 index, u16 *pkey, index 848 drivers/net/ethernet/mellanox/mlx4/cmd.c if (index & 0x1f) index 851 drivers/net/ethernet/mellanox/mlx4/cmd.c in_mad->attr_mod = cpu_to_be32(index / 32); index 898 drivers/net/ethernet/mellanox/mlx4/cmd.c u32 index; index 924 drivers/net/ethernet/mellanox/mlx4/cmd.c index = be32_to_cpu(smp->attr_mod); index 937 drivers/net/ethernet/mellanox/mlx4/cmd.c for (vidx = index * 32; vidx < (index + 1) * 32; ++vidx) { index 382 drivers/net/ethernet/mellanox/mlx4/cq.c mlx4_to_hw_uar_index(dev, uar->index)); index 367 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c int index = 0; index 379 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = ((unsigned long *)&dev->stats)[i]; index 383 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = ((unsigned long *)&priv->port_stats)[i]; index 387 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = index 393 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = index 398 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = ((u64 *)&priv->rx_flowstats)[i]; index 403 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = index 408 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = ((u64 *)&priv->tx_flowstats)[i]; index 412 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = ((unsigned long *)&priv->pkstats)[i]; index 416 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = ((unsigned long *)&priv->xdp_stats)[i]; index 420 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = ((unsigned long *)&priv->phy_stats)[i]; index 423 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->tx_ring[TX][i]->packets; index 424 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->tx_ring[TX][i]->bytes; index 427 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->rx_ring[i]->packets; index 428 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->rx_ring[i]->bytes; index 429 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->rx_ring[i]->dropped; index 430 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->rx_ring[i]->xdp_drop; index 431 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->rx_ring[i]->xdp_tx; index 432 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->rx_ring[i]->xdp_tx_full; index 448 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c int index = 0; index 468 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strcpy(data + (index++) * ETH_GSTRING_LEN, index 474 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strcpy(data + (index++) * ETH_GSTRING_LEN, index 480 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strcpy(data + (index++) * ETH_GSTRING_LEN, index 486 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strcpy(data + (index++) * ETH_GSTRING_LEN, index 492 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strcpy(data + (index++) * ETH_GSTRING_LEN, index 498 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strcpy(data + (index++) * ETH_GSTRING_LEN, index 504 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c strcpy(data + (index++) * ETH_GSTRING_LEN, index 508 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 510 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 514 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 516 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 518 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 520 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 522 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 524 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c sprintf(data + (index++) * ETH_GSTRING_LEN, index 640 drivers/net/ethernet/mellanox/mlx4/en_netdev.c int index = 0; index 647 drivers/net/ethernet/mellanox/mlx4/en_netdev.c index = mlx4_register_mac(dev, priv->port, mac); index 648 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (index < 0) { index 649 drivers/net/ethernet/mellanox/mlx4/en_netdev.c err = index; index 659 drivers/net/ethernet/mellanox/mlx4/en_netdev.c *qpn = base_qpn + index; index 50 drivers/net/ethernet/mellanox/mlx4/en_port.c int index = 0; index 62 drivers/net/ethernet/mellanox/mlx4/en_port.c if (test_bit(index++, priv->active_vlans)) index 62 drivers/net/ethernet/mellanox/mlx4/en_resources.c mdev->priv_uar.index)); index 109 drivers/net/ethernet/mellanox/mlx4/en_rx.c struct mlx4_en_rx_ring *ring, int index) index 111 drivers/net/ethernet/mellanox/mlx4/en_rx.c struct mlx4_en_rx_desc *rx_desc = ring->buf + ring->stride * index; index 134 drivers/net/ethernet/mellanox/mlx4/en_rx.c struct mlx4_en_rx_ring *ring, int index, index 138 drivers/net/ethernet/mellanox/mlx4/en_rx.c (index << ring->log_stride); index 140 drivers/net/ethernet/mellanox/mlx4/en_rx.c (index << priv->log_rx_info); index 141 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (likely(ring->page_cache.index > 0)) { index 144 drivers/net/ethernet/mellanox/mlx4/en_rx.c ring->page_cache.index--; index 145 drivers/net/ethernet/mellanox/mlx4/en_rx.c frags->page = ring->page_cache.buf[ring->page_cache.index].page; index 146 drivers/net/ethernet/mellanox/mlx4/en_rx.c frags->dma = ring->page_cache.buf[ring->page_cache.index].dma; index 170 drivers/net/ethernet/mellanox/mlx4/en_rx.c int index) index 175 drivers/net/ethernet/mellanox/mlx4/en_rx.c frags = ring->rx_info + (index << priv->log_rx_info); index 229 drivers/net/ethernet/mellanox/mlx4/en_rx.c int index; index 235 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (index = 0; index < ring->size; index++) { index 236 drivers/net/ethernet/mellanox/mlx4/en_rx.c en_dbg(DRV, priv, "Processing descriptor:%d\n", index); index 237 drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_free_rx_desc(priv, ring, index); index 420 drivers/net/ethernet/mellanox/mlx4/en_rx.c if (cache->index >= MLX4_EN_CACHE_SIZE) index 423 drivers/net/ethernet/mellanox/mlx4/en_rx.c cache->buf[cache->index].page = frame->page; index 424 drivers/net/ethernet/mellanox/mlx4/en_rx.c cache->buf[cache->index].dma = frame->dma; index 425 drivers/net/ethernet/mellanox/mlx4/en_rx.c cache->index++; index 455 drivers/net/ethernet/mellanox/mlx4/en_rx.c for (i = 0; i < ring->page_cache.index; i++) { index 460 drivers/net/ethernet/mellanox/mlx4/en_rx.c ring->page_cache.index = 0; index 675 drivers/net/ethernet/mellanox/mlx4/en_rx.c int index; index 691 drivers/net/ethernet/mellanox/mlx4/en_rx.c index = cq->mcq.cons_index & ring->size_mask; index 692 drivers/net/ethernet/mellanox/mlx4/en_rx.c cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; index 705 drivers/net/ethernet/mellanox/mlx4/en_rx.c frags = ring->rx_info + (index << priv->log_rx_info); index 898 drivers/net/ethernet/mellanox/mlx4/en_rx.c index = (cq->mcq.cons_index) & ring->size_mask; index 899 drivers/net/ethernet/mellanox/mlx4/en_rx.c cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; index 206 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->bf.uar->index)); index 232 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct mlx4_en_tx_ring *ring, int index, index 236 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); index 237 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; index 267 drivers/net/ethernet/mellanox/mlx4/en_tx.c int index, u64 timestamp, index 272 drivers/net/ethernet/mellanox/mlx4/en_tx.c int index, u64 timestamp, index 275 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; index 276 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct mlx4_en_tx_desc *tx_desc = ring->buf + (index << LOG_TXBB_SIZE); index 339 drivers/net/ethernet/mellanox/mlx4/en_tx.c int index, u64 timestamp, index 344 drivers/net/ethernet/mellanox/mlx4/en_tx.c int index, u64 timestamp, index 347 drivers/net/ethernet/mellanox/mlx4/en_tx.c struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; index 402 drivers/net/ethernet/mellanox/mlx4/en_tx.c u16 index, ring_index, stamp_index; index 422 drivers/net/ethernet/mellanox/mlx4/en_tx.c index = cons_index & size_mask; index 423 drivers/net/ethernet/mellanox/mlx4/en_tx.c cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; index 478 drivers/net/ethernet/mellanox/mlx4/en_tx.c index = cons_index & size_mask; index 479 drivers/net/ethernet/mellanox/mlx4/en_tx.c cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; index 541 drivers/net/ethernet/mellanox/mlx4/en_tx.c u32 index, index 544 drivers/net/ethernet/mellanox/mlx4/en_tx.c u32 copy = (ring->size - index) << LOG_TXBB_SIZE; index 559 drivers/net/ethernet/mellanox/mlx4/en_tx.c *((u32 *)(ring->buf + (index << LOG_TXBB_SIZE) + i)) = index 564 drivers/net/ethernet/mellanox/mlx4/en_tx.c return ring->buf + (index << LOG_TXBB_SIZE); index 849 drivers/net/ethernet/mellanox/mlx4/en_tx.c u32 index, bf_index; index 906 drivers/net/ethernet/mellanox/mlx4/en_tx.c index = ring->prod & ring->size_mask; index 911 drivers/net/ethernet/mellanox/mlx4/en_tx.c if (likely(index + nr_txbb <= ring->size)) index 912 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc = ring->buf + (index << LOG_TXBB_SIZE); index 920 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_info = &ring->tx_info[index]; index 1042 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc = mlx4_en_bounce_to_desc(priv, ring, index, desc_size); index 1132 drivers/net/ethernet/mellanox/mlx4/en_tx.c int index; index 1142 drivers/net/ethernet/mellanox/mlx4/en_tx.c index = ring->prod & ring->size_mask; index 1143 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_info = &ring->tx_info[index]; index 1149 drivers/net/ethernet/mellanox/mlx4/en_tx.c tx_desc = ring->buf + (index << LOG_TXBB_SIZE); index 937 drivers/net/ethernet/mellanox/mlx4/eq.c int index; index 939 drivers/net/ethernet/mellanox/mlx4/eq.c index = eq->eqn / 4 - dev->caps.reserved_eqs / 4; index 941 drivers/net/ethernet/mellanox/mlx4/eq.c if (!priv->eq_table.uar_map[index]) { index 942 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.uar_map[index] = index 947 drivers/net/ethernet/mellanox/mlx4/eq.c if (!priv->eq_table.uar_map[index]) { index 954 drivers/net/ethernet/mellanox/mlx4/eq.c return priv->eq_table.uar_map[index] + 0x800 + 8 * (eq->eqn % 4); index 82 drivers/net/ethernet/mellanox/mlx4/mcg.c static int mlx4_READ_ENTRY(struct mlx4_dev *dev, int index, index 85 drivers/net/ethernet/mellanox/mlx4/mcg.c return mlx4_cmd_box(dev, 0, mailbox->dma, index, 0, MLX4_CMD_READ_MCG, index 89 drivers/net/ethernet/mellanox/mlx4/mcg.c static int mlx4_WRITE_ENTRY(struct mlx4_dev *dev, int index, index 92 drivers/net/ethernet/mellanox/mlx4/mcg.c return mlx4_cmd(dev, mailbox->dma, index, 0, MLX4_CMD_WRITE_MCG, index 149 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 qpn) index 170 drivers/net/ethernet/mellanox/mlx4/mcg.c new_entry->index = index; index 201 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_READ_ENTRY(dev, index, mailbox); index 222 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_WRITE_ENTRY(dev, index, mailbox); index 241 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 qpn) index 258 drivers/net/ethernet/mellanox/mlx4/mcg.c if (tmp_entry->index == index) { index 264 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_warn(dev, "Steering entry at index %x is not registered\n", index); index 290 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 qpn) index 308 drivers/net/ethernet/mellanox/mlx4/mcg.c if (tmp_entry->index == index) { index 314 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_warn(dev, "Steering entry for index %x is not registered\n", index); index 331 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 tqpn, index 348 drivers/net/ethernet/mellanox/mlx4/mcg.c if (mlx4_READ_ENTRY(dev, index, mailbox)) index 370 drivers/net/ethernet/mellanox/mlx4/mcg.c unsigned int index, u32 tqpn) index 382 drivers/net/ethernet/mellanox/mlx4/mcg.c if (!promisc_steering_entry(dev, port, steer, index, index 390 drivers/net/ethernet/mellanox/mlx4/mcg.c if (entry->index == index) { index 468 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_READ_ENTRY(dev, entry->index, mailbox); index 506 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_WRITE_ENTRY(dev, entry->index, index 620 drivers/net/ethernet/mellanox/mlx4/mcg.c entry->index, index 629 drivers/net/ethernet/mellanox/mlx4/mcg.c qpn, entry->index); index 644 drivers/net/ethernet/mellanox/mlx4/mcg.c qpn, entry->index); index 659 drivers/net/ethernet/mellanox/mlx4/mcg.c entry->index, index 697 drivers/net/ethernet/mellanox/mlx4/mcg.c int *prev, int *index) index 722 drivers/net/ethernet/mellanox/mlx4/mcg.c *index = hash; index 726 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_READ_ENTRY(dev, *index, mgm_mailbox); index 731 drivers/net/ethernet/mellanox/mlx4/mcg.c if (*index != hash) { index 742 drivers/net/ethernet/mellanox/mlx4/mcg.c *prev = *index; index 743 drivers/net/ethernet/mellanox/mlx4/mcg.c *index = be32_to_cpu(mgm->next_gid_index) >> 6; index 744 drivers/net/ethernet/mellanox/mlx4/mcg.c } while (*index); index 746 drivers/net/ethernet/mellanox/mlx4/mcg.c *index = -1; index 1112 drivers/net/ethernet/mellanox/mlx4/mcg.c int index = -1, prev; index 1126 drivers/net/ethernet/mellanox/mlx4/mcg.c mailbox, &prev, &index); index 1130 drivers/net/ethernet/mellanox/mlx4/mcg.c if (index != -1) { index 1138 drivers/net/ethernet/mellanox/mlx4/mcg.c index = mlx4_bitmap_alloc(&priv->mcg_table.bitmap); index 1139 drivers/net/ethernet/mellanox/mlx4/mcg.c if (index == -1) { index 1144 drivers/net/ethernet/mellanox/mlx4/mcg.c index += dev->caps.num_mgms; index 1153 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_err(dev, "MGM at index %x is full\n", index); index 1173 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_WRITE_ENTRY(dev, index, mailbox); index 1184 drivers/net/ethernet/mellanox/mlx4/mcg.c mgm->next_gid_index = cpu_to_be32(index << 6); index 1191 drivers/net/ethernet/mellanox/mlx4/mcg.c if (prot == MLX4_PROT_ETH && index != -1) { index 1195 drivers/net/ethernet/mellanox/mlx4/mcg.c index, qp->qpn); index 1198 drivers/net/ethernet/mellanox/mlx4/mcg.c index, qp->qpn); index 1200 drivers/net/ethernet/mellanox/mlx4/mcg.c if (err && link && index != -1) { index 1201 drivers/net/ethernet/mellanox/mlx4/mcg.c if (index < dev->caps.num_mgms) index 1203 drivers/net/ethernet/mellanox/mlx4/mcg.c index, dev->caps.num_mgms); index 1206 drivers/net/ethernet/mellanox/mlx4/mcg.c index - dev->caps.num_mgms, MLX4_USE_RR); index 1221 drivers/net/ethernet/mellanox/mlx4/mcg.c int prev, index; index 1235 drivers/net/ethernet/mellanox/mlx4/mcg.c mailbox, &prev, &index); index 1239 drivers/net/ethernet/mellanox/mlx4/mcg.c if (index == -1) { index 1249 drivers/net/ethernet/mellanox/mlx4/mcg.c check_duplicate_entry(dev, port, steer, index, qp->qpn) && index 1250 drivers/net/ethernet/mellanox/mlx4/mcg.c !promisc_steering_entry(dev, port, steer, index, qp->qpn, NULL)) index 1273 drivers/net/ethernet/mellanox/mlx4/mcg.c index, qp->qpn); index 1275 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_WRITE_ENTRY(dev, index, mailbox); index 1292 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_WRITE_ENTRY(dev, index, mailbox); index 1299 drivers/net/ethernet/mellanox/mlx4/mcg.c index, amgm_index, dev->caps.num_mgms); index 1317 drivers/net/ethernet/mellanox/mlx4/mcg.c if (index < dev->caps.num_mgms) index 1319 drivers/net/ethernet/mellanox/mlx4/mcg.c prev, index, dev->caps.num_mgms); index 1322 drivers/net/ethernet/mellanox/mlx4/mcg.c index - dev->caps.num_mgms, MLX4_USE_RR); index 472 drivers/net/ethernet/mellanox/mlx4/mlx4.h unsigned int index; index 980 drivers/net/ethernet/mellanox/mlx4/mlx4.h void __mlx4_mpt_release(struct mlx4_dev *dev, u32 index); index 981 drivers/net/ethernet/mellanox/mlx4/mlx4.h int __mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index); index 982 drivers/net/ethernet/mellanox/mlx4/mlx4.h void __mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index); index 1251 drivers/net/ethernet/mellanox/mlx4/mlx4.h int __mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index); index 267 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h u32 index; index 286 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int index, index 744 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int index, u64 timestamp, index 748 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int index, u64 timestamp, index 460 drivers/net/ethernet/mellanox/mlx4/mr.c void __mlx4_mpt_release(struct mlx4_dev *dev, u32 index) index 464 drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_bitmap_free(&priv->mr_table.mpt_bitmap, index, MLX4_NO_RR); index 467 drivers/net/ethernet/mellanox/mlx4/mr.c static void mlx4_mpt_release(struct mlx4_dev *dev, u32 index) index 472 drivers/net/ethernet/mellanox/mlx4/mr.c set_param_l(&in_param, index); index 477 drivers/net/ethernet/mellanox/mlx4/mr.c index); index 480 drivers/net/ethernet/mellanox/mlx4/mr.c __mlx4_mpt_release(dev, index); index 483 drivers/net/ethernet/mellanox/mlx4/mr.c int __mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index) index 487 drivers/net/ethernet/mellanox/mlx4/mr.c return mlx4_table_get(dev, &mr_table->dmpt_table, index); index 490 drivers/net/ethernet/mellanox/mlx4/mr.c static int mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index) index 495 drivers/net/ethernet/mellanox/mlx4/mr.c set_param_l(¶m, index); index 501 drivers/net/ethernet/mellanox/mlx4/mr.c return __mlx4_mpt_alloc_icm(dev, index); index 504 drivers/net/ethernet/mellanox/mlx4/mr.c void __mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index) index 508 drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_table_put(dev, &mr_table->dmpt_table, index); index 511 drivers/net/ethernet/mellanox/mlx4/mr.c static void mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index) index 516 drivers/net/ethernet/mellanox/mlx4/mr.c set_param_l(&in_param, index); index 521 drivers/net/ethernet/mellanox/mlx4/mr.c index); index 524 drivers/net/ethernet/mellanox/mlx4/mr.c return __mlx4_mpt_free_icm(dev, index); index 530 drivers/net/ethernet/mellanox/mlx4/mr.c u32 index; index 533 drivers/net/ethernet/mellanox/mlx4/mr.c index = mlx4_mpt_reserve(dev); index 534 drivers/net/ethernet/mellanox/mlx4/mr.c if (index == -1) index 537 drivers/net/ethernet/mellanox/mlx4/mr.c err = mlx4_mr_alloc_reserved(dev, index, pd, iova, size, index 540 drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_mpt_release(dev, index); index 817 drivers/net/ethernet/mellanox/mlx4/mr.c u32 index; index 825 drivers/net/ethernet/mellanox/mlx4/mr.c index = mlx4_mpt_reserve(dev); index 826 drivers/net/ethernet/mellanox/mlx4/mr.c if (index == -1) index 829 drivers/net/ethernet/mellanox/mlx4/mr.c mw->key = hw_index_to_key(index); index 149 drivers/net/ethernet/mellanox/mlx4/pd.c uar->index = mlx4_bitmap_alloc(&mlx4_priv(dev)->uar_table.bitmap); index 150 drivers/net/ethernet/mellanox/mlx4/pd.c if (uar->index == -1) index 154 drivers/net/ethernet/mellanox/mlx4/pd.c offset = uar->index % ((int)pci_resource_len(dev->persist->pdev, index 158 drivers/net/ethernet/mellanox/mlx4/pd.c offset = uar->index; index 168 drivers/net/ethernet/mellanox/mlx4/pd.c mlx4_bitmap_free(&mlx4_priv(dev)->uar_table.bitmap, uar->index, MLX4_USE_RR); index 209 drivers/net/ethernet/mellanox/mlx4/pd.c uar->index << PAGE_SHIFT, index 101 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *table, int index) index 105 drivers/net/ethernet/mellanox/mlx4/port.c if (index < 0 || index >= table->max || !table->entries[index]) { index 383 drivers/net/ethernet/mellanox/mlx4/port.c int index; index 407 drivers/net/ethernet/mellanox/mlx4/port.c index = find_index(dev, table, mac); index 409 drivers/net/ethernet/mellanox/mlx4/port.c if (validate_index(dev, table, index)) index 412 drivers/net/ethernet/mellanox/mlx4/port.c if (--table->refs[index] || table->is_dup[index]) { index 414 drivers/net/ethernet/mellanox/mlx4/port.c index); index 415 drivers/net/ethernet/mellanox/mlx4/port.c if (!table->refs[index]) index 416 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->is_dup[index] = false; index 420 drivers/net/ethernet/mellanox/mlx4/port.c table->entries[index] = 0; index 426 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->is_dup[index] = false; index 427 drivers/net/ethernet/mellanox/mlx4/port.c if (dup_table->refs[index]) index 429 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->entries[index] = 0; index 478 drivers/net/ethernet/mellanox/mlx4/port.c int index = qpn - info->base_qpn; index 497 drivers/net/ethernet/mellanox/mlx4/port.c err = validate_index(dev, table, index); index 501 drivers/net/ethernet/mellanox/mlx4/port.c table->entries[index] = cpu_to_be64(new_mac | MLX4_MAC_VALID); index 507 drivers/net/ethernet/mellanox/mlx4/port.c table->entries[index] = 0; index 510 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->entries[index] = cpu_to_be64(new_mac | MLX4_MAC_VALID); index 516 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->entries[index] = 0; index 578 drivers/net/ethernet/mellanox/mlx4/port.c int *index) index 665 drivers/net/ethernet/mellanox/mlx4/port.c *index = i; index 724 drivers/net/ethernet/mellanox/mlx4/port.c *index = free; index 740 drivers/net/ethernet/mellanox/mlx4/port.c int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index) index 754 drivers/net/ethernet/mellanox/mlx4/port.c *index = get_param_l(&out_param); index 758 drivers/net/ethernet/mellanox/mlx4/port.c return __mlx4_register_vlan(dev, port, vlan, index); index 765 drivers/net/ethernet/mellanox/mlx4/port.c int index; index 782 drivers/net/ethernet/mellanox/mlx4/port.c if (mlx4_find_cached_vlan(dev, port, vlan, &index)) { index 787 drivers/net/ethernet/mellanox/mlx4/port.c if (index < MLX4_VLAN_REGULAR) { index 788 drivers/net/ethernet/mellanox/mlx4/port.c mlx4_warn(dev, "Trying to free special vlan index %d\n", index); index 792 drivers/net/ethernet/mellanox/mlx4/port.c if (--table->refs[index] || table->is_dup[index]) { index 794 drivers/net/ethernet/mellanox/mlx4/port.c table->refs[index], index); index 795 drivers/net/ethernet/mellanox/mlx4/port.c if (!table->refs[index]) index 796 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->is_dup[index] = false; index 799 drivers/net/ethernet/mellanox/mlx4/port.c table->entries[index] = 0; index 804 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->is_dup[index] = false; index 805 drivers/net/ethernet/mellanox/mlx4/port.c if (dup_table->refs[index]) index 807 drivers/net/ethernet/mellanox/mlx4/port.c dup_table->entries[index] = 0; index 1569 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mr_res_start_move_to(struct mlx4_dev *dev, int slave, int index, index 1578 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c r = res_tracker_lookup(&tracker->res_tree[RES_MPT], index); index 1622 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, index 1631 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c r = res_tracker_lookup(&tracker->res_tree[RES_EQ], index); index 1711 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int srq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, index 1720 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c r = res_tracker_lookup(&tracker->res_tree[RES_SRQ], index); index 1890 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index; index 1900 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index = __mlx4_mpt_reserve(dev); index 1901 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (index == -1) { index 1905 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c id = index & mpt_mask(dev); index 1907 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = add_res_range(dev, slave, id, 1, RES_MPT, index); index 1910 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_mpt_release(dev, index); index 1913 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c set_param_l(out_param, index); index 1916 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index = get_param_l(&in_param); index 1917 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c id = index & mpt_mask(dev); index 2245 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u32 index; index 2255 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = __mlx4_counter_alloc(dev, &index); index 2261 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = add_res_range(dev, slave, index, 1, RES_COUNTER, port); index 2263 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_counter_free(dev, index); index 2266 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c set_param_l(out_param, index); index 2423 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index; index 2429 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index = get_param_l(&in_param); index 2430 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c id = index & mpt_mask(dev); index 2434 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index = mpt->key; index 2441 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_mpt_release(dev, index); index 2444 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index = get_param_l(&in_param); index 2445 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c id = index & mpt_mask(dev); index 2569 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index; index 2575 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index = get_param_l(&in_param); index 2576 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (index == MLX4_SINK_COUNTER_INDEX(dev)) index 2579 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = rem_res_range(dev, slave, index, 1, RES_COUNTER, 0); index 2583 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c __mlx4_counter_free(dev, index); index 2761 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier; index 2770 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c id = index & mpt_mask(dev); index 2844 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier; index 2848 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c id = index & mpt_mask(dev); index 2876 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier; index 2880 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c id = index & mpt_mask(dev); index 4570 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int index = vhcr->in_modifier & 0xffff; index 4572 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = get_res(dev, slave, index, RES_COUNTER, NULL); index 4577 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c put_res(dev, slave, index, RES_COUNTER); index 223 drivers/net/ethernet/mellanox/mlx5/core/alloc.c db->index = i; index 224 drivers/net/ethernet/mellanox/mlx5/core/alloc.c offset = db->index * cache_line_size(); index 275 drivers/net/ethernet/mellanox/mlx5/core/alloc.c __set_bit(db->index, db->u.pgdir->bitmap); index 203 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c int index, int *is_str) index 227 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c switch (index) { index 298 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c int index) index 317 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c switch (index) { index 335 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c int index) index 354 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c switch (index) { index 187 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __field(u32, index) index 205 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->index = fte->index; index 244 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->fte, __entry->fg, __entry->index, index 262 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __field(u32, index) index 266 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->index = fte->index; index 270 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->fte, __entry->index) index 280 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __field(u32, index) index 287 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->index = __entry->fte->dests_size - 1; index 298 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h __entry->rule, __entry->fte, __entry->index, index 894 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c u32 index, start_index, end_index; index 912 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c index = start_index; index 913 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c while (index != end_index) { index 914 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c err = mlx5_devlink_fmsg_fill_trace(fmsg, &straces[index]); index 918 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c index = (index + 1) & (SAVED_TRACES_NUM - 1); index 1235 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(wq, wq, uar_page, mdev->mlx5e_res.bfreg.index); index 1629 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(cqc, cqc, uar_page, mdev->priv.uar->index); index 1794 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static int mlx5e_set_tx_maxrate(struct net_device *dev, int index, u32 rate) index 1798 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_txqsq *sq = priv->txq2sq[index]; index 1819 drivers/net/ethernet/mellanox/mlx5/core/en_main.c priv->tx_rates[index] = rate; index 2233 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(cqc, cqc, uar_page, priv->mdev->priv.uar->index); index 109 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c int index; index 1415 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow = container_of(efi, struct mlx5e_tc_flow, encaps[efi->index]); index 1420 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow->tmp_efi_index = efi->index; index 1512 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c encaps[efi->index]); index 3075 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow->encaps[out_index].index = out_index; index 292 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_SET(eqc, eqc, uar_page, priv->uar->index); index 507 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int index) index 509 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h if (index == mlx5_eswitch_ecpf_idx(esw) && index 513 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h if (index == mlx5_eswitch_uplink_idx(esw)) index 516 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h return index; index 475 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c MLX5_SET(cqc, cqc, uar_page, fdev->conn_res.uar->index); index 582 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c MLX5_SET(qpc, qpc, uar_page, fdev->conn_res.uar->index); index 1014 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c fdev->conn_res.uar->index); index 434 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(set_fte_in, in, flow_index, fte->index); index 607 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c MLX5_SET(delete_fte_in, in, flow_index, fte->index); index 472 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c __func__, fg->id, fte->index); index 529 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c fte->index, fg->id); index 548 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ida_simple_remove(&fg->fte_allocator, fte->index - fg->start_index); index 593 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c int index; index 596 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c index = ida_simple_get(&fg->fte_allocator, 0, fg->max_ftes, GFP_KERNEL); index 597 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if (index < 0) index 598 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c return index; index 600 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c fte->index = index + fg->start_index; index 612 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ida_simple_remove(&fg->fte_allocator, index); index 200 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h u32 index; index 153 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c static void update_counter_cache(int index, u32 *bulk_raw_data, index 157 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c flow_statistics[index]); index 252 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c if (rq->extts.index >= clock->ptp_info.n_pins) index 256 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); index 265 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c pin = rq->extts.index; index 310 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c if (rq->perout.index >= clock->ptp_info.n_pins) index 315 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c rq->perout.index); index 344 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c pin = rq->perout.index; index 432 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c clock->ptp_info.pin_config[i].index = i; index 479 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c ptp_event.index = pin; index 97 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c int index = 0; index 99 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c index = ida_simple_get(&dev->roce.reserved_gids.ida, index 102 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c if (index < 0) index 103 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c return index; index 105 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c mlx5_core_dbg(dev, "Allocating reserved GID %u\n", index); index 106 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c *gid_index = index; index 122 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c int mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index, index 154 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c MLX5_SET(set_roce_address_in, in, roce_address_index, index); index 41 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c static int set_l2table_entry_cmd(struct mlx5_core_dev *dev, u32 index, u8 *mac) index 48 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c MLX5_SET(set_l2_table_entry_in, in, table_index, index); index 56 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c static int del_l2table_entry_cmd(struct mlx5_core_dev *dev, u32 index) index 62 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c MLX5_SET(delete_l2_table_entry_in, in, table_index, index); index 69 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c u32 index; /* index in HW l2 table */ index 139 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c u32 index; index 152 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c err = alloc_l2table_index(mpfs, &index); index 162 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c err = set_l2table_entry_cmd(dev, index, mac); index 166 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c l2addr->index = index; index 169 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c mlx5_core_dbg(dev, "MPFS mac added %pM, index (%d)\n", mac, index); index 175 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c free_l2table_index(mpfs, index); index 186 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c u32 index; index 202 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c index = l2addr->index; index 203 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c del_l2table_entry_cmd(dev, index); index 205 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c free_l2table_index(mpfs, index); index 206 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c mlx5_core_dbg(dev, "MPFS mac deleted %pM, index (%d)\n", mac, index); index 129 drivers/net/ethernet/mellanox/mlx5/core/rl.c u16 index, index 137 drivers/net/ethernet/mellanox/mlx5/core/rl.c MLX5_SET(set_pp_rate_limit_in, in, rate_limit_index, index); index 161 drivers/net/ethernet/mellanox/mlx5/core/rl.c int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u16 *index, index 189 drivers/net/ethernet/mellanox/mlx5/core/rl.c err = mlx5_set_pp_rate_limit_cmd(dev, entry->index, rl); index 199 drivers/net/ethernet/mellanox/mlx5/core/rl.c *index = entry->index; index 228 drivers/net/ethernet/mellanox/mlx5/core/rl.c mlx5_set_pp_rate_limit_cmd(dev, entry->index, &reset_rl); index 262 drivers/net/ethernet/mellanox/mlx5/core/rl.c table->rl_entry[i].index = i + 1; index 282 drivers/net/ethernet/mellanox/mlx5/core/rl.c mlx5_set_pp_rate_limit_cmd(dev, table->rl_entry[i].index, index 727 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c attr.decap_index = action->rewrite.index; index 733 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c attr.modify_index = action->rewrite.index; index 1107 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c action->rewrite.index = (action->rewrite.chunk->icm_addr - index 1459 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c action->rewrite.index = (chunk->icm_addr - index 448 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c u16 index, struct mlx5dr_cmd_gid_attr *attr) index 457 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c MLX5_SET(query_roce_address_in, in, roce_address_index, index); index 785 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c int index; index 791 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c index = mlx5dr_ste_calc_hash_index(hw_ste, cur_htbl); index 792 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c miss_list = &cur_htbl->chunk->miss_list[index]; index 793 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c ste = &cur_htbl->ste_arr[index]; index 845 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c index); index 165 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(qpc, qpc, uar_page, attr->uar->index); index 750 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(cqc, cqc, uar_page, uar->index); index 114 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u32 crc32, index; index 132 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c index = crc32 & (htbl->chunk->num_of_entries - 1); index 134 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return index; index 269 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u64 index = index 273 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return index << 6; index 278 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u64 index = (icm_addr >> 5) | ht_size; index 280 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c MLX5_SET(ste_general, hw_ste, next_table_base_39_32_size, index >> 27); index 281 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c MLX5_SET(ste_general, hw_ste, next_table_base_31_5_size, index); index 286 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u32 index = ste - ste->htbl->ste_arr; index 288 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return ste->htbl->chunk->icm_addr + DR_STE_SIZE * index; index 293 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u32 index = ste - ste->htbl->ste_arr; index 295 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return ste->htbl->chunk->mr_addr + DR_STE_SIZE * index; index 300 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u32 index = ste - ste->htbl->ste_arr; index 302 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c return &ste->htbl->miss_list[index]; index 528 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c u64 index = miss_addr >> 6; index 531 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c MLX5_SET(ste_rx_steering_mult, hw_ste_p, miss_address_39_32, index >> 26); index 532 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c MLX5_SET(ste_rx_steering_mult, hw_ste_p, miss_address_31_6, index); index 723 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u32 index; index 942 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h u16 index, struct mlx5dr_cmd_gid_attr *attr); index 73 drivers/net/ethernet/mellanox/mlx5/core/uar.c static u64 uar2pfn(struct mlx5_core_dev *mdev, u32 index) index 78 drivers/net/ethernet/mellanox/mlx5/core/uar.c system_page_index = index >> (PAGE_SHIFT - MLX5_ADAPTER_PAGE_SHIFT); index 80 drivers/net/ethernet/mellanox/mlx5/core/uar.c system_page_index = index; index 91 drivers/net/ethernet/mellanox/mlx5/core/uar.c if (mlx5_cmd_free_uar(up->mdev, up->index)) index 92 drivers/net/ethernet/mellanox/mlx5/core/uar.c mlx5_core_warn(up->mdev, "failed to free uar index %d\n", up->index); index 131 drivers/net/ethernet/mellanox/mlx5/core/uar.c err = mlx5_cmd_alloc_uar(mdev, &up->index); index 137 drivers/net/ethernet/mellanox/mlx5/core/uar.c pfn = uar2pfn(mdev, up->index); index 153 drivers/net/ethernet/mellanox/mlx5/core/uar.c up->index, up->bfregs); index 157 drivers/net/ethernet/mellanox/mlx5/core/uar.c if (mlx5_cmd_free_uar(mdev, up->index)) index 158 drivers/net/ethernet/mellanox/mlx5/core/uar.c mlx5_core_warn(mdev, "failed to free uar index %d\n", up->index); index 253 drivers/net/ethernet/mellanox/mlx5/core/uar.c bfreg->index = up->index + dbi / MLX5_BFREGS_PER_UAR; index 106 drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c sprintf(comp_name, "%u", comp->index); index 108 drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c err = mlxfw_dev->ops->component_query(mlxfw_dev, comp->index, index 117 drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c comp->index, comp->data_size, comp_max_size); index 128 drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c comp->index, index 160 drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c comp->index); index 200 drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c pr_info("Flashing component type %d\n", comp->index); index 556 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c comp_data->comp.index = be16_to_cpu(comp->identifier); index 11 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.h u16 index; index 57 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c enum mlxfw_mfa2_tlv_type type, u16 index) index 69 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c if (skip++ == index) index 26 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h enum mlxfw_mfa2_tlv_type type, u16 index); index 511 drivers/net/ethernet/mellanox/mlxsw/cmd.h char *out_mbox, int index) index 514 drivers/net/ethernet/mellanox/mlxsw/cmd.h 0, index, false, out_mbox, index 1826 drivers/net/ethernet/mellanox/mlxsw/core.c int index = mlxsw_core_lag_mapping_index(mlxsw_core, index 1829 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core->lag.mapping[index] = local_port; index 1836 drivers/net/ethernet/mellanox/mlxsw/core.c int index = mlxsw_core_lag_mapping_index(mlxsw_core, index 1839 drivers/net/ethernet/mellanox/mlxsw/core.c return mlxsw_core->lag.mapping[index]; index 1849 drivers/net/ethernet/mellanox/mlxsw/core.c int index = mlxsw_core_lag_mapping_index(mlxsw_core, index 1852 drivers/net/ethernet/mellanox/mlxsw/core.c if (mlxsw_core->lag.mapping[index] == local_port) index 1853 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core->lag.mapping[index] = 0; index 2124 drivers/net/ethernet/mellanox/mlxsw/core.c int index, i; index 2134 drivers/net/ethernet/mellanox/mlxsw/core.c for (index = 0; index < MLXSW_CMD_QUERY_RESOURCES_MAX_QUERIES; index 2135 drivers/net/ethernet/mellanox/mlxsw/core.c index++) { index 2136 drivers/net/ethernet/mellanox/mlxsw/core.c err = mlxsw_cmd_query_resources(mlxsw_core, mbox, index); index 26 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c static int mlxsw_hwmon_get_attr_index(int index, int count) index 28 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c if (index >= count) index 29 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c return index % count + MLXSW_REG_MTMP_GBOX_INDEX_MIN; index 31 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c return index; index 55 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int temp, index; index 58 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index = mlxsw_hwmon_get_attr_index(mlwsw_hwmon_attr->type_index, index 60 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_reg_mtmp_pack(mtmp_pl, index, false, false); index 78 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int temp_max, index; index 81 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index = mlxsw_hwmon_get_attr_index(mlwsw_hwmon_attr->type_index, index 83 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_reg_mtmp_pack(mtmp_pl, index, false, false); index 102 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int index; index 111 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index = mlxsw_hwmon_get_attr_index(mlwsw_hwmon_attr->type_index, index 113 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_reg_mtmp_pack(mtmp_pl, index, true, true); index 338 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int index = mlwsw_hwmon_attr->type_index - index 341 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c return sprintf(buf, "gearbox %03u\n", index); index 533 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int i, index; index 545 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index = mlxsw_hwmon->sensor_count; index 559 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c MLXSW_HWMON_ATTR_TYPE_TEMP_MODULE, index, index 560 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index); index 563 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index, index); index 566 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index, index); index 569 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index, index); index 572 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index, index); index 573 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index++; index 575 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c mlxsw_hwmon->module_sensor_count = index; index 582 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c int index, max_index, sensor_index; index 597 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index = mlxsw_hwmon->module_sensor_count; index 599 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c while (index < max_index) { index 600 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c sensor_index = index % mlxsw_hwmon->module_sensor_count + index 611 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index, index); index 613 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c MLXSW_HWMON_ATTR_TYPE_TEMP_MAX, index, index 614 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index); index 616 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c MLXSW_HWMON_ATTR_TYPE_TEMP_RST, index, index 617 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index); index 620 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index, index); index 621 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index++; index 630 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c u16 index; index 634 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c index = MLXSW_REG_MTMP_GBOX_INDEX_MIN + tz->module; index 635 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_reg_mtmp_pack(mtmp_pl, index, false, false); index 26 drivers/net/ethernet/mellanox/mlxsw/item.h __mlxsw_item_offset(const struct mlxsw_item *item, unsigned short index, index 29 drivers/net/ethernet/mellanox/mlxsw/item.h BUG_ON(index && !item->step); index 39 drivers/net/ethernet/mellanox/mlxsw/item.h return ((item->offset + item->step * index + item->in_step_offset) / index 45 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index) index 47 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u8)); index 60 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index, u8 val) index 62 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, index 79 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index) index 81 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u16)); index 94 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index, u16 val) index 96 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, index 113 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index) index 115 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u32)); index 128 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index, u32 val) index 130 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, index 147 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index) index 149 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); index 162 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index, u64 val) index 164 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); index 180 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index) index 182 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); index 189 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index) index 191 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); index 197 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index) index 199 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); index 206 drivers/net/ethernet/mellanox/mlxsw/item.h u16 index, u8 *shift) index 212 drivers/net/ethernet/mellanox/mlxsw/item.h BUG_ON(index && !item->element_size); index 221 drivers/net/ethernet/mellanox/mlxsw/item.h be_index = max_index - index; index 223 drivers/net/ethernet/mellanox/mlxsw/item.h in_byte_index = index % (BITS_PER_BYTE / item->element_size); index 231 drivers/net/ethernet/mellanox/mlxsw/item.h u16 index) index 234 drivers/net/ethernet/mellanox/mlxsw/item.h u16 offset = __mlxsw_item_bit_array_offset(item, index, &shift); index 244 drivers/net/ethernet/mellanox/mlxsw/item.h u16 index, u8 val) index 247 drivers/net/ethernet/mellanox/mlxsw/item.h u16 offset = __mlxsw_item_bit_array_offset(item, index, &shift); index 294 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf, unsigned short index)\ index 297 drivers/net/ethernet/mellanox/mlxsw/item.h index); \ index 300 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \ index 304 drivers/net/ethernet/mellanox/mlxsw/item.h index, val); \ index 335 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf, unsigned short index)\ index 338 drivers/net/ethernet/mellanox/mlxsw/item.h index); \ index 341 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \ index 345 drivers/net/ethernet/mellanox/mlxsw/item.h index, val); \ index 376 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf, unsigned short index)\ index 379 drivers/net/ethernet/mellanox/mlxsw/item.h index); \ index 382 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \ index 386 drivers/net/ethernet/mellanox/mlxsw/item.h index, val); \ index 417 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf, unsigned short index)\ index 420 drivers/net/ethernet/mellanox/mlxsw/item.h index); \ index 423 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \ index 427 drivers/net/ethernet/mellanox/mlxsw/item.h index, val); \ index 465 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index, \ index 469 drivers/net/ethernet/mellanox/mlxsw/item.h &__ITEM_NAME(_type, _cname, _iname), index); \ index 473 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned short index, \ index 477 drivers/net/ethernet/mellanox/mlxsw/item.h &__ITEM_NAME(_type, _cname, _iname), index); \ index 480 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_data(char *buf, unsigned short index) \ index 483 drivers/net/ethernet/mellanox/mlxsw/item.h &__ITEM_NAME(_type, _cname, _iname), index); \ index 495 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf, u16 index) \ index 499 drivers/net/ethernet/mellanox/mlxsw/item.h index); \ index 502 drivers/net/ethernet/mellanox/mlxsw/item.h mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u16 index, u8 val) \ index 506 drivers/net/ethernet/mellanox/mlxsw/item.h index, val); \ index 151 drivers/net/ethernet/mellanox/mlxsw/pci.c int index = q->producer_counter & (q->count - 1); index 155 drivers/net/ethernet/mellanox/mlxsw/pci.c return mlxsw_pci_queue_elem_info_get(q, index); index 161 drivers/net/ethernet/mellanox/mlxsw/pci.c int index = q->consumer_counter & (q->count - 1); index 163 drivers/net/ethernet/mellanox/mlxsw/pci.c return mlxsw_pci_queue_elem_info_get(q, index); index 317 drivers/net/ethernet/mellanox/mlxsw/pci.c int index, char *frag_data, size_t frag_len, index 328 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_wqe_address_set(wqe, index, mapaddr); index 329 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_wqe_byte_count_set(wqe, index, frag_len); index 334 drivers/net/ethernet/mellanox/mlxsw/pci.c int index, int direction) index 337 drivers/net/ethernet/mellanox/mlxsw/pci.c size_t frag_len = mlxsw_pci_wqe_byte_count_get(wqe, index); index 338 drivers/net/ethernet/mellanox/mlxsw/pci.c dma_addr_t mapaddr = mlxsw_pci_wqe_address_get(wqe, index); index 1035 drivers/net/ethernet/mellanox/mlxsw/pci.c char *mbox, int index, index 1042 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, index, swid->type); index 1047 drivers/net/ethernet/mellanox/mlxsw/pci.c mbox, index, swid->properties); index 1050 drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_cmd_mbox_config_profile_swid_config_mask_set(mbox, index, mask); index 1127 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sftr, index, 0x00, 0, 16); index 1155 drivers/net/ethernet/mellanox/mlxsw/reg.h unsigned int index, index 1162 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sftr_index_set(payload, index); index 1933 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 index = MLXSW_REG_CWTP_PROFILE_TO_INDEX(profile); index 1935 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_profile_min_set(payload, index, min); index 1936 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_profile_max_set(payload, index, max); index 1937 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_profile_percent_set(payload, index, probability); index 2222 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pagt_acl_id_pack(char *payload, int index, index 2227 drivers/net/ethernet/mellanox/mlxsw/reg.h if (index >= size) index 2228 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pagt_size_set(payload, index + 1); index 2229 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pagt_multi_set(payload, index, multi); index 2230 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pagt_acl_id_set(payload, index, acl_id); index 2332 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ptar_key_id_pack(char *payload, int index, index 2335 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptar_flexible_key_id_set(payload, index, key_id); index 2463 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pefa, index, 0x00, 0, 24); index 2491 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pefa_pack(char *payload, u32 index, bool ca, index 2495 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pefa_index_set(payload, index); index 3606 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_qeec_hr hr, u8 index, index 3612 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qeec_element_index_set(payload, index); index 6027 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ritr_counter_pack(char *payload, u32 index, index 6039 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ritr_egress_counter_index_set(payload, index); index 6041 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ritr_ingress_counter_index_set(payload, index); index 6424 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_rdpm_pack(char *payload, unsigned short index, index 6427 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rdpm_dscp_entry_e_set(payload, index, 1); index 6428 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rdpm_dscp_entry_prio_set(payload, index, prio); index 6544 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ricnt_pack(char *payload, u32 index, index 6549 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ricnt_counter_index_set(payload, index); index 7652 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_rigr2_erif_entry_pack(char *payload, int index, index 7655 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rigr2_erif_entry_v_set(payload, index, v); index 7656 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rigr2_erif_entry_erif_set(payload, index, erif); index 908 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static void mlxsw_sp_pg_buf_pack(char *pbmc_pl, int index, u16 size, u16 thres, index 912 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pbmc_lossy_buffer_pack(pbmc_pl, index, size); index 914 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pbmc_lossless_buffer_pack(pbmc_pl, index, size, index 3460 drivers/net/ethernet/mellanox/mlxsw/spectrum.c enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, index 3466 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, index 3475 drivers/net/ethernet/mellanox/mlxsw/spectrum.c enum mlxsw_reg_qeec_hr hr, u8 index, index 3481 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, index 3489 drivers/net/ethernet/mellanox/mlxsw/spectrum.c enum mlxsw_reg_qeec_hr hr, u8 index, index 3495 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, index 466 drivers/net/ethernet/mellanox/mlxsw/spectrum.h enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, index 474 drivers/net/ethernet/mellanox/mlxsw/spectrum.h enum mlxsw_reg_qeec_hr hr, u8 index, index 37 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, true, parman_item->index, index 47 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, true, parman_item->index, index 69 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, false, parman_item->index, index 73 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, false, parman_item->index, index 62 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c centry->parman_item.index, priority); index 95 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c centry->parman_item.index, 0); index 112 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c centry->parman_item.index, priority); index 42 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u8 index; index 130 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c return erp->index % erp->erp_table->erp_core->num_erp_banks; index 324 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c unsigned long index) index 331 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c base_index = index + MLXSW_SP_ACL_ERP_GENALLOC_OFFSET; index 349 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u8 index; index 351 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c index = find_first_zero_bit(erp_table->erp_index_bitmap, index 353 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (index < erp_table->num_max_atcam_erps) { index 354 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c __set_bit(index, erp_table->erp_index_bitmap); index 355 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c *p_index = index; index 363 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c u8 index) index 365 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c __clear_bit(index, erp_table->erp_index_bitmap); index 377 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c *p_erpt_bank = erp->index % erp_core->num_erp_banks; index 378 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c row = erp->index / erp_core->num_erp_banks; index 394 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 0, erp_table->base_index, erp->index, index 398 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, true); index 414 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c 0, erp_table->base_index, erp->index, empty_mask); index 417 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_perpt_erp_vector_set(perpt_pl, erp->index, false); index 591 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c master_rp->index = 0; index 592 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c __set_bit(master_rp->index, erp_table->erp_index_bitmap); index 617 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c __clear_bit(master_rp->index, erp_table->erp_index_bitmap); index 637 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c __clear_bit(master_rp->index, erp_table->erp_index_bitmap); index 656 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_erpt_vector_set(pererp_pl, erp->index, true); index 673 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_erpt_vector_set(pererp_pl, erp->index, false); index 862 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_index_get(erp_table, &erp->index); index 881 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); index 896 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); index 925 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_erp_index_get(erp_table, &erp->index); index 944 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); index 961 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_index_put(erp_table, erp->index); index 142 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h return centry->parman_item.index; index 175 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c entry->index = mlxsw_sp_rif_index(rif); index 582 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c entry->index = neigh_count; index 1114 drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c entry->index = entry_index; index 800 drivers/net/ethernet/micrel/ks8851_mll.c u32 index, position, value; index 806 drivers/net/ethernet/micrel/ks8851_mll.c index = position >> 3; index 808 drivers/net/ethernet/micrel/ks8851_mll.c ks->mcast_bits[index] |= (u8)value; index 1833 drivers/net/ethernet/micrel/ksz884x.c int index; index 1835 drivers/net/ethernet/micrel/ksz884x.c index = KS_MIB_PACKET_DROPPED_RX_0 + port; index 1839 drivers/net/ethernet/micrel/ksz884x.c ctrl_addr = (u16) index; index 1859 drivers/net/ethernet/micrel/ksz884x.c index -= KS_MIB_PACKET_DROPPED_TX - index 1861 drivers/net/ethernet/micrel/ksz884x.c } while (index >= KS_MIB_PACKET_DROPPED_TX_0 + port); index 4073 drivers/net/ethernet/micrel/ksz884x.c static void hw_ena_add_addr(struct ksz_hw *hw, int index, u8 *mac_addr) index 4090 drivers/net/ethernet/micrel/ksz884x.c index *= ADD_ADDR_INCR; index 4092 drivers/net/ethernet/micrel/ksz884x.c writel(mac_addr_lo, hw->io + index + KS_ADD_ADDR_0_LO); index 4093 drivers/net/ethernet/micrel/ksz884x.c writel(mac_addr_hi, hw->io + index + KS_ADD_ADDR_0_HI); index 4172 drivers/net/ethernet/micrel/ksz884x.c int index; index 4180 drivers/net/ethernet/micrel/ksz884x.c index = position >> 3; index 4182 drivers/net/ethernet/micrel/ksz884x.c hw->multi_bits[index] |= (u8) value; index 417 drivers/net/ethernet/microchip/lan743x_main.c int index; index 419 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < LAN743X_MAX_VECTOR_COUNT; index++) { index 420 drivers/net/ethernet/microchip/lan743x_main.c if (adapter->intr.vector_list[index].int_mask & int_mask) index 421 drivers/net/ethernet/microchip/lan743x_main.c return adapter->intr.vector_list[index].flags; index 429 drivers/net/ethernet/microchip/lan743x_main.c int index = 0; index 434 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < LAN743X_MAX_VECTOR_COUNT; index++) { index 435 drivers/net/ethernet/microchip/lan743x_main.c if (intr->flags & INTR_FLAG_IRQ_REQUESTED(index)) { index 436 drivers/net/ethernet/microchip/lan743x_main.c lan743x_intr_unregister_isr(adapter, index); index 437 drivers/net/ethernet/microchip/lan743x_main.c intr->flags &= ~INTR_FLAG_IRQ_REQUESTED(index); index 460 drivers/net/ethernet/microchip/lan743x_main.c int index = 0; index 468 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < LAN743X_MAX_VECTOR_COUNT; index++) index 469 drivers/net/ethernet/microchip/lan743x_main.c msix_entries[index].entry = index; index 479 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < intr->number_of_vectors; index++) index 480 drivers/net/ethernet/microchip/lan743x_main.c intr->vector_list[index].irq = msix_entries index 481 drivers/net/ethernet/microchip/lan743x_main.c [index].vector; index 594 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < number_of_tx_vectors; index++) { index 595 drivers/net/ethernet/microchip/lan743x_main.c u32 int_bit = INT_BIT_DMA_TX_(index); index 596 drivers/net/ethernet/microchip/lan743x_main.c int vector = index + 1; index 599 drivers/net/ethernet/microchip/lan743x_main.c int_vec_map1 |= INT_VEC_MAP1_TX_VEC_(index, vector); index 606 drivers/net/ethernet/microchip/lan743x_main.c &adapter->tx[index]); index 638 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < number_of_rx_vectors; index++) { index 639 drivers/net/ethernet/microchip/lan743x_main.c int vector = index + 1 + LAN743X_USED_TX_CHANNELS; index 640 drivers/net/ethernet/microchip/lan743x_main.c u32 int_bit = INT_BIT_DMA_RX_(index); index 643 drivers/net/ethernet/microchip/lan743x_main.c int_vec_map0 |= INT_VEC_MAP0_RX_VEC_(index, vector); index 656 drivers/net/ethernet/microchip/lan743x_main.c &adapter->rx[index]); index 703 drivers/net/ethernet/microchip/lan743x_main.c static u32 lan743x_mac_mii_access(u16 id, u16 index, int read) index 709 drivers/net/ethernet/microchip/lan743x_main.c ret |= (index << MAC_MII_ACC_MIIRINDA_SHIFT_) & index 729 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_mdiobus_read(struct mii_bus *bus, int phy_id, int index) index 741 drivers/net/ethernet/microchip/lan743x_main.c mii_access = lan743x_mac_mii_access(phy_id, index, MAC_MII_READ); index 752 drivers/net/ethernet/microchip/lan743x_main.c int phy_id, int index, u16 regval) index 766 drivers/net/ethernet/microchip/lan743x_main.c mii_access = lan743x_mac_mii_access(phy_id, index, MAC_MII_WRITE); index 1275 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_tx_next_index(struct lan743x_tx *tx, int index) index 1277 drivers/net/ethernet/microchip/lan743x_main.c return ((++index) % tx->ring_size); index 1892 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_rx_next_index(struct lan743x_rx *rx, int index) index 1894 drivers/net/ethernet/microchip/lan743x_main.c return ((++index) % rx->ring_size); index 1906 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_rx_init_ring_element(struct lan743x_rx *rx, int index, index 1914 drivers/net/ethernet/microchip/lan743x_main.c descriptor = &rx->ring_cpu_ptr[index]; index 1915 drivers/net/ethernet/microchip/lan743x_main.c buffer_info = &rx->buffer_info[index]; index 1940 drivers/net/ethernet/microchip/lan743x_main.c static void lan743x_rx_reuse_ring_element(struct lan743x_rx *rx, int index) index 1945 drivers/net/ethernet/microchip/lan743x_main.c descriptor = &rx->ring_cpu_ptr[index]; index 1946 drivers/net/ethernet/microchip/lan743x_main.c buffer_info = &rx->buffer_info[index]; index 1956 drivers/net/ethernet/microchip/lan743x_main.c static void lan743x_rx_release_ring_element(struct lan743x_rx *rx, int index) index 1961 drivers/net/ethernet/microchip/lan743x_main.c descriptor = &rx->ring_cpu_ptr[index]; index 1962 drivers/net/ethernet/microchip/lan743x_main.c buffer_info = &rx->buffer_info[index]; index 2012 drivers/net/ethernet/microchip/lan743x_main.c int index; index 2014 drivers/net/ethernet/microchip/lan743x_main.c index = lan743x_rx_next_index(rx, first_index); index 2015 drivers/net/ethernet/microchip/lan743x_main.c while (index != current_head_index) { index 2016 drivers/net/ethernet/microchip/lan743x_main.c descriptor = &rx->ring_cpu_ptr[index]; index 2021 drivers/net/ethernet/microchip/lan743x_main.c last_index = index; index 2024 drivers/net/ethernet/microchip/lan743x_main.c index = lan743x_rx_next_index(rx, index); index 2031 drivers/net/ethernet/microchip/lan743x_main.c int index = lan743x_rx_next_index(rx, index 2033 drivers/net/ethernet/microchip/lan743x_main.c if (index != current_head_index) { index 2034 drivers/net/ethernet/microchip/lan743x_main.c descriptor = &rx->ring_cpu_ptr[index]; index 2041 drivers/net/ethernet/microchip/lan743x_main.c extension_index = index; index 2097 drivers/net/ethernet/microchip/lan743x_main.c int index = first_index; index 2106 drivers/net/ethernet/microchip/lan743x_main.c while ((index >= first_index) && index 2107 drivers/net/ethernet/microchip/lan743x_main.c (index <= last_index)) { index 2109 drivers/net/ethernet/microchip/lan743x_main.c index); index 2110 drivers/net/ethernet/microchip/lan743x_main.c index = lan743x_rx_next_index(rx, index 2111 drivers/net/ethernet/microchip/lan743x_main.c index); index 2114 drivers/net/ethernet/microchip/lan743x_main.c while ((index >= first_index) || index 2115 drivers/net/ethernet/microchip/lan743x_main.c (index <= last_index)) { index 2117 drivers/net/ethernet/microchip/lan743x_main.c index); index 2118 drivers/net/ethernet/microchip/lan743x_main.c index = lan743x_rx_next_index(rx, index 2119 drivers/net/ethernet/microchip/lan743x_main.c index); index 2213 drivers/net/ethernet/microchip/lan743x_main.c int index; index 2215 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < rx->ring_size; index++) index 2216 drivers/net/ethernet/microchip/lan743x_main.c lan743x_rx_release_ring_element(rx, index); index 2251 drivers/net/ethernet/microchip/lan743x_main.c int index = 0; index 2299 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < rx->ring_size; index++) { index 2302 drivers/net/ethernet/microchip/lan743x_main.c ret = lan743x_rx_init_ring_element(rx, index, new_skb); index 2463 drivers/net/ethernet/microchip/lan743x_main.c int index; index 2467 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < LAN743X_USED_RX_CHANNELS; index++) index 2468 drivers/net/ethernet/microchip/lan743x_main.c lan743x_rx_close(&adapter->rx[index]); index 2484 drivers/net/ethernet/microchip/lan743x_main.c int index; index 2505 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < LAN743X_USED_RX_CHANNELS; index++) { index 2506 drivers/net/ethernet/microchip/lan743x_main.c ret = lan743x_rx_open(&adapter->rx[index]); index 2518 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < LAN743X_USED_RX_CHANNELS; index++) { index 2519 drivers/net/ethernet/microchip/lan743x_main.c if (adapter->rx[index].ring_cpu_ptr) index 2520 drivers/net/ethernet/microchip/lan743x_main.c lan743x_rx_close(&adapter->rx[index]); index 2672 drivers/net/ethernet/microchip/lan743x_main.c int index; index 2701 drivers/net/ethernet/microchip/lan743x_main.c for (index = 0; index < LAN743X_USED_RX_CHANNELS; index++) { index 2702 drivers/net/ethernet/microchip/lan743x_main.c adapter->rx[index].adapter = adapter; index 2703 drivers/net/ethernet/microchip/lan743x_main.c adapter->rx[index].channel_number = index; index 157 drivers/net/ethernet/microchip/lan743x_main.h #define MAC_WUF_CFG(index) (MAC_WUF_CFG_BEGIN + (4 * (index))) index 172 drivers/net/ethernet/microchip/lan743x_main.h #define MAC_WUF_MASK0(index) (MAC_WUF_MASK0_BEGIN + (0x10 * (index))) index 173 drivers/net/ethernet/microchip/lan743x_main.h #define MAC_WUF_MASK1(index) (MAC_WUF_MASK1_BEGIN + (0x10 * (index))) index 174 drivers/net/ethernet/microchip/lan743x_main.h #define MAC_WUF_MASK2(index) (MAC_WUF_MASK2_BEGIN + (0x10 * (index))) index 175 drivers/net/ethernet/microchip/lan743x_main.h #define MAC_WUF_MASK3(index) (MAC_WUF_MASK3_BEGIN + (0x10 * (index))) index 206 drivers/net/ethernet/microchip/lan743x_main.h #define RFE_HASH_KEY(index) (0x558 + (index << 2)) index 208 drivers/net/ethernet/microchip/lan743x_main.h #define RFE_INDX(index) (0x580 + (index << 2)) index 146 drivers/net/ethernet/microchip/lan743x_ptp.c int index = 0; index 149 drivers/net/ethernet/microchip/lan743x_ptp.c for (index = 0; index < LAN743X_PTP_NUMBER_OF_EVENT_CHANNELS; index++) { index 150 drivers/net/ethernet/microchip/lan743x_ptp.c if (!(test_bit(index, &ptp->used_event_ch))) { index 151 drivers/net/ethernet/microchip/lan743x_ptp.c ptp->used_event_ch |= BIT(index); index 152 drivers/net/ethernet/microchip/lan743x_ptp.c result = index; index 557 drivers/net/ethernet/microchip/lan743x_ptp.c if (request->perout.index == 0) index 898 drivers/net/ethernet/microchip/lan743x_ptp.c ptp->pin_config[0].index = 0; index 943 drivers/net/ethernet/microchip/lan743x_ptp.c int index; index 965 drivers/net/ethernet/microchip/lan743x_ptp.c for (index = 0; index 966 drivers/net/ethernet/microchip/lan743x_ptp.c index < LAN743X_PTP_NUMBER_OF_TX_TIMESTAMPS; index 967 drivers/net/ethernet/microchip/lan743x_ptp.c index++) { index 968 drivers/net/ethernet/microchip/lan743x_ptp.c struct sk_buff *skb = ptp->tx_ts_skb_queue[index]; index 971 drivers/net/ethernet/microchip/lan743x_ptp.c ptp->tx_ts_skb_queue[index] = NULL; index 972 drivers/net/ethernet/microchip/lan743x_ptp.c ptp->tx_ts_seconds_queue[index] = 0; index 973 drivers/net/ethernet/microchip/lan743x_ptp.c ptp->tx_ts_nseconds_queue[index] = 0; index 1111 drivers/net/ethernet/microchip/lan743x_ptp.c int index; index 1130 drivers/net/ethernet/microchip/lan743x_ptp.c for (index = 0; index < LAN743X_MAX_TX_CHANNELS; index 1131 drivers/net/ethernet/microchip/lan743x_ptp.c index++) index 1132 drivers/net/ethernet/microchip/lan743x_ptp.c lan743x_tx_set_timestamping_mode(&adapter->tx[index], index 1137 drivers/net/ethernet/microchip/lan743x_ptp.c for (index = 0; index < LAN743X_MAX_TX_CHANNELS; index 1138 drivers/net/ethernet/microchip/lan743x_ptp.c index++) index 1139 drivers/net/ethernet/microchip/lan743x_ptp.c lan743x_tx_set_timestamping_mode(&adapter->tx[index], index 1144 drivers/net/ethernet/microchip/lan743x_ptp.c for (index = 0; index < LAN743X_MAX_TX_CHANNELS; index 1145 drivers/net/ethernet/microchip/lan743x_ptp.c index++) index 1146 drivers/net/ethernet/microchip/lan743x_ptp.c lan743x_tx_set_timestamping_mode(&adapter->tx[index], index 619 drivers/net/ethernet/mscc/ocelot_ace.c int index = -1; index 622 drivers/net/ethernet/mscc/ocelot_ace.c ++index; index 626 drivers/net/ethernet/mscc/ocelot_ace.c return index; index 630 drivers/net/ethernet/mscc/ocelot_ace.c ocelot_ace_rule_get_rule_index(struct ocelot_acl_block *block, int index) index 636 drivers/net/ethernet/mscc/ocelot_ace.c if (i == index) index 647 drivers/net/ethernet/mscc/ocelot_ace.c int i, index; index 653 drivers/net/ethernet/mscc/ocelot_ace.c index = ocelot_ace_rule_get_index_id(acl_block, rule); index 656 drivers/net/ethernet/mscc/ocelot_ace.c for (i = acl_block->count - 1; i > index; i--) { index 662 drivers/net/ethernet/mscc/ocelot_ace.c is2_entry_set(rule->port->ocelot, index, rule); index 687 drivers/net/ethernet/mscc/ocelot_ace.c int i, index; index 692 drivers/net/ethernet/mscc/ocelot_ace.c index = ocelot_ace_rule_get_index_id(acl_block, rule); index 698 drivers/net/ethernet/mscc/ocelot_ace.c for (i = index; i < acl_block->count; i++) { index 712 drivers/net/ethernet/mscc/ocelot_ace.c int index; index 714 drivers/net/ethernet/mscc/ocelot_ace.c index = ocelot_ace_rule_get_index_id(acl_block, rule); index 715 drivers/net/ethernet/mscc/ocelot_ace.c is2_entry_get(rule, index); index 718 drivers/net/ethernet/mscc/ocelot_ace.c tmp = ocelot_ace_rule_get_rule_index(acl_block, index); index 720 drivers/net/ethernet/mscc/ocelot_ace.c is2_entry_set(rule->port->ocelot, index, tmp); index 3170 drivers/net/ethernet/neterion/s2io.c static void s2io_chk_xpak_counter(u64 *counter, u64 * regs_stat, u32 index, index 3176 drivers/net/ethernet/neterion/s2io.c for (i = 0; i < index; i++) index 3182 drivers/net/ethernet/neterion/s2io.c val64 = val64 >> (index * 0x2); index 3210 drivers/net/ethernet/neterion/s2io.c val64 = val64 << (index * 0x2); index 395 drivers/net/ethernet/neterion/vxge/vxge-config.c img[i].index = VXGE_HW_GET_EPROM_IMAGE_INDEX(data0); index 2092 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 index, u32 is_last) index 2095 drivers/net/ethernet/neterion/vxge/vxge-config.c void *item = mempoolh->items_arr[index]; index 2106 drivers/net/ethernet/neterion/vxge/vxge-config.c (index * ring->rxds_per_block + i + 1); index 2131 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_ring_rxdblock_link(mempoolh, ring, index, 0); index 2134 drivers/net/ethernet/neterion/vxge/vxge-config.c if (index > 0) { index 2136 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_ring_rxdblock_link(mempoolh, ring, index - 1, index); index 2500 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 index = i * mempool->items_per_memblock + j; index 2503 drivers/net/ethernet/neterion/vxge/vxge-config.c if (index >= mempool->items_current) index 2579 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 index = i * n_items + j; index 2581 drivers/net/ethernet/neterion/vxge/vxge-config.c if (first_time && index >= mempool->items_initial) index 2584 drivers/net/ethernet/neterion/vxge/vxge-config.c mempool->items_arr[index] = index 2590 drivers/net/ethernet/neterion/vxge/vxge-config.c dma_object, index, is_last); index 2592 drivers/net/ethernet/neterion/vxge/vxge-config.c mempool->items_current = index + 1; index 3109 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 index, u32 offset, u64 *value) index 3158 drivers/net/ethernet/neterion/vxge/vxge-config.c if (index > VXGE_HW_TITAN_SRPCIM_REG_SPACES - 1) { index 3166 drivers/net/ethernet/neterion/vxge/vxge-config.c *value = readq((void __iomem *)hldev->srpcim_reg[index] + index 3170 drivers/net/ethernet/neterion/vxge/vxge-config.c if ((index > VXGE_HW_TITAN_VPMGMT_REG_SPACES - 1) || index 3171 drivers/net/ethernet/neterion/vxge/vxge-config.c (!(hldev->vpath_assignments & vxge_mBIT(index)))) { index 3179 drivers/net/ethernet/neterion/vxge/vxge-config.c *value = readq((void __iomem *)hldev->vpmgmt_reg[index] + index 3183 drivers/net/ethernet/neterion/vxge/vxge-config.c if ((index > VXGE_HW_TITAN_VPATH_REG_SPACES - 1) || index 3184 drivers/net/ethernet/neterion/vxge/vxge-config.c (!(hldev->vpath_assignments & vxge_mBIT(index)))) { index 3188 drivers/net/ethernet/neterion/vxge/vxge-config.c if (index > VXGE_HW_TITAN_VPATH_REG_SPACES - 1) { index 3196 drivers/net/ethernet/neterion/vxge/vxge-config.c *value = readq((void __iomem *)hldev->vpath_reg[index] + index 3235 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 index, u32 offset, u64 value) index 3284 drivers/net/ethernet/neterion/vxge/vxge-config.c if (index > VXGE_HW_TITAN_SRPCIM_REG_SPACES - 1) { index 3292 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(value, (void __iomem *)hldev->srpcim_reg[index] + index 3297 drivers/net/ethernet/neterion/vxge/vxge-config.c if ((index > VXGE_HW_TITAN_VPMGMT_REG_SPACES - 1) || index 3298 drivers/net/ethernet/neterion/vxge/vxge-config.c (!(hldev->vpath_assignments & vxge_mBIT(index)))) { index 3306 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(value, (void __iomem *)hldev->vpmgmt_reg[index] + index 3310 drivers/net/ethernet/neterion/vxge/vxge-config.c if ((index > VXGE_HW_TITAN_VPATH_REG_SPACES-1) || index 3311 drivers/net/ethernet/neterion/vxge/vxge-config.c (!(hldev->vpath_assignments & vxge_mBIT(index)))) { index 3319 drivers/net/ethernet/neterion/vxge/vxge-config.c writeq(value, (void __iomem *)hldev->vpath_reg[index] + index 3403 drivers/net/ethernet/neterion/vxge/vxge-config.c u32 index, u32 is_last) index 3408 drivers/net/ethernet/neterion/vxge/vxge-config.c (struct vxge_hw_fifo_txd *)mempoolh->items_arr[index]; index 3423 drivers/net/ethernet/neterion/vxge/vxge-config.c fifo->channel.reserve_arr[fifo->channel.reserve_ptr - 1 - index] = txdp; index 38 drivers/net/ethernet/neterion/vxge/vxge-config.h u8 index; index 130 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c int index, offset; index 139 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c for (index = 0; index < vdev->no_of_vpath; index++) { index 144 drivers/net/ethernet/neterion/vxge/vxge-ethtool.c vdev->vpaths[index].device_id, index 1913 drivers/net/ethernet/neterion/vxge/vxge-main.c int index; index 1920 drivers/net/ethernet/neterion/vxge/vxge-main.c for (index = 0; index < (1 << vdev->config.rth_bkt_sz); index++) { index 1921 drivers/net/ethernet/neterion/vxge/vxge-main.c itable[index] = index; index 1922 drivers/net/ethernet/neterion/vxge/vxge-main.c mtable[index] = index % vdev->no_of_vpath; index 1952 drivers/net/ethernet/neterion/vxge/vxge-main.c for (index = 0; index < vdev->no_of_vpath; index++) { index 1954 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->vpaths[index].handle, index 1961 drivers/net/ethernet/neterion/vxge/vxge-main.c vdev->vpaths[index].device_id); index 2002 drivers/net/ethernet/neterion/vxge/vxge-main.c static void vxge_close_vpaths(struct vxgedev *vdev, int index) index 2007 drivers/net/ethernet/neterion/vxge/vxge-main.c for (i = index; i < vdev->no_of_vpath; i++) { index 145 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u32 index, index 1781 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u32 index, index 1788 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u32 index, index 2086 drivers/net/ethernet/neterion/vxge/vxge-traffic.h u32 index, index 344 drivers/net/ethernet/netronome/nfp/abm/main.c err = nfp_eth_set_configured(app->cpp, eth_port->index, true); index 672 drivers/net/ethernet/netronome/nfp/bpf/verifier.c int index = 0; index 676 drivers/net/ethernet/netronome/nfp/bpf/verifier.c index++; index 677 drivers/net/ethernet/netronome/nfp/bpf/verifier.c meta->subprog_idx = index; index 681 drivers/net/ethernet/netronome/nfp/bpf/verifier.c nfp_prog->subprog[index].needs_reg_push = 1; index 684 drivers/net/ethernet/netronome/nfp/bpf/verifier.c if (index + 1 != nfp_prog->subprog_cnt) { index 686 drivers/net/ethernet/netronome/nfp/bpf/verifier.c index + 1, nfp_prog->subprog_cnt); index 507 drivers/net/ethernet/netronome/nfp/flower/main.c unsigned int phys_port = eth_tbl->ports[i].index; index 131 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c __be16 index; index 155 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c u16 index; index 517 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c payload.index = cpu_to_be16(idx); index 596 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (entry && nfp_tunnel_is_mac_idx_global(entry->index)) { index 605 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx = entry->index | NFP_TUN_PRE_TUN_IDX_BIT; index 655 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->index = nfp_mac_idx; index 700 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_mac_idx = entry->index & ~NFP_TUN_PRE_TUN_IDX_BIT; index 708 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->index = nfp_mac_idx; index 731 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); index 733 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c entry->index = nfp_mac_idx; index 744 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (nfp_tunnel_is_mac_idx_global(entry->index)) { index 745 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c ida_idx = nfp_tunnel_get_ida_from_global_mac_idx(entry->index); index 960 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c payload.port_idx = cpu_to_be16(mac_entry->index); index 94 drivers/net/ethernet/netronome/nfp/nfp_devlink.c ret = nfp_devlink_set_lanes(pf, eth_port.index, lanes); index 128 drivers/net/ethernet/netronome/nfp/nfp_devlink.c ret = nfp_devlink_set_lanes(pf, eth_port.index, lanes); index 331 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nsp = nfp_eth_config_start(port->app->cpp, eth_port->index); index 771 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c err = nfp_eth_set_fec(port->app->cpp, eth_port->index, fec); index 63 drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_net_find_port(struct nfp_eth_table *eth_tbl, unsigned int index) index 68 drivers/net/ethernet/netronome/nfp/nfp_net_main.c if (eth_tbl->ports[i].index == index) index 185 drivers/net/ethernet/netronome/nfp/nfp_port.c err = nfp_eth_set_configured(port->app->cpp, eth_port->index, configed); index 202 drivers/net/ethernet/netronome/nfp/nfp_port.c pf->eth_tbl->ports[id].index); index 208 drivers/net/ethernet/netronome/nfp/nfp_port.c port->eth_id = pf->eth_tbl->ports[id].index; index 136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c int index; index 183 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c return pci_resource_len(bar->nfp->pdev, (bar->index / 8) * 2) / 8; index 188 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c return pci_resource_start(bar->nfp->pdev, (bar->index / 8) * 2) index 189 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c + nfp_bar_resource_len(bar) * (bar->index & 7); index 275 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c base = bar->index >> 3; index 276 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c slot = bar->index & 7; index 519 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c return a->index - b->index; index 588 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c bar->index = i; index 865 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c (int)priv->size, priv->bar->index); index 155 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h unsigned int index; index 126 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c unsigned int index, struct nfp_eth_table_port *dst) index 136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->index = index; index 137 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->nbi = index / NSP_ETH_NBI_PORT_COUNT; index 138 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->base = index % NSP_ETH_NBI_PORT_COUNT; index 181 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c table->max_index = max(table->max_index, table->ports[i].index); index 318 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c static void pch_gbe_mac_mar_set(struct pch_gbe_hw *hw, u8 * addr, u32 index) index 323 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c netdev_dbg(adapter->netdev, "index : 0x%x\n", index); index 334 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c iowrite32((adrmask | (0x0001 << index)), &hw->reg->ADDR_MASK); index 338 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c iowrite32(mar_high, &hw->reg->mac_adr[index].high); index 339 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c iowrite32(mar_low, &hw->reg->mac_adr[index].low); index 341 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c iowrite32((adrmask & ~(0x0001 << index)), &hw->reg->ADDR_MASK); index 79 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c seq_printf(seq, "%d\n", q->tail->index); index 89 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c seq_printf(seq, "%d\n", q->head->index); index 99 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c seq_printf(seq, "%d\n", cq->tail->index); index 131 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c debugfs_create_u32("index", 0400, q_dentry, &q->index); index 189 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c &intr->index); index 199 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c intr_ctrl_regset->base = &idev->intr_ctrl[intr->index]; index 144 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_init.index = 0, index 154 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_init.index = 0, index 165 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_reset.index = 0, index 175 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_setattr.index = 0, index 187 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_setattr.index = 0, index 199 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_setattr.index = 0, index 211 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_setattr.index = 0, index 223 drivers/net/ethernet/pensando/ionic/ionic_dev.c .port_setattr.index = 0, index 248 drivers/net/ethernet/pensando/ionic/ionic_dev.c .lif_init.index = cpu_to_le16(lif_index), index 259 drivers/net/ethernet/pensando/ionic/ionic_dev.c .lif_init.index = cpu_to_le16(lif_index), index 275 drivers/net/ethernet/pensando/ionic/ionic_dev.c .q_init.index = cpu_to_le32(q->index), index 324 drivers/net/ethernet/pensando/ionic/ionic_dev.c cur->index = i; index 374 drivers/net/ethernet/pensando/ionic/ionic_dev.c struct ionic_queue *q, unsigned int index, const char *name, index 391 drivers/net/ethernet/pensando/ionic/ionic_dev.c q->index = index; index 399 drivers/net/ethernet/pensando/ionic/ionic_dev.c snprintf(q->name, sizeof(q->name), "L%d-%s%u", lif->index, name, index); index 408 drivers/net/ethernet/pensando/ionic/ionic_dev.c cur->index = i; index 451 drivers/net/ethernet/pensando/ionic/ionic_dev.c q->lif->index, q->name, q->hw_type, q->hw_index, index 452 drivers/net/ethernet/pensando/ionic/ionic_dev.c q->head->index, ring_doorbell); index 456 drivers/net/ethernet/pensando/ionic/ionic_dev.c q->dbval | q->head->index); index 464 drivers/net/ethernet/pensando/ionic/ionic_dev.c tail = q->tail->index; index 465 drivers/net/ethernet/pensando/ionic/ionic_dev.c head = q->head->index; index 478 drivers/net/ethernet/pensando/ionic/ionic_dev.c if (q->tail->index == q->head->index) index 485 drivers/net/ethernet/pensando/ionic/ionic_dev.c q->name, stop_index, q->tail->index, q->head->index); index 499 drivers/net/ethernet/pensando/ionic/ionic_dev.c } while (desc_info->index != stop_index); index 142 drivers/net/ethernet/pensando/ionic/ionic_dev.h unsigned int index; index 158 drivers/net/ethernet/pensando/ionic/ionic_dev.h unsigned int index; index 176 drivers/net/ethernet/pensando/ionic/ionic_dev.h unsigned int index; index 197 drivers/net/ethernet/pensando/ionic/ionic_dev.h unsigned int index; index 222 drivers/net/ethernet/pensando/ionic/ionic_dev.h unsigned long index) index 224 drivers/net/ethernet/pensando/ionic/ionic_dev.h ionic_intr_clean(idev->intr_ctrl, index); index 225 drivers/net/ethernet/pensando/ionic/ionic_dev.h intr->index = index; index 230 drivers/net/ethernet/pensando/ionic/ionic_dev.h unsigned int avail = q->tail->index; index 232 drivers/net/ethernet/pensando/ionic/ionic_dev.h if (q->head->index >= avail) index 235 drivers/net/ethernet/pensando/ionic/ionic_dev.h avail -= q->head->index + 1; index 288 drivers/net/ethernet/pensando/ionic/ionic_dev.h struct ionic_queue *q, unsigned int index, const char *name, index 432 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c qcq->intr.index, coal); index 453 drivers/net/ethernet/pensando/ionic/ionic_if.h __le16 index; index 509 drivers/net/ethernet/pensando/ionic/ionic_if.h __le32 index; index 910 drivers/net/ethernet/pensando/ionic/ionic_if.h __le32 index; index 1104 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 index; index 1128 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 index; index 1150 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 index; index 1193 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 index; index 1228 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 index; index 1280 drivers/net/ethernet/pensando/ionic/ionic_if.h __le16 index; index 1410 drivers/net/ethernet/pensando/ionic/ionic_if.h __le16 index; index 1456 drivers/net/ethernet/pensando/ionic/ionic_if.h __le16 index; index 155 drivers/net/ethernet/pensando/ionic/ionic_lif.c int index; index 157 drivers/net/ethernet/pensando/ionic/ionic_lif.c index = find_first_zero_bit(ionic->intrs, ionic->nintrs); index 158 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (index == ionic->nintrs) { index 160 drivers/net/ethernet/pensando/ionic/ionic_lif.c __func__, index, ionic->nintrs); index 164 drivers/net/ethernet/pensando/ionic/ionic_lif.c set_bit(index, ionic->intrs); index 165 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_init(&ionic->idev, intr, index); index 170 drivers/net/ethernet/pensando/ionic/ionic_lif.c static void ionic_intr_free(struct ionic_lif *lif, int index) index 172 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (index != INTR_INDEX_NOT_ASSIGNED && index < lif->ionic->nintrs) index 173 drivers/net/ethernet/pensando/ionic/ionic_lif.c clear_bit(index, lif->ionic->intrs); index 187 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 189 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le32(q->index), index 198 drivers/net/ethernet/pensando/ionic/ionic_lif.c ctx.cmd.q_control.index, ctx.cmd.q_control.type); index 204 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_clean(idev->intr_ctrl, qcq->intr.index); index 205 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, index 223 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 225 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le32(q->index), index 234 drivers/net/ethernet/pensando/ionic/ionic_lif.c ctx.cmd.q_control.index, ctx.cmd.q_control.type); index 237 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, index 261 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, index 282 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_free(lif, qcq->intr.index); index 325 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_free(n_qcq->cq.lif, n_qcq->intr.index); index 330 drivers/net/ethernet/pensando/ionic/ionic_lif.c n_qcq->intr.index = src_qcq->intr.index; index 334 drivers/net/ethernet/pensando/ionic/ionic_lif.c unsigned int index, index 387 drivers/net/ethernet/pensando/ionic/ionic_lif.c err = ionic_q_init(lif, idev, &new->q, index, name, num_descs, index 402 drivers/net/ethernet/pensando/ionic/ionic_lif.c err = ionic_bus_get_irq(lif->ionic, new->intr.index); index 409 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_mask_assert(idev->intr_ctrl, new->intr.index, index 412 drivers/net/ethernet/pensando/ionic/ionic_lif.c new->intr.cpu = new->intr.index % num_online_cpus(); index 417 drivers/net/ethernet/pensando/ionic/ionic_lif.c new->intr.index = INTR_INDEX_NOT_ASSIGNED; index 466 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_free(lif, new->intr.index); index 468 drivers/net/ethernet/pensando/ionic/ionic_lif.c dev_err(dev, "qcq alloc of %s%d failed %d\n", name, index, err); index 562 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 564 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le32(q->index), index 567 drivers/net/ethernet/pensando/ionic/ionic_lif.c .intr_index = cpu_to_le16(lif->rxqcqs[q->index].qcq->intr.index), index 578 drivers/net/ethernet/pensando/ionic/ionic_lif.c dev_dbg(dev, "txq_init.index %d\n", ctx.cmd.q_init.index); index 609 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 611 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le32(q->index), index 613 drivers/net/ethernet/pensando/ionic/ionic_lif.c .intr_index = cpu_to_le16(cq->bound_intr->index), index 623 drivers/net/ethernet/pensando/ionic/ionic_lif.c dev_dbg(dev, "rxq_init.index %d\n", ctx.cmd.q_init.index); index 707 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_credits(idev->intr_ctrl, cq->bound_intr->index, index 798 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 829 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 925 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 946 drivers/net/ethernet/pensando/ionic/ionic_lif.c netdev_dbg(lif->netdev, "lif%d %s\n", lif->index, buf); index 1072 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le16(lif->index), index 1243 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le16(lif->index), index 1286 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 1311 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 1468 drivers/net/ethernet/pensando/ionic/ionic_lif.c lif->rxqcqs[i].qcq->intr.index, coal); index 1641 drivers/net/ethernet/pensando/ionic/ionic_lif.c static struct ionic_lif *ionic_lif_alloc(struct ionic *ionic, unsigned int index) index 1673 drivers/net/ethernet/pensando/ionic/ionic_lif.c lif->index = index; index 1681 drivers/net/ethernet/pensando/ionic/ionic_lif.c snprintf(lif->name, sizeof(lif->name), "lif%u", index); index 1753 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_dev_cmd_lif_reset(idev, lif->index); index 1843 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_dev_cmd_adminq_init(idev, qcq, lif->index, qcq->intr.index); index 1872 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, index 1893 drivers/net/ethernet/pensando/ionic/ionic_lif.c .lif_index = cpu_to_le16(lif->index), index 1895 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le32(q->index), index 1898 drivers/net/ethernet/pensando/ionic/ionic_lif.c .intr_index = cpu_to_le16(lif->adminqcq->intr.index), index 1906 drivers/net/ethernet/pensando/ionic/ionic_lif.c dev_dbg(dev, "notifyq_init.index %d\n", ctx.cmd.q_init.index); index 1938 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le16(lif->index), index 1980 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic_dev_cmd_lif_init(idev, lif->index, lif->info_pa); index 2084 drivers/net/ethernet/pensando/ionic/ionic_lif.c .index = cpu_to_le16(lif->index), index 141 drivers/net/ethernet/pensando/ionic/ionic_lif.h unsigned int index; index 301 drivers/net/ethernet/pensando/ionic/ionic_main.c cq->bound_intr->index, index 34 drivers/net/ethernet/pensando/ionic/ionic_txrx.c return netdev_get_tx_queue(q->lif->netdev, q->index); index 116 drivers/net/ethernet/pensando/ionic/ionic_txrx.c skb_record_rx_queue(skb, q->index); index 169 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (q->tail->index == q->head->index) index 173 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (desc_info->index != le16_to_cpu(comp->comp_index)) index 212 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_intr_credits(idev->intr_ctrl, cq->bound_intr->index, index 272 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ring_doorbell = ((q->head->index + 1) & index 303 drivers/net/ethernet/pensando/ionic/ionic_txrx.c unsigned int qi = rxcq->bound_q->index; index 328 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_intr_credits(idev->intr_ctrl, rxcq->bound_intr->index, index 438 drivers/net/ethernet/pensando/ionic/ionic_txrx.c } while (desc_info->index != le16_to_cpu(comp->comp_index)); index 451 drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_intr_credits(idev->intr_ctrl, cq->bound_intr->index, index 865 drivers/net/ethernet/pensando/ionic/ionic_txrx.c netif_stop_subqueue(q->lif->netdev, q->index); index 872 drivers/net/ethernet/pensando/ionic/ionic_txrx.c netif_wake_subqueue(q->lif->netdev, q->index); index 207 drivers/net/ethernet/qlogic/netxen/netxen_nic.h #define get_next_index(index, length) \ index 208 drivers/net/ethernet/qlogic/netxen/netxen_nic.h (((index) + 1) & ((length) - 1)) index 210 drivers/net/ethernet/qlogic/netxen/netxen_nic.h #define get_index_range(index,length,count) \ index 211 drivers/net/ethernet/qlogic/netxen/netxen_nic.h (((index) + (count)) & ((length) - 1)) index 647 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c int index; index 655 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c for (index = 0; index < NETXEN_NIC_STATS_LEN; index++) { index 656 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c memcpy(data + index * ETH_GSTRING_LEN, index 657 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c netxen_nic_gstrings_stats[index].stat_string, index 669 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c int index; index 671 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c for (index = 0; index < NETXEN_NIC_STATS_LEN; index++) { index 674 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c netxen_nic_gstrings_stats[index].stat_offset; index 675 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c data[index] = index 676 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c (netxen_nic_gstrings_stats[index].sizeof_stat == index 347 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c #define NETXEN_UNICAST_ADDR(port, index) \ index 348 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c (NETXEN_UNICAST_ADDR_BASE+(port*32)+(index*8)) index 349 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c #define NETXEN_MCAST_ADDR(port, index) \ index 350 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c (NETXEN_MULTICAST_ADDR_BASE+(port*0x80)+(index*8)) index 490 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c int index, u8 *addr) index 498 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c NXWR32(adapter, NETXEN_MCAST_ADDR(port, index), hi); index 499 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c NXWR32(adapter, NETXEN_MCAST_ADDR(port, index)+4, lo); index 1426 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c netxen_handle_fw_message(int desc_cnt, int index, index 1434 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c desc = &sds_ring->desc_head[index]; index 1438 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index = get_next_index(index, sds_ring->num_desc); index 1487 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c struct nx_host_rds_ring *rds_ring, u16 index, u16 cksum) index 1492 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = &rds_ring->rx_buf_arr[index]; index 1524 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c int index, length, cksum, pkt_offset; index 1531 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index = netxen_get_sts_refhandle(sts_data0); index 1532 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (unlikely(index >= rds_ring->num_desc)) index 1535 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = &rds_ring->rx_buf_arr[index]; index 1541 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c skb = netxen_process_rxbuf(adapter, rds_ring, index, cksum); index 1582 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c int index; index 1592 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c index = netxen_get_lro_sts_refhandle(sts_data0); index 1593 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (unlikely(index >= rds_ring->num_desc)) index 1596 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c buffer = &rds_ring->rx_buf_arr[index]; index 1605 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c skb = netxen_process_rxbuf(adapter, rds_ring, index, STATUS_CKSUM_OK); index 797 drivers/net/ethernet/qlogic/qed/qed_int.c u16 index; index 815 drivers/net/ethernet/qlogic/qed/qed_int.c u16 rc = 0, index; index 817 drivers/net/ethernet/qlogic/qed/qed_int.c index = le16_to_cpu(p_sb_desc->sb_attn->sb_index); index 818 drivers/net/ethernet/qlogic/qed/qed_int.c if (p_sb_desc->index != index) { index 819 drivers/net/ethernet/qlogic/qed/qed_int.c p_sb_desc->index = index; index 1144 drivers/net/ethernet/qlogic/qed/qed_int.c __le16 index; index 1151 drivers/net/ethernet/qlogic/qed/qed_int.c index = p_sb_attn->sb_index; index 1156 drivers/net/ethernet/qlogic/qed/qed_int.c } while (index != p_sb_attn->sb_index); index 1157 drivers/net/ethernet/qlogic/qed/qed_int.c p_sb_attn->sb_index = index; index 1172 drivers/net/ethernet/qlogic/qed/qed_int.c index, attn_bits, attn_acks, asserted_bits, index 1266 drivers/net/ethernet/qlogic/qed/qed_int.c u16 tmp_index = sb_attn->index; index 1271 drivers/net/ethernet/qlogic/qed/qed_int.c tmp_index, sb_attn->index); index 1305 drivers/net/ethernet/qlogic/qed/qed_int.c qed_sb_ack_attn(p_hwfn, sb_info->igu_addr, sb_attn->index); index 1332 drivers/net/ethernet/qlogic/qed/qed_int.c sb_info->index = 0; index 638 drivers/net/ethernet/qlogic/qed/qed_main.c int index, void(*handler)(void *)) index 640 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; index 641 drivers/net/ethernet/qlogic/qed/qed_main.c int relative_idx = index / cdev->num_hwfns; index 647 drivers/net/ethernet/qlogic/qed/qed_main.c static void qed_simd_handler_clean(struct qed_dev *cdev, int index) index 649 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; index 650 drivers/net/ethernet/qlogic/qed/qed_main.c int relative_idx = index / cdev->num_hwfns; index 414 drivers/net/ethernet/qlogic/qede/qede.h int index; /* Slowpath only */ index 415 drivers/net/ethernet/qlogic/qede/qede.h #define QEDE_TXQ_XDP_TO_IDX(edev, txq) ((txq)->index - \ index 422 drivers/net/ethernet/qlogic/qede/qede.h (txq)->cos) + (txq)->index) index 231 drivers/net/ethernet/qlogic/qede/qede_ethtool.c sprintf(*buf, "%d_%d: %s", txq->index, txq->cos, index 1767 drivers/net/ethernet/qlogic/qede/qede_filter.c if (act->queue.index >= QEDE_RSS_COUNT(edev)) { index 1612 drivers/net/ethernet/qlogic/qede/qede_main.c txq->index, qed_chain_get_cons_idx(&txq->tx_pbl), index 1619 drivers/net/ethernet/qlogic/qede/qede_main.c txq->index, index 1664 drivers/net/ethernet/qlogic/qede/qede_main.c fp->xdp_tx->index = QEDE_TXQ_IDX_TO_XDP(edev, index 1692 drivers/net/ethernet/qlogic/qede/qede_main.c txq->index = txq_index; index 1858 drivers/net/ethernet/qlogic/qede/qede_main.c txq->index); index 1866 drivers/net/ethernet/qlogic/qede/qede_main.c txq->index, txq->sw_tx_prod, index 1998 drivers/net/ethernet/qlogic/qede/qede_main.c params.queue_id = txq->index; index 2007 drivers/net/ethernet/qlogic/qede/qede_main.c DP_ERR(edev, "Start TXQ #%d failed %d\n", txq->index, rc); index 523 drivers/net/ethernet/qlogic/qla3xxx.c u32 index; index 538 drivers/net/ethernet/qlogic/qla3xxx.c for (index = 0; index < EEPROM_SIZE; index++) { index 539 drivers/net/ethernet/qlogic/qla3xxx.c eeprom_readword(qdev, index, pEEPROMData); index 2772 drivers/net/ethernet/qlogic/qla3xxx.c lrg_buf_cb->index = i; index 3394 drivers/net/ethernet/qlogic/qla3xxx.c DRV_NAME, qdev->index, qdev->chip_rev_id, index 3448 drivers/net/ethernet/qlogic/qla3xxx.c qdev->index); index 3812 drivers/net/ethernet/qlogic/qla3xxx.c qdev->index = cards_found; index 3849 drivers/net/ethernet/qlogic/qla3xxx.c __func__, qdev->index); index 1005 drivers/net/ethernet/qlogic/qla3xxx.h int index; index 1087 drivers/net/ethernet/qlogic/qla3xxx.h int index; index 155 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h #define get_next_index(index, length) \ index 156 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h (((index) + 1) & ((length) - 1)) index 2102 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h void *t_hdr, u32 index) index 2104 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h return adapter->ahw->hw_ops->get_saved_state(t_hdr, index); index 2108 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h void *t_hdr, u32 index, u32 value) index 2110 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h adapter->ahw->hw_ops->set_saved_state(t_hdr, index, value); index 2120 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h void *tmpl_hdr, int index) index 2122 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h return adapter->ahw->hw_ops->get_cap_size(tmpl_hdr, index); index 1068 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c int index, i, err, sds_mbx_size; index 1087 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index = 2; index 1107 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c buf = &cmd.req.arg[index]; index 1109 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index += sds_mbx_size / sizeof(u32); index 1121 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index = 0; index 1126 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mbx_out->host_csmr[index]; index 1133 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index++; index 1168 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c int i, err, index, sds_mbx_size, rds_mbx_size; index 1210 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index = QLC_83XX_HOST_SDS_MBX_IDX; index 1228 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c buf = &cmd.req.arg[index]; index 1230 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index += sds_mbx_size / sizeof(u32); index 1233 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index = QLCNIC_HOST_RDS_MBX_IDX; index 1248 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c buf = &cmd.req.arg[index]; index 2551 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c int i, index, err; index 2566 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c for (i = 0, index = 2; i < max_ints; i++) { index 2571 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[index++] = val; index 2581 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c for (i = 0, index = 2; i < max_ints; i++, index += 2) { index 2582 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c val = cmd.rsp.arg[index]; index 2592 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp = cmd.rsp.arg[index + 1]; index 3455 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u64 *data, int index) index 3460 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c low = cmd->rsp.arg[index]; index 3461 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c hi = cmd->rsp.arg[index + 1]; index 1931 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c int index, i, j, err; index 1949 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c index = p_dev->ahw->reset.array_index; index 1955 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_dev->ahw->reset.array[index++] = j; index 1957 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (index == QLC_83XX_MAX_RESET_SEQ_ENTRIES) index 1997 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c int index, entries; index 2004 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c index = p_dev->ahw->reset.seq_index; index 2006 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c for (; (!p_dev->ahw->reset.seq_end) && (index < entries); index++) { index 2042 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c __func__, p_hdr->cmd, index); index 2048 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c p_dev->ahw->reset.seq_index = index; index 425 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c int temp_nsds_rings, index, err; index 465 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c index = temp_nsds_rings + ring; index 466 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c msix_id = ahw->intr_tbl[index].id; index 501 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c index = adapter->drv_sds_rings + ring; index 502 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c intr_mask = ahw->intr_tbl[index].src; index 1322 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c int err = -EIO, index; index 1333 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c index = qlcnic_is_valid_nic_func(adapter, pci_func); index 1334 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c if (index < 0) index 1336 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c arg1 = (adapter->npars[index].phy_port & BIT_0); index 1405 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c int index; index 1409 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c index = qlcnic_is_valid_nic_func(adapter, esw_cfg->pci_func); index 1410 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c if (index < 0) index 1412 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c phy_port = adapter->npars[index].phy_port; index 1194 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c int index, i, num_stats; index 1204 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (index = 0; index < num_stats; index++) { index 1206 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_tx_queue_stats_strings[index]); index 1211 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (index = 0; index < QLCNIC_STATS_LEN; index++) { index 1212 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memcpy(data + index * ETH_GSTRING_LEN, index 1213 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_gstrings_stats[index].stat_string, index 1219 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (i = 0; i < num_stats; i++, index++) index 1220 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memcpy(data + index * ETH_GSTRING_LEN, index 1224 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (i = 0; i < num_stats; i++, index++) index 1225 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memcpy(data + index * ETH_GSTRING_LEN, index 1229 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (i = 0; i < num_stats; i++, index++) index 1230 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memcpy(data + index * ETH_GSTRING_LEN, index 1236 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (i = 0; i < num_stats; i++, index++) index 1237 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memcpy(data + index * ETH_GSTRING_LEN, index 1244 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (i = 0; i < num_stats; index++, i++) { index 1245 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c memcpy(data + index * ETH_GSTRING_LEN, index 1349 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c int index, ret, length, size, ring; index 1354 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (ring = 0, index = 0; ring < adapter->drv_tx_rings; ring++) { index 1365 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c for (index = 0; index < length; index++) { index 1366 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c p = (char *)adapter + qlcnic_gstrings_stats[index].stat_offset; index 1367 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c size = qlcnic_gstrings_stats[index].sizeof_stat; index 1082 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c static void qlcnic_handle_fw_message(int desc_cnt, int index, index 1092 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c desc = &sds_ring->desc_head[index]; index 1096 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index = get_next_index(index, sds_ring->num_desc); index 1140 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u16 index, u16 cksum) index 1145 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &ring->rx_buf_arr[index]; index 1203 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int index, length, cksum, pkt_offset, is_lb_pkt; index 1211 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index = qlcnic_get_sts_refhandle(sts_data0); index 1212 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (unlikely(index >= rds_ring->num_desc)) index 1215 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; index 1220 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb = qlcnic_process_rxbuf(adapter, rds_ring, index, cksum); index 1274 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int index, l2_hdr_offset, l4_hdr_offset, is_lb_pkt; index 1283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index = qlcnic_get_lro_sts_refhandle(sts_data0); index 1284 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (unlikely(index >= rds_ring->num_desc)) index 1287 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; index 1296 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb = qlcnic_process_rxbuf(adapter, rds_ring, index, STATUS_CKSUM_OK); index 1497 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int index, length, cksum, pkt_offset; index 1504 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index = qlcnic_get_sts_refhandle(sts_data0); index 1506 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (unlikely(index >= rds_ring->num_desc)) index 1512 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb = qlcnic_process_rxbuf(adapter, rds_ring, index, cksum); index 1726 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int index, length, cksum, is_lb_pkt; index 1735 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index = qlcnic_83xx_hndl(sts_data[0]); index 1736 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (unlikely(index >= rds_ring->num_desc)) index 1739 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; index 1742 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb = qlcnic_process_rxbuf(adapter, rds_ring, index, cksum); index 1797 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int index, is_lb_pkt; index 1807 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index = qlcnic_83xx_hndl(sts_data[0]); index 1808 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (unlikely(index >= rds_ring->num_desc)) index 1811 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c buffer = &rds_ring->rx_buf_arr[index]; index 1818 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb = qlcnic_process_rxbuf(adapter, rds_ring, index, STATUS_CKSUM_OK); index 2180 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int index, length; index 2186 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index = qlcnic_83xx_hndl(sts_data[0]); index 2187 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (unlikely(index >= rds_ring->num_desc)) index 2192 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb = qlcnic_process_rxbuf(adapter, rds_ring, index, STATUS_CKSUM_OK); index 1204 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c int index) index 1214 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (qlcnic_boards[index].sub_vendor == subsystem_vendor && index 1215 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_boards[index].sub_device == pdev->subsystem_device) index 2399 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c int ring, vector, index; index 2429 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c index = adapter->drv_sds_rings + ring; index 2430 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c vector = adapter->msix_entries[index].vector; index 271 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c inline u32 qlcnic_82xx_get_saved_state(void *t_hdr, u32 index) index 275 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c return hdr->saved_state[index]; index 278 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c inline void qlcnic_82xx_set_saved_state(void *t_hdr, u32 index, index 283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c hdr->saved_state[index] = value; index 302 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c inline u32 qlcnic_82xx_get_cap_size(void *t_hdr, int index) index 306 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c return hdr->cap_sizes[index]; index 323 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c inline u32 qlcnic_83xx_get_saved_state(void *t_hdr, u32 index) index 327 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c return hdr->saved_state[index]; index 330 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c inline void qlcnic_83xx_set_saved_state(void *t_hdr, u32 index, index 335 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c hdr->saved_state[index] = value; index 357 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c inline u32 qlcnic_83xx_get_cap_size(void *t_hdr, int index) index 361 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c return hdr->cap_sizes[index]; index 1008 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c int err, index = qlcnic_sriov_func_to_index(adapter, pci_func); index 1010 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (index < 0) index 1013 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c vf = &adapter->ahw->sriov->vf_info[index]; index 1299 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c int index; index 1304 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c index = qlcnic_sriov_func_to_index(adapter, pci_func); index 1306 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c if (index < 0) index 1309 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c vf = &sriov->vf_info[index]; index 238 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c int index; index 243 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c index = qlcnic_sriov_func_to_index(adapter, func); index 244 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (index < 0) index 246 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c vp = sriov->vf_info[index].vp; index 256 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c int index; index 261 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c index = qlcnic_sriov_func_to_index(adapter, func); index 262 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (index < 0) index 264 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c vp = sriov->vf_info[index].vp; index 274 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c int index; index 279 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c index = qlcnic_sriov_func_to_index(adapter, func); index 280 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (index >= 0) { index 281 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c vf_info = &sriov->vf_info[index]; index 409 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c int count, rem, i, ret, index; index 425 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c index = qlcnic_is_valid_nic_func(adapter, pci_func); index 426 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c if (index < 0) index 429 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c id = adapter->npars[index].phy_port; index 438 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c index = qlcnic_is_valid_nic_func(adapter, pci_func); index 439 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c if (index < 0) index 441 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c id = adapter->npars[index].phy_port; index 442 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c adapter->npars[index].enable_pm = !!pm_cfg[i].action; index 443 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c adapter->npars[index].dest_npar = id; index 553 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c int index; index 602 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c index = qlcnic_is_valid_nic_func(adapter, pci_func); index 603 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c if (index < 0) index 605 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c npar = &adapter->npars[index]; index 688 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c int i, count, rem, ret, index; index 715 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c index = qlcnic_is_valid_nic_func(adapter, pci_func); index 716 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c if (index < 0) index 718 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c adapter->npars[index].min_bw = nic_info.min_tx_bw; index 719 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c adapter->npars[index].max_bw = nic_info.max_tx_bw; index 718 drivers/net/ethernet/realtek/8139cp.c int frag, index; index 722 drivers/net/ethernet/realtek/8139cp.c index = first+frag; index 723 drivers/net/ethernet/realtek/8139cp.c cp->tx_skb[index] = NULL; index 724 drivers/net/ethernet/realtek/8139cp.c txd = &cp->tx_ring[index]; index 91 drivers/net/ethernet/realtek/r8169_firmware.c size_t index; index 93 drivers/net/ethernet/realtek/r8169_firmware.c for (index = 0; index < pa->size; index++) { index 94 drivers/net/ethernet/realtek/r8169_firmware.c u32 action = le32_to_cpu(pa->code[index]); index 109 drivers/net/ethernet/realtek/r8169_firmware.c if (regno > index) index 113 drivers/net/ethernet/realtek/r8169_firmware.c if (index + 2 >= pa->size) index 119 drivers/net/ethernet/realtek/r8169_firmware.c if (index + 1 + regno >= pa->size) index 141 drivers/net/ethernet/realtek/r8169_firmware.c size_t index; index 143 drivers/net/ethernet/realtek/r8169_firmware.c for (index = 0; index < pa->size; index++) { index 144 drivers/net/ethernet/realtek/r8169_firmware.c u32 action = le32_to_cpu(pa->code[index]); index 164 drivers/net/ethernet/realtek/r8169_firmware.c index -= (regno + 1); index 184 drivers/net/ethernet/realtek/r8169_firmware.c index++; index 188 drivers/net/ethernet/realtek/r8169_firmware.c index += regno; index 192 drivers/net/ethernet/realtek/r8169_firmware.c index += regno; index 198 drivers/net/ethernet/realtek/r8169_firmware.c index += regno; index 192 drivers/net/ethernet/renesas/ravb_ptp.c if (req->index) index 195 drivers/net/ethernet/renesas/ravb_ptp.c if (priv->ptp.extts[req->index] == on) index 197 drivers/net/ethernet/renesas/ravb_ptp.c priv->ptp.extts[req->index] = on; index 225 drivers/net/ethernet/renesas/ravb_ptp.c if (req->index) index 249 drivers/net/ethernet/renesas/ravb_ptp.c perout = &priv->ptp.perout[req->index]; index 263 drivers/net/ethernet/renesas/ravb_ptp.c perout = &priv->ptp.perout[req->index]; index 314 drivers/net/ethernet/renesas/ravb_ptp.c event.index = 0; index 427 drivers/net/ethernet/rocker/rocker_hw.h #define ROCKER_GROUP_INDEX_SET(index) \ index 428 drivers/net/ethernet/rocker/rocker_hw.h (((index) << ROCKER_GROUP_INDEX_SHIFT) & ROCKER_GROUP_INDEX_MASK) index 432 drivers/net/ethernet/rocker/rocker_hw.h #define ROCKER_GROUP_INDEX_LONG_SET(index) \ index 433 drivers/net/ethernet/rocker/rocker_hw.h (((index) << ROCKER_GROUP_INDEX_LONG_SHIFT) & \ index 440 drivers/net/ethernet/rocker/rocker_hw.h #define ROCKER_GROUP_L2_REWRITE(index) \ index 442 drivers/net/ethernet/rocker/rocker_hw.h ROCKER_GROUP_INDEX_LONG_SET(index)) index 443 drivers/net/ethernet/rocker/rocker_hw.h #define ROCKER_GROUP_L2_MCAST(vlan_id, index) \ index 445 drivers/net/ethernet/rocker/rocker_hw.h ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index)) index 446 drivers/net/ethernet/rocker/rocker_hw.h #define ROCKER_GROUP_L2_FLOOD(vlan_id, index) \ index 448 drivers/net/ethernet/rocker/rocker_hw.h ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index)) index 449 drivers/net/ethernet/rocker/rocker_hw.h #define ROCKER_GROUP_L3_UNICAST(index) \ index 451 drivers/net/ethernet/rocker/rocker_hw.h ROCKER_GROUP_INDEX_LONG_SET(index)) index 152 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 index; index 1197 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 index, const u8 *src_mac, const u8 *dst_mac, index 1206 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->group_id = ROCKER_GROUP_L3_UNICAST(index); index 1234 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->index = ofdpa->neigh_tbl_next_index++; index 1316 drivers/net/ethernet/rocker/rocker_ofdpa.c entry->index, index 1324 drivers/net/ethernet/rocker/rocker_ofdpa.c err, entry->index); index 1329 drivers/net/ethernet/rocker/rocker_ofdpa.c group_id = ROCKER_GROUP_L3_UNICAST(entry->index); index 1377 drivers/net/ethernet/rocker/rocker_ofdpa.c int flags, __be32 ip_addr, u32 *index) index 1405 drivers/net/ethernet/rocker/rocker_ofdpa.c *index = entry->index; index 1408 drivers/net/ethernet/rocker/rocker_ofdpa.c *index = found->index; index 1413 drivers/net/ethernet/rocker/rocker_ofdpa.c *index = found->index; index 2281 drivers/net/ethernet/rocker/rocker_ofdpa.c u32 index; index 2292 drivers/net/ethernet/rocker/rocker_ofdpa.c nh->fib_nh_gw4, &index); index 2296 drivers/net/ethernet/rocker/rocker_ofdpa.c group_id = ROCKER_GROUP_L3_UNICAST(index); index 64 drivers/net/ethernet/samsung/sxgbe/sxgbe_reg.h #define SXGBE_CORE_HW_FEA_REG(index) (0x011C + index * 4) index 917 drivers/net/ethernet/sfc/ef10.c unsigned int offset, index; index 924 drivers/net/ethernet/sfc/ef10.c for (index = 0; index < nic_data->n_piobufs; ++index) { index 926 drivers/net/ethernet/sfc/ef10.c nic_data->piobuf_handle[index]); index 928 drivers/net/ethernet/sfc/ef10.c nic_data->pio_write_vi_base + index); index 935 drivers/net/ethernet/sfc/ef10.c nic_data->pio_write_vi_base + index, index, index 941 drivers/net/ethernet/sfc/ef10.c nic_data->pio_write_vi_base + index, index); index 959 drivers/net/ethernet/sfc/ef10.c index = offset / nic_data->piobuf_size; index 968 drivers/net/ethernet/sfc/ef10.c BUG_ON(index != 0); index 973 drivers/net/ethernet/sfc/ef10.c nic_data->piobuf_handle[index]); index 988 drivers/net/ethernet/sfc/ef10.c tx_queue->queue, index, rc); index 993 drivers/net/ethernet/sfc/ef10.c index * efx->vi_stride + offset; index 997 drivers/net/ethernet/sfc/ef10.c tx_queue->queue, index, index 1011 drivers/net/ethernet/sfc/ef10.c while (index--) { index 1013 drivers/net/ethernet/sfc/ef10.c nic_data->pio_write_vi_base + index); index 1875 drivers/net/ethernet/sfc/ef10.c size_t stats_count = 0, index; index 1880 drivers/net/ethernet/sfc/ef10.c for_each_set_bit(index, mask, EF10_STAT_COUNT) { index 1881 drivers/net/ethernet/sfc/ef10.c if (efx_ef10_stat_desc[index].name) { index 1882 drivers/net/ethernet/sfc/ef10.c *full_stats++ = stats[index]; index 2239 drivers/net/ethernet/sfc/ef10.c if (context->index == efx->irq_level) index 2243 drivers/net/ethernet/sfc/ef10.c efx_schedule_channel_irq(efx->channel[context->index]); index 3159 drivers/net/ethernet/sfc/ef10.c efx_ef10_build_rx_desc(struct efx_rx_queue *rx_queue, unsigned int index) index 3164 drivers/net/ethernet/sfc/ef10.c rxd = efx_rx_desc(rx_queue, index); index 3165 drivers/net/ethernet/sfc/ef10.c rx_buf = efx_rx_buffer(rx_queue, index); index 826 drivers/net/ethernet/sfc/efx.c channel->eventq.index + index 830 drivers/net/ethernet/sfc/efx.c rx_queue->rxd.index + index 834 drivers/net/ethernet/sfc/efx.c tx_queue->txd.index + index 3055 drivers/net/ethernet/sfc/efx.c efx->msi_context[i].index = i; index 26 drivers/net/ethernet/sfc/efx.h void efx_xmit_done(struct efx_tx_queue *tx_queue, unsigned int index); index 44 drivers/net/ethernet/sfc/efx.h void efx_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index, index 785 drivers/net/ethernet/sfc/falcon/efx.c channel->eventq.index + index 789 drivers/net/ethernet/sfc/falcon/efx.c rx_queue->rxd.index + index 793 drivers/net/ethernet/sfc/falcon/efx.c tx_queue->txd.index + index 2675 drivers/net/ethernet/sfc/falcon/efx.c efx->msi_context[i].index = i; index 31 drivers/net/ethernet/sfc/falcon/efx.h void ef4_xmit_done(struct ef4_tx_queue *tx_queue, unsigned int index); index 47 drivers/net/ethernet/sfc/falcon/efx.h void ef4_rx_packet(struct ef4_rx_queue *rx_queue, unsigned int index, index 85 drivers/net/ethernet/sfc/falcon/farch.c unsigned int index) index 88 drivers/net/ethernet/sfc/falcon/farch.c value, index); index 171 drivers/net/ethernet/sfc/falcon/farch.c unsigned int index; index 179 drivers/net/ethernet/sfc/falcon/farch.c index = buffer->index + i; index 183 drivers/net/ethernet/sfc/falcon/farch.c index, (unsigned long long)dma_addr); index 188 drivers/net/ethernet/sfc/falcon/farch.c ef4_write_buf_tbl(efx, &buf_desc, index); index 197 drivers/net/ethernet/sfc/falcon/farch.c unsigned int start = buffer->index; index 198 drivers/net/ethernet/sfc/falcon/farch.c unsigned int end = (buffer->index + buffer->entries - 1); index 204 drivers/net/ethernet/sfc/falcon/farch.c buffer->index, buffer->index + buffer->entries - 1); index 235 drivers/net/ethernet/sfc/falcon/farch.c buffer->index = efx->next_buffer_table; index 240 drivers/net/ethernet/sfc/falcon/farch.c "(virt %p phys %llx)\n", buffer->index, index 241 drivers/net/ethernet/sfc/falcon/farch.c buffer->index + buffer->entries - 1, index 256 drivers/net/ethernet/sfc/falcon/farch.c "(virt %p phys %llx)\n", buffer->index, index 257 drivers/net/ethernet/sfc/falcon/farch.c buffer->index + buffer->entries - 1, index 386 drivers/net/ethernet/sfc/falcon/farch.c FRF_AZ_TX_DESCQ_BUF_BASE_ID, tx_queue->txd.index, index 471 drivers/net/ethernet/sfc/falcon/farch.c ef4_farch_build_rx_desc(struct ef4_rx_queue *rx_queue, unsigned index) index 476 drivers/net/ethernet/sfc/falcon/farch.c rxd = ef4_rx_desc(rx_queue, index); index 477 drivers/net/ethernet/sfc/falcon/farch.c rx_buf = ef4_rx_buffer(rx_queue, index); index 536 drivers/net/ethernet/sfc/falcon/farch.c ef4_rx_queue_index(rx_queue), rx_queue->rxd.index, index 537 drivers/net/ethernet/sfc/falcon/farch.c rx_queue->rxd.index + rx_queue->rxd.entries - 1); index 548 drivers/net/ethernet/sfc/falcon/farch.c FRF_AZ_RX_DESCQ_BUF_BASE_ID, rx_queue->rxd.index, index 948 drivers/net/ethernet/sfc/falcon/farch.c ef4_farch_handle_rx_bad_index(struct ef4_rx_queue *rx_queue, unsigned index) index 955 drivers/net/ethernet/sfc/falcon/farch.c index == ((rx_queue->removed_count + rx_queue->scatter_n - 1) & index 962 drivers/net/ethernet/sfc/falcon/farch.c dropped = (index - expected) & rx_queue->ptr_mask; index 965 drivers/net/ethernet/sfc/falcon/farch.c dropped, index, expected); index 1345 drivers/net/ethernet/sfc/falcon/farch.c channel->channel, channel->eventq.index, index 1346 drivers/net/ethernet/sfc/falcon/farch.c channel->eventq.index + channel->eventq.entries - 1); index 1358 drivers/net/ethernet/sfc/falcon/farch.c FRF_AZ_EVQ_BUF_BASE_ID, channel->eventq.index); index 1600 drivers/net/ethernet/sfc/falcon/farch.c if (context->index == efx->irq_level) { index 1608 drivers/net/ethernet/sfc/falcon/farch.c ef4_schedule_channel_irq(efx->channel[context->index]); index 2280 drivers/net/ethernet/sfc/falcon/farch.c unsigned int index) index 2288 drivers/net/ethernet/sfc/falcon/farch.c return range << EF4_FARCH_FILTER_INDEX_WIDTH | index; index 2837 drivers/net/ethernet/sfc/falcon/farch.c unsigned int index) index 2843 drivers/net/ethernet/sfc/falcon/farch.c if (test_bit(index, table->used_bitmap) && index 2844 drivers/net/ethernet/sfc/falcon/farch.c table->spec[index].priority == EF4_FILTER_PRI_HINT && index 2845 drivers/net/ethernet/sfc/falcon/farch.c rps_may_expire_flow(efx->net_dev, table->spec[index].dmaq_id, index 2846 drivers/net/ethernet/sfc/falcon/farch.c flow_id, index)) { index 2847 drivers/net/ethernet/sfc/falcon/farch.c ef4_farch_filter_table_clear_entry(efx, table, index); index 113 drivers/net/ethernet/sfc/falcon/io.h const ef4_qword_t *value, unsigned int index) index 115 drivers/net/ethernet/sfc/falcon/io.h unsigned int addr = index * sizeof(*value); index 164 drivers/net/ethernet/sfc/falcon/io.h ef4_qword_t *value, unsigned int index) index 166 drivers/net/ethernet/sfc/falcon/io.h unsigned int addr = index * sizeof(*value); index 196 drivers/net/ethernet/sfc/falcon/io.h unsigned int reg, unsigned int index) index 198 drivers/net/ethernet/sfc/falcon/io.h ef4_writeo(efx, value, reg + index * sizeof(ef4_oword_t)); index 203 drivers/net/ethernet/sfc/falcon/io.h unsigned int reg, unsigned int index) index 205 drivers/net/ethernet/sfc/falcon/io.h ef4_reado(efx, value, reg + index * sizeof(ef4_oword_t)); index 127 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned int index; index 459 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned int index; index 581 drivers/net/ethernet/sfc/falcon/net_driver.h const char *(*test_name) (struct ef4_nic *efx, unsigned int index); index 1126 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned int index); index 1167 drivers/net/ethernet/sfc/falcon/net_driver.h ef4_get_channel(struct ef4_nic *efx, unsigned index) index 1169 drivers/net/ethernet/sfc/falcon/net_driver.h EF4_BUG_ON_PARANOID(index >= efx->n_channels); index 1170 drivers/net/ethernet/sfc/falcon/net_driver.h return efx->channel[index]; index 1188 drivers/net/ethernet/sfc/falcon/net_driver.h ef4_get_tx_queue(struct ef4_nic *efx, unsigned index, unsigned type) index 1190 drivers/net/ethernet/sfc/falcon/net_driver.h EF4_BUG_ON_PARANOID(index >= efx->n_tx_channels || index 1192 drivers/net/ethernet/sfc/falcon/net_driver.h return &efx->channel[efx->tx_channel_offset + index]->tx_queue[type]; index 1270 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned int index) index 1272 drivers/net/ethernet/sfc/falcon/net_driver.h return &rx_queue->buffer[index]; index 450 drivers/net/ethernet/sfc/falcon/nic.c size_t index; index 452 drivers/net/ethernet/sfc/falcon/nic.c for_each_set_bit(index, mask, count) { index 453 drivers/net/ethernet/sfc/falcon/nic.c if (desc[index].name) { index 455 drivers/net/ethernet/sfc/falcon/nic.c strlcpy(names, desc[index].name, index 484 drivers/net/ethernet/sfc/falcon/nic.c size_t index; index 486 drivers/net/ethernet/sfc/falcon/nic.c for_each_set_bit(index, mask, count) { index 487 drivers/net/ethernet/sfc/falcon/nic.c if (desc[index].dma_width) { index 488 drivers/net/ethernet/sfc/falcon/nic.c const void *addr = dma_buf + desc[index].offset; index 491 drivers/net/ethernet/sfc/falcon/nic.c switch (desc[index].dma_width) { index 508 drivers/net/ethernet/sfc/falcon/nic.c stats[index] += val; index 510 drivers/net/ethernet/sfc/falcon/nic.c stats[index] = val; index 37 drivers/net/ethernet/sfc/falcon/nic.h unsigned int index) index 40 drivers/net/ethernet/sfc/falcon/nic.h (index & channel->eventq_mask); index 63 drivers/net/ethernet/sfc/falcon/nic.h ef4_tx_desc(struct ef4_tx_queue *tx_queue, unsigned int index) index 65 drivers/net/ethernet/sfc/falcon/nic.h return ((ef4_qword_t *) (tx_queue->txd.buf.addr)) + index; index 110 drivers/net/ethernet/sfc/falcon/nic.h ef4_rx_desc(struct ef4_rx_queue *rx_queue, unsigned int index) index 112 drivers/net/ethernet/sfc/falcon/nic.h return ((ef4_qword_t *) (rx_queue->rxd.buf.addr)) + index; index 429 drivers/net/ethernet/sfc/falcon/nic.h unsigned int index); index 111 drivers/net/ethernet/sfc/falcon/rx.c unsigned index; index 113 drivers/net/ethernet/sfc/falcon/rx.c index = rx_queue->page_remove & rx_queue->page_ptr_mask; index 114 drivers/net/ethernet/sfc/falcon/rx.c page = rx_queue->page_ring[index]; index 118 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->page_ring[index] = NULL; index 157 drivers/net/ethernet/sfc/falcon/rx.c unsigned index, count; index 188 drivers/net/ethernet/sfc/falcon/rx.c index = rx_queue->added_count & rx_queue->ptr_mask; index 189 drivers/net/ethernet/sfc/falcon/rx.c rx_buf = ef4_rx_buffer(rx_queue, index); index 247 drivers/net/ethernet/sfc/falcon/rx.c unsigned index; index 253 drivers/net/ethernet/sfc/falcon/rx.c index = rx_queue->page_add & rx_queue->page_ptr_mask; index 254 drivers/net/ethernet/sfc/falcon/rx.c if (rx_queue->page_ring[index] == NULL) { index 262 drivers/net/ethernet/sfc/falcon/rx.c if (read_index == index) index 264 drivers/net/ethernet/sfc/falcon/rx.c rx_queue->page_ring[index] = page; index 523 drivers/net/ethernet/sfc/falcon/rx.c void ef4_rx_packet(struct ef4_rx_queue *rx_queue, unsigned int index, index 532 drivers/net/ethernet/sfc/falcon/rx.c rx_buf = ef4_rx_buffer(rx_queue, index); index 552 drivers/net/ethernet/sfc/falcon/rx.c ef4_rx_queue_index(rx_queue), index, index 553 drivers/net/ethernet/sfc/falcon/rx.c (index + n_frags - 1) & rx_queue->ptr_mask, len, index 599 drivers/net/ethernet/sfc/falcon/rx.c rx_buf = ef4_rx_buffer(rx_queue, index); index 607 drivers/net/ethernet/sfc/falcon/rx.c channel->rx_pkt_index = index; index 788 drivers/net/ethernet/sfc/falcon/rx.c unsigned index = i & rx_queue->ptr_mask; index 789 drivers/net/ethernet/sfc/falcon/rx.c rx_buf = ef4_rx_buffer(rx_queue, index); index 898 drivers/net/ethernet/sfc/falcon/rx.c bool (*expire_one)(struct ef4_nic *efx, u32 flow_id, unsigned int index); index 899 drivers/net/ethernet/sfc/falcon/rx.c unsigned int channel_idx, index, size; index 907 drivers/net/ethernet/sfc/falcon/rx.c index = efx->rps_expire_index; index 911 drivers/net/ethernet/sfc/falcon/rx.c flow_id = channel->rps_flow_id[index]; index 914 drivers/net/ethernet/sfc/falcon/rx.c expire_one(efx, flow_id, index)) { index 917 drivers/net/ethernet/sfc/falcon/rx.c index, channel_idx, flow_id); index 918 drivers/net/ethernet/sfc/falcon/rx.c channel->rps_flow_id[index] = RPS_FLOW_ID_INVALID; index 920 drivers/net/ethernet/sfc/falcon/rx.c if (++index == size) { index 923 drivers/net/ethernet/sfc/falcon/rx.c index = 0; index 927 drivers/net/ethernet/sfc/falcon/rx.c efx->rps_expire_index = index; index 415 drivers/net/ethernet/sfc/falcon/tenxpress.c static const char *sfx7101_test_name(struct ef4_nic *efx, unsigned int index) index 417 drivers/net/ethernet/sfc/falcon/tenxpress.c if (index < ARRAY_SIZE(sfx7101_test_names)) index 418 drivers/net/ethernet/sfc/falcon/tenxpress.c return sfx7101_test_names[index]; index 28 drivers/net/ethernet/sfc/falcon/tx.c unsigned int index = ef4_tx_queue_get_insert_index(tx_queue); index 30 drivers/net/ethernet/sfc/falcon/tx.c &tx_queue->cb_page[index >> (PAGE_SHIFT - EF4_TX_CB_ORDER)]; index 32 drivers/net/ethernet/sfc/falcon/tx.c ((index << EF4_TX_CB_ORDER) + NET_IP_ALIGN) & (PAGE_SIZE - 1); index 355 drivers/net/ethernet/sfc/falcon/tx.c unsigned int index, index 362 drivers/net/ethernet/sfc/falcon/tx.c stop_index = (index + 1) & tx_queue->ptr_mask; index 398 drivers/net/ethernet/sfc/falcon/tx.c unsigned index, type; index 402 drivers/net/ethernet/sfc/falcon/tx.c index = skb_get_queue_mapping(skb); index 404 drivers/net/ethernet/sfc/falcon/tx.c if (index >= efx->n_tx_channels) { index 405 drivers/net/ethernet/sfc/falcon/tx.c index -= efx->n_tx_channels; index 408 drivers/net/ethernet/sfc/falcon/tx.c tx_queue = ef4_get_tx_queue(efx, index, type); index 491 drivers/net/ethernet/sfc/falcon/tx.c void ef4_xmit_done(struct ef4_tx_queue *tx_queue, unsigned int index) index 498 drivers/net/ethernet/sfc/falcon/tx.c EF4_BUG_ON_PARANOID(index > tx_queue->ptr_mask); index 500 drivers/net/ethernet/sfc/falcon/tx.c ef4_dequeue_buffers(tx_queue, index, &pkts_compl, &bytes_compl); index 516 drivers/net/ethernet/sfc/falcon/txc43128_phy.c static const char *txc43128_test_name(struct ef4_nic *efx, unsigned int index) index 518 drivers/net/ethernet/sfc/falcon/txc43128_phy.c if (index < ARRAY_SIZE(txc43128_test_names)) index 519 drivers/net/ethernet/sfc/falcon/txc43128_phy.c return txc43128_test_names[index]; index 87 drivers/net/ethernet/sfc/farch.c unsigned int index) index 90 drivers/net/ethernet/sfc/farch.c value, index); index 173 drivers/net/ethernet/sfc/farch.c unsigned int index; index 181 drivers/net/ethernet/sfc/farch.c index = buffer->index + i; index 185 drivers/net/ethernet/sfc/farch.c index, (unsigned long long)dma_addr); index 190 drivers/net/ethernet/sfc/farch.c efx_write_buf_tbl(efx, &buf_desc, index); index 199 drivers/net/ethernet/sfc/farch.c unsigned int start = buffer->index; index 200 drivers/net/ethernet/sfc/farch.c unsigned int end = (buffer->index + buffer->entries - 1); index 206 drivers/net/ethernet/sfc/farch.c buffer->index, buffer->index + buffer->entries - 1); index 240 drivers/net/ethernet/sfc/farch.c buffer->index = efx->next_buffer_table; index 249 drivers/net/ethernet/sfc/farch.c "(virt %p phys %llx)\n", buffer->index, index 250 drivers/net/ethernet/sfc/farch.c buffer->index + buffer->entries - 1, index 265 drivers/net/ethernet/sfc/farch.c "(virt %p phys %llx)\n", buffer->index, index 266 drivers/net/ethernet/sfc/farch.c buffer->index + buffer->entries - 1, index 393 drivers/net/ethernet/sfc/farch.c FRF_AZ_TX_DESCQ_BUF_BASE_ID, tx_queue->txd.index, index 459 drivers/net/ethernet/sfc/farch.c efx_farch_build_rx_desc(struct efx_rx_queue *rx_queue, unsigned index) index 464 drivers/net/ethernet/sfc/farch.c rxd = efx_rx_desc(rx_queue, index); index 465 drivers/net/ethernet/sfc/farch.c rx_buf = efx_rx_buffer(rx_queue, index); index 518 drivers/net/ethernet/sfc/farch.c efx_rx_queue_index(rx_queue), rx_queue->rxd.index, index 519 drivers/net/ethernet/sfc/farch.c rx_queue->rxd.index + rx_queue->rxd.entries - 1); index 530 drivers/net/ethernet/sfc/farch.c FRF_AZ_RX_DESCQ_BUF_BASE_ID, rx_queue->rxd.index, index 937 drivers/net/ethernet/sfc/farch.c efx_farch_handle_rx_bad_index(struct efx_rx_queue *rx_queue, unsigned index) index 944 drivers/net/ethernet/sfc/farch.c index == ((rx_queue->removed_count + rx_queue->scatter_n - 1) & index 951 drivers/net/ethernet/sfc/farch.c dropped = (index - expected) & rx_queue->ptr_mask; index 954 drivers/net/ethernet/sfc/farch.c dropped, index, expected); index 1350 drivers/net/ethernet/sfc/farch.c channel->channel, channel->eventq.index, index 1351 drivers/net/ethernet/sfc/farch.c channel->eventq.index + channel->eventq.entries - 1); index 1369 drivers/net/ethernet/sfc/farch.c FRF_AZ_EVQ_BUF_BASE_ID, channel->eventq.index); index 1609 drivers/net/ethernet/sfc/farch.c if (context->index == efx->irq_level) { index 1617 drivers/net/ethernet/sfc/farch.c efx_schedule_channel_irq(efx->channel[context->index]); index 2339 drivers/net/ethernet/sfc/farch.c unsigned int index) index 2347 drivers/net/ethernet/sfc/farch.c return range << EFX_FARCH_FILTER_INDEX_WIDTH | index; index 2903 drivers/net/ethernet/sfc/farch.c unsigned int index) index 2913 drivers/net/ethernet/sfc/farch.c if (test_bit(index, table->used_bitmap) && index 2914 drivers/net/ethernet/sfc/farch.c table->spec[index].priority == EFX_FILTER_PRI_HINT) { index 2918 drivers/net/ethernet/sfc/farch.c efx_farch_filter_to_gen_spec(&spec, &table->spec[index]); index 2931 drivers/net/ethernet/sfc/farch.c if (!efx_rps_check_rule(rule, index, &force)) index 2940 drivers/net/ethernet/sfc/farch.c efx_farch_filter_table_clear_entry(efx, table, index); index 125 drivers/net/ethernet/sfc/io.h const efx_qword_t *value, unsigned int index) index 127 drivers/net/ethernet/sfc/io.h unsigned int addr = index * sizeof(*value); index 176 drivers/net/ethernet/sfc/io.h efx_qword_t *value, unsigned int index) index 178 drivers/net/ethernet/sfc/io.h unsigned int addr = index * sizeof(*value); index 208 drivers/net/ethernet/sfc/io.h unsigned int reg, unsigned int index) index 210 drivers/net/ethernet/sfc/io.h efx_writeo(efx, value, reg + index * sizeof(efx_oword_t)); index 215 drivers/net/ethernet/sfc/io.h unsigned int reg, unsigned int index) index 217 drivers/net/ethernet/sfc/io.h efx_reado(efx, value, reg + index * sizeof(efx_oword_t)); index 1710 drivers/net/ethernet/sfc/mcdi.c unsigned int flags, index; index 1758 drivers/net/ethernet/sfc/mcdi.c for (index = 0; index 1759 drivers/net/ethernet/sfc/mcdi.c index < MC_CMD_GET_ASSERTS_OUT_GP_REGS_OFFS_NUM; index 1760 drivers/net/ethernet/sfc/mcdi.c index++) index 1762 drivers/net/ethernet/sfc/mcdi.c 1 + index, index 1764 drivers/net/ethernet/sfc/mcdi.c index)); index 137 drivers/net/ethernet/sfc/mcdi_mon.c unsigned int index; index 161 drivers/net/ethernet/sfc/mcdi_mon.c static int efx_mcdi_mon_get_entry(struct device *dev, unsigned int index, index 179 drivers/net/ethernet/sfc/mcdi_mon.c *entry = ((efx_dword_t *)hwmon->dma_buf.addr)[index]; index 196 drivers/net/ethernet/sfc/mcdi_mon.c rc = efx_mcdi_mon_get_entry(dev, mon_attr->index, &entry); index 260 drivers/net/ethernet/sfc/mcdi_mon.c rc = efx_mcdi_mon_get_entry(dev, mon_attr->index, &entry); index 282 drivers/net/ethernet/sfc/mcdi_mon.c unsigned int index, unsigned int type, index 289 drivers/net/ethernet/sfc/mcdi_mon.c attr->index = index; index 880 drivers/net/ethernet/sfc/mcdi_port.c unsigned int index) index 885 drivers/net/ethernet/sfc/mcdi_port.c if (index == 0) index 887 drivers/net/ethernet/sfc/mcdi_port.c --index; index 892 drivers/net/ethernet/sfc/mcdi_port.c if (index == 0) index 894 drivers/net/ethernet/sfc/mcdi_port.c --index; index 897 drivers/net/ethernet/sfc/mcdi_port.c if (index < ARRAY_SIZE(mcdi_sft9001_cable_diag_names)) index 898 drivers/net/ethernet/sfc/mcdi_port.c return mcdi_sft9001_cable_diag_names[index]; index 899 drivers/net/ethernet/sfc/mcdi_port.c index -= ARRAY_SIZE(mcdi_sft9001_cable_diag_names); index 131 drivers/net/ethernet/sfc/net_driver.h unsigned int index; index 522 drivers/net/ethernet/sfc/net_driver.h unsigned int index; index 657 drivers/net/ethernet/sfc/net_driver.h const char *(*test_name) (struct efx_nic *efx, unsigned int index); index 1371 drivers/net/ethernet/sfc/net_driver.h unsigned int index); index 1448 drivers/net/ethernet/sfc/net_driver.h efx_get_channel(struct efx_nic *efx, unsigned index) index 1450 drivers/net/ethernet/sfc/net_driver.h EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_channels); index 1451 drivers/net/ethernet/sfc/net_driver.h return efx->channel[index]; index 1469 drivers/net/ethernet/sfc/net_driver.h efx_get_tx_queue(struct efx_nic *efx, unsigned index, unsigned type) index 1471 drivers/net/ethernet/sfc/net_driver.h EFX_WARN_ON_ONCE_PARANOID(index >= efx->n_tx_channels || index 1473 drivers/net/ethernet/sfc/net_driver.h return &efx->channel[efx->tx_channel_offset + index]->tx_queue[type]; index 1551 drivers/net/ethernet/sfc/net_driver.h unsigned int index) index 1553 drivers/net/ethernet/sfc/net_driver.h return &rx_queue->buffer[index]; index 457 drivers/net/ethernet/sfc/nic.c size_t index; index 459 drivers/net/ethernet/sfc/nic.c for_each_set_bit(index, mask, count) { index 460 drivers/net/ethernet/sfc/nic.c if (desc[index].name) { index 462 drivers/net/ethernet/sfc/nic.c strlcpy(names, desc[index].name, index 491 drivers/net/ethernet/sfc/nic.c size_t index; index 493 drivers/net/ethernet/sfc/nic.c for_each_set_bit(index, mask, count) { index 494 drivers/net/ethernet/sfc/nic.c if (desc[index].dma_width) { index 495 drivers/net/ethernet/sfc/nic.c const void *addr = dma_buf + desc[index].offset; index 498 drivers/net/ethernet/sfc/nic.c switch (desc[index].dma_width) { index 515 drivers/net/ethernet/sfc/nic.c stats[index] += val; index 517 drivers/net/ethernet/sfc/nic.c stats[index] = val; index 35 drivers/net/ethernet/sfc/nic.h unsigned int index) index 38 drivers/net/ethernet/sfc/nic.h (index & channel->eventq_mask); index 61 drivers/net/ethernet/sfc/nic.h efx_tx_desc(struct efx_tx_queue *tx_queue, unsigned int index) index 63 drivers/net/ethernet/sfc/nic.h return ((efx_qword_t *) (tx_queue->txd.buf.addr)) + index; index 133 drivers/net/ethernet/sfc/nic.h efx_rx_desc(struct efx_rx_queue *rx_queue, unsigned int index) index 135 drivers/net/ethernet/sfc/nic.h return ((efx_qword_t *) (rx_queue->rxd.buf.addr)) + index; index 604 drivers/net/ethernet/sfc/nic.h unsigned int index); index 111 drivers/net/ethernet/sfc/rx.c unsigned index; index 113 drivers/net/ethernet/sfc/rx.c index = rx_queue->page_remove & rx_queue->page_ptr_mask; index 114 drivers/net/ethernet/sfc/rx.c page = rx_queue->page_ring[index]; index 118 drivers/net/ethernet/sfc/rx.c rx_queue->page_ring[index] = NULL; index 157 drivers/net/ethernet/sfc/rx.c unsigned index, count; index 188 drivers/net/ethernet/sfc/rx.c index = rx_queue->added_count & rx_queue->ptr_mask; index 189 drivers/net/ethernet/sfc/rx.c rx_buf = efx_rx_buffer(rx_queue, index); index 247 drivers/net/ethernet/sfc/rx.c unsigned index; index 253 drivers/net/ethernet/sfc/rx.c index = rx_queue->page_add & rx_queue->page_ptr_mask; index 254 drivers/net/ethernet/sfc/rx.c if (rx_queue->page_ring[index] == NULL) { index 262 drivers/net/ethernet/sfc/rx.c if (read_index == index) index 264 drivers/net/ethernet/sfc/rx.c rx_queue->page_ring[index] = page; index 512 drivers/net/ethernet/sfc/rx.c void efx_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index, index 521 drivers/net/ethernet/sfc/rx.c rx_buf = efx_rx_buffer(rx_queue, index); index 541 drivers/net/ethernet/sfc/rx.c efx_rx_queue_index(rx_queue), index, index 542 drivers/net/ethernet/sfc/rx.c (index + n_frags - 1) & rx_queue->ptr_mask, len, index 588 drivers/net/ethernet/sfc/rx.c rx_buf = efx_rx_buffer(rx_queue, index); index 596 drivers/net/ethernet/sfc/rx.c channel->rx_pkt_index = index; index 786 drivers/net/ethernet/sfc/rx.c unsigned index = i & rx_queue->ptr_mask; index 787 drivers/net/ethernet/sfc/rx.c rx_buf = efx_rx_buffer(rx_queue, index); index 994 drivers/net/ethernet/sfc/rx.c bool (*expire_one)(struct efx_nic *efx, u32 flow_id, unsigned int index); index 995 drivers/net/ethernet/sfc/rx.c unsigned int channel_idx, index, size; index 1002 drivers/net/ethernet/sfc/rx.c index = efx->rps_expire_index; index 1006 drivers/net/ethernet/sfc/rx.c flow_id = channel->rps_flow_id[index]; index 1009 drivers/net/ethernet/sfc/rx.c expire_one(efx, flow_id, index)) { index 1012 drivers/net/ethernet/sfc/rx.c index, channel_idx, flow_id); index 1013 drivers/net/ethernet/sfc/rx.c channel->rps_flow_id[index] = RPS_FLOW_ID_INVALID; index 1015 drivers/net/ethernet/sfc/rx.c if (++index == size) { index 1018 drivers/net/ethernet/sfc/rx.c index = 0; index 1022 drivers/net/ethernet/sfc/rx.c efx->rps_expire_index = index; index 88 drivers/net/ethernet/sfc/siena_sriov.c unsigned int index; index 190 drivers/net/ethernet/sfc/siena_sriov.c static unsigned abs_index(struct siena_vf *vf, unsigned index) index 192 drivers/net/ethernet/sfc/siena_sriov.c return EFX_VI_BASE + vf->index * efx_vf_size(vf->efx) + index; index 245 drivers/net/ethernet/sfc/siena_sriov.c unsigned int index, used; index 256 drivers/net/ethernet/sfc/siena_sriov.c for (index = 0; index < count; index++) { index 257 drivers/net/ethernet/sfc/siena_sriov.c record = MCDI_ARRAY_STRUCT_PTR(inbuf, MEMCPY_IN_RECORD, index); index 472 drivers/net/ethernet/sfc/siena_sriov.c EFX_VI_BASE + vf->index * efx_vf_size(efx), index 493 drivers/net/ethernet/sfc/siena_sriov.c static bool bad_vf_index(struct efx_nic *efx, unsigned index) index 495 drivers/net/ethernet/sfc/siena_sriov.c return index >= efx_vf_size(efx); index 532 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_evq = req->u.init_evq.index; index 573 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_rxq = req->u.init_rxq.index; index 590 drivers/net/ethernet/sfc/siena_sriov.c if (__test_and_set_bit(req->u.init_rxq.index, vf->rxq_mask)) index 614 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_txq = req->u.init_txq.index; index 633 drivers/net/ethernet/sfc/siena_sriov.c if (__test_and_set_bit(req->u.init_txq.index, vf->txq_mask)) index 681 drivers/net/ethernet/sfc/siena_sriov.c unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); index 683 drivers/net/ethernet/sfc/siena_sriov.c unsigned index, rxqs_count; index 696 drivers/net/ethernet/sfc/siena_sriov.c for (index = 0; index < count; ++index) { index 697 drivers/net/ethernet/sfc/siena_sriov.c if (test_bit(index, vf->txq_mask)) { index 701 drivers/net/ethernet/sfc/siena_sriov.c vf_offset + index); index 704 drivers/net/ethernet/sfc/siena_sriov.c if (test_bit(index, vf->rxq_mask)) { index 707 drivers/net/ethernet/sfc/siena_sriov.c rxqs_count, vf_offset + index); index 723 drivers/net/ethernet/sfc/siena_sriov.c for (index = 0; index < count; ++index) { index 724 drivers/net/ethernet/sfc/siena_sriov.c if (test_and_clear_bit(index, vf->rxq_retry_mask)) { index 728 drivers/net/ethernet/sfc/siena_sriov.c rxqs_count, vf_offset + index); index 740 drivers/net/ethernet/sfc/siena_sriov.c for (index = 0; index < count; ++index) { index 742 drivers/net/ethernet/sfc/siena_sriov.c vf_offset + index); index 744 drivers/net/ethernet/sfc/siena_sriov.c vf_offset + index); index 746 drivers/net/ethernet/sfc/siena_sriov.c vf_offset + index); index 748 drivers/net/ethernet/sfc/siena_sriov.c vf_offset + index); index 1194 drivers/net/ethernet/sfc/siena_sriov.c unsigned index; index 1203 drivers/net/ethernet/sfc/siena_sriov.c for (index = 0; index < efx->vf_count; ++index) { index 1204 drivers/net/ethernet/sfc/siena_sriov.c vf = nic_data->vf + index; index 1207 drivers/net/ethernet/sfc/siena_sriov.c vf->index = index; index 1243 drivers/net/ethernet/sfc/siena_sriov.c unsigned index, devfn, sriov, buftbl_base; index 1257 drivers/net/ethernet/sfc/siena_sriov.c for (index = 0; index < efx->vf_count; ++index) { index 1258 drivers/net/ethernet/sfc/siena_sriov.c vf = nic_data->vf + index; index 1545 drivers/net/ethernet/sfc/siena_sriov.c vf->index, rel); index 36 drivers/net/ethernet/sfc/tx.c unsigned int index = efx_tx_queue_get_insert_index(tx_queue); index 38 drivers/net/ethernet/sfc/tx.c &tx_queue->cb_page[index >> (PAGE_SHIFT - EFX_TX_CB_ORDER)]; index 40 drivers/net/ethernet/sfc/tx.c ((index << EFX_TX_CB_ORDER) + NET_IP_ALIGN) & (PAGE_SIZE - 1); index 606 drivers/net/ethernet/sfc/tx.c unsigned int index, index 613 drivers/net/ethernet/sfc/tx.c stop_index = (index + 1) & tx_queue->ptr_mask; index 649 drivers/net/ethernet/sfc/tx.c unsigned index, type; index 659 drivers/net/ethernet/sfc/tx.c index = skb_get_queue_mapping(skb); index 661 drivers/net/ethernet/sfc/tx.c if (index >= efx->n_tx_channels) { index 662 drivers/net/ethernet/sfc/tx.c index -= efx->n_tx_channels; index 665 drivers/net/ethernet/sfc/tx.c tx_queue = efx_get_tx_queue(efx, index, type); index 748 drivers/net/ethernet/sfc/tx.c void efx_xmit_done(struct efx_tx_queue *tx_queue, unsigned int index) index 755 drivers/net/ethernet/sfc/tx.c EFX_WARN_ON_ONCE_PARANOID(index > tx_queue->ptr_mask); index 757 drivers/net/ethernet/sfc/tx.c efx_dequeue_buffers(tx_queue, index, &pkts_compl, &bytes_compl); index 169 drivers/net/ethernet/sfc/vfdi.h u32 index; index 174 drivers/net/ethernet/sfc/vfdi.h u32 index; index 184 drivers/net/ethernet/sfc/vfdi.h u32 index; index 263 drivers/net/ethernet/sgi/ioc3-eth.c int a, b, index, disc; index 271 drivers/net/ethernet/sgi/ioc3-eth.c for (index = 0, disc = 0; index < 64; index++) { index 282 drivers/net/ethernet/sgi/ioc3-eth.c if (index == *last) { index 283 drivers/net/ethernet/sgi/ioc3-eth.c address |= 1UL << index; index 284 drivers/net/ethernet/sgi/ioc3-eth.c } else if (index > *last) { index 285 drivers/net/ethernet/sgi/ioc3-eth.c address &= ~(1UL << index); index 286 drivers/net/ethernet/sgi/ioc3-eth.c disc = index; index 287 drivers/net/ethernet/sgi/ioc3-eth.c } else if ((address & (1UL << index)) == 0) { index 288 drivers/net/ethernet/sgi/ioc3-eth.c disc = index; index 290 drivers/net/ethernet/sgi/ioc3-eth.c nic_write_bit(mcr, address & (1UL << index)); index 294 drivers/net/ethernet/sgi/ioc3-eth.c address |= 1UL << index; index 296 drivers/net/ethernet/sgi/ioc3-eth.c address &= ~(1UL << index); index 2198 drivers/net/ethernet/smsc/smc91x.c const char *name, int index, index 2204 drivers/net/ethernet/smsc/smc91x.c gpio = devm_gpiod_get_index_optional(dev, name, index, flags); index 744 drivers/net/ethernet/smsc/smsc9420.c static void smsc9420_rx_handoff(struct smsc9420_pdata *pd, const int index, index 761 drivers/net/ethernet/smsc/smsc9420.c pci_unmap_single(pd->pdev, pd->rx_buffers[index].mapping, index 763 drivers/net/ethernet/smsc/smsc9420.c pd->rx_buffers[index].mapping = 0; index 765 drivers/net/ethernet/smsc/smsc9420.c skb = pd->rx_buffers[index].skb; index 766 drivers/net/ethernet/smsc/smsc9420.c pd->rx_buffers[index].skb = NULL; index 783 drivers/net/ethernet/smsc/smsc9420.c static int smsc9420_alloc_rx_buffer(struct smsc9420_pdata *pd, int index) index 788 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(pd->rx_buffers[index].skb); index 789 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(pd->rx_buffers[index].mapping); index 802 drivers/net/ethernet/smsc/smsc9420.c pd->rx_buffers[index].skb = skb; index 803 drivers/net/ethernet/smsc/smsc9420.c pd->rx_buffers[index].mapping = mapping; index 804 drivers/net/ethernet/smsc/smsc9420.c pd->rx_ring[index].buffer1 = mapping + NET_IP_ALIGN; index 805 drivers/net/ethernet/smsc/smsc9420.c pd->rx_ring[index].status = RDES0_OWN_; index 897 drivers/net/ethernet/smsc/smsc9420.c int index = pd->tx_ring_tail; index 901 drivers/net/ethernet/smsc/smsc9420.c status = pd->tx_ring[index].status; index 902 drivers/net/ethernet/smsc/smsc9420.c length = pd->tx_ring[index].length; index 910 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(!pd->tx_buffers[index].skb); index 911 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(!pd->tx_buffers[index].mapping); index 913 drivers/net/ethernet/smsc/smsc9420.c pci_unmap_single(pd->pdev, pd->tx_buffers[index].mapping, index 914 drivers/net/ethernet/smsc/smsc9420.c pd->tx_buffers[index].skb->len, PCI_DMA_TODEVICE); index 915 drivers/net/ethernet/smsc/smsc9420.c pd->tx_buffers[index].mapping = 0; index 917 drivers/net/ethernet/smsc/smsc9420.c dev_kfree_skb_any(pd->tx_buffers[index].skb); index 918 drivers/net/ethernet/smsc/smsc9420.c pd->tx_buffers[index].skb = NULL; index 920 drivers/net/ethernet/smsc/smsc9420.c pd->tx_ring[index].buffer1 = 0; index 932 drivers/net/ethernet/smsc/smsc9420.c int index = pd->tx_ring_head; index 940 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(pd->tx_ring[index].status & TDES0_OWN_); index 941 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(pd->tx_buffers[index].skb); index 942 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(pd->tx_buffers[index].mapping); index 952 drivers/net/ethernet/smsc/smsc9420.c pd->tx_buffers[index].skb = skb; index 953 drivers/net/ethernet/smsc/smsc9420.c pd->tx_buffers[index].mapping = mapping; index 962 drivers/net/ethernet/smsc/smsc9420.c if (unlikely(index == (TX_RING_SIZE - 1))) index 965 drivers/net/ethernet/smsc/smsc9420.c pd->tx_ring[index].buffer1 = mapping; index 966 drivers/net/ethernet/smsc/smsc9420.c pd->tx_ring[index].length = tmp_desc1; index 973 drivers/net/ethernet/smsc/smsc9420.c pd->tx_ring[index].status = TDES0_OWN_; index 105 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c int ret, index; index 152 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c index = of_property_match_string(np_sgmii_adapter, "reg-names", index 155 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c if (index >= 0) { index 156 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c if (of_address_to_resource(np_sgmii_adapter, index, index 174 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c index = of_property_match_string(np_sgmii_adapter, "reg-names", index 177 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c if (index >= 0) { index 178 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c if (of_address_to_resource(np_sgmii_adapter, index, index 196 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c index = of_property_match_string(np_sgmii_adapter, "reg-names", index 199 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c if (index >= 0) { index 200 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c if (of_address_to_resource(np_sgmii_adapter, index, index 289 drivers/net/ethernet/stmicro/stmmac/dwmac5.c int index, unsigned long *count, const char **desc) index 291 drivers/net/ethernet/stmicro/stmmac/dwmac5.c int module = index / 32, offset = index % 32; index 299 drivers/net/ethernet/stmicro/stmmac/dwmac5.c *count = *(ptr + index); index 499 drivers/net/ethernet/stmicro/stmmac/dwmac5.c int dwmac5_flex_pps_config(void __iomem *ioaddr, int index, index 503 drivers/net/ethernet/stmicro/stmmac/dwmac5.c u32 tnsec = readl(ioaddr + MAC_PPSx_TARGET_TIME_NSEC(index)); index 514 drivers/net/ethernet/stmicro/stmmac/dwmac5.c val &= ~PPSx_MASK(index); index 517 drivers/net/ethernet/stmicro/stmmac/dwmac5.c val |= PPSCMDx(index, 0x5); index 523 drivers/net/ethernet/stmicro/stmmac/dwmac5.c val |= PPSCMDx(index, 0x2); index 524 drivers/net/ethernet/stmicro/stmmac/dwmac5.c val |= TRGTMODSELx(index, 0x2); index 527 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(cfg->start.tv_sec, ioaddr + MAC_PPSx_TARGET_TIME_SEC(index)); index 531 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(cfg->start.tv_nsec, ioaddr + MAC_PPSx_TARGET_TIME_NSEC(index)); index 541 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(period - 1, ioaddr + MAC_PPSx_INTERVAL(index)); index 547 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(period - 1, ioaddr + MAC_PPSx_WIDTH(index)); index 80 drivers/net/ethernet/stmicro/stmmac/dwmac5.h int index, unsigned long *count, const char **desc); index 83 drivers/net/ethernet/stmicro/stmmac/dwmac5.h int dwmac5_flex_pps_config(void __iomem *ioaddr, int index, index 859 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c int index, unsigned long *count, index 862 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c int module = index / 32, offset = index % 32; index 870 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c *count = *(ptr + index); index 1079 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static int dwxgmac2_flex_pps_config(void __iomem *ioaddr, int index, index 1083 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 tnsec = readl(ioaddr + XGMAC_PPSx_TARGET_TIME_NSEC(index)); index 1094 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c val &= ~XGMAC_PPSx_MASK(index); index 1097 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c val |= XGMAC_PPSCMDx(index, XGMAC_PPSCMD_STOP); index 1102 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c val |= XGMAC_PPSCMDx(index, XGMAC_PPSCMD_START); index 1103 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c val |= XGMAC_TRGTMODSELx(index, XGMAC_PPSCMD_START); index 1106 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(cfg->start.tv_sec, ioaddr + XGMAC_PPSx_TARGET_TIME_SEC(index)); index 1110 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(cfg->start.tv_nsec, ioaddr + XGMAC_PPSx_TARGET_TIME_NSEC(index)); index 1120 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(period - 1, ioaddr + XGMAC_PPSx_INTERVAL(index)); index 1126 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(period - 1, ioaddr + XGMAC_PPSx_WIDTH(index)); index 345 drivers/net/ethernet/stmicro/stmmac/hwif.h int index, unsigned long *count, const char **desc); index 350 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*flex_pps_config)(void __iomem *ioaddr, int index, index 91 drivers/net/ethernet/stmicro/stmmac/stmmac.h u32 index; index 3670 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c u32 chan = ch->index; index 3687 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c u32 chan = ch->index; index 4632 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ch->index = queue; index 147 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c cfg = &priv->pps[rq->perout.index]; index 156 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c rq->perout.index, cfg, on, index 1359 drivers/net/ethernet/sun/cassini.c static inline cas_page_t *cas_page_spare(struct cas *cp, const int index) index 1361 drivers/net/ethernet/sun/cassini.c cas_page_t *page = cp->rx_pages[1][index]; index 1378 drivers/net/ethernet/sun/cassini.c const int index) index 1384 drivers/net/ethernet/sun/cassini.c if (page_count(page0[index]->buffer) > 1) { index 1385 drivers/net/ethernet/sun/cassini.c cas_page_t *new = cas_page_spare(cp, index); index 1387 drivers/net/ethernet/sun/cassini.c page1[index] = page0[index]; index 1388 drivers/net/ethernet/sun/cassini.c page0[index] = new; index 1391 drivers/net/ethernet/sun/cassini.c RX_USED_SET(page0[index], 0); index 1392 drivers/net/ethernet/sun/cassini.c return page0[index]; index 1414 drivers/net/ethernet/sun/cassini.c rxd[i].index = cpu_to_le64(CAS_BASE(RX_INDEX_NUM, i) | index 2178 drivers/net/ethernet/sun/cassini.c static void cas_post_page(struct cas *cp, const int ring, const int index) index 2185 drivers/net/ethernet/sun/cassini.c new = cas_page_swap(cp, ring, index); index 2187 drivers/net/ethernet/sun/cassini.c cp->init_rxds[ring][entry].index = index 2188 drivers/net/ethernet/sun/cassini.c cpu_to_le64(CAS_BASE(RX_INDEX_NUM, index) | index 2603 drivers/net/ethernet/sun/cassini.h __le64 index; index 2631 drivers/net/ethernet/sun/niu.c static int niu_set_alt_mac(struct niu *np, int index, unsigned char *addr) index 2637 drivers/net/ethernet/sun/niu.c if (index >= niu_num_alt_addr(np)) index 2641 drivers/net/ethernet/sun/niu.c nw64_mac(XMAC_ALT_ADDR0(index), reg0); index 2642 drivers/net/ethernet/sun/niu.c nw64_mac(XMAC_ALT_ADDR1(index), reg1); index 2643 drivers/net/ethernet/sun/niu.c nw64_mac(XMAC_ALT_ADDR2(index), reg2); index 2645 drivers/net/ethernet/sun/niu.c nw64_mac(BMAC_ALT_ADDR0(index), reg0); index 2646 drivers/net/ethernet/sun/niu.c nw64_mac(BMAC_ALT_ADDR1(index), reg1); index 2647 drivers/net/ethernet/sun/niu.c nw64_mac(BMAC_ALT_ADDR2(index), reg2); index 2653 drivers/net/ethernet/sun/niu.c static int niu_enable_alt_mac(struct niu *np, int index, int on) index 2658 drivers/net/ethernet/sun/niu.c if (index >= niu_num_alt_addr(np)) index 2663 drivers/net/ethernet/sun/niu.c mask = 1 << index; index 2666 drivers/net/ethernet/sun/niu.c mask = 1 << (index + 1); index 2747 drivers/net/ethernet/sun/niu.c static void vlan_tbl_write(struct niu *np, unsigned long index, index 2750 drivers/net/ethernet/sun/niu.c u64 reg_val = nr64(ENET_VLAN_TBL(index)); index 2762 drivers/net/ethernet/sun/niu.c nw64(ENET_VLAN_TBL(index), reg_val); index 2788 drivers/net/ethernet/sun/niu.c static int tcam_flush(struct niu *np, int index) index 2792 drivers/net/ethernet/sun/niu.c nw64(TCAM_CTL, (TCAM_CTL_RWC_TCAM_WRITE | index)); index 2798 drivers/net/ethernet/sun/niu.c static int tcam_read(struct niu *np, int index, index 2803 drivers/net/ethernet/sun/niu.c nw64(TCAM_CTL, (TCAM_CTL_RWC_TCAM_READ | index)); index 2819 drivers/net/ethernet/sun/niu.c static int tcam_write(struct niu *np, int index, index 2830 drivers/net/ethernet/sun/niu.c nw64(TCAM_CTL, (TCAM_CTL_RWC_TCAM_WRITE | index)); index 2836 drivers/net/ethernet/sun/niu.c static int tcam_assoc_read(struct niu *np, int index, u64 *data) index 2840 drivers/net/ethernet/sun/niu.c nw64(TCAM_CTL, (TCAM_CTL_RWC_RAM_READ | index)); index 2849 drivers/net/ethernet/sun/niu.c static int tcam_assoc_write(struct niu *np, int index, u64 assoc_data) index 2852 drivers/net/ethernet/sun/niu.c nw64(TCAM_CTL, (TCAM_CTL_RWC_RAM_WRITE | index)); index 3011 drivers/net/ethernet/sun/niu.c static u64 hash_addr_regval(unsigned long index, unsigned long num_entries) index 3013 drivers/net/ethernet/sun/niu.c return (u64)index | (num_entries == 1 ? HASH_TBL_ADDR_AUTOINC : 0); index 3018 drivers/net/ethernet/sun/niu.c unsigned long index, unsigned long num_entries, index 3021 drivers/net/ethernet/sun/niu.c u64 val = hash_addr_regval(index, num_entries); index 3025 drivers/net/ethernet/sun/niu.c index + num_entries > FCRAM_SIZE) index 3037 drivers/net/ethernet/sun/niu.c unsigned long index, unsigned long num_entries, index 3040 drivers/net/ethernet/sun/niu.c u64 val = hash_addr_regval(index, num_entries); index 3044 drivers/net/ethernet/sun/niu.c index + (num_entries * 8) > FCRAM_SIZE) index 3287 drivers/net/ethernet/sun/niu.c if (p->index == addr) { index 3302 drivers/net/ethernet/sun/niu.c page->index = base; index 3341 drivers/net/ethernet/sun/niu.c int index = rp->rbr_index; index 3345 drivers/net/ethernet/sun/niu.c int err = niu_rbr_add_page(np, rp, mask, index); index 3366 drivers/net/ethernet/sun/niu.c unsigned int index = rp->rcr_index; index 3377 drivers/net/ethernet/sun/niu.c val = le64_to_cpup(&rp->rcr[index]); index 3384 drivers/net/ethernet/sun/niu.c if ((page->index + PAGE_SIZE) - rcr_size == addr) { index 3386 drivers/net/ethernet/sun/niu.c np->ops->unmap_page(np->device, page->index, index 3388 drivers/net/ethernet/sun/niu.c page->index = 0; index 3394 drivers/net/ethernet/sun/niu.c index = NEXT_RCR(rp, index); index 3399 drivers/net/ethernet/sun/niu.c rp->rcr_index = index; index 3407 drivers/net/ethernet/sun/niu.c unsigned int index = rp->rcr_index; index 3424 drivers/net/ethernet/sun/niu.c val = le64_to_cpup(&rp->rcr[index]); index 3453 drivers/net/ethernet/sun/niu.c if ((page->index + rp->rbr_block_size) - rcr_size == addr) { index 3455 drivers/net/ethernet/sun/niu.c np->ops->unmap_page(np->device, page->index, index 3457 drivers/net/ethernet/sun/niu.c page->index = 0; index 3463 drivers/net/ethernet/sun/niu.c index = NEXT_RCR(rp, index); index 3468 drivers/net/ethernet/sun/niu.c rp->rcr_index = index; index 3497 drivers/net/ethernet/sun/niu.c int err, index = rp->rbr_index; index 3500 drivers/net/ethernet/sun/niu.c while (index < (rp->rbr_table_size - blocks_per_page)) { index 3501 drivers/net/ethernet/sun/niu.c err = niu_rbr_add_page(np, rp, mask, index); index 3505 drivers/net/ethernet/sun/niu.c index += blocks_per_page; index 3508 drivers/net/ethernet/sun/niu.c rp->rbr_index = index; index 3522 drivers/net/ethernet/sun/niu.c u64 base = page->index; index 3526 drivers/net/ethernet/sun/niu.c page->index = 0; index 3588 drivers/net/ethernet/sun/niu.c int cons, index; index 3591 drivers/net/ethernet/sun/niu.c index = (rp - np->tx_rings); index 3592 drivers/net/ethernet/sun/niu.c txq = netdev_get_tx_queue(np->dev, index); index 4997 drivers/net/ethernet/sun/niu.c int index, err; index 4999 drivers/net/ethernet/sun/niu.c index = cp->tcam_top; index 5000 drivers/net/ethernet/sun/niu.c tp = &parent->tcam[index]; index 5010 drivers/net/ethernet/sun/niu.c err = tcam_write(np, index, tp->key, tp->key_mask); index 5013 drivers/net/ethernet/sun/niu.c err = tcam_assoc_write(np, index, tp->assoc_data); index 5052 drivers/net/ethernet/sun/niu.c int index = i - CLASS_CODE_USER_PROG1; index 5054 drivers/net/ethernet/sun/niu.c err = niu_set_tcam_key(np, i, parent->tcam_key[index]); index 5057 drivers/net/ethernet/sun/niu.c err = niu_set_flow_key(np, i, parent->flow_key[index]); index 5071 drivers/net/ethernet/sun/niu.c static int niu_zcp_write(struct niu *np, int index, u64 *data) index 5088 drivers/net/ethernet/sun/niu.c static int niu_zcp_read(struct niu *np, int index, u64 *data) index 5171 drivers/net/ethernet/sun/niu.c static void niu_ipp_write(struct niu *np, int index, u64 *data) index 5176 drivers/net/ethernet/sun/niu.c nw64_ipp(IPP_DFIFO_WR_PTR, index); index 5185 drivers/net/ethernet/sun/niu.c static void niu_ipp_read(struct niu *np, int index, u64 *data) index 5187 drivers/net/ethernet/sun/niu.c nw64_ipp(IPP_DFIFO_RD_PTR, index); index 6336 drivers/net/ethernet/sun/niu.c int index = 0; index 6339 drivers/net/ethernet/sun/niu.c err = niu_set_alt_mac(np, index, ha->addr); index 6342 drivers/net/ethernet/sun/niu.c err, index); index 6343 drivers/net/ethernet/sun/niu.c err = niu_enable_alt_mac(np, index, 1); index 6346 drivers/net/ethernet/sun/niu.c err, index); index 6348 drivers/net/ethernet/sun/niu.c index++; index 6447 drivers/net/ethernet/sun/niu.c u64 base = page->index; index 6530 drivers/net/ethernet/sun/niu.c static void niu_set_txd(struct tx_ring_info *rp, int index, index 6534 drivers/net/ethernet/sun/niu.c __le64 *desc = &rp->descr[index]; index 7167 drivers/net/ethernet/sun/niu.c parent->index, (u16)nfc->fs.location, idx); index 7177 drivers/net/ethernet/sun/niu.c parent->index); index 7487 drivers/net/ethernet/sun/niu.c parent->index, __func__, uspec->proto); index 7521 drivers/net/ethernet/sun/niu.c parent->index, __func__, fsp->flow_type); index 7529 drivers/net/ethernet/sun/niu.c parent->index, __func__, fsp->flow_type); index 7540 drivers/net/ethernet/sun/niu.c parent->index, __func__, index 7611 drivers/net/ethernet/sun/niu.c parent->index, __func__, index 8562 drivers/net/ethernet/sun/niu.c parent->index, id, index 8630 drivers/net/ethernet/sun/niu.c parent->index, i, index 8673 drivers/net/ethernet/sun/niu.c parent->index, i, index 8682 drivers/net/ethernet/sun/niu.c parent->index, tot_rx); index 8688 drivers/net/ethernet/sun/niu.c parent->index, tot_tx); index 8694 drivers/net/ethernet/sun/niu.c parent->index, tot_rx, tot_tx); index 8723 drivers/net/ethernet/sun/niu.c parent->index, i, tp->first_table_num + grp); index 9459 drivers/net/ethernet/sun/niu.c p->index = niu_parent_index++; index 9478 drivers/net/ethernet/sun/niu.c int index = i - CLASS_CODE_USER_PROG1; index 9480 drivers/net/ethernet/sun/niu.c p->tcam_key[index] = TCAM_KEY_TSEL; index 9481 drivers/net/ethernet/sun/niu.c p->flow_key[index] = (FLOW_KEY_IPSA | index 2879 drivers/net/ethernet/sun/niu.h #define NEXT_TX(tp, index) \ index 2880 drivers/net/ethernet/sun/niu.h (((index) + 1) < (tp)->pending ? ((index) + 1) : 0) index 2946 drivers/net/ethernet/sun/niu.h #define NEXT_RCR(rp, index) \ index 2947 drivers/net/ethernet/sun/niu.h (((index) + 1) < (rp)->rcr_table_size ? ((index) + 1) : 0) index 2948 drivers/net/ethernet/sun/niu.h #define NEXT_RBR(rp, index) \ index 2949 drivers/net/ethernet/sun/niu.h (((index) + 1) < (rp)->rbr_table_size ? ((index) + 1) : 0) index 3068 drivers/net/ethernet/sun/niu.h int index; index 2926 drivers/net/ethernet/sun/sunhme.c static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, int index, unsigned char *dev_addr) index 2944 drivers/net/ethernet/sun/sunhme.c if (index == 0) { index 2951 drivers/net/ethernet/sun/sunhme.c index--; index 2962 drivers/net/ethernet/sun/sunhme.c int index = 0; index 2966 drivers/net/ethernet/sun/sunhme.c index = PCI_SLOT(pdev->devfn); index 2970 drivers/net/ethernet/sun/sunhme.c find_eth_addr_in_vpd(p, (64 * 1024), index, dev_addr); index 520 drivers/net/ethernet/sun/sunvnet_common.c u32 index) index 526 drivers/net/ethernet/sun/sunvnet_common.c (index * dr->entry_size), index 537 drivers/net/ethernet/sun/sunvnet_common.c u32 index) index 542 drivers/net/ethernet/sun/sunvnet_common.c (index * dr->entry_size), index 552 drivers/net/ethernet/sun/sunvnet_common.c u32 index, int *needs_ack) index 554 drivers/net/ethernet/sun/sunvnet_common.c struct vio_net_desc *desc = get_rx_desc(port, dr, index); index 577 drivers/net/ethernet/sun/sunvnet_common.c index, desc->hdr.ack); index 579 drivers/net/ethernet/sun/sunvnet_common.c err = put_rx_desc(port, dr, desc, index); index 1084 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c unsigned int index) index 1097 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c if (rx_frames && !((index + 1) % rx_frames)) index 2280 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c unsigned int index, unsigned int val) index 2299 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c MAC_RSSAR_RSSIA_LEN, index); index 430 drivers/net/ethernet/synopsys/dwc-xlgmac.h unsigned int index); index 1063 drivers/net/ethernet/ti/davinci_emac.c char *mac_addr, int index, int match) index 1066 drivers/net/ethernet/ti/davinci_emac.c emac_write(EMAC_MACINDEX, index); index 124 drivers/net/ethernet/ti/netcp_core.c static u32 get_sw_data(int index, struct knav_dma_desc *desc) index 127 drivers/net/ethernet/ti/netcp_core.c return desc->sw_data[index]; index 166 drivers/net/ethernet/ti/netcp_core.c static void set_sw_data(int index, u32 data, struct knav_dma_desc *desc) index 169 drivers/net/ethernet/ti/netcp_core.c desc->sw_data[index] = data; index 176 drivers/net/ethernet/toshiba/tc35815.c #define CAM_Ena_Bit(index) (1 << (index)) index 1855 drivers/net/ethernet/toshiba/tc35815.c static void tc35815_set_cam_entry(struct net_device *dev, int index, unsigned char *addr) index 1860 drivers/net/ethernet/toshiba/tc35815.c int cam_index = index * 6; index 1868 drivers/net/ethernet/toshiba/tc35815.c dev->name, index, addr); index 1869 drivers/net/ethernet/toshiba/tc35815.c if (index & 1) { index 469 drivers/net/ethernet/via/via-velocity.c static void velocity_get_options(struct velocity_opt *opts, int index, index 473 drivers/net/ethernet/via/via-velocity.c velocity_set_int_opt(&opts->rx_thresh, rx_thresh[index], RX_THRESH_MIN, RX_THRESH_MAX, RX_THRESH_DEF, "rx_thresh", devname); index 474 drivers/net/ethernet/via/via-velocity.c velocity_set_int_opt(&opts->DMA_length, DMA_length[index], DMA_LENGTH_MIN, DMA_LENGTH_MAX, DMA_LENGTH_DEF, "DMA_length", devname); index 475 drivers/net/ethernet/via/via-velocity.c velocity_set_int_opt(&opts->numrx, RxDescriptors[index], RX_DESC_MIN, RX_DESC_MAX, RX_DESC_DEF, "RxDescriptors", devname); index 476 drivers/net/ethernet/via/via-velocity.c velocity_set_int_opt(&opts->numtx, TxDescriptors[index], TX_DESC_MIN, TX_DESC_MAX, TX_DESC_DEF, "TxDescriptors", devname); index 478 drivers/net/ethernet/via/via-velocity.c velocity_set_int_opt(&opts->flow_cntl, flow_control[index], FLOW_CNTL_MIN, FLOW_CNTL_MAX, FLOW_CNTL_DEF, "flow_control", devname); index 479 drivers/net/ethernet/via/via-velocity.c velocity_set_bool_opt(&opts->flags, IP_byte_align[index], IP_ALIG_DEF, VELOCITY_FLAGS_IP_ALIGN, "IP_byte_align", devname); index 480 drivers/net/ethernet/via/via-velocity.c velocity_set_int_opt((int *) &opts->spd_dpx, speed_duplex[index], MED_LNK_MIN, MED_LNK_MAX, MED_LNK_DEF, "Media link mode", devname); index 481 drivers/net/ethernet/via/via-velocity.c velocity_set_int_opt(&opts->wol_opts, wol_opts[index], WOL_OPT_MIN, WOL_OPT_MAX, WOL_OPT_DEF, "Wake On Lan options", devname); index 667 drivers/net/ethernet/via/via-velocity.c static int velocity_mii_read(struct mac_regs __iomem *regs, u8 index, u16 *data) index 676 drivers/net/ethernet/via/via-velocity.c writeb(index, ®s->MIIADR); index 2521 drivers/net/ethernet/via/via-velocity.c int index, prev; index 2540 drivers/net/ethernet/via/via-velocity.c index = vptr->tx.curr[qnum]; index 2541 drivers/net/ethernet/via/via-velocity.c td_ptr = &(vptr->tx.rings[qnum][index]); index 2542 drivers/net/ethernet/via/via-velocity.c tdinfo = &(vptr->tx.infos[qnum][index]); index 2593 drivers/net/ethernet/via/via-velocity.c prev = index - 1; index 2598 drivers/net/ethernet/via/via-velocity.c vptr->tx.curr[qnum] = (index + 1) % vptr->options.numtx; index 2634 drivers/net/fddi/defxx.c bp->descr_block_virt->cmd_rsp[bp->cmd_rsp_reg.index.prod].long_0 = (u32) (PI_RCV_DESCR_M_SOP | index 2636 drivers/net/fddi/defxx.c bp->descr_block_virt->cmd_rsp[bp->cmd_rsp_reg.index.prod].long_1 = bp->cmd_rsp_phys; index 2640 drivers/net/fddi/defxx.c bp->cmd_rsp_reg.index.prod += 1; index 2641 drivers/net/fddi/defxx.c bp->cmd_rsp_reg.index.prod &= PI_CMD_RSP_K_NUM_ENTRIES-1; index 2646 drivers/net/fddi/defxx.c bp->descr_block_virt->cmd_req[bp->cmd_req_reg.index.prod].long_0 = (u32) (PI_XMT_DESCR_M_SOP | index 2648 drivers/net/fddi/defxx.c bp->descr_block_virt->cmd_req[bp->cmd_req_reg.index.prod].long_1 = bp->cmd_req_phys; index 2652 drivers/net/fddi/defxx.c bp->cmd_req_reg.index.prod += 1; index 2653 drivers/net/fddi/defxx.c bp->cmd_req_reg.index.prod &= PI_CMD_REQ_K_NUM_ENTRIES-1; index 2663 drivers/net/fddi/defxx.c if (bp->cmd_req_reg.index.prod == (u8)(bp->cons_block_virt->cmd_req)) index 2672 drivers/net/fddi/defxx.c bp->cmd_req_reg.index.comp += 1; index 2673 drivers/net/fddi/defxx.c bp->cmd_req_reg.index.comp &= PI_CMD_REQ_K_NUM_ENTRIES-1; index 2683 drivers/net/fddi/defxx.c if (bp->cmd_rsp_reg.index.prod == (u8)(bp->cons_block_virt->cmd_rsp)) index 2692 drivers/net/fddi/defxx.c bp->cmd_rsp_reg.index.comp += 1; index 2693 drivers/net/fddi/defxx.c bp->cmd_rsp_reg.index.comp &= PI_CMD_RSP_K_NUM_ENTRIES-1; index 3052 drivers/net/fddi/defxx.c bp->rcv_xmt_reg.index.rcv_prod = bp->rcv_bufs_to_post; index 3103 drivers/net/fddi/defxx.c while (bp->rcv_xmt_reg.index.rcv_comp != p_type_2_cons->index.rcv_cons) index 3109 drivers/net/fddi/defxx.c entry = bp->rcv_xmt_reg.index.rcv_comp; index 3224 drivers/net/fddi/defxx.c bp->rcv_xmt_reg.index.rcv_prod += 1; index 3225 drivers/net/fddi/defxx.c bp->rcv_xmt_reg.index.rcv_comp += 1; index 3364 drivers/net/fddi/defxx.c prod = bp->rcv_xmt_reg.index.xmt_prod; index 3421 drivers/net/fddi/defxx.c if (prod == bp->rcv_xmt_reg.index.xmt_comp) index 3448 drivers/net/fddi/defxx.c bp->rcv_xmt_reg.index.xmt_prod = prod; index 3498 drivers/net/fddi/defxx.c while (bp->rcv_xmt_reg.index.xmt_comp != p_type_2_cons->index.xmt_cons) index 3502 drivers/net/fddi/defxx.c p_xmt_drv_descr = &(bp->xmt_drv_descr_blk[bp->rcv_xmt_reg.index.xmt_comp]); index 3510 drivers/net/fddi/defxx.c comp = bp->rcv_xmt_reg.index.xmt_comp; index 3528 drivers/net/fddi/defxx.c bp->rcv_xmt_reg.index.xmt_comp += 1; index 3628 drivers/net/fddi/defxx.c while (bp->rcv_xmt_reg.index.xmt_comp != bp->rcv_xmt_reg.index.xmt_prod) index 3632 drivers/net/fddi/defxx.c p_xmt_drv_descr = &(bp->xmt_drv_descr_blk[bp->rcv_xmt_reg.index.xmt_comp]); index 3635 drivers/net/fddi/defxx.c comp = bp->rcv_xmt_reg.index.xmt_comp; index 3657 drivers/net/fddi/defxx.c bp->rcv_xmt_reg.index.xmt_comp += 1; index 3663 drivers/net/fddi/defxx.c prod_cons |= (u32)(bp->rcv_xmt_reg.index.xmt_prod << PI_CONS_V_XMT_INDEX); index 1362 drivers/net/fddi/defxx.h } index; index 1376 drivers/net/fddi/defxx.h } index; index 1390 drivers/net/fddi/defxx.h } index; index 1404 drivers/net/fddi/defxx.h } index; index 1424 drivers/net/fddi/defxx.h } index; index 1438 drivers/net/fddi/defxx.h } index; index 1452 drivers/net/fddi/defxx.h } index; index 1466 drivers/net/fddi/defxx.h } index; index 519 drivers/net/fddi/skfp/h/cmtdef.h int index, int local); index 571 drivers/net/fddi/skfp/h/cmtdef.h int smt_action(struct s_smc *smc, int class, int code, int index); index 627 drivers/net/fddi/skfp/h/cmtdef.h void smt_srf_event(struct s_smc *smc, int code, int index, int cond); index 630 drivers/net/fddi/skfp/h/cmtdef.h #define smt_srf_event(smc,code,index,cond) index 55 drivers/net/fddi/skfp/pcmplc.c struct s_smc * smc, int type, int index index 35 drivers/net/fddi/skfp/pmf.c static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, index 38 drivers/net/fddi/skfp/pmf.c int index, int local); index 316 drivers/net/fddi/skfp/pmf.c int index ; index 384 drivers/net/fddi/skfp/pmf.c index = *((u_char *)pa + PARA_LEN + 3) ;/* index */ index 385 drivers/net/fddi/skfp/pmf.c idx_end = index ; index 390 drivers/net/fddi/skfp/pmf.c if (!index && !set) { index 393 drivers/net/fddi/skfp/pmf.c index = INDEX_MAC ; index 394 drivers/net/fddi/skfp/pmf.c idx_end = index - 1 + NUMMACS ; index 397 drivers/net/fddi/skfp/pmf.c index = INDEX_PATH ; index 398 drivers/net/fddi/skfp/pmf.c idx_end = index - 1 + NUMPATHS ; index 401 drivers/net/fddi/skfp/pmf.c index = INDEX_PORT ; index 402 drivers/net/fddi/skfp/pmf.c idx_end = index - 1 + NUMPHYS ; index 419 drivers/net/fddi/skfp/pmf.c index = 0 ; index 422 drivers/net/fddi/skfp/pmf.c while (index <= idx_end) { index 433 drivers/net/fddi/skfp/pmf.c index,local); index 447 drivers/net/fddi/skfp/pmf.c index,local) ; index 450 drivers/net/fddi/skfp/pmf.c st = smt_set_para(smc,pa,index,local,1); index 455 drivers/net/fddi/skfp/pmf.c index,local) ; index 464 drivers/net/fddi/skfp/pmf.c index,local) ; index 469 drivers/net/fddi/skfp/pmf.c index++ ; index 547 drivers/net/fddi/skfp/pmf.c int index, int local) index 595 drivers/net/fddi/skfp/pmf.c to[3] = index ; index 599 drivers/net/fddi/skfp/pmf.c mac = index - INDEX_MAC ; index 600 drivers/net/fddi/skfp/pmf.c path = index - INDEX_PATH ; index 601 drivers/net/fddi/skfp/pmf.c port = index - INDEX_PORT ; index 1071 drivers/net/fddi/skfp/pmf.c static int smt_set_para(struct s_smc *smc, struct smt_para *pa, int index, index 1094 drivers/net/fddi/skfp/pmf.c mac = index - INDEX_MAC ; index 1095 drivers/net/fddi/skfp/pmf.c path = index - INDEX_PATH ; index 1096 drivers/net/fddi/skfp/pmf.c port = index - INDEX_PORT ; index 1931 drivers/net/fddi/skfp/smt.c int smt_action(struct s_smc *smc, int class, int code, int index) index 2005 drivers/net/fddi/skfp/smt.c queue_event(smc,EVENT_PCM+index,event) ; index 40 drivers/net/fddi/skfp/srf.c static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index); index 46 drivers/net/fddi/skfp/srf.c u_char index ; index 73 drivers/net/fddi/skfp/srf.c int index ; index 84 drivers/net/fddi/skfp/srf.c for (index = 0 ; index < init->n ; index++) { index 87 drivers/net/fddi/skfp/srf.c evc->evc_index = init->index + index ; index 157 drivers/net/fddi/skfp/srf.c static struct s_srf_evc *smt_get_evc(struct s_smc *smc, int code, int index) index 163 drivers/net/fddi/skfp/srf.c if (evc->evc_code == code && evc->evc_index == index) index 181 drivers/net/fddi/skfp/srf.c void smt_srf_event(struct s_smc *smc, int code, int index, int cond) index 195 drivers/net/fddi/skfp/srf.c DB_SMT("SRF: %s index %d", srf_names[code], index); index 197 drivers/net/fddi/skfp/srf.c if (!(evc = smt_get_evc(smc,code,index))) { index 678 drivers/net/hippi/rrunner.c cmd.index = 0; index 904 drivers/net/hippi/rrunner.c u16 index = rrpriv->evt_ring[eidx].index; index 905 drivers/net/hippi/rrunner.c index = (index + (RX_RING_ENTRIES - 1)) % index 907 drivers/net/hippi/rrunner.c rrpriv->rx_ring[index].mode |= index 924 drivers/net/hippi/rrunner.c static void rx_int(struct net_device *dev, u32 rxlimit, u32 index) index 933 drivers/net/hippi/rrunner.c desc = &(rrpriv->rx_ring[index]); index 936 drivers/net/hippi/rrunner.c printk("index %i, rxlimit %i\n", index, rxlimit); index 939 drivers/net/hippi/rrunner.c if ( (rrpriv->rx_ring[index].mode & PACKET_BAD) == PACKET_BAD){ index 947 drivers/net/hippi/rrunner.c rx_skb = rrpriv->rx_skbuff[index]; index 982 drivers/net/hippi/rrunner.c rrpriv->rx_skbuff[index] = newskb; index 1006 drivers/net/hippi/rrunner.c if ((index & 7) == 7) index 1007 drivers/net/hippi/rrunner.c writel(index, ®s->IpRxPi); index 1009 drivers/net/hippi/rrunner.c index = (index + 1) % RX_RING_ENTRIES; index 1010 drivers/net/hippi/rrunner.c } while(index != rxlimit); index 1012 drivers/net/hippi/rrunner.c rrpriv->cur_rx = index; index 1260 drivers/net/hippi/rrunner.c u32 index, cons; index 1276 drivers/net/hippi/rrunner.c index = (((readl(®s->EvtPrd) >> 8) & 0xff) - 1) % TX_RING_ENTRIES; index 1279 drivers/net/hippi/rrunner.c index, cons); index 1281 drivers/net/hippi/rrunner.c if (rrpriv->tx_skbuff[index]){ index 1282 drivers/net/hippi/rrunner.c len = min_t(int, 0x80, rrpriv->tx_skbuff[index]->len); index 1283 drivers/net/hippi/rrunner.c printk("skbuff for index %i is valid - dumping data (0x%x bytes - DMA len 0x%x)\n", index, len, rrpriv->tx_ring[index].size); index 1287 drivers/net/hippi/rrunner.c printk("%02x ", (unsigned char) rrpriv->tx_skbuff[index]->data[i]); index 1391 drivers/net/hippi/rrunner.c u32 index, len = skb->len; index 1430 drivers/net/hippi/rrunner.c index = txctrl->pi; index 1432 drivers/net/hippi/rrunner.c rrpriv->tx_skbuff[index] = skb; index 1433 drivers/net/hippi/rrunner.c set_rraddr(&rrpriv->tx_ring[index].addr, pci_map_single( index 1435 drivers/net/hippi/rrunner.c rrpriv->tx_ring[index].size = len + 8; /* include IFIELD */ index 1436 drivers/net/hippi/rrunner.c rrpriv->tx_ring[index].mode = PACKET_START | PACKET_END; index 1437 drivers/net/hippi/rrunner.c txctrl->pi = (index + 1) % TX_RING_ENTRIES; index 359 drivers/net/hippi/rrunner.h u16 index; index 365 drivers/net/hippi/rrunner.h u16 index; index 460 drivers/net/hippi/rrunner.h u16 index; index 466 drivers/net/hippi/rrunner.h u16 index; index 666 drivers/net/hyperv/netvsc.c u32 index) index 668 drivers/net/hyperv/netvsc.c sync_change_bit(index, net_device->send_section_map); index 85 drivers/net/ieee802154/atusb.c __u16 value, __u16 index, index 95 drivers/net/ieee802154/atusb.c value, index, data, size, timeout); index 100 drivers/net/ieee802154/atusb.c __func__, request, value, index, ret); index 1087 drivers/net/ieee802154/mcr20a.c u8 index; index 1169 drivers/net/ieee802154/mcr20a.c for (index = 0; index < MCR20A_PHY_INDIRECT_QUEUE_SIZE; index++) { index 1170 drivers/net/ieee802154/mcr20a.c phy_reg = (u8)(((index & DAR_SRC_CTRL_INDEX) << index 303 drivers/net/ifb.c static int __init ifb_init_one(int index) index 163 drivers/net/phy/aquantia_main.c static u64 aqr107_get_stat(struct phy_device *phydev, int index) index 165 drivers/net/phy/aquantia_main.c const struct aqr107_hw_stat *stat = aqr107_hw_stats + index; index 171 drivers/net/phy/dp83640.c int i, index; index 175 drivers/net/phy/dp83640.c pd[i].index = i; index 185 drivers/net/phy/dp83640.c index = gpio_tab[CALIBRATE_GPIO] - 1; index 186 drivers/net/phy/dp83640.c pd[index].func = PTP_PF_PHYSYNC; index 187 drivers/net/phy/dp83640.c pd[index].chan = 0; index 189 drivers/net/phy/dp83640.c index = gpio_tab[PEROUT_GPIO] - 1; index 190 drivers/net/phy/dp83640.c pd[index].func = PTP_PF_PEROUT; index 191 drivers/net/phy/dp83640.c pd[index].chan = 0; index 194 drivers/net/phy/dp83640.c index = gpio_tab[i] - 1; index 195 drivers/net/phy/dp83640.c pd[index].func = PTP_PF_EXTTS; index 196 drivers/net/phy/dp83640.c pd[index].chan = i - EXTTS0_GPIO; index 467 drivers/net/phy/dp83640.c unsigned int index; index 485 drivers/net/phy/dp83640.c index = rq->extts.index; index 486 drivers/net/phy/dp83640.c if (index >= N_EXT_TS) index 488 drivers/net/phy/dp83640.c event_num = EXT_EVENT + index; index 492 drivers/net/phy/dp83640.c PTP_PF_EXTTS, index); index 510 drivers/net/phy/dp83640.c if (rq->perout.index >= N_PER_OUT) index 512 drivers/net/phy/dp83640.c return periodic_output(clock, rq, on, rq->perout.index); index 792 drivers/net/phy/dp83640.c event.index = i; index 86 drivers/net/ppp/ppp_generic.c int index; /* interface unit / channel number */ index 686 drivers/net/ppp/ppp_generic.c if (put_user(ppp->file.index, p)) index 982 drivers/net/ppp/ppp_generic.c ppp->file.index = ret; index 985 drivers/net/ppp/ppp_generic.c snprintf(ppp->dev->name, IFNAMSIZ, "ppp%i", ppp->file.index); index 999 drivers/net/ppp/ppp_generic.c unit_put(&pn->units_idr, ppp->file.index); index 1347 drivers/net/ppp/ppp_generic.c unit_put(&pn->units_idr, ppp->file.index); index 2625 drivers/net/ppp/ppp_generic.c pch->file.index = ++pn->last_channel_index; index 2641 drivers/net/ppp/ppp_generic.c return pch->file.index; index 2656 drivers/net/ppp/ppp_generic.c unit = pch->ppp->file.index; index 2862 drivers/net/ppp/ppp_generic.c ppp->file.index, 0, ppp->mru, ppp->debug)) { index 2871 drivers/net/ppp/ppp_generic.c ppp->file.index, 0, ppp->debug)) index 3061 drivers/net/ppp/ppp_generic.c *unit = ppp->file.index; index 3156 drivers/net/ppp/ppp_generic.c if (pch->file.index == unit) { index 3163 drivers/net/ppp/ppp_generic.c if (pch->file.index == unit) index 77 drivers/net/ppp/pppox.c int index; index 83 drivers/net/ppp/pppox.c index = ppp_channel_index(&po->chan); index 84 drivers/net/ppp/pppox.c if (put_user(index , (int __user *) arg)) index 649 drivers/net/slip/slhc.c unsigned char index; index 663 drivers/net/slip/slhc.c index = icp[9]; index 671 drivers/net/slip/slhc.c if(index > comp->rslot_limit) { index 677 drivers/net/slip/slhc.c cs = &comp->rstate[comp->recv_current = index]; index 199 drivers/net/tap.c int index = q->queue_index; index 200 drivers/net/tap.c BUG_ON(index >= tap->numvtaps); index 202 drivers/net/tap.c nq->queue_index = index; index 204 drivers/net/tap.c rcu_assign_pointer(tap->taps[index], nq); index 828 drivers/net/team/team.c if (port->index < cur->index) index 935 drivers/net/team/team.c port->index = team->en_port_count++; index 937 drivers/net/team/team.c team_port_index_hash(team, port->index)); index 955 drivers/net/team/team.c port->index--; index 957 drivers/net/team/team.c team_port_index_hash(team, port->index)); index 969 drivers/net/team/team.c __reconstruct_port_hlist(team, port->index); index 970 drivers/net/team/team.c port->index = -1; index 1278 drivers/net/team/team.c port->index = -1; index 473 drivers/net/thunderbolt.c unsigned int index = ring->prod & (TBNET_RING_SIZE - 1); index 474 drivers/net/thunderbolt.c struct tbnet_frame *tf = &ring->frames[index]; index 517 drivers/net/thunderbolt.c unsigned int index; index 522 drivers/net/thunderbolt.c index = ring->cons++ & (TBNET_RING_SIZE - 1); index 524 drivers/net/thunderbolt.c tf = &ring->frames[index]; index 690 drivers/net/tun.c u16 index = tfile->queue_index; index 691 drivers/net/tun.c BUG_ON(index >= tun->numqueues); index 693 drivers/net/tun.c rcu_assign_pointer(tun->tfiles[index], index 695 drivers/net/tun.c ntfile = rtnl_dereference(tun->tfiles[index]); index 696 drivers/net/tun.c ntfile->queue_index = index; index 26 drivers/net/usb/aqc111.c u16 index, u16 size, void *data) index 31 drivers/net/usb/aqc111.c USB_RECIP_DEVICE, value, index, data, size); index 36 drivers/net/usb/aqc111.c cmd, index, ret); index 42 drivers/net/usb/aqc111.c u16 index, u16 size, void *data) index 47 drivers/net/usb/aqc111.c USB_RECIP_DEVICE, value, index, data, size); index 52 drivers/net/usb/aqc111.c cmd, index, ret); index 58 drivers/net/usb/aqc111.c u16 index, u16 *data) index 62 drivers/net/usb/aqc111.c ret = aqc111_read_cmd_nopm(dev, cmd, value, index, sizeof(*data), data); index 69 drivers/net/usb/aqc111.c u16 index, u16 *data) index 73 drivers/net/usb/aqc111.c ret = aqc111_read_cmd(dev, cmd, value, index, sizeof(*data), data); index 80 drivers/net/usb/aqc111.c u16 value, u16 index, u16 size, const void *data) index 87 drivers/net/usb/aqc111.c __func__, cmd, reqtype, value, index, size); index 96 drivers/net/usb/aqc111.c cmd, reqtype, value, index, buf, size, index 103 drivers/net/usb/aqc111.c cmd, index, err); index 111 drivers/net/usb/aqc111.c u16 index, u16 size, void *data) index 116 drivers/net/usb/aqc111.c USB_RECIP_DEVICE, value, index, size, data); index 122 drivers/net/usb/aqc111.c u16 index, u16 size, void *data) index 130 drivers/net/usb/aqc111.c USB_RECIP_DEVICE, value, index, size, data); index 138 drivers/net/usb/aqc111.c u16 index, u16 *data) index 144 drivers/net/usb/aqc111.c return aqc111_write_cmd_nopm(dev, cmd, value, index, sizeof(tmp), &tmp); index 148 drivers/net/usb/aqc111.c u16 index, u16 *data) index 154 drivers/net/usb/aqc111.c return aqc111_write_cmd(dev, cmd, value, index, sizeof(tmp), &tmp); index 158 drivers/net/usb/aqc111.c u16 index, u32 *data) index 164 drivers/net/usb/aqc111.c return aqc111_write_cmd_nopm(dev, cmd, value, index, sizeof(tmp), &tmp); index 168 drivers/net/usb/aqc111.c u16 index, u32 *data) index 174 drivers/net/usb/aqc111.c return aqc111_write_cmd(dev, cmd, value, index, sizeof(tmp), &tmp); index 178 drivers/net/usb/aqc111.c u16 index, u16 size, void *data) index 181 drivers/net/usb/aqc111.c USB_RECIP_DEVICE, value, index, data, index 186 drivers/net/usb/aqc111.c u16 index, u16 *data) index 192 drivers/net/usb/aqc111.c return aqc111_write_cmd_async(dev, cmd, value, index, index 188 drivers/net/usb/asix.h int asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 191 drivers/net/usb/asix.h int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 195 drivers/net/usb/asix.h u16 index, u16 size, void *data); index 12 drivers/net/usb/asix_common.c int asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 26 drivers/net/usb/asix_common.c value, index, data, size); index 30 drivers/net/usb/asix_common.c index, ret); index 35 drivers/net/usb/asix_common.c int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 49 drivers/net/usb/asix_common.c value, index, data, size); index 53 drivers/net/usb/asix_common.c index, ret); index 58 drivers/net/usb/asix_common.c void asix_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 63 drivers/net/usb/asix_common.c value, index, data, size); index 187 drivers/net/usb/ax88179_178a.c static int __ax88179_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 201 drivers/net/usb/ax88179_178a.c value, index, data, size); index 205 drivers/net/usb/ax88179_178a.c index, ret); index 210 drivers/net/usb/ax88179_178a.c static int __ax88179_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 224 drivers/net/usb/ax88179_178a.c value, index, data, size); index 228 drivers/net/usb/ax88179_178a.c index, ret); index 234 drivers/net/usb/ax88179_178a.c u16 index, u16 size, void *data) index 242 drivers/net/usb/ax88179_178a.c USB_RECIP_DEVICE, value, index, &buf, index 246 drivers/net/usb/ax88179_178a.c USB_RECIP_DEVICE, value, index, data, index 252 drivers/net/usb/ax88179_178a.c u16 index, u16 size, void *data) index 258 drivers/net/usb/ax88179_178a.c ret = __ax88179_read_cmd(dev, cmd, value, index, size, &buf, 1); index 263 drivers/net/usb/ax88179_178a.c ret = __ax88179_read_cmd(dev, cmd, value, index, size, &buf, 1); index 267 drivers/net/usb/ax88179_178a.c ret = __ax88179_read_cmd(dev, cmd, value, index, size, data, 1); index 274 drivers/net/usb/ax88179_178a.c u16 index, u16 size, void *data) index 282 drivers/net/usb/ax88179_178a.c ret = __ax88179_write_cmd(dev, cmd, value, index, index 285 drivers/net/usb/ax88179_178a.c ret = __ax88179_write_cmd(dev, cmd, value, index, index 292 drivers/net/usb/ax88179_178a.c static int ax88179_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 299 drivers/net/usb/ax88179_178a.c ret = __ax88179_read_cmd(dev, cmd, value, index, size, &buf, 0); index 304 drivers/net/usb/ax88179_178a.c ret = __ax88179_read_cmd(dev, cmd, value, index, size, &buf, 0); index 308 drivers/net/usb/ax88179_178a.c ret = __ax88179_read_cmd(dev, cmd, value, index, size, data, 0); index 314 drivers/net/usb/ax88179_178a.c static int ax88179_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 323 drivers/net/usb/ax88179_178a.c ret = __ax88179_write_cmd(dev, cmd, value, index, index 326 drivers/net/usb/ax88179_178a.c ret = __ax88179_write_cmd(dev, cmd, value, index, index 176 drivers/net/usb/catc.c u16 index; index 462 drivers/net/usb/catc.c static int catc_ctrl_msg(struct catc *catc, u8 dir, u8 request, u16 value, u16 index, void *buf, int len) index 466 drivers/net/usb/catc.c request, 0x40 | dir, value, index, buf, len, 1000); index 481 drivers/net/usb/catc.c dr->wIndex = cpu_to_le16(q->index); index 534 drivers/net/usb/catc.c u16 index, void *buf, int len, void (*callback)(struct catc *catc, struct ctrl_queue *q)) index 547 drivers/net/usb/catc.c q->index = index; index 574 drivers/net/usb/catc.c int index = q->index - EthStats; index 577 drivers/net/usb/catc.c catc->stats_buf[index] = *((char *)q->buf); index 579 drivers/net/usb/catc.c if (index & 1) index 582 drivers/net/usb/catc.c data = ((u16)catc->stats_buf[index] << 8) | catc->stats_buf[index + 1]; index 583 drivers/net/usb/catc.c last = catc->stats_vals[index >> 1]; index 585 drivers/net/usb/catc.c switch (index) { index 600 drivers/net/usb/catc.c catc->stats_vals[index >> 1] = data; index 1120 drivers/net/usb/cdc_ncm.c u16 n = 0, index, ndplen; index 1237 drivers/net/usb/cdc_ncm.c index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1; index 1240 drivers/net/usb/cdc_ncm.c ndp16->dpe16[index].wDatagramLength = cpu_to_le16(skb->len); index 1241 drivers/net/usb/cdc_ncm.c ndp16->dpe16[index].wDatagramIndex = cpu_to_le16(skb_out->len); index 1249 drivers/net/usb/cdc_ncm.c if (index >= CDC_NCM_DPT_DATAGRAMS_MAX) { index 101 drivers/net/usb/ch9200.c unsigned short index, void *data, unsigned short size, index 115 drivers/net/usb/ch9200.c index, size); index 125 drivers/net/usb/ch9200.c request, request_type, value, index, buf, size, index 140 drivers/net/usb/ch9200.c unsigned short value, unsigned short index, index 155 drivers/net/usb/ch9200.c index, size); index 167 drivers/net/usb/ch9200.c request, request_type, value, index, buf, size, index 601 drivers/net/usb/hso.c static struct hso_serial *get_serial_by_index(unsigned index) index 607 drivers/net/usb/hso.c if (serial_table[index]) index 608 drivers/net/usb/hso.c serial = dev2ser(serial_table[index]); index 616 drivers/net/usb/hso.c int index; index 620 drivers/net/usb/hso.c for (index = 0; index < HSO_SERIAL_TTY_MINORS; index++) { index 621 drivers/net/usb/hso.c if (serial_table[index] == NULL) { index 623 drivers/net/usb/hso.c return index; index 632 drivers/net/usb/hso.c static void set_serial_by_index(unsigned index, struct hso_serial *serial) index 638 drivers/net/usb/hso.c serial_table[index] = serial->parent; index 640 drivers/net/usb/hso.c serial_table[index] = NULL; index 1239 drivers/net/usb/hso.c struct hso_serial *serial = get_serial_by_index(tty->index); index 246 drivers/net/usb/kaweth.c __u16 index, index 266 drivers/net/usb/kaweth.c dr->wIndex = cpu_to_le16(index); index 432 drivers/net/usb/lan78xx.c static int lan78xx_read_reg(struct lan78xx_net *dev, u32 index, u32 *data) index 443 drivers/net/usb/lan78xx.c 0, index, buf, 4, USB_CTRL_GET_TIMEOUT); index 450 drivers/net/usb/lan78xx.c index, ret); index 458 drivers/net/usb/lan78xx.c static int lan78xx_write_reg(struct lan78xx_net *dev, u32 index, u32 data) index 472 drivers/net/usb/lan78xx.c 0, index, buf, 4, USB_CTRL_SET_TIMEOUT); index 476 drivers/net/usb/lan78xx.c index, ret); index 629 drivers/net/usb/lan78xx.c static inline u32 mii_access(int id, int index, int read) index 634 drivers/net/usb/lan78xx.c ret |= ((u32)index << MII_ACC_MIIRINDA_SHIFT_) & MII_ACC_MIIRINDA_MASK_; index 1016 drivers/net/usb/lan78xx.c int index, u8 addr[ETH_ALEN]) index 1020 drivers/net/usb/lan78xx.c if ((pdata) && (index > 0) && (index < NUM_OF_MAF)) { index 1025 drivers/net/usb/lan78xx.c pdata->pfilter_table[index][1] = temp; index 1029 drivers/net/usb/lan78xx.c pdata->pfilter_table[index][0] = temp; index 656 drivers/net/usb/lan78xx.h #define WUF_CFG(index) (WUF_CFG_BEGIN + (4 * (index))) index 675 drivers/net/usb/lan78xx.h #define WUF_MASK0(index) (WUF_MASK0_BEGIN + (0x10 * (index))) index 676 drivers/net/usb/lan78xx.h #define WUF_MASK1(index) (WUF_MASK1_BEGIN + (0x10 * (index))) index 677 drivers/net/usb/lan78xx.h #define WUF_MASK2(index) (WUF_MASK2_BEGIN + (0x10 * (index))) index 678 drivers/net/usb/lan78xx.h #define WUF_MASK3(index) (WUF_MASK3_BEGIN + (0x10 * (index))) index 686 drivers/net/usb/lan78xx.h #define MAF_HI(index) (MAF_BASE + (8 * (index)) + (MAF_HIX)) index 687 drivers/net/usb/lan78xx.h #define MAF_LO(index) (MAF_BASE + (8 * (index)) + (MAF_LOX)) index 109 drivers/net/usb/mcs7830.c static int mcs7830_get_reg(struct usbnet *dev, u16 index, u16 size, void *data) index 112 drivers/net/usb/mcs7830.c 0x0000, index, data, size); index 115 drivers/net/usb/mcs7830.c static int mcs7830_set_reg(struct usbnet *dev, u16 index, u16 size, const void *data) index 118 drivers/net/usb/mcs7830.c 0x0000, index, data, size); index 121 drivers/net/usb/mcs7830.c static void mcs7830_set_reg_async(struct usbnet *dev, u16 index, u16 size, void *data) index 124 drivers/net/usb/mcs7830.c 0x0000, index, data, size); index 167 drivers/net/usb/mcs7830.c static int mcs7830_read_phy(struct usbnet *dev, u8 index) index 175 drivers/net/usb/mcs7830.c HIF_REG_PHY_CMD2_PEND_FLAG_BIT | index, index 201 drivers/net/usb/mcs7830.c index, val, i); index 207 drivers/net/usb/mcs7830.c static int mcs7830_write_phy(struct usbnet *dev, u8 index, u16 val) index 215 drivers/net/usb/mcs7830.c HIF_REG_PHY_CMD2_PEND_FLAG_BIT | (index & 0x1F), index 244 drivers/net/usb/mcs7830.c index, val, i); index 282 drivers/net/usb/pegasus.c static int read_eprom_word(pegasus_t *pegasus, __u8 index, __u16 *retdata) index 290 drivers/net/usb/pegasus.c set_register(pegasus, EpromOffset, index); index 330 drivers/net/usb/pegasus.c static int write_eprom_word(pegasus_t *pegasus, __u8 index, __u16 data) index 339 drivers/net/usb/pegasus.c set_register(pegasus, EpromOffset, index); index 58 drivers/net/usb/plusb.c pl_vendor_req(struct usbnet *dev, u8 req, u8 val, u8 index) index 63 drivers/net/usb/plusb.c val, index, NULL, 0); index 842 drivers/net/usb/r8152.c int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) index 853 drivers/net/usb/r8152.c value, index, tmp, size, 500); index 865 drivers/net/usb/r8152.c int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) index 876 drivers/net/usb/r8152.c value, index, tmp, size, 500); index 891 drivers/net/usb/r8152.c static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, index 901 drivers/net/usb/r8152.c if ((size & 3) || !size || (index & 3) || !data) index 904 drivers/net/usb/r8152.c if ((u32)index + (u32)size > 0xffff) index 909 drivers/net/usb/r8152.c ret = get_registers(tp, index, type, limit, data); index 913 drivers/net/usb/r8152.c index += limit; index 917 drivers/net/usb/r8152.c ret = get_registers(tp, index, type, size, data); index 921 drivers/net/usb/r8152.c index += size; index 934 drivers/net/usb/r8152.c static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, index 945 drivers/net/usb/r8152.c if ((size & 3) || !size || (index & 3) || !data) index 948 drivers/net/usb/r8152.c if ((u32)index + (u32)size > 0xffff) index 955 drivers/net/usb/r8152.c ret = set_registers(tp, index, type | byen, 4, data); index 959 drivers/net/usb/r8152.c index += 4; index 968 drivers/net/usb/r8152.c ret = set_registers(tp, index, index 974 drivers/net/usb/r8152.c index += limit; index 978 drivers/net/usb/r8152.c ret = set_registers(tp, index, index 984 drivers/net/usb/r8152.c index += size; index 992 drivers/net/usb/r8152.c ret = set_registers(tp, index, type | byen, 4, data); index 1005 drivers/net/usb/r8152.c int pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) index 1007 drivers/net/usb/r8152.c return generic_ocp_read(tp, index, size, data, MCU_TYPE_PLA); index 1011 drivers/net/usb/r8152.c int pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) index 1013 drivers/net/usb/r8152.c return generic_ocp_write(tp, index, byteen, size, data, MCU_TYPE_PLA); index 1017 drivers/net/usb/r8152.c int usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) index 1019 drivers/net/usb/r8152.c return generic_ocp_write(tp, index, byteen, size, data, MCU_TYPE_USB); index 1022 drivers/net/usb/r8152.c static u32 ocp_read_dword(struct r8152 *tp, u16 type, u16 index) index 1026 drivers/net/usb/r8152.c generic_ocp_read(tp, index, sizeof(data), &data, type); index 1031 drivers/net/usb/r8152.c static void ocp_write_dword(struct r8152 *tp, u16 type, u16 index, u32 data) index 1035 drivers/net/usb/r8152.c generic_ocp_write(tp, index, BYTE_EN_DWORD, sizeof(tmp), &tmp, type); index 1038 drivers/net/usb/r8152.c static u16 ocp_read_word(struct r8152 *tp, u16 type, u16 index) index 1043 drivers/net/usb/r8152.c u8 shift = index & 2; index 1045 drivers/net/usb/r8152.c index &= ~3; index 1048 drivers/net/usb/r8152.c generic_ocp_read(tp, index, sizeof(tmp), &tmp, type | byen); index 1057 drivers/net/usb/r8152.c static void ocp_write_word(struct r8152 *tp, u16 type, u16 index, u32 data) index 1062 drivers/net/usb/r8152.c u8 shift = index & 2; index 1066 drivers/net/usb/r8152.c if (index & 2) { index 1070 drivers/net/usb/r8152.c index &= ~3; index 1075 drivers/net/usb/r8152.c generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type); index 1078 drivers/net/usb/r8152.c static u8 ocp_read_byte(struct r8152 *tp, u16 type, u16 index) index 1082 drivers/net/usb/r8152.c u8 shift = index & 3; index 1084 drivers/net/usb/r8152.c index &= ~3; index 1086 drivers/net/usb/r8152.c generic_ocp_read(tp, index, sizeof(tmp), &tmp, type); index 1095 drivers/net/usb/r8152.c static void ocp_write_byte(struct r8152 *tp, u16 type, u16 index, u32 data) index 1100 drivers/net/usb/r8152.c u8 shift = index & 3; index 1104 drivers/net/usb/r8152.c if (index & 3) { index 1108 drivers/net/usb/r8152.c index &= ~3; index 1113 drivers/net/usb/r8152.c generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type); index 76 drivers/net/usb/smsc75xx.c static int __must_check __smsc75xx_read_reg(struct usbnet *dev, u32 index, index 92 drivers/net/usb/smsc75xx.c 0, index, &buf, 4); index 95 drivers/net/usb/smsc75xx.c index, ret); index 105 drivers/net/usb/smsc75xx.c static int __must_check __smsc75xx_write_reg(struct usbnet *dev, u32 index, index 124 drivers/net/usb/smsc75xx.c 0, index, &buf, 4); index 127 drivers/net/usb/smsc75xx.c index, ret); index 132 drivers/net/usb/smsc75xx.c static int __must_check smsc75xx_read_reg_nopm(struct usbnet *dev, u32 index, index 135 drivers/net/usb/smsc75xx.c return __smsc75xx_read_reg(dev, index, data, 1); index 138 drivers/net/usb/smsc75xx.c static int __must_check smsc75xx_write_reg_nopm(struct usbnet *dev, u32 index, index 141 drivers/net/usb/smsc75xx.c return __smsc75xx_write_reg(dev, index, data, 1); index 144 drivers/net/usb/smsc75xx.c static int __must_check smsc75xx_read_reg(struct usbnet *dev, u32 index, index 147 drivers/net/usb/smsc75xx.c return __smsc75xx_read_reg(dev, index, data, 0); index 150 drivers/net/usb/smsc75xx.c static int __must_check smsc75xx_write_reg(struct usbnet *dev, u32 index, index 153 drivers/net/usb/smsc75xx.c return __smsc75xx_write_reg(dev, index, data, 0); index 73 drivers/net/usb/smsc95xx.c static int __must_check __smsc95xx_read_reg(struct usbnet *dev, u32 index, index 89 drivers/net/usb/smsc95xx.c 0, index, &buf, 4); index 92 drivers/net/usb/smsc95xx.c index, ret); index 102 drivers/net/usb/smsc95xx.c static int __must_check __smsc95xx_write_reg(struct usbnet *dev, u32 index, index 121 drivers/net/usb/smsc95xx.c 0, index, &buf, 4); index 124 drivers/net/usb/smsc95xx.c index, ret); index 129 drivers/net/usb/smsc95xx.c static int __must_check smsc95xx_read_reg_nopm(struct usbnet *dev, u32 index, index 132 drivers/net/usb/smsc95xx.c return __smsc95xx_read_reg(dev, index, data, 1); index 135 drivers/net/usb/smsc95xx.c static int __must_check smsc95xx_write_reg_nopm(struct usbnet *dev, u32 index, index 138 drivers/net/usb/smsc95xx.c return __smsc95xx_write_reg(dev, index, data, 1); index 141 drivers/net/usb/smsc95xx.c static int __must_check smsc95xx_read_reg(struct usbnet *dev, u32 index, index 144 drivers/net/usb/smsc95xx.c return __smsc95xx_read_reg(dev, index, data, 0); index 147 drivers/net/usb/smsc95xx.c static int __must_check smsc95xx_write_reg(struct usbnet *dev, u32 index, index 150 drivers/net/usb/smsc95xx.c return __smsc95xx_write_reg(dev, index, data, 0); index 427 drivers/net/usb/smsc95xx.c static int __must_check smsc95xx_write_reg_async(struct usbnet *dev, u16 index, index 440 drivers/net/usb/smsc95xx.c 0, index, &buf, size); index 28 drivers/net/usb/sr9800.c static int sr_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 33 drivers/net/usb/sr9800.c err = usbnet_read_cmd(dev, cmd, SR_REQ_RD_REG, value, index, index 41 drivers/net/usb/sr9800.c static int sr_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 46 drivers/net/usb/sr9800.c err = usbnet_write_cmd(dev, cmd, SR_REQ_WR_REG, value, index, index 55 drivers/net/usb/sr9800.c sr_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, index 58 drivers/net/usb/sr9800.c usbnet_write_cmd_async(dev, cmd, SR_REQ_WR_REG, value, index, data, index 1975 drivers/net/usb/usbnet.c u16 value, u16 index, void *data, u16 size) index 1982 drivers/net/usb/usbnet.c cmd, reqtype, value, index, size); index 1991 drivers/net/usb/usbnet.c cmd, reqtype, value, index, buf, size, index 2006 drivers/net/usb/usbnet.c u16 value, u16 index, const void *data, index 2014 drivers/net/usb/usbnet.c cmd, reqtype, value, index, size); index 2029 drivers/net/usb/usbnet.c cmd, reqtype, value, index, buf, size, index 2042 drivers/net/usb/usbnet.c u16 value, u16 index, void *data, u16 size) index 2048 drivers/net/usb/usbnet.c ret = __usbnet_read_cmd(dev, cmd, reqtype, value, index, index 2060 drivers/net/usb/usbnet.c u16 value, u16 index, const void *data, u16 size) index 2066 drivers/net/usb/usbnet.c ret = __usbnet_write_cmd(dev, cmd, reqtype, value, index, index 2078 drivers/net/usb/usbnet.c u16 value, u16 index, void *data, u16 size) index 2080 drivers/net/usb/usbnet.c return __usbnet_read_cmd(dev, cmd, reqtype, value, index, index 2090 drivers/net/usb/usbnet.c u16 value, u16 index, const void *data, index 2093 drivers/net/usb/usbnet.c return __usbnet_write_cmd(dev, cmd, reqtype, value, index, index 2116 drivers/net/usb/usbnet.c u16 value, u16 index, const void *data, u16 size) index 2125 drivers/net/usb/usbnet.c cmd, reqtype, value, index, size); index 2147 drivers/net/usb/usbnet.c req->wIndex = cpu_to_le16(index); index 264 drivers/net/virtio_net.c return (vq->index - 1) / 2; index 274 drivers/net/virtio_net.c return vq->index / 2; index 1403 drivers/net/virtio_net.c unsigned int index = vq2rxq(rq->vq); index 1404 drivers/net/virtio_net.c struct send_queue *sq = &vi->sq[index]; index 1405 drivers/net/virtio_net.c struct netdev_queue *txq = netdev_get_tx_queue(vi->dev, index); index 1407 drivers/net/virtio_net.c if (!sq->napi.weight || is_xdp_raw_buffer_queue(vi, index)) index 1484 drivers/net/virtio_net.c unsigned int index = vq2txq(sq->vq); index 1487 drivers/net/virtio_net.c if (unlikely(is_xdp_raw_buffer_queue(vi, index))) { index 1493 drivers/net/virtio_net.c txq = netdev_get_tx_queue(vi->dev, index); index 426 drivers/net/wan/farsync.c int index; /* Port index on the card */ index 826 drivers/net/wan/farsync.c FST_WRB(card, txDescrRing[port->index][txpos].bits, index 855 drivers/net/wan/farsync.c pi = port->index; index 945 drivers/net/wan/farsync.c mbval = FST_RDW(card, portMailbox[port->index][0]); index 959 drivers/net/wan/farsync.c mbval = FST_RDW(card, portMailbox[port->index][0]); index 968 drivers/net/wan/farsync.c FST_WRW(card, portMailbox[port->index][0], cmd); index 984 drivers/net/wan/farsync.c outputs |= FST_RDL(port->card, v24OpSts[port->index]); index 985 drivers/net/wan/farsync.c FST_WRL(port->card, v24OpSts[port->index], outputs); index 994 drivers/net/wan/farsync.c outputs = ~outputs & FST_RDL(port->card, v24OpSts[port->index]); index 995 drivers/net/wan/farsync.c FST_WRL(port->card, v24OpSts[port->index], outputs); index 1013 drivers/net/wan/farsync.c pi = port->index; index 1041 drivers/net/wan/farsync.c pi = port->index; index 1111 drivers/net/wan/farsync.c signals = FST_RDL(card, v24DebouncedSts[port->index]); index 1142 drivers/net/wan/farsync.c card->card_no, port->index, rxp); index 1147 drivers/net/wan/farsync.c card->card_no, port->index); index 1152 drivers/net/wan/farsync.c card->card_no, port->index); index 1157 drivers/net/wan/farsync.c len, card->card_no, port->index); index 1170 drivers/net/wan/farsync.c pi = port->index; index 1214 drivers/net/wan/farsync.c pi = port->index; index 1236 drivers/net/wan/farsync.c card->card_no, port->index); index 1578 drivers/net/wan/farsync.c dbg(DBG_TX, "Abort complete port %d\n", port->index); index 1588 drivers/net/wan/farsync.c dbg(DBG_TX, "Tx underflow port %d\n", port->index); index 1592 drivers/net/wan/farsync.c card->card_no, port->index); index 1687 drivers/net/wan/farsync.c FST_WRB(card, portConfig[port->index].invertClock, index 1759 drivers/net/wan/farsync.c i = port->index; index 1765 drivers/net/wan/farsync.c info->index = i; index 1796 drivers/net/wan/farsync.c if (port->index == 0) { index 1866 drivers/net/wan/farsync.c i = port->index; index 1961 drivers/net/wan/farsync.c i = port->index; index 2152 drivers/net/wan/farsync.c signals = FST_RDL(port->card, v24DebouncedSts[port->index]); index 2252 drivers/net/wan/farsync.c card->card_no, port->index); index 2279 drivers/net/wan/farsync.c card->card_no, port->index); index 2322 drivers/net/wan/farsync.c card->card_no, port->index); index 2499 drivers/net/wan/farsync.c card->ports[i].index = i; index 99 drivers/net/wan/farsync.h unsigned int index; /* Index of port ioctl was issued on */ index 272 drivers/net/wan/ixp4xx_hss.c u8 cmd, unused, hss_port, index; index 279 drivers/net/wan/ixp4xx_hss.c u8 index, hss_port, unused, cmd; index 381 drivers/net/wan/ixp4xx_hss.c msg.index = HSS_CONFIG_TX_LUT + ((ch / 4) & ~3); index 384 drivers/net/wan/ixp4xx_hss.c msg.index += HSS_CONFIG_RX_LUT - HSS_CONFIG_TX_LUT; index 397 drivers/net/wan/ixp4xx_hss.c msg.index = HSS_CONFIG_TX_PCR; index 404 drivers/net/wan/ixp4xx_hss.c msg.index = HSS_CONFIG_RX_PCR; index 411 drivers/net/wan/ixp4xx_hss.c msg.index = HSS_CONFIG_CORE_CR; index 419 drivers/net/wan/ixp4xx_hss.c msg.index = HSS_CONFIG_CLOCK_CR; index 426 drivers/net/wan/ixp4xx_hss.c msg.index = HSS_CONFIG_TX_FCR; index 434 drivers/net/wan/ixp4xx_hss.c msg.index = HSS_CONFIG_RX_FCR; index 1186 drivers/net/wimax/i2400m/fw.c size_t index, size_t offset) index 1205 drivers/net/wimax/i2400m/fw.c i2400m->fw_name, index, offset, index 1213 drivers/net/wimax/i2400m/fw.c i2400m->fw_name, index, offset, index 1221 drivers/net/wimax/i2400m/fw.c i2400m->fw_name, index, offset, index 1229 drivers/net/wimax/i2400m/fw.c i2400m->fw_name, index, offset, module_vendor); index 1236 drivers/net/wimax/i2400m/fw.c i2400m->fw_name, index, offset, date); index 553 drivers/net/wimax/i2400m/rx.c void i2400m_roq_log_entry_print(struct i2400m *i2400m, unsigned index, index 563 drivers/net/wimax/i2400m/rx.c index, e->ws, e->count, e->sn, e->nsn, e->new_ws); index 567 drivers/net/wimax/i2400m/rx.c index, e->ws, e->count, e->sn, e->nsn); index 572 drivers/net/wimax/i2400m/rx.c index, e->ws, e->count, e->sn, e->nsn, e->new_ws); index 577 drivers/net/wimax/i2400m/rx.c index, e->ws, e->count, e->sn, e->nsn, e->new_ws); index 581 drivers/net/wimax/i2400m/rx.c index, e_index, e->type); index 595 drivers/net/wimax/i2400m/rx.c int index = __i2400m_roq_index(i2400m, roq); index 611 drivers/net/wimax/i2400m/rx.c i2400m_roq_log_entry_print(i2400m, index, cnt_idx, e); index 621 drivers/net/wimax/i2400m/rx.c int index = __i2400m_roq_index(i2400m, roq); index 627 drivers/net/wimax/i2400m/rx.c i2400m_roq_log_entry_print(i2400m, index, cnt_idx, e); index 191 drivers/net/wireless/ath/ath10k/ce.c u32 index; index 195 drivers/net/wireless/ath/ath10k/ce.c index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_id); index 197 drivers/net/wireless/ath/ath10k/ce.c index = ath10k_ce_read32(ar, ce_ctrl_addr + index 200 drivers/net/wireless/ath/ath10k/ce.c return index; index 312 drivers/net/wireless/ath/ath10k/ce.c u32 index; index 316 drivers/net/wireless/ath/ath10k/ce.c index = ath10k_ce_dest_ring_read_index_from_ddr(ar, ce_id); index 318 drivers/net/wireless/ath/ath10k/ce.c index = ath10k_ce_read32(ar, ce_ctrl_addr + index 321 drivers/net/wireless/ath/ath10k/ce.c return index; index 1767 drivers/net/wireless/ath/ath10k/core.c int ie_id, i, index, bit, ret; index 1847 drivers/net/wireless/ath/ath10k/core.c index = i / 8; index 1850 drivers/net/wireless/ath/ath10k/core.c if (index == ie_len) index 1853 drivers/net/wireless/ath/ath10k/core.c if (data[index] & (1 << bit)) { index 36 drivers/net/wireless/ath/ath10k/p2p.c noa_attr->index = noa->index; index 475 drivers/net/wireless/ath/ath10k/usb.c u8 req, u16 value, u16 index, void *data, index 493 drivers/net/wireless/ath/ath10k/usb.c USB_RECIP_DEVICE, value, index, buf, index 509 drivers/net/wireless/ath/ath10k/usb.c u8 req, u16 value, u16 index, void *data, index 527 drivers/net/wireless/ath/ath10k/usb.c USB_RECIP_DEVICE, value, index, buf, index 6065 drivers/net/wireless/ath/ath10k/wmi.h u8 index; index 6115 drivers/net/wireless/ath/ath10k/wmi.h u8 index; index 1171 drivers/net/wireless/ath/ath5k/ath5k.h s16 index; /* current index into nfval */ index 208 drivers/net/wireless/ath/ath5k/phy.c if (rf_regs[i].index == reg_id) { index 752 drivers/net/wireless/ath/ath5k/phy.c unsigned int i, size, index; index 784 drivers/net/wireless/ath/ath5k/phy.c index = (band == NL80211_BAND_2GHZ) ? 1 : 0; index 788 drivers/net/wireless/ath/ath5k/phy.c ath5k_hw_reg_write(ah, ath5k_rfg[i].rfg_value[index], index 1540 drivers/net/wireless/ath/ath5k/phy.c ah->ah_nfcal_hist.index = 0; index 1553 drivers/net/wireless/ath/ath5k/phy.c hist->index = (hist->index + 1) & (ATH5K_NF_CAL_HIST_MAX - 1); index 1554 drivers/net/wireless/ath/ath5k/phy.c hist->nfval[hist->index] = noise_floor; index 95 drivers/net/wireless/ath/ath5k/rfbuffer.h u8 index; index 2135 drivers/net/wireless/ath/ath6kl/cfg80211.c u8 index = 0; index 2201 drivers/net/wireless/ath/ath6kl/cfg80211.c while (index < MAX_IP_ADDRS && ifa) { index 2202 drivers/net/wireless/ath/ath6kl/cfg80211.c ips[index] = ifa->ifa_local; index 2204 drivers/net/wireless/ath/ath6kl/cfg80211.c index++; index 85 drivers/net/wireless/ath/ath6kl/htc.h #define MAKE_SERVICE_ID(group, index) \ index 86 drivers/net/wireless/ath/ath6kl/htc.h (int)(((int)group << 8) | (int)(index)) index 960 drivers/net/wireless/ath/ath6kl/init.c int ret, ie_id, i, index, bit; index 1085 drivers/net/wireless/ath/ath6kl/init.c index = i / 8; index 1088 drivers/net/wireless/ath/ath6kl/init.c if (index == ie_len) index 1091 drivers/net/wireless/ath/ath6kl/init.c if (data[index] & (1 << bit)) index 1665 drivers/net/wireless/ath/ath6kl/init.c int i, index, bit; index 1669 drivers/net/wireless/ath/ath6kl/init.c index = i / 8; index 1672 drivers/net/wireless/ath/ath6kl/init.c if (index >= sizeof(ar->fw_capabilities) * 4) index 1685 drivers/net/wireless/ath/ath6kl/init.c if (data[index] & (1 << bit)) { index 352 drivers/net/wireless/ath/ath6kl/main.c u8 index; index 355 drivers/net/wireless/ath/ath6kl/main.c for (index = 0; index <= WMI_MAX_KEY_INDEX; index++) { index 356 drivers/net/wireless/ath/ath6kl/main.c if (vif->wep_key_list[index].key_len) { index 358 drivers/net/wireless/ath/ath6kl/main.c if (index == vif->def_txkey_index) index 362 drivers/net/wireless/ath/ath6kl/main.c index, index 365 drivers/net/wireless/ath/ath6kl/main.c vif->wep_key_list[index].key_len, index 367 drivers/net/wireless/ath/ath6kl/main.c vif->wep_key_list[index].key, index 860 drivers/net/wireless/ath/ath6kl/usb.c u8 req, u16 value, u16 index, void *data, index 877 drivers/net/wireless/ath/ath6kl/usb.c USB_RECIP_DEVICE, value, index, buf, index 892 drivers/net/wireless/ath/ath6kl/usb.c u8 req, u16 value, u16 index, void *data, index 909 drivers/net/wireless/ath/ath6kl/usb.c USB_RECIP_DEVICE, value, index, buf, index 482 drivers/net/wireless/ath/ath6kl/wmi.c int index; index 490 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < evt->num_msg; index++) { index 492 drivers/net/wireless/ath/ath6kl/wmi.c (index * sizeof(struct tx_complete_msg_v1)); index 1205 drivers/net/wireless/ath/ath6kl/wmi.c u32 sgi, index; index 1217 drivers/net/wireless/ath/ath6kl/wmi.c index = reply->rate_index & 0x7f; index 1218 drivers/net/wireless/ath/ath6kl/wmi.c if (WARN_ON_ONCE(index > (RATE_MCS_7_40 + 1))) index 1222 drivers/net/wireless/ath/ath6kl/wmi.c rate = wmi_rate_tbl[index][sgi]; index 1365 drivers/net/wireless/ath/ath6kl/wmi.c u32 index; index 1369 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < size; index++) { index 1370 drivers/net/wireless/ath/ath6kl/wmi.c if (rssi < sq_thresh->upper_threshold[index]) { index 1371 drivers/net/wireless/ath/ath6kl/wmi.c threshold = (u8) sq_thresh->upper_threshold[index]; index 1383 drivers/net/wireless/ath/ath6kl/wmi.c u32 index; index 1387 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < size; index++) { index 1388 drivers/net/wireless/ath/ath6kl/wmi.c if (rssi > sq_thresh->lower_threshold[index]) { index 1389 drivers/net/wireless/ath/ath6kl/wmi.c threshold = (u8) sq_thresh->lower_threshold[index]; index 1516 drivers/net/wireless/ath/ath6kl/wmi.c u8 tsid, index; index 1546 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < sizeof(active_tsids) * 8; index++) { index 1547 drivers/net/wireless/ath/ath6kl/wmi.c if ((active_tsids >> index) & 1) index 1550 drivers/net/wireless/ath/ath6kl/wmi.c if (index < (sizeof(active_tsids) * 8)) index 1552 drivers/net/wireless/ath/ath6kl/wmi.c reply->ac, index); index 1762 drivers/net/wireless/ath/ath6kl/wmi.c u8 index; index 1779 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < ev->num_ap; index++) { index 1781 drivers/net/wireless/ath/ath6kl/wmi.c index, ap_info_v1->bssid, ap_info_v1->channel); index 2163 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_probedssid_cmd(struct wmi *wmi, u8 if_idx, u8 index, u8 flag, index 2170 drivers/net/wireless/ath/ath6kl/wmi.c if (index >= MAX_PROBED_SSIDS) index 2190 drivers/net/wireless/ath/ath6kl/wmi.c cmd->entry_index = index; index 2458 drivers/net/wireless/ath/ath6kl/wmi.c u8 index, num_pri_streams = 0; index 2465 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < WMM_NUM_AC; index++) { index 2466 drivers/net/wireless/ath/ath6kl/wmi.c if (wmi->fat_pipe_exist & (1 << index)) { index 2469 drivers/net/wireless/ath/ath6kl/wmi.c index; index 2487 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < num_pri_streams; index++) { index 2488 drivers/net/wireless/ath/ath6kl/wmi.c data_sync_bufs[index].skb = ath6kl_buf_alloc(0); index 2489 drivers/net/wireless/ath/ath6kl/wmi.c if (data_sync_bufs[index].skb == NULL) { index 2512 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < num_pri_streams; index++) { index 2513 drivers/net/wireless/ath/ath6kl/wmi.c if (WARN_ON(!data_sync_bufs[index].skb)) index 2517 drivers/net/wireless/ath/ath6kl/wmi.c data_sync_bufs[index]. index 2520 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_wmi_data_sync_send(wmi, data_sync_bufs[index].skb, index 2523 drivers/net/wireless/ath/ath6kl/wmi.c data_sync_bufs[index].skb = NULL; index 2536 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < num_pri_streams; index++) index 2537 drivers/net/wireless/ath/ath6kl/wmi.c dev_kfree_skb((struct sk_buff *)data_sync_bufs[index].skb); index 2586 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_probedssid_cmd(struct wmi *wmi, u8 if_idx, u8 index, u8 flag, index 387 drivers/net/wireless/ath/ath9k/ar9002_mac.c static int ar9002_hw_get_duration(struct ath_hw *ah, const void *ds, int index) index 391 drivers/net/wireless/ath/ath9k/ar9002_mac.c switch (index) { index 57 drivers/net/wireless/ath/ath9k/ar9003_aic.c bool dir, u8 index) index 62 drivers/net/wireless/ath/ath9k/ar9003_aic.c for (i = index + 1; i < ATH_AIC_MAX_BT_CHANNEL; i++) { index 67 drivers/net/wireless/ath/ath9k/ar9003_aic.c for (i = index - 1; i >= 0; i--) { index 434 drivers/net/wireless/ath/ath9k/ar9003_mac.c static int ar9003_hw_get_duration(struct ath_hw *ah, const void *ds, int index) index 438 drivers/net/wireless/ath/ath9k/ar9003_mac.c switch (index) { index 294 drivers/net/wireless/ath/ath9k/ar9003_paprd.c u8 *index = ah->paprd_gain_table_index; index 300 drivers/net/wireless/ath/ath9k/ar9003_paprd.c index[i] = (entry[i] >> 24) & 0xff; index 73 drivers/net/wireless/ath/ath9k/ar9003_rtt.c u32 index, u32 data28) index 82 drivers/net/wireless/ath/ath9k/ar9003_rtt.c SM(index, AR_PHY_RTT_SW_RTT_TABLE_ADDR); index 121 drivers/net/wireless/ath/ath9k/ar9003_rtt.c static void ar9003_hw_patch_rtt(struct ath_hw *ah, int index, int chain) index 128 drivers/net/wireless/ath/ath9k/ar9003_rtt.c if ((index != 5) || (chain >= 2)) index 137 drivers/net/wireless/ath/ath9k/ar9003_rtt.c ah->caldata->rtt_table[chain][index] &= 0xFFFF05FF; index 139 drivers/net/wireless/ath/ath9k/ar9003_rtt.c ah->caldata->rtt_table[chain][index] |= (caldac << 4); index 142 drivers/net/wireless/ath/ath9k/ar9003_rtt.c static int ar9003_hw_rtt_fill_hist_entry(struct ath_hw *ah, u8 chain, u32 index) index 148 drivers/net/wireless/ath/ath9k/ar9003_rtt.c SM(index, AR_PHY_RTT_SW_RTT_TABLE_ADDR); index 1529 drivers/net/wireless/ath/ath9k/channel.c noa->index = avp->noa_index; index 533 drivers/net/wireless/ath/ath9k/hif_usb.c int index = 0, i, len = skb->len; index 549 drivers/net/wireless/ath/ath9k/hif_usb.c index = rx_remain_len; index 562 drivers/net/wireless/ath/ath9k/hif_usb.c index = rx_remain_len; index 568 drivers/net/wireless/ath/ath9k/hif_usb.c while (index < len) { index 576 drivers/net/wireless/ath/ath9k/hif_usb.c pkt_len = get_unaligned_le16(ptr + index); index 577 drivers/net/wireless/ath/ath9k/hif_usb.c pkt_tag = get_unaligned_le16(ptr + index + 2); index 588 drivers/net/wireless/ath/ath9k/hif_usb.c chk_idx = index; index 589 drivers/net/wireless/ath/ath9k/hif_usb.c index = index + 4 + pkt_len + pad_len; index 591 drivers/net/wireless/ath/ath9k/hif_usb.c if (index > MAX_RX_BUF_SIZE) { index 593 drivers/net/wireless/ath/ath9k/hif_usb.c hif_dev->rx_remain_len = index - MAX_RX_BUF_SIZE; index 1122 drivers/net/wireless/ath/ath9k/hif_usb.c char index[8], *chip; index 1128 drivers/net/wireless/ath/ath9k/hif_usb.c sprintf(index, "%s", "dev"); index 1131 drivers/net/wireless/ath/ath9k/hif_usb.c sprintf(index, "%d", hif_dev->fw_minor_index); index 1135 drivers/net/wireless/ath/ath9k/hif_usb.c sprintf(index, "%d", hif_dev->fw_minor_index); index 1169 drivers/net/wireless/ath/ath9k/hif_usb.c chip, MAJOR_VERSION_REQ, index); index 114 drivers/net/wireless/ath/ath9k/htc.h u8 index; index 242 drivers/net/wireless/ath/ath9k/htc.h u8 index; index 265 drivers/net/wireless/ath/ath9k/htc.h u8 index; index 246 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c beacon_hdr.vif_index = avp->index; index 339 drivers/net/wireless/ath/ath9k/htc_drv_main.c hvif.index = priv->mon_vif_idx; index 377 drivers/net/wireless/ath/ath9k/htc_drv_main.c hvif.index = ffz(priv->vif_slot); index 387 drivers/net/wireless/ath/ath9k/htc_drv_main.c priv->mon_vif_idx = hvif.index; index 388 drivers/net/wireless/ath/ath9k/htc_drv_main.c priv->vif_slot |= (1 << hvif.index); index 408 drivers/net/wireless/ath/ath9k/htc_drv_main.c tsta.vif_index = hvif.index; index 491 drivers/net/wireless/ath/ath9k/htc_drv_main.c ista->index = sta_idx; index 503 drivers/net/wireless/ath/ath9k/htc_drv_main.c tsta.vif_index = avp->index; index 521 drivers/net/wireless/ath/ath9k/htc_drv_main.c avp->index, tsta.sta_index); index 527 drivers/net/wireless/ath/ath9k/htc_drv_main.c priv->vif_sta_pos[avp->index] = sta_idx; index 544 drivers/net/wireless/ath/ath9k/htc_drv_main.c sta_idx = ista->index; index 546 drivers/net/wireless/ath/ath9k/htc_drv_main.c sta_idx = priv->vif_sta_pos[avp->index]; index 565 drivers/net/wireless/ath/ath9k/htc_drv_main.c avp->index, sta_idx); index 638 drivers/net/wireless/ath/ath9k/htc_drv_main.c trate->sta_index = ista->index; index 720 drivers/net/wireless/ath/ath9k/htc_drv_main.c aggr.sta_index = ista->index; index 1071 drivers/net/wireless/ath/ath9k/htc_drv_main.c avp->index = hvif.index = ffz(priv->vif_slot); index 1089 drivers/net/wireless/ath/ath9k/htc_drv_main.c priv->vif_slot |= (1 << avp->index); index 1108 drivers/net/wireless/ath/ath9k/htc_drv_main.c vif->type, avp->index); index 1132 drivers/net/wireless/ath/ath9k/htc_drv_main.c hvif.index = avp->index; index 1136 drivers/net/wireless/ath/ath9k/htc_drv_main.c avp->index); index 1139 drivers/net/wireless/ath/ath9k/htc_drv_main.c priv->vif_slot &= ~(1 << avp->index); index 1169 drivers/net/wireless/ath/ath9k/htc_drv_main.c ath_dbg(common, CONFIG, "Detach Interface at idx: %d\n", avp->index); index 1350 drivers/net/wireless/ath/ath9k/htc_drv_main.c htc_sta_drain(priv->htc, ista->index); index 1773 drivers/net/wireless/ath/ath9k/htc_drv_main.c tmask.vif_index = avp->index; index 1781 drivers/net/wireless/ath/ath9k/htc_drv_main.c "interface at idx: %d\n", avp->index); index 1792 drivers/net/wireless/ath/ath9k/htc_drv_main.c "interface at idx: %d\n", avp->index); index 355 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c vif_idx = avp->index; index 371 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c sta_idx = ista->index; index 157 drivers/net/wireless/ath/ath9k/htc_hst.h #define MAKE_SERVICE_ID(group, index) \ index 158 drivers/net/wireless/ath/ath9k/htc_hst.h (int)(((int)group << 8) | (int)(index)) index 70 drivers/net/wireless/ath/ath9k/hw-ops.h int index) index 72 drivers/net/wireless/ath/ath9k/hw-ops.h return ath9k_hw_ops(ah)->get_duration(ah, ds, index); index 3147 drivers/net/wireless/ath/ath9k/hw.c timer->index = timer_index; index 3169 drivers/net/wireless/ath/ath9k/hw.c timer_table->timer_mask |= BIT(timer->index); index 3174 drivers/net/wireless/ath/ath9k/hw.c REG_WRITE(ah, gen_tmr_configuration[timer->index].next_addr, index 3176 drivers/net/wireless/ath/ath9k/hw.c REG_WRITE(ah, gen_tmr_configuration[timer->index].period_addr, index 3178 drivers/net/wireless/ath/ath9k/hw.c REG_SET_BIT(ah, gen_tmr_configuration[timer->index].mode_addr, index 3179 drivers/net/wireless/ath/ath9k/hw.c gen_tmr_configuration[timer->index].mode_mask); index 3187 drivers/net/wireless/ath/ath9k/hw.c if ((timer->index < AR_GEN_TIMER_BANK_1_LEN)) index 3189 drivers/net/wireless/ath/ath9k/hw.c (1 << timer->index)); index 3192 drivers/net/wireless/ath/ath9k/hw.c (1 << timer->index)); index 3196 drivers/net/wireless/ath/ath9k/hw.c mask |= SM(AR_GENTMR_BIT(timer->index), index 3199 drivers/net/wireless/ath/ath9k/hw.c mask |= SM(AR_GENTMR_BIT(timer->index), index 3216 drivers/net/wireless/ath/ath9k/hw.c REG_CLR_BIT(ah, gen_tmr_configuration[timer->index].mode_addr, index 3217 drivers/net/wireless/ath/ath9k/hw.c gen_tmr_configuration[timer->index].mode_mask); index 3223 drivers/net/wireless/ath/ath9k/hw.c if ((timer->index >= AR_GEN_TIMER_BANK_1_LEN)) { index 3225 drivers/net/wireless/ath/ath9k/hw.c (1 << timer->index)); index 3231 drivers/net/wireless/ath/ath9k/hw.c (SM(AR_GENTMR_BIT(timer->index), AR_IMR_S5_GENTIMER_THRESH) | index 3232 drivers/net/wireless/ath/ath9k/hw.c SM(AR_GENTMR_BIT(timer->index), AR_IMR_S5_GENTIMER_TRIG))); index 3234 drivers/net/wireless/ath/ath9k/hw.c timer_table->timer_mask &= ~BIT(timer->index); index 3248 drivers/net/wireless/ath/ath9k/hw.c timer_table->timers[timer->index] = NULL; index 3261 drivers/net/wireless/ath/ath9k/hw.c unsigned int index; index 3269 drivers/net/wireless/ath/ath9k/hw.c for_each_set_bit(index, &thresh_mask, ARRAY_SIZE(timer_table->timers)) { index 3270 drivers/net/wireless/ath/ath9k/hw.c timer = timer_table->timers[index]; index 3276 drivers/net/wireless/ath/ath9k/hw.c trigger_mask &= ~BIT(index); index 3280 drivers/net/wireless/ath/ath9k/hw.c for_each_set_bit(index, &trigger_mask, ARRAY_SIZE(timer_table->timers)) { index 3281 drivers/net/wireless/ath/ath9k/hw.c timer = timer_table->timers[index]; index 552 drivers/net/wireless/ath/ath9k/hw.h u8 index; index 735 drivers/net/wireless/ath/ath9k/hw.h int (*get_duration)(struct ath_hw *ah, const void *ds, int index); index 276 drivers/net/wireless/ath/ath9k/xmit.c int index, cindex; index 281 drivers/net/wireless/ath/ath9k/xmit.c index = ATH_BA_INDEX(tid->seq_start, seqno); index 282 drivers/net/wireless/ath/ath9k/xmit.c cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1); index 299 drivers/net/wireless/ath/ath9k/xmit.c int index, cindex; index 304 drivers/net/wireless/ath/ath9k/xmit.c index = ATH_BA_INDEX(tid->seq_start, seqno); index 305 drivers/net/wireless/ath/ath9k/xmit.c cindex = (tid->baw_head + index) & (ATH_TID_MAX_BUFS - 1); index 309 drivers/net/wireless/ath/ath9k/xmit.c if (index >= ((tid->baw_tail - tid->baw_head) & index 3914 drivers/net/wireless/ath/wcn36xx/hal.h u8 index; index 1219 drivers/net/wireless/ath/wcn36xx/main.c int index; index 1263 drivers/net/wireless/ath/wcn36xx/main.c index = of_property_match_string(mmio_node, "reg-names", "ccu"); index 1264 drivers/net/wireless/ath/wcn36xx/main.c wcn->ccu_base = of_iomap(mmio_node, index); index 1272 drivers/net/wireless/ath/wcn36xx/main.c index = of_property_match_string(mmio_node, "reg-names", "dxe"); index 1273 drivers/net/wireless/ath/wcn36xx/main.c wcn->dxe_base = of_iomap(mmio_node, index); index 1578 drivers/net/wireless/ath/wil6210/debugfs.c u16 index = ((r->head_seq_num - r->ssn) & 0xfff) % r->buf_size; index 1584 drivers/net/wireless/ath/wil6210/debugfs.c if (i == index) index 46 drivers/net/wireless/ath/wil6210/rx_reorder.c int index) index 48 drivers/net/wireless/ath/wil6210/rx_reorder.c struct sk_buff *skb = r->reorder_buf[index]; index 55 drivers/net/wireless/ath/wil6210/rx_reorder.c r->reorder_buf[index] = NULL; index 66 drivers/net/wireless/ath/wil6210/rx_reorder.c int index; index 75 drivers/net/wireless/ath/wil6210/rx_reorder.c index = reorder_index(r, r->head_seq_num); index 76 drivers/net/wireless/ath/wil6210/rx_reorder.c wil_release_reorder_frame(ndev, r, index); index 84 drivers/net/wireless/ath/wil6210/rx_reorder.c int index = reorder_index(r, r->head_seq_num); index 86 drivers/net/wireless/ath/wil6210/rx_reorder.c while (r->reorder_buf[index]) { index 87 drivers/net/wireless/ath/wil6210/rx_reorder.c wil_release_reorder_frame(ndev, r, index); index 88 drivers/net/wireless/ath/wil6210/rx_reorder.c index = reorder_index(r, r->head_seq_num); index 103 drivers/net/wireless/ath/wil6210/rx_reorder.c int index; index 193 drivers/net/wireless/ath/wil6210/rx_reorder.c index = reorder_index(r, seq); index 196 drivers/net/wireless/ath/wil6210/rx_reorder.c if (r->reorder_buf[index]) { index 216 drivers/net/wireless/ath/wil6210/rx_reorder.c r->reorder_buf[index] = skb; index 161 drivers/net/wireless/ath/wil6210/trace.h TP_PROTO(u16 index, struct vring_rx_desc *d), index 162 drivers/net/wireless/ath/wil6210/trace.h TP_ARGS(index, d), index 164 drivers/net/wireless/ath/wil6210/trace.h __field(u16, index) index 175 drivers/net/wireless/ath/wil6210/trace.h __entry->index = index; index 186 drivers/net/wireless/ath/wil6210/trace.h " type 0x%1x subtype 0x%1x", __entry->index, __entry->len, index 226 drivers/net/wireless/ath/wil6210/trace.h TP_PROTO(u8 vring, u16 index, unsigned int len, u8 frags), index 227 drivers/net/wireless/ath/wil6210/trace.h TP_ARGS(vring, index, len, frags), index 231 drivers/net/wireless/ath/wil6210/trace.h __field(u16, index) index 237 drivers/net/wireless/ath/wil6210/trace.h __entry->index = index; index 241 drivers/net/wireless/ath/wil6210/trace.h __entry->vring, __entry->index, __entry->len, __entry->frags) index 245 drivers/net/wireless/ath/wil6210/trace.h TP_PROTO(u8 vring, u16 index, unsigned int len, u8 err), index 246 drivers/net/wireless/ath/wil6210/trace.h TP_ARGS(vring, index, len, err), index 250 drivers/net/wireless/ath/wil6210/trace.h __field(u16, index) index 255 drivers/net/wireless/ath/wil6210/trace.h __entry->index = index; index 260 drivers/net/wireless/ath/wil6210/trace.h __entry->vring, __entry->index, __entry->len, index 265 drivers/net/wireless/ath/wil6210/trace.h TP_PROTO(struct wil_ring_tx_status *msg, u16 index, index 267 drivers/net/wireless/ath/wil6210/trace.h TP_ARGS(msg, index, len), index 268 drivers/net/wireless/ath/wil6210/trace.h TP_STRUCT__entry(__field(u16, index) index 276 drivers/net/wireless/ath/wil6210/trace.h TP_fast_assign(__entry->index = index; index 285 drivers/net/wireless/ath/wil6210/trace.h __entry->ring_id, __entry->index, __entry->len, index 1086 drivers/net/wireless/ath/wil6210/wmi.h u8 index; index 852 drivers/net/wireless/atmel/at76c50x-usb.c priv->mib_buf.index = offsetof(struct mib_mac_mgmt, power_mgmt_mode); index 869 drivers/net/wireless/atmel/at76c50x-usb.c priv->mib_buf.index = offsetof(struct mib_local, preamble_type); index 886 drivers/net/wireless/atmel/at76c50x-usb.c priv->mib_buf.index = offsetof(struct mib_mac, frag_threshold); index 903 drivers/net/wireless/atmel/at76c50x-usb.c priv->mib_buf.index = offsetof(struct mib_mac, rts_threshold); index 919 drivers/net/wireless/atmel/at76c50x-usb.c priv->mib_buf.index = offsetof(struct mib_local, txautorate_fallback); index 1480 drivers/net/wireless/atmel/at76c50x-usb.c priv->mib_buf.index = offsetof(struct mib_local, promiscuous_mode); index 2101 drivers/net/wireless/atmel/at76c50x-usb.c priv->mib_buf.index = 0; index 324 drivers/net/wireless/atmel/at76c50x-usb.h u8 index; index 160 drivers/net/wireless/atmel/atmel.c u8 index; index 598 drivers/net/wireless/atmel/atmel.c static u8 atmel_get_mib8(struct atmel_private *priv, u8 type, u8 index); index 599 drivers/net/wireless/atmel/atmel.c static void atmel_set_mib8(struct atmel_private *priv, u8 type, u8 index, index 601 drivers/net/wireless/atmel/atmel.c static void atmel_set_mib16(struct atmel_private *priv, u8 type, u8 index, index 603 drivers/net/wireless/atmel/atmel.c static void atmel_set_mib(struct atmel_private *priv, u8 type, u8 index, index 605 drivers/net/wireless/atmel/atmel.c static void atmel_get_mib(struct atmel_private *priv, u8 type, u8 index, index 1657 drivers/net/wireless/atmel/atmel.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 1664 drivers/net/wireless/atmel/atmel.c if (index != 0) index 1721 drivers/net/wireless/atmel/atmel.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 1728 drivers/net/wireless/atmel/atmel.c if (index < 0 || index >= 4) index 1729 drivers/net/wireless/atmel/atmel.c index = current_index; index 1731 drivers/net/wireless/atmel/atmel.c priv->default_key = index; index 1734 drivers/net/wireless/atmel/atmel.c priv->wep_key_len[index] = 13; index 1737 drivers/net/wireless/atmel/atmel.c priv->wep_key_len[index] = 5; index 1740 drivers/net/wireless/atmel/atmel.c priv->wep_key_len[index] = 0; index 1744 drivers/net/wireless/atmel/atmel.c memset(priv->wep_keys[index], 0, 13); index 1746 drivers/net/wireless/atmel/atmel.c memcpy(priv->wep_keys[index], extra, dwrq->length); index 1751 drivers/net/wireless/atmel/atmel.c if (index == current_index && index 1752 drivers/net/wireless/atmel/atmel.c priv->wep_key_len[index] > 0) { index 1755 drivers/net/wireless/atmel/atmel.c if (priv->wep_key_len[index] > 5) { index 1765 drivers/net/wireless/atmel/atmel.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 1766 drivers/net/wireless/atmel/atmel.c if (index >= 0 && index < 4) { index 1767 drivers/net/wireless/atmel/atmel.c priv->default_key = index; index 1802 drivers/net/wireless/atmel/atmel.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 1813 drivers/net/wireless/atmel/atmel.c if (index < 0 || index >= 4) index 1814 drivers/net/wireless/atmel/atmel.c index = priv->default_key; index 1815 drivers/net/wireless/atmel/atmel.c dwrq->flags |= index + 1; index 1817 drivers/net/wireless/atmel/atmel.c dwrq->length = priv->wep_key_len[index]; index 1822 drivers/net/wireless/atmel/atmel.c memcpy(extra, priv->wep_keys[index], dwrq->length); index 2987 drivers/net/wireless/atmel/atmel.c int i, index; index 2989 drivers/net/wireless/atmel/atmel.c for (index = -1, i = 0; i < priv->BSS_list_entries; i++) index 2991 drivers/net/wireless/atmel/atmel.c index = i; index 2997 drivers/net/wireless/atmel/atmel.c if (index == -1) { index 3000 drivers/net/wireless/atmel/atmel.c index = priv->BSS_list_entries++; index 3001 drivers/net/wireless/atmel/atmel.c memcpy(priv->BSSinfo[index].BSSID, bss, ETH_ALEN); index 3002 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].RSSI = rssi; index 3004 drivers/net/wireless/atmel/atmel.c if (rssi > priv->BSSinfo[index].RSSI) index 3005 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].RSSI = rssi; index 3010 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].channel = channel; index 3011 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].beacon_period = beacon_period; index 3012 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].UsingWEP = capability & WLAN_CAPABILITY_PRIVACY; index 3013 drivers/net/wireless/atmel/atmel.c memcpy(priv->BSSinfo[index].SSID, ssid, ssid_len); index 3014 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].SSIDsize = ssid_len; index 3017 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].BSStype = IW_MODE_ADHOC; index 3019 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].BSStype = IW_MODE_INFRA; index 3021 drivers/net/wireless/atmel/atmel.c priv->BSSinfo[index].preamble = capability & WLAN_CAPABILITY_SHORT_PREAMBLE ? index 4072 drivers/net/wireless/atmel/atmel.c static u8 atmel_get_mib8(struct atmel_private *priv, u8 type, u8 index) index 4077 drivers/net/wireless/atmel/atmel.c m.index = index; index 4083 drivers/net/wireless/atmel/atmel.c static void atmel_set_mib8(struct atmel_private *priv, u8 type, u8 index, u8 data) index 4088 drivers/net/wireless/atmel/atmel.c m.index = index; index 4094 drivers/net/wireless/atmel/atmel.c static void atmel_set_mib16(struct atmel_private *priv, u8 type, u8 index, index 4100 drivers/net/wireless/atmel/atmel.c m.index = index; index 4107 drivers/net/wireless/atmel/atmel.c static void atmel_set_mib(struct atmel_private *priv, u8 type, u8 index, index 4113 drivers/net/wireless/atmel/atmel.c m.index = index; index 4122 drivers/net/wireless/atmel/atmel.c static void atmel_get_mib(struct atmel_private *priv, u8 type, u8 index, index 4128 drivers/net/wireless/atmel/atmel.c m.index = index; index 289 drivers/net/wireless/broadcom/b43/dma.c ring->tx ? "TX" : "RX", ring->index); index 859 drivers/net/wireless/broadcom/b43/dma.c ring->index = controller_index; index 868 drivers/net/wireless/broadcom/b43/dma.c if (ring->index == 0) { index 1148 drivers/net/wireless/broadcom/b43/dma.c cookie = (((u16)ring->index + 1) << 12); index 1301 drivers/net/wireless/broadcom/b43/dma.c "DMA controller %d\n", ring->index); index 1406 drivers/net/wireless/broadcom/b43/dma.c b43dbg(dev->wl, "Stopped TX ring %d\n", ring->index); index 1454 drivers/net/wireless/broadcom/b43/dma.c ring->index, slot); index 1465 drivers/net/wireless/broadcom/b43/dma.c ring->index, firstused, slot); index 1481 drivers/net/wireless/broadcom/b43/dma.c slot, firstused, ring->index); index 1507 drivers/net/wireless/broadcom/b43/dma.c slot, firstused, ring->index); index 1546 drivers/net/wireless/broadcom/b43/dma.c slot, firstused, ring->index); index 1575 drivers/net/wireless/broadcom/b43/dma.c b43dbg(dev->wl, "Woke up TX ring %d\n", ring->index); index 253 drivers/net/wireless/broadcom/b43/dma.h int index; index 70 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_on(dev, led->index, led->activelow); index 72 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, led->index, led->activelow); index 119 drivers/net/wireless/broadcom/b43/leds.c led->index = led_index; index 260 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_on(dev, led->index, led->activelow); index 264 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, led->index, led->activelow); index 273 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, led->index, led->activelow); index 279 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, led->index, led->activelow); index 285 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, led->index, led->activelow); index 313 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, leds->led_tx.index, leds->led_tx.activelow); index 314 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, leds->led_rx.index, leds->led_rx.activelow); index 315 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, leds->led_assoc.index, leds->led_assoc.activelow); index 316 drivers/net/wireless/broadcom/b43/leds.c b43_led_turn_off(dev, leds->led_radio.index, leds->led_radio.activelow); index 22 drivers/net/wireless/broadcom/b43/leds.h u8 index; index 825 drivers/net/wireless/broadcom/b43/main.c u8 index, u8 algorithm, const u8 *key) index 833 drivers/net/wireless/broadcom/b43/main.c kidx = b43_kidx_to_fw(dev, index); index 839 drivers/net/wireless/broadcom/b43/main.c offset = dev->ktp + (index * B43_SEC_KEYSIZE); index 847 drivers/net/wireless/broadcom/b43/main.c static void keymac_write(struct b43_wldev *dev, u8 index, const u8 *addr) index 855 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(index < pairwise_keys_start); index 861 drivers/net/wireless/broadcom/b43/main.c index -= pairwise_keys_start; index 862 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(index >= B43_NR_PAIRWISE_KEYS); index 875 drivers/net/wireless/broadcom/b43/main.c (index * 2) + 0, addrtmp[0]); index 877 drivers/net/wireless/broadcom/b43/main.c (index * 2) + 1, addrtmp[1]); index 897 drivers/net/wireless/broadcom/b43/main.c static void rx_tkip_phase1_write(struct b43_wldev *dev, u8 index, u32 iv32, index 910 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(index < pairwise_keys_start); index 916 drivers/net/wireless/broadcom/b43/main.c index -= pairwise_keys_start; index 917 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(index >= B43_NR_PAIRWISE_KEYS); index 921 drivers/net/wireless/broadcom/b43/main.c index, iv32); index 924 drivers/net/wireless/broadcom/b43/main.c offset = B43_SHM_SH_TKIPTSCTTAK + index * (10 + 4); index 941 drivers/net/wireless/broadcom/b43/main.c int index = keyconf->hw_key_idx; index 952 drivers/net/wireless/broadcom/b43/main.c keymac_write(dev, index, NULL); /* First zero out mac to avoid race */ index 954 drivers/net/wireless/broadcom/b43/main.c rx_tkip_phase1_write(dev, index, iv32, phase1key); index 958 drivers/net/wireless/broadcom/b43/main.c keymac_write(dev, index, sta->addr); index 962 drivers/net/wireless/broadcom/b43/main.c u8 index, u8 algorithm, index 971 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(index >= ARRAY_SIZE(dev->key)); index 974 drivers/net/wireless/broadcom/b43/main.c if (index >= pairwise_keys_start) index 975 drivers/net/wireless/broadcom/b43/main.c keymac_write(dev, index, NULL); /* First zero out mac. */ index 986 drivers/net/wireless/broadcom/b43/main.c rx_tkip_phase1_write(dev, index, 0xffffffff, (u16*)buf); index 987 drivers/net/wireless/broadcom/b43/main.c } else if (index >= pairwise_keys_start) /* clear it */ index 988 drivers/net/wireless/broadcom/b43/main.c rx_tkip_phase1_write(dev, index, 0, NULL); index 991 drivers/net/wireless/broadcom/b43/main.c key_write(dev, index, algorithm, buf); index 992 drivers/net/wireless/broadcom/b43/main.c if (index >= pairwise_keys_start) index 993 drivers/net/wireless/broadcom/b43/main.c keymac_write(dev, index, mac_addr); index 995 drivers/net/wireless/broadcom/b43/main.c dev->key[index].algorithm = algorithm; index 999 drivers/net/wireless/broadcom/b43/main.c int index, u8 algorithm, index 1022 drivers/net/wireless/broadcom/b43/main.c if (index < 0) { index 1034 drivers/net/wireless/broadcom/b43/main.c index = i; index 1038 drivers/net/wireless/broadcom/b43/main.c if (index < 0) { index 1043 drivers/net/wireless/broadcom/b43/main.c B43_WARN_ON(index > 3); index 1045 drivers/net/wireless/broadcom/b43/main.c do_key_write(dev, index, algorithm, key, key_len, mac_addr); index 1046 drivers/net/wireless/broadcom/b43/main.c if ((index <= 3) && !b43_new_kidx_api(dev)) { index 1049 drivers/net/wireless/broadcom/b43/main.c do_key_write(dev, index + 4, algorithm, key, key_len, NULL); index 1051 drivers/net/wireless/broadcom/b43/main.c keyconf->hw_key_idx = index; index 1052 drivers/net/wireless/broadcom/b43/main.c dev->key[index].keyconf = keyconf; index 1057 drivers/net/wireless/broadcom/b43/main.c static int b43_key_clear(struct b43_wldev *dev, int index) index 1059 drivers/net/wireless/broadcom/b43/main.c if (B43_WARN_ON((index < 0) || (index >= ARRAY_SIZE(dev->key)))) index 1061 drivers/net/wireless/broadcom/b43/main.c do_key_write(dev, index, B43_SEC_ALGO_NONE, index 1063 drivers/net/wireless/broadcom/b43/main.c if ((index <= 3) && !b43_new_kidx_api(dev)) { index 1064 drivers/net/wireless/broadcom/b43/main.c do_key_write(dev, index + 4, B43_SEC_ALGO_NONE, index 1067 drivers/net/wireless/broadcom/b43/main.c dev->key[index].keyconf = NULL; index 1086 drivers/net/wireless/broadcom/b43/main.c unsigned int i, index, count, offset, pairwise_keys_start; index 1107 drivers/net/wireless/broadcom/b43/main.c for (index = 0; index < count; index++) { index 1108 drivers/net/wireless/broadcom/b43/main.c key = &(dev->key[index]); index 1110 drivers/net/wireless/broadcom/b43/main.c index, (key->keyconf == NULL) ? " " : "*"); index 1111 drivers/net/wireless/broadcom/b43/main.c offset = dev->ktp + (index * B43_SEC_KEYSIZE); index 1118 drivers/net/wireless/broadcom/b43/main.c B43_SHM_SH_KEYIDXBLOCK + (index * 2)); index 1121 drivers/net/wireless/broadcom/b43/main.c if (index >= pairwise_keys_start) { index 1124 drivers/net/wireless/broadcom/b43/main.c offset = B43_SHM_SH_TKIPTSCTTAK + (index - 4) * (10 + 4); index 1131 drivers/net/wireless/broadcom/b43/main.c ((index - pairwise_keys_start) * 2) + 0); index 1133 drivers/net/wireless/broadcom/b43/main.c ((index - pairwise_keys_start) * 2) + 1); index 4161 drivers/net/wireless/broadcom/b43/main.c u8 index; index 4214 drivers/net/wireless/broadcom/b43/main.c index = (u8) (key->keyidx); index 4215 drivers/net/wireless/broadcom/b43/main.c if (index > 3) index 4239 drivers/net/wireless/broadcom/b43/main.c err = b43_key_write(dev, index, algorithm, index 1081 drivers/net/wireless/broadcom/b43/phy_g.c u16 reg, index, ret; index 1091 drivers/net/wireless/broadcom/b43/phy_g.c index = (reg & 0x001E) >> 1; index 1092 drivers/net/wireless/broadcom/b43/phy_g.c ret = rcc_table[index] << 1; index 2333 drivers/net/wireless/broadcom/b43/phy_g.c static s8 b43_tssi2dbm_entry(s8 entry[], u8 index, index 2339 drivers/net/wireless/broadcom/b43/phy_g.c m1 = b43_tssi2dbm_ad(16 * pab0 + index * pab1, 32); index 2340 drivers/net/wireless/broadcom/b43/phy_g.c m2 = max(b43_tssi2dbm_ad(32768 + index * pab2, 256), 1); index 2350 drivers/net/wireless/broadcom/b43/phy_g.c entry[index] = clamp_val(b43_tssi2dbm_ad(m1 * f, 8192), -127, 128); index 1029 drivers/net/wireless/broadcom/b43/phy_lp.c int i, index = -1; index 1051 drivers/net/wireless/broadcom/b43/phy_lp.c index = i; index 1056 drivers/net/wireless/broadcom/b43/phy_lp.c return index; index 1369 drivers/net/wireless/broadcom/b43/phy_lp.c static void lpphy_set_tx_power_by_index(struct b43_wldev *dev, u8 index) index 1375 drivers/net/wireless/broadcom/b43/phy_lp.c lpphy->tx_pwr_idx_over = index; index 1380 drivers/net/wireless/broadcom/b43/phy_lp.c iq_comp = b43_lptab_read(dev, B43_LPTAB32(7, index + 320)); index 1381 drivers/net/wireless/broadcom/b43/phy_lp.c tx_gain = b43_lptab_read(dev, B43_LPTAB32(7, index + 192)); index 1388 drivers/net/wireless/broadcom/b43/phy_lp.c iq_comp = b43_lptab_read(dev, B43_LPTAB32(10, index + 320)); index 1389 drivers/net/wireless/broadcom/b43/phy_lp.c tx_gain = b43_lptab_read(dev, B43_LPTAB32(10, index + 192)); index 1398 drivers/net/wireless/broadcom/b43/phy_lp.c coeff = b43_lptab_read(dev, B43_LPTAB32(7, index + 448)); index 1400 drivers/net/wireless/broadcom/b43/phy_lp.c coeff = b43_lptab_read(dev, B43_LPTAB32(10, index + 448)); index 1404 drivers/net/wireless/broadcom/b43/phy_lp.c rf_power = b43_lptab_read(dev, B43_LPTAB32(7, index + 576)); index 245 drivers/net/wireless/broadcom/b43/phy_n.c u8 index = fls(field); index 248 drivers/net/wireless/broadcom/b43/phy_n.c B43_WARN_ON(field & (~(1 << (index - 1)))); index 253 drivers/net/wireless/broadcom/b43/phy_n.c if (index == 0 || index == 16) { index 259 drivers/net/wireless/broadcom/b43/phy_n.c rf_ctrl = &tbl_rf_control_override_rev3[index - 1]; index 288 drivers/net/wireless/broadcom/b43/phy_n.c if (index <= 1 || index == 16) { index 294 drivers/net/wireless/broadcom/b43/phy_n.c if (index == 2 || index == 10 || index 295 drivers/net/wireless/broadcom/b43/phy_n.c (index >= 13 && index <= 15)) { index 299 drivers/net/wireless/broadcom/b43/phy_n.c rf_ctrl = &tbl_rf_control_override_rev2[index - 2]; index 5044 drivers/net/wireless/broadcom/b43/phy_n.c u16 index[2]; index 5045 drivers/net/wireless/broadcom/b43/phy_n.c index[0] = (b43_phy_read(dev, B43_NPHY_C1_TXPCTL_STAT) & index 5048 drivers/net/wireless/broadcom/b43/phy_n.c index[1] = (b43_phy_read(dev, B43_NPHY_C2_TXPCTL_STAT) & index 5058 drivers/net/wireless/broadcom/b43/phy_n.c target.ipa[i] = (table[index[i]] >> 16) & 0x7; index 5059 drivers/net/wireless/broadcom/b43/phy_n.c target.pad[i] = (table[index[i]] >> 19) & 0x1F; index 5060 drivers/net/wireless/broadcom/b43/phy_n.c target.pga[i] = (table[index[i]] >> 24) & 0xF; index 5061 drivers/net/wireless/broadcom/b43/phy_n.c target.txgm[i] = (table[index[i]] >> 28) & 0x7; index 5062 drivers/net/wireless/broadcom/b43/phy_n.c target.tx_lpf[i] = (table[index[i]] >> 31) & 0x1; index 5064 drivers/net/wireless/broadcom/b43/phy_n.c target.ipa[i] = (table[index[i]] >> 16) & 0xF; index 5065 drivers/net/wireless/broadcom/b43/phy_n.c target.pad[i] = (table[index[i]] >> 20) & 0xF; index 5066 drivers/net/wireless/broadcom/b43/phy_n.c target.pga[i] = (table[index[i]] >> 24) & 0xF; index 5067 drivers/net/wireless/broadcom/b43/phy_n.c target.txgm[i] = (table[index[i]] >> 28) & 0xF; index 5069 drivers/net/wireless/broadcom/b43/phy_n.c target.ipa[i] = (table[index[i]] >> 16) & 0x3; index 5070 drivers/net/wireless/broadcom/b43/phy_n.c target.pad[i] = (table[index[i]] >> 18) & 0x3; index 5071 drivers/net/wireless/broadcom/b43/phy_n.c target.pga[i] = (table[index[i]] >> 20) & 0x7; index 5072 drivers/net/wireless/broadcom/b43/phy_n.c target.txgm[i] = (table[index[i]] >> 23) & 0x7; index 5642 drivers/net/wireless/broadcom/b43/phy_n.c int i, j, index; index 5735 drivers/net/wireless/broadcom/b43/phy_n.c index = 2; index 5740 drivers/net/wireless/broadcom/b43/phy_n.c index = 1; index 5742 drivers/net/wireless/broadcom/b43/phy_n.c index = 0; index 5747 drivers/net/wireless/broadcom/b43/phy_n.c cur_lna = lna[index]; index 5748 drivers/net/wireless/broadcom/b43/phy_n.c cur_hpf1 = hpf1[index]; index 5749 drivers/net/wireless/broadcom/b43/phy_n.c cur_hpf2 = hpf2[index]; index 5750 drivers/net/wireless/broadcom/b43/phy_n.c cur_hpf += desired - hweight32(power[index]); index 917 drivers/net/wireless/broadcom/b43/phy_n.h s8 index; index 37 drivers/net/wireless/broadcom/b43/pio.c cookie = (((u16)q->index + 1) << 12); index 38 drivers/net/wireless/broadcom/b43/pio.c cookie |= pack->index; index 80 drivers/net/wireless/broadcom/b43/pio.c unsigned int index) index 102 drivers/net/wireless/broadcom/b43/pio.c B43_WARN_ON(index >= ARRAY_SIZE(bases_rev11)); index 103 drivers/net/wireless/broadcom/b43/pio.c return bases_rev11[index]; index 105 drivers/net/wireless/broadcom/b43/pio.c B43_WARN_ON(index >= ARRAY_SIZE(bases)); index 106 drivers/net/wireless/broadcom/b43/pio.c return bases[index]; index 124 drivers/net/wireless/broadcom/b43/pio.c unsigned int index) index 135 drivers/net/wireless/broadcom/b43/pio.c q->mmio_base = index_to_pioqueue_base(dev, index) + index 137 drivers/net/wireless/broadcom/b43/pio.c q->index = index; index 151 drivers/net/wireless/broadcom/b43/pio.c p->index = i; index 160 drivers/net/wireless/broadcom/b43/pio.c unsigned int index) index 169 drivers/net/wireless/broadcom/b43/pio.c q->mmio_base = index_to_pioqueue_base(dev, index) + index 173 drivers/net/wireless/broadcom/b43/pio.c b43_dma_direct_fifo_rx(dev, index, 1); index 65 drivers/net/wireless/broadcom/b43/pio.h u8 index; index 86 drivers/net/wireless/broadcom/b43/pio.h u8 index; index 150 drivers/net/wireless/broadcom/b43legacy/dma.c ring->index); index 225 drivers/net/wireless/broadcom/b43legacy/dma.c return idx_to_prio[ring->index]; index 687 drivers/net/wireless/broadcom/b43legacy/dma.c ring->index = controller_index; index 692 drivers/net/wireless/broadcom/b43legacy/dma.c if (ring->index == 0) { index 695 drivers/net/wireless/broadcom/b43legacy/dma.c } else if (ring->index == 3) { index 884 drivers/net/wireless/broadcom/b43legacy/dma.c switch (ring->index) { index 1061 drivers/net/wireless/broadcom/b43legacy/dma.c "DMA controller %d\n", ring->index); index 1117 drivers/net/wireless/broadcom/b43legacy/dma.c ring->index); index 1148 drivers/net/wireless/broadcom/b43legacy/dma.c ring->index, firstused, slot); index 1235 drivers/net/wireless/broadcom/b43legacy/dma.c ring->index); index 1257 drivers/net/wireless/broadcom/b43legacy/dma.c if (ring->index == 3) { index 147 drivers/net/wireless/broadcom/b43legacy/dma.h int index; index 70 drivers/net/wireless/broadcom/b43legacy/leds.c b43legacy_led_turn_off(dev, led->index, led->activelow); index 72 drivers/net/wireless/broadcom/b43legacy/leds.c b43legacy_led_turn_on(dev, led->index, led->activelow); index 89 drivers/net/wireless/broadcom/b43legacy/leds.c led->index = led_index; index 111 drivers/net/wireless/broadcom/b43legacy/leds.c b43legacy_led_turn_off(led->dev, led->index, led->activelow); index 20 drivers/net/wireless/broadcom/b43legacy/leds.h u8 index; index 1942 drivers/net/wireless/broadcom/b43legacy/phy.c s8 b43legacy_tssi2dbm_entry(s8 entry [], u8 index, s16 pab0, s16 pab1, s16 pab2) index 1951 drivers/net/wireless/broadcom/b43legacy/phy.c m1 = b43legacy_tssi2dbm_ad(16 * pab0 + index * pab1, 32); index 1952 drivers/net/wireless/broadcom/b43legacy/phy.c m2 = max(b43legacy_tssi2dbm_ad(32768 + index * pab2, 256), 1); index 1963 drivers/net/wireless/broadcom/b43legacy/phy.c entry[index] = clamp_val(b43legacy_tssi2dbm_ad(m1 * f, 8192), index 1369 drivers/net/wireless/broadcom/b43legacy/radio.c u16 index; index 1373 drivers/net/wireless/broadcom/b43legacy/radio.c index = (reg & 0x001E) >> 1; index 1374 drivers/net/wireless/broadcom/b43legacy/radio.c ret = rcc_table[index] << 1; index 454 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key_le->index = cpu_to_le32(key->index); index 1785 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key.index = (u32) sme->key_idx; index 1806 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key.len, key.index, key.algo); index 2213 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u32 index; index 2230 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index = key_idx; index 2232 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c BRCMF_C_SET_KEY_PRIMARY, index); index 2268 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key->index = (u32)key_idx; index 2325 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c key->index = key_idx; index 468 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h u32 index; /* key index */ index 490 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h __le32 index; /* key index */ index 848 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c u16 seq, start_seq = 0, bindex, index, mcl; index 953 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c index = TX_SEQ_TO_INDEX(seq); index 960 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c isset(bitmap, bindex), index); index 964 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c ini->txretry[index] = 0; index 989 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c if (retry && (ini->txretry[index] < (int)retry_limit)) { index 991 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c ini->txretry[index]++; index 188 drivers/net/wireless/broadcom/brcm80211/brcmsmac/dma.c #define I2B(index, type) ((index) * sizeof(type)) index 3625 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u8 phy_rate, index; index 3642 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c index = phy_rate & 0xf; index 3653 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_b_write_shm(wlc->hw, (basic_table + index * 2), basic_ptr); index 5679 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u8 phy_rate, index; index 5691 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c index = phy_rate & 0xf; index 5696 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c return 2 * brcms_b_read_shm(wlc_hw, table_ptr + (index * 2)); index 367 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h s8 index; index 969 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_lcnphy_set_tx_pwr_by_index(struct brcms_phy *pi, int index); index 1523 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s8 index; index 1527 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = pi_lcn->lcnphy_current_index; index 1529 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = (s8) (wlc_lcnphy_get_current_tx_pwr_idx_if_pwrctrl_on( index 1532 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = pi_lcn->lcnphy_current_index; index 1533 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c return index; index 2320 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c static void wlc_lcnphy_set_tx_pwr_soft_ctrl(struct brcms_phy *pi, s8 index) index 2366 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index2 = (u16) (index * 2); index 2375 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s8 index, delta_brd, delta_temp, new_index, tempcorrx; index 2384 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = FIXED_TXPWR; index 2387 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c return index; index 2421 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index + delta_brd + delta_temp - pi_lcn->lcnphy_bandedge_corr; index 2425 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = 127; index 2428 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c return index; index 2449 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s8 index; index 2489 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = wlc_lcnphy_tempcompensated_txpwrctrl(pi); index 2490 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_set_tx_pwr_soft_ctrl(pi, index); index 2935 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s8 index; index 2956 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = pi_lcn->lcnphy_current_index; index 3058 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_set_tx_pwr_by_index(pi, (int)index); index 3189 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c void wlc_lcnphy_set_tx_pwr_by_index(struct brcms_phy *pi, int index) index 3198 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_tx_power_idx_override = (s8) index; index 3199 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi_lcn->lcnphy_current_index = (u8) index; index 3207 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + index; index 3211 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + index; index 3234 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c tab.tbl_offset = LCNPHY_TX_PWR_CTRL_LO_OFFSET + index; index 3240 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c tab.tbl_offset = LCNPHY_TX_PWR_CTRL_PWR_OFFSET + index; index 4170 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s8 index; index 4180 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = pi_lcn->lcnphy_current_index; index 4184 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_set_tx_pwr_by_index(pi, index); index 4198 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s8 index; index 4210 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = pi_lcn->lcnphy_current_index; index 4253 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_set_tx_pwr_by_index(pi, index); index 4329 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c s8 index; index 4336 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index = wlc_lcnphy_tempcompensated_txpwrctrl(pi); index 4337 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index2 = (u16) (index * 2); index 4386 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c u8 index; index 4394 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c for (index = 0; index < 128; index++) { index 4396 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c tab.tbl_offset = LCNPHY_TX_PWR_CTRL_IQ_OFFSET + index; index 4401 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c tab.tbl_offset = LCNPHY_TX_PWR_CTRL_GAIN_OFFSET + index; index 4421 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c val = (((index << shift) + (5 * temp) + index 4426 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c tab.tbl_offset = LCNPHY_TX_PWR_CTRL_PWR_OFFSET + index; index 189 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c u8 index; index 14637 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->nphy_txpwrindex[i].index = AUTO; index 24192 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c int index; index 24213 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c for (index = 0; index < 18; index++) { index 24214 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c bbmult_scale = ladder_lo[index].percent * bbmult; index 24218 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c ((bbmult_scale & 0xff) << 8) | ladder_lo[index].g_env; index 24219 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index, 16, index 24222 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c bbmult_scale = ladder_iq[index].percent * bbmult; index 24226 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c ((bbmult_scale & 0xff) << 8) | ladder_iq[index].g_env; index 24227 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_table_write_nphy(pi, NPHY_TBL_ID_IQLOCAL, 1, index + 32, index 24863 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_a4 = 15 - ((txgains->index) >> 3); index 25095 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_a4.index = (u8) phy_a12; index 25259 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_b1[phy_b5].index = 16; index 25260 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_b1[phy_b5].index = index 25261 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_a3_nphy(pi, phy_b1[phy_b5].index, index 25265 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 15 - ((phy_b1[phy_b5].index) >> 3); index 25356 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c phy_b7 = 15 - ((phy_b1[phy_b5].index) >> 3); index 25637 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->nphy_txpwrindex[0].index = -1; index 25638 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->nphy_txpwrindex[1].index = -1; index 28366 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (pi->nphy_txpwrindex[core].index < 0) index 28417 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c if (pi->nphy_txpwrindex[core].index < 0) { index 28549 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->nphy_txpwrindex[core].index = txpwrindex; index 772 drivers/net/wireless/cisco/airo.c __le16 index; /* First is 0 and 0xffff means end of list */ index 1560 drivers/net/wireless/cisco/airo.c u32 seq,index; index 1592 drivers/net/wireless/cisco/airo.c index = 1 << seq; //Get an index number index 1594 drivers/net/wireless/cisco/airo.c if (!(context->rx & index)) { index 1597 drivers/net/wireless/cisco/airo.c context->rx |= index; index 3014 drivers/net/wireless/cisco/airo.c if((rc) || (bss.index == cpu_to_le16(0xffff))) { index 3021 drivers/net/wireless/cisco/airo.c while((!rc) && (bss.index != cpu_to_le16(0xffff))) { index 3431 drivers/net/wireless/cisco/airo.c int i, index = -1; index 3457 drivers/net/wireless/cisco/airo.c index = i; index 3460 drivers/net/wireless/cisco/airo.c if (index != -1) { index 3462 drivers/net/wireless/cisco/airo.c get_tx_error(ai, index); index 3467 drivers/net/wireless/cisco/airo.c ai->fids[index] &= 0xffff; index 3468 drivers/net/wireless/cisco/airo.c if (index < MAX_FIDS / 2) { index 5161 drivers/net/wireless/cisco/airo.c static int get_wep_key(struct airo_info *ai, u16 index, char *buf, u16 buflen) index 5172 drivers/net/wireless/cisco/airo.c if (le16_to_cpu(wkr.kindex) == index) { index 5204 drivers/net/wireless/cisco/airo.c static int set_wep_key(struct airo_info *ai, u16 index, const char *key, index 5216 drivers/net/wireless/cisco/airo.c wkr.kindex = cpu_to_le16(index); index 5227 drivers/net/wireless/cisco/airo.c static int set_wep_tx_idx(struct airo_info *ai, u16 index, int perm, int lock) index 5235 drivers/net/wireless/cisco/airo.c wkr.mac[0] = (char)index; index 5238 drivers/net/wireless/cisco/airo.c ai->defindex = (char)index; index 5255 drivers/net/wireless/cisco/airo.c u16 index = 0; index 5265 drivers/net/wireless/cisco/airo.c index = data->wbuffer[0] - '0'; index 5267 drivers/net/wireless/cisco/airo.c rc = set_wep_tx_idx(ai, index, 1, 1); index 5271 drivers/net/wireless/cisco/airo.c index, rc); index 5292 drivers/net/wireless/cisco/airo.c rc = set_wep_key(ai, index, key, i/3, 1, 1); index 5295 drivers/net/wireless/cisco/airo.c "%d: %d.", index, rc); index 5480 drivers/net/wireless/cisco/airo.c while(rc == 0 && BSSList_rid.index != cpu_to_le16(0xffff)) { index 5875 drivers/net/wireless/cisco/airo.c unsigned index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 5882 drivers/net/wireless/cisco/airo.c if (index >= ARRAY_SIZE(SSID_rid.ssids)) index 5886 drivers/net/wireless/cisco/airo.c memset(SSID_rid.ssids[index].ssid, 0, index 5887 drivers/net/wireless/cisco/airo.c sizeof(SSID_rid.ssids[index].ssid)); index 5888 drivers/net/wireless/cisco/airo.c memcpy(SSID_rid.ssids[index].ssid, extra, dwrq->length); index 5889 drivers/net/wireless/cisco/airo.c SSID_rid.ssids[index].len = cpu_to_le16(dwrq->length); index 6298 drivers/net/wireless/cisco/airo.c static inline int valid_index(struct airo_info *ai, int index) index 6300 drivers/net/wireless/cisco/airo.c return (index >= 0) && (index <= ai->max_wep_idx); index 6330 drivers/net/wireless/cisco/airo.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 6343 drivers/net/wireless/cisco/airo.c if (!valid_index(local, index)) index 6344 drivers/net/wireless/cisco/airo.c index = current_index; index 6358 drivers/net/wireless/cisco/airo.c rc = set_wep_key(local, index, key.key, key.len, perm, 1); index 6362 drivers/net/wireless/cisco/airo.c index, rc); index 6369 drivers/net/wireless/cisco/airo.c if((index == current_index) && (key.len > 0) && index 6374 drivers/net/wireless/cisco/airo.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 6375 drivers/net/wireless/cisco/airo.c if (valid_index(local, index)) { index 6376 drivers/net/wireless/cisco/airo.c rc = set_wep_tx_idx(local, index, perm, 1); index 6380 drivers/net/wireless/cisco/airo.c index, rc); index 6412 drivers/net/wireless/cisco/airo.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 6439 drivers/net/wireless/cisco/airo.c if (!valid_index(local, index)) { index 6440 drivers/net/wireless/cisco/airo.c index = get_wep_tx_idx(local); index 6441 drivers/net/wireless/cisco/airo.c if (index < 0) index 6442 drivers/net/wireless/cisco/airo.c index = 0; index 6444 drivers/net/wireless/cisco/airo.c dwrq->flags |= index + 1; index 6447 drivers/net/wireless/cisco/airo.c wep_key_len = get_wep_key(local, index, &buf[0], sizeof(buf)); index 7170 drivers/net/wireless/cisco/airo.c if (BSSList.index == cpu_to_le16(0xffff)) index 2822 drivers/net/wireless/intel/ipw2x00/ipw2100.c tbd = &txq->drv[packet->index]; index 2915 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, txq->oldest, packet->index); index 2919 drivers/net/wireless/intel/ipw2x00/ipw2100.c tbd = &txq->drv[(packet->index + 1 + i) % txq->entries]; index 2922 drivers/net/wireless/intel/ipw2x00/ipw2100.c (packet->index + 1 + i) % txq->entries, index 2952 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, txq->oldest, packet->index); index 3027 drivers/net/wireless/intel/ipw2x00/ipw2100.c packet->index = txq->next; index 3105 drivers/net/wireless/intel/ipw2x00/ipw2100.c packet->index = txq->next; index 3146 drivers/net/wireless/intel/ipw2x00/ipw2100.c packet->index, tbd->host_addr, tbd->buf_length); index 3577 drivers/net/wireless/intel/ipw2x00/ipw2100.c u8 index; index 3969 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (ipw2100_get_ordinal(priv, ord_data[loop].index, &val, index 3972 drivers/net/wireless/intel/ipw2x00/ipw2100.c ord_data[loop].index, index 3976 drivers/net/wireless/intel/ipw2x00/ipw2100.c ord_data[loop].index, val, index 314 drivers/net/wireless/intel/ipw2x00/ipw2100.h int index; index 2780 drivers/net/wireless/intel/ipw2x00/ipw2200.c static int ipw_fw_dma_write_command_block(struct ipw_priv *priv, int index, index 2785 drivers/net/wireless/intel/ipw2x00/ipw2200.c (sizeof(struct command_block) * index); index 2799 drivers/net/wireless/intel/ipw2x00/ipw2200.c u32 index = 0; index 2803 drivers/net/wireless/intel/ipw2x00/ipw2200.c for (index = 0; index < priv->sram_desc.last_cb_index; index++) index 2804 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_fw_dma_write_command_block(priv, index, index 2805 drivers/net/wireless/intel/ipw2x00/ipw2200.c &priv->sram_desc.cb_list[index]); index 3722 drivers/net/wireless/intel/ipw2x00/ipw2200.c static inline int ipw_queue_inc_wrap(int index, int n_bd) index 3724 drivers/net/wireless/intel/ipw2x00/ipw2200.c return (++index == n_bd) ? 0 : index; index 5055 drivers/net/wireless/intel/ipw2x00/ipw2200.c tfd->u.cmd.index = hcmd; index 5894 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void ipw_send_tgi_tx_key(struct ipw_priv *priv, int type, int index) index 5898 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!(priv->ieee->sec.flags & (1 << index))) index 5901 drivers/net/wireless/intel/ipw2x00/ipw2200.c key.key_id = index; index 5902 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(key.key, priv->ieee->sec.keys[index], SCM_TEMPORAL_KEY_LENGTH); index 6189 drivers/net/wireless/intel/ipw2x00/ipw2200.c int index; index 6221 drivers/net/wireless/intel/ipw2x00/ipw2200.c index = index 6224 drivers/net/wireless/intel/ipw2x00/ipw2200.c geo->bg[index]. index 8140 drivers/net/wireless/intel/ipw2x00/ipw2200.c int index = mac[5] % IPW_IBSS_MAC_HASH_SIZE; index 8142 drivers/net/wireless/intel/ipw2x00/ipw2200.c list_for_each(p, &priv->ibss_mac_hash[index]) { index 8148 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (p == &priv->ibss_mac_hash[index]) { index 8160 drivers/net/wireless/intel/ipw2x00/ipw2200.c &priv->ibss_mac_hash[index]); index 448 drivers/net/wireless/intel/ipw2x00/ipw2200.h u8 index; index 846 drivers/net/wireless/intel/ipw2x00/ipw2200.h static inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index) index 848 drivers/net/wireless/intel/ipw2x00/ipw2200.h if (index % 2) index 849 drivers/net/wireless/intel/ipw2x00/ipw2200.h return scan->scan_type[index / 2] & 0x0F; index 851 drivers/net/wireless/intel/ipw2x00/ipw2200.h return (scan->scan_type[index / 2] & 0xF0) >> 4; index 855 drivers/net/wireless/intel/ipw2x00/ipw2200.h u8 index, u8 scan_type) index 857 drivers/net/wireless/intel/ipw2x00/ipw2200.h if (index % 2) index 858 drivers/net/wireless/intel/ipw2x00/ipw2200.h scan->scan_type[index / 2] = index 859 drivers/net/wireless/intel/ipw2x00/ipw2200.h (scan->scan_type[index / 2] & 0xF0) | (scan_type & 0x0F); index 861 drivers/net/wireless/intel/ipw2x00/ipw2200.h scan->scan_type[index / 2] = index 862 drivers/net/wireless/intel/ipw2x00/ipw2200.h (scan->scan_type[index / 2] & 0x0F) | index 141 drivers/net/wireless/intel/ipw2x00/libipw_geo.c int index = libipw_channel_to_index(ieee, channel); index 143 drivers/net/wireless/intel/ipw2x00/libipw_geo.c if (index == -1) index 147 drivers/net/wireless/intel/ipw2x00/libipw_geo.c return ieee->geo.bg[index].flags; index 149 drivers/net/wireless/intel/ipw2x00/libipw_geo.c return ieee->geo.a[index].flags; index 161 drivers/net/wireless/intel/ipw2x00/libipw_geo.c int index = libipw_channel_to_index(ieee, channel); index 163 drivers/net/wireless/intel/ipw2x00/libipw_geo.c if (index == -1) index 167 drivers/net/wireless/intel/ipw2x00/libipw_geo.c return &ieee->geo.bg[index]; index 169 drivers/net/wireless/intel/ipw2x00/libipw_geo.c return &ieee->geo.a[index]; index 3970 drivers/net/wireless/intel/iwlwifi/dvm/commands.h u8 index; index 146 drivers/net/wireless/intel/iwlwifi/dvm/rs.c u32 *rate_n_flags, int index); index 149 drivers/net/wireless/intel/iwlwifi/dvm/rs.c u32 *rate_n_flags, int index) index 274 drivers/net/wireless/intel/iwlwifi/dvm/rs.c s32 index; index 302 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = time_diff / TID_QUEUE_CELL_SPACING; index 306 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (index >= TID_QUEUE_MAX_SIZE) index 309 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = (tl->head + index) % TID_QUEUE_MAX_SIZE; index 310 drivers/net/wireless/intel/iwlwifi/dvm/rs.c tl->packet_count[index] = tl->packet_count[index] + 1; index 313 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if ((index + 1) > tl->queue_count) index 314 drivers/net/wireless/intel/iwlwifi/dvm/rs.c tl->queue_count = index + 1; index 356 drivers/net/wireless/intel/iwlwifi/dvm/rs.c s32 index; index 370 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = time_diff / TID_QUEUE_CELL_SPACING; index 374 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (index >= TID_QUEUE_MAX_SIZE) index 529 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int index, u8 use_green) index 534 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_n_flags = iwl_rates[index].plcp; index 535 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (index >= IWL_FIRST_CCK_RATE && index <= IWL_LAST_CCK_RATE) index 539 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (index > IWL_LAST_OFDM_RATE) { index 540 drivers/net/wireless/intel/iwlwifi/dvm/rs.c IWL_ERR(priv, "Invalid HT rate index %d\n", index); index 541 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = IWL_LAST_OFDM_RATE; index 546 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_n_flags |= iwl_rates[index].plcp_siso; index 548 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_n_flags |= iwl_rates[index].plcp_mimo2; index 550 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_n_flags |= iwl_rates[index].plcp_mimo3; index 714 drivers/net/wireless/intel/iwlwifi/dvm/rs.c static u16 rs_get_adjacent_rate(struct iwl_priv *priv, u8 index, u16 rate_mask, index 727 drivers/net/wireless/intel/iwlwifi/dvm/rs.c i = index - 1; index 739 drivers/net/wireless/intel/iwlwifi/dvm/rs.c i = index + 1; index 750 drivers/net/wireless/intel/iwlwifi/dvm/rs.c low = index; index 760 drivers/net/wireless/intel/iwlwifi/dvm/rs.c high = index; index 1154 drivers/net/wireless/intel/iwlwifi/dvm/rs.c u16 rate_mask, s8 index) index 1159 drivers/net/wireless/intel/iwlwifi/dvm/rs.c s32 active_sr = active_tbl->win[index].success_ratio; index 1160 drivers/net/wireless/intel/iwlwifi/dvm/rs.c s32 active_tpt = active_tbl->expected_tpt[index]; index 1166 drivers/net/wireless/intel/iwlwifi/dvm/rs.c s8 rate = index; index 1248 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct iwl_scale_tbl_info *tbl, int index) index 1281 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate = rs_get_best_rate(priv, lq_sta, tbl, rate_mask, index); index 1303 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct iwl_scale_tbl_info *tbl, int index) index 1336 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate = rs_get_best_rate(priv, lq_sta, tbl, rate_mask, index); index 1359 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct iwl_scale_tbl_info *tbl, int index) index 1387 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate = rs_get_best_rate(priv, lq_sta, tbl, rate_mask, index); index 1408 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int index) index 1413 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct iwl_rate_scale_data *window = &(tbl->win[index]); index 1500 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 1527 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 1547 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 1580 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct ieee80211_sta *sta, int index) index 1586 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct iwl_rate_scale_data *window = &(tbl->win[index]); index 1676 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 1702 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (tpt >= search_tbl->expected_tpt[index]) index 1707 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index, is_green); index 1720 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 1750 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct ieee80211_sta *sta, int index) index 1756 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct iwl_rate_scale_data *window = &(tbl->win[index]); index 1840 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 1868 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (tpt >= search_tbl->expected_tpt[index]) index 1873 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index, is_green); index 1887 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 1918 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct ieee80211_sta *sta, int index) index 1924 drivers/net/wireless/intel/iwlwifi/dvm/rs.c struct iwl_rate_scale_data *window = &(tbl->win[index]); index 2006 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 2030 drivers/net/wireless/intel/iwlwifi/dvm/rs.c search_tbl, index); index 2058 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (tpt >= search_tbl->expected_tpt[index]) index 2063 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index, is_green); index 2175 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int index, u8 is_green) index 2180 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate = rate_n_flags_from_tbl(priv, tbl, index, is_green); index 2199 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int index; index 2260 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = lq_sta->last_txrate_idx; index 2262 drivers/net/wireless/intel/iwlwifi/dvm/rs.c IWL_DEBUG_RATE(priv, "Rate scale index %d for type %d\n", index, index 2286 drivers/net/wireless/intel/iwlwifi/dvm/rs.c if (!((1 << index) & rate_scale_index_msk)) { index 2294 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = iwl_hwrate_to_plcp_idx(tbl->current_rate); index 2296 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index, is_green); index 2309 drivers/net/wireless/intel/iwlwifi/dvm/rs.c (lq_sta->max_rate_idx < index)) { index 2310 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = lq_sta->max_rate_idx; index 2312 drivers/net/wireless/intel/iwlwifi/dvm/rs.c window = &(tbl->win[index]); index 2316 drivers/net/wireless/intel/iwlwifi/dvm/rs.c window = &(tbl->win[index]); index 2330 drivers/net/wireless/intel/iwlwifi/dvm/rs.c window->success_counter, window->counter, index); index 2344 drivers/net/wireless/intel/iwlwifi/dvm/rs.c tbl->expected_tpt[index] + 64) / 128)) { index 2347 drivers/net/wireless/intel/iwlwifi/dvm/rs.c tbl->expected_tpt[index] + 64) / 128); index 2388 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = iwl_hwrate_to_plcp_idx(tbl->current_rate); index 2404 drivers/net/wireless/intel/iwlwifi/dvm/rs.c high_low = rs_get_adjacent_rate(priv, index, rate_scale_index_msk, index 2512 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = low; index 2520 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = high; index 2532 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index, scale_action, low, high, tbl->lq_type); index 2537 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_update_rate_tbl(priv, ctx, lq_sta, tbl, index, is_green); index 2557 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_move_legacy_other(priv, lq_sta, conf, sta, index); index 2559 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_move_siso_to_other(priv, lq_sta, conf, sta, index); index 2561 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_move_mimo2_to_other(priv, lq_sta, conf, sta, index); index 2563 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_move_mimo3_to_other(priv, lq_sta, conf, sta, index); index 2573 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = iwl_hwrate_to_plcp_idx(tbl->current_rate); index 2576 drivers/net/wireless/intel/iwlwifi/dvm/rs.c tbl->current_rate, index); index 2620 drivers/net/wireless/intel/iwlwifi/dvm/rs.c tbl->current_rate = rate_n_flags_from_tbl(priv, tbl, index, is_green); index 2621 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_sta->last_txrate_idx = index; index 2878 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int index = 0; index 2889 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_dbgfs_set_mcs(lq_sta, &new_rate, index); index 2914 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_cmd->rs_table[index].rate_n_flags = cpu_to_le32(new_rate); index 2924 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index++; index 2934 drivers/net/wireless/intel/iwlwifi/dvm/rs.c while (index < LINK_QUAL_MAX_RETRY_NUM) { index 2938 drivers/net/wireless/intel/iwlwifi/dvm/rs.c while (repeat_rate > 0 && (index < LINK_QUAL_MAX_RETRY_NUM)) { index 2949 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_dbgfs_set_mcs(lq_sta, &new_rate, index); index 2952 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_cmd->rs_table[index].rate_n_flags = index 2955 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index++; index 2971 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_cmd->general_params.mimo_delimiter = index; index 2996 drivers/net/wireless/intel/iwlwifi/dvm/rs.c rs_dbgfs_set_mcs(lq_sta, &new_rate, index); index 2999 drivers/net/wireless/intel/iwlwifi/dvm/rs.c lq_cmd->rs_table[index].rate_n_flags = cpu_to_le32(new_rate); index 3001 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index++; index 3044 drivers/net/wireless/intel/iwlwifi/dvm/rs.c u32 *rate_n_flags, int index) index 3103 drivers/net/wireless/intel/iwlwifi/dvm/rs.c int index = 0; index 3161 drivers/net/wireless/intel/iwlwifi/dvm/rs.c index = iwl_hwrate_to_plcp_idx( index 3166 drivers/net/wireless/intel/iwlwifi/dvm/rs.c iwl_rate_mcs[index].mbps); index 3170 drivers/net/wireless/intel/iwlwifi/dvm/rs.c iwl_rate_mcs[index].mbps, iwl_rate_mcs[index].mcs); index 224 drivers/net/wireless/intel/iwlwifi/dvm/sta.c static void iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, index 233 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[index].sta.station_flags &= ~mask; index 234 drivers/net/wireless/intel/iwlwifi/dvm/sta.c priv->stations[index].sta.station_flags |= flags; index 806 drivers/net/wireless/intel/iwlwifi/fw/dbg.c paging->index = cpu_to_le32(i); index 449 drivers/net/wireless/intel/iwlwifi/fw/error-dump.h __le32 index; index 477 drivers/net/wireless/intel/iwlwifi/fw/error-dump.h __le32 index; index 178 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h TP_PROTO(const struct device *dev, u32 index, u32 value), index 179 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h TP_ARGS(dev, index, value), index 182 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h __field(u32, index) index 187 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h __entry->index = index; index 191 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h __get_str(dev), __entry->index, __entry->value) index 476 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c static void iwl_mvm_debug_range_resp(struct iwl_mvm *mvm, u8 index, index 481 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c IWL_DEBUG_INFO(mvm, "entry %d\n", index); index 553 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (is_type_legacy(rate->type) && (rate->index <= IWL_RATE_54M_INDEX)) index 554 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_str = legacy_rates[rate->index]; index 556 drivers/net/wireless/intel/iwlwifi/mvm/rs.c (rate->index >= IWL_RATE_MCS_0_INDEX) && index 557 drivers/net/wireless/intel/iwlwifi/mvm/rs.c (rate->index <= IWL_RATE_MCS_9_INDEX)) index 558 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_str = ht_vht_rates[rate->index]; index 822 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int index = rate->index; index 828 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp; index 829 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (index >= IWL_FIRST_CCK_RATE && index <= IWL_LAST_CCK_RATE) index 835 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (index < IWL_FIRST_HT_RATE || index > IWL_LAST_HT_RATE) { index 836 drivers/net/wireless/intel/iwlwifi/mvm/rs.c IWL_ERR(mvm, "Invalid HT rate index %d\n", index); index 837 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index = IWL_LAST_HT_RATE; index 842 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_ht_siso; index 844 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_ht_mimo2; index 848 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (index < IWL_FIRST_VHT_RATE || index > IWL_LAST_VHT_RATE) { index 849 drivers/net/wireless/intel/iwlwifi/mvm/rs.c IWL_ERR(mvm, "Invalid VHT rate index %d\n", index); index 850 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index = IWL_LAST_VHT_RATE; index 854 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_vht_siso; index 856 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_vht_mimo2; index 889 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = iwl_hwrate_to_plcp_idx(ucode_rate); index 891 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (rate->index == IWL_RATE_INVALID) index 1014 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static u16 rs_get_adjacent_rate(struct iwl_mvm *mvm, u8 index, u16 rate_mask, index 1027 drivers/net/wireless/intel/iwlwifi/mvm/rs.c i = index - 1; index 1038 drivers/net/wireless/intel/iwlwifi/mvm/rs.c i = index + 1; index 1049 drivers/net/wireless/intel/iwlwifi/mvm/rs.c low = index; index 1058 drivers/net/wireless/intel/iwlwifi/mvm/rs.c high = index; index 1073 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return BIT(rate->index) & rs_get_supported_rates(lq_sta, rate); index 1088 drivers/net/wireless/intel/iwlwifi/mvm/rs.c high_low = rs_get_adjacent_rate(mvm, rate->index, rate_mask, index 1096 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = low; index 1118 drivers/net/wireless/intel/iwlwifi/mvm/rs.c WARN_ON_ONCE(rate->index < IWL_RATE_MCS_0_INDEX || index 1119 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index > IWL_RATE_MCS_9_INDEX); index 1121 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = rs_ht_to_legacy[rate->index]; index 1370 drivers/net/wireless/intel/iwlwifi/mvm/rs.c unsigned long rate_mask, s8 index) index 1374 drivers/net/wireless/intel/iwlwifi/mvm/rs.c s32 success_ratio = active_tbl->win[index].success_ratio; index 1375 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u16 expected_current_tpt = active_tbl->expected_tpt[index]; index 1541 drivers/net/wireless/intel/iwlwifi/mvm/rs.c tbl->rate.index < IWL_RATE_MCS_5_INDEX || index 1593 drivers/net/wireless/intel/iwlwifi/mvm/rs.c (tbl->rate.index == IWL_RATE_MCS_0_INDEX) && index 1596 drivers/net/wireless/intel/iwlwifi/mvm/rs.c tbl->rate.index = IWL_RATE_MCS_4_INDEX; index 1607 drivers/net/wireless/intel/iwlwifi/mvm/rs.c (((tbl->rate.index == IWL_RATE_MCS_5_INDEX) && index 1609 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ((tbl->rate.index > IWL_RATE_MCS_5_INDEX) && index 1612 drivers/net/wireless/intel/iwlwifi/mvm/rs.c tbl->rate.index = IWL_RATE_MCS_1_INDEX; index 1762 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate_mask, rate->index); index 1774 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = rate_idx; index 1778 drivers/net/wireless/intel/iwlwifi/mvm/rs.c col_id, rate->index); index 1886 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static void rs_get_adjacent_txp(struct iwl_mvm *mvm, int index, index 1889 drivers/net/wireless/intel/iwlwifi/mvm/rs.c *weaker = index + IWL_MVM_RS_TPC_TX_POWER_STEP; index 1893 drivers/net/wireless/intel/iwlwifi/mvm/rs.c *stronger = index - IWL_MVM_RS_TPC_TX_POWER_STEP; index 1901 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int index = rate->index; index 1918 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return index == IWL_RATE_54M_INDEX; index 1920 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return index == IWL_RATE_MCS_7_INDEX; index 1922 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return index == IWL_RATE_MCS_7_INDEX || index 1923 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index == IWL_RATE_MCS_8_INDEX || index 1924 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index == IWL_RATE_MCS_9_INDEX; index 2096 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int index; index 2138 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index = rate->index; index 2143 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!(BIT(index) & rate_mask)) { index 2162 drivers/net/wireless/intel/iwlwifi/mvm/rs.c window = &(tbl->win[index]); index 2222 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index = tbl->rate.index; index 2238 drivers/net/wireless/intel/iwlwifi/mvm/rs.c high_low = rs_get_adjacent_rate(mvm, index, rate_mask, rate->type); index 2275 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index = low; index 2286 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index = high; index 2305 drivers/net/wireless/intel/iwlwifi/mvm/rs.c tbl->rate.index = index; index 2352 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index = tbl->rate.index; index 2506 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = find_first_bit(&lq_sta->optimal_rate_mask, index 2514 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = rate_idx; index 2561 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = find_first_bit(&lq_sta->active_legacy_rate, index 2630 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = rate_idx; index 3103 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int index = tx_resp_rate.index; index 3121 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->pers.tx_stats[column][index].total += attempts; index 3122 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_sta->pers.tx_stats[column][index].success += success; index 3212 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_collect_tpc_data(mvm, lq_sta, curr_tbl, tx_resp_rate.index, index 3234 drivers/net/wireless/intel/iwlwifi/mvm/rs.c tx_resp_rate.index, index 3273 drivers/net/wireless/intel/iwlwifi/mvm/rs.c tx_resp_rate.index, 1, index 3277 drivers/net/wireless/intel/iwlwifi/mvm/rs.c tx_resp_rate.index, 1, index 3359 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int prev_rate_idx = rate->index; index 3361 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int index = *rs_table_index; index 3363 drivers/net/wireless/intel/iwlwifi/mvm/rs.c for (i = 0; i < num_rates && index < end; i++) { index 3364 drivers/net/wireless/intel/iwlwifi/mvm/rs.c for (j = 0; j < num_retries && index < end; j++, index++) { index 3367 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_table[index] = ucode_rate; index 3372 drivers/net/wireless/intel/iwlwifi/mvm/rs.c prev_rate_idx = rate->index; index 3379 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = prev_rate_idx; index 3381 drivers/net/wireless/intel/iwlwifi/mvm/rs.c *rs_table_index = index; index 3410 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int num_rates, num_retries, index = 0; index 3437 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_fill_rates_for_column(mvm, lq_sta, &rate, lq_cmd->rs_table, &index, index 3446 drivers/net/wireless/intel/iwlwifi/mvm/rs.c lq_cmd->mimo_delim = index; index 3456 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_fill_rates_for_column(mvm, lq_sta, &rate, lq_cmd->rs_table, &index, index 3465 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_fill_rates_for_column(mvm, lq_sta, &rate, lq_cmd->rs_table, &index, index 3697 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int index = iwl_hwrate_to_plcp_idx(rate); index 3701 drivers/net/wireless/intel/iwlwifi/mvm/rs.c index == IWL_RATE_INVALID ? "BAD" : index 3702 drivers/net/wireless/intel/iwlwifi/mvm/rs.c iwl_rate_mcs[index].mbps); index 3930 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index); index 165 drivers/net/wireless/intel/iwlwifi/mvm/rs.h int index; index 568 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c int index = ssn % reorder_buf->buf_size; index 569 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c struct sk_buff_head *skb_list = &entries[index].e.frames; index 593 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c u16 index = reorder_buf->head_sn % reorder_buf->buf_size; index 595 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c while (skb_queue_empty(&entries[index].e.frames)) index 596 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c index = (index + 1) % reorder_buf->buf_size; index 599 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c entries[index].e.reorder_time + 1 + index 614 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c u16 sn = 0, index = 0; index 626 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c index = (buf->head_sn + i) % buf->buf_size; index 628 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (skb_queue_empty(&entries[index].e.frames)) { index 637 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c !time_after(jiffies, entries[index].e.reorder_time + index 672 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c entries[index].e.reorder_time + index 869 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c int index; index 1010 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c index = sn % buffer->buf_size; index 1020 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c tail = skb_peek_tail(&entries[index].e.frames); index 1028 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c __skb_queue_tail(&entries[index].e.frames, skb); index 1030 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c entries[index].e.reorder_time = jiffies; index 552 drivers/net/wireless/intel/iwlwifi/mvm/scan.c int index; index 576 drivers/net/wireless/intel/iwlwifi/mvm/scan.c index = iwl_ssid_exist(params->ssids[j].ssid, index 579 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (index < 0) { index 586 drivers/net/wireless/intel/iwlwifi/mvm/scan.c *ssid_bitmap |= BIT(index); index 1772 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int txq, int index, index 1815 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_trans_reclaim(mvm->trans, txq, index, &reclaimed_skbs); index 1819 drivers/net/wireless/intel/iwlwifi/mvm/tx.c tid_data->next_reclaimed = index; index 1897 drivers/net/wireless/intel/iwlwifi/mvm/tx.c int sta_id, tid, txq, index; index 1965 drivers/net/wireless/intel/iwlwifi/mvm/tx.c index = le16_to_cpu(ba_notif->scd_ssn); index 1984 drivers/net/wireless/intel/iwlwifi/mvm/tx.c iwl_mvm_tx_reclaim(mvm, sta_id, tid, txq, index, &ba_info, index 1994 drivers/net/wireless/intel/iwlwifi/mvm/tx.c le64_to_cpu(ba_notif->bitmap), txq, index, index 254 drivers/net/wireless/intel/iwlwifi/pcie/internal.h static inline int iwl_queue_inc_wrap(struct iwl_trans *trans, int index) index 256 drivers/net/wireless/intel/iwlwifi/pcie/internal.h return ++index & index 282 drivers/net/wireless/intel/iwlwifi/pcie/internal.h static inline int iwl_queue_dec_wrap(struct iwl_trans *trans, int index) index 284 drivers/net/wireless/intel/iwlwifi/pcie/internal.h return --index & index 908 drivers/net/wireless/intel/iwlwifi/pcie/internal.h static inline u16 iwl_pcie_get_cmd_index(const struct iwl_txq *q, u32 index) index 910 drivers/net/wireless/intel/iwlwifi/pcie/internal.h return index & (q->n_window - 1); index 1001 drivers/net/wireless/intel/iwlwifi/pcie/internal.h int index = iwl_pcie_get_cmd_index(q, i); index 1006 drivers/net/wireless/intel/iwlwifi/pcie/internal.h (index >= r && index < w) : index 1007 drivers/net/wireless/intel/iwlwifi/pcie/internal.h !(index < r && index >= w); index 1258 drivers/net/wireless/intel/iwlwifi/pcie/rx.c int index, cmd_index, len; index 1318 drivers/net/wireless/intel/iwlwifi/pcie/rx.c index = SEQ_TO_INDEX(sequence); index 1319 drivers/net/wireless/intel/iwlwifi/pcie/rx.c cmd_index = iwl_pcie_get_cmd_index(txq, index); index 2990 drivers/net/wireless/intel/iwlwifi/pcie/trans.c rb->index = cpu_to_le32(i); index 3354 drivers/net/wireless/intel/iwlwifi/pcie/trans.c paging->index = cpu_to_le32(i); index 405 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_txq *txq, int index) index 409 drivers/net/wireless/intel/iwlwifi/pcie/tx.c void *tfd = iwl_pcie_get_tfd(trans, txq, index); index 1808 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int index = SEQ_TO_INDEX(sequence); index 1828 drivers/net/wireless/intel/iwlwifi/pcie/tx.c cmd_index = iwl_pcie_get_cmd_index(txq, index); index 1834 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_tfd_unmap(trans, meta, txq, index); index 1848 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_cmdq_reclaim(trans, txq_id, index); index 30 drivers/net/wireless/intersil/orinoco/wext.c static int orinoco_set_key(struct orinoco_private *priv, int index, index 34 drivers/net/wireless/intersil/orinoco/wext.c kzfree(priv->keys[index].key); index 35 drivers/net/wireless/intersil/orinoco/wext.c kzfree(priv->keys[index].seq); index 38 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC); index 39 drivers/net/wireless/intersil/orinoco/wext.c if (!priv->keys[index].key) index 42 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].key = NULL; index 45 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); index 46 drivers/net/wireless/intersil/orinoco/wext.c if (!priv->keys[index].seq) index 49 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].seq = NULL; index 51 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].key_len = key_len; index 52 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].seq_len = seq_len; index 55 drivers/net/wireless/intersil/orinoco/wext.c memcpy((void *)priv->keys[index].key, key, key_len); index 57 drivers/net/wireless/intersil/orinoco/wext.c memcpy((void *)priv->keys[index].seq, seq, seq_len); index 61 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].cipher = WLAN_CIPHER_SUITE_TKIP; index 65 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].cipher = (key_len > SMALL_KEY_SIZE) ? index 71 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].cipher = 0; index 78 drivers/net/wireless/intersil/orinoco/wext.c kfree(priv->keys[index].key); index 79 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].key = NULL; index 82 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].key_len = 0; index 83 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].seq_len = 0; index 84 drivers/net/wireless/intersil/orinoco/wext.c priv->keys[index].cipher = 0; index 241 drivers/net/wireless/intersil/orinoco/wext.c int index = (erq->flags & IW_ENCODE_INDEX) - 1; index 268 drivers/net/wireless/intersil/orinoco/wext.c if ((index < 0) || (index >= ORINOCO_MAX_KEYS)) index 269 drivers/net/wireless/intersil/orinoco/wext.c index = priv->tx_key; index 273 drivers/net/wireless/intersil/orinoco/wext.c setindex = index; index 280 drivers/net/wireless/intersil/orinoco/wext.c if ((index < 0) || (index >= ORINOCO_MAX_KEYS)) { index 281 drivers/net/wireless/intersil/orinoco/wext.c if ((index != -1) || (erq->flags == 0)) { index 287 drivers/net/wireless/intersil/orinoco/wext.c if (priv->keys[index].key_len == 0) { index 291 drivers/net/wireless/intersil/orinoco/wext.c setindex = index; index 303 drivers/net/wireless/intersil/orinoco/wext.c err = orinoco_set_key(priv, index, ORINOCO_ALG_WEP, keybuf, index 332 drivers/net/wireless/intersil/orinoco/wext.c int index = (erq->flags & IW_ENCODE_INDEX) - 1; index 341 drivers/net/wireless/intersil/orinoco/wext.c if ((index < 0) || (index >= ORINOCO_MAX_KEYS)) index 342 drivers/net/wireless/intersil/orinoco/wext.c index = priv->tx_key; index 347 drivers/net/wireless/intersil/orinoco/wext.c erq->flags |= index + 1; index 354 drivers/net/wireless/intersil/orinoco/wext.c erq->length = priv->keys[index].key_len; index 356 drivers/net/wireless/intersil/orinoco/wext.c memcpy(keybuf, priv->keys[index].key, erq->length); index 74 drivers/net/wireless/intersil/p54/eeprom.c int index; index 188 drivers/net/wireless/intersil/p54/eeprom.c chan->index, chan->freq); index 265 drivers/net/wireless/intersil/p54/eeprom.c entry->index = ieee80211_frequency_to_channel(freq); index 94 drivers/net/wireless/intersil/p54/led.c led->index = led_index; index 152 drivers/net/wireless/intersil/p54/p54.h unsigned int index; index 134 drivers/net/wireless/intersil/p54/p54pci.c struct sk_buff **rx_buf, u32 index) index 142 drivers/net/wireless/intersil/p54/p54pci.c limit -= index; index 184 drivers/net/wireless/intersil/p54/p54pci.c static void p54p_check_rx_ring(struct ieee80211_hw *dev, u32 *index, index 193 drivers/net/wireless/intersil/p54/p54pci.c i = (*index) % ring_limit; index 194 drivers/net/wireless/intersil/p54/p54pci.c (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); index 238 drivers/net/wireless/intersil/p54/p54pci.c p54p_refill_rx_ring(dev, ring_index, ring, ring_limit, rx_buf, *index); index 241 drivers/net/wireless/intersil/p54/p54pci.c static void p54p_check_tx_ring(struct ieee80211_hw *dev, u32 *index, index 251 drivers/net/wireless/intersil/p54/p54pci.c i = (*index) % ring_limit; index 252 drivers/net/wireless/intersil/p54/p54pci.c (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); index 1070 drivers/net/wireless/intersil/prism54/isl_ioctl.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 1097 drivers/net/wireless/intersil/prism54/isl_ioctl.c if ((index < 0) || (index > 3)) index 1099 drivers/net/wireless/intersil/prism54/isl_ioctl.c index = current_index; index 1103 drivers/net/wireless/intersil/prism54/isl_ioctl.c mgt_set_request(priv, DOT11_OID_DEFKEYX, index, index 1111 drivers/net/wireless/intersil/prism54/isl_ioctl.c if ((index == current_index) && (key.length > 0)) index 1114 drivers/net/wireless/intersil/prism54/isl_ioctl.c int index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 1115 drivers/net/wireless/intersil/prism54/isl_ioctl.c if ((index >= 0) && (index <= 3)) { index 1119 drivers/net/wireless/intersil/prism54/isl_ioctl.c &index); index 1162 drivers/net/wireless/intersil/prism54/isl_ioctl.c u32 devindex, index = (dwrq->flags & IW_ENCODE_INDEX) - 1; index 1190 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (index == -1 || index > 3) index 1192 drivers/net/wireless/intersil/prism54/isl_ioctl.c index = devindex; index 1193 drivers/net/wireless/intersil/prism54/isl_ioctl.c rvalue |= mgt_get_request(priv, DOT11_OID_DEFKEYX, index, NULL, &r); index 31 drivers/net/wireless/intersil/prism54/islpci_eth.c u32 index; index 38 drivers/net/wireless/intersil/prism54/islpci_eth.c index = priv->free_data_tx % ISL38XX_CB_TX_QSIZE; index 42 drivers/net/wireless/intersil/prism54/islpci_eth.c if (priv->pci_map_tx_address[index]) { index 45 drivers/net/wireless/intersil/prism54/islpci_eth.c skb = priv->data_low_tx[index]; index 54 drivers/net/wireless/intersil/prism54/islpci_eth.c priv->pci_map_tx_address[index], index 69 drivers/net/wireless/intersil/prism54/islpci_eth.c u32 index; index 188 drivers/net/wireless/intersil/prism54/islpci_eth.c index = curr_frag % ISL38XX_CB_TX_QSIZE; index 189 drivers/net/wireless/intersil/prism54/islpci_eth.c fragment = &cb->tx_data_low[index]; index 191 drivers/net/wireless/intersil/prism54/islpci_eth.c priv->pci_map_tx_address[index] = pci_map_address; index 193 drivers/net/wireless/intersil/prism54/islpci_eth.c priv->data_low_tx[index] = skb; index 301 drivers/net/wireless/intersil/prism54/islpci_eth.c u32 index, offset; index 311 drivers/net/wireless/intersil/prism54/islpci_eth.c index = priv->free_data_rx % ISL38XX_CB_RX_QSIZE; index 312 drivers/net/wireless/intersil/prism54/islpci_eth.c size = le16_to_cpu(control_block->rx_data_low[index].size); index 313 drivers/net/wireless/intersil/prism54/islpci_eth.c skb = priv->data_low_rx[index]; index 315 drivers/net/wireless/intersil/prism54/islpci_eth.c le32_to_cpu(control_block->rx_data_low[index].address) - index 327 drivers/net/wireless/intersil/prism54/islpci_eth.c priv->pci_map_rx_address[index], index 409 drivers/net/wireless/intersil/prism54/islpci_eth.c while (index = index 412 drivers/net/wireless/intersil/prism54/islpci_eth.c index - priv->free_data_rx < ISL38XX_CB_RX_QSIZE) { index 423 drivers/net/wireless/intersil/prism54/islpci_eth.c index = index % ISL38XX_CB_RX_QSIZE; index 424 drivers/net/wireless/intersil/prism54/islpci_eth.c priv->data_low_rx[index] = skb; index 429 drivers/net/wireless/intersil/prism54/islpci_eth.c skb, skb->data, skb->len, index, skb->truesize); index 433 drivers/net/wireless/intersil/prism54/islpci_eth.c priv->pci_map_rx_address[index] = index 438 drivers/net/wireless/intersil/prism54/islpci_eth.c priv->pci_map_rx_address[index])) { index 449 drivers/net/wireless/intersil/prism54/islpci_eth.c control_block->rx_data_low[index].address = index 450 drivers/net/wireless/intersil/prism54/islpci_eth.c cpu_to_le32((u32)priv->pci_map_rx_address[index]); index 107 drivers/net/wireless/intersil/prism54/islpci_mgt.c u32 index = curr % ISL38XX_CB_MGMT_QSIZE; index 108 drivers/net/wireless/intersil/prism54/islpci_mgt.c struct islpci_membuf *buf = &priv->mgmt_rx[index]; index 109 drivers/net/wireless/intersil/prism54/islpci_mgt.c isl38xx_fragment *frag = &cb->rx_data_mgmt[index]; index 163 drivers/net/wireless/intersil/prism54/islpci_mgt.c int index; index 224 drivers/net/wireless/intersil/prism54/islpci_mgt.c index = curr_frag % ISL38XX_CB_MGMT_QSIZE; index 225 drivers/net/wireless/intersil/prism54/islpci_mgt.c priv->mgmt_tx[index] = buf; index 226 drivers/net/wireless/intersil/prism54/islpci_mgt.c frag = &cb->tx_data_mgmt[index]; index 275 drivers/net/wireless/intersil/prism54/islpci_mgt.c u32 index = priv->index_mgmt_rx % ISL38XX_CB_MGMT_QSIZE; index 276 drivers/net/wireless/intersil/prism54/islpci_mgt.c struct islpci_membuf *buf = &priv->mgmt_rx[index]; index 283 drivers/net/wireless/intersil/prism54/islpci_mgt.c if (le16_to_cpu(cb->rx_data_mgmt[index].flags) != 0) { index 286 drivers/net/wireless/intersil/prism54/islpci_mgt.c le16_to_cpu(cb->rx_data_mgmt[index].flags)); index 291 drivers/net/wireless/intersil/prism54/islpci_mgt.c frag_len = le16_to_cpu(cb->rx_data_mgmt[index].size); index 415 drivers/net/wireless/intersil/prism54/islpci_mgt.c int index = priv->index_mgmt_tx % ISL38XX_CB_MGMT_QSIZE; index 416 drivers/net/wireless/intersil/prism54/islpci_mgt.c struct islpci_membuf *buf = &priv->mgmt_tx[index]; index 71 drivers/net/wireless/marvell/libertas/decl.h u32 lbs_fw_index_to_data_rate(u8 index); index 2421 drivers/net/wireless/marvell/mwifiex/cfg80211.c int index = 0, i; index 2435 drivers/net/wireless/marvell/mwifiex/cfg80211.c index = 1 << i; index 2440 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (params->basic_rates < index) { index 2444 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (params->basic_rates % index) index 197 drivers/net/wireless/marvell/mwifiex/cfp.c u8 index, u8 ht_info) index 205 drivers/net/wireless/marvell/mwifiex/cfp.c mcs_index = min(index & 0xF, 9); index 213 drivers/net/wireless/marvell/mwifiex/cfp.c if ((index >> 4) == 1) /* NSS = 2 */ index 224 drivers/net/wireless/marvell/mwifiex/cfp.c if (index == MWIFIEX_RATE_BITMAP_MCS0) { index 229 drivers/net/wireless/marvell/mwifiex/cfp.c } else if (index < 16) { index 231 drivers/net/wireless/marvell/mwifiex/cfp.c rate = mcs_rate[2 * (1 - bw) + gi][index]; index 239 drivers/net/wireless/marvell/mwifiex/cfp.c if (index >= MWIFIEX_SUPPORTED_RATES_EXT) index 240 drivers/net/wireless/marvell/mwifiex/cfp.c index = 0; index 241 drivers/net/wireless/marvell/mwifiex/cfp.c rate = mwifiex_data_rates[index]; index 251 drivers/net/wireless/marvell/mwifiex/cfp.c u8 index, u8 ht_info) index 258 drivers/net/wireless/marvell/mwifiex/cfp.c return mwifiex_index_to_acs_data_rate(priv, index, ht_info); index 261 drivers/net/wireless/marvell/mwifiex/cfp.c if (index == MWIFIEX_RATE_BITMAP_MCS0) { index 266 drivers/net/wireless/marvell/mwifiex/cfp.c } else if (index < mcs_num_supp) { index 270 drivers/net/wireless/marvell/mwifiex/cfp.c rate = mcs_rate[1][index]; index 273 drivers/net/wireless/marvell/mwifiex/cfp.c rate = mcs_rate[0][index]; index 277 drivers/net/wireless/marvell/mwifiex/cfp.c rate = mcs_rate[3][index]; index 280 drivers/net/wireless/marvell/mwifiex/cfp.c rate = mcs_rate[2][index]; index 285 drivers/net/wireless/marvell/mwifiex/cfp.c if (index >= MWIFIEX_SUPPORTED_RATES_EXT) index 286 drivers/net/wireless/marvell/mwifiex/cfp.c index = 0; index 287 drivers/net/wireless/marvell/mwifiex/cfp.c rate = mwifiex_data_rates[index]; index 48 drivers/net/wireless/marvell/mwifiex/ie.c struct mwifiex_ie *ie, u16 *index) index 63 drivers/net/wireless/marvell/mwifiex/ie.c *index = i; index 71 drivers/net/wireless/marvell/mwifiex/ie.c *index = i; index 84 drivers/net/wireless/marvell/mwifiex/ie.c u16 travel_len, index, mask; index 101 drivers/net/wireless/marvell/mwifiex/ie.c index = le16_to_cpu(ie->ie_index); index 104 drivers/net/wireless/marvell/mwifiex/ie.c if (index == MWIFIEX_AUTO_IDX_MASK) { index 106 drivers/net/wireless/marvell/mwifiex/ie.c if (mwifiex_ie_get_autoidx(priv, mask, ie, &index)) index 108 drivers/net/wireless/marvell/mwifiex/ie.c if (index == MWIFIEX_AUTO_IDX_MASK) index 111 drivers/net/wireless/marvell/mwifiex/ie.c tmp = (u8 *)&priv->mgmt_ie[index].ie_buffer; index 113 drivers/net/wireless/marvell/mwifiex/ie.c priv->mgmt_ie[index].ie_length = ie->ie_length; index 114 drivers/net/wireless/marvell/mwifiex/ie.c priv->mgmt_ie[index].ie_index = cpu_to_le16(index); index 115 drivers/net/wireless/marvell/mwifiex/ie.c priv->mgmt_ie[index].mgmt_subtype_mask = index 118 drivers/net/wireless/marvell/mwifiex/ie.c ie->ie_index = cpu_to_le16(index); index 126 drivers/net/wireless/marvell/mwifiex/ie.c if (mwifiex_ie_index_used_by_other_intf(priv, index)) index 130 drivers/net/wireless/marvell/mwifiex/ie.c memcpy(&priv->mgmt_ie[index], ie, index 136 drivers/net/wireless/marvell/mwifiex/ie.c priv->mgmt_ie[index].ie_length) + index 792 drivers/net/wireless/marvell/mwifiex/main.c int index = mwifiex_1d_to_wmm_queue[skb->priority]; index 794 drivers/net/wireless/marvell/mwifiex/main.c if (atomic_inc_return(&priv->wmm_tx_pending[index]) >= MAX_TX_PENDING) { index 795 drivers/net/wireless/marvell/mwifiex/main.c txq = netdev_get_tx_queue(priv->netdev, index); index 799 drivers/net/wireless/marvell/mwifiex/main.c "stop queue: %d\n", index); index 1201 drivers/net/wireless/marvell/mwifiex/main.h u8 index, u8 ht_info); index 1203 drivers/net/wireless/marvell/mwifiex/main.h u8 index, u8 ht_info); index 1347 drivers/net/wireless/marvell/mwifiex/main.h int index[MWIFIEX_MAX_BSS_NUM]; index 1349 drivers/net/wireless/marvell/mwifiex/main.h memset(index, 0, sizeof(index)); index 1355 drivers/net/wireless/marvell/mwifiex/main.h index[adapter->priv[i]->bss_num] = 1; index 1359 drivers/net/wireless/marvell/mwifiex/main.h if (!index[j]) index 1737 drivers/net/wireless/marvell/mwifiex/sdio.c int index; index 1846 drivers/net/wireless/marvell/mwifiex/sdio.c index = adapter->dbg.last_sdio_mp_index; index 1847 drivers/net/wireless/marvell/mwifiex/sdio.c index = (index + 1) % MWIFIEX_DBG_SDIO_MP_NUM; index 1848 drivers/net/wireless/marvell/mwifiex/sdio.c adapter->dbg.last_sdio_mp_index = index; index 1849 drivers/net/wireless/marvell/mwifiex/sdio.c adapter->dbg.last_mp_wr_ports[index] = mport; index 1850 drivers/net/wireless/marvell/mwifiex/sdio.c adapter->dbg.last_mp_wr_bitmap[index] = card->mp_wr_bitmap; index 1851 drivers/net/wireless/marvell/mwifiex/sdio.c adapter->dbg.last_mp_wr_len[index] = card->mpa_tx.buf_len; index 1852 drivers/net/wireless/marvell/mwifiex/sdio.c adapter->dbg.last_mp_curr_wr_port[index] = card->curr_wr_port; index 2598 drivers/net/wireless/marvell/mwifiex/sdio.c u8 count, func, data, index = 0, size = 0; index 2629 drivers/net/wireless/marvell/mwifiex/sdio.c index = 0; index 2631 drivers/net/wireless/marvell/mwifiex/sdio.c reg_start = cardp->reg->func1_spec_reg_table[index++]; index 2666 drivers/net/wireless/marvell/mwifiex/sdio.c reg = cardp->reg->func1_spec_reg_table[index++]; index 920 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c int index; index 925 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c index = encrypt_key->key_index; index 930 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c wep_key = &priv->wep_key[index]; index 943 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c priv->wep_key_curr_index = (u16) index; index 946 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c wep_key = &priv->wep_key[index]; index 952 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c wep_key->key_index = index; index 960 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c memset(&priv->wep_key[index], 0, index 283 drivers/net/wireless/marvell/mwifiex/txrx.c int index; index 317 drivers/net/wireless/marvell/mwifiex/txrx.c index = mwifiex_1d_to_wmm_queue[skb->priority]; index 318 drivers/net/wireless/marvell/mwifiex/txrx.c if (atomic_dec_return(&priv->wmm_tx_pending[index]) < LOW_TX_PENDING) { index 319 drivers/net/wireless/marvell/mwifiex/txrx.c txq = netdev_get_tx_queue(priv->netdev, index); index 322 drivers/net/wireless/marvell/mwifiex/txrx.c mwifiex_dbg(adapter, DATA, "wake queue: %d\n", index); index 104 drivers/net/wireless/marvell/mwifiex/uap_txrx.c int index; index 212 drivers/net/wireless/marvell/mwifiex/uap_txrx.c index = mwifiex_1d_to_wmm_queue[skb->priority]; index 213 drivers/net/wireless/marvell/mwifiex/uap_txrx.c atomic_inc(&priv->wmm_tx_pending[index]); index 1159 drivers/net/wireless/marvell/mwl8k.c static int mwl8k_rxq_init(struct ieee80211_hw *hw, int index) index 1162 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_rx_queue *rxq = priv->rxq + index; index 1204 drivers/net/wireless/marvell/mwl8k.c static int rxq_refill(struct ieee80211_hw *hw, int index, int limit) index 1207 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_rx_queue *rxq = priv->rxq + index; index 1241 drivers/net/wireless/marvell/mwl8k.c static void mwl8k_rxq_deinit(struct ieee80211_hw *hw, int index) index 1244 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_rx_queue *rxq = priv->rxq + index; index 1317 drivers/net/wireless/marvell/mwl8k.c static int rxq_process(struct ieee80211_hw *hw, int index, int limit) index 1321 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_rx_queue *rxq = priv->rxq + index; index 1450 drivers/net/wireless/marvell/mwl8k.c static int mwl8k_txq_init(struct ieee80211_hw *hw, int index) index 1453 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_tx_queue *txq = priv->txq + index; index 1667 drivers/net/wireless/marvell/mwl8k.c mwl8k_txq_reclaim(struct ieee80211_hw *hw, int index, int limit, int force) index 1670 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_tx_queue *txq = priv->txq + index; index 1764 drivers/net/wireless/marvell/mwl8k.c static void mwl8k_txq_deinit(struct ieee80211_hw *hw, int index) index 1767 drivers/net/wireless/marvell/mwl8k.c struct mwl8k_tx_queue *txq = priv->txq + index; index 1772 drivers/net/wireless/marvell/mwl8k.c mwl8k_txq_reclaim(hw, index, INT_MAX, 1); index 1894 drivers/net/wireless/marvell/mwl8k.c int index, index 1978 drivers/net/wireless/marvell/mwl8k.c index = mwl8k_tid_queue_mapping(tid); index 1981 drivers/net/wireless/marvell/mwl8k.c txpriority = index; index 1995 drivers/net/wireless/marvell/mwl8k.c index = stream->idx + index 2061 drivers/net/wireless/marvell/mwl8k.c txq = priv->txq + index; index 4689 drivers/net/wireless/marvell/mwl8k.c int index = skb_get_queue_mapping(skb); index 4698 drivers/net/wireless/marvell/mwl8k.c mwl8k_txq_xmit(hw, index, control->sta, skb); index 1352 drivers/net/wireless/mediatek/mt76/mt7603/mac.c static u32 mt7603_dma_debug(struct mt7603_dev *dev, u8 index) index 1357 drivers/net/wireless/mediatek/mt76/mt7603/mac.c FIELD_PREP(MT_WPDMA_DEBUG_IDX, index) | index 117 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c int index; index 132 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c index = MT_EE_TX0_2G_TARGET_POWER + chain_idx * 6; index 138 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c index = MT_EE_TX1_5G_G0_TARGET_POWER; index 141 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c index = MT_EE_TX2_5G_G0_TARGET_POWER; index 144 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c index = MT_EE_TX3_5G_G0_TARGET_POWER; index 148 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c index = MT_EE_TX0_5G_G0_TARGET_POWER; index 151 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c index += 5 * group; index 154 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c return index; index 195 drivers/net/wireless/mediatek/mt76/mt7615/init.c int index; index 197 drivers/net/wireless/mediatek/mt76/mt7615/init.c index = mt7615_eeprom_get_power_index(dev, chan, j); index 198 drivers/net/wireless/mediatek/mt76/mt7615/init.c target_power = max(target_power, eep[index]); index 1199 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int index = -MT_EE_NIC_CONF_0; index 1205 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c index += ret; index 1206 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c data[index] = min_t(u8, data[index], tx_power); index 1218 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c enum mt7615_rdd_cmd cmd, u8 index, index 1229 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .rdd_idx = index, index 1594 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int mt7615_mcu_get_temperature(struct mt7615_dev *dev, int index) index 1600 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .action = index, index 199 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h enum mt7615_rdd_cmd cmd, u8 index, index 249 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h int mt7615_mcu_get_temperature(struct mt7615_dev *dev, int index); index 577 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c int index, u8 tx_rate) index 581 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c reg = (index == 1) ? MT_RF_PA_MODE_CFG1 : MT_RF_PA_MODE_CFG0; index 605 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c u8 index; index 611 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 0; index 614 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 1; index 617 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 2; index 620 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 3; index 623 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 4; index 626 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 5; index 629 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 6; index 632 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index = 7; index 638 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c *target_power = cur_power + dev->mt76.rate_power.ofdm[index]; index 639 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c *target_pa_power = mt76x0_phy_get_rf_pa_mode(dev, 0, index + 4); index 371 drivers/net/wireless/mediatek/mt76/usb.c mt76u_fill_bulk_urb(struct mt76_dev *dev, int dir, int index, index 380 drivers/net/wireless/mediatek/mt76/usb.c pipe = usb_rcvbulkpipe(udev, dev->usb.in_ep[index]); index 382 drivers/net/wireless/mediatek/mt76/usb.c pipe = usb_sndbulkpipe(udev, dev->usb.out_ep[index]); index 211 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c static void __iomem *qtnf_map_bar(struct pci_dev *pdev, u8 index) index 218 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c ret = pcim_iomap_regions(pdev, 1 << index, "qtnfmac_pcie"); index 222 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c busaddr = pci_resource_start(pdev, index); index 223 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c len = pci_resource_len(pdev, index); index 224 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c vaddr = pcim_iomap_table(pdev)[index]; index 229 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c index, vaddr, &busaddr, (int)len); index 283 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c static int pearl_skb2rbd_attach(struct qtnf_pcie_pearl_state *ps, u16 index) index 292 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c priv->rx_skb[index] = NULL; index 296 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c priv->rx_skb[index] = skb; index 297 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c rxbd = &ps->rx_bd_vbase[index]; index 311 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c priv->rx_bd_w_index = index; index 323 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c writel(index, PCIE_HDP_TX_HOST_Q_WR_PTR(ps->pcie_reg_base)); index 657 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c u16 index = ps->base.rx_bd_r_index; index 661 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c rxbd = &ps->rx_bd_vbase[index]; index 245 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c topaz_skb2rbd_attach(struct qtnf_pcie_topaz_state *ts, u16 index, u32 wrap) index 247 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c struct qtnf_topaz_rx_bd *rxbd = &ts->rx_bd_vbase[index]; index 253 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c ts->base.rx_skb[index] = NULL; index 257 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c ts->base.rx_skb[index] = skb; index 269 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c ts->base.rx_bd_w_index = index; index 589 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c u16 index = ts->base.rx_bd_r_index; index 593 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c rxbd = &ts->rx_bd_vbase[index]; index 33 drivers/net/wireless/quantenna/qtnfmac/util.c size_t index) index 37 drivers/net/wireless/quantenna/qtnfmac/util.c if (qtnf_sta_list_size(list) <= index) index 41 drivers/net/wireless/quantenna/qtnfmac/util.c if (index-- == 0) index 17 drivers/net/wireless/quantenna/qtnfmac/util.h size_t index); index 370 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index; index 383 drivers/net/wireless/ralink/rt2x00/rt2800lib.c index = map[word]; index 391 drivers/net/wireless/ralink/rt2x00/rt2800lib.c WARN_ONCE(word != EEPROM_CHIP_ID && index == 0, index 395 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return index; index 401 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index; index 403 drivers/net/wireless/ralink/rt2x00/rt2800lib.c index = rt2800_eeprom_word_index(rt2x00dev, word); index 404 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return rt2x00_eeprom_addr(rt2x00dev, index); index 410 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index; index 412 drivers/net/wireless/ralink/rt2x00/rt2800lib.c index = rt2800_eeprom_word_index(rt2x00dev, word); index 413 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return rt2x00_eeprom_read(rt2x00dev, index); index 419 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index; index 421 drivers/net/wireless/ralink/rt2x00/rt2800lib.c index = rt2800_eeprom_word_index(rt2x00dev, word); index 422 drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2x00_eeprom_write(rt2x00dev, index, data); index 429 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index; index 431 drivers/net/wireless/ralink/rt2x00/rt2800lib.c index = rt2800_eeprom_word_index(rt2x00dev, array); index 432 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return rt2x00_eeprom_read(rt2x00dev, index + offset); index 1277 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index) index 1279 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return HW_BEACON_BASE(index); index 1283 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index) index 1285 drivers/net/wireless/ralink/rt2x00/rt2800lib.c return BEACON_BASE_TO_OFFSET(rt2800_hw_beacon_base(rt2x00dev, index)); index 1397 drivers/net/wireless/ralink/rt2x00/rt2800lib.c unsigned int index) index 1403 drivers/net/wireless/ralink/rt2x00/rt2800lib.c beacon_base = rt2800_hw_beacon_base(rt2x00dev, index); index 1319 drivers/net/wireless/ralink/rt2x00/rt2x00.h enum queue_index index); index 326 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c queue->index[Q_INDEX], index 327 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c queue->index[Q_INDEX_DMA_DONE], index 328 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c queue->index[Q_INDEX_DONE]); index 419 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c unsigned int index = intf->offset_##__name; \ index 425 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c if (index >= debug->__name.word_count) \ index 428 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c index += (debug->__name.word_base / \ index 432 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c index *= debug->__name.word_size; \ index 434 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c value = debug->__name.read(intf->rt2x00dev, index); \ index 451 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c unsigned int index = intf->offset_##__name; \ index 457 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c if (index >= debug->__name.word_count) \ index 470 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c index += (debug->__name.word_base / \ index 474 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c index *= debug->__name.word_size; \ index 476 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c debug->__name.write(intf->rt2x00dev, index, value); \ index 980 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c const u16 index, const struct rt2x00_rate *rate) index 984 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c entry->hw_value = index; index 985 drivers/net/wireless/ralink/rt2x00/rt2x00dev.c entry->hw_value_short = index; index 174 drivers/net/wireless/ralink/rt2x00/rt2x00lib.h void rt2x00queue_index_inc(struct queue_entry *entry, enum queue_index index); index 812 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c index_start = queue->index[start]; index 813 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c index_end = queue->index[end]; index 842 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c enum queue_index index) index 847 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (unlikely(index >= Q_INDEX_MAX)) { index 849 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c index); index 855 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c entry = &queue->entries[queue->index[index]]; index 863 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c void rt2x00queue_index_inc(struct queue_entry *entry, enum queue_index index) index 868 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (unlikely(index >= Q_INDEX_MAX)) { index 870 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c "Index change on invalid index type (%d)\n", index); index 876 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c queue->index[index]++; index 877 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (queue->index[index] >= queue->limit) index 878 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c queue->index[index] = 0; index 882 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (index == Q_INDEX) { index 884 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c } else if (index == Q_INDEX_DONE) { index 1080 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c queue->index[i] = 0; index 466 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h unsigned short index[Q_INDEX_MAX]; index 2069 drivers/net/wireless/ralink/rt2x00/rt61pci.c int index; index 2099 drivers/net/wireless/ralink/rt2x00/rt61pci.c index = rt2x00_get_field32(reg, STA_CSR4_PID_SUBTYPE); index 2100 drivers/net/wireless/ralink/rt2x00/rt61pci.c if (unlikely(index >= queue->limit)) index 2103 drivers/net/wireless/ralink/rt2x00/rt61pci.c entry = &queue->entries[index]; index 94 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c u8 index, u8 level_num, u8 rssi_thresh, index 99 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; index 104 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 106 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 123 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c return coex_sta->pre_wifi_rssi_state[index]; index 126 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 128 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 135 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == index 137 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 154 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; index 130 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 index, u8 level_num, index 135 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; index 140 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 142 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 169 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c return coex_sta->pre_wifi_rssi_state[index]; index 172 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 174 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 186 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == index 188 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; index 131 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c u8 index, u8 level_num, u8 rssi_thresh, index 136 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; index 141 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 143 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_wifi_rssi_state[index] == index 170 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c return coex_sta->pre_wifi_rssi_state[index]; index 173 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_wifi_rssi_state[index] == index 187 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == index 189 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_wifi_rssi_state[index] == index 217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; index 133 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c u8 index, u8 level_num, index 138 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; index 143 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 145 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 172 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c return coex_sta->pre_wifi_rssi_state[index]; index 175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == index 177 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 190 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == index 192 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_wifi_rssi_state[index] == index 220 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; index 719 drivers/net/wireless/realtek/rtlwifi/ps.c u8 noa_num, index , i, noa_index = 0; index 770 drivers/net/wireless/realtek/rtlwifi/ps.c index = 5; index 773 drivers/net/wireless/realtek/rtlwifi/ps.c READEF1BYTE(ie+index); index 774 drivers/net/wireless/realtek/rtlwifi/ps.c index += 1; index 776 drivers/net/wireless/realtek/rtlwifi/ps.c READEF4BYTE((__le32 *)ie+index); index 777 drivers/net/wireless/realtek/rtlwifi/ps.c index += 4; index 779 drivers/net/wireless/realtek/rtlwifi/ps.c READEF4BYTE((__le32 *)ie+index); index 780 drivers/net/wireless/realtek/rtlwifi/ps.c index += 4; index 782 drivers/net/wireless/realtek/rtlwifi/ps.c READEF4BYTE((__le32 *)ie+index); index 783 drivers/net/wireless/realtek/rtlwifi/ps.c index += 4; index 819 drivers/net/wireless/realtek/rtlwifi/ps.c u8 noa_num, index , i , noa_index = 0; index 865 drivers/net/wireless/realtek/rtlwifi/ps.c index = 5; index 868 drivers/net/wireless/realtek/rtlwifi/ps.c READEF1BYTE(ie+index); index 869 drivers/net/wireless/realtek/rtlwifi/ps.c index += 1; index 871 drivers/net/wireless/realtek/rtlwifi/ps.c READEF4BYTE((__le32 *)ie+index); index 872 drivers/net/wireless/realtek/rtlwifi/ps.c index += 4; index 874 drivers/net/wireless/realtek/rtlwifi/ps.c READEF4BYTE((__le32 *)ie+index); index 875 drivers/net/wireless/realtek/rtlwifi/ps.c index += 4; index 877 drivers/net/wireless/realtek/rtlwifi/ps.c READEF4BYTE((__le32 *)ie+index); index 878 drivers/net/wireless/realtek/rtlwifi/ps.c index += 4; index 474 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c u8 index = 0; index 484 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c for (index = 0; index < 4; index++) { index 485 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c if ((p_regtoset[index] & 0xf0) > index 487 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c p_regtoset[index] = index 488 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c (p_regtoset[index] & 0x0f) | index 491 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c if ((p_regtoset[index] & 0x0f) > index 493 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c p_regtoset[index] = index 494 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c (p_regtoset[index] & 0xf0) | index 498 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c (REG_AGGLEN_LMT + index), index 499 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c p_regtoset[index]); index 1752 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c u8 rf_path, index; index 1760 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c index = _rtl88e_get_chnl_group(i+1); index 1763 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c pwrinfo24g.index_cck_base[rf_path][index]; index 1765 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c pwrinfo24g.index_bw40_base[rf_path][index]; index 938 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c static void handle_path_a(struct rtl_efuse *rtlefuse, u8 index, index 943 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; index 945 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c if (rtlefuse->txpwr_ht20diff[RF90_PATH_A][index] > 0x0f) index 947 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - index 948 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c (~(rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]) + 1); index 951 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + index 952 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]; index 953 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c if (rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index] > 0xf) index 955 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - index 956 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c (~(rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index])+1); index 959 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + index 960 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index]; index 962 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; index 970 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c u8 index = (channel - 1); index 975 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c handle_path_a(rtlefuse, index, cckpowerlevel, index 980 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_cck[RF90_PATH_B][index]; index 982 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index] + index 983 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwr_ht20diff[RF90_PATH_B][index]; index 985 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index] + index 986 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwr_legacyhtdiff[RF90_PATH_B][index]; index 988 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index]; index 177 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c u8 channel, u8 index, index 195 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c [chnlgroup][index + (rf ? 8 : 0)] index 196 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 222 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c [index + (rf ? 8 : 0)] + ((index < 2) ? index 233 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 256 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c if (index < 2) index 278 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c [chnlgroup][index + index 295 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 305 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c [index + (rf ? 8 : 0)] index 306 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 324 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c u8 index, u32 *value) index 354 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c regoffset = regoffset_a[index]; index 356 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c regoffset = regoffset_b[index]; index 370 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c u8 index; index 380 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c for (index = 0; index < 6; index++) { index 382 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c channel, index, index 393 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rf.c _rtl88e_write_ofdm_power_reg(hw, index, &writeval[0]); index 810 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c bool rtl88ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) index 797 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h u8 hw_queue, u16 index); index 142 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c u8 index; index 144 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c for (index = 0; index < 6; index++) index 145 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtl_write_byte(rtlpriv, power_index_reg[index], index 146 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlpriv->dm.powerindex_backup[index]); index 153 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c u8 index; index 155 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c for (index = 0; index < 6; index++) index 156 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtl_write_byte(rtlpriv, power_index_reg[index], value); index 163 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c u8 index; index 166 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c for (index = 0; index < 6; index++) { index 167 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c tmp = rtl_read_byte(rtlpriv, power_index_reg[index]); index 168 drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c rtlpriv->dm.powerindex_backup[index] = tmp; index 528 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c u8 index = (channel - 1); index 531 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; index 533 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c rtlefuse->txpwrlevel_cck[RF90_PATH_B][index]; index 536 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; index 538 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index]; index 541 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_A][index]; index 543 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_B][index]; index 256 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c u8 index = 0; index 271 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c for (index = 0; index < 4; index++) { index 272 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c if ((p_regtoset[index] & 0xf0) > index 274 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c p_regtoset[index] = index 275 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c (p_regtoset[index] & 0x0f) | index 278 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c if ((p_regtoset[index] & 0x0f) > index 280 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c p_regtoset[index] = index 281 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c (p_regtoset[index] & 0xf0) | index 285 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c (REG_AGGLEN_LMT + index), index 286 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c p_regtoset[index]); index 1426 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c u8 rf_path, index, tempval; index 1485 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c index = rtl92c_get_chnl_group((u8)i); index 1488 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][index]; index 1491 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c eeprom_chnlarea_txpwr_ht40_1s[rf_path][index]; index 1494 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c eeprom_chnlarea_txpwr_ht40_1s[rf_path][index] - index 1496 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c eprom_chnl_txpwr_ht40_2sdf[rf_path][index]) index 1501 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c [index] - index 1504 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c [index]; index 1534 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c index = rtl92c_get_chnl_group((u8)i); index 1538 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c (rtlefuse->eeprom_pwrlimit_ht20[index] index 1541 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c (rtlefuse->eeprom_pwrlimit_ht40[index] index 1545 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c ((rtlefuse->eeprom_pwrlimit_ht20[index] index 1548 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c ((rtlefuse->eeprom_pwrlimit_ht40[index] index 1564 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c index = rtl92c_get_chnl_group((u8)i); index 1567 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; index 1581 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c index = rtl92c_get_chnl_group((u8)i); index 1584 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; index 166 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c u8 channel, u8 index, index 182 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c writeval = rtlphy->mcs_offset[chnlgroup][index + index 184 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 192 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c writeval = ((index < 2) ? powerbase0[rf] : index 213 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c [index + (rf ? 8 : 0)] + ((index < 2) ? index 224 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 248 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c [chnlgroup][index + index 279 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 288 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c [index + (rf ? 8 : 0)] index 289 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 307 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c u8 index, u32 *value) index 339 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c regoffset = regoffset_a[index]; index 341 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c regoffset = regoffset_b[index]; index 375 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c u8 index; index 380 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c for (index = 0; index < 6; index++) { index 382 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c channel, index, index 387 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rf.c _rtl92c_write_ofdm_power_reg(hw, index, &writeval[0]); index 708 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c u8 hw_queue, u16 index) index 527 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h u8 hw_queue, u16 index); index 104 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c u8 rf_path, index, tempval; index 160 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c index = rtl92c_get_chnl_group((u8)i); index 162 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][index]; index 165 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c eeprom_chnlarea_txpwr_ht40_1s[rf_path][index]; index 167 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c eeprom_chnlarea_txpwr_ht40_1s[rf_path][index] - index 169 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c eprom_chnl_txpwr_ht40_2sdf[rf_path][index]) index 174 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c [index] - rtlefuse-> index 176 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c [index]; index 202 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c index = rtl92c_get_chnl_group((u8)i); index 205 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c (rtlefuse->eeprom_pwrlimit_ht20[index] index 208 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c (rtlefuse->eeprom_pwrlimit_ht40[index] index 212 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c ((rtlefuse->eeprom_pwrlimit_ht20[index] index 215 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c ((rtlefuse->eeprom_pwrlimit_ht40[index] index 229 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c index = rtl92c_get_chnl_group((u8)i); index 231 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; index 241 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c index = rtl92c_get_chnl_group((u8)i); index 243 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; index 1701 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c u8 index = 0; index 1709 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c for (index = 0; index < 4; index++) { index 1710 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c if ((p_regtoset[index] & 0xf0) > index 1712 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c p_regtoset[index] = index 1713 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c (p_regtoset[index] & 0x0f) index 1715 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c if ((p_regtoset[index] & 0x0f) > index 1717 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c p_regtoset[index] = index 1718 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c (p_regtoset[index] & 0xf0) index 1721 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c (REG_AGGLEN_LMT + index), index 1722 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c p_regtoset[index]); index 157 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c u8 channel, u8 index, index 173 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c [chnlgroup][index + (rf ? 8 : 0)] index 174 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 195 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c writeval = rtlphy->mcs_offset[chnlgroup][index + index 197 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c ((index < 2) ? powerbase0[rf] : index 204 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c writeval = ((index < 2) ? powerbase0[rf] : index 228 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c [chnlgroup][index + (rf ? 8 : 0)] index 253 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c writeval = customer_limit + ((index < 2) ? index 262 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c [index + (rf ? 8 : 0)] + ((index < 2) ? index 282 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c u8 index, u32 *value) index 311 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c regoffset = regoffset_a[index]; index 313 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c regoffset = regoffset_b[index]; index 348 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c u8 index = 0; index 352 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c for (index = 0; index < 6; index++) { index 354 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c channel, index, index 358 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c _rtl92c_write_ofdm_power_reg(hw, index, &writeval[0]); index 458 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c u32 index; index 462 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c for (index = 0; index < 16; index++) index 463 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c checksum = checksum ^ le16_to_cpu(*(ptr + index)); index 717 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c u8 index; index 744 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index_mapping_pa[offset] index 747 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index 751 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index 754 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index_mapping[offset][delta]; index 761 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c ofdm_index[i] -= index; index 764 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c ofdm_index[i] += index; index 786 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c u8 index; index 957 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index_mapping[offset][INDEX_MAPPING_NUM - 1]; index 959 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c index = index_mapping[offset][delta]; index 966 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c ofdm_index[i] += index; index 967 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c cck_index += index; index 263 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c u8 index; index 276 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c for (index = 0; index < 4; index++) { index 277 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c ptmp_byte = (u8 *)(®toset) + index; index 615 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c int index; index 618 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 0; index 620 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 1; index 622 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 6; index 624 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 7; index 626 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 2; index 628 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 3; index 630 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 4; index 632 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 5; index 634 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 8; index 636 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 9; index 638 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 14; index 640 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 15; index 642 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 10; index 644 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 11; index 646 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 12; index 648 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 13; index 652 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index] = data; index 655 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlphy->pwrgroup_cnt, index, index 656 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index]); index 657 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c if (index == 13) index 855 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u8 index = (channel - 1); index 861 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; index 864 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlefuse->txpwrlevel_cck[RF90_PATH_B][index]; index 873 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; index 875 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index]; index 879 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_A][index]; index 881 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_B][index]; index 1196 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u8 index = 0, i = 0, rfpath = RF90_PATH_A; index 1209 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 0; index 1213 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 1; index 1216 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 2; index 1219 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 3; index 1221 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 4; index 1238 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u4tmp2 = (rf_reg_pram_c_5g[index][i] & index 1249 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rf_reg_pram_c_5g[index][i]); index 1254 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rf_reg_pram_c_5g[index][i], index 1255 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c path, index, index 1269 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 0; index 1271 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 1; index 1273 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 2; index 1289 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rf_pram_c_5g_int_pa[index][i]); index 1293 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rf_pram_c_5g_int_pa[index][i], index 1294 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rfpath, index); index 1308 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 0; index 1310 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 1; index 1312 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c index = 2; index 1330 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c (rf_reg_param_for_c_cut_2g[index][i] | index 1337 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c [index][i]); index 1341 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rf_reg_param_for_c_cut_2g[index][i], index 1342 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rf_reg_mask_for_c_cut_2g[i], path, index, index 2535 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u8 tmpreg, index, rf_mode[2]; index 2551 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c for (index = 0; index < path; index++) { index 2553 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c offset = index == 0 ? ROFDM0_XAAGCCORE1 : ROFDM0_XBAGCCORE1; index 2554 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rf_mode[index] = rtl_read_byte(rtlpriv, offset); index 2556 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_set_rfreg(hw, (enum radio_path)index, RF_AC, index 2560 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_set_rfreg(hw, (enum radio_path)index, RF_SYN_G7, index 2563 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_set_rfreg(hw, (enum radio_path)index, RF_CHNLBW, index 2566 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u4tmp = rtl_get_rfreg(hw, (enum radio_path)index, RF_SYN_G6, index 2571 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u4tmp = rtl_get_rfreg(hw, (enum radio_path)index, index 2576 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c u4tmp = rtl_get_rfreg(hw, index, RF_SYN_G4, RFREG_OFFSET_MASK); index 2577 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c if (index == 0 && rtlhal->interfaceindex == 0) { index 2586 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_set_rfreg(hw, (enum radio_path)index, RF_CHNLBW, index 2592 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_set_rfreg(hw, (enum radio_path)index, 0x3F, index 2595 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_set_rfreg(hw, (enum radio_path)index, 0x4D, index 2597 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c readval = rtl_get_rfreg(hw, (enum radio_path)index, index 2602 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c readval2 = rtl_get_rfreg(hw, (enum radio_path)index, index 2607 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c if (index == 0 && rtlhal->interfaceindex == 0) index 2616 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_set_rfreg(hw, (enum radio_path)index, RF_SYN_G7, index 2621 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c for (index = 0; index < path; index++) { index 2622 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c offset = index == 0 ? ROFDM0_XAAGCCORE1 : ROFDM0_XBAGCCORE1; index 2624 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtl_write_byte(rtlpriv, offset, rf_mode[index]); index 188 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c u8 channel, u8 index, index 204 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c [chnlgroup][index + index 205 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c (rf ? 8 : 0)] + ((index < 2) ? index 224 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c [chnlgroup][index + index 225 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c (rf ? 8 : 0)] + ((index < 2) ? index 234 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c writeval = ((index < 2) ? powerbase0[rf] : index 257 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c [chnlgroup][index + (rf ? 8 : 0)] & index 283 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c writeval = customer_limit + ((index < 2) ? index 291 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c writeval = rtlphy->mcs_offset[chnlgroup][index + index 292 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c (rf ? 8 : 0)] + ((index < 2) ? index 304 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c u8 index, u32 *pvalue) index 333 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c regoffset = regoffset_a[index]; index 335 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c regoffset = regoffset_b[index]; index 370 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c u8 index; index 374 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c for (index = 0; index < 6; index++) { index 376 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c channel, index, &powerbase0[0], index 378 drivers/net/wireless/realtek/rtlwifi/rtl8192de/rf.c _rtl92d_write_ofdm_power_reg(hw, index, &writeval[0]); index 268 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c rtlpriv->stats.ui_rssi.index]; index 273 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c [rtlpriv->stats.ui_rssi.index++] = index 275 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) index 276 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c rtlpriv->stats.ui_rssi.index = 0; index 369 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c rtlpriv->stats.ui_link_quality.index]; index 375 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c rtlpriv->stats.ui_link_quality.index++] = index 377 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c if (rtlpriv->stats.ui_link_quality.index >= index 379 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c rtlpriv->stats.ui_link_quality.index = 0; index 827 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c u8 hw_queue, u16 index) index 719 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h u8 hw_queue, u16 index); index 793 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 index = 0; index 798 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 0; index 802 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 1; index 806 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 2; index 809 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 3; index 813 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 4; index 817 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 5; index 821 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 6; index 825 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 7; index 830 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = (u8)((regaddr - 0xC20) / 4); index 832 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = (u8)((regaddr - 0xE20) / 4); index 835 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c return index; index 1236 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u8 index = (channel - 1); index 1241 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c index = 0; index 1247 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c tx_power = rtlefuse->txpwrlevel_cck[rfpath][index]; index 1249 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c tx_power = rtlefuse->txpwrlevel_ht40_1s[rfpath][index]; index 1003 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c bool rtl92ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) index 1030 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c if (index < write_point && index >= read_point) index 1035 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c if (index > write_point && index < read_point) index 1040 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c if (index != read_point) index 743 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h bool rtl92ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index); index 191 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c u8 index = 0; index 199 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c for (index = 0; index < 17; index++) { index 200 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c if (factorlevel[index] > factor_toset) index 201 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c factorlevel[index] = index 205 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c for (index = 0; index < 8; index++) { index 206 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c regtoset = ((factorlevel[index * 2]) | index 207 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c (factorlevel[index * index 210 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c AGGLEN_LMT_L + index, index 1650 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c u8 rf_path, index; index 1764 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 0; index 1767 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 1; index 1770 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 2; index 1776 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c [rf_path][index]; index 1779 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c [rf_path][index]; index 1782 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c [rf_path][index]; index 1808 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 0; index 1811 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 1; index 1814 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 2; index 1817 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c (rtlefuse->eeprom_pwrgroup[rf_path][index] & index 1820 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c ((rtlefuse->eeprom_pwrgroup[rf_path][index] & index 1838 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 0; index 1841 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 1; index 1844 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 2; index 1846 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c tempval = hwinfo[EEPROM_TX_PWR_HT20_DIFF + index] & 0xff; index 1854 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 0; index 1857 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 0x11; index 1860 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c index = 1; index 1862 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c tempval = hwinfo[EEPROM_TX_PWR_OFDM_DIFF + index] & 0xff; index 655 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c int index; index 658 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c index = 0; index 660 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c index = 1; index 662 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c index = 6; index 664 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c index = 2; index 666 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c index = 3; index 668 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c index = 4; index 670 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c index = 5; index 674 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c rtlphy->mcs_offset[rtlphy->pwrgroup_cnt][index] = data; index 675 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c if (index == 5) index 1027 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c u8 pathmap, index, rf_num = 0; index 1044 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c for (index = 0; index < 4; index++) { index 1045 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c if ((pathmap >> index) & 0x1) index 1114 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c u8 index = (channel - 1); index 1118 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c cckpowerlevel[0] = rtlefuse->txpwrlevel_cck[0][index]; index 1120 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c cckpowerlevel[1] = rtlefuse->txpwrlevel_cck[1][index]; index 1125 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c ofdmpowerlevel[0] = rtlefuse->txpwrlevel_ht40_1s[0][index]; index 1126 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c ofdmpowerlevel[1] = rtlefuse->txpwrlevel_ht40_1s[1][index]; index 1129 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c ofdmpowerlevel[0] = rtlefuse->txpwrlevel_ht40_2s[0][index]; index 1130 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c ofdmpowerlevel[1] = rtlefuse->txpwrlevel_ht40_2s[1][index]; index 151 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c u8 chnl, u8 index, index 169 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c writeval = rtlphy->mcs_offset[chnlgroup][index] + index 170 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c ((index < 2) ? pwrbase0 : pwrbase1); index 179 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c writeval = ((index < 2) ? pwrbase0 : pwrbase1); index 198 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c writeval = rtlphy->mcs_offset[chnlgroup][index] index 199 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c + ((index < 2) ? index 209 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c writeval = ((index < 2) ? pwrbase0 : pwrbase1); index 232 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c [chnlgroup][index] & (0x7f << (i * 8))) index 262 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c writeval = customer_limit + ((index < 2) ? index 269 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c writeval = rtlphy->mcs_offset[chnlgroup][index] + index 270 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c ((index < 2) ? pwrbase0 : pwrbase1); index 287 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c u8 index, u32 val) index 340 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c rtl_set_bbreg(hw, regoffset[index], 0x7f7f7f7f, writeval); index 347 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c u8 index = 0; index 354 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c for (index = 0; index < 6; index++) { index 355 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c _rtl92s_get_txpower_writeval_byregulatory(hw, chnl, index, index 358 drivers/net/wireless/realtek/rtlwifi/rtl8192se/rf.c _rtl92s_write_ofdm_powerreg(hw, index, writeval); index 215 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c u16 index) index 1696 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c u8 index = 0; index 1723 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c for (index = 0; index < c2h_event.cmd_len; index++) index 1724 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c ptmp_buf[index] = rtl_read_byte(rtlpriv, index 1725 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c REG_C2HEVT_MSG_NORMAL + 2 + index); index 259 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c u8 index = 0; index 274 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c for (index = 0; index < 4; index++) { index 275 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c if ((p_regtoset[index] & 0xf0) > index 277 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c p_regtoset[index] = index 278 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c (p_regtoset[index] & 0x0f) | index 281 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c if ((p_regtoset[index] & 0x0f) > index 283 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c p_regtoset[index] = index 284 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c (p_regtoset[index] & 0xf0) | index 288 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c (REG_AGGLEN_LMT + index), index 289 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c p_regtoset[index]); index 1396 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c u8 rf_path, index, tempval; index 1449 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c index = _rtl8723e_get_chnl_group((u8)i); index 1453 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c [rf_path][index]; index 1456 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c [rf_path][index]; index 1459 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c [rf_path][index] - index 1461 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c [rf_path][index]) > 0) { index 1464 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c [rf_path][index] - index 1466 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c [rf_path][index]; index 1496 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c index = _rtl8723e_get_chnl_group((u8)i); index 1500 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c (rtlefuse->eeprom_pwrlimit_ht20[index] & 0xf); index 1502 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c (rtlefuse->eeprom_pwrlimit_ht40[index] & 0xf); index 1505 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c ((rtlefuse->eeprom_pwrlimit_ht20[index] & index 1508 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c ((rtlefuse->eeprom_pwrlimit_ht40[index] & index 1522 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c index = _rtl8723e_get_chnl_group((u8)i); index 1525 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; index 1539 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c index = _rtl8723e_get_chnl_group((u8)i); index 1542 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; index 594 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c u8 index = (channel - 1); index 597 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; index 599 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c rtlefuse->txpwrlevel_cck[RF90_PATH_B][index]; index 602 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index]; index 604 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_B][index]; index 607 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_A][index]; index 609 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c rtlefuse->txpwrlevel_ht40_2s[RF90_PATH_B][index]; index 171 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c u8 channel, u8 index, index 188 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + index 190 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 198 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c writeval = ((index < 2) ? powerbase0[rf] : index 223 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c [index + (rf ? 8 : 0)] + ((index < 2) ? index 234 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 259 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c [chnlgroup][index + index 290 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 300 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c [index + (rf ? 8 : 0)] index 301 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 319 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c u8 index, u32 *pvalue) index 351 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c regoffset = regoffset_a[index]; index 353 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c regoffset = regoffset_b[index]; index 387 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c u8 index; index 392 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c for (index = 0; index < 6; index++) { index 393 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c get_txpower_writeval_by_reg(hw, channel, index, &powerbase0[0], index 397 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/rf.c _rtl8723e_write_ofdm_power_reg(hw, index, &writeval[0]); index 669 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.c u8 hw_queue, u16 index) index 530 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h u8 hw_queue, u16 index); index 509 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 index = 0; index 519 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c for (index = 0; index < 4; index++) { index 520 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if ((p_regtoset[index] & 0xf0) > index 522 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c p_regtoset[index] = index 523 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c (p_regtoset[index] & 0x0f) | index 526 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if ((p_regtoset[index] & 0x0f) > factor_toset) index 527 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c p_regtoset[index] = index 528 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c (p_regtoset[index] & 0xf0) | index 532 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c (REG_AGGLEN_LMT + index), index 533 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c p_regtoset[index]); index 1949 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c u8 rf_path, index; index 1957 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c index = _rtl8723be_get_chnl_group(i+1); index 1960 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g.index_cck_base[rf_path][index]; index 1962 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c pw2g.index_bw40_base[rf_path][index]; index 620 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u8 index = 0; index 624 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 0; index 627 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 1; index 630 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 2; index 633 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 3; index 636 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 4; index 639 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 5; index 642 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 6; index 645 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 7; index 648 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 0; index 651 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 1; index 654 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 2; index 657 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 4; index 660 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 5; index 663 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 6; index 666 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 7; index 671 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = (u8)((regaddr - 0xC20) / 4); index 673 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = (u8)((regaddr - 0xE20) / 4); index 676 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c return index; index 949 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u8 index = (channel - 1); index 954 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c index = 0; index 959 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower = rtlefuse->txpwrlevel_cck[path][index]; index 961 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c txpower = rtlefuse->txpwrlevel_ht40_1s[path][index]; index 178 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c u8 channel, u8 index, index 195 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + index 197 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 223 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c [index + (rf ? 8 : 0)] + ((index < 2) ? index 234 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 257 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c if (index < 2) index 280 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c [chnlgroup][index + (rf ? 8 : 0)] & index 296 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c writeval = customer_limit + ((index < 2) ? index 308 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c [index + (rf ? 8 : 0)] index 309 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 327 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c u8 index, u32 *pvalue) index 357 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c regoffset = regoffset_a[index]; index 359 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c regoffset = regoffset_b[index]; index 373 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c u8 index; index 383 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c for (index = 0; index < 6; index++) { index 385 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c channel, index, index 396 drivers/net/wireless/realtek/rtlwifi/rtl8723be/rf.c _rtl8723be_write_ofdm_power_reg(hw, index, &writeval[0]); index 722 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c u8 hw_queue, u16 index) index 642 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h u8 hw_queue, u16 index); index 2757 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 rf_path, index; index 2765 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c index = _rtl8821ae_get_chnl_group(i + 1); index 2771 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo24g.index_bw40_base[rf_path][index]; index 2774 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo24g.index_cck_base[rf_path][index]; index 2776 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo24g.index_bw40_base[rf_path][index]; index 2781 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c index = _rtl8821ae_get_chnl_group(channel5g[i]); index 2783 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo5g.index_bw40_base[rf_path][index]; index 2787 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c index = _rtl8821ae_get_chnl_group(channel5g_80m[i]); index 2788 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c upper = pwrinfo5g.index_bw40_base[rf_path][index]; index 2789 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c lower = pwrinfo5g.index_bw40_base[rf_path][index + 1]; index 2835 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 rf_path, index; index 2843 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c index = _rtl8821ae_get_chnl_group(i + 1); index 2849 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo24g.index_bw40_base[rf_path][index]; index 2852 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo24g.index_cck_base[rf_path][index]; index 2854 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo24g.index_bw40_base[rf_path][index]; index 2859 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c index = _rtl8821ae_get_chnl_group(channel5g[i]); index 2861 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c pwrinfo5g.index_bw40_base[rf_path][index]; index 2865 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c index = _rtl8821ae_get_chnl_group(channel5g_80m[i]); index 2866 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c upper = pwrinfo5g.index_bw40_base[rf_path][index]; index 2867 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c lower = pwrinfo5g.index_bw40_base[rf_path][index + 1]; index 3993 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c u8 index) index 4023 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c rxbuf_addr = (cam_start + index * WKFMCAM_SIZE + addr * 4) >> 3; index 46 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.h u8 index); index 1179 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 index = 0; index 1186 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 0; index 1197 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 1; index 1208 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 2; index 1219 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 3; index 1238 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 0; index 1249 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 1; index 1260 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 2; index 1273 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 3; index 1286 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 4; index 1297 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c return index; index 1961 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 index = 0; index 1964 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = (u8)((regaddr - 0xC20) / 4); index 1966 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = (u8)((regaddr - 0xE20) / 4); index 1970 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c return index; index 2629 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 index = (channel - 1); index 2637 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = 0; index 2642 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c in_24g = _rtl8821ae_phy_get_chnl_index(channel, &index); index 2645 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwrlevel_cck[path][index]; index 2647 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwrlevel_ht40_1s[path][index]; index 2681 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwr_5g_bw40base[path][index]; index 2713 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c index = i; index 2718 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwr_5g_bw80base[path][index] index 2723 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c txpower = rtlefuse->txpwr_5g_bw80base[path][index] index 159 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c u8 channel, u8 index, index 176 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + index 178 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 204 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c [index + (rf ? 8 : 0)] + ((index < 2) ? index 215 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 238 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c if (index < 2) index 259 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c [chnlgroup][index + (rf ? 8 : 0)] & index 275 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 285 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c [index + (rf ? 8 : 0)] index 286 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 304 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c u8 index, u32 *pvalue) index 334 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c regoffset = regoffset_a[index]; index 336 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c regoffset = regoffset_b[index]; index 351 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c u8 index; index 364 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c for (index = 0; index < 6; index++) { index 365 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c get_txpower_writeval_by_regulatory(hw, channel, index, index 376 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.c _rtl8821ae_write_ofdm_power_reg(hw, index, &writeval[0]); index 962 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c u8 hw_queue, u16 index) index 648 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h u8 hw_queue, u16 index); index 86 drivers/net/wireless/realtek/rtlwifi/stats.c rtlpriv->stats.ui_rssi.index]; index 90 drivers/net/wireless/realtek/rtlwifi/stats.c rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = index 92 drivers/net/wireless/realtek/rtlwifi/stats.c if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) index 93 drivers/net/wireless/realtek/rtlwifi/stats.c rtlpriv->stats.ui_rssi.index = 0; index 207 drivers/net/wireless/realtek/rtlwifi/stats.c rtlpriv->stats.ui_link_quality.index]; index 212 drivers/net/wireless/realtek/rtlwifi/stats.c rtlpriv->stats.ui_link_quality.index++] = index 214 drivers/net/wireless/realtek/rtlwifi/stats.c if (rtlpriv->stats.ui_link_quality.index >= index 216 drivers/net/wireless/realtek/rtlwifi/stats.c rtlpriv->stats.ui_link_quality.index = 0; index 37 drivers/net/wireless/realtek/rtlwifi/usb.c u16 value, u16 index, void *pdata, index 74 drivers/net/wireless/realtek/rtlwifi/usb.c dr->wIndex = cpu_to_le16(index); index 91 drivers/net/wireless/realtek/rtlwifi/usb.c u16 value, u16 index, void *pdata, index 105 drivers/net/wireless/realtek/rtlwifi/usb.c index, pdata, len, 1000); index 128 drivers/net/wireless/realtek/rtlwifi/usb.c u16 index; index 138 drivers/net/wireless/realtek/rtlwifi/usb.c index = REALTEK_USB_VENQT_CMD_IDX; /* n/a */ index 141 drivers/net/wireless/realtek/rtlwifi/usb.c _usbctrl_vendorreq_sync_read(udev, request, wvalue, index, data, len); index 165 drivers/net/wireless/realtek/rtlwifi/usb.c u16 index; index 169 drivers/net/wireless/realtek/rtlwifi/usb.c index = REALTEK_USB_VENQT_CMD_IDX; /* n/a */ index 172 drivers/net/wireless/realtek/rtlwifi/usb.c _usbctrl_vendorreq_async_write(udev, request, wvalue, index, &data, index 205 drivers/net/wireless/realtek/rtlwifi/usb.c u16 index = REALTEK_USB_VENQT_CMD_IDX; index 214 drivers/net/wireless/realtek/rtlwifi/usb.c index, buffer, len, 50); index 1098 drivers/net/wireless/realtek/rtlwifi/wifi.h u32 index; /*index to current array to store */ index 2288 drivers/net/wireless/realtek/rtlwifi/wifi.h u8 hw_queue, u16 index); index 2330 drivers/net/wireless/realtek/rtlwifi/wifi.h u8 index); index 262 drivers/net/wireless/realtek/rtw88/fw.c u8 index = 0 - bt_pwr_dec_lvl; index 266 drivers/net/wireless/realtek/rtw88/fw.c SET_BT_TX_POWER_INDEX(h2c_pkt, index); index 265 drivers/net/wireless/rndis_wlan.c __le32 index; index 272 drivers/net/wireless/rndis_wlan.c __le32 index; index 282 drivers/net/wireless/rndis_wlan.c __le32 index; index 1334 drivers/net/wireless/rndis_wlan.c u8 index) index 1342 drivers/net/wireless/rndis_wlan.c __func__, index, key_len); index 1344 drivers/net/wireless/rndis_wlan.c if (index >= RNDIS_WLAN_NUM_KEYS) index 1358 drivers/net/wireless/rndis_wlan.c ndis_key.index = cpu_to_le32(index); index 1361 drivers/net/wireless/rndis_wlan.c if (index == priv->encr_tx_key_index) { index 1362 drivers/net/wireless/rndis_wlan.c ndis_key.index |= NDIS_80211_ADDWEP_TRANSMIT_KEY; index 1375 drivers/net/wireless/rndis_wlan.c index + 1, ret); index 1379 drivers/net/wireless/rndis_wlan.c priv->encr_keys[index].len = key_len; index 1380 drivers/net/wireless/rndis_wlan.c priv->encr_keys[index].cipher = cipher; index 1381 drivers/net/wireless/rndis_wlan.c memcpy(&priv->encr_keys[index].material, key, key_len); index 1382 drivers/net/wireless/rndis_wlan.c eth_broadcast_addr(priv->encr_keys[index].bssid); index 1388 drivers/net/wireless/rndis_wlan.c u8 index, const u8 *addr, const u8 *rx_seq, index 1396 drivers/net/wireless/rndis_wlan.c if (index >= RNDIS_WLAN_NUM_KEYS) { index 1398 drivers/net/wireless/rndis_wlan.c __func__, index); index 1427 drivers/net/wireless/rndis_wlan.c __func__, index, index 1437 drivers/net/wireless/rndis_wlan.c ndis_key.index = cpu_to_le32(index) | flags; index 1470 drivers/net/wireless/rndis_wlan.c memset(&priv->encr_keys[index], 0, sizeof(priv->encr_keys[index])); index 1471 drivers/net/wireless/rndis_wlan.c priv->encr_keys[index].len = key_len; index 1472 drivers/net/wireless/rndis_wlan.c priv->encr_keys[index].cipher = cipher; index 1473 drivers/net/wireless/rndis_wlan.c memcpy(&priv->encr_keys[index].material, key, key_len); index 1475 drivers/net/wireless/rndis_wlan.c memcpy(&priv->encr_keys[index].bssid, ndis_key.bssid, ETH_ALEN); index 1477 drivers/net/wireless/rndis_wlan.c eth_broadcast_addr(priv->encr_keys[index].bssid); index 1480 drivers/net/wireless/rndis_wlan.c priv->encr_tx_key_index = index; index 1517 drivers/net/wireless/rndis_wlan.c static int remove_key(struct usbnet *usbdev, u8 index, const u8 *bssid) index 1525 drivers/net/wireless/rndis_wlan.c if (index >= RNDIS_WLAN_NUM_KEYS) index 1528 drivers/net/wireless/rndis_wlan.c if (priv->encr_keys[index].len == 0) index 1531 drivers/net/wireless/rndis_wlan.c is_wpa = is_wpa_key(priv, index); index 1534 drivers/net/wireless/rndis_wlan.c __func__, index, is_wpa ? "wpa" : "wep", index 1535 drivers/net/wireless/rndis_wlan.c priv->encr_keys[index].len); index 1537 drivers/net/wireless/rndis_wlan.c clear_key(priv, index); index 1541 drivers/net/wireless/rndis_wlan.c remove_key.index = cpu_to_le32(index); index 1545 drivers/net/wireless/rndis_wlan.c remove_key.index |= index 1559 drivers/net/wireless/rndis_wlan.c keyindex = cpu_to_le32(index); index 1566 drivers/net/wireless/rndis_wlan.c index, ret); index 1572 drivers/net/wireless/rndis_wlan.c if (index == priv->encr_tx_key_index) index 751 drivers/net/wireless/rsi/rsi_91x_hal.c u32 temp_content_size, num_flash, index; index 792 drivers/net/wireless/rsi/rsi_91x_hal.c for (index = 0; index <= num_flash; index++) { index 793 drivers/net/wireless/rsi/rsi_91x_hal.c rsi_dbg(INFO_ZONE, "flash index: %d\n", index); index 794 drivers/net/wireless/rsi/rsi_91x_hal.c if (index != num_flash) { index 810 drivers/net/wireless/rsi/rsi_91x_hal.c if (index % 2) index 819 drivers/net/wireless/rsi/rsi_91x_hal.c __func__, index); index 825 drivers/net/wireless/rsi/rsi_91x_hal.c __func__, index); index 158 drivers/net/wireless/rsi/rsi_91x_main.c u32 index, length = 0, queueno = 0; index 165 drivers/net/wireless/rsi/rsi_91x_main.c index = 0; index 167 drivers/net/wireless/rsi/rsi_91x_main.c frame_desc = &rx_pkt[index]; index 230 drivers/net/wireless/rsi/rsi_91x_main.c index += actual_length; index 822 drivers/net/wireless/st/cw1200/sta.c .index = key->hw_key_idx, index 825 drivers/net/wireless/st/cw1200/sta.c if (wsm_key.index > WSM_KEY_MAX_INDEX) { index 830 drivers/net/wireless/st/cw1200/sta.c cw1200_free_key(priv, wsm_key.index); index 367 drivers/net/wireless/st/cw1200/txrx.c dst->index = i; index 1238 drivers/net/wireless/st/cw1200/txrx.c priv->keys[idx].index = idx; index 518 drivers/net/wireless/st/cw1200/wsm.c WSM_PUT8(buf, arg->index); index 1011 drivers/net/wireless/st/cw1200/wsm.h u8 index; /* Key entry index: 0 -- WSM_KEY_MAX_INDEX */ index 1073 drivers/net/wireless/st/cw1200/wsm.h u8 index; /* Key entry index : 0-10 */ index 1538 drivers/net/wireless/st/cw1200/wsm.h u8 index; index 1181 drivers/net/wireless/ti/wlcore/acx.c u8 index, u8 tpl_valid) index 1196 drivers/net/wireless/ti/wlcore/acx.c acx->index = index; index 1237 drivers/net/wireless/ti/wlcore/acx.c acx->index = WL1271_ACX_TRIG_IDX_RSSI; index 1660 drivers/net/wireless/ti/wlcore/acx.c acx->index = ACX_RATE_MGMT_ALL_PARAMS; index 1790 drivers/net/wireless/ti/wlcore/acx.c int wl1271_acx_set_rx_filter(struct wl1271 *wl, u8 index, bool enable, index 1799 drivers/net/wireless/ti/wlcore/acx.c WARN_ON(index >= WL1271_MAX_RX_FILTERS); index 1803 drivers/net/wireless/ti/wlcore/acx.c index, enable, filter); index 1819 drivers/net/wireless/ti/wlcore/acx.c acx->index = index; index 588 drivers/net/wireless/ti/wlcore/acx.h u8 index; index 639 drivers/net/wireless/ti/wlcore/acx.h u8 index; index 881 drivers/net/wireless/ti/wlcore/acx.h u8 index; /* 0xff to configure all params */ index 936 drivers/net/wireless/ti/wlcore/acx.h u8 index; index 1088 drivers/net/wireless/ti/wlcore/acx.h u8 index, u8 tpl_valid); index 1120 drivers/net/wireless/ti/wlcore/acx.h int wl1271_acx_set_rx_filter(struct wl1271 *wl, u8 index, bool enable, index 1013 drivers/net/wireless/ti/wlcore/cmd.c int index, u32 rates) index 1037 drivers/net/wireless/ti/wlcore/cmd.c cmd->index = index; index 44 drivers/net/wireless/ti/wlcore/cmd.h int index, u32 rates); index 401 drivers/net/wireless/ti/wlcore/cmd.h u8 index; /* relevant only for KLV_TEMPLATE type */ index 300 drivers/net/wireless/ti/wlcore/rx.c int index, bool enable, index 305 drivers/net/wireless/ti/wlcore/rx.c if (!!test_bit(index, wl->rx_filter_enabled) == enable) { index 307 drivers/net/wireless/ti/wlcore/rx.c "enabled rx filter %d", index); index 311 drivers/net/wireless/ti/wlcore/rx.c ret = wl1271_acx_set_rx_filter(wl, index, enable, filter); index 315 drivers/net/wireless/ti/wlcore/rx.c enable ? "enable" : "disable", index, ret); index 320 drivers/net/wireless/ti/wlcore/rx.c __set_bit(index, wl->rx_filter_enabled); index 322 drivers/net/wireless/ti/wlcore/rx.c __clear_bit(index, wl->rx_filter_enabled); index 137 drivers/net/wireless/ti/wlcore/rx.h int index, bool enable, index 382 drivers/net/wireless/wl3501_cs.c static int wl3501_request_mib(struct wl3501_card *this, u8 index, void *bf) index 386 drivers/net/wireless/wl3501_cs.c .mib_attrib = index, index 406 drivers/net/wireless/wl3501_cs.c static int wl3501_get_mib_value(struct wl3501_card *this, u8 index, index 411 drivers/net/wireless/wl3501_cs.c rc = wl3501_request_mib(this, index, bf); index 182 drivers/net/xen-netback/interface.c u16 index; index 196 drivers/net/xen-netback/interface.c index = skb_get_queue_mapping(skb); index 197 drivers/net/xen-netback/interface.c if (index >= num_queues) { index 199 drivers/net/xen-netback/interface.c index, vif->dev->name); index 200 drivers/net/xen-netback/interface.c index %= num_queues; index 202 drivers/net/xen-netback/interface.c queue = &vif->queues[index]; index 247 drivers/net/xen-netback/interface.c unsigned int index; index 253 drivers/net/xen-netback/interface.c for (index = 0; index < num_queues; ++index) { index 254 drivers/net/xen-netback/interface.c queue = &vif->queues[index]; index 371 drivers/net/xen-netback/netback.c pending_ring_idx_t index; index 381 drivers/net/xen-netback/netback.c index = pending_index(queue->pending_cons++); index 382 drivers/net/xen-netback/netback.c pending_idx = queue->pending_ring[index]; index 394 drivers/net/xen-netback/netback.c index = pending_index(queue->pending_cons++); index 395 drivers/net/xen-netback/netback.c pending_idx = queue->pending_ring[index]; index 807 drivers/net/xen-netback/netback.c pending_ring_idx_t index; index 899 drivers/net/xen-netback/netback.c index = pending_index(queue->pending_cons); index 900 drivers/net/xen-netback/netback.c pending_idx = queue->pending_ring[index]; index 1223 drivers/net/xen-netback/netback.c pending_ring_idx_t index; index 1235 drivers/net/xen-netback/netback.c index = pending_index(queue->dealloc_prod); index 1236 drivers/net/xen-netback/netback.c queue->dealloc_ring[index] = pending_idx; index 1351 drivers/net/xen-netback/netback.c pending_ring_idx_t index; index 1365 drivers/net/xen-netback/netback.c index = pending_index(queue->pending_prod++); index 1366 drivers/net/xen-netback/netback.c queue->pending_ring[index] = pending_idx; index 123 drivers/nfc/s3fwrn5/nci.c set_rfreg.index = 0; index 135 drivers/nfc/s3fwrn5/nci.c set_rfreg.index++; index 20 drivers/nfc/s3fwrn5/nci.h __u8 index; index 1979 drivers/ntb/hw/idt/ntb_hw_idt.c enum idt_temp_val type = attr->index; index 2001 drivers/ntb/hw/idt/ntb_hw_idt.c enum idt_temp_val type = attr->index; index 638 drivers/nvdimm/label.c static int nd_label_write_index(struct nvdimm_drvdata *ndd, int index, u32 seq, index 647 drivers/nvdimm/label.c nsindex = to_namespace_index(ndd, index); index 662 drivers/nvdimm/label.c nd_label_next_nsindex(index)) index 695 drivers/nvdimm/label.c WARN_ON(index != ndd->ns_next); index 122 drivers/nvdimm/label.h static inline int nd_label_next_nsindex(int index) index 124 drivers/nvdimm/label.h if (index < 0) index 127 drivers/nvdimm/label.h return (index + 1) % 2; index 1239 drivers/nvme/host/lightnvm.c struct attribute *attr, int index) index 583 drivers/nvmem/core.c int index = 0; index 586 drivers/nvmem/core.c index = of_property_match_string(np, "nvmem-names", id); index 588 drivers/nvmem/core.c nvmem_np = of_parse_phandle(np, "nvmem", index); index 771 drivers/nvmem/core.c int index = 0; index 775 drivers/nvmem/core.c index = of_property_match_string(np, "nvmem-cell-names", id); index 777 drivers/nvmem/core.c cell_np = of_parse_phandle(np, "nvmem-cells", index); index 75 drivers/nvmem/imx-ocotp-scu.c u32 count, index, num_bytes; index 80 drivers/nvmem/imx-ocotp-scu.c index = offset >> 2; index 84 drivers/nvmem/imx-ocotp-scu.c if (count > (priv->data->nregs - index)) index 85 drivers/nvmem/imx-ocotp-scu.c count = priv->data->nregs - index; index 93 drivers/nvmem/imx-ocotp-scu.c for (i = index; i < (index + count); i++) { index 126 drivers/nvmem/imx-ocotp.c u32 index; index 128 drivers/nvmem/imx-ocotp.c index = offset >> 2; index 131 drivers/nvmem/imx-ocotp.c if (count > (priv->params->nregs - index)) index 132 drivers/nvmem/imx-ocotp.c count = priv->params->nregs - index; index 149 drivers/nvmem/imx-ocotp.c for (i = index; i < (index + count); i++) { index 46 drivers/nvmem/lpc18xx_otp.c u32 index = offset >> 2; index 50 drivers/nvmem/lpc18xx_otp.c if (count > (LPC18XX_OTP_SIZE - index)) index 51 drivers/nvmem/lpc18xx_otp.c count = LPC18XX_OTP_SIZE - index; index 53 drivers/nvmem/lpc18xx_otp.c for (i = index; i < (index + count); i++) index 683 drivers/of/address.c int ret, index; index 685 drivers/of/address.c index = of_property_match_string(np, "interconnect-names", "dma-mem"); index 686 drivers/of/address.c if (index < 0) index 691 drivers/of/address.c index, &args); index 715 drivers/of/address.c const __be32 *of_get_address(struct device_node *dev, int index, u64 *size, index 742 drivers/of/address.c if (i == index) { index 810 drivers/of/address.c int of_address_to_resource(struct device_node *dev, int index, index 818 drivers/of/address.c addrp = of_get_address(dev, index, &size, &flags); index 823 drivers/of/address.c of_property_read_string_index(dev, "reg-names", index, &name); index 855 drivers/of/address.c void __iomem *of_iomap(struct device_node *np, int index) index 859 drivers/of/address.c if (of_address_to_resource(np, index, &res)) index 880 drivers/of/address.c void __iomem *of_io_request_and_map(struct device_node *np, int index, index 886 drivers/of/address.c if (of_address_to_resource(np, index, &res)) index 515 drivers/of/base.c int index = 0, score = 0; index 521 drivers/of/base.c cp = of_prop_next_string(prop, cp), index++) { index 523 drivers/of/base.c score = INT_MAX/2 - (index << 2); index 1411 drivers/of/base.c int cell_count, int index, index 1426 drivers/of/base.c if (cur_index == index) { index 1471 drivers/of/base.c const char *phandle_name, int index) index 1475 drivers/of/base.c if (index < 0) index 1479 drivers/of/base.c index, &args)) index 1519 drivers/of/base.c const char *cells_name, int index, index 1524 drivers/of/base.c if (index < 0) index 1532 drivers/of/base.c cell_count, index, out_args); index 1581 drivers/of/base.c int index, struct of_phandle_args *out_args) index 1594 drivers/of/base.c if (index < 0) index 1614 drivers/of/base.c ret = __of_parse_phandle_with_args(np, list_name, cells_name, -1, index, index 1752 drivers/of/base.c int index, struct of_phandle_args *out_args) index 1754 drivers/of/base.c if (index < 0) index 1757 drivers/of/base.c index, out_args); index 2173 drivers/of/base.c bool of_console_check(struct device_node *dn, char *name, int index) index 2182 drivers/of/base.c return !add_preferred_console(name, index, (char *)of_stdout_options); index 36 drivers/of/irq.c unsigned int irq_of_parse_and_map(struct device_node *dev, int index) index 40 drivers/of/irq.c if (of_irq_parse_one(dev, index, &oirq)) index 286 drivers/of/irq.c int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq) index 293 drivers/of/irq.c pr_debug("of_irq_parse_one: dev=%pOF, index=%d\n", device, index); index 297 drivers/of/irq.c return of_irq_parse_oldworld(device, index, out_irq); index 304 drivers/of/irq.c "#interrupt-cells", index, out_irq); index 326 drivers/of/irq.c (index * intsize) + i, index 349 drivers/of/irq.c int of_irq_to_resource(struct device_node *dev, int index, struct resource *r) index 351 drivers/of/irq.c int irq = of_irq_get(dev, index); index 366 drivers/of/irq.c of_property_read_string_index(dev, "interrupt-names", index, index 387 drivers/of/irq.c int of_irq_get(struct device_node *dev, int index) index 393 drivers/of/irq.c rc = of_irq_parse_one(dev, index, &oirq); index 416 drivers/of/irq.c int index; index 421 drivers/of/irq.c index = of_property_match_string(dev, "interrupt-names", name); index 422 drivers/of/irq.c if (index < 0) index 423 drivers/of/irq.c return index; index 425 drivers/of/irq.c return of_irq_get(dev, index); index 660 drivers/of/irq.c int index = 0; index 664 drivers/of/irq.c index, &args)) { index 670 drivers/of/irq.c index++; index 115 drivers/of/property.c u32 index, u32 *out_value) index 118 drivers/of/property.c ((index + 1) * sizeof(*out_value)), index 125 drivers/of/property.c *out_value = be32_to_cpup(((__be32 *)val) + index); index 147 drivers/of/property.c u32 index, u64 *out_value) index 150 drivers/of/property.c ((index + 1) * sizeof(*out_value)), index 156 drivers/of/property.c *out_value = be64_to_cpup(((__be64 *)val) + index); index 906 drivers/of/property.c unsigned int nargs, unsigned int index, index 915 drivers/of/property.c nargs_prop, index, &of_args); index 918 drivers/of/property.c nargs, index, &of_args); index 950 drivers/opp/core.c static struct opp_table *_allocate_opp_table(struct device *dev, int index) index 977 drivers/opp/core.c _of_init_opp_table(opp_table, dev, index); index 1003 drivers/opp/core.c static struct opp_table *_opp_get_opp_table(struct device *dev, int index) index 1014 drivers/opp/core.c opp_table = _managed_opp(dev, index); index 1023 drivers/opp/core.c opp_table = _allocate_opp_table(dev, index); index 1038 drivers/opp/core.c int index) index 1040 drivers/opp/core.c return _opp_get_opp_table(dev, index); index 1805 drivers/opp/core.c int index; index 1807 drivers/opp/core.c for (index = 0; index < opp_table->required_opp_count; index++) { index 1808 drivers/opp/core.c if (!opp_table->genpd_virt_devs[index]) index 1811 drivers/opp/core.c dev_pm_domain_detach(opp_table->genpd_virt_devs[index], false); index 1812 drivers/opp/core.c opp_table->genpd_virt_devs[index] = NULL; index 1846 drivers/opp/core.c int index = 0, ret = -EINVAL; index 1872 drivers/opp/core.c if (index >= opp_table->required_opp_count) { index 1874 drivers/opp/core.c *name, opp_table->required_opp_count, index); index 1878 drivers/opp/core.c if (opp_table->genpd_virt_devs[index]) { index 1891 drivers/opp/core.c opp_table->genpd_virt_devs[index] = virt_dev; index 1892 drivers/opp/core.c index++; index 29 drivers/opp/of.c int index) index 32 drivers/opp/of.c return of_parse_phandle(np, "operating-points-v2", index); index 42 drivers/opp/of.c struct opp_table *_managed_opp(struct device *dev, int index) index 47 drivers/opp/of.c np = _opp_of_get_opp_desc_node(dev->of_node, index); index 96 drivers/opp/of.c int index) index 100 drivers/opp/of.c required_np = of_parse_phandle(np, "required-opps", index); index 103 drivers/opp/of.c __func__, np, index); index 220 drivers/opp/of.c int index) index 242 drivers/opp/of.c opp_np = _opp_of_get_opp_desc_node(np, index); index 819 drivers/opp/of.c int dev_pm_opp_of_add_table_indexed(struct device *dev, int index) index 824 drivers/opp/of.c if (index) { index 832 drivers/opp/of.c index = 0; index 835 drivers/opp/of.c opp_table = dev_pm_opp_get_opp_table_indexed(dev, index); index 989 drivers/opp/of.c int of_get_required_opp_performance_state(struct device_node *np, int index) index 996 drivers/opp/of.c required_np = of_parse_required_opp(np, index); index 223 drivers/opp/opp.h void _of_init_opp_table(struct opp_table *opp_table, struct device *dev, int index); index 225 drivers/opp/opp.h struct opp_table *_managed_opp(struct device *dev, int index); index 229 drivers/opp/opp.h static inline void _of_init_opp_table(struct opp_table *opp_table, struct device *dev, int index) {} index 231 drivers/opp/opp.h static inline struct opp_table *_managed_opp(struct device *dev, int index) { return NULL; } index 51 drivers/pci/controller/dwc/pci-layerscape.c int index; index 102 drivers/pci/controller/dwc/pci-layerscape.c regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); index 163 drivers/pci/controller/dwc/pci-layerscape.c u32 index[2]; index 176 drivers/pci/controller/dwc/pci-layerscape.c "fsl,pcie-scfg", index, 2)) { index 180 drivers/pci/controller/dwc/pci-layerscape.c pcie->index = index[1]; index 169 drivers/pci/controller/dwc/pcie-designware-ep.c u32 index; index 171 drivers/pci/controller/dwc/pcie-designware-ep.c for (index = 0; index < ep->num_ob_windows; index++) { index 172 drivers/pci/controller/dwc/pcie-designware-ep.c if (ep->outbound_addr[index] != addr) index 174 drivers/pci/controller/dwc/pcie-designware-ep.c *atu_index = index; index 226 drivers/pci/controller/dwc/pcie-designware.c static u32 dw_pcie_readl_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg) index 228 drivers/pci/controller/dwc/pcie-designware.c u32 offset = PCIE_GET_ATU_OUTB_UNR_REG_OFFSET(index); index 233 drivers/pci/controller/dwc/pcie-designware.c static void dw_pcie_writel_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg, index 236 drivers/pci/controller/dwc/pcie-designware.c u32 offset = PCIE_GET_ATU_OUTB_UNR_REG_OFFSET(index); index 241 drivers/pci/controller/dwc/pcie-designware.c static void dw_pcie_prog_outbound_atu_unroll(struct dw_pcie *pci, int index, index 247 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_LOWER_BASE, index 249 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_UPPER_BASE, index 251 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_LIMIT, index 253 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_LOWER_TARGET, index 255 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_UPPER_TARGET, index 257 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL1, index 259 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL2, index 267 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_ob_unroll(pci, index, index 277 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_prog_outbound_atu(struct dw_pcie *pci, int index, int type, index 286 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_prog_outbound_atu_unroll(pci, index, type, cpu_addr, index 292 drivers/pci/controller/dwc/pcie-designware.c PCIE_ATU_REGION_OUTBOUND | index); index 320 drivers/pci/controller/dwc/pcie-designware.c static u32 dw_pcie_readl_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg) index 322 drivers/pci/controller/dwc/pcie-designware.c u32 offset = PCIE_GET_ATU_INB_UNR_REG_OFFSET(index); index 327 drivers/pci/controller/dwc/pcie-designware.c static void dw_pcie_writel_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg, index 330 drivers/pci/controller/dwc/pcie-designware.c u32 offset = PCIE_GET_ATU_INB_UNR_REG_OFFSET(index); index 335 drivers/pci/controller/dwc/pcie-designware.c static int dw_pcie_prog_inbound_atu_unroll(struct dw_pcie *pci, int index, index 342 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_LOWER_TARGET, index 344 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_UPPER_TARGET, index 358 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL1, type); index 359 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL2, index 368 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_ib_unroll(pci, index, index 380 drivers/pci/controller/dwc/pcie-designware.c int dw_pcie_prog_inbound_atu(struct dw_pcie *pci, int index, int bar, index 387 drivers/pci/controller/dwc/pcie-designware.c return dw_pcie_prog_inbound_atu_unroll(pci, index, bar, index 391 drivers/pci/controller/dwc/pcie-designware.c index); index 426 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_disable_atu(struct dw_pcie *pci, int index, index 442 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_VIEWPORT, region | index); index 277 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_prog_outbound_atu(struct dw_pcie *pci, int index, index 280 drivers/pci/controller/dwc/pcie-designware.h int dw_pcie_prog_inbound_atu(struct dw_pcie *pci, int index, int bar, index 282 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_disable_atu(struct dw_pcie *pci, int index, index 300 drivers/pci/controller/pci-rcar-gen2.c int index = 0; index 309 drivers/pci/controller/pci-rcar-gen2.c if (index) index 329 drivers/pci/controller/pci-rcar-gen2.c index++; index 399 drivers/pci/controller/pci-tegra.c unsigned int index; index 474 drivers/pci/controller/pci-tegra.c if (port->index + 1 == slot) { index 527 drivers/pci/controller/pci-tegra.c switch (port->index) { index 763 drivers/pci/controller/pci-tegra.c value |= AFI_PCIE_CONFIG_PCIE_DISABLE(port->index); index 764 drivers/pci/controller/pci-tegra.c value |= AFI_PCIE_CONFIG_PCIE_CLKREQ_GPIO(port->index); index 1122 drivers/pci/controller/pci-tegra.c port->index, err); index 1153 drivers/pci/controller/pci-tegra.c port->index, err); index 1186 drivers/pci/controller/pci-tegra.c value &= ~AFI_PCIE_CONFIG_PCIE_DISABLE(port->index); index 1187 drivers/pci/controller/pci-tegra.c value &= ~AFI_PCIE_CONFIG_PCIE_CLKREQ_GPIO(port->index); index 1397 drivers/pci/controller/pci-tegra.c unsigned int index) index 1402 drivers/pci/controller/pci-tegra.c name = kasprintf(GFP_KERNEL, "%s-%u", consumer, index); index 1595 drivers/pci/controller/pci-tegra.c val |= (0x1 << soc->ports[port->index].pme.turnoff_bit); index 1598 drivers/pci/controller/pci-tegra.c ack_bit = soc->ports[port->index].pme.ack_bit; index 1603 drivers/pci/controller/pci-tegra.c port->index); index 1608 drivers/pci/controller/pci-tegra.c val &= ~(0x1 << soc->ports[port->index].pme.turnoff_bit); index 1655 drivers/pci/controller/pci-tegra.c unsigned int index = i * 32 + offset; index 1661 drivers/pci/controller/pci-tegra.c irq = irq_find_mapping(msi->domain, index); index 1663 drivers/pci/controller/pci-tegra.c if (test_bit(index, msi->used)) index 2233 drivers/pci/controller/pci-tegra.c unsigned int index; index 2243 drivers/pci/controller/pci-tegra.c index = PCI_SLOT(err); index 2245 drivers/pci/controller/pci-tegra.c if (index < 1 || index > soc->num_ports) { index 2246 drivers/pci/controller/pci-tegra.c dev_err(dev, "invalid port number: %d\n", index); index 2251 drivers/pci/controller/pci-tegra.c index--; index 2266 drivers/pci/controller/pci-tegra.c lanes |= value << (index << 3); index 2289 drivers/pci/controller/pci-tegra.c rp->index = index; index 2298 drivers/pci/controller/pci-tegra.c label = devm_kasprintf(dev, GFP_KERNEL, "pex-reset-%u", index); index 2374 drivers/pci/controller/pci-tegra.c dev_dbg(dev, "link %u down, retrying\n", port->index); index 2431 drivers/pci/controller/pci-tegra.c port->index); index 2450 drivers/pci/controller/pci-tegra.c port->index); index 2461 drivers/pci/controller/pci-tegra.c port->index, port->lanes); index 2473 drivers/pci/controller/pci-tegra.c dev_info(dev, "link %u down, ignoring\n", port->index); index 2690 drivers/pci/controller/pci-tegra.c seq_printf(s, "%2u ", port->index); index 358 drivers/pci/controller/pci-thunder-pem.c int index; index 363 drivers/pci/controller/pci-thunder-pem.c index = root->segment - PEM_MIN_DOM_IN_NODE; index 364 drivers/pci/controller/pci-thunder-pem.c index -= node * PEM_MAX_DOM_IN_NODE; index 366 drivers/pci/controller/pci-thunder-pem.c FIELD_PREP(PEM_INDX_MASK, index); index 71 drivers/pci/controller/pcie-iproc.c #define MAP_REG(base_reg, index) ((base_reg) + (index) * 2) index 199 drivers/pci/controller/pcie-rcar.c unsigned int dev, func, reg, index; index 204 drivers/pci/controller/pcie-rcar.c index = reg / 4; index 226 drivers/pci/controller/pcie-rcar.c *data = rcar_pci_read_reg(pcie, PCICONF(index)); index 232 drivers/pci/controller/pcie-rcar.c rcar_pci_write_reg(pcie, *data, PCICONF(index)); index 747 drivers/pci/controller/pcie-rcar.c unsigned int index = find_first_bit(®, 32); index 751 drivers/pci/controller/pcie-rcar.c rcar_pci_write_reg(pcie, 1 << index, PCIEMSIFR); index 753 drivers/pci/controller/pcie-rcar.c msi_irq = irq_find_mapping(msi->domain, index); index 755 drivers/pci/controller/pcie-rcar.c if (test_bit(index, msi->used)) index 1023 drivers/pci/controller/pcie-rcar.c int *index) index 1032 drivers/pci/controller/pcie-rcar.c int idx = *index; index 1081 drivers/pci/controller/pcie-rcar.c *index = idx; index 1091 drivers/pci/controller/pcie-rcar.c int index = 0; index 1104 drivers/pci/controller/pcie-rcar.c err = rcar_pcie_inbound_ranges(pcie, &range, &index); index 233 drivers/pci/controller/vmd.c unsigned int index, vector; index 241 drivers/pci/controller/vmd.c index = index_from_irqs(vmd, vmdirq->irq); index 242 drivers/pci/controller/vmd.c vector = pci_irq_vector(vmd->dev, index); index 25 drivers/pci/endpoint/pci-ep-cfs.c int index; index 375 drivers/pci/endpoint/pci-ep-cfs.c idr_remove(&functions_idr, epf_group->index); index 397 drivers/pci/endpoint/pci-ep-cfs.c int index, err; index 404 drivers/pci/endpoint/pci-ep-cfs.c index = idr_alloc(&functions_idr, epf_group, 0, 0, GFP_KERNEL); index 406 drivers/pci/endpoint/pci-ep-cfs.c if (index < 0) { index 407 drivers/pci/endpoint/pci-ep-cfs.c err = index; index 411 drivers/pci/endpoint/pci-ep-cfs.c epf_group->index = index; index 416 drivers/pci/endpoint/pci-ep-cfs.c group->cg_item.ci_name, epf_group->index); index 440 drivers/pci/endpoint/pci-ep-cfs.c idr_remove(&functions_idr, epf_group->index); index 407 drivers/pci/hotplug/cpqphp.h unsigned char index); index 1067 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_func *cpqhp_slot_find(u8 bus, u8 device, u8 index) index 1074 drivers/pci/hotplug/cpqphp_ctrl.c if ((func == NULL) || ((func->device == device) && (index == 0))) index 1086 drivers/pci/hotplug/cpqphp_ctrl.c if (found == index) index 1410 drivers/pci/hotplug/cpqphp_ctrl.c int index; index 1567 drivers/pci/hotplug/cpqphp_ctrl.c index = 0; index 1569 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_find(ctrl->bus, func->device, index++); index 1612 drivers/pci/hotplug/cpqphp_ctrl.c int index; index 1638 drivers/pci/hotplug/cpqphp_ctrl.c index = 0; index 1639 drivers/pci/hotplug/cpqphp_ctrl.c temp_func = cpqhp_slot_find(func->bus, func->device, index++); index 1646 drivers/pci/hotplug/cpqphp_ctrl.c temp_func = cpqhp_slot_find(temp_func->bus, temp_func->device, index++); index 2040 drivers/pci/hotplug/cpqphp_ctrl.c u8 index = 0; index 2049 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, device, index++); index 2086 drivers/pci/hotplug/cpqphp_ctrl.c func = cpqhp_slot_find(ctrl->bus, device, index++); index 2229 drivers/pci/hotplug/cpqphp_ctrl.c int index; index 2254 drivers/pci/hotplug/cpqphp_ctrl.c index = 0; index 2257 drivers/pci/hotplug/cpqphp_ctrl.c new_slot = cpqhp_slot_find(new_slot->bus, new_slot->device, index++); index 314 drivers/pci/hotplug/cpqphp_pci.c int index; index 393 drivers/pci/hotplug/cpqphp_pci.c index = 0; index 394 drivers/pci/hotplug/cpqphp_pci.c new_slot = cpqhp_slot_find(busnumber, device, index++); index 397 drivers/pci/hotplug/cpqphp_pci.c new_slot = cpqhp_slot_find(busnumber, device, index++); index 559 drivers/pci/hotplug/cpqphp_pci.c int index = 0; index 563 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 669 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 700 drivers/pci/hotplug/cpqphp_pci.c int index = 0; index 708 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 932 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 957 drivers/pci/hotplug/cpqphp_pci.c int index = 0; index 961 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 1010 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 1036 drivers/pci/hotplug/cpqphp_pci.c int index = 0; index 1043 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 1151 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(func->bus, func->device, index++); index 1176 drivers/pci/hotplug/cpqphp_pci.c int i = 10, index; index 1271 drivers/pci/hotplug/cpqphp_pci.c index = 0; index 1275 drivers/pci/hotplug/cpqphp_pci.c dbg("func = %p (bus, dev, fun) = (%d, %d, %d)\n", func, primary_bus, dev_func >> 3, index); index 1276 drivers/pci/hotplug/cpqphp_pci.c func = cpqhp_slot_find(primary_bus, dev_func >> 3, index++); index 31 drivers/pci/hotplug/cpqphp_sysfs.c int index; index 35 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 37 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 42 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 44 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 49 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 51 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 56 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 58 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 69 drivers/pci/hotplug/cpqphp_sysfs.c int index; index 81 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 83 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 88 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 90 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 95 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 97 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 102 drivers/pci/hotplug/cpqphp_sysfs.c index = 11; index 104 drivers/pci/hotplug/cpqphp_sysfs.c while (res && index--) { index 245 drivers/pci/hotplug/ibmphp.h u8 index; index 194 drivers/pci/hotplug/ibmphp_ebda.c u16 index; index 197 drivers/pci/hotplug/ibmphp_ebda.c for (index = 0; index < hpc_ptr->slot_count; index++) { index 198 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - physical slot#: %x\n", __func__, hpc_ptr->slots[index].slot_num); index 199 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - pci bus# of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_bus_num); index 200 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - index into ctlr addr: %x\n", __func__, hpc_ptr->slots[index].ctl_index); index 201 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - cap of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_cap); index 204 drivers/pci/hotplug/ibmphp_ebda.c for (index = 0; index < hpc_ptr->bus_count; index++) index 205 drivers/pci/hotplug/ibmphp_ebda.c debug("%s - bus# of each bus controlled by this ctlr: %x\n", __func__, hpc_ptr->buses[index].bus_num); index 686 drivers/pci/hotplug/ibmphp_ebda.c u16 slot_num, bus_num, index; index 751 drivers/pci/hotplug/ibmphp_ebda.c bus_info_ptr1->index = bus_index++; index 843 drivers/pci/hotplug/ibmphp_ebda.c for (index = 0; index < hpc_ptr->slot_count; index++) { index 852 drivers/pci/hotplug/ibmphp_ebda.c tmp_slot->capabilities = hpc_ptr->slots[index].slot_cap; index 853 drivers/pci/hotplug/ibmphp_ebda.c if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_133_MAX) == EBDA_SLOT_133_MAX) index 855 drivers/pci/hotplug/ibmphp_ebda.c else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_100_MAX) == EBDA_SLOT_100_MAX) index 857 drivers/pci/hotplug/ibmphp_ebda.c else if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_66_MAX) == EBDA_SLOT_66_MAX) index 860 drivers/pci/hotplug/ibmphp_ebda.c if ((hpc_ptr->slots[index].slot_cap & EBDA_SLOT_PCIX_CAP) == EBDA_SLOT_PCIX_CAP) index 866 drivers/pci/hotplug/ibmphp_ebda.c tmp_slot->bus = hpc_ptr->slots[index].slot_bus_num; index 868 drivers/pci/hotplug/ibmphp_ebda.c bus_info_ptr1 = ibmphp_find_same_bus_num(hpc_ptr->slots[index].slot_bus_num); index 877 drivers/pci/hotplug/ibmphp_ebda.c tmp_slot->ctlr_index = hpc_ptr->slots[index].ctl_index; index 878 drivers/pci/hotplug/ibmphp_ebda.c tmp_slot->number = hpc_ptr->slots[index].slot_num; index 1029 drivers/pci/hotplug/ibmphp_ebda.c return ptr->index; index 118 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_read(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 index) index 127 drivers/pci/hotplug/ibmphp_hpc.c debug_polling("%s - Entry WPGBbar[%p] index[%x] \n", __func__, WPGBbar, index); index 141 drivers/pci/hotplug/ibmphp_hpc.c data |= (unsigned long)index; index 146 drivers/pci/hotplug/ibmphp_hpc.c ultemp = (unsigned long)index; index 214 drivers/pci/hotplug/ibmphp_hpc.c debug_polling("%s - Exit index[%x] status[%x]\n", __func__, index, status); index 226 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_write(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 index, u8 cmd) index 235 drivers/pci/hotplug/ibmphp_hpc.c debug_polling("%s - Entry WPGBbar[%p] index[%x] cmd[%x]\n", __func__, WPGBbar, index, cmd); index 252 drivers/pci/hotplug/ibmphp_hpc.c data |= (unsigned long)index; index 257 drivers/pci/hotplug/ibmphp_hpc.c ultemp = (unsigned long)index; index 416 drivers/pci/hotplug/ibmphp_hpc.c static u8 hpc_writecmdtoindex(u8 cmd, u8 index) index 436 drivers/pci/hotplug/ibmphp_hpc.c rc = index; index 444 drivers/pci/hotplug/ibmphp_hpc.c rc = index + WPG_1ST_BUS_INDEX - 1; index 462 drivers/pci/hotplug/ibmphp_hpc.c static u8 hpc_readcmdtoindex(u8 cmd, u8 index) index 472 drivers/pci/hotplug/ibmphp_hpc.c rc = index; index 475 drivers/pci/hotplug/ibmphp_hpc.c rc = index + WPG_1ST_EXTSLOT_INDEX; index 478 drivers/pci/hotplug/ibmphp_hpc.c rc = index + WPG_1ST_BUS_INDEX - 1; index 509 drivers/pci/hotplug/ibmphp_hpc.c u8 index, status; index 529 drivers/pci/hotplug/ibmphp_hpc.c index = (u8) busindex; index 531 drivers/pci/hotplug/ibmphp_hpc.c index = pslot->ctlr_index; index 533 drivers/pci/hotplug/ibmphp_hpc.c index = hpc_readcmdtoindex(cmd, index); index 535 drivers/pci/hotplug/ibmphp_hpc.c if (index == HPC_ERROR) { index 560 drivers/pci/hotplug/ibmphp_hpc.c pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index); index 564 drivers/pci/hotplug/ibmphp_hpc.c pslot->ext_status = ctrl_read(ctlr_ptr, wpg_bbar, index + WPG_1ST_EXTSLOT_INDEX); index 570 drivers/pci/hotplug/ibmphp_hpc.c *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); index 575 drivers/pci/hotplug/ibmphp_hpc.c *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); index 584 drivers/pci/hotplug/ibmphp_hpc.c pslot->busstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); index 587 drivers/pci/hotplug/ibmphp_hpc.c *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); index 590 drivers/pci/hotplug/ibmphp_hpc.c *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); index 594 drivers/pci/hotplug/ibmphp_hpc.c *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); index 601 drivers/pci/hotplug/ibmphp_hpc.c index = pslot->ctlr_index; index 605 drivers/pci/hotplug/ibmphp_hpc.c pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index); index 611 drivers/pci/hotplug/ibmphp_hpc.c index + WPG_1ST_EXTSLOT_INDEX); index 647 drivers/pci/hotplug/ibmphp_hpc.c u8 index, status; index 669 drivers/pci/hotplug/ibmphp_hpc.c index = (u8) busindex; index 671 drivers/pci/hotplug/ibmphp_hpc.c index = pslot->ctlr_index; index 673 drivers/pci/hotplug/ibmphp_hpc.c index = hpc_writecmdtoindex(cmd, index); index 675 drivers/pci/hotplug/ibmphp_hpc.c if (index == HPC_ERROR) { index 701 drivers/pci/hotplug/ibmphp_hpc.c ctrl_write(ctlr_ptr, wpg_bbar, index, cmd); index 63 drivers/pci/hotplug/rpaphp.h u32 index; index 67 drivers/pci/hotplug/rpaphp_core.c rc = rtas_set_indicator(DR_INDICATOR, slot->index, value); index 252 drivers/pci/hotplug/rpaphp_core.c int index = my_index - drc.drc_index_start; index 254 drivers/pci/hotplug/rpaphp_core.c drc.drc_name_suffix_start + index); index 370 drivers/pci/hotplug/rpaphp_core.c int index; index 372 drivers/pci/hotplug/rpaphp_core.c index = be32_to_cpu(indexes[i + 1]); index 373 drivers/pci/hotplug/rpaphp_core.c slot = alloc_slot_struct(dn, index, name, index 381 drivers/pci/hotplug/rpaphp_core.c index, name, type); index 26 drivers/pci/hotplug/rpaphp_pci.c rc = rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state); index 43 drivers/pci/hotplug/rpaphp_pci.c slot->index, state); index 41 drivers/pci/hotplug/rpaphp_slot.c slot->index = drc_index; index 90 drivers/pci/hotplug/rpaphp_slot.c __func__, slot->dn, slot->index, slot->name, index 101 drivers/pci/hotplug/rpaphp_slot.c if (my_index == slot->index) { index 202 drivers/pci/hotplug/shpchp_hpc.c static inline int shpc_indirect_read(struct controller *ctrl, int index, index 209 drivers/pci/hotplug/shpchp_hpc.c rc = pci_write_config_byte(pdev, cap_offset + DWORD_SELECT, index); index 28 drivers/pci/hotplug/shpchp_sysfs.c int index, busnr; index 36 drivers/pci/hotplug/shpchp_sysfs.c pci_bus_for_each_resource(bus, res, index) { index 45 drivers/pci/hotplug/shpchp_sysfs.c pci_bus_for_each_resource(bus, res, index) { index 54 drivers/pci/hotplug/shpchp_sysfs.c pci_bus_for_each_resource(bus, res, index) { index 1392 drivers/pci/pci.c int index; index 1394 drivers/pci/pci.c for (index = end; index >= start; index--) index 1395 drivers/pci/pci.c pci_restore_config_dword(pdev, 4 * index, index 1396 drivers/pci/pci.c pdev->saved_config_space[index], index 696 drivers/pci/probe.c int index = 0; index 699 drivers/pci/probe.c index = 3; index 701 drivers/pci/probe.c index = 2; index 703 drivers/pci/probe.c index = 1; index 708 drivers/pci/probe.c index += 2; index 709 drivers/pci/probe.c if (index == 5) index 710 drivers/pci/probe.c index = 0; index 714 drivers/pci/probe.c return agp_speeds[index]; index 708 drivers/pci/switch/switchtec.c size_t offset, int index) index 714 drivers/pci/switch/switchtec.c size_t offset, int index) index 716 drivers/pci/switch/switchtec.c return (void __iomem *)&stdev->mmio_part_cfg_all[index] + offset; index 720 drivers/pci/switch/switchtec.c size_t offset, int index) index 722 drivers/pci/switch/switchtec.c return (void __iomem *)&stdev->mmio_pff_csr[index] + offset; index 732 drivers/pci/switch/switchtec.c size_t offset, int index); index 769 drivers/pci/switch/switchtec.c int event_id, int index) index 779 drivers/pci/switch/switchtec.c if (index == SWITCHTEC_IOCTL_EVENT_LOCAL_PART_IDX) index 780 drivers/pci/switch/switchtec.c index = stdev->partition; index 781 drivers/pci/switch/switchtec.c else if (index < 0 || index >= stdev->partition_count) index 784 drivers/pci/switch/switchtec.c if (index < 0 || index >= stdev->pff_csr_count) index 788 drivers/pci/switch/switchtec.c return event_regs[event_id].map_reg(stdev, off, index); index 798 drivers/pci/switch/switchtec.c reg = event_hdr_addr(stdev, ctl->event_id, ctl->index); index 861 drivers/pci/switch/switchtec.c if (ctl.index == SWITCHTEC_IOCTL_EVENT_IDX_ALL) { index 872 drivers/pci/switch/switchtec.c for (ctl.index = 0; ctl.index < nr_idxs; ctl.index++) { index 1084 drivers/pcmcia/cistpl.c entry->index = *p & 0x3f; index 163 drivers/pcmcia/pcmcia_cis.c cfg->index, flags); index 166 drivers/pcmcia/pcmcia_cis.c cfg_mem->p_dev->config_index = cfg->index; index 158 drivers/pcmcia/vrc4171_card.c static inline uint8_t exca_read_byte(int slot, uint8_t index) index 161 drivers/pcmcia/vrc4171_card.c index += CARD_SLOTB_OFFSET; index 163 drivers/pcmcia/vrc4171_card.c outb(index, CARD_CONTROLLER_INDEX); index 167 drivers/pcmcia/vrc4171_card.c static inline uint16_t exca_read_word(int slot, uint8_t index) index 172 drivers/pcmcia/vrc4171_card.c index += CARD_SLOTB_OFFSET; index 174 drivers/pcmcia/vrc4171_card.c outb(index++, CARD_CONTROLLER_INDEX); index 177 drivers/pcmcia/vrc4171_card.c outb(index, CARD_CONTROLLER_INDEX); index 183 drivers/pcmcia/vrc4171_card.c static inline uint8_t exca_write_byte(int slot, uint8_t index, uint8_t data) index 186 drivers/pcmcia/vrc4171_card.c index += CARD_SLOTB_OFFSET; index 188 drivers/pcmcia/vrc4171_card.c outb(index, CARD_CONTROLLER_INDEX); index 194 drivers/pcmcia/vrc4171_card.c static inline uint16_t exca_write_word(int slot, uint8_t index, uint16_t data) index 197 drivers/pcmcia/vrc4171_card.c index += CARD_SLOTB_OFFSET; index 199 drivers/pcmcia/vrc4171_card.c outb(index++, CARD_CONTROLLER_INDEX); index 202 drivers/pcmcia/vrc4171_card.c outb(index, CARD_CONTROLLER_INDEX); index 371 drivers/perf/arm-ccn.c struct attribute *attr, int index) index 395 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(index-flush-eviction, 0x03), index 137 drivers/phy/allwinner/phy-sun4i-usb.c int index; index 156 drivers/phy/allwinner/phy-sun4i-usb.c container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) index 194 drivers/phy/allwinner/phy-sun4i-usb.c u32 temp, usbc_bit = BIT(phy->index * 2); index 252 drivers/phy/allwinner/phy-sun4i-usb.c if (phy_data->cfg->type == sun8i_a83t_phy && phy->index == 2) index 292 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index == 0) { index 305 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index == 0) index 318 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index == 0) { index 339 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index == 0) { index 432 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index == 0 && sun4i_usb_phy0_have_vbus_det(data) && index 445 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index == 0 && sun4i_usb_phy0_poll(data)) index 466 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index == 0 && !sun4i_usb_phy0_poll(data)) index 479 drivers/phy/allwinner/phy-sun4i-usb.c if (phy->index != 0) { index 810 drivers/phy/allwinner/phy-sun4i-usb.c phy->index = i; index 48 drivers/phy/broadcom/phy-bcm-sr-pcie.c unsigned int index; index 148 drivers/phy/broadcom/phy-bcm-sr-pcie.c unsigned int core_idx = phy->index; index 172 drivers/phy/broadcom/phy-bcm-sr-pcie.c unsigned int core_idx = phy->index; index 271 drivers/phy/broadcom/phy-bcm-sr-pcie.c p->index = phy_idx; index 53 drivers/phy/marvell/phy-berlin-sata.c unsigned index; index 84 drivers/phy/marvell/phy-berlin-sata.c void __iomem *ctrl_reg = priv->base + 0x60 + (desc->index * 0x80); index 166 drivers/phy/marvell/phy-berlin-sata.c if (priv->phys[i]->index == args->args[0]) index 262 drivers/phy/marvell/phy-berlin-sata.c phy_desc->index = phy_id; index 298 drivers/phy/mediatek/phy-mtk-tphy.c u32 index; index 348 drivers/phy/mediatek/phy-mtk-tphy.c tmp |= P2F_RG_MONCLK_SEL_VAL(instance->index >> 1); index 383 drivers/phy/mediatek/phy-mtk-tphy.c instance->index, fm_out, calibration_val, index 445 drivers/phy/mediatek/phy-mtk-tphy.c dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); index 453 drivers/phy/mediatek/phy-mtk-tphy.c u32 index = instance->index; index 475 drivers/phy/mediatek/phy-mtk-tphy.c if (!index) { index 482 drivers/phy/mediatek/phy-mtk-tphy.c if (!index) { index 507 drivers/phy/mediatek/phy-mtk-tphy.c dev_dbg(tphy->dev, "%s(%d)\n", __func__, index); index 515 drivers/phy/mediatek/phy-mtk-tphy.c u32 index = instance->index; index 532 drivers/phy/mediatek/phy-mtk-tphy.c if (tphy->pdata->avoid_rx_sen_degradation && index) { index 541 drivers/phy/mediatek/phy-mtk-tphy.c dev_dbg(tphy->dev, "%s(%d)\n", __func__, index); index 549 drivers/phy/mediatek/phy-mtk-tphy.c u32 index = instance->index; index 566 drivers/phy/mediatek/phy-mtk-tphy.c if (tphy->pdata->avoid_rx_sen_degradation && index) { index 576 drivers/phy/mediatek/phy-mtk-tphy.c dev_dbg(tphy->dev, "%s(%d)\n", __func__, index); index 584 drivers/phy/mediatek/phy-mtk-tphy.c u32 index = instance->index; index 587 drivers/phy/mediatek/phy-mtk-tphy.c if (tphy->pdata->avoid_rx_sen_degradation && index) { index 693 drivers/phy/mediatek/phy-mtk-tphy.c dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); index 782 drivers/phy/mediatek/phy-mtk-tphy.c dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); index 991 drivers/phy/mediatek/phy-mtk-tphy.c int index; index 998 drivers/phy/mediatek/phy-mtk-tphy.c for (index = 0; index < tphy->nphys; index++) index 999 drivers/phy/mediatek/phy-mtk-tphy.c if (phy_np == tphy->phys[index]->phy->dev.of_node) { index 1000 drivers/phy/mediatek/phy-mtk-tphy.c instance = tphy->phys[index]; index 1152 drivers/phy/mediatek/phy-mtk-tphy.c instance->index = port; index 95 drivers/phy/mediatek/phy-mtk-xsphy.c u32 index; index 176 drivers/phy/mediatek/phy-mtk-xsphy.c inst->index, fm_out, calib_val, index 211 drivers/phy/mediatek/phy-mtk-xsphy.c u32 index = inst->index; index 223 drivers/phy/mediatek/phy-mtk-xsphy.c dev_dbg(xsphy->dev, "%s(%d)\n", __func__, index); index 230 drivers/phy/mediatek/phy-mtk-xsphy.c u32 index = inst->index; index 242 drivers/phy/mediatek/phy-mtk-xsphy.c dev_dbg(xsphy->dev, "%s(%d)\n", __func__, index); index 446 drivers/phy/mediatek/phy-mtk-xsphy.c int index; index 453 drivers/phy/mediatek/phy-mtk-xsphy.c for (index = 0; index < xsphy->nphys; index++) index 454 drivers/phy/mediatek/phy-mtk-xsphy.c if (phy_np == xsphy->phys[index]->phy->dev.of_node) { index 455 drivers/phy/mediatek/phy-mtk-xsphy.c inst = xsphy->phys[index]; index 568 drivers/phy/mediatek/phy-mtk-xsphy.c inst->index = port; index 497 drivers/phy/phy-core.c static struct phy *_of_phy_get(struct device_node *np, int index) index 505 drivers/phy/phy-core.c index, &args); index 550 drivers/phy/phy-core.c int index = 0; index 553 drivers/phy/phy-core.c index = of_property_match_string(np, "phy-names", con_id); index 555 drivers/phy/phy-core.c phy = _of_phy_get(np, index); index 652 drivers/phy/phy-core.c int index = 0; index 661 drivers/phy/phy-core.c index = of_property_match_string(dev->of_node, "phy-names", index 663 drivers/phy/phy-core.c phy = _of_phy_get(dev->of_node, index); index 798 drivers/phy/phy-core.c int index) index 806 drivers/phy/phy-core.c phy = _of_phy_get(np, index); index 960 drivers/phy/qualcomm/phy-qcom-qmp.c unsigned int index; index 1492 drivers/phy/qualcomm/phy-qcom-qmp.c qphy->index); index 1965 drivers/phy/qualcomm/phy-qcom-qmp.c qphy->index = id; index 1072 drivers/phy/rockchip/phy-rockchip-inno-usb2.c int index, ret; index 1118 drivers/phy/rockchip/phy-rockchip-inno-usb2.c index = 0; index 1119 drivers/phy/rockchip/phy-rockchip-inno-usb2.c while (phy_cfgs[index].reg) { index 1120 drivers/phy/rockchip/phy-rockchip-inno-usb2.c if (phy_cfgs[index].reg == reg) { index 1121 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->phy_cfg = &phy_cfgs[index]; index 1125 drivers/phy/rockchip/phy-rockchip-inno-usb2.c ++index; index 1148 drivers/phy/rockchip/phy-rockchip-inno-usb2.c index = 0; index 1150 drivers/phy/rockchip/phy-rockchip-inno-usb2.c struct rockchip_usb2phy_port *rport = &rphy->ports[index]; index 1183 drivers/phy/rockchip/phy-rockchip-inno-usb2.c if (++index >= rphy->phy_cfg->num_ports) index 70 drivers/phy/rockchip/phy-rockchip-pcie.c u32 index; index 82 drivers/phy/rockchip/phy-rockchip-pcie.c phys[inst->index]); index 149 drivers/phy/rockchip/phy-rockchip-pcie.c PHY_LANE_IDLE_A_SHIFT + inst->index)); index 170 drivers/phy/rockchip/phy-rockchip-pcie.c PHY_LANE_IDLE_A_SHIFT + inst->index)); index 203 drivers/phy/rockchip/phy-rockchip-pcie.c PHY_LANE_IDLE_A_SHIFT + inst->index)); index 418 drivers/phy/rockchip/phy-rockchip-pcie.c rk_phy->phys[i].index = i; index 1109 drivers/phy/rockchip/phy-rockchip-typec.c int index, ret; index 1128 drivers/phy/rockchip/phy-rockchip-typec.c index = 0; index 1129 drivers/phy/rockchip/phy-rockchip-typec.c while (phy_cfgs[index].reg) { index 1130 drivers/phy/rockchip/phy-rockchip-typec.c if (phy_cfgs[index].reg == res->start) { index 1131 drivers/phy/rockchip/phy-rockchip-typec.c tcphy->port_cfgs = &phy_cfgs[index]; index 1135 drivers/phy/rockchip/phy-rockchip-typec.c ++index; index 222 drivers/phy/samsung/phy-exynos-mipi-video.c unsigned int index; index 259 drivers/phy/samsung/phy-exynos-mipi-video.c container_of((desc), struct exynos_mipi_video_phy, phys[(desc)->index]) index 331 drivers/phy/samsung/phy-exynos-mipi-video.c state->phys[i].index = i; index 202 drivers/phy/samsung/phy-exynos5-usbdrd.c u32 index; index 217 drivers/phy/samsung/phy-exynos5-usbdrd.c phys[(inst)->index]); index 934 drivers/phy/samsung/phy-exynos5-usbdrd.c phy_drd->phys[i].index = i; index 858 drivers/phy/st/phy-miphy28lp.c int index; index 860 drivers/phy/st/phy-miphy28lp.c index = of_property_match_string(child, "reg-names", rname); index 861 drivers/phy/st/phy-miphy28lp.c if (index < 0) index 864 drivers/phy/st/phy-miphy28lp.c return of_address_to_resource(child, index, res); index 1104 drivers/phy/st/phy-miphy28lp.c int ret, index = 0; index 1111 drivers/phy/st/phy-miphy28lp.c for (index = 0; index < miphy_dev->nphys; index++) index 1112 drivers/phy/st/phy-miphy28lp.c if (phynode == miphy_dev->phys[index]->phy->dev.of_node) { index 1113 drivers/phy/st/phy-miphy28lp.c miphy_phy = miphy_dev->phys[index]; index 62 drivers/phy/st/phy-stm32-usbphyc.c u32 index; index 287 drivers/phy/st/phy-stm32-usbphyc.c if (((usbphyc_phy->index == 0) && (args->args_count != 0)) || index 288 drivers/phy/st/phy-stm32-usbphyc.c ((usbphyc_phy->index == 1) && (args->args_count != 1))) { index 290 drivers/phy/st/phy-stm32-usbphyc.c usbphyc_phy->index); index 295 drivers/phy/st/phy-stm32-usbphyc.c if (usbphyc_phy->index == 1) { index 362 drivers/phy/st/phy-stm32-usbphyc.c u32 index; index 393 drivers/phy/st/phy-stm32-usbphyc.c ret = of_property_read_u32(child, "reg", &index); index 394 drivers/phy/st/phy-stm32-usbphyc.c if (ret || index > usbphyc->nphys) { index 405 drivers/phy/st/phy-stm32-usbphyc.c usbphyc->phys[port]->index = index; index 289 drivers/phy/tegra/xusb-tegra124.c unsigned int index) index 295 drivers/phy/tegra/xusb-tegra124.c port = tegra_xusb_find_usb3_port(padctl, index); index 303 drivers/phy/tegra/xusb-tegra124.c offset = XUSB_PADCTL_IOPHY_MISC_PAD_PX_CTL6(lane->index); index 329 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_USB3_PADX_CTL4(index)); index 338 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL4(index)); index 371 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index)); index 380 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index)); index 386 drivers/phy/tegra/xusb-tegra124.c unsigned int index, bool idle) index 390 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 399 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 428 drivers/phy/tegra/xusb-tegra124.c unsigned int index) index 438 drivers/phy/tegra/xusb-tegra124.c usb2->base.soc = &pad->soc->lanes[index]; index 439 drivers/phy/tegra/xusb-tegra124.c usb2->base.index = index; index 486 drivers/phy/tegra/xusb-tegra124.c unsigned int index = lane->index; index 490 drivers/phy/tegra/xusb-tegra124.c port = tegra_xusb_find_usb2_port(padctl, index); index 492 drivers/phy/tegra/xusb-tegra124.c dev_err(&phy->dev, "no port found for USB2 lane %u\n", index); index 511 drivers/phy/tegra/xusb-tegra124.c XUSB_PADCTL_USB2_PORT_CAP_PORTX_CAP_SHIFT(index)); index 513 drivers/phy/tegra/xusb-tegra124.c XUSB_PADCTL_USB2_PORT_CAP_PORTX_CAP_SHIFT(index); index 516 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 526 drivers/phy/tegra/xusb-tegra124.c value |= (priv->fuse.hs_curr_level[index] + index 531 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_USB2_OTG_PAD_CTL0_LS_RSLEW_VAL(index) << index 533 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 535 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 547 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 575 drivers/phy/tegra/xusb-tegra124.c port = tegra_xusb_find_usb2_port(padctl, lane->index); index 578 drivers/phy/tegra/xusb-tegra124.c lane->index); index 677 drivers/phy/tegra/xusb-tegra124.c unsigned int index) index 687 drivers/phy/tegra/xusb-tegra124.c ulpi->base.soc = &pad->soc->lanes[index]; index 688 drivers/phy/tegra/xusb-tegra124.c ulpi->base.index = index; index 813 drivers/phy/tegra/xusb-tegra124.c unsigned int index) index 823 drivers/phy/tegra/xusb-tegra124.c hsic->base.soc = &pad->soc->lanes[index]; index 824 drivers/phy/tegra/xusb-tegra124.c hsic->base.index = index; index 869 drivers/phy/tegra/xusb-tegra124.c unsigned int index = lane->index; index 880 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 887 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 889 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index)); index 906 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL0(index)); index 908 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL2(index)); index 917 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL2(index)); index 919 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 928 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 938 drivers/phy/tegra/xusb-tegra124.c unsigned int index = lane->index; index 941 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 946 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 1033 drivers/phy/tegra/xusb-tegra124.c unsigned int index) index 1043 drivers/phy/tegra/xusb-tegra124.c pcie->base.soc = &pad->soc->lanes[index]; index 1044 drivers/phy/tegra/xusb-tegra124.c pcie->base.index = index; index 1118 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_USB3_PAD_MUX_PCIE_IDDQ_DISABLE(lane->index); index 1131 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_USB3_PAD_MUX_PCIE_IDDQ_DISABLE(lane->index); index 1211 drivers/phy/tegra/xusb-tegra124.c unsigned int index) index 1221 drivers/phy/tegra/xusb-tegra124.c sata->base.soc = &pad->soc->lanes[index]; index 1222 drivers/phy/tegra/xusb-tegra124.c sata->base.index = index; index 1300 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_USB3_PAD_MUX_SATA_IDDQ_DISABLE(lane->index); index 1313 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_USB3_PAD_MUX_SATA_IDDQ_DISABLE(lane->index); index 1421 drivers/phy/tegra/xusb-tegra124.c return tegra_xusb_find_lane(port->padctl, "usb2", port->index); index 1442 drivers/phy/tegra/xusb-tegra124.c return tegra_xusb_find_lane(port->padctl, "ulpi", port->index); index 1463 drivers/phy/tegra/xusb-tegra124.c return tegra_xusb_find_lane(port->padctl, "hsic", port->index); index 1477 drivers/phy/tegra/xusb-tegra124.c unsigned int index = port->index, offset; index 1483 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_SS_PORT_MAP_PORTX_INTERNAL(index); index 1485 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_INTERNAL(index); index 1487 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP_MASK(index); index 1488 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, usb3->port); index 1496 drivers/phy/tegra/xusb-tegra124.c value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index)); index 1521 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index)); index 1536 drivers/phy/tegra/xusb-tegra124.c padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL4(index)); index 1539 drivers/phy/tegra/xusb-tegra124.c offset = XUSB_PADCTL_IOPHY_MISC_PAD_PX_CTL2(lane->index); index 1551 drivers/phy/tegra/xusb-tegra124.c offset = XUSB_PADCTL_IOPHY_MISC_PAD_PX_CTL5(lane->index); index 1591 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_ELPG_PROGRAM_SSPX_ELPG_VCORE_DOWN(index); index 1597 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_ELPG_PROGRAM_SSPX_ELPG_CLAMP_EN_EARLY(index); index 1603 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_ELPG_PROGRAM_SSPX_ELPG_CLAMP_EN(index); index 1615 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_ELPG_PROGRAM_SSPX_ELPG_CLAMP_EN_EARLY(port->index); index 1621 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_ELPG_PROGRAM_SSPX_ELPG_CLAMP_EN(port->index); index 1627 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_ELPG_PROGRAM_SSPX_ELPG_VCORE_DOWN(port->index); index 1631 drivers/phy/tegra/xusb-tegra124.c value &= ~XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP_MASK(port->index); index 1632 drivers/phy/tegra/xusb-tegra124.c value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(port->index, 0x7); index 148 drivers/phy/tegra/xusb-tegra186.c unsigned int index) index 158 drivers/phy/tegra/xusb-tegra186.c usb2->base.soc = &pad->soc->lanes[index]; index 159 drivers/phy/tegra/xusb-tegra186.c usb2->base.index = index; index 256 drivers/phy/tegra/xusb-tegra186.c unsigned int index = lane->index; index 262 drivers/phy/tegra/xusb-tegra186.c port = tegra_xusb_find_usb2_port(padctl, index); index 264 drivers/phy/tegra/xusb-tegra186.c dev_err(dev, "no port found for USB2 lane %u\n", index); index 272 drivers/phy/tegra/xusb-tegra186.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 274 drivers/phy/tegra/xusb-tegra186.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 276 drivers/phy/tegra/xusb-tegra186.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 278 drivers/phy/tegra/xusb-tegra186.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 285 drivers/phy/tegra/xusb-tegra186.c unsigned int index = lane->index; index 291 drivers/phy/tegra/xusb-tegra186.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 293 drivers/phy/tegra/xusb-tegra186.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 295 drivers/phy/tegra/xusb-tegra186.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 297 drivers/phy/tegra/xusb-tegra186.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 311 drivers/phy/tegra/xusb-tegra186.c unsigned int index = lane->index; index 315 drivers/phy/tegra/xusb-tegra186.c port = tegra_xusb_find_usb2_port(padctl, index); index 317 drivers/phy/tegra/xusb-tegra186.c dev_err(dev, "no port found for USB2 lane %u\n", index); index 322 drivers/phy/tegra/xusb-tegra186.c value &= ~(USB2_PORT_MASK << USB2_PORT_SHIFT(index)); index 323 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_XUSB << USB2_PORT_SHIFT(index)); index 327 drivers/phy/tegra/xusb-tegra186.c value &= ~(PORT_CAP_MASK << PORTX_CAP_SHIFT(index)); index 330 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_DISABLED << PORTX_CAP_SHIFT(index)); index 332 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_DEVICE << PORTX_CAP_SHIFT(index)); index 334 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_HOST << PORTX_CAP_SHIFT(index)); index 336 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_OTG << PORTX_CAP_SHIFT(index)); index 340 drivers/phy/tegra/xusb-tegra186.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 348 drivers/phy/tegra/xusb-tegra186.c hs_current_level = (int)priv->calib.hs_curr_level[index] + index 358 drivers/phy/tegra/xusb-tegra186.c value |= HS_CURR_LEVEL(priv->calib.hs_curr_level[index]); index 361 drivers/phy/tegra/xusb-tegra186.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 363 drivers/phy/tegra/xusb-tegra186.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 368 drivers/phy/tegra/xusb-tegra186.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 388 drivers/phy/tegra/xusb-tegra186.c unsigned int index = lane->index; index 392 drivers/phy/tegra/xusb-tegra186.c port = tegra_xusb_find_usb2_port(padctl, index); index 394 drivers/phy/tegra/xusb-tegra186.c dev_err(dev, "no port found for USB2 lane %u\n", index); index 402 drivers/phy/tegra/xusb-tegra186.c index, err); index 415 drivers/phy/tegra/xusb-tegra186.c unsigned int index = lane->index; index 419 drivers/phy/tegra/xusb-tegra186.c port = tegra_xusb_find_usb2_port(padctl, index); index 421 drivers/phy/tegra/xusb-tegra186.c dev_err(dev, "no port found for USB2 lane %u\n", index); index 429 drivers/phy/tegra/xusb-tegra186.c index, err); index 531 drivers/phy/tegra/xusb-tegra186.c return tegra_xusb_find_lane(port->padctl, "usb2", port->index); index 543 drivers/phy/tegra/xusb-tegra186.c unsigned int index) index 553 drivers/phy/tegra/xusb-tegra186.c usb3->base.soc = &pad->soc->lanes[index]; index 554 drivers/phy/tegra/xusb-tegra186.c usb3->base.index = index; index 590 drivers/phy/tegra/xusb-tegra186.c return tegra_xusb_find_lane(port->padctl, "usb3", port->index); index 605 drivers/phy/tegra/xusb-tegra186.c unsigned int index = lane->index; index 609 drivers/phy/tegra/xusb-tegra186.c port = tegra_xusb_find_usb3_port(padctl, index); index 611 drivers/phy/tegra/xusb-tegra186.c dev_err(dev, "no port found for USB3 lane %u\n", index); index 618 drivers/phy/tegra/xusb-tegra186.c index); index 625 drivers/phy/tegra/xusb-tegra186.c value &= ~(PORT_CAP_MASK << PORTX_CAP_SHIFT(index)); index 628 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_DISABLED << PORTX_CAP_SHIFT(index)); index 630 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_DEVICE << PORTX_CAP_SHIFT(index)); index 632 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_HOST << PORTX_CAP_SHIFT(index)); index 634 drivers/phy/tegra/xusb-tegra186.c value |= (PORT_CAP_OTG << PORTX_CAP_SHIFT(index)); index 639 drivers/phy/tegra/xusb-tegra186.c value &= ~SSPX_ELPG_VCORE_DOWN(index); index 645 drivers/phy/tegra/xusb-tegra186.c value &= ~SSPX_ELPG_CLAMP_EN_EARLY(index); index 651 drivers/phy/tegra/xusb-tegra186.c value &= ~SSPX_ELPG_CLAMP_EN(index); index 664 drivers/phy/tegra/xusb-tegra186.c unsigned int index = lane->index; index 668 drivers/phy/tegra/xusb-tegra186.c port = tegra_xusb_find_usb3_port(padctl, index); index 670 drivers/phy/tegra/xusb-tegra186.c dev_err(dev, "no port found for USB3 lane %u\n", index); index 677 drivers/phy/tegra/xusb-tegra186.c value |= SSPX_ELPG_CLAMP_EN_EARLY(index); index 683 drivers/phy/tegra/xusb-tegra186.c value |= SSPX_ELPG_CLAMP_EN(index); index 689 drivers/phy/tegra/xusb-tegra186.c value |= SSPX_ELPG_VCORE_DOWN(index); index 778 drivers/phy/tegra/xusb-tegra210.c unsigned int index, bool idle) index 782 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index)); index 797 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL0(index)); index 803 drivers/phy/tegra/xusb-tegra210.c unsigned int index, bool enable) index 809 drivers/phy/tegra/xusb-tegra210.c port = tegra_xusb_find_port(padctl, "usb3", index); index 816 drivers/phy/tegra/xusb-tegra210.c offset = XUSB_PADCTL_UPHY_MISC_PAD_PX_CTL1(lane->index); index 864 drivers/phy/tegra/xusb-tegra210.c unsigned int index) index 874 drivers/phy/tegra/xusb-tegra210.c usb2->base.soc = &pad->soc->lanes[index]; index 875 drivers/phy/tegra/xusb-tegra210.c usb2->base.index = index; index 931 drivers/phy/tegra/xusb-tegra210.c unsigned int index = lane->index; index 935 drivers/phy/tegra/xusb-tegra210.c port = tegra_xusb_find_usb2_port(padctl, index); index 937 drivers/phy/tegra/xusb-tegra210.c dev_err(&phy->dev, "no port found for USB2 lane %u\n", index); index 959 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_USB2_PORT_CAP_PORTX_CAP_MASK(index); index 960 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_USB2_PORT_CAP_PORTX_CAP_HOST(index); index 963 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 969 drivers/phy/tegra/xusb-tegra210.c value |= (priv->fuse.hs_curr_level[index] + index 972 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index)); index 974 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 986 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index)); index 989 drivers/phy/tegra/xusb-tegra210.c XUSB_PADCTL_USB2_BATTERY_CHRG_OTGPADX_CTL1(index)); index 994 drivers/phy/tegra/xusb-tegra210.c XUSB_PADCTL_USB2_BATTERY_CHRG_OTGPADX_CTL1(index)); index 1056 drivers/phy/tegra/xusb-tegra210.c port = tegra_xusb_find_usb2_port(padctl, lane->index); index 1059 drivers/phy/tegra/xusb-tegra210.c lane->index); index 1163 drivers/phy/tegra/xusb-tegra210.c unsigned int index) index 1173 drivers/phy/tegra/xusb-tegra210.c hsic->base.soc = &pad->soc->lanes[index]; index 1174 drivers/phy/tegra/xusb-tegra210.c hsic->base.index = index; index 1229 drivers/phy/tegra/xusb-tegra210.c unsigned int index = lane->index; index 1242 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 1247 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 1249 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL2(index)); index 1258 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL2(index)); index 1260 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index)); index 1276 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL0(index)); index 1315 drivers/phy/tegra/xusb-tegra210.c unsigned int index = lane->index; index 1318 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index)); index 1328 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index)); index 1425 drivers/phy/tegra/xusb-tegra210.c unsigned int index) index 1435 drivers/phy/tegra/xusb-tegra210.c pcie->base.soc = &pad->soc->lanes[index]; index 1436 drivers/phy/tegra/xusb-tegra210.c pcie->base.index = index; index 1489 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_USB3_PAD_MUX_PCIE_IDDQ_DISABLE(lane->index); index 1504 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_USB3_PAD_MUX_PCIE_IDDQ_DISABLE(lane->index); index 1596 drivers/phy/tegra/xusb-tegra210.c unsigned int index) index 1606 drivers/phy/tegra/xusb-tegra210.c sata->base.soc = &pad->soc->lanes[index]; index 1607 drivers/phy/tegra/xusb-tegra210.c sata->base.index = index; index 1660 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_USB3_PAD_MUX_SATA_IDDQ_DISABLE(lane->index); index 1675 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_USB3_PAD_MUX_SATA_IDDQ_DISABLE(lane->index); index 1773 drivers/phy/tegra/xusb-tegra210.c return tegra_xusb_find_lane(port->padctl, "usb2", port->index); index 1794 drivers/phy/tegra/xusb-tegra210.c return tegra_xusb_find_lane(port->padctl, "hsic", port->index); index 1808 drivers/phy/tegra/xusb-tegra210.c unsigned int index = port->index; index 1815 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_SS_PORT_MAP_PORTX_INTERNAL(index); index 1817 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_INTERNAL(index); index 1819 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP_MASK(index); index 1820 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, usb3->port); index 1832 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_UPHY_USB3_PADX_ECTL1(index)); index 1837 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_UPHY_USB3_PADX_ECTL1(index)); index 1839 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_UPHY_USB3_PADX_ECTL2(index)); index 1844 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_UPHY_USB3_PADX_ECTL2(index)); index 1847 drivers/phy/tegra/xusb-tegra210.c XUSB_PADCTL_UPHY_USB3_PADX_ECTL3(index)); index 1849 drivers/phy/tegra/xusb-tegra210.c value = padctl_readl(padctl, XUSB_PADCTL_UPHY_USB3_PADX_ECTL4(index)); index 1854 drivers/phy/tegra/xusb-tegra210.c padctl_writel(padctl, value, XUSB_PADCTL_UPHY_USB3_PADX_ECTL4(index)); index 1857 drivers/phy/tegra/xusb-tegra210.c XUSB_PADCTL_UPHY_USB3_PADX_ECTL6(index)); index 1871 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_ELPG_PROGRAM1_SSPX_ELPG_VCORE_DOWN(index); index 1877 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_ELPG_PROGRAM1_SSPX_ELPG_CLAMP_EN_EARLY(index); index 1883 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_ELPG_PROGRAM1_SSPX_ELPG_CLAMP_EN(index); index 1894 drivers/phy/tegra/xusb-tegra210.c unsigned int index = port->index; index 1898 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_ELPG_PROGRAM1_SSPX_ELPG_CLAMP_EN_EARLY(index); index 1904 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_ELPG_PROGRAM1_SSPX_ELPG_CLAMP_EN(index); index 1910 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_ELPG_PROGRAM1_SSPX_ELPG_VCORE_DOWN(index); index 1921 drivers/phy/tegra/xusb-tegra210.c value &= ~XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP_MASK(index); index 1922 drivers/phy/tegra/xusb-tegra210.c value |= XUSB_PADCTL_SS_PORT_MAP_PORTX_MAP(index, 0x7); index 89 drivers/phy/tegra/xusb.c tegra_xusb_pad_find_phy_node(struct tegra_xusb_pad *pad, unsigned int index) index 97 drivers/phy/tegra/xusb.c np = of_get_child_by_name(lanes, pad->soc->lanes[index].name); index 383 drivers/phy/tegra/xusb.c unsigned int index) index 388 drivers/phy/tegra/xusb.c name = kasprintf(GFP_KERNEL, "%s-%u", type, index); index 411 drivers/phy/tegra/xusb.c if (port->index != map->port) index 415 drivers/phy/tegra/xusb.c map->index); index 424 drivers/phy/tegra/xusb.c map->type, map->index, match->soc->name); index 434 drivers/phy/tegra/xusb.c unsigned int index) index 443 drivers/phy/tegra/xusb.c name = kasprintf(GFP_KERNEL, "%s-%u", type, index); index 457 drivers/phy/tegra/xusb.c unsigned int index) index 462 drivers/phy/tegra/xusb.c np = tegra_xusb_find_port_node(padctl, type, index); index 479 drivers/phy/tegra/xusb.c tegra_xusb_find_usb2_port(struct tegra_xusb_padctl *padctl, unsigned int index) index 483 drivers/phy/tegra/xusb.c port = tegra_xusb_find_port(padctl, "usb2", index); index 491 drivers/phy/tegra/xusb.c tegra_xusb_find_usb3_port(struct tegra_xusb_padctl *padctl, unsigned int index) index 495 drivers/phy/tegra/xusb.c port = tegra_xusb_find_port(padctl, "usb3", index); index 514 drivers/phy/tegra/xusb.c unsigned int index) index 520 drivers/phy/tegra/xusb.c port->index = index; index 527 drivers/phy/tegra/xusb.c err = dev_set_name(&port->dev, "%s-%u", name, index); index 580 drivers/phy/tegra/xusb.c unsigned int index) index 590 drivers/phy/tegra/xusb.c np = tegra_xusb_find_port_node(padctl, "usb2", index); index 600 drivers/phy/tegra/xusb.c err = tegra_xusb_port_init(&usb2->base, padctl, np, "usb2", index); index 636 drivers/phy/tegra/xusb.c unsigned int index) index 642 drivers/phy/tegra/xusb.c np = tegra_xusb_find_port_node(padctl, "ulpi", index); index 652 drivers/phy/tegra/xusb.c err = tegra_xusb_port_init(&ulpi->base, padctl, np, "ulpi", index); index 684 drivers/phy/tegra/xusb.c unsigned int index) index 690 drivers/phy/tegra/xusb.c np = tegra_xusb_find_port_node(padctl, "hsic", index); index 700 drivers/phy/tegra/xusb.c err = tegra_xusb_port_init(&hsic->base, padctl, np, "hsic", index); index 747 drivers/phy/tegra/xusb.c unsigned int index) index 758 drivers/phy/tegra/xusb.c np = tegra_xusb_find_port_node(padctl, "usb3", index); index 768 drivers/phy/tegra/xusb.c err = tegra_xusb_port_init(&usb3->base, padctl, np, "usb3", index); index 45 drivers/phy/tegra/xusb.h unsigned int index; index 126 drivers/phy/tegra/xusb.h unsigned int index); index 264 drivers/phy/tegra/xusb.h unsigned int index; index 275 drivers/phy/tegra/xusb.h unsigned int index; index 286 drivers/phy/tegra/xusb.h unsigned int index); index 304 drivers/phy/tegra/xusb.h unsigned int index); index 350 drivers/phy/tegra/xusb.h unsigned int index); index 370 drivers/phy/tegra/xusb.h unsigned int index); index 372 drivers/phy/tegra/xusb.h unsigned int index, bool idle); index 374 drivers/phy/tegra/xusb.h unsigned int index, bool enable); index 436 drivers/phy/tegra/xusb.h unsigned int index); index 334 drivers/phy/ti/phy-am654-serdes.c static int serdes_am654_clk_mux_set_parent(struct clk_hw *hw, u8 index) index 356 drivers/phy/ti/phy-am654-serdes.c parents[clk_id] = index; index 696 drivers/pinctrl/core.c radix_tree_delete(&pctldev->pin_group_tree, iter.index); index 378 drivers/pinctrl/devicetree.c int index, int nr_cells, int nr_elem, index 387 drivers/pinctrl/devicetree.c if (index >= nr_elem) index 390 drivers/pinctrl/devicetree.c list += index * (nr_cells + 1); index 410 drivers/pinctrl/devicetree.c const char *list_name, int index, index 421 drivers/pinctrl/devicetree.c error = pinctrl_copy_args(np, list, index, nr_cells, nr_elem, index 21 drivers/pinctrl/devicetree.h const char *list_name, int index, index 49 drivers/pinctrl/devicetree.h const char *list_name, int index, index 570 drivers/pinctrl/freescale/pinctrl-imx.c u32 index) index 578 drivers/pinctrl/freescale/pinctrl-imx.c dev_dbg(ipctl->dev, "group(%d): %pOFn\n", index, np); index 644 drivers/pinctrl/freescale/pinctrl-imx.c u32 index) index 652 drivers/pinctrl/freescale/pinctrl-imx.c dev_dbg(pctl->dev, "parse function(%d): %pOFn\n", index, np); index 654 drivers/pinctrl/freescale/pinctrl-imx.c func = pinmux_generic_get_function(pctl, index); index 463 drivers/pinctrl/freescale/pinctrl-imx1-core.c u32 index) index 469 drivers/pinctrl/freescale/pinctrl-imx1-core.c dev_dbg(info->dev, "group(%d): %pOFn\n", index, np); index 507 drivers/pinctrl/freescale/pinctrl-imx1-core.c u32 index) index 516 drivers/pinctrl/freescale/pinctrl-imx1-core.c dev_dbg(info->dev, "parse function(%d): %pOFn\n", index, np); index 518 drivers/pinctrl/freescale/pinctrl-imx1-core.c func = &info->functions[index]; index 292 drivers/pinctrl/mediatek/mtk-eint.c mtk_eint_debounce_process(struct mtk_eint *eint, int index) index 297 drivers/pinctrl/mediatek/mtk-eint.c ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_ctrl; index 299 drivers/pinctrl/mediatek/mtk-eint.c bit = MTK_EINT_DBNC_SET_EN << ((index % 4) * 8); index 301 drivers/pinctrl/mediatek/mtk-eint.c ctrl_offset = (index / 4) * 4 + eint->regs->dbnc_set; index 302 drivers/pinctrl/mediatek/mtk-eint.c rst = MTK_EINT_DBNC_RST_BIT << ((index % 4) * 8); index 312 drivers/pinctrl/mediatek/mtk-eint.c int offset, mask_offset, index, virq; index 323 drivers/pinctrl/mediatek/mtk-eint.c index = eint_num + offset; index 324 drivers/pinctrl/mediatek/mtk-eint.c virq = irq_find_mapping(eint->domain, index); index 340 drivers/pinctrl/mediatek/mtk-eint.c dual_edge = eint->dual_edge[index]; index 351 drivers/pinctrl/mediatek/mtk-eint.c index); index 357 drivers/pinctrl/mediatek/mtk-eint.c curr_level = mtk_eint_flip_edge(eint, index); index 369 drivers/pinctrl/mediatek/mtk-eint.c if (index < eint->hw->db_cnt) index 370 drivers/pinctrl/mediatek/mtk-eint.c mtk_eint_debounce_process(eint, index); index 114 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c pfd->index = c->i_base; index 153 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c mtk_rmw(hw, pf->index, pf->offset, pf->mask << pf->bitpos, index 156 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c mtk_rmw(hw, pf->index, pf->offset + pf->next, BIT(nbits_h) - 1, index 167 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c l = (mtk_r32(hw, pf->index, pf->offset) index 169 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c h = (mtk_r32(hw, pf->index, pf->offset + pf->next)) index 186 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c mtk_rmw(hw, pf.index, pf.offset, pf.mask << pf.bitpos, index 205 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c *value = (mtk_r32(hw, pf.index, pf.offset) index 97 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h u8 index; index 1378 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_dt_pin_config(int index, int val, unsigned long *config) index 1382 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (nmk_cfg_params[index].choice == NULL) index 1383 drivers/pinctrl/nomadik/pinctrl-nomadik.c *config = nmk_cfg_params[index].config; index 1386 drivers/pinctrl/nomadik/pinctrl-nomadik.c if (val < nmk_cfg_params[index].size) { index 1387 drivers/pinctrl/nomadik/pinctrl-nomadik.c *config = nmk_cfg_params[index].config | index 1388 drivers/pinctrl/nomadik/pinctrl-nomadik.c nmk_cfg_params[index].choice[val]; index 766 drivers/pinctrl/pinctrl-at91.c int index, const struct at91_pmx_pin *pin) index 773 drivers/pinctrl/pinctrl-at91.c name, index, pin->bank, gpio_banks); index 779 drivers/pinctrl/pinctrl-at91.c name, index, pin->bank); index 785 drivers/pinctrl/pinctrl-at91.c name, index, pin->pin, MAX_NB_GPIO_PER_BANK); index 796 drivers/pinctrl/pinctrl-at91.c name, index, mux, info->nmux); index 802 drivers/pinctrl/pinctrl-at91.c name, index, mux, pin->bank + 'A', pin->pin); index 1174 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info, u32 index) index 1181 drivers/pinctrl/pinctrl-at91.c dev_dbg(info->dev, "group(%d): %pOFn\n", index, np); index 1223 drivers/pinctrl/pinctrl-at91.c struct at91_pinctrl *info, u32 index) index 1232 drivers/pinctrl/pinctrl-at91.c dev_dbg(info->dev, "parse function(%d): %pOFn\n", index, np); index 1234 drivers/pinctrl/pinctrl-at91.c func = &info->functions[index]; index 2480 drivers/pinctrl/pinctrl-rockchip.c u32 index) index 2489 drivers/pinctrl/pinctrl-rockchip.c dev_dbg(info->dev, "group(%d): %pOFn\n", index, np); index 2545 drivers/pinctrl/pinctrl-rockchip.c u32 index) index 2554 drivers/pinctrl/pinctrl-rockchip.c dev_dbg(info->dev, "parse function(%d): %pOFn\n", index, np); index 2556 drivers/pinctrl/pinctrl-rockchip.c func = &info->functions[index]; index 755 drivers/pinctrl/pinctrl-rzn1.c unsigned int index) index 763 drivers/pinctrl/pinctrl-rzn1.c func = &ipctl->functions[index]; index 799 drivers/pinctrl/pinctrl-single.c unsigned index; index 808 drivers/pinctrl/pinctrl-single.c index = (offset * BITS_PER_BYTE) / pcs->bits_per_pin; index 810 drivers/pinctrl/pinctrl-single.c index = offset / (pcs->width / BITS_PER_BYTE); index 812 drivers/pinctrl/pinctrl-single.c return index; index 481 drivers/pinctrl/pinctrl-st.c static unsigned long st_pinconf_bit_to_delay(unsigned int index, index 495 drivers/pinctrl/pinctrl-st.c if (index < num_delay_times) { index 496 drivers/pinctrl/pinctrl-st.c return delay_times[index]; index 1241 drivers/pinctrl/pinctrl-st.c struct st_pinctrl *info, u32 index, int *grp_index) index 1248 drivers/pinctrl/pinctrl-st.c func = &info->functions[index]; index 1272 drivers/pinctrl/pinctrl-st.c index, func->name, func->ngroups); index 846 drivers/pinctrl/pinmux.c radix_tree_delete(&pctldev->pin_function_tree, iter.index); index 167 drivers/pinctrl/samsung/pinctrl-s3c24xx.c int index = bank->eint_offset + data->hwirq; index 182 drivers/pinctrl/samsung/pinctrl-s3c24xx.c reg = d->virt_base + EINT_REG(index); index 183 drivers/pinctrl/samsung/pinctrl-s3c24xx.c shift = EINT_OFFS(index); index 318 drivers/pinctrl/samsung/pinctrl-s3c24xx.c unsigned char index = bank->eint_offset + data->hwirq; index 320 drivers/pinctrl/samsung/pinctrl-s3c24xx.c writel(1UL << index, d->virt_base + EINTPEND_REG); index 327 drivers/pinctrl/samsung/pinctrl-s3c24xx.c unsigned char index = bank->eint_offset + data->hwirq; index 331 drivers/pinctrl/samsung/pinctrl-s3c24xx.c mask |= (1UL << index); index 339 drivers/pinctrl/samsung/pinctrl-s3c24xx.c unsigned char index = bank->eint_offset + data->hwirq; index 343 drivers/pinctrl/samsung/pinctrl-s3c24xx.c mask &= ~(1UL << index); index 307 drivers/pinctrl/samsung/pinctrl-s3c64xx.c unsigned char index = EINT_OFFS(bank->eint_offset) + irqd->hwirq; index 313 drivers/pinctrl/samsung/pinctrl-s3c64xx.c val |= 1 << index; index 315 drivers/pinctrl/samsung/pinctrl-s3c64xx.c val &= ~(1 << index); index 333 drivers/pinctrl/samsung/pinctrl-s3c64xx.c unsigned char index = EINT_OFFS(bank->eint_offset) + irqd->hwirq; index 336 drivers/pinctrl/samsung/pinctrl-s3c64xx.c writel(1 << index, reg); index 105 drivers/pinctrl/sh-pfc/pinctrl.c unsigned int *num_maps, unsigned int *index) index 111 drivers/pinctrl/sh-pfc/pinctrl.c unsigned int idx = *index; index 236 drivers/pinctrl/sh-pfc/pinctrl.c *index = idx; index 265 drivers/pinctrl/sh-pfc/pinctrl.c unsigned int index; index 270 drivers/pinctrl/sh-pfc/pinctrl.c index = 0; index 274 drivers/pinctrl/sh-pfc/pinctrl.c &index); index 284 drivers/pinctrl/sh-pfc/pinctrl.c &index); index 86 drivers/pinctrl/sirf/pinctrl-sirf.c int ret, index = 0, count = 0; index 117 drivers/pinctrl/sirf/pinctrl-sirf.c (*map)[index].type = PIN_MAP_TYPE_MUX_GROUP; index 118 drivers/pinctrl/sirf/pinctrl-sirf.c (*map)[index].data.mux.group = group; index 119 drivers/pinctrl/sirf/pinctrl-sirf.c (*map)[index].data.mux.function = function; index 120 drivers/pinctrl/sirf/pinctrl-sirf.c index++; index 35 drivers/pinctrl/sirf/pinctrl-sirf.h #define SIRFSOC_GPIO_NUM(bank, index) (((bank)*(32)) + (index)) index 155 drivers/pinctrl/spear/pinctrl-spear.c int ret, index = 0, count = 0; index 186 drivers/pinctrl/spear/pinctrl-spear.c (*map)[index].type = PIN_MAP_TYPE_MUX_GROUP; index 187 drivers/pinctrl/spear/pinctrl-spear.c (*map)[index].data.mux.group = group; index 188 drivers/pinctrl/spear/pinctrl-spear.c (*map)[index].data.mux.function = function; index 189 drivers/pinctrl/spear/pinctrl-spear.c index++; index 844 drivers/pinctrl/sunxi/pinctrl-sunxi.c u8 index = sunxi_data_offset(offset); index 853 drivers/pinctrl/sunxi/pinctrl-sunxi.c val = (readl(pctl->membase + reg) >> index) & DATA_PINS_MASK; index 866 drivers/pinctrl/sunxi/pinctrl-sunxi.c u8 index = sunxi_data_offset(offset); index 875 drivers/pinctrl/sunxi/pinctrl-sunxi.c regval |= BIT(index); index 877 drivers/pinctrl/sunxi/pinctrl-sunxi.c regval &= ~(BIT(index)); index 968 drivers/pinctrl/sunxi/pinctrl-sunxi.c u8 index = sunxi_irq_cfg_offset(d->hwirq); index 1003 drivers/pinctrl/sunxi/pinctrl-sunxi.c regval &= ~(IRQ_CFG_IRQ_MASK << index); index 1004 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(regval | (mode << index), pctl->membase + reg); index 688 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c unsigned int index = args->args[0]; index 693 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c if (index >= ARRAY_SIZE(padctl->phys)) index 696 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c return padctl->phys[index]; index 400 drivers/pinctrl/ti/pinctrl-ti-iodelay.c unsigned int index; index 408 drivers/pinctrl/ti/pinctrl-ti-iodelay.c index = (offset - r->reg_start_offset) / r->regmap_config->reg_stride; index 409 drivers/pinctrl/ti/pinctrl-ti-iodelay.c index /= r->reg_nr_per_pin; index 411 drivers/pinctrl/ti/pinctrl-ti-iodelay.c return index; index 26 drivers/platform/chrome/wilco_ec/core.c int index) index 31 drivers/platform/chrome/wilco_ec/core.c res = platform_get_resource(pdev, IORESOURCE_IO, index); index 33 drivers/platform/chrome/wilco_ec/core.c dev_dbg(dev, "Couldn't find IO resource %d\n", index); index 85 drivers/platform/chrome/wilco_ec/telemetry.c u8 index; index 101 drivers/platform/chrome/wilco_ec/telemetry.c u8 index; index 81 drivers/platform/mellanox/mlxbf-tmfifo.c int index; index 136 drivers/platform/mellanox/mlxbf-tmfifo.c int index; index 244 drivers/platform/mellanox/mlxbf-tmfifo.c vring->index = i; index 280 drivers/platform/mellanox/mlxbf-tmfifo.c if (!test_and_set_bit(irq_info->index, &irq_info->fifo->pend_events)) index 847 drivers/platform/mellanox/mlxbf-tmfifo.c if (vring->index & BIT(0)) { index 1212 drivers/platform/mellanox/mlxbf-tmfifo.c fifo->irq_info[i].index = i; index 163 drivers/platform/mellanox/mlxreg-hotplug.c int index = to_sensor_dev_attr_2(attr)->index; index 172 drivers/platform/mellanox/mlxreg-hotplug.c data = item->data + index; index 227 drivers/platform/mellanox/mlxreg-hotplug.c PRIV_DEV_ATTR(id).index = j; index 97 drivers/platform/mellanox/mlxreg-io.c int index = to_sensor_dev_attr(attr)->index; index 98 drivers/platform/mellanox/mlxreg-io.c struct mlxreg_core_data *data = priv->pdata->data + index; index 117 drivers/platform/mellanox/mlxreg-io.c int index = to_sensor_dev_attr(attr)->index; index 118 drivers/platform/mellanox/mlxreg-io.c struct mlxreg_core_data *data = priv->pdata->data + index; index 183 drivers/platform/mellanox/mlxreg-io.c priv->mlxreg_io_dev_attr[i].index = i; index 107 drivers/platform/mips/cpu_hwmon.c int id = (to_sensor_dev_attr(attr))->index - 1; index 114 drivers/platform/mips/cpu_hwmon.c int id = (to_sensor_dev_attr(attr))->index - 1; index 367 drivers/platform/x86/dcdbas.c u8 index; index 377 drivers/platform/x86/dcdbas.c for (index = PE1300_CMOS_CMD_STRUCT_PTR; index 378 drivers/platform/x86/dcdbas.c index < (PE1300_CMOS_CMD_STRUCT_PTR + 4); index 379 drivers/platform/x86/dcdbas.c index++, data++) { index 380 drivers/platform/x86/dcdbas.c outb(index, index 409 drivers/platform/x86/dcdbas.c for (index = PE1400_CMOS_CMD_STRUCT_PTR; index 410 drivers/platform/x86/dcdbas.c index < (PE1400_CMOS_CMD_STRUCT_PTR + 4); index 411 drivers/platform/x86/dcdbas.c index++, data++) { index 412 drivers/platform/x86/dcdbas.c outb(index, (CMOS_BASE_PORT + CMOS_PAGE1_INDEX_PORT)); index 240 drivers/platform/x86/intel_menlow.c static int sensor_get_auxtrip(acpi_handle handle, int index, index 245 drivers/platform/x86/intel_menlow.c if ((index != 0 && index != 1) || !value) index 248 drivers/platform/x86/intel_menlow.c status = acpi_evaluate_integer(handle, index ? GET_AUX1 : GET_AUX0, index 262 drivers/platform/x86/intel_menlow.c static int sensor_set_auxtrip(acpi_handle handle, int index, int value) index 273 drivers/platform/x86/intel_menlow.c if (index != 0 && index != 1) index 276 drivers/platform/x86/intel_menlow.c status = acpi_evaluate_integer(handle, index ? GET_AUX0 : GET_AUX1, index 280 drivers/platform/x86/intel_menlow.c if ((index && value < temp) || (!index && value > temp)) index 284 drivers/platform/x86/intel_menlow.c status = acpi_evaluate_integer(handle, index ? SET_AUX1 : SET_AUX0, index 386 drivers/platform/x86/intel_mid_thermal.c static struct thermal_device_info *initialize_sensor(int index) index 395 drivers/platform/x86/intel_mid_thermal.c td_info->chnl_addr = ADC_DATA_START_ADDR + 2 * (channel_index + index); index 397 drivers/platform/x86/intel_mid_thermal.c if (index == 3) index 415 drivers/platform/x86/intel_pmc_core.c static void pmc_core_display_map(struct seq_file *s, int index, index 419 drivers/platform/x86/intel_pmc_core.c index, pf_map[index].name, index 420 drivers/platform/x86/intel_pmc_core.c pf_map[index].bit_mask & pf_reg ? "Off" : "On"); index 428 drivers/platform/x86/intel_pmc_core.c int index, iter; index 432 drivers/platform/x86/intel_pmc_core.c for (index = 0; index < pmcdev->map->ppfear_buckets && index 433 drivers/platform/x86/intel_pmc_core.c index < PPFEAR_MAX_NUM_ENTRIES; index++, iter++) index 434 drivers/platform/x86/intel_pmc_core.c pf_regs[index] = pmc_core_reg_read_byte(pmcdev, iter); index 436 drivers/platform/x86/intel_pmc_core.c for (index = 0; map[index].name && index 437 drivers/platform/x86/intel_pmc_core.c index < pmcdev->map->ppfear_buckets * 8; index++) index 438 drivers/platform/x86/intel_pmc_core.c pmc_core_display_map(s, index, pf_regs[index / 8], map); index 480 drivers/platform/x86/intel_pmc_core.c int index, err = 0; index 508 drivers/platform/x86/intel_pmc_core.c for (index = 0; map[index].name && index < 8; index++) { index 510 drivers/platform/x86/intel_pmc_core.c map[index].name, index 511 drivers/platform/x86/intel_pmc_core.c map[index].bit_mask & val_low ? "Not power gated" : index 515 drivers/platform/x86/intel_pmc_core.c for (index = 8; map[index].name; index++) { index 517 drivers/platform/x86/intel_pmc_core.c map[index].name, index 518 drivers/platform/x86/intel_pmc_core.c map[index].bit_mask & val_high ? "Not power gated" : index 533 drivers/platform/x86/intel_pmc_core.c int index, err = 0; index 552 drivers/platform/x86/intel_pmc_core.c for (index = 0; map[index].name ; index++) { index 554 drivers/platform/x86/intel_pmc_core.c map[index].name, index 555 drivers/platform/x86/intel_pmc_core.c map[index].bit_mask & val ? "Active" : "Idle"); index 704 drivers/platform/x86/intel_pmc_core.c int index; index 706 drivers/platform/x86/intel_pmc_core.c for (index = 0; map[index].name ; index++) { index 709 drivers/platform/x86/intel_pmc_core.c map[index].bit_mask); index 726 drivers/platform/x86/intel_pmc_core.c map[index].name, ltr_raw_data, index 739 drivers/platform/x86/intel_pmc_core.c int index; index 741 drivers/platform/x86/intel_pmc_core.c for (index = 0; map[index].name ; index++) { index 742 drivers/platform/x86/intel_pmc_core.c if (rdmsrl_safe(map[index].bit_mask, &pcstate_count)) index 747 drivers/platform/x86/intel_pmc_core.c seq_printf(s, "%-8s : %llu\n", map[index].name, index 68 drivers/platform/x86/intel_telemetry_debugfs.c if (evtlog[index].telem_evtid == (EVTID)) { \ index 77 drivers/platform/x86/intel_telemetry_debugfs.c if (evtlog[index].telem_evtid == (EVTID)) { \ index 78 drivers/platform/x86/intel_telemetry_debugfs.c (CTR) = evtlog[index].telem_evtlog; \ index 342 drivers/platform/x86/intel_telemetry_debugfs.c int index, idx, ret, err = 0; index 358 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < ret; index++) { index 360 drivers/platform/x86/intel_telemetry_debugfs.c name[index], evtlog[index].telem_evtlog); index 363 drivers/platform/x86/intel_telemetry_debugfs.c if (evtlog[index].telem_evtid == conf->pss_idle_id) { index 365 drivers/platform/x86/intel_telemetry_debugfs.c (evtlog[index].telem_evtlog >> index 372 drivers/platform/x86/intel_telemetry_debugfs.c pss_idle, evtlog[index].telem_evtlog, index 378 drivers/platform/x86/intel_telemetry_debugfs.c evtlog[index].telem_evtlog, index 385 drivers/platform/x86/intel_telemetry_debugfs.c evtlog[index].telem_evtlog, index 392 drivers/platform/x86/intel_telemetry_debugfs.c evtlog[index].telem_evtlog, index 397 drivers/platform/x86/intel_telemetry_debugfs.c evtlog[index].telem_evtlog, index 400 drivers/platform/x86/intel_telemetry_debugfs.c if (evtlog[index].telem_evtid == debugfs_conf->pstates_id) index 401 drivers/platform/x86/intel_telemetry_debugfs.c pstates = evtlog[index].telem_evtlog; index 420 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < debugfs_conf->pss_idle_evts; index++) { index 422 drivers/platform/x86/intel_telemetry_debugfs.c debugfs_conf->pss_idle_data[index].name, index 423 drivers/platform/x86/intel_telemetry_debugfs.c pss_idle[index]); index 430 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < debugfs_conf->pcs_idle_blkd_evts; index++) { index 432 drivers/platform/x86/intel_telemetry_debugfs.c debugfs_conf->pcs_idle_blkd_data[index].name, index 433 drivers/platform/x86/intel_telemetry_debugfs.c pcs_idle_blkd[index]); index 440 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < debugfs_conf->pcs_s0ix_blkd_evts; index++) { index 442 drivers/platform/x86/intel_telemetry_debugfs.c debugfs_conf->pcs_s0ix_blkd_data[index].name, index 443 drivers/platform/x86/intel_telemetry_debugfs.c pcs_s0ix_blkd[index]); index 450 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < debugfs_conf->pss_ltr_evts; index++) { index 452 drivers/platform/x86/intel_telemetry_debugfs.c debugfs_conf->pss_ltr_data[index].name, index 453 drivers/platform/x86/intel_telemetry_debugfs.c pss_s0ix_wakeup[index]); index 460 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < debugfs_conf->pss_wakeup_evts; index++) { index 462 drivers/platform/x86/intel_telemetry_debugfs.c debugfs_conf->pss_wakeup[index].name, index 463 drivers/platform/x86/intel_telemetry_debugfs.c pss_ltr_blkd[index]); index 475 drivers/platform/x86/intel_telemetry_debugfs.c int index, ret, err; index 490 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < ret; index++) { index 492 drivers/platform/x86/intel_telemetry_debugfs.c name[index], evtlog[index].telem_evtlog); index 509 drivers/platform/x86/intel_telemetry_debugfs.c int index, idx, ret; index 518 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < ret; index++) { index 521 drivers/platform/x86/intel_telemetry_debugfs.c d3_sts, evtlog[index].telem_evtlog, index 526 drivers/platform/x86/intel_telemetry_debugfs.c pg_sts, evtlog[index].telem_evtlog, index 531 drivers/platform/x86/intel_telemetry_debugfs.c d0ix_sts, evtlog[index].telem_evtlog, index 599 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < conf->ioss_d0ix_evts; index++) { index 601 drivers/platform/x86/intel_telemetry_debugfs.c conf->ioss_d0ix_data[index].name, index 602 drivers/platform/x86/intel_telemetry_debugfs.c d3_sts[index], d0ix_sts[index]); index 609 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < conf->ioss_pg_evts; index++) { index 611 drivers/platform/x86/intel_telemetry_debugfs.c conf->ioss_pg_data[index].name, index 612 drivers/platform/x86/intel_telemetry_debugfs.c pg_sts[index]); index 633 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < conf->pss_idle_evts; index++) { index 635 drivers/platform/x86/intel_telemetry_debugfs.c conf->pss_idle_data[index].name, index 636 drivers/platform/x86/intel_telemetry_debugfs.c pss_idle[index]); index 765 drivers/platform/x86/intel_telemetry_debugfs.c int ret, index; index 774 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < ret; index++) { index 799 drivers/platform/x86/intel_telemetry_debugfs.c int ret, index; index 809 drivers/platform/x86/intel_telemetry_debugfs.c for (index = 0; index < ret; index++) { index 253 drivers/platform/x86/intel_telemetry_pltdrv.c static inline int telemetry_plt_config_ioss_event(u32 evt_id, int index) index 260 drivers/platform/x86/intel_telemetry_pltdrv.c write_buf |= index; index 269 drivers/platform/x86/intel_telemetry_pltdrv.c static inline int telemetry_plt_config_pss_event(u32 evt_id, int index) index 276 drivers/platform/x86/intel_telemetry_pltdrv.c index, 0, &write_buf, NULL); index 285 drivers/platform/x86/intel_telemetry_pltdrv.c int ret, index, idx; index 362 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = 0; index < num_ioss_evts; index++) { index 363 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->ioss_config.telem_evts[index].evt_id = index 364 drivers/platform/x86/intel_telemetry_pltdrv.c ioss_evtmap[index]; index 367 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->ioss_config.telem_evts[index].evt_id, index 368 drivers/platform/x86/intel_telemetry_pltdrv.c index)) { index 370 drivers/platform/x86/intel_telemetry_pltdrv.c ioss_evtmap[index]); index 380 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = telm_conf->ioss_config.ssram_evts_used, idx = 0; index 381 drivers/platform/x86/intel_telemetry_pltdrv.c idx < num_ioss_evts; index++, idx++) { index 382 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->ioss_config.telem_evts[index].evt_id = index 386 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->ioss_config.telem_evts[index].evt_id, index 387 drivers/platform/x86/intel_telemetry_pltdrv.c index)) { index 421 drivers/platform/x86/intel_telemetry_pltdrv.c int ret, index, idx; index 488 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = 0; index < num_pss_evts; index++) { index 489 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->pss_config.telem_evts[index].evt_id = index 490 drivers/platform/x86/intel_telemetry_pltdrv.c pss_evtmap[index]; index 493 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->pss_config.telem_evts[index].evt_id, index 494 drivers/platform/x86/intel_telemetry_pltdrv.c index)) { index 496 drivers/platform/x86/intel_telemetry_pltdrv.c pss_evtmap[index]); index 506 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = telm_conf->pss_config.ssram_evts_used, idx = 0; index 507 drivers/platform/x86/intel_telemetry_pltdrv.c idx < num_pss_evts; index++, idx++) { index 509 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->pss_config.telem_evts[index].evt_id = index 513 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->pss_config.telem_evts[index].evt_id, index 514 drivers/platform/x86/intel_telemetry_pltdrv.c index)) { index 822 drivers/platform/x86/intel_telemetry_pltdrv.c u32 index; index 840 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = 0; index < telm_conf->pss_config.ssram_evts_used; index 841 drivers/platform/x86/intel_telemetry_pltdrv.c index++) { index 842 drivers/platform/x86/intel_telemetry_pltdrv.c pss_evtmap[index] = index 843 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->pss_config.telem_evts[index].evt_id; index 846 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = 0; index < telm_conf->ioss_config.ssram_evts_used; index 847 drivers/platform/x86/intel_telemetry_pltdrv.c index++) { index 848 drivers/platform/x86/intel_telemetry_pltdrv.c ioss_evtmap[index] = index 849 drivers/platform/x86/intel_telemetry_pltdrv.c telm_conf->ioss_config.telem_evts[index].evt_id; index 884 drivers/platform/x86/intel_telemetry_pltdrv.c int ret, index, timeout = 0; index 903 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = 0; index < len; index++) { index 904 drivers/platform/x86/intel_telemetry_pltdrv.c ssram_region->events[index] = index 906 drivers/platform/x86/intel_telemetry_pltdrv.c BYTES_PER_LONG*index); index 931 drivers/platform/x86/intel_telemetry_pltdrv.c int index, idx1, ret, readlen = len; index 961 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = 0; index < ret; index++) { index 962 drivers/platform/x86/intel_telemetry_pltdrv.c evtlog[index].telem_evtlog = ssram_region.events[index]; index 963 drivers/platform/x86/intel_telemetry_pltdrv.c evtlog[index].telem_evtid = evtmap[index].evt_id; index 966 drivers/platform/x86/intel_telemetry_pltdrv.c for (index = 0, readlen = 0; (index < ret) && (readlen < len); index 967 drivers/platform/x86/intel_telemetry_pltdrv.c index++) { index 970 drivers/platform/x86/intel_telemetry_pltdrv.c if (evtmap[index].evt_id == index 973 drivers/platform/x86/intel_telemetry_pltdrv.c ssram_region.events[index]; index 273 drivers/platform/x86/pmc_atom.c int index; index 275 drivers/platform/x86/pmc_atom.c for (index = 0; sts_map[index].name; index++) { index 277 drivers/platform/x86/pmc_atom.c offset + index, sts_map[index].name, index 278 drivers/platform/x86/pmc_atom.c fd_map[index].bit_mask & fd ? "Disabled" : "Enabled ", index 279 drivers/platform/x86/pmc_atom.c sts_map[index].bit_mask & sts ? "D3" : "D0"); index 311 drivers/platform/x86/pmc_atom.c int index; index 313 drivers/platform/x86/pmc_atom.c for (index = 0; map[index].name; index++) { index 315 drivers/platform/x86/pmc_atom.c index, map[index].name, index 316 drivers/platform/x86/pmc_atom.c map[index].bit_mask & pss ? "Off" : "On"); index 6397 drivers/platform/x86/thinkpad_acpi.c int idx = sensor_attr->index; index 7561 drivers/platform/x86/thinkpad_acpi.c .index = 0, index 7570 drivers/platform/x86/thinkpad_acpi.c .index = 0, index 10370 drivers/platform/x86/thinkpad_acpi.c module_param_named(index, alsa_index, int, 0444); index 10371 drivers/platform/x86/thinkpad_acpi.c MODULE_PARM_DESC(index, "ALSA index for the ACPI EC Mixer"); index 193 drivers/power/supply/adp5061.c int index; index 197 drivers/power/supply/adp5061.c index = adp5061_get_array_index(adp5061_in_current_lim, index 200 drivers/power/supply/adp5061.c if (index < 0) index 201 drivers/power/supply/adp5061.c return index; index 205 drivers/power/supply/adp5061.c ADP5061_VINX_SET_ILIM_MODE(index)); index 210 drivers/power/supply/adp5061.c int index; index 214 drivers/power/supply/adp5061.c index = adp5061_get_array_index(adp5061_vmin, index 217 drivers/power/supply/adp5061.c if (index < 0) index 218 drivers/power/supply/adp5061.c return index; index 222 drivers/power/supply/adp5061.c ADP5061_VOLTAGE_TH_VTRK_DEAD_MODE(index)); index 299 drivers/power/supply/adp5061.c int index; index 303 drivers/power/supply/adp5061.c index = adp5061_get_array_index(adp5061_const_chg_vmax, index 306 drivers/power/supply/adp5061.c if (index < 0) index 307 drivers/power/supply/adp5061.c return index; index 311 drivers/power/supply/adp5061.c ADP5061_TERM_SET_CHG_VLIM_MODE(index)); index 317 drivers/power/supply/adp5061.c int index; index 324 drivers/power/supply/adp5061.c index = adp5061_get_array_index(adp5061_const_ichg, index 327 drivers/power/supply/adp5061.c if (index < 0) index 328 drivers/power/supply/adp5061.c return index; index 332 drivers/power/supply/adp5061.c ADP5061_CHG_CURR_ICHG_MODE(index)); index 372 drivers/power/supply/adp5061.c int index; index 376 drivers/power/supply/adp5061.c index = adp5061_get_array_index(adp5061_prechg_current, index 379 drivers/power/supply/adp5061.c if (index < 0) index 380 drivers/power/supply/adp5061.c return index; index 384 drivers/power/supply/adp5061.c ADP5061_CHG_CURR_ITRK_DEAD_MODE(index)); index 405 drivers/power/supply/adp5061.c int index; index 409 drivers/power/supply/adp5061.c index = adp5061_get_array_index(adp5061_vweak_th, index 412 drivers/power/supply/adp5061.c if (index < 0) index 413 drivers/power/supply/adp5061.c return index; index 417 drivers/power/supply/adp5061.c ADP5061_VOLTAGE_TH_VWEAK_MODE(index)); index 519 drivers/power/supply/adp5061.c int index; index 521 drivers/power/supply/adp5061.c index = adp5061_get_array_index(adp5061_iend, index 524 drivers/power/supply/adp5061.c if (index < 0) index 525 drivers/power/supply/adp5061.c return index; index 529 drivers/power/supply/adp5061.c ADP5061_IEND_IEND_MODE(index)); index 250 drivers/power/supply/ds2760_battery.c int index, dt; index 257 drivers/power/supply/ds2760_battery.c index = temp / 10; index 260 drivers/power/supply/ds2760_battery.c return array[index] + (((array[index + 1] - array[index]) * dt) / 10); index 246 drivers/power/supply/generic-adc-battery.c int index = ARRAY_SIZE(gab_props); index 296 drivers/power/supply/generic-adc-battery.c for (index2 = 0; index2 < index; index2++) { index 301 drivers/power/supply/generic-adc-battery.c if (index2 == index) /* really new */ index 302 drivers/power/supply/generic-adc-battery.c psy_desc->properties[index++] = index 320 drivers/power/supply/generic-adc-battery.c psy_desc->num_properties = index; index 570 drivers/power/supply/power_supply_core.c int err, len, index; index 582 drivers/power/supply/power_supply_core.c for (index = 0; index < POWER_SUPPLY_OCV_TEMP_MAX; index++) { index 583 drivers/power/supply/power_supply_core.c info->ocv_table[index] = NULL; index 584 drivers/power/supply/power_supply_core.c info->ocv_temp[index] = -EINVAL; index 585 drivers/power/supply/power_supply_core.c info->ocv_table_size[index] = -EINVAL; index 644 drivers/power/supply/power_supply_core.c for (index = 0; index < len; index++) { index 650 drivers/power/supply/power_supply_core.c propname = kasprintf(GFP_KERNEL, "ocv-capacity-table-%d", index); index 662 drivers/power/supply/power_supply_core.c info->ocv_table_size[index] = tab_len; index 664 drivers/power/supply/power_supply_core.c table = info->ocv_table[index] = index 666 drivers/power/supply/power_supply_core.c if (!info->ocv_table[index]) { index 133 drivers/power/supply/qcom_smbb.c static int smbb_vbat_weak_fn(unsigned int index) index 135 drivers/power/supply/qcom_smbb.c return 2100000 + index * 100000; index 138 drivers/power/supply/qcom_smbb.c static int smbb_vin_fn(unsigned int index) index 140 drivers/power/supply/qcom_smbb.c if (index > 42) index 141 drivers/power/supply/qcom_smbb.c return 5600000 + (index - 43) * 200000; index 142 drivers/power/supply/qcom_smbb.c return 3400000 + index * 50000; index 145 drivers/power/supply/qcom_smbb.c static int smbb_vmax_fn(unsigned int index) index 147 drivers/power/supply/qcom_smbb.c return 3240000 + index * 10000; index 150 drivers/power/supply/qcom_smbb.c static int smbb_vbat_det_fn(unsigned int index) index 152 drivers/power/supply/qcom_smbb.c return 3240000 + index * 20000; index 155 drivers/power/supply/qcom_smbb.c static int smbb_imax_fn(unsigned int index) index 157 drivers/power/supply/qcom_smbb.c if (index < 2) index 158 drivers/power/supply/qcom_smbb.c return 100000 + index * 50000; index 159 drivers/power/supply/qcom_smbb.c return index * 100000; index 162 drivers/power/supply/qcom_smbb.c static int smbb_bat_imax_fn(unsigned int index) index 164 drivers/power/supply/qcom_smbb.c return index * 50000; index 47 drivers/pps/clients/pps-ldisc.c int index = tty->index + drv->name_base; index 53 drivers/pps/clients/pps-ldisc.c snprintf(info.name, PPS_MAX_NAME_LEN, "%s%d", drv->driver_name, index); index 54 drivers/pps/clients/pps-ldisc.c snprintf(info.path, PPS_MAX_NAME_LEN, "/dev/%s%d", drv->name, index); index 46 drivers/pps/clients/pps_parport.c int index; /* device number */ index 128 drivers/pps/clients/pps_parport.c int index; index 147 drivers/pps/clients/pps_parport.c index = ida_simple_get(&pps_client_index, 0, 0, GFP_KERNEL); index 155 drivers/pps/clients/pps_parport.c index); index 176 drivers/pps/clients/pps_parport.c device->index = index; index 187 drivers/pps/clients/pps_parport.c ida_simple_remove(&pps_client_index, index); index 207 drivers/pps/clients/pps_parport.c ida_simple_remove(&pps_client_index, device->index); index 31 drivers/ptp/ptp_chardev.c rq.extts.index = chan; index 36 drivers/ptp/ptp_chardev.c rq.perout.index = chan; index 172 drivers/ptp/ptp_chardev.c if (req.extts.index >= ops->n_ext_ts) { index 203 drivers/ptp/ptp_chardev.c if (req.perout.index >= ops->n_per_out) { index 333 drivers/ptp/ptp_chardev.c pin_index = pd.index; index 365 drivers/ptp/ptp_chardev.c pin_index = pd.index; index 54 drivers/ptp/ptp_clock.c dst->index = src->index; index 176 drivers/ptp/ptp_clock.c ida_simple_remove(&ptp_clocks_map, ptp->index); index 199 drivers/ptp/ptp_clock.c int err = 0, index, major = MAJOR(ptp_devt); index 210 drivers/ptp/ptp_clock.c index = ida_simple_get(&ptp_clocks_map, 0, MINORMASK + 1, GFP_KERNEL); index 211 drivers/ptp/ptp_clock.c if (index < 0) { index 212 drivers/ptp/ptp_clock.c err = index; index 218 drivers/ptp/ptp_clock.c ptp->devid = MKDEV(major, index); index 219 drivers/ptp/ptp_clock.c ptp->index = index; index 227 drivers/ptp/ptp_clock.c ptp->kworker = kthread_create_worker(0, "ptp%d", ptp->index); index 243 drivers/ptp/ptp_clock.c snprintf(pps.name, PPS_MAX_NAME_LEN, "ptp%d", index); index 262 drivers/ptp/ptp_clock.c dev_set_name(&ptp->dev, "ptp%d", ptp->index); index 284 drivers/ptp/ptp_clock.c ida_simple_remove(&ptp_clocks_map, index); index 341 drivers/ptp/ptp_clock.c return ptp->index; index 87 drivers/ptp/ptp_ixp46x.c event.index = 0; index 101 drivers/ptp/ptp_ixp46x.c event.index = 1; index 208 drivers/ptp/ptp_ixp46x.c switch (rq->extts.index) { index 364 drivers/ptp/ptp_pch.c event.index = 0; index 378 drivers/ptp/ptp_pch.c event.index = 1; index 479 drivers/ptp/ptp_pch.c switch (rq->extts.index) { index 34 drivers/ptp/ptp_private.h int index; /* index into clocks.map */ index 77 drivers/ptp/ptp_qoriq.c static int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, index 86 drivers/ptp/ptp_qoriq.c switch (index) { index 102 drivers/ptp/ptp_qoriq.c event.index = index; index 155 drivers/ptp/ptp_qoriq.c event.index = 0; index 292 drivers/ptp/ptp_qoriq.c switch (rq->extts.index) { index 304 drivers/ptp/ptp_qoriq.c extts_clean_up(ptp_qoriq, rq->extts.index, false); index 46 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); index 49 drivers/ptp/ptp_sysfs.c if (req.extts.index >= ops->n_ext_ts) index 89 drivers/ptp/ptp_sysfs.c event.index, event.t.sec, event.t.nsec); index 105 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%u %lld %u %lld %u", &req.perout.index, index 110 drivers/ptp/ptp_sysfs.c if (req.perout.index >= ops->n_per_out) index 216 drivers/ptp/ptp_sysfs.c int index; index 218 drivers/ptp/ptp_sysfs.c index = ptp_pin_name2index(ptp, attr->attr.name); index 219 drivers/ptp/ptp_sysfs.c if (index < 0) index 225 drivers/ptp/ptp_sysfs.c func = ptp->info->pin_config[index].func; index 226 drivers/ptp/ptp_sysfs.c chan = ptp->info->pin_config[index].chan; index 238 drivers/ptp/ptp_sysfs.c int cnt, err, index; index 244 drivers/ptp/ptp_sysfs.c index = ptp_pin_name2index(ptp, attr->attr.name); index 245 drivers/ptp/ptp_sysfs.c if (index < 0) index 250 drivers/ptp/ptp_sysfs.c err = ptp_set_pinfunc(ptp, index, func, chan); index 415 drivers/pwm/core.c unsigned int index, index 421 drivers/pwm/core.c if (!chip || index >= chip->npwm) index 425 drivers/pwm/core.c pwm = &chip->pwms[index]; index 684 drivers/pwm/core.c int index = 0; index 688 drivers/pwm/core.c index = of_property_match_string(np, "pwm-names", con_id); index 689 drivers/pwm/core.c if (index < 0) index 690 drivers/pwm/core.c return ERR_PTR(index); index 693 drivers/pwm/core.c err = of_parse_phandle_with_args(np, "pwms", "#pwm-cells", index, index 727 drivers/pwm/core.c err = of_property_read_string_index(np, "pwm-names", index, index 963 drivers/pwm/core.c pwm = pwm_request_from_chip(chip, chosen->index, con_id ?: dev_id); index 80 drivers/pwm/pwm-atmel-tcb.c unsigned index = pwm->hwpwm % 2; index 107 drivers/pwm/pwm-atmel-tcb.c if (index == 0) index 148 drivers/pwm/pwm-atmel-tcb.c unsigned index = pwm->hwpwm % 2; index 167 drivers/pwm/pwm-atmel-tcb.c if (index == 0) { index 207 drivers/pwm/pwm-atmel-tcb.c unsigned index = pwm->hwpwm % 2; index 228 drivers/pwm/pwm-atmel-tcb.c if (index == 0) { index 251 drivers/pwm/pwm-atmel-tcb.c if (index == 0) { index 268 drivers/pwm/pwm-atmel-tcb.c if (index == 0) index 289 drivers/pwm/pwm-atmel-tcb.c unsigned index = pwm->hwpwm % 2; index 333 drivers/pwm/pwm-atmel-tcb.c if (index == 0) index 33 drivers/pwm/pwm-cros-ec.c static int cros_ec_pwm_set_duty(struct cros_ec_device *ec, u8 index, u16 duty) index 51 drivers/pwm/pwm-cros-ec.c params->index = index; index 56 drivers/pwm/pwm-cros-ec.c static int __cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index, index 79 drivers/pwm/pwm-cros-ec.c params->index = index; index 90 drivers/pwm/pwm-cros-ec.c static int cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index) index 92 drivers/pwm/pwm-cros-ec.c return __cros_ec_pwm_get_duty(ec, index, NULL); index 134 drivers/pwm/pwm-fsl-ftm.c enum fsl_pwm_clk index, index 141 drivers/pwm/pwm-fsl-ftm.c c = clk_get_rate(fpc->clk[index]); index 150 drivers/pwm/pwm-fsl-ftm.c periodcfg->clk_select = index; index 139 drivers/pwm/pwm-lp3943.c int i, index, err; index 142 drivers/pwm/pwm-lp3943.c index = pwm_map->output[i]; index 143 drivers/pwm/pwm-lp3943.c err = lp3943_update_bits(lp3943, mux[index].reg, index 144 drivers/pwm/pwm-lp3943.c mux[index].mask, index 145 drivers/pwm/pwm-lp3943.c val << mux[index].shift); index 71 drivers/pwm/pwm-sti.c unsigned int index; index 329 drivers/pwm/pwm-sti.c ddata->index = 0; index 343 drivers/pwm/pwm-sti.c ret = wait_event_interruptible_timeout(ddata->wait, ddata->index > 1, index 351 drivers/pwm/pwm-sti.c switch (ddata->index) { index 440 drivers/pwm/pwm-sti.c &ddata->snapshot[ddata->index]); index 442 drivers/pwm/pwm-sti.c switch (ddata->index) { index 449 drivers/pwm/pwm-sti.c ddata->index++; index 33 drivers/pwm/pwm-stm32.c u32 index; index 491 drivers/pwm/pwm-stm32.c int index, int level, int filter) index 493 drivers/pwm/pwm-stm32.c u32 bke = (index == 0) ? TIM_BDTR_BKE : TIM_BDTR_BK2E; index 494 drivers/pwm/pwm-stm32.c int shift = (index == 0) ? TIM_BDTR_BKF_SHIFT : TIM_BDTR_BK2F_SHIFT; index 495 drivers/pwm/pwm-stm32.c u32 mask = (index == 0) ? TIM_BDTR_BKE | TIM_BDTR_BKP | TIM_BDTR_BKF index 542 drivers/pwm/pwm-stm32.c breakinput[i].index, index 1364 drivers/rapidio/devices/rio_mport_cdev.c u32 port_idx = md->mport->index; index 2403 drivers/rapidio/devices/rio_mport_cdev.c md->properties.index = mport->index; index 57 drivers/rapidio/devices/tsi721.c static int tsi721_lcread(struct rio_mport *mport, int index, u32 offset, index 81 drivers/rapidio/devices/tsi721.c static int tsi721_lcwrite(struct rio_mport *mport, int index, u32 offset, index 213 drivers/rapidio/devices/tsi721.c static int tsi721_cread_dma(struct rio_mport *mport, int index, u16 destid, index 236 drivers/rapidio/devices/tsi721.c static int tsi721_cwrite_dma(struct rio_mport *mport, int index, u16 destid, index 341 drivers/rapidio/devices/tsi721.c static int tsi721_dsend(struct rio_mport *mport, int index, index 2668 drivers/rapidio/devices/tsi721.c mport->index = 0; index 805 drivers/rapidio/rio-scan.c RIO_PORT_N_ERR_STS_CSR(port->index, port->phys_rmap), index 2215 drivers/rapidio/rio.c static int rio_get_hdid(int index) index 2217 drivers/rapidio/rio.c if (ids_num == 0 || ids_num <= index || index >= RIO_MAX_MPORTS) index 2220 drivers/rapidio/rio.c return hdid[index]; index 201 drivers/regulator/88pm8607.c static int pm8607_list_voltage(struct regulator_dev *rdev, unsigned index) index 206 drivers/regulator/88pm8607.c ret = regulator_list_voltage_table(rdev, index); index 64 drivers/regulator/internal.h int index); index 88 drivers/regulator/internal.h int index) index 248 drivers/regulator/max8907-regulator.c static inline struct regulator_init_data *match_init_data(int index) index 250 drivers/regulator/max8907-regulator.c return max8907_matches[index].init_data; index 253 drivers/regulator/max8907-regulator.c static inline struct device_node *match_of_node(int index) index 255 drivers/regulator/max8907-regulator.c return max8907_matches[index].of_node; index 263 drivers/regulator/max8907-regulator.c static inline struct regulator_init_data *match_init_data(int index) index 268 drivers/regulator/max8907-regulator.c static inline struct device_node *match_of_node(int index) index 625 drivers/regulator/max8998.c int index = MAX8998_BUCK1 - MAX8998_LDO2; index 628 drivers/regulator/max8998.c while (regulators[index].min_uV + index 629 drivers/regulator/max8998.c regulators[index].uV_step * i index 655 drivers/regulator/max8998.c int index = MAX8998_BUCK2 - MAX8998_LDO2; index 658 drivers/regulator/max8998.c while (regulators[index].min_uV + index 659 drivers/regulator/max8998.c regulators[index].uV_step * i index 672 drivers/regulator/max8998.c int index = pdata->regulators[i].id - MAX8998_LDO2; index 679 drivers/regulator/max8998.c rdev = devm_regulator_register(&pdev->dev, ®ulators[index], index 684 drivers/regulator/max8998.c regulators[index].name, ret); index 501 drivers/regulator/of_regulator.c int *index) index 524 drivers/regulator/of_regulator.c *index = i; index 550 drivers/regulator/of_regulator.c int index; index 580 drivers/regulator/of_regulator.c if (!of_coupling_find_node(c_node, node, &index)) { index 587 drivers/regulator/of_regulator.c index, &c_max_spread)) { index 618 drivers/regulator/of_regulator.c int index) index 624 drivers/regulator/of_regulator.c c_node = of_parse_phandle(node, "regulator-coupled-with", index); index 96 drivers/regulator/pcap-regulator.c const u8 index; index 107 drivers/regulator/pcap-regulator.c .index = _index, \ index 156 drivers/regulator/pcap-regulator.c (rdev->desc->n_voltages - 1) << vreg->index, index 157 drivers/regulator/pcap-regulator.c selector << vreg->index); index 170 drivers/regulator/pcap-regulator.c tmp = ((tmp >> vreg->index) & (rdev->desc->n_voltages - 1)); index 551 drivers/regulator/pfuze100-regulator.c static inline struct regulator_init_data *match_init_data(int index) index 553 drivers/regulator/pfuze100-regulator.c return pfuze_matches[index].init_data; index 556 drivers/regulator/pfuze100-regulator.c static inline struct device_node *match_of_node(int index) index 558 drivers/regulator/pfuze100-regulator.c return pfuze_matches[index].of_node; index 566 drivers/regulator/pfuze100-regulator.c static inline struct regulator_init_data *match_init_data(int index) index 571 drivers/regulator/pfuze100-regulator.c static inline struct device_node *match_of_node(int index) index 282 drivers/regulator/pv88090-regulator.c unsigned int conf2, range, index; index 360 drivers/regulator/pv88090-regulator.c index = ((range << 1) | conf2); index 361 drivers/regulator/pv88090-regulator.c if (index > PV88090_ID_BUCK3) { index 363 drivers/regulator/pv88090-regulator.c "Invalid index(%d)\n", index); index 368 drivers/regulator/pv88090-regulator.c = pv88090_buck_vol[index].min_uV; index 370 drivers/regulator/pv88090-regulator.c = pv88090_buck_vol[index].uV_step; index 372 drivers/regulator/pv88090-regulator.c = ((pv88090_buck_vol[index].max_uV) index 373 drivers/regulator/pv88090-regulator.c - (pv88090_buck_vol[index].min_uV)) index 374 drivers/regulator/pv88090-regulator.c /(pv88090_buck_vol[index].uV_step) + 1; index 297 drivers/regulator/s5m8767.c int old_index, index = 0; index 323 drivers/regulator/s5m8767.c index++; index 326 drivers/regulator/s5m8767.c s5m8767->buck_gpioindex = index; index 328 drivers/regulator/s5m8767.c if (index > old_index) index 199 drivers/regulator/tps65218-regulator.c unsigned int index = 0; index 203 drivers/regulator/tps65218-regulator.c while (index < num_currents && ls3_currents[index] != lim_uA) index 204 drivers/regulator/tps65218-regulator.c index++; index 206 drivers/regulator/tps65218-regulator.c if (index == num_currents) index 210 drivers/regulator/tps65218-regulator.c index << __builtin_ctz(dev->desc->csel_mask), index 217 drivers/regulator/tps65218-regulator.c int index = 0; index 221 drivers/regulator/tps65218-regulator.c while (index < num_currents && ls3_currents[index] <= max_uA) index 222 drivers/regulator/tps65218-regulator.c index++; index 224 drivers/regulator/tps65218-regulator.c index--; index 226 drivers/regulator/tps65218-regulator.c if (index < 0 || ls3_currents[index] < min_uA) index 230 drivers/regulator/tps65218-regulator.c index << __builtin_ctz(dev->desc->csel_mask), index 373 drivers/regulator/twl-regulator.c static int twl4030ldo_list_voltage(struct regulator_dev *rdev, unsigned index) index 376 drivers/regulator/twl-regulator.c int mV = info->table[index]; index 306 drivers/regulator/twl6030-regulator.c static int twl6030smps_list_voltage(struct regulator_dev *rdev, unsigned index) index 317 drivers/regulator/twl6030-regulator.c switch (index) { index 337 drivers/regulator/twl6030-regulator.c voltage += (600000 + (12500 * (index - 1))); index 341 drivers/regulator/twl6030-regulator.c switch (index) { index 361 drivers/regulator/twl6030-regulator.c voltage = (1852000 + (38600 * (index - 1))); index 365 drivers/regulator/twl6030-regulator.c switch (index) { index 385 drivers/regulator/twl6030-regulator.c voltage = (2161000 + (38600 * (index - 1))); index 332 drivers/remoteproc/remoteproc_core.c mem = rproc_find_carveout_by_name(rproc, "vdev%dvring%d", rvdev->index, index 343 drivers/remoteproc/remoteproc_core.c rvdev->index, i); index 510 drivers/remoteproc/remoteproc_core.c rvdev->index = rproc->nb_vdev++; index 513 drivers/remoteproc/remoteproc_core.c snprintf(name, sizeof(name), "vdev%dbuffer", rvdev->index); index 1953 drivers/remoteproc/remoteproc_core.c if (rproc->index >= 0) index 1954 drivers/remoteproc/remoteproc_core.c ida_simple_remove(&rproc_dev_index, rproc->index); index 2041 drivers/remoteproc/remoteproc_core.c rproc->index = ida_simple_get(&rproc_dev_index, 0, 0, GFP_KERNEL); index 2042 drivers/remoteproc/remoteproc_core.c if (rproc->index < 0) { index 2043 drivers/remoteproc/remoteproc_core.c dev_err(dev, "ida_simple_get failed: %d\n", rproc->index); index 2048 drivers/remoteproc/remoteproc_core.c dev_set_name(&rproc->dev, "remoteproc%d", rproc->index); index 88 drivers/remoteproc/remoteproc_virtio.c mem = rproc_find_carveout_by_name(rproc, "vdev%dvring%d", rvdev->index, index 345 drivers/remoteproc/remoteproc_virtio.c mem = rproc_find_carveout_by_name(rproc, "vdev%dbuffer", rvdev->index); index 362 drivers/remoteproc/remoteproc_virtio.c rvdev->index); index 126 drivers/remoteproc/st_remoteproc.c int index = 0; index 147 drivers/remoteproc/st_remoteproc.c mem = rproc_of_resm_mem_entry_init(dev, index, index 157 drivers/remoteproc/st_remoteproc.c index++; index 207 drivers/remoteproc/stm32_rproc.c int index = 0; index 239 drivers/remoteproc/stm32_rproc.c mem = rproc_of_resm_mem_entry_init(dev, index, index 249 drivers/remoteproc/stm32_rproc.c index++; index 540 drivers/reset/core.c unsigned int index, bool shared, bool acquired) index 547 drivers/reset/core.c if (rstc->id == index) { index 572 drivers/reset/core.c rstc->id = index; index 601 drivers/reset/core.c const char *id, int index, bool shared, index 614 drivers/reset/core.c index = of_property_match_string(node, index 616 drivers/reset/core.c if (index == -EILSEQ) index 617 drivers/reset/core.c return ERR_PTR(index); index 618 drivers/reset/core.c if (index < 0) index 623 drivers/reset/core.c index, &args); index 711 drivers/reset/core.c lookup->index, index 727 drivers/reset/core.c int index, bool shared, bool optional, index 734 drivers/reset/core.c return __of_reset_control_get(dev->of_node, id, index, shared, index 779 drivers/reset/core.c const char *id, int index, bool shared, index 789 drivers/reset/core.c rstc = __reset_control_get(dev, id, index, shared, optional, acquired); index 50 drivers/reset/reset-a10sr.c int index = ALTR_A10SR_HPS_RST_REG + ALTR_A10SR_REG_OFFSET(offset); index 52 drivers/reset/reset-a10sr.c return regmap_update_bits(a10r->regmap, index, mask, assert ? 0 : mask); index 74 drivers/reset/reset-a10sr.c int index = ALTR_A10SR_HPS_RST_REG + ALTR_A10SR_REG_OFFSET(offset); index 77 drivers/reset/reset-a10sr.c ret = regmap_read(a10r->regmap, index, &value); index 286 drivers/rtc/rtc-ac100.c static int ac100_clkout_set_parent(struct clk_hw *hw, u8 index) index 292 drivers/rtc/rtc-ac100.c index ? BIT(AC100_CLKOUT_MUX_SHIFT) : 0); index 183 drivers/rtc/rtc-sun6i.c static int sun6i_rtc_osc_set_parent(struct clk_hw *hw, u8 index) index 189 drivers/rtc/rtc-sun6i.c if (index > 1) index 196 drivers/rtc/rtc-sun6i.c val |= index ? SUN6I_LOSC_CTRL_EXT_OSC : 0; index 199 drivers/rtc/rtc-sun6i.c val |= index ? SUN6I_LOSC_CTRL_EXT_LOSC_EN : 0; index 759 drivers/s390/block/dasd.c #define dasd_profile_counter(value, index) \ index 761 drivers/s390/block/dasd.c for (index = 0; index < 31 && value >> (2+index); index++) \ index 860 drivers/s390/block/dcssblk.c unsigned long index; index 894 drivers/s390/block/dcssblk.c index = (bio->bi_iter.bi_sector >> 3); index 898 drivers/s390/block/dcssblk.c source_addr = dev_info->start + (index<<12) + bytes_done; index 190 drivers/s390/block/xpram.c unsigned int index; index 205 drivers/s390/block/xpram.c index = (bio->bi_iter.bi_sector >> 3) + xdev->offset; index 215 drivers/s390/block/xpram.c if (xpram_page_in(page_addr, index) != 0) index 218 drivers/s390/block/xpram.c if (xpram_page_out(page_addr, index) != 0) index 223 drivers/s390/block/xpram.c index++; index 845 drivers/s390/char/con3215.c static struct tty_driver *con3215_device(struct console *c, int *index) index 847 drivers/s390/char/con3215.c *index = c->index; index 964 drivers/s390/char/con3215.c raw = raw3215[tty->index]; index 516 drivers/s390/char/con3270.c con3270_device(struct console *c, int *index) index 518 drivers/s390/char/con3270.c *index = c->index; index 446 drivers/s390/char/fs3270.c minor = tty->index; index 115 drivers/s390/char/monreader.c static inline u8 mon_mca_type(struct mon_msg *monmsg, u8 index) index 117 drivers/s390/char/monreader.c return *((u8 *) mon_mca_start(monmsg) + monmsg->mca_offset + index); index 221 drivers/s390/char/sclp_con.c sclp_console_device(struct console *c, int *index) index 223 drivers/s390/char/sclp_con.c *index = c->index; index 290 drivers/s390/char/sclp_con.c .index = 0 /* ttyS0 */ index 847 drivers/s390/char/sclp_vt220.c sclp_vt220_con_device(struct console *c, int *index) index 849 drivers/s390/char/sclp_vt220.c *index = 0; index 878 drivers/s390/char/sclp_vt220.c .index = SCLP_VT220_CONSOLE_INDEX index 964 drivers/s390/char/tty3270.c view = raw3270_find_view(&tty3270_fn, tty->index + RAW3270_FIRSTMINOR); index 974 drivers/s390/char/tty3270.c if (tty3270_max_index < tty->index + 1) index 975 drivers/s390/char/tty3270.c tty3270_max_index = tty->index + 1; index 983 drivers/s390/char/tty3270.c tty->index + RAW3270_FIRSTMINOR, index 595 drivers/s390/cio/cmf.c static u64 read_cmb(struct ccw_device *cdev, int index) index 609 drivers/s390/cio/cmf.c switch (index) { index 849 drivers/s390/cio/cmf.c static u64 read_cmbe(struct ccw_device *cdev, int index) index 863 drivers/s390/cio/cmf.c switch (index) { index 1214 drivers/s390/cio/cmf.c u64 cmf_read(struct ccw_device *cdev, int index) index 1216 drivers/s390/cio/cmf.c return cmbops->read(cdev, index); index 921 drivers/s390/cio/css.c int index) index 231 drivers/s390/cio/vfio_ccw_ops.c unsigned int index = VFIO_CCW_OFFSET_TO_INDEX(*ppos); index 236 drivers/s390/cio/vfio_ccw_ops.c if (index >= VFIO_CCW_NUM_REGIONS + private->num_regions) index 239 drivers/s390/cio/vfio_ccw_ops.c switch (index) { index 243 drivers/s390/cio/vfio_ccw_ops.c index -= VFIO_CCW_NUM_REGIONS; index 244 drivers/s390/cio/vfio_ccw_ops.c return private->region[index].ops->read(private, buf, count, index 286 drivers/s390/cio/vfio_ccw_ops.c unsigned int index = VFIO_CCW_OFFSET_TO_INDEX(*ppos); index 291 drivers/s390/cio/vfio_ccw_ops.c if (index >= VFIO_CCW_NUM_REGIONS + private->num_regions) index 294 drivers/s390/cio/vfio_ccw_ops.c switch (index) { index 298 drivers/s390/cio/vfio_ccw_ops.c index -= VFIO_CCW_NUM_REGIONS; index 299 drivers/s390/cio/vfio_ccw_ops.c return private->region[index].ops->write(private, buf, count, index 327 drivers/s390/cio/vfio_ccw_ops.c switch (info->index) { index 342 drivers/s390/cio/vfio_ccw_ops.c if (info->index >= index 346 drivers/s390/cio/vfio_ccw_ops.c info->index = array_index_nospec(info->index, index 350 drivers/s390/cio/vfio_ccw_ops.c i = info->index - VFIO_CCW_NUM_REGIONS; index 352 drivers/s390/cio/vfio_ccw_ops.c info->offset = VFIO_CCW_INDEX_TO_OFFSET(info->index); index 387 drivers/s390/cio/vfio_ccw_ops.c if (info->index != VFIO_CCW_IO_IRQ_INDEX) index 538 drivers/s390/cio/vfio_ccw_ops.c if (info.argsz < minsz || info.index >= VFIO_CCW_NUM_IRQS) index 27 drivers/s390/cio/vfio_ccw_private.h #define VFIO_CCW_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_CCW_OFFSET_SHIFT) index 586 drivers/s390/net/lcs.c int index; index 589 drivers/s390/net/lcs.c index = channel->io_idx; index 591 drivers/s390/net/lcs.c if (channel->iob[index].state == LCS_BUF_STATE_EMPTY) { index 592 drivers/s390/net/lcs.c channel->iob[index].state = LCS_BUF_STATE_LOCKED; index 593 drivers/s390/net/lcs.c return channel->iob + index; index 595 drivers/s390/net/lcs.c index = (index + 1) & (LCS_NUM_BUFFS - 1); index 596 drivers/s390/net/lcs.c } while (index != channel->io_idx); index 642 drivers/s390/net/lcs.c static void __lcs_ready_buffer_bits(struct lcs_channel *channel, int index) index 647 drivers/s390/net/lcs.c prev = (index - 1) & (LCS_NUM_BUFFS - 1); index 648 drivers/s390/net/lcs.c next = (index + 1) & (LCS_NUM_BUFFS - 1); index 654 drivers/s390/net/lcs.c channel->ccws[index].flags |= CCW_FLAG_PCI; index 656 drivers/s390/net/lcs.c channel->ccws[index].flags &= ~CCW_FLAG_SUSPEND; index 664 drivers/s390/net/lcs.c int index, rc; index 671 drivers/s390/net/lcs.c index = buffer - channel->iob; index 673 drivers/s390/net/lcs.c channel->ccws[index].count = buffer->count; index 675 drivers/s390/net/lcs.c __lcs_ready_buffer_bits(channel, index); index 689 drivers/s390/net/lcs.c int index, prev, next; index 694 drivers/s390/net/lcs.c index = buffer - channel->iob; index 695 drivers/s390/net/lcs.c prev = (index - 1) & (LCS_NUM_BUFFS - 1); index 696 drivers/s390/net/lcs.c next = (index + 1) & (LCS_NUM_BUFFS - 1); index 698 drivers/s390/net/lcs.c channel->ccws[index].flags |= CCW_FLAG_SUSPEND; index 699 drivers/s390/net/lcs.c channel->ccws[index].flags &= ~CCW_FLAG_PCI; index 1366 drivers/s390/net/lcs.c int rc, index; index 1406 drivers/s390/net/lcs.c index = (struct ccw1 *) __va((addr_t) irb->scsw.cmd.cpa) index 1411 drivers/s390/net/lcs.c index = (index - 1) & (LCS_NUM_BUFFS - 1); index 1412 drivers/s390/net/lcs.c while (channel->io_idx != index) { index 3122 drivers/s390/net/qeth_core_main.c static void qeth_queue_input_buffer(struct qeth_card *card, int index) index 3131 drivers/s390/net/qeth_core_main.c count = (index < queue->next_buf_to_init)? index 3133 drivers/s390/net/qeth_core_main.c (queue->next_buf_to_init - index) : index 3135 drivers/s390/net/qeth_core_main.c (queue->next_buf_to_init + QDIO_MAX_BUFFERS_PER_Q - index); index 3163 drivers/s390/net/qeth_core_main.c card->reclaim_index = index; index 3276 drivers/s390/net/qeth_core_main.c static void qeth_flush_buffers(struct qeth_qdio_out_q *queue, int index, index 3285 drivers/s390/net/qeth_core_main.c for (i = index; i < index + count; ++i) { index 3327 drivers/s390/net/qeth_core_main.c queue->queue_no, index, count); index 3339 drivers/s390/net/qeth_core_main.c QETH_CARD_TEXT_(queue->card, 2, " idx%d", index); index 3360 drivers/s390/net/qeth_core_main.c int index; index 3377 drivers/s390/net/qeth_core_main.c index = queue->next_buf_to_fill; index 3388 drivers/s390/net/qeth_core_main.c qeth_flush_buffers(queue, index, flush_cnt); index 42 drivers/s390/virtio/virtio_ccw.c __u16 index; index 88 drivers/s390/virtio/virtio_ccw.c __u16 index; index 95 drivers/s390/virtio/virtio_ccw.c __u16 index; index 103 drivers/s390/virtio/virtio_ccw.c __u8 index; index 232 drivers/s390/virtio/virtio_ccw.c static struct airq_info *new_airq_info(int index) index 248 drivers/s390/virtio/virtio_ccw.c info->summary_indicator_idx = index; index 424 drivers/s390/virtio/virtio_ccw.c info->cookie = do_kvm_notify(schid, vq->index, info->cookie); index 431 drivers/s390/virtio/virtio_ccw.c struct ccw1 *ccw, int index) index 435 drivers/s390/virtio/virtio_ccw.c vcdev->dma_area->config_block.index = index; index 452 drivers/s390/virtio/virtio_ccw.c unsigned int index = vq->index; index 463 drivers/s390/virtio/virtio_ccw.c info->info_block->l.index = index; index 468 drivers/s390/virtio/virtio_ccw.c info->info_block->s.index = index; index 478 drivers/s390/virtio/virtio_ccw.c VIRTIO_CCW_DOING_SET_VQ | index); index 485 drivers/s390/virtio/virtio_ccw.c ret, index); index 562 drivers/s390/virtio/virtio_ccw.c info->info_block->l.index = i; index 567 drivers/s390/virtio/virtio_ccw.c info->info_block->s.index = i; index 774 drivers/s390/virtio/virtio_ccw.c features->index = 0; index 791 drivers/s390/virtio/virtio_ccw.c features->index = 1; index 842 drivers/s390/virtio/virtio_ccw.c features->index = 0; index 856 drivers/s390/virtio/virtio_ccw.c features->index = 1; index 1049 drivers/s390/virtio/virtio_ccw.c int index) index 1058 drivers/s390/virtio/virtio_ccw.c if (info->vq->index == index) { index 108 drivers/sbus/char/bbc_envctrl.c fp->index, index 132 drivers/sbus/char/bbc_envctrl.c tp->index, index 147 drivers/sbus/char/bbc_envctrl.c if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || index 148 drivers/sbus/char/bbc_envctrl.c tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { index 151 drivers/sbus/char/bbc_envctrl.c } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || index 152 drivers/sbus/char/bbc_envctrl.c tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { index 159 drivers/sbus/char/bbc_envctrl.c tp->index, type, val); index 175 drivers/sbus/char/bbc_envctrl.c amb_temp_limits[tp->index].high_warn) { index 178 drivers/sbus/char/bbc_envctrl.c tp->index, (int) tp->curr_amb_temp); index 181 drivers/sbus/char/bbc_envctrl.c amb_temp_limits[tp->index].low_warn) { index 184 drivers/sbus/char/bbc_envctrl.c tp->index, (int) tp->curr_amb_temp); index 189 drivers/sbus/char/bbc_envctrl.c } else if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_warn || index 190 drivers/sbus/char/bbc_envctrl.c tp->curr_amb_temp < amb_temp_limits[tp->index].low_warn) index 194 drivers/sbus/char/bbc_envctrl.c if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown || index 195 drivers/sbus/char/bbc_envctrl.c tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) { index 203 drivers/sbus/char/bbc_envctrl.c s8 amb_goal_hi = amb_temp_limits[tp->index].high_warn - 10; index 230 drivers/sbus/char/bbc_envctrl.c cpu_temp_limits[tp->index].high_warn) { index 233 drivers/sbus/char/bbc_envctrl.c tp->index, (int) tp->curr_cpu_temp); index 236 drivers/sbus/char/bbc_envctrl.c cpu_temp_limits[tp->index].low_warn) { index 239 drivers/sbus/char/bbc_envctrl.c tp->index, (int) tp->curr_cpu_temp); index 244 drivers/sbus/char/bbc_envctrl.c } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_warn || index 245 drivers/sbus/char/bbc_envctrl.c tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_warn) index 249 drivers/sbus/char/bbc_envctrl.c if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown || index 250 drivers/sbus/char/bbc_envctrl.c tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) { index 258 drivers/sbus/char/bbc_envctrl.c s8 cpu_goal_hi = cpu_temp_limits[tp->index].high_warn - 10; index 465 drivers/sbus/char/bbc_envctrl.c tp->index = temp_idx; index 477 drivers/sbus/char/bbc_envctrl.c bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].high_pwroff, index 479 drivers/sbus/char/bbc_envctrl.c bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].low_pwroff, index 481 drivers/sbus/char/bbc_envctrl.c bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].high_pwroff, index 483 drivers/sbus/char/bbc_envctrl.c bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].low_pwroff, index 512 drivers/sbus/char/bbc_envctrl.c fp->index = fan_idx; index 69 drivers/sbus/char/bbc_i2c.c struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) index 77 drivers/sbus/char/bbc_i2c.c if (curidx == index) index 84 drivers/sbus/char/bbc_i2c.c if (curidx == index) index 294 drivers/sbus/char/bbc_i2c.c static struct bbc_i2c_bus * attach_one_i2c(struct platform_device *op, int index) index 323 drivers/sbus/char/bbc_i2c.c bp->index = index; index 345 drivers/sbus/char/bbc_i2c.c bp->index, bp->i2c_control_regs, entry, bp->own, bp->clock); index 366 drivers/sbus/char/bbc_i2c.c int err, index = 0; index 368 drivers/sbus/char/bbc_i2c.c bp = attach_one_i2c(op, index); index 23 drivers/sbus/char/bbc_i2c.h int index; index 45 drivers/sbus/char/bbc_i2c.h int index; index 56 drivers/sbus/char/bbc_i2c.h int index; index 1031 drivers/sbus/char/envctrl.c int index, err; index 1040 drivers/sbus/char/envctrl.c index = 0; index 1044 drivers/sbus/char/envctrl.c i2c_childlist[index].i2ctype = I2C_GPIO; index 1045 drivers/sbus/char/envctrl.c envctrl_init_i2c_child(dp, &(i2c_childlist[index++])); index 1047 drivers/sbus/char/envctrl.c i2c_childlist[index].i2ctype = I2C_ADC; index 1048 drivers/sbus/char/envctrl.c envctrl_init_i2c_child(dp, &(i2c_childlist[index++])); index 1079 drivers/sbus/char/envctrl.c for (--index; index >= 0; --index) { index 1081 drivers/sbus/char/envctrl.c (I2C_ADC == i2c_childlist[index].i2ctype) ? "adc" : index 1082 drivers/sbus/char/envctrl.c ((I2C_GPIO == i2c_childlist[index].i2ctype) ? "gpio" : "unknown"), index 1083 drivers/sbus/char/envctrl.c i2c_childlist[index].addr, (0 == index) ? "\n" : " "); index 1098 drivers/sbus/char/envctrl.c for (index = 0; index < ENVCTRL_MAX_CPU * 2; index++) index 1099 drivers/sbus/char/envctrl.c kfree(i2c_childlist[index].tables); index 1106 drivers/sbus/char/envctrl.c int index; index 1113 drivers/sbus/char/envctrl.c for (index = 0; index < ENVCTRL_MAX_CPU * 2; index++) index 1114 drivers/sbus/char/envctrl.c kfree(i2c_childlist[index].tables); index 1971 drivers/scsi/3w-9xxx.c int index; index 1973 drivers/scsi/3w-9xxx.c for (index = 0; ((code != table[index].code) && index 1974 drivers/scsi/3w-9xxx.c (table[index].text != (char *)0)); index++); index 1975 drivers/scsi/3w-9xxx.c return(table[index].text); index 1250 drivers/scsi/BusLogic.h int index = 0; index 1253 drivers/scsi/BusLogic.h index = (amount < 1 * 1024 ? 0 : 1); index 1255 drivers/scsi/BusLogic.h index = (amount < 4 * 1024 ? 2 : 3); index 1258 drivers/scsi/BusLogic.h index = (amount < 16 * 1024 ? 4 : 5); index 1260 drivers/scsi/BusLogic.h index = (amount < 64 * 1024 ? 6 : 7); index 1262 drivers/scsi/BusLogic.h index = (amount < 256 * 1024 ? 8 : 9); index 1263 drivers/scsi/BusLogic.h cmdsz_buckets[index]++; index 805 drivers/scsi/FlashPoint.c static unsigned char FPT_RdStack(u32 port, unsigned char index); index 806 drivers/scsi/FlashPoint.c static void FPT_WrStack(u32 portBase, unsigned char index, index 1460 drivers/scsi/FlashPoint.c static unsigned char FPT_RdStack(u32 portBase, unsigned char index) index 1462 drivers/scsi/FlashPoint.c WR_HARPOON(portBase + hp_stack_addr, index); index 1466 drivers/scsi/FlashPoint.c static void FPT_WrStack(u32 portBase, unsigned char index, unsigned char data) index 1468 drivers/scsi/FlashPoint.c WR_HARPOON(portBase + hp_stack_addr, index); index 3532 drivers/scsi/FlashPoint.c unsigned char index; index 3534 drivers/scsi/FlashPoint.c index = p_id; index 3536 drivers/scsi/FlashPoint.c switch (index) { index 3539 drivers/scsi/FlashPoint.c index = 12; /* hp_synctarg_0 */ index 3542 drivers/scsi/FlashPoint.c index = 13; /* hp_synctarg_1 */ index 3545 drivers/scsi/FlashPoint.c index = 14; /* hp_synctarg_2 */ index 3548 drivers/scsi/FlashPoint.c index = 15; /* hp_synctarg_3 */ index 3551 drivers/scsi/FlashPoint.c index = 8; /* hp_synctarg_4 */ index 3554 drivers/scsi/FlashPoint.c index = 9; /* hp_synctarg_5 */ index 3557 drivers/scsi/FlashPoint.c index = 10; /* hp_synctarg_6 */ index 3560 drivers/scsi/FlashPoint.c index = 11; /* hp_synctarg_7 */ index 3563 drivers/scsi/FlashPoint.c index = 4; /* hp_synctarg_8 */ index 3566 drivers/scsi/FlashPoint.c index = 5; /* hp_synctarg_9 */ index 3569 drivers/scsi/FlashPoint.c index = 6; /* hp_synctarg_10 */ index 3572 drivers/scsi/FlashPoint.c index = 7; /* hp_synctarg_11 */ index 3575 drivers/scsi/FlashPoint.c index = 0; /* hp_synctarg_12 */ index 3578 drivers/scsi/FlashPoint.c index = 1; /* hp_synctarg_13 */ index 3581 drivers/scsi/FlashPoint.c index = 2; /* hp_synctarg_14 */ index 3584 drivers/scsi/FlashPoint.c index = 3; /* hp_synctarg_15 */ index 3588 drivers/scsi/FlashPoint.c WR_HARPOON(p_port + hp_synctarg_base + index, p_sync_value); index 6511 drivers/scsi/FlashPoint.c unsigned short index, temp, max_wd_cnt; index 6522 drivers/scsi/FlashPoint.c for (index = 2; index < max_wd_cnt; index++) { index 6524 drivers/scsi/FlashPoint.c temp += FPT_utilEERead(p_port, index); index 6536 drivers/scsi/FlashPoint.c for (index = 0; index < max_wd_cnt; index++) { index 6538 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x0000, index); index 6601 drivers/scsi/FlashPoint.c index = ((EE_SCAMBASE / 2) + (7 * 16)); index 6602 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, (0x0700 + TYPE_CODE0), index); index 6604 drivers/scsi/FlashPoint.c index++; index 6605 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x5542, index); /*Vendor ID code */ index 6607 drivers/scsi/FlashPoint.c index++; index 6608 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x4C53, index); index 6610 drivers/scsi/FlashPoint.c index++; index 6611 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x474F, index); index 6613 drivers/scsi/FlashPoint.c index++; index 6614 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x4349, index); index 6616 drivers/scsi/FlashPoint.c index++; index 6617 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x5442, index); /*Vendor unique code */ index 6619 drivers/scsi/FlashPoint.c index++; index 6620 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x202D, index); index 6622 drivers/scsi/FlashPoint.c index++; index 6623 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x3339, index); index 6625 drivers/scsi/FlashPoint.c index++; /*Serial # */ index 6626 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x2030, index); /* 01234567 */ index 6628 drivers/scsi/FlashPoint.c index++; index 6629 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x5453, index); index 6631 drivers/scsi/FlashPoint.c index++; index 6632 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x5645, index); index 6634 drivers/scsi/FlashPoint.c index++; index 6635 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x2045, index); index 6637 drivers/scsi/FlashPoint.c index++; index 6638 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x202F, index); index 6640 drivers/scsi/FlashPoint.c index++; index 6641 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x4F4A, index); index 6643 drivers/scsi/FlashPoint.c index++; index 6644 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x204E, index); index 6646 drivers/scsi/FlashPoint.c index++; index 6647 drivers/scsi/FlashPoint.c FPT_utilEEWrite(p_port, 0x3539, index); index 669 drivers/scsi/a100u2w.c u8 index; index 672 drivers/scsi/a100u2w.c channel = host->index; index 674 drivers/scsi/a100u2w.c for (index = 0; index < 32; index++) { index 675 drivers/scsi/a100u2w.c if ((host->allocation_map[channel][i] >> index) & 0x01) { index 676 drivers/scsi/a100u2w.c host->allocation_map[channel][i] &= ~(1 << index); index 677 drivers/scsi/a100u2w.c idx = index + 32 * i; index 719 drivers/scsi/a100u2w.c u8 index, i, channel; index 722 drivers/scsi/a100u2w.c channel = host->index; /* Channel */ index 723 drivers/scsi/a100u2w.c index = scb->scbidx; index 724 drivers/scsi/a100u2w.c i = index / 32; index 725 drivers/scsi/a100u2w.c index %= 32; index 726 drivers/scsi/a100u2w.c host->allocation_map[channel][i] |= (1 << index); index 231 drivers/scsi/a100u2w.h u8 index; /* Index (Channel)*/ index 452 drivers/scsi/aacraid/aachba.c u32 index; index 506 drivers/scsi/aacraid/aachba.c for (index = 0; index < dev->maximum_num_containers; index++) { index 507 drivers/scsi/aacraid/aachba.c dev->fsa_dev[index].devname[0] = '\0'; index 508 drivers/scsi/aacraid/aachba.c dev->fsa_dev[index].valid = 0; index 510 drivers/scsi/aacraid/aachba.c status = aac_probe_container(dev, index); index 2712 drivers/scsi/aacraid/aacraid.h int aac_queue_get(struct aac_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned long *nonotify); index 357 drivers/scsi/aacraid/commsup.c static int aac_get_entry (struct aac_dev * dev, u32 qid, struct aac_entry **entry, u32 * index, unsigned long *nonotify) index 371 drivers/scsi/aacraid/commsup.c idx = *index = le32_to_cpu(*(q->headers.producer)); index 385 drivers/scsi/aacraid/commsup.c if (*index >= ADAP_NORM_CMD_ENTRIES) index 386 drivers/scsi/aacraid/commsup.c *index = 0; /* Wrap to front of the Producer Queue. */ index 388 drivers/scsi/aacraid/commsup.c if (*index >= ADAP_NORM_RESP_ENTRIES) index 389 drivers/scsi/aacraid/commsup.c *index = 0; /* Wrap to front of the Producer Queue. */ index 393 drivers/scsi/aacraid/commsup.c if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { index 398 drivers/scsi/aacraid/commsup.c *entry = q->base + *index; index 419 drivers/scsi/aacraid/commsup.c int aac_queue_get(struct aac_dev * dev, u32 * index, u32 qid, struct hw_fib * hw_fib, int wait, struct fib * fibptr, unsigned long *nonotify) index 426 drivers/scsi/aacraid/commsup.c while (!aac_get_entry(dev, qid, &entry, index, nonotify)) { index 435 drivers/scsi/aacraid/commsup.c while (!aac_get_entry(dev, qid, &entry, index, nonotify)) { index 800 drivers/scsi/aacraid/commsup.c u32 index; index 811 drivers/scsi/aacraid/commsup.c index = 0; index 813 drivers/scsi/aacraid/commsup.c index = le32_to_cpu(*q->headers.consumer); index 814 drivers/scsi/aacraid/commsup.c *entry = q->base + index; index 910 drivers/scsi/aacraid/commsup.c u32 index; index 920 drivers/scsi/aacraid/commsup.c aac_queue_get(dev, &index, AdapNormRespQueue, hw_fib, 1, NULL, &nointr); index 921 drivers/scsi/aacraid/commsup.c *(q->headers.producer) = cpu_to_le32(index + 1); index 1025 drivers/scsi/aacraid/commsup.c static inline int aac_aif_data(struct aac_aifcmd *aifcmd, uint32_t index) index 1027 drivers/scsi/aacraid/commsup.c return le32_to_cpu(((__le32 *)aifcmd->data)[index]); index 1468 drivers/scsi/aacraid/commsup.c int index, quirks; index 1514 drivers/scsi/aacraid/commsup.c for (index = 0; index < num_of_fibs; index++) { index 1516 drivers/scsi/aacraid/commsup.c struct fib *fib = &aac->fibs[index]; index 1537 drivers/scsi/aacraid/commsup.c index = aac->cardtype; index 1558 drivers/scsi/aacraid/commsup.c quirks = aac_get_driver_ident(index)->quirks; index 1574 drivers/scsi/aacraid/commsup.c if ((retval = (*(aac_get_driver_ident(index)->init))(aac))) index 58 drivers/scsi/aacraid/dpcsup.c u32 index = le32_to_cpu(entry->addr); index 59 drivers/scsi/aacraid/dpcsup.c fast = index & 0x01; index 60 drivers/scsi/aacraid/dpcsup.c fib = &dev->fibs[index >> 2]; index 174 drivers/scsi/aacraid/dpcsup.c u32 index; index 177 drivers/scsi/aacraid/dpcsup.c index = le32_to_cpu(entry->addr) / sizeof(struct hw_fib); index 178 drivers/scsi/aacraid/dpcsup.c hw_fib = &dev->aif_base_va[index]; index 270 drivers/scsi/aacraid/dpcsup.c unsigned int aac_intr_normal(struct aac_dev *dev, u32 index, int isAif, index 274 drivers/scsi/aacraid/dpcsup.c dprintk((KERN_INFO "aac_intr_normal(%p,%x)\n", dev, index)); index 294 drivers/scsi/aacraid/dpcsup.c fib->hbacmd_size = index; /* store event type */ index 299 drivers/scsi/aacraid/dpcsup.c (((uintptr_t)(dev->regs.sa)) + index), index 333 drivers/scsi/aacraid/dpcsup.c struct fib *fib = &dev->fibs[index]; index 1590 drivers/scsi/aacraid/linit.c unsigned index = id->driver_data; index 1621 drivers/scsi/aacraid/linit.c if (!(aac_drivers[index].quirks & AAC_QUIRK_SRC)) { index 1633 drivers/scsi/aacraid/linit.c if (aac_drivers[index].quirks & AAC_QUIRK_31BIT) { index 1668 drivers/scsi/aacraid/linit.c aac->cardtype = index; index 1689 drivers/scsi/aacraid/linit.c if ((*aac_drivers[index].init)(aac)) { index 1720 drivers/scsi/aacraid/linit.c aac->maximum_num_channels = aac_drivers[index].channels; index 1728 drivers/scsi/aacraid/linit.c if ((aac_drivers[index].quirks & AAC_QUIRK_34SG) && index 1734 drivers/scsi/aacraid/linit.c if ((aac_drivers[index].quirks & AAC_QUIRK_17SG) && index 1748 drivers/scsi/aacraid/linit.c if (aac_drivers[index].quirks & AAC_QUIRK_34SG) index 1775 drivers/scsi/aacraid/linit.c if (!aac->sa_firmware && aac_drivers[index].quirks & AAC_QUIRK_SRC) index 43 drivers/scsi/aacraid/src.c u32 index, handle; index 141 drivers/scsi/aacraid/src.c index = dev->host_rrq_idx[vector_no]; index 146 drivers/scsi/aacraid/src.c handle = le32_to_cpu((dev->host_rrq[index]) index 158 drivers/scsi/aacraid/src.c dev->host_rrq[index++] = 0; index 159 drivers/scsi/aacraid/src.c if (index == (vector_no + 1) * dev->vector_cap) index 160 drivers/scsi/aacraid/src.c index = vector_no * dev->vector_cap; index 161 drivers/scsi/aacraid/src.c dev->host_rrq_idx[vector_no] = index; index 4238 drivers/scsi/advansys.c int index; index 4242 drivers/scsi/advansys.c index = offset / sizeof(ADV_CARR_T); index 4243 drivers/scsi/advansys.c return &adv_dvc->carrier[index]; index 550 drivers/scsi/aic7xxx/aic79xx_core.c ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index) index 552 drivers/scsi/aic7xxx/aic79xx_core.c return (((uint8_t *)&ahd->targetcmds[index]) index 5050 drivers/scsi/aic7xxx/aic79xx_core.c u_int index; index 5053 drivers/scsi/aic7xxx/aic79xx_core.c index = 0; index 5055 drivers/scsi/aic7xxx/aic79xx_core.c while (index < ahd->msgout_len) { index 5056 drivers/scsi/aic7xxx/aic79xx_core.c if (ahd->msgout_buf[index] == MSG_EXTENDED) { index 5059 drivers/scsi/aic7xxx/aic79xx_core.c end_index = index + 1 + ahd->msgout_buf[index + 1]; index 5060 drivers/scsi/aic7xxx/aic79xx_core.c if (ahd->msgout_buf[index+2] == msgval index 5066 drivers/scsi/aic7xxx/aic79xx_core.c } else if (ahd->msgout_index > index) index 5069 drivers/scsi/aic7xxx/aic79xx_core.c index = end_index; index 5070 drivers/scsi/aic7xxx/aic79xx_core.c } else if (ahd->msgout_buf[index] >= MSG_SIMPLE_TASK index 5071 drivers/scsi/aic7xxx/aic79xx_core.c && ahd->msgout_buf[index] <= MSG_IGN_WIDE_RESIDUE) { index 5074 drivers/scsi/aic7xxx/aic79xx_core.c index += 2; index 5078 drivers/scsi/aic7xxx/aic79xx_core.c && ahd->msgout_index > index index 5079 drivers/scsi/aic7xxx/aic79xx_core.c && (ahd->msgout_buf[index] == msgval index 5080 drivers/scsi/aic7xxx/aic79xx_core.c || ((ahd->msgout_buf[index] & MSG_IDENTIFYFLAG) != 0 index 5083 drivers/scsi/aic7xxx/aic79xx_core.c index++; index 1014 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_setup_iocell_info(u_long index, int instance, int targ, int32_t value) index 1022 drivers/scsi/aic7xxx/aic79xx_osm.c iocell_info[index] = value & 0xFFFF; index 1024 drivers/scsi/aic7xxx/aic79xx_osm.c printk("iocell[%d:%ld] = %d\n", instance, index, value); index 388 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index) index 391 drivers/scsi/aic7xxx/aic7xxx_core.c + (sizeof(struct hardware_scb) * index)); index 417 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index) index 419 drivers/scsi/aic7xxx/aic7xxx_core.c return (((uint8_t *)&ahc->targetcmds[index]) - ahc->qoutfifo); index 3533 drivers/scsi/aic7xxx/aic7xxx_core.c u_int index; index 3536 drivers/scsi/aic7xxx/aic7xxx_core.c index = 0; index 3538 drivers/scsi/aic7xxx/aic7xxx_core.c while (index < ahc->msgout_len) { index 3539 drivers/scsi/aic7xxx/aic7xxx_core.c if (ahc->msgout_buf[index] == MSG_EXTENDED) { index 3542 drivers/scsi/aic7xxx/aic7xxx_core.c end_index = index + 1 + ahc->msgout_buf[index + 1]; index 3543 drivers/scsi/aic7xxx/aic7xxx_core.c if (ahc->msgout_buf[index+2] == msgval index 3549 drivers/scsi/aic7xxx/aic7xxx_core.c } else if (ahc->msgout_index > index) index 3552 drivers/scsi/aic7xxx/aic7xxx_core.c index = end_index; index 3553 drivers/scsi/aic7xxx/aic7xxx_core.c } else if (ahc->msgout_buf[index] >= MSG_SIMPLE_TASK index 3554 drivers/scsi/aic7xxx/aic7xxx_core.c && ahc->msgout_buf[index] <= MSG_IGN_WIDE_RESIDUE) { index 3557 drivers/scsi/aic7xxx/aic7xxx_core.c index += 2; index 3561 drivers/scsi/aic7xxx/aic7xxx_core.c && ahc->msgout_buf[index] == msgval index 3562 drivers/scsi/aic7xxx/aic7xxx_core.c && ahc->msgout_index > index) index 3564 drivers/scsi/aic7xxx/aic7xxx_core.c index++; index 921 drivers/scsi/aic94xx/aic94xx_dump.c le16_to_cpu(ascb->scb->header.index), index 729 drivers/scsi/aic94xx/aic94xx_hwi.c ascb = asd_tc_index_find(seq, (int)le16_to_cpu(dl->index)); index 1057 drivers/scsi/aic94xx/aic94xx_hwi.c ascb->scb->header.index = cpu_to_le16((u16)ascb->tc_index); index 282 drivers/scsi/aic94xx/aic94xx_hwi.h static inline void asd_tc_index_release(struct asd_seq_data *seq, int index) index 284 drivers/scsi/aic94xx/aic94xx_hwi.h seq->tc_index_array[index] = NULL; index 285 drivers/scsi/aic94xx/aic94xx_hwi.h clear_bit(index, seq->tc_index_bitmap); index 292 drivers/scsi/aic94xx/aic94xx_hwi.h int index; index 294 drivers/scsi/aic94xx/aic94xx_hwi.h index = find_first_zero_bit(seq->tc_index_bitmap, index 296 drivers/scsi/aic94xx/aic94xx_hwi.h if (index == seq->tc_index_bitmap_bits) index 299 drivers/scsi/aic94xx/aic94xx_hwi.h seq->tc_index_array[index] = ptr; index 300 drivers/scsi/aic94xx/aic94xx_hwi.h set_bit(index, seq->tc_index_bitmap); index 302 drivers/scsi/aic94xx/aic94xx_hwi.h return index; index 307 drivers/scsi/aic94xx/aic94xx_hwi.h static inline void *asd_tc_index_find(struct asd_seq_data *seq, int index) index 309 drivers/scsi/aic94xx/aic94xx_hwi.h return seq->tc_index_array[index]; index 268 drivers/scsi/aic94xx/aic94xx_sas.h __le16 index; /* transaction context */ index 468 drivers/scsi/aic94xx/aic94xx_sas.h __le16 index; /* Transaction context of task to be queried */ index 501 drivers/scsi/aic94xx/aic94xx_sas.h __le16 index; /* Transaction context of task to be cleared */ index 519 drivers/scsi/aic94xx/aic94xx_sas.h __le16 index; /* Transaction context of task to be queried */ index 667 drivers/scsi/aic94xx/aic94xx_sas.h __le16 index; /* aka transaction context */ index 420 drivers/scsi/aic94xx/aic94xx_scb.c le16_to_cpu(ascb->scb->header.index), index 586 drivers/scsi/aic94xx/aic94xx_scb.c le16_to_cpu(ascb->scb->header.index), index 239 drivers/scsi/aic94xx/aic94xx_tmf.c scb->clear_nexus.index = cpu_to_le16(tascb->tc_index); index 452 drivers/scsi/aic94xx/aic94xx_tmf.c scb->abort_task.index = cpu_to_le16((u16)tascb->tc_index); index 557 drivers/scsi/aic94xx/aic94xx_tmf.c int tmf, int index) index 601 drivers/scsi/aic94xx/aic94xx_tmf.c scb->ssp_tmf.index = cpu_to_le16(index); index 687 drivers/scsi/aic94xx/aic94xx_tmf.c int index; index 690 drivers/scsi/aic94xx/aic94xx_tmf.c index = ascb->tc_index; index 692 drivers/scsi/aic94xx/aic94xx_tmf.c TMF_QUERY_TASK, index); index 1799 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t ending_index, index = reg->postq_index; index 1801 drivers/scsi/arcmsr/arcmsr_hba.c ending_index = ((index + 1) % ARCMSR_MAX_HBB_POSTQUEUE); index 1804 drivers/scsi/arcmsr/arcmsr_hba.c reg->post_qbuffer[index] = index 1807 drivers/scsi/arcmsr/arcmsr_hba.c reg->post_qbuffer[index] = cdb_phyaddr; index 1809 drivers/scsi/arcmsr/arcmsr_hba.c index++; index 1810 drivers/scsi/arcmsr/arcmsr_hba.c index %= ARCMSR_MAX_HBB_POSTQUEUE;/*if last index number set it to 0 */ index 1811 drivers/scsi/arcmsr/arcmsr_hba.c reg->postq_index = index; index 2386 drivers/scsi/arcmsr/arcmsr_hba.c uint32_t index; index 2394 drivers/scsi/arcmsr/arcmsr_hba.c index = reg->doneq_index; index 2395 drivers/scsi/arcmsr/arcmsr_hba.c while ((flag_ccb = reg->done_qbuffer[index]) != 0) { index 2403 drivers/scsi/arcmsr/arcmsr_hba.c reg->done_qbuffer[index] = 0; index 2404 drivers/scsi/arcmsr/arcmsr_hba.c index++; index 2405 drivers/scsi/arcmsr/arcmsr_hba.c index %= ARCMSR_MAX_HBB_POSTQUEUE; index 2406 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = index; index 3373 drivers/scsi/arcmsr/arcmsr_hba.c int index, rtn; index 3382 drivers/scsi/arcmsr/arcmsr_hba.c index = reg->doneq_index; index 3383 drivers/scsi/arcmsr/arcmsr_hba.c flag_ccb = reg->done_qbuffer[index]; index 3397 drivers/scsi/arcmsr/arcmsr_hba.c reg->done_qbuffer[index] = 0; index 3398 drivers/scsi/arcmsr/arcmsr_hba.c index++; index 3400 drivers/scsi/arcmsr/arcmsr_hba.c index %= ARCMSR_MAX_HBB_POSTQUEUE; index 3401 drivers/scsi/arcmsr/arcmsr_hba.c reg->doneq_index = index; index 46 drivers/scsi/be2iscsi/be.h static inline void index_inc(u16 *index, u16 limit) index 48 drivers/scsi/be2iscsi/be.h *index = MODULO((*index + 1), limit); index 1505 drivers/scsi/be2iscsi/be_main.c index, pdpdu_cqe); index 1512 drivers/scsi/be2iscsi/be_main.c index, pdpdu_cqe); index 1545 drivers/scsi/be2iscsi/be_main.c pasync_handle->index != ci) { index 1552 drivers/scsi/be2iscsi/be_main.c pasync_handle->index, index 1740 drivers/scsi/be2iscsi/be_main.c WARN_ON(pasync_handle->index != pi); index 2078 drivers/scsi/be2iscsi/be_main.c unsigned int sg_len, index; index 2090 drivers/scsi/be2iscsi/be_main.c for (index = 0; (index < num_sg) && (index < 2); index++, index 2092 drivers/scsi/be2iscsi/be_main.c if (index == 0) { index 2152 drivers/scsi/be2iscsi/be_main.c for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { index 2173 drivers/scsi/be2iscsi/be_main.c unsigned int sg_len, index; index 2185 drivers/scsi/be2iscsi/be_main.c for (index = 0; (index < num_sg) && (index < 2); index++, index 2187 drivers/scsi/be2iscsi/be_main.c if (index == 0) { index 2240 drivers/scsi/be2iscsi/be_main.c for (index = 0; index < num_sg; index++, sg = sg_next(sg), psgl++) { index 2605 drivers/scsi/be2iscsi/be_main.c unsigned int num_cxn_wrb = 0, j, idx = 0, index; index 2625 drivers/scsi/be2iscsi/be_main.c for (index = 0; index < phba->params.cxns_per_ctrl; index++) { index 2626 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[index]; index 2671 drivers/scsi/be2iscsi/be_main.c for (index = 0; index < phba->params.cxns_per_ctrl; index++) { index 2672 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[index]; index 2692 drivers/scsi/be2iscsi/be_main.c for (j = index; j > 0; j--) { index 2707 drivers/scsi/be2iscsi/be_main.c unsigned int index, idx, num_per_mem, num_async_data; index 2868 drivers/scsi/be2iscsi/be_main.c for (index = 0; index < BEISCSI_ASYNC_HDQ_SIZE index 2869 drivers/scsi/be2iscsi/be_main.c (phba, ulp_num); index++) { index 2872 drivers/scsi/be2iscsi/be_main.c pasync_header_h->index = index; index 2878 drivers/scsi/be2iscsi/be_main.c (p->defpdu_hdr_sz * index)); index 2882 drivers/scsi/be2iscsi/be_main.c address + (p->defpdu_hdr_sz * index); index 2884 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[index].header = index 2887 drivers/scsi/be2iscsi/be_main.c INIT_LIST_HEAD(&pasync_ctx->async_entry[index]. index 2892 drivers/scsi/be2iscsi/be_main.c pasync_data_h->index = index; index 2922 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[index].data = index 3434 drivers/scsi/be2iscsi/be_main.c unsigned int index; index 3439 drivers/scsi/be2iscsi/be_main.c for (index = 0; index < phba->params.cxns_per_ctrl; index++) { index 3440 drivers/scsi/be2iscsi/be_main.c pwrb_context = &phwi_ctrlr->wrb_context[index]; index 4356 drivers/scsi/be2iscsi/be_main.c int *index, int *age) index 4358 drivers/scsi/be2iscsi/be_main.c *index = (int)itt; index 548 drivers/scsi/be2iscsi/be_main.h u16 index; index 630 drivers/scsi/be2iscsi/be_main.h u8 index[16]; index 644 drivers/scsi/be2iscsi/be_main.h u8 index[16]; /* DWORD 3 */ index 1206 drivers/scsi/bfa/bfa_defs_svc.h u32 index; index 980 drivers/scsi/bfa/bfa_fc.h __be16 index; /* port number / index */ index 1064 drivers/scsi/bfa/bfa_fcbuild.c u8 index; index 1074 drivers/scsi/bfa/bfa_fcbuild.c index = FC_TYPE_FCP >> 5; index 1076 drivers/scsi/bfa/bfa_fcbuild.c rftid->fc4_type[index] = cpu_to_be32(type_value); index 1296 drivers/scsi/bfa/bfa_fcbuild.c u8 index; index 1304 drivers/scsi/bfa/bfa_fcbuild.c index = fc4_type >> 5; index 1306 drivers/scsi/bfa/bfa_fcbuild.c ptr[index] = cpu_to_be32(type_value); index 1472 drivers/scsi/bfa/bfa_fcpim.c itnim->ioprofile.index = BFA_IOBUCKET_MAX; index 287 drivers/scsi/bfa/bfa_fcs.h int index, int nrports, bfa_boolean_t bwwn); index 5712 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_lport_get_rport(struct bfa_fcs_lport_s *port, wwn_t wwn, int index, index 5744 drivers/scsi/bfa/bfa_fcs_lport.c if (i == index) index 3428 drivers/scsi/bfa/bfa_fcs_rport.c be16_to_cpu(rpsc2_acc->port_info[0].index)); index 685 drivers/scsi/bnx2fc/bnx2fc_els.c int task_idx, index; index 771 drivers/scsi/bnx2fc/bnx2fc_els.c index = xid % BNX2FC_TASKS_PER_PAGE; index 776 drivers/scsi/bnx2fc/bnx2fc_els.c task = &(task_page[index]); index 638 drivers/scsi/bnx2fc/bnx2fc_hwi.c int task_idx, index; index 712 drivers/scsi/bnx2fc/bnx2fc_hwi.c index = xid % BNX2FC_TASKS_PER_PAGE; index 837 drivers/scsi/bnx2fc/bnx2fc_hwi.c index = xid % BNX2FC_TASKS_PER_PAGE; index 874 drivers/scsi/bnx2fc/bnx2fc_hwi.c int task_idx, index; index 888 drivers/scsi/bnx2fc/bnx2fc_hwi.c index = xid % BNX2FC_TASKS_PER_PAGE; index 890 drivers/scsi/bnx2fc/bnx2fc_hwi.c task = &(task_page[index]); index 1466 drivers/scsi/bnx2fc/bnx2fc_hwi.c int orig_task_idx, index; index 1517 drivers/scsi/bnx2fc/bnx2fc_hwi.c index = orig_xid % BNX2FC_TASKS_PER_PAGE; index 402 drivers/scsi/bnx2fc/bnx2fc_io.c int index = RESERVE_FREE_LIST_INDEX; index 423 drivers/scsi/bnx2fc/bnx2fc_io.c spin_lock_bh(&cmd_mgr->free_list_lock[index]); index 425 drivers/scsi/bnx2fc/bnx2fc_io.c if ((list_empty(&(cmd_mgr->free_list[index]))) || index 431 drivers/scsi/bnx2fc/bnx2fc_io.c if (list_empty(&(cmd_mgr->free_list[index]))) index 433 drivers/scsi/bnx2fc/bnx2fc_io.c spin_unlock_bh(&cmd_mgr->free_list_lock[index]); index 438 drivers/scsi/bnx2fc/bnx2fc_io.c cmd_mgr->free_list[index].next; index 445 drivers/scsi/bnx2fc/bnx2fc_io.c spin_unlock_bh(&cmd_mgr->free_list_lock[index]); index 475 drivers/scsi/bnx2fc/bnx2fc_io.c int index = get_cpu(); index 482 drivers/scsi/bnx2fc/bnx2fc_io.c spin_lock_bh(&cmd_mgr->free_list_lock[index]); index 484 drivers/scsi/bnx2fc/bnx2fc_io.c if ((list_empty(&cmd_mgr->free_list[index])) || index 487 drivers/scsi/bnx2fc/bnx2fc_io.c spin_unlock_bh(&cmd_mgr->free_list_lock[index]); index 493 drivers/scsi/bnx2fc/bnx2fc_io.c cmd_mgr->free_list[index].next; index 500 drivers/scsi/bnx2fc/bnx2fc_io.c spin_unlock_bh(&cmd_mgr->free_list_lock[index]); index 524 drivers/scsi/bnx2fc/bnx2fc_io.c int index; index 527 drivers/scsi/bnx2fc/bnx2fc_io.c index = io_req->xid % num_possible_cpus(); index 529 drivers/scsi/bnx2fc/bnx2fc_io.c index = RESERVE_FREE_LIST_INDEX; index 532 drivers/scsi/bnx2fc/bnx2fc_io.c spin_lock_bh(&cmd_mgr->free_list_lock[index]); index 540 drivers/scsi/bnx2fc/bnx2fc_io.c &cmd_mgr->free_list[index]); index 542 drivers/scsi/bnx2fc/bnx2fc_io.c spin_unlock_bh(&cmd_mgr->free_list_lock[index]); index 676 drivers/scsi/bnx2fc/bnx2fc_io.c int task_idx, index; index 760 drivers/scsi/bnx2fc/bnx2fc_io.c index = xid % BNX2FC_TASKS_PER_PAGE; index 765 drivers/scsi/bnx2fc/bnx2fc_io.c task = &(task_page[index]); index 834 drivers/scsi/bnx2fc/bnx2fc_io.c int task_idx, index; index 898 drivers/scsi/bnx2fc/bnx2fc_io.c index = xid % BNX2FC_TASKS_PER_PAGE; index 903 drivers/scsi/bnx2fc/bnx2fc_io.c task = &(task_page[index]); index 940 drivers/scsi/bnx2fc/bnx2fc_io.c int task_idx, index; index 974 drivers/scsi/bnx2fc/bnx2fc_io.c index = xid % BNX2FC_TASKS_PER_PAGE; index 979 drivers/scsi/bnx2fc/bnx2fc_io.c task = &(task_page[index]); index 1006 drivers/scsi/bnx2fc/bnx2fc_io.c int task_idx, index; index 1032 drivers/scsi/bnx2fc/bnx2fc_io.c index = xid % BNX2FC_TASKS_PER_PAGE; index 1037 drivers/scsi/bnx2fc/bnx2fc_io.c task = &(task_page[index]); index 2043 drivers/scsi/bnx2fc/bnx2fc_io.c int task_idx, index; index 2080 drivers/scsi/bnx2fc/bnx2fc_io.c index = xid % BNX2FC_TASKS_PER_PAGE; index 2084 drivers/scsi/bnx2fc/bnx2fc_io.c task = &(task_page[index]); index 209 drivers/scsi/cxlflash/common.h u32 index; /* Index of this hwq */ index 255 drivers/scsi/cxlflash/common.h static inline struct hwq *get_hwq(struct afu *afu, u32 index) index 257 drivers/scsi/cxlflash/common.h WARN_ON(index >= CXLFLASH_MAX_HWQS); index 259 drivers/scsi/cxlflash/common.h return &afu->hwqs[index]; index 497 drivers/scsi/cxlflash/main.c cmd->hwq_index = hwq->index; index 733 drivers/scsi/cxlflash/main.c u32 index) index 744 drivers/scsi/cxlflash/main.c hwq = get_hwq(afu, index); index 754 drivers/scsi/cxlflash/main.c if (index == PRIMARY_HWQ) index 779 drivers/scsi/cxlflash/main.c static void term_mc(struct cxlflash_cfg *cfg, u32 index) index 791 drivers/scsi/cxlflash/main.c hwq = get_hwq(afu, index); index 799 drivers/scsi/cxlflash/main.c if (index != PRIMARY_HWQ) index 1960 drivers/scsi/cxlflash/main.c bool is_primary_hwq = (hwq->index == PRIMARY_HWQ); index 2009 drivers/scsi/cxlflash/main.c static int init_mc(struct cxlflash_cfg *cfg, u32 index) index 2013 drivers/scsi/cxlflash/main.c struct hwq *hwq = get_hwq(cfg->afu, index); index 2019 drivers/scsi/cxlflash/main.c hwq->index = index; index 2022 drivers/scsi/cxlflash/main.c if (index == PRIMARY_HWQ) { index 2042 drivers/scsi/cxlflash/main.c if (index == PRIMARY_HWQ) { index 2069 drivers/scsi/cxlflash/main.c term_intr(cfg, level, index); index 2070 drivers/scsi/cxlflash/main.c if (index != PRIMARY_HWQ) index 2338 drivers/scsi/cxlflash/main.c cmd->hwq_index = hwq->index; index 160 drivers/scsi/device_handler/scsi_dh_rdac.c u8 index; index 326 drivers/scsi/device_handler/scsi_dh_rdac.c static struct rdac_controller *get_controller(int index, char *array_name, index 333 drivers/scsi/device_handler/scsi_dh_rdac.c (tmp->index == index) && index 345 drivers/scsi/device_handler/scsi_dh_rdac.c ctlr->index = index; index 440 drivers/scsi/device_handler/scsi_dh_rdac.c int err = SCSI_DH_IO, index; index 447 drivers/scsi/device_handler/scsi_dh_rdac.c index = 0; index 449 drivers/scsi/device_handler/scsi_dh_rdac.c index = 1; index 452 drivers/scsi/device_handler/scsi_dh_rdac.c h->ctlr = get_controller(index, array_name, array_id, sdev); index 520 drivers/scsi/device_handler/scsi_dh_rdac.c (char *) h->ctlr->array_name, h->ctlr->index, index 555 drivers/scsi/device_handler/scsi_dh_rdac.c (char *) h->ctlr->array_name, h->ctlr->index, index 571 drivers/scsi/device_handler/scsi_dh_rdac.c (char *) h->ctlr->array_name, h->ctlr->index); index 666 drivers/scsi/device_handler/scsi_dh_rdac.c (char *) h->ctlr->array_name, h->ctlr->index, index 906 drivers/scsi/esas2r/esas2r.h unsigned int index; index 985 drivers/scsi/esas2r/esas2r.h int index); index 214 drivers/scsi/esas2r/esas2r_init.c "(err=%d)", a->index, index 262 drivers/scsi/esas2r/esas2r_init.c int index) index 271 drivers/scsi/esas2r/esas2r_init.c if (index >= MAX_ADAPTERS) { index 274 drivers/scsi/esas2r/esas2r_init.c index); index 278 drivers/scsi/esas2r/esas2r_init.c if (esas2r_adapters[index]) { index 281 drivers/scsi/esas2r/esas2r_init.c index); index 297 drivers/scsi/esas2r/esas2r_init.c esas2r_kill_adapter(index); index 304 drivers/scsi/esas2r/esas2r_init.c esas2r_adapters[index] = a; index 305 drivers/scsi/esas2r/esas2r_init.c sprintf(a->name, ESAS2R_DRVR_NAME "_%02d", index); index 315 drivers/scsi/esas2r/esas2r_init.c a->index); index 341 drivers/scsi/esas2r/esas2r_init.c esas2r_kill_adapter(index); index 353 drivers/scsi/esas2r/esas2r_init.c esas2r_kill_adapter(index); index 357 drivers/scsi/esas2r/esas2r_init.c a->index = index; index 382 drivers/scsi/esas2r/esas2r_init.c esas2r_kill_adapter(index); index 400 drivers/scsi/esas2r/esas2r_init.c esas2r_kill_adapter(index); index 1209 drivers/scsi/esas2r/esas2r_ioctl.c esas2r_debug("hba_ioctl_done_callback %d", a->index); index 529 drivers/scsi/esas2r/esas2r_main.c esas2r_kill_adapter(a->index); index 31 drivers/scsi/fnic/vnic_cq.c int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, index 36 drivers/scsi/fnic/vnic_cq.c cq->index = index; index 39 drivers/scsi/fnic/vnic_cq.c cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); index 41 drivers/scsi/fnic/vnic_cq.c printk(KERN_ERR "Failed to hook CQ[%d] resource\n", index); index 62 drivers/scsi/fnic/vnic_cq.h unsigned int index; index 112 drivers/scsi/fnic/vnic_cq.h int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, index 26 drivers/scsi/fnic/vnic_cq_copy.h unsigned int index, index 41 drivers/scsi/fnic/vnic_cq_copy.h if ((*q_service)(cq->vdev, cq->index, desc)) index 168 drivers/scsi/fnic/vnic_dev.c unsigned int index) index 179 drivers/scsi/fnic/vnic_dev.c index * VNIC_RES_STRIDE; index 116 drivers/scsi/fnic/vnic_dev.h unsigned int index); index 33 drivers/scsi/fnic/vnic_intr.c unsigned int index) index 35 drivers/scsi/fnic/vnic_intr.c intr->index = index; index 38 drivers/scsi/fnic/vnic_intr.c intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); index 41 drivers/scsi/fnic/vnic_intr.c index); index 63 drivers/scsi/fnic/vnic_intr.h unsigned int index; index 113 drivers/scsi/fnic/vnic_intr.h unsigned int index); index 44 drivers/scsi/fnic/vnic_rq.c buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES + j; index 46 drivers/scsi/fnic/vnic_rq.c rq->ring.desc_size * buf->index; index 47 drivers/scsi/fnic/vnic_rq.c if (buf->index + 1 == count) { index 82 drivers/scsi/fnic/vnic_rq.c int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, index 87 drivers/scsi/fnic/vnic_rq.c rq->index = index; index 90 drivers/scsi/fnic/vnic_rq.c rq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_RQ, index); index 92 drivers/scsi/fnic/vnic_rq.c printk(KERN_ERR "Failed to hook RQ[%d] resource\n", index); index 160 drivers/scsi/fnic/vnic_rq.c printk(KERN_ERR "Failed to disable RQ[%d]\n", rq->index); index 88 drivers/scsi/fnic/vnic_rq.h unsigned int index; index 93 drivers/scsi/fnic/vnic_rq.h unsigned int index; index 124 drivers/scsi/fnic/vnic_rq.h return rq->to_use->index; index 154 drivers/scsi/fnic/vnic_rq.h if ((buf->index & VNIC_RQ_RETURN_RATE) == 0) { index 161 drivers/scsi/fnic/vnic_rq.h iowrite32(buf->index, &rq->ctrl->posted_index); index 167 drivers/scsi/fnic/vnic_rq.h return (rq->to_use->index & VNIC_RQ_RETURN_RATE) == 0; index 192 drivers/scsi/fnic/vnic_rq.h skipped = (buf->index != completed_index); index 224 drivers/scsi/fnic/vnic_rq.h int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, index 29 drivers/scsi/fnic/vnic_wq.c unsigned int index, enum vnic_res_type res_type) index 31 drivers/scsi/fnic/vnic_wq.c wq->ctrl = vnic_dev_get_res(vdev, res_type, index); index 64 drivers/scsi/fnic/vnic_wq.c buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES + j; index 66 drivers/scsi/fnic/vnic_wq.c wq->ring.desc_size * buf->index; index 67 drivers/scsi/fnic/vnic_wq.c if (buf->index + 1 == count) { index 102 drivers/scsi/fnic/vnic_wq.c int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, index 107 drivers/scsi/fnic/vnic_wq.c wq->index = index; index 110 drivers/scsi/fnic/vnic_wq.c wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_WQ, index); index 112 drivers/scsi/fnic/vnic_wq.c printk(KERN_ERR "Failed to hook WQ[%d] resource\n", index); index 137 drivers/scsi/fnic/vnic_wq.c wq->index = 0; index 217 drivers/scsi/fnic/vnic_wq.c printk(KERN_ERR "Failed to disable WQ[%d]\n", wq->index); index 74 drivers/scsi/fnic/vnic_wq.h unsigned int index; index 88 drivers/scsi/fnic/vnic_wq.h unsigned int index; index 134 drivers/scsi/fnic/vnic_wq.h iowrite32(buf->index, &wq->ctrl->posted_index); index 158 drivers/scsi/fnic/vnic_wq.h if (buf->index == completed_index) index 166 drivers/scsi/fnic/vnic_wq.h int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, index 45 drivers/scsi/fnic/vnic_wq_copy.c wq->index, ioread32(&wq->ctrl->fetch_index), index 79 drivers/scsi/fnic/vnic_wq_copy.c unsigned int index, unsigned int desc_count, index 84 drivers/scsi/fnic/vnic_wq_copy.c wq->index = index; index 87 drivers/scsi/fnic/vnic_wq_copy.c wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_WQ, index); index 89 drivers/scsi/fnic/vnic_wq_copy.c printk(KERN_ERR "Failed to hook COPY WQ[%d] resource\n", index); index 28 drivers/scsi/fnic/vnic_wq_copy.h unsigned int index; index 69 drivers/scsi/fnic/vnic_wq_copy.h static inline void vnic_wq_copy_desc_process(struct vnic_wq_copy *wq, u16 index) index 73 drivers/scsi/fnic/vnic_wq_copy.h if (wq->to_clean_index <= index) index 74 drivers/scsi/fnic/vnic_wq_copy.h cnt = (index - wq->to_clean_index) + 1; index 76 drivers/scsi/fnic/vnic_wq_copy.h cnt = wq->ring.desc_count - wq->to_clean_index + index + 1; index 78 drivers/scsi/fnic/vnic_wq_copy.h wq->to_clean_index = ((index + 1) % wq->ring.desc_count); index 120 drivers/scsi/fnic/vnic_wq_copy.h unsigned int index, unsigned int desc_count, unsigned int desc_size); index 121 drivers/scsi/gdth.c static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index, index 147 drivers/scsi/gdth.c static int gdth_wait(gdth_ha_str *ha, int index,u32 time); index 288 drivers/scsi/gdth.c if (ha->cmndinfo[i].index == 0) { index 291 drivers/scsi/gdth.c priv->index = i+1; index 304 drivers/scsi/gdth.c priv->index = 0; index 1058 drivers/scsi/gdth.c static int gdth_wait(gdth_ha_str *ha, int index, u32 time) index 1063 drivers/scsi/gdth.c TRACE(("gdth_wait() hanum %d index %d time %d\n", ha->hanum, index, time)); index 1065 drivers/scsi/gdth.c if (index == 0) index 1070 drivers/scsi/gdth.c if (wait_index == index) { index 1088 drivers/scsi/gdth.c int retries,index; index 1099 drivers/scsi/gdth.c if (!(index=gdth_get_cmd_index(ha))) { index 1146 drivers/scsi/gdth.c if (!gdth_wait(ha, index, INIT_TIMEOUT)) { index 2608 drivers/scsi/gdth.c ha->dvr.eu.driver.index = IStatus; index 2642 drivers/scsi/gdth.c static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index, index 873 drivers/scsi/gdth.h int index; index 140 drivers/scsi/gdth_ioctl.h u32 index; index 186 drivers/scsi/hisi_sas/hisi_sas_main.c int index; index 194 drivers/scsi/hisi_sas/hisi_sas_main.c index = find_next_zero_bit(bitmap, hisi_hba->slot_index_count, index 196 drivers/scsi/hisi_sas/hisi_sas_main.c if (index >= hisi_hba->slot_index_count) { index 197 drivers/scsi/hisi_sas/hisi_sas_main.c index = find_next_zero_bit(bitmap, index 200 drivers/scsi/hisi_sas/hisi_sas_main.c if (index >= hisi_hba->slot_index_count) { index 205 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_slot_index_set(hisi_hba, index); index 206 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_hba->last_slot_index = index; index 209 drivers/scsi/hisi_sas/hisi_sas_main.c return index; index 2955 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_show_row_64(struct seq_file *s, int index, index 2961 drivers/scsi/hisi_sas/hisi_sas_main.c seq_printf(s, "index %04d:\n\t", index); index 2971 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_show_row_32(struct seq_file *s, int index, index 2977 drivers/scsi/hisi_sas/hisi_sas_main.c seq_printf(s, "index %04d:\n\t", index); index 823 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c unsigned int index; index 827 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index = find_first_zero_bit(bitmap, HISI_MAX_SATA_SUPPORT_V2_HW); index 828 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (index >= HISI_MAX_SATA_SUPPORT_V2_HW) { index 829 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c dev_warn(dev, "alloc sata index failed, index=%d\n", index); index 833 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c set_bit(index, bitmap); index 834 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c *idx = index; index 1862 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int index, i; index 1865 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index = trans_tx_err_code_prio[i] - TRANS_TX_FAIL_BASE; index 1866 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (err_msk & (1 << index)) index 1908 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int index, i; index 1911 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index = trans_rx_err_code_prio[i] - TRANS_RX_FAIL_BASE; index 1912 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (err_msk & (1 << index)) index 1933 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int index, i; index 1936 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index = dma_tx_err_code_prio[i] - DMA_TX_ERR_BASE; index 1938 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (err_msk & (1 << index)) index 1959 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int index, i; index 1962 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index = sipc_rx_err_code_prio[i] - SIPC_RX_ERR_BASE; index 1964 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (err_msk & (1 << (index + 0x10))) index 2000 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int index, i; index 2003 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index = dma_rx_err_code_prio[i] - DMA_RX_ERR_BASE; index 2004 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (err_msk & (1 << index)) index 372 drivers/scsi/hosts.c int index; index 391 drivers/scsi/hosts.c index = ida_simple_get(&host_index_ida, 0, 0, GFP_KERNEL); index 392 drivers/scsi/hosts.c if (index < 0) index 394 drivers/scsi/hosts.c shost->host_no = index; index 1540 drivers/scsi/hpsa.c int *index) index 1554 drivers/scsi/hpsa.c *index = i; index 1567 drivers/scsi/hpsa.c *index = -1; index 3686 drivers/scsi/hpsa.c unsigned char *device_id, int index, int buflen) index 5487 drivers/scsi/hpsa.c static void hpsa_cmd_init(struct ctlr_info *h, int index, index 5494 drivers/scsi/hpsa.c c->Header.tag = cpu_to_le64((u64) (index << DIRECT_LOOKUP_SHIFT)); index 5495 drivers/scsi/hpsa.c cmd_dma_handle = h->cmd_pool_dhandle + index * sizeof(*c); index 5496 drivers/scsi/hpsa.c c->err_info = h->errinfo_pool + index; index 5499 drivers/scsi/hpsa.c + index * sizeof(*c->err_info); index 5500 drivers/scsi/hpsa.c c->cmdindex = index; index 5520 drivers/scsi/hpsa.c static inline void hpsa_cmd_partial_init(struct ctlr_info *h, int index, index 5523 drivers/scsi/hpsa.c dma_addr_t cmd_dma_handle = h->cmd_pool_dhandle + index * sizeof(*c); index 5525 drivers/scsi/hpsa.c BUG_ON(c->cmdindex != index); index 585 drivers/scsi/hptiop.c static void __iomem *hptiop_map_pci_bar(struct hptiop_hba *hba, int index) index 593 drivers/scsi/hptiop.c if (!(pci_resource_flags(pcidev, index) & IORESOURCE_MEM)) { index 599 drivers/scsi/hptiop.c mem_base_phy = pci_resource_start(pcidev, index); index 600 drivers/scsi/hptiop.c length = pci_resource_len(pcidev, index); index 711 drivers/scsi/hptiop.c dprintk("free_req(%d, %p)\n", req->index, req); index 880 drivers/scsi/hptiop.c (u32)_req->index); index 907 drivers/scsi/hptiop.c reqhdr->context = cpu_to_le32(_req->index<<8 | index 929 drivers/scsi/hptiop.c u32 index; index 935 drivers/scsi/hptiop.c (_req->index << 4) | reqhdr->type); index 940 drivers/scsi/hptiop.c index = hba->u.mvfrey.inlist_wptr & 0x3fff; index 942 drivers/scsi/hptiop.c if (index == hba->u.mvfrey.list_count) { index 943 drivers/scsi/hptiop.c index = 0; index 948 drivers/scsi/hptiop.c hba->u.mvfrey.inlist[index].addr = index 950 drivers/scsi/hptiop.c hba->u.mvfrey.inlist[index].intrfc_len = (reqhdr->size + 3) / 4; index 1026 drivers/scsi/hptiop.c _req->index, _req->req_virt); index 1457 drivers/scsi/hptiop.c hba->reqs[i].index = i; index 251 drivers/scsi/hptiop.h int index; index 742 drivers/scsi/ibmvscsi/ibmvfc.c int index = evt - pool->events; index 743 drivers/scsi/ibmvscsi/ibmvfc.c if (index < 0 || index >= pool->size) /* outside of bounds */ index 745 drivers/scsi/ibmvscsi/ibmvfc.c if (evt != pool->events + index) /* unaligned */ index 1469 drivers/scsi/ibmvscsi/ibmvfc.c int index = ibmvfc_get_err_index(be16_to_cpu(vfc_cmd->status), be16_to_cpu(vfc_cmd->error)); index 1473 drivers/scsi/ibmvscsi/ibmvfc.c if (index >= 0) { index 1474 drivers/scsi/ibmvscsi/ibmvfc.c logerr = cmd_status[index].log; index 1475 drivers/scsi/ibmvscsi/ibmvfc.c err = cmd_status[index].name; index 3294 drivers/scsi/ibmvscsi/ibmvfc.c int index, level = IBMVFC_DEFAULT_LOG_LEVEL; index 3304 drivers/scsi/ibmvscsi/ibmvfc.c index = ibmvfc_get_prli_rsp(be16_to_cpu(parms->flags)); index 3305 drivers/scsi/ibmvscsi/ibmvfc.c if (prli_rsp[index].logged_in) { index 3316 drivers/scsi/ibmvscsi/ibmvfc.c } else if (prli_rsp[index].retry) index 518 drivers/scsi/ibmvscsi/ibmvscsi.c int index = evt - pool->events; index 519 drivers/scsi/ibmvscsi/ibmvscsi.c if (index < 0 || index >= pool->size) /* outside of bounds */ index 521 drivers/scsi/ibmvscsi/ibmvscsi.c if (evt != pool->events + index) /* unaligned */ index 279 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = 0; index 362 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = ibmvscsis_cmd_q_dequeue(vscsi->cmd_q.mask, &vscsi->cmd_q.index, index 377 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c &vscsi->cmd_q.index, index 981 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; index 1175 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->flags, vscsi->state, vscsi->cmd_q.index); index 1178 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; index 1184 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = index 1185 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (vscsi->cmd_q.index + 1) & vscsi->cmd_q.mask; index 1209 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (vscsi->cmd_q.index) index 1210 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index -= 1; index 1216 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = vscsi->cmd_q.mask; index 1223 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; index 3362 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; index 3374 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = index 3375 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c (vscsi->cmd_q.index + 1) & vscsi->cmd_q.mask; index 3396 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (vscsi->cmd_q.index) index 3397 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index -= 1; index 3403 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->cmd_q.index = vscsi->cmd_q.mask; index 3410 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; index 3427 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c vscsi->flags, vscsi->state, vscsi->cmd_q.index); index 128 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h uint index; index 1007 drivers/scsi/initio.c printk("initio_bad_seg c=%d\n", host->index); index 507 drivers/scsi/initio.h u8 index; /* 09 */ index 326 drivers/scsi/ips.c static int ips_abort_init(ips_ha_t * ha, int index); index 327 drivers/scsi/ips.c static int ips_init_phase2(int index); index 330 drivers/scsi/ips.c static int ips_register_scsi(int index); index 6517 drivers/scsi/ips.c ips_abort_init(ips_ha_t * ha, int index) index 6521 drivers/scsi/ips.c ips_ha[index] = NULL; index 6522 drivers/scsi/ips.c ips_sh[index] = NULL; index 6653 drivers/scsi/ips.c ips_register_scsi(int index) index 6656 drivers/scsi/ips.c ips_ha_t *ha, *oldha = ips_ha[index]; index 6690 drivers/scsi/ips.c ips_sh[index] = sh; index 6691 drivers/scsi/ips.c ips_ha[index] = ha; index 6779 drivers/scsi/ips.c int index = -1; index 6791 drivers/scsi/ips.c rc = ips_init_phase1(pci_dev, &index); index 6793 drivers/scsi/ips.c rc = ips_init_phase2(index); index 6796 drivers/scsi/ips.c if (ips_register_scsi(index)) { index 6797 drivers/scsi/ips.c ips_free(ips_ha[index]); index 6811 drivers/scsi/ips.c pci_set_drvdata(pci_dev, ips_sh[index]); index 6841 drivers/scsi/ips.c int index; index 6848 drivers/scsi/ips.c index = IPS_MAX_ADAPTERS; index 6851 drivers/scsi/ips.c index = j; index 6856 drivers/scsi/ips.c if (index >= IPS_MAX_ADAPTERS) index 6906 drivers/scsi/ips.c ips_sh[index] = NULL; index 6907 drivers/scsi/ips.c ips_ha[index] = ha; index 6917 drivers/scsi/ips.c ha->host_num = (uint32_t) index; index 6933 drivers/scsi/ips.c return ips_abort_init(ha, index); index 6946 drivers/scsi/ips.c return ips_abort_init(ha, index); index 6955 drivers/scsi/ips.c return ips_abort_init(ha, index); index 6967 drivers/scsi/ips.c return ips_abort_init(ha, index); index 6977 drivers/scsi/ips.c return ips_abort_init(ha, index); index 6985 drivers/scsi/ips.c return ips_abort_init(ha, index); index 6993 drivers/scsi/ips.c return ips_abort_init(ha, index); index 7007 drivers/scsi/ips.c return ips_abort_init(ha, index); index 7034 drivers/scsi/ips.c return ips_abort_init(ha, index); index 7038 drivers/scsi/ips.c *indexPtr = index; index 7052 drivers/scsi/ips.c ips_init_phase2(int index) index 7056 drivers/scsi/ips.c ha = ips_ha[index]; index 7060 drivers/scsi/ips.c ips_ha[index] = NULL; index 7068 drivers/scsi/ips.c return ips_abort_init(ha, index); index 7079 drivers/scsi/ips.c return ips_abort_init(ha, index); index 7086 drivers/scsi/ips.c return ips_abort_init(ha, index); index 7096 drivers/scsi/ips.c return ips_abort_init(ha, index); index 259 drivers/scsi/isci/host.c u32 index = SCU_GET_COMPLETION_INDEX(ent); index 260 drivers/scsi/isci/host.c struct isci_request *ireq = ihost->reqs[index]; index 265 drivers/scsi/isci/host.c ISCI_TAG_SEQ(ireq->io_tag) == ihost->io_request_sequence[index]) index 274 drivers/scsi/isci/host.c u32 index; index 278 drivers/scsi/isci/host.c index = SCU_GET_COMPLETION_INDEX(ent); index 283 drivers/scsi/isci/host.c ireq = ihost->reqs[index]; index 293 drivers/scsi/isci/host.c idev = ihost->device_table[index]; index 309 drivers/scsi/isci/host.c u32 index; index 333 drivers/scsi/isci/host.c index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent); index 334 drivers/scsi/isci/host.c iphy = &ihost->phys[index]; index 338 drivers/scsi/isci/host.c index = SCU_GET_COMPLETION_INDEX(ent); index 340 drivers/scsi/isci/host.c if (index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) { index 345 drivers/scsi/isci/host.c index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent); index 346 drivers/scsi/isci/host.c iphy = &ihost->phys[index]; index 349 drivers/scsi/isci/host.c if (index < ihost->remote_node_entries) index 350 drivers/scsi/isci/host.c idev = ihost->device_table[index]; index 373 drivers/scsi/isci/host.c u32 index; index 375 drivers/scsi/isci/host.c index = SCU_GET_COMPLETION_INDEX(ent); index 403 drivers/scsi/isci/host.c ireq = ihost->reqs[index]; index 411 drivers/scsi/isci/host.c ireq = ihost->reqs[index]; index 426 drivers/scsi/isci/host.c idev = ihost->device_table[index]; index 451 drivers/scsi/isci/host.c index = SCU_GET_PROTOCOL_ENGINE_INDEX(ent); index 452 drivers/scsi/isci/host.c iphy = &ihost->phys[index]; index 459 drivers/scsi/isci/host.c if (index < ihost->remote_node_entries) { index 460 drivers/scsi/isci/host.c idev = ihost->device_table[index]; index 472 drivers/scsi/isci/host.c index); index 753 drivers/scsi/isci/host.c u32 index; index 789 drivers/scsi/isci/host.c for (index = 0; index < SCU_MAX_COMPLETION_QUEUE_ENTRIES; index++) { index 794 drivers/scsi/isci/host.c ihost->completion_queue[index] = 0x80000000; index 992 drivers/scsi/isci/host.c u16 index; index 1004 drivers/scsi/isci/host.c for (index = 0; index < ihost->task_context_entries; index++) index 1005 drivers/scsi/isci/host.c isci_tci_free(ihost, index); index 1030 drivers/scsi/isci/host.c for (index = 0; index < ihost->logical_port_entries; index++) { index 1031 drivers/scsi/isci/host.c struct isci_port *iport = &ihost->ports[index]; index 1205 drivers/scsi/isci/host.c u32 index; index 1211 drivers/scsi/isci/host.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 1212 drivers/scsi/isci/host.c phy_status = sci_phy_stop(&ihost->phys[index]); index 1222 drivers/scsi/isci/host.c ihost->phys[index].phy_index, phy_status); index 1471 drivers/scsi/isci/host.c u32 index; index 1475 drivers/scsi/isci/host.c for (index = 0; index < ihost->logical_port_entries; index++) { index 1476 drivers/scsi/isci/host.c struct isci_port *iport = &ihost->ports[index]; index 1498 drivers/scsi/isci/host.c u32 index; index 1504 drivers/scsi/isci/host.c for (index = 0; index < ihost->remote_node_entries; index++) { index 1505 drivers/scsi/isci/host.c if (ihost->device_table[index] != NULL) { index 1507 drivers/scsi/isci/host.c device_status = sci_remote_device_stop(ihost->device_table[index], 0); index 1516 drivers/scsi/isci/host.c ihost->device_table[index], device_status); index 2425 drivers/scsi/isci/host.c u32 index; index 2427 drivers/scsi/isci/host.c for (index = 0; index < ihost->remote_node_entries; index++) { index 2428 drivers/scsi/isci/host.c if ((ihost->device_table[index] != NULL) && index 2429 drivers/scsi/isci/host.c (ihost->device_table[index]->sm.current_state_id == SCI_DEV_STOPPING)) index 2674 drivers/scsi/isci/host.c u16 index; index 2685 drivers/scsi/isci/host.c index = ISCI_TAG_TCI(ireq->io_tag); index 409 drivers/scsi/isci/init.c u16 index; index 415 drivers/scsi/isci/init.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 418 drivers/scsi/isci/init.c u = &sci_parms->phys[index]; index 1392 drivers/scsi/isci/phy.c void isci_phy_init(struct isci_phy *iphy, struct isci_host *ihost, int index) index 1398 drivers/scsi/isci/phy.c sci_sas_addr = oem->phys[index].sas_address.high; index 1400 drivers/scsi/isci/phy.c sci_sas_addr |= oem->phys[index].sas_address.low; index 1405 drivers/scsi/isci/phy.c iphy->sas_phy.id = index; index 185 drivers/scsi/isci/phy.h u8 index; index 457 drivers/scsi/isci/phy.h void isci_phy_init(struct isci_phy *iphy, struct isci_host *ihost, int index); index 90 drivers/scsi/isci/port.c u8 index; index 93 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 94 drivers/scsi/isci/port.c struct isci_phy *iphy = iport->phy_table[index]; index 104 drivers/scsi/isci/port.c u32 index; index 108 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) index 109 drivers/scsi/isci/port.c if (iport->phy_table[index]) index 110 drivers/scsi/isci/port.c mask |= (1 << index); index 134 drivers/scsi/isci/port.c prop->index = iport->logical_port_index; index 369 drivers/scsi/isci/port.c u32 index; index 381 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) index 382 drivers/scsi/isci/port.c if (iport->phy_table[index] && index != phy_index) index 383 drivers/scsi/isci/port.c existing_phy_index = index; index 446 drivers/scsi/isci/port.c u32 index; index 449 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 453 drivers/scsi/isci/port.c iphy = iport->phy_table[index]; index 501 drivers/scsi/isci/port.c u32 index; index 505 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) index 506 drivers/scsi/isci/port.c if (iport->phy_table[index]) index 507 drivers/scsi/isci/port.c sci_phy_get_sas_address(iport->phy_table[index], sas); index 607 drivers/scsi/isci/port.c u8 index; index 609 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 610 drivers/scsi/isci/port.c if (iport->active_phy_mask & (1 << index)) index 611 drivers/scsi/isci/port.c sci_phy_setup_transport(iport->phy_table[index], device_id); index 728 drivers/scsi/isci/port.c u32 index; index 731 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 732 drivers/scsi/isci/port.c if (iport->phy_table[index] != NULL) { index 848 drivers/scsi/isci/port.c u16 index; index 855 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 856 drivers/scsi/isci/port.c iphy = iport->phy_table[index]; index 964 drivers/scsi/isci/port.c u32 index; index 971 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 972 drivers/scsi/isci/port.c if (iport->phy_table[index]) { index 975 drivers/scsi/isci/port.c iport->phy_table[index]->phy_index]); index 976 drivers/scsi/isci/port.c if (((iport->active_phy_mask^iport->enabled_phy_mask) & (1 << index)) != 0) index 977 drivers/scsi/isci/port.c sci_port_resume_phy(iport, iport->phy_table[index]); index 1606 drivers/scsi/isci/port.c void sci_port_construct(struct isci_port *iport, u8 index, index 1612 drivers/scsi/isci/port.c iport->physical_port_index = index; index 1631 drivers/scsi/isci/port.c for (index = 0; index < SCI_MAX_PHYS; index++) index 1632 drivers/scsi/isci/port.c iport->phy_table[index] = NULL; index 140 drivers/scsi/isci/port.h u32 index; index 323 drivers/scsi/isci/port_config.c u8 index; index 343 drivers/scsi/isci/port_config.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 344 drivers/scsi/isci/port_config.c struct isci_phy *iphy = &ihost->phys[index]; index 346 drivers/scsi/isci/port_config.c if (configure_phy_mask & (1 << index)) { index 658 drivers/scsi/isci/port_config.c u32 index; index 680 drivers/scsi/isci/port_config.c for (index = 0; index < SCI_MAX_PHYS; index++) { index 681 drivers/scsi/isci/port_config.c if ((configure_phy_mask & (1 << index)) == 0) index 685 drivers/scsi/isci/port_config.c &ihost->phys[index], false); index 710 drivers/scsi/isci/port_config.c u32 index; index 720 drivers/scsi/isci/port_config.c for (index = 0; index < SCI_MAX_PORTS; index++) { index 721 drivers/scsi/isci/port_config.c port_agent->phy_valid_port_range[index].min_index = 0; index 722 drivers/scsi/isci/port_config.c port_agent->phy_valid_port_range[index].max_index = 0; index 320 drivers/scsi/isci/remote_node_table.c u32 index; index 344 drivers/scsi/isci/remote_node_table.c for (index = 0; index < remote_node_entries; index++) { index 345 drivers/scsi/isci/remote_node_table.c sci_remote_node_table_set_node_index(remote_node_table, index); index 352 drivers/scsi/isci/remote_node_table.c for (index = 0; index < (remote_node_entries / SCU_STP_REMOTE_NODE_COUNT); index++) { index 356 drivers/scsi/isci/remote_node_table.c sci_remote_node_table_set_group_index(remote_node_table, 2, index); index 361 drivers/scsi/isci/remote_node_table.c sci_remote_node_table_set_group_index(remote_node_table, 1, index); index 363 drivers/scsi/isci/remote_node_table.c sci_remote_node_table_set_group_index(remote_node_table, 0, index); index 386 drivers/scsi/isci/remote_node_table.c u8 index; index 399 drivers/scsi/isci/remote_node_table.c for (index = 0; index < SCU_STP_REMOTE_NODE_COUNT; index++) { index 400 drivers/scsi/isci/remote_node_table.c if (((1 << index) & group_value) != 0) { index 403 drivers/scsi/isci/remote_node_table.c + index); index 587 drivers/scsi/isci/request.c stp_req->sgl.index = 0; index 590 drivers/scsi/isci/request.c stp_req->sgl.index = -1; index 1266 drivers/scsi/isci/request.c sgl_pair = to_sgl_element_pair(ireq, pio_sgl->index); index 1282 drivers/scsi/isci/request.c pio_sgl->index++; index 1284 drivers/scsi/isci/request.c sgl_pair = to_sgl_element_pair(ireq, pio_sgl->index); index 1334 drivers/scsi/isci/request.c sgl_pair = to_sgl_element_pair(ireq, stp_req->sgl.index); index 1360 drivers/scsi/isci/request.c sgl_pair = to_sgl_element_pair(ireq, stp_req->sgl.index); index 2033 drivers/scsi/isci/request.c if (stp_req->sgl.index < 0) { index 76 drivers/scsi/isci/request.h int index; index 76 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(tgt_index, index, ISCSI_BOOT_TGT_INDEX); index 158 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(eth_index, index, ISCSI_BOOT_ETH_INDEX); index 244 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(ini_index, index, ISCSI_BOOT_INI_INDEX); index 340 drivers/scsi/iscsi_boot_sysfs.c const char *name, int index, void *data, index 354 drivers/scsi/iscsi_boot_sysfs.c NULL, name, index)) { index 402 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_create_target(struct iscsi_boot_kset *boot_kset, int index, index 409 drivers/scsi/iscsi_boot_sysfs.c "target%d", index, data, show, is_visible, index 427 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_create_initiator(struct iscsi_boot_kset *boot_kset, int index, index 435 drivers/scsi/iscsi_boot_sysfs.c "initiator", index, data, show, index 453 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_create_ethernet(struct iscsi_boot_kset *boot_kset, int index, index 461 drivers/scsi/iscsi_boot_sysfs.c "ethernet%d", index, data, show, index 479 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_create_acpitbl(struct iscsi_boot_kset *boot_kset, int index, index 487 drivers/scsi/iscsi_boot_sysfs.c "acpi_header", index, data, show, index 412 drivers/scsi/libfc/fc_exch.c u16 index) index 415 drivers/scsi/libfc/fc_exch.c return exches[index]; index 424 drivers/scsi/libfc/fc_exch.c static inline void fc_exch_ptr_set(struct fc_exch_pool *pool, u16 index, index 427 drivers/scsi/libfc/fc_exch.c ((struct fc_exch **)(pool + 1))[index] = ep; index 437 drivers/scsi/libfc/fc_exch.c u16 index; index 445 drivers/scsi/libfc/fc_exch.c index = (ep->xid - ep->em->min_xid) >> fc_cpu_order; index 448 drivers/scsi/libfc/fc_exch.c pool->left = index; index 450 drivers/scsi/libfc/fc_exch.c pool->right = index; index 452 drivers/scsi/libfc/fc_exch.c pool->next_index = index; index 453 drivers/scsi/libfc/fc_exch.c fc_exch_ptr_set(pool, index, NULL); index 455 drivers/scsi/libfc/fc_exch.c fc_exch_ptr_set(pool, index, &fc_quarantine_exch); index 813 drivers/scsi/libfc/fc_exch.c u16 index; index 832 drivers/scsi/libfc/fc_exch.c index = pool->left; index 839 drivers/scsi/libfc/fc_exch.c index = pool->right; index 845 drivers/scsi/libfc/fc_exch.c index = pool->next_index; index 847 drivers/scsi/libfc/fc_exch.c while (fc_exch_ptr_get(pool, index)) { index 848 drivers/scsi/libfc/fc_exch.c index = index == mp->pool_max_index ? 0 : index + 1; index 849 drivers/scsi/libfc/fc_exch.c if (index == pool->next_index) index 852 drivers/scsi/libfc/fc_exch.c pool->next_index = index == mp->pool_max_index ? 0 : index + 1; index 863 drivers/scsi/libfc/fc_exch.c fc_exch_ptr_set(pool, index, ep); index 872 drivers/scsi/libfc/fc_exch.c ep->oxid = ep->xid = (index << fc_cpu_order | cpu) + mp->min_xid; index 1387 drivers/scsi/libsas/sas_expander.c u8 *sas_addr, int *index, int *present) index 1396 drivers/scsi/libsas/sas_expander.c *index = 0; index 1430 drivers/scsi/libsas/sas_expander.c *index = i; index 1437 drivers/scsi/libsas/sas_expander.c *index = i; index 1444 drivers/scsi/libsas/sas_expander.c *index = i; index 1460 drivers/scsi/libsas/sas_expander.c u8 *sas_addr, int index, int include) index 1477 drivers/scsi/libsas/sas_expander.c *(__be16 *)(cri_req+6) = cpu_to_be16(index); index 1490 drivers/scsi/libsas/sas_expander.c SAS_ADDR(dev->sas_addr), phy_id, index); index 1501 drivers/scsi/libsas/sas_expander.c int index; index 1505 drivers/scsi/libsas/sas_expander.c res = sas_configure_present(dev, phy_id, sas_addr, &index, &present); index 1509 drivers/scsi/libsas/sas_expander.c return sas_configure_set(dev, phy_id, sas_addr, index,include); index 74 drivers/scsi/libsas/sas_host_smp.c static u8 *to_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count, u8 *bit) index 80 drivers/scsi/libsas/sas_host_smp.c if (index == 0) index 83 drivers/scsi/libsas/sas_host_smp.c index--; /* make index 0-based */ index 84 drivers/scsi/libsas/sas_host_smp.c if (od < index * 32) index 87 drivers/scsi/libsas/sas_host_smp.c od -= index * 32; index 100 drivers/scsi/libsas/sas_host_smp.c int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) index 105 drivers/scsi/libsas/sas_host_smp.c byte = to_sas_gpio_gp_bit(od, data, index, count, &bit); index 4342 drivers/scsi/lpfc/lpfc_attr.c int index = 0; index 4359 drivers/scsi/lpfc/lpfc_attr.c sprintf(&buf[index], "Statistical Data enabled :%d, " index 4364 drivers/scsi/lpfc/lpfc_attr.c index = strlen(buf); index 4374 drivers/scsi/lpfc/lpfc_attr.c if (index + 10 > PAGE_SIZE) index 4376 drivers/scsi/lpfc/lpfc_attr.c sprintf(&buf[index], "%08ld ", bucket_value); index 4377 drivers/scsi/lpfc/lpfc_attr.c index = strlen(buf); index 4380 drivers/scsi/lpfc/lpfc_attr.c sprintf(&buf[index], "\n"); index 4425 drivers/scsi/lpfc/lpfc_attr.c int i = 0, index = 0; index 4445 drivers/scsi/lpfc/lpfc_attr.c if ((index + MAX_STAT_DATA_SIZE_PER_TARGET) index 4453 drivers/scsi/lpfc/lpfc_attr.c sprintf(&buf[index], "%02x%02x%02x%02x%02x%02x%02x%02x:", index 4463 drivers/scsi/lpfc/lpfc_attr.c index = strlen(buf); index 4466 drivers/scsi/lpfc/lpfc_attr.c sprintf(&buf[index], "%010u,", index 4468 drivers/scsi/lpfc/lpfc_attr.c index = strlen(buf); index 4470 drivers/scsi/lpfc/lpfc_attr.c sprintf(&buf[index], "\n"); index 4471 drivers/scsi/lpfc/lpfc_attr.c index = strlen(buf); index 4474 drivers/scsi/lpfc/lpfc_attr.c return index; index 3799 drivers/scsi/lpfc/lpfc_bsg.c uint32_t index, struct lpfc_dmabuf *mbx_dmabuf, index 3808 drivers/scsi/lpfc/lpfc_bsg.c if (index == 0) { index 3810 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_hi = index 3814 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_lo = index 3820 drivers/scsi/lpfc/lpfc_bsg.c index, index 3822 drivers/scsi/lpfc/lpfc_bsg.c mse[index].buf_len, index 3824 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_hi, index 3826 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_lo); index 3829 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_hi = index 3832 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_lo = index 3837 drivers/scsi/lpfc/lpfc_bsg.c index, index 3839 drivers/scsi/lpfc/lpfc_bsg.c mse[index].buf_len, index 3841 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_hi, index 3843 drivers/scsi/lpfc/lpfc_bsg.c mse[index].pa_lo); index 3846 drivers/scsi/lpfc/lpfc_bsg.c if (index == 0) { index 3848 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_hi = index 3852 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_lo = index 3858 drivers/scsi/lpfc/lpfc_bsg.c index, index 3861 drivers/scsi/lpfc/lpfc_bsg.c sli_config_emb1_subsys.hbd[index]), index 3863 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_hi, index 3865 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_lo); index 3869 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_hi = index 3872 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_lo = index 3877 drivers/scsi/lpfc/lpfc_bsg.c index, index 3880 drivers/scsi/lpfc/lpfc_bsg.c sli_config_emb1_subsys.hbd[index]), index 3882 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_hi, index 3884 drivers/scsi/lpfc/lpfc_bsg.c hbd[index].pa_lo); index 4412 drivers/scsi/lpfc/lpfc_bsg.c uint32_t index; index 4414 drivers/scsi/lpfc/lpfc_bsg.c index = phba->mbox_ext_buf_ctx.seqNum; index 4422 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys.mse[index]); index 4425 drivers/scsi/lpfc/lpfc_bsg.c "buffer[%d], size:%d\n", index, size); index 4428 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb1_subsys.hbd[index]); index 4431 drivers/scsi/lpfc/lpfc_bsg.c "buffer[%d], size:%d\n", index, size); index 4442 drivers/scsi/lpfc/lpfc_bsg.c dmabuf, index); index 4485 drivers/scsi/lpfc/lpfc_bsg.c uint32_t index; index 4488 drivers/scsi/lpfc/lpfc_bsg.c index = phba->mbox_ext_buf_ctx.seqNum; index 4513 drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_sli_cfg_dma_desc_setup(phba, nemb_tp, index, index 4521 drivers/scsi/lpfc/lpfc_bsg.c dmabuf, index); index 150 drivers/scsi/lpfc/lpfc_debugfs.c int i, index, len, enable; index 163 drivers/scsi/lpfc/lpfc_debugfs.c index = (atomic_read(&vport->disc_trc_cnt) + 1) & index 165 drivers/scsi/lpfc/lpfc_debugfs.c for (i = index; i < lpfc_debugfs_max_disc_trc; i++) { index 176 drivers/scsi/lpfc/lpfc_debugfs.c for (i = 0; i < index; i++) { index 216 drivers/scsi/lpfc/lpfc_debugfs.c int i, index, len, enable; index 229 drivers/scsi/lpfc/lpfc_debugfs.c index = (atomic_read(&phba->slow_ring_trc_cnt) + 1) & index 231 drivers/scsi/lpfc/lpfc_debugfs.c for (i = index; i < lpfc_debugfs_max_slow_ring_trc; i++) { index 242 drivers/scsi/lpfc/lpfc_debugfs.c for (i = 0; i < index; i++) { index 1519 drivers/scsi/lpfc/lpfc_debugfs.c int i, state, index, skip; index 1524 drivers/scsi/lpfc/lpfc_debugfs.c index = (atomic_read(&phba->nvmeio_trc_cnt) + 1) & index 1532 drivers/scsi/lpfc/lpfc_debugfs.c index, skip, phba->nvmeio_trc_size); index 1539 drivers/scsi/lpfc/lpfc_debugfs.c for (i = index; i < phba->nvmeio_trc_size; i++) { index 1568 drivers/scsi/lpfc/lpfc_debugfs.c for (i = 0; i < index; i++) { index 1715 drivers/scsi/lpfc/lpfc_debugfs.c int index; index 1724 drivers/scsi/lpfc/lpfc_debugfs.c index = atomic_inc_return(&vport->disc_trc_cnt) & index 1726 drivers/scsi/lpfc/lpfc_debugfs.c dtp = vport->disc_trc + index; index 1756 drivers/scsi/lpfc/lpfc_debugfs.c int index; index 1762 drivers/scsi/lpfc/lpfc_debugfs.c index = atomic_inc_return(&phba->slow_ring_trc_cnt) & index 1764 drivers/scsi/lpfc/lpfc_debugfs.c dtp = phba->slow_ring_trc + index; index 1794 drivers/scsi/lpfc/lpfc_debugfs.c int index; index 1799 drivers/scsi/lpfc/lpfc_debugfs.c index = atomic_inc_return(&phba->nvmeio_trc_cnt) & index 1801 drivers/scsi/lpfc/lpfc_debugfs.c dtp = phba->nvmeio_trc + index; index 3098 drivers/scsi/lpfc/lpfc_debugfs.c int offset_label, offset, len = 0, index = LPFC_PCI_CFG_RD_SIZE; index 3164 drivers/scsi/lpfc/lpfc_debugfs.c while (index > 0) { index 3174 drivers/scsi/lpfc/lpfc_debugfs.c index -= sizeof(uint32_t); index 3175 drivers/scsi/lpfc/lpfc_debugfs.c if (!index) index 3178 drivers/scsi/lpfc/lpfc_debugfs.c else if (!(index % (8 * sizeof(uint32_t)))) { index 3186 drivers/scsi/lpfc/lpfc_debugfs.c if (index == 0) { index 3394 drivers/scsi/lpfc/lpfc_debugfs.c int offset_label, offset, offset_run, len = 0, index; index 3467 drivers/scsi/lpfc/lpfc_debugfs.c index = LPFC_PCI_BAR_RD_SIZE; index 3468 drivers/scsi/lpfc/lpfc_debugfs.c while (index > 0) { index 3487 drivers/scsi/lpfc/lpfc_debugfs.c index -= sizeof(uint32_t); index 3488 drivers/scsi/lpfc/lpfc_debugfs.c if (!index) index 3491 drivers/scsi/lpfc/lpfc_debugfs.c else if (!(index % (8 * sizeof(uint32_t)))) { index 3500 drivers/scsi/lpfc/lpfc_debugfs.c if (index == 0) { index 3980 drivers/scsi/lpfc/lpfc_debugfs.c lpfc_idiag_que_param_check(struct lpfc_queue *q, int index, int count) index 3985 drivers/scsi/lpfc/lpfc_debugfs.c if (index > q->entry_count - 1) index 4006 drivers/scsi/lpfc/lpfc_debugfs.c uint32_t index) index 4016 drivers/scsi/lpfc/lpfc_debugfs.c "QE-INDEX[%04d]:\n", index); index 4019 drivers/scsi/lpfc/lpfc_debugfs.c pentry = lpfc_sli4_qe(pque, index); index 4057 drivers/scsi/lpfc/lpfc_debugfs.c uint32_t last_index, index, count; index 4075 drivers/scsi/lpfc/lpfc_debugfs.c index = idiag.cmd.data[IDIAG_QUEACC_INDEX_INDX]; index 4086 drivers/scsi/lpfc/lpfc_debugfs.c len = lpfc_idiag_queacc_read_qe(pbuffer, len, pque, index); index 4094 drivers/scsi/lpfc/lpfc_debugfs.c index = last_index; index 4097 drivers/scsi/lpfc/lpfc_debugfs.c len = lpfc_idiag_queacc_read_qe(pbuffer, len, pque, index); index 4098 drivers/scsi/lpfc/lpfc_debugfs.c index++; index 4099 drivers/scsi/lpfc/lpfc_debugfs.c if (index > pque->entry_count - 1) index 4104 drivers/scsi/lpfc/lpfc_debugfs.c if (index > pque->entry_count - 1) index 4105 drivers/scsi/lpfc/lpfc_debugfs.c index = 0; index 4106 drivers/scsi/lpfc/lpfc_debugfs.c idiag.offset.last_rd = index; index 4135 drivers/scsi/lpfc/lpfc_debugfs.c uint32_t qidx, quetp, queid, index, count, offset, value; index 4150 drivers/scsi/lpfc/lpfc_debugfs.c index = idiag.cmd.data[IDIAG_QUEACC_INDEX_INDX]; index 4178 drivers/scsi/lpfc/lpfc_debugfs.c index, count); index 4194 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.mbx_cq, index, count); index 4205 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.els_cq, index, count); index 4216 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.nvmels_cq, index, count); index 4230 drivers/scsi/lpfc/lpfc_debugfs.c qp, index, count); index 4246 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.mbx_wq, index, count); index 4260 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.els_wq, index, count); index 4271 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.nvmels_wq, index, count); index 4285 drivers/scsi/lpfc/lpfc_debugfs.c qp, index, count); index 4302 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.hdr_rq, index, count); index 4313 drivers/scsi/lpfc/lpfc_debugfs.c phba->sli4_hba.dat_rq, index, count); index 4330 drivers/scsi/lpfc/lpfc_debugfs.c idiag.offset.last_rd = index; index 4340 drivers/scsi/lpfc/lpfc_debugfs.c pentry = lpfc_sli4_qe(pque, index); index 5091 drivers/scsi/lpfc/lpfc_debugfs.c int index; index 5098 drivers/scsi/lpfc/lpfc_debugfs.c index = 0; index 5102 drivers/scsi/lpfc/lpfc_debugfs.c index, rsrc_blks->rsrc_start, index 5104 drivers/scsi/lpfc/lpfc_debugfs.c index++; index 5108 drivers/scsi/lpfc/lpfc_debugfs.c index = 0; index 5113 drivers/scsi/lpfc/lpfc_debugfs.c index, rsrc_blks->rsrc_start, index 5115 drivers/scsi/lpfc/lpfc_debugfs.c index++; index 5120 drivers/scsi/lpfc/lpfc_debugfs.c index = 0; index 5125 drivers/scsi/lpfc/lpfc_debugfs.c index, rsrc_blks->rsrc_start, index 5127 drivers/scsi/lpfc/lpfc_debugfs.c index++; index 5132 drivers/scsi/lpfc/lpfc_debugfs.c index = 0; index 5137 drivers/scsi/lpfc/lpfc_debugfs.c index, rsrc_blks->rsrc_start, index 5139 drivers/scsi/lpfc/lpfc_debugfs.c index++; index 7587 drivers/scsi/lpfc/lpfc_els.c rpl_rsp.index = 0; index 7657 drivers/scsi/lpfc/lpfc_els.c if ((rpl->index == 0) && index 5503 drivers/scsi/lpfc/lpfc_hbadisc.c uint32_t alpa, index; index 5526 drivers/scsi/lpfc/lpfc_hbadisc.c index = j; index 5528 drivers/scsi/lpfc/lpfc_hbadisc.c index = FC_MAXLOOP - j - 1; index 5529 drivers/scsi/lpfc/lpfc_hbadisc.c alpa = lpfcAlpaArray[index]; index 1003 drivers/scsi/lpfc/lpfc_hw.h uint32_t index; index 1014 drivers/scsi/lpfc/lpfc_hw.h uint32_t index; index 4071 drivers/scsi/lpfc/lpfc_hw4.h uint32_t index; index 2130 drivers/scsi/lpfc/lpfc_init.c int index = 0; index 2140 drivers/scsi/lpfc/lpfc_init.c while (!finished && (index < (len - 4))) { index 2141 drivers/scsi/lpfc/lpfc_init.c switch (vpd[index]) { index 2144 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2145 drivers/scsi/lpfc/lpfc_init.c lenlo = vpd[index]; index 2146 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2147 drivers/scsi/lpfc/lpfc_init.c lenhi = vpd[index]; index 2148 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2150 drivers/scsi/lpfc/lpfc_init.c index += i; index 2153 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2154 drivers/scsi/lpfc/lpfc_init.c lenlo = vpd[index]; index 2155 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2156 drivers/scsi/lpfc/lpfc_init.c lenhi = vpd[index]; index 2157 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2159 drivers/scsi/lpfc/lpfc_init.c if (Length > len - index) index 2160 drivers/scsi/lpfc/lpfc_init.c Length = len - index; index 2163 drivers/scsi/lpfc/lpfc_init.c if ((vpd[index] == 'S') && (vpd[index+1] == 'N')) { index 2164 drivers/scsi/lpfc/lpfc_init.c index += 2; index 2165 drivers/scsi/lpfc/lpfc_init.c i = vpd[index]; index 2166 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2170 drivers/scsi/lpfc/lpfc_init.c phba->SerialNumber[j++] = vpd[index++]; index 2177 drivers/scsi/lpfc/lpfc_init.c else if ((vpd[index] == 'V') && (vpd[index+1] == '1')) { index 2179 drivers/scsi/lpfc/lpfc_init.c index += 2; index 2180 drivers/scsi/lpfc/lpfc_init.c i = vpd[index]; index 2181 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2185 drivers/scsi/lpfc/lpfc_init.c phba->ModelDesc[j++] = vpd[index++]; index 2192 drivers/scsi/lpfc/lpfc_init.c else if ((vpd[index] == 'V') && (vpd[index+1] == '2')) { index 2194 drivers/scsi/lpfc/lpfc_init.c index += 2; index 2195 drivers/scsi/lpfc/lpfc_init.c i = vpd[index]; index 2196 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2200 drivers/scsi/lpfc/lpfc_init.c phba->ModelName[j++] = vpd[index++]; index 2207 drivers/scsi/lpfc/lpfc_init.c else if ((vpd[index] == 'V') && (vpd[index+1] == '3')) { index 2209 drivers/scsi/lpfc/lpfc_init.c index += 2; index 2210 drivers/scsi/lpfc/lpfc_init.c i = vpd[index]; index 2211 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2215 drivers/scsi/lpfc/lpfc_init.c phba->ProgramType[j++] = vpd[index++]; index 2222 drivers/scsi/lpfc/lpfc_init.c else if ((vpd[index] == 'V') && (vpd[index+1] == '4')) { index 2224 drivers/scsi/lpfc/lpfc_init.c index += 2; index 2225 drivers/scsi/lpfc/lpfc_init.c i = vpd[index]; index 2226 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2234 drivers/scsi/lpfc/lpfc_init.c index++; index 2236 drivers/scsi/lpfc/lpfc_init.c phba->Port[j++] = vpd[index++]; index 2247 drivers/scsi/lpfc/lpfc_init.c index += 2; index 2248 drivers/scsi/lpfc/lpfc_init.c i = vpd[index]; index 2249 drivers/scsi/lpfc/lpfc_init.c index += 1; index 2250 drivers/scsi/lpfc/lpfc_init.c index += i; index 2260 drivers/scsi/lpfc/lpfc_init.c index ++; index 5562 drivers/scsi/lpfc/lpfc_init.c acqe_fip->index); index 5569 drivers/scsi/lpfc/lpfc_init.c acqe_fip->index); index 5580 drivers/scsi/lpfc/lpfc_init.c acqe_fip->index); index 5581 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli4_read_fcf_rec(phba, acqe_fip->index); index 5607 drivers/scsi/lpfc/lpfc_init.c acqe_fip->event_tag, acqe_fip->index); index 5627 drivers/scsi/lpfc/lpfc_init.c "tag:x%x\n", acqe_fip->index, acqe_fip->event_tag); index 5634 drivers/scsi/lpfc/lpfc_init.c (phba->fcf.current_rec.fcf_indx != acqe_fip->index)) { index 5637 drivers/scsi/lpfc/lpfc_init.c lpfc_sli4_fcf_rr_index_clear(phba, acqe_fip->index); index 5643 drivers/scsi/lpfc/lpfc_init.c if (phba->fcf.current_rec.fcf_indx != acqe_fip->index) index 5660 drivers/scsi/lpfc/lpfc_init.c "\n", acqe_fip->event_tag, acqe_fip->index); index 5690 drivers/scsi/lpfc/lpfc_init.c " tag 0x%x\n", acqe_fip->index, acqe_fip->event_tag); index 5693 drivers/scsi/lpfc/lpfc_init.c acqe_fip->index); index 11153 drivers/scsi/lpfc/lpfc_init.c int vectors, rc, index; index 11170 drivers/scsi/lpfc/lpfc_init.c for (index = 0; index < vectors; index++) { index 11171 drivers/scsi/lpfc/lpfc_init.c name = phba->sli4_hba.hba_eq_hdl[index].handler_name; index 11174 drivers/scsi/lpfc/lpfc_init.c LPFC_DRIVER_HANDLER_NAME"%d", index); index 11176 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.hba_eq_hdl[index].idx = index; index 11177 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.hba_eq_hdl[index].phba = phba; index 11178 drivers/scsi/lpfc/lpfc_init.c rc = request_irq(pci_irq_vector(phba->pcidev, index), index 11181 drivers/scsi/lpfc/lpfc_init.c &phba->sli4_hba.hba_eq_hdl[index]); index 11185 drivers/scsi/lpfc/lpfc_init.c "request_irq failed (%d)\n", index, rc); index 11205 drivers/scsi/lpfc/lpfc_init.c for (--index; index >= 0; index--) index 11206 drivers/scsi/lpfc/lpfc_init.c free_irq(pci_irq_vector(phba->pcidev, index), index 11207 drivers/scsi/lpfc/lpfc_init.c &phba->sli4_hba.hba_eq_hdl[index]); index 11233 drivers/scsi/lpfc/lpfc_init.c int rc, index; index 11255 drivers/scsi/lpfc/lpfc_init.c for (index = 0; index < phba->cfg_irq_chann; index++) { index 11256 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.hba_eq_hdl[index].idx = index; index 11257 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.hba_eq_hdl[index].phba = phba; index 11344 drivers/scsi/lpfc/lpfc_init.c int index; index 11347 drivers/scsi/lpfc/lpfc_init.c for (index = 0; index < phba->cfg_irq_chann; index++) { index 11349 drivers/scsi/lpfc/lpfc_init.c pci_irq_vector(phba->pcidev, index), index 11351 drivers/scsi/lpfc/lpfc_init.c free_irq(pci_irq_vector(phba->pcidev, index), index 11352 drivers/scsi/lpfc/lpfc_init.c &phba->sli4_hba.hba_eq_hdl[index]); index 241 drivers/scsi/lpfc/lpfc_nvme.c qhandle->index = ((qidx - 1) % index 245 drivers/scsi/lpfc/lpfc_nvme.c qhandle->index = qidx; index 251 drivers/scsi/lpfc/lpfc_nvme.c qidx, qhandle->cpu_id, qhandle->index, qhandle); index 1616 drivers/scsi/lpfc/lpfc_nvme.c lpfc_queue_info->index, ndlp->nlp_DID, index 1627 drivers/scsi/lpfc/lpfc_nvme.c idx = lpfc_queue_info->index; index 1639 drivers/scsi/lpfc/lpfc_nvme.c lpfc_queue_info->index, ndlp->nlp_DID); index 1680 drivers/scsi/lpfc/lpfc_nvme.c lpfc_queue_info->index, ndlp->nlp_DID); index 1688 drivers/scsi/lpfc/lpfc_nvme.c lpfc_queue_info->index, ndlp->nlp_DID); index 1718 drivers/scsi/lpfc/lpfc_nvme.c lpfc_queue_info->index); index 41 drivers/scsi/lpfc/lpfc_nvme.h uint32_t index; /* WQ index to use */ index 233 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_wq_release(struct lpfc_queue *q, uint32_t index) index 241 drivers/scsi/lpfc/lpfc_sli.c if (q->hba_index == index) index 246 drivers/scsi/lpfc/lpfc_sli.c } while (q->hba_index != index); index 831 drivers/scsi/lpfc/lpfc_vport.c int index = 0; index 846 drivers/scsi/lpfc/lpfc_vport.c vports[index++] = port_iterator; index 2738 drivers/scsi/megaraid.c mega_create_proc_entry(int index, struct proc_dir_entry *parent) index 2740 drivers/scsi/megaraid.c adapter_t *adapter = hba_soft_state[index]; index 2782 drivers/scsi/megaraid.c static inline void mega_create_proc_entry(int index, struct proc_dir_entry *parent) index 1040 drivers/scsi/megaraid/megaraid_mm.c int index = 0; index 1046 drivers/scsi/megaraid/megaraid_mm.c return MKADAP(index); index 1049 drivers/scsi/megaraid/megaraid_mm.c index++; index 2557 drivers/scsi/megaraid/megaraid_sas.h u32 index; index 347 drivers/scsi/megaraid/megaraid_sas_base.c blk_tags = instance->max_scsi_cmds + cmd->index; index 355 drivers/scsi/megaraid/megaraid_sas_base.c cmd->frame->io.context = cpu_to_le32(cmd->index); index 1186 drivers/scsi/megaraid/megaraid_sas_base.c abort_fr->abort_context = cpu_to_le32(cmd_to_abort->index); index 4271 drivers/scsi/megaraid/megaraid_sas_base.c cmd->frame->io.context = cpu_to_le32(cmd->index); index 4363 drivers/scsi/megaraid/megaraid_sas_base.c cmd->index = i; index 8069 drivers/scsi/megaraid/megaraid_sas_base.c cmd->frame->hdr.context = cpu_to_le32(cmd->index); index 960 drivers/scsi/megaraid/megaraid_sas_fusion.c cmd->index = i + 1; index 3311 drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_get_request_descriptor(struct megasas_instance *instance, u16 index) index 3318 drivers/scsi/megaraid/megaraid_sas_fusion.c sizeof(union MEGASAS_REQUEST_DESCRIPTOR_UNION) * index; index 3345 drivers/scsi/megaraid/megaraid_sas_fusion.c (r1_cmd->index - 1)); index 3348 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc2->SCSIIO.SMID = cpu_to_le16(r1_cmd->index); index 3354 drivers/scsi/megaraid/megaraid_sas_fusion.c cpu_to_le16(r1_cmd->index); index 3356 drivers/scsi/megaraid/megaraid_sas_fusion.c cpu_to_le16(cmd->index); index 3377 drivers/scsi/megaraid/megaraid_sas_fusion.c u32 index; index 3400 drivers/scsi/megaraid/megaraid_sas_fusion.c index = cmd->index; index 3402 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc = megasas_get_request_descriptor(instance, index-1); index 3416 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc->SCSIIO.SMID = cpu_to_le16(index); index 3830 drivers/scsi/megaraid/megaraid_sas_fusion.c instance->max_scsi_cmds + mfi_cmd->index); index 3833 drivers/scsi/megaraid/megaraid_sas_fusion.c mfi_cmd->context.smid = cmd->index; index 3879 drivers/scsi/megaraid/megaraid_sas_fusion.c u16 index; index 3882 drivers/scsi/megaraid/megaraid_sas_fusion.c index = cmd->context.smid; index 3884 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc = megasas_get_request_descriptor(instance, index - 1); index 3890 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc->SCSIIO.SMID = cpu_to_le16(index); index 4332 drivers/scsi/megaraid/megaraid_sas_fusion.c channel, id, cmd_fusion->index); index 4438 drivers/scsi/megaraid/megaraid_sas_fusion.c instance->max_scsi_cmds + cmd_mfi->index); index 4441 drivers/scsi/megaraid/megaraid_sas_fusion.c cmd_mfi->context.smid = cmd_fusion->index; index 4444 drivers/scsi/megaraid/megaraid_sas_fusion.c (cmd_fusion->index - 1)); index 4460 drivers/scsi/megaraid/megaraid_sas_fusion.c req_desc->HighPriority.SMID = cpu_to_le16(cmd_fusion->index); index 4561 drivers/scsi/megaraid/megaraid_sas_fusion.c " SMID: %d\n", cmd_fusion->index); index 4562 drivers/scsi/megaraid/megaraid_sas_fusion.c ret = cmd_fusion->index; index 4886 drivers/scsi/megaraid/megaraid_sas_fusion.c cmd_fusion->index); index 1102 drivers/scsi/megaraid/megaraid_sas_fusion.h u32 index; index 220 drivers/scsi/mpt3sas/mpt3sas_base.c u32 index) index 230 drivers/scsi/mpt3sas/mpt3sas_base.c (cmd_credit * ioc->request_sz) + (index * sizeof(u32)); index 380 drivers/scsi/mpt3sas/mpt3sas_base.c u16 index, j; index 383 drivers/scsi/mpt3sas/mpt3sas_base.c for (index = 0; index < ioc->scsiio_depth; index++) { index 385 drivers/scsi/mpt3sas/mpt3sas_base.c ct = &ioc->chain_lookup[index].chains_per_smid[j]; index 2840 drivers/scsi/mpt3sas/mpt3sas_base.c _base_request_irq(struct MPT3SAS_ADAPTER *ioc, u8 index) index 2853 drivers/scsi/mpt3sas/mpt3sas_base.c reply_q->msix_index = index; index 2858 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->driver_name, ioc->id, index); index 2862 drivers/scsi/mpt3sas/mpt3sas_base.c r = request_irq(pci_irq_vector(pdev, index), _base_interrupt, index 2866 drivers/scsi/mpt3sas/mpt3sas_base.c reply_q->name, pci_irq_vector(pdev, index)); index 2888 drivers/scsi/mpt3sas/mpt3sas_base.c unsigned int cpu, nr_cpus, nr_msix, index = 0; index 2914 drivers/scsi/mpt3sas/mpt3sas_base.c for (index = 0; index < ioc->high_iops_queues; index 2915 drivers/scsi/mpt3sas/mpt3sas_base.c index++) { index 2917 drivers/scsi/mpt3sas/mpt3sas_base.c index), cpumask_of_node(local_numa_node)); index 2947 drivers/scsi/mpt3sas/mpt3sas_base.c index = 0; index 2958 drivers/scsi/mpt3sas/mpt3sas_base.c if (index < nr_cpus % nr_msix) index 2965 drivers/scsi/mpt3sas/mpt3sas_base.c index++; index 6727 drivers/scsi/mpt3sas/mpt3sas_base.c int r, i, index, rc; index 6805 drivers/scsi/mpt3sas/mpt3sas_base.c index = 0; index 6814 drivers/scsi/mpt3sas/mpt3sas_base.c ioc->reply_post[index++].reply_post_free; index 42 drivers/scsi/mvsas/mv_sas.c unsigned int index, tag; index 45 drivers/scsi/mvsas/mv_sas.c index = find_first_zero_bit(bitmap, mvi->tags_num); index 46 drivers/scsi/mvsas/mv_sas.c tag = index; index 1651 drivers/scsi/mvumi.c int index; index 1654 drivers/scsi/mvumi.c index = -1; index 1660 drivers/scsi/mvumi.c index = find_next_zero_bit(ar_bitmap, size, index + 1); index 1661 drivers/scsi/mvumi.c if (index >= size) index 1663 drivers/scsi/mvumi.c mvumi_handle_hotplug(mhba, index, DEVICE_ONLINE); index 1666 drivers/scsi/mvumi.c index = -1; index 1668 drivers/scsi/mvumi.c index = find_next_zero_bit(re_bitmap, size, index + 1); index 1669 drivers/scsi/mvumi.c if (index >= size) index 1671 drivers/scsi/mvumi.c mvumi_handle_hotplug(mhba, index, DEVICE_OFFLINE); index 13 drivers/scsi/nsp32_io.h unsigned int index, index 16 drivers/scsi/nsp32_io.h outb(val, (base + index)); index 20 drivers/scsi/nsp32_io.h unsigned int index) index 22 drivers/scsi/nsp32_io.h return inb(base + index); index 26 drivers/scsi/nsp32_io.h unsigned int index, index 29 drivers/scsi/nsp32_io.h outw(val, (base + index)); index 33 drivers/scsi/nsp32_io.h unsigned int index) index 35 drivers/scsi/nsp32_io.h return inw(base + index); index 39 drivers/scsi/nsp32_io.h unsigned int index, index 42 drivers/scsi/nsp32_io.h outl(val, (base + index)); index 46 drivers/scsi/nsp32_io.h unsigned int index) index 48 drivers/scsi/nsp32_io.h return inl(base + index); index 54 drivers/scsi/nsp32_io.h unsigned int index, index 59 drivers/scsi/nsp32_io.h ptr = (unsigned char *)(base + NSP32_MMIO_OFFSET + index); index 65 drivers/scsi/nsp32_io.h unsigned int index) index 69 drivers/scsi/nsp32_io.h ptr = (unsigned char *)(base + NSP32_MMIO_OFFSET + index); index 75 drivers/scsi/nsp32_io.h unsigned int index, index 80 drivers/scsi/nsp32_io.h ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + index); index 86 drivers/scsi/nsp32_io.h unsigned int index) index 90 drivers/scsi/nsp32_io.h ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + index); index 96 drivers/scsi/nsp32_io.h unsigned int index, index 101 drivers/scsi/nsp32_io.h ptr = (unsigned long *)(base + NSP32_MMIO_OFFSET + index); index 107 drivers/scsi/nsp32_io.h unsigned int index) index 111 drivers/scsi/nsp32_io.h ptr = (unsigned long *)(base + NSP32_MMIO_OFFSET + index); index 16 drivers/scsi/pcmcia/nsp_io.h unsigned int index, index 19 drivers/scsi/pcmcia/nsp_io.h unsigned int index); index 31 drivers/scsi/pcmcia/nsp_io.h unsigned int index, index 34 drivers/scsi/pcmcia/nsp_io.h outb(val, (base + index)); index 38 drivers/scsi/pcmcia/nsp_io.h unsigned int index) index 40 drivers/scsi/pcmcia/nsp_io.h return inb(base + index); index 179 drivers/scsi/pcmcia/nsp_io.h unsigned int index, index 182 drivers/scsi/pcmcia/nsp_io.h unsigned char *ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + index); index 188 drivers/scsi/pcmcia/nsp_io.h unsigned int index) index 190 drivers/scsi/pcmcia/nsp_io.h unsigned char *ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + index); index 4991 drivers/scsi/pm8001/pm8001_hwi.c u32 index, work_offset, dw_length; index 5018 drivers/scsi/pm8001/pm8001_hwi.c for (index = 0; index < dw_length; index++) { index 73 drivers/scsi/pm8001/pm80xx_hwi.c u32 index, value, offset; index 77 drivers/scsi/pm8001/pm80xx_hwi.c for (index = 0; index < dw_count; index += 4, destination1++) { index 78 drivers/scsi/pm8001/pm80xx_hwi.c offset = (soffset + index / 4); index 94 drivers/scsi/pm8001/pm80xx_hwi.c u32 accum_len , reg_val, index, *temp; index 167 drivers/scsi/pm8001/pm80xx_hwi.c for (index = 0; index < (SYSFS_OFFSET / 4); index++) { index 171 drivers/scsi/pm8001/pm80xx_hwi.c "%08x ", *(temp + index)); index 187 drivers/scsi/pm8001/pm80xx_hwi.c for (index = 0; index < (SYSFS_OFFSET / 4); index++) { index 191 drivers/scsi/pm8001/pm80xx_hwi.c "%08x ", *(temp + index)); index 202 drivers/scsi/pm8001/pm80xx_hwi.c for (index = 0; index < 256; index++) { index 206 drivers/scsi/pm8001/pm80xx_hwi.c "%08x ", *(temp + index)); index 294 drivers/scsi/pmcraid.c static void pmcraid_init_cmdblk(struct pmcraid_cmd *cmd, int index) index 299 drivers/scsi/pmcraid.c if (index >= 0) { index 304 drivers/scsi/pmcraid.c cmd->index = index; index 305 drivers/scsi/pmcraid.c ioarcb->response_handle = cpu_to_le32(index << 2); index 1049 drivers/scsi/pmcraid.c int index = cmd->hrrq_index; index 1050 drivers/scsi/pmcraid.c __be64 hrrq_addr = cpu_to_be64(pinstance->hrrq_start_bus_addr[index]); index 1055 drivers/scsi/pmcraid.c cmd->hrrq_index = index + 1; index 1069 drivers/scsi/pmcraid.c ioarcb->hrrq_id = index; index 1071 drivers/scsi/pmcraid.c ioarcb->cdb[1] = index; index 1077 drivers/scsi/pmcraid.c hrrq_addr, ioarcb->ioarcb_bus_addr, index); index 573 drivers/scsi/pmcraid.h u32 index; /* index into the command list */ index 207 drivers/scsi/qedi/qedi_fw_api.c u16 index; index 215 drivers/scsi/qedi/qedi_fw_api.c for (index = 0; index < index 217 drivers/scsi/qedi/qedi_fw_api.c index++) { index 218 drivers/scsi/qedi/qedi_fw_api.c val = cpu_to_le32(pdu_header->data[index]); index 219 drivers/scsi/qedi/qedi_fw_api.c context->ystorm_st_context.pdu_hdr.data.data[index] = val; index 916 drivers/scsi/qedi/qedi_main.c struct qedi_boot_target *tgt, u8 index) index 924 drivers/scsi/qedi/qedi_main.c block->target[index].target_name.byte); index 930 drivers/scsi/qedi/qedi_main.c block->target[index].ipv6_addr.byte); index 933 drivers/scsi/qedi/qedi_main.c block->target[index].ipv4_addr.byte); index 1503 drivers/scsi/qla1280.c int index; index 1509 drivers/scsi/qla1280.c index = ql1280_board_tbl[ha->devnum].fw_index; index 1510 drivers/scsi/qla1280.c fw = qla1280_fw_tbl[index].fw; index 1514 drivers/scsi/qla1280.c fwname = qla1280_fw_tbl[index].fwname; index 1531 drivers/scsi/qla1280.c qla1280_fw_tbl[index].fw = fw; index 3346 drivers/scsi/qla1280.c uint32_t index; index 3395 drivers/scsi/qla1280.c index = mailbox[2] << 16 | mailbox[1]; index 3398 drivers/scsi/qla1280.c if (index < MAX_OUTSTANDING_COMMANDS) index 3399 drivers/scsi/qla1280.c sp = ha->outstanding_cmds[index]; index 3405 drivers/scsi/qla1280.c ha->outstanding_cmds[index] = NULL; index 3425 drivers/scsi/qla1280.c index = mailbox[6] & BIT_0; index 3426 drivers/scsi/qla1280.c ha->bus_settings[index].reset_marker = 1; index 3429 drivers/scsi/qla1280.c "asynchronous BUS_RESET\n", index); index 3463 drivers/scsi/qla1280.c index = mailbox[6] & BIT_0; index 3464 drivers/scsi/qla1280.c ha->bus_settings[index].reset_marker = 1; index 4403 drivers/scsi/qla2xxx/qla_init.c uint16_t index; index 4421 drivers/scsi/qla2xxx/qla_init.c index = (ha->pdev->subsystem_device & 0xff); index 4424 drivers/scsi/qla2xxx/qla_init.c index < QLA_MODEL_NAMES) index 4426 drivers/scsi/qla2xxx/qla_init.c qla2x00_model_name[index * 2 + 1], index 4429 drivers/scsi/qla2xxx/qla_init.c index = (ha->pdev->subsystem_device & 0xff); index 4432 drivers/scsi/qla2xxx/qla_init.c index < QLA_MODEL_NAMES) { index 4434 drivers/scsi/qla2xxx/qla_init.c qla2x00_model_name[index * 2], index 4437 drivers/scsi/qla2xxx/qla_init.c qla2x00_model_name[index * 2 + 1], index 5039 drivers/scsi/qla2xxx/qla_init.c uint16_t index; index 5135 drivers/scsi/qla2xxx/qla_init.c for (index = 0; index < entries; index++) { index 302 drivers/scsi/qla2xxx/qla_iocb.c uint32_t index, handle = req->current_outstanding_cmd; index 304 drivers/scsi/qla2xxx/qla_iocb.c for (index = 1; index < req->num_outstanding_cmds; index++) { index 2933 drivers/scsi/qla2xxx/qla_iocb.c int index; index 2967 drivers/scsi/qla2xxx/qla_iocb.c index = 0; index 2970 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->reply_payload.sg_list, sg, tot_dsds, index) { index 3000 drivers/scsi/qla2xxx/qla_iocb.c int index; index 3028 drivers/scsi/qla2xxx/qla_iocb.c index = 0; index 3030 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->request_payload.sg_list, sg, cmd_dsds, index) { index 3048 drivers/scsi/qla2xxx/qla_iocb.c index = 0; index 3050 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->reply_payload.sg_list, sg, rsp_dsds, index) { index 3646 drivers/scsi/qla2xxx/qla_iocb.c int index; index 3679 drivers/scsi/qla2xxx/qla_iocb.c index = 0; index 3682 drivers/scsi/qla2xxx/qla_iocb.c bsg_job->request_payload.sg_cnt, index) { index 3704 drivers/scsi/qla2xxx/qla_iocb.c bsg_job->reply_payload.sg_cnt, index) { index 1274 drivers/scsi/qla2xxx/qla_isr.c struct req_que *req, uint32_t index) index 1280 drivers/scsi/qla2xxx/qla_isr.c if (index >= req->num_outstanding_cmds) { index 1282 drivers/scsi/qla2xxx/qla_isr.c "Invalid SCSI command index (%x).\n", index); index 1291 drivers/scsi/qla2xxx/qla_isr.c sp = req->outstanding_cmds[index]; index 1294 drivers/scsi/qla2xxx/qla_isr.c req->outstanding_cmds[index] = NULL; index 1315 drivers/scsi/qla2xxx/qla_isr.c uint16_t index; index 1317 drivers/scsi/qla2xxx/qla_isr.c index = LSW(pkt->handle); index 1318 drivers/scsi/qla2xxx/qla_isr.c if (index >= req->num_outstanding_cmds) { index 1321 drivers/scsi/qla2xxx/qla_isr.c index, iocb); index 1328 drivers/scsi/qla2xxx/qla_isr.c sp = req->outstanding_cmds[index]; index 1331 drivers/scsi/qla2xxx/qla_isr.c "Invalid completion handle (%x) -- timed-out.\n", index); index 1334 drivers/scsi/qla2xxx/qla_isr.c if (sp->handle != index) { index 1336 drivers/scsi/qla2xxx/qla_isr.c "SRB handle (%x) mismatch %x.\n", sp->handle, index); index 1340 drivers/scsi/qla2xxx/qla_isr.c req->outstanding_cmds[index] = NULL; index 2255 drivers/scsi/qla2xxx/qla_isr.c struct req_que *req, uint32_t index) index 2270 drivers/scsi/qla2xxx/qla_isr.c if (index >= req->num_outstanding_cmds) { index 2272 drivers/scsi/qla2xxx/qla_isr.c "Invalid SCSI completion handle 0x%x.\n", index); index 2277 drivers/scsi/qla2xxx/qla_isr.c sp = req->outstanding_cmds[index]; index 2281 drivers/scsi/qla2xxx/qla_isr.c req->id, index); index 2288 drivers/scsi/qla2xxx/qla_isr.c req->outstanding_cmds[index] = NULL; index 3317 drivers/scsi/qla2xxx/qla_mr.c int index = 0, cont = 0; index 3326 drivers/scsi/qla2xxx/qla_mr.c tot_dsds, index) { index 3373 drivers/scsi/qla2xxx/qla_mr.c int index = 0, cont = 0; index 3382 drivers/scsi/qla2xxx/qla_mr.c tot_dsds, index) { index 3732 drivers/scsi/qla2xxx/qla_nx.c uint32_t addr, index, crb_addr; index 3796 drivers/scsi/qla2xxx/qla_nx.c index = crb_entry->crb_strd.state_index_a; index 3797 drivers/scsi/qla2xxx/qla_nx.c addr = tmplt_hdr->saved_state_array[index]; index 3802 drivers/scsi/qla2xxx/qla_nx.c index = crb_entry->crb_ctrl.state_index_v; index 3803 drivers/scsi/qla2xxx/qla_nx.c tmplt_hdr->saved_state_array[index] = read_value; index 3809 drivers/scsi/qla2xxx/qla_nx.c index = crb_entry->crb_strd.state_index_a; index 3810 drivers/scsi/qla2xxx/qla_nx.c addr = tmplt_hdr->saved_state_array[index]; index 3815 drivers/scsi/qla2xxx/qla_nx.c index = crb_entry->crb_ctrl.state_index_v; index 3817 drivers/scsi/qla2xxx/qla_nx.c tmplt_hdr->saved_state_array[index]; index 3826 drivers/scsi/qla2xxx/qla_nx.c index = crb_entry->crb_ctrl.state_index_v; index 3827 drivers/scsi/qla2xxx/qla_nx.c read_value = tmplt_hdr->saved_state_array[index]; index 3834 drivers/scsi/qla2xxx/qla_nx.c tmplt_hdr->saved_state_array[index] = read_value; index 4149 drivers/scsi/qla2xxx/qla_nx.c qla82xx_md_entry_hdr_t *entry_hdr, int index) index 4155 drivers/scsi/qla2xxx/qla_nx.c index, entry_hdr->entry_type, index 890 drivers/scsi/qla2xxx/qla_nx2.c int index; index 918 drivers/scsi/qla2xxx/qla_nx2.c index = vha->reset_tmplt.array_index; index 921 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.array[index++] = value; index 922 drivers/scsi/qla2xxx/qla_nx2.c if (index == QLA8044_MAX_RESET_SEQ_ENTRIES) index 944 drivers/scsi/qla2xxx/qla_nx2.c int index, entries; index 951 drivers/scsi/qla2xxx/qla_nx2.c index = vha->reset_tmplt.seq_index; index 953 drivers/scsi/qla2xxx/qla_nx2.c for (; (!vha->reset_tmplt.seq_end) && (index < entries); index++) { index 988 drivers/scsi/qla2xxx/qla_nx2.c "entry = %d\n", __func__, p_hdr->cmd, index); index 996 drivers/scsi/qla2xxx/qla_nx2.c vha->reset_tmplt.seq_index = index; index 2211 drivers/scsi/qla2xxx/qla_nx2.c uint32_t read_value, opcode, poll_time, addr, index; index 2278 drivers/scsi/qla2xxx/qla_nx2.c index = crb_entry->crb_strd.state_index_a; index 2279 drivers/scsi/qla2xxx/qla_nx2.c addr = tmplt_hdr->saved_state_array[index]; index 2285 drivers/scsi/qla2xxx/qla_nx2.c index = crb_entry->crb_ctrl.state_index_v; index 2286 drivers/scsi/qla2xxx/qla_nx2.c tmplt_hdr->saved_state_array[index] = read_value; index 2292 drivers/scsi/qla2xxx/qla_nx2.c index = crb_entry->crb_strd.state_index_a; index 2293 drivers/scsi/qla2xxx/qla_nx2.c addr = tmplt_hdr->saved_state_array[index]; index 2299 drivers/scsi/qla2xxx/qla_nx2.c index = crb_entry->crb_ctrl.state_index_v; index 2301 drivers/scsi/qla2xxx/qla_nx2.c tmplt_hdr->saved_state_array[index]; index 2311 drivers/scsi/qla2xxx/qla_nx2.c index = crb_entry->crb_ctrl.state_index_v; index 2312 drivers/scsi/qla2xxx/qla_nx2.c read_value = tmplt_hdr->saved_state_array[index]; index 2319 drivers/scsi/qla2xxx/qla_nx2.c tmplt_hdr->saved_state_array[index] = read_value; index 2460 drivers/scsi/qla2xxx/qla_nx2.c struct qla8044_minidump_entry_hdr *entry_hdr, int index) index 2466 drivers/scsi/qla2xxx/qla_nx2.c vha->host_no, index, entry_hdr->entry_type, index 6535 drivers/scsi/qla2xxx/qla_os.c int index; index 6595 drivers/scsi/qla2xxx/qla_os.c for (index = 1; index 6596 drivers/scsi/qla2xxx/qla_os.c index < req->num_outstanding_cmds; index 6597 drivers/scsi/qla2xxx/qla_os.c index++) { index 6600 drivers/scsi/qla2xxx/qla_os.c sp = req->outstanding_cmds[index]; index 2515 drivers/scsi/qla2xxx/qla_target.c int index; index 2521 drivers/scsi/qla2xxx/qla_target.c for (index = 1; index < req->num_outstanding_cmds; index++) { index 1048 drivers/scsi/qla4xxx/ql4_83xx.c int index; index 1072 drivers/scsi/qla4xxx/ql4_83xx.c index = ha->reset_tmplt.array_index; index 1075 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.array[index++] = value; index 1077 drivers/scsi/qla4xxx/ql4_83xx.c if (index == QLA83XX_MAX_RESET_SEQ_ENTRIES) index 1119 drivers/scsi/qla4xxx/ql4_83xx.c int index, entries; index 1126 drivers/scsi/qla4xxx/ql4_83xx.c index = ha->reset_tmplt.seq_index; index 1128 drivers/scsi/qla4xxx/ql4_83xx.c for (; (!ha->reset_tmplt.seq_end) && (index < entries); index++) { index 1163 drivers/scsi/qla4xxx/ql4_83xx.c __func__, p_hdr->cmd, index); index 1171 drivers/scsi/qla4xxx/ql4_83xx.c ha->reset_tmplt.seq_index = index; index 74 drivers/scsi/qla4xxx/ql4_glbl.h uint32_t index); index 282 drivers/scsi/qla4xxx/ql4_iocb.c uint32_t index; index 292 drivers/scsi/qla4xxx/ql4_iocb.c index = (uint32_t)cmd->request->tag; index 325 drivers/scsi/qla4xxx/ql4_iocb.c cmd_entry->handle = cpu_to_le32(index); index 359 drivers/scsi/qla4xxx/ql4_iocb.c srb->cmd->host_scribble = (unsigned char *)(unsigned long)index; index 469 drivers/scsi/qla4xxx/ql4_iocb.c uint32_t index = 0; index 479 drivers/scsi/qla4xxx/ql4_iocb.c index = ha->mrb_index; index 482 drivers/scsi/qla4xxx/ql4_iocb.c index++; index 483 drivers/scsi/qla4xxx/ql4_iocb.c if (index == MAX_MRB) index 484 drivers/scsi/qla4xxx/ql4_iocb.c index = 1; index 485 drivers/scsi/qla4xxx/ql4_iocb.c if (ha->active_mrb_array[index] == NULL) { index 486 drivers/scsi/qla4xxx/ql4_iocb.c ha->mrb_index = index; index 492 drivers/scsi/qla4xxx/ql4_iocb.c ha->active_mrb_array[index] = mrb; index 493 drivers/scsi/qla4xxx/ql4_iocb.c mrb->mbox->handle = index; index 404 drivers/scsi/qla4xxx/ql4_isr.c uint32_t index) index 409 drivers/scsi/qla4xxx/ql4_isr.c if (index >= MAX_MRB) index 412 drivers/scsi/qla4xxx/ql4_isr.c mrb = ha->active_mrb_array[index]; index 413 drivers/scsi/qla4xxx/ql4_isr.c ha->active_mrb_array[index] = NULL; index 1175 drivers/scsi/qla4xxx/ql4_mbx.c uint32_t index; index 1185 drivers/scsi/qla4xxx/ql4_mbx.c index = (unsigned long)(unsigned char *)cmd->host_scribble; index 1189 drivers/scsi/qla4xxx/ql4_mbx.c if (index == MAX_SRBS) index 1194 drivers/scsi/qla4xxx/ql4_mbx.c mbox_cmd[2] = index; index 163 drivers/scsi/qla4xxx/ql4_nvram.c int index = 0; index 166 drivers/scsi/qla4xxx/ql4_nvram.c index = (offset - 1) / 2; index 168 drivers/scsi/qla4xxx/ql4_nvram.c index = offset / 2; index 170 drivers/scsi/qla4xxx/ql4_nvram.c val = le16_to_cpu(rd_nvram_word(ha, index)); index 184 drivers/scsi/qla4xxx/ql4_nvram.c uint32_t index; index 188 drivers/scsi/qla4xxx/ql4_nvram.c for (index = 0; index < eeprom_size(ha); index++) index 189 drivers/scsi/qla4xxx/ql4_nvram.c checksum += rd_nvram_word(ha, index); index 2209 drivers/scsi/qla4xxx/ql4_nx.c uint32_t read_value, opcode, poll_time, addr, index, rval = QLA_SUCCESS; index 2272 drivers/scsi/qla4xxx/ql4_nx.c index = crb_entry->crb_strd.state_index_a; index 2273 drivers/scsi/qla4xxx/ql4_nx.c addr = tmplt_hdr->saved_state_array[index]; index 2279 drivers/scsi/qla4xxx/ql4_nx.c index = crb_entry->crb_ctrl.state_index_v; index 2280 drivers/scsi/qla4xxx/ql4_nx.c tmplt_hdr->saved_state_array[index] = read_value; index 2286 drivers/scsi/qla4xxx/ql4_nx.c index = crb_entry->crb_strd.state_index_a; index 2287 drivers/scsi/qla4xxx/ql4_nx.c addr = tmplt_hdr->saved_state_array[index]; index 2293 drivers/scsi/qla4xxx/ql4_nx.c index = crb_entry->crb_ctrl.state_index_v; index 2295 drivers/scsi/qla4xxx/ql4_nx.c tmplt_hdr->saved_state_array[index]; index 2305 drivers/scsi/qla4xxx/ql4_nx.c index = crb_entry->crb_ctrl.state_index_v; index 2306 drivers/scsi/qla4xxx/ql4_nx.c read_value = tmplt_hdr->saved_state_array[index]; index 2313 drivers/scsi/qla4xxx/ql4_nx.c tmplt_hdr->saved_state_array[index] = read_value; index 2576 drivers/scsi/qla4xxx/ql4_nx.c int index) index 2581 drivers/scsi/qla4xxx/ql4_nx.c ha->host_no, index, entry_hdr->entry_type, index 4592 drivers/scsi/qla4xxx/ql4_os.c uint32_t index = 0; index 4612 drivers/scsi/qla4xxx/ql4_os.c for (index = 0; index < ha->host->can_queue; index++) { index 4613 drivers/scsi/qla4xxx/ql4_os.c cmd = scsi_host_find_tag(ha->host, index); index 4626 drivers/scsi/qla4xxx/ql4_os.c if (index == ha->host->can_queue) index 6337 drivers/scsi/qla4xxx/ql4_os.c uint32_t *index) index 6371 drivers/scsi/qla4xxx/ql4_os.c if (index != NULL) index 6372 drivers/scsi/qla4xxx/ql4_os.c *index = idx; index 7728 drivers/scsi/qla4xxx/ql4_os.c int idx, index; index 7792 drivers/scsi/qla4xxx/ql4_os.c index = ddb_entry->sess->target_id; index 7793 drivers/scsi/qla4xxx/ql4_os.c status = qla4xxx_get_fwddb_entry(ha, index, fw_ddb_entry, index 9061 drivers/scsi/qla4xxx/ql4_os.c uint32_t index) index 9066 drivers/scsi/qla4xxx/ql4_os.c cmd = scsi_host_find_tag(ha->host, index); index 2895 drivers/scsi/scsi_debug.c static sector_t map_index_to_lba(unsigned long index) index 2897 drivers/scsi/scsi_debug.c sector_t lba = index * sdebug_unmap_granularity; index 2908 drivers/scsi/scsi_debug.c unsigned long index; index 2911 drivers/scsi/scsi_debug.c index = lba_to_map_index(lba); index 2912 drivers/scsi/scsi_debug.c mapped = test_bit(index, map_storep); index 2915 drivers/scsi/scsi_debug.c next = find_next_zero_bit(map_storep, map_size, index); index 2917 drivers/scsi/scsi_debug.c next = find_next_bit(map_storep, map_size, index); index 2929 drivers/scsi/scsi_debug.c unsigned long index = lba_to_map_index(lba); index 2931 drivers/scsi/scsi_debug.c if (index < map_size) index 2932 drivers/scsi/scsi_debug.c set_bit(index, map_storep); index 2934 drivers/scsi/scsi_debug.c lba = map_index_to_lba(index + 1); index 2943 drivers/scsi/scsi_debug.c unsigned long index = lba_to_map_index(lba); index 2945 drivers/scsi/scsi_debug.c if (lba == map_index_to_lba(index) && index 2947 drivers/scsi/scsi_debug.c index < map_size) { index 2948 drivers/scsi/scsi_debug.c clear_bit(index, map_storep); index 2962 drivers/scsi/scsi_debug.c lba = map_index_to_lba(index + 1); index 1241 drivers/scsi/scsi_transport_iscsi.c iscsi_create_flashnode_sess(struct Scsi_Host *shost, int index, index 1253 drivers/scsi/scsi_transport_iscsi.c fnode_sess->target_id = index; index 1258 drivers/scsi/scsi_transport_iscsi.c shost->host_no, index); index 3214 drivers/scsi/scsi_transport_iscsi.c int index; index 3230 drivers/scsi/scsi_transport_iscsi.c index = transport->new_flashnode(shost, data, len); index 3232 drivers/scsi/scsi_transport_iscsi.c if (index >= 0) index 3233 drivers/scsi/scsi_transport_iscsi.c ev->r.new_flashnode_ret.flashnode_idx = index; index 915 drivers/scsi/scsi_transport_sas.c int index; index 925 drivers/scsi/scsi_transport_sas.c index = exp->next_port_id++; index 927 drivers/scsi/scsi_transport_sas.c index = sas_host->next_port_id++; index 929 drivers/scsi/scsi_transport_sas.c return sas_port_alloc(parent, index); index 3244 drivers/scsi/sd.c static int sd_format_disk_name(char *prefix, int index, char *buf, int buflen) index 3258 drivers/scsi/sd.c *--p = 'a' + (index % unit); index 3259 drivers/scsi/sd.c index = (index / unit) - 1; index 3260 drivers/scsi/sd.c } while (index >= 0); index 3291 drivers/scsi/sd.c int index; index 3318 drivers/scsi/sd.c index = ida_alloc(&sd_index_ida, GFP_KERNEL); index 3319 drivers/scsi/sd.c if (index < 0) { index 3324 drivers/scsi/sd.c error = sd_format_disk_name("sd", index, gd->disk_name, DISK_NAME_LEN); index 3333 drivers/scsi/sd.c sdkp->index = index; index 3357 drivers/scsi/sd.c gd->major = sd_major((index & 0xf0) >> 4); index 3358 drivers/scsi/sd.c gd->first_minor = ((index & 0xf) << 4) | (index & 0xfff00); index 3405 drivers/scsi/sd.c ida_free(&sd_index_ida, index); index 3468 drivers/scsi/sd.c ida_free(&sd_index_ida, sdkp->index); index 91 drivers/scsi/sd.h u32 index; index 162 drivers/scsi/sg.c u32 index; /* device index number */ index 1118 drivers/scsi/sg.c MKDEV(SCSI_GENERIC_MAJOR, sdp->index), index 1484 drivers/scsi/sg.c sdp->index = k; index 1532 drivers/scsi/sg.c error = cdev_add(cdev, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), 1); index 1542 drivers/scsi/sg.c sdp->index), index 1553 drivers/scsi/sg.c "to sg%d\n", __func__, sdp->index); index 1558 drivers/scsi/sg.c "type %d\n", sdp->index, scsidp->type); index 1566 drivers/scsi/sg.c idr_remove(&sg_index_idr, sdp->index); index 1589 drivers/scsi/sg.c idr_remove(&sg_index_idr, sdp->index); index 1627 drivers/scsi/sg.c device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index)); index 2439 drivers/scsi/sg.c loff_t index; index 2451 drivers/scsi/sg.c it->index = *pos; index 2453 drivers/scsi/sg.c if (it->index >= it->max) index 2462 drivers/scsi/sg.c *pos = ++it->index; index 2463 drivers/scsi/sg.c return (it->index < it->max) ? it : NULL; index 2479 drivers/scsi/sg.c sdp = it ? sg_lookup_dev(it->index) : NULL; index 2505 drivers/scsi/sg.c sdp = it ? sg_lookup_dev(it->index) : NULL; index 2586 drivers/scsi/sg.c if (it && (0 == it->index)) index 2591 drivers/scsi/sg.c sdp = it ? sg_lookup_dev(it->index) : NULL; index 1042 drivers/scsi/smartpqi/smartpqi.h u16 index; index 3260 drivers/scsi/smartpqi/smartpqi_init.c int index; index 3262 drivers/scsi/smartpqi/smartpqi_init.c for (index = 0; index < ARRAY_SIZE(pqi_supported_event_types); index++) index 3263 drivers/scsi/smartpqi/smartpqi_init.c if (event_type == pqi_supported_event_types[index]) index 3264 drivers/scsi/smartpqi/smartpqi_init.c return index; index 4068 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(io_request->index, index 4664 drivers/scsi/smartpqi/smartpqi_init.c io_request->index = i; index 4946 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(io_request->index, &request->request_id); index 5234 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(io_request->index, &request->request_id); index 5657 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(io_request->index, &request->request_id); index 32 drivers/scsi/snic/vnic_cq.c unsigned int index, unsigned int desc_count, unsigned int desc_size) index 36 drivers/scsi/snic/vnic_cq.c cq->index = index; index 39 drivers/scsi/snic/vnic_cq.c cq->ctrl = svnic_dev_get_res(vdev, RES_TYPE_CQ, index); index 41 drivers/scsi/snic/vnic_cq.c pr_err("Failed to hook CQ[%d] resource\n", index); index 52 drivers/scsi/snic/vnic_cq.h unsigned int index; index 103 drivers/scsi/snic/vnic_cq.h unsigned int index, unsigned int desc_count, unsigned int desc_size); index 26 drivers/scsi/snic/vnic_cq_fw.h unsigned int index, index 41 drivers/scsi/snic/vnic_cq_fw.h if ((*q_service)(cq->vdev, cq->index, desc)) index 172 drivers/scsi/snic/vnic_dev.c unsigned int index) index 183 drivers/scsi/snic/vnic_dev.c index * VNIC_RES_STRIDE; index 74 drivers/scsi/snic/vnic_dev.h unsigned int index); index 32 drivers/scsi/snic/vnic_intr.c unsigned int index) index 34 drivers/scsi/snic/vnic_intr.c intr->index = index; index 37 drivers/scsi/snic/vnic_intr.c intr->ctrl = svnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); index 40 drivers/scsi/snic/vnic_intr.c index); index 48 drivers/scsi/snic/vnic_intr.h unsigned int index; index 27 drivers/scsi/snic/vnic_wq.c unsigned int index, enum vnic_res_type res_type) index 29 drivers/scsi/snic/vnic_wq.c wq->ctrl = svnic_dev_get_res(vdev, res_type, index); index 37 drivers/scsi/snic/vnic_wq.c unsigned int index, unsigned int desc_count, unsigned int desc_size) index 61 drivers/scsi/snic/vnic_wq.c buf->index = i * VNIC_WQ_BUF_DFLT_BLK_ENTRIES + j; index 63 drivers/scsi/snic/vnic_wq.c wq->ring.desc_size * buf->index; index 64 drivers/scsi/snic/vnic_wq.c if (buf->index + 1 == count) { index 104 drivers/scsi/snic/vnic_wq.c wq->index = 0; index 124 drivers/scsi/snic/vnic_wq.c unsigned int index, unsigned int desc_count, unsigned int desc_size) index 128 drivers/scsi/snic/vnic_wq.c wq->index = index; index 131 drivers/scsi/snic/vnic_wq.c err = vnic_wq_get_ctrl(vdev, wq, index, RES_TYPE_WQ); index 133 drivers/scsi/snic/vnic_wq.c pr_err("Failed to hook WQ[%d] resource\n", index); index 140 drivers/scsi/snic/vnic_wq.c err = vnic_wq_alloc_ring(vdev, wq, index, desc_count, desc_size); index 208 drivers/scsi/snic/vnic_wq.c pr_err("Failed to disable WQ[%d]\n", wq->index); index 55 drivers/scsi/snic/vnic_wq.h unsigned int index; index 75 drivers/scsi/snic/vnic_wq.h unsigned int index; index 121 drivers/scsi/snic/vnic_wq.h iowrite32(buf->index, &wq->ctrl->posted_index); index 145 drivers/scsi/snic/vnic_wq.h if (buf->index == completed_index) index 154 drivers/scsi/snic/vnic_wq.h unsigned int index, unsigned int desc_count, unsigned int desc_size); index 4179 drivers/scsi/st.c int dev_num = tape->index; index 4384 drivers/scsi/st.c tpnt->index = error; index 4385 drivers/scsi/st.c sprintf(disk->disk_name, "st%d", tpnt->index); index 4414 drivers/scsi/st.c idr_remove(&st_index_idr, tpnt->index); index 4432 drivers/scsi/st.c int index = tpnt->index; index 4441 drivers/scsi/st.c idr_remove(&st_index_idr, index); index 126 drivers/scsi/st.h int index; index 572 drivers/scsi/ufs/ufs-sysfs.c u8 index; \ index 588 drivers/scsi/ufs/ufs-sysfs.c index = desc_buf[DEVICE_DESC_PARAM##_pname]; \ index 591 drivers/scsi/ufs/ufs-sysfs.c ret = ufshcd_read_string_desc(hba, index, &desc_buf, \ index 2738 drivers/scsi/ufs/ufshcd.c enum query_opcode opcode, u8 idn, u8 index, u8 selector) index 2746 drivers/scsi/ufs/ufshcd.c (*request)->upiu_req.index = index; index 2787 drivers/scsi/ufs/ufshcd.c int err, index = 0, selector = 0; index 2794 drivers/scsi/ufs/ufshcd.c ufshcd_init_query(hba, &request, &response, opcode, idn, index, index 2852 drivers/scsi/ufs/ufshcd.c enum attr_idn idn, u8 index, u8 selector, u32 *attr_val) index 2869 drivers/scsi/ufs/ufshcd.c ufshcd_init_query(hba, &request, &response, opcode, idn, index, index 2891 drivers/scsi/ufs/ufshcd.c __func__, opcode, idn, index, err); index 2918 drivers/scsi/ufs/ufshcd.c enum query_opcode opcode, enum attr_idn idn, u8 index, u8 selector, index 2925 drivers/scsi/ufs/ufshcd.c ret = ufshcd_query_attr(hba, opcode, idn, index, index 2942 drivers/scsi/ufs/ufshcd.c enum query_opcode opcode, enum desc_idn idn, u8 index, index 2967 drivers/scsi/ufs/ufshcd.c ufshcd_init_query(hba, &request, &response, opcode, idn, index, index 2991 drivers/scsi/ufs/ufshcd.c __func__, opcode, idn, index, err); index 3021 drivers/scsi/ufs/ufshcd.c enum desc_idn idn, u8 index, index 3029 drivers/scsi/ufs/ufshcd.c err = __ufshcd_query_descriptor(hba, opcode, idn, index, index 4832 drivers/scsi/ufs/ufshcd.c int index; index 4834 drivers/scsi/ufs/ufshcd.c for_each_set_bit(index, &completed_reqs, hba->nutrs) { index 4835 drivers/scsi/ufs/ufshcd.c lrbp = &hba->lrb[index]; index 4838 drivers/scsi/ufs/ufshcd.c ufshcd_add_command_trace(hba, index, "complete"); index 4844 drivers/scsi/ufs/ufshcd.c clear_bit_unlock(index, &hba->lrb_in_use); index 4851 drivers/scsi/ufs/ufshcd.c ufshcd_add_command_trace(hba, index, index 7020 drivers/scsi/ufs/ufshcd.c int index; index 7033 drivers/scsi/ufs/ufshcd.c for_each_set_bit(index, &hba->outstanding_reqs, hba->nutrs) { index 7034 drivers/scsi/ufs/ufshcd.c if (hba->lrb[index].cmd == scmd) { index 913 drivers/scsi/ufs/ufshcd.h enum desc_idn idn, u8 index, index 923 drivers/scsi/ufs/ufshcd.h enum attr_idn idn, u8 index, u8 selector, u32 *attr_val); index 196 drivers/scsi/virtio_scsi.c int index = vq->index - VIRTIO_SCSI_VQ_BASE; index 197 drivers/scsi/virtio_scsi.c struct virtio_scsi_vq *req_vq = &vscsi->req_vqs[index]; index 202 drivers/sh/intc/core.c d->index = nr_intc_controllers; index 496 drivers/sh/intc/core.c d->dev.id = d->index; index 59 drivers/sh/intc/internals.h unsigned int index; index 137 drivers/sh/intc/virq.c unsigned int index) index 142 drivers/sh/intc/virq.c 0, 1, (subgroup->reg_width - 1) - index); index 561 drivers/slimbus/qcom-ngd-ctrl.c int index, offset; index 565 drivers/slimbus/qcom-ngd-ctrl.c index = offset/SLIM_MSGQ_BUF_LEN; index 567 drivers/slimbus/qcom-ngd-ctrl.c desc = &ctrl->txdesc[index]; index 75 drivers/soc/actions/owl-sps.c static int owl_sps_init_domain(struct owl_sps *sps, int index) index 83 drivers/soc/actions/owl-sps.c pd->info = &sps->info->domains[index]; index 92 drivers/soc/actions/owl-sps.c sps->genpd_data.domains[index] = &pd->genpd; index 650 drivers/soc/bcm/brcmstb/pm/pm-arm.c int index, const void **ofdata) index 662 drivers/soc/bcm/brcmstb/pm/pm-arm.c return of_io_request_and_map(dn, index, dn->full_name); index 359 drivers/soc/bcm/brcmstb/pm/pm-mips.c int index) index 361 drivers/soc/bcm/brcmstb/pm/pm-mips.c return of_io_request_and_map(dn, index, dn->full_name); index 365 drivers/soc/bcm/brcmstb/pm/pm-mips.c int index, const void **ofdata) index 377 drivers/soc/bcm/brcmstb/pm/pm-mips.c return brcmstb_ioremap_node(dn, index); index 159 drivers/soc/fsl/qe/gpio.c struct qe_pin *qe_pin_request(struct device_node *np, int index) index 174 drivers/soc/fsl/qe/gpio.c err = of_get_gpio(np, index); index 25 drivers/soc/mediatek/mtk-cmdq-helper.c struct cmdq_client *cmdq_mbox_create(struct device *dev, int index, u32 timeout) index 42 drivers/soc/mediatek/mtk-cmdq-helper.c client->chan = mbox_request_channel(&client->client, index); index 570 drivers/soc/qcom/qcom-geni-se.c unsigned int *index, unsigned long *res_freq, index 593 drivers/soc/qcom/qcom-geni-se.c *index = i; index 94 drivers/soc/qcom/smem_state.c int index = 0; index 98 drivers/soc/qcom/smem_state.c index = of_property_match_string(dev->of_node, index 101 drivers/soc/qcom/smem_state.c if (index < 0) { index 103 drivers/soc/qcom/smem_state.c return ERR_PTR(index); index 110 drivers/soc/qcom/smem_state.c index, index 193 drivers/soc/qcom/spm.c static int qcom_idle_enter(unsigned long index) index 195 drivers/soc/qcom/spm.c return __this_cpu_read(qcom_idle_ops)[index](); index 106 drivers/soc/tegra/fuse/speedo-tegra210.c unsigned int index; index 157 drivers/soc/tegra/fuse/speedo-tegra210.c rev_sku_to_speedo_ids(sku_info, speedo_revision, &index); index 160 drivers/soc/tegra/fuse/speedo-tegra210.c gpu_process_speedos[index], index 164 drivers/soc/tegra/fuse/speedo-tegra210.c cpu_process_speedos[index], index 168 drivers/soc/tegra/fuse/speedo-tegra210.c soc_process_speedos[index], index 2659 drivers/soc/tegra/pmc.c int index; index 2661 drivers/soc/tegra/pmc.c index = of_property_match_string(np, "reg-names", "wake"); index 2662 drivers/soc/tegra/pmc.c if (index < 0) { index 2667 drivers/soc/tegra/pmc.c of_address_to_resource(np, index, ®s); index 390 drivers/soc/ti/knav_dma.c int index; index 397 drivers/soc/ti/knav_dma.c index = of_property_match_string(np, "ti,navigator-dma-names", name); index 398 drivers/soc/ti/knav_dma.c if (index < 0) { index 404 drivers/soc/ti/knav_dma.c 1, index, &args)) { index 538 drivers/soc/ti/knav_dma.c unsigned index, resource_size_t *_size) index 545 drivers/soc/ti/knav_dma.c ret = of_address_to_resource(node, index, &res); index 548 drivers/soc/ti/knav_dma.c node, index); index 555 drivers/soc/ti/knav_dma.c index, node); index 701 drivers/soc/ti/knav_qmss_queue.c int index = pool->region_offset + i; index 704 drivers/soc/ti/knav_qmss_queue.c dma_addr = region->dma_start + (region->desc_size * index); index 1222 drivers/soc/ti/knav_qmss_queue.c u32 temp[2], start, end, id, index; index 1293 drivers/soc/ti/knav_qmss_queue.c index = id - qmgr->start_queue; index 1295 drivers/soc/ti/knav_qmss_queue.c &qmgr->reg_peek[index].ptr_size_thresh); index 1297 drivers/soc/ti/knav_qmss_queue.c &qmgr->reg_push[index].ptr_size_thresh); index 1377 drivers/soc/ti/knav_qmss_queue.c struct device_node *node, int index) index 1383 drivers/soc/ti/knav_qmss_queue.c ret = of_address_to_resource(node, index, &res); index 1386 drivers/soc/ti/knav_qmss_queue.c node, index); index 1393 drivers/soc/ti/knav_qmss_queue.c index, node); index 672 drivers/spi/spi-loopback-test.c #define GET_VALUE_BYTE(value, index, bytes) \ index 675 drivers/spi/spi-loopback-test.c #define GET_VALUE_BYTE(value, index, bytes) \ index 173 drivers/spi/spi.c #define SPI_STATISTICS_TRANSFER_BYTES_HISTO(index, number) \ index 174 drivers/spi/spi.c SPI_STATISTICS_SHOW_NAME(transfer_bytes_histo##index, \ index 176 drivers/spi/spi.c transfer_bytes_histo[index], "%lu") index 781 drivers/spmi/spmi-pmic-arb.c int index = 0, i; index 793 drivers/spmi/spmi-pmic-arb.c if (!test_and_set_bit(index, pmic_arb->mapping_table_valid)) index 794 drivers/spmi/spmi-pmic-arb.c mapping_table[index] = readl_relaxed(pmic_arb->cnfg + index 795 drivers/spmi/spmi-pmic-arb.c SPMI_MAPPING_TABLE_REG(index)); index 797 drivers/spmi/spmi-pmic-arb.c data = mapping_table[index]; index 801 drivers/spmi/spmi-pmic-arb.c index = SPMI_MAPPING_BIT_IS_1_RESULT(data); index 811 drivers/spmi/spmi-pmic-arb.c index = SPMI_MAPPING_BIT_IS_0_RESULT(data); index 372 drivers/staging/comedi/comedi_fops.c s->index, async->prealloc_bufsz); index 945 drivers/staging/comedi/comedi_fops.c devinfo.read_subdevice = s->index; index 951 drivers/staging/comedi/comedi_fops.c devinfo.write_subdevice = s->index; index 1437 drivers/staging/comedi/comedi_fops.c s->index); index 1457 drivers/staging/comedi/comedi_fops.c s->index); index 2956 drivers/staging/comedi/comedi_fops.c dev->minor, s->index); index 155 drivers/staging/comedi/comedidev.h int index; index 114 drivers/staging/comedi/drivers.c s->index = i; index 70 drivers/staging/comedi/drivers/addi_apci_16xx.c outl(s->io_bits, dev->iobase + APCI16XX_DIR_REG(s->index)); index 81 drivers/staging/comedi/drivers/addi_apci_16xx.c outl(s->state, dev->iobase + APCI16XX_OUT_REG(s->index)); index 83 drivers/staging/comedi/drivers/addi_apci_16xx.c data[1] = inl(dev->iobase + APCI16XX_IN_REG(s->index)); index 263 drivers/staging/comedi/drivers/cb_pcidda.c unsigned int index = 2 * range + 12 * channel; index 271 drivers/staging/comedi/drivers/cb_pcidda.c offset = devpriv->eeprom_data[0x7 + index]; index 272 drivers/staging/comedi/drivers/cb_pcidda.c gain = devpriv->eeprom_data[0x8 + index]; index 601 drivers/staging/comedi/drivers/das800.c int index = board ? board - das800_boards : -EINVAL; index 621 drivers/staging/comedi/drivers/das800.c if (index == BOARD_DAS800 || index == BOARD_CIODAS800) index 623 drivers/staging/comedi/drivers/das800.c index = BOARD_DAS800; index 626 drivers/staging/comedi/drivers/das800.c if (index == BOARD_DAS801 || index == BOARD_CIODAS801) index 628 drivers/staging/comedi/drivers/das800.c index = BOARD_DAS801; index 631 drivers/staging/comedi/drivers/das800.c if (index == BOARD_DAS802 || index == BOARD_CIODAS802 || index 632 drivers/staging/comedi/drivers/das800.c index == BOARD_CIODAS80216) index 634 drivers/staging/comedi/drivers/das800.c index = BOARD_DAS802; index 642 drivers/staging/comedi/drivers/das800.c das800_boards[index].name); index 644 drivers/staging/comedi/drivers/das800.c return &das800_boards[index]; index 140 drivers/staging/comedi/drivers/ii_pci20kc.c return dev->mmio + (s->index + 1) * II20K_MOD_OFFSET; index 301 drivers/staging/comedi/drivers/jr3_pci.c dev_dbg(dev->class_dev, "serial[%d]: %d\n", s->index, index 633 drivers/staging/comedi/drivers/jr3_pci.c spriv->sensor = &block[s->index].sensor; index 4595 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int index = chan / 3; index 4596 drivers/staging/comedi/drivers/ni_mio_common.c unsigned short val = devpriv->pfi_output_select_reg[index]; index 4603 drivers/staging/comedi/drivers/ni_mio_common.c ni_writew(dev, val, NI_M_PFI_OUT_SEL_REG(index)); index 4604 drivers/staging/comedi/drivers/ni_mio_common.c devpriv->pfi_output_select_reg[index] = val; index 1119 drivers/staging/comedi/drivers/ni_tio.c static int ni_tio_set_other_src(struct ni_gpct *counter, unsigned int index, index 1133 drivers/staging/comedi/drivers/ni_tio.c if (index == NI_GPCT_SOURCE_ENCODER_A || index 1134 drivers/staging/comedi/drivers/ni_tio.c (index >= NI_CtrA(0) && index <= NI_CtrA(-1))) { index 1136 drivers/staging/comedi/drivers/ni_tio.c } else if (index == NI_GPCT_SOURCE_ENCODER_B || index 1137 drivers/staging/comedi/drivers/ni_tio.c (index >= NI_CtrB(0) && index <= NI_CtrB(-1))) { index 1139 drivers/staging/comedi/drivers/ni_tio.c } else if (index == NI_GPCT_SOURCE_ENCODER_Z || index 1140 drivers/staging/comedi/drivers/ni_tio.c (index >= NI_CtrZ(0) && index <= NI_CtrZ(-1))) { index 1156 drivers/staging/comedi/drivers/ni_tio.c static int ni_tio_get_other_src(struct ni_gpct *counter, unsigned int index, index 1170 drivers/staging/comedi/drivers/ni_tio.c if (index == NI_GPCT_SOURCE_ENCODER_A || index 1171 drivers/staging/comedi/drivers/ni_tio.c (index >= NI_CtrA(0) && index <= NI_CtrA(-1))) { index 1173 drivers/staging/comedi/drivers/ni_tio.c } else if (index == NI_GPCT_SOURCE_ENCODER_B || index 1174 drivers/staging/comedi/drivers/ni_tio.c (index >= NI_CtrB(0) && index <= NI_CtrB(-1))) { index 1176 drivers/staging/comedi/drivers/ni_tio.c } else if (index == NI_GPCT_SOURCE_ENCODER_Z || index 1177 drivers/staging/comedi/drivers/ni_tio.c (index >= NI_CtrZ(0) && index <= NI_CtrZ(-1))) { index 248 drivers/staging/comedi/drivers/pcmmio.c int port = s->index == 2 ? 0 : 3; index 283 drivers/staging/comedi/drivers/pcmmio.c int port = s->index == 2 ? 0 : 3; index 141 drivers/staging/comedi/drivers/pcmuio.c return s->index / 2; index 150 drivers/staging/comedi/drivers/pcmuio.c return (s->index % 2) ? 3 : 0; index 415 drivers/staging/comedi/drivers/rtd520.c unsigned int chanspec, int index) index 2272 drivers/staging/comedi/drivers/s626.c u16 index; index 2293 drivers/staging/comedi/drivers/s626.c for (index = 0; index < 500; index++) { index 183 drivers/staging/comedi/drivers/usbduxfast.c static void usbduxfast_cmd_data(struct comedi_device *dev, int index, index 189 drivers/staging/comedi/drivers/usbduxfast.c devpriv->duxbuf[1 + 0x00 + index] = len; index 190 drivers/staging/comedi/drivers/usbduxfast.c devpriv->duxbuf[1 + 0x08 + index] = op; index 191 drivers/staging/comedi/drivers/usbduxfast.c devpriv->duxbuf[1 + 0x10 + index] = out; index 192 drivers/staging/comedi/drivers/usbduxfast.c devpriv->duxbuf[1 + 0x18 + index] = log; index 632 drivers/staging/comedi/drivers/usbduxfast.c int index = j * 2; index 644 drivers/staging/comedi/drivers/usbduxfast.c usbduxfast_cmd_data(dev, index, steps / 2, index 655 drivers/staging/comedi/drivers/usbduxfast.c usbduxfast_cmd_data(dev, index + 1, steps - steps / 2, index 709 drivers/staging/exfat/exfat_core.c u32 index = 0; index 730 drivers/staging/exfat/exfat_core.c for (i = 0; i < p_bd->sector_size && index <= 0xFFFF; i += 2) { index 741 drivers/staging/exfat/exfat_core.c pr_debug("skip from 0x%X ", index); index 742 drivers/staging/exfat/exfat_core.c index += uni; index 744 drivers/staging/exfat/exfat_core.c index, uni); index 746 drivers/staging/exfat/exfat_core.c } else if (uni == index) { index 747 drivers/staging/exfat/exfat_core.c index++; index 751 drivers/staging/exfat/exfat_core.c u16 col_index = get_col_index(index); index 766 drivers/staging/exfat/exfat_core.c upcase_table[col_index][get_row_index(index)] = uni; index 767 drivers/staging/exfat/exfat_core.c index++; index 771 drivers/staging/exfat/exfat_core.c if (index >= 0xFFFF && utbl_checksum == checksum) { index 791 drivers/staging/exfat/exfat_core.c u32 index = 0; index 801 drivers/staging/exfat/exfat_core.c for (i = 0; index <= 0xFFFF && i < NUM_UPCASE * 2; i += 2) { index 804 drivers/staging/exfat/exfat_core.c pr_debug("skip from 0x%X ", index); index 805 drivers/staging/exfat/exfat_core.c index += uni; index 806 drivers/staging/exfat/exfat_core.c pr_debug("to 0x%X (amount of 0x%X)\n", index, uni); index 808 drivers/staging/exfat/exfat_core.c } else if (uni == index) { index 809 drivers/staging/exfat/exfat_core.c index++; index 813 drivers/staging/exfat/exfat_core.c u16 col_index = get_col_index(index); index 829 drivers/staging/exfat/exfat_core.c upcase_table[col_index][get_row_index(index)] = uni; index 830 drivers/staging/exfat/exfat_core.c index++; index 834 drivers/staging/exfat/exfat_core.c if (index >= 0xFFFF) index 75 drivers/staging/fbtft/fbtft-core.c const char *name, int index, index 81 drivers/staging/fbtft/fbtft-core.c *gpiop = devm_gpiod_get_index_optional(dev, name, index, index 340 drivers/staging/fbtft/fbtft-core.c unsigned long index; index 355 drivers/staging/fbtft/fbtft-core.c index = page->index << PAGE_SHIFT; index 356 drivers/staging/fbtft/fbtft-core.c y_low = index / info->fix.line_length; index 357 drivers/staging/fbtft/fbtft-core.c y_high = (index + PAGE_SIZE - 1) / info->fix.line_length; index 360 drivers/staging/fbtft/fbtft-core.c page->index, y_low, y_high); index 67 drivers/staging/fwserial/fwserial.c #define loop_idx(port) (((port)->index) / num_ports) index 819 drivers/staging/fwserial/fwserial.c static struct fwtty_port *fwtty_port_get(unsigned int index) index 823 drivers/staging/fwserial/fwserial.c if (index >= MAX_TOTAL_PORTS) index 827 drivers/staging/fwserial/fwserial.c port = port_table[index]; index 846 drivers/staging/fwserial/fwserial.c serial->ports[j]->index = i; index 861 drivers/staging/fwserial/fwserial.c int j, i = ports[0]->index; index 1069 drivers/staging/fwserial/fwserial.c struct fwtty_port *port = fwtty_port_get(tty->index); index 1082 drivers/staging/fwserial/fwserial.c struct fwtty_port *port = fwtty_port_get(table_idx(tty->index)); index 1222 drivers/staging/fwserial/fwserial.c ss->line = port->port.tty->index; index 1472 drivers/staging/fwserial/fwserial.c port = fwtty_port_get(serial->ports[i]->index); index 1474 drivers/staging/fwserial/fwserial.c seq_printf(m, "%2d:", port->index); index 1680 drivers/staging/fwserial/fwserial.c int index) index 1684 drivers/staging/fwserial/fwserial.c if (index < 0 || index >= num_ports) index 1690 drivers/staging/fwserial/fwserial.c port = peer->serial->ports[index]; index 1858 drivers/staging/fwserial/fwserial.c tty_unregister_device(driver, port->index); index 2165 drivers/staging/fwserial/fwserial.c port->index = FWTTY_INVALID_INDEX; index 2207 drivers/staging/fwserial/fwserial.c serial->ports[j]->index, index 2268 drivers/staging/fwserial/fwserial.c tty_unregister_device(fwtty_driver, serial->ports[j]->index); index 241 drivers/staging/fwserial/fwserial.h unsigned int index; index 63 drivers/staging/gasket/gasket_core.h int index; index 101 drivers/staging/gasket/gasket_interrupt.c interrupt_data->interrupts[i].index, index 105 drivers/staging/gasket/gasket_interrupt.c value = interrupt_data->interrupts[i].index; index 132 drivers/staging/gasket/gasket_interrupt.c value |= interrupt_data->interrupts[i].index index 1253 drivers/staging/gasket/gasket_page_table.c dma_addr_t *dma_address, u64 index) index 1262 drivers/staging/gasket/gasket_page_table.c if (!gasket_dev->page_table[index]) index 1273 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->num_coherent_pages = num_pages; index 1276 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->coherent_pages = index 1278 drivers/staging/gasket/gasket_page_table.c sizeof(*gasket_dev->page_table[index]->coherent_pages), index 1280 drivers/staging/gasket/gasket_page_table.c if (!gasket_dev->page_table[index]->coherent_pages) index 1290 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->coherent_pages[j].paddr = index 1292 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->coherent_pages[j].kernel_virt = index 1307 drivers/staging/gasket/gasket_page_table.c kfree(gasket_dev->page_table[index]->coherent_pages); index 1308 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->coherent_pages = NULL; index 1309 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->num_coherent_pages = 0; index 1315 drivers/staging/gasket/gasket_page_table.c dma_addr_t dma_address, u64 index) index 1319 drivers/staging/gasket/gasket_page_table.c if (!gasket_dev->page_table[index]) index 1337 drivers/staging/gasket/gasket_page_table.c kfree(gasket_dev->page_table[index]->coherent_pages); index 1338 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->coherent_pages = NULL; index 1339 drivers/staging/gasket/gasket_page_table.c gasket_dev->page_table[index]->num_coherent_pages = 0; index 1345 drivers/staging/gasket/gasket_page_table.c void gasket_free_coherent_memory_all(struct gasket_dev *gasket_dev, u64 index) index 1347 drivers/staging/gasket/gasket_page_table.c if (!gasket_dev->page_table[index]) index 225 drivers/staging/gasket/gasket_page_table.h dma_addr_t *dma_address, uint64_t index); index 228 drivers/staging/gasket/gasket_page_table.h dma_addr_t dma_address, uint64_t index); index 232 drivers/staging/gasket/gasket_page_table.h uint64_t index); index 552 drivers/staging/gdm724x/gdm_lte.c u8 index; index 554 drivers/staging/gdm724x/gdm_lte.c index = (u8)(nic_type & 0x0000000f); index 555 drivers/staging/gdm724x/gdm_lte.c if (index >= MAX_NIC_TYPE) index 558 drivers/staging/gdm724x/gdm_lte.c return index; index 685 drivers/staging/gdm724x/gdm_lte.c int index; index 706 drivers/staging/gdm724x/gdm_lte.c index = find_dev_index(nic_type); index 707 drivers/staging/gdm724x/gdm_lte.c if (index < 0) { index 711 drivers/staging/gdm724x/gdm_lte.c dev = phy_dev->dev[index]; index 750 drivers/staging/gdm724x/gdm_lte.c int index; index 765 drivers/staging/gdm724x/gdm_lte.c index = find_dev_index(nic_type); index 766 drivers/staging/gdm724x/gdm_lte.c if (index < 0) index 767 drivers/staging/gdm724x/gdm_lte.c return index; index 768 drivers/staging/gdm724x/gdm_lte.c dev = phy_dev->dev[index]; index 782 drivers/staging/gdm724x/gdm_lte.c index = find_dev_index(nic_type); index 783 drivers/staging/gdm724x/gdm_lte.c if (index < 0) index 784 drivers/staging/gdm724x/gdm_lte.c return index; index 785 drivers/staging/gdm724x/gdm_lte.c dev = phy_dev->dev[index]; index 823 drivers/staging/gdm724x/gdm_lte.c u8 *mac_address, u8 index) index 834 drivers/staging/gdm724x/gdm_lte.c dev_addr[ETH_ALEN - 1] += index; index 862 drivers/staging/gdm724x/gdm_lte.c u8 index; index 866 drivers/staging/gdm724x/gdm_lte.c for (index = 0; index < MAX_NIC_TYPE; index++) { index 868 drivers/staging/gdm724x/gdm_lte.c sprintf(pdn_dev_name, "lte%%dpdn%d", index); index 885 drivers/staging/gdm724x/gdm_lte.c nic->nic_id = index; index 891 drivers/staging/gdm724x/gdm_lte.c index); index 902 drivers/staging/gdm724x/gdm_lte.c phy_dev->dev[index] = net; index 916 drivers/staging/gdm724x/gdm_lte.c int index; index 918 drivers/staging/gdm724x/gdm_lte.c for (index = 0; index < MAX_NIC_TYPE; index++) { index 919 drivers/staging/gdm724x/gdm_lte.c net = phy_dev->dev[index]; index 149 drivers/staging/gdm724x/gdm_mux.c int index; index 173 drivers/staging/gdm724x/gdm_mux.c index = packet_type_to_index(packet_type); index 174 drivers/staging/gdm724x/gdm_mux.c if (index < 0) { index 175 drivers/staging/gdm724x/gdm_mux.c pr_err("invalid index %d\n", index); index 181 drivers/staging/gdm724x/gdm_mux.c index, index 194 drivers/staging/gdm724x/gdm_mux.c index, index 44 drivers/staging/gdm724x/gdm_tty.c gdm_table[gdm->index][gdm->minor] = NULL; index 65 drivers/staging/gdm724x/gdm_tty.c gdm = gdm_table[ret][tty->index]; index 116 drivers/staging/gdm724x/gdm_tty.c int index, index 120 drivers/staging/gdm724x/gdm_tty.c struct gdm *gdm = tty_dev->gdm[index]; index 174 drivers/staging/gdm724x/gdm_tty.c gdm->index, index 226 drivers/staging/gdm724x/gdm_tty.c gdm->index = i; index 253 drivers/staging/gdm724x/gdm_tty.c gdm_table[gdm->index][gdm->minor] = NULL; index 28 drivers/staging/gdm724x/gdm_tty.h unsigned int index; index 288 drivers/staging/gdm724x/gdm_usb.c if (r->index == (void *)udev) { index 507 drivers/staging/gdm724x/gdm_usb.c r->index = (void *)udev; index 63 drivers/staging/gdm724x/gdm_usb.h void *index; index 177 drivers/staging/greybus/audio_codec.h u8 control_id, u8 index, index 180 drivers/staging/greybus/audio_codec.h u8 control_id, u8 index, index 47 drivers/staging/greybus/audio_gb.c u8 control_id, u8 index, index 55 drivers/staging/greybus/audio_gb.c req.index = index; index 69 drivers/staging/greybus/audio_gb.c u8 control_id, u8 index, index 75 drivers/staging/greybus/audio_gb.c req.index = index; index 55 drivers/staging/greybus/audio_topology.c __u8 control_id, __u8 index) index 64 drivers/staging/greybus/audio_topology.c if (index == GBAUDIO_INVALID_ID) index 66 drivers/staging/greybus/audio_topology.c if (index >= control->items) index 68 drivers/staging/greybus/audio_topology.c return control->texts[index]; index 73 drivers/staging/greybus/audio_topology.c if (index == GBAUDIO_INVALID_ID) index 75 drivers/staging/greybus/audio_topology.c if (index >= control->items) index 77 drivers/staging/greybus/audio_topology.c return control->texts[index]; index 1288 drivers/staging/greybus/audio_topology.c curr->control_id, curr->index); index 1297 drivers/staging/greybus/audio_topology.c curr->control_id, curr->index); index 1304 drivers/staging/greybus/audio_topology.c curr->index); index 1309 drivers/staging/greybus/audio_topology.c curr->control_id, curr->index); index 398 drivers/staging/greybus/uart.c gb_tty = get_gb_by_minor(tty->index); index 1008 drivers/staging/isdn/gigaset/common.c unsigned index; index 1014 drivers/staging/isdn/gigaset/common.c index = minor - drv->minor; index 1016 drivers/staging/isdn/gigaset/common.c if (drv->cs[index].flags & VALID_MINOR) index 1017 drivers/staging/isdn/gigaset/common.c ret = drv->cs + index; index 1028 drivers/staging/isdn/gigaset/common.c return gigaset_get_cs_by_minor(tty->index + tty->driver->minor_start); index 1534 drivers/staging/isdn/gigaset/ev-layer.c int index; index 1582 drivers/staging/isdn/gigaset/ev-layer.c index = ev->type - RSP_VAR; index 1583 drivers/staging/isdn/gigaset/ev-layer.c at_state->int_var[index] = ev->parameter; index 1585 drivers/staging/isdn/gigaset/ev-layer.c index = ev->type - RSP_STR; index 1586 drivers/staging/isdn/gigaset/ev-layer.c kfree(at_state->str_var[index]); index 1587 drivers/staging/isdn/gigaset/ev-layer.c at_state->str_var[index] = ev->ptr; index 118 drivers/staging/isdn/gigaset/interface.c tty->driver->minor_start, tty->index, __func__); index 641 drivers/staging/ks7010/ks7010_sdio.c static int ks7010_sdio_update_index(struct ks_wlan_private *priv, u32 index) index 646 drivers/staging/ks7010/ks7010_sdio.c data_buf = kmemdup(&index, sizeof(u32), GFP_KERNEL); index 650 drivers/staging/ks7010/ks7010_sdio.c ret = ks7010_sdio_write(priv, WRITE_INDEX_REG, data_buf, sizeof(index)); index 654 drivers/staging/ks7010/ks7010_sdio.c ret = ks7010_sdio_write(priv, READ_INDEX_REG, data_buf, sizeof(index)); index 775 drivers/staging/ks7010/ks_wlan_net.c int index = (enc->flags & IW_ENCODE_INDEX); index 784 drivers/staging/ks7010/ks_wlan_net.c if ((index < 0) || (index > 4)) index 787 drivers/staging/ks7010/ks_wlan_net.c index = (index == 0) ? priv->reg.wep_index : (index - 1); index 810 drivers/staging/ks7010/ks_wlan_net.c priv->reg.wep_key[index].size = key.len; index 811 drivers/staging/ks7010/ks_wlan_net.c memcpy(&priv->reg.wep_key[index].val[0], &key.key[0], index 812 drivers/staging/ks7010/ks_wlan_net.c priv->reg.wep_key[index].size); index 813 drivers/staging/ks7010/ks_wlan_net.c priv->need_commit |= (SME_WEP_VAL1 << index); index 814 drivers/staging/ks7010/ks_wlan_net.c priv->reg.wep_index = index; index 831 drivers/staging/ks7010/ks_wlan_net.c if (priv->reg.wep_key[index].size == 0) index 833 drivers/staging/ks7010/ks_wlan_net.c priv->reg.wep_index = index; index 866 drivers/staging/ks7010/ks_wlan_net.c int index = (enc->flags & IW_ENCODE_INDEX) - 1; index 885 drivers/staging/ks7010/ks_wlan_net.c if ((index < 0) || (index >= 4)) index 886 drivers/staging/ks7010/ks_wlan_net.c index = priv->reg.wep_index; index 891 drivers/staging/ks7010/ks_wlan_net.c enc->flags |= index + 1; index 893 drivers/staging/ks7010/ks_wlan_net.c if (index >= 0 && index < 4) { index 894 drivers/staging/ks7010/ks_wlan_net.c enc->length = (priv->reg.wep_key[index].size <= 16) ? index 895 drivers/staging/ks7010/ks_wlan_net.c priv->reg.wep_key[index].size : 0; index 896 drivers/staging/ks7010/ks_wlan_net.c memcpy(extra, priv->reg.wep_key[index].val, enc->length); index 1363 drivers/staging/ks7010/ks_wlan_net.c int index = (param->flags & IW_AUTH_INDEX); index 1369 drivers/staging/ks7010/ks_wlan_net.c switch (index) { index 1496 drivers/staging/ks7010/ks_wlan_net.c int index = (param->flags & IW_AUTH_INDEX); index 1503 drivers/staging/ks7010/ks_wlan_net.c switch (index) { index 1539 drivers/staging/ks7010/ks_wlan_net.c int index = dwrq->encoding.flags & IW_ENCODE_INDEX; index 1551 drivers/staging/ks7010/ks_wlan_net.c if (index < 1 || index > 4) index 1553 drivers/staging/ks7010/ks_wlan_net.c index--; index 1554 drivers/staging/ks7010/ks_wlan_net.c key = &priv->wpa.key[index]; index 1561 drivers/staging/ks7010/ks_wlan_net.c priv->wpa.txkey = index; index 1587 drivers/staging/ks7010/ks_wlan_net.c commit |= (SME_WEP_VAL1 << index); index 1605 drivers/staging/ks7010/ks_wlan_net.c commit |= (SME_WEP_VAL1 << index); index 1617 drivers/staging/ks7010/ks_wlan_net.c hostif_sme_enqueue(priv, SME_SET_KEY1 + index); index 2385 drivers/staging/media/allegro-dvt/allegro-core.c if (f->index) index 2612 drivers/staging/media/allegro-dvt/allegro-core.c if (fsize->index) index 49 drivers/staging/media/hantro/hantro_drv.c int index; index 51 drivers/staging/media/hantro/hantro_drv.c index = vb2_find_timestamp(q, ts, 0); index 52 drivers/staging/media/hantro/hantro_drv.c if (index < 0) index 54 drivers/staging/media/hantro/hantro_drv.c buf = vb2_get_buffer(q, index); index 265 drivers/staging/media/hantro/hantro_jpeg.c hantro_jpeg_get_qtable(struct hantro_jpeg_ctx *ctx, int index) index 267 drivers/staging/media/hantro/hantro_jpeg.c if (index == 0) index 12 drivers/staging/media/hantro/hantro_jpeg.h unsigned char *hantro_jpeg_get_qtable(struct hantro_jpeg_ctx *ctx, int index); index 95 drivers/staging/media/hantro/hantro_v4l2.c if (fsize->index != 0) { index 97 drivers/staging/media/hantro/hantro_v4l2.c fsize->index); index 146 drivers/staging/media/hantro/hantro_v4l2.c if (j == f->index) { index 109 drivers/staging/media/imx/imx-ic-prp.c ret = imx_media_enum_ipu_format(&code->code, code->index, index 114 drivers/staging/media/imx/imx-ic-prp.c if (code->index != 0) { index 247 drivers/staging/media/imx/imx-ic-prp.c switch (local->index) { index 271 drivers/staging/media/imx/imx-ic-prp.c switch (local->index) { index 853 drivers/staging/media/imx/imx-ic-prpencvf.c return imx_media_enum_ipu_format(&code->code, code->index, CS_SEL_ANY); index 981 drivers/staging/media/imx/imx-ic-prpencvf.c if (fse->pad >= PRPENCVF_NUM_PADS || fse->index != 0) index 88 drivers/staging/media/imx/imx-media-capture.c .index = fsize->index, index 128 drivers/staging/media/imx/imx-media-capture.c .index = fival->index, index 175 drivers/staging/media/imx/imx-media-capture.c ret = imx_media_enum_format(&fourcc, f->index, cs_sel); index 184 drivers/staging/media/imx/imx-media-capture.c if (f->index != 0) index 167 drivers/staging/media/imx/imx-media-csc-scaler.c ret = imx_media_enum_format(&fourcc, f->index, CS_SEL_ANY); index 205 drivers/staging/media/imx/imx-media-csi.c port = of_graph_get_port_by_id(sd->dev->of_node, pad->index); index 1058 drivers/staging/media/imx/imx-media-csi.c priv->active_output_pad = local->index; index 1061 drivers/staging/media/imx/imx-media-csi.c if (local->index == CSI_SRC_PAD_IDMAC) { index 1240 drivers/staging/media/imx/imx-media-csi.c ret = imx_media_enum_mbus_format(&code->code, code->index, index 1252 drivers/staging/media/imx/imx-media-csi.c if (code->index != 0) { index 1261 drivers/staging/media/imx/imx-media-csi.c code->index, index 1283 drivers/staging/media/imx/imx-media-csi.c fse->index > (fse->pad == CSI_SINK_PAD ? 0 : 3)) index 1296 drivers/staging/media/imx/imx-media-csi.c fse->min_width = fse->index & 1 ? index 1299 drivers/staging/media/imx/imx-media-csi.c fse->min_height = fse->index & 2 ? index 1318 drivers/staging/media/imx/imx-media-csi.c fie->index >= (fie->pad != CSI_SRC_PAD_IDMAC ? index 1336 drivers/staging/media/imx/imx-media-csi.c csi_apply_skip_interval(&csi_skip[fie->index], index 91 drivers/staging/media/imx/imx-media-dev-common.c pad_vdev_list = to_pad_vdev_list(sd, srcpad->index); index 94 drivers/staging/media/imx/imx-media-dev-common.c entity->name, srcpad->index); index 109 drivers/staging/media/imx/imx-media-dev-common.c vdev->vfd->entity.name, entity->name, srcpad->index); index 281 drivers/staging/media/imx/imx-media-dev-common.c pad_idx = link->source->index; index 337 drivers/staging/media/imx/imx-media-dev-common.c pad_vdev_list = to_pad_vdev_list(sd, pad->index); index 293 drivers/staging/media/imx/imx-media-utils.c static int enum_format(u32 *fourcc, u32 *code, u32 index, index 306 drivers/staging/media/imx/imx-media-utils.c if (index >= yuv_sz || index 307 drivers/staging/media/imx/imx-media-utils.c (!allow_non_mbus && index >= mbus_yuv_sz)) index 309 drivers/staging/media/imx/imx-media-utils.c fmt = &yuv_formats[index]; index 312 drivers/staging/media/imx/imx-media-utils.c if (index >= rgb_sz || index 313 drivers/staging/media/imx/imx-media-utils.c (!allow_non_mbus && index >= mbus_rgb_sz)) index 315 drivers/staging/media/imx/imx-media-utils.c fmt = &rgb_formats[index]; index 321 drivers/staging/media/imx/imx-media-utils.c if (index >= mbus_yuv_sz) { index 322 drivers/staging/media/imx/imx-media-utils.c index -= mbus_yuv_sz; index 323 drivers/staging/media/imx/imx-media-utils.c if (index >= mbus_rgb_sz) index 325 drivers/staging/media/imx/imx-media-utils.c fmt = &rgb_formats[index]; index 329 drivers/staging/media/imx/imx-media-utils.c fmt = &yuv_formats[index]; index 332 drivers/staging/media/imx/imx-media-utils.c if (index >= yuv_sz + rgb_sz) index 334 drivers/staging/media/imx/imx-media-utils.c if (index >= yuv_sz) { index 335 drivers/staging/media/imx/imx-media-utils.c fmt = &rgb_formats[index - yuv_sz]; index 339 drivers/staging/media/imx/imx-media-utils.c fmt = &yuv_formats[index]; index 362 drivers/staging/media/imx/imx-media-utils.c int imx_media_enum_format(u32 *fourcc, u32 index, enum codespace_sel cs_sel) index 364 drivers/staging/media/imx/imx-media-utils.c return enum_format(fourcc, NULL, index, cs_sel, true, false); index 376 drivers/staging/media/imx/imx-media-utils.c int imx_media_enum_mbus_format(u32 *code, u32 index, enum codespace_sel cs_sel, index 379 drivers/staging/media/imx/imx-media-utils.c return enum_format(NULL, code, index, cs_sel, false, allow_bayer); index 426 drivers/staging/media/imx/imx-media-utils.c int imx_media_enum_ipu_format(u32 *code, u32 index, enum codespace_sel cs_sel) index 430 drivers/staging/media/imx/imx-media-utils.c if (index >= NUM_IPU_YUV_FORMATS) index 432 drivers/staging/media/imx/imx-media-utils.c *code = ipu_yuv_formats[index].codes[0]; index 435 drivers/staging/media/imx/imx-media-utils.c if (index >= NUM_IPU_RGB_FORMATS) index 437 drivers/staging/media/imx/imx-media-utils.c *code = ipu_rgb_formats[index].codes[0]; index 440 drivers/staging/media/imx/imx-media-utils.c if (index >= NUM_IPU_YUV_FORMATS + NUM_IPU_RGB_FORMATS) index 442 drivers/staging/media/imx/imx-media-utils.c if (index >= NUM_IPU_YUV_FORMATS) { index 443 drivers/staging/media/imx/imx-media-utils.c index -= NUM_IPU_YUV_FORMATS; index 444 drivers/staging/media/imx/imx-media-utils.c *code = ipu_rgb_formats[index].codes[0]; index 446 drivers/staging/media/imx/imx-media-utils.c *code = ipu_yuv_formats[index].codes[0]; index 867 drivers/staging/media/imx/imx-media-utils.c ret = pad->index - 1; index 551 drivers/staging/media/imx/imx-media-vdic.c return imx_media_enum_ipu_format(&code->code, code->index, CS_SEL_YUV); index 717 drivers/staging/media/imx/imx-media-vdic.c if (local->index == VDIC_SINK_PAD_IDMAC) { index 740 drivers/staging/media/imx/imx-media-vdic.c remote->index != CSI_SRC_PAD_DIRECT) { index 750 drivers/staging/media/imx/imx-media-vdic.c priv->active_input_pad = local->index; index 161 drivers/staging/media/imx/imx-media.h int imx_media_enum_format(u32 *fourcc, u32 index, enum codespace_sel cs_sel); index 165 drivers/staging/media/imx/imx-media.h int imx_media_enum_mbus_format(u32 *code, u32 index, enum codespace_sel cs_sel, index 169 drivers/staging/media/imx/imx-media.h int imx_media_enum_ipu_format(u32 *code, u32 index, enum codespace_sel cs_sel); index 417 drivers/staging/media/imx/imx6-mipi-csi2.c if (csi2->sink_linked[local->index - 1]) { index 421 drivers/staging/media/imx/imx6-mipi-csi2.c csi2->sink_linked[local->index - 1] = true; index 423 drivers/staging/media/imx/imx6-mipi-csi2.c csi2->sink_linked[local->index - 1] = false; index 471 drivers/staging/media/imx/imx7-media-csi.c port = of_graph_get_port_by_id(sd->dev->of_node, pad->index); index 945 drivers/staging/media/imx/imx7-media-csi.c ret = imx_media_enum_mbus_format(&code->code, code->index, index 949 drivers/staging/media/imx/imx7-media-csi.c if (code->index != 0) { index 228 drivers/staging/media/imx/imx7-mipi-csis.c u8 index; index 878 drivers/staging/media/imx/imx7-mipi-csis.c CSIS_SUBDEV_NAME, state->index); index 278 drivers/staging/media/ipu3/ipu3-v4l2.c u32 pad = local->index; index 602 drivers/staging/media/ipu3/ipu3-v4l2.c if (j == f->index) index 826 drivers/staging/media/ipu3/ipu3-v4l2.c if (fmt->index > 0 || fmt->type != node->vbq.type) index 851 drivers/staging/media/ipu3/ipu3-v4l2.c if (input->index > 0) index 874 drivers/staging/media/ipu3/ipu3-v4l2.c if (output->index > 0) index 276 drivers/staging/media/ipu3/ipu3.c "queue user parameters %d to css.", vb->index); index 298 drivers/staging/media/ipu3/ipu3.c dummy ? 0 : ibuf->vid_buf.vbb.vb2_buf.index, index 538 drivers/staging/media/ipu3/ipu3.c dummy ? 0 : buf->vid_buf.vbb.vb2_buf.index, index 66 drivers/staging/media/meson/vdec/vdec.c codec_ops->recycle(core, tmp->vb->index); index 644 drivers/staging/media/meson/vdec/vdec.c if (f->index >= platform->num_formats) index 647 drivers/staging/media/meson/vdec/vdec.c fmt_out = &platform->formats[f->index]; index 652 drivers/staging/media/meson/vdec/vdec.c if (f->index >= 4 || !fmt_out->pixfmts_cap[f->index]) index 655 drivers/staging/media/meson/vdec/vdec.c f->pixelformat = fmt_out->pixfmts_cap[f->index]; index 673 drivers/staging/media/meson/vdec/vdec.c if (!fmt || fsize->index) index 196 drivers/staging/media/meson/vdec/vdec_helpers.c sess->fw_idx_to_vb2_idx[i++] = buf->vb.vb2_buf.index; index 286 drivers/staging/media/meson/vdec/vdec_helpers.c dev_dbg(dev, "Buffer %u done\n", vbuf->vb2_buf.index); index 306 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.index); index 364 drivers/staging/media/meson/vdec/vdec_helpers.c vbuf->vb2_buf.index, offset); index 139 drivers/staging/media/omap4iss/iss.c fmt.pad = link->source->index; index 905 drivers/staging/media/omap4iss/iss_csi2.c if (code->index >= ARRAY_SIZE(csi2_input_fmts)) index 908 drivers/staging/media/omap4iss/iss_csi2.c code->code = csi2_input_fmts[code->index]; index 912 drivers/staging/media/omap4iss/iss_csi2.c switch (code->index) { index 940 drivers/staging/media/omap4iss/iss_csi2.c if (fse->index != 0) index 1169 drivers/staging/media/omap4iss/iss_csi2.c unsigned int index = local->index; index 1173 drivers/staging/media/omap4iss/iss_csi2.c index |= 2 << 16; index 1180 drivers/staging/media/omap4iss/iss_csi2.c switch (index) { index 251 drivers/staging/media/omap4iss/iss_ipipe.c if (code->index >= ARRAY_SIZE(ipipe_fmts)) index 254 drivers/staging/media/omap4iss/iss_ipipe.c code->code = ipipe_fmts[code->index]; index 259 drivers/staging/media/omap4iss/iss_ipipe.c if (code->index != 0) index 279 drivers/staging/media/omap4iss/iss_ipipe.c if (fse->index != 0) index 449 drivers/staging/media/omap4iss/iss_ipipe.c switch (local->index) { index 453 drivers/staging/media/omap4iss/iss_ipipeif.c if (code->index >= ARRAY_SIZE(ipipeif_fmts)) index 456 drivers/staging/media/omap4iss/iss_ipipeif.c code->code = ipipeif_fmts[code->index]; index 462 drivers/staging/media/omap4iss/iss_ipipeif.c if (code->index != 0) index 485 drivers/staging/media/omap4iss/iss_ipipeif.c if (fse->index != 0) index 661 drivers/staging/media/omap4iss/iss_ipipeif.c unsigned int index = local->index; index 665 drivers/staging/media/omap4iss/iss_ipipeif.c index |= 2 << 16; index 667 drivers/staging/media/omap4iss/iss_ipipeif.c switch (index) { index 503 drivers/staging/media/omap4iss/iss_resizer.c if (code->index >= ARRAY_SIZE(resizer_fmts)) index 506 drivers/staging/media/omap4iss/iss_resizer.c code->code = resizer_fmts[code->index]; index 513 drivers/staging/media/omap4iss/iss_resizer.c if (code->index == 0) { index 520 drivers/staging/media/omap4iss/iss_resizer.c if (code->index == 1) index 526 drivers/staging/media/omap4iss/iss_resizer.c if (code->index != 0) index 546 drivers/staging/media/omap4iss/iss_resizer.c if (fse->index != 0) index 715 drivers/staging/media/omap4iss/iss_resizer.c unsigned int index = local->index; index 719 drivers/staging/media/omap4iss/iss_resizer.c index |= 2 << 16; index 721 drivers/staging/media/omap4iss/iss_resizer.c switch (index) { index 199 drivers/staging/media/omap4iss/iss_video.c *pad = remote->index; index 547 drivers/staging/media/omap4iss/iss_video.c unsigned int index = f->index; index 564 drivers/staging/media/omap4iss/iss_video.c if (index == 0) { index 569 drivers/staging/media/omap4iss/iss_video.c index--; index 1042 drivers/staging/media/omap4iss/iss_video.c if (input->index > 0) index 234 drivers/staging/media/soc_camera/imx074.c (unsigned int)code->index >= ARRAY_SIZE(imx074_colour_fmts)) index 237 drivers/staging/media/soc_camera/imx074.c code->code = imx074_colour_fmts[code->index].code; index 689 drivers/staging/media/soc_camera/mt9t031.c if (code->pad || code->index) index 305 drivers/staging/media/soc_camera/soc_camera.c if (inp->index != 0) index 455 drivers/staging/media/soc_camera/soc_camera.c code.index++; index 491 drivers/staging/media/soc_camera/soc_camera.c code.index = i; index 867 drivers/staging/media/soc_camera/soc_camera.c if (f->index >= icd->num_user_formats) index 870 drivers/staging/media/soc_camera/soc_camera.c format = icd->user_formats[f->index].host_fmt; index 1823 drivers/staging/media/soc_camera/soc_camera.c .index = fsize->index, index 783 drivers/staging/media/soc_camera/soc_mt9v022.c if (code->pad || code->index >= mt9v022->num_fmts) index 786 drivers/staging/media/soc_camera/soc_mt9v022.c code->code = mt9v022->fmts[code->index].code; index 844 drivers/staging/media/soc_camera/soc_ov5642.c if (code->pad || code->index >= ARRAY_SIZE(ov5642_colour_fmts)) index 847 drivers/staging/media/soc_camera/soc_ov5642.c code->code = ov5642_colour_fmts[code->index].code; index 712 drivers/staging/media/soc_camera/soc_ov9740.c if (code->pad || code->index >= ARRAY_SIZE(ov9740_codes)) index 715 drivers/staging/media/soc_camera/soc_ov9740.c code->code = ov9740_codes[code->index]; index 180 drivers/staging/media/sunxi/cedrus/cedrus.h int index, unsigned int plane) index 185 drivers/staging/media/sunxi/cedrus/cedrus.h if (index < 0) index 190 drivers/staging/media/sunxi/cedrus/cedrus.h buf = vb2_get_buffer(vq, index); index 181 drivers/staging/media/sunxi/cedrus/cedrus_mpeg2.c dst_luma_addr = cedrus_dst_buf_addr(ctx, run->dst->vb2_buf.index, 0); index 182 drivers/staging/media/sunxi/cedrus/cedrus_mpeg2.c dst_chroma_addr = cedrus_dst_buf_addr(ctx, run->dst->vb2_buf.index, 1); index 169 drivers/staging/media/sunxi/cedrus/cedrus_video.c unsigned int i, index; index 172 drivers/staging/media/sunxi/cedrus/cedrus_video.c index = 0; index 184 drivers/staging/media/sunxi/cedrus/cedrus_video.c if (index == f->index) index 187 drivers/staging/media/sunxi/cedrus/cedrus_video.c index++; index 340 drivers/staging/most/core.c struct attribute *attr, int index) index 259 drivers/staging/most/video/video.c if (f->index) index 307 drivers/staging/most/video/video.c if (input->index >= V4L2_CMP_MAX_INPUT) index 327 drivers/staging/most/video/video.c static int vidioc_s_input(struct file *file, void *priv, unsigned int index) index 332 drivers/staging/most/video/video.c if (index >= V4L2_CMP_MAX_INPUT) index 334 drivers/staging/most/video/video.c mdev->ctrl_input = index; index 89 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c u32 index; index 126 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c u32 offset = (instance->index != 1) ? index 154 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c offset = (instance->index != 1) ? index 253 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c u32 offset = (instance->index != 1) ? index 270 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c u32 offset = (instance->index != 1) ? index 383 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c instance->index = port; index 367 drivers/staging/octeon-usb/octeon-hcd.c int index; index 540 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index)); index 577 drivers/staging/octeon-usb/octeon-hcd.c u64 address = CVMX_USBCX_GRSTCTL(usb->index); index 607 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GHWCFG3(usb->index)); index 613 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRXFSIZ(usb->index), cvmx_usbcx_grxfsiz, index 621 drivers/staging/octeon-usb/octeon-hcd.c npsiz.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_GNPTXFSIZ(usb->index)); index 624 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GNPTXFSIZ(usb->index), npsiz.u32); index 631 drivers/staging/octeon-usb/octeon-hcd.c psiz.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HPTXFSIZ(usb->index)); index 634 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HPTXFSIZ(usb->index), psiz.u32); index 637 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRSTCTL(usb->index), index 639 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRSTCTL(usb->index), index 642 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GRSTCTL(usb->index), index 669 drivers/staging/octeon-usb/octeon-hcd.c usbn_clk_ctl.u64 = cvmx_read64_uint64(CVMX_USBNX_CLK_CTL(usb->index)); index 675 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); index 712 drivers/staging/octeon-usb/octeon-hcd.c usbn_clk_ctl.u64 = cvmx_read64_uint64(CVMX_USBNX_CLK_CTL(usb->index)); index 774 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); index 778 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); index 787 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); index 796 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index)); index 798 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index), index 807 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index), index 814 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); index 821 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_USBP_CTL_STATUS(usb->index), index 830 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); index 833 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_CLK_CTL(usb->index), usbn_clk_ctl.u64); index 861 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GAHBCFG(usb->index), index 872 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GUSBCFG(usb->index)); index 877 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GUSBCFG(usb->index), index 887 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GINTMSK(usb->index)); index 895 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GINTMSK(usb->index), index 903 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTMSKX(channel, usb->index), index 912 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), index 914 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), index 921 drivers/staging/octeon-usb/octeon-hcd.c usbcx_hcfg.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HCFG(usb->index)); index 924 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HCFG(usb->index), usbcx_hcfg.u32); index 934 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GINTSTS(usb->index)); index 935 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GINTSTS(usb->index), index 959 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HPRT(usb->index)); index 962 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), cvmx_usbcx_hprt, index 972 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), cvmx_usbcx_hprt, index 980 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HPRT(usb->index)); index 996 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), cvmx_usbcx_hprt, index 1019 drivers/staging/octeon-usb/octeon-hcd.c usbc_hprt.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HPRT(usb->index)); index 1160 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GRXSTSPH(usb->index)); index 1174 drivers/staging/octeon-usb/octeon-hcd.c address = cvmx_read64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index) + index 1178 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index) + channel * 8, index 1184 drivers/staging/octeon-usb/octeon-hcd.c USB_FIFO_ADDRESS(channel, usb->index)); index 1212 drivers/staging/octeon-usb/octeon-hcd.c usb->index) ^ 4; index 1237 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBNX_DMA0_INB_CHN0(usb->index)); index 1246 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_DMA0_INB_CHN0(usb->index)); index 1262 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HPTXSTS(usb->index)); index 1265 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), index 1268 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), index 1276 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GNPTXSTS(usb->index)); index 1279 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), index 1282 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), index 1302 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index)); index 1308 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCSPLTX(channel, usb->index)); index 1317 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index)); index 1329 drivers/staging/octeon-usb/octeon-hcd.c cvmx_read64_uint64(CVMX_USBNX_DMA0_OUTB_CHN0(usb->index) + index 1364 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index)); index 1375 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), index 1382 drivers/staging/octeon-usb/octeon-hcd.c cvmx_write64_uint64(CVMX_USBNX_DMA0_OUTB_CHN0(usb->index) + index 1390 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), index 1394 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCSPLTX(channel, usb->index), index 1405 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), index 1415 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), index 1420 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCSPLTX(channel, usb->index), index 1426 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), index 1435 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), index 1440 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCSPLTX(channel, usb->index), index 1484 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HCTSIZX(channel, usb->index), index 1521 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTX(channel, usb->index)); index 1524 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTX(channel, usb->index), index 1551 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTMSKX(channel, usb->index), index 1556 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HAINTMSK(usb->index)); index 1558 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HAINTMSK(usb->index), index 1574 drivers/staging/octeon-usb/octeon-hcd.c reg = CVMX_USBNX_DMA0_OUTB_CHN0(usb->index); index 1576 drivers/staging/octeon-usb/octeon-hcd.c reg = CVMX_USBNX_DMA0_INB_CHN0(usb->index); index 1740 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCSPLTX(channel, usb->index), index 1743 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index), index 1781 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index), index 1803 drivers/staging/octeon-usb/octeon-hcd.c usb->index), index 1808 drivers/staging/octeon-usb/octeon-hcd.c usb->index), index 1818 drivers/staging/octeon-usb/octeon-hcd.c usb->index)) index 1826 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HCCHARX(channel, usb->index), index 1912 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HFNUM(usb->index)) index 1917 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HFIR(usb->index)) index 1952 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_GINTMSK(usb->index), index 2314 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(pipe->channel, usb->index)); index 2323 drivers/staging/octeon-usb/octeon-hcd.c usb->index), index 2389 drivers/staging/octeon-usb/octeon-hcd.c usbc_hfnum.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HFNUM(usb->index)); index 2610 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTX(channel, usb->index)); index 2614 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index)); index 2624 drivers/staging/octeon-usb/octeon-hcd.c usb->index), index 2640 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCINTMSKX(channel, usb->index), index 2644 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index), index 2654 drivers/staging/octeon-usb/octeon-hcd.c usb->index, channel); index 2668 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HCINTMSKX(channel, usb->index), 0); index 2693 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCCHARX(channel, usb->index)); index 2695 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HCTSIZX(channel, usb->index)); index 2945 drivers/staging/octeon-usb/octeon-hcd.c usbc_hfnum.u32 = cvmx_usb_read_csr32(usb, CVMX_USBCX_HFNUM(usb->index)); index 2953 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_GINTSTS(usb->index)); index 2956 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_GINTSTS(usb->index), index 2994 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_read_csr32(usb, CVMX_USBCX_HPRT(usb->index)); index 2996 drivers/staging/octeon-usb/octeon-hcd.c cvmx_usb_write_csr32(usb, CVMX_USBCX_HPRT(usb->index), index 3015 drivers/staging/octeon-usb/octeon-hcd.c CVMX_USBCX_HAINT(usb->index)); index 3484 drivers/staging/octeon-usb/octeon-hcd.c USB_SET_FIELD32(CVMX_USBCX_HPRT(usb->index), index 3644 drivers/staging/octeon-usb/octeon-hcd.c usb->index = usb_num; index 111 drivers/staging/octeon/ethernet-mdio.c int index = INDEX(priv->port); index 113 drivers/staging/octeon/ethernet-mdio.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 115 drivers/staging/octeon/ethernet-mdio.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); index 28 drivers/staging/octeon/ethernet-rgmii.c int index = INDEX(priv->port); index 31 drivers/staging/octeon/ethernet-rgmii.c gmxx_rxx_frm_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, index 34 drivers/staging/octeon/ethernet-rgmii.c cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface), index 47 drivers/staging/octeon/ethernet-rgmii.c gmxx_rxx_int_reg.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, index 49 drivers/staging/octeon/ethernet-rgmii.c cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interface), index 73 drivers/staging/octeon/ethernet-rgmii.c int index = INDEX(priv->port); index 77 drivers/staging/octeon/ethernet-rgmii.c (index, interface)); index 90 drivers/staging/octeon/ethernet-rx.c int index = cvmx_helper_get_interface_index_num(port); index 94 drivers/staging/octeon/ethernet-rx.c cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); index 20 drivers/staging/octeon/ethernet-spi.c static void cvm_oct_spxx_int_pr(union cvmx_spxx_int_reg spx_int_reg, int index) index 23 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: SRX Spi4 interface down\n", index); index 25 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: SRX Spi4 Calendar table parity error\n", index); index 28 drivers/staging/octeon/ethernet-spi.c index); index 30 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: SRX Spi4 DIP4 error\n", index); index 33 drivers/staging/octeon/ethernet-spi.c index); index 36 drivers/staging/octeon/ethernet-spi.c index); index 39 drivers/staging/octeon/ethernet-spi.c index); index 42 drivers/staging/octeon/ethernet-spi.c index); index 44 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: SRX Spi4 async FIFO overflow\n", index); index 47 drivers/staging/octeon/ethernet-spi.c index); index 49 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: SRX Port out of range\n", index); index 52 drivers/staging/octeon/ethernet-spi.c static void cvm_oct_stxx_int_pr(union cvmx_stxx_int_reg stx_int_reg, int index) index 56 drivers/staging/octeon/ethernet-spi.c index); index 59 drivers/staging/octeon/ethernet-spi.c index); index 61 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: STX Unexpected framing sequence\n", index); index 64 drivers/staging/octeon/ethernet-spi.c index); index 67 drivers/staging/octeon/ethernet-spi.c index); index 69 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: STX Spi4 FIFO overflow error\n", index); index 71 drivers/staging/octeon/ethernet-spi.c pr_err("SPI%d: STX Transmit packet burst too big\n", index); index 74 drivers/staging/octeon/ethernet-spi.c index, 1); index 77 drivers/staging/octeon/ethernet-spi.c index, 0); index 80 drivers/staging/octeon/ethernet-spi.c static irqreturn_t cvm_oct_spi_spx_int(int index) index 85 drivers/staging/octeon/ethernet-spi.c spx_int_reg.u64 = cvmx_read_csr(CVMX_SPXX_INT_REG(index)); index 86 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_SPXX_INT_REG(index), spx_int_reg.u64); index 87 drivers/staging/octeon/ethernet-spi.c if (!need_retrain[index]) { index 88 drivers/staging/octeon/ethernet-spi.c spx_int_reg.u64 &= cvmx_read_csr(CVMX_SPXX_INT_MSK(index)); index 89 drivers/staging/octeon/ethernet-spi.c cvm_oct_spxx_int_pr(spx_int_reg, index); index 92 drivers/staging/octeon/ethernet-spi.c stx_int_reg.u64 = cvmx_read_csr(CVMX_STXX_INT_REG(index)); index 93 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_STXX_INT_REG(index), stx_int_reg.u64); index 94 drivers/staging/octeon/ethernet-spi.c if (!need_retrain[index]) { index 95 drivers/staging/octeon/ethernet-spi.c stx_int_reg.u64 &= cvmx_read_csr(CVMX_STXX_INT_MSK(index)); index 96 drivers/staging/octeon/ethernet-spi.c cvm_oct_stxx_int_pr(stx_int_reg, index); index 99 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_SPXX_INT_MSK(index), 0); index 100 drivers/staging/octeon/ethernet-spi.c cvmx_write_csr(CVMX_STXX_INT_MSK(index), 0); index 101 drivers/staging/octeon/ethernet-spi.c need_retrain[index] = 1; index 232 drivers/staging/octeon/ethernet-tx.c int index = INDEX(priv->port); index 237 drivers/staging/octeon/ethernet-tx.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 253 drivers/staging/octeon/ethernet.c int index = INDEX(priv->port); index 260 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_FRM_MAX(index, interface), index 280 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_JABBER(index, interface), index 300 drivers/staging/octeon/ethernet.c int index = INDEX(priv->port); index 324 drivers/staging/octeon/ethernet.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 325 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), index 328 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CTL(index, interface), index 332 drivers/staging/octeon/ethernet.c (index, interface), 0); index 335 drivers/staging/octeon/ethernet.c (index, interface), 1); index 337 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), index 354 drivers/staging/octeon/ethernet.c int index = INDEX(priv->port); index 360 drivers/staging/octeon/ethernet.c cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 361 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), index 364 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_SMACX(index, interface), mac); index 365 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM0(index, interface), index 367 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM1(index, interface), index 369 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM2(index, interface), index 371 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM3(index, interface), index 373 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM4(index, interface), index 375 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_RXX_ADR_CAM5(index, interface), index 378 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), index 462 drivers/staging/octeon/ethernet.c int index = INDEX(priv->port); index 470 drivers/staging/octeon/ethernet.c gmx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); index 474 drivers/staging/octeon/ethernet.c cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmx_cfg.u64); index 1354 drivers/staging/qlge/qlge.h u32 index; index 1375 drivers/staging/qlge/qlge.h u32 index; index 2227 drivers/staging/qlge/qlge.h int ql_get_mac_addr_reg(struct ql_adapter *qdev, u32 type, u16 index, index 2229 drivers/staging/qlge/qlge.h int ql_get_routing_reg(struct ql_adapter *qdev, u32 index, u32 *value); index 564 drivers/staging/qlge/qlge_dbg.c u32 type, index, index_max; index 578 drivers/staging/qlge/qlge_dbg.c for (index = 0; index < index_max; index++) { index 581 drivers/staging/qlge/qlge_dbg.c | (index << RT_IDX_IDX_SHIFT); index 589 drivers/staging/qlge/qlge_dbg.c *buf = index; index 606 drivers/staging/qlge/qlge_dbg.c u32 index; index 660 drivers/staging/qlge/qlge_dbg.c for (index = 0; index < max_index; index++) { index 664 drivers/staging/qlge/qlge_dbg.c | (index << MAC_ADDR_IDX_SHIFT) index 1588 drivers/staging/qlge/qlge_dbg.c #define DUMP_QDEV_ARRAY(qdev, type, array, index, field) \ index 1590 drivers/staging/qlge/qlge_dbg.c #array, index, #field, qdev->array[index].field); index 334 drivers/staging/qlge/qlge_ethtool.c int index; index 340 drivers/staging/qlge/qlge_ethtool.c for (index = 0; index < QLGE_STATS_LEN; index++) { index 341 drivers/staging/qlge/qlge_ethtool.c memcpy(buf + index * ETH_GSTRING_LEN, index 342 drivers/staging/qlge/qlge_ethtool.c ql_gstrings_stats[index].stat_string, index 366 drivers/staging/qlge/qlge_ethtool.c int index, length; index 371 drivers/staging/qlge/qlge_ethtool.c for (index = 0; index < length; index++) { index 373 drivers/staging/qlge/qlge_ethtool.c ql_gstrings_stats[index].stat_offset; index 374 drivers/staging/qlge/qlge_ethtool.c *data++ = (ql_gstrings_stats[index].sizeof_stat == index 263 drivers/staging/qlge/qlge_main.c int ql_get_mac_addr_reg(struct ql_adapter *qdev, u32 type, u16 index, index 279 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | /* index */ index 293 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | /* index */ index 308 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | /* index */ index 334 drivers/staging/qlge/qlge_main.c u16 index) index 352 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | index 361 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | index 385 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | /* index */ index 394 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | /* index */ index 403 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | /* index */ index 433 drivers/staging/qlge/qlge_main.c (index << MAC_ADDR_IDX_SHIFT) | /* index */ index 497 drivers/staging/qlge/qlge_main.c int ql_get_routing_reg(struct ql_adapter *qdev, u32 index, u32 *value) index 506 drivers/staging/qlge/qlge_main.c RT_IDX_TYPE_NICQ | RT_IDX_RS | (index << RT_IDX_IDX_SHIFT)); index 520 drivers/staging/qlge/qlge_main.c static int ql_set_routing_reg(struct ql_adapter *qdev, u32 index, u32 mask, index 596 drivers/staging/qlge/qlge_main.c (index << RT_IDX_IDX_SHIFT);/* index */ index 1210 drivers/staging/qlge/qlge_main.c sbq_desc->index); index 2661 drivers/staging/qlge/qlge_main.c mac_iocb_ptr->tid = tx_ring_desc->index; index 2773 drivers/staging/qlge/qlge_main.c tx_ring_desc->index = i; index 2918 drivers/staging/qlge/qlge_main.c lbq_desc->index = i; index 2935 drivers/staging/qlge/qlge_main.c sbq_desc->index = i; index 3071 drivers/staging/qlge/qlge_main.c tx_ring_desc->index); index 124 drivers/staging/rtl8188eu/core/rtw_ieee80211.c int index, index 130 drivers/staging/rtl8188eu/core/rtw_ieee80211.c *pbuf = (u8)index; index 145 drivers/staging/rtl8188eu/core/rtw_ieee80211.c u8 *rtw_get_ie(u8 *pbuf, int index, uint *len, int limit) index 157 drivers/staging/rtl8188eu/core/rtw_ieee80211.c if (*p == index) { index 1012 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned int i, j, ie_len, index = 0; index 1095 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c bssrate[index++] = pmlmeinfo->network.SupportedRates[i]; index 1099 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c bssrate_len = index; index 3977 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c u8 index, chanset_size = 0; index 3997 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c for (index = 0; index < RTW_ChannelPlan2G[Index2G].Len; index++) { index 3998 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c channel_set[chanset_size].ChannelNum = RTW_ChannelPlan2G[Index2G].Channel[index]; index 4082 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int index; index 4110 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c index = GetFrameSubType(pframe) >> 4; index 4112 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (index > 13) { index 4113 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("Currently we do not support reserved sub-fr-type=%d\n", index)); index 4116 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ptable += index; index 135 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c int index; index 140 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c for (index = 0; index < NUM_STA; index++) { index 141 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c phead = &pstapriv->sta_hash[index]; index 168 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c s32 index; index 188 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c index = wifi_mac_hash(hwaddr); index 189 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_info_, ("%s: index=%x", __func__, index)); index 190 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c if (index >= NUM_STA) { index 195 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c phash_list = &pstapriv->sta_hash[index]; index 379 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c s32 index; index 389 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c for (index = 0; index < NUM_STA; index++) { index 390 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c phead = &pstapriv->sta_hash[index]; index 410 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c u32 index; index 422 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c index = wifi_mac_hash(addr); index 426 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c phead = &pstapriv->sta_hash[index]; index 138 drivers/staging/rtl8188eu/hal/phy.c u8 index = (channel - 1); index 145 drivers/staging/rtl8188eu/hal/phy.c cck_pwr[TxCount] = hal_data->Index24G_CCK_Base[TxCount][index]; index 146 drivers/staging/rtl8188eu/hal/phy.c ofdm_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index]+ index 149 drivers/staging/rtl8188eu/hal/phy.c bw20_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index]+ index 151 drivers/staging/rtl8188eu/hal/phy.c bw40_pwr[TxCount] = hal_data->Index24G_BW40_Base[TxCount][index]; index 153 drivers/staging/rtl8188eu/hal/phy.c cck_pwr[TxCount] = hal_data->Index24G_CCK_Base[TxCount][index]; index 154 drivers/staging/rtl8188eu/hal/phy.c ofdm_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index]+ index 155 drivers/staging/rtl8188eu/hal/phy.c hal_data->BW20_24G_Diff[RF_PATH_A][index]+ index 156 drivers/staging/rtl8188eu/hal/phy.c hal_data->BW20_24G_Diff[TxCount][index]; index 158 drivers/staging/rtl8188eu/hal/phy.c bw20_pwr[TxCount] = hal_data->Index24G_BW40_Base[RF_PATH_A][index]+ index 160 drivers/staging/rtl8188eu/hal/phy.c hal_data->BW20_24G_Diff[TxCount][index]; index 161 drivers/staging/rtl8188eu/hal/phy.c bw40_pwr[TxCount] = hal_data->Index24G_BW40_Base[TxCount][index]; index 142 drivers/staging/rtl8188eu/hal/rf.c u8 index, u32 *powerbase0, u32 *powerbase1, index 155 drivers/staging/rtl8188eu/hal/rf.c u8 j = index + (rf ? 8 : 0); index 160 drivers/staging/rtl8188eu/hal/rf.c write_val = hal_data->MCSTxPowerLevelOriginalOffset[chnlGroup][index+(rf ? 8 : 0)] + index 161 drivers/staging/rtl8188eu/hal/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 170 drivers/staging/rtl8188eu/hal/rf.c write_val = hal_data->MCSTxPowerLevelOriginalOffset[chnlGroup][index+(rf ? 8 : 0)] + index 171 drivers/staging/rtl8188eu/hal/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 175 drivers/staging/rtl8188eu/hal/rf.c write_val = (index < 2) ? powerbase0[rf] : powerbase1[rf]; index 181 drivers/staging/rtl8188eu/hal/rf.c if (index < 2) index 207 drivers/staging/rtl8188eu/hal/rf.c write_val = customer_limit + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 212 drivers/staging/rtl8188eu/hal/rf.c ((index < 2) ? powerbase0[rf] : powerbase1[rf]); index 228 drivers/staging/rtl8188eu/hal/rf.c static void write_ofdm_pwr_reg(struct adapter *adapt, u8 index, u32 *pvalue) index 251 drivers/staging/rtl8188eu/hal/rf.c regoffset = regoffset_a[index]; index 253 drivers/staging/rtl8188eu/hal/rf.c regoffset = regoffset_b[index]; index 266 drivers/staging/rtl8188eu/hal/rf.c u8 index = 0; index 274 drivers/staging/rtl8188eu/hal/rf.c for (index = 0; index < 6; index++) { index 275 drivers/staging/rtl8188eu/hal/rf.c get_rx_power_val_by_reg(adapt, channel, index, index 286 drivers/staging/rtl8188eu/hal/rf.c write_ofdm_pwr_reg(adapt, index, &write_val[0]); index 35 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c u32 index; index 41 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c for (index = 0; index < count; index++) index 42 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c checksum = checksum ^ le16_to_cpu(*(__le16 *)(usptr + index)); index 1583 drivers/staging/rtl8188eu/hal/usb_halinit.c u8 index = 0; index 1592 drivers/staging/rtl8188eu/hal/usb_halinit.c for (index = 0; index < 4; index++) { index 1593 drivers/staging/rtl8188eu/hal/usb_halinit.c if ((pRegToSet[index] & 0xf0) > (FactorToSet << 4)) index 1594 drivers/staging/rtl8188eu/hal/usb_halinit.c pRegToSet[index] = (pRegToSet[index] & 0x0f) | (FactorToSet << 4); index 1596 drivers/staging/rtl8188eu/hal/usb_halinit.c if ((pRegToSet[index] & 0x0f) > FactorToSet) index 1597 drivers/staging/rtl8188eu/hal/usb_halinit.c pRegToSet[index] = (pRegToSet[index] & 0xf0) | (FactorToSet); index 1599 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, (REG_AGGLEN_LMT + index), pRegToSet[index]); index 724 drivers/staging/rtl8188eu/include/ieee80211.h u8 *rtw_set_ie(u8 *pbuf, int index, uint len, u8 *source, uint *frlen); index 732 drivers/staging/rtl8188eu/include/ieee80211.h u8 *rtw_get_ie(u8 *pbuf, int index, uint *len, int limit); index 201 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c static int usbctrl_vendorreq(struct adapter *adapt, u8 request, u16 value, u16 index, void *pdata, u16 len, u8 requesttype) index 250 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c status = usb_control_msg(udev, pipe, request, reqtype, value, index, pIo_buf, len, RTW_USB_CONTROL_MSG_TIMEOUT); index 292 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u16 index; index 298 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index = 0;/* n/a */ index 303 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); index 313 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u16 index; index 319 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index = 0;/* n/a */ index 322 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); index 332 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u16 index; index 338 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index = 0;/* n/a */ index 343 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); index 514 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u16 index; index 520 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index = 0;/* n/a */ index 525 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index, &data, len, requesttype); index 533 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u16 index; index 539 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index = 0;/* n/a */ index 547 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index, &data, len, requesttype); index 555 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c u16 index; index 561 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index = 0;/* n/a */ index 568 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c index, &data, len, requesttype); index 178 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c u8 index = 0; index 189 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c for (index = 0; index < 6; index++) { index 190 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c writeVal = (u32)(priv->MCSTxPowerLevelOriginalOffset[index] + index 191 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c ((index < 2) ? powerBase0 : powerBase1)); index 205 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c if (index == 3) { index 216 drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c rtl92e_set_bb_reg(dev, RegOffset[index], 0x7f7f7f7f, writeVal); index 29 drivers/staging/rtl8192e/rtl819x_TSProc.c u8 index = 0; index 38 drivers/staging/rtl8192e/rtl819x_TSProc.c if (index == 0) index 55 drivers/staging/rtl8192e/rtl819x_TSProc.c ieee->stats_IndicateArray[index] = index 57 drivers/staging/rtl8192e/rtl819x_TSProc.c index++; index 68 drivers/staging/rtl8192e/rtl819x_TSProc.c if (index > 0) { index 71 drivers/staging/rtl8192e/rtl819x_TSProc.c if (index > REORDER_WIN_SIZE) { index 79 drivers/staging/rtl8192e/rtl819x_TSProc.c rtllib_indicate_packets(ieee, ieee->stats_IndicateArray, index); index 2154 drivers/staging/rtl8192e/rtllib.h struct rtllib_rxb **prxbIndicateArray, u8 index); index 395 drivers/staging/rtl8192e/rtllib_rx.c int index = mac[5] % IEEE_IBSS_MAC_HASH_SIZE; index 397 drivers/staging/rtl8192e/rtllib_rx.c list_for_each(p, &ieee->ibss_mac_hash[index]) { index 402 drivers/staging/rtl8192e/rtllib_rx.c if (p == &ieee->ibss_mac_hash[index]) { index 412 drivers/staging/rtl8192e/rtllib_rx.c list_add(&entry->list, &ieee->ibss_mac_hash[index]); index 475 drivers/staging/rtl8192e/rtllib_rx.c struct rtllib_rxb **prxbIndicateArray, u8 index) index 481 drivers/staging/rtl8192e/rtllib_rx.c for (j = 0; j < index; j++) { index 574 drivers/staging/rtl8192e/rtllib_rx.c u8 index = 0; index 641 drivers/staging/rtl8192e/rtllib_rx.c index = 1; index 707 drivers/staging/rtl8192e/rtllib_rx.c if (index >= REORDER_WIN_SIZE) { index 721 drivers/staging/rtl8192e/rtllib_rx.c ieee->prxbIndicateArray[index] = pReorderEntry->prxb; index 724 drivers/staging/rtl8192e/rtllib_rx.c index++; index 737 drivers/staging/rtl8192e/rtllib_rx.c if (index > 0) { index 742 drivers/staging/rtl8192e/rtllib_rx.c if (index > REORDER_WIN_SIZE) { index 750 drivers/staging/rtl8192e/rtllib_rx.c rtllib_indicate_packets(ieee, ieee->prxbIndicateArray, index); index 2444 drivers/staging/rtl8192u/ieee80211/ieee80211.h u8 index); index 447 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c int index = mac[5] % IEEE_IBSS_MAC_HASH_SIZE; index 449 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c list_for_each(p, &ieee->ibss_mac_hash[index]) { index 455 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (p == &ieee->ibss_mac_hash[index]) { index 463 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c list_add(&entry->list, &ieee->ibss_mac_hash[index]); index 524 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c void ieee80211_indicate_packets(struct ieee80211_device *ieee, struct ieee80211_rxb **prxbIndicateArray, u8 index) index 530 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c for (j = 0; j < index; j++) { index 582 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c u8 index = 0; index 646 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c index = 1; index 700 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (index >= REORDER_WIN_SIZE) { index 712 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c prxbIndicateArray[index] = pReorderEntry->prxb; index 714 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c index++; index 724 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (index > 0) { index 730 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c if (index > REORDER_WIN_SIZE) { index 735 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c ieee80211_indicate_packets(ieee, prxbIndicateArray, index); index 35 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c u8 index = 0; index 44 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c if (index == 0) index 55 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c ieee->stats_IndicateArray[index] = pReorderEntry->prxb; index 56 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c index++; index 66 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c if (index > 0) { index 71 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c if (index > REORDER_WIN_SIZE) { index 76 drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c ieee80211_indicate_packets(ieee, ieee->stats_IndicateArray, index); index 252 drivers/staging/rtl8192u/r8190_rtl8256.c u8 index = 0; index 261 drivers/staging/rtl8192u/r8190_rtl8256.c for (index = 0; index < 6; index++) { index 262 drivers/staging/rtl8192u/r8190_rtl8256.c writeVal = priv->MCSTxPowerLevelOriginalOffset[index] + ((index < 2) ? powerBase0 : powerBase1); index 279 drivers/staging/rtl8192u/r8190_rtl8256.c if (index == 3) { index 292 drivers/staging/rtl8192u/r8190_rtl8256.c rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal); index 482 drivers/staging/rtl8192u/r8192U.h u32 index; /* index to current array to store */ index 48 drivers/staging/rtl8192u/r819xU_firmware.c u8 index; index 91 drivers/staging/rtl8192u/r819xU_firmware.c index = tcb_desc->queue_index; index 92 drivers/staging/rtl8192u/r819xU_firmware.c if (!priv->ieee80211->check_nic_enough_desc(dev, index) || index 93 drivers/staging/rtl8192u/r819xU_firmware.c (!skb_queue_empty(&priv->ieee80211->skb_waitQ[index])) || index 88 drivers/staging/rtl8712/ieee80211.c u8 *r8712_set_ie(u8 *pbuf, sint index, uint len, u8 *source, uint *frlen) index 90 drivers/staging/rtl8712/ieee80211.c *pbuf = (u8)index; index 102 drivers/staging/rtl8712/ieee80211.c u8 *r8712_get_ie(u8 *pbuf, sint index, uint *len, sint limit) index 113 drivers/staging/rtl8712/ieee80211.c if (*p == index) { index 729 drivers/staging/rtl8712/ieee80211.h u8 *r8712_set_ie(u8 *pbuf, sint index, uint len, u8 *source, uint *frlen); index 730 drivers/staging/rtl8712/ieee80211.h u8 *r8712_get_ie(u8 *pbuf, sint index, uint *len, sint limit); index 891 drivers/staging/rtl8712/rtl8712_recv.c last_evm = sqd->elements[sqd->index]; index 895 drivers/staging/rtl8712/rtl8712_recv.c sqd->elements[sqd->index++] = pattrib->signal_qual; index 896 drivers/staging/rtl8712/rtl8712_recv.c if (sqd->index >= PHY_LINKQUALITY_SLID_WIN_MAX) index 897 drivers/staging/rtl8712/rtl8712_recv.c sqd->index = 0; index 913 drivers/staging/rtl8712/rtl8712_recv.c last_rssi = ssd->elements[ssd->index]; index 917 drivers/staging/rtl8712/rtl8712_recv.c ssd->elements[ssd->index++] = pattrib->signal_strength; index 918 drivers/staging/rtl8712/rtl8712_recv.c if (ssd->index >= PHY_RSSI_SLID_WIN_MAX) index 919 drivers/staging/rtl8712/rtl8712_recv.c ssd->index = 0; index 294 drivers/staging/rtl8712/rtl871x_mlme.c last_evm = sqd->elements[sqd->index]; index 300 drivers/staging/rtl8712/rtl871x_mlme.c sqd->elements[sqd->index++] = src->Rssi; index 301 drivers/staging/rtl8712/rtl871x_mlme.c if (padapter->recvpriv.signal_qual_data.index >= index 303 drivers/staging/rtl8712/rtl871x_mlme.c padapter->recvpriv.signal_qual_data.index = 0; index 96 drivers/staging/rtl8712/rtl871x_mp.c u8 iocmd_idx = iocmd.index; index 112 drivers/staging/rtl8712/rtl871x_mp.c u8 iocmd_idx = iocmd.index; index 130 drivers/staging/rtl8712/rtl871x_mp.c iocmd.index = IOCMD_BB_READ_IDX; index 153 drivers/staging/rtl8712/rtl871x_mp.c iocmd.index = IOCMD_BB_WRITE_IDX; index 179 drivers/staging/rtl8712/rtl871x_mp.c iocmd.index = IOCMD_RF_READ_IDX; index 190 drivers/staging/rtl8712/rtl871x_mp.c iocmd.index = IOCMD_RF_WRIT_IDX; index 111 drivers/staging/rtl8712/rtl871x_mp.h u8 index; index 37 drivers/staging/rtl8712/rtl871x_recv.h u32 index; /* index to current array to store */ index 91 drivers/staging/rtl8712/rtl871x_sta_mgt.c s32 index; index 108 drivers/staging/rtl8712/rtl871x_sta_mgt.c index = wifi_mac_hash(hwaddr); index 109 drivers/staging/rtl8712/rtl871x_sta_mgt.c if (index >= NUM_STA) { index 113 drivers/staging/rtl8712/rtl871x_sta_mgt.c phash_list = &pstapriv->sta_hash[index]; index 195 drivers/staging/rtl8712/rtl871x_sta_mgt.c s32 index; index 203 drivers/staging/rtl8712/rtl871x_sta_mgt.c for (index = 0; index < NUM_STA; index++) { index 204 drivers/staging/rtl8712/rtl871x_sta_mgt.c phead = &(pstapriv->sta_hash[index]); index 223 drivers/staging/rtl8712/rtl871x_sta_mgt.c u32 index; index 227 drivers/staging/rtl8712/rtl871x_sta_mgt.c index = wifi_mac_hash(hwaddr); index 229 drivers/staging/rtl8712/rtl871x_sta_mgt.c phead = &(pstapriv->sta_hash[index]); index 30 drivers/staging/rtl8712/usb_ops.c u16 index; index 37 drivers/staging/rtl8712/usb_ops.c index = 0; index 40 drivers/staging/rtl8712/usb_ops.c r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, index 50 drivers/staging/rtl8712/usb_ops.c u16 index; index 57 drivers/staging/rtl8712/usb_ops.c index = 0; index 60 drivers/staging/rtl8712/usb_ops.c r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, index 70 drivers/staging/rtl8712/usb_ops.c u16 index; index 77 drivers/staging/rtl8712/usb_ops.c index = 0; index 80 drivers/staging/rtl8712/usb_ops.c r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, index 90 drivers/staging/rtl8712/usb_ops.c u16 index; index 97 drivers/staging/rtl8712/usb_ops.c index = 0; index 101 drivers/staging/rtl8712/usb_ops.c r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, index 110 drivers/staging/rtl8712/usb_ops.c u16 index; index 117 drivers/staging/rtl8712/usb_ops.c index = 0; index 121 drivers/staging/rtl8712/usb_ops.c r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, index 130 drivers/staging/rtl8712/usb_ops.c u16 index; index 137 drivers/staging/rtl8712/usb_ops.c index = 0; index 141 drivers/staging/rtl8712/usb_ops.c r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, &data, len, index 35 drivers/staging/rtl8712/usb_ops.h u16 index, void *pdata, u16 len, u8 requesttype); index 470 drivers/staging/rtl8712/usb_ops_linux.c u16 index, void *pdata, u16 len, u8 requesttype) index 495 drivers/staging/rtl8712/usb_ops_linux.c status = usb_control_msg(udev, pipe, request, reqtype, value, index, index 124 drivers/staging/rtl8723bs/core/rtw_ieee80211.c sint index, index 130 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *pbuf = (u8)index; index 145 drivers/staging/rtl8723bs/core/rtw_ieee80211.c u8 *rtw_get_ie(u8 *pbuf, sint index, sint *len, sint limit) index 157 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if (*p == index) { index 396 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 index, chanset_size = 0; index 416 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c for (index = 0; index < RTW_ChannelPlan2G[Index2G].Len; index++) { index 417 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c channel_set[chanset_size].ChannelNum = RTW_ChannelPlan2G[Index2G].Channel[index]; index 440 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c for (index = 0; index < RTW_ChannelPlan5G[Index5G].Len; index++) { index 441 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (RTW_ChannelPlan5G[Index5G].Channel[index] <= 48 index 442 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c || RTW_ChannelPlan5G[Index5G].Channel[index] >= 149) { index 443 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c channel_set[chanset_size].ChannelNum = RTW_ChannelPlan5G[Index5G].Channel[index]; index 519 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int index; index 545 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index = GetFrameSubType(pframe) >> 4; index 547 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (index >= ARRAY_SIZE(mlme_sta_tbl)) { index 548 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("Currently we do not support reserved sub-fr-type =%d\n", index)); index 551 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ptable += index; index 3234 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int i, j, index = 0; index 3329 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c bssrate[index++] = pmlmeinfo->network.SupportedRates[i]; index 3333 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c bssrate_len = index; index 154 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c int index; index 160 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c for (index = 0; index < NUM_STA; index++) { index 161 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phead = &(pstapriv->sta_hash[index]); index 191 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c s32 index; index 222 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c index = wifi_mac_hash(hwaddr); index 224 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_info_, ("rtw_alloc_stainfo: index = %x", index)); index 226 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c if (index >= NUM_STA) { index 232 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phash_list = &(pstapriv->sta_hash[index]); index 486 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c s32 index; index 496 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c for (index = 0; index < NUM_STA; index++) { index 497 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phead = &(pstapriv->sta_hash[index]); index 519 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c u32 index; index 531 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c index = wifi_mac_hash(addr); index 535 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phead = &(pstapriv->sta_hash[index]); index 112 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c u8 index, index 119 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c u8 wifiRssiState = pCoexSta->preWifiRssiState[index]; index 125 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexSta->preWifiRssiState[index] == BTC_RSSI_STATE_LOW) || index 126 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexSta->preWifiRssiState[index] == BTC_RSSI_STATE_STAY_LOW) index 147 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c return pCoexSta->preWifiRssiState[index]; index 151 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexSta->preWifiRssiState[index] == BTC_RSSI_STATE_LOW) || index 152 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexSta->preWifiRssiState[index] == BTC_RSSI_STATE_STAY_LOW) index 162 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexSta->preWifiRssiState[index] == BTC_RSSI_STATE_MEDIUM) || index 163 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexSta->preWifiRssiState[index] == BTC_RSSI_STATE_STAY_MEDIUM) index 186 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexSta->preWifiRssiState[index] = wifiRssiState; index 274 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 index = 0; index 279 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 0; index 282 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 1; index 285 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 6; index 289 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 7; index 291 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 15; index 295 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 2; index 298 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 3; index 301 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 4; index 304 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 5; index 307 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 8; index 310 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 9; index 313 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 14; index 316 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 10; index 319 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 11; index 322 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 12; index 325 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 13; index 333 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c return index; index 768 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 index = PHY_GetRateSectionIndexOfTxPowerByRate(padapter, RegAddr, BitMask); index 770 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->MCSTxPowerLevelOriginalOffset[pHalData->pwrGroupCnt][index] = Data; index 1211 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u8 index = 0; index 1214 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 0; index 1217 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 1; index 1220 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 2; index 1223 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 3; index 1226 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 4; index 1229 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 5; index 1232 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 6; index 1235 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 7; index 1238 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 8; index 1241 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 9; index 1244 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 10; index 1247 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 11; index 1250 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 12; index 1253 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 13; index 1256 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 14; index 1259 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 15; index 1262 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 16; index 1265 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 17; index 1268 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 18; index 1271 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 19; index 1274 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 20; index 1277 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 21; index 1280 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 22; index 1283 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 23; index 1286 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 24; index 1289 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 25; index 1292 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 26; index 1295 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 27; index 1298 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 28; index 1301 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 29; index 1304 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 30; index 1307 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 31; index 1310 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 32; index 1313 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 33; index 1316 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 34; index 1319 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 35; index 1322 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 36; index 1325 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 37; index 1328 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 38; index 1331 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 39; index 1334 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 40; index 1337 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 41; index 1340 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 42; index 1343 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 43; index 1346 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 44; index 1349 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 45; index 1352 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 46; index 1355 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 47; index 1358 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 48; index 1361 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 49; index 1364 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 50; index 1367 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 51; index 1370 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 52; index 1373 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 53; index 1376 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 54; index 1379 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 55; index 1382 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 56; index 1385 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 57; index 1388 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 58; index 1391 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 59; index 1394 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 60; index 1397 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 61; index 1400 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 62; index 1403 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 63; index 1406 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 64; index 1409 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 65; index 1412 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 66; index 1415 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 67; index 1418 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 68; index 1421 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 69; index 1424 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 70; index 1427 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 71; index 1430 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 72; index 1433 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 73; index 1436 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 74; index 1439 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 75; index 1442 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 76; index 1445 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 77; index 1448 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 78; index 1451 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 79; index 1454 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 80; index 1457 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 81; index 1460 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 82; index 1463 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 83; index 1469 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c return index; index 2534 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c u32 index = 0; index 2542 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index = 0; index 2545 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index += 8; index 2548 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index += 6; index 2554 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c rf_path = szLine[index] - 'A'; index 2570 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c while (szLine[index] != ']') index 2571 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c ++index; index 2572 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c ++index;/* skip ] */ index 2575 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c szLine += index; index 2962 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u32 index; index 2974 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c for (index = 0; index < count; index++) { index 2975 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c checksum |= le16_to_cpu(*(__le16 *)(usPtr + index)); index 3663 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 index = 0; index 3690 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c for (index = 0; index < pC2hEvent->plen; index++) { index 3691 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c RT_TRACE(_module_hal_init_c_, _drv_info_, ("[BT], tmpBuf[%d]= 0x%x\n", index, pC2hEvent->payload[index])); index 3713 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c u8 index = 0; index 3739 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c for (index = 0; index < pC2hEvent->CmdLen; index++) { index 3740 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c RT_TRACE(_module_hal_init_c_, _drv_info_, ("[BT], tmpBuf[%d]= 0x%x\n", index, c2hBuf[index])); index 62 drivers/staging/rtl8723bs/hal/sdio_halinit.c void HalSetOutPutGPIO(struct adapter *padapter, u8 index, u8 OutPutValue) index 64 drivers/staging/rtl8723bs/hal/sdio_halinit.c if (index <= 7) { index 66 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 3, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 3) & ~BIT(index)); index 71 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 2, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 2) | BIT(index)); index 75 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) | BIT(index)); index 77 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL + 1) & ~BIT(index)); index 83 drivers/staging/rtl8723bs/hal/sdio_halinit.c index -= 8; index 86 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 3, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 3) & ~BIT(index)); index 91 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 2, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 2) | BIT(index)); index 95 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 1) | BIT(index)); index 97 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write8(padapter, REG_GPIO_PIN_CTRL_2 + 1, rtw_read8(padapter, REG_GPIO_PIN_CTRL_2 + 1) & ~BIT(index)); index 1119 drivers/staging/rtl8723bs/include/ieee80211.h u8 *rtw_set_ie(u8 *pbuf, sint index, uint len, u8 *source, uint *frlen); index 1127 drivers/staging/rtl8723bs/include/ieee80211.h u8 *rtw_get_ie(u8*pbuf, sint index, sint *len, sint limit); index 284 drivers/staging/rtl8723bs/include/rtl8723b_hal.h void HalSetOutPutGPIO(struct adapter *padapter, u8 index, u8 OutPutValue); index 278 drivers/staging/rtl8723bs/include/rtw_mp.h u8 index; index 81 drivers/staging/rtl8723bs/include/rtw_recv.h u32 index; /* index to current array to store */ index 2307 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c u8 index, blInserted = false; index 2322 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c for (index = 0 ; index<NUM_PMKID_CACHE; index++) index 2324 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!memcmp(psecuritypriv->PMKIDList[index].Bssid, (u8 *)pmksa->bssid, ETH_ALEN)) index 2328 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(psecuritypriv->PMKIDList[index].PMKID, (u8 *)pmksa->pmkid, WLAN_PMKID_LEN); index 2329 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psecuritypriv->PMKIDList[index].bUsed = true; index 2330 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psecuritypriv->PMKIDIndex = index+1; index 2360 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c u8 index, bMatched = false; index 2366 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c for (index = 0 ; index<NUM_PMKID_CACHE; index++) index 2368 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (!memcmp(psecuritypriv->PMKIDList[index].Bssid, (u8 *)pmksa->bssid, ETH_ALEN)) index 2370 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c eth_zero_addr(psecuritypriv->PMKIDList[index].Bssid); index 2371 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memset(psecuritypriv->PMKIDList[index].PMKID, 0x00, WLAN_PMKID_LEN); index 2372 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c psecuritypriv->PMKIDList[index].bUsed = false; index 2956 drivers/staging/rts5208/ms.c u8 *buf, unsigned int *index, index 3093 drivers/staging/rts5208/ms.c index, offset, index 3125 drivers/staging/rts5208/ms.c u8 end_page, u8 *buf, unsigned int *index, index 3262 drivers/staging/rts5208/ms.c index, offset, index 3398 drivers/staging/rts5208/ms.c unsigned int index = 0, offset = 0; index 3535 drivers/staging/rts5208/ms.c ptr, &index, &offset); index 3539 drivers/staging/rts5208/ms.c end_page, ptr, &index, index 35 drivers/staging/rts5208/rtsx_transport.c unsigned int *index, index 65 drivers/staging/rts5208/rtsx_transport.c + *index; index 74 drivers/staging/rts5208/rtsx_transport.c while (cnt < buflen && *index < scsi_sg_count(srb)) { index 88 drivers/staging/rts5208/rtsx_transport.c ++*index; index 123 drivers/staging/rts5208/rtsx_transport.c unsigned int index = 0, offset = 0; index 125 drivers/staging/rts5208/rtsx_transport.c rtsx_stor_access_xfer_buf(buffer, buflen, srb, &index, &offset, index 134 drivers/staging/rts5208/rtsx_transport.c unsigned int index = 0, offset = 0; index 136 drivers/staging/rts5208/rtsx_transport.c rtsx_stor_access_xfer_buf(buffer, buflen, srb, &index, &offset, index 315 drivers/staging/rts5208/rtsx_transport.c unsigned int *index, index 329 drivers/staging/rts5208/rtsx_transport.c if (!sg || (num_sg <= 0) || !offset || !index) index 369 drivers/staging/rts5208/rtsx_transport.c for (i = 0; i < *index; i++) index 371 drivers/staging/rts5208/rtsx_transport.c for (i = *index; i < sg_cnt; i++) { index 382 drivers/staging/rts5208/rtsx_transport.c *index, *offset); index 394 drivers/staging/rts5208/rtsx_transport.c *index = *index + 1; index 712 drivers/staging/rts5208/rtsx_transport.c unsigned int *index, unsigned int *offset, index 725 drivers/staging/rts5208/rtsx_transport.c index, offset, (int)len, index 23 drivers/staging/rts5208/rtsx_transport.h unsigned int *index, index 53 drivers/staging/rts5208/rtsx_transport.h size_t len, int use_sg, unsigned int *index, index 557 drivers/staging/rts5208/spi.c unsigned int index = 0, offset = 0; index 634 drivers/staging/rts5208/spi.c rtsx_stor_access_xfer_buf(buf, pagelen, srb, &index, &offset, index 654 drivers/staging/rts5208/spi.c unsigned int index = 0, offset = 0; index 682 drivers/staging/rts5208/spi.c rtsx_stor_access_xfer_buf(buf, 1, srb, &index, &offset, index 725 drivers/staging/rts5208/spi.c rtsx_stor_access_xfer_buf(buf, 1, srb, &index, &offset, index 791 drivers/staging/rts5208/spi.c rtsx_stor_access_xfer_buf(buf, pagelen, srb, &index, index 1500 drivers/staging/rts5208/xd.c u8 *buf, unsigned int *index, index 1555 drivers/staging/rts5208/xd.c index, offset, DMA_FROM_DEVICE, index 1702 drivers/staging/rts5208/xd.c u8 end_page, u8 *buf, unsigned int *index, index 1754 drivers/staging/rts5208/xd.c index, offset, DMA_TO_DEVICE, chip->xd_timeout); index 1837 drivers/staging/rts5208/xd.c unsigned int index = 0, offset = 0; index 1976 drivers/staging/rts5208/xd.c ptr, &index, &offset); index 1986 drivers/staging/rts5208/xd.c ptr, &index, &offset); index 690 drivers/staging/sm750fb/sm750.c if (par->index == 0) { index 704 drivers/staging/sm750fb/sm750.c if (par->index == 0) { index 737 drivers/staging/sm750fb/sm750.c static int lynxfb_set_fbinfo(struct fb_info *info, int index) index 772 drivers/staging/sm750fb/sm750.c par->index = index; index 805 drivers/staging/sm750fb/sm750.c if (!g_fbmode[index]) { index 806 drivers/staging/sm750fb/sm750.c g_fbmode[index] = g_def_fbmode; index 807 drivers/staging/sm750fb/sm750.c if (index) index 808 drivers/staging/sm750fb/sm750.c g_fbmode[index] = g_fbmode[0]; index 812 drivers/staging/sm750fb/sm750.c ret = fb_find_mode(var, info, g_fbmode[index], index 817 drivers/staging/sm750fb/sm750.c g_fbmode[index], index 822 drivers/staging/sm750fb/sm750.c g_fbmode[index], index 877 drivers/staging/sm750fb/sm750.c strlcpy(fix->id, fixId[index], sizeof(fix->id)); index 171 drivers/staging/sm750fb/sm750.h int index; index 204 drivers/staging/sm750fb/sm750.h int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, index 375 drivers/staging/sm750fb/sm750_hw.c int hw_sm750_setColReg(struct lynxfb_crtc *crtc, ushort index, index 380 drivers/staging/sm750fb/sm750_hw.c poke32(add[crtc->channel] + index * 4, index 395 drivers/staging/speakup/i18n.c char *spk_msg_get(enum msg_index_t index) index 397 drivers/staging/speakup/i18n.c return speakup_msgs[index]; index 543 drivers/staging/speakup/i18n.c ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length) index 548 drivers/staging/speakup/i18n.c if ((index < MSG_FIRST_INDEX) || (index >= MSG_LAST_INDEX)) index 557 drivers/staging/speakup/i18n.c if (index >= MSG_FORMATTED_START && index 558 drivers/staging/speakup/i18n.c index <= MSG_FORMATTED_END && index 559 drivers/staging/speakup/i18n.c !fmt_validate(speakup_default_msgs[index], newstr)) { index 564 drivers/staging/speakup/i18n.c if (speakup_msgs[index] != speakup_default_msgs[index]) index 565 drivers/staging/speakup/i18n.c kfree(speakup_msgs[index]); index 566 drivers/staging/speakup/i18n.c speakup_msgs[index] = newstr; index 614 drivers/staging/speakup/i18n.c enum msg_index_t index; index 618 drivers/staging/speakup/i18n.c for (index = MSG_FIRST_INDEX; index < MSG_LAST_INDEX; index++) { index 619 drivers/staging/speakup/i18n.c if (speakup_msgs[index] != speakup_default_msgs[index]) { index 620 drivers/staging/speakup/i18n.c kfree(speakup_msgs[index]); index 621 drivers/staging/speakup/i18n.c speakup_msgs[index] = speakup_default_msgs[index]; index 228 drivers/staging/speakup/i18n.h char *spk_msg_get(enum msg_index_t index); index 229 drivers/staging/speakup/i18n.h ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length); index 122 drivers/staging/speakup/kobjects.c unsigned long index = 0; index 161 drivers/staging/speakup/kobjects.c index = simple_strtoul(cp, &temp, 10); index 162 drivers/staging/speakup/kobjects.c if (index > 255) { index 194 drivers/staging/speakup/kobjects.c if (spk_characters[index] != spk_default_chars[index]) index 195 drivers/staging/speakup/kobjects.c kfree(spk_characters[index]); index 196 drivers/staging/speakup/kobjects.c spk_characters[index] = desc; index 205 drivers/staging/speakup/kobjects.c if (charclass != spk_chartab[index]) { index 206 drivers/staging/speakup/kobjects.c spk_chartab[index] = charclass; index 715 drivers/staging/speakup/kobjects.c int index = 0; index 718 drivers/staging/speakup/kobjects.c for (cursor = first; cursor <= last; cursor++, index++) { index 722 drivers/staging/speakup/kobjects.c index, spk_msg_get(cursor)); index 761 drivers/staging/speakup/kobjects.c unsigned long index = 0; index 798 drivers/staging/speakup/kobjects.c index = simple_strtoul(cp, &temp, 10); index 804 drivers/staging/speakup/kobjects.c curmessage = firstmessage + index; index 46 drivers/staging/speakup/serialio.c const struct old_serial_port *spk_serial_init(int index) index 54 drivers/staging/speakup/serialio.c if (index >= ARRAY_SIZE(rs_table)) { index 55 drivers/staging/speakup/serialio.c pr_info("no port info for ttyS%d\n", index); index 58 drivers/staging/speakup/serialio.c ser = rs_table + index; index 37 drivers/staging/speakup/spk_priv.h const struct old_serial_port *spk_serial_init(int index); index 193 drivers/staging/unisys/visornic/visornic_main.c u16 index, u16 max_pi_arr_entries, index 201 drivers/staging/unisys/visornic/visornic_main.c if (index >= max_pi_arr_entries) index 203 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index].pi_pfn = inp_pfn; index 204 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index].pi_off = (u16)inp_off; index 205 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index].pi_len = (u16)inp_len; index 206 drivers/staging/unisys/visornic/visornic_main.c return index + 1; index 211 drivers/staging/unisys/visornic/visornic_main.c len -= pi_arr[index + i].pi_len, i++) { index 212 drivers/staging/unisys/visornic/visornic_main.c if (index + i >= max_pi_arr_entries) index 214 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index + i].pi_pfn = inp_pfn + i; index 216 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index].pi_off = inp_off; index 217 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index].pi_len = firstlen; index 219 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index + i].pi_off = 0; index 220 drivers/staging/unisys/visornic/visornic_main.c pi_arr[index + i].pi_len = min_t(u16, len, index 224 drivers/staging/unisys/visornic/visornic_main.c return index + i; index 39 drivers/staging/uwb/include/debug-cmd.h int index; index 31 drivers/staging/uwb/lc-rc.c const int *index = data; index 34 drivers/staging/uwb/lc-rc.c if (rc->index == *index) index 39 drivers/staging/uwb/lc-rc.c static struct uwb_rc *uwb_rc_find_by_index(int index) index 44 drivers/staging/uwb/lc-rc.c dev = class_find_device(&uwb_rc_class, NULL, &index, uwb_rc_index_match); index 55 drivers/staging/uwb/lc-rc.c int index = 0; index 58 drivers/staging/uwb/lc-rc.c if (!uwb_rc_find_by_index(index)) index 59 drivers/staging/uwb/lc-rc.c return index; index 60 drivers/staging/uwb/lc-rc.c if (++index < 0) index 61 drivers/staging/uwb/lc-rc.c index = 0; index 334 drivers/staging/uwb/lc-rc.c rc->index = uwb_rc_new_index(); index 337 drivers/staging/uwb/lc-rc.c dev_set_name(dev, "uwb%d", rc->index); index 116 drivers/staging/uwb/uwb-debug.c if (i == cmd->index) { index 359 drivers/staging/uwb/uwb.h int index; index 239 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c .index = 0, index 252 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c .index = 0, index 273 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c .index = 0, index 286 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c .index = 0, index 480 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c __func__, dev, buf, vb2->vb2_buf.index); index 689 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (f->index >= ARRAY_SIZE(formats)) index 692 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fmt = &formats[f->index]; index 844 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (inp->index) index 848 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c sprintf((char *)inp->name, "Camera %u", inp->index); index 890 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (f->index >= ARRAY_SIZE(formats)) index 893 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fmt = &formats[f->index]; index 1326 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (fsize->index) index 1347 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (fival->index) index 52 drivers/staging/vc04_services/bcm2835-camera/mmal-msg-port.h u16 index; /* Index of the port in its type list (RO) */ index 152 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 index; /* port index to query */ index 185 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 index; /* port indexed in query */ index 748 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c p->index = port->index; index 780 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.port_index = port->index; index 836 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_get.index = port->index; index 867 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->index = rmsg->u.port_info_get_reply.port_index; index 1640 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->control.index = 0; index 1650 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->input[idx].index = idx; index 1661 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->output[idx].index = idx; index 1672 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c component->clock[idx].index = idx; index 54 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h u32 index; /* port index, cached to use on port info set */ index 10 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c #define SLOT_INFO_FROM_INDEX(state, index) (state->slot_info + (index)) index 11 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c #define SLOT_DATA_FROM_INDEX(state, index) (state->slot_data + (index)) index 37 drivers/staging/vt6656/usbpipe.c u16 index, u16 length, u8 *buffer) index 58 drivers/staging/vt6656/usbpipe.c index, usb_buffer, length, USB_CTL_WAIT); index 97 drivers/staging/vt6656/usbpipe.c u16 index, u16 length, u8 *buffer) index 118 drivers/staging/vt6656/usbpipe.c index, usb_buffer, length, USB_CTL_WAIT); index 24 drivers/staging/vt6656/usbpipe.h u16 index, u16 length, u8 *buffer); index 26 drivers/staging/vt6656/usbpipe.h u16 index, u16 length, u8 *buffer); index 46 drivers/staging/wilc1000/wilc_hif.c u8 index; index 59 drivers/staging/wilc1000/wilc_hif.c u8 index; index 67 drivers/staging/wilc1000/wilc_hif.c u8 index; index 185 drivers/staging/wilc1000/wilc_hif.c int index = idx - 1; index 187 drivers/staging/wilc1000/wilc_hif.c if (index < 0 || index >= WILC_NUM_CONCURRENT_IFC) index 190 drivers/staging/wilc1000/wilc_hif.c return wilc->vif[index]; index 237 drivers/staging/wilc1000/wilc_hif.c u32 index = 0; index 264 drivers/staging/wilc1000/wilc_hif.c wid_list[index].id = WID_SSID_PROBE_REQ; index 265 drivers/staging/wilc1000/wilc_hif.c wid_list[index].type = WID_STR; index 266 drivers/staging/wilc1000/wilc_hif.c wid_list[index].val = search_ssid_vals; index 267 drivers/staging/wilc1000/wilc_hif.c buffer = wid_list[index].val; index 277 drivers/staging/wilc1000/wilc_hif.c wid_list[index].size = (s32)(valuesize + 1); index 278 drivers/staging/wilc1000/wilc_hif.c index++; index 282 drivers/staging/wilc1000/wilc_hif.c wid_list[index].id = WID_INFO_ELEMENT_PROBE; index 283 drivers/staging/wilc1000/wilc_hif.c wid_list[index].type = WID_BIN_DATA; index 284 drivers/staging/wilc1000/wilc_hif.c wid_list[index].val = (s8 *)request->ie; index 285 drivers/staging/wilc1000/wilc_hif.c wid_list[index].size = request->ie_len; index 286 drivers/staging/wilc1000/wilc_hif.c index++; index 288 drivers/staging/wilc1000/wilc_hif.c wid_list[index].id = WID_SCAN_TYPE; index 289 drivers/staging/wilc1000/wilc_hif.c wid_list[index].type = WID_CHAR; index 290 drivers/staging/wilc1000/wilc_hif.c wid_list[index].size = sizeof(char); index 291 drivers/staging/wilc1000/wilc_hif.c wid_list[index].val = (s8 *)&scan_type; index 292 drivers/staging/wilc1000/wilc_hif.c index++; index 295 drivers/staging/wilc1000/wilc_hif.c wid_list[index].id = WID_PASSIVE_SCAN_TIME; index 296 drivers/staging/wilc1000/wilc_hif.c wid_list[index].type = WID_SHORT; index 297 drivers/staging/wilc1000/wilc_hif.c wid_list[index].size = sizeof(u16); index 298 drivers/staging/wilc1000/wilc_hif.c wid_list[index].val = (s8 *)&request->duration; index 299 drivers/staging/wilc1000/wilc_hif.c index++; index 306 drivers/staging/wilc1000/wilc_hif.c wid_list[index].id = WID_SCAN_CHANNEL_LIST; index 307 drivers/staging/wilc1000/wilc_hif.c wid_list[index].type = WID_BIN_DATA; index 316 drivers/staging/wilc1000/wilc_hif.c wid_list[index].val = ch_freq_list; index 317 drivers/staging/wilc1000/wilc_hif.c wid_list[index].size = ch_list_len; index 318 drivers/staging/wilc1000/wilc_hif.c index++; index 320 drivers/staging/wilc1000/wilc_hif.c wid_list[index].id = WID_START_SCAN_REQ; index 321 drivers/staging/wilc1000/wilc_hif.c wid_list[index].type = WID_CHAR; index 322 drivers/staging/wilc1000/wilc_hif.c wid_list[index].size = sizeof(char); index 323 drivers/staging/wilc1000/wilc_hif.c wid_list[index].val = (s8 *)&scan_source; index 324 drivers/staging/wilc1000/wilc_hif.c index++; index 329 drivers/staging/wilc1000/wilc_hif.c result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, index); index 509 drivers/staging/wilc1000/wilc_hif.c param->idx = noa_attr.index; index 1098 drivers/staging/wilc1000/wilc_hif.c int wilc_remove_wep_key(struct wilc_vif *vif, u8 index) index 1106 drivers/staging/wilc1000/wilc_hif.c wid.val = &index; index 1115 drivers/staging/wilc1000/wilc_hif.c int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index) index 1123 drivers/staging/wilc1000/wilc_hif.c wid.val = &index; index 1133 drivers/staging/wilc1000/wilc_hif.c u8 index) index 1148 drivers/staging/wilc1000/wilc_hif.c wep_key->index = index; index 1162 drivers/staging/wilc1000/wilc_hif.c u8 index, u8 mode, enum authtype auth_type) index 1187 drivers/staging/wilc1000/wilc_hif.c wep_key->index = index; index 1202 drivers/staging/wilc1000/wilc_hif.c u8 mode, u8 cipher_mode, u8 index) index 1221 drivers/staging/wilc1000/wilc_hif.c key_buf->index = index; index 1272 drivers/staging/wilc1000/wilc_hif.c u8 index, u32 key_rsc_len, const u8 *key_rsc, index 1291 drivers/staging/wilc1000/wilc_hif.c gtk_key->index = index; index 1410 drivers/staging/wilc1000/wilc_hif.c int wilc_set_operation_mode(struct wilc_vif *vif, int index, u8 mode, index 1422 drivers/staging/wilc1000/wilc_hif.c drv.handler = cpu_to_le32(index); index 173 drivers/staging/wilc1000/wilc_hif.h int wilc_remove_wep_key(struct wilc_vif *vif, u8 index); index 174 drivers/staging/wilc1000/wilc_hif.h int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index); index 176 drivers/staging/wilc1000/wilc_hif.h u8 index); index 178 drivers/staging/wilc1000/wilc_hif.h u8 index, u8 mode, enum authtype auth_type); index 181 drivers/staging/wilc1000/wilc_hif.h u8 mode, u8 cipher_mode, u8 index); index 185 drivers/staging/wilc1000/wilc_hif.h u8 index, u32 key_rsc_len, const u8 *key_rsc, index 222 drivers/staging/wilc1000/wilc_hif.h int wilc_set_operation_mode(struct wilc_vif *vif, int index, u8 mode, index 938 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u32 index = 0; index 942 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c while (index < len) { index 943 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (buf[index] == GO_INTENT_ATTR_ID) index 944 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c buf[index + 3] = (buf[index + 3] & 0x01) | (0x00 << 1); index 946 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (buf[index] == CHANLIST_ATTR_ID) index 947 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c channel_list_attr_index = index; index 948 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c else if (buf[index] == OPERCHAN_ATTR_ID) index 949 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c op_channel_attr_index = index; index 950 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index += buf[index + 1] + 3; index 960 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u32 index = 0; index 964 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c while (index < len) { index 965 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (buf[index] == GO_INTENT_ATTR_ID) { index 966 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c buf[index + 3] = (buf[index + 3] & 0x01) | (0x0f << 1); index 971 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (buf[index] == CHANLIST_ATTR_ID) index 972 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c channel_list_attr_index = index; index 973 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c else if (buf[index] == OPERCHAN_ATTR_ID) index 974 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c op_channel_attr_index = index; index 975 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index += buf[index + 1] + 3; index 108 drivers/staging/wilc1000/wilc_wlan.c static inline void update_tcp_session(struct wilc_vif *vif, u32 index, u32 ack) index 112 drivers/staging/wilc1000/wilc_wlan.c if (index < 2 * MAX_TCP_SESSION && index 113 drivers/staging/wilc1000/wilc_wlan.c ack > f->ack_session_info[index].bigger_ack_num) index 114 drivers/staging/wilc1000/wilc_wlan.c f->ack_session_info[index].bigger_ack_num = ack; index 197 drivers/staging/wilc1000/wilc_wlan.c u32 index; index 203 drivers/staging/wilc1000/wilc_wlan.c index = f->pending_acks[i].session_index; index 205 drivers/staging/wilc1000/wilc_wlan.c if (index >= 2 * MAX_TCP_SESSION) index 208 drivers/staging/wilc1000/wilc_wlan.c bigger_ack_num = f->ack_session_info[index].bigger_ack_num; index 632 drivers/staging/wusbcore/host/hwa-hc.c u8 index; index 636 drivers/staging/wusbcore/host/hwa-hc.c index = (usb_dev->actconfig - usb_dev->config) / index 638 drivers/staging/wusbcore/host/hwa-hc.c itr = usb_dev->rawdescriptors[index]; index 641 drivers/staging/wusbcore/host/hwa-hc.c result = __usb_get_extra_descriptor(usb_dev->rawdescriptors[index], index 665 drivers/staging/wusbcore/host/hwa-hc.c index = 0; index 249 drivers/staging/wusbcore/include/wusb.h static inline u8 wusb_key_index(int index, int type, int originator) index 251 drivers/staging/wusbcore/include/wusb.h return (originator << 6) | (type << 4) | index; index 280 drivers/staging/wusbcore/wa-hc.h int index; index 296 drivers/staging/wusbcore/wa-hc.h for (index = 0; index < WA_MAX_BUF_IN_URBS; ++index) index 297 drivers/staging/wusbcore/wa-hc.h usb_init_urb(&(wa->buf_in_urbs[index])); index 55 drivers/staging/wusbcore/wa-rpipe.c struct usb_rpipe_descriptor *descr, u16 index) index 67 drivers/staging/wusbcore/wa-rpipe.c USB_DT_RPIPE<<8, index, descr, sizeof(*descr), index 71 drivers/staging/wusbcore/wa-rpipe.c index, (int)result); index 77 drivers/staging/wusbcore/wa-rpipe.c index, result, sizeof(*descr)); index 93 drivers/staging/wusbcore/wa-rpipe.c struct usb_rpipe_descriptor *descr, u16 index) index 105 drivers/staging/wusbcore/wa-rpipe.c USB_DT_RPIPE<<8, index, descr, sizeof(*descr), index 109 drivers/staging/wusbcore/wa-rpipe.c index, (int)result); index 115 drivers/staging/wusbcore/wa-rpipe.c index, result, sizeof(*descr)); index 159 drivers/staging/wusbcore/wa-rpipe.c u8 index = le16_to_cpu(rpipe->descr.wRPipeIndex); index 163 drivers/staging/wusbcore/wa-rpipe.c rpipe_put_idx(rpipe->wa, index); index 216 drivers/staging/wusbcore/wa-rpipe.c static int __rpipe_reset(struct wahc *wa, unsigned index) index 225 drivers/staging/wusbcore/wa-rpipe.c 0, index, NULL, 0, USB_CTRL_SET_TIMEOUT); index 228 drivers/staging/wusbcore/wa-rpipe.c index, result); index 508 drivers/staging/wusbcore/wa-rpipe.c u16 index = le16_to_cpu(rpipe->descr.wRPipeIndex); index 514 drivers/staging/wusbcore/wa-rpipe.c 0, index, NULL, 0, USB_CTRL_SET_TIMEOUT); index 529 drivers/staging/wusbcore/wa-rpipe.c u16 index = le16_to_cpu(rpipe->descr.wRPipeIndex); index 535 drivers/staging/wusbcore/wa-rpipe.c RPIPE_STALL, index, NULL, 0, USB_CTRL_SET_TIMEOUT); index 109 drivers/staging/wusbcore/wa-xfer.c u8 index; /* which segment we are */ index 353 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index, found_short, index 359 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index, seg->result, index 365 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index, seg->result, index 540 drivers/staging/wusbcore/wa-xfer.c int index = isoc_frame_offset; index 544 drivers/staging/wusbcore/wa-xfer.c while ((index < xfer->urb->number_of_packets) index 545 drivers/staging/wusbcore/wa-xfer.c && ((segment_size + iso_frame_desc[index].length) index 556 drivers/staging/wusbcore/wa-xfer.c && (index > isoc_frame_offset) index 557 drivers/staging/wusbcore/wa-xfer.c && ((iso_frame_desc[index - 1].offset + index 558 drivers/staging/wusbcore/wa-xfer.c iso_frame_desc[index - 1].length) != index 559 drivers/staging/wusbcore/wa-xfer.c iso_frame_desc[index].offset)) index 564 drivers/staging/wusbcore/wa-xfer.c segment_size += iso_frame_desc[index].length; index 567 drivers/staging/wusbcore/wa-xfer.c ++index; index 624 drivers/staging/wusbcore/wa-xfer.c int index = 0; index 631 drivers/staging/wusbcore/wa-xfer.c while (index < urb->number_of_packets) { index 633 drivers/staging/wusbcore/wa-xfer.c index += __wa_seg_calculate_isoc_frame_count(xfer, index 634 drivers/staging/wusbcore/wa-xfer.c index, &seg_size); index 770 drivers/staging/wusbcore/wa-xfer.c wa_xfer_id(xfer), seg->index, seg->isoc_frame_index, index 781 drivers/staging/wusbcore/wa-xfer.c wa_xfer_id(xfer), seg->index, seg->result); index 799 drivers/staging/wusbcore/wa-xfer.c wa_xfer_id(xfer), seg->index, result); index 819 drivers/staging/wusbcore/wa-xfer.c wa_xfer_id(xfer), seg->index, urb->status); index 886 drivers/staging/wusbcore/wa-xfer.c wa_xfer_id(xfer), seg->index); index 900 drivers/staging/wusbcore/wa-xfer.c wa_xfer_id(xfer), seg->index, urb->status); index 959 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index); index 976 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index, index 1199 drivers/staging/wusbcore/wa-xfer.c seg->index = cnt; index 1394 drivers/staging/wusbcore/wa-xfer.c __func__, xfer, seg->index, result); index 1405 drivers/staging/wusbcore/wa-xfer.c __func__, xfer, seg->index, result); index 1417 drivers/staging/wusbcore/wa-xfer.c __func__, xfer, seg->index, result); index 1480 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index, index 2128 drivers/staging/wusbcore/wa-xfer.c int index; index 2131 drivers/staging/wusbcore/wa-xfer.c for (index = starting_index; index < xfer->segs_submitted; index++) { index 2132 drivers/staging/wusbcore/wa-xfer.c struct wa_seg *current_seg = xfer->seg[index]; index 2154 drivers/staging/wusbcore/wa-xfer.c __func__, wa_xfer_id(xfer), index, index 2314 drivers/staging/wusbcore/wa-xfer.c xfer, xfer->id, seg->index, usb_status); index 2328 drivers/staging/wusbcore/wa-xfer.c wa_complete_remaining_xfer_segs(xfer, seg->index + 1, index 2381 drivers/staging/wusbcore/wa-xfer.c wa_complete_remaining_xfer_segs(xfer, seg->index + 1, seg->status); index 2663 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index, index 2688 drivers/staging/wusbcore/wa-xfer.c xfer, wa_xfer_id(xfer), seg->index, index 2849 drivers/staging/wusbcore/wa-xfer.c int result = -ENOMEM, index; index 2864 drivers/staging/wusbcore/wa-xfer.c for (index = 0; index < WA_MAX_BUF_IN_URBS; ++index) { index 2866 drivers/staging/wusbcore/wa-xfer.c &(wa->buf_in_urbs[index]), wa->usb_dev, index 1422 drivers/target/iscsi/cxgbit/cxgbit_cm.c u8 index; index 1461 drivers/target/iscsi/cxgbit/cxgbit_cm.c index = 9; index 1464 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].mnemonic = FW_FLOWC_MNEM_RCV_SCALE; index 1465 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].val = cpu_to_be32(csk->snd_wscale); index 1466 drivers/target/iscsi/cxgbit/cxgbit_cm.c index++; index 1470 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].mnemonic = FW_FLOWC_MNEM_DCBPRIO; index 1473 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].val = cpu_to_be32(0); index 1475 drivers/target/iscsi/cxgbit/cxgbit_cm.c flowc->mnemval[index].val = cpu_to_be32( index 471 drivers/target/target_core_user.c #define tcmu_cmd_set_dbi_cur(cmd, index) ((cmd)->dbi_cur = (index)) index 473 drivers/target/target_core_user.c #define tcmu_cmd_set_dbi(cmd, index) ((cmd)->dbi[(cmd)->dbi_cur++] = (index)) index 79 drivers/target/tcm_fc/tcm_fc.h u32 index; index 87 drivers/target/tcm_fc/tcm_fc.h u32 index; index 223 drivers/target/tcm_fc/tfc_conf.c unsigned long index; index 234 drivers/target/tcm_fc/tfc_conf.c ret = kstrtoul(name + 5, 10, &index); index 237 drivers/target/tcm_fc/tfc_conf.c if (index > UINT_MAX) index 240 drivers/target/tcm_fc/tfc_conf.c if ((index != 1)) { index 249 drivers/target/tcm_fc/tfc_conf.c tpg->index = index; index 398 drivers/target/tcm_fc/tfc_conf.c return ft_tpg(se_tpg)->index; index 412 drivers/target/tcm_fc/tfc_conf.c return ft_tpg(se_tpg)->index; index 73 drivers/thermal/intel/int340x_thermal/int3406_thermal.c int index; index 82 drivers/thermal/intel/int340x_thermal/int3406_thermal.c for (index = d->lower_limit; index < d->upper_limit; index++) { index 83 drivers/thermal/intel/int340x_thermal/int3406_thermal.c if (acpi_level <= d->br->levels[index]) index 87 drivers/thermal/intel/int340x_thermal/int3406_thermal.c *state = d->upper_limit - index; index 48 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c u32 index; index 84 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c #define POWER_LIMIT_SHOW(index, suffix) \ index 85 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c static ssize_t power_limit_##index##_##suffix##_show(struct device *dev, \ index 97 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c (unsigned long)proc_dev->power_limits[index].suffix * 1000); \ index 310 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_priv->power_limits[i].index = ppcc[0].integer.value; index 316 drivers/thunderbolt/domain.c ida_simple_remove(&tb_domain_ida, tb->index); index 359 drivers/thunderbolt/domain.c tb->index = ida_simple_get(&tb_domain_ida, 0, 0, GFP_KERNEL); index 360 drivers/thunderbolt/domain.c if (tb->index < 0) index 363 drivers/thunderbolt/domain.c tb->wq = alloc_ordered_workqueue("thunderbolt%d", 0, tb->index); index 371 drivers/thunderbolt/domain.c dev_set_name(&tb->dev, "domain%d", tb->index); index 377 drivers/thunderbolt/domain.c ida_simple_remove(&tb_domain_ida, tb->index); index 204 drivers/thunderbolt/eeprom.c u8 index:6; index 311 drivers/thunderbolt/eeprom.c switch (header->index) { index 342 drivers/thunderbolt/eeprom.c if (header->index > sw->config.max_port_number) { index 347 drivers/thunderbolt/eeprom.c port = &sw->ports[header->index]; index 200 drivers/thunderbolt/icm.c unsigned int port, unsigned int index, u32 *data) index 206 drivers/thunderbolt/icm.c cmd = index; index 221 drivers/thunderbolt/icm.c unsigned int port, unsigned int index, u32 data) index 229 drivers/thunderbolt/icm.c cmd = index; index 349 drivers/thunderbolt/icm.c int index; index 354 drivers/thunderbolt/icm.c index = port >> ICM_PORT_INDEX_SHIFT; index 355 drivers/thunderbolt/icm.c return index != 0xff ? index : 0; index 365 drivers/thunderbolt/icm.c int ret, index; index 378 drivers/thunderbolt/icm.c index = icm_fr_get_switch_index(sw->ports[link]); index 379 drivers/thunderbolt/icm.c if (!index) { index 384 drivers/thunderbolt/icm.c sw = &switches[index]; index 394 drivers/thunderbolt/icm.c index = icm_fr_get_switch_index(sw->ports[j]); index 395 drivers/thunderbolt/icm.c if (index > sw->switch_index) { index 396 drivers/thunderbolt/icm.c sw = &switches[index]; index 67 drivers/thunderbolt/nhi.c int index; index 70 drivers/thunderbolt/nhi.c index = ring->hop; index 72 drivers/thunderbolt/nhi.c index = ring->hop + ring->nhi->hop_count; index 85 drivers/thunderbolt/nhi.c step = index / REG_INT_VEC_ALLOC_REGS * REG_INT_VEC_ALLOC_BITS; index 86 drivers/thunderbolt/nhi.c shift = index % REG_INT_VEC_ALLOC_REGS * REG_INT_VEC_ALLOC_BITS; index 1591 drivers/thunderbolt/switch.c dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); index 1636 drivers/thunderbolt/switch.c dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); index 333 drivers/thunderbolt/tb.c int index; index 340 drivers/thunderbolt/tb.c index = !phy_port ? 6 : 7; index 342 drivers/thunderbolt/tb.c index = !phy_port ? 6 : 8; index 347 drivers/thunderbolt/tb.c if (WARN_ON(index > sw->config.max_port_number)) index 349 drivers/thunderbolt/tb.c if (WARN_ON(!tb_port_is_pcie_down(&sw->ports[index]))) index 351 drivers/thunderbolt/tb.c if (WARN_ON(tb_pci_port_is_enabled(&sw->ports[index]))) index 354 drivers/thunderbolt/tb.c return &sw->ports[index]; index 1256 drivers/thunderbolt/xdomain.c dev_set_name(&xd->dev, "%u-%llx", tb->index, route); index 1004 drivers/tty/amiserial.c ss->line = tty->index; index 1462 drivers/tty/amiserial.c struct serial_state *info = rs_table + tty->index; index 1776 drivers/tty/amiserial.c static struct tty_driver *serial_console_device(struct console *c, int *index) index 1778 drivers/tty/amiserial.c *index = 0; index 1787 drivers/tty/amiserial.c .index = -1, index 359 drivers/tty/cyclades.c static int __cyy_issue_cmd(void __iomem *base_addr, u8 cmd, int index) index 361 drivers/tty/cyclades.c void __iomem *ccr = base_addr + (CyCCR << index); index 394 drivers/tty/cyclades.c int index = 0; /* IRQ probing is only for ISA */ index 400 drivers/tty/cyclades.c cy_writeb(address + (Cy_ClrIntr << index), 0); index 409 drivers/tty/cyclades.c cy_writeb(address + (CyCAR << index), 0); index 410 drivers/tty/cyclades.c __cyy_issue_cmd(address, CyCHAN_CTL | CyENB_XMTR, index); index 412 drivers/tty/cyclades.c cy_writeb(address + (CyCAR << index), 0); index 413 drivers/tty/cyclades.c cy_writeb(address + (CySRER << index), index 414 drivers/tty/cyclades.c readb(address + (CySRER << index)) | CyTxRdy); index 424 drivers/tty/cyclades.c save_xir = (u_char) readb(address + (CyTIR << index)); index 425 drivers/tty/cyclades.c save_car = readb(address + (CyCAR << index)); index 426 drivers/tty/cyclades.c cy_writeb(address + (CyCAR << index), (save_xir & 0x3)); index 427 drivers/tty/cyclades.c cy_writeb(address + (CySRER << index), index 428 drivers/tty/cyclades.c readb(address + (CySRER << index)) & ~CyTxRdy); index 429 drivers/tty/cyclades.c cy_writeb(address + (CyTIR << index), (save_xir & 0x3f)); index 430 drivers/tty/cyclades.c cy_writeb(address + (CyCAR << index), (save_car)); index 431 drivers/tty/cyclades.c cy_writeb(address + (Cy_ClrIntr << index), 0); index 443 drivers/tty/cyclades.c int len, index = cinfo->bus_index; index 450 drivers/tty/cyclades.c save_xir = readb(base_addr + (CyRIR << index)); index 571 drivers/tty/cyclades.c int char_count, index = cinfo->bus_index; index 582 drivers/tty/cyclades.c save_xir = readb(base_addr + (CyTIR << index)); index 584 drivers/tty/cyclades.c save_car = readb(base_addr + (CyCAR << index)); index 585 drivers/tty/cyclades.c cy_writeb(base_addr + (CyCAR << index), save_xir); index 684 drivers/tty/cyclades.c int index = cinfo->bus_index; index 688 drivers/tty/cyclades.c save_xir = readb(base_addr + (CyMIR << index)); index 762 drivers/tty/cyclades.c int index; index 773 drivers/tty/cyclades.c index = cinfo->bus_index; index 788 drivers/tty/cyclades.c (cy_chip_offset[chip] << index); index 791 drivers/tty/cyclades.c (CySVRR << index))) != 0x00) { index 814 drivers/tty/cyclades.c cy_writeb(card_base_addr + (Cy_ClrIntr << index), 0); index 899 drivers/tty/cyclades.c unsigned int index; index 904 drivers/tty/cyclades.c index = 0; index 907 drivers/tty/cyclades.c if (index++ == 1000) index 1495 drivers/tty/cyclades.c unsigned int i, line = tty->index; index 3097 drivers/tty/cyclades.c int index = cinfo->bus_index; index 3108 drivers/tty/cyclades.c (cy_chip_offset[chip_number] << index); index 3145 drivers/tty/cyclades.c int index) index 3150 drivers/tty/cyclades.c cy_writeb(true_base_addr + (Cy_HwReset << index), 0); index 3152 drivers/tty/cyclades.c cy_writeb(true_base_addr + (Cy_ClrIntr << index), 0); index 3159 drivers/tty/cyclades.c true_base_addr + (cy_chip_offset[chip_number] << index); index 3161 drivers/tty/cyclades.c if (readb(base_addr + (CyCCR << index)) != 0x00) { index 3169 drivers/tty/cyclades.c cy_writeb(base_addr + (CyGFRCR << index), 0); index 3179 drivers/tty/cyclades.c (cy_chip_offset[0] << index) + index 3180 drivers/tty/cyclades.c (CyGFRCR << index)) == 0) { index 3184 drivers/tty/cyclades.c cy_writeb(base_addr + (CyCCR << index), CyCHIP_RESET); index 3187 drivers/tty/cyclades.c if (readb(base_addr + (CyGFRCR << index)) == 0x00) { index 3195 drivers/tty/cyclades.c if ((0xf0 & (readb(base_addr + (CyGFRCR << index)))) != index 3205 drivers/tty/cyclades.c cy_writeb(base_addr + (CyGCR << index), CyCH0_SERIAL); index 3206 drivers/tty/cyclades.c if (readb(base_addr + (CyGFRCR << index)) >= CD1400_REV_J) { index 3210 drivers/tty/cyclades.c cy_writeb(base_addr + (CyPPR << index), CyCLOCK_60_2MS); index 3213 drivers/tty/cyclades.c cy_writeb(base_addr + (CyPPR << index), CyCLOCK_25_5MS); index 288 drivers/tty/ehv_bytechan.c static struct tty_driver *ehv_bc_console_device(struct console *co, int *index) index 290 drivers/tty/ehv_bytechan.c *index = co->index; index 330 drivers/tty/ehv_bytechan.c add_preferred_console(ehv_bc_console.name, ehv_bc_console.index, NULL); index 511 drivers/tty/ehv_bytechan.c struct ehv_bc_data *bc = &bcs[ttys->index]; index 526 drivers/tty/ehv_bytechan.c struct ehv_bc_data *bc = &bcs[ttys->index]; index 674 drivers/tty/ehv_bytechan.c static unsigned int index = 1; index 689 drivers/tty/ehv_bytechan.c i = (handle == stdout_bc) ? 0 : index++; index 175 drivers/tty/goldfish.c struct goldfish_tty *qtty = &goldfish_ttys[tty->index]; index 192 drivers/tty/goldfish.c goldfish_tty_do_write(tty->index, buf, count); index 203 drivers/tty/goldfish.c struct goldfish_tty *qtty = &goldfish_ttys[tty->index]; index 211 drivers/tty/goldfish.c goldfish_tty_do_write(co->index, b, count); index 215 drivers/tty/goldfish.c int *index) index 217 drivers/tty/goldfish.c *index = c->index; index 223 drivers/tty/goldfish.c if ((unsigned)co->index >= goldfish_tty_line_count) index 225 drivers/tty/goldfish.c if (!goldfish_ttys[co->index].base) index 400 drivers/tty/goldfish.c qtty->console.index = line; index 427 drivers/tty/goldfish.c tty_unregister_device(goldfish_tty_driver, qtty->console.index); index 90 drivers/tty/hvc/hvc_console.c static struct hvc_struct *hvc_get_by_index(int index) index 99 drivers/tty/hvc/hvc_console.c if (hp->index == index) { index 156 drivers/tty/hvc/hvc_console.c int r, donecr = 0, index = co->index; index 159 drivers/tty/hvc/hvc_console.c if (index >= MAX_NR_HVC_CONSOLES) index 163 drivers/tty/hvc/hvc_console.c if (vtermnos[index] == -1) index 177 drivers/tty/hvc/hvc_console.c r = cons_ops[index]->put_chars(vtermnos[index], c, i); index 184 drivers/tty/hvc/hvc_console.c hvc_console_flush(cons_ops[index], index 185 drivers/tty/hvc/hvc_console.c vtermnos[index]); index 194 drivers/tty/hvc/hvc_console.c hvc_console_flush(cons_ops[index], vtermnos[index]); index 197 drivers/tty/hvc/hvc_console.c static struct tty_driver *hvc_console_device(struct console *c, int *index) index 199 drivers/tty/hvc/hvc_console.c if (vtermnos[c->index] == -1) index 202 drivers/tty/hvc/hvc_console.c *index = c->index; index 208 drivers/tty/hvc/hvc_console.c if (co->index < 0 || co->index >= MAX_NR_HVC_CONSOLES) index 211 drivers/tty/hvc/hvc_console.c if (vtermnos[co->index] == -1) index 223 drivers/tty/hvc/hvc_console.c .index = -1, index 265 drivers/tty/hvc/hvc_console.c static void hvc_check_console(int index) index 275 drivers/tty/hvc/hvc_console.c if (index == hvc_console.index) index 285 drivers/tty/hvc/hvc_console.c int hvc_instantiate(uint32_t vtermno, int index, const struct hv_ops *ops) index 289 drivers/tty/hvc/hvc_console.c if (index < 0 || index >= MAX_NR_HVC_CONSOLES) index 292 drivers/tty/hvc/hvc_console.c if (vtermnos[index] != -1) index 296 drivers/tty/hvc/hvc_console.c hp = hvc_get_by_index(index); index 302 drivers/tty/hvc/hvc_console.c vtermnos[index] = vtermno; index 303 drivers/tty/hvc/hvc_console.c cons_ops[index] = ops; index 306 drivers/tty/hvc/hvc_console.c hvc_check_console(index); index 331 drivers/tty/hvc/hvc_console.c hp = hvc_get_by_index(tty->index); index 705 drivers/tty/hvc/hvc_console.c if (hp->index == hvc_console.index) { index 963 drivers/tty/hvc/hvc_console.c hp->index = i; index 988 drivers/tty/hvc/hvc_console.c if (hp->index < MAX_NR_HVC_CONSOLES) { index 989 drivers/tty/hvc/hvc_console.c vtermnos[hp->index] = -1; index 990 drivers/tty/hvc/hvc_console.c cons_ops[hp->index] = NULL; index 38 drivers/tty/hvc/hvc_console.h int index; index 73 drivers/tty/hvc/hvc_console.h extern int hvc_instantiate(uint32_t vtermno, int index, index 1325 drivers/tty/hvc/hvc_iucv.c size_t index, len; index 1333 drivers/tty/hvc/hvc_iucv.c for (index = 0; index < hvc_iucv_filter_size; index++) { index 1334 drivers/tty/hvc/hvc_iucv.c start = hvc_iucv_filter + (8 * index); index 335 drivers/tty/hvc/hvc_opal.c u32 index; index 366 drivers/tty/hvc/hvc_opal.c index = termno ? be32_to_cpup(termno) : 0; index 367 drivers/tty/hvc/hvc_opal.c if (index >= MAX_NR_HVC_CONSOLES) index 369 drivers/tty/hvc/hvc_opal.c hvc_opal_privs[index] = &hvc_opal_boot_priv; index 382 drivers/tty/hvc/hvc_opal.c index, 1); index 388 drivers/tty/hvc/hvc_opal.c hvc_opal_boot_termno = index; index 390 drivers/tty/hvc/hvc_opal.c add_preferred_console("hvc", index, NULL); index 391 drivers/tty/hvc/hvc_opal.c hvc_instantiate(index, index, ops); index 399 drivers/tty/hvc/hvc_opal.c u32 index = CONFIG_PPC_EARLY_DEBUG_OPAL_VTERMNO; index 400 drivers/tty/hvc/hvc_opal.c hvc_opal_privs[index] = &hvc_opal_boot_priv; index 402 drivers/tty/hvc/hvc_opal.c hvc_opal_boot_termno = index; index 410 drivers/tty/hvc/hvc_opal.c u32 index = CONFIG_PPC_EARLY_DEBUG_OPAL_VTERMNO; index 411 drivers/tty/hvc/hvc_opal.c hvc_opal_privs[index] = &hvc_opal_boot_priv; index 412 drivers/tty/hvc/hvc_opal.c hvc_opal_boot_termno = index; index 416 drivers/tty/hvc/hvc_opal.c index, 1); index 356 drivers/tty/hvc/hvc_vio.c if (hp->index == 0 && !udbg_putc) { index 652 drivers/tty/hvc/hvc_xen.c .index = -1, index 258 drivers/tty/hvc/hvcs.c unsigned int index; index 454 drivers/tty/hvc/hvcs.c retval = sprintf(buf, "%d\n", hvcsd->index); index 459 drivers/tty/hvc/hvcs.c static DEVICE_ATTR(index, S_IRUGO, hvcs_index_show, NULL); index 671 drivers/tty/hvc/hvcs.c static void hvcs_return_index(int index) index 676 drivers/tty/hvc/hvcs.c if (index < 0 || index >= hvcs_index_count) index 678 drivers/tty/hvc/hvcs.c if (hvcs_index_list[index] == -1) index 681 drivers/tty/hvc/hvcs.c hvcs_index_list[index] = -1; index 712 drivers/tty/hvc/hvcs.c hvcs_return_index(hvcsd->index); index 750 drivers/tty/hvc/hvcs.c int index, rc; index 766 drivers/tty/hvc/hvcs.c index = hvcs_get_index(); index 767 drivers/tty/hvc/hvcs.c if (index < 0) { index 782 drivers/tty/hvc/hvcs.c hvcsd->index = index; index 1065 drivers/tty/hvc/hvcs.c static struct hvcs_struct *hvcs_get_by_index(int index) index 1073 drivers/tty/hvc/hvcs.c if (hvcsd->index == index) { index 1098 drivers/tty/hvc/hvcs.c hvcsd = hvcs_get_by_index(tty->index); index 1101 drivers/tty/hvc/hvcs.c " with tty->index %d.\n", tty->index); index 65 drivers/tty/hvc/hvsi.c int index; index 125 drivers/tty/hvc/hvsi.c pr_debug("hvsi%i: state = %s\n", hp->index, name); index 234 drivers/tty/hvc/hvsi.c pr_debug("hvsi%i: CD dropped\n", hp->index); index 241 drivers/tty/hvc/hvsi.c pr_debug("hvsi%i: service processor came back\n", hp->index); index 248 drivers/tty/hvc/hvsi.c hp->index); index 273 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: unexpected query response: ", hp->index); index 298 drivers/tty/hvc/hvsi.c hp->index); index 315 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: unexpected query: ", hp->index); index 413 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: got malformed packet\n", hp->index); index 441 drivers/tty/hvc/hvsi.c hp->index, header->type); index 493 drivers/tty/hvc/hvsi.c pr_debug("hvsi%i: attempting re-handshake\n", handshake->index); index 555 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: couldn't send query (%i)!\n", hp->index, index 572 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: didn't get modem flags\n", hp->index); index 602 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: couldn't set DTR!\n", hp->index); index 635 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: couldn't send version query\n", hp->index); index 654 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: re-handshaking failed\n", hp->index); index 660 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: lost console!\n", hp->index); index 707 drivers/tty/hvc/hvsi.c hp = &hvsi_ports[tty->index]; index 844 drivers/tty/hvc/hvsi.c printk(KERN_ERR "hvsi%i: service processor died\n", hp->index); index 1086 drivers/tty/hvc/hvsi.c struct hvsi_struct *hp = &hvsi_ports[console->index]; index 1119 drivers/tty/hvc/hvsi.c int *index) index 1121 drivers/tty/hvc/hvsi.c *index = console->index; index 1130 drivers/tty/hvc/hvsi.c if (console->index < 0 || console->index >= hvsi_count) index 1132 drivers/tty/hvc/hvsi.c hp = &hvsi_ports[console->index]; index 1160 drivers/tty/hvc/hvsi.c .index = -1, index 1191 drivers/tty/hvc/hvsi.c hp->index = hvsi_count; index 48 drivers/tty/ipwireless/tty.c int index; index 75 drivers/tty/ipwireless/tty.c static struct ipw_tty *get_tty(int index) index 82 drivers/tty/ipwireless/tty.c if (!ipwireless_loopback && index >= index 86 drivers/tty/ipwireless/tty.c return ttys[index]; index 91 drivers/tty/ipwireless/tty.c struct ipw_tty *tty = get_tty(linux_tty->index); index 263 drivers/tty/ipwireless/tty.c ss->line = tty->index; index 445 drivers/tty/ipwireless/tty.c ttys[j]->index = j; index 517 drivers/tty/ipwireless/tty.c struct ipw_network *network = ttys[tty->index]->network; index 519 drivers/tty/ipwireless/tty.c for (j = tty->index; j < IPWIRELESS_PCMCIA_MINORS; index 195 drivers/tty/isicom.c unsigned int index; index 835 drivers/tty/isicom.c int line = tty->index; index 1335 drivers/tty/isicom.c const unsigned int index, const unsigned int signature) index 1405 drivers/tty/isicom.c index + 1, frame->addr, frame->count, status); index 1420 drivers/tty/isicom.c "Status:0x%x\n", index + 1, status); index 1453 drivers/tty/isicom.c index + 1, frame->addr, frame->count, status); index 1460 drivers/tty/isicom.c "failed, not enough memory\n", index + 1); index 1471 drivers/tty/isicom.c "failed\n", index + 1); index 1484 drivers/tty/isicom.c "Card Status:0x%x\n", index + 1, status); index 1517 drivers/tty/isicom.c unsigned int uninitialized_var(signature), index; index 1533 drivers/tty/isicom.c for (index = 0; index < BOARD_COUNT; index++) { index 1534 drivers/tty/isicom.c if (isi_card[index].base == 0) { index 1535 drivers/tty/isicom.c board = &isi_card[index]; index 1539 drivers/tty/isicom.c if (index == BOARD_COUNT) { index 1544 drivers/tty/isicom.c board->index = index; index 1555 drivers/tty/isicom.c index + 1); index 1564 drivers/tty/isicom.c "Card%d will be disabled.\n", board->irq, index + 1); index 1568 drivers/tty/isicom.c retval = reset_card(pdev, index, &signature); index 1572 drivers/tty/isicom.c retval = load_firmware(pdev, index, signature); index 1576 drivers/tty/isicom.c for (index = 0; index < board->port_count; index++) { index 1577 drivers/tty/isicom.c struct tty_port *tport = &board->ports[index].port; index 1583 drivers/tty/isicom.c board->index * 16 + index, &pdev->dev); index 1607 drivers/tty/isicom.c tty_unregister_device(isicom_normal, board->index * 16 + i); index 349 drivers/tty/mips_ejtag_fdc.c __raw_writel(word.word, regs + REG_FDTX(c->index)); index 356 drivers/tty/mips_ejtag_fdc.c int *index) index 361 drivers/tty/mips_ejtag_fdc.c *index = c->index; index 397 drivers/tty/mips_ejtag_fdc.c .index = -1, index 593 drivers/tty/mips_ejtag_fdc.c if (channel == mips_ejtag_fdc_con.cons.index) { index 765 drivers/tty/mips_ejtag_fdc.c tty->driver_data = &priv->ports[tty->index]; index 766 drivers/tty/mips_ejtag_fdc.c return tty_port_install(&priv->ports[tty->index].port, driver, tty); index 1138 drivers/tty/mips_ejtag_fdc.c .index = CONSOLE_CHANNEL, index 293 drivers/tty/moxa.c if (tty->index == MAX_PORTS) { index 1161 drivers/tty/moxa.c port = tty->index; index 1885 drivers/tty/moxa.c moxaLog.txcnt[port->port.tty->index] += c; index 1946 drivers/tty/moxa.c moxaLog.rxcnt[tty->index] += total; index 2034 drivers/tty/moxa.c if (tty->index == MAX_PORTS) index 2040 drivers/tty/moxa.c ss->line = info->port.tty->index, index 2054 drivers/tty/moxa.c if (tty->index == MAX_PORTS) index 652 drivers/tty/mxser.c if (mxser_set_baud_method[tty->index] == 0) index 1006 drivers/tty/mxser.c line = tty->index; index 1077 drivers/tty/mxser.c if (tty->index == MXSER_PORTS || info == NULL) index 1215 drivers/tty/mxser.c if (tty->index == MXSER_PORTS) index 1220 drivers/tty/mxser.c ss->line = tty->index, index 1242 drivers/tty/mxser.c if (tty->index == MXSER_PORTS) index 1343 drivers/tty/mxser.c if (tty->index == MXSER_PORTS) index 1370 drivers/tty/mxser.c if (tty->index == MXSER_PORTS) index 1682 drivers/tty/mxser.c if (tty->index == MXSER_PORTS) index 1695 drivers/tty/mxser.c p = tty->index % 4; index 1767 drivers/tty/mxser.c status = mxser_get_msr(info->ioaddr, 1, tty->index); index 1806 drivers/tty/mxser.c mxser_set_baud_method[tty->index] = method; index 2145 drivers/tty/mxser.c mxvar_log.rxcnt[tty->index] += cnt; index 2166 drivers/tty/mxser.c mxvar_log.txcnt[tty->index]++; index 2194 drivers/tty/mxser.c mxvar_log.txcnt[tty->index] += (cnt - port->xmit_cnt); index 2925 drivers/tty/n_gsm.c unsigned int line = tty->index; index 3107 drivers/tty/n_gsm.c int index; index 3118 drivers/tty/n_gsm.c index = gsm_create_network(dlci, &nc); index 3122 drivers/tty/n_gsm.c return index; index 386 drivers/tty/nozomi.c return tty ? ndevs[tty->index / MAX_PORT] : NULL; index 392 drivers/tty/nozomi.c return ndev ? &ndev->port[tty->index % MAX_PORT] : NULL; index 753 drivers/tty/nozomi.c static int send_data(enum port_type index, struct nozomi *dc) index 756 drivers/tty/nozomi.c struct port *port = &dc->port[index]; index 782 drivers/tty/nozomi.c static int receive_data(enum port_type index, struct nozomi *dc) index 787 drivers/tty/nozomi.c struct port *port = &dc->port[index]; index 800 drivers/tty/nozomi.c disable_transmit_dl(index, dc); index 828 drivers/tty/nozomi.c set_bit(index, &dc->flip); index 1533 drivers/tty/nozomi.c DBG1("SETTING DTR index: %d, dtr: %d", tty->index, dtr); index 1576 drivers/tty/nozomi.c printk("noz: activated %d: %p\n", tty->index, tport); index 1638 drivers/tty/nozomi.c enable_transmit_ul(tty->index % MAX_PORT, dc); index 1644 drivers/tty/nozomi.c enable_transmit_ul(tty->index % MAX_PORT, dc); index 1782 drivers/tty/nozomi.c enable_transmit_dl(tty->index % MAX_PORT, dc); index 384 drivers/tty/pty.c int idx = tty->index; index 467 drivers/tty/pty.c driver->ttys[tty->index] = NULL; index 469 drivers/tty/pty.c pair->driver->ttys[pair->index] = NULL; index 676 drivers/tty/pty.c return put_user(tty->index, (unsigned int __user *)arg); index 754 drivers/tty/pty.c devpts_kill_index(fsi, tty->index); index 761 drivers/tty/pty.c seq_printf(m, "tty-index:\t%d\n", tty->index); index 817 drivers/tty/pty.c int index; index 836 drivers/tty/pty.c index = devpts_new_index(fsi); index 839 drivers/tty/pty.c retval = index; index 840 drivers/tty/pty.c if (index < 0) index 845 drivers/tty/pty.c tty = tty_init_dev(ptm_driver, index); index 863 drivers/tty/pty.c dentry = devpts_pty_new(fsi, index, tty->link); index 884 drivers/tty/pty.c devpts_kill_index(fsi, index); index 879 drivers/tty/rocket.c info = rp_table[tty->index]; index 454 drivers/tty/serial/21285.c .index = -1, index 584 drivers/tty/serial/8250/8250_core.c struct uart_8250_port *up = &serial8250_ports[co->index]; index 599 drivers/tty/serial/8250/8250_core.c if (co->index >= nr_uarts) index 600 drivers/tty/serial/8250/8250_core.c co->index = 0; index 601 drivers/tty/serial/8250/8250_core.c port = &serial8250_ports[co->index].port; index 656 drivers/tty/serial/8250/8250_core.c co->index = i; index 671 drivers/tty/serial/8250/8250_core.c .index = -1, index 97 drivers/tty/serial/8250/8250_fintek.c u8 index; index 216 drivers/tty/serial/8250/8250_fintek.c if (pdata->index) { index 237 drivers/tty/serial/8250/8250_fintek.c sio_write_reg(pdata, LDN, pdata->index); index 248 drivers/tty/serial/8250/8250_fintek.c sio_write_reg(pdata, LDN, pdata->index); index 291 drivers/tty/serial/8250/8250_fintek.c sio_write_reg(pdata, LDN, pdata->index); index 353 drivers/tty/serial/8250/8250_fintek.c sio_write_reg(pdata, LDN, pdata->index); index 416 drivers/tty/serial/8250/8250_fintek.c pdata->index = k; index 110 drivers/tty/serial/8250/8250_mid.c int index = PCI_FUNC(pdev->devfn); index 117 drivers/tty/serial/8250/8250_mid.c if (index-- == 0) index 120 drivers/tty/serial/8250/8250_mid.c mid->dma_index = index; index 1471 drivers/tty/serial/8250/8250_pci.c u8 *index = (u8 *) port->private_data; index 1473 drivers/tty/serial/8250/8250_pci.c pci_read_config_byte(pci_dev, 0x40 + 8 * *index + 7, &setting); index 1504 drivers/tty/serial/8250/8250_pci.c pci_write_config_byte(pci_dev, 0x40 + 8 * *index + 7, setting); index 342 drivers/tty/serial/altera_jtaguart.c struct uart_port *port = &(altera_jtaguart_ports + co->index)->port; index 352 drivers/tty/serial/altera_jtaguart.c if (co->index < 0 || co->index >= ALTERA_JTAGUART_MAXPORTS) index 354 drivers/tty/serial/altera_jtaguart.c port = &altera_jtaguart_ports[co->index].port; index 368 drivers/tty/serial/altera_jtaguart.c .index = -1, index 455 drivers/tty/serial/altera_uart.c struct uart_port *port = &(altera_uart_ports + co->index)->port; index 468 drivers/tty/serial/altera_uart.c if (co->index < 0 || co->index >= CONFIG_SERIAL_ALTERA_UART_MAXPORTS) index 470 drivers/tty/serial/altera_uart.c port = &altera_uart_ports[co->index].port; index 488 drivers/tty/serial/altera_uart.c .index = -1, index 584 drivers/tty/serial/amba-pl010.c struct uart_amba_port *uap = amba_ports[co->index]; index 651 drivers/tty/serial/amba-pl010.c if (co->index >= UART_NR) index 652 drivers/tty/serial/amba-pl010.c co->index = 0; index 653 drivers/tty/serial/amba-pl010.c uap = amba_ports[co->index]; index 678 drivers/tty/serial/amba-pl010.c .index = -1, index 2210 drivers/tty/serial/amba-pl011.c struct uart_amba_port *uap = amba_ports[co->index]; index 2304 drivers/tty/serial/amba-pl011.c if (co->index >= UART_NR) index 2305 drivers/tty/serial/amba-pl011.c co->index = 0; index 2306 drivers/tty/serial/amba-pl011.c uap = amba_ports[co->index]; index 2392 drivers/tty/serial/amba-pl011.c co->index = i; index 2408 drivers/tty/serial/amba-pl011.c .index = -1, index 2510 drivers/tty/serial/amba-pl011.c static int pl011_probe_dt_alias(int index, struct device *dev) index 2515 drivers/tty/serial/amba-pl011.c int ret = index; index 2527 drivers/tty/serial/amba-pl011.c ret = index; index 2532 drivers/tty/serial/amba-pl011.c ret = index; index 2571 drivers/tty/serial/amba-pl011.c struct resource *mmiobase, int index) index 2579 drivers/tty/serial/amba-pl011.c index = pl011_probe_dt_alias(index, dev); index 2587 drivers/tty/serial/amba-pl011.c uap->port.line = index; index 2589 drivers/tty/serial/amba-pl011.c amba_ports[index] = uap; index 434 drivers/tty/serial/apbuart.c struct uart_port *port = &grlib_apbuart_ports[co->index]; index 486 drivers/tty/serial/apbuart.c co, co->index, options); index 493 drivers/tty/serial/apbuart.c if (co->index >= grlib_apbuart_port_nr) index 494 drivers/tty/serial/apbuart.c co->index = 0; index 496 drivers/tty/serial/apbuart.c port = &grlib_apbuart_ports[co->index]; index 516 drivers/tty/serial/apbuart.c .index = -1, index 544 drivers/tty/serial/ar933x_uart.c struct ar933x_uart_port *up = ar933x_console_ports[co->index]; index 589 drivers/tty/serial/ar933x_uart.c if (co->index < 0 || co->index >= CONFIG_SERIAL_AR933X_NR_UARTS) index 592 drivers/tty/serial/ar933x_uart.c up = ar933x_console_ports[co->index]; index 608 drivers/tty/serial/ar933x_uart.c .index = -1, index 496 drivers/tty/serial/arc_uart.c if (co->index < 0 || co->index >= CONFIG_SERIAL_ARC_NR_PORTS) index 503 drivers/tty/serial/arc_uart.c port = &arc_uart_ports[co->index].port; index 531 drivers/tty/serial/arc_uart.c struct uart_port *port = &arc_uart_ports[co->index].port; index 545 drivers/tty/serial/arc_uart.c .index = -1, index 2556 drivers/tty/serial/atmel_serial.c struct uart_port *port = &atmel_ports[co->index].uart; index 2635 drivers/tty/serial/atmel_serial.c struct uart_port *port = &atmel_ports[co->index].uart; index 2647 drivers/tty/serial/atmel_serial.c ret = clk_prepare_enable(atmel_ports[co->index].clk); index 2672 drivers/tty/serial/atmel_serial.c .index = -1, index 2680 drivers/tty/serial/atmel_serial.c return port->cons && port->cons->index == port->line; index 706 drivers/tty/serial/bcm63xx_uart.c port = &ports[co->index]; index 742 drivers/tty/serial/bcm63xx_uart.c if (co->index < 0 || co->index >= BCM63XX_NR_UARTS) index 744 drivers/tty/serial/bcm63xx_uart.c port = &ports[co->index]; index 761 drivers/tty/serial/bcm63xx_uart.c .index = -1, index 371 drivers/tty/serial/clps711x.c struct uart_port *port = clps711x_uart.state[co->index].uart_port; index 386 drivers/tty/serial/clps711x.c int ret, index = co->index; index 392 drivers/tty/serial/clps711x.c if (index < 0 || index >= UART_CLPS711X_NR) index 395 drivers/tty/serial/clps711x.c port = clps711x_uart.state[index].uart_port; index 438 drivers/tty/serial/clps711x.c .index = -1, index 1268 drivers/tty/serial/cpm_uart/cpm_uart_core.c struct uart_cpm_port *pinfo = &cpm_uart_ports[co->index]; index 1301 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (co->index >= UART_NR) { index 1303 drivers/tty/serial/cpm_uart/cpm_uart_core.c co->index); index 1314 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (i++ == co->index) index 1321 drivers/tty/serial/cpm_uart/cpm_uart_core.c pinfo = &cpm_uart_ports[co->index]; index 1375 drivers/tty/serial/cpm_uart/cpm_uart_core.c .index = -1, index 1406 drivers/tty/serial/cpm_uart/cpm_uart_core.c int index = probe_index++; index 1407 drivers/tty/serial/cpm_uart/cpm_uart_core.c struct uart_cpm_port *pinfo = &cpm_uart_ports[index]; index 1410 drivers/tty/serial/cpm_uart/cpm_uart_core.c pinfo->port.line = index; index 1412 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (index >= UART_NR) index 395 drivers/tty/serial/digicolor-usart.c struct uart_port *port = digicolor_ports[co->index]; index 421 drivers/tty/serial/digicolor-usart.c if (co->index < 0 || co->index >= DIGICOLOR_USART_NR) index 424 drivers/tty/serial/digicolor-usart.c port = digicolor_ports[co->index]; index 440 drivers/tty/serial/digicolor-usart.c .index = -1, index 452 drivers/tty/serial/digicolor-usart.c int irq, ret, index; index 462 drivers/tty/serial/digicolor-usart.c index = of_alias_get_id(np, "serial"); index 463 drivers/tty/serial/digicolor-usart.c if (index < 0 || index >= DIGICOLOR_USART_NR) index 490 drivers/tty/serial/digicolor-usart.c dp->port.line = index; index 494 drivers/tty/serial/digicolor-usart.c digicolor_ports[index] = &dp->port; index 857 drivers/tty/serial/dz.c struct dz_port *dport = &dz_mux.dport[co->index]; index 866 drivers/tty/serial/dz.c struct dz_port *dport = &dz_mux.dport[co->index]; index 896 drivers/tty/serial/dz.c .index = -1, index 32 drivers/tty/serial/earlycon.c .index = 0, index 69 drivers/tty/serial/earlycon.c earlycon->index = simple_strtoul(s, NULL, 10); index 77 drivers/tty/serial/earlycon.c earlycon->name, earlycon->index, index 84 drivers/tty/serial/earlycon.c earlycon->name, earlycon->index, index 533 drivers/tty/serial/efm32-uart.c struct efm32_uart_port *efm_port = efm32_uart_ports[co->index]; index 604 drivers/tty/serial/efm32-uart.c if (co->index < 0 || co->index >= ARRAY_SIZE(efm32_uart_ports)) { index 609 drivers/tty/serial/efm32-uart.c i, co->index); index 610 drivers/tty/serial/efm32-uart.c co->index = i; index 616 drivers/tty/serial/efm32-uart.c efm_port = efm32_uart_ports[co->index]; index 618 drivers/tty/serial/efm32-uart.c pr_warn("efm32-console: No port at %d\n", co->index); index 648 drivers/tty/serial/efm32-uart.c .index = -1, index 663 drivers/tty/serial/fsl_linflexuart.c struct uart_port *sport = linflex_ports[co->index]; index 728 drivers/tty/serial/fsl_linflexuart.c if (co->index == -1 || co->index >= ARRAY_SIZE(linflex_ports)) index 729 drivers/tty/serial/fsl_linflexuart.c co->index = 0; index 731 drivers/tty/serial/fsl_linflexuart.c sport = linflex_ports[co->index]; index 787 drivers/tty/serial/fsl_linflexuart.c .index = -1, index 2093 drivers/tty/serial/fsl_lpuart.c struct lpuart_port *sport = lpuart_ports[co->index]; index 2123 drivers/tty/serial/fsl_lpuart.c struct lpuart_port *sport = lpuart_ports[co->index]; index 2259 drivers/tty/serial/fsl_lpuart.c if (co->index == -1 || co->index >= ARRAY_SIZE(lpuart_ports)) index 2260 drivers/tty/serial/fsl_lpuart.c co->index = 0; index 2262 drivers/tty/serial/fsl_lpuart.c sport = lpuart_ports[co->index]; index 2289 drivers/tty/serial/fsl_lpuart.c .index = -1, index 2299 drivers/tty/serial/fsl_lpuart.c .index = -1, index 165 drivers/tty/serial/icom.c int index; index 215 drivers/tty/serial/icom.c for (index = 0; index < NUM_XBUFFS; index++) { index 218 drivers/tty/serial/icom.c if (index < (NUM_XBUFFS - 1)) { index 219 drivers/tty/serial/icom.c memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); index 220 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leLengthASD = index 225 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leBuffer = index 227 drivers/tty/serial/icom.c } else if (index == (NUM_XBUFFS - 1)) { index 228 drivers/tty/serial/icom.c memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); index 229 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leLengthASD = index 233 drivers/tty/serial/icom.c icom_port->statStg->xmit[index].leBuffer = index 236 drivers/tty/serial/icom.c memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area)); index 243 drivers/tty/serial/icom.c for (index = 0; index < NUM_RBUFFS; index++) { index 246 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leLength = 0; index 247 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].WorkingLength = index 249 drivers/tty/serial/icom.c if (index < (NUM_RBUFFS - 1) ) { index 251 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leNext = index 255 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leBuffer = index 257 drivers/tty/serial/icom.c } else if (index == (NUM_RBUFFS -1) ) { index 259 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leNext = index 263 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leBuffer = index 266 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leNext = 0; index 267 drivers/tty/serial/icom.c icom_port->statStg->rcv[index].leBuffer = 0; index 340 drivers/tty/serial/icom.c int index; index 374 drivers/tty/serial/icom.c for (index = 0; index < fw->size; index++) index 375 drivers/tty/serial/icom.c writeb(fw->data[index], &iram_ptr[index]); index 394 drivers/tty/serial/icom.c for (index = ICOM_DCE_IRAM_OFFSET; index < fw->size; index++) index 395 drivers/tty/serial/icom.c writeb(fw->data[index], &iram_ptr[index]); index 438 drivers/tty/serial/icom.c for (index = 0; index < fw->size; index++) index 439 drivers/tty/serial/icom.c new_page[index] = fw->data[index]; index 458 drivers/tty/serial/icom.c for (index = 0; index < 10; index++) { index 464 drivers/tty/serial/icom.c if (index == 10) index 1007 drivers/tty/serial/icom.c int index; index 1013 drivers/tty/serial/icom.c for (index = 0; index < 10; index++) { index 1094 drivers/tty/serial/icom.c int index; index 1146 drivers/tty/serial/icom.c for (index = 0; index < BAUD_TABLE_LIMIT; index++) { index 1147 drivers/tty/serial/icom.c if (icom_acfg_baud[index] == baud) { index 1148 drivers/tty/serial/icom.c new_config3 = index; index 1200 drivers/tty/serial/icom.c for (index = 0; index < 10; index++) { index 1231 drivers/tty/serial/icom.c for (index = 0; index < 10; index++) { index 1414 drivers/tty/serial/icom.c if (cur_adapter_entry->index != adapter_count) { index 1420 drivers/tty/serial/icom.c icom_adapter->index = adapter_count; index 1436 drivers/tty/serial/icom.c int index; index 1438 drivers/tty/serial/icom.c for (index = 0; index < icom_adapter->numb_ports; index++) { index 1439 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[index]; index 1478 drivers/tty/serial/icom.c int index; index 1551 drivers/tty/serial/icom.c for (index = 0; index < icom_adapter->numb_ports; index++) { index 1552 drivers/tty/serial/icom.c icom_port = &icom_adapter->port_info[index]; index 1563 drivers/tty/serial/icom.c icom_port->port + icom_adapter->index * 4; index 250 drivers/tty/serial/icom.h int index; index 1934 drivers/tty/serial/imx.c struct imx_port *sport = imx_uart_ports[co->index]; index 2067 drivers/tty/serial/imx.c if (co->index == -1 || co->index >= ARRAY_SIZE(imx_uart_ports)) index 2068 drivers/tty/serial/imx.c co->index = 0; index 2069 drivers/tty/serial/imx.c sport = imx_uart_ports[co->index]; index 2108 drivers/tty/serial/imx.c .index = -1, index 1022 drivers/tty/serial/ip22zilog.c struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; index 1033 drivers/tty/serial/ip22zilog.c struct uart_ip22zilog_port *up = &ip22zilog_port_table[con->index]; index 1041 drivers/tty/serial/ip22zilog.c printk(KERN_INFO "Console: ttyS%d (IP22-Zilog)\n", con->index); index 1064 drivers/tty/serial/ip22zilog.c .index = -1, index 70 drivers/tty/serial/kgdb_nmi.c *idx = co->index; index 80 drivers/tty/serial/kgdb_nmi.c .index = -1, index 628 drivers/tty/serial/lantiq.c if (co->index >= MAXPORTS) index 631 drivers/tty/serial/lantiq.c ltq_port = lqasc_port[co->index]; index 650 drivers/tty/serial/lantiq.c if (co->index >= MAXPORTS) index 653 drivers/tty/serial/lantiq.c ltq_port = lqasc_port[co->index]; index 675 drivers/tty/serial/lantiq.c .index = -1, index 135 drivers/tty/serial/lpc32xx_hs.c struct lpc32xx_hsuart_port *up = &lpc32xx_hs_ports[co->index]; index 165 drivers/tty/serial/lpc32xx_hs.c if (co->index >= MAX_PORTS) index 166 drivers/tty/serial/lpc32xx_hs.c co->index = 0; index 168 drivers/tty/serial/lpc32xx_hs.c port = &lpc32xx_hs_ports[co->index].port; index 187 drivers/tty/serial/lpc32xx_hs.c .index = -1, index 518 drivers/tty/serial/mcf.c struct uart_port *port = &(mcf_ports + co->index)->port; index 553 drivers/tty/serial/mcf.c if ((co->index < 0) || (co->index >= MCF_MAXPORTS)) index 554 drivers/tty/serial/mcf.c co->index = 0; index 555 drivers/tty/serial/mcf.c port = &mcf_ports[co->index].port; index 575 drivers/tty/serial/mcf.c .index = -1, index 501 drivers/tty/serial/meson_uart.c port = meson_ports[co->index]; index 516 drivers/tty/serial/meson_uart.c if (co->index < 0 || co->index >= AML_UART_PORT_NUM) index 519 drivers/tty/serial/meson_uart.c port = meson_ports[co->index]; index 537 drivers/tty/serial/meson_uart.c .index = -1, index 259 drivers/tty/serial/milbeaut_usio.c int ret, index = port->line; index 262 drivers/tty/serial/milbeaut_usio.c ret = request_irq(mlb_usio_irq[index][RX], mlb_usio_rx_irq, index 266 drivers/tty/serial/milbeaut_usio.c ret = request_irq(mlb_usio_irq[index][TX], mlb_usio_tx_irq, index 269 drivers/tty/serial/milbeaut_usio.c free_irq(mlb_usio_irq[index][RX], port); index 298 drivers/tty/serial/milbeaut_usio.c int index = port->line; index 300 drivers/tty/serial/milbeaut_usio.c free_irq(mlb_usio_irq[index][RX], port); index 301 drivers/tty/serial/milbeaut_usio.c free_irq(mlb_usio_irq[index][TX], port); index 418 drivers/tty/serial/milbeaut_usio.c struct uart_port *port = &mlb_usio_ports[co->index]; index 431 drivers/tty/serial/milbeaut_usio.c if (co->index >= CONFIG_SERIAL_MILBEAUT_USIO_PORTS) index 434 drivers/tty/serial/milbeaut_usio.c port = &mlb_usio_ports[co->index]; index 456 drivers/tty/serial/milbeaut_usio.c .index = -1, index 506 drivers/tty/serial/milbeaut_usio.c int index = 0; index 518 drivers/tty/serial/milbeaut_usio.c of_property_read_u32(pdev->dev.of_node, "index", &index); index 519 drivers/tty/serial/milbeaut_usio.c port = &mlb_usio_ports[index]; index 532 drivers/tty/serial/milbeaut_usio.c mlb_usio_irq[index][RX] = ret; index 535 drivers/tty/serial/milbeaut_usio.c mlb_usio_irq[index][TX] = ret; index 537 drivers/tty/serial/milbeaut_usio.c port->irq = mlb_usio_irq[index][RX]; index 542 drivers/tty/serial/milbeaut_usio.c port->line = index; index 1576 drivers/tty/serial/mpc52xx_uart.c struct uart_port *port = &mpc52xx_uart_ports[co->index]; index 1610 drivers/tty/serial/mpc52xx_uart.c struct uart_port *port = &mpc52xx_uart_ports[co->index]; index 1611 drivers/tty/serial/mpc52xx_uart.c struct device_node *np = mpc52xx_uart_nodes[co->index]; index 1622 drivers/tty/serial/mpc52xx_uart.c co, co->index, options); index 1624 drivers/tty/serial/mpc52xx_uart.c if ((co->index < 0) || (co->index >= MPC52xx_PSC_MAXNUM)) { index 1625 drivers/tty/serial/mpc52xx_uart.c pr_debug("PSC%x out of range\n", co->index); index 1630 drivers/tty/serial/mpc52xx_uart.c pr_debug("PSC%x not found in device tree\n", co->index); index 1635 drivers/tty/serial/mpc52xx_uart.c co->index, mpc52xx_uart_nodes[co->index]); index 1640 drivers/tty/serial/mpc52xx_uart.c pr_debug("Could not get resources for PSC%x\n", co->index); index 1687 drivers/tty/serial/mpc52xx_uart.c .index = -1, /* Specified on the cmdline (e.g. console=ttyPSC0) */ index 445 drivers/tty/serial/mps2-uart.c struct mps2_uart_port *mps_port = idr_find(&ports_idr, co->index); index 459 drivers/tty/serial/mps2-uart.c if (co->index < 0 || co->index >= MPS2_MAX_PORTS) index 462 drivers/tty/serial/mps2-uart.c mps_port = idr_find(&ports_idr, co->index); index 481 drivers/tty/serial/mps2-uart.c .index = -1, index 1649 drivers/tty/serial/msm_serial.c BUG_ON(co->index < 0 || co->index >= UART_NR); index 1651 drivers/tty/serial/msm_serial.c port = msm_get_port_from_line(co->index); index 1665 drivers/tty/serial/msm_serial.c if (unlikely(co->index >= UART_NR || co->index < 0)) index 1668 drivers/tty/serial/msm_serial.c port = msm_get_port_from_line(co->index); index 1732 drivers/tty/serial/msm_serial.c .index = -1, index 417 drivers/tty/serial/mux.c .index = 0, index 660 drivers/tty/serial/mvebu-uart.c struct uart_port *port = &mvebu_uart_ports[co->index]; index 700 drivers/tty/serial/mvebu-uart.c if (co->index < 0 || co->index >= MVEBU_NR_UARTS) index 703 drivers/tty/serial/mvebu-uart.c port = &mvebu_uart_ports[co->index]; index 706 drivers/tty/serial/mvebu-uart.c pr_debug("console on ttyMV%i not present\n", co->index); index 724 drivers/tty/serial/mvebu-uart.c .index = -1, index 1362 drivers/tty/serial/mxs-auart.c if (co->index >= MXS_AUART_PORTS || co->index < 0) index 1365 drivers/tty/serial/mxs-auart.c s = auart_port[co->index]; index 1450 drivers/tty/serial/mxs-auart.c if (co->index == -1 || co->index >= ARRAY_SIZE(auart_port)) index 1451 drivers/tty/serial/mxs-auart.c co->index = 0; index 1452 drivers/tty/serial/mxs-auart.c s = auart_port[co->index]; index 1478 drivers/tty/serial/mxs-auart.c .index = -1, index 533 drivers/tty/serial/omap-serial.c if (up->port.line == up->port.cons->index) { index 1303 drivers/tty/serial/omap-serial.c struct uart_omap_port *up = serial_omap_console_ports[co->index]; index 1358 drivers/tty/serial/omap-serial.c if (serial_omap_console_ports[co->index] == NULL) index 1360 drivers/tty/serial/omap-serial.c up = serial_omap_console_ports[co->index]; index 1374 drivers/tty/serial/omap-serial.c .index = -1, index 542 drivers/tty/serial/owl-uart.c owl_port = owl_uart_ports[co->index]; index 557 drivers/tty/serial/owl-uart.c if (co->index < 0 || co->index >= OWL_UART_PORT_NUM) index 560 drivers/tty/serial/owl-uart.c owl_port = owl_uart_ports[co->index]; index 576 drivers/tty/serial/owl-uart.c .index = -1, index 1638 drivers/tty/serial/pch_uart.c priv = pch_uart_ports[co->index]; index 1692 drivers/tty/serial/pch_uart.c if (co->index >= PCH_UART_NR) index 1693 drivers/tty/serial/pch_uart.c co->index = 0; index 1694 drivers/tty/serial/pch_uart.c port = &pch_uart_ports[co->index]->port; index 1715 drivers/tty/serial/pch_uart.c .index = -1, index 714 drivers/tty/serial/pic32_uart.c struct pic32_sport *sport = pic32_sports[co->index]; index 734 drivers/tty/serial/pic32_uart.c if (unlikely(co->index < 0 || co->index >= PIC32_MAX_UARTS)) index 737 drivers/tty/serial/pic32_uart.c sport = pic32_sports[co->index]; index 759 drivers/tty/serial/pic32_uart.c .index = -1, index 773 drivers/tty/serial/pic32_uart.c return port->cons && port->cons->index == port->line; index 1808 drivers/tty/serial/pmac_zilog.c .index = -1, index 1958 drivers/tty/serial/pmac_zilog.c struct uart_pmac_port *uap = &pmz_ports[con->index]; index 2002 drivers/tty/serial/pmac_zilog.c if (co->index >= pmz_ports_count) index 2003 drivers/tty/serial/pmac_zilog.c co->index = 0; index 2004 drivers/tty/serial/pmac_zilog.c uap = &pmz_ports[co->index]; index 690 drivers/tty/serial/pnx8xxx_uart.c struct pnx8xxx_port *sport = &pnx8xxx_ports[co->index]; index 732 drivers/tty/serial/pnx8xxx_uart.c if (co->index == -1 || co->index >= NR_PORTS) index 733 drivers/tty/serial/pnx8xxx_uart.c co->index = 0; index 734 drivers/tty/serial/pnx8xxx_uart.c sport = &pnx8xxx_ports[co->index]; index 749 drivers/tty/serial/pnx8xxx_uart.c .index = -1, index 143 drivers/tty/serial/pxa.c if (up->port.line == up->port.cons->index) { index 643 drivers/tty/serial/pxa.c struct uart_pxa_port *up = serial_pxa_ports[co->index]; index 734 drivers/tty/serial/pxa.c if (co->index == -1 || co->index >= serial_pxa_reg.nr) index 735 drivers/tty/serial/pxa.c co->index = 0; index 736 drivers/tty/serial/pxa.c up = serial_pxa_ports[co->index]; index 752 drivers/tty/serial/pxa.c .index = -1, index 428 drivers/tty/serial/qcom_geni_serial.c WARN_ON(co->index < 0 || co->index >= GENI_UART_CONS_PORTS); index 430 drivers/tty/serial/qcom_geni_serial.c port = get_port_from_line(co->index, true); index 1076 drivers/tty/serial/qcom_geni_serial.c if (co->index >= GENI_UART_CONS_PORTS || co->index < 0) index 1079 drivers/tty/serial/qcom_geni_serial.c port = get_port_from_line(co->index, true); index 1081 drivers/tty/serial/qcom_geni_serial.c pr_err("Invalid line %d\n", co->index); index 1177 drivers/tty/serial/qcom_geni_serial.c .index = -1, index 629 drivers/tty/serial/rda-uart.c rda_port = rda_uart_ports[co->index]; index 644 drivers/tty/serial/rda-uart.c if (co->index < 0 || co->index >= RDA_UART_PORT_NUM) index 647 drivers/tty/serial/rda-uart.c rda_port = rda_uart_ports[co->index]; index 663 drivers/tty/serial/rda-uart.c .index = -1, index 722 drivers/tty/serial/sa1100.c struct sa1100_port *sport = &sa1100_ports[co->index]; index 794 drivers/tty/serial/sa1100.c if (co->index == -1 || co->index >= NR_PORTS) index 795 drivers/tty/serial/sa1100.c co->index = 0; index 796 drivers/tty/serial/sa1100.c sport = &sa1100_ports[co->index]; index 813 drivers/tty/serial/sa1100.c .index = -1, index 1875 drivers/tty/serial/samsung.c int index = probe_index; index 1881 drivers/tty/serial/samsung.c index = ret; index 1884 drivers/tty/serial/samsung.c dbg("s3c24xx_serial_probe(%p) %d\n", pdev, index); index 1886 drivers/tty/serial/samsung.c if (index >= ARRAY_SIZE(s3c24xx_serial_ports)) { index 1887 drivers/tty/serial/samsung.c dev_err(&pdev->dev, "serial%d out of range\n", index); index 1890 drivers/tty/serial/samsung.c ourport = &s3c24xx_serial_ports[index]; index 1908 drivers/tty/serial/samsung.c if (ourport->drv_data->fifosize[index]) index 1909 drivers/tty/serial/samsung.c ourport->port.fifosize = ourport->drv_data->fifosize[index]; index 2208 drivers/tty/serial/samsung.c co, co->index, options); index 2212 drivers/tty/serial/samsung.c if (co->index == -1 || co->index >= CONFIG_SERIAL_SAMSUNG_UARTS) index 2213 drivers/tty/serial/samsung.c co->index = 0; index 2215 drivers/tty/serial/samsung.c port = &s3c24xx_serial_ports[co->index].port; index 2224 drivers/tty/serial/samsung.c dbg("s3c24xx_serial_console_setup: port=%p (%d)\n", port, co->index); index 2245 drivers/tty/serial/samsung.c .index = -1, index 838 drivers/tty/serial/sb1250-duart.c int chip = co->index / DUART_MAX_SIDE; index 839 drivers/tty/serial/sb1250-duart.c int side = co->index % DUART_MAX_SIDE; index 866 drivers/tty/serial/sb1250-duart.c int chip = co->index / DUART_MAX_SIDE; index 867 drivers/tty/serial/sb1250-duart.c int side = co->index % DUART_MAX_SIDE; index 897 drivers/tty/serial/sb1250-duart.c .index = -1, index 851 drivers/tty/serial/sccnxp.c struct uart_port *port = &s->port[co->index]; index 862 drivers/tty/serial/sccnxp.c struct uart_port *port = &s->port[(co->index > 0) ? co->index : 0]; index 980 drivers/tty/serial/sccnxp.c s->uart.cons->index = -1; index 1420 drivers/tty/serial/serial-tegra.c int index; index 1435 drivers/tty/serial/serial-tegra.c index = of_property_match_string(np, "dma-names", "rx"); index 1436 drivers/tty/serial/serial-tegra.c if (index < 0) { index 1440 drivers/tty/serial/serial-tegra.c index = of_property_match_string(np, "dma-names", "tx"); index 1441 drivers/tty/serial/serial-tegra.c if (index < 0) { index 1454 drivers/tty/serial/serial-tegra.c for (count = 0, index = 0; count < n_entries; count += 3, index 1455 drivers/tty/serial/serial-tegra.c index++) { index 1461 drivers/tty/serial/serial-tegra.c tup->baud_tolerance[index].lower_range_baud = index 1468 drivers/tty/serial/serial-tegra.c tup->baud_tolerance[index].upper_range_baud = index 1475 drivers/tty/serial/serial-tegra.c tup->baud_tolerance[index].tolerance = index 658 drivers/tty/serial/serial_core.c pr_debug("uart_flush_buffer(%d) called\n", tty->index); index 1546 drivers/tty/serial/serial_core.c state = drv->state + tty->index; index 1554 drivers/tty/serial/serial_core.c pr_debug("uart_close(%d) called\n", tty->index); index 1662 drivers/tty/serial/serial_core.c pr_debug("uart_hangup(%d)\n", tty->index); index 1752 drivers/tty/serial/serial_core.c struct uart_state *state = drv->state + tty->index; index 1941 drivers/tty/serial/serial_core.c int idx = co->index; index 1950 drivers/tty/serial/serial_core.c co->index = idx; index 2600 drivers/tty/serial/serial_core.c struct tty_driver *uart_console_device(struct console *co, int *index) index 2603 drivers/tty/serial/serial_core.c *index = co->index; index 606 drivers/tty/serial/serial_txx9.c if (up->port.cons && up->port.line == up->port.cons->index) { index 832 drivers/tty/serial/serial_txx9.c if (up->port.line == up->port.cons->index) index 903 drivers/tty/serial/serial_txx9.c struct uart_txx9_port *up = &serial_txx9_ports[co->index]; index 943 drivers/tty/serial/serial_txx9.c if (co->index >= UART_NR) index 944 drivers/tty/serial/serial_txx9.c co->index = 0; index 945 drivers/tty/serial/serial_txx9.c up = &serial_txx9_ports[co->index]; index 965 drivers/tty/serial/serial_txx9.c .index = -1, index 2883 drivers/tty/serial/sh-sci.c struct sci_port *sci_port, unsigned int index, index 2895 drivers/tty/serial/sh-sci.c port->line = index; index 3018 drivers/tty/serial/sh-sci.c struct sci_port *sci_port = &sci_ports[co->index]; index 3068 drivers/tty/serial/sh-sci.c if (co->index < 0 || co->index >= SCI_NPORTS) index 3071 drivers/tty/serial/sh-sci.c sci_port = &sci_ports[co->index]; index 3096 drivers/tty/serial/sh-sci.c .index = -1, index 3104 drivers/tty/serial/sh-sci.c .index = -1, index 3116 drivers/tty/serial/sh-sci.c early_serial_console.index = pdev->id; index 3263 drivers/tty/serial/sh-sci.c unsigned int index, index 3270 drivers/tty/serial/sh-sci.c if (unlikely(index >= SCI_NPORTS)) { index 3272 drivers/tty/serial/sh-sci.c index+1, SCI_NPORTS); index 3277 drivers/tty/serial/sh-sci.c if (sci_ports_in_use & BIT(index)) index 3290 drivers/tty/serial/sh-sci.c ret = sci_init_single(dev, sciport, index, p, false); index 772 drivers/tty/serial/sifive.c struct sifive_serial_port *ssp = sifive_serial_console_ports[co->index]; index 808 drivers/tty/serial/sifive.c if (co->index < 0 || co->index >= SIFIVE_SERIAL_MAX_PORTS) index 811 drivers/tty/serial/sifive.c ssp = sifive_serial_console_ports[co->index]; index 829 drivers/tty/serial/sifive.c .index = -1, index 899 drivers/tty/serial/sirfsoc_uart.c unsigned int index = port->line; index 909 drivers/tty/serial/sirfsoc_uart.c index, port->irq); index 1092 drivers/tty/serial/sirfsoc_uart.c if (co->index < 0 || co->index >= SIRFSOC_UART_NR) index 1093 drivers/tty/serial/sirfsoc_uart.c co->index = 1; index 1094 drivers/tty/serial/sirfsoc_uart.c sirfport = sirf_ports[co->index]; index 1129 drivers/tty/serial/sirfsoc_uart.c struct sirfsoc_uart_port *sirfport = sirf_ports[co->index]; index 1139 drivers/tty/serial/sirfsoc_uart.c .index = -1, index 967 drivers/tty/serial/sprd_serial.c struct uart_port *port = &sprd_port[co->index]->port; index 995 drivers/tty/serial/sprd_serial.c if (co->index >= UART_NR_MAX || co->index < 0) index 996 drivers/tty/serial/sprd_serial.c co->index = 0; index 998 drivers/tty/serial/sprd_serial.c sprd_uart_port = sprd_port[co->index]; index 1000 drivers/tty/serial/sprd_serial.c pr_info("serial port %d not yet initialized\n", co->index); index 1018 drivers/tty/serial/sprd_serial.c .index = -1, index 1076 drivers/tty/serial/sprd_serial.c static int sprd_probe_dt_alias(int index, struct device *dev) index 1079 drivers/tty/serial/sprd_serial.c int ret = index; index 1090 drivers/tty/serial/sprd_serial.c ret = index; index 1093 drivers/tty/serial/sprd_serial.c ret = index; index 1120 drivers/tty/serial/sprd_serial.c if (cons && cons->index >= 0 && cons->index == uport->line) index 1173 drivers/tty/serial/sprd_serial.c int index; index 1176 drivers/tty/serial/sprd_serial.c for (index = 0; index < ARRAY_SIZE(sprd_port); index++) index 1177 drivers/tty/serial/sprd_serial.c if (sprd_port[index] == NULL) index 1180 drivers/tty/serial/sprd_serial.c if (index == ARRAY_SIZE(sprd_port)) index 1183 drivers/tty/serial/sprd_serial.c index = sprd_probe_dt_alias(index, &pdev->dev); index 1185 drivers/tty/serial/sprd_serial.c sprd_port[index] = devm_kzalloc(&pdev->dev, sizeof(*sprd_port[index]), index 1187 drivers/tty/serial/sprd_serial.c if (!sprd_port[index]) index 1190 drivers/tty/serial/sprd_serial.c up = &sprd_port[index]->port; index 1192 drivers/tty/serial/sprd_serial.c up->line = index; index 1220 drivers/tty/serial/sprd_serial.c ret = sprd_rx_alloc_buf(sprd_port[index]); index 1235 drivers/tty/serial/sprd_serial.c sprd_port[index] = NULL; index 880 drivers/tty/serial/st-asc.c struct uart_port *port = &asc_ports[co->index].port; index 920 drivers/tty/serial/st-asc.c if (co->index >= ASC_MAX_PORTS) index 923 drivers/tty/serial/st-asc.c ascport = &asc_ports[co->index]; index 946 drivers/tty/serial/st-asc.c .index = -1, index 1260 drivers/tty/serial/stm32-usart.c struct uart_port *port = &stm32_ports[co->index].port; index 1300 drivers/tty/serial/stm32-usart.c if (co->index >= STM32_MAX_PORTS) index 1303 drivers/tty/serial/stm32-usart.c stm32port = &stm32_ports[co->index]; index 1326 drivers/tty/serial/stm32-usart.c .index = -1, index 78 drivers/tty/serial/suncore.c con->index = line; index 520 drivers/tty/serial/sunhv.c .index = -1, index 158 drivers/tty/serial/sunsab.c (up->port.line == up->port.cons->index)) index 864 drivers/tty/serial/sunsab.c struct uart_sunsab_port *up = &sunsab_ports[con->index]; index 882 drivers/tty/serial/sunsab.c struct uart_sunsab_port *up = &sunsab_ports[con->index]; index 896 drivers/tty/serial/sunsab.c (sunsab_reg.minor - 64) + con->index); index 955 drivers/tty/serial/sunsab.c .index = -1, index 345 drivers/tty/serial/sunsu.c up->port.line == up->port.cons->index) index 368 drivers/tty/serial/sunsu.c up->port.line == up->port.cons->index) { index 1307 drivers/tty/serial/sunsu.c struct uart_sunsu_port *up = &sunsu_ports[co->index]; index 1349 drivers/tty/serial/sunsu.c (sunsu_reg.minor - 64) + co->index); index 1351 drivers/tty/serial/sunsu.c if (co->index > nr_inst) index 1353 drivers/tty/serial/sunsu.c port = &sunsu_ports[co->index].port; index 1377 drivers/tty/serial/sunsu.c .index = -1, index 1205 drivers/tty/serial/sunzilog.c struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; index 1223 drivers/tty/serial/sunzilog.c struct uart_sunzilog_port *up = &sunzilog_port_table[con->index]; index 1231 drivers/tty/serial/sunzilog.c (sunzilog_reg.minor - 64) + con->index, con->index); index 1272 drivers/tty/serial/sunzilog.c .index = -1, index 210 drivers/tty/serial/tegra-tcu.c tcu->console.index = -1; index 522 drivers/tty/serial/uartlite.c pr_debug("console on ttyUL%i not present\n", co->index); index 546 drivers/tty/serial/uartlite.c .index = -1, /* Specified on the cmdline (e.g. console=ttyUL0 ) */ index 668 drivers/tty/serial/uartlite.c if (ulite_uart_driver.cons->index == -1) index 683 drivers/tty/serial/uartlite.c if (ulite_uart_driver.cons->index == -1) index 761 drivers/tty/serial/vr41xx_siu.c port = &siu_uart_ports[con->index]; index 780 drivers/tty/serial/vr41xx_siu.c if (con->index >= SIU_PORTS_MAX) index 781 drivers/tty/serial/vr41xx_siu.c con->index = 0; index 783 drivers/tty/serial/vr41xx_siu.c port = &siu_uart_ports[con->index]; index 807 drivers/tty/serial/vr41xx_siu.c .index = -1, index 502 drivers/tty/serial/vt8500_serial.c struct vt8500_port *vt8500_port = vt8500_uart_ports[co->index]; index 505 drivers/tty/serial/vt8500_serial.c BUG_ON(co->index < 0 || co->index >= vt8500_uart_driver.nr); index 529 drivers/tty/serial/vt8500_serial.c if (unlikely(co->index >= vt8500_uart_driver.nr || co->index < 0)) index 532 drivers/tty/serial/vt8500_serial.c vt8500_port = vt8500_uart_ports[co->index]; index 550 drivers/tty/serial/vt8500_serial.c .index = -1, index 1254 drivers/tty/serial/xilinx_uartps.c co->index); index 1270 drivers/tty/serial/xilinx_uartps.c .index = -1, /* Specified on the cmdline (e.g. console=ttyPS ) */ index 1448 drivers/tty/serial/xilinx_uartps.c cdns_uart_console.index = id; index 1151 drivers/tty/serial/zs.c int chip = co->index / ZS_NUM_CHAN, side = co->index % ZS_NUM_CHAN; index 1201 drivers/tty/serial/zs.c int chip = co->index / ZS_NUM_CHAN, side = co->index % ZS_NUM_CHAN; index 1229 drivers/tty/serial/zs.c .index = -1, index 3341 drivers/tty/synclink.c int line = tty->index; index 6539 drivers/tty/synclink.c int index = StartIndex; index 6552 drivers/tty/synclink.c pBufEntry = &(info->rx_buffer_list[index]); index 6557 drivers/tty/synclink.c if ( ++index == info->rx_buffer_count ) index 6558 drivers/tty/synclink.c index = 0; index 653 drivers/tty/synclink_gt.c line = tty->index; index 716 drivers/tty/synclinkmp.c int line = tty->index; index 4944 drivers/tty/synclinkmp.c int index = StartIndex; index 4953 drivers/tty/synclinkmp.c info->rx_buf_list_ex[index].virt_addr, index 4958 drivers/tty/synclinkmp.c if ( ++index == info->rx_buf_count ) index 4959 drivers/tty/synclinkmp.c index = 0; index 140 drivers/tty/tty_audit.c dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index; index 227 drivers/tty/tty_audit.c dev = MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index; index 318 drivers/tty/tty_io.c static struct tty_driver *get_tty_driver(dev_t device, int *index) index 326 drivers/tty/tty_io.c *index = device - base; index 349 drivers/tty/tty_io.c int index, prefix_length = 0; index 358 drivers/tty/tty_io.c ret = kstrtoint(str, 10, &index); index 368 drivers/tty/tty_io.c if (index < p->num) { index 369 drivers/tty/tty_io.c *number = MKDEV(p->major, p->minor_start + index); index 1115 drivers/tty/tty_io.c static void pty_line_name(struct tty_driver *driver, int index, char *p) index 1117 drivers/tty/tty_io.c int i = index + driver->name_base; index 1135 drivers/tty/tty_io.c static ssize_t tty_line_name(struct tty_driver *driver, int index, char *p) index 1141 drivers/tty/tty_io.c index + driver->name_base); index 1183 drivers/tty/tty_io.c int idx = tty->index; index 1207 drivers/tty/tty_io.c driver->ttys[tty->index] = tty; index 1246 drivers/tty/tty_io.c driver->ttys[tty->index] = NULL; index 1395 drivers/tty/tty_io.c int idx = tty->index; index 1507 drivers/tty/tty_io.c WARN_ON(tty->index != idx); index 1594 drivers/tty/tty_io.c release_tty(tty, tty->index); index 1666 drivers/tty/tty_io.c idx = tty->index; index 1838 drivers/tty/tty_io.c int *index) index 1847 drivers/tty/tty_io.c *index = fg_console; index 1852 drivers/tty/tty_io.c struct tty_driver *console_driver = console_device(index); index 1866 drivers/tty/tty_io.c driver = get_tty_driver(device, index); index 1893 drivers/tty/tty_io.c int index = -1; index 1896 drivers/tty/tty_io.c driver = tty_lookup_driver(device, NULL, &index); index 1903 drivers/tty/tty_io.c tty = tty_driver_lookup_tty(driver, NULL, index); index 1912 drivers/tty/tty_io.c tty = tty_init_dev(driver, index); index 1945 drivers/tty/tty_io.c int index = -1; index 1949 drivers/tty/tty_io.c driver = tty_lookup_driver(device, filp, &index); index 1956 drivers/tty/tty_io.c tty = tty_driver_lookup_tty(driver, filp, index); index 1984 drivers/tty/tty_io.c tty = tty_init_dev(driver, index); index 3006 drivers/tty/tty_io.c tty->index = idx; index 3036 drivers/tty/tty_io.c unsigned int index, unsigned int count) index 3041 drivers/tty/tty_io.c driver->cdevs[index] = cdev_alloc(); index 3042 drivers/tty/tty_io.c if (!driver->cdevs[index]) index 3044 drivers/tty/tty_io.c driver->cdevs[index]->ops = &tty_fops; index 3045 drivers/tty/tty_io.c driver->cdevs[index]->owner = driver->owner; index 3046 drivers/tty/tty_io.c err = cdev_add(driver->cdevs[index], dev, count); index 3048 drivers/tty/tty_io.c kobject_put(&driver->cdevs[index]->kobj); index 3071 drivers/tty/tty_io.c struct device *tty_register_device(struct tty_driver *driver, unsigned index, index 3074 drivers/tty/tty_io.c return tty_register_device_attr(driver, index, device, NULL, NULL); index 3105 drivers/tty/tty_io.c unsigned index, struct device *device, index 3110 drivers/tty/tty_io.c dev_t devt = MKDEV(driver->major, driver->minor_start) + index; index 3115 drivers/tty/tty_io.c if (index >= driver->num) { index 3117 drivers/tty/tty_io.c driver->name, index); index 3122 drivers/tty/tty_io.c pty_line_name(driver, index, name); index 3124 drivers/tty/tty_io.c tty_line_name(driver, index, name); index 3149 drivers/tty/tty_io.c tp = driver->termios[index]; index 3151 drivers/tty/tty_io.c driver->termios[index] = NULL; index 3155 drivers/tty/tty_io.c retval = tty_cdev_add(driver, devt, index, 1); index 3185 drivers/tty/tty_io.c void tty_unregister_device(struct tty_driver *driver, unsigned index) index 3188 drivers/tty/tty_io.c MKDEV(driver->major, driver->minor_start) + index); index 3190 drivers/tty/tty_io.c cdev_del(driver->cdevs[index]); index 3191 drivers/tty/tty_io.c driver->cdevs[index] = NULL; index 3393 drivers/tty/tty_io.c return MKDEV(tty->driver->major, tty->driver->minor_start) + tty->index; index 3447 drivers/tty/tty_io.c int index = cs[i]->index; index 3448 drivers/tty/tty_io.c struct tty_driver *drv = cs[i]->device(cs[i], &index); index 3451 drivers/tty/tty_io.c if (drv && (cs[i]->index > 0 || drv->major != TTY_MAJOR)) index 3452 drivers/tty/tty_io.c count += tty_line_name(drv, index, buf + count); index 3455 drivers/tty/tty_io.c cs[i]->name, cs[i]->index); index 89 drivers/tty/tty_port.c struct tty_driver *driver, unsigned index) index 91 drivers/tty/tty_port.c if (WARN_ON(index >= driver->num)) index 93 drivers/tty/tty_port.c driver->ports[index] = port; index 109 drivers/tty/tty_port.c struct tty_driver *driver, unsigned index, index 112 drivers/tty/tty_port.c return tty_port_register_device_attr(port, driver, index, device, NULL, NULL); index 130 drivers/tty/tty_port.c struct tty_driver *driver, unsigned index, index 134 drivers/tty/tty_port.c tty_port_link_device(port, driver, index); index 135 drivers/tty/tty_port.c return tty_register_device_attr(driver, index, device, drvdata, index 153 drivers/tty/tty_port.c struct tty_driver *driver, unsigned index, index 159 drivers/tty/tty_port.c tty_port_link_device(port, driver, index); index 161 drivers/tty/tty_port.c dev = serdev_tty_port_register(port, device, driver, index); index 167 drivers/tty/tty_port.c return tty_register_device_attr(driver, index, device, drvdata, index 183 drivers/tty/tty_port.c struct tty_driver *driver, unsigned index, index 186 drivers/tty/tty_port.c return tty_port_register_device_attr_serdev(port, driver, index, index 202 drivers/tty/tty_port.c struct tty_driver *driver, unsigned index) index 210 drivers/tty/tty_port.c tty_unregister_device(driver, index); index 51 drivers/tty/ttynull.c static struct tty_driver *ttynull_device(struct console *c, int *index) index 53 drivers/tty/ttynull.c *index = 0; index 34 drivers/tty/vcc.c unsigned long index; /* index into the vcc_table */ index 146 drivers/tty/vcc.c static void vcc_table_remove(unsigned long index) index 150 drivers/tty/vcc.c if (WARN_ON(index >= VCC_MAX_PORTS)) index 154 drivers/tty/vcc.c vcc_table[index] = NULL; index 166 drivers/tty/vcc.c static struct vcc_port *vcc_get(unsigned long index, bool excl) index 174 drivers/tty/vcc.c port = vcc_table[index]; index 248 drivers/tty/vcc.c static struct vcc_port *vcc_get_ne(unsigned long index) index 252 drivers/tty/vcc.c port = vcc_get(index, false); index 605 drivers/tty/vcc.c port->index = vcc_table_add(port); index 606 drivers/tty/vcc.c if (port->index == -1) { index 612 drivers/tty/vcc.c dev = tty_register_device(vcc_tty_driver, port->index, &vdev->dev); index 658 drivers/tty/vcc.c tty_unregister_device(vcc_tty_driver, port->index); index 660 drivers/tty/vcc.c vcc_table_remove(port->index); index 699 drivers/tty/vcc.c port = vcc_get(port->index, true); index 704 drivers/tty/vcc.c tty_unregister_device(vcc_tty_driver, port->index); index 714 drivers/tty/vcc.c vcc_table_remove(port->index); index 751 drivers/tty/vcc.c port = vcc_get_ne(tty->index); index 818 drivers/tty/vcc.c port = vcc_get_ne(tty->index); index 852 drivers/tty/vcc.c port = vcc_get_ne(tty->index); index 917 drivers/tty/vcc.c port = vcc_get_ne(tty->index); index 940 drivers/tty/vcc.c port = vcc_get_ne(tty->index); index 963 drivers/tty/vcc.c port = vcc_get_ne(tty->index); index 998 drivers/tty/vcc.c if (tty->index >= VCC_MAX_PORTS) index 1009 drivers/tty/vcc.c port_vcc = vcc_get(tty->index, true); index 1037 drivers/tty/vcc.c port = vcc_get(tty->index, true); index 1042 drivers/tty/vcc.c vcc_table_remove(tty->index); index 716 drivers/tty/vt/vc_screen.c void vcs_make_sysfs(int index) index 718 drivers/tty/vt/vc_screen.c device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 1), NULL, index 719 drivers/tty/vt/vc_screen.c "vcs%u", index + 1); index 720 drivers/tty/vt/vc_screen.c device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 65), NULL, index 721 drivers/tty/vt/vc_screen.c "vcsu%u", index + 1); index 722 drivers/tty/vt/vc_screen.c device_create(vc_class, NULL, MKDEV(VCS_MAJOR, index + 129), NULL, index 723 drivers/tty/vt/vc_screen.c "vcsa%u", index + 1); index 726 drivers/tty/vt/vc_screen.c void vcs_remove_sysfs(int index) index 728 drivers/tty/vt/vc_screen.c device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 1)); index 729 drivers/tty/vt/vc_screen.c device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 65)); index 730 drivers/tty/vt/vc_screen.c device_destroy(vc_class, MKDEV(VCS_MAJOR, index + 129)); index 3021 drivers/tty/vt/vt.c static struct tty_driver *vt_console_device(struct console *c, int *index) index 3023 drivers/tty/vt/vt.c *index = c->index ? c->index-1 : fg_console; index 3033 drivers/tty/vt/vt.c .index = -1, index 3212 drivers/tty/vt/vt.c console_num = tty->index; index 3226 drivers/tty/vt/vt.c console_num = tty->index; index 3252 drivers/tty/vt/vt.c unsigned int currcons = tty->index; index 455 drivers/usb/atm/cxacru.c u32 index; index 458 drivers/usb/atm/cxacru.c ret = sscanf(buf + pos, "%x=%x%n", &index, &value, &tmp); index 461 drivers/usb/atm/cxacru.c if (index > 0x7f) index 471 drivers/usb/atm/cxacru.c data[num * 2 + 1] = cpu_to_le32(index); index 1101 drivers/usb/atm/ueagle-atm.c u16 value, u16 index, u16 size, const void *data) index 1115 drivers/usb/atm/ueagle-atm.c value, index, xfer_buff, size, CTRL_TIMEOUT); index 241 drivers/usb/cdns3/ep0.c u8 index; index 267 drivers/usb/cdns3/ep0.c index = cdns3_ep_addr_to_index(ctrl->wIndex); index 268 drivers/usb/cdns3/ep0.c priv_ep = priv_dev->eps[index]; index 382 drivers/usb/cdns3/ep0.c u8 index; index 390 drivers/usb/cdns3/ep0.c index = cdns3_ep_addr_to_index(ctrl->wIndex); index 391 drivers/usb/cdns3/ep0.c priv_ep = priv_dev->eps[index]; index 269 drivers/usb/cdns3/gadget.c static void cdns3_ep_inc_trb(int *index, u8 *cs, int trb_in_seg) index 271 drivers/usb/cdns3/gadget.c (*index)++; index 272 drivers/usb/cdns3/gadget.c if (*index == (trb_in_seg - 1)) { index 273 drivers/usb/cdns3/gadget.c *index = 0; index 691 drivers/usb/cdns3/gadget.h #define DB_VALUE_BY_INDEX(index) (1 << (index)) index 696 drivers/usb/cdns3/gadget.h #define EP_IEN(index) (1 << (index)) index 701 drivers/usb/cdns3/gadget.h #define EP_ISTS(index) (1 << (index)) index 886 drivers/usb/cdns3/gadget.h #define EP_IS_IMPLEMENTED(reg, index) ((reg) & (1 << (index))) index 889 drivers/usb/cdns3/gadget.h #define EP_SUPPORT_ISO(reg, index) ((reg) & (1 << (index))) index 892 drivers/usb/cdns3/gadget.h #define EP_SUPPORT_STREAM(reg, index) ((reg) & (1 << (index))) index 136 drivers/usb/chipidea/ci_hdrc_imx.c data->index = args.args[0]; index 11 drivers/usb/chipidea/ci_hdrc_imx.h int index; index 130 drivers/usb/chipidea/usbmisc_imx.c if (data->index > 1) index 134 drivers/usb/chipidea/usbmisc_imx.c switch (data->index) { index 180 drivers/usb/chipidea/usbmisc_imx.c if (data->index > 2) index 183 drivers/usb/chipidea/usbmisc_imx.c if (data->index) index 208 drivers/usb/chipidea/usbmisc_imx.c switch (data->index) { index 240 drivers/usb/chipidea/usbmisc_imx.c if (data->index > 3) index 251 drivers/usb/chipidea/usbmisc_imx.c switch (data->index) { index 343 drivers/usb/chipidea/usbmisc_imx.c if (data->index > 3) index 347 drivers/usb/chipidea/usbmisc_imx.c val = readl(usbmisc->base + data->index * 4); index 352 drivers/usb/chipidea/usbmisc_imx.c pr_debug("wakeup int at ci_hdrc.%d\n", data->index); index 355 drivers/usb/chipidea/usbmisc_imx.c writel(val, usbmisc->base + data->index * 4); index 367 drivers/usb/chipidea/usbmisc_imx.c if (data->index > 3) index 372 drivers/usb/chipidea/usbmisc_imx.c reg = readl(usbmisc->base + data->index * 4); index 390 drivers/usb/chipidea/usbmisc_imx.c writel(reg, usbmisc->base + data->index * 4); index 393 drivers/usb/chipidea/usbmisc_imx.c reg = readl(usbmisc->base + data->index * 4); index 395 drivers/usb/chipidea/usbmisc_imx.c usbmisc->base + data->index * 4); index 399 drivers/usb/chipidea/usbmisc_imx.c reg = readl(usbmisc->base + data->index * 4); index 401 drivers/usb/chipidea/usbmisc_imx.c usbmisc->base + data->index * 4); index 403 drivers/usb/chipidea/usbmisc_imx.c + (data->index - 2) * 4); index 406 drivers/usb/chipidea/usbmisc_imx.c + (data->index - 2) * 4); index 420 drivers/usb/chipidea/usbmisc_imx.c if (data->index == 2 || data->index == 3) { index 421 drivers/usb/chipidea/usbmisc_imx.c offset = (data->index - 2) * 4; index 422 drivers/usb/chipidea/usbmisc_imx.c } else if (data->index == 0) { index 498 drivers/usb/chipidea/usbmisc_imx.c if (data->index == 0 || data->index == 1) { index 499 drivers/usb/chipidea/usbmisc_imx.c reg = usbmisc->base + MX6_USB_OTG1_PHY_CTRL + data->index * 4; index 508 drivers/usb/chipidea/usbmisc_imx.c val = readl(usbmisc->base + data->index * 4); index 510 drivers/usb/chipidea/usbmisc_imx.c usbmisc->base + data->index * 4); index 533 drivers/usb/chipidea/usbmisc_imx.c if (data->index >= 1) index 573 drivers/usb/chipidea/usbmisc_imx.c if (data->index >= 1) index 423 drivers/usb/class/cdc-acm.c static int acm_submit_read_urb(struct acm *acm, int index, gfp_t mem_flags) index 427 drivers/usb/class/cdc-acm.c if (!test_and_clear_bit(index, &acm->read_urbs_free)) index 430 drivers/usb/class/cdc-acm.c res = usb_submit_urb(acm->read_urbs[index], mem_flags); index 435 drivers/usb/class/cdc-acm.c index, res); index 439 drivers/usb/class/cdc-acm.c set_bit(index, &acm->read_urbs_free); index 442 drivers/usb/class/cdc-acm.c dev_vdbg(&acm->data->dev, "submitted urb %d\n", index); index 482 drivers/usb/class/cdc-acm.c rb->index, urb->actual_length, status); index 511 drivers/usb/class/cdc-acm.c set_bit(rb->index, &acm->urbs_in_error_delay); index 527 drivers/usb/class/cdc-acm.c set_bit(rb->index, &acm->read_urbs_free); index 546 drivers/usb/class/cdc-acm.c acm_submit_read_urb(acm, rb->index, GFP_ATOMIC); index 605 drivers/usb/class/cdc-acm.c acm = acm_get_by_minor(tty->index); index 1396 drivers/usb/class/cdc-acm.c rb->index = i; index 79 drivers/usb/class/cdc-acm.h int index; index 253 drivers/usb/class/usblp.c int index = usblp->ifnum; index 259 drivers/usb/class/usblp.c index = (usblp->ifnum<<8)|usblp->protocol[usblp->current_protocol].alt_setting; index 263 drivers/usb/class/usblp.c request, type | dir | recip, value, index, buf, len, USBLP_CTL_TIMEOUT); index 266 drivers/usb/class/usblp.c request, !!dir, recip, value, index, len, retval); index 161 drivers/usb/common/common.c int index; index 168 drivers/usb/common/common.c index = 0; index 172 drivers/usb/common/common.c index); index 177 drivers/usb/common/common.c index, &args); index 186 drivers/usb/common/common.c index++; index 446 drivers/usb/core/devices.c const struct usb_device *dev, char *id, int index) index 451 drivers/usb/core/devices.c if (index <= dev->maxstring && dev->stringindex && index 452 drivers/usb/core/devices.c dev->stringindex[index]) index 454 drivers/usb/core/devices.c dev->stringindex[index]); index 472 drivers/usb/core/devices.c int level, int index, int count) index 518 drivers/usb/core/devices.c index, count, usbdev->devnum, index 857 drivers/usb/core/devio.c unsigned int request, unsigned int index) index 876 drivers/usb/core/devio.c index >> 8, index & 0xff); index 882 drivers/usb/core/devio.c index &= 0xff; index 885 drivers/usb/core/devio.c if ((index & ~USB_DIR_IN) == 0) index 887 drivers/usb/core/devio.c ret = findintfep(ps->dev, index); index 897 drivers/usb/core/devio.c ret = findintfep(ps->dev, index ^ 0x80); index 902 drivers/usb/core/devio.c current->comm, index, index ^ 0x80); index 909 drivers/usb/core/devio.c ret = checkintf(ps, index); index 5589 drivers/usb/core/hub.c unsigned index; index 5620 drivers/usb/core/hub.c for (index = 0; index < udev->descriptor.bNumConfigurations; index++) { index 5621 drivers/usb/core/hub.c old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); index 5630 drivers/usb/core/hub.c for (index = 0; index < udev->descriptor.bNumConfigurations; index++) { index 5631 drivers/usb/core/hub.c old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); index 5632 drivers/usb/core/hub.c length = usb_get_descriptor(udev, USB_DT_CONFIG, index, buf, index 5636 drivers/usb/core/hub.c index, length); index 5640 drivers/usb/core/hub.c if (memcmp(buf, udev->rawdescriptors[index], old_length) index 5643 drivers/usb/core/hub.c index, index 136 drivers/usb/core/message.c __u8 requesttype, __u16 value, __u16 index, void *data, index 149 drivers/usb/core/message.c dr->wIndex = cpu_to_le16(index); index 645 drivers/usb/core/message.c unsigned char index, void *buf, int size) index 656 drivers/usb/core/message.c (type << 8) + index, 0, buf, size, index 693 drivers/usb/core/message.c unsigned char index, void *buf, int size) index 702 drivers/usb/core/message.c (USB_DT_STRING << 8) + index, langid, buf, size, index 730 drivers/usb/core/message.c unsigned int index, unsigned char *buf) index 739 drivers/usb/core/message.c rc = usb_get_string(dev, langid, index, buf, 255); index 744 drivers/usb/core/message.c rc = usb_get_string(dev, langid, index, buf, 2); index 746 drivers/usb/core/message.c rc = usb_get_string(dev, langid, index, buf, buf[0]); index 823 drivers/usb/core/message.c int usb_string(struct usb_device *dev, int index, char *buf, size_t size) index 833 drivers/usb/core/message.c if (index <= 0 || index >= 256) index 843 drivers/usb/core/message.c err = usb_string_sub(dev, dev->string_langid, index, tbuf); index 855 drivers/usb/core/message.c tbuf[1], index, buf); index 874 drivers/usb/core/message.c char *usb_cache_string(struct usb_device *udev, int index) index 880 drivers/usb/core/message.c if (index <= 0) index 885 drivers/usb/core/message.c len = usb_string(udev, index, buf, MAX_USB_STRING_SIZE); index 22 drivers/usb/core/phy.c static int usb_phy_roothub_add_phy(struct device *dev, int index, index 28 drivers/usb/core/phy.c phy = devm_of_phy_get_by_index(dev, dev->of_node, index); index 26 drivers/usb/core/usb-acpi.c bool usb_acpi_power_manageable(struct usb_device *hdev, int index) index 29 drivers/usb/core/usb-acpi.c int port1 = index + 1; index 52 drivers/usb/core/usb-acpi.c int usb_acpi_set_power_state(struct usb_device *hdev, int index, bool enable) index 58 drivers/usb/core/usb-acpi.c int port1 = index + 1; index 50 drivers/usb/core/usb.h extern char *usb_cache_string(struct usb_device *udev, int index); index 164 drivers/usb/dwc2/core.h unsigned char index; index 229 drivers/usb/dwc2/debugfs.c int index = ep->index; index 234 drivers/usb/dwc2/debugfs.c ep->index, ep->ep.name, decode_direction(ep->dir_in)); index 239 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DIEPCTL(index)), index 240 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DOEPCTL(index))); index 243 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DIEPDMA(index)), index 244 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DOEPDMA(index))); index 247 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DIEPINT(index)), index 248 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DOEPINT(index))); index 251 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DIEPTSIZ(index)), index 252 drivers/usb/dwc2/debugfs.c dwc2_readl(hsotg, DOEPTSIZ(index))); index 511 drivers/usb/dwc2/gadget.c u32 epsize = dwc2_readl(hsotg, DIEPTSIZ(hs_ep->index)); index 551 drivers/usb/dwc2/gadget.c } else if (hsotg->dedicated_fifos && hs_ep->index != 0) { index 643 drivers/usb/dwc2/gadget.c dwc2_writel_rep(hsotg, EPFIFO(hs_ep->index), data, to_write); index 657 drivers/usb/dwc2/gadget.c int index = hs_ep->index; index 661 drivers/usb/dwc2/gadget.c if (index != 0) { index 749 drivers/usb/dwc2/gadget.c if (!hs_ep->index && !dir_in) { index 797 drivers/usb/dwc2/gadget.c if (!hs_ep->index && !dir_in) index 884 drivers/usb/dwc2/gadget.c u32 index; index 891 drivers/usb/dwc2/gadget.c index = hs_ep->next_desc; index 892 drivers/usb/dwc2/gadget.c desc = &hs_ep->desc_list[index]; index 903 drivers/usb/dwc2/gadget.c hs_ep->desc_list[index - 1].status &= ~DEV_DMA_L; index 906 drivers/usb/dwc2/gadget.c __func__, hs_ep->index, hs_ep->dir_in ? "in" : "out", index); index 955 drivers/usb/dwc2/gadget.c int index = hs_ep->index; index 992 drivers/usb/dwc2/gadget.c depctl = hs_ep->dir_in ? DIEPCTL(index) : DOEPCTL(index); index 993 drivers/usb/dwc2/gadget.c dma_reg = hs_ep->dir_in ? DIEPDMA(index) : DOEPDMA(index); index 1019 drivers/usb/dwc2/gadget.c int index = hs_ep->index; index 1030 drivers/usb/dwc2/gadget.c if (index != 0) { index 1043 drivers/usb/dwc2/gadget.c dma_reg = dir_in ? DIEPDMA(index) : DOEPDMA(index); index 1044 drivers/usb/dwc2/gadget.c epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); index 1045 drivers/usb/dwc2/gadget.c epsize_reg = dir_in ? DIEPTSIZ(index) : DOEPTSIZ(index); index 1048 drivers/usb/dwc2/gadget.c __func__, dwc2_readl(hsotg, epctrl_reg), index, index 1054 drivers/usb/dwc2/gadget.c if (index && ctrl & DXEPCTL_STALL) { index 1055 drivers/usb/dwc2/gadget.c dev_warn(hsotg->dev, "%s: ep%d is stalled\n", __func__, index); index 1086 drivers/usb/dwc2/gadget.c if (dir_in && index != 0) index 1120 drivers/usb/dwc2/gadget.c if (!index) index 1131 drivers/usb/dwc2/gadget.c if (!index && hsotg->ep0_state == DWC2_EP0_DATA_OUT && index 1176 drivers/usb/dwc2/gadget.c if (!(index == 0 && hsotg->ep0_state == DWC2_EP0_SETUP)) index 1206 drivers/usb/dwc2/gadget.c index, dwc2_readl(hsotg, epctrl_reg)); index 1212 drivers/usb/dwc2/gadget.c dwc2_hsotg_ctrl_epint(hsotg, hs_ep->index, hs_ep->dir_in, 1); index 1425 drivers/usb/dwc2/gadget.c if (using_desc_dma(hs) && !hs_ep->index) { index 1455 drivers/usb/dwc2/gadget.c if (!hs_ep->index && !req->length && !hs_ep->dir_in && index 2038 drivers/usb/dwc2/gadget.c u8 index = hs_ep->index; index 2039 drivers/usb/dwc2/gadget.c u32 epctl_reg = hs_ep->dir_in ? DIEPCTL(index) : DOEPCTL(index); index 2040 drivers/usb/dwc2/gadget.c u32 epsiz_reg = hs_ep->dir_in ? DIEPTSIZ(index) : DOEPTSIZ(index); index 2044 drivers/usb/dwc2/gadget.c index); index 2047 drivers/usb/dwc2/gadget.c index); index 2052 drivers/usb/dwc2/gadget.c if (!index) index 2634 drivers/usb/dwc2/gadget.c if (hs_ep->index != 0) index 2635 drivers/usb/dwc2/gadget.c dwc2_hsotg_ctrl_epint(hsotg, hs_ep->index, index 2642 drivers/usb/dwc2/gadget.c hs_ep->index); index 2661 drivers/usb/dwc2/gadget.c u32 epsize = dwc2_readl(hsotg, DIEPTSIZ(hs_ep->index)); index 2670 drivers/usb/dwc2/gadget.c if (hs_ep->index == 0 && hsotg->ep0_state == DWC2_EP0_STATUS_IN) { index 2738 drivers/usb/dwc2/gadget.c if (hs_ep->index == 0 && hsotg->ep0_state == DWC2_EP0_DATA_IN) { index 2792 drivers/usb/dwc2/gadget.c unsigned char idx = hs_ep->index; index 2881 drivers/usb/dwc2/gadget.c ctrl = dwc2_readl(hsotg, DOEPCTL(ep->index)); index 2887 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, ctrl, DOEPCTL(ep->index)); index 2947 drivers/usb/dwc2/gadget.c DIEPCTL(hs_ep->index)); index 2953 drivers/usb/dwc2/gadget.c dwc2_writel(hsotg, ctrl, DIEPCTL(hs_ep->index)); index 3845 drivers/usb/dwc2/gadget.c epctrl_reg = hs_ep->dir_in ? DIEPCTL(hs_ep->index) : index 3846 drivers/usb/dwc2/gadget.c DOEPCTL(hs_ep->index); index 3847 drivers/usb/dwc2/gadget.c epint_reg = hs_ep->dir_in ? DIEPINT(hs_ep->index) : index 3848 drivers/usb/dwc2/gadget.c DOEPINT(hs_ep->index); index 3927 drivers/usb/dwc2/gadget.c unsigned int index = hs_ep->index; index 3945 drivers/usb/dwc2/gadget.c if (index == 0) { index 3978 drivers/usb/dwc2/gadget.c epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); index 4012 drivers/usb/dwc2/gadget.c dwc2_hsotg_set_ep_maxpacket(hsotg, hs_ep->index, mps, mc, dir_in); index 4097 drivers/usb/dwc2/gadget.c if (index && !hs_ep->isochronous) index 4129 drivers/usb/dwc2/gadget.c dwc2_hsotg_ctrl_epint(hsotg, index, dir_in, 1); index 4154 drivers/usb/dwc2/gadget.c int index = hs_ep->index; index 4170 drivers/usb/dwc2/gadget.c epctrl_reg = dir_in ? DIEPCTL(index) : DOEPCTL(index); index 4185 drivers/usb/dwc2/gadget.c dwc2_hsotg_ctrl_epint(hsotg, hs_ep->index, hs_ep->dir_in, 0); index 4272 drivers/usb/dwc2/gadget.c int index = hs_ep->index; index 4279 drivers/usb/dwc2/gadget.c if (index == 0) { index 4300 drivers/usb/dwc2/gadget.c epreg = DIEPCTL(index); index 4316 drivers/usb/dwc2/gadget.c epreg = DOEPCTL(index); index 4642 drivers/usb/dwc2/gadget.c hs_ep->index = epnum; index 659 drivers/usb/dwc2/hcd_queue.c bool only_one_period, int index) index 661 drivers/usb/dwc2/hcd_queue.c struct dwc2_hs_transfer_time *trans_time = qh->hs_transfers + index; index 685 drivers/usb/dwc2/hcd_queue.c struct dwc2_qh *qh, int index) index 687 drivers/usb/dwc2/hcd_queue.c struct dwc2_hs_transfer_time *trans_time = qh->hs_transfers + index; index 147 drivers/usb/dwc3/gadget.c static void dwc3_ep_inc_trb(u8 *index) index 149 drivers/usb/dwc3/gadget.c (*index)++; index 150 drivers/usb/dwc3/gadget.c if (*index == (DWC3_TRB_NUM - 1)) index 151 drivers/usb/dwc3/gadget.c *index = 0; index 871 drivers/usb/dwc3/gadget.c static struct dwc3_trb *dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) index 873 drivers/usb/dwc3/gadget.c u8 tmp = index; index 330 drivers/usb/early/ehci-dbgp.c int request, int value, int index, void *data, int size) index 345 drivers/usb/early/ehci-dbgp.c req.wIndex = cpu_to_le16(index); index 969 drivers/usb/early/ehci-dbgp.c .index = -1, index 985 drivers/usb/early/ehci-dbgp.c if ((early_dbgp_console.index != -1 && index 1061 drivers/usb/early/ehci-dbgp.c kgdbdbgp_io_ops.is_console = early_dbgp_console.index != -1; index 234 drivers/usb/early/xhci-dbc.c int index = 0; index 245 drivers/usb/early/xhci-dbc.c xdbc.erst_base = xdbc.table_base + index * XDBC_TABLE_ENTRY_SIZE; index 246 drivers/usb/early/xhci-dbc.c xdbc.erst_dma = xdbc.table_dma + index * XDBC_TABLE_ENTRY_SIZE; index 248 drivers/usb/early/xhci-dbc.c index += XDBC_ERST_ENTRY_NUM; index 262 drivers/usb/early/xhci-dbc.c xdbc.dbcc_base = xdbc.table_base + index * XDBC_TABLE_ENTRY_SIZE; index 263 drivers/usb/early/xhci-dbc.c xdbc.dbcc_dma = xdbc.table_dma + index * XDBC_TABLE_ENTRY_SIZE; index 265 drivers/usb/early/xhci-dbc.c index += XDBC_DBCC_ENTRY_NUM; index 269 drivers/usb/early/xhci-dbc.c xdbc.string_base = xdbc.table_base + index * XDBC_TABLE_ENTRY_SIZE; index 270 drivers/usb/early/xhci-dbc.c xdbc.string_dma = xdbc.table_dma + index * XDBC_TABLE_ENTRY_SIZE; index 273 drivers/usb/early/xhci-dbc.c index += XDBC_STRING_ENTRY_NUM; index 908 drivers/usb/early/xhci-dbc.c .index = -1, index 968 drivers/usb/early/xhci-dbc.c if (early_xdbc_console.index == -1 || index 93 drivers/usb/gadget/function/f_midi.c int index; index 805 drivers/usb/gadget/function/f_midi.c err = snd_card_new(&midi->gadget->dev, midi->index, midi->id, index 1129 drivers/usb/gadget/function/f_midi.c F_MIDI_OPT(index, true, SNDRV_CARDS); index 1229 drivers/usb/gadget/function/f_midi.c opts->index = SNDRV_DEFAULT_IDX1; index 1322 drivers/usb/gadget/function/f_midi.c midi->index = opts->index; index 1180 drivers/usb/gadget/function/f_ncm.c unsigned index, index2; index 1260 drivers/usb/gadget/function/f_ncm.c index = index2; index 1271 drivers/usb/gadget/function/f_ncm.c index + dg_len - index 1274 drivers/usb/gadget/function/f_ncm.c skb->data + index, index 1294 drivers/usb/gadget/function/f_ncm.c skb_put_data(skb2, skb->data + index, index 20 drivers/usb/gadget/function/u_midi.h int index; index 589 drivers/usb/gadget/function/u_serial.c int port_num = tty->index; index 951 drivers/usb/gadget/function/u_serial.c if (port_num != gserial_cons.index) { index 1077 drivers/usb/gadget/function/u_serial.c static struct tty_driver *gs_console_device(struct console *co, int *index) index 1084 drivers/usb/gadget/function/u_serial.c *index = co->index; index 1094 drivers/usb/gadget/function/u_serial.c .index = -1, index 40 drivers/usb/gadget/legacy/gmidi.c static int index = SNDRV_DEFAULT_IDX1; index 41 drivers/usb/gadget/legacy/gmidi.c module_param(index, int, S_IRUGO); index 42 drivers/usb/gadget/legacy/gmidi.c MODULE_PARM_DESC(index, "Index value for the USB MIDI Gadget adapter."); index 151 drivers/usb/gadget/legacy/gmidi.c midi_opts->index = index; index 1301 drivers/usb/gadget/legacy/inode.c config_buf (struct dev_data *dev, u8 type, unsigned index) index 1307 drivers/usb/gadget/legacy/inode.c if (index > 0) index 71 drivers/usb/gadget/udc/aspeed-vhub/dev.c hmsk = VHUB_IRQ_DEVICE1 << d->index; index 103 drivers/usb/gadget/udc/aspeed-vhub/dev.c hmsk = VHUB_IRQ_DEVICE1 << d->index; index 319 drivers/usb/gadget/udc/aspeed-vhub/dev.c ast_vhub_device_connect(d->vhub, d->index, on); index 543 drivers/usb/gadget/udc/aspeed-vhub/dev.c d->index = idx; index 509 drivers/usb/gadget/udc/aspeed-vhub/ep0.c AST_VHUB_SETUP0 + 8 * (dev->index + 1); index 511 drivers/usb/gadget/udc/aspeed-vhub/ep0.c AST_VHUB_EP0_MAX_PACKET * (dev->index + 1); index 513 drivers/usb/gadget/udc/aspeed-vhub/ep0.c AST_VHUB_EP0_MAX_PACKET * (dev->index + 1); index 689 drivers/usb/gadget/udc/aspeed-vhub/epn.c ep_conf |= VHUB_EP_CFG_SET_DEV(dev->index + 1); index 346 drivers/usb/gadget/udc/aspeed-vhub/vhub.h unsigned int index; index 584 drivers/usb/gadget/udc/atmel_usba_udc.c if (((desc->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK) != ep->index) index 585 drivers/usb/gadget/udc/atmel_usba_udc.c || ep->index == 0 index 647 drivers/usb/gadget/udc/atmel_usba_udc.c usba_int_enb_set(udc, USBA_BF(EPT_INT, 1 << ep->index) | index 648 drivers/usb/gadget/udc/atmel_usba_udc.c USBA_BF(DMA_INT, 1 << ep->index)); index 652 drivers/usb/gadget/udc/atmel_usba_udc.c usba_int_enb_set(udc, USBA_BF(EPT_INT, 1 << ep->index)); index 657 drivers/usb/gadget/udc/atmel_usba_udc.c DBG(DBG_HW, "EPT_CFG%d after init: %#08lx\n", ep->index, index 696 drivers/usb/gadget/udc/atmel_usba_udc.c usba_int_enb_clear(udc, USBA_BF(EPT_INT, 1 << ep->index)); index 901 drivers/usb/gadget/udc/atmel_usba_udc.c usba_writel(udc, EPT_RST, 1 << ep->index); index 979 drivers/usb/gadget/udc/atmel_usba_udc.c usba_writel(udc, EPT_RST, 1 << ep->index); index 1358 drivers/usb/gadget/udc/atmel_usba_udc.c if (target->index != 0) index 1597 drivers/usb/gadget/udc/atmel_usba_udc.c if (ep->index == 0) index 2110 drivers/usb/gadget/udc/atmel_usba_udc.c ep->index = fifo_mode ? udc->fifo_cfg[i].hw_ep_num : val; index 2149 drivers/usb/gadget/udc/atmel_usba_udc.c sprintf(ep->name, "ep%d", ep->index); index 2160 drivers/usb/gadget/udc/atmel_usba_udc.c if (ep->index == 0) { index 281 drivers/usb/gadget/udc/atmel_usba_udc.h u8 index; index 365 drivers/usb/gadget/udc/atmel_usba_udc.h #define ep_is_control(ep) ((ep)->index == 0) index 57 drivers/usb/gadget/udc/bdc/bdc_ep.c int index; index 66 drivers/usb/gadget/udc/bdc/bdc_ep.c for (index = 0; index < num_tabs; index++) { index 72 drivers/usb/gadget/udc/bdc/bdc_ep.c bd_table = bd_list->bd_table_array[index]; index 73 drivers/usb/gadget/udc/bdc/bdc_ep.c dev_dbg(bdc->dev, "bd_table:%p index:%d\n", bd_table, index); index 124 drivers/usb/gadget/udc/bdc/bdc_ep.c int index, num_tabs, bd_p_tab; index 148 drivers/usb/gadget/udc/bdc/bdc_ep.c for (index = 0; index < num_tabs; index++) { index 166 drivers/usb/gadget/udc/bdc/bdc_ep.c index, bd_table->start_bd, index 169 drivers/usb/gadget/udc/bdc/bdc_ep.c ep->bd_list.bd_table_array[index] = bd_table; index 1145 drivers/usb/gadget/udc/dummy_hcd.c unsigned int index; index 1147 drivers/usb/gadget/udc/dummy_hcd.c index = usb_endpoint_num(desc) << 1; index 1149 drivers/usb/gadget/udc/dummy_hcd.c index |= 1; index 1150 drivers/usb/gadget/udc/dummy_hcd.c return index; index 1168 drivers/usb/gadget/udc/dummy_hcd.c u32 index; index 1173 drivers/usb/gadget/udc/dummy_hcd.c index = dummy_get_ep_idx(desc); index 1174 drivers/usb/gadget/udc/dummy_hcd.c return (1 << index) & dum_hcd->stream_en_ep; index 2525 drivers/usb/gadget/udc/dummy_hcd.c unsigned int index; index 2533 drivers/usb/gadget/udc/dummy_hcd.c index = dummy_get_ep_idx(&eps[i]->desc); index 2534 drivers/usb/gadget/udc/dummy_hcd.c if ((1 << index) & dum_hcd->stream_en_ep) { index 2553 drivers/usb/gadget/udc/dummy_hcd.c index = dummy_get_ep_idx(&eps[i]->desc); index 2554 drivers/usb/gadget/udc/dummy_hcd.c dum_hcd->stream_en_ep |= 1 << index; index 2571 drivers/usb/gadget/udc/dummy_hcd.c unsigned int index; index 2576 drivers/usb/gadget/udc/dummy_hcd.c index = dummy_get_ep_idx(&eps[i]->desc); index 2577 drivers/usb/gadget/udc/dummy_hcd.c if (!((1 << index) & dum_hcd->stream_en_ep)) { index 2584 drivers/usb/gadget/udc/dummy_hcd.c index = dummy_get_ep_idx(&eps[i]->desc); index 2585 drivers/usb/gadget/udc/dummy_hcd.c dum_hcd->stream_en_ep &= ~(1 << index); index 1913 drivers/usb/gadget/udc/fsl_qe_udc.c static void ch9setaddress(struct qe_udc *udc, u16 value, u16 index, index 1935 drivers/usb/gadget/udc/fsl_qe_udc.c u16 index, u16 length) index 1952 drivers/usb/gadget/udc/fsl_qe_udc.c int pipe = index & USB_ENDPOINT_NUMBER_MASK; index 1961 drivers/usb/gadget/udc/fsl_qe_udc.c if (index & USB_DIR_IN) { index 1316 drivers/usb/gadget/udc/fsl_udc_core.c static void ch9setaddress(struct fsl_udc *udc, u16 value, u16 index, u16 length) index 1331 drivers/usb/gadget/udc/fsl_udc_core.c u16 index, u16 length) index 1352 drivers/usb/gadget/udc/fsl_udc_core.c target_ep = get_ep_by_pipe(udc, get_pipe_by_windex(index)); index 2316 drivers/usb/gadget/udc/fsl_udc_core.c static int struct_ep_setup(struct fsl_udc *udc, unsigned char index, index 2319 drivers/usb/gadget/udc/fsl_udc_core.c struct fsl_ep *ep = &udc->eps[index]; index 2328 drivers/usb/gadget/udc/fsl_udc_core.c if (index == 0) { index 2336 drivers/usb/gadget/udc/fsl_udc_core.c if (index & 1) index 2353 drivers/usb/gadget/udc/fsl_udc_core.c ep->qh = &udc->ep_qh[index]; index 105 drivers/usb/gadget/udc/gr_udc.c u16 value, u16 index, u16 length) index 108 drivers/usb/gadget/udc/gr_udc.c type, request, value, index, length); index 116 drivers/usb/gadget/udc/gr_udc.c u16 value, u16 index, u16 length) {} index 887 drivers/usb/gadget/udc/gr_udc.c u16 value, u16 index) index 916 drivers/usb/gadget/udc/gr_udc.c test = index >> 8; index 945 drivers/usb/gadget/udc/gr_udc.c u16 value, u16 index) index 979 drivers/usb/gadget/udc/gr_udc.c u16 value, u16 index) index 984 drivers/usb/gadget/udc/gr_udc.c u8 epnum = index & USB_ENDPOINT_NUMBER_MASK; index 985 drivers/usb/gadget/udc/gr_udc.c u8 is_in = index & USB_ENDPOINT_DIR_MASK; index 1053 drivers/usb/gadget/udc/gr_udc.c u16 index; index 1093 drivers/usb/gadget/udc/gr_udc.c index = le16_to_cpu(u.ctrl.wIndex); index 1096 drivers/usb/gadget/udc/gr_udc.c gr_dbgprint_devreq(dev, type, request, value, index, length); index 1111 drivers/usb/gadget/udc/gr_udc.c value, index); index 1115 drivers/usb/gadget/udc/gr_udc.c value, index); index 1119 drivers/usb/gadget/udc/gr_udc.c value, index); index 115 drivers/usb/gadget/udc/mv_u3d_core.c static int mv_u3d_process_ep_req(struct mv_u3d *u3d, int index, index 124 drivers/usb/gadget/udc/mv_u3d_core.c direction = index % 2; index 125 drivers/usb/gadget/udc/mv_u3d_core.c ep_num = index / 2; index 134 drivers/usb/gadget/udc/mv_u3d_core.c u3d->eps[index].name); index 155 drivers/usb/gadget/udc/mv_u3d_core.c index >> 1, direction ? "SEND" : "RECV", index 122 drivers/usb/gadget/udc/mv_udc_core.c static int process_ep_req(struct mv_udc *udc, int index, index 133 drivers/usb/gadget/udc/mv_udc_core.c curr_dqh = &udc->ep_dqh[index]; index 134 drivers/usb/gadget/udc/mv_udc_core.c direction = index % 2; index 142 drivers/usb/gadget/udc/mv_udc_core.c udc->eps[index].name); index 165 drivers/usb/gadget/udc/mv_udc_core.c index >> 1, direction ? "SEND" : "RECV", index 1503 drivers/usb/gadget/udc/mv_udc_core.c static void mv_udc_testmode(struct mv_udc *udc, u16 index) index 1505 drivers/usb/gadget/udc/mv_udc_core.c if (index <= TEST_FORCE_EN) { index 1506 drivers/usb/gadget/udc/mv_udc_core.c udc->test_mode = index; index 1511 drivers/usb/gadget/udc/mv_udc_core.c "This test mode(%d) is not supported\n", index); index 3071 drivers/usb/gadget/udc/net2280.c u32 index; index 3074 drivers/usb/gadget/udc/net2280.c for (index = 0; index < ARRAY_SIZE(ep_bit); index++) { index 3075 drivers/usb/gadget/udc/net2280.c bit = BIT(ep_bit[index]); index 3085 drivers/usb/gadget/udc/net2280.c handle_ep_small(&dev->ep[index]); index 24 drivers/usb/gadget/udc/net2280.h static inline u32 get_idx_reg(struct net2280_regs __iomem *regs, u32 index) index 26 drivers/usb/gadget/udc/net2280.h writel(index, ®s->idxaddr); index 32 drivers/usb/gadget/udc/net2280.h set_idx_reg(struct net2280_regs __iomem *regs, u32 index, u32 value) index 34 drivers/usb/gadget/udc/net2280.h writel(index, ®s->idxaddr); index 332 drivers/usb/gadget/udc/pxa27x_udc.c int index = EPIDX(ep); index 336 drivers/usb/gadget/udc/pxa27x_udc.c if (index < 16) index 337 drivers/usb/gadget/udc/pxa27x_udc.c udc_writel(udc, UDCICR0, udcicr0 | (3 << (index * 2))); index 339 drivers/usb/gadget/udc/pxa27x_udc.c udc_writel(udc, UDCICR1, udcicr1 | (3 << ((index - 16) * 2))); index 349 drivers/usb/gadget/udc/pxa27x_udc.c int index = EPIDX(ep); index 353 drivers/usb/gadget/udc/pxa27x_udc.c if (index < 16) index 354 drivers/usb/gadget/udc/pxa27x_udc.c udc_writel(udc, UDCICR0, udcicr0 & ~(3 << (index * 2))); index 356 drivers/usb/gadget/udc/pxa27x_udc.c udc_writel(udc, UDCICR1, udcicr1 & ~(3 << ((index - 16) * 2))); index 1982 drivers/usb/gadget/udc/udc-xilinx.c u8 index; index 2021 drivers/usb/gadget/udc/udc-xilinx.c for (index = 1; index < 8; index++) { index 2024 drivers/usb/gadget/udc/udc-xilinx.c (index - 1))) || (intrstatus & index 2026 drivers/usb/gadget/udc/udc-xilinx.c (index - 1)))); index 2028 drivers/usb/gadget/udc/udc-xilinx.c xudc_nonctrl_ep_handler(udc, index, index 131 drivers/usb/host/ehci-dbg.c itd->index[0], itd->index[1], itd->index[2], index 132 drivers/usb/host/ehci-dbg.c itd->index[3], itd->index[4], itd->index[5], index 133 drivers/usb/host/ehci-dbg.c itd->index[6], itd->index[7]); index 570 drivers/usb/host/ehci-hub.c int index, index 584 drivers/usb/host/ehci-hub.c index+1); index 589 drivers/usb/host/ehci-hub.c index + 1); index 601 drivers/usb/host/ehci-hub.c index + 1); index 1686 drivers/usb/host/ehci-sched.c itd->index[i] = -1; index 1696 drivers/usb/host/ehci-sched.c unsigned index, index 1700 drivers/usb/host/ehci-sched.c struct ehci_iso_packet *uf = &iso_sched->packet[index]; index 1706 drivers/usb/host/ehci-sched.c itd->index[uframe] = index; index 1842 drivers/usb/host/ehci-sched.c if (likely(itd->index[uframe] == -1)) index 1844 drivers/usb/host/ehci-sched.c urb_index = itd->index[uframe]; index 2115 drivers/usb/host/ehci-sched.c unsigned index index 2118 drivers/usb/host/ehci-sched.c struct ehci_iso_packet *uf = &iso_sched->packet[index]; index 2135 drivers/usb/host/ehci-sched.c sitd->index = index; index 2233 drivers/usb/host/ehci-sched.c urb_index = sitd->index; index 15 drivers/usb/host/ehci-sysfs.c int nports, index, n; index 22 drivers/usb/host/ehci-sysfs.c for (index = 0; index < nports; ++index) { index 23 drivers/usb/host/ehci-sysfs.c if (test_bit(index, &ehci->companion_ports)) { index 24 drivers/usb/host/ehci-sysfs.c n = scnprintf(ptr, count, "%d\n", index + 1); index 535 drivers/usb/host/ehci.h unsigned index[8]; /* in urb->iso_frame_desc */ index 578 drivers/usb/host/ehci.h unsigned index; index 86 drivers/usb/host/fhci-mem.c struct urb_priv *urb_priv, struct ed *ed, u16 index, index 101 drivers/usb/host/fhci-mem.c td->iso_index = index; index 107 drivers/usb/host/fhci-mem.c urb_priv->tds[index] = td; index 518 drivers/usb/host/fhci.h struct urb_priv *urb_priv, struct ed *ed, u16 index, index 171 drivers/usb/host/fotg210-hcd.c itd->index[0], itd->index[1], itd->index[2], index 172 drivers/usb/host/fotg210-hcd.c itd->index[3], itd->index[4], itd->index[5], index 173 drivers/usb/host/fotg210-hcd.c itd->index[6], itd->index[7]); index 1373 drivers/usb/host/fotg210-hcd.c static int check_reset_complete(struct fotg210_hcd *fotg210, int index, index 1383 drivers/usb/host/fotg210-hcd.c index + 1); index 1386 drivers/usb/host/fotg210-hcd.c index + 1); index 4298 drivers/usb/host/fotg210-hcd.c itd->index[i] = -1; index 4305 drivers/usb/host/fotg210-hcd.c unsigned index, u16 uframe) index 4307 drivers/usb/host/fotg210-hcd.c struct fotg210_iso_packet *uf = &iso_sched->packet[index]; index 4311 drivers/usb/host/fotg210-hcd.c itd->index[uframe] = index; index 4444 drivers/usb/host/fotg210-hcd.c if (likely(itd->index[uframe] == -1)) index 4446 drivers/usb/host/fotg210-hcd.c urb_index = itd->index[uframe]; index 570 drivers/usb/host/fotg210.h unsigned index[8]; /* in urb->iso_frame_desc */ index 377 drivers/usb/host/imx21-dbg.c const char *name, int index, struct debug_isoc_trace *trace) index 386 drivers/usb/host/imx21-dbg.c name, index, index 485 drivers/usb/host/isp116x-hcd.c int len, index, speed, byte_time; index 502 drivers/usb/host/isp116x-hcd.c isp116x->fmindex = index = index 504 drivers/usb/host/isp116x-hcd.c load = isp116x->load[index]; index 509 drivers/usb/host/isp116x-hcd.c isp116x->periodic[index]; index 156 drivers/usb/host/isp1362-hcd.c static inline int get_ptd_offset(struct isp1362_ep_queue *epq, u8 index) index 160 drivers/usb/host/isp1362-hcd.c if (index * epq->blk_size > epq->buf_size) { index 162 drivers/usb/host/isp1362-hcd.c __func__, epq->name, index, index 166 drivers/usb/host/isp1362-hcd.c offset = epq->buf_start + index * epq->blk_size; index 167 drivers/usb/host/isp1362-hcd.c DBG(3, "%s: %s PTD[%02x] # %04x\n", __func__, epq->name, index, offset); index 401 drivers/usb/host/isp1362-hcd.c int index; index 416 drivers/usb/host/isp1362-hcd.c index = ep->ptd_index; index 417 drivers/usb/host/isp1362-hcd.c if (index < 0) index 422 drivers/usb/host/isp1362-hcd.c index, ep->ptd_offset, epq->skip_map, 1 << index); index 425 drivers/usb/host/isp1362-hcd.c epq->skip_map |= 1 << index; index 661 drivers/usb/host/isp1362-hcd.c int index = ep->ptd_index; index 664 drivers/usb/host/isp1362-hcd.c if (index >= 0) { index 665 drivers/usb/host/isp1362-hcd.c DBG(1, "%s: remove PTD[%d] $%04x\n", __func__, index, ep->ptd_offset); index 716 drivers/usb/host/isp1362-hcd.c int index; index 719 drivers/usb/host/isp1362-hcd.c index = claim_ptd_buffers(epq, ep, ep->length); index 720 drivers/usb/host/isp1362-hcd.c if (index == -ENOMEM) { index 723 drivers/usb/host/isp1362-hcd.c return index; index 724 drivers/usb/host/isp1362-hcd.c } else if (index == -EOVERFLOW) { index 728 drivers/usb/host/isp1362-hcd.c return index; index 730 drivers/usb/host/isp1362-hcd.c BUG_ON(index < 0); index 952 drivers/usb/host/isp1362-hcd.c int index = ep->ptd_index; index 955 drivers/usb/host/isp1362-hcd.c index, ep->ptd_offset); index 957 drivers/usb/host/isp1362-hcd.c BUG_ON(index < 0); index 958 drivers/usb/host/isp1362-hcd.c if (__test_and_clear_bit(index, &done_map)) { index 960 drivers/usb/host/isp1362-hcd.c epq->free_ptd = index; index 1694 drivers/usb/host/max3421-hcd.c max3421_hub_control(struct usb_hcd *hcd, u16 type_req, u16 value, u16 index, index 1738 drivers/usb/host/max3421-hcd.c if (index != 1) { index 1782 drivers/usb/host/max3421-hcd.c type_req, value, index, length); index 33 drivers/usb/host/ohci-at91.c #define valid_port(index) ((index) >= 0 && (index) < AT91_MAX_USBH_PORTS) index 34 drivers/usb/host/ohci-at91.c #define at91_for_each_port(index) \ index 35 drivers/usb/host/ohci-at91.c for ((index) = 0; (index) < AT91_MAX_USBH_PORTS; (index)++) index 263 drivers/usb/host/ohci-dbg.c td->urb, td->index, index 518 drivers/usb/host/ohci-q.c struct urb *urb, int index) index 538 drivers/usb/host/ohci-q.c if (index != (urb_priv->length - 1) index 543 drivers/usb/host/ohci-q.c td_pt = urb_priv->td [index]; index 546 drivers/usb/host/ohci-q.c td = urb_priv->td [index] = urb_priv->ed->dummy; index 551 drivers/usb/host/ohci-q.c td->index = index; index 778 drivers/usb/host/ohci-q.c dlen = urb->iso_frame_desc [td->index].length; index 786 drivers/usb/host/ohci-q.c urb->iso_frame_desc [td->index].actual_length = dlen; index 787 drivers/usb/host/ohci-q.c urb->iso_frame_desc [td->index].status = cc_to_error [cc]; index 792 drivers/usb/host/ohci-q.c urb, td, 1 + td->index, dlen, cc); index 812 drivers/usb/host/ohci-q.c if ((type != PIPE_CONTROL || td->index != 0) && tdBE != 0) { index 824 drivers/usb/host/ohci-q.c urb, td, 1 + td->index, cc, index 130 drivers/usb/host/ohci.h __u8 index; index 675 drivers/usb/host/ohci.h const struct td *td, int index) index 678 drivers/usb/host/ohci.h &td->hwPSW[index ^ 1] : &td->hwPSW[index]); index 682 drivers/usb/host/ohci.h const struct td *td, int index) index 684 drivers/usb/host/ohci.h return hc16_to_cpup(ohci, ohci_hwPSWp(ohci, td, index)); index 848 drivers/usb/host/oxu210hp-hcd.c static int check_reset_complete(struct oxu_hcd *oxu, int index, index 852 drivers/usb/host/oxu210hp-hcd.c oxu->reset_done[index] = 0; index 859 drivers/usb/host/oxu210hp-hcd.c index+1); index 862 drivers/usb/host/oxu210hp-hcd.c oxu_dbg(oxu, "port %d high speed\n", index + 1); index 962 drivers/usb/host/oxu210hp-hcd.c int index; index 966 drivers/usb/host/oxu210hp-hcd.c index = (qtd->buffer - (void *) &oxu->mem->db_pool[0]) index 968 drivers/usb/host/oxu210hp-hcd.c oxu->db_used[index] = 0; index 988 drivers/usb/host/oxu210hp-hcd.c int index; index 995 drivers/usb/host/oxu210hp-hcd.c index = qtd - &oxu->mem->qtd_pool[0]; index 996 drivers/usb/host/oxu210hp-hcd.c oxu->qtd_used[index] = 0; index 1033 drivers/usb/host/oxu210hp-hcd.c int index; index 1037 drivers/usb/host/oxu210hp-hcd.c index = qh - &oxu->mem->qh_pool[0]; index 1038 drivers/usb/host/oxu210hp-hcd.c oxu->qh_used[index] = 0; index 1109 drivers/usb/host/oxu210hp-hcd.c int index; index 1113 drivers/usb/host/oxu210hp-hcd.c index = murb - &oxu->murb_pool[0]; index 1114 drivers/usb/host/oxu210hp-hcd.c oxu->murb_used[index] = 0; index 661 drivers/usb/host/sl811-hcd.c unsigned index; index 663 drivers/usb/host/sl811-hcd.c index = sl811->frame++ % (PERIODIC_SIZE - 1); index 674 drivers/usb/host/sl811-hcd.c if (sl811->periodic[index]) index 675 drivers/usb/host/sl811-hcd.c sl811->next_periodic = sl811->periodic[index]; index 144 drivers/usb/host/xhci-debugfs.c int index = 0; index 157 drivers/usb/host/xhci-debugfs.c cap_name, index); index 159 drivers/usb/host/xhci-debugfs.c index++; index 569 drivers/usb/host/xhci-hub.c u16 index, bool on, unsigned long *flags) index 576 drivers/usb/host/xhci-hub.c port = rhub->ports[index]; index 580 drivers/usb/host/xhci-hub.c hcd->self.busnum, index + 1, on ? "ON" : "OFF", temp); index 595 drivers/usb/host/xhci-hub.c index); index 598 drivers/usb/host/xhci-hub.c index, on); index 130 drivers/usb/host/xhci-rcar.c int retval, index, j, time; index 158 drivers/usb/host/xhci-rcar.c for (index = 0; index < fw->size; index += 4) { index 161 drivers/usb/host/xhci-rcar.c if ((j + index) < fw->size) index 162 drivers/usb/host/xhci-rcar.c data |= fw->data[index + j] << (8 * j); index 3644 drivers/usb/host/xhci-ring.c struct urb *urb, int index) index 3651 drivers/usb/host/xhci-ring.c start_frame = urb->start_frame + index * urb->interval; index 3653 drivers/usb/host/xhci-ring.c start_frame = (urb->start_frame + index * urb->interval) >> 3; index 3689 drivers/usb/host/xhci-ring.c __func__, index, readl(&xhci->run_regs->microframe_index), index 3704 drivers/usb/host/xhci-ring.c if (index == 0) { index 3718 drivers/usb/host/xhci-ring.c start_frame, current_frame_id, index, index 1286 drivers/usb/host/xhci.c unsigned int index; index 1288 drivers/usb/host/xhci.c index = (unsigned int) (usb_endpoint_num(desc)*2); index 1290 drivers/usb/host/xhci.c index = (unsigned int) (usb_endpoint_num(desc)*2) + index 1292 drivers/usb/host/xhci.c return index; index 1788 drivers/usb/isp1760/isp1760-hcd.c static int check_reset_complete(struct usb_hcd *hcd, int index, index 1799 drivers/usb/isp1760/isp1760-hcd.c index + 1); index 1807 drivers/usb/isp1760/isp1760-hcd.c index + 1); index 63 drivers/usb/isp1760/isp1760-udc.c u16 index) index 67 drivers/usb/isp1760/isp1760-udc.c if (index == 0) index 71 drivers/usb/isp1760/isp1760-udc.c if (udc->ep[i].addr == index) index 537 drivers/usb/isp1760/isp1760-udc.c u16 index = le16_to_cpu(req->wIndex); index 544 drivers/usb/isp1760/isp1760-udc.c ep = isp1760_udc_find_ep(udc, index); index 581 drivers/usb/isp1760/isp1760-udc.c u16 index = le16_to_cpu(req->wIndex); index 588 drivers/usb/isp1760/isp1760-udc.c ep = isp1760_udc_find_ep(udc, index); index 51 drivers/usb/misc/cytherm.c unsigned char value, unsigned char index, index 58 drivers/usb/misc/cytherm.c index, buf, size, index 58 drivers/usb/misc/idmouse.c #define ftip_command(dev, command, value, index) \ index 60 drivers/usb/misc/idmouse.c USB_TYPE_VENDOR | USB_RECIP_ENDPOINT | USB_DIR_OUT, value, index, NULL, 0, 1000) index 183 drivers/usb/misc/sisusbvga/sisusb.c static void sisusb_free_outbuf(struct sisusb_usb_data *sisusb, int index) index 185 drivers/usb/misc/sisusbvga/sisusb.c if ((index >= 0) && (index < sisusb->numobufs)) index 186 drivers/usb/misc/sisusbvga/sisusb.c sisusb->urbstatus[index] &= ~SU_URB_ALLOC; index 213 drivers/usb/misc/sisusbvga/sisusb.c static int sisusb_bulkout_msg(struct sisusb_usb_data *sisusb, int index, index 217 drivers/usb/misc/sisusbvga/sisusb.c struct urb *urb = sisusb->sisurbout[index]; index 225 drivers/usb/misc/sisusbvga/sisusb.c &sisusb->urbout_context[index]); index 231 drivers/usb/misc/sisusbvga/sisusb.c sisusb->urbout_context[index].actual_length = (timeout) ? index 235 drivers/usb/misc/sisusbvga/sisusb.c sisusb->urbstatus[index] |= SU_URB_BUSY; index 243 drivers/usb/misc/sisusbvga/sisusb.c (!(sisusb->urbstatus[index] & SU_URB_BUSY)), index 245 drivers/usb/misc/sisusbvga/sisusb.c if (sisusb->urbstatus[index] & SU_URB_BUSY) { index 330 drivers/usb/misc/sisusbvga/sisusb.c char *kernbuffer, const char __user *userbuffer, int index, index 355 drivers/usb/misc/sisusbvga/sisusb.c index = -1; index 365 drivers/usb/misc/sisusbvga/sisusb.c if (index < 0) index 366 drivers/usb/misc/sisusbvga/sisusb.c index = sisusb_get_free_outbuf(sisusb); index 368 drivers/usb/misc/sisusbvga/sisusb.c if (index < 0) index 371 drivers/usb/misc/sisusbvga/sisusb.c buffer = sisusb->obuf[index]; index 393 drivers/usb/misc/sisusbvga/sisusb.c result = sisusb_bulkout_msg(sisusb, index, pipe, index 423 drivers/usb/misc/sisusbvga/sisusb.c index = -1; index 756 drivers/usb/misc/sisusbvga/sisusb.c int index, ssize_t *bytes_written) index 770 drivers/usb/misc/sisusbvga/sisusb.c kernbuffer = sisusb->obuf[index]; index 890 drivers/usb/misc/sisusbvga/sisusb.c NULL, NULL, index, index 934 drivers/usb/misc/sisusbvga/sisusb.c NULL, NULL, index, index 1214 drivers/usb/misc/sisusbvga/sisusb.c u8 index, u8 data) index 1218 drivers/usb/misc/sisusbvga/sisusb.c ret = sisusb_write_memio_byte(sisusb, SISUSB_TYPE_IO, port, index); index 1224 drivers/usb/misc/sisusbvga/sisusb.c u8 index, u8 *data) index 1228 drivers/usb/misc/sisusbvga/sisusb.c ret = sisusb_write_memio_byte(sisusb, SISUSB_TYPE_IO, port, index); index 1262 drivers/usb/misc/sisusbvga/sisusb.c u8 index, u8 myor) index 1264 drivers/usb/misc/sisusbvga/sisusb.c return sisusb_setidxregandor(sisusb, port, index, 0xff, myor); index 1582 drivers/usb/misc/sisusbvga/sisusb.c int index, u8 rankno, u8 chab, const u8 dramtype[][5], int bw) index 1589 drivers/usb/misc/sisusbvga/sisusb.c if ((rankno == 2) && (dramtype[index][0] == 2)) index 1592 drivers/usb/misc/sisusbvga/sisusb.c ranksize = dramtype[index][3] / 2 * bw / 32; index 72 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short index, unsigned short data) index 74 drivers/usb/misc/sisusbvga/sisusb_init.c sisusb_setidxreg(SiS_Pr->sisusb, port, index, data); index 85 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_GetReg(struct SiS_Private *SiS_Pr, unsigned long port, unsigned short index) index 89 drivers/usb/misc/sisusbvga/sisusb_init.c sisusb_getidxreg(SiS_Pr->sisusb, port, index, &data); index 106 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short index, unsigned short DataAND, index 109 drivers/usb/misc/sisusbvga/sisusb_init.c sisusb_setidxregandor(SiS_Pr->sisusb, port, index, DataAND, DataOR); index 114 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short index, unsigned short DataAND) index 116 drivers/usb/misc/sisusbvga/sisusb_init.c sisusb_setidxregand(SiS_Pr->sisusb, port, index, DataAND); index 121 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short index, unsigned short DataOR) index 123 drivers/usb/misc/sisusbvga/sisusb_init.c sisusb_setidxregor(SiS_Pr->sisusb, port, index, DataOR); index 299 drivers/usb/misc/sisusbvga/sisusb_init.c short index; index 307 drivers/usb/misc/sisusbvga/sisusb_init.c index = (modeflag & ModeTypeMask) - ModeEGA; index 308 drivers/usb/misc/sisusbvga/sisusb_init.c if (index < 0) index 309 drivers/usb/misc/sisusbvga/sisusb_init.c index = 0; index 310 drivers/usb/misc/sisusbvga/sisusb_init.c return ColorDepth[index]; index 461 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short rrti, i, index, temp; index 466 drivers/usb/misc/sisusbvga/sisusb_init.c index = SiS_GetReg(SiS_Pr, SiS_Pr->SiS_P3d4, 0x33) & 0x0F; index 467 drivers/usb/misc/sisusbvga/sisusb_init.c if (index > 0) index 468 drivers/usb/misc/sisusbvga/sisusb_init.c index--; index 484 drivers/usb/misc/sisusbvga/sisusb_init.c index--; index 485 drivers/usb/misc/sisusbvga/sisusb_init.c } while (index != 0xFFFF); index 512 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned char index; index 519 drivers/usb/misc/sisusbvga/sisusb_init.c index = SiS_Pr->SiS_RefIndex[rrti].Ext_CRT1CRTC; index 523 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_Pr->SiS_CRT1Table[index].CR[i]); index 527 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_Pr->SiS_CRT1Table[index].CR[i]); index 531 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_Pr->SiS_CRT1Table[index].CR[i]); index 535 drivers/usb/misc/sisusbvga/sisusb_init.c SiS_Pr->SiS_CRT1Table[index].CR[i]); index 538 drivers/usb/misc/sisusbvga/sisusb_init.c temp = SiS_Pr->SiS_CRT1Table[index].CR[16] & 0xE0; index 541 drivers/usb/misc/sisusbvga/sisusb_init.c temp = ((SiS_Pr->SiS_CRT1Table[index].CR[16]) & 0x01) << 5; index 588 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short index = SiS_Pr->SiS_RefIndex[rrti].Ext_CRTVCLK; index 589 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short clka = SiS_Pr->SiS_VCLKData[index].SR2B; index 590 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short clkb = SiS_Pr->SiS_VCLKData[index].SR2C; index 632 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short data = 0, VCLK = 0, index = 0; index 635 drivers/usb/misc/sisusbvga/sisusb_init.c index = SiS_Pr->SiS_RefIndex[rrti].Ext_CRTVCLK; index 636 drivers/usb/misc/sisusbvga/sisusb_init.c VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; index 818 drivers/usb/misc/sisusbvga/sisusb_init.h u8 index, u8 data); index 820 drivers/usb/misc/sisusbvga/sisusb_init.h u8 index, u8 * data); index 824 drivers/usb/misc/sisusbvga/sisusb_init.h u8 index, u8 myor); index 123 drivers/usb/misc/uss720.c __u8 request, __u8 requesttype, __u16 value, __u16 index, index 157 drivers/usb/misc/uss720.c rq->dr->wIndex = cpu_to_le16(index); index 83 drivers/usb/mtu3/mtu3_gadget_ep0.c u16 index = 0; index 90 drivers/usb/mtu3/mtu3_gadget_ep0.c index = len & ~0x03; index 93 drivers/usb/mtu3/mtu3_gadget_ep0.c writew(*(u16 *)&src[index], fifo); index 94 drivers/usb/mtu3/mtu3_gadget_ep0.c index += 2; index 97 drivers/usb/mtu3/mtu3_gadget_ep0.c writeb(src[index], fifo); index 104 drivers/usb/mtu3/mtu3_gadget_ep0.c u16 index = 0; index 111 drivers/usb/mtu3/mtu3_gadget_ep0.c index = len & ~0x03; index 115 drivers/usb/mtu3/mtu3_gadget_ep0.c memcpy(&dst[index], &value, len & 0x3); index 378 drivers/usb/mtu3/mtu3_gadget_ep0.c u16 index; index 382 drivers/usb/mtu3/mtu3_gadget_ep0.c index = le16_to_cpu(setup->wIndex); index 400 drivers/usb/mtu3/mtu3_gadget_ep0.c epnum = index & USB_ENDPOINT_NUMBER_MASK; index 405 drivers/usb/mtu3/mtu3_gadget_ep0.c is_in = index & USB_DIR_IN; index 163 drivers/usb/musb/cppi_dma.c controller->tx[i].index = i; index 167 drivers/usb/musb/cppi_dma.c controller->rx[i].index = i; index 285 drivers/usb/musb/cppi_dma.c u8 index; index 295 drivers/usb/musb/cppi_dma.c index = ep->epnum - 1; index 301 drivers/usb/musb/cppi_dma.c if (index >= ARRAY_SIZE(controller->tx)) { index 302 drivers/usb/musb/cppi_dma.c musb_dbg(musb, "no %cX%d CPPI channel", 'T', index); index 305 drivers/usb/musb/cppi_dma.c cppi_ch = controller->tx + index; index 307 drivers/usb/musb/cppi_dma.c if (index >= ARRAY_SIZE(controller->rx)) { index 308 drivers/usb/musb/cppi_dma.c musb_dbg(musb, "no %cX%d CPPI channel", 'R', index); index 311 drivers/usb/musb/cppi_dma.c cppi_ch = controller->rx + index; index 320 drivers/usb/musb/cppi_dma.c index, transmit ? 'T' : 'R', cppi_ch); index 325 drivers/usb/musb/cppi_dma.c musb_dbg(musb, "Allocate CPPI%d %cX", index, transmit ? 'T' : 'R'); index 343 drivers/usb/musb/cppi_dma.c core_rxirq_enable(tibase, c->index + 1); index 357 drivers/usb/musb/cppi_dma.c musb_ep_select(base, c->index + 1); index 363 drivers/usb/musb/cppi_dma.c c->index, tag, index 365 drivers/usb/musb/cppi_dma.c DAVINCI_RXCPPI_BUFCNT0_REG + 4 * c->index), index 387 drivers/usb/musb/cppi_dma.c musb_ep_select(base, c->index + 1); index 393 drivers/usb/musb/cppi_dma.c c->index, tag, index 416 drivers/usb/musb/cppi_dma.c u32 temp = 1 << (c->index); index 464 drivers/usb/musb/cppi_dma.c val = tmp & ~((0x3) << (rx->index * 2)); index 472 drivers/usb/musb/cppi_dma.c val |= ((0x3) << (rx->index * 2)); index 476 drivers/usb/musb/cppi_dma.c val |= ((0x1) << (rx->index * 2)); index 595 drivers/usb/musb/cppi_dma.c tx->index, index 817 drivers/usb/musb/cppi_dma.c rx->index, maxpacket, index 823 drivers/usb/musb/cppi_dma.c DAVINCI_RXCPPI_BUFCNT0_REG + (rx->index * 4)) index 866 drivers/usb/musb/cppi_dma.c WARNING("rx dma%d -- no BDs? need %d\n", rx->index, n_bds); index 869 drivers/usb/musb/cppi_dma.c WARNING("rx dma%d -- only %d of %d BDs\n", rx->index, i, n_bds); index 895 drivers/usb/musb/cppi_dma.c core_rxirq_enable(tibase, rx->index + 1); index 910 drivers/usb/musb/cppi_dma.c DAVINCI_RXCPPI_BUFCNT0_REG + (rx->index * 4)) index 915 drivers/usb/musb/cppi_dma.c DAVINCI_RXCPPI_BUFCNT0_REG + (rx->index * 4), index 919 drivers/usb/musb/cppi_dma.c DAVINCI_RXCPPI_BUFCNT0_REG + (rx->index * 4), index 923 drivers/usb/musb/cppi_dma.c DAVINCI_RXCPPI_BUFCNT0_REG + (rx->index * 4)) index 927 drivers/usb/musb/cppi_dma.c rx->index, i, n_bds); index 929 drivers/usb/musb/cppi_dma.c DAVINCI_RXCPPI_BUFCNT0_REG + (rx->index * 4), index 965 drivers/usb/musb/cppi_dma.c cppi_ch->index); index 971 drivers/usb/musb/cppi_dma.c cppi_ch->index); index 977 drivers/usb/musb/cppi_dma.c cppi_ch->index); index 1100 drivers/usb/musb/cppi_dma.c musb_ep_select(cppi->mregs, rx->index + 1); index 1104 drivers/usb/musb/cppi_dma.c rx->index, index 1148 drivers/usb/musb/cppi_dma.c int i, index; index 1169 drivers/usb/musb/cppi_dma.c for (index = 0; tx; tx = tx >> 1, index++) { index 1178 drivers/usb/musb/cppi_dma.c tx_ch = cppi->tx + index; index 1246 drivers/usb/musb/cppi_dma.c musb_dma_completion(musb, index + 1, 1); index 1259 drivers/usb/musb/cppi_dma.c for (index = 0; rx; rx = rx >> 1, index++) { index 1264 drivers/usb/musb/cppi_dma.c rx_ch = cppi->rx + index; index 1267 drivers/usb/musb/cppi_dma.c if (!cppi_rx_scan(cppi, index)) index 1283 drivers/usb/musb/cppi_dma.c core_rxirq_disable(tibase, index + 1); index 1284 drivers/usb/musb/cppi_dma.c musb_dma_completion(musb, index + 1, 0); index 1415 drivers/usb/musb/cppi_dma.c musb_ep_select(mbase, cppi_ch->index + 1); index 1427 drivers/usb/musb/cppi_dma.c musb_writel(tibase, DAVINCI_TXCPPI_TEAR_REG, cppi_ch->index); index 1469 drivers/usb/musb/cppi_dma.c core_rxirq_disable(tibase, cppi_ch->index + 1); index 1474 drivers/usb/musb/cppi_dma.c value &= ~((0x3) << (cppi_ch->index * 2)); index 1503 drivers/usb/musb/cppi_dma.c cppi_rx_scan(controller, cppi_ch->index); index 82 drivers/usb/musb/cppi_dma.h u8 index; index 296 drivers/usb/musb/musb_core.c u16 index = 0; index 301 drivers/usb/musb/musb_core.c iowrite32_rep(fifo, src + index, len >> 2); index 302 drivers/usb/musb/musb_core.c index += len & ~0x03; index 305 drivers/usb/musb/musb_core.c __raw_writew(*(u16 *)&src[index], fifo); index 306 drivers/usb/musb/musb_core.c index += 2; index 310 drivers/usb/musb/musb_core.c iowrite16_rep(fifo, src + index, len >> 1); index 311 drivers/usb/musb/musb_core.c index += len & ~0x01; index 315 drivers/usb/musb/musb_core.c __raw_writeb(src[index], fifo); index 338 drivers/usb/musb/musb_core.c u16 index = 0; index 344 drivers/usb/musb/musb_core.c index = len & ~0x03; index 347 drivers/usb/musb/musb_core.c *(u16 *)&dst[index] = __raw_readw(fifo); index 348 drivers/usb/musb/musb_core.c index += 2; index 353 drivers/usb/musb/musb_core.c index = len & ~0x01; index 357 drivers/usb/musb/musb_core.c dst[index] = __raw_readb(fifo); index 2511 drivers/usb/musb/musb_core.c musb->context.index = musb_readb(musb_base, MUSB_INDEX); index 2650 drivers/usb/musb/musb_core.c musb_writeb(musb_base, MUSB_INDEX, musb->context.index); index 257 drivers/usb/musb/musb_core.h u8 index, testmode; index 546 drivers/usb/phy/phy.c const char *phandle, u8 index) index 556 drivers/usb/phy/phy.c node = of_parse_phandle(dev->of_node, phandle, index); index 104 drivers/usb/serial/ch341.c u16 value, u16 index) index 109 drivers/usb/serial/ch341.c request, value, index); index 113 drivers/usb/serial/ch341.c value, index, NULL, 0, DEFAULT_TIMEOUT); index 121 drivers/usb/serial/ch341.c u8 request, u16 value, u16 index, index 127 drivers/usb/serial/ch341.c request, value, index, bufsize); index 131 drivers/usb/serial/ch341.c value, index, buf, bufsize, DEFAULT_TIMEOUT); index 109 drivers/usb/serial/console.c port = usb_serial_port_get_by_minor(co->index); index 112 drivers/usb/serial/console.c pr_err("No USB device connected to ttyUSB%i\n", co->index); index 140 drivers/usb/serial/console.c tty->index = co->index; index 243 drivers/usb/serial/console.c static struct tty_driver *usb_console_device(struct console *co, int *index) index 250 drivers/usb/serial/console.c *index = co->index; index 260 drivers/usb/serial/console.c .index = -1, index 731 drivers/usb/serial/f81534.c static int f81534_find_config_idx(struct usb_serial *serial, u8 *index) index 746 drivers/usb/serial/f81534.c *index = 0; index 748 drivers/usb/serial/f81534.c *index = F81534_CUSTOM_NO_CUSTOM_DATA; index 843 drivers/usb/serial/f81534.c int index = 0; index 928 drivers/usb/serial/f81534.c serial_priv->tty_idx[i] = index++; index 1376 drivers/usb/serial/ftdi_sio.c u16 index; index 1382 drivers/usb/serial/ftdi_sio.c index = (u16)(index_value >> 16); index 1387 drivers/usb/serial/ftdi_sio.c index = (u16)((index << 8) | priv->interface); index 1394 drivers/usb/serial/ftdi_sio.c value, index, index 2648 drivers/usb/serial/ftdi_sio.c u16 value, index; index 2784 drivers/usb/serial/ftdi_sio.c index = FTDI_SIO_RTS_CTS_HS; index 2787 drivers/usb/serial/ftdi_sio.c index = FTDI_SIO_XON_XOFF_HS; index 2791 drivers/usb/serial/ftdi_sio.c index = FTDI_SIO_DISABLE_FLOW_CTRL; index 2794 drivers/usb/serial/ftdi_sio.c index |= priv->interface; index 2799 drivers/usb/serial/ftdi_sio.c value, index, NULL, 0, WDR_TIMEOUT); index 301 drivers/usb/serial/generic.c int index, gfp_t mem_flags) index 305 drivers/usb/serial/generic.c if (!test_and_clear_bit(index, &port->read_urbs_free)) index 308 drivers/usb/serial/generic.c dev_dbg(&port->dev, "%s - urb %d\n", __func__, index); index 310 drivers/usb/serial/generic.c res = usb_submit_urb(port->read_urbs[index], mem_flags); index 317 drivers/usb/serial/generic.c set_bit(index, &port->read_urbs_free); index 259 drivers/usb/serial/io_ti.c __u16 value, __u16 index, u8 *data, int size) index 265 drivers/usb/serial/io_ti.c value, index, data, size, 1000); index 277 drivers/usb/serial/io_ti.c u16 index, u8 *data, int size, int timeout) index 283 drivers/usb/serial/io_ti.c value, index, data, size, timeout); index 201 drivers/usb/serial/mos7720.c __u16 index = get_reg_index(reg); index 204 drivers/usb/serial/mos7720.c index, NULL, 0, MOS_WDR_TIMEOUT); index 223 drivers/usb/serial/mos7720.c __u16 index = get_reg_index(reg); index 233 drivers/usb/serial/mos7720.c index, buf, 1, MOS_WDR_TIMEOUT); index 213 drivers/usb/serial/mxuport.c u8 request, u16 value, u16 index, index 222 drivers/usb/serial/mxuport.c USB_RECIP_DEVICE), value, index, index 245 drivers/usb/serial/mxuport.c u16 value, u16 index, index 254 drivers/usb/serial/mxuport.c USB_RECIP_DEVICE), value, index, index 276 drivers/usb/serial/mxuport.c u8 request, u16 value, u16 index) index 278 drivers/usb/serial/mxuport.c return mxuport_send_ctrl_data_urb(serial, request, value, index, index 213 drivers/usb/serial/pl2303.c static int pl2303_vendor_write(struct usb_serial *serial, u16 value, u16 index) index 218 drivers/usb/serial/pl2303.c dev_dbg(dev, "%s - [%04x] = %02x\n", __func__, value, index); index 222 drivers/usb/serial/pl2303.c value, index, NULL, 0, 100); index 164 drivers/usb/serial/quatech2.c u16 index = ((u16) (lcr << 8) | (u16) (port_number)); index 168 drivers/usb/serial/quatech2.c divisor, index, NULL, 0, QT2_USB_TIMEOUT); index 172 drivers/usb/serial/quatech2.c u8 request, u16 data, u16 index) index 175 drivers/usb/serial/quatech2.c request, 0x40, data, index, index 57 drivers/usb/serial/spcp8x5.c u16 index; index 235 drivers/usb/serial/spcp8x5.c u16 index) index 246 drivers/usb/serial/spcp8x5.c value, index, NULL, 0, 100); index 247 drivers/usb/serial/spcp8x5.c dev_dbg(&port->dev, "value = %#x , index = %#x\n", value, index); index 67 drivers/usb/serial/ssu100.c u8 request, u16 data, u16 index) index 70 drivers/usb/serial/ssu100.c request, 0x40, data, index, index 178 drivers/usb/serial/usb-serial.c int idx = tty->index; index 1219 drivers/usb/storage/ene_ub6250.c u16 blk, index = 0; index 1231 drivers/usb/storage/ene_ub6250.c blk = be16_to_cpu(PageBuf[index]); index 1238 drivers/usb/storage/ene_ub6250.c index++; index 1565 drivers/usb/storage/ene_ub6250.c u32 count = 0, index = 0; index 1585 drivers/usb/storage/ene_ub6250.c index = (PhyBlock % 0x80) * 4; index 1587 drivers/usb/storage/ene_ub6250.c extdat.ovrflg = bbuf[index]; index 1588 drivers/usb/storage/ene_ub6250.c extdat.mngflg = bbuf[index+1]; index 1589 drivers/usb/storage/ene_ub6250.c extdat.logadr = memstick_logaddr(bbuf[index+2], index 1590 drivers/usb/storage/ene_ub6250.c bbuf[index+3]); index 1832 drivers/usb/storage/ene_ub6250.c static int ene_get_card_type(struct us_data *us, u16 index, void *buf) index 1842 drivers/usb/storage/ene_ub6250.c bcb->CDB[2] = (unsigned char)(index>>8); index 1843 drivers/usb/storage/ene_ub6250.c bcb->CDB[3] = (unsigned char)index; index 186 drivers/usb/storage/transport.c u8 request, u8 requesttype, u16 value, u16 index, index 192 drivers/usb/storage/transport.c request, requesttype, value, index, size); index 198 drivers/usb/storage/transport.c us->cr->wIndex = cpu_to_le16(index); index 323 drivers/usb/storage/transport.c u8 request, u8 requesttype, u16 value, u16 index, index 329 drivers/usb/storage/transport.c request, requesttype, value, index, size); index 335 drivers/usb/storage/transport.c us->cr->wIndex = cpu_to_le16(index); index 1338 drivers/usb/storage/transport.c u16 value, u16 index, void *data, u16 size) index 1349 drivers/usb/storage/transport.c request, requesttype, value, index, data, size, index 73 drivers/usb/storage/transport.h u8 request, u8 requesttype, u16 value, u16 index, index 78 drivers/usb/storage/transport.h u8 request, u8 requesttype, u16 value, u16 index, index 214 drivers/usb/typec/bus.c enum typec_plug_index index) index 218 drivers/usb/typec/bus.c if (port->plug[index]) { index 219 drivers/usb/typec/bus.c get_device(&port->plug[index]->adev.dev); index 220 drivers/usb/typec/bus.c return &port->plug[index]->adev; index 19 drivers/usb/typec/class.c enum typec_plug_index index; index 182 drivers/usb/typec/class.c partner->plug[plug->index] = altmode; index 201 drivers/usb/typec/class.c partner->plug[plug->index] = NULL; index 755 drivers/usb/typec/class.c sprintf(name, "plug%d", desc->index); index 758 drivers/usb/typec/class.c plug->index = desc->index; index 2074 drivers/usb/typec/tcpm/tcpm.c unsigned int max, op, pdo_max, index; index 2077 drivers/usb/typec/tcpm/tcpm.c index = rdo_index(rdo); index 2078 drivers/usb/typec/tcpm/tcpm.c if (!index || index > port->nr_src_pdo) index 2081 drivers/usb/typec/tcpm/tcpm.c pdo = port->src_pdo[index - 1]; index 2123 drivers/usb/typec/tcpm/tcpm.c port->op_vsafe5v = index == 1; index 802 drivers/usb/typec/ucsi/ucsi.c static int ucsi_register_port(struct ucsi *ucsi, int index) index 804 drivers/usb/typec/ucsi/ucsi.c struct ucsi_connector *con = &ucsi->connector[index]; index 813 drivers/usb/typec/ucsi/ucsi.c con->num = index + 1; index 50 drivers/usb/usbip/stub_rx.c __u16 index; index 54 drivers/usb/usbip/stub_rx.c index = le16_to_cpu(req->wIndex); index 59 drivers/usb/usbip/stub_rx.c usbip_dbg_stub_rx("reset_device_cmd, port %u\n", index); index 159 drivers/vfio/pci/vfio_pci.c dummy_res->index = bar; index 733 drivers/vfio/pci/vfio_pci.c switch (info.index) { index 735 drivers/vfio/pci/vfio_pci.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 741 drivers/vfio/pci/vfio_pci.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 742 drivers/vfio/pci/vfio_pci.c info.size = pci_resource_len(pdev, info.index); index 750 drivers/vfio/pci/vfio_pci.c if (vdev->bar_mmap_supported[info.index]) { index 752 drivers/vfio/pci/vfio_pci.c if (info.index == vdev->msix_bar) { index 766 drivers/vfio/pci/vfio_pci.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 770 drivers/vfio/pci/vfio_pci.c info.size = pci_resource_len(pdev, info.index); index 803 drivers/vfio/pci/vfio_pci.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 815 drivers/vfio/pci/vfio_pci.c if (info.index >= index 818 drivers/vfio/pci/vfio_pci.c info.index = array_index_nospec(info.index, index 822 drivers/vfio/pci/vfio_pci.c i = info.index - VFIO_PCI_NUM_REGIONS; index 824 drivers/vfio/pci/vfio_pci.c info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index); index 875 drivers/vfio/pci/vfio_pci.c if (info.argsz < minsz || info.index >= VFIO_PCI_NUM_IRQS) index 878 drivers/vfio/pci/vfio_pci.c switch (info.index) { index 892 drivers/vfio/pci/vfio_pci.c info.count = vfio_pci_get_irq_count(vdev, info.index); index 894 drivers/vfio/pci/vfio_pci.c if (info.index == VFIO_PCI_INTX_IRQ_INDEX) index 914 drivers/vfio/pci/vfio_pci.c max = vfio_pci_get_irq_count(vdev, hdr.index); index 930 drivers/vfio/pci/vfio_pci.c ret = vfio_pci_set_irqs_ioctl(vdev, hdr.flags, hdr.index, index 1148 drivers/vfio/pci/vfio_pci.c unsigned int index = VFIO_PCI_OFFSET_TO_INDEX(*ppos); index 1151 drivers/vfio/pci/vfio_pci.c if (index >= VFIO_PCI_NUM_REGIONS + vdev->num_regions) index 1154 drivers/vfio/pci/vfio_pci.c switch (index) { index 1169 drivers/vfio/pci/vfio_pci.c index -= VFIO_PCI_NUM_REGIONS; index 1170 drivers/vfio/pci/vfio_pci.c return vdev->region[index].ops->rw(vdev, buf, index 1199 drivers/vfio/pci/vfio_pci.c unsigned int index; index 1203 drivers/vfio/pci/vfio_pci.c index = vma->vm_pgoff >> (VFIO_PCI_OFFSET_SHIFT - PAGE_SHIFT); index 1209 drivers/vfio/pci/vfio_pci.c if (index >= VFIO_PCI_NUM_REGIONS) { index 1210 drivers/vfio/pci/vfio_pci.c int regnum = index - VFIO_PCI_NUM_REGIONS; index 1218 drivers/vfio/pci/vfio_pci.c if (index >= VFIO_PCI_ROM_REGION_INDEX) index 1220 drivers/vfio/pci/vfio_pci.c if (!vdev->bar_mmap_supported[index]) index 1223 drivers/vfio/pci/vfio_pci.c phys_len = PAGE_ALIGN(pci_resource_len(pdev, index)); index 1236 drivers/vfio/pci/vfio_pci.c if (!vdev->barmap[index]) { index 1238 drivers/vfio/pci/vfio_pci.c 1 << index, "vfio-pci"); index 1242 drivers/vfio/pci/vfio_pci.c vdev->barmap[index] = pci_iomap(pdev, index, 0); index 1243 drivers/vfio/pci/vfio_pci.c if (!vdev->barmap[index]) { index 1244 drivers/vfio/pci/vfio_pci.c pci_release_selected_regions(pdev, 1 << index); index 1251 drivers/vfio/pci/vfio_pci.c vma->vm_pgoff = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff; index 405 drivers/vfio/pci/vfio_pci_intrs.c unsigned index, unsigned start, index 432 drivers/vfio/pci/vfio_pci_intrs.c unsigned index, unsigned start, index 452 drivers/vfio/pci/vfio_pci_intrs.c unsigned index, unsigned start, index 495 drivers/vfio/pci/vfio_pci_intrs.c unsigned index, unsigned start, index 499 drivers/vfio/pci/vfio_pci_intrs.c bool msix = (index == VFIO_PCI_MSIX_IRQ_INDEX) ? true : false; index 501 drivers/vfio/pci/vfio_pci_intrs.c if (irq_is(vdev, index) && !count && (flags & VFIO_IRQ_SET_DATA_NONE)) { index 506 drivers/vfio/pci/vfio_pci_intrs.c if (!(irq_is(vdev, index) || is_irq_none(vdev))) index 513 drivers/vfio/pci/vfio_pci_intrs.c if (vdev->irq_type == index) index 528 drivers/vfio/pci/vfio_pci_intrs.c if (!irq_is(vdev, index) || start + count > vdev->num_ctx) index 601 drivers/vfio/pci/vfio_pci_intrs.c unsigned index, unsigned start, index 604 drivers/vfio/pci/vfio_pci_intrs.c if (index != VFIO_PCI_ERR_IRQ_INDEX || start != 0 || count > 1) index 612 drivers/vfio/pci/vfio_pci_intrs.c unsigned index, unsigned start, index 615 drivers/vfio/pci/vfio_pci_intrs.c if (index != VFIO_PCI_REQ_IRQ_INDEX || start != 0 || count > 1) index 623 drivers/vfio/pci/vfio_pci_intrs.c unsigned index, unsigned start, unsigned count, index 626 drivers/vfio/pci/vfio_pci_intrs.c int (*func)(struct vfio_pci_device *vdev, unsigned index, index 630 drivers/vfio/pci/vfio_pci_intrs.c switch (index) { index 676 drivers/vfio/pci/vfio_pci_intrs.c return func(vdev, index, start, count, flags, data); index 22 drivers/vfio/pci/vfio_pci_private.h #define VFIO_PCI_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_PCI_OFFSET_SHIFT) index 78 drivers/vfio/pci/vfio_pci_private.h int index; index 137 drivers/vfio/pci/vfio_pci_private.h uint32_t flags, unsigned index, index 334 drivers/vfio/platform/vfio_platform_common.c if (info.index >= vdev->num_regions) index 338 drivers/vfio/platform/vfio_platform_common.c info.offset = VFIO_PLATFORM_INDEX_TO_OFFSET(info.index); index 339 drivers/vfio/platform/vfio_platform_common.c info.size = vdev->regions[info.index].size; index 340 drivers/vfio/platform/vfio_platform_common.c info.flags = vdev->regions[info.index].flags; index 356 drivers/vfio/platform/vfio_platform_common.c if (info.index >= vdev->num_irqs) index 359 drivers/vfio/platform/vfio_platform_common.c info.flags = vdev->irqs[info.index].flags; index 360 drivers/vfio/platform/vfio_platform_common.c info.count = vdev->irqs[info.index].count; index 390 drivers/vfio/platform/vfio_platform_common.c ret = vfio_platform_set_irqs_ioctl(vdev, hdr.flags, hdr.index, index 463 drivers/vfio/platform/vfio_platform_common.c unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos); index 466 drivers/vfio/platform/vfio_platform_common.c if (index >= vdev->num_regions) index 469 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_READ)) index 472 drivers/vfio/platform/vfio_platform_common.c if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_MMIO) index 473 drivers/vfio/platform/vfio_platform_common.c return vfio_platform_read_mmio(&vdev->regions[index], index 475 drivers/vfio/platform/vfio_platform_common.c else if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_PIO) index 539 drivers/vfio/platform/vfio_platform_common.c unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos); index 542 drivers/vfio/platform/vfio_platform_common.c if (index >= vdev->num_regions) index 545 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE)) index 548 drivers/vfio/platform/vfio_platform_common.c if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_MMIO) index 549 drivers/vfio/platform/vfio_platform_common.c return vfio_platform_write_mmio(&vdev->regions[index], index 551 drivers/vfio/platform/vfio_platform_common.c else if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_PIO) index 580 drivers/vfio/platform/vfio_platform_common.c unsigned int index; index 582 drivers/vfio/platform/vfio_platform_common.c index = vma->vm_pgoff >> (VFIO_PLATFORM_OFFSET_SHIFT - PAGE_SHIFT); index 588 drivers/vfio/platform/vfio_platform_common.c if (index >= vdev->num_regions) index 595 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_MMAP)) index 598 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_READ) index 602 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE) index 608 drivers/vfio/platform/vfio_platform_common.c if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_MMIO) index 609 drivers/vfio/platform/vfio_platform_common.c return vfio_platform_mmap_mmio(vdev->regions[index], vma); index 611 drivers/vfio/platform/vfio_platform_common.c else if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_PIO) index 42 drivers/vfio/platform/vfio_platform_irq.c unsigned index, unsigned start, index 49 drivers/vfio/platform/vfio_platform_irq.c if (!(vdev->irqs[index].flags & VFIO_IRQ_INFO_MASKABLE)) index 56 drivers/vfio/platform/vfio_platform_irq.c return vfio_virqfd_enable((void *) &vdev->irqs[index], index 59 drivers/vfio/platform/vfio_platform_irq.c &vdev->irqs[index].mask, fd); index 61 drivers/vfio/platform/vfio_platform_irq.c vfio_virqfd_disable(&vdev->irqs[index].mask); index 66 drivers/vfio/platform/vfio_platform_irq.c vfio_platform_mask(&vdev->irqs[index]); index 72 drivers/vfio/platform/vfio_platform_irq.c vfio_platform_mask(&vdev->irqs[index]); index 102 drivers/vfio/platform/vfio_platform_irq.c unsigned index, unsigned start, index 109 drivers/vfio/platform/vfio_platform_irq.c if (!(vdev->irqs[index].flags & VFIO_IRQ_INFO_MASKABLE)) index 116 drivers/vfio/platform/vfio_platform_irq.c return vfio_virqfd_enable((void *) &vdev->irqs[index], index 119 drivers/vfio/platform/vfio_platform_irq.c &vdev->irqs[index].unmask, index 122 drivers/vfio/platform/vfio_platform_irq.c vfio_virqfd_disable(&vdev->irqs[index].unmask); index 127 drivers/vfio/platform/vfio_platform_irq.c vfio_platform_unmask(&vdev->irqs[index]); index 133 drivers/vfio/platform/vfio_platform_irq.c vfio_platform_unmask(&vdev->irqs[index]); index 172 drivers/vfio/platform/vfio_platform_irq.c static int vfio_set_trigger(struct vfio_platform_device *vdev, int index, index 175 drivers/vfio/platform/vfio_platform_irq.c struct vfio_platform_irq *irq = &vdev->irqs[index]; index 219 drivers/vfio/platform/vfio_platform_irq.c unsigned index, unsigned start, index 223 drivers/vfio/platform/vfio_platform_irq.c struct vfio_platform_irq *irq = &vdev->irqs[index]; index 226 drivers/vfio/platform/vfio_platform_irq.c if (vdev->irqs[index].flags & VFIO_IRQ_INFO_AUTOMASKED) index 232 drivers/vfio/platform/vfio_platform_irq.c return vfio_set_trigger(vdev, index, -1, handler); index 240 drivers/vfio/platform/vfio_platform_irq.c return vfio_set_trigger(vdev, index, fd, handler); index 257 drivers/vfio/platform/vfio_platform_irq.c uint32_t flags, unsigned index, unsigned start, index 260 drivers/vfio/platform/vfio_platform_irq.c int (*func)(struct vfio_platform_device *vdev, unsigned index, index 279 drivers/vfio/platform/vfio_platform_irq.c return func(vdev, index, start, count, flags, data); index 19 drivers/vfio/platform/vfio_platform_private.h #define VFIO_PLATFORM_INDEX_TO_OFFSET(index) \ index 20 drivers/vfio/platform/vfio_platform_private.h ((u64)(index) << VFIO_PLATFORM_OFFSET_SHIFT) index 90 drivers/vfio/platform/vfio_platform_private.h uint32_t flags, unsigned index, index 1862 drivers/vfio/vfio.c if ((hdr->argsz < minsz) || (hdr->index >= max_irq_type) || index 1363 drivers/vhost/net.c static void vhost_net_flush_vq(struct vhost_net *n, int index) index 1365 drivers/vhost/net.c vhost_poll_flush(n->poll + index); index 1366 drivers/vhost/net.c vhost_poll_flush(&n->vqs[index].vq.poll); index 1490 drivers/vhost/net.c static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd) index 1503 drivers/vhost/net.c if (index >= VHOST_NET_VQ_MAX) { index 1507 drivers/vhost/net.c vq = &n->vqs[index].vq; index 1508 drivers/vhost/net.c nvq = &n->vqs[index]; index 1541 drivers/vhost/net.c if (index == VHOST_NET_VQ_RX) index 1562 drivers/vhost/net.c vhost_net_flush_vq(n, index); index 1707 drivers/vhost/net.c return vhost_net_set_backend(n, backend.index, backend.fd); index 1343 drivers/vhost/scsi.c static void vhost_scsi_flush_vq(struct vhost_scsi *vs, int index) index 1345 drivers/vhost/scsi.c vhost_poll_flush(&vs->vqs[index].vq.poll); index 1392 drivers/vhost/scsi.c int index, ret, i, len; index 1399 drivers/vhost/scsi.c for (index = 0; index < vs->dev.nvqs; ++index) { index 1401 drivers/vhost/scsi.c if (!vhost_vq_access_ok(&vs->vqs[index].vq)) { index 1495 drivers/vhost/scsi.c int index, ret, i; index 1501 drivers/vhost/scsi.c for (index = 0; index < vs->dev.nvqs; ++index) { index 1502 drivers/vhost/scsi.c if (!vhost_vq_access_ok(&vs->vqs[index].vq)) { index 147 drivers/vhost/test.c static void vhost_test_flush_vq(struct vhost_test *n, int index) index 149 drivers/vhost/test.c vhost_poll_flush(&n->vqs[index].poll); index 177 drivers/vhost/test.c int r, index; index 187 drivers/vhost/test.c for (index = 0; index < n->dev.nvqs; ++index) { index 189 drivers/vhost/test.c if (!vhost_vq_access_ok(&n->vqs[index])) { index 195 drivers/vhost/test.c for (index = 0; index < n->dev.nvqs; ++index) { index 196 drivers/vhost/test.c vq = n->vqs + index; index 204 drivers/vhost/test.c r = vhost_vq_init_access(&n->vqs[index]); index 212 drivers/vhost/test.c vhost_test_flush_vq(n, index); index 98 drivers/vhost/vhost.c .index = idx, index 1634 drivers/vhost/vhost.c s.index = idx; index 1693 drivers/vhost/vhost.c s.index = idx; index 62 drivers/video/backlight/ili9320.c int index; index 65 drivers/video/backlight/ili9320.c for (index = 0; index < nr_values; index++, values++) { index 141 drivers/video/console/sticore.c .index = c_index(sti, c), index 560 drivers/video/console/sticore.c int index = num_sti_roms; index 563 drivers/video/console/sticore.c if ((font = sti_select_fbfont(rom, font_name[index]))) index 566 drivers/video/console/sticore.c if (font_width[index] && font_height[index]) index 567 drivers/video/console/sticore.c font_index[index] = search_font_fnc(rom, index 568 drivers/video/console/sticore.c font_height[index], font_width[index]); index 570 drivers/video/console/sticore.c for (font = rom->font_start, i = font_index[index]; index 1078 drivers/video/console/sticore.c struct sti_struct * sti_get_rom(unsigned int index) index 1083 drivers/video/console/sticore.c if (index == 0) index 1086 drivers/video/console/sticore.c if (index > num_sti_roms) index 1089 drivers/video/console/sticore.c return sti_roms[index-1]; index 292 drivers/video/fbdev/aty/atyfb.h extern void aty_st_lcd(int index, u32 val, const struct atyfb_par *par); index 293 drivers/video/fbdev/aty/atyfb.h extern u32 aty_ld_lcd(int index, const struct atyfb_par *par); index 149 drivers/video/fbdev/aty/atyfb_base.c void aty_st_lcd(int index, u32 val, const struct atyfb_par *par) index 152 drivers/video/fbdev/aty/atyfb_base.c aty_st_le32(lt_lcd_regs[index], val, par); index 158 drivers/video/fbdev/aty/atyfb_base.c aty_st_le32(LCD_INDEX, (temp & ~LCD_INDEX_MASK) | index, par); index 164 drivers/video/fbdev/aty/atyfb_base.c u32 aty_ld_lcd(int index, const struct atyfb_par *par) index 167 drivers/video/fbdev/aty/atyfb_base.c return aty_ld_le32(lt_lcd_regs[index], par); index 173 drivers/video/fbdev/aty/atyfb_base.c aty_st_le32(LCD_INDEX, (temp & ~LCD_INDEX_MASK) | index, par); index 339 drivers/video/fbdev/aty/radeon_base.c void __OUTPLL(struct radeonfb_info *rinfo, unsigned int index, u32 val) index 341 drivers/video/fbdev/aty/radeon_base.c OUTREG8(CLOCK_CNTL_INDEX, (index & 0x0000003f) | 0x00000080); index 347 drivers/video/fbdev/aty/radeon_base.c void __OUTPLLP(struct radeonfb_info *rinfo, unsigned int index, index 352 drivers/video/fbdev/aty/radeon_base.c tmp = __INPLL(rinfo, index); index 355 drivers/video/fbdev/aty/radeon_base.c __OUTPLL(rinfo, index, tmp); index 419 drivers/video/fbdev/aty/radeonfb.h void __OUTPLL(struct radeonfb_info *rinfo, unsigned int index, u32 val); index 420 drivers/video/fbdev/aty/radeonfb.h void __OUTPLLP(struct radeonfb_info *rinfo, unsigned int index, index 424 drivers/video/fbdev/aty/radeonfb.h #define OUTPLL(index, val) __OUTPLL(rinfo, index, val) index 425 drivers/video/fbdev/aty/radeonfb.h #define OUTPLLP(index, val, mask) __OUTPLLP(rinfo, index, val, mask) index 142 drivers/video/fbdev/au1100fb.c int index; index 172 drivers/video/fbdev/au1100fb.c index = (fbdev->panel->control_base & LCD_CONTROL_SBPPF_MASK) >> LCD_CONTROL_SBPPF_BIT; index 173 drivers/video/fbdev/au1100fb.c info->var.red = rgb_bitfields[index][0]; index 174 drivers/video/fbdev/au1100fb.c info->var.green = rgb_bitfields[index][1]; index 175 drivers/video/fbdev/au1100fb.c info->var.blue = rgb_bitfields[index][2]; index 176 drivers/video/fbdev/au1100fb.c info->var.transp = rgb_bitfields[index][3]; index 950 drivers/video/fbdev/broadsheetfb.c y1 = (cur->index << PAGE_SHIFT) / xres; index 952 drivers/video/fbdev/broadsheetfb.c } else if ((prev_index + 1) == cur->index) { index 959 drivers/video/fbdev/broadsheetfb.c y1 = (cur->index << PAGE_SHIFT) / xres; index 962 drivers/video/fbdev/broadsheetfb.c prev_index = cur->index; index 62 drivers/video/fbdev/core/fb_defio.c page->index = vmf->pgoff; index 135 drivers/video/fbdev/core/fb_defio.c else if (cur->index > page->index) index 101 drivers/video/fbdev/core/fb_draw.h static inline u32 fb_shifted_pixels_mask_u32(struct fb_info *p, u32 index, index 107 drivers/video/fbdev/core/fb_draw.h mask = FB_SHIFT_HIGH(p, ~(u32)0, index); index 110 drivers/video/fbdev/core/fb_draw.h mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; index 111 drivers/video/fbdev/core/fb_draw.h mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); index 114 drivers/video/fbdev/core/fb_draw.h if(index + bswapmask < 32) index 117 drivers/video/fbdev/core/fb_draw.h (index + bswapmask) & ~(bswapmask)); index 123 drivers/video/fbdev/core/fb_draw.h u32 index, index 129 drivers/video/fbdev/core/fb_draw.h mask = FB_SHIFT_HIGH(p, ~0UL, index); index 132 drivers/video/fbdev/core/fb_draw.h mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; index 133 drivers/video/fbdev/core/fb_draw.h mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); index 136 drivers/video/fbdev/core/fb_draw.h if(index + bswapmask < BITS_PER_LONG) index 139 drivers/video/fbdev/core/fb_draw.h (index + bswapmask) & ~(bswapmask)); index 25 drivers/video/fbdev/core/fbcon_rotate.h u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; index 27 drivers/video/fbdev/core/fbcon_rotate.h pat +=index; index 33 drivers/video/fbdev/core/fbcon_rotate.h u32 tmp = (y * pitch) + x, index = tmp / 8, bit = tmp % 8; index 35 drivers/video/fbdev/core/fbcon_rotate.h pat += index; index 1380 drivers/video/fbdev/core/fbmon.c int index) index 1385 drivers/video/fbdev/core/fbmon.c ret = of_get_videomode(np, &vm, index); index 268 drivers/video/fbdev/core/svgalib.c fb_writeb(rect->index, fb2); index 41 drivers/video/fbdev/core/tileblit.c rect.index = vc->vc_video_erase_char & index 332 drivers/video/fbdev/fsl-diu-fb.c enum mfb_index index; index 394 drivers/video/fbdev/fsl-diu-fb.c .index = PLANE0, index 402 drivers/video/fbdev/fsl-diu-fb.c .index = PLANE1_AOI0, index 411 drivers/video/fbdev/fsl-diu-fb.c .index = PLANE1_AOI1, index 420 drivers/video/fbdev/fsl-diu-fb.c .index = PLANE2_AOI0, index 429 drivers/video/fbdev/fsl-diu-fb.c .index = PLANE2_AOI1, index 507 drivers/video/fbdev/fsl-diu-fb.c switch (mfbi->index) { index 559 drivers/video/fbdev/fsl-diu-fb.c switch (mfbi->index) { index 630 drivers/video/fbdev/fsl-diu-fb.c enum mfb_index index = mfbi->index; index 641 drivers/video/fbdev/fsl-diu-fb.c switch (index) { index 650 drivers/video/fbdev/fsl-diu-fb.c lower_aoi_mfbi = data->fsl_diu_info[index+1].par; index 668 drivers/video/fbdev/fsl-diu-fb.c upper_aoi_mfbi = data->fsl_diu_info[index-1].par; index 669 drivers/video/fbdev/fsl-diu-fb.c upper_aoi_height = data->fsl_diu_info[index-1].var.yres; index 1176 drivers/video/fbdev/fsl-diu-fb.c if (mfbi->index == PLANE0) index 1401 drivers/video/fbdev/fsl-diu-fb.c if ((mfbi->index == PLANE0) && diu_ops.release_bootmem) index 1486 drivers/video/fbdev/fsl-diu-fb.c if (mfbi->index == PLANE0) { index 1507 drivers/video/fbdev/fsl-diu-fb.c if ((mfbi->index == PLANE0) && data->has_edid) index 659 drivers/video/fbdev/intelfb/intelfbhw.c static int calc_vclock3(int index, int m, int n, int p) index 663 drivers/video/fbdev/intelfb/intelfbhw.c return plls[index].ref_clk * m / n / p; index 666 drivers/video/fbdev/intelfb/intelfbhw.c static int calc_vclock(int index, int m1, int m2, int n, int p1, int p2, index 669 drivers/video/fbdev/intelfb/intelfbhw.c struct pll_min_max *pll = &plls[index]; index 676 drivers/video/fbdev/intelfb/intelfbhw.c if (index == PLLS_I8xx) index 717 drivers/video/fbdev/intelfb/intelfbhw.c int index = dinfo->pll_index; index 736 drivers/video/fbdev/intelfb/intelfbhw.c calc_vclock(index, m1, m2, n, p1, p2, 0)); index 746 drivers/video/fbdev/intelfb/intelfbhw.c calc_vclock(index, m1, m2, n, p1, p2, 0)); index 764 drivers/video/fbdev/intelfb/intelfbhw.c calc_vclock(index, m1, m2, n, p1, p2, 0)); index 775 drivers/video/fbdev/intelfb/intelfbhw.c calc_vclock(index, m1, m2, n, p1, p2, 0)); index 880 drivers/video/fbdev/intelfb/intelfbhw.c static int splitm(int index, unsigned int m, unsigned int *retm1, index 885 drivers/video/fbdev/intelfb/intelfbhw.c struct pll_min_max *pll = &plls[index]; index 902 drivers/video/fbdev/intelfb/intelfbhw.c static int splitp(int index, unsigned int p, unsigned int *retp1, index 906 drivers/video/fbdev/intelfb/intelfbhw.c struct pll_min_max *pll = &plls[index]; index 908 drivers/video/fbdev/intelfb/intelfbhw.c if (index == PLLS_I9xx) { index 937 drivers/video/fbdev/intelfb/intelfbhw.c static int calc_pll_params(int index, int clock, u32 *retm1, u32 *retm2, index 945 drivers/video/fbdev/intelfb/intelfbhw.c struct pll_min_max *pll = &plls[index]; index 963 drivers/video/fbdev/intelfb/intelfbhw.c if (splitp(index, p, &p1, &p2)) { index 978 drivers/video/fbdev/intelfb/intelfbhw.c f_out = calc_vclock3(index, testm, n, p); index 979 drivers/video/fbdev/intelfb/intelfbhw.c if (splitm(index, testm, &m1, &m2)) { index 1008 drivers/video/fbdev/intelfb/intelfbhw.c splitm(index, m, &m1, &m2); index 1009 drivers/video/fbdev/intelfb/intelfbhw.c splitp(index, p, &p1, &p2); index 1015 drivers/video/fbdev/intelfb/intelfbhw.c calc_vclock3(index, m, n, p), index 1016 drivers/video/fbdev/intelfb/intelfbhw.c calc_vclock(index, m1, m2, n1, p1, p2, 0), index 1017 drivers/video/fbdev/intelfb/intelfbhw.c calc_vclock3(index, m, n, p) * p); index 1023 drivers/video/fbdev/intelfb/intelfbhw.c *retclock = calc_vclock(index, m1, m2, n1, p1, p2, 0); index 452 drivers/video/fbdev/metronomefb.c static u16 metronomefb_dpy_update_page(struct metronomefb_par *par, int index) index 456 drivers/video/fbdev/metronomefb.c u16 *buf = (u16 __force *)(par->info->screen_base + index); index 457 drivers/video/fbdev/metronomefb.c u16 *img = (u16 *)(par->metromem_img + index); index 479 drivers/video/fbdev/metronomefb.c (cur->index << PAGE_SHIFT)); index 480 drivers/video/fbdev/metronomefb.c par->metromem_img_csum -= par->csum_table[cur->index]; index 481 drivers/video/fbdev/metronomefb.c par->csum_table[cur->index] = cksum; index 408 drivers/video/fbdev/neofb.c static inline void VGAwATTR(u8 index, u8 value) index 411 drivers/video/fbdev/neofb.c index &= ~0x20; index 413 drivers/video/fbdev/neofb.c index |= 0x20; index 416 drivers/video/fbdev/neofb.c vga_wattr(NULL, index, value); index 9 drivers/video/fbdev/nvidia/nv_proto.h void NVWriteCrtc(struct nvidia_par *par, u8 index, u8 value); index 10 drivers/video/fbdev/nvidia/nv_proto.h u8 NVReadCrtc(struct nvidia_par *par, u8 index); index 11 drivers/video/fbdev/nvidia/nv_proto.h void NVWriteGr(struct nvidia_par *par, u8 index, u8 value); index 12 drivers/video/fbdev/nvidia/nv_proto.h u8 NVReadGr(struct nvidia_par *par, u8 index); index 13 drivers/video/fbdev/nvidia/nv_proto.h void NVWriteSeq(struct nvidia_par *par, u8 index, u8 value); index 14 drivers/video/fbdev/nvidia/nv_proto.h u8 NVReadSeq(struct nvidia_par *par, u8 index); index 15 drivers/video/fbdev/nvidia/nv_proto.h void NVWriteAttr(struct nvidia_par *par, u8 index, u8 value); index 16 drivers/video/fbdev/nvidia/nv_proto.h u8 NVReadAttr(struct nvidia_par *par, u8 index); index 60 drivers/video/fbdev/nvidia/nv_setup.c void NVWriteCrtc(struct nvidia_par *par, u8 index, u8 value) index 62 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PCIO, par->IOBase + 0x04, index); index 65 drivers/video/fbdev/nvidia/nv_setup.c u8 NVReadCrtc(struct nvidia_par *par, u8 index) index 67 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PCIO, par->IOBase + 0x04, index); index 70 drivers/video/fbdev/nvidia/nv_setup.c void NVWriteGr(struct nvidia_par *par, u8 index, u8 value) index 72 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PVIO, VGA_GFX_I, index); index 75 drivers/video/fbdev/nvidia/nv_setup.c u8 NVReadGr(struct nvidia_par *par, u8 index) index 77 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PVIO, VGA_GFX_I, index); index 80 drivers/video/fbdev/nvidia/nv_setup.c void NVWriteSeq(struct nvidia_par *par, u8 index, u8 value) index 82 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PVIO, VGA_SEQ_I, index); index 85 drivers/video/fbdev/nvidia/nv_setup.c u8 NVReadSeq(struct nvidia_par *par, u8 index) index 87 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PVIO, VGA_SEQ_I, index); index 90 drivers/video/fbdev/nvidia/nv_setup.c void NVWriteAttr(struct nvidia_par *par, u8 index, u8 value) index 96 drivers/video/fbdev/nvidia/nv_setup.c index &= ~0x20; index 98 drivers/video/fbdev/nvidia/nv_setup.c index |= 0x20; index 99 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PCIO, VGA_ATT_IW, index); index 102 drivers/video/fbdev/nvidia/nv_setup.c u8 NVReadAttr(struct nvidia_par *par, u8 index) index 108 drivers/video/fbdev/nvidia/nv_setup.c index &= ~0x20; index 110 drivers/video/fbdev/nvidia/nv_setup.c index |= 0x20; index 111 drivers/video/fbdev/nvidia/nv_setup.c VGA_WR08(par->PCIO, VGA_ATT_IW, index); index 300 drivers/video/fbdev/offb.c static void __iomem *offb_map_reg(struct device_node *np, int index, index 307 drivers/video/fbdev/offb.c addrp = of_get_pci_address(np, index, &asize, &flags); index 309 drivers/video/fbdev/offb.c addrp = of_get_address(np, index, &asize, &flags); index 290 drivers/video/fbdev/omap/omapfb_main.c int count, index, r; index 298 drivers/video/fbdev/omap/omapfb_main.c index = cmap->start; index 303 drivers/video/fbdev/omap/omapfb_main.c r = _setcolreg(info, index++, *red++, *green++, *blue++, trans, index 196 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c static int sharp_ls_get_gpio_of(struct device *dev, int index, int val, index 203 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c gd = devm_gpiod_get_index(dev, desc, index, GPIOD_OUT_LOW); index 1193 drivers/video/fbdev/omap2/omapfb/omapfb-main.c int count, index, r; index 1203 drivers/video/fbdev/omap2/omapfb/omapfb-main.c index = cmap->start; index 1208 drivers/video/fbdev/omap2/omapfb/omapfb-main.c r = _setcolreg(info, index++, *red++, *green++, *blue++, trans, index 388 drivers/video/fbdev/riva/fbdev.c static inline void CRTCout(struct riva_par *par, unsigned char index, index 391 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PCIO, 0x3d4, index); index 396 drivers/video/fbdev/riva/fbdev.c unsigned char index) index 398 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PCIO, 0x3d4, index); index 402 drivers/video/fbdev/riva/fbdev.c static inline void GRAout(struct riva_par *par, unsigned char index, index 405 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PVIO, 0x3ce, index); index 410 drivers/video/fbdev/riva/fbdev.c unsigned char index) index 412 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PVIO, 0x3ce, index); index 416 drivers/video/fbdev/riva/fbdev.c static inline void SEQout(struct riva_par *par, unsigned char index, index 419 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PVIO, 0x3c4, index); index 424 drivers/video/fbdev/riva/fbdev.c unsigned char index) index 426 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PVIO, 0x3c4, index); index 430 drivers/video/fbdev/riva/fbdev.c static inline void ATTRout(struct riva_par *par, unsigned char index, index 433 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PCIO, 0x3c0, index); index 438 drivers/video/fbdev/riva/fbdev.c unsigned char index) index 440 drivers/video/fbdev/riva/fbdev.c VGA_WR08(par->riva.PCIO, 0x3c0, index); index 167 drivers/video/fbdev/riva/nvreg.h #define CRTC_Write(index,value) outb((index), 0x3d4); outb(value, 0x3d5) index 168 drivers/video/fbdev/riva/nvreg.h #define CRTC_Read(index) (outb(index, 0x3d4),inb(0x3d5)) index 170 drivers/video/fbdev/riva/nvreg.h #define PCRTC_Write(index,value) CRTC_Write(NV_PCRTC_##index,value) index 171 drivers/video/fbdev/riva/nvreg.h #define PCRTC_Read(index) CRTC_Read(NV_PCRTC_##index) index 177 drivers/video/fbdev/riva/nvreg.h #define SR_Write(index,value) outb(0x3c4,(index));outb(0x3c5,value) index 178 drivers/video/fbdev/riva/nvreg.h #define SR_Read(index) (outb(0x3c4,index),inb(0x3c5)) index 173 drivers/video/fbdev/s3c-fb.c unsigned int index; index 252 drivers/video/fbdev/s3c-fb.c win->index, var->bits_per_pixel); index 265 drivers/video/fbdev/s3c-fb.c if (sfb->variant.palette[win->index] != 0) { index 398 drivers/video/fbdev/s3c-fb.c writel(size, sfb->regs + OSD_BASE(win->index, sfb->variant) index 413 drivers/video/fbdev/s3c-fb.c writel(alpha, sfb->regs + VIDOSD_C(win->index, sfb->variant)); index 432 drivers/video/fbdev/s3c-fb.c writel(reg | SHADOWCON_WINx_PROTECT(win->index), index 440 drivers/video/fbdev/s3c-fb.c writel(reg & ~SHADOWCON_WINx_PROTECT(win->index), index 492 drivers/video/fbdev/s3c-fb.c int win_no = win->index; index 584 drivers/video/fbdev/s3c-fb.c sfb->enabled |= (1 << win->index); index 704 drivers/video/fbdev/s3c-fb.c palreg = sfb->regs + sfb->variant.palette[win->index]; index 707 drivers/video/fbdev/s3c-fb.c __func__, win->index, reg, palreg, value); index 748 drivers/video/fbdev/s3c-fb.c __func__, win->index, regno, red, green, blue); index 798 drivers/video/fbdev/s3c-fb.c unsigned int index = win->index; index 806 drivers/video/fbdev/s3c-fb.c wincon = readl(sfb->regs + sfb->variant.wincon + (index * 4)); index 811 drivers/video/fbdev/s3c-fb.c sfb->enabled &= ~(1 << index); index 818 drivers/video/fbdev/s3c-fb.c sfb->regs + sfb->variant.winmap + (index * 4)); index 824 drivers/video/fbdev/s3c-fb.c writel(0x0, sfb->regs + sfb->variant.winmap + (index * 4)); index 827 drivers/video/fbdev/s3c-fb.c sfb->enabled |= (1 << index); index 838 drivers/video/fbdev/s3c-fb.c writel(wincon, sfb->regs + sfb->variant.wincon + (index * 4)); index 869 drivers/video/fbdev/s3c-fb.c void __iomem *buf = sfb->regs + win->index * 8; index 1148 drivers/video/fbdev/s3c-fb.c data &= ~SHADOWCON_CHx_ENABLE(win->index); index 1149 drivers/video/fbdev/s3c-fb.c data &= ~SHADOWCON_CHx_LOCAL_ENABLE(win->index); index 1206 drivers/video/fbdev/s3c-fb.c win->index = win_no; index 314 drivers/video/fbdev/savage/savagefb.h static inline u8 VGArCR (u8 index, struct savagefb_par *par) index 316 drivers/video/fbdev/savage/savagefb.h vga_out8(0x3d4, index, par); index 320 drivers/video/fbdev/savage/savagefb.h static inline u8 VGArGR (u8 index, struct savagefb_par *par) index 322 drivers/video/fbdev/savage/savagefb.h vga_out8(0x3ce, index, par); index 326 drivers/video/fbdev/savage/savagefb.h static inline u8 VGArSEQ (u8 index, struct savagefb_par *par) index 328 drivers/video/fbdev/savage/savagefb.h vga_out8(0x3c4, index, par); index 332 drivers/video/fbdev/savage/savagefb.h static inline void VGAwCR(u8 index, u8 val, struct savagefb_par *par) index 334 drivers/video/fbdev/savage/savagefb.h vga_out8(0x3d4, index, par); index 338 drivers/video/fbdev/savage/savagefb.h static inline void VGAwGR(u8 index, u8 val, struct savagefb_par *par) index 340 drivers/video/fbdev/savage/savagefb.h vga_out8(0x3ce, index, par); index 344 drivers/video/fbdev/savage/savagefb.h static inline void VGAwSEQ(u8 index, u8 val, struct savagefb_par *par) index 346 drivers/video/fbdev/savage/savagefb.h vga_out8(0x3c4, index, par); index 364 drivers/video/fbdev/savage/savagefb.h static inline void VGAwATTR(u8 index, u8 value, struct savagefb_par *par) index 367 drivers/video/fbdev/savage/savagefb.h index &= ~0x20; index 369 drivers/video/fbdev/savage/savagefb.h index |= 0x20; index 372 drivers/video/fbdev/savage/savagefb.h vga_out8(0x3c0, index, par); index 125 drivers/video/fbdev/sbuslib.c unsigned int index, count, i; index 127 drivers/video/fbdev/sbuslib.c if (get_user(index, &c->index) || index 151 drivers/video/fbdev/sbuslib.c cmap.start = index + i; index 164 drivers/video/fbdev/sbuslib.c unsigned int index, count, i; index 167 drivers/video/fbdev/sbuslib.c if (get_user(index, &c->index) || index 174 drivers/video/fbdev/sbuslib.c if (index > cmap->len || count > cmap->len - index) index 178 drivers/video/fbdev/sbuslib.c red = cmap->red[index + i] >> 8; index 179 drivers/video/fbdev/sbuslib.c green = cmap->green[index + i] >> 8; index 180 drivers/video/fbdev/sbuslib.c blue = cmap->blue[index + i] >> 8; index 180 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int index; index 785 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); index 786 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), 0); index 788 drivers/video/fbdev/sh_mobile_lcdcfb.c LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); index 850 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); index 852 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), format); index 854 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSSZR(ovl->index), index 857 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBLOCR(ovl->index), index 860 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSMWR(ovl->index), index 863 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSAYR(ovl->index), ovl->base_addr_y); index 864 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSACR(ovl->index), ovl->base_addr_c); index 867 drivers/video/fbdev/sh_mobile_lcdcfb.c LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); index 1407 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); index 1409 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSAYR(ovl->index), ovl->base_addr_y); index 1410 drivers/video/fbdev/sh_mobile_lcdcfb.c lcdc_write_overlay(ovl, LDBnBSACR(ovl->index), ovl->base_addr_c); index 1413 drivers/video/fbdev/sh_mobile_lcdcfb.c LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); index 1535 drivers/video/fbdev/sh_mobile_lcdcfb.c dev_name(lcdc->dev), ovl->index, info->var.xres, index 1583 drivers/video/fbdev/sh_mobile_lcdcfb.c "SH Mobile LCDC Overlay %u", ovl->index); index 880 drivers/video/fbdev/sis/init.c SiS_SetReg(SISIOADDRESS port, u8 index, u8 data) index 882 drivers/video/fbdev/sis/init.c outb(index, port); index 905 drivers/video/fbdev/sis/init.c SiS_GetReg(SISIOADDRESS port, u8 index) index 907 drivers/video/fbdev/sis/init.c outb(index, port); index 1546 drivers/video/fbdev/sis/init.c unsigned short index; index 1548 drivers/video/fbdev/sis/init.c index = SiS_Get310DRAMType(SiS_Pr); index 1551 drivers/video/fbdev/sis/init.c return((unsigned short)(SISGETROMW((0x90 + (index * 5) + 3)))); index 1553 drivers/video/fbdev/sis/init.c return(SiS_Pr->SiS_MCLKData_0[index].CLOCK); index 1554 drivers/video/fbdev/sis/init.c } else if(index >= 4) { index 1555 drivers/video/fbdev/sis/init.c return(SiS_Pr->SiS_MCLKData_1[index - 4].CLOCK); index 1557 drivers/video/fbdev/sis/init.c return(SiS_Pr->SiS_MCLKData_0[index].CLOCK); index 1639 drivers/video/fbdev/sis/init.c unsigned short index; index 1642 drivers/video/fbdev/sis/init.c index = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].St_StTableIndex; index 1644 drivers/video/fbdev/sis/init.c if(SiS_Pr->SiS_ModeType <= ModeEGA) index = 0x1B; index 1645 drivers/video/fbdev/sis/init.c else index = 0x0F; index 1647 drivers/video/fbdev/sis/init.c return index; index 1783 drivers/video/fbdev/sis/init.c short index; index 1794 drivers/video/fbdev/sis/init.c index = (modeflag & ModeTypeMask) - ModeEGA; index 1795 drivers/video/fbdev/sis/init.c if(index < 0) index = 0; index 1796 drivers/video/fbdev/sis/init.c return ColorDepth[index]; index 2180 drivers/video/fbdev/sis/init.c unsigned short index = 0, clka, clkb; index 2186 drivers/video/fbdev/sis/init.c index = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RRTI); index 2190 drivers/video/fbdev/sis/init.c if((index == 0x21) && (SiS_Pr->Alternate1600x1200)) index = 0x72; index 2191 drivers/video/fbdev/sis/init.c clka = SiS_Pr->SiS_VBVCLKData[index].Part4_A; index 2192 drivers/video/fbdev/sis/init.c clkb = SiS_Pr->SiS_VBVCLKData[index].Part4_B; index 2194 drivers/video/fbdev/sis/init.c clka = SiS_Pr->SiS_VCLKData[index].SR2B; index 2195 drivers/video/fbdev/sis/init.c clkb = SiS_Pr->SiS_VCLKData[index].SR2C; index 2306 drivers/video/fbdev/sis/init.c unsigned short temp, index, VCLK, MCLK, colorth; index 2315 drivers/video/fbdev/sis/init.c index = SiS_GetRefCRTVCLK(SiS_Pr, RefreshRateTableIndex, SiS_Pr->SiS_UseWide); index 2316 drivers/video/fbdev/sis/init.c VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; index 2323 drivers/video/fbdev/sis/init.c index = SiS_GetReg(SiS_Pr->SiS_P3c4,0x3A) & 0x07; index 2324 drivers/video/fbdev/sis/init.c MCLK = SiS_Pr->SiS_MCLKData_0[index].CLOCK; index 2359 drivers/video/fbdev/sis/init.c SiS_GetLatencyFactor630(struct SiS_Private *SiS_Pr, unsigned short index) index 2380 drivers/video/fbdev/sis/init.c return (unsigned short)LatencyFactor730[index]; index 2382 drivers/video/fbdev/sis/init.c return (unsigned short)LatencyFactor[index]; index 2389 drivers/video/fbdev/sis/init.c unsigned short index; index 2392 drivers/video/fbdev/sis/init.c index = ((key & 0x0f) * 3) + ((key & 0xc0) >> 6); index 2394 drivers/video/fbdev/sis/init.c index = (key & 0xe0) >> 5; index 2395 drivers/video/fbdev/sis/init.c if(key & 0x10) index += 6; index 2396 drivers/video/fbdev/sis/init.c if(!(key & 0x01)) index += 24; index 2397 drivers/video/fbdev/sis/init.c if(SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) & 0x80) index += 12; index 2399 drivers/video/fbdev/sis/init.c return SiS_GetLatencyFactor630(SiS_Pr, index); index 2577 drivers/video/fbdev/sis/init.c unsigned short data = 0, VCLK = 0, index = 0; index 2583 drivers/video/fbdev/sis/init.c index = SiS_GetVCLK2Ptr(SiS_Pr, ModeNo, ModeIdIndex, RefreshRateTableIndex); index 2584 drivers/video/fbdev/sis/init.c VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; index 613 drivers/video/fbdev/sis/init301.c unsigned short modeflag,index,temp,backupindex; index 639 drivers/video/fbdev/sis/init301.c index = (SiS_GetReg(SiS_Pr->SiS_P3d4,0x33) >> SiS_Pr->SiS_SelectCRT2Rate) & 0x0F; index 640 drivers/video/fbdev/sis/init301.c backupindex = index; index 642 drivers/video/fbdev/sis/init301.c if(index > 0) index--; index 647 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBType & VB_NoLCD) index = 0; index 648 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) index = backupindex = 0; index 653 drivers/video/fbdev/sis/init301.c if(index > temp) index = temp; index 657 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & (SetCRT2ToLCD | SetCRT2ToLCDA)) index = 0; index 659 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToTV) index = 0; index 683 drivers/video/fbdev/sis/init301.c index--; index 684 drivers/video/fbdev/sis/init301.c } while(index != 0xFFFF); index 3336 drivers/video/fbdev/sis/init301.c unsigned short tempax=0, tempbx=0, index, dotclock; index 3345 drivers/video/fbdev/sis/init301.c index = SiS_GetModePtr(SiS_Pr,ModeNo,ModeIdIndex); index 3347 drivers/video/fbdev/sis/init301.c tempax = SiS_Pr->SiS_StandTable[index].CRTC[0]; index 3348 drivers/video/fbdev/sis/init301.c tempbx = SiS_Pr->SiS_StandTable[index].CRTC[6]; index 3349 drivers/video/fbdev/sis/init301.c temp1 = SiS_Pr->SiS_StandTable[index].CRTC[7]; index 3356 drivers/video/fbdev/sis/init301.c index = SiS_GetRefCRT1CRTC(SiS_Pr, RefreshRateTableIndex, SiS_Pr->SiS_UseWideCRT2); index 3358 drivers/video/fbdev/sis/init301.c tempax = SiS_Pr->SiS_CRT1Table[index].CR[0]; index 3359 drivers/video/fbdev/sis/init301.c tempax |= (SiS_Pr->SiS_CRT1Table[index].CR[14] << 8); index 3361 drivers/video/fbdev/sis/init301.c tempbx = SiS_Pr->SiS_CRT1Table[index].CR[6]; index 3362 drivers/video/fbdev/sis/init301.c tempcx = SiS_Pr->SiS_CRT1Table[index].CR[13] << 8; index 3366 drivers/video/fbdev/sis/init301.c temp1 = SiS_Pr->SiS_CRT1Table[index].CR[7]; index 5336 drivers/video/fbdev/sis/init301.c unsigned short temp, index, modeidindex, refreshratetableindex; index 5356 drivers/video/fbdev/sis/init301.c index = SiS_GetRefCRTVCLK(SiS_Pr, refreshratetableindex, SiS_Pr->SiS_UseWide); index 5357 drivers/video/fbdev/sis/init301.c VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; index 5379 drivers/video/fbdev/sis/init301.c index = SiS_GetReg(SiS_Pr->SiS_P3c4,0x3A); index 5381 drivers/video/fbdev/sis/init301.c index = SiS_GetReg(SiS_Pr->SiS_P3c4,0x1A); index 5383 drivers/video/fbdev/sis/init301.c index &= 0x07; index 5384 drivers/video/fbdev/sis/init301.c MCLK = SiS_Pr->SiS_MCLKData_0[index].CLOCK; index 5408 drivers/video/fbdev/sis/init301.c index = (unsigned short)(((pciA0 >> 28) & 0x0f) * 3); index 5409 drivers/video/fbdev/sis/init301.c index += (unsigned short)(((pci50 >> 9)) & 0x03); index 5412 drivers/video/fbdev/sis/init301.c index = 0; /* -- do it like the BIOS anyway... */ index 5419 drivers/video/fbdev/sis/init301.c index = (pci50 >> 1) & 0x07; index 5421 drivers/video/fbdev/sis/init301.c if(pci50 & 0x01) index += 6; index 5422 drivers/video/fbdev/sis/init301.c if(!(pciA0 & 0x01)) index += 24; index 5424 drivers/video/fbdev/sis/init301.c if(SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) & 0x80) index += 12; index 5428 drivers/video/fbdev/sis/init301.c data = SiS_GetLatencyFactor630(SiS_Pr, index) + 15; index 5446 drivers/video/fbdev/sis/init301.c index = SiS_GetVCLK2Ptr(SiS_Pr, CRT2ModeNo, modeidindex, refreshratetableindex); index 5447 drivers/video/fbdev/sis/init301.c VCLK = SiS_Pr->SiS_VCLKData[index].CLOCK; index 9825 drivers/video/fbdev/sis/init301.c unsigned short index; index 9829 drivers/video/fbdev/sis/init301.c if((index = SiS_GetReg(SiS_Pr->SiS_P3d4,0x36) & 0xf0)) { index 9830 drivers/video/fbdev/sis/init301.c index >>= 4; index 9831 drivers/video/fbdev/sis/init301.c index *= 3; index 9832 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) index += 2; index 9833 drivers/video/fbdev/sis/init301.c else if(!(SiS_Pr->SiS_SetFlag & LCDVESATiming)) index++; index 9834 drivers/video/fbdev/sis/init301.c return index; index 9839 drivers/video/fbdev/sis/init301.c index = SiS_GetBIOSLCDResInfo(SiS_Pr) & 0x0F; index 9840 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1400x1050) index -= 5; index 9842 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1600x1200) index -= 5; index 9843 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1280x768) index -= 5; index 9845 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDResInfo == Panel_1600x1200) index -= 6; index 9847 drivers/video/fbdev/sis/init301.c index--; index 9848 drivers/video/fbdev/sis/init301.c index *= 3; index 9849 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) index += 2; index 9850 drivers/video/fbdev/sis/init301.c else if(!(SiS_Pr->SiS_SetFlag & LCDVESATiming)) index++; index 9851 drivers/video/fbdev/sis/init301.c return index; index 9857 drivers/video/fbdev/sis/init301.c unsigned short index; index 9859 drivers/video/fbdev/sis/init301.c index = ((SiS_GetBIOSLCDResInfo(SiS_Pr) & 0x0F) - 1) * 3; index 9860 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_LCDInfo & DontExpandLCD) index += 2; index 9861 drivers/video/fbdev/sis/init301.c else if(!(SiS_Pr->SiS_SetFlag & LCDVESATiming)) index++; index 9862 drivers/video/fbdev/sis/init301.c return index; index 9868 drivers/video/fbdev/sis/init301.c unsigned short index; index 9870 drivers/video/fbdev/sis/init301.c index = 0; index 9871 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPAL) index = 1; index 9872 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision) index = 2; index 9874 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToYPbPr525750) index = 0; index 9876 drivers/video/fbdev/sis/init301.c index <<= 1; index 9880 drivers/video/fbdev/sis/init301.c index++; index 9883 drivers/video/fbdev/sis/init301.c return index; index 9889 drivers/video/fbdev/sis/init301.c unsigned short index = 0, temp = 0; index 9891 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPAL) index = 1; index 9892 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPALM) index = 2; index 9893 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPALN) index = 3; index 9894 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetNTSCJ) index = 6; index 9896 drivers/video/fbdev/sis/init301.c index = 4; index 9897 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPALM) index++; index 9898 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetNTSCJ) index = 7; index 9904 drivers/video/fbdev/sis/init301.c index += addme; index 9909 drivers/video/fbdev/sis/init301.c return (unsigned int)(index | (temp << 16)); index 9929 drivers/video/fbdev/sis/init301.c int index = 0; index 9931 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPAL) index = 2; index 9933 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr525i) index = 4; index 9934 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr525p) index = 6; index 9935 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) index = 8; index 9936 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetHiVision) index = 10; index 9938 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetHiVision) index = 4; index 9939 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr525i) index = 6; index 9940 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr525p) index = 8; index 9941 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetYPbPr750p) index = 10; index 9944 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetTVSimuMode) index++; index 9946 drivers/video/fbdev/sis/init301.c return index; index 9953 drivers/video/fbdev/sis/init301.c unsigned short delay=0,index,myindex,temp,romptr=0; index 10066 drivers/video/fbdev/sis/init301.c index = GetLCDPtrIndexBIOS(SiS_Pr); index 10080 drivers/video/fbdev/sis/init301.c delay = ROMAddr[(romptr + index)]; index 10103 drivers/video/fbdev/sis/init301.c delay = ROMAddr[(romptr + index)]; index 10137 drivers/video/fbdev/sis/init301.c index = GetTVPtrIndex(SiS_Pr); index 10150 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; index 10154 drivers/video/fbdev/sis/init301.c delay = SiS310_TVDelayCompensation_301B[index]; index 10174 drivers/video/fbdev/sis/init301.c delay = SiS310_TVDelayCompensation_651301LV[index]; index 10176 drivers/video/fbdev/sis/init301.c delay = SiS310_TVDelayCompensation_651302LV[index]; index 10185 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; index 10189 drivers/video/fbdev/sis/init301.c delay = SiS310_TVDelayCompensation_LVDS[index]; index 10193 drivers/video/fbdev/sis/init301.c delay = SiS310_TVDelayCompensation_301[index]; index 10196 drivers/video/fbdev/sis/init301.c delay = SiS310_TVDelayCompensation_740301B[index]; index 10199 drivers/video/fbdev/sis/init301.c delay = SiS310_TVDelayCompensation_301B[index]; index 10258 drivers/video/fbdev/sis/init301.c unsigned short index,temp,temp1,romptr=0; index 10263 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].VB_StTVFlickerIndex; index 10265 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].VB_ExtTVFlickerIndex; index 10288 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr + temp1 + index]; index 10290 drivers/video/fbdev/sis/init301.c temp = SiS310_TVAntiFlick1[temp][index]; index 10301 drivers/video/fbdev/sis/init301.c unsigned short index,temp,temp1,romptr=0; index 10306 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].VB_StTVEdgeIndex; index 10308 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].VB_ExtTVEdgeIndex; index 10327 drivers/video/fbdev/sis/init301.c temp = ROMAddr[romptr + temp1 + index]; index 10329 drivers/video/fbdev/sis/init301.c temp = SiS310_TVEdge1[temp][index]; index 10338 drivers/video/fbdev/sis/init301.c unsigned short index, temp, i, j; index 10341 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_SModeIDTable[ModeIdIndex].VB_StTVYFilterIndex; index 10343 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_EModeIDTable[ModeIdIndex].VB_ExtTVYFilterIndex; index 10355 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVYFilter2[temp][index][j]); index 10358 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVYFilter2[temp][index][j]); index 10362 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVYFilter1[temp][index][j]); index 10371 drivers/video/fbdev/sis/init301.c unsigned short index,temp,i,j,resinfo,romptr=0; index 10425 drivers/video/fbdev/sis/init301.c index = temp % 2; index 10429 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVPhaseIncr1[temp][index][j]); index 10431 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVPhaseIncr2[temp][index][j]); index 10433 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS310_TVPhaseIncr1[temp][index][j]); index 10459 drivers/video/fbdev/sis/init301.c unsigned short delay = 0, romptr = 0, index, lcdpdcindex; index 10472 drivers/video/fbdev/sis/init301.c index = 25; index 10474 drivers/video/fbdev/sis/init301.c index = SiS_Pr->CSRClock; index 10476 drivers/video/fbdev/sis/init301.c index = SiS_GetVCLK2Ptr(SiS_Pr,ModeNo,ModeIdIndex,RTI); index 10477 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VCLKData[index].CLOCK; index 10479 drivers/video/fbdev/sis/init301.c if(index < 25) index = 25; index 10480 drivers/video/fbdev/sis/init301.c index = ((index / 25) - 1) << 1; index 10482 drivers/video/fbdev/sis/init301.c index++; index 10485 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; index 10511 drivers/video/fbdev/sis/init301.c index = GetTVPtrIndex(SiS_Pr); index 10513 drivers/video/fbdev/sis/init301.c delay = (ROMAddr[romptr + index] & 0x0f) << 1; index 10537 drivers/video/fbdev/sis/init301.c index = GetOEMTVPtr661(SiS_Pr); index 10541 drivers/video/fbdev/sis/init301.c delay = ROMAddr[romptr + index]; index 10544 drivers/video/fbdev/sis/init301.c if(index > 3) delay = 0; index 11064 drivers/video/fbdev/sis/init301.c unsigned short index,temp,romptr=0; index 11086 drivers/video/fbdev/sis/init301.c index = 0; index 11088 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex].VB_LCDDelayIndex; index 11094 drivers/video/fbdev/sis/init301.c romptr += index; index 11098 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay2[temp][index]; index 11100 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay3[temp][index]; index 11108 drivers/video/fbdev/sis/init301.c romptr += index; index 11111 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay5[temp][index]; index 11119 drivers/video/fbdev/sis/init301.c romptr += index; index 11122 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay4[temp][index]; index 11125 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMLCDDelay4[temp][index]; index 11138 drivers/video/fbdev/sis/init301.c unsigned short index,temp; index 11149 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex]._VB_LCDHIndex; index 11151 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,i,SiS300_LCDHData[temp][index][j]); index 11153 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_SiS_Part1Port,0x1a, 0xf8, (SiS300_LCDHData[temp][index][j] & 0x07)); index 11155 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex]._VB_LCDVIndex; index 11156 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_SiS_Part1Port,0x18, SiS300_LCDVData[temp][index][0]); index 11157 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_SiS_Part1Port,0x19, 0xF0, SiS300_LCDVData[temp][index][1]); index 11158 drivers/video/fbdev/sis/init301.c SiS_SetRegANDOR(SiS_SiS_Part1Port,0x1A, 0xC7, (SiS300_LCDVData[temp][index][2] & 0x38)); index 11160 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part1Port,i,SiS300_LCDVData[temp][index][j]); index 11168 drivers/video/fbdev/sis/init301.c unsigned short index; index 11170 drivers/video/fbdev/sis/init301.c index = 0; index 11171 drivers/video/fbdev/sis/init301.c if(!(SiS_Pr->SiS_VBInfo & SetInSlaveMode)) index += 4; index 11173 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_VBInfo & SetCRT2ToSCART) index += 2; index 11174 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_VBInfo & SetCRT2ToHiVision) index += 3; index 11175 drivers/video/fbdev/sis/init301.c else if(SiS_Pr->SiS_TVMode & TVSetPAL) index += 1; index 11177 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetCHOverScan) index += 2; index 11178 drivers/video/fbdev/sis/init301.c if(SiS_Pr->SiS_TVMode & TVSetPAL) index += 1; index 11180 drivers/video/fbdev/sis/init301.c return index; index 11187 drivers/video/fbdev/sis/init301.c unsigned short index,temp,romptr=0; index 11197 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex].VB_TVDelayIndex; index 11202 drivers/video/fbdev/sis/init301.c romptr += index; index 11206 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMTVDelay301[temp][index]; index 11208 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMTVDelayLVDS[temp][index]; index 11219 drivers/video/fbdev/sis/init301.c unsigned short index,temp,romptr=0; index 11229 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex].VB_TVFlickerIndex; index 11234 drivers/video/fbdev/sis/init301.c romptr += index; index 11237 drivers/video/fbdev/sis/init301.c temp = SiS300_OEMTVFlicker[temp][index]; index 11247 drivers/video/fbdev/sis/init301.c unsigned short index,i,j,temp,romptr=0; index 11261 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex].VB_TVPhaseIndex; index 11265 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Phase2[temp][index][j]); index 11271 drivers/video/fbdev/sis/init301.c romptr += (index * 4); index 11277 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Phase1[temp][index][j]); index 11287 drivers/video/fbdev/sis/init301.c unsigned short index,temp,i,j,romptr=0; index 11303 drivers/video/fbdev/sis/init301.c index = SiS_Pr->SiS_VBModeIDTable[ModeIdIndex].VB_TVYFilterIndex; index 11307 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Filter2[temp][index][j]); index 11310 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Filter2[temp][index][j]); index 11316 drivers/video/fbdev/sis/init301.c romptr += (index * 4); index 11322 drivers/video/fbdev/sis/init301.c SiS_SetReg(SiS_Pr->SiS_Part2Port,i,SiS300_Filter1[temp][index][j]); index 131 drivers/video/fbdev/sis/init301.h extern unsigned short SiS_GetLatencyFactor630(struct SiS_Private *SiS_Pr, unsigned short index); index 85 drivers/video/fbdev/sis/initextlfb.c unsigned short ModeIdIndex = 0, index = 0, RRTI = 0; index 105 drivers/video/fbdev/sis/initextlfb.c index = SiS_Pr->SiS_RefIndex[RRTI].Ext_CRT1CRTC_WIDE; index 108 drivers/video/fbdev/sis/initextlfb.c index = SiS_Pr->SiS_RefIndex[RRTI].Ext_CRT1CRTC_NORM; index 112 drivers/video/fbdev/sis/initextlfb.c index = SiS_Pr->SiS_RefIndex[RRTI].Ext_CRT1CRTC; index 116 drivers/video/fbdev/sis/initextlfb.c (unsigned char *)&SiS_Pr->SiS_CRT1Table[index].CR[0], index 347 drivers/video/fbdev/sis/sis.h unsigned short SiS_GetLatencyFactor630(struct SiS_Private *SiS_Pr, unsigned short index); index 78 drivers/video/fbdev/sis/sis_main.c int index); index 438 drivers/video/fbdev/sis/sis_main.c int i, j, xres, yres, refresh, index; index 504 drivers/video/fbdev/sis/sis_main.c index = 0x26; index 506 drivers/video/fbdev/sis/sis_main.c xres = (buffer[index] + 31) * 8; index 507 drivers/video/fbdev/sis/sis_main.c switch(buffer[index + 1] & 0xc0) { index 513 drivers/video/fbdev/sis/sis_main.c refresh = (buffer[index + 1] & 0x3f) + 60; index 527 drivers/video/fbdev/sis/sis_main.c index += 2; index 4352 drivers/video/fbdev/sis/sis_main.c u16 index, rindex, memtype = 0; index 4377 drivers/video/fbdev/sis/sis_main.c index = memtype * 5; index 4378 drivers/video/fbdev/sis/sis_main.c rindex = index + 0x54; index 4382 drivers/video/fbdev/sis/sis_main.c rindex = index + 0x7c; index 4886 drivers/video/fbdev/sis/sis_main.c int index; index 4910 drivers/video/fbdev/sis/sis_main.c index = regb * 3; index 4911 drivers/video/fbdev/sis/sis_main.c v1 = cs90[index]; v2 = cs90[index + 1]; v3 = cs90[index + 2]; index 4913 drivers/video/fbdev/sis/sis_main.c v1 = ivideo->bios_abase[0x90 + index]; index 4914 drivers/video/fbdev/sis/sis_main.c v2 = ivideo->bios_abase[0x90 + index + 1]; index 4915 drivers/video/fbdev/sis/sis_main.c v3 = ivideo->bios_abase[0x90 + index + 2]; index 4923 drivers/video/fbdev/sis/sis_main.c index = regb * 3; index 4924 drivers/video/fbdev/sis/sis_main.c v1 = csb8[index]; v2 = csb8[index + 1]; v3 = csb8[index + 2]; index 4926 drivers/video/fbdev/sis/sis_main.c v1 = ivideo->bios_abase[0xb8 + index]; index 4927 drivers/video/fbdev/sis/sis_main.c v2 = ivideo->bios_abase[0xb8 + index + 1]; index 4928 drivers/video/fbdev/sis/sis_main.c v3 = ivideo->bios_abase[0xb8 + index + 2]; index 5112 drivers/video/fbdev/sis/sis_main.c int i, j, k, index; index 5420 drivers/video/fbdev/sis/sis_main.c index = (ivideo->chip == XGI_20) ? 0x31a : 0x3a6; index 5421 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[index]; index 5422 drivers/video/fbdev/sis/sis_main.c ptr2 = (const u8 *)&bios[index + 0x20]; index 5449 drivers/video/fbdev/sis/sis_main.c index = (ivideo->chip == XGI_20) ? 0x35a : 0x3e6; index 5450 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[index]; index 5487 drivers/video/fbdev/sis/sis_main.c index = (ivideo->chip == XGI_20) ? 0x45a : 0x4e6; index 5488 drivers/video/fbdev/sis/sis_main.c ptr = (const u8 *)&bios[index]; index 5629 drivers/video/fbdev/sis/sis_main.c index = (ivideo->chip == XGI_20) ? 0x4b2 : 0x53e; index 5630 drivers/video/fbdev/sis/sis_main.c v2 = bios[index]; index 5631 drivers/video/fbdev/sis/sis_main.c v3 = bios[index + 1]; index 5632 drivers/video/fbdev/sis/sis_main.c v4 = bios[index + 2]; index 5633 drivers/video/fbdev/sis/sis_main.c v5 = bios[index + 3]; index 89 drivers/video/fbdev/sm712fb.c char index[6]; index 850 drivers/video/fbdev/sm712fb.c if (strstr(options, vesa_mode_table[i].index)) { index 141 drivers/video/fbdev/smscufx.c static int ufx_reg_read(struct ufx_data *dev, u32 index, u32 *data) index 154 drivers/video/fbdev/smscufx.c 00, index, buf, 4, USB_CTRL_GET_TIMEOUT); index 161 drivers/video/fbdev/smscufx.c pr_warn("Failed to read register index 0x%08x\n", index); index 167 drivers/video/fbdev/smscufx.c static int ufx_reg_write(struct ufx_data *dev, u32 index, u32 data) index 183 drivers/video/fbdev/smscufx.c 00, index, buf, 4, USB_CTRL_SET_TIMEOUT); index 189 drivers/video/fbdev/smscufx.c "0x%08x\n", index, data); index 194 drivers/video/fbdev/smscufx.c static int ufx_reg_clear_and_set_bits(struct ufx_data *dev, u32 index, index 198 drivers/video/fbdev/smscufx.c int status = ufx_reg_read(dev, index, &data); index 200 drivers/video/fbdev/smscufx.c "0x%x", index); index 205 drivers/video/fbdev/smscufx.c status = ufx_reg_write(dev, index, data); index 207 drivers/video/fbdev/smscufx.c "0x%x", index); index 212 drivers/video/fbdev/smscufx.c static int ufx_reg_set_bits(struct ufx_data *dev, u32 index, u32 bits) index 214 drivers/video/fbdev/smscufx.c return ufx_reg_clear_and_set_bits(dev, index, 0, bits); index 217 drivers/video/fbdev/smscufx.c static int ufx_reg_clear_bits(struct ufx_data *dev, u32 index, u32 bits) index 219 drivers/video/fbdev/smscufx.c return ufx_reg_clear_and_set_bits(dev, index, bits, 0); index 974 drivers/video/fbdev/smscufx.c const int y = (cur->index << PAGE_SHIFT) / (width * 2); index 262 drivers/video/fbdev/sticore.h s16 index; /* index into font table of character */ index 382 drivers/video/fbdev/sticore.h struct sti_struct *sti_get_rom(unsigned int index); /* 0: default sti */ index 75 drivers/video/fbdev/stifb.c #define REGION_BASE(fb_info, index) \ index 76 drivers/video/fbdev/stifb.c F_EXTEND(fb_info->sti->glob_cfg->region_ptrs[index]) index 246 drivers/video/fbdev/stifb.c WRITE_IMAGE_COLOR(struct stifb_info *fb, int index, int color) index 249 drivers/video/fbdev/stifb.c WRITE_WORD(((0x100+index)<<2), fb, REG_3); index 98 drivers/video/fbdev/sunxvr500.c static void e3d_clut_write(struct e3d_info *ep, int index, u32 val) index 105 drivers/video/fbdev/sunxvr500.c writel(index, ramdac + RAMDAC_INDEX); index 814 drivers/video/fbdev/udlfb.c &cmd, cur->index << PAGE_SHIFT, index 114 drivers/video/fbdev/vermilion/cr_pll.c int index; index 117 drivers/video/fbdev/vermilion/cr_pll.c index = crvml_nearest_index(sys, clock); index 119 drivers/video/fbdev/vermilion/cr_pll.c if (crvml_clocks[index] != clock) index 123 drivers/video/fbdev/vermilion/cr_pll.c clock_val = crvml_clock_bits[index] << CRVML_CLOCK_SHIFT; index 182 drivers/video/fbdev/vga16fb.c static inline void setindex(int index) index 184 drivers/video/fbdev/vga16fb.c vga_io_w(VGA_GFX_I, index); index 11 drivers/video/fbdev/via/dvi.c static void tmds_register_write(int index, u8 data); index 12 drivers/video/fbdev/via/dvi.c static int tmds_register_read(int index); index 13 drivers/video/fbdev/via/dvi.c static int tmds_register_read_bytes(int index, u8 *buff, int buff_len); index 135 drivers/video/fbdev/via/dvi.c static void tmds_register_write(int index, u8 data) index 139 drivers/video/fbdev/via/dvi.c index, data); index 142 drivers/video/fbdev/via/dvi.c static int tmds_register_read(int index) index 148 drivers/video/fbdev/via/dvi.c (u8) index, &data); index 152 drivers/video/fbdev/via/dvi.c static int tmds_register_read_bytes(int index, u8 *buff, int buff_len) index 156 drivers/video/fbdev/via/dvi.c (u8) index, buff, buff_len); index 475 drivers/video/fbdev/via/hw.c static void write_dac_reg(u8 index, u8 r, u8 g, u8 b) index 477 drivers/video/fbdev/via/hw.c outb(index, LUT_INDEX_WRITE); index 657 drivers/video/fbdev/via/hw.c static void set_color_register(u8 index, u8 red, u8 green, u8 blue) index 660 drivers/video/fbdev/via/hw.c outb(index, 0x3C8); index 666 drivers/video/fbdev/via/hw.c void viafb_set_primary_color_register(u8 index, u8 red, u8 green, u8 blue) index 669 drivers/video/fbdev/via/hw.c set_color_register(index, red, green, blue); index 672 drivers/video/fbdev/via/hw.c void viafb_set_secondary_color_register(u8 index, u8 red, u8 green, u8 blue) index 675 drivers/video/fbdev/via/hw.c set_color_register(index, red, green, blue); index 678 drivers/video/fbdev/via/hw.c static void set_source_common(u8 index, u8 offset, u8 iga) index 694 drivers/video/fbdev/via/hw.c via_write_reg_mask(VIACR, index, value, mask); index 1008 drivers/video/fbdev/via/hw.c via_write_reg_mask(RegTable[i].port, RegTable[i].index, index 1825 drivers/video/fbdev/via/hw.c u8 value, index, mask; index 1840 drivers/video/fbdev/via/hw.c index = res_patch_table[0].io_reg_table[j].index; index 1844 drivers/video/fbdev/via/hw.c viafb_write_reg_mask(index, port, value, mask); index 658 drivers/video/fbdev/via/hw.h void viafb_set_primary_color_register(u8 index, u8 red, u8 green, u8 blue); index 659 drivers/video/fbdev/via/hw.h void viafb_set_secondary_color_register(u8 index, u8 red, u8 green, u8 blue); index 39 drivers/video/fbdev/via/lcd.c static int lvds_register_read(int index); index 325 drivers/video/fbdev/via/lcd.c static int lvds_register_read(int index) index 331 drivers/video/fbdev/via/lcd.c (u8) index, &data); index 313 drivers/video/fbdev/via/share.h u8 index; index 107 drivers/video/fbdev/via/via_i2c.c int viafb_i2c_readbyte(u8 adap, u8 slave_addr, u8 index, u8 *pdata) index 119 drivers/video/fbdev/via/via_i2c.c mm1[0] = index; index 131 drivers/video/fbdev/via/via_i2c.c int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data) index 134 drivers/video/fbdev/via/via_i2c.c u8 msg[2] = { index, data }; index 152 drivers/video/fbdev/via/via_i2c.c int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len) index 163 drivers/video/fbdev/via/via_i2c.c mm1[0] = index; index 87 drivers/video/fbdev/via/viafbdev.h *plvds_chip_info, u8 index); index 42 drivers/video/fbdev/via/vt1636.c u8 index) index 47 drivers/video/fbdev/via/vt1636.c plvds_chip_info->lvds_chip_slave_addr, index, &data); index 55 drivers/video/fbdev/via/vt1636.c int index, data; index 57 drivers/video/fbdev/via/vt1636.c index = io_data.Index; index 59 drivers/video/fbdev/via/vt1636.c index); index 63 drivers/video/fbdev/via/vt1636.c plvds_chip_info->lvds_chip_slave_addr, index, data); index 181 drivers/video/fbdev/via/vt1636.c int index; index 186 drivers/video/fbdev/via/vt1636.c index = get_clk_range_index(plvds_setting_info->vclk); index 188 drivers/video/fbdev/via/vt1636.c &GFX_DPA_SETTING_TBL_VT3324[index]); index 205 drivers/video/fbdev/via/vt1636.c int index; index 210 drivers/video/fbdev/via/vt1636.c index = get_clk_range_index(plvds_setting_info->vclk); index 212 drivers/video/fbdev/via/vt1636.c &GFX_DPA_SETTING_TBL_VT3327[index]); index 222 drivers/video/fbdev/via/vt1636.c int index; index 227 drivers/video/fbdev/via/vt1636.c index = get_clk_range_index(plvds_setting_info->vclk); index 229 drivers/video/fbdev/via/vt1636.c &GFX_DPA_SETTING_TBL_VT3364[index]); index 195 drivers/video/fbdev/xen-fbfront.c beg = page->index << PAGE_SHIFT; index 510 drivers/video/fbdev/xen-fbfront.c if (!strcmp(c->name, "tty") && c->index == 0) index 31 drivers/video/of_videomode.c int index) index 42 drivers/video/of_videomode.c if (index == OF_USE_NATIVE_MODE) index 43 drivers/video/of_videomode.c index = disp->native_mode; index 45 drivers/video/of_videomode.c ret = videomode_from_timings(disp, vm, index); index 32 drivers/video/videomode.c struct videomode *vm, unsigned int index) index 36 drivers/video/videomode.c dt = display_timings_get(disp, index); index 330 drivers/virtio/virtio.c dev->index = err; index 331 drivers/virtio/virtio.c dev_set_name(&dev->dev, "virtio%u", dev->index); index 352 drivers/virtio/virtio.c ida_simple_remove(&virtio_index_ida, dev->index); index 362 drivers/virtio/virtio.c int index = dev->index; /* save for after device release */ index 365 drivers/virtio/virtio.c ida_simple_remove(&virtio_index_ida, index); index 239 drivers/virtio/virtio_input.c "virtio%d/input0", vdev->index); index 278 drivers/virtio/virtio_mmio.c writel(vq->index, vm_dev->base + VIRTIO_MMIO_QUEUE_NOTIFY); index 317 drivers/virtio/virtio_mmio.c unsigned int index = vq->index; index 324 drivers/virtio/virtio_mmio.c writel(index, vm_dev->base + VIRTIO_MMIO_QUEUE_SEL); index 348 drivers/virtio/virtio_mmio.c static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index, index 363 drivers/virtio/virtio_mmio.c writel(index, vm_dev->base + VIRTIO_MMIO_QUEUE_SEL); index 386 drivers/virtio/virtio_mmio.c vq = vring_create_virtqueue(index, num, VIRTIO_MMIO_VRING_ALIGN, vdev, index 45 drivers/virtio/virtio_pci_common.c iowrite16(vq->index, (void __iomem *)vq->priv); index 174 drivers/virtio/virtio_pci_common.c static struct virtqueue *vp_setup_vq(struct virtio_device *vdev, unsigned index, index 189 drivers/virtio/virtio_pci_common.c vq = vp_dev->setup_vq(vp_dev, info, index, callback, name, ctx, index 203 drivers/virtio/virtio_pci_common.c vp_dev->vqs[index] = info; index 214 drivers/virtio/virtio_pci_common.c struct virtio_pci_vq_info *info = vp_dev->vqs[vq->index]; index 234 drivers/virtio/virtio_pci_common.c int v = vp_dev->vqs[vq->index]->msix_vector; index 427 drivers/virtio/virtio_pci_common.c struct virtio_pci_vq_info *info = vp_dev->vqs[vq->index]; index 447 drivers/virtio/virtio_pci_common.c const struct cpumask *vp_get_vq_affinity(struct virtio_device *vdev, int index) index 452 drivers/virtio/virtio_pci_common.c vp_dev->vqs[index]->msix_vector == VIRTIO_MSI_NO_VECTOR) index 456 drivers/virtio/virtio_pci_common.c vp_dev->vqs[index]->msix_vector); index 143 drivers/virtio/virtio_pci_common.h const struct cpumask *vp_get_vq_affinity(struct virtio_device *vdev, int index); index 115 drivers/virtio/virtio_pci_legacy.c unsigned index, index 127 drivers/virtio/virtio_pci_legacy.c iowrite16(index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); index 137 drivers/virtio/virtio_pci_legacy.c vq = vring_create_virtqueue(index, num, index 181 drivers/virtio/virtio_pci_legacy.c iowrite16(vq->index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); index 308 drivers/virtio/virtio_pci_modern.c unsigned index, index 319 drivers/virtio/virtio_pci_modern.c if (index >= vp_ioread16(&cfg->num_queues)) index 323 drivers/virtio/virtio_pci_modern.c vp_iowrite16(index, &cfg->queue_select); index 341 drivers/virtio/virtio_pci_modern.c vq = vring_create_virtqueue(index, num, index 365 drivers/virtio/virtio_pci_modern.c index, vp_dev->notify_len); index 419 drivers/virtio/virtio_pci_modern.c vp_iowrite16(vq->index, &vp_dev->common->queue_select); index 431 drivers/virtio/virtio_pci_modern.c vp_iowrite16(vq->index, &vp_dev->common->queue_select); index 846 drivers/virtio/virtio_ring.c unsigned int index, index 894 drivers/virtio/virtio_ring.c vq = __vring_new_virtqueue(index, vring, vdev, weak_barriers, context, index 1554 drivers/virtio/virtio_ring.c unsigned int index, index 1602 drivers/virtio/virtio_ring.c vq->vq.index = index; index 2053 drivers/virtio/virtio_ring.c struct virtqueue *__vring_new_virtqueue(unsigned int index, index 2077 drivers/virtio/virtio_ring.c vq->vq.index = index; index 2132 drivers/virtio/virtio_ring.c unsigned int index, index 2145 drivers/virtio/virtio_ring.c return vring_create_virtqueue_packed(index, num, vring_align, index 2149 drivers/virtio/virtio_ring.c return vring_create_virtqueue_split(index, num, vring_align, index 2156 drivers/virtio/virtio_ring.c struct virtqueue *vring_new_virtqueue(unsigned int index, index 2173 drivers/virtio/virtio_ring.c return __vring_new_virtqueue(index, vring, vdev, weak_barriers, context, index 168 drivers/w1/masters/ds2490.c static int ds_send_control_cmd(struct ds_device *dev, u16 value, u16 index) index 173 drivers/w1/masters/ds2490.c CONTROL_CMD, VENDOR, value, index, NULL, 0, 1000); index 176 drivers/w1/masters/ds2490.c value, index, err); index 183 drivers/w1/masters/ds2490.c static int ds_send_control_mode(struct ds_device *dev, u16 value, u16 index) index 188 drivers/w1/masters/ds2490.c MODE_CMD, VENDOR, value, index, NULL, 0, 1000); index 191 drivers/w1/masters/ds2490.c value, index, err); index 198 drivers/w1/masters/ds2490.c static int ds_send_control(struct ds_device *dev, u16 value, u16 index) index 203 drivers/w1/masters/ds2490.c COMM_CMD, VENDOR, value, index, NULL, 0, 1000); index 206 drivers/w1/masters/ds2490.c value, index, err); index 677 drivers/w1/masters/ds2490.c u16 value, index; index 709 drivers/w1/masters/ds2490.c index = search_type | (search_limit << 8); index 710 drivers/w1/masters/ds2490.c if (ds_send_control(dev, value, index) < 0) index 205 drivers/watchdog/cpwd.c static void cpwd_toggleintr(struct cpwd *p, int index, int enable) index 209 drivers/watchdog/cpwd.c (index == -1) ? index 211 drivers/watchdog/cpwd.c (p->devs[index].intr_mask); index 224 drivers/watchdog/cpwd.c static void cpwd_resetbrokentimer(struct cpwd *p, int index) index 226 drivers/watchdog/cpwd.c cpwd_toggleintr(p, index, WD_INTR_ON); index 227 drivers/watchdog/cpwd.c cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); index 263 drivers/watchdog/cpwd.c static void cpwd_pingtimer(struct cpwd *p, int index) index 265 drivers/watchdog/cpwd.c if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) index 266 drivers/watchdog/cpwd.c cpwd_readw(p->devs[index].regs + WD_DCNTR); index 273 drivers/watchdog/cpwd.c static void cpwd_stoptimer(struct cpwd *p, int index) index 275 drivers/watchdog/cpwd.c if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { index 276 drivers/watchdog/cpwd.c cpwd_toggleintr(p, index, WD_INTR_OFF); index 279 drivers/watchdog/cpwd.c p->devs[index].runstatus |= WD_STAT_BSTOP; index 292 drivers/watchdog/cpwd.c static void cpwd_starttimer(struct cpwd *p, int index) index 295 drivers/watchdog/cpwd.c p->devs[index].runstatus &= ~WD_STAT_BSTOP; index 297 drivers/watchdog/cpwd.c p->devs[index].runstatus &= ~WD_STAT_SVCD; index 299 drivers/watchdog/cpwd.c cpwd_writew(p->devs[index].timeout, p->devs[index].regs + WD_LIMIT); index 300 drivers/watchdog/cpwd.c cpwd_toggleintr(p, index, WD_INTR_ON); index 303 drivers/watchdog/cpwd.c static int cpwd_getstatus(struct cpwd *p, int index) index 305 drivers/watchdog/cpwd.c unsigned char stat = cpwd_readb(p->devs[index].regs + WD_STATUS); index 306 drivers/watchdog/cpwd.c unsigned char intr = cpwd_readb(p->devs[index].regs + PLD_IMASK); index 317 drivers/watchdog/cpwd.c if (intr & p->devs[index].intr_mask) { index 332 drivers/watchdog/cpwd.c (p->devs[index].runstatus & WD_STAT_BSTOP)) { index 333 drivers/watchdog/cpwd.c if (p->devs[index].runstatus & WD_STAT_SVCD) { index 347 drivers/watchdog/cpwd.c if (p->devs[index].runstatus & WD_STAT_SVCD) index 416 drivers/watchdog/cpwd.c int index = iminor(inode) - WD0_MINOR; index 434 drivers/watchdog/cpwd.c cpwd_pingtimer(p, index); index 444 drivers/watchdog/cpwd.c cpwd_stoptimer(p, index); index 446 drivers/watchdog/cpwd.c cpwd_starttimer(p, index); index 454 drivers/watchdog/cpwd.c setopt = cpwd_getstatus(p, index); index 460 drivers/watchdog/cpwd.c cpwd_starttimer(p, index); index 467 drivers/watchdog/cpwd.c cpwd_stoptimer(p, index); index 487 drivers/watchdog/cpwd.c int index = iminor(inode); index 490 drivers/watchdog/cpwd.c cpwd_pingtimer(p, index); index 108 drivers/watchdog/eurotechwdt.c static inline void eurwdt_write_reg(u8 index, u8 data) index 110 drivers/watchdog/eurotechwdt.c outb(index, io); index 370 drivers/watchdog/kempld_wdt.c u8 index, data, data_orig; index 381 drivers/watchdog/kempld_wdt.c index = KEMPLD_WDT_STAGE_TIMEOUT(i); index 387 drivers/watchdog/kempld_wdt.c data_orig = kempld_read8(pld, index + j); index 388 drivers/watchdog/kempld_wdt.c kempld_write8(pld, index + j, 0x00); index 389 drivers/watchdog/kempld_wdt.c data = kempld_read8(pld, index + j); index 393 drivers/watchdog/kempld_wdt.c kempld_write8(pld, index + j, data_orig); index 68 drivers/watchdog/riowd.c static void riowd_writereg(struct riowd *p, u8 val, int index) index 73 drivers/watchdog/riowd.c writeb(index, p->regs + 0); index 100 drivers/watchdog/sc1200wdt.c static inline void __sc1200wdt_read_data(unsigned char index, index 103 drivers/watchdog/sc1200wdt.c outb_p(index, PMIR); index 107 drivers/watchdog/sc1200wdt.c static void sc1200wdt_read_data(unsigned char index, unsigned char *data) index 110 drivers/watchdog/sc1200wdt.c __sc1200wdt_read_data(index, data); index 115 drivers/watchdog/sc1200wdt.c static inline void __sc1200wdt_write_data(unsigned char index, index 118 drivers/watchdog/sc1200wdt.c outb_p(index, PMIR); index 122 drivers/watchdog/sc1200wdt.c static inline void sc1200wdt_write_data(unsigned char index, index 126 drivers/watchdog/sc1200wdt.c __sc1200wdt_write_data(index, data); index 141 drivers/watchdog/sp5100_tco.c static u8 sp5100_tco_read_pm_reg8(u8 index) index 143 drivers/watchdog/sp5100_tco.c outb(index, SP5100_IO_PM_INDEX_REG); index 147 drivers/watchdog/sp5100_tco.c static void sp5100_tco_update_pm_reg8(u8 index, u8 reset, u8 set) index 151 drivers/watchdog/sp5100_tco.c outb(index, SP5100_IO_PM_INDEX_REG); index 201 drivers/watchdog/sp5100_tco.c static u32 sp5100_tco_read_pm_reg32(u8 index) index 207 drivers/watchdog/sp5100_tco.c val = (val << 8) + sp5100_tco_read_pm_reg8(index + i); index 1433 drivers/xen/events/events_base.c map_irq.index = gsi; index 1639 drivers/xen/events/events_base.c a.index = HVM_PARAM_CALLBACK_IRQ; index 101 drivers/xen/gntalloc.c uint64_t index; index 139 drivers/xen/gntalloc.c gref->file_index = op->index + i * PAGE_SIZE; index 219 drivers/xen/gntalloc.c uint64_t index, uint32_t count) index 223 drivers/xen/gntalloc.c if (gref->file_index == index && !rv) index 226 drivers/xen/gntalloc.c if (gref->file_index != index) index 228 drivers/xen/gntalloc.c index += PAGE_SIZE; index 315 drivers/xen/gntalloc.c op.index = priv->index; index 316 drivers/xen/gntalloc.c priv->index += op.count * PAGE_SIZE; index 361 drivers/xen/gntalloc.c gref = find_grefs(priv, op.index, op.count); index 390 drivers/xen/gntalloc.c uint64_t index; index 397 drivers/xen/gntalloc.c index = op.index & ~(PAGE_SIZE - 1); index 398 drivers/xen/gntalloc.c pgoff = op.index & (PAGE_SIZE - 1); index 402 drivers/xen/gntalloc.c gref = find_grefs(priv, index, 1); index 54 drivers/xen/gntdev-common.h int index; index 89 drivers/xen/gntdev.c map->index, map->count, index 90 drivers/xen/gntdev.c map->index == text_index && text ? text : ""); index 194 drivers/xen/gntdev.c add->index = 0; index 210 drivers/xen/gntdev.c if (add->index + add->count < map->index) { index 214 drivers/xen/gntdev.c add->index = map->index + map->count; index 219 drivers/xen/gntdev.c gntdev_print_maps(priv, "[new]", add->index); index 223 drivers/xen/gntdev.c int index, int count) index 228 drivers/xen/gntdev.c if (map->index != index) index 337 drivers/xen/gntdev.c pr_debug("map %d+%d\n", map->index, map->count); index 405 drivers/xen/gntdev.c pr_debug("unmap %d+%d [%d+%d]\n", map->index, map->count, offset, pages); index 507 drivers/xen/gntdev.c map->index, map->count, index 561 drivers/xen/gntdev.c map->index, map->count, index 570 drivers/xen/gntdev.c map->index, map->count, index 693 drivers/xen/gntdev.c op.index = map->index << PAGE_SHIFT; index 711 drivers/xen/gntdev.c pr_debug("priv %p, del %d+%d\n", priv, (int)op.index, (int)op.count); index 714 drivers/xen/gntdev.c map = gntdev_find_map_index(priv, op.index >> PAGE_SHIFT, op.count); index 748 drivers/xen/gntdev.c op.offset = map->index << PAGE_SHIFT; index 792 drivers/xen/gntdev.c uint64_t begin = map->index << PAGE_SHIFT; index 793 drivers/xen/gntdev.c uint64_t end = (map->index + map->count) << PAGE_SHIFT; index 794 drivers/xen/gntdev.c if (op.index >= begin && op.index < end) index 811 drivers/xen/gntdev.c map->notify.addr = op.index - (map->index << PAGE_SHIFT); index 1073 drivers/xen/gntdev.c int index = vma->vm_pgoff; index 1082 drivers/xen/gntdev.c index, count, vma->vm_start, vma->vm_pgoff); index 1085 drivers/xen/gntdev.c map = gntdev_find_map_index(priv, index, count); index 318 drivers/xen/privcmd.c int index; index 347 drivers/xen/privcmd.c cur_pages = &pages[st->index]; index 365 drivers/xen/privcmd.c st->index += nr / XEN_PFN_PER_PAGE; index 549 drivers/xen/privcmd.c state.index = 0; index 320 drivers/xen/sys-hypervisor.c static ssize_t xen_feature_show(int index, char *buffer) index 325 drivers/xen/sys-hypervisor.c info.submap_idx = index; index 70 drivers/xen/xlate_mmu.c int index; index 99 drivers/xen/xlate_mmu.c struct page *page = info->pages[info->index++]; index 164 drivers/xen/xlate_mmu.c data.index = 0; index 157 fs/9p/vfs_addr.c if (page->index == size >> PAGE_SHIFT) index 262 fs/9p/vfs_addr.c pgoff_t index = pos >> PAGE_SHIFT; index 270 fs/9p/vfs_addr.c page = grab_cache_page_write_begin(mapping, index, flags); index 514 fs/affs/file.c page->index, to); index 517 fs/affs/file.c tmp = page->index << PAGE_SHIFT; index 617 fs/affs/file.c pr_debug("%s(%lu, %ld)\n", __func__, inode->i_ino, page->index); index 619 fs/affs/file.c if (((page->index + 1) << PAGE_SHIFT) > inode->i_size) { index 637 fs/affs/file.c pgoff_t index; index 651 fs/affs/file.c index = pos >> PAGE_SHIFT; index 652 fs/affs/file.c page = grab_cache_page_write_begin(mapping, index, flags); index 697 fs/affs/file.c tmp = (page->index << PAGE_SHIFT) + from; index 793 fs/affs/file.c tmp = (page->index << PAGE_SHIFT) + from; index 357 fs/afs/addr_list.c int index; index 364 fs/afs/addr_list.c _enter("%lx-%lx-%lx,%d", set, failed, ac->tried, ac->index); index 373 fs/afs/addr_list.c index = READ_ONCE(ac->alist->preferred); index 374 fs/afs/addr_list.c if (test_bit(index, &set)) index 377 fs/afs/addr_list.c index = __ffs(set); index 380 fs/afs/addr_list.c ac->index = index; index 381 fs/afs/addr_list.c set_bit(index, &ac->tried); index 396 fs/afs/addr_list.c ac->index != alist->preferred && index 398 fs/afs/addr_list.c WRITE_ONCE(alist->preferred, ac->index); index 110 fs/afs/afs_vl.h __be32 index; index 90 fs/afs/callback.c unsigned int index) index 92 fs/afs/callback.c struct afs_server_entry *entry = &slist->servers[index]; index 179 fs/afs/dir.c req->pos, req->index, req->nr_pages, req->offset); index 2021 fs/afs/dir.c _enter("{{%llx:%llu}[%lu]}", dvnode->fid.vid, dvnode->fid.vnode, page->index); index 2042 fs/afs/dir.c _enter("{%lu},%u,%u", page->index, offset, length); index 195 fs/afs/dir_edit.c pgoff_t index; index 234 fs/afs/dir_edit.c index = b / AFS_DIR_BLOCKS_PER_PAGE; index 235 fs/afs/dir_edit.c if (index == 0) { index 243 fs/afs/dir_edit.c index, gfp); index 375 fs/afs/dir_edit.c pgoff_t index; index 408 fs/afs/dir_edit.c index = b / AFS_DIR_BLOCKS_PER_PAGE; index 409 fs/afs/dir_edit.c if (index != 0) { index 410 fs/afs/dir_edit.c page = find_lock_page(vnode->vfs_inode.i_mapping, index); index 280 fs/afs/file.c _enter("{%x},{%lu},{%lu}", key_serial(key), inode->i_ino, page->index); index 324 fs/afs/file.c req->pos = (loff_t)page->index << PAGE_SHIFT; index 419 fs/afs/file.c struct page *page = req->pages[req->index]; index 421 fs/afs/file.c req->pages[req->index] = NULL; index 448 fs/afs/file.c pgoff_t index; index 455 fs/afs/file.c index = first->index + 1; index 459 fs/afs/file.c if (page->index != index) index 461 fs/afs/file.c index++; index 472 fs/afs/file.c req->pos = first->index; index 488 fs/afs/file.c index = page->index; index 489 fs/afs/file.c if (add_to_page_cache_lru(page, mapping, index, index 612 fs/afs/file.c _enter("{%lu},%u,%u", page->index, offset, length); index 629 fs/afs/file.c page->index, priv); index 648 fs/afs/file.c vnode->fid.vid, vnode->fid.vnode, page->index, page->flags, index 663 fs/afs/file.c page->index, priv); index 34 fs/afs/fs_probe.c unsigned int index = call->addr_ix; index 39 fs/afs/fs_probe.c _enter("%pU,%u", &server->uuid, index); index 68 fs/afs/fs_probe.c clear_bit(index, &alist->responded); index 69 fs/afs/fs_probe.c set_bit(index, &alist->failed); index 80 fs/afs/fs_probe.c set_bit(index, &alist->responded); index 81 fs/afs/fs_probe.c clear_bit(index, &alist->failed); index 86 fs/afs/fs_probe.c alist->addrs[index].srx_service = call->service_id; index 91 fs/afs/fs_probe.c alist->addrs[index].srx_service = call->service_id; index 98 fs/afs/fs_probe.c alist->preferred = index; index 109 fs/afs/fs_probe.c server_index, index, &alist->addrs[index].transport, rtt_us, ret); index 130 fs/afs/fs_probe.c .index = 0, index 147 fs/afs/fs_probe.c for (ac.index = 0; ac.index < ac.alist->nr_addrs; ac.index++) { index 336 fs/afs/fsclient.c req->index = 0; index 363 fs/afs/fsclient.c ASSERTCMP(req->index, <, req->nr_pages); index 370 fs/afs/fsclient.c call->bvec[0].bv_page = req->pages[req->index]; index 388 fs/afs/fsclient.c req->index++; index 437 fs/afs/fsclient.c for (; req->index < req->nr_pages; req->index++) { index 439 fs/afs/fsclient.c zero_user_segment(req->pages[req->index], index 445 fs/afs/fsclient.c for (req->index = 0; req->index < req->nr_pages; req->index++) index 232 fs/afs/internal.h unsigned int index; /* Which page we're reading into */ index 450 fs/afs/internal.h u8 index; /* Server currently in use */ index 736 fs/afs/internal.h signed char index; /* Current address */ index 753 fs/afs/internal.h short index; /* Current server */ index 775 fs/afs/internal.h short index; /* Current server */ index 63 fs/afs/rotate.c fc->index = READ_ONCE(fc->server_list->preferred); index 71 fs/afs/rotate.c fc->index = i; index 150 fs/afs/rotate.c fc->untried, fc->index, index 151 fs/afs/rotate.c fc->ac.tried, fc->ac.index, index 191 fs/afs/rotate.c fc->server_list->vnovol_mask |= 1 << fc->index; index 367 fs/afs/rotate.c _debug("cbi %u", fc->index); index 368 fs/afs/rotate.c if (test_bit(fc->index, &fc->untried)) index 375 fs/afs/rotate.c fc->index = -1; index 383 fs/afs/rotate.c fc->index = i; index 388 fs/afs/rotate.c if (fc->index == -1) index 392 fs/afs/rotate.c _debug("use %d", fc->index); index 393 fs/afs/rotate.c __clear_bit(fc->index, &fc->untried); index 400 fs/afs/rotate.c server = fc->server_list->servers[fc->index].server; index 413 fs/afs/rotate.c fc->index); index 434 fs/afs/rotate.c fc->ac.index = -1; index 444 fs/afs/rotate.c _debug("address [%u] %u/%u", fc->index, fc->ac.index, fc->ac.alist->nr_addrs); index 521 fs/afs/rotate.c fc->ac.index = -1; index 582 fs/afs/rotate.c fc->untried, fc->index, fc->nr_iterations); index 608 fs/afs/rotate.c fc->ac.tried, fc->ac.index, fc->ac.abort_code, fc->ac.error, index 363 fs/afs/rxrpc.c struct sockaddr_rxrpc *srx = &ac->alist->addrs[ac->index]; index 379 fs/afs/rxrpc.c call->addr_ix = ac->index; index 378 fs/afs/server.c .index = alist->preferred, index 35 fs/afs/vl_probe.c unsigned int index = call->addr_ix; index 39 fs/afs/vl_probe.c _enter("%s,%u,%u,%d,%d", server->name, server_index, index, ret, call->abort_code); index 68 fs/afs/vl_probe.c clear_bit(index, &alist->responded); index 69 fs/afs/vl_probe.c set_bit(index, &alist->failed); index 80 fs/afs/vl_probe.c set_bit(index, &alist->responded); index 81 fs/afs/vl_probe.c clear_bit(index, &alist->failed); index 86 fs/afs/vl_probe.c alist->addrs[index].srx_service = call->service_id; index 91 fs/afs/vl_probe.c alist->addrs[index].srx_service = call->service_id; index 98 fs/afs/vl_probe.c alist->preferred = index; index 109 fs/afs/vl_probe.c server_index, index, &alist->addrs[index].transport, rtt_us, ret); index 130 fs/afs/vl_probe.c .index = 0, index 146 fs/afs/vl_probe.c for (ac.index = 0; ac.index < ac.alist->nr_addrs; ac.index++) { index 76 fs/afs/vl_rotate.c vc->index = -1; index 93 fs/afs/vl_rotate.c vc->untried, vc->index, index 94 fs/afs/vl_rotate.c vc->ac.tried, vc->ac.index, index 182 fs/afs/vl_rotate.c vc->index = vc->server_list->preferred; index 183 fs/afs/vl_rotate.c if (test_bit(vc->index, &vc->untried)) index 186 fs/afs/vl_rotate.c vc->index = -1; index 194 fs/afs/vl_rotate.c vc->index = i; index 199 fs/afs/vl_rotate.c if (vc->index == -1) index 203 fs/afs/vl_rotate.c _debug("use %d", vc->index); index 204 fs/afs/vl_rotate.c __clear_bit(vc->index, &vc->untried); index 211 fs/afs/vl_rotate.c vlserver = vc->server_list->servers[vc->index].server; index 229 fs/afs/vl_rotate.c vc->ac.index = -1; index 239 fs/afs/vl_rotate.c _debug("VL address %d/%d", vc->ac.index, vc->ac.alist->nr_addrs); index 241 fs/afs/vl_rotate.c _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); index 289 fs/afs/vl_rotate.c vc->untried, vc->index, vc->nr_iterations, vc->flags, vc->error); index 294 fs/afs/vl_rotate.c sl->nr_servers, sl->index); index 314 fs/afs/vl_rotate.c vc->ac.tried, vc->ac.index, vc->ac.abort_code, vc->ac.error, index 295 fs/afs/vlclient.c r->index = 0; index 87 fs/afs/write.c pgoff_t index = pos >> PAGE_SHIFT; index 91 fs/afs/write.c vnode->fid.vid, vnode->fid.vnode, index, from, to); index 98 fs/afs/write.c page = grab_cache_page_write_begin(mapping, index, flags); index 131 fs/afs/write.c page->index, priv); index 153 fs/afs/write.c page->index, priv); index 191 fs/afs/write.c vnode->fid.vid, vnode->fid.vnode, page->index); index 258 fs/afs/write.c if (page->index >= first) index 259 fs/afs/write.c first = page->index + 1; index 301 fs/afs/write.c if (page->index >= first) index 302 fs/afs/write.c first = page->index + 1; index 339 fs/afs/write.c pv.pages[loop]->index, priv); index 463 fs/afs/write.c _enter(",%lx", primary_page->index); index 474 fs/afs/write.c start = primary_page->index; index 479 fs/afs/write.c primary_page->index, priv); index 484 fs/afs/write.c primary_page->index, priv); index 500 fs/afs/write.c if (pages[0]->index != start) { index 512 fs/afs/write.c if (page->index > final_page) index 532 fs/afs/write.c page->index, priv); index 558 fs/afs/write.c first = primary_page->index; index 613 fs/afs/write.c _enter("{%lx},", page->index); index 633 fs/afs/write.c pgoff_t index, pgoff_t end, pgoff_t *_next) index 638 fs/afs/write.c _enter(",,%lx,%lx,", index, end); index 641 fs/afs/write.c n = find_get_pages_range_tag(mapping, &index, end, index 646 fs/afs/write.c _debug("wback %lx", page->index); index 687 fs/afs/write.c } while (index < end && wbc->nr_to_write > 0); index 689 fs/afs/write.c *_next = index; index 784 fs/afs/write.c vnode->fid.vid, vnode->fid.vnode, vmf->page->index); index 811 fs/afs/write.c vmf->page->index, priv); index 858 fs/afs/write.c _enter("{%lx}", page->index); index 870 fs/afs/write.c page->index, priv); index 871 fs/afs/write.c ret = afs_store_data(mapping, page->index, page->index, t, f); index 875 fs/afs/write.c page->index, priv); index 453 fs/afs/yfsclient.c req->index = 0; index 475 fs/afs/yfsclient.c ASSERTCMP(req->index, <, req->nr_pages); index 482 fs/afs/yfsclient.c call->bvec[0].bv_page = req->pages[req->index]; index 500 fs/afs/yfsclient.c req->index++; index 553 fs/afs/yfsclient.c for (; req->index < req->nr_pages; req->index++) { index 555 fs/afs/yfsclient.c zero_user_segment(req->pages[req->index], index 561 fs/afs/yfsclient.c for (req->index = 0; req->index < req->nr_pages; req->index++) index 412 fs/aio.c idx = old->index; index 117 fs/befs/btree.c int index, u16 * keylen); index 676 fs/befs/btree.c int index, u16 * keylen) index 682 fs/befs/btree.c if (index < 0 || index > node->head.all_key_count) { index 690 fs/befs/btree.c if (index == 0) index 693 fs/befs/btree.c prev_key_end = fs16_to_cpu(sb, keylen_index[index - 1]); index 695 fs/befs/btree.c *keylen = fs16_to_cpu(sb, keylen_index[index]) - prev_key_end; index 515 fs/btrfs/backref.c int index; index 521 fs/btrfs/backref.c index = srcu_read_lock(&fs_info->subvol_srcu); index 525 fs/btrfs/backref.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 531 fs/btrfs/backref.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 544 fs/btrfs/backref.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 557 fs/btrfs/backref.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 872 fs/btrfs/block-group.c int index; index 892 fs/btrfs/block-group.c index = btrfs_bg_flags_to_raid_index(block_group->flags); index 999 fs/btrfs/block-group.c if (list_empty(&block_group->space_info->block_groups[index])) { index 1000 fs/btrfs/block-group.c kobj = block_group->space_info->block_group_kobjs[index]; index 1001 fs/btrfs/block-group.c block_group->space_info->block_group_kobjs[index] = NULL; index 1584 fs/btrfs/block-group.c int index = btrfs_bg_flags_to_raid_index(cache->flags); index 1588 fs/btrfs/block-group.c if (list_empty(&space_info->block_groups[index])) index 1590 fs/btrfs/block-group.c list_add_tail(&cache->list, &space_info->block_groups[index]); index 131 fs/btrfs/compression.c unsigned long index; index 175 fs/btrfs/compression.c index = 0; index 176 fs/btrfs/compression.c for (index = 0; index < cb->nr_pages; index++) { index 177 fs/btrfs/compression.c page = cb->compressed_pages[index]; index 214 fs/btrfs/compression.c unsigned long index = cb->start >> PAGE_SHIFT; index 217 fs/btrfs/compression.c unsigned long nr_pages = end_index - index + 1; index 225 fs/btrfs/compression.c ret = find_get_pages_contig(inode->i_mapping, index, index 230 fs/btrfs/compression.c index += 1; index 240 fs/btrfs/compression.c index += ret; index 258 fs/btrfs/compression.c unsigned long index; index 286 fs/btrfs/compression.c index = 0; index 287 fs/btrfs/compression.c for (index = 0; index < cb->nr_pages; index++) { index 288 fs/btrfs/compression.c page = cb->compressed_pages[index]; index 503 fs/btrfs/compression.c if (page->index == end_index) { index 638 fs/btrfs/compression.c page->index = em_start >> PAGE_SHIFT; index 1459 fs/btrfs/compression.c u64 index, index_end; index 1475 fs/btrfs/compression.c index = start >> PAGE_SHIFT; index 1483 fs/btrfs/compression.c while (index < index_end) { index 1484 fs/btrfs/compression.c page = find_get_page(inode->i_mapping, index); index 1501 fs/btrfs/compression.c index++; index 1541 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(inode_ref_index, struct btrfs_inode_ref, index, 64); index 1548 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(inode_extref_index, struct btrfs_inode_extref, index, 64); index 2711 fs/btrfs/ctree.h struct btrfs_key *location, u8 type, u64 index); index 2757 fs/btrfs/ctree.h u64 inode_objectid, u64 ref_objectid, u64 index); index 2761 fs/btrfs/ctree.h u64 inode_objectid, u64 ref_objectid, u64 *index); index 2824 fs/btrfs/ctree.h int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index); index 2831 fs/btrfs/ctree.h const char *name, int name_len, int add_backref, u64 index); index 1440 fs/btrfs/delayed-inode.c u64 index) index 1459 fs/btrfs/delayed-inode.c delayed_item->key.offset = index; index 1512 fs/btrfs/delayed-inode.c struct btrfs_inode *dir, u64 index) index 1525 fs/btrfs/delayed-inode.c item_key.offset = index; index 1557 fs/btrfs/delayed-inode.c index, node->root->root_key.objectid, index 1663 fs/btrfs/delayed-inode.c u64 index) index 1669 fs/btrfs/delayed-inode.c if (curr->key.offset > index) index 1671 fs/btrfs/delayed-inode.c if (curr->key.offset == index) { index 92 fs/btrfs/delayed-inode.h u64 index); index 95 fs/btrfs/delayed-inode.h struct btrfs_inode *dir, u64 index); index 131 fs/btrfs/delayed-inode.h u64 index); index 110 fs/btrfs/dir-item.c struct btrfs_key *location, u8 type, u64 index) index 164 fs/btrfs/dir-item.c &disk_key, type, index); index 3912 fs/btrfs/disk-io.c int index; index 3915 fs/btrfs/disk-io.c index = srcu_read_lock(&fs_info->subvol_srcu); index 3920 fs/btrfs/disk-io.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 3934 fs/btrfs/disk-io.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 68 fs/btrfs/export.c int index; index 78 fs/btrfs/export.c index = srcu_read_lock(&fs_info->subvol_srcu); index 96 fs/btrfs/export.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 105 fs/btrfs/export.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 3438 fs/btrfs/extent-tree.c int index; index 3664 fs/btrfs/extent-tree.c if (!ins->objectid && ++(ffe_ctl->index) < BTRFS_NR_RAID_TYPES) index 3685 fs/btrfs/extent-tree.c ffe_ctl->index = 0; index 3802 fs/btrfs/extent-tree.c ffe_ctl.index = btrfs_bg_flags_to_raid_index(flags); index 3887 fs/btrfs/extent-tree.c ffe_ctl.index = btrfs_bg_flags_to_raid_index( index 3898 fs/btrfs/extent-tree.c if (ffe_ctl.index == btrfs_bg_flags_to_raid_index(flags) || index 3899 fs/btrfs/extent-tree.c ffe_ctl.index == 0) index 3903 fs/btrfs/extent-tree.c &space_info->block_groups[ffe_ctl.index], list) { index 4033 fs/btrfs/extent-tree.c ffe_ctl.index); index 1456 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; index 1460 fs/btrfs/extent_io.c while (index <= end_index) { index 1461 fs/btrfs/extent_io.c page = find_get_page(inode->i_mapping, index); index 1465 fs/btrfs/extent_io.c index++; index 1471 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; index 1475 fs/btrfs/extent_io.c while (index <= end_index) { index 1476 fs/btrfs/extent_io.c page = find_get_page(inode->i_mapping, index); index 1481 fs/btrfs/extent_io.c index++; index 1745 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; index 1749 fs/btrfs/extent_io.c if (index == locked_page->index && end_index == index) index 1752 fs/btrfs/extent_io.c __process_pages_contig(inode->i_mapping, locked_page, index, end_index, index 1761 fs/btrfs/extent_io.c unsigned long index = delalloc_start >> PAGE_SHIFT; index 1762 fs/btrfs/extent_io.c unsigned long index_ret = index; index 1767 fs/btrfs/extent_io.c if (index == locked_page->index && index == end_index) index 1770 fs/btrfs/extent_io.c ret = __process_pages_contig(inode->i_mapping, locked_page, index, index 1874 fs/btrfs/extent_io.c pgoff_t index = start_index; index 1889 fs/btrfs/extent_io.c ret = find_get_pages_contig(mapping, index, index 1935 fs/btrfs/extent_io.c index += ret; index 2813 fs/btrfs/extent_io.c if (page->index == end_index && off) index 3091 fs/btrfs/extent_io.c if (page->index == last_byte >> PAGE_SHIFT) { index 3273 fs/btrfs/extent_io.c int index; index 3277 fs/btrfs/extent_io.c for (index = 0; index < nr_pages; index++) { index 3278 fs/btrfs/extent_io.c __do_readpage(tree, pages[index], btrfs_get_extent, em_cached, index 3280 fs/btrfs/extent_io.c put_page(pages[index]); index 3522 fs/btrfs/extent_io.c page->index, cur, end); index 3577 fs/btrfs/extent_io.c if (page->index > end_index || index 3578 fs/btrfs/extent_io.c (page->index == end_index && !pg_offset)) { index 3584 fs/btrfs/extent_io.c if (page->index == end_index) { index 3937 fs/btrfs/extent_io.c pgoff_t index; index 3944 fs/btrfs/extent_io.c index = mapping->writeback_index; /* Start from prev offset */ index 3950 fs/btrfs/extent_io.c scanned = (index == 0); index 3952 fs/btrfs/extent_io.c index = wbc->range_start >> PAGE_SHIFT; index 3962 fs/btrfs/extent_io.c tag_pages_for_writeback(mapping, index, end); index 3963 fs/btrfs/extent_io.c while (!done && !nr_to_write_done && (index <= end) && index 3964 fs/btrfs/extent_io.c (nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, index 4037 fs/btrfs/extent_io.c index = 0; index 4105 fs/btrfs/extent_io.c pgoff_t index; index 4126 fs/btrfs/extent_io.c index = mapping->writeback_index; /* Start from prev offset */ index 4132 fs/btrfs/extent_io.c scanned = (index == 0); index 4134 fs/btrfs/extent_io.c index = wbc->range_start >> PAGE_SHIFT; index 4159 fs/btrfs/extent_io.c tag_pages_for_writeback(mapping, index, end); index 4160 fs/btrfs/extent_io.c done_index = index; index 4161 fs/btrfs/extent_io.c while (!done && !nr_to_write_done && (index <= end) && index 4163 fs/btrfs/extent_io.c &index, end, tag))) { index 4169 fs/btrfs/extent_io.c done_index = page->index + 1; index 4224 fs/btrfs/extent_io.c index = 0; index 4351 fs/btrfs/extent_io.c if (add_to_page_cache_lru(page, mapping, page->index, index 5159 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; index 5181 fs/btrfs/extent_io.c for (i = 0; i < num_pages; i++, index++) { index 5182 fs/btrfs/extent_io.c p = find_or_create_page(mapping, index, GFP_NOFS|__GFP_NOFAIL); index 443 fs/btrfs/file-item.c int index; index 469 fs/btrfs/file-item.c index = 0; index 509 fs/btrfs/file-item.c index = 0; index 518 fs/btrfs/file-item.c crypto_shash_final(shash, (char *)(sums->sums + index)); index 519 fs/btrfs/file-item.c index += csum_size; index 755 fs/btrfs/file-item.c int index = 0; index 915 fs/btrfs/file-item.c write_extent_buffer(leaf, sums->sums + index, (unsigned long)item, index 918 fs/btrfs/file-item.c index += ins_size; index 280 fs/btrfs/file.c int index; index 288 fs/btrfs/file.c index = srcu_read_lock(&fs_info->subvol_srcu); index 304 fs/btrfs/file.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 340 fs/btrfs/file.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 1426 fs/btrfs/file.c unsigned long index = pos >> PAGE_SHIFT; index 1433 fs/btrfs/file.c pages[i] = find_or_create_page(inode->i_mapping, index + i, index 347 fs/btrfs/free-space-cache.c ASSERT(io_ctl->index < io_ctl->num_pages); index 348 fs/btrfs/free-space-cache.c io_ctl->page = io_ctl->pages[io_ctl->index++]; index 463 fs/btrfs/free-space-cache.c static void io_ctl_set_crc(struct btrfs_io_ctl *io_ctl, int index) index 474 fs/btrfs/free-space-cache.c if (index == 0) index 481 fs/btrfs/free-space-cache.c tmp += index; index 485 fs/btrfs/free-space-cache.c static int io_ctl_check_crc(struct btrfs_io_ctl *io_ctl, int index) index 496 fs/btrfs/free-space-cache.c if (index == 0) index 500 fs/btrfs/free-space-cache.c tmp += index; index 535 fs/btrfs/free-space-cache.c io_ctl_set_crc(io_ctl, io_ctl->index - 1); index 538 fs/btrfs/free-space-cache.c if (io_ctl->index >= io_ctl->num_pages) index 556 fs/btrfs/free-space-cache.c io_ctl_set_crc(io_ctl, io_ctl->index - 1); index 557 fs/btrfs/free-space-cache.c if (io_ctl->index >= io_ctl->num_pages) index 563 fs/btrfs/free-space-cache.c io_ctl_set_crc(io_ctl, io_ctl->index - 1); index 564 fs/btrfs/free-space-cache.c if (io_ctl->index < io_ctl->num_pages) index 576 fs/btrfs/free-space-cache.c io_ctl_set_crc(io_ctl, io_ctl->index - 1); index 580 fs/btrfs/free-space-cache.c while (io_ctl->index < io_ctl->num_pages) { index 582 fs/btrfs/free-space-cache.c io_ctl_set_crc(io_ctl, io_ctl->index - 1); index 593 fs/btrfs/free-space-cache.c ret = io_ctl_check_crc(io_ctl, io_ctl->index); index 618 fs/btrfs/free-space-cache.c ret = io_ctl_check_crc(io_ctl, io_ctl->index); index 46 fs/btrfs/free-space-cache.h int index; index 102 fs/btrfs/inode-item.c u64 *index) index 145 fs/btrfs/inode-item.c if (index) index 146 fs/btrfs/inode-item.c *index = btrfs_inode_extref_index(leaf, extref); index 174 fs/btrfs/inode-item.c u64 inode_objectid, u64 ref_objectid, u64 *index) index 217 fs/btrfs/inode-item.c if (index) index 218 fs/btrfs/inode-item.c *index = btrfs_inode_ref_index(leaf, ref); index 240 fs/btrfs/inode-item.c inode_objectid, ref_objectid, index); index 254 fs/btrfs/inode-item.c u64 inode_objectid, u64 ref_objectid, u64 index) index 296 fs/btrfs/inode-item.c btrfs_set_inode_extref_index(path->nodes[0], extref, index); index 312 fs/btrfs/inode-item.c u64 inode_objectid, u64 ref_objectid, u64 index) index 347 fs/btrfs/inode-item.c btrfs_set_inode_ref_index(path->nodes[0], ref, index); index 364 fs/btrfs/inode-item.c btrfs_set_inode_ref_index(path->nodes[0], ref, index); index 382 fs/btrfs/inode-item.c ref_objectid, index); index 111 fs/btrfs/inode.c unsigned long index = offset >> PAGE_SHIFT; index 118 fs/btrfs/inode.c while (index <= end_index) { index 119 fs/btrfs/inode.c page = find_get_page(inode->i_mapping, index); index 120 fs/btrfs/inode.c index++; index 2735 fs/btrfs/inode.c int index; index 2747 fs/btrfs/inode.c index = srcu_read_lock(&fs_info->subvol_srcu); index 2751 fs/btrfs/inode.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 2758 fs/btrfs/inode.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 2769 fs/btrfs/inode.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 2773 fs/btrfs/inode.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 4125 fs/btrfs/inode.c u64 index; index 4160 fs/btrfs/inode.c index = inode->dir_index; index 4166 fs/btrfs/inode.c dir_ino, &index); index 4175 fs/btrfs/inode.c ret = btrfs_delete_delayed_dir_index(trans, dir, index); index 4189 fs/btrfs/inode.c index); index 4299 fs/btrfs/inode.c u64 index; index 4357 fs/btrfs/inode.c index = key.offset; index 4362 fs/btrfs/inode.c &index, name, name_len); index 4369 fs/btrfs/inode.c ret = btrfs_delete_delayed_dir_index(trans, BTRFS_I(dir), index); index 5051 fs/btrfs/inode.c pgoff_t index = from >> PAGE_SHIFT; index 5072 fs/btrfs/inode.c page = find_or_create_page(mapping, index, mask); index 5956 fs/btrfs/inode.c int index; index 5983 fs/btrfs/inode.c index = srcu_read_lock(&fs_info->subvol_srcu); index 5994 fs/btrfs/inode.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 6350 fs/btrfs/inode.c int btrfs_set_inode_index(struct btrfs_inode *dir, u64 *index) index 6363 fs/btrfs/inode.c *index = dir->index_cnt; index 6416 fs/btrfs/inode.c umode_t mode, u64 *index) index 6459 fs/btrfs/inode.c ret = btrfs_set_inode_index(BTRFS_I(dir), index); index 6466 fs/btrfs/inode.c *index = 0; index 6474 fs/btrfs/inode.c BTRFS_I(inode)->dir_index = *index; index 6541 fs/btrfs/inode.c btrfs_set_inode_ref_index(path->nodes[0], ref, *index); index 6591 fs/btrfs/inode.c const char *name, int name_len, int add_backref, u64 index) index 6610 fs/btrfs/inode.c index, name, name_len); index 6613 fs/btrfs/inode.c parent_ino, index); index 6621 fs/btrfs/inode.c btrfs_inode_type(&inode->vfs_inode), index); index 6674 fs/btrfs/inode.c struct btrfs_inode *inode, int backref, u64 index) index 6678 fs/btrfs/inode.c backref, index); index 6693 fs/btrfs/inode.c u64 index = 0; index 6710 fs/btrfs/inode.c mode, &index); index 6731 fs/btrfs/inode.c 0, index); index 6757 fs/btrfs/inode.c u64 index = 0; index 6774 fs/btrfs/inode.c mode, &index); index 6799 fs/btrfs/inode.c 0, index); index 6823 fs/btrfs/inode.c u64 index; index 6834 fs/btrfs/inode.c err = btrfs_set_inode_index(BTRFS_I(dir), &index); index 6860 fs/btrfs/inode.c 1, index); index 6908 fs/btrfs/inode.c u64 index = 0; index 6925 fs/btrfs/inode.c S_IFDIR | mode, &index); index 6947 fs/btrfs/inode.c dentry->d_name.len, 0, index); index 9124 fs/btrfs/inode.c if (page->index == ((size - 1) >> PAGE_SHIFT)) { index 9352 fs/btrfs/inode.c u64 index = 0; index 9357 fs/btrfs/inode.c &index); index 9884 fs/btrfs/inode.c u64 index; index 9896 fs/btrfs/inode.c &index); index 9913 fs/btrfs/inode.c BTRFS_I(inode), 0, index); index 9938 fs/btrfs/inode.c u64 index = 0; index 10014 fs/btrfs/inode.c ret = btrfs_set_inode_index(BTRFS_I(new_dir), &index); index 10029 fs/btrfs/inode.c btrfs_ino(BTRFS_I(new_dir)), index); index 10084 fs/btrfs/inode.c new_dentry->d_name.len, 0, index); index 10091 fs/btrfs/inode.c BTRFS_I(old_inode)->dir_index = index; index 10359 fs/btrfs/inode.c u64 index = 0; index 10387 fs/btrfs/inode.c objectid, S_IFLNK|S_IRWXUGO, &index); index 10452 fs/btrfs/inode.c BTRFS_I(inode), 0, index); index 10654 fs/btrfs/inode.c u64 index; index 10669 fs/btrfs/inode.c btrfs_ino(BTRFS_I(dir)), objectid, mode, &index); index 10715 fs/btrfs/inode.c unsigned long index = start >> PAGE_SHIFT; index 10719 fs/btrfs/inode.c while (index <= end_index) { index 10720 fs/btrfs/inode.c page = find_get_page(inode->i_mapping, index); index 10724 fs/btrfs/inode.c index++; index 576 fs/btrfs/ioctl.c u64 index = 0; index 693 fs/btrfs/ioctl.c ret = btrfs_set_inode_index(BTRFS_I(dir), &index); index 700 fs/btrfs/ioctl.c BTRFS_FT_DIR, index); index 714 fs/btrfs/ioctl.c btrfs_ino(BTRFS_I(dir)), index, name, namelen); index 943 fs/btrfs/ordered-data.c int index = 0; index 957 fs/btrfs/ordered-data.c num_sectors = min_t(int, len - index, num_sectors - i); index 958 fs/btrfs/ordered-data.c memcpy(sum + index, ordered_sum->sums + i * csum_size, index 961 fs/btrfs/ordered-data.c index += (int)num_sectors * csum_size; index 962 fs/btrfs/ordered-data.c if (index == len) index 970 fs/btrfs/ordered-data.c return index; index 616 fs/btrfs/raid56.c int index) index 618 fs/btrfs/raid56.c return stripe * rbio->stripe_npages + index; index 626 fs/btrfs/raid56.c int index) index 628 fs/btrfs/raid56.c return rbio->stripe_pages[rbio_stripe_page_index(rbio, stripe, index)]; index 634 fs/btrfs/raid56.c static struct page *rbio_pstripe_page(struct btrfs_raid_bio *rbio, int index) index 636 fs/btrfs/raid56.c return rbio_stripe_page(rbio, rbio->nr_data, index); index 643 fs/btrfs/raid56.c static struct page *rbio_qstripe_page(struct btrfs_raid_bio *rbio, int index) index 647 fs/btrfs/raid56.c return rbio_stripe_page(rbio, rbio->nr_data + 1, index); index 945 fs/btrfs/raid56.c int index, int pagenr, int bio_list_only) index 950 fs/btrfs/raid56.c chunk_page = index * (rbio->stripe_len >> PAGE_SHIFT) + pagenr; index 2313 fs/btrfs/raid56.c int index; index 2319 fs/btrfs/raid56.c index = stripe_offset >> PAGE_SHIFT; index 2320 fs/btrfs/raid56.c rbio->bio_pages[index] = page; index 2331 fs/btrfs/raid56.c int index; index 2336 fs/btrfs/raid56.c index = i * rbio->stripe_npages + bit; index 2337 fs/btrfs/raid56.c if (rbio->stripe_pages[index]) index 2343 fs/btrfs/raid56.c rbio->stripe_pages[index] = page; index 312 fs/btrfs/reada.c unsigned long index = logical >> PAGE_SHIFT; index 317 fs/btrfs/reada.c re = radix_tree_lookup(&fs_info->reada_tree, index); index 389 fs/btrfs/reada.c ret = radix_tree_insert(&fs_info->reada_tree, index, re); index 391 fs/btrfs/reada.c re_exist = radix_tree_lookup(&fs_info->reada_tree, index); index 433 fs/btrfs/reada.c ret = radix_tree_insert(&dev->reada_extents, index, re); index 439 fs/btrfs/reada.c radix_tree_delete(&dev->reada_extents, index); index 441 fs/btrfs/reada.c radix_tree_delete(&fs_info->reada_tree, index); index 487 fs/btrfs/reada.c unsigned long index = re->logical >> PAGE_SHIFT; index 495 fs/btrfs/reada.c radix_tree_delete(&fs_info->reada_tree, index); index 499 fs/btrfs/reada.c radix_tree_delete(&zone->device->reada_extents, index); index 580 fs/btrfs/reada.c unsigned long index = zone->end >> PAGE_SHIFT; index 584 fs/btrfs/reada.c peer = radix_tree_lookup(&zone->devs[i]->reada_zones, index); index 599 fs/btrfs/reada.c unsigned long index = 0; index 612 fs/btrfs/reada.c (void **)&zone, index, 1); index 615 fs/btrfs/reada.c index = (zone->end >> PAGE_SHIFT) + 1; index 834 fs/btrfs/reada.c unsigned long index; index 844 fs/btrfs/reada.c index = 0; index 848 fs/btrfs/reada.c (void **)&zone, index, 1); index 862 fs/btrfs/reada.c index = (zone->end >> PAGE_SHIFT) + 1; index 865 fs/btrfs/reada.c index = 0; index 870 fs/btrfs/reada.c (void **)&re, index, 1); index 887 fs/btrfs/reada.c index = (re->logical >> PAGE_SHIFT) + 1; index 893 fs/btrfs/reada.c index = 0; index 899 fs/btrfs/reada.c index, 1); index 903 fs/btrfs/reada.c index = (re->logical >> PAGE_SHIFT) + 1; index 919 fs/btrfs/reada.c index = (re->logical >> PAGE_SHIFT) + 1; index 342 fs/btrfs/relocation.c int *index) index 345 fs/btrfs/relocation.c int idx = *index; index 354 fs/btrfs/relocation.c *index = idx; index 362 fs/btrfs/relocation.c int *index) index 366 fs/btrfs/relocation.c int idx = *index; index 378 fs/btrfs/relocation.c *index = idx; index 381 fs/btrfs/relocation.c *index = 0; index 2619 fs/btrfs/relocation.c int index = 0; index 2624 fs/btrfs/relocation.c next = walk_up_backref(next, edges, &index); index 2650 fs/btrfs/relocation.c next = walk_down_backref(edges, &index); index 2661 fs/btrfs/relocation.c if (--index < 0) index 2663 fs/btrfs/relocation.c next = edges[index]->node[UPPER]; index 2681 fs/btrfs/relocation.c int index = 0; index 2686 fs/btrfs/relocation.c next = walk_up_backref(next, edges, &index); index 2700 fs/btrfs/relocation.c next = walk_down_backref(edges, &index); index 2719 fs/btrfs/relocation.c int index = 0; index 2736 fs/btrfs/relocation.c edges[index++] = edge; index 2739 fs/btrfs/relocation.c next = walk_down_backref(edges, &index); index 3023 fs/btrfs/relocation.c int index = 0; index 3038 fs/btrfs/relocation.c edges[index++] = edge; index 3041 fs/btrfs/relocation.c next = walk_down_backref(edges, &index); index 3292 fs/btrfs/relocation.c unsigned long index; index 3318 fs/btrfs/relocation.c index = (cluster->start - offset) >> PAGE_SHIFT; index 3320 fs/btrfs/relocation.c while (index <= last_index) { index 3326 fs/btrfs/relocation.c page = find_lock_page(inode->i_mapping, index); index 3329 fs/btrfs/relocation.c ra, NULL, index, index 3330 fs/btrfs/relocation.c last_index + 1 - index); index 3331 fs/btrfs/relocation.c page = find_or_create_page(inode->i_mapping, index, index 3345 fs/btrfs/relocation.c ra, NULL, page, index, index 3346 fs/btrfs/relocation.c last_index + 1 - index); index 3402 fs/btrfs/relocation.c index++; index 84 fs/btrfs/scrub.c int index; index 598 fs/btrfs/scrub.c sbio->index = i; index 1798 fs/btrfs/scrub.c int index; index 1812 fs/btrfs/scrub.c index = 0; index 1821 fs/btrfs/scrub.c index++; index 1822 fs/btrfs/scrub.c BUG_ON(index >= sblock->page_count); index 1823 fs/btrfs/scrub.c BUG_ON(!sblock->pagev[index]->page); index 1824 fs/btrfs/scrub.c page = sblock->pagev[index]->page; index 1848 fs/btrfs/scrub.c int index; index 1882 fs/btrfs/scrub.c index = 0; index 1891 fs/btrfs/scrub.c index++; index 1892 fs/btrfs/scrub.c BUG_ON(index >= sblock->page_count); index 1893 fs/btrfs/scrub.c BUG_ON(!sblock->pagev[index]->page); index 1894 fs/btrfs/scrub.c page = sblock->pagev[index]->page; index 1922 fs/btrfs/scrub.c int index; index 1945 fs/btrfs/scrub.c index = 0; index 1954 fs/btrfs/scrub.c index++; index 1955 fs/btrfs/scrub.c BUG_ON(index >= sblock->page_count); index 1956 fs/btrfs/scrub.c BUG_ON(!sblock->pagev[index]->page); index 1957 fs/btrfs/scrub.c page = sblock->pagev[index]->page; index 2227 fs/btrfs/scrub.c int index; index 2243 fs/btrfs/scrub.c for (index = 0; len > 0; index++) { index 2256 fs/btrfs/scrub.c BUG_ON(index >= SCRUB_MAX_PAGES_PER_BLOCK); index 2258 fs/btrfs/scrub.c sblock->pagev[index] = spage; index 2291 fs/btrfs/scrub.c for (index = 0; index < sblock->page_count; index++) { index 2292 fs/btrfs/scrub.c struct scrub_page *spage = sblock->pagev[index]; index 2352 fs/btrfs/scrub.c sctx->first_free = sbio->index; index 2438 fs/btrfs/scrub.c unsigned long index; index 2457 fs/btrfs/scrub.c index = div_u64(logical - sum->bytenr, sctx->fs_info->sectorsize); index 2458 fs/btrfs/scrub.c ASSERT(index < UINT_MAX); index 2461 fs/btrfs/scrub.c memcpy(csum, sum->sums + index * sctx->csum_size, sctx->csum_size); index 2462 fs/btrfs/scrub.c if (index == num_sectors - 1) { index 2532 fs/btrfs/scrub.c int index; index 2550 fs/btrfs/scrub.c for (index = 0; len > 0; index++) { index 2563 fs/btrfs/scrub.c BUG_ON(index >= SCRUB_MAX_PAGES_PER_BLOCK); index 2566 fs/btrfs/scrub.c sblock->pagev[index] = spage; index 2593 fs/btrfs/scrub.c for (index = 0; index < sblock->page_count; index++) { index 2594 fs/btrfs/scrub.c struct scrub_page *spage = sblock->pagev[index]; index 877 fs/btrfs/send.c typedef int (*iterate_inode_ref_t)(int num, u64 dir, int index, index 906 fs/btrfs/send.c int index; index 942 fs/btrfs/send.c index = btrfs_inode_ref_index(eb, iref); index 948 fs/btrfs/send.c index = btrfs_inode_extref_index(eb, extref); index 985 fs/btrfs/send.c ret = iterate(num, dir, index, p, ctx); index 1122 fs/btrfs/send.c static int __copy_first_ref(int num, u64 dir, int index, index 4240 fs/btrfs/send.c static int __record_new_ref(int num, u64 dir, int index, index 4249 fs/btrfs/send.c static int __record_deleted_ref(int num, u64 dir, int index, index 4294 fs/btrfs/send.c static int __find_iref(int num, u64 dir, int index, index 4344 fs/btrfs/send.c static int __record_changed_new_ref(int num, u64 dir, int index, index 4360 fs/btrfs/send.c ret = __record_new_ref(num, dir, index, name, sctx); index 4367 fs/btrfs/send.c static int __record_changed_deleted_ref(int num, u64 dir, int index, index 4383 fs/btrfs/send.c ret = __record_deleted_ref(num, dir, index, name, sctx); index 4796 fs/btrfs/send.c pgoff_t index = offset >> PAGE_SHIFT; index 4824 fs/btrfs/send.c while (index <= last_index) { index 4828 fs/btrfs/send.c page = find_lock_page(inode->i_mapping, index); index 4831 fs/btrfs/send.c NULL, index, last_index + 1 - index); index 4833 fs/btrfs/send.c page = find_or_create_page(inode->i_mapping, index, index 4843 fs/btrfs/send.c NULL, page, index, last_index + 1 - index); index 4862 fs/btrfs/send.c index++; index 6034 fs/btrfs/send.c static int record_parent_ref(int num, u64 dir, int index, struct fs_path *name, index 7060 fs/btrfs/send.c int index; index 7187 fs/btrfs/send.c index = srcu_read_lock(&fs_info->subvol_srcu); index 7191 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 7199 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 7206 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 7212 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 7226 fs/btrfs/send.c index = srcu_read_lock(&fs_info->subvol_srcu); index 7230 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 7240 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 7247 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 7253 fs/btrfs/send.c srcu_read_unlock(&fs_info->subvol_srcu, index); index 289 fs/btrfs/space-info.c int index = 0; index 300 fs/btrfs/space-info.c list_for_each_entry(cache, &info->block_groups[index], list) { index 310 fs/btrfs/space-info.c if (++index < BTRFS_NR_RAID_TYPES) index 376 fs/btrfs/sysfs.c int index = btrfs_bg_flags_to_raid_index(to_raid_kobj(kobj)->flags); index 380 fs/btrfs/sysfs.c list_for_each_entry(block_group, &sinfo->block_groups[index], list) { index 830 fs/btrfs/sysfs.c const int index = btrfs_bg_flags_to_raid_index(cache->flags); index 863 fs/btrfs/sysfs.c space_info->block_group_kobjs[index] = &rkobj->kobj; index 16 fs/btrfs/tests/btrfs-tests.h #define test_std_err(index) test_err("%s", test_error[index]) index 24 fs/btrfs/tests/extent-io-tests.c unsigned long index = start >> PAGE_SHIFT; index 26 fs/btrfs/tests/extent-io-tests.c unsigned long nr_pages = end_index - index + 1; index 32 fs/btrfs/tests/extent-io-tests.c ret = find_get_pages_contig(inode->i_mapping, index, index 46 fs/btrfs/tests/extent-io-tests.c index += ret; index 65 fs/btrfs/tests/extent-io-tests.c unsigned long index = 0; index 93 fs/btrfs/tests/extent-io-tests.c for (index = 0; index < (total_dirty >> PAGE_SHIFT); index++) { index 94 fs/btrfs/tests/extent-io-tests.c page = find_or_create_page(inode->i_mapping, index, GFP_KERNEL); index 101 fs/btrfs/tests/extent-io-tests.c if (index) { index 1424 fs/btrfs/transaction.c u64 index = 0; index 1476 fs/btrfs/transaction.c ret = btrfs_set_inode_index(BTRFS_I(parent_inode), &index); index 1575 fs/btrfs/transaction.c btrfs_ino(BTRFS_I(parent_inode)), index, index 1615 fs/btrfs/transaction.c &key, BTRFS_FT_DIR, index); index 177 fs/btrfs/tree-log.c int index = root->log_transid % 2; index 178 fs/btrfs/tree-log.c list_add_tail(&ctx->list, &root->log_ctxs[index]); index 903 fs/btrfs/tree-log.c u64 dirid, u64 objectid, u64 index, index 911 fs/btrfs/tree-log.c index, name, name_len, 0); index 1178 fs/btrfs/tree-log.c u32 *namelen, char **name, u64 *index, index 1193 fs/btrfs/tree-log.c if (index) index 1194 fs/btrfs/tree-log.c *index = btrfs_inode_extref_index(eb, extref); index 1202 fs/btrfs/tree-log.c u32 *namelen, char **name, u64 *index) index 1215 fs/btrfs/tree-log.c if (index) index 1216 fs/btrfs/tree-log.c *index = btrfs_inode_ref_index(eb, ref); index 1860 fs/btrfs/tree-log.c u64 dirid, u64 index, index 1879 fs/btrfs/tree-log.c name_len, 1, index); index 2956 fs/btrfs/tree-log.c int index = transid % 2; index 2964 fs/btrfs/tree-log.c prepare_to_wait(&root->log_commit_wait[index], index 2968 fs/btrfs/tree-log.c atomic_read(&root->log_commit[index]))) index 2975 fs/btrfs/tree-log.c finish_wait(&root->log_commit_wait[index], &wait); index 3011 fs/btrfs/tree-log.c int index, int error) index 3016 fs/btrfs/tree-log.c list_for_each_entry_safe(ctx, safe, &root->log_ctxs[index], list) { index 3021 fs/btrfs/tree-log.c INIT_LIST_HEAD(&root->log_ctxs[index]); index 3392 fs/btrfs/tree-log.c struct btrfs_inode *dir, u64 index) index 3434 fs/btrfs/tree-log.c index, name, name_len, -1); index 3503 fs/btrfs/tree-log.c u64 index; index 3516 fs/btrfs/tree-log.c dirid, &index); index 58 fs/btrfs/tree-log.h struct btrfs_inode *dir, u64 index); index 130 fs/btrfs/volumes.c const int index = btrfs_bg_flags_to_raid_index(flags); index 132 fs/btrfs/volumes.c if (index >= BTRFS_NR_RAID_TYPES) index 135 fs/btrfs/volumes.c return btrfs_raid_array[index].raid_name; index 1444 fs/btrfs/volumes.c pgoff_t index; index 1455 fs/btrfs/volumes.c index = bytenr >> PAGE_SHIFT; index 1456 fs/btrfs/volumes.c if ((bytenr + sizeof(**disk_super) - 1) >> PAGE_SHIFT != index) index 1461 fs/btrfs/volumes.c index, GFP_KERNEL); index 3507 fs/btrfs/volumes.c const int index = btrfs_bg_flags_to_raid_index(type); index 3508 fs/btrfs/volumes.c const int ncopies = btrfs_raid_array[index].ncopies; index 3509 fs/btrfs/volumes.c const int nparity = btrfs_raid_array[index].nparity; index 4984 fs/btrfs/volumes.c int index; index 4994 fs/btrfs/volumes.c index = btrfs_bg_flags_to_raid_index(type); index 4996 fs/btrfs/volumes.c sub_stripes = btrfs_raid_array[index].sub_stripes; index 4997 fs/btrfs/volumes.c dev_stripes = btrfs_raid_array[index].dev_stripes; index 4998 fs/btrfs/volumes.c devs_max = btrfs_raid_array[index].devs_max; index 5001 fs/btrfs/volumes.c devs_min = btrfs_raid_array[index].devs_min; index 5002 fs/btrfs/volumes.c devs_increment = btrfs_raid_array[index].devs_increment; index 5003 fs/btrfs/volumes.c ncopies = btrfs_raid_array[index].ncopies; index 5004 fs/btrfs/volumes.c nparity = btrfs_raid_array[index].nparity; index 5371 fs/btrfs/volumes.c const int index = btrfs_bg_flags_to_raid_index(map->type); index 5373 fs/btrfs/volumes.c return btrfs_raid_array[index].tolerated_failures; index 6746 fs/btrfs/volumes.c int index = btrfs_bg_flags_to_raid_index(type); index 6747 fs/btrfs/volumes.c int ncopies = btrfs_raid_array[index].ncopies; index 7349 fs/btrfs/volumes.c int index) index 7355 fs/btrfs/volumes.c ((unsigned long)ptr) + (index * sizeof(u64)), index 7362 fs/btrfs/volumes.c int index, u64 val) index 7366 fs/btrfs/volumes.c ((unsigned long)ptr) + (index * sizeof(u64)), index 7532 fs/btrfs/volumes.c void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index) index 7534 fs/btrfs/volumes.c btrfs_dev_stat_inc(dev, index); index 7694 fs/btrfs/volumes.c const int index = btrfs_bg_flags_to_raid_index(flags); index 7696 fs/btrfs/volumes.c return btrfs_raid_array[index].ncopies; index 478 fs/btrfs/volumes.h void btrfs_dev_stat_inc_and_print(struct btrfs_device *dev, int index); index 499 fs/btrfs/volumes.h int index) index 501 fs/btrfs/volumes.h atomic_inc(dev->dev_stat_values + index); index 513 fs/btrfs/volumes.h int index) index 515 fs/btrfs/volumes.h return atomic_read(dev->dev_stat_values + index); index 519 fs/btrfs/volumes.h int index) index 523 fs/btrfs/volumes.h ret = atomic_xchg(dev->dev_stat_values + index, 0); index 536 fs/btrfs/volumes.h int index, unsigned long val) index 538 fs/btrfs/volumes.h atomic_set(dev->dev_stat_values + index, val); index 199 fs/buffer.c pgoff_t index; index 206 fs/buffer.c index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); index 207 fs/buffer.c page = find_get_page_flags(bd_mapping, index, FGP_ACCESSED); index 930 fs/buffer.c pgoff_t index, int size, int sizebits, gfp_t gfp) index 949 fs/buffer.c page = find_or_create_page(inode->i_mapping, index, gfp_mask); index 957 fs/buffer.c (sector_t)index << sizebits, index 977 fs/buffer.c end_block = init_page_buffers(page, bdev, (sector_t)index << sizebits, index 995 fs/buffer.c pgoff_t index; index 1003 fs/buffer.c index = block >> sizebits; index 1009 fs/buffer.c if (unlikely(index != block >> sizebits)) { index 1018 fs/buffer.c return grow_dev_page(bdev, block, index, size, sizebits, gfp); index 1579 fs/buffer.c pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); index 1587 fs/buffer.c while (pagevec_lookup_range(&pvec, bd_mapping, &index, end)) { index 1622 fs/buffer.c if (index > end || !index) index 1709 fs/buffer.c block = (sector_t)page->index << (PAGE_SHIFT - bbits); index 1962 fs/buffer.c block = (sector_t)page->index << (PAGE_SHIFT - bbits); index 2080 fs/buffer.c pgoff_t index = pos >> PAGE_SHIFT; index 2084 fs/buffer.c page = grab_cache_page_write_begin(mapping, index, flags); index 2240 fs/buffer.c iblock = (sector_t)page->index << (PAGE_SHIFT - bbits); index 2348 fs/buffer.c pgoff_t index, curidx; index 2353 fs/buffer.c index = pos >> PAGE_SHIFT; index 2356 fs/buffer.c while (index > (curidx = (curpos = *bytes)>>PAGE_SHIFT)) { index 2385 fs/buffer.c if (index == curidx) { index 2486 fs/buffer.c if (((page->index + 1) << PAGE_SHIFT) > size) index 2555 fs/buffer.c pgoff_t index; index 2564 fs/buffer.c index = pos >> PAGE_SHIFT; index 2568 fs/buffer.c page = grab_cache_page_write_begin(mapping, index, flags); index 2599 fs/buffer.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); index 2736 fs/buffer.c if (page->index < end_index) index 2741 fs/buffer.c if (page->index >= end_index+1 || !offset) { index 2776 fs/buffer.c pgoff_t index = from >> PAGE_SHIFT; index 2794 fs/buffer.c iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); index 2796 fs/buffer.c page = grab_cache_page(mapping, index); index 2854 fs/buffer.c pgoff_t index = from >> PAGE_SHIFT; index 2872 fs/buffer.c iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); index 2874 fs/buffer.c page = grab_cache_page(mapping, index); index 2939 fs/buffer.c if (page->index < end_index) index 2945 fs/buffer.c if (page->index >= end_index+1 || !offset) { index 22 fs/cachefiles/proc.c unsigned long index; index 33 fs/cachefiles/proc.c index = (unsigned long) v - 3; index 34 fs/cachefiles/proc.c x = atomic_read(&cachefiles_lookup_histogram[index]); index 35 fs/cachefiles/proc.c y = atomic_read(&cachefiles_mkdir_histogram[index]); index 36 fs/cachefiles/proc.c z = atomic_read(&cachefiles_create_histogram[index]); index 40 fs/cachefiles/proc.c t = (index * 1000) / HZ; index 42 fs/cachefiles/proc.c seq_printf(m, "%4lu 0.%03u %9u %9u %9u\n", index, t, x, y, z); index 33 fs/cachefiles/rdwr.c monitor->netfs_page->index, mode, sync, index 86 fs/cachefiles/rdwr.c backpage->index, backpage->flags); index 94 fs/cachefiles/rdwr.c backpage2 = find_get_page(bmapping, backpage->index); index 175 fs/cachefiles/rdwr.c _debug("- copy {%lu}", monitor->back_page->index); index 241 fs/cachefiles/rdwr.c netpage, netpage->index, page_count(netpage)); index 257 fs/cachefiles/rdwr.c backpage = find_get_page(bmapping, netpage->index); index 268 fs/cachefiles/rdwr.c netpage->index, cachefiles_gfp); index 408 fs/cachefiles/rdwr.c _enter("{%p},{%lx},,,", object, page->index); index 431 fs/cachefiles/rdwr.c block0 = page->index; index 480 fs/cachefiles/rdwr.c netpage, netpage->index, page_count(netpage)); index 493 fs/cachefiles/rdwr.c backpage = find_get_page(bmapping, netpage->index); index 504 fs/cachefiles/rdwr.c netpage->index, index 531 fs/cachefiles/rdwr.c netpage->index, cachefiles_gfp); index 607 fs/cachefiles/rdwr.c netpage->index, cachefiles_gfp); index 739 fs/cachefiles/rdwr.c block0 = page->index; index 810 fs/cachefiles/rdwr.c _enter("%p,{%lx},", object, page->index); index 897 fs/cachefiles/rdwr.c _enter("%p,%p{%lx},,,", object, page, page->index); index 909 fs/cachefiles/rdwr.c pos = (loff_t)page->index << PAGE_SHIFT; index 970 fs/cachefiles/rdwr.c _enter("%p,{%lu}", object, page->index); index 86 fs/ceph/addr.c mapping->host, page, page->index); index 114 fs/ceph/addr.c mapping->host, page, page->index, index 152 fs/ceph/addr.c inode, page, page->index, offset, length); index 165 fs/ceph/addr.c inode, page, page->index); index 176 fs/ceph/addr.c page, page->index, PageDirty(page) ? "" : "not "); index 220 fs/ceph/addr.c inode, filp, page, page->index); index 291 fs/ceph/addr.c page->index); index 352 fs/ceph/addr.c next_index = page->index; index 354 fs/ceph/addr.c if (page->index != next_index) index 388 fs/ceph/addr.c page->index); index 389 fs/ceph/addr.c if (add_to_page_cache_lru(page, &inode->i_data, page->index, index 589 fs/ceph/addr.c dout("writepage %p idx %lu\n", page, page->index); index 624 fs/ceph/addr.c inode, page, page->index, page_off, len, snapc, snapc->seq); index 786 fs/ceph/addr.c pgoff_t index, start_index, end = -1; index 815 fs/ceph/addr.c index = start_index; index 833 fs/ceph/addr.c index = start_index; index 835 fs/ceph/addr.c if (index > 0) index 837 fs/ceph/addr.c dout(" cyclic, start at %lu\n", index); index 839 fs/ceph/addr.c index = wbc->range_start >> PAGE_SHIFT; index 843 fs/ceph/addr.c dout(" not cyclic, %lu to %lu\n", index, end); index 850 fs/ceph/addr.c if (index > 0) index 858 fs/ceph/addr.c while (!done && index <= end) { index 870 fs/ceph/addr.c pvec_pages = pagevec_lookup_range_nr_tag(&pvec, mapping, &index, index 878 fs/ceph/addr.c dout("? %p idx %lu\n", page, page->index); index 914 fs/ceph/addr.c if (strip_unit_end && (page->index > strip_unit_end)) { index 955 fs/ceph/addr.c strip_unit_end = page->index + index 970 fs/ceph/addr.c } else if (page->index != index 986 fs/ceph/addr.c inode, page, page->index); index 1121 fs/ceph/addr.c index = pages[i - 1]->index + 1; index 1162 fs/ceph/addr.c index = 0; index 1163 fs/ceph/addr.c while ((index <= end) && index 1164 fs/ceph/addr.c (nr = pagevec_lookup_tag(&pvec, mapping, &index, index 1178 fs/ceph/addr.c index = 0; index 1183 fs/ceph/addr.c mapping->writeback_index = index; index 1323 fs/ceph/addr.c pgoff_t index = pos >> PAGE_SHIFT; index 1328 fs/ceph/addr.c page = grab_cache_page_write_begin(mapping, index, 0); index 149 fs/ceph/dir.c cache_ctl->index = idx & idx_mask; index 156 fs/ceph/dir.c dentry = cache_ctl->dentries[cache_ctl->index]; index 1665 fs/ceph/file.c pgoff_t index = offset >> PAGE_SHIFT; index 1667 fs/ceph/file.c page = find_lock_page(inode->i_mapping, index); index 456 fs/ceph/inode.c ci->i_xattrs.index = RB_ROOT; index 1524 fs/ceph/inode.c unsigned idx = ctl->index % nsize; index 1525 fs/ceph/inode.c pgoff_t pgoff = ctl->index / nsize; index 1534 fs/ceph/inode.c ctl->index = -1; index 1547 fs/ceph/inode.c dout("readdir cache dn %p idx %d\n", dn, ctl->index); index 1549 fs/ceph/inode.c ctl->index++; index 1552 fs/ceph/inode.c ctl->index = -1; index 1620 fs/ceph/inode.c cache_ctl.index = req->r_readdir_cache_idx; index 1731 fs/ceph/inode.c if (err == 0 && skipped == 0 && cache_ctl.index >= 0) { index 1743 fs/ceph/inode.c req->r_readdir_cache_idx = cache_ctl.index; index 297 fs/ceph/super.h struct rb_root index; index 785 fs/ceph/super.h int index; index 445 fs/ceph/xattr.c p = &ci->i_xattrs.index.rb_node; index 522 fs/ceph/xattr.c rb_insert_color(&xattr->node, &ci->i_xattrs.index); index 541 fs/ceph/xattr.c p = &ci->i_xattrs.index.rb_node; index 582 fs/ceph/xattr.c rb_erase(&xattr->node, &ci->i_xattrs.index); index 603 fs/ceph/xattr.c p = rb_first(&ci->i_xattrs.index); index 626 fs/ceph/xattr.c p = rb_first(&ci->i_xattrs.index); index 636 fs/ceph/xattr.c rb_erase(tmp, &ci->i_xattrs.index); index 645 fs/ceph/xattr.c ci->i_xattrs.index = RB_ROOT; index 775 fs/ceph/xattr.c p = rb_first(&ci->i_xattrs.index); index 53 fs/cifs/cifssmb.c int index; index 66 fs/cifs/cifssmb.c int index; index 2097 fs/cifs/file.c loff_t offset = (loff_t)page->index << PAGE_SHIFT; index 2154 fs/cifs/file.c pgoff_t end, pgoff_t *index, index 2164 fs/cifs/file.c *found_pages = find_get_pages_range_tag(mapping, index, end, index 2173 fs/cifs/file.c pgoff_t end, pgoff_t *index, pgoff_t *next, bool *done) index 2197 fs/cifs/file.c if (!wbc->range_cyclic && page->index > end) { index 2203 fs/cifs/file.c if (*next && (page->index != *next)) { index 2231 fs/cifs/file.c *next = page->index + 1; index 2237 fs/cifs/file.c *index = wdata->pages[0]->index + 1; index 2285 fs/cifs/file.c pgoff_t end, index; index 2301 fs/cifs/file.c index = mapping->writeback_index; /* Start from prev offset */ index 2304 fs/cifs/file.c index = wbc->range_start >> PAGE_SHIFT; index 2312 fs/cifs/file.c while (!done && index <= end) { index 2314 fs/cifs/file.c pgoff_t next = 0, tofind, saved_index = index; index 2335 fs/cifs/file.c tofind = min((wsize / PAGE_SIZE) - 1, end - index) + 1; index 2337 fs/cifs/file.c wdata = wdata_alloc_and_fillpages(tofind, mapping, end, &index, index 2353 fs/cifs/file.c end, &index, &next, &done); index 2397 fs/cifs/file.c index = saved_index; index 2414 fs/cifs/file.c index = next; index 2423 fs/cifs/file.c index = 0; index 2431 fs/cifs/file.c mapping->writeback_index = index; index 4162 fs/cifs/file.c } else if (page->index > eof_index) { index 4246 fs/cifs/file.c page->index, gfp); index 4255 fs/cifs/file.c *offset = (loff_t)page->index << PAGE_SHIFT; index 4261 fs/cifs/file.c expected_index = page->index + 1; index 4264 fs/cifs/file.c if (page->index != expected_index) index 4272 fs/cifs/file.c if (add_to_page_cache_locked(page, mapping, page->index, gfp)) { index 4488 fs/cifs/file.c loff_t offset = (loff_t)page->index << PAGE_SHIFT; index 4559 fs/cifs/file.c pgoff_t index = pos >> PAGE_SHIFT; index 4569 fs/cifs/file.c page = grab_cache_page_write_begin(mapping, index, flags); index 2174 fs/cifs/inode.c pgoff_t index = from >> PAGE_SHIFT; index 2179 fs/cifs/inode.c page = grab_cache_page(mapping, index); index 4206 fs/cifs/smb2pdu.c u64 persistent_fid, u64 volatile_fid, int index, index 4256 fs/cifs/smb2pdu.c req->FileIndex = cpu_to_le32(index); index 4287 fs/cifs/smb2pdu.c tcon->ses->Suid, index, output_size); index 4297 fs/cifs/smb2pdu.c tcon->tid, tcon->ses->Suid, index, 0); index 4302 fs/cifs/smb2pdu.c tcon->ses->Suid, index, 0, rc); index 4313 fs/cifs/smb2pdu.c tcon->ses->Suid, index, 0, rc); index 4344 fs/cifs/smb2pdu.c tcon->ses->Suid, index, srch_inf->entries_in_buffer); index 194 fs/cifs/smb2proto.h u64 persistent_fid, u64 volatile_fid, int index, index 831 fs/cramfs/inode.c if (page->index < maxblock) { index 833 fs/cramfs/inode.c u32 blkptr_offset = OFFSET(inode) + page->index * 4; index 854 fs/cramfs/inode.c if (page->index == maxblock - 1) index 871 fs/cramfs/inode.c if (page->index) index 227 fs/crypto/crypto.c u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + index 305 fs/crypto/crypto.c u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + index 151 fs/dax.c unsigned long index = xas->xa_index; index 159 fs/dax.c index &= ~PG_PMD_COLOUR; index 161 fs/dax.c key->entry_start = index; index 163 fs/dax.c hash = hash_long((unsigned long)xas->xa ^ index, DAX_WAIT_TABLE_BITS); index 334 fs/dax.c unsigned long size = dax_entry_size(entry), pfn, index; index 340 fs/dax.c index = linear_page_index(vma, address & ~(size - 1)); index 346 fs/dax.c page->index = index + i++; index 364 fs/dax.c page->index = 0; index 420 fs/dax.c xas_set(&xas, page->index); index 439 fs/dax.c XA_STATE(xas, &mapping->i_pages, page->index); index 479 fs/dax.c unsigned long index = xas->xa_index; index 530 fs/dax.c xas_set(xas, index); index 631 fs/dax.c pgoff_t index, bool trunc) index 633 fs/dax.c XA_STATE(xas, &mapping->i_pages, index); index 659 fs/dax.c int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index) index 661 fs/dax.c int ret = __dax_invalidate_entry(mapping, index, true); index 678 fs/dax.c pgoff_t index) index 680 fs/dax.c return __dax_invalidate_entry(mapping, index, false); index 726 fs/dax.c unsigned long index = xas->xa_index; index 729 fs/dax.c unmap_mapping_pages(mapping, index & ~PG_PMD_COLOUR, index 732 fs/dax.c unmap_mapping_pages(mapping, index, 1, false); index 776 fs/dax.c static void dax_entry_mkclean(struct address_space *mapping, pgoff_t index, index 785 fs/dax.c vma_interval_tree_foreach(vma, &mapping->i_mmap, index, index) { index 794 fs/dax.c address = pgoff_address(index, vma); index 852 fs/dax.c unsigned long pfn, index, count; index 910 fs/dax.c index = xas->xa_index & ~(count - 1); index 912 fs/dax.c dax_entry_mkclean(mapping, index, pfn); index 926 fs/dax.c trace_dax_writeback_one(mapping->host, index, count); index 532 fs/devpts/inode.c int index = -ENOSPC; index 538 fs/devpts/inode.c index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, index 542 fs/devpts/inode.c if (index < 0) index 544 fs/devpts/inode.c return index; index 562 fs/devpts/inode.c struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv) index 578 fs/devpts/inode.c inode->i_ino = index + 3; index 582 fs/devpts/inode.c init_special_inode(inode, S_IFCHR|opts->mode, MKDEV(UNIX98_PTY_SLAVE_MAJOR, index)); index 584 fs/devpts/inode.c sprintf(s, "%d", index); index 377 fs/ecryptfs/crypto.c ((loff_t)page->index << PAGE_SHIFT); index 398 fs/ecryptfs/crypto.c pgoff_t page_index = op == ENCRYPT ? src_page->index : dst_page->index; index 374 fs/ecryptfs/ecryptfs_kernel.h u32 index; index 390 fs/ecryptfs/ecryptfs_kernel.h u32 index; index 680 fs/ecryptfs/ecryptfs_kernel.h struct page *ecryptfs_get_locked_page(struct inode *inode, loff_t index); index 212 fs/ecryptfs/messaging.c if (msg->index >= ecryptfs_message_buf_len) { index 216 fs/ecryptfs/messaging.c "allowable is [%d]\n", __func__, msg->index, index 220 fs/ecryptfs/messaging.c msg_ctx = &ecryptfs_msg_ctx_arr[msg->index]; index 394 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr[i].index = i; index 158 fs/ecryptfs/miscdev.c msg_ctx->msg->index = msg_ctx->index; index 33 fs/ecryptfs/mmap.c struct page *ecryptfs_get_locked_page(struct inode *inode, loff_t index) index 35 fs/ecryptfs/mmap.c struct page *page = read_mapping_page(inode->i_mapping, index, NULL); index 58 fs/ecryptfs/mmap.c "page (upper index [0x%.16lx])\n", page->index); index 117 fs/ecryptfs/mmap.c loff_t view_extent_num = ((((loff_t)page->index) index 187 fs/ecryptfs/mmap.c rc = ecryptfs_read_lower_page_segment(page, page->index, 0, index 205 fs/ecryptfs/mmap.c page, page->index, 0, PAGE_SIZE, index 227 fs/ecryptfs/mmap.c page->index); index 240 fs/ecryptfs/mmap.c if ((i_size_read(inode) / PAGE_SIZE) != page->index) index 269 fs/ecryptfs/mmap.c pgoff_t index = pos >> PAGE_SHIFT; index 274 fs/ecryptfs/mmap.c page = grab_cache_page_write_begin(mapping, index, flags); index 279 fs/ecryptfs/mmap.c prev_page_end_size = ((loff_t)index << PAGE_SHIFT); index 286 fs/ecryptfs/mmap.c page, index, 0, PAGE_SIZE, mapping->host); index 312 fs/ecryptfs/mmap.c page, index, 0, PAGE_SIZE, index 334 fs/ecryptfs/mmap.c __func__, page->index, rc); index 344 fs/ecryptfs/mmap.c if (index != 0) { index 467 fs/ecryptfs/mmap.c pgoff_t index = pos >> PAGE_SHIFT; index 476 fs/ecryptfs/mmap.c "(page w/ index = [0x%.16lx], to = [%d])\n", index, to); index 498 fs/ecryptfs/mmap.c "zeros in page with index = [0x%.16lx]\n", index); index 504 fs/ecryptfs/mmap.c "index [0x%.16lx])\n", index); index 65 fs/ecryptfs/read_write.c offset = ((((loff_t)page_for_lower->index) << PAGE_SHIFT) index 136 fs/erofs/data.c erofs_off_t current_block = (erofs_off_t)page->index; index 301 fs/erofs/data.c if (!add_to_page_cache_lru(page, mapping, page->index, gfp)) { index 308 fs/erofs/data.c __func__, page->index, index 116 fs/erofs/internal.h pgoff_t index; index 405 fs/erofs/internal.h pgoff_t index, bool *tag); index 62 fs/erofs/utils.c pgoff_t index, bool *tag) index 69 fs/erofs/utils.c grp = radix_tree_lookup(&sbi->workstn_tree, index); index 80 fs/erofs/utils.c DBG_BUGON(index != grp->index); index 115 fs/erofs/utils.c err = radix_tree_insert(&sbi->workstn_tree, grp->index, grp); index 180 fs/erofs/utils.c grp->index)) != grp); index 208 fs/erofs/utils.c first_index = grp->index + 1; index 320 fs/erofs/xattr.c int buffer_size, index; index 329 fs/erofs/xattr.c return (it->index != entry->e_name_index || index 433 fs/erofs/xattr.c int erofs_getxattr(struct inode *inode, int index, index 447 fs/erofs/xattr.c it.index = index; index 71 fs/erofs/xattr.h static inline int erofs_getxattr(struct inode *inode, int index, index 172 fs/erofs/zdata.c pgoff_t index = pcl->obj.index + (pages - pcl->compressed_pages); index 186 fs/erofs/zdata.c page = find_get_page(mc, index); index 414 fs/erofs/zdata.c pcl->obj.index = map->m_pa >> PAGE_SHIFT; index 582 fs/erofs/zdata.c unsigned int cur, end, spiltted, index; index 672 fs/erofs/zdata.c index = page->index - (map->m_la >> PAGE_SHIFT); index 674 fs/erofs/zdata.c z_erofs_onlinepage_fixup(page, index, true); index 679 fs/erofs/zdata.c clt->cl->nr_pages = max_t(pgoff_t, clt->cl->nr_pages, index + 1); index 999 fs/erofs/zdata.c const pgoff_t index = pcl->obj.index; index 1104 fs/erofs/zdata.c if (add_to_page_cache_lru(page, mc, index + nr, gfp)) { index 1249 fs/erofs/zdata.c first_index = pcl->obj.index; index 1342 fs/erofs/zdata.c f.headoffset = (erofs_off_t)page->index << PAGE_SHIFT; index 1384 fs/erofs/zdata.c f.headoffset = (erofs_off_t)lru_to_page(pages)->index << PAGE_SHIFT; index 1399 fs/erofs/zdata.c if (add_to_page_cache_lru(page, mapping, page->index, gfp)) { index 1419 fs/erofs/zdata.c page->index, EROFS_I(inode)->nid); index 149 fs/erofs/zdata.h uintptr_t index, bool down) index 158 fs/erofs/zdata.h if (!index) index 161 fs/erofs/zdata.h DBG_BUGON(id != index); index 164 fs/erofs/zdata.h v = (index << Z_EROFS_ONLINEPAGE_INDEX_SHIFT) | index 117 fs/erofs/zmap.c if (mpage->index == eblk) { index 34 fs/erofs/zpvec.h unsigned int nr, index; index 53 fs/erofs/zpvec.h unsigned int index; index 59 fs/erofs/zpvec.h for (index = 0; index < nr; ++index) { index 60 fs/erofs/zpvec.h const erofs_vtptr_t t = ctor->pages[index]; index 84 fs/erofs/zpvec.h ctor->index = 0; index 105 fs/erofs/zpvec.h ctor->index = i; index 115 fs/erofs/zpvec.h if (ctor->index + 1 == ctor->nr) index 118 fs/erofs/zpvec.h if (ctor->index >= ctor->nr) index 130 fs/erofs/zpvec.h ctor->pages[ctor->index++] = tagptr_fold(erofs_vtptr_t, page, type); index 140 fs/erofs/zpvec.h if (ctor->index >= ctor->nr) { index 145 fs/erofs/zpvec.h t = ctor->pages[ctor->index]; index 153 fs/erofs/zpvec.h ctor->pages[ctor->index++] = tagptr_fold(erofs_vtptr_t, NULL, 0); index 813 fs/exec.c unsigned long index, stop, sp; index 819 fs/exec.c for (index = MAX_ARG_PAGES - 1; index >= stop; index--) { index 820 fs/exec.c unsigned int offset = index == stop ? bprm->p & ~PAGE_MASK : 0; index 821 fs/exec.c char *src = kmap(bprm->page[index]) + offset; index 825 fs/exec.c kunmap(bprm->page[index]); index 127 fs/ext2/dir.c if ((dir->i_size >> PAGE_SHIFT) == page->index) { index 181 fs/ext2/dir.c dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs, index 191 fs/ext2/dir.c dir->i_ino, (page->index<<PAGE_SHIFT)+offs, index 404 fs/ext2/inode.c int index = 0; index 427 fs/ext2/inode.c while (index < indirect_blks && count) { index 428 fs/ext2/inode.c new_blocks[index++] = current_block++; index 437 fs/ext2/inode.c new_blocks[index] = current_block; index 444 fs/ext2/inode.c for (i = 0; i <index; i++) index 446 fs/ext2/inode.c if (index) index 178 fs/ext4/dir.c pgoff_t index = map.m_pblk >> index 180 fs/ext4/dir.c if (!ra_has_index(&file->f_ra, index)) index 184 fs/ext4/dir.c index, 1); index 185 fs/ext4/dir.c file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; index 1583 fs/ext4/ext4.h #define sbi_array_rcu_deref(sbi, field, index) \ index 1587 fs/ext4/ext4.h _v = ((typeof(_v)*)rcu_dereference((sbi)->field))[index]; \ index 2536 fs/ext4/extents.c int index; index 2546 fs/ext4/extents.c index = depth * 2; index 2548 fs/ext4/extents.c index = depth * 3; index 2550 fs/ext4/extents.c return index; index 473 fs/ext4/inline.c BUG_ON(page->index); index 512 fs/ext4/inline.c if (!page->index) index 1195 fs/ext4/inode.c block = (sector_t)page->index << (PAGE_SHIFT - bbits); index 1275 fs/ext4/inode.c pgoff_t index; index 1287 fs/ext4/inode.c index = pos >> PAGE_SHIFT; index 1308 fs/ext4/inode.c page = grab_cache_page_write_begin(mapping, index, flags); index 1693 fs/ext4/inode.c pgoff_t index, end; index 1702 fs/ext4/inode.c index = mpd->first_page; index 1706 fs/ext4/inode.c start = index << (PAGE_SHIFT - inode->i_blkbits); index 1712 fs/ext4/inode.c while (index <= end) { index 1713 fs/ext4/inode.c nr_pages = pagevec_lookup_range(&pvec, mapping, &index, end); index 2014 fs/ext4/inode.c BUG_ON(page->index != 0); index 2141 fs/ext4/inode.c if (page->index == size >> PAGE_SHIFT && index 2210 fs/ext4/inode.c BUG_ON(page->index != mpd->first_page); index 2226 fs/ext4/inode.c if (page->index == size >> PAGE_SHIFT && index 2637 fs/ext4/inode.c pgoff_t index = mpd->first_page; index 2652 fs/ext4/inode.c mpd->next_page = index; index 2653 fs/ext4/inode.c while (index <= end) { index 2654 fs/ext4/inode.c nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, index 2674 fs/ext4/inode.c if (mpd->map.m_len > 0 && mpd->next_page != page->index) index 2697 fs/ext4/inode.c mpd->first_page = page->index; index 2698 fs/ext4/inode.c mpd->next_page = page->index + 1; index 2700 fs/ext4/inode.c lblk = ((ext4_lblk_t)page->index) << index 3036 fs/ext4/inode.c pgoff_t index; index 3043 fs/ext4/inode.c index = pos >> PAGE_SHIFT; index 3072 fs/ext4/inode.c page = grab_cache_page_write_begin(mapping, index, flags); index 4004 fs/ext4/inode.c ext4_fsblk_t index = from >> PAGE_SHIFT; index 4020 fs/ext4/inode.c iblock = index << (PAGE_SHIFT - inode->i_sb->s_blocksize_bits); index 6285 fs/ext4/inode.c if (page->index == size >> PAGE_SHIFT) index 823 fs/ext4/mballoc.c mb_debug(1, "init page %lu\n", page->index); index 846 fs/ext4/mballoc.c first_group = page->index * blocks_per_page / 2; index 884 fs/ext4/mballoc.c first_block = page->index * blocks_per_page; index 916 fs/ext4/mballoc.c group, page->index, i * blocksize); index 936 fs/ext4/mballoc.c group, page->index, i * blocksize); index 185 fs/ext4/move_extent.c block = (sector_t)page->index << (PAGE_SHIFT - inode->i_blkbits); index 260 fs/ext4/readpage.c if (add_to_page_cache_lru(page, mapping, page->index, index 268 fs/ext4/readpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); index 348 fs/ext4/readpage.c if (ext4_need_verity(inode, page->index) && index 380 fs/ext4/readpage.c ctx = get_bio_post_read_ctx(inode, bio, page->index); index 346 fs/ext4/verity.c pgoff_t index) index 348 fs/ext4/verity.c index += ext4_verity_metadata_pos(inode) >> PAGE_SHIFT; index 350 fs/ext4/verity.c return read_mapping_page(inode->i_mapping, index, NULL); index 354 fs/ext4/verity.c u64 index, int log_blocksize) index 356 fs/ext4/verity.c loff_t pos = ext4_verity_metadata_pos(inode) + (index << log_blocksize); index 37 fs/f2fs/checkpoint.c struct page *f2fs_grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index) index 42 fs/f2fs/checkpoint.c page = f2fs_grab_cache_page(mapping, index, false); index 56 fs/f2fs/checkpoint.c static struct page *__get_meta_page(struct f2fs_sb_info *sbi, pgoff_t index, index 66 fs/f2fs/checkpoint.c .old_blkaddr = index, index 67 fs/f2fs/checkpoint.c .new_blkaddr = index, index 76 fs/f2fs/checkpoint.c page = f2fs_grab_cache_page(mapping, index, false); index 106 fs/f2fs/checkpoint.c struct page *f2fs_get_meta_page(struct f2fs_sb_info *sbi, pgoff_t index) index 108 fs/f2fs/checkpoint.c return __get_meta_page(sbi, index, true); index 111 fs/f2fs/checkpoint.c struct page *f2fs_get_meta_page_nofail(struct f2fs_sb_info *sbi, pgoff_t index) index 117 fs/f2fs/checkpoint.c page = __get_meta_page(sbi, index, true); index 128 fs/f2fs/checkpoint.c struct page *f2fs_get_tmp_page(struct f2fs_sb_info *sbi, pgoff_t index) index 130 fs/f2fs/checkpoint.c return __get_meta_page(sbi, index, false); index 277 fs/f2fs/checkpoint.c void f2fs_ra_meta_pages_cond(struct f2fs_sb_info *sbi, pgoff_t index) index 282 fs/f2fs/checkpoint.c page = find_get_page(META_MAPPING(sbi), index); index 288 fs/f2fs/checkpoint.c f2fs_ra_meta_pages(sbi, index, BIO_MAX_PAGES, META_POR, true); index 303 fs/f2fs/checkpoint.c if (wbc->for_reclaim && page->index < GET_SUM_BLOCK(sbi, 0)) index 366 fs/f2fs/checkpoint.c pgoff_t index = 0, prev = ULONG_MAX; index 379 fs/f2fs/checkpoint.c while ((nr_pages = pagevec_lookup_tag(&pvec, mapping, &index, index 387 fs/f2fs/checkpoint.c prev = page->index - 1; index 388 fs/f2fs/checkpoint.c if (nr_to_write != LONG_MAX && page->index != prev + 1) { index 415 fs/f2fs/checkpoint.c prev = page->index; index 744 fs/f2fs/checkpoint.c unsigned short index = 1; index 776 fs/f2fs/checkpoint.c orphan_blk->blk_addr = cpu_to_le16(index); index 781 fs/f2fs/checkpoint.c index++; index 788 fs/f2fs/checkpoint.c orphan_blk->blk_addr = cpu_to_le16(index); index 222 fs/f2fs/data.c page->index != nid_of_node(page)); index 719 fs/f2fs/data.c bio = f2fs_grab_read_bio(inode, blkaddr, 1, 0, page->index); index 816 fs/f2fs/data.c int f2fs_reserve_block(struct dnode_of_data *dn, pgoff_t index) index 821 fs/f2fs/data.c err = f2fs_get_dnode_of_data(dn, index, ALLOC_NODE); index 832 fs/f2fs/data.c int f2fs_get_block(struct dnode_of_data *dn, pgoff_t index) index 837 fs/f2fs/data.c if (f2fs_lookup_extent_cache(inode, index, &ei)) { index 838 fs/f2fs/data.c dn->data_blkaddr = ei.blk + index - ei.fofs; index 842 fs/f2fs/data.c return f2fs_reserve_block(dn, index); index 845 fs/f2fs/data.c struct page *f2fs_get_read_data_page(struct inode *inode, pgoff_t index, index 854 fs/f2fs/data.c page = f2fs_grab_cache_page(mapping, index, for_write); index 858 fs/f2fs/data.c if (f2fs_lookup_extent_cache(inode, index, &ei)) { index 859 fs/f2fs/data.c dn.data_blkaddr = ei.blk + index - ei.fofs; index 869 fs/f2fs/data.c err = f2fs_get_dnode_of_data(&dn, index, LOOKUP_NODE); index 916 fs/f2fs/data.c struct page *f2fs_find_data_page(struct inode *inode, pgoff_t index) index 921 fs/f2fs/data.c page = find_get_page(mapping, index); index 926 fs/f2fs/data.c page = f2fs_get_read_data_page(inode, index, 0, false); index 946 fs/f2fs/data.c struct page *f2fs_get_lock_data_page(struct inode *inode, pgoff_t index, index 952 fs/f2fs/data.c page = f2fs_get_read_data_page(inode, index, 0, for_write); index 979 fs/f2fs/data.c struct page *ipage, pgoff_t index, bool new_i_size) index 986 fs/f2fs/data.c page = f2fs_grab_cache_page(mapping, index, true); index 997 fs/f2fs/data.c err = f2fs_reserve_block(&dn, index); index 1017 fs/f2fs/data.c page = f2fs_get_lock_data_page(inode, index, true); index 1023 fs/f2fs/data.c ((loff_t)(index + 1) << PAGE_SHIFT)) index 1024 fs/f2fs/data.c f2fs_i_size_write(inode, ((loff_t)(index + 1) << PAGE_SHIFT)); index 1701 fs/f2fs/data.c if (f2fs_need_verity(inode, page->index) && index 1724 fs/f2fs/data.c is_readahead ? REQ_RAHEAD : 0, page->index); index 1978 fs/f2fs/data.c f2fs_lookup_extent_cache(inode, page->index, &ei)) { index 1979 fs/f2fs/data.c fio->old_blkaddr = ei.blk + page->index - ei.fofs; index 1994 fs/f2fs/data.c err = f2fs_get_dnode_of_data(&dn, page->index, LOOKUP_NODE); index 2067 fs/f2fs/data.c if (page->index == 0) index 2088 fs/f2fs/data.c loff_t psize = (loff_t)(page->index + 1) << PAGE_SHIFT; index 2126 fs/f2fs/data.c if (page->index < end_index || f2fs_verity_in_progress(inode)) index 2134 fs/f2fs/data.c if ((page->index >= end_index + 1) || !offset) index 2142 fs/f2fs/data.c if (f2fs_is_volatile_file(inode) && (!page->index || index 2258 fs/f2fs/data.c pgoff_t index; index 2276 fs/f2fs/data.c index = writeback_index; index 2277 fs/f2fs/data.c if (index == 0) index 2283 fs/f2fs/data.c index = wbc->range_start >> PAGE_SHIFT; index 2295 fs/f2fs/data.c tag_pages_for_writeback(mapping, index, end); index 2296 fs/f2fs/data.c done_index = index; index 2297 fs/f2fs/data.c while (!done && (index <= end)) { index 2300 fs/f2fs/data.c nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, index 2316 fs/f2fs/data.c done_index = page->index; index 2365 fs/f2fs/data.c done_index = page->index + 1; index 2384 fs/f2fs/data.c index = 0; index 2520 fs/f2fs/data.c pgoff_t index = page->index; index 2569 fs/f2fs/data.c err = f2fs_get_block(&dn, index); index 2572 fs/f2fs/data.c err = f2fs_get_block(&dn, index); index 2574 fs/f2fs/data.c if (f2fs_lookup_extent_cache(inode, index, &ei)) { index 2575 fs/f2fs/data.c dn.data_blkaddr = ei.blk + index - ei.fofs; index 2578 fs/f2fs/data.c err = f2fs_get_dnode_of_data(&dn, index, LOOKUP_NODE); index 2608 fs/f2fs/data.c pgoff_t index = ((unsigned long long) pos) >> PAGE_SHIFT; index 2633 fs/f2fs/data.c if (index != 0) { index 2643 fs/f2fs/data.c page = f2fs_pagecache_get_page(mapping, index, index 846 fs/f2fs/dir.c !f2fs_truncate_hole(dir, page->index, page->index + 1)) { index 2130 fs/f2fs/f2fs.h pgoff_t index, bool for_write) index 2136 fs/f2fs/f2fs.h page = find_get_page_flags(mapping, index, index 2139 fs/f2fs/f2fs.h page = find_lock_page(mapping, index); index 2150 fs/f2fs/f2fs.h return grab_cache_page(mapping, index); index 2151 fs/f2fs/f2fs.h return grab_cache_page_write_begin(mapping, index, AOP_FLAG_NOFS); index 2155 fs/f2fs/f2fs.h struct address_space *mapping, pgoff_t index, index 2163 fs/f2fs/f2fs.h return pagecache_get_page(mapping, index, fgp_flags, gfp_mask); index 2259 fs/f2fs/f2fs.h unsigned long index, void *item) index 2261 fs/f2fs/f2fs.h while (radix_tree_insert(root, index, item)) index 3051 fs/f2fs/f2fs.h int f2fs_get_dnode_of_data(struct dnode_of_data *dn, pgoff_t index, int mode); index 3160 fs/f2fs/f2fs.h struct page *f2fs_grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index); index 3161 fs/f2fs/f2fs.h struct page *f2fs_get_meta_page(struct f2fs_sb_info *sbi, pgoff_t index); index 3162 fs/f2fs/f2fs.h struct page *f2fs_get_meta_page_nofail(struct f2fs_sb_info *sbi, pgoff_t index); index 3163 fs/f2fs/f2fs.h struct page *f2fs_get_tmp_page(struct f2fs_sb_info *sbi, pgoff_t index); index 3168 fs/f2fs/f2fs.h void f2fs_ra_meta_pages_cond(struct f2fs_sb_info *sbi, pgoff_t index); index 3215 fs/f2fs/f2fs.h int f2fs_get_block(struct dnode_of_data *dn, pgoff_t index); index 3217 fs/f2fs/f2fs.h int f2fs_reserve_block(struct dnode_of_data *dn, pgoff_t index); index 3218 fs/f2fs/f2fs.h struct page *f2fs_get_read_data_page(struct inode *inode, pgoff_t index, index 3220 fs/f2fs/f2fs.h struct page *f2fs_find_data_page(struct inode *inode, pgoff_t index); index 3221 fs/f2fs/f2fs.h struct page *f2fs_get_lock_data_page(struct inode *inode, pgoff_t index, index 3224 fs/f2fs/f2fs.h struct page *ipage, pgoff_t index, bool new_i_size); index 87 fs/f2fs/file.c err = f2fs_get_block(&dn, page->index); index 108 fs/f2fs/file.c if (((loff_t)(page->index + 1) << PAGE_SHIFT) > index 357 fs/f2fs/file.c pgofs = page->index; index 576 fs/f2fs/file.c pgoff_t index = from >> PAGE_SHIFT; index 584 fs/f2fs/file.c page = find_lock_page(mapping, index); index 591 fs/f2fs/file.c page = f2fs_get_lock_data_page(inode, index, true); index 887 fs/f2fs/file.c static int fill_zero(struct inode *inode, pgoff_t index, index 899 fs/f2fs/file.c page = f2fs_get_new_data_page(inode, NULL, index, false); index 1292 fs/f2fs/file.c pgoff_t index = start; index 1297 fs/f2fs/file.c for (; index < end; index++, dn->ofs_in_node++) { index 1309 fs/f2fs/file.c for (index = start; index < end; index++, dn->ofs_in_node++) { index 1327 fs/f2fs/file.c f2fs_update_extent_cache_range(dn, start, 0, index - start); index 1337 fs/f2fs/file.c pgoff_t index, pg_start, pg_end; index 1378 fs/f2fs/file.c for (index = pg_start; index < pg_end;) { index 1387 fs/f2fs/file.c (loff_t)index << PAGE_SHIFT, index 1393 fs/f2fs/file.c ret = f2fs_get_dnode_of_data(&dn, index, ALLOC_NODE); index 1402 fs/f2fs/file.c end = min(pg_end, end_offset - dn.ofs_in_node + index); index 1404 fs/f2fs/file.c ret = f2fs_do_zero_range(&dn, index, end); index 1416 fs/f2fs/file.c index = end; index 1418 fs/f2fs/file.c (loff_t)index << PAGE_SHIFT); index 658 fs/f2fs/gc.c static int ra_data_block(struct inode *inode, pgoff_t index) index 678 fs/f2fs/gc.c page = f2fs_grab_cache_page(mapping, index, true); index 682 fs/f2fs/gc.c if (f2fs_lookup_extent_cache(inode, index, &ei)) { index 683 fs/f2fs/gc.c dn.data_blkaddr = ei.blk + index - ei.fofs; index 693 fs/f2fs/gc.c err = f2fs_get_dnode_of_data(&dn, index, LOOKUP_NODE); index 889 fs/f2fs/gc.c if (page->index == 0) index 51 fs/f2fs/inline.c f2fs_bug_on(F2FS_P_SB(page), page->index); index 98 fs/f2fs/inline.c if (page->index) index 236 fs/f2fs/inline.c f2fs_bug_on(F2FS_I_SB(inode), page->index); index 184 fs/f2fs/inode.c page->index, ino_of_node(page), provided, calculated); index 527 fs/f2fs/node.c pgoff_t index; index 560 fs/f2fs/node.c index = current_nat_addr(sbi, nid); index 563 fs/f2fs/node.c page = f2fs_get_meta_page(sbi, index); index 722 fs/f2fs/node.c int f2fs_get_dnode_of_data(struct dnode_of_data *dn, pgoff_t index, int mode) index 733 fs/f2fs/node.c level = get_node_path(dn->inode, index, offset, noffset); index 747 fs/f2fs/node.c if (f2fs_has_inline_data(dn->inode) && index) { index 836 fs/f2fs/node.c pgoff_t index; index 856 fs/f2fs/node.c index = dn->node_page->index; index 860 fs/f2fs/node.c index, index); index 1296 fs/f2fs/node.c err = f2fs_get_node_info(sbi, page->index, &ni); index 1444 fs/f2fs/node.c pgoff_t index; index 1450 fs/f2fs/node.c index = 0; index 1452 fs/f2fs/node.c while ((nr_pages = pagevec_lookup_tag(&pvec, NODE_MAPPING(sbi), &index, index 1534 fs/f2fs/node.c f2fs_bug_on(sbi, page->index != nid); index 1653 fs/f2fs/node.c pgoff_t index; index 1669 fs/f2fs/node.c index = 0; index 1671 fs/f2fs/node.c while ((nr_pages = pagevec_lookup_tag(&pvec, NODE_MAPPING(sbi), &index, index 1754 fs/f2fs/node.c ino, last_page->index); index 1812 fs/f2fs/node.c pgoff_t index; index 1822 fs/f2fs/node.c index = 0; index 1825 fs/f2fs/node.c NODE_MAPPING(sbi), &index, PAGECACHE_TAG_DIRTY))) { index 244 fs/f2fs/segment.c err = f2fs_get_dnode_of_data(&dn, page->index, index 3204 fs/f2fs/segment.c .old_blkaddr = page->index, index 3205 fs/f2fs/segment.c .new_blkaddr = page->index, index 3211 fs/f2fs/segment.c if (unlikely(page->index >= MAIN_BLKADDR(sbi))) index 3218 fs/f2fs/segment.c stat_inc_meta_count(sbi, page->index); index 143 fs/f2fs/trace.c results[ret] = iter.index; index 226 fs/f2fs/verity.c pgoff_t index) index 228 fs/f2fs/verity.c index += f2fs_verity_metadata_pos(inode) >> PAGE_SHIFT; index 230 fs/f2fs/verity.c return read_mapping_page(inode->i_mapping, index, NULL); index 234 fs/f2fs/verity.c u64 index, int log_blocksize) index 236 fs/f2fs/verity.c loff_t pos = f2fs_verity_metadata_pos(inode) + (index << log_blocksize); index 197 fs/f2fs/xattr.c static inline const struct xattr_handler *f2fs_xattr_handler(int index) index 201 fs/f2fs/xattr.c if (index > 0 && index < ARRAY_SIZE(f2fs_xattr_handler_map)) index 202 fs/f2fs/xattr.c handler = f2fs_xattr_handler_map[index]; index 207 fs/f2fs/xattr.c void *last_base_addr, int index, index 217 fs/f2fs/xattr.c if (entry->e_name_index != index) index 228 fs/f2fs/xattr.c void *base_addr, void **last_addr, int index, index 241 fs/f2fs/xattr.c if (entry->e_name_index != index) index 302 fs/f2fs/xattr.c unsigned int index, unsigned int len, index 329 fs/f2fs/xattr.c index, len, name); index 348 fs/f2fs/xattr.c *xe = __find_xattr(cur_addr, last_txattr_addr, index, len, name); index 494 fs/f2fs/xattr.c int f2fs_getxattr(struct inode *inode, int index, const char *name, index 511 fs/f2fs/xattr.c error = lookup_all_xattrs(inode, ipage, index, len, name, index 606 fs/f2fs/xattr.c static int __f2fs_setxattr(struct inode *inode, int index, index 639 fs/f2fs/xattr.c here = __find_xattr(base_addr, last_base_addr, index, len, name); index 709 fs/f2fs/xattr.c last->e_name_index = index; index 727 fs/f2fs/xattr.c if (index == F2FS_XATTR_INDEX_ENCRYPTION && index 738 fs/f2fs/xattr.c int f2fs_setxattr(struct inode *inode, int index, const char *name, index 756 fs/f2fs/xattr.c return __f2fs_setxattr(inode, index, name, value, index 764 fs/f2fs/xattr.c err = __f2fs_setxattr(inode, index, name, value, size, ipage, flags); index 136 fs/f2fs/xattr.h static inline int f2fs_setxattr(struct inode *inode, int index, index 142 fs/f2fs/xattr.h static inline int f2fs_getxattr(struct inode *inode, int index, index 135 fs/filesystems.c int err, index; index 144 fs/filesystems.c for (tmp=file_systems, index=0 ; tmp ; tmp=tmp->next, index++) { index 146 fs/filesystems.c err = index; index 155 fs/filesystems.c static int fs_name(unsigned int index, char __user * buf) index 161 fs/filesystems.c for (tmp = file_systems; tmp; tmp = tmp->next, index--) index 162 fs/filesystems.c if (index <= 0 && try_module_get(tmp->owner)) index 178 fs/filesystems.c int index; index 181 fs/filesystems.c for (tmp = file_systems, index = 0 ; tmp ; tmp = tmp->next, index++) index 184 fs/filesystems.c return index; index 69 fs/freevxfs/vxfs_immed.c u_int64_t offset = (u_int64_t)pp->index << PAGE_SHIFT; index 445 fs/fs_context.c u8 index; index 447 fs/fs_context.c index = log->head & (logsize - 1); index 452 fs/fs_context.c if (log->need_free & (1 << index)) index 453 fs/fs_context.c kfree(log->buffer[index]); index 457 fs/fs_context.c log->buffer[index] = q; index 458 fs/fs_context.c log->need_free &= ~(1 << index); index 459 fs/fs_context.c log->need_free |= freeable << index; index 25 fs/fscache/histogram.c unsigned long index; index 36 fs/fscache/histogram.c index = (unsigned long) v - 3; index 37 fs/fscache/histogram.c n[0] = atomic_read(&fscache_obj_instantiate_histogram[index]); index 38 fs/fscache/histogram.c n[1] = atomic_read(&fscache_ops_histogram[index]); index 39 fs/fscache/histogram.c n[2] = atomic_read(&fscache_objs_histogram[index]); index 40 fs/fscache/histogram.c n[3] = atomic_read(&fscache_retrieval_delay_histogram[index]); index 41 fs/fscache/histogram.c n[4] = atomic_read(&fscache_retrieval_histogram[index]); index 45 fs/fscache/histogram.c t = (index * 1000) / HZ; index 48 fs/fscache/histogram.c index, t, n[0], n[1], n[2], n[3], n[4]); index 24 fs/fscache/page.c val = radix_tree_lookup(&cookie->stores, page->index); index 75 fs/fscache/page.c val = radix_tree_lookup(&cookie->stores, page->index); index 85 fs/fscache/page.c if (radix_tree_tag_get(&cookie->stores, page->index, index 96 fs/fscache/page.c if (radix_tree_tag_get(&cookie->stores, page->index, index 104 fs/fscache/page.c xpage = radix_tree_delete(&cookie->stores, page->index); index 136 fs/fscache/page.c page, page->index); index 158 fs/fscache/page.c radix_tree_tag_clear(&cookie->stores, page->index, index 161 fs/fscache/page.c if (!radix_tree_tag_get(&cookie->stores, page->index, index 164 fs/fscache/page.c xpage = radix_tree_delete(&cookie->stores, page->index); index 168 fs/fscache/page.c val = radix_tree_lookup(&cookie->stores, page->index); index 844 fs/fscache/page.c _debug("gang %d [%lx]", n, page->index); index 846 fs/fscache/page.c radix_tree_tag_set(&cookie->stores, page->index, index 848 fs/fscache/page.c radix_tree_tag_clear(&cookie->stores, page->index, index 855 fs/fscache/page.c if (page->index >= op->store_limit) index 914 fs/fscache/page.c radix_tree_delete(&cookie->stores, page->index); index 1022 fs/fscache/page.c ret = radix_tree_insert(&cookie->stores, page->index, page); index 1031 fs/fscache/page.c radix_tree_tag_set(&cookie->stores, page->index, index 1075 fs/fscache/page.c radix_tree_delete(&cookie->stores, page->index); index 1175 fs/fscache/page.c _debug("- mark %p{%lx}", page, page->index); index 1181 fs/fscache/page.c cookie->def->name, page->index); index 33 fs/fsopen.c int index, n; index 44 fs/fsopen.c index = log->tail & (logsize - 1); index 45 fs/fsopen.c p = log->buffer[index]; index 46 fs/fsopen.c need_free = log->need_free & (1 << index); index 47 fs/fsopen.c log->buffer[index] = NULL; index 48 fs/fsopen.c log->need_free &= ~(1 << index); index 776 fs/fuse/dev.c pr_warn(" page=%p index=%li flags=%08lx, count=%i, mapcount=%i, mapping=%p\n", page, page->index, page->flags, page_count(page), page_mapcount(page), page->mapping); index 1542 fs/fuse/dev.c pgoff_t index; index 1573 fs/fuse/dev.c index = outarg.offset >> PAGE_SHIFT; index 1588 fs/fuse/dev.c page = find_or_create_page(mapping, index, index 1606 fs/fuse/dev.c index++; index 1640 fs/fuse/dev.c pgoff_t index; index 1680 fs/fuse/dev.c index = outarg->offset >> PAGE_SHIFT; index 1686 fs/fuse/dev.c page = find_get_page(mapping, index); index 1699 fs/fuse/dev.c index++; index 403 fs/fuse/file.c static inline bool fuse_page_is_writeback(struct inode *inode, pgoff_t index) index 405 fs/fuse/file.c return fuse_range_is_writeback(inode, index, index); index 414 fs/fuse/file.c static void fuse_wait_on_page_writeback(struct inode *inode, pgoff_t index) index 418 fs/fuse/file.c wait_event(fi->page_waitq, !fuse_page_is_writeback(inode, index)); index 802 fs/fuse/file.c fuse_wait_on_page_writeback(inode, page->index); index 934 fs/fuse/file.c fuse_wait_on_page_writeback(inode, page->index); index 939 fs/fuse/file.c ap->pages[ap->num_pages - 1]->index + 1 != page->index)) { index 1109 fs/fuse/file.c fuse_wait_on_page_writeback(inode, ap->pages[i]->index); index 1155 fs/fuse/file.c pgoff_t index = pos >> PAGE_SHIFT; index 1167 fs/fuse/file.c page = grab_cache_page_write_begin(mapping, index, 0); index 1345 fs/fuse/file.c unsigned int index, index 1350 fs/fuse/file.c for (i = index; i < index + nr_pages; i++) index 1881 fs/fuse/file.c if (fuse_page_is_writeback(page->mapping->host, page->index)) { index 1971 fs/fuse/file.c old_wpa = fuse_find_writeback(fi, page->index, page->index); index 1984 fs/fuse/file.c if (curr_index == page->index) { index 2036 fs/fuse/file.c is_writeback = fuse_page_is_writeback(inode, page->index); index 2041 fs/fuse/file.c data->orig_pages[ap->num_pages - 1]->index + 1 != page->index)) { index 2171 fs/fuse/file.c pgoff_t index = pos >> PAGE_SHIFT; index 2179 fs/fuse/file.c page = grab_cache_page_write_begin(mapping, index, flags); index 2183 fs/fuse/file.c fuse_wait_on_page_writeback(mapping->host, page->index); index 2247 fs/fuse/file.c fuse_wait_on_page_writeback(inode, page->index); index 2288 fs/fuse/file.c fuse_wait_on_page_writeback(inode, page->index); index 37 fs/fuse/readdir.c pgoff_t index; index 56 fs/fuse/readdir.c index = size >> PAGE_SHIFT; index 59 fs/fuse/readdir.c index++; index 65 fs/fuse/readdir.c page = find_lock_page(file->f_mapping, index); index 67 fs/fuse/readdir.c page = find_or_create_page(file->f_mapping, index, index 84 fs/fuse/readdir.c fi->rdc.size = (index << PAGE_SHIFT) + offset + reclen; index 438 fs/fuse/readdir.c pgoff_t index; index 502 fs/fuse/readdir.c index = ff->readdir.cache_off >> PAGE_SHIFT; index 504 fs/fuse/readdir.c if (index == (fi->rdc.size >> PAGE_SHIFT)) index 514 fs/fuse/readdir.c page = find_get_page_flags(file->f_mapping, index, index 65 fs/fuse/virtio_fs.c return &fs->vqs[vq->index]; index 104 fs/gfs2/aops.c if (page->index > end_index || (page->index == end_index && !offset)) { index 137 fs/gfs2/aops.c if (page->index == end_index && offset) index 257 fs/gfs2/aops.c *done_index = page->index; index 301 fs/gfs2/aops.c *done_index = page->index + 1; index 341 fs/gfs2/aops.c pgoff_t index; index 351 fs/gfs2/aops.c index = writeback_index; index 352 fs/gfs2/aops.c if (index == 0) index 358 fs/gfs2/aops.c index = wbc->range_start >> PAGE_SHIFT; index 371 fs/gfs2/aops.c tag_pages_for_writeback(mapping, index, end); index 372 fs/gfs2/aops.c done_index = index; index 373 fs/gfs2/aops.c while (!done && (index <= end)) { index 374 fs/gfs2/aops.c nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, index 395 fs/gfs2/aops.c index = 0; index 449 fs/gfs2/aops.c if (unlikely(page->index)) { index 555 fs/gfs2/aops.c unsigned long index = *pos >> PAGE_SHIFT; index 566 fs/gfs2/aops.c page = read_cache_page(mapping, index, __gfs2_readpage, NULL); index 574 fs/gfs2/aops.c index++; index 62 fs/gfs2/bmap.c if (!page || page->index) { index 782 fs/gfs2/dir.c static int get_leaf_nr(struct gfs2_inode *dip, u32 index, index 792 fs/gfs2/dir.c *leaf_out = be64_to_cpu(*(hash + index)); index 797 fs/gfs2/dir.c static int get_first_leaf(struct gfs2_inode *dip, u32 index, index 803 fs/gfs2/dir.c error = get_leaf_nr(dip, index, &leaf_no); index 823 fs/gfs2/dir.c unsigned int index; index 830 fs/gfs2/dir.c index = name->hash >> (32 - ip->i_depth); index 831 fs/gfs2/dir.c error = get_first_leaf(ip, index, &bh); index 1013 fs/gfs2/dir.c u32 index; index 1017 fs/gfs2/dir.c index = name->hash >> (32 - dip->i_depth); index 1018 fs/gfs2/dir.c error = get_leaf_nr(dip, index, &leaf_no); index 1047 fs/gfs2/dir.c dip->i_depth, be16_to_cpu(oleaf->lf_depth), index); index 1053 fs/gfs2/dir.c start = (index & ~(len - 1)); index 1480 fs/gfs2/dir.c static void gfs2_dir_readahead(struct inode *inode, unsigned hsize, u32 index, index 1490 fs/gfs2/dir.c if (index + MAX_RA_BLOCKS < f_ra->start) index 1493 fs/gfs2/dir.c f_ra->start = max((pgoff_t)index, f_ra->start); index 1534 fs/gfs2/dir.c u32 hash, index; index 1542 fs/gfs2/dir.c index = hash >> (32 - dip->i_depth); index 1550 fs/gfs2/dir.c gfs2_dir_readahead(inode, hsize, index, f_ra); index 1552 fs/gfs2/dir.c while (index < hsize) { index 1555 fs/gfs2/dir.c be64_to_cpu(lp[index])); index 1560 fs/gfs2/dir.c index = (index & ~(len - 1)) + len; index 1731 fs/gfs2/dir.c u32 index; index 1734 fs/gfs2/dir.c index = name->hash >> (32 - ip->i_depth); index 1735 fs/gfs2/dir.c error = get_first_leaf(ip, index, &obh); index 1971 fs/gfs2/dir.c static int leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len, index 2058 fs/gfs2/dir.c error = gfs2_dir_write_data(dip, ht, index * sizeof(u64), size); index 2104 fs/gfs2/dir.c u32 index = 0, next_index; index 2115 fs/gfs2/dir.c while (index < hsize) { index 2116 fs/gfs2/dir.c leaf_no = be64_to_cpu(lp[index]); index 2124 fs/gfs2/dir.c next_index = (index & ~(len - 1)) + len; index 2126 fs/gfs2/dir.c error = leaf_dealloc(dip, index, len, leaf_no, bh, index 2131 fs/gfs2/dir.c index = next_index; index 2133 fs/gfs2/dir.c index++; index 2136 fs/gfs2/dir.c if (index != hsize) { index 516 fs/gfs2/file.c if (size == 0 || (page->index > last_index)) index 1965 fs/gfs2/glock.c unsigned index = pos >> 3; index 1969 fs/gfs2/glock.c if (index == 0 && subindex != 0) index 1972 fs/gfs2/glock.c seq_printf(seq, "%-10s %8s:", gfs2_gltype[index], index 1973 fs/gfs2/glock.c (index == 0) ? "cpu": gfs2_stype[subindex]); index 1978 fs/gfs2/glock.c if (index == 0) index 1982 fs/gfs2/glock.c lkstats[index - 1].stats[subindex]); index 44 fs/gfs2/lock_dlm.c static inline void gfs2_update_stats(struct gfs2_lkstats *s, unsigned index, index 47 fs/gfs2/lock_dlm.c s64 delta = sample - s->stats[index]; index 48 fs/gfs2/lock_dlm.c s->stats[index] += (delta >> 3); index 49 fs/gfs2/lock_dlm.c index++; index 50 fs/gfs2/lock_dlm.c s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; index 74 fs/gfs2/lock_dlm.c unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? index 81 fs/gfs2/lock_dlm.c gfs2_update_stats(&gl->gl_stats, index, rtt); /* Local */ index 82 fs/gfs2/lock_dlm.c gfs2_update_stats(&lks->lkstats[gltype], index, rtt); /* Global */ index 75 fs/gfs2/lops.c unsigned int index = bd->bd_bh->b_blocknr - gl->gl_name.ln_number; index 76 fs/gfs2/lops.c struct gfs2_bitmap *bi = rgd->rd_bits + index; index 455 fs/gfs2/lops.c static void gfs2_jhead_process_page(struct gfs2_jdesc *jd, unsigned long index, index 461 fs/gfs2/lops.c page = find_get_page(jd->jd_inode->i_mapping, index); index 117 fs/gfs2/meta_io.c unsigned long index; index 124 fs/gfs2/meta_io.c index = blkno >> shift; /* convert block to page */ index 125 fs/gfs2/meta_io.c bufnum = blkno - (index << shift); /* block buf index within page */ index 129 fs/gfs2/meta_io.c page = grab_cache_page(mapping, index); index 135 fs/gfs2/meta_io.c page = find_get_page_flags(mapping, index, index 687 fs/gfs2/quota.c static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index, index 701 fs/gfs2/quota.c blk = index << (PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift); index 704 fs/gfs2/quota.c page = find_or_create_page(mapping, index, GFP_NOFS); index 97 fs/hfs/inode.c nidx = page->index >> (tree->node_size_shift - PAGE_SHIFT); index 110 fs/hfs/inode.c nidx = page->index << (PAGE_SHIFT - tree->node_size_shift); index 92 fs/hfsplus/inode.c nidx = page->index >> index 106 fs/hfsplus/inode.c nidx = page->index << index 311 fs/hfsplus/unicode.c int index; index 314 fs/hfsplus/unicode.c index = uc - Hangul_SBase; index 315 fs/hfsplus/unicode.c if (index < 0 || index >= Hangul_SCount) index 318 fs/hfsplus/unicode.c l = Hangul_LBase + index / Hangul_NCount; index 319 fs/hfsplus/unicode.c v = Hangul_VBase + (index % Hangul_NCount) / Hangul_TCount; index 320 fs/hfsplus/unicode.c t = Hangul_TBase + index % Hangul_TCount; index 130 fs/hfsplus/xattr.c int index, written; index 216 fs/hfsplus/xattr.c index = 0; index 218 fs/hfsplus/xattr.c for (; written < node_size; index++, written += PAGE_SIZE) { index 221 fs/hfsplus/xattr.c page = read_mapping_page(mapping, index, NULL); index 411 fs/hostfs/hostfs_kern.c if (page->index >= end_index) index 468 fs/hostfs/hostfs_kern.c pgoff_t index = pos >> PAGE_SHIFT; index 470 fs/hostfs/hostfs_kern.c *pagep = grab_cache_page_write_begin(mapping, index, flags); index 216 fs/hpfs/hpfs.h __le16 index; /* index in c.p. array in that sector*/ index 80 fs/hpfs/map.c cpi = le16_to_cpu(cp->array[0].index); index 94 fs/hugetlbfs/inode.c struct inode *inode, pgoff_t index) index 97 fs/hugetlbfs/inode.c index); index 106 fs/hugetlbfs/inode.c struct inode *inode, pgoff_t index) index 276 fs/hugetlbfs/inode.c unsigned long index = iocb->ki_pos >> huge_page_shift(h); index 292 fs/hugetlbfs/inode.c if (index > end_index) index 294 fs/hugetlbfs/inode.c if (index == end_index) { index 302 fs/hugetlbfs/inode.c page = find_lock_page(mapping, index); index 325 fs/hugetlbfs/inode.c index += offset >> huge_page_shift(h); index 328 fs/hugetlbfs/inode.c iocb->ki_pos = ((loff_t)index << huge_page_shift(h)) + offset; index 423 fs/hugetlbfs/inode.c pgoff_t next, index; index 442 fs/hugetlbfs/inode.c index = page->index; index 443 fs/hugetlbfs/inode.c hash = hugetlb_fault_mutex_hash(h, mapping, index, 0); index 460 fs/hugetlbfs/inode.c index * pages_per_huge_page(h), index 461 fs/hugetlbfs/inode.c (index + 1) * pages_per_huge_page(h)); index 480 fs/hugetlbfs/inode.c index, index + 1, 1))) index 581 fs/hugetlbfs/inode.c pgoff_t start, index, end; index 620 fs/hugetlbfs/inode.c for (index = start; index < end; index++) { index 641 fs/hugetlbfs/inode.c hugetlb_set_vma_policy(&pseudo_vma, inode, index); index 644 fs/hugetlbfs/inode.c addr = index * hpage_size; index 647 fs/hugetlbfs/inode.c hash = hugetlb_fault_mutex_hash(h, mapping, index, addr); index 651 fs/hugetlbfs/inode.c page = find_get_page(mapping, index); index 669 fs/hugetlbfs/inode.c error = huge_add_to_page_cache(page, mapping, index); index 912 fs/hugetlbfs/inode.c pgoff_t index = page->index; index 915 fs/hugetlbfs/inode.c if (unlikely(hugetlb_unreserve_pages(inode, index, index + 1, 1))) index 274 fs/io_uring.c unsigned short index; index 1171 fs/io_uring.c unsigned index, buf_index; index 1183 fs/io_uring.c index = array_index_nospec(buf_index, ctx->nr_user_bufs); index 1184 fs/io_uring.c imu = &ctx->user_bufs[index]; index 2099 fs/io_uring.c if (unlikely(s->index >= ctx->sq_entries)) index 2666 fs/io_uring.c s->index = head; index 3422 fs/io_uring.c void __user *arg, unsigned index) index 3432 fs/io_uring.c if (copy_from_user(&ciov, &ciovs[index], sizeof(ciov))) index 3441 fs/io_uring.c if (copy_from_user(dst, &src[index], sizeof(*dst))) index 196 fs/iomap/buffered-io.c BUG_ON(page->index); index 335 fs/iomap/buffered-io.c if (!add_to_page_cache_lru(page, inode->i_mapping, page->index, index 587 fs/iomap/buffered-io.c pgoff_t index = pos >> PAGE_SHIFT; index 602 fs/iomap/buffered-io.c page = grab_cache_page_write_begin(inode->i_mapping, index, flags); index 1051 fs/iomap/buffered-io.c if (((page->index + 1) << PAGE_SHIFT) > size) index 77 fs/iomap/seek.c pgoff_t index = offset >> PAGE_SHIFT; index 90 fs/iomap/seek.c nr_pages = pagevec_lookup_range(&pvec, inode->i_mapping, &index, index 103 fs/iomap/seek.c } while (index < end); index 310 fs/isofs/compress.c pgoff_t index = page->index, end_index; index 317 fs/isofs/compress.c if (index >= end_index) { index 326 fs/isofs/compress.c full_page = index & (zisofs_pages_per_cblock - 1); index 328 fs/isofs/compress.c end_index - (index & ~(zisofs_pages_per_cblock - 1))); index 329 fs/isofs/compress.c index -= full_page; index 342 fs/isofs/compress.c for (i = 0; i < pcount; i++, index++) { index 344 fs/isofs/compress.c pages[i] = grab_cache_page_nowait(mapping, index); index 45 fs/jffs2/background.c tsk = kthread_run(jffs2_garbage_collect_thread, c, "jffs2_gcd_mtd%d", c->mtd->index); index 87 fs/jffs2/file.c __func__, inode->i_ino, pg->index << PAGE_SHIFT); index 94 fs/jffs2/file.c ret = jffs2_read_inode_range(c, f, pg_buf, pg->index << PAGE_SHIFT, index 138 fs/jffs2/file.c pgoff_t index = pos >> PAGE_SHIFT; index 139 fs/jffs2/file.c uint32_t pageofs = index << PAGE_SHIFT; index 142 fs/jffs2/file.c pg = grab_cache_page_write_begin(mapping, index, flags); index 253 fs/jffs2/file.c __func__, inode->i_ino, pg->index << PAGE_SHIFT, index 293 fs/jffs2/file.c (pg->index << PAGE_SHIFT) + aligned_start, index 221 fs/jffs2/fs.c buf->f_fsid.val[1] = c->mtd->index; index 253 fs/jffs2/super.c sb->s_mtd->index, sb->s_mtd->name); index 107 fs/jffs2/xattr.c static int index = 0; index 116 fs/jffs2/xattr.c list_for_each_entry_safe(xd, _xd, &c->xattrindex[index], xindex) { index 125 fs/jffs2/xattr.c index = (index+1) % XATTRINDEX_HASHSIZE; index 43 fs/jfs/ioctl.c int index=0; index 46 fs/jfs/ioctl.c while (jfs_map[index].jfs_flag) { index 48 fs/jfs/ioctl.c if (jfs_map[index].ext2_flag & flags) index 49 fs/jfs/ioctl.c mapped |= jfs_map[index].jfs_flag; index 51 fs/jfs/ioctl.c if (jfs_map[index].jfs_flag & flags) index 52 fs/jfs/ioctl.c mapped |= jfs_map[index].ext2_flag; index 54 fs/jfs/ioctl.c index++; index 100 fs/jfs/jfs_btree.h s16 index; /* 2: */ index 121 fs/jfs/jfs_btree.h (BTSTACK)->top->index = INDEX;\ index 138 fs/jfs/jfs_btree.h btstack->stack[i].index); index 150 fs/jfs/jfs_btree.h INDEX = (LEAF)->index;\ index 104 fs/jfs/jfs_dtree.c s16 index; index 172 fs/jfs/jfs_dtree.c static void dtInsertEntry(dtpage_t * p, int index, struct component_name * key, index 236 fs/jfs/jfs_dtree.c static struct dir_table_slot *find_index(struct inode *ip, u32 index, index 246 fs/jfs/jfs_dtree.c if (index < 2) { index 248 fs/jfs/jfs_dtree.c jfs_warn("find_entry called with index = %d", index); index 254 fs/jfs/jfs_dtree.c if (index >= jfs_ip->next_index) { index 264 fs/jfs/jfs_dtree.c slot = &jfs_ip->i_dirtable[index - 2]; index 266 fs/jfs/jfs_dtree.c offset = (index - 2) * sizeof(struct dir_table_slot); index 292 fs/jfs/jfs_dtree.c u32 index) index 301 fs/jfs/jfs_dtree.c if (llck->index >= llck->maxcnt) index 303 fs/jfs/jfs_dtree.c lv = &llck->lv[llck->index]; index 309 fs/jfs/jfs_dtree.c lv->offset = ((index - 2) & 511) >> 1; index 311 fs/jfs/jfs_dtree.c llck->index++; index 328 fs/jfs/jfs_dtree.c u32 index; index 345 fs/jfs/jfs_dtree.c index = jfs_ip->next_index++; index 347 fs/jfs/jfs_dtree.c if (index <= MAX_INLINE_DIRTABLE_ENTRY) { index 351 fs/jfs/jfs_dtree.c ip->i_size = (loff_t) (index - 1) << 3; index 356 fs/jfs/jfs_dtree.c dirtab_slot = &jfs_ip->i_dirtable[index-2]; index 363 fs/jfs/jfs_dtree.c return index; index 365 fs/jfs/jfs_dtree.c if (index == (MAX_INLINE_DIRTABLE_ENTRY + 1)) { index 414 fs/jfs/jfs_dtree.c ASSERT(llck->index == 0); index 419 fs/jfs/jfs_dtree.c llck->index++; index 432 fs/jfs/jfs_dtree.c offset = (index - 2) * sizeof(struct dir_table_slot); index 458 fs/jfs/jfs_dtree.c lock_index(tid, ip, mp, index); index 469 fs/jfs/jfs_dtree.c return index; index 483 fs/jfs/jfs_dtree.c static void free_index(tid_t tid, struct inode *ip, u32 index, u32 next) index 489 fs/jfs/jfs_dtree.c dirtab_slot = find_index(ip, index, &mp, &lblock); index 499 fs/jfs/jfs_dtree.c lock_index(tid, ip, mp, index); index 511 fs/jfs/jfs_dtree.c static void modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, index 516 fs/jfs/jfs_dtree.c dirtab_slot = find_index(ip, index, mp, lblock); index 525 fs/jfs/jfs_dtree.c lock_index(tid, ip, *mp, index); index 536 fs/jfs/jfs_dtree.c static int read_index(struct inode *ip, u32 index, index 543 fs/jfs/jfs_dtree.c slot = find_index(ip, index, &mp, &lblock); index 576 fs/jfs/jfs_dtree.c int base, index, lim; index 634 fs/jfs/jfs_dtree.c index = base + (lim >> 1); index 639 fs/jfs/jfs_dtree.c ciCompare(&ciKey, p, stbl[index], index 644 fs/jfs/jfs_dtree.c cmp = dtCompare(&ciKey, p, stbl[index]); index 657 fs/jfs/jfs_dtree.c ((struct ldtentry *) & p->slot[stbl[index]])->inumber); index 694 fs/jfs/jfs_dtree.c btsp->index = index; index 708 fs/jfs/jfs_dtree.c base = index + 1; index 743 fs/jfs/jfs_dtree.c btsp->index = base; index 756 fs/jfs/jfs_dtree.c index = base ? base - 1 : base; index 775 fs/jfs/jfs_dtree.c BT_PUSH(btstack, bn, index); index 778 fs/jfs/jfs_dtree.c pxd = (pxd_t *) & p->slot[stbl[index]]; index 816 fs/jfs/jfs_dtree.c int index; index 831 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); index 859 fs/jfs/jfs_dtree.c split.index = index; index 878 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 884 fs/jfs/jfs_dtree.c dtlck->index++; index 886 fs/jfs/jfs_dtree.c dtInsertEntry(p, index, name, &data, &dtlck); index 890 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 892 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 893 fs/jfs/jfs_dtree.c n = index >> L2DTSLOTSIZE; index 897 fs/jfs/jfs_dtree.c dtlck->index++; index 1137 fs/jfs/jfs_dtree.c skip = parent->index + 1; index 1223 fs/jfs/jfs_dtree.c split->index = skip; /* index at insert */ index 1255 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 1261 fs/jfs/jfs_dtree.c dtlck->index++; index 1271 fs/jfs/jfs_dtree.c dtlck->index++; index 1389 fs/jfs/jfs_dtree.c ASSERT(sdtlck->index == 0); index 1393 fs/jfs/jfs_dtree.c sdtlck->index++; index 1434 fs/jfs/jfs_dtree.c if (nextbn == 0 && split->index == sp->header.nextindex) { index 1436 fs/jfs/jfs_dtree.c rlv = & rdtlck->lv[rdtlck->index]; index 1439 fs/jfs/jfs_dtree.c rdtlck->index++; index 1479 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 1482 fs/jfs/jfs_dtree.c dtlck->index++; index 1492 fs/jfs/jfs_dtree.c skip = split->index; index 1548 fs/jfs/jfs_dtree.c rlv = & rdtlck->lv[rdtlck->index]; index 1551 fs/jfs/jfs_dtree.c rdtlck->index++; index 1576 fs/jfs/jfs_dtree.c modify_index(tid, ip, le32_to_cpu(ldtentry->index), index 1591 fs/jfs/jfs_dtree.c if (sdtlck->index >= sdtlck->maxcnt) index 1593 fs/jfs/jfs_dtree.c slv = & sdtlck->lv[sdtlck->index]; index 1598 fs/jfs/jfs_dtree.c sdtlck->index++; index 1688 fs/jfs/jfs_dtree.c pxdlock->index = 1; index 1702 fs/jfs/jfs_dtree.c le32_to_cpu(ldtentry->index), index 1747 fs/jfs/jfs_dtree.c dtlck->index++; index 1762 fs/jfs/jfs_dtree.c dtlck->index++; index 1809 fs/jfs/jfs_dtree.c dtInsertEntry(sp, split->index, split->key, split->data, &dtlck); index 1829 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 1834 fs/jfs/jfs_dtree.c dtlck->index++; index 1934 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 1938 fs/jfs/jfs_dtree.c dtlck->index++; index 1991 fs/jfs/jfs_dtree.c modify_index(tid, ip, le32_to_cpu(ldtentry->index), index 2001 fs/jfs/jfs_dtree.c dtInsertEntry(rp, split->index, split->key, split->data, &dtlck); index 2020 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 2024 fs/jfs/jfs_dtree.c dtlck->index++; index 2077 fs/jfs/jfs_dtree.c int index; index 2098 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 2107 fs/jfs/jfs_dtree.c ldtentry = (struct ldtentry *) & p->slot[stbl[index]]; index 2108 fs/jfs/jfs_dtree.c table_index = le32_to_cpu(ldtentry->index); index 2109 fs/jfs/jfs_dtree.c if (index == (p->header.nextindex - 1)) { index 2128 fs/jfs/jfs_dtree.c le32_to_cpu(ldtentry->index); index 2134 fs/jfs/jfs_dtree.c (struct ldtentry *) & p->slot[stbl[index + 1]]; index 2135 fs/jfs/jfs_dtree.c next_index = le32_to_cpu(ldtentry->index); index 2166 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 2168 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 2171 fs/jfs/jfs_dtree.c dtlck->index++; index 2175 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 2177 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 2178 fs/jfs/jfs_dtree.c i = index >> L2DTSLOTSIZE; index 2183 fs/jfs/jfs_dtree.c dtlck->index++; index 2187 fs/jfs/jfs_dtree.c dtDeleteEntry(p, index, &dtlck); index 2192 fs/jfs/jfs_dtree.c if (DO_INDEX(ip) && index < p->header.nextindex) { index 2197 fs/jfs/jfs_dtree.c for (i = index; i < p->header.nextindex; i++) { index 2201 fs/jfs/jfs_dtree.c le32_to_cpu(ldtentry->index), index 2231 fs/jfs/jfs_dtree.c int index, nextindex; index 2270 fs/jfs/jfs_dtree.c pxdlock->index = 1; index 2303 fs/jfs/jfs_dtree.c index = parent->index; index 2346 fs/jfs/jfs_dtree.c pxdlock->index = 1; index 2382 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 2384 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 2387 fs/jfs/jfs_dtree.c dtlck->index++; index 2391 fs/jfs/jfs_dtree.c if (dtlck->index < dtlck->maxcnt) index 2397 fs/jfs/jfs_dtree.c i = index >> L2DTSLOTSIZE; index 2402 fs/jfs/jfs_dtree.c dtlck->index++; index 2406 fs/jfs/jfs_dtree.c dtDeleteEntry(p, index, &dtlck); index 2409 fs/jfs/jfs_dtree.c if (index == 0 && index 2440 fs/jfs/jfs_dtree.c int index; index 2467 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); index 2517 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 2521 fs/jfs/jfs_dtree.c dtlck->index++; index 2531 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 2535 fs/jfs/jfs_dtree.c dtlck->index++; index 2553 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 2565 fs/jfs/jfs_dtree.c dtlck->index++; index 2592 fs/jfs/jfs_dtree.c pxdlock->index = 1; index 2603 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 2607 fs/jfs/jfs_dtree.c pxd = (pxd_t *) & pp->slot[stbl[index]]; index 2609 fs/jfs/jfs_dtree.c lv->offset = stbl[index]; index 2611 fs/jfs/jfs_dtree.c dtlck->index++; index 2697 fs/jfs/jfs_dtree.c btsp->index = i; index 2765 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 2767 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 2770 fs/jfs/jfs_dtree.c dtlck->index++; index 2794 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 2796 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 2799 fs/jfs/jfs_dtree.c dtlck->index++; index 2869 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 2873 fs/jfs/jfs_dtree.c dtlck->index++; index 2911 fs/jfs/jfs_dtree.c uint index; index 2941 fs/jfs/jfs_dtree.c index = le32_to_cpu(d->index); index 2942 fs/jfs/jfs_dtree.c if ((index < 2) || (index >= JFS_IP(inode)->next_index)) { index 2943 fs/jfs/jfs_dtree.c d->index = cpu_to_le32(add_index(tid, inode, bn, i)); index 2944 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 2946 fs/jfs/jfs_dtree.c lv = &dtlck->lv[dtlck->index]; index 2949 fs/jfs/jfs_dtree.c dtlck->index++; index 3001 fs/jfs/jfs_dtree.c s16 index; index 3007 fs/jfs/jfs_dtree.c int index; index 3075 fs/jfs/jfs_dtree.c index = dirtab_slot.slot; index 3114 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 3131 fs/jfs/jfs_dtree.c dtoffset->index = 2; index 3136 fs/jfs/jfs_dtree.c if (dtoffset->index == 2) { index 3144 fs/jfs/jfs_dtree.c dtoffset->index = 0; index 3160 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 3184 fs/jfs/jfs_dtree.c for (i = index; i < p->header.nextindex; i++) { index 3190 fs/jfs/jfs_dtree.c index = i; index 3201 fs/jfs/jfs_dtree.c jfs_dirent->position = le32_to_cpu(d->index); index 3221 fs/jfs/jfs_dtree.c index = i; index 3269 fs/jfs/jfs_dtree.c dtoffset->index++; index 3278 fs/jfs/jfs_dtree.c index = 0; index 3282 fs/jfs/jfs_dtree.c dtoffset->index = 0; index 3360 fs/jfs/jfs_dtree.c btsp->index = 0; index 3408 fs/jfs/jfs_dtree.c s16 index; index 3414 fs/jfs/jfs_dtree.c int index; index 3427 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); index 3431 fs/jfs/jfs_dtree.c index = dtoffset->index; index 3436 fs/jfs/jfs_dtree.c if (index < p->header.nextindex) index 3446 fs/jfs/jfs_dtree.c dtoffset->index = index = 0; index 3535 fs/jfs/jfs_dtree.c if (index >= p->header.nextindex) { index 3554 fs/jfs/jfs_dtree.c dtoffset->index = 0; index 3561 fs/jfs/jfs_dtree.c btsp->index = dtoffset->index; index 3893 fs/jfs/jfs_dtree.c static void dtInsertEntry(dtpage_t * p, int index, struct component_name * key, index 3920 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 3923 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 3937 fs/jfs/jfs_dtree.c lh->index = cpu_to_le32(add_index(data->leaf.tid, index 3939 fs/jfs/jfs_dtree.c bn, index)); index 3971 fs/jfs/jfs_dtree.c dtlck->index++; index 3974 fs/jfs/jfs_dtree.c if (dtlck->index < dtlck->maxcnt) index 3996 fs/jfs/jfs_dtree.c dtlck->index++; index 4014 fs/jfs/jfs_dtree.c if (index < nextindex) { index 4015 fs/jfs/jfs_dtree.c memmove(stbl + index + 1, stbl + index, nextindex - index); index 4025 fs/jfs/jfs_dtree.c for (n = index + 1; n <= nextindex; n++) { index 4028 fs/jfs/jfs_dtree.c le32_to_cpu(lh->index), bn, n, index 4036 fs/jfs/jfs_dtree.c stbl[index] = hsi; index 4075 fs/jfs/jfs_dtree.c dlv = & ddtlck->lv[ddtlck->index]; index 4079 fs/jfs/jfs_dtree.c slv = & sdtlck->lv[sdtlck->index]; index 4095 fs/jfs/jfs_dtree.c sdtlck->index++; index 4098 fs/jfs/jfs_dtree.c if (sdtlck->index < sdtlck->maxcnt) index 4125 fs/jfs/jfs_dtree.c dlh->index = slh->index; /* little-endian */ index 4167 fs/jfs/jfs_dtree.c sdtlck->index++; index 4170 fs/jfs/jfs_dtree.c if (sdtlck->index < sdtlck->maxcnt) index 4222 fs/jfs/jfs_dtree.c sdtlck->index++; index 4226 fs/jfs/jfs_dtree.c ddtlck->index++; index 4267 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 4269 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 4291 fs/jfs/jfs_dtree.c dtlck->index++; index 4294 fs/jfs/jfs_dtree.c if (dtlck->index < dtlck->maxcnt) index 4316 fs/jfs/jfs_dtree.c dtlck->index++; index 4362 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 4364 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 4386 fs/jfs/jfs_dtree.c dtlck->index++; index 4389 fs/jfs/jfs_dtree.c if (dtlck->index < dtlck->maxcnt) index 4411 fs/jfs/jfs_dtree.c dtlck->index++; index 4442 fs/jfs/jfs_dtree.c if (dtlck->index >= dtlck->maxcnt) index 4444 fs/jfs/jfs_dtree.c lv = & dtlck->lv[dtlck->index]; index 4460 fs/jfs/jfs_dtree.c dtlck->index++; index 4463 fs/jfs/jfs_dtree.c if (dtlck->index < dtlck->maxcnt) index 4483 fs/jfs/jfs_dtree.c dtlck->index++; index 4514 fs/jfs/jfs_dtree.c int index; index 4532 fs/jfs/jfs_dtree.c DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 4543 fs/jfs/jfs_dtree.c entry_si = stbl[index]; index 4546 fs/jfs/jfs_dtree.c ASSERT(dtlck->index == 0); index 4550 fs/jfs/jfs_dtree.c dtlck->index++; index 77 fs/jfs/jfs_dtree.h __le32 index; /* 4: index into dir_table */ index 56 fs/jfs/jfs_imap.c #define AG_LOCK_INIT(imap,index) mutex_init(&(imap->im_aglock[index])) index 98 fs/jfs/jfs_imap.c int index; index 129 fs/jfs/jfs_imap.c for (index = 0; index < MAXAG; index++) { index 130 fs/jfs/jfs_imap.c imap->im_agctl[index].inofree = index 131 fs/jfs/jfs_imap.c le32_to_cpu(dinom_le->in_agctl[index].inofree); index 132 fs/jfs/jfs_imap.c imap->im_agctl[index].extfree = index 133 fs/jfs/jfs_imap.c le32_to_cpu(dinom_le->in_agctl[index].extfree); index 134 fs/jfs/jfs_imap.c imap->im_agctl[index].numinos = index 135 fs/jfs/jfs_imap.c le32_to_cpu(dinom_le->in_agctl[index].numinos); index 136 fs/jfs/jfs_imap.c imap->im_agctl[index].numfree = index 137 fs/jfs/jfs_imap.c le32_to_cpu(dinom_le->in_agctl[index].numfree); index 150 fs/jfs/jfs_imap.c for (index = 0; index < MAXAG; index++) { index 151 fs/jfs/jfs_imap.c AG_LOCK_INIT(imap, index); index 211 fs/jfs/jfs_imap.c int index; index 233 fs/jfs/jfs_imap.c for (index = 0; index < MAXAG; index++) { index 234 fs/jfs/jfs_imap.c dinom_le->in_agctl[index].inofree = index 235 fs/jfs/jfs_imap.c cpu_to_le32(imp->im_agctl[index].inofree); index 236 fs/jfs/jfs_imap.c dinom_le->in_agctl[index].extfree = index 237 fs/jfs/jfs_imap.c cpu_to_le32(imp->im_agctl[index].extfree); index 238 fs/jfs/jfs_imap.c dinom_le->in_agctl[index].numinos = index 239 fs/jfs/jfs_imap.c cpu_to_le32(imp->im_agctl[index].numinos); index 240 fs/jfs/jfs_imap.c dinom_le->in_agctl[index].numfree = index 241 fs/jfs/jfs_imap.c cpu_to_le32(imp->im_agctl[index].numfree); index 690 fs/jfs/jfs_imap.c for (n = 0; n < ilinelock->index; n++, lv++) { index 726 fs/jfs/jfs_imap.c for (n = 0; n < ilinelock->index; n++, lv++) { index 750 fs/jfs/jfs_imap.c for (n = 0; n < ilinelock->index; n++, lv++) { index 763 fs/jfs/jfs_imap.c lv = & dilinelock->lv[dilinelock->index]; index 767 fs/jfs/jfs_imap.c dilinelock->index++; index 774 fs/jfs/jfs_imap.c lv = & dilinelock->lv[dilinelock->index]; index 778 fs/jfs/jfs_imap.c dilinelock->index++; index 786 fs/jfs/jfs_imap.c lv = & dilinelock->lv[dilinelock->index]; index 794 fs/jfs/jfs_imap.c dilinelock->index++; index 1243 fs/jfs/jfs_imap.c pxdlock->index = 1; index 406 fs/jfs/jfs_logmgr.c ASSERT(linelock->index <= linelock->maxcnt); index 409 fs/jfs/jfs_logmgr.c for (i = 0; i < linelock->index; i++, lv++) { index 91 fs/jfs/jfs_metapage.c int index; index 107 fs/jfs/jfs_metapage.c index = (mp->index >> l2mp_blocks) & (MPS_PER_PAGE - 1); index 109 fs/jfs/jfs_metapage.c a->mp[index] = mp; index 119 fs/jfs/jfs_metapage.c int index; index 121 fs/jfs/jfs_metapage.c index = (mp->index >> l2mp_blocks) & (MPS_PER_PAGE - 1); index 123 fs/jfs/jfs_metapage.c BUG_ON(a->mp[index] != mp); index 125 fs/jfs/jfs_metapage.c a->mp[index] = NULL; index 355 fs/jfs/jfs_metapage.c page_start = (sector_t)page->index << index 484 fs/jfs/jfs_metapage.c page_start = (sector_t)page->index << index 663 fs/jfs/jfs_metapage.c mp->index = lblock; index 789 fs/jfs/jfs_metapage.c if (mp->index < addr) index 791 fs/jfs/jfs_metapage.c if (mp->index >= addr + len) index 23 fs/jfs/jfs_metapage.h sector_t index; /* block address of page */ index 761 fs/jfs/jfs_txnmgr.c linelock->index = 0; index 789 fs/jfs/jfs_txnmgr.c xtlck->index = 2; index 1045 fs/jfs/jfs_txnmgr.c maplock->index = 0; index 1074 fs/jfs/jfs_txnmgr.c linelock->index = 0; index 1447 fs/jfs/jfs_txnmgr.c PXDaddress(pxd, mp->index); index 1511 fs/jfs/jfs_txnmgr.c nlock = pxdlock->index; index 1568 fs/jfs/jfs_txnmgr.c PXDaddress(pxd, mp->index); index 1618 fs/jfs/jfs_txnmgr.c PXDaddress(pxd, mp->index); index 1633 fs/jfs/jfs_txnmgr.c pxdlock->index = 1; index 1647 fs/jfs/jfs_txnmgr.c PXDaddress(pxd, mp->index); index 1737 fs/jfs/jfs_txnmgr.c PXDaddress(page_pxd, mp->index); index 1791 fs/jfs/jfs_txnmgr.c maplock->index = 1; index 1826 fs/jfs/jfs_txnmgr.c PXDaddress(page_pxd, mp->index); index 1854 fs/jfs/jfs_txnmgr.c xtlck->index = 1; index 1894 fs/jfs/jfs_txnmgr.c maplock->index = 1; index 1947 fs/jfs/jfs_txnmgr.c PXDaddress(page_pxd, mp->index); index 1990 fs/jfs/jfs_txnmgr.c xtlck->index = 1; index 1998 fs/jfs/jfs_txnmgr.c maplock->index = 0; index 2016 fs/jfs/jfs_txnmgr.c maplock->index++; index 2037 fs/jfs/jfs_txnmgr.c maplock->index++; index 2056 fs/jfs/jfs_txnmgr.c maplock->index++; index 2129 fs/jfs/jfs_txnmgr.c nlock = pxdlock->index; index 2178 fs/jfs/jfs_txnmgr.c maplock->index = 1; index 2194 fs/jfs/jfs_txnmgr.c maplock->index = 0; index 2199 fs/jfs/jfs_txnmgr.c maplock->index++; index 2331 fs/jfs/jfs_txnmgr.c nlock = maplock->index; index 2394 fs/jfs/jfs_txnmgr.c pxdlock.index = 1; index 161 fs/jfs/jfs_txnmgr.h s8 index; /* 1: */ index 177 fs/jfs/jfs_txnmgr.h s8 index; /* 1: */ index 208 fs/jfs/jfs_txnmgr.h u8 index; /* 2: next free maplock index */ index 236 fs/jfs/jfs_txnmgr.h u8 index; /* 2: */ index 80 fs/jfs/jfs_xtree.c s16 index; index 142 fs/jfs/jfs_xtree.c int index; index 175 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 190 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 236 fs/jfs/jfs_xtree.c int base, index, lim, btindex; index 279 fs/jfs/jfs_xtree.c (index = jfs_ip->btindex) < index 281 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 294 fs/jfs/jfs_xtree.c index++; index 295 fs/jfs/jfs_xtree.c if (index < index 348 fs/jfs/jfs_xtree.c btsp->index = index; index 352 fs/jfs/jfs_xtree.c jfs_ip->btindex = index; index 369 fs/jfs/jfs_xtree.c index = base + (lim >> 1); index 371 fs/jfs/jfs_xtree.c XT_CMP(cmp, xoff, &p->xad[index], t64); index 395 fs/jfs/jfs_xtree.c btsp->index = index; index 400 fs/jfs/jfs_xtree.c if (index == btindex || index 401 fs/jfs/jfs_xtree.c index == btindex + 1) index 405 fs/jfs/jfs_xtree.c jfs_ip->btindex = index; index 412 fs/jfs/jfs_xtree.c if (index < le16_to_cpu(p->header.nextindex)-1) index 413 fs/jfs/jfs_xtree.c next = offsetXAD(&p->xad[index + 1]); index 418 fs/jfs/jfs_xtree.c base = index + 1; index 453 fs/jfs/jfs_xtree.c btsp->index = base; index 476 fs/jfs/jfs_xtree.c index = base ? base - 1 : base; index 494 fs/jfs/jfs_xtree.c BT_PUSH(btstack, bn, index); index 497 fs/jfs/jfs_xtree.c bn = addressXAD(&p->xad[index]); index 533 fs/jfs/jfs_xtree.c int index, nextindex; index 556 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 571 fs/jfs/jfs_xtree.c if (index > XTENTRYSTART) { index 572 fs/jfs/jfs_xtree.c xad = &p->xad[index - 1]; index 598 fs/jfs/jfs_xtree.c split.index = index; index 628 fs/jfs/jfs_xtree.c if (index < nextindex) index 629 fs/jfs/jfs_xtree.c memmove(&p->xad[index + 1], &p->xad[index], index 630 fs/jfs/jfs_xtree.c (nextindex - index) * sizeof(xad_t)); index 633 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 644 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, index 645 fs/jfs/jfs_xtree.c (int)xtlck->lwm.offset) : index; index 716 fs/jfs/jfs_xtree.c skip = split->index; index 831 fs/jfs/jfs_xtree.c skip = parent->index + 1; index 843 fs/jfs/jfs_xtree.c split->index = skip; /* index at insert */ index 1028 fs/jfs/jfs_xtree.c skip = split->index; index 1280 fs/jfs/jfs_xtree.c skip = split->index; index 1357 fs/jfs/jfs_xtree.c int index, nextindex, len; index 1372 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 1381 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 1421 fs/jfs/jfs_xtree.c split.index = index + 1; index 1463 fs/jfs/jfs_xtree.c xad = &p->xad[index + 1]; index 1471 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 1484 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, index 1485 fs/jfs/jfs_xtree.c (int)xtlck->lwm.offset) : index; index 1520 fs/jfs/jfs_xtree.c int index, nextindex, llen, rlen; index 1539 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 1549 fs/jfs/jfs_xtree.c if (index != nextindex - 1) { index 1565 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 1586 fs/jfs/jfs_xtree.c split.index = index + 1; index 1628 fs/jfs/jfs_xtree.c xad = &p->xad[index + 1]; index 1636 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 1652 fs/jfs/jfs_xtree.c pxdlock->index = 1; index 1667 fs/jfs/jfs_xtree.c min(index, (int)xtlck->lwm.offset) : index; index 1699 fs/jfs/jfs_xtree.c int index0, index, newindex, nextindex; index 1752 fs/jfs/jfs_xtree.c index = index0; index 1753 fs/jfs/jfs_xtree.c newindex = index + 1; index 1783 fs/jfs/jfs_xtree.c if (index == XTENTRYSTART) index 1787 fs/jfs/jfs_xtree.c lxad = &p->xad[index - 1]; index 1794 fs/jfs/jfs_xtree.c index0 = index - 1; index 1814 fs/jfs/jfs_xtree.c if (index < nextindex - 1) index 1815 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], index 1816 fs/jfs/jfs_xtree.c (nextindex - index - index 1823 fs/jfs/jfs_xtree.c index = index0; index 1824 fs/jfs/jfs_xtree.c newindex = index + 1; index 1858 fs/jfs/jfs_xtree.c rxad = &p->xad[index + 1]; index 1883 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], index 1884 fs/jfs/jfs_xtree.c (nextindex - index - 1) << L2XTSLOTSIZE); index 1911 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 1919 fs/jfs/jfs_xtree.c split.index = newindex; index 2016 fs/jfs/jfs_xtree.c index0 = index = newindex; index 2018 fs/jfs/jfs_xtree.c index++; index 2020 fs/jfs/jfs_xtree.c newindex = index + 1; index 2042 fs/jfs/jfs_xtree.c if (index0 != index) { index 2058 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 2072 fs/jfs/jfs_xtree.c split.index = newindex; index 2166 fs/jfs/jfs_xtree.c int index, nextindex; index 2195 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 2252 fs/jfs/jfs_xtree.c split.index = index; index 2288 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 2295 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index,(int) xtlck->lwm.offset) : index; index 2334 fs/jfs/jfs_xtree.c int index, nextindex; index 2344 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 2372 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, xtlck->lwm.offset) : index; index 2375 fs/jfs/jfs_xtree.c if (index < nextindex - 1) index 2376 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], index 2377 fs/jfs/jfs_xtree.c (nextindex - index - 1) * sizeof(xad_t)); index 2403 fs/jfs/jfs_xtree.c int index, nextindex; index 2454 fs/jfs/jfs_xtree.c index = parent->index; index 2506 fs/jfs/jfs_xtree.c (xtlck->lwm.offset) ? min(index, index 2508 fs/jfs/jfs_xtree.c offset) : index; index 2513 fs/jfs/jfs_xtree.c if (index < nextindex - 1) index 2514 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], index 2515 fs/jfs/jfs_xtree.c (nextindex - index - index 2520 fs/jfs/jfs_xtree.c (ulong) parent->bn, index); index 2566 fs/jfs/jfs_xtree.c int index; index 2595 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); index 2603 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; index 2616 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); index 2625 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; index 2699 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); index 2830 fs/jfs/jfs_xtree.c pxdlock->index = 1; index 2845 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; index 2849 fs/jfs/jfs_xtree.c xtlck->lwm.offset = min(index, xtlck->lwm.offset); index 2888 fs/jfs/jfs_xtree.c int base, index, lim; index 2930 fs/jfs/jfs_xtree.c index = base + (lim >> 1); index 2932 fs/jfs/jfs_xtree.c XT_CMP(cmp, xoff, &p->xad[index], t64); index 2939 fs/jfs/jfs_xtree.c if (xaddr == addressXAD(&p->xad[index]) && index 2940 fs/jfs/jfs_xtree.c xoff == offsetXAD(&p->xad[index])) { index 2946 fs/jfs/jfs_xtree.c btsp->index = index; index 2957 fs/jfs/jfs_xtree.c base = index + 1; index 2970 fs/jfs/jfs_xtree.c index = base ? base - 1 : base; index 2977 fs/jfs/jfs_xtree.c bn = addressXAD(&p->xad[index]); index 3156 fs/jfs/jfs_xtree.c int index, nextindex; index 3187 fs/jfs/jfs_xtree.c xadlock.index = 1; index 3237 fs/jfs/jfs_xtree.c index = le16_to_cpu(p->header.nextindex) - 1; index 3265 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 3294 fs/jfs/jfs_xtree.c for (; index >= XTENTRYSTART; index--) { index 3295 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 3333 fs/jfs/jfs_xtree.c if (index == XTENTRYSTART) index 3336 fs/jfs/jfs_xtree.c nextindex = index; index 3354 fs/jfs/jfs_xtree.c min(index, (int)xtlck->lwm.offset) : index; index 3355 fs/jfs/jfs_xtree.c xtlck->lwm.length = index + 1 - index 3357 fs/jfs/jfs_xtree.c xtlck->twm.offset = index; index 3377 fs/jfs/jfs_xtree.c nextindex = index + 1; index 3389 fs/jfs/jfs_xtree.c nextindex = index + 1; index 3474 fs/jfs/jfs_xtree.c index = parent->index; index 3481 fs/jfs/jfs_xtree.c if (index < le16_to_cpu(p->header.nextindex) - 1) { index 3499 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[index + 1]; index 3502 fs/jfs/jfs_xtree.c index - 1; index 3508 fs/jfs/jfs_xtree.c p->header.nextindex = cpu_to_le16(index + 1); index 3517 fs/jfs/jfs_xtree.c nfreed += lengthXAD(&p->xad[index]); index 3557 fs/jfs/jfs_xtree.c if (index == XTENTRYSTART) { index 3625 fs/jfs/jfs_xtree.c index--; index 3643 fs/jfs/jfs_xtree.c BT_PUSH(&btstack, bn, index); index 3646 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 3710 fs/jfs/jfs_xtree.c int index; index 3736 fs/jfs/jfs_xtree.c XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); index 3760 fs/jfs/jfs_xtree.c index = le16_to_cpu(p->header.nextindex) - 1; index 3775 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 3784 fs/jfs/jfs_xtree.c xtlck->hwm.offset = index; index 3804 fs/jfs/jfs_xtree.c index = parent->index; index 3809 fs/jfs/jfs_xtree.c if (index == XTENTRYSTART) { index 3832 fs/jfs/jfs_xtree.c index--; index 3843 fs/jfs/jfs_xtree.c BT_PUSH(&btstack, bn, index); index 3846 fs/jfs/jfs_xtree.c xad = &p->xad[index]; index 723 fs/jfs/namei.c maplock.index = 1; index 743 fs/jfs/namei.c maplock.index = 1; index 1254 fs/jfs/namei.c ASSERT(dtlck->index == 0); index 1258 fs/jfs/namei.c dtlck->index++; index 455 fs/libfs.c pgoff_t index; index 457 fs/libfs.c index = pos >> PAGE_SHIFT; index 459 fs/libfs.c page = grab_cache_page_write_begin(mapping, index, flags); index 189 fs/mpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); index 400 fs/mpage.c page->index, index 575 fs/mpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); index 607 fs/mpage.c if (page->index >= end_index) { index 618 fs/mpage.c if (page->index > end_index || !offset) index 246 fs/nfs/dir.c unsigned int index; index 256 fs/nfs/dir.c index = (unsigned int)diff; index 257 fs/nfs/dir.c *desc->dir_cookie = array->array[index].cookie; index 258 fs/nfs/dir.c desc->cache_entry_index = index; index 690 fs/nfs/dir.c if (invalidate_inode_pages2_range(inode->i_mapping, page->index + 1, -1) < 0) { index 326 fs/nfs/file.c pgoff_t index = pos >> PAGE_SHIFT; index 334 fs/nfs/file.c page = grab_cache_page_write_begin(mapping, index, flags); index 412 fs/nfs/fscache.c nfs_i_fscache(inode), page, page->index, page->flags, inode); index 501 fs/nfs/fscache.c nfs_i_fscache(inode), page, page->index, page->flags, sync); index 507 fs/nfs/fscache.c page, page->index, page->flags, ret); index 678 fs/nfs/internal.h pgoff_t index = page_index(page); index 680 fs/nfs/internal.h if (index < end_index) index 682 fs/nfs/internal.h if (index == end_index) index 1296 fs/nfs/pagelist.c void nfs_pageio_cond_complete(struct nfs_pageio_descriptor *desc, pgoff_t index) index 1306 fs/nfs/pagelist.c if (index != prev->wb_index + 1) { index 132 fs/nilfs2/btnode.c pgoff_t index = page_index(page); index 146 fs/nilfs2/btnode.c invalidate_inode_pages2_range(mapping, index, index); index 175 fs/nilfs2/btnode.c if (unlikely(oldkey != opage->index)) index 231 fs/nilfs2/btnode.c if (unlikely(oldkey != opage->index)) index 243 fs/nilfs2/btnode.c opage->index = obh->b_blocknr = newkey; index 136 fs/nilfs2/btree.c nilfs_btree_node_get_key(const struct nilfs_btree_node *node, int index) index 138 fs/nilfs2/btree.c return le64_to_cpu(*(nilfs_btree_node_dkeys(node) + index)); index 142 fs/nilfs2/btree.c nilfs_btree_node_set_key(struct nilfs_btree_node *node, int index, __u64 key) index 144 fs/nilfs2/btree.c *(nilfs_btree_node_dkeys(node) + index) = cpu_to_le64(key); index 148 fs/nilfs2/btree.c nilfs_btree_node_get_ptr(const struct nilfs_btree_node *node, int index, index 151 fs/nilfs2/btree.c return le64_to_cpu(*(nilfs_btree_node_dptrs(node, ncmax) + index)); index 155 fs/nilfs2/btree.c nilfs_btree_node_set_ptr(struct nilfs_btree_node *node, int index, __u64 ptr, index 158 fs/nilfs2/btree.c *(nilfs_btree_node_dptrs(node, ncmax) + index) = cpu_to_le64(ptr); index 238 fs/nilfs2/btree.c static void nilfs_btree_node_insert(struct nilfs_btree_node *node, int index, index 248 fs/nilfs2/btree.c if (index < nchildren) { index 249 fs/nilfs2/btree.c memmove(dkeys + index + 1, dkeys + index, index 250 fs/nilfs2/btree.c (nchildren - index) * sizeof(*dkeys)); index 251 fs/nilfs2/btree.c memmove(dptrs + index + 1, dptrs + index, index 252 fs/nilfs2/btree.c (nchildren - index) * sizeof(*dptrs)); index 254 fs/nilfs2/btree.c dkeys[index] = cpu_to_le64(key); index 255 fs/nilfs2/btree.c dptrs[index] = cpu_to_le64(ptr); index 261 fs/nilfs2/btree.c static void nilfs_btree_node_delete(struct nilfs_btree_node *node, int index, index 272 fs/nilfs2/btree.c key = le64_to_cpu(dkeys[index]); index 273 fs/nilfs2/btree.c ptr = le64_to_cpu(dptrs[index]); index 280 fs/nilfs2/btree.c if (index < nchildren - 1) { index 281 fs/nilfs2/btree.c memmove(dkeys + index, dkeys + index + 1, index 282 fs/nilfs2/btree.c (nchildren - index - 1) * sizeof(*dkeys)); index 283 fs/nilfs2/btree.c memmove(dptrs + index, dptrs + index + 1, index 284 fs/nilfs2/btree.c (nchildren - index - 1) * sizeof(*dptrs)); index 294 fs/nilfs2/btree.c int index, low, high, s; index 299 fs/nilfs2/btree.c index = 0; index 302 fs/nilfs2/btree.c index = (low + high) / 2; index 303 fs/nilfs2/btree.c nkey = nilfs_btree_node_get_key(node, index); index 308 fs/nilfs2/btree.c low = index + 1; index 311 fs/nilfs2/btree.c high = index - 1; index 318 fs/nilfs2/btree.c if (s > 0 && index > 0) index 319 fs/nilfs2/btree.c index--; index 321 fs/nilfs2/btree.c index++; index 324 fs/nilfs2/btree.c *indexp = index; index 465 fs/nilfs2/btree.c int index; /* current index on the parent node */ index 491 fs/nilfs2/btree.c for (n = ra->max_ra_blocks, i = ra->index + 1; index 543 fs/nilfs2/btree.c int level, index, found, ncmax, ret; index 550 fs/nilfs2/btree.c found = nilfs_btree_node_lookup(node, key, &index); index 551 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, index 554 fs/nilfs2/btree.c path[level].bp_index = index; index 563 fs/nilfs2/btree.c p.index = index; index 576 fs/nilfs2/btree.c found = nilfs_btree_node_lookup(node, key, &index); index 578 fs/nilfs2/btree.c index = 0; index 579 fs/nilfs2/btree.c if (index < ncmax) { index 580 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, ncmax); index 586 fs/nilfs2/btree.c path[level].bp_index = index; index 603 fs/nilfs2/btree.c int index, level, ncmax, ret; index 606 fs/nilfs2/btree.c index = nilfs_btree_node_get_nchildren(node) - 1; index 607 fs/nilfs2/btree.c if (index < 0) index 610 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, index 613 fs/nilfs2/btree.c path[level].bp_index = index; index 623 fs/nilfs2/btree.c index = nilfs_btree_node_get_nchildren(node) - 1; index 624 fs/nilfs2/btree.c ptr = nilfs_btree_node_get_ptr(node, index, ncmax); index 625 fs/nilfs2/btree.c path[level].bp_index = index; index 629 fs/nilfs2/btree.c *keyp = nilfs_btree_node_get_key(node, index); index 652 fs/nilfs2/btree.c int index, next_adj, level; index 662 fs/nilfs2/btree.c index = path[level].bp_index + next_adj; index 663 fs/nilfs2/btree.c if (index < nilfs_btree_node_get_nchildren(node)) { index 665 fs/nilfs2/btree.c *nextkey = nilfs_btree_node_get_key(node, index); index 701 fs/nilfs2/btree.c int ret, cnt, index, maxlevel, ncmax; index 725 fs/nilfs2/btree.c index = path[level].bp_index + 1; index 727 fs/nilfs2/btree.c while (index < nilfs_btree_node_get_nchildren(node)) { index 728 fs/nilfs2/btree.c if (nilfs_btree_node_get_key(node, index) != index 731 fs/nilfs2/btree.c ptr2 = nilfs_btree_node_get_ptr(node, index, ncmax); index 740 fs/nilfs2/btree.c index++; index 748 fs/nilfs2/btree.c p.index = path[level + 1].bp_index + 1; index 750 fs/nilfs2/btree.c if (p.index >= nilfs_btree_node_get_nchildren(p.node) || index 751 fs/nilfs2/btree.c nilfs_btree_node_get_key(p.node, p.index) != key + cnt) index 753 fs/nilfs2/btree.c ptr2 = nilfs_btree_node_get_ptr(p.node, p.index, p.ncmax); index 754 fs/nilfs2/btree.c path[level + 1].bp_index = p.index; index 765 fs/nilfs2/btree.c index = 0; index 766 fs/nilfs2/btree.c path[level].bp_index = index; index 2142 fs/nilfs2/btree.c pgoff_t index = 0; index 2152 fs/nilfs2/btree.c while (pagevec_lookup_tag(&pvec, btcache, &index, index 127 fs/nilfs2/dir.c if ((dir->i_size >> PAGE_SHIFT) == page->index) { index 174 fs/nilfs2/dir.c dir->i_ino, error, (page->index << PAGE_SHIFT) + offs, index 182 fs/nilfs2/dir.c dir->i_ino, (page->index << PAGE_SHIFT) + offs, index 358 fs/nilfs2/mdt.c pgoff_t index = (pgoff_t)block >> index 365 fs/nilfs2/mdt.c page = find_lock_page(inode->i_mapping, index); index 371 fs/nilfs2/mdt.c first_block = (unsigned long)index << index 384 fs/nilfs2/mdt.c invalidate_inode_pages2_range(inode->i_mapping, index, index) != 0) index 550 fs/nilfs2/mdt.c page = grab_cache_page(&shadow->frozen_data, bh->b_page->index); index 582 fs/nilfs2/mdt.c page = find_lock_page(&shadow->frozen_data, bh->b_page->index); index 29 fs/nilfs2/page.c __nilfs_get_page_block(struct page *page, unsigned long block, pgoff_t index, index 39 fs/nilfs2/page.c first_block = (unsigned long)index << (PAGE_SHIFT - blkbits); index 53 fs/nilfs2/page.c pgoff_t index = blkoff >> (PAGE_SHIFT - blkbits); index 57 fs/nilfs2/page.c page = grab_cache_page(mapping, index); index 61 fs/nilfs2/page.c bh = __nilfs_get_page_block(page, blkoff, index, blkbits, b_state); index 170 fs/nilfs2/page.c (unsigned long long)page->index, page->flags, m, ino); index 246 fs/nilfs2/page.c pgoff_t index = 0; index 251 fs/nilfs2/page.c if (!pagevec_lookup_tag(&pvec, smap, &index, PAGECACHE_TAG_DIRTY)) index 261 fs/nilfs2/page.c dpage = grab_cache_page(dmap, page->index); index 300 fs/nilfs2/page.c pgoff_t index = 0; index 304 fs/nilfs2/page.c n = pagevec_lookup(&pvec, smap, &index); index 310 fs/nilfs2/page.c pgoff_t offset = page->index; index 363 fs/nilfs2/page.c pgoff_t index = 0; index 367 fs/nilfs2/page.c while (pagevec_lookup_tag(&pvec, mapping, &index, index 496 fs/nilfs2/page.c pgoff_t index; index 506 fs/nilfs2/page.c index = start_blk >> (PAGE_SHIFT - inode->i_blkbits); index 512 fs/nilfs2/page.c pvec.nr = find_get_pages_contig(inode->i_mapping, index, PAGEVEC_SIZE, index 517 fs/nilfs2/page.c if (length > 0 && pvec.pages[0]->index > index) index 520 fs/nilfs2/page.c b = pvec.pages[0]->index << (PAGE_SHIFT - inode->i_blkbits); index 551 fs/nilfs2/page.c index = page->index + 1; index 689 fs/nilfs2/segment.c pgoff_t index = 0, last = ULONG_MAX; index 699 fs/nilfs2/segment.c index = start >> PAGE_SHIFT; index 704 fs/nilfs2/segment.c if (unlikely(index > last) || index 705 fs/nilfs2/segment.c !pagevec_lookup_range_tag(&pvec, mapping, &index, last, index 745 fs/nilfs2/segment.c pgoff_t index = 0; index 749 fs/nilfs2/segment.c while (pagevec_lookup_tag(&pvec, mapping, &index, index 287 fs/nls/nls_euc-jp.c int index; index 289 fs/nls/nls_euc-jp.c index = ((sjis_hi - 0xFA) * (0xFD - 0x40)) + (sjis_lo - 0x40); index 290 fs/nls/nls_euc-jp.c if (IS_EUC_IBM2JISX0208(sjisibm2euc_map[index][0], index 291 fs/nls/nls_euc-jp.c sjisibm2euc_map[index][1])) { index 292 fs/nls/nls_euc-jp.c euc[0] = sjisibm2euc_map[index][0]; index 293 fs/nls/nls_euc-jp.c euc[1] = sjisibm2euc_map[index][1]; index 297 fs/nls/nls_euc-jp.c euc[1] = sjisibm2euc_map[index][0]; index 298 fs/nls/nls_euc-jp.c euc[2] = sjisibm2euc_map[index][1]; index 307 fs/nls/nls_euc-jp.c int index, min_index, max_index; index 315 fs/nls/nls_euc-jp.c index = (min_index + max_index) / 2; index 316 fs/nls/nls_euc-jp.c if (euc < euc2sjisibm_jisx0212_map[index].euc) index 317 fs/nls/nls_euc-jp.c max_index = index - 1; index 319 fs/nls/nls_euc-jp.c min_index = index + 1; index 320 fs/nls/nls_euc-jp.c if (euc == euc2sjisibm_jisx0212_map[index].euc) { index 321 fs/nls/nls_euc-jp.c sjis[0] = euc2sjisibm_jisx0212_map[index].sjis[0]; index 322 fs/nls/nls_euc-jp.c sjis[1] = euc2sjisibm_jisx0212_map[index].sjis[1]; index 333 fs/nls/nls_euc-jp.c int index; index 336 fs/nls/nls_euc-jp.c index = ((euc_hi << 8) | euc_lo) - 0xF3F3; index 338 fs/nls/nls_euc-jp.c index = ((euc_hi << 8) | euc_lo) - 0xF4A1 + 12; index 340 fs/nls/nls_euc-jp.c if ((index < 0) || (index >= ARRAY_SIZE(euc2sjisibm_g3upper_map))) index 343 fs/nls/nls_euc-jp.c sjis[0] = euc2sjisibm_g3upper_map[index][0]; index 344 fs/nls/nls_euc-jp.c sjis[1] = euc2sjisibm_g3upper_map[index][1]; index 64 fs/ntfs/aops.c file_ofs = ((s64)page->index << PAGE_SHIFT) + index 129 fs/ntfs/aops.c rec_size = ni->itype.index.block_size; index 215 fs/ntfs/aops.c iblock = (s64)page->index << (PAGE_SHIFT - blocksize_bits); index 398 fs/ntfs/aops.c if (unlikely(page->index >= (i_size + PAGE_SIZE - 1) >> index 448 fs/ntfs/aops.c if (unlikely(page->index > 0)) { index 556 fs/ntfs/aops.c "0x%lx.", ni->mft_no, ni->type, page->index); index 585 fs/ntfs/aops.c block = (s64)page->index << (PAGE_SHIFT - blocksize_bits); index 910 fs/ntfs/aops.c unsigned int rec_size = ni->itype.index.block_size; index 924 fs/ntfs/aops.c "0x%lx.", vi->i_ino, ni->type, page->index); index 949 fs/ntfs/aops.c rec_size_bits = ni->itype.index.block_size_bits; index 955 fs/ntfs/aops.c rec_block = block = (sector_t)page->index << index 1122 fs/ntfs/aops.c mft_no = (((s64)page->index << PAGE_SHIFT) + ofs) index 1161 fs/ntfs/aops.c ni->type, page->index, ofs); index 1209 fs/ntfs/aops.c page->index, bh_offset(tbh)); index 1238 fs/ntfs/aops.c mft_no = (((s64)page->index << PAGE_SHIFT) + ofs) index 1289 fs/ntfs/aops.c if (ni->itype.index.block_size == PAGE_SIZE) index 1296 fs/ntfs/aops.c "record 0x%lx.", page->index << index 1354 fs/ntfs/aops.c if (unlikely(page->index >= (i_size + PAGE_SIZE - 1) >> index 1403 fs/ntfs/aops.c if (page->index >= (i_size >> PAGE_SHIFT)) { index 1424 fs/ntfs/aops.c if (unlikely(page->index > 0)) { index 1426 fs/ntfs/aops.c "Aborting write.", page->index); index 1722 fs/ntfs/aops.c end = ofs + ni->itype.index.block_size; index 73 fs/ntfs/aops.h unsigned long index) index 75 fs/ntfs/aops.h struct page *page = read_mapping_page(mapping, index, NULL); index 37 fs/ntfs/bitmap.c pgoff_t index, end_index; index 56 fs/ntfs/bitmap.c index = start_bit >> (3 + PAGE_SHIFT); index 61 fs/ntfs/bitmap.c page = ntfs_map_page(mapping, index); index 106 fs/ntfs/bitmap.c while (index < end_index) { index 113 fs/ntfs/bitmap.c page = ntfs_map_page(mapping, ++index); index 93 fs/ntfs/compress.c if (((s64)page->index << PAGE_SHIFT) >= initialized_size) { index 108 fs/ntfs/compress.c if ((page->index >= (initialized_size >> PAGE_SHIFT)) && index 475 fs/ntfs/compress.c unsigned long offset, index = page->index; index 481 fs/ntfs/compress.c VCN start_vcn = (((s64)index << PAGE_SHIFT) & ~cb_size_mask) >> index 487 fs/ntfs/compress.c VCN end_vcn = ((((s64)(index + 1UL) << PAGE_SHIFT) + cb_size - 1) index 507 fs/ntfs/compress.c "%i.", index, cb_size, nr_pages); index 536 fs/ntfs/compress.c xpage = index - offset; index 891 fs/ntfs/compress.c "0x%lx.", ni->mft_no, page->index); index 138 fs/ntfs/debug.c int index = -lcn - 1; index 140 fs/ntfs/debug.c if (index > -LCN_ENOENT - 1) index 141 fs/ntfs/debug.c index = 3; index 143 fs/ntfs/debug.c (long long)(rl + i)->vcn, lcn_str[index], index 114 fs/ntfs/dir.c index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); index 116 fs/ntfs/dir.c ie = (INDEX_ENTRY*)((u8*)&ir->index + index 117 fs/ntfs/dir.c le32_to_cpu(ir->index.entries_offset)); index 308 fs/ntfs/dir.c dir_ni->itype.index.vcn_size_bits >> PAGE_SHIFT); index 320 fs/ntfs/dir.c dir_ni->itype.index.vcn_size_bits) & ~PAGE_MASK)); index 343 fs/ntfs/dir.c if (le32_to_cpu(ia->index.allocated_size) + 0x18 != index 344 fs/ntfs/dir.c dir_ni->itype.index.block_size) { index 350 fs/ntfs/dir.c le32_to_cpu(ia->index.allocated_size) + 0x18, index 351 fs/ntfs/dir.c dir_ni->itype.index.block_size); index 354 fs/ntfs/dir.c index_end = (u8*)ia + dir_ni->itype.index.block_size; index 363 fs/ntfs/dir.c index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); index 364 fs/ntfs/dir.c if (index_end > (u8*)ia + dir_ni->itype.index.block_size) { index 371 fs/ntfs/dir.c ie = (INDEX_ENTRY*)((u8*)&ia->index + index 372 fs/ntfs/dir.c le32_to_cpu(ia->index.entries_offset)); index 534 fs/ntfs/dir.c if ((ia->index.flags & NODE_MASK) == LEAF_NODE) { index 665 fs/ntfs/dir.c index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); index 667 fs/ntfs/dir.c ie = (INDEX_ENTRY*)((u8*)&ir->index + index 668 fs/ntfs/dir.c le32_to_cpu(ir->index.entries_offset)); index 786 fs/ntfs/dir.c dir_ni->itype.index.vcn_size_bits >> PAGE_SHIFT); index 798 fs/ntfs/dir.c dir_ni->itype.index.vcn_size_bits) & ~PAGE_MASK)); index 821 fs/ntfs/dir.c if (le32_to_cpu(ia->index.allocated_size) + 0x18 != index 822 fs/ntfs/dir.c dir_ni->itype.index.block_size) { index 828 fs/ntfs/dir.c le32_to_cpu(ia->index.allocated_size) + 0x18, index 829 fs/ntfs/dir.c dir_ni->itype.index.block_size); index 832 fs/ntfs/dir.c index_end = (u8*)ia + dir_ni->itype.index.block_size; index 841 fs/ntfs/dir.c index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); index 842 fs/ntfs/dir.c if (index_end > (u8*)ia + dir_ni->itype.index.block_size) { index 849 fs/ntfs/dir.c ie = (INDEX_ENTRY*)((u8*)&ia->index + index 850 fs/ntfs/dir.c le32_to_cpu(ia->index.entries_offset)); index 944 fs/ntfs/dir.c if ((ia->index.flags & NODE_MASK) == LEAF_NODE) { index 1173 fs/ntfs/dir.c index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); index 1175 fs/ntfs/dir.c ie = (INDEX_ENTRY*)((u8*)&ir->index + index 1176 fs/ntfs/dir.c le32_to_cpu(ir->index.entries_offset)); index 1228 fs/ntfs/dir.c bmp_pos = ia_pos >> ndir->itype.index.block_size_bits; index 1269 fs/ntfs/dir.c ndir->itype.index.block_size_bits; index 1297 fs/ntfs/dir.c ~(s64)(ndir->itype.index.block_size - 1))); index 1309 fs/ntfs/dir.c ndir->itype.index.vcn_size_bits, vdir->i_ino); index 1313 fs/ntfs/dir.c ~(s64)(ndir->itype.index.block_size - 1)) >> index 1314 fs/ntfs/dir.c ndir->itype.index.vcn_size_bits)) { index 1321 fs/ntfs/dir.c ndir->itype.index.vcn_size_bits, vdir->i_ino); index 1324 fs/ntfs/dir.c if (unlikely(le32_to_cpu(ia->index.allocated_size) + 0x18 != index 1325 fs/ntfs/dir.c ndir->itype.index.block_size)) { index 1331 fs/ntfs/dir.c ndir->itype.index.vcn_size_bits, vdir->i_ino, index 1332 fs/ntfs/dir.c le32_to_cpu(ia->index.allocated_size) + 0x18, index 1333 fs/ntfs/dir.c ndir->itype.index.block_size); index 1336 fs/ntfs/dir.c index_end = (u8*)ia + ndir->itype.index.block_size; index 1342 fs/ntfs/dir.c ndir->itype.index.vcn_size_bits, vdir->i_ino); index 1345 fs/ntfs/dir.c ia_start = ia_pos & ~(s64)(ndir->itype.index.block_size - 1); index 1346 fs/ntfs/dir.c index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); index 1347 fs/ntfs/dir.c if (unlikely(index_end > (u8*)ia + ndir->itype.index.block_size)) { index 1351 fs/ntfs/dir.c ndir->itype.index.vcn_size_bits, vdir->i_ino); index 1355 fs/ntfs/dir.c ie = (INDEX_ENTRY*)((u8*)&ia->index + index 1356 fs/ntfs/dir.c le32_to_cpu(ia->index.entries_offset)); index 1381 fs/ntfs/dir.c ndir->itype.index.vcn_size_bits) + index 99 fs/ntfs/file.c pgoff_t index, end_index; index 209 fs/ntfs/file.c index = old_init_size >> PAGE_SHIFT; index 216 fs/ntfs/file.c page = read_mapping_page(mapping, index, NULL); index 231 fs/ntfs/file.c ni->initialized_size = (s64)(index + 1) << PAGE_SHIFT; index 267 fs/ntfs/file.c } while (++index < end_index); index 495 fs/ntfs/file.c pgoff_t index, const unsigned nr_pages, struct page **pages, index 503 fs/ntfs/file.c pages[nr] = find_get_page_flags(mapping, index, FGP_LOCK | index 514 fs/ntfs/file.c index, index 524 fs/ntfs/file.c index++; index 607 fs/ntfs/file.c vi->i_ino, ni->type, pages[0]->index, nr_pages, index 642 fs/ntfs/file.c bh_pos = (s64)page->index << PAGE_SHIFT; index 1196 fs/ntfs/file.c bh_pos = ((s64)page->index << PAGE_SHIFT) + index 1338 fs/ntfs/file.c ((s64)page->index << PAGE_SHIFT) + index 1410 fs/ntfs/file.c bh_pos = (s64)page->index << PAGE_SHIFT; index 1563 fs/ntfs/file.c vi->i_ino, ni->type, page->index, nr_pages, index 1864 fs/ntfs/file.c u = (pos >> PAGE_SHIFT) - pages[0]->index; index 131 fs/ntfs/index.c idx_ni->itype.index.collation_rule)) { index 134 fs/ntfs/index.c idx_ni->itype.index.collation_rule)); index 163 fs/ntfs/index.c index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); index 165 fs/ntfs/index.c ie = (INDEX_ENTRY*)((u8*)&ir->index + index 166 fs/ntfs/index.c le32_to_cpu(ir->index.entries_offset)); index 213 fs/ntfs/index.c rc = ntfs_collate(vol, idx_ni->itype.index.collation_rule, key, index 265 fs/ntfs/index.c idx_ni->itype.index.vcn_size_bits >> PAGE_SHIFT); index 277 fs/ntfs/index.c idx_ni->itype.index.vcn_size_bits) & ~PAGE_MASK)); index 300 fs/ntfs/index.c if (le32_to_cpu(ia->index.allocated_size) + 0x18 != index 301 fs/ntfs/index.c idx_ni->itype.index.block_size) { index 307 fs/ntfs/index.c le32_to_cpu(ia->index.allocated_size) + 0x18, index 308 fs/ntfs/index.c idx_ni->itype.index.block_size); index 311 fs/ntfs/index.c index_end = (u8*)ia + idx_ni->itype.index.block_size; index 320 fs/ntfs/index.c index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); index 321 fs/ntfs/index.c if (index_end > (u8*)ia + idx_ni->itype.index.block_size) { index 328 fs/ntfs/index.c ie = (INDEX_ENTRY*)((u8*)&ia->index + index 329 fs/ntfs/index.c le32_to_cpu(ia->index.entries_offset)); index 376 fs/ntfs/index.c rc = ntfs_collate(vol, idx_ni->itype.index.collation_rule, key, index 402 fs/ntfs/index.c if ((ia->index.flags & NODE_MASK) == LEAF_NODE) { index 384 fs/ntfs/inode.c ni->itype.index.block_size = 0; index 385 fs/ntfs/inode.c ni->itype.index.vcn_size = 0; index 386 fs/ntfs/inode.c ni->itype.index.collation_rule = 0; index 387 fs/ntfs/inode.c ni->itype.index.block_size_bits = 0; index 388 fs/ntfs/inode.c ni->itype.index.vcn_size_bits = 0; index 813 fs/ntfs/inode.c index_end = (u8*)&ir->index + index 814 fs/ntfs/inode.c le32_to_cpu(ir->index.index_length); index 829 fs/ntfs/inode.c ni->itype.index.collation_rule = ir->collation_rule; index 830 fs/ntfs/inode.c ni->itype.index.block_size = le32_to_cpu(ir->index_block_size); index 831 fs/ntfs/inode.c if (ni->itype.index.block_size & index 832 fs/ntfs/inode.c (ni->itype.index.block_size - 1)) { index 835 fs/ntfs/inode.c ni->itype.index.block_size); index 838 fs/ntfs/inode.c if (ni->itype.index.block_size > PAGE_SIZE) { index 842 fs/ntfs/inode.c ni->itype.index.block_size, index 847 fs/ntfs/inode.c if (ni->itype.index.block_size < NTFS_BLOCK_SIZE) { index 851 fs/ntfs/inode.c ni->itype.index.block_size, index 856 fs/ntfs/inode.c ni->itype.index.block_size_bits = index 857 fs/ntfs/inode.c ffs(ni->itype.index.block_size) - 1; index 859 fs/ntfs/inode.c if (vol->cluster_size <= ni->itype.index.block_size) { index 860 fs/ntfs/inode.c ni->itype.index.vcn_size = vol->cluster_size; index 861 fs/ntfs/inode.c ni->itype.index.vcn_size_bits = vol->cluster_size_bits; index 863 fs/ntfs/inode.c ni->itype.index.vcn_size = vol->sector_size; index 864 fs/ntfs/inode.c ni->itype.index.vcn_size_bits = vol->sector_size_bits; index 873 fs/ntfs/inode.c if (!(ir->index.flags & LARGE_INDEX)) { index 969 fs/ntfs/inode.c ni->itype.index.block_size_bits)) { index 1534 fs/ntfs/inode.c index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); index 1544 fs/ntfs/inode.c ni->itype.index.collation_rule = ir->collation_rule; index 1547 fs/ntfs/inode.c ni->itype.index.block_size = le32_to_cpu(ir->index_block_size); index 1548 fs/ntfs/inode.c if (!is_power_of_2(ni->itype.index.block_size)) { index 1550 fs/ntfs/inode.c "two.", ni->itype.index.block_size); index 1553 fs/ntfs/inode.c if (ni->itype.index.block_size > PAGE_SIZE) { index 1556 fs/ntfs/inode.c ni->itype.index.block_size, PAGE_SIZE); index 1560 fs/ntfs/inode.c if (ni->itype.index.block_size < NTFS_BLOCK_SIZE) { index 1563 fs/ntfs/inode.c ni->itype.index.block_size, NTFS_BLOCK_SIZE); index 1567 fs/ntfs/inode.c ni->itype.index.block_size_bits = ffs(ni->itype.index.block_size) - 1; index 1569 fs/ntfs/inode.c if (vol->cluster_size <= ni->itype.index.block_size) { index 1570 fs/ntfs/inode.c ni->itype.index.vcn_size = vol->cluster_size; index 1571 fs/ntfs/inode.c ni->itype.index.vcn_size_bits = vol->cluster_size_bits; index 1573 fs/ntfs/inode.c ni->itype.index.vcn_size = vol->sector_size; index 1574 fs/ntfs/inode.c ni->itype.index.vcn_size_bits = vol->sector_size_bits; index 1577 fs/ntfs/inode.c if (!(ir->index.flags & LARGE_INDEX)) { index 1665 fs/ntfs/inode.c if ((bvi_size << 3) < (vi->i_size >> ni->itype.index.block_size_bits)) { index 1772 fs/ntfs/inode.c ni->itype.index.block_size = vol->mft_record_size; index 1773 fs/ntfs/inode.c ni->itype.index.block_size_bits = vol->mft_record_size_bits; index 97 fs/ntfs/inode.h } index; index 2025 fs/ntfs/layout.h INDEX_HEADER index; /* Index header describing the index 2051 fs/ntfs/layout.h /* 24*/ INDEX_HEADER index; /* Describes the following index entries. */ index 530 fs/ntfs/logfile.c if (!page || page->index != idx) { index 42 fs/ntfs/mft.c unsigned long index, end_index; index 52 fs/ntfs/mft.c index = (u64)ni->mft_no << vol->mft_record_size_bits >> index 61 fs/ntfs/mft.c if (unlikely(index >= end_index)) { index 62 fs/ntfs/mft.c if (index > end_index || (i_size & ~PAGE_MASK) < ofs + index 73 fs/ntfs/mft.c page = ntfs_map_page(mft_vi->i_mapping, index); index 2092 fs/ntfs/mft.c pgoff_t index, end_index; index 2101 fs/ntfs/mft.c index = mft_no << vol->mft_record_size_bits >> PAGE_SHIFT; index 2106 fs/ntfs/mft.c if (unlikely(index >= end_index)) { index 2107 fs/ntfs/mft.c if (unlikely(index > end_index || ofs + vol->mft_record_size >= index 2115 fs/ntfs/mft.c page = ntfs_map_page(mft_vi->i_mapping, index); index 2249 fs/ntfs/mft.c pgoff_t index; index 2513 fs/ntfs/mft.c index = bit << vol->mft_record_size_bits >> PAGE_SHIFT; index 2516 fs/ntfs/mft.c page = ntfs_map_page(vol->mft_ino->i_mapping, index); index 2659 fs/ntfs/mft.c ni->itype.index.block_size = 4096; index 2660 fs/ntfs/mft.c ni->itype.index.block_size_bits = ntfs_ffs(4096) - 1; index 2661 fs/ntfs/mft.c ni->itype.index.collation_rule = COLLATION_FILE_NAME; index 2662 fs/ntfs/mft.c if (vol->cluster_size <= ni->itype.index.block_size) { index 2663 fs/ntfs/mft.c ni->itype.index.vcn_size = vol->cluster_size; index 2664 fs/ntfs/mft.c ni->itype.index.vcn_size_bits = index 2667 fs/ntfs/mft.c ni->itype.index.vcn_size = vol->sector_size; index 2668 fs/ntfs/mft.c ni->itype.index.vcn_size_bits = index 1056 fs/ntfs/super.c tmp_ni->itype.index.block_size = vol->mft_record_size; index 1057 fs/ntfs/super.c tmp_ni->itype.index.block_size_bits = vol->mft_record_size_bits; index 1080 fs/ntfs/super.c pgoff_t index; index 1090 fs/ntfs/super.c index = i = 0; index 1096 fs/ntfs/super.c if (index) { index 1102 fs/ntfs/super.c index); index 1110 fs/ntfs/super.c index); index 1116 fs/ntfs/super.c ++index; index 1584 fs/ntfs/super.c pgoff_t index, max_index; index 1603 fs/ntfs/super.c index = 0; index 1606 fs/ntfs/super.c while (index < max_index) { index 1609 fs/ntfs/super.c page = ntfs_map_page(ino->i_mapping, index); index 1612 fs/ntfs/super.c memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT), index 1649 fs/ntfs/super.c pgoff_t index, max_index; index 1672 fs/ntfs/super.c index = 0; index 1675 fs/ntfs/super.c while (index < max_index) { index 1678 fs/ntfs/super.c page = ntfs_map_page(ino->i_mapping, index); index 1681 fs/ntfs/super.c memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT), index 2450 fs/ntfs/super.c pgoff_t index, max_index; index 2465 fs/ntfs/super.c for (index = 0; index < max_index; index++) { index 2472 fs/ntfs/super.c page = read_mapping_page(mapping, index, NULL); index 2476 fs/ntfs/super.c "page (index 0x%lx).", index); index 2493 fs/ntfs/super.c ntfs_debug("Finished reading $Bitmap, last index = 0x%lx.", index - 1); index 2530 fs/ntfs/super.c pgoff_t index; index 2536 fs/ntfs/super.c for (index = 0; index < max_index; index++) { index 2543 fs/ntfs/super.c page = read_mapping_page(mapping, index, NULL); index 2547 fs/ntfs/super.c "page (index 0x%lx).", index); index 2565 fs/ntfs/super.c index - 1); index 665 fs/ocfs2/alloc.c static inline void ocfs2_path_insert_eb(struct ocfs2_path *path, int index, index 676 fs/ocfs2/alloc.c BUG_ON(index == 0); index 678 fs/ocfs2/alloc.c path->p_node[index].bh = eb_bh; index 679 fs/ocfs2/alloc.c path->p_node[index].el = &eb->h_list; index 1884 fs/ocfs2/alloc.c int index; index 1892 fs/ocfs2/alloc.c ocfs2_path_insert_eb(fp->path, fp->index, bh); index 1893 fs/ocfs2/alloc.c fp->index++; index 1900 fs/ocfs2/alloc.c data.index = 1; index 3258 fs/ocfs2/alloc.c int index) index 3260 fs/ocfs2/alloc.c struct ocfs2_extent_rec *rec = &el->l_recs[index]; index 3274 fs/ocfs2/alloc.c if (index > 0) { index 3276 fs/ocfs2/alloc.c size = index * sizeof(struct ocfs2_extent_rec); index 3347 fs/ocfs2/alloc.c int index) index 3360 fs/ocfs2/alloc.c BUG_ON(index >= le16_to_cpu(el->l_next_free_rec)); index 3361 fs/ocfs2/alloc.c left_rec = &el->l_recs[index]; index 3363 fs/ocfs2/alloc.c if (index == le16_to_cpu(el->l_next_free_rec) - 1 && index 3424 fs/ocfs2/alloc.c BUG_ON(index == le16_to_cpu(el->l_next_free_rec) - 1); index 3425 fs/ocfs2/alloc.c right_rec = &el->l_recs[index + 1]; index 3443 fs/ocfs2/alloc.c ocfs2_cleanup_merge(el, index); index 3514 fs/ocfs2/alloc.c int index) index 3526 fs/ocfs2/alloc.c BUG_ON(index < 0); index 3528 fs/ocfs2/alloc.c right_rec = &el->l_recs[index]; index 3529 fs/ocfs2/alloc.c if (index == 0) { index 3585 fs/ocfs2/alloc.c left_rec = &el->l_recs[index - 1]; index 3597 fs/ocfs2/alloc.c if (has_empty_extent && index == 1) { index 3611 fs/ocfs2/alloc.c ocfs2_cleanup_merge(el, index); index 4078 fs/ocfs2/alloc.c int index; index 4089 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); index 4090 fs/ocfs2/alloc.c if (index != -1) { index 4091 fs/ocfs2/alloc.c if (index == 0 && left_path) { index 4122 fs/ocfs2/alloc.c tmprec = &right_el->l_recs[index]; index 4127 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(left_el, cpos); index 4128 fs/ocfs2/alloc.c BUG_ON(index == -1); index 4140 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); index 4141 fs/ocfs2/alloc.c BUG_ON(index == -1); index 4144 fs/ocfs2/alloc.c rec = &el->l_recs[index]; index 4353 fs/ocfs2/alloc.c struct ocfs2_extent_list *el, int index, index 4367 fs/ocfs2/alloc.c if (index > 0) { index 4368 fs/ocfs2/alloc.c rec = &el->l_recs[index - 1]; index 4410 fs/ocfs2/alloc.c if (index == 1 && ocfs2_is_empty_extent(rec)) { index 4411 fs/ocfs2/alloc.c if (split_rec->e_cpos == el->l_recs[index].e_cpos) index 4419 fs/ocfs2/alloc.c if (index < (le16_to_cpu(el->l_next_free_rec) - 1)) index 4420 fs/ocfs2/alloc.c rec = &el->l_recs[index + 1]; index 5158 fs/ocfs2/alloc.c int ret, index; index 5180 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); index 5181 fs/ocfs2/alloc.c if (index == -1) { index 5191 fs/ocfs2/alloc.c rec = &el->l_recs[index]; index 5219 fs/ocfs2/alloc.c index, &split_rec, meta_ac, index 5276 fs/ocfs2/alloc.c int index, u32 new_range, index 5291 fs/ocfs2/alloc.c rec = &el->l_recs[index]; index 5345 fs/ocfs2/alloc.c struct ocfs2_path *path, int index, index 5358 fs/ocfs2/alloc.c if (ocfs2_is_empty_extent(&el->l_recs[0]) && index > 0) { index 5374 fs/ocfs2/alloc.c index--; index 5377 fs/ocfs2/alloc.c if (index == (le16_to_cpu(el->l_next_free_rec) - 1) && index 5390 fs/ocfs2/alloc.c rec = &el->l_recs[index]; index 5391 fs/ocfs2/alloc.c if (index == 0 && path->p_tree_depth && index 5456 fs/ocfs2/alloc.c ocfs2_cleanup_merge(el, index); index 5513 fs/ocfs2/alloc.c int ret, index; index 5539 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); index 5540 fs/ocfs2/alloc.c if (index == -1) { index 5565 fs/ocfs2/alloc.c rec = &el->l_recs[index]; index 5573 fs/ocfs2/alloc.c cpos, len, index, le32_to_cpu(rec->e_cpos), index 5577 fs/ocfs2/alloc.c ret = ocfs2_truncate_rec(handle, et, path, index, dealloc, index 5584 fs/ocfs2/alloc.c ret = ocfs2_split_tree(handle, et, path, index, index 5604 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); index 5605 fs/ocfs2/alloc.c if (index == -1) { index 5618 fs/ocfs2/alloc.c rec = &el->l_recs[index]; index 5631 fs/ocfs2/alloc.c ret = ocfs2_truncate_rec(handle, et, path, index, dealloc, index 5844 fs/ocfs2/alloc.c int status, index; index 5873 fs/ocfs2/alloc.c index = le16_to_cpu(tl->tl_used); index 5874 fs/ocfs2/alloc.c if (index >= tl_count) { index 5888 fs/ocfs2/alloc.c (unsigned long long)OCFS2_I(tl_inode)->ip_blkno, index, index 5895 fs/ocfs2/alloc.c index--; index 5897 fs/ocfs2/alloc.c num_clusters += le32_to_cpu(tl->tl_recs[index].t_clusters); index 5900 fs/ocfs2/alloc.c index, le32_to_cpu(tl->tl_recs[index].t_start), index 5903 fs/ocfs2/alloc.c tl->tl_recs[index].t_start = cpu_to_le32(start_cluster); index 5904 fs/ocfs2/alloc.c tl->tl_used = cpu_to_le16(index + 1); index 5906 fs/ocfs2/alloc.c tl->tl_recs[index].t_clusters = cpu_to_le32(num_clusters); index 6810 fs/ocfs2/alloc.c loff_t start_byte = ((loff_t)page->index << PAGE_SHIFT) + from; index 6862 fs/ocfs2/alloc.c if ((end >> PAGE_SHIFT) == page->index) index 6871 fs/ocfs2/alloc.c start = (page->index + 1) << PAGE_SHIFT; index 6883 fs/ocfs2/alloc.c unsigned long index; index 6890 fs/ocfs2/alloc.c index = start >> PAGE_SHIFT; index 6892 fs/ocfs2/alloc.c pages[numpages] = find_or_create_page(mapping, index, GFP_NOFS); index 6900 fs/ocfs2/alloc.c index++; index 6901 fs/ocfs2/alloc.c } while (index < (last_page_bytes >> PAGE_SHIFT)); index 285 fs/ocfs2/aops.c loff_t start = (loff_t)page->index << PAGE_SHIFT; index 289 fs/ocfs2/aops.c (page ? page->index : 0)); index 388 fs/ocfs2/aops.c start = (loff_t)last->index << PAGE_SHIFT; index 416 fs/ocfs2/aops.c page->index); index 1044 fs/ocfs2/aops.c unsigned long start, target_index, end_index, index; index 1077 fs/ocfs2/aops.c index = start + i; index 1079 fs/ocfs2/aops.c if (index >= target_index && index <= end_index && index 1099 fs/ocfs2/aops.c } else if (index >= target_index && index <= end_index && index 1105 fs/ocfs2/aops.c wc->w_pages[i] = find_or_create_page(mapping, index, index 1115 fs/ocfs2/aops.c if (index == target_index) index 2029 fs/ocfs2/aops.c ((loff_t)tmppage->index << PAGE_SHIFT) + index 1214 fs/ocfs2/dir.c int index) index 1218 fs/ocfs2/dir.c if (num_used == 1 || index == (num_used - 1)) index 1221 fs/ocfs2/dir.c memmove(&entry_list->de_entries[index], index 1222 fs/ocfs2/dir.c &entry_list->de_entries[index + 1], index 1223 fs/ocfs2/dir.c (num_used - index - 1)*sizeof(struct ocfs2_dx_entry)); index 1234 fs/ocfs2/dir.c int ret, index, max_rec_len, add_to_free_list = 0; index 1267 fs/ocfs2/dir.c index = (char *)dx_entry - (char *)entry_list->de_entries; index 1268 fs/ocfs2/dir.c index /= sizeof(*dx_entry); index 1270 fs/ocfs2/dir.c if (index >= le16_to_cpu(entry_list->de_num_used)) { index 1272 fs/ocfs2/dir.c (unsigned long long)OCFS2_I(dir)->ip_blkno, index, index 1315 fs/ocfs2/dir.c index); index 1338 fs/ocfs2/dir.c ocfs2_dx_list_remove_entry(entry_list, index); index 756 fs/ocfs2/file.c unsigned long index = abs_from >> PAGE_SHIFT; index 763 fs/ocfs2/file.c BUG_ON(abs_to > (((u64)index + 1) << PAGE_SHIFT)); index 774 fs/ocfs2/file.c page = find_or_create_page(mapping, index, GFP_NOFS); index 791 fs/ocfs2/file.c index, zero_from, zero_to); index 398 fs/ocfs2/ioctl.c u32 index; index 400 fs/ocfs2/ioctl.c index = __ilog2_u32(chunksize); index 401 fs/ocfs2/ioctl.c if (index >= OCFS2_INFO_MAX_HIST) index 402 fs/ocfs2/ioctl.c index = OCFS2_INFO_MAX_HIST - 1; index 404 fs/ocfs2/ioctl.c hist->fc_chunks[index]++; index 405 fs/ocfs2/ioctl.c hist->fc_clusters[index] += chunksize; index 92 fs/ocfs2/mmap.c if (page->index == last_index) index 56 fs/ocfs2/move_extents.c int ret = 0, index; index 93 fs/ocfs2/move_extents.c index = ocfs2_search_extent_list(el, cpos); index 94 fs/ocfs2/move_extents.c if (index == -1) { index 101 fs/ocfs2/move_extents.c rec = &el->l_recs[index]; index 118 fs/ocfs2/move_extents.c ret = ocfs2_split_extent(handle, &context->et, path, index, index 836 fs/ocfs2/ocfs2.h pgoff_t index = clusters; index 839 fs/ocfs2/ocfs2.h index = (pgoff_t)clusters >> (PAGE_SHIFT - cbits); index 841 fs/ocfs2/ocfs2.h index = (pgoff_t)clusters << (cbits - PAGE_SHIFT); index 844 fs/ocfs2/ocfs2.h return index; index 1389 fs/ocfs2/ocfs2_fs.h static inline u64 ocfs2_backup_super_blkno(struct super_block *sb, int index) index 1393 fs/ocfs2/ocfs2_fs.h if (index >= 0 && index < OCFS2_MAX_BACKUP_SUPERBLOCKS) { index 1394 fs/ocfs2/ocfs2_fs.h offset <<= (2 * index); index 1537 fs/ocfs2/ocfs2_fs.h static inline uint64_t ocfs2_backup_super_blkno(int blocksize, int index) index 1541 fs/ocfs2/ocfs2_fs.h if (index >= 0 && index < OCFS2_MAX_BACKUP_SUPERBLOCKS) { index 1542 fs/ocfs2/ocfs2_fs.h offset <<= (2 * index); index 504 fs/ocfs2/ocfs2_trace.h unsigned int len, int index, index 506 fs/ocfs2/ocfs2_trace.h TP_ARGS(owner, cpos, len, index, e_cpos, clusters), index 511 fs/ocfs2/ocfs2_trace.h __field(int, index) index 519 fs/ocfs2/ocfs2_trace.h __entry->index = index; index 524 fs/ocfs2/ocfs2_trace.h __entry->owner, __entry->cpos, __entry->len, __entry->index, index 625 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long blkno, int index, index 627 fs/ocfs2/ocfs2_trace.h TP_ARGS(blkno, index, start, num), index 630 fs/ocfs2/ocfs2_trace.h __field(int, index) index 636 fs/ocfs2/ocfs2_trace.h __entry->index = index; index 641 fs/ocfs2/ocfs2_trace.h __entry->blkno, __entry->index, index 647 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long blkno, int index, \ index 649 fs/ocfs2/ocfs2_trace.h TP_ARGS(blkno, index, start, num)) index 903 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long blkno, int index, index 906 fs/ocfs2/ocfs2_trace.h TP_ARGS(blkno, index, cpos, clusters, refcount), index 909 fs/ocfs2/ocfs2_trace.h __field(int, index) index 916 fs/ocfs2/ocfs2_trace.h __entry->index = index; index 921 fs/ocfs2/ocfs2_trace.h TP_printk("%llu %d %llu %u %u", __entry->blkno, __entry->index, index 927 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long blkno, int index, \ index 930 fs/ocfs2/ocfs2_trace.h TP_ARGS(blkno, index, cpos, count, refcount)) index 1007 fs/ocfs2/ocfs2_trace.h unsigned int r_clusters, unsigned int refcount, int index), index 1008 fs/ocfs2/ocfs2_trace.h TP_ARGS(recs_add, cpos, clusters, r_cpos, r_clusters, refcount, index), index 1016 fs/ocfs2/ocfs2_trace.h __field(int, index) index 1025 fs/ocfs2/ocfs2_trace.h __entry->index = index; index 1030 fs/ocfs2/ocfs2_trace.h __entry->refcount, __entry->index) index 1378 fs/ocfs2/ocfs2_trace.h unsigned long index, unsigned int zero_from, index 1380 fs/ocfs2/ocfs2_trace.h TP_ARGS(ino, abs_from, abs_to, index, zero_from, zero_to), index 1385 fs/ocfs2/ocfs2_trace.h __field(unsigned long, index) index 1393 fs/ocfs2/ocfs2_trace.h __entry->index = index; index 1399 fs/ocfs2/ocfs2_trace.h __entry->index, __entry->zero_from, __entry->zero_to) index 2731 fs/ocfs2/ocfs2_trace.h TP_PROTO(int index, void *item), index 2732 fs/ocfs2/ocfs2_trace.h TP_ARGS(index, item), index 2734 fs/ocfs2/ocfs2_trace.h __field(int, index) index 2738 fs/ocfs2/ocfs2_trace.h __entry->index = index; index 2741 fs/ocfs2/ocfs2_trace.h TP_printk("%d %p", __entry->index, __entry->item) index 878 fs/ocfs2/refcounttree.c int *index) index 913 fs/ocfs2/refcounttree.c *index = i; index 960 fs/ocfs2/refcounttree.c int index, u32 *cpos_end) index 970 fs/ocfs2/refcounttree.c if (index < le16_to_cpu(el->l_next_free_rec) - 1) { index 975 fs/ocfs2/refcounttree.c *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); index 1003 fs/ocfs2/refcounttree.c cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); index 1060 fs/ocfs2/refcounttree.c int *index, index 1075 fs/ocfs2/refcounttree.c ret_rec, index); index 1133 fs/ocfs2/refcounttree.c ret_rec, index); index 1149 fs/ocfs2/refcounttree.c int index) index 1151 fs/ocfs2/refcounttree.c if ((rb->rf_records.rl_recs[index].r_refcount == index 1152 fs/ocfs2/refcounttree.c rb->rf_records.rl_recs[index + 1].r_refcount) && index 1153 fs/ocfs2/refcounttree.c (le64_to_cpu(rb->rf_records.rl_recs[index].r_cpos) + index 1154 fs/ocfs2/refcounttree.c le32_to_cpu(rb->rf_records.rl_recs[index].r_clusters) == index 1155 fs/ocfs2/refcounttree.c le64_to_cpu(rb->rf_records.rl_recs[index + 1].r_cpos))) index 1163 fs/ocfs2/refcounttree.c int index) index 1167 fs/ocfs2/refcounttree.c if (index < le16_to_cpu(rb->rf_records.rl_used) - 1) index 1168 fs/ocfs2/refcounttree.c ret = ocfs2_refcount_rec_adjacent(rb, index); index 1170 fs/ocfs2/refcounttree.c if (index > 0) { index 1173 fs/ocfs2/refcounttree.c tmp = ocfs2_refcount_rec_adjacent(rb, index - 1); index 1187 fs/ocfs2/refcounttree.c int index) index 1189 fs/ocfs2/refcounttree.c BUG_ON(rb->rf_records.rl_recs[index].r_refcount != index 1190 fs/ocfs2/refcounttree.c rb->rf_records.rl_recs[index+1].r_refcount); index 1192 fs/ocfs2/refcounttree.c le32_add_cpu(&rb->rf_records.rl_recs[index].r_clusters, index 1193 fs/ocfs2/refcounttree.c le32_to_cpu(rb->rf_records.rl_recs[index+1].r_clusters)); index 1195 fs/ocfs2/refcounttree.c if (index < le16_to_cpu(rb->rf_records.rl_used) - 2) index 1196 fs/ocfs2/refcounttree.c memmove(&rb->rf_records.rl_recs[index + 1], index 1197 fs/ocfs2/refcounttree.c &rb->rf_records.rl_recs[index + 2], index 1199 fs/ocfs2/refcounttree.c (le16_to_cpu(rb->rf_records.rl_used) - index - 2)); index 1210 fs/ocfs2/refcounttree.c int index) index 1213 fs/ocfs2/refcounttree.c ocfs2_refcount_rec_contig(rb, index); index 1219 fs/ocfs2/refcounttree.c BUG_ON(index == 0); index 1220 fs/ocfs2/refcounttree.c index--; index 1223 fs/ocfs2/refcounttree.c ocfs2_rotate_refcount_rec_left(rb, index); index 1226 fs/ocfs2/refcounttree.c ocfs2_rotate_refcount_rec_left(rb, index); index 1236 fs/ocfs2/refcounttree.c int index, int merge, int change) index 1242 fs/ocfs2/refcounttree.c struct ocfs2_refcount_rec *rec = &rl->rl_recs[index]; index 1253 fs/ocfs2/refcounttree.c index, le32_to_cpu(rec->r_refcount), change); index 1257 fs/ocfs2/refcounttree.c if (index != le16_to_cpu(rl->rl_used) - 1) { index 1259 fs/ocfs2/refcounttree.c (le16_to_cpu(rl->rl_used) - index - 1) * index 1267 fs/ocfs2/refcounttree.c ocfs2_refcount_rec_merge(rb, index); index 1739 fs/ocfs2/refcounttree.c int index, int merge, index 1762 fs/ocfs2/refcounttree.c cpos, len, NULL, &index, index 1781 fs/ocfs2/refcounttree.c if (index < le16_to_cpu(rf_list->rl_used)) index 1782 fs/ocfs2/refcounttree.c memmove(&rf_list->rl_recs[index + 1], index 1783 fs/ocfs2/refcounttree.c &rf_list->rl_recs[index], index 1784 fs/ocfs2/refcounttree.c (le16_to_cpu(rf_list->rl_used) - index) * index 1788 fs/ocfs2/refcounttree.c (unsigned long long)ref_leaf_bh->b_blocknr, index, index 1792 fs/ocfs2/refcounttree.c rf_list->rl_recs[index] = *rec; index 1797 fs/ocfs2/refcounttree.c ocfs2_refcount_rec_merge(rb, index); index 1801 fs/ocfs2/refcounttree.c if (index == 0) { index 1827 fs/ocfs2/refcounttree.c int index, int merge, index 1836 fs/ocfs2/refcounttree.c struct ocfs2_refcount_rec *orig_rec = &rf_list->rl_recs[index]; index 1892 fs/ocfs2/refcounttree.c cpos, len, &tmp_rec, &index, index 1902 fs/ocfs2/refcounttree.c orig_rec = &rf_list->rl_recs[index]; index 1917 fs/ocfs2/refcounttree.c if (index != le16_to_cpu(rf_list->rl_used) - 1) index 1918 fs/ocfs2/refcounttree.c memmove(&rf_list->rl_recs[index + 1 + recs_need], index 1919 fs/ocfs2/refcounttree.c &rf_list->rl_recs[index + 1], index 1920 fs/ocfs2/refcounttree.c (le16_to_cpu(rf_list->rl_used) - index - 1) * index 1933 fs/ocfs2/refcounttree.c tail_rec = &rf_list->rl_recs[index + recs_need]; index 1954 fs/ocfs2/refcounttree.c index++; index 1960 fs/ocfs2/refcounttree.c rf_list->rl_recs[index] = *split_rec; index 1962 fs/ocfs2/refcounttree.c (unsigned long long)ref_leaf_bh->b_blocknr, index, index 1968 fs/ocfs2/refcounttree.c ocfs2_refcount_rec_merge(rb, index); index 1985 fs/ocfs2/refcounttree.c int ret = 0, index; index 1996 fs/ocfs2/refcounttree.c cpos, len, &rec, &index, index 2021 fs/ocfs2/refcounttree.c ref_leaf_bh, index, index 2035 fs/ocfs2/refcounttree.c &rec, index, index 2053 fs/ocfs2/refcounttree.c &rec, index, merge, index 2168 fs/ocfs2/refcounttree.c int index, u64 cpos, unsigned int len, index 2175 fs/ocfs2/refcounttree.c struct ocfs2_refcount_rec *rec = &rb->rf_records.rl_recs[index]; index 2188 fs/ocfs2/refcounttree.c ref_leaf_bh, index, 1, -1); index 2198 fs/ocfs2/refcounttree.c &split, index, 1, index 2228 fs/ocfs2/refcounttree.c int ret = 0, index = 0; index 2240 fs/ocfs2/refcounttree.c cpos, len, &rec, &index, index 2256 fs/ocfs2/refcounttree.c ref_leaf_bh, index, index 2376 fs/ocfs2/refcounttree.c int ret = 0, index, ref_blocks = 0, recs_add = 0; index 2386 fs/ocfs2/refcounttree.c &index, &ref_leaf_bh); index 2418 fs/ocfs2/refcounttree.c le32_to_cpu(rec.r_refcount), index); index 3060 fs/ocfs2/refcounttree.c int ret, index; index 3093 fs/ocfs2/refcounttree.c index = ocfs2_search_extent_list(el, cpos); index 3094 fs/ocfs2/refcounttree.c if (index == -1) { index 3101 fs/ocfs2/refcounttree.c ret = ocfs2_split_extent(handle, et, path, index, index 3207 fs/ocfs2/refcounttree.c int ret, delete, index, credits = 0; index 3246 fs/ocfs2/refcounttree.c &rec, &index, &ref_leaf_bh); index 3541 fs/ocfs2/refcounttree.c int ret = 0, index, ref_blocks = 0; index 3562 fs/ocfs2/refcounttree.c &rec, &index, index 46 fs/ocfs2/sysfile.c int index; index 84 fs/ocfs2/sysfile.c index = (slot * NUM_LOCAL_SYSTEM_INODES) + index 87 fs/ocfs2/sysfile.c return &local_system_inodes[index]; index 232 fs/ocfs2/uptodate.c int index = -1; index 243 fs/ocfs2/uptodate.c index = ocfs2_search_cache_array(ci, bh->b_blocknr); index 249 fs/ocfs2/uptodate.c trace_ocfs2_buffer_cached_end(index, item); index 251 fs/ocfs2/uptodate.c return (index != -1) || (item != NULL); index 522 fs/ocfs2/uptodate.c int index) index 527 fs/ocfs2/uptodate.c BUG_ON(index < 0 || index >= OCFS2_CACHE_INFO_MAX_ARRAY); index 528 fs/ocfs2/uptodate.c BUG_ON(index >= ci->ci_num_cached); index 533 fs/ocfs2/uptodate.c index, ci->ci_num_cached); index 539 fs/ocfs2/uptodate.c if (ci->ci_num_cached && index < ci->ci_num_cached) { index 540 fs/ocfs2/uptodate.c bytes = sizeof(sector_t) * (ci->ci_num_cached - index); index 541 fs/ocfs2/uptodate.c memmove(&array[index], &array[index + 1], bytes); index 560 fs/ocfs2/uptodate.c int index; index 570 fs/ocfs2/uptodate.c index = ocfs2_search_cache_array(ci, block); index 571 fs/ocfs2/uptodate.c if (index != -1) index 572 fs/ocfs2/uptodate.c ocfs2_remove_metadata_array(ci, index); index 245 fs/ocfs2/xattr.c int index, index 1934 fs/ocfs2/xattr.c int index, count; index 1950 fs/ocfs2/xattr.c index = ((char *)entry - (char *)&xh->xh_entries) / index 1952 fs/ocfs2/xattr.c memmove(&xh->xh_entries[index], &xh->xh_entries[index + 1], index 1953 fs/ocfs2/xattr.c (count - index) * sizeof(struct ocfs2_xattr_entry)); index 3824 fs/ocfs2/xattr.c u16 index = 0; index 3882 fs/ocfs2/xattr.c &index, &found); index 3910 fs/ocfs2/xattr.c xs->here = &xs->header->xh_entries[index]; index 3914 fs/ocfs2/xattr.c index); index 4028 fs/ocfs2/xattr.c int index, index 4034 fs/ocfs2/xattr.c if (index < 0 || index >= le16_to_cpu(xh->xh_count)) index 4037 fs/ocfs2/xattr.c name_offset = le16_to_cpu(xh->xh_entries[index].xe_name_offset); index 50 fs/orangefs/devorangefs-req.c int index = hash_func(op->tag, hash_table_size); index 52 fs/orangefs/devorangefs-req.c list_add_tail(&op->list, &orangefs_htable_ops_in_progress[index]); index 62 fs/orangefs/devorangefs-req.c int index; index 64 fs/orangefs/devorangefs-req.c index = hash_func(tag, hash_table_size); index 69 fs/orangefs/devorangefs-req.c &orangefs_htable_ops_in_progress[index], index 259 fs/orangefs/inode.c pgoff_t index; /* which page */ index 307 fs/orangefs/inode.c index = off >> PAGE_SHIFT; index 349 fs/orangefs/inode.c index++; index 351 fs/orangefs/inode.c next_page = find_get_page(inode->i_mapping, index); index 360 fs/orangefs/inode.c index, index 395 fs/orangefs/inode.c pgoff_t index; index 398 fs/orangefs/inode.c index = pos >> PAGE_SHIFT; index 400 fs/orangefs/inode.c page = grab_cache_page_write_begin(mapping, index, flags); index 739 fs/orangefs/orangefs-debugfs.c static void do_k_string(void *k_mask, int index) index 743 fs/orangefs/orangefs-debugfs.c if (keyword_is_amalgam((char *) s_kmod_keyword_mask_map[index].keyword)) index 746 fs/orangefs/orangefs-debugfs.c if (*mask & s_kmod_keyword_mask_map[index].mask_val) { index 748 fs/orangefs/orangefs-debugfs.c strlen(s_kmod_keyword_mask_map[index].keyword)) index 751 fs/orangefs/orangefs-debugfs.c s_kmod_keyword_mask_map[index].keyword); index 765 fs/orangefs/orangefs-debugfs.c static void do_c_string(void *c_mask, int index) index 769 fs/orangefs/orangefs-debugfs.c if (keyword_is_amalgam(cdm_array[index].keyword)) index 772 fs/orangefs/orangefs-debugfs.c if ((mask->mask1 & cdm_array[index].mask1) || index 773 fs/orangefs/orangefs-debugfs.c (mask->mask2 & cdm_array[index].mask2)) { index 775 fs/orangefs/orangefs-debugfs.c strlen(cdm_array[index].keyword) + 1) index 778 fs/orangefs/orangefs-debugfs.c cdm_array[index].keyword); index 311 fs/overlayfs/copy_up.c static int ovl_set_upper_fh(struct dentry *upper, struct dentry *index) index 320 fs/overlayfs/copy_up.c err = ovl_do_setxattr(index, OVL_XATTR_UPPER, fh, fh->len, 0); index 336 fs/overlayfs/copy_up.c struct dentry *index = NULL; index 369 fs/overlayfs/copy_up.c index = lookup_one_len(name.name, indexdir, name.len); index 370 fs/overlayfs/copy_up.c if (IS_ERR(index)) { index 371 fs/overlayfs/copy_up.c err = PTR_ERR(index); index 373 fs/overlayfs/copy_up.c err = ovl_do_rename(dir, temp, dir, index, 0); index 374 fs/overlayfs/copy_up.c dput(index); index 292 fs/overlayfs/export.c struct dentry *index) index 295 fs/overlayfs/export.c struct dentry *upper = upper_alias ?: index; index 301 fs/overlayfs/export.c .index = index, index 437 fs/overlayfs/export.c struct dentry *index = NULL; index 458 fs/overlayfs/export.c index = ovl_lookup_index(ofs, NULL, real, false); index 459 fs/overlayfs/export.c if (IS_ERR(index)) index 460 fs/overlayfs/export.c return index; index 464 fs/overlayfs/export.c if (index) { index 465 fs/overlayfs/export.c struct dentry *upper = ovl_index_upper(ofs, index); index 467 fs/overlayfs/export.c dput(index); index 655 fs/overlayfs/export.c struct dentry *index) index 660 fs/overlayfs/export.c struct dentry *real = upper ?: (index ?: lowerpath->dentry); index 667 fs/overlayfs/export.c return ovl_obtain_alias(sb, upper, lowerpath, index); index 707 fs/overlayfs/export.c struct dentry *index = NULL; index 732 fs/overlayfs/export.c index = ovl_get_index_fh(ofs, fh); index 733 fs/overlayfs/export.c err = PTR_ERR(index); index 734 fs/overlayfs/export.c if (IS_ERR(index)) { index 735 fs/overlayfs/export.c index = NULL; index 741 fs/overlayfs/export.c if (index && d_is_dir(index)) { index 742 fs/overlayfs/export.c struct dentry *upper = ovl_index_upper(ofs, index); index 761 fs/overlayfs/export.c if (index) { index 762 fs/overlayfs/export.c err = ovl_verify_origin(index, origin.dentry, false); index 768 fs/overlayfs/export.c dentry = ovl_get_dentry(sb, NULL, &origin, index); index 772 fs/overlayfs/export.c dput(index); index 836 fs/overlayfs/inode.c struct dentry *lower, struct dentry *index) index 845 fs/overlayfs/inode.c if (index) index 883 fs/overlayfs/inode.c oip->index); index 943 fs/overlayfs/inode.c if (oip->index) index 461 fs/overlayfs/namei.c struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index) index 466 fs/overlayfs/namei.c if (!d_is_dir(index)) index 467 fs/overlayfs/namei.c return dget(index); index 469 fs/overlayfs/namei.c fh = ovl_get_fh(index, OVL_XATTR_UPPER); index 481 fs/overlayfs/namei.c index, upper); index 490 fs/overlayfs/namei.c static bool ovl_is_temp_index(struct dentry *index) index 492 fs/overlayfs/namei.c return index->d_name.name[0] == '#'; index 500 fs/overlayfs/namei.c int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index) index 509 fs/overlayfs/namei.c if (!d_inode(index)) index 514 fs/overlayfs/namei.c if (ovl_is_temp_index(index)) index 518 fs/overlayfs/namei.c if (index->d_name.len < sizeof(struct ovl_fh)*2) index 522 fs/overlayfs/namei.c len = index->d_name.len / 2; index 528 fs/overlayfs/namei.c if (hex2bin((u8 *)fh, index->d_name.name, len)) index 540 fs/overlayfs/namei.c if (ovl_is_whiteout(index)) index 547 fs/overlayfs/namei.c if (d_is_dir(index) && !ofs->config.nfs_export) index 557 fs/overlayfs/namei.c upper = ovl_index_upper(ofs, index); index 579 fs/overlayfs/namei.c if (!d_is_dir(index) && d_inode(index)->i_nlink == 1) { index 580 fs/overlayfs/namei.c err = ovl_check_origin_fh(ofs, fh, false, index, &stack); index 584 fs/overlayfs/namei.c if (ovl_get_nlink(origin.dentry, index, 0) == 0) index 595 fs/overlayfs/namei.c index, d_inode(index)->i_mode & S_IFMT, err); index 600 fs/overlayfs/namei.c index, d_inode(index)->i_mode & S_IFMT, index 601 fs/overlayfs/namei.c d_inode(index)->i_nlink); index 654 fs/overlayfs/namei.c struct dentry *index; index 662 fs/overlayfs/namei.c index = lookup_one_len_unlocked(name.name, ofs->indexdir, name.len); index 664 fs/overlayfs/namei.c if (IS_ERR(index)) { index 665 fs/overlayfs/namei.c if (PTR_ERR(index) == -ENOENT) index 666 fs/overlayfs/namei.c index = NULL; index 667 fs/overlayfs/namei.c return index; index 670 fs/overlayfs/namei.c if (d_is_negative(index)) index 672 fs/overlayfs/namei.c else if (ovl_is_whiteout(index)) index 674 fs/overlayfs/namei.c else if (ovl_dentry_weird(index)) index 677 fs/overlayfs/namei.c return index; index 679 fs/overlayfs/namei.c dput(index); index 686 fs/overlayfs/namei.c struct dentry *index; index 696 fs/overlayfs/namei.c index = lookup_one_len_unlocked(name.name, ofs->indexdir, name.len); index 697 fs/overlayfs/namei.c if (IS_ERR(index)) { index 698 fs/overlayfs/namei.c err = PTR_ERR(index); index 700 fs/overlayfs/namei.c index = NULL; index 710 fs/overlayfs/namei.c inode = d_inode(index); index 711 fs/overlayfs/namei.c if (d_is_negative(index)) { index 713 fs/overlayfs/namei.c } else if (ovl_is_whiteout(index) && !verify) { index 720 fs/overlayfs/namei.c dput(index); index 721 fs/overlayfs/namei.c index = ERR_PTR(-ESTALE); index 723 fs/overlayfs/namei.c } else if (ovl_dentry_weird(index) || ovl_is_whiteout(index) || index 733 fs/overlayfs/namei.c index, d_inode(index)->i_mode & S_IFMT, index 739 fs/overlayfs/namei.c origin, index); index 744 fs/overlayfs/namei.c err = ovl_verify_upper(index, upper, false); index 748 fs/overlayfs/namei.c upper, origin, index); index 757 fs/overlayfs/namei.c return index; index 760 fs/overlayfs/namei.c dput(index); index 761 fs/overlayfs/namei.c index = NULL; index 765 fs/overlayfs/namei.c dput(index); index 766 fs/overlayfs/namei.c index = ERR_PTR(-EIO); index 824 fs/overlayfs/namei.c struct dentry *index = NULL; index 938 fs/overlayfs/namei.c (!d.is_dir && ofs->config.index && origin_path))) { index 1037 fs/overlayfs/namei.c index = ovl_lookup_index(ofs, upperdentry, origin, true); index 1038 fs/overlayfs/namei.c if (IS_ERR(index)) { index 1039 fs/overlayfs/namei.c err = PTR_ERR(index); index 1040 fs/overlayfs/namei.c index = NULL; index 1058 fs/overlayfs/namei.c else if (index) { index 1059 fs/overlayfs/namei.c upperdentry = dget(index); index 1072 fs/overlayfs/namei.c .index = index, index 1090 fs/overlayfs/namei.c dput(index); index 1099 fs/overlayfs/namei.c dput(index); index 312 fs/overlayfs/overlayfs.h struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index); index 313 fs/overlayfs/overlayfs.h int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index); index 329 fs/overlayfs/overlayfs.h static inline int ovl_verify_upper(struct dentry *index, index 332 fs/overlayfs/overlayfs.h return ovl_verify_set_fh(index, OVL_XATTR_UPPER, upper, true, set); index 369 fs/overlayfs/overlayfs.h struct dentry *index; index 16 fs/overlayfs/ovl_entry.h bool index; index 1088 fs/overlayfs/readdir.c struct dentry *index = NULL; index 1114 fs/overlayfs/readdir.c index = lookup_one_len(p->name, indexdir, p->len); index 1115 fs/overlayfs/readdir.c if (IS_ERR(index)) { index 1116 fs/overlayfs/readdir.c err = PTR_ERR(index); index 1117 fs/overlayfs/readdir.c index = NULL; index 1120 fs/overlayfs/readdir.c err = ovl_verify_index(ofs, index); index 1125 fs/overlayfs/readdir.c err = ovl_cleanup(dir, index); index 1138 fs/overlayfs/readdir.c err = ovl_cleanup_and_whiteout(indexdir, dir, index); index 1141 fs/overlayfs/readdir.c err = ovl_cleanup(dir, index); index 1148 fs/overlayfs/readdir.c dput(index); index 1149 fs/overlayfs/readdir.c index = NULL; index 1151 fs/overlayfs/readdir.c dput(index); index 42 fs/overlayfs/super.c module_param_named(index, ovl_index_def, bool, 0644); index 43 fs/overlayfs/super.c MODULE_PARM_DESC(index, index 356 fs/overlayfs/super.c if (ofs->config.index != ovl_index_def) index 357 fs/overlayfs/super.c seq_printf(m, ",index=%s", ofs->config.index ? "on" : "off"); index 526 fs/overlayfs/super.c config->index = true; index 530 fs/overlayfs/super.c config->index = false; index 804 fs/overlayfs/super.c (ofs->config.index && ofs->config.upperdir)) && !fh_type) { index 805 fs/overlayfs/super.c ofs->config.index = false; index 1015 fs/overlayfs/super.c if (ofs->config.index) { index 1127 fs/overlayfs/super.c ofs->config.index = false; index 1137 fs/overlayfs/super.c if (ofs->config.index && !fh_type) { index 1138 fs/overlayfs/super.c ofs->config.index = false; index 1147 fs/overlayfs/super.c if (ofs->config.nfs_export && !ofs->config.index) { index 1297 fs/overlayfs/super.c if (ofs->config.index || ofs->config.nfs_export) { index 1298 fs/overlayfs/super.c ofs->config.index = false; index 1587 fs/overlayfs/super.c ofs->config.index = ovl_index_def; index 1641 fs/overlayfs/super.c if (!(ovl_force_readonly(ofs)) && ofs->config.index) { index 1661 fs/overlayfs/super.c ofs->config.index = false; index 83 fs/overlayfs/util.c return ofs->config.nfs_export && ofs->config.index; index 91 fs/overlayfs/util.c return ofs->config.nfs_export && ofs->config.index; index 692 fs/overlayfs/util.c struct dentry *index = NULL; index 720 fs/overlayfs/util.c index = lookup_one_len(name.name, indexdir, name.len); index 721 fs/overlayfs/util.c err = PTR_ERR(index); index 722 fs/overlayfs/util.c if (IS_ERR(index)) { index 723 fs/overlayfs/util.c index = NULL; index 726 fs/overlayfs/util.c err = ovl_cleanup_and_whiteout(indexdir, dir, index); index 729 fs/overlayfs/util.c err = ovl_cleanup(dir, index); index 738 fs/overlayfs/util.c dput(index); index 35 fs/proc/consoles.c int index; index 36 fs/proc/consoles.c driver = con->device(con, &index); index 39 fs/proc/consoles.c dev += index; index 49 fs/proc/consoles.c seq_printf(m, "%s%d", con->name, con->index); index 416 fs/proc/vmcore.c pgoff_t index = vmf->pgoff; index 422 fs/proc/vmcore.c page = find_or_create_page(mapping, index, GFP_KERNEL); index 426 fs/proc/vmcore.c offset = (loff_t) index << PAGE_SHIFT; index 509 fs/pstore/platform.c .index = -1, index 1653 fs/quota/dquot.c int cnt, ret = 0, index; index 1673 fs/quota/dquot.c index = srcu_read_lock(&dquot_srcu); index 1712 fs/quota/dquot.c srcu_read_unlock(&dquot_srcu, index); index 1724 fs/quota/dquot.c int cnt, ret = 0, index; index 1734 fs/quota/dquot.c index = srcu_read_lock(&dquot_srcu); index 1757 fs/quota/dquot.c srcu_read_unlock(&dquot_srcu, index); index 1769 fs/quota/dquot.c int cnt, index; index 1780 fs/quota/dquot.c index = srcu_read_lock(&dquot_srcu); index 1800 fs/quota/dquot.c srcu_read_unlock(&dquot_srcu, index); index 1811 fs/quota/dquot.c int cnt, index; index 1822 fs/quota/dquot.c index = srcu_read_lock(&dquot_srcu); index 1842 fs/quota/dquot.c srcu_read_unlock(&dquot_srcu, index); index 1855 fs/quota/dquot.c int reserve = flags & DQUOT_SPACE_RESERVE, index; index 1869 fs/quota/dquot.c index = srcu_read_lock(&dquot_srcu); index 1897 fs/quota/dquot.c srcu_read_unlock(&dquot_srcu, index); index 1910 fs/quota/dquot.c int index; index 1916 fs/quota/dquot.c index = srcu_read_lock(&dquot_srcu); index 1933 fs/quota/dquot.c srcu_read_unlock(&dquot_srcu, index); index 1834 fs/read_write.c if (page1->index > page2->index) index 223 fs/reiserfs/file.c (new || page->index >= i_size_index)) { index 580 fs/reiserfs/inode.c unsigned long index; index 594 fs/reiserfs/inode.c index = tail_offset >> PAGE_SHIFT; index 599 fs/reiserfs/inode.c if (!hole_page || index != hole_page->index) { index 600 fs/reiserfs/inode.c tail_page = grab_cache_page(inode->i_mapping, index); index 2195 fs/reiserfs/inode.c unsigned long index = (inode->i_size - 1) >> PAGE_SHIFT; index 2214 fs/reiserfs/inode.c page = grab_cache_page(inode->i_mapping, index); index 2567 fs/reiserfs/inode.c if (page->index >= end_index) { index 2572 fs/reiserfs/inode.c if (page->index >= end_index + 1 || !last_offset) { index 2579 fs/reiserfs/inode.c block = page->index << (PAGE_SHIFT - s->s_blocksize_bits); index 2768 fs/reiserfs/inode.c pgoff_t index; index 2780 fs/reiserfs/inode.c index = pos >> PAGE_SHIFT; index 2781 fs/reiserfs/inode.c page = grab_cache_page_write_begin(mapping, index, flags); index 3002 fs/reiserfs/inode.c loff_t pos = ((loff_t) page->index << PAGE_SHIFT) + to; index 171 fs/reiserfs/ioctl.c int index; index 207 fs/reiserfs/ioctl.c index = inode->i_size >> PAGE_SHIFT; index 209 fs/reiserfs/ioctl.c page = grab_cache_page(mapping, index); index 487 fs/romfs/super.c sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); index 98 fs/seq_file.c m->index = 0; index 108 fs/seq_file.c p = m->op->start(m, &m->index); index 122 fs/seq_file.c p = m->op->next(m, p, &m->index); index 181 fs/seq_file.c m->index = 0; index 194 fs/seq_file.c m->index = 0; index 224 fs/seq_file.c p = m->op->start(m, &m->index); index 235 fs/seq_file.c p = m->op->next(m, p, &m->index); index 247 fs/seq_file.c p = m->op->start(m, &m->index); index 256 fs/seq_file.c loff_t pos = m->index; index 258 fs/seq_file.c p = m->op->next(m, p, &m->index); index 259 fs/seq_file.c if (pos == m->index) index 261 fs/seq_file.c m->index++; index 333 fs/seq_file.c m->index = 0; index 78 fs/squashfs/block.c int squashfs_read_data(struct super_block *sb, u64 index, int length, index 83 fs/squashfs/block.c int offset = index & ((1 << msblk->devblksize_log2) - 1); index 84 fs/squashfs/block.c u64 cur_index = index >> msblk->devblksize_log2; index 100 fs/squashfs/block.c *next_index = index + length; index 103 fs/squashfs/block.c index, compressed ? "" : "un", length, output->length); index 106 fs/squashfs/block.c (index + length) > msblk->bytes_used) index 120 fs/squashfs/block.c if ((index + 2) > msblk->bytes_used) index 132 fs/squashfs/block.c *next_index = index + length + 2; index 134 fs/squashfs/block.c TRACE("Block @ 0x%llx, %scompressed size %d\n", index, index 138 fs/squashfs/block.c (index + length) > msblk->bytes_used) index 201 fs/squashfs/block.c (unsigned long long) index); index 43 fs/squashfs/dir.c int err, i, index, length = 0; index 65 fs/squashfs/dir.c index = le32_to_cpu(dir_index.index); index 66 fs/squashfs/dir.c if (index > f_pos) index 83 fs/squashfs/dir.c length = index; index 48 fs/squashfs/file.c int index) index 56 fs/squashfs/file.c TRACE("locate_meta_index: index %d, offset %d\n", index, offset); index 64 fs/squashfs/file.c msblk->meta_index[i].offset <= index && index 227 fs/squashfs/file.c static int fill_meta_index(struct inode *inode, int index, index 243 fs/squashfs/file.c index /= SQUASHFS_META_INDEXES * skip; index 245 fs/squashfs/file.c while (offset < index) { index 246 fs/squashfs/file.c meta = locate_meta_index(inode, offset + 1, index); index 253 fs/squashfs/file.c offset = index < meta->offset + meta->entries ? index : index 273 fs/squashfs/file.c for (i = meta->offset + meta->entries; i <= index && index 326 fs/squashfs/file.c static int read_blocklist(struct inode *inode, int index, u64 *block) index 332 fs/squashfs/file.c int res = fill_meta_index(inode, index, &start, &offset, block); index 335 fs/squashfs/file.c " 0x%x, block 0x%llx\n", res, index, start, offset, index 347 fs/squashfs/file.c if (res < index) { index 348 fs/squashfs/file.c blks = read_indexes(inode->i_sb, index - res, &start, &offset); index 388 fs/squashfs/file.c int start_index = page->index & ~mask, end_index = start_index | mask; index 403 fs/squashfs/file.c push_page = (i == page->index) ? page : index 415 fs/squashfs/file.c if (i != page->index) index 451 fs/squashfs/file.c int index = page->index >> (msblk->block_log - PAGE_SHIFT); index 453 fs/squashfs/file.c int expected = index == file_end ? index 460 fs/squashfs/file.c page->index, squashfs_i(inode)->start); index 462 fs/squashfs/file.c if (page->index >= ((i_size_read(inode) + PAGE_SIZE - 1) >> index 466 fs/squashfs/file.c if (index < file_end || squashfs_i(inode)->fragment_block == index 469 fs/squashfs/file.c int bsize = read_blocklist(inode, index, &block); index 34 fs/squashfs/file_direct.c int start_index = target_page->index & ~mask; index 60 fs/squashfs/file_direct.c page[i] = (n == target_page->index) ? target_page : index 32 fs/squashfs/id.c int squashfs_get_id(struct super_block *sb, unsigned int index, index 36 fs/squashfs/id.c int block = SQUASHFS_ID_BLOCK(index); index 37 fs/squashfs/id.c int offset = SQUASHFS_ID_BLOCK_OFFSET(index); index 71 fs/squashfs/namei.c struct squashfs_dir_index *index; index 76 fs/squashfs/namei.c index = kmalloc(sizeof(*index) + SQUASHFS_NAME_LEN * 2 + 2, GFP_KERNEL); index 77 fs/squashfs/namei.c if (index == NULL) { index 82 fs/squashfs/namei.c str = &index->name[SQUASHFS_NAME_LEN + 1]; index 87 fs/squashfs/namei.c err = squashfs_read_metadata(sb, index, &index_start, index 88 fs/squashfs/namei.c &index_offset, sizeof(*index)); index 93 fs/squashfs/namei.c size = le32_to_cpu(index->size) + 1; index 97 fs/squashfs/namei.c err = squashfs_read_metadata(sb, index->name, &index_start, index 102 fs/squashfs/namei.c index->name[size] = '\0'; index 104 fs/squashfs/namei.c if (strcmp(index->name, str) > 0) index 107 fs/squashfs/namei.c length = le32_to_cpu(index->index); index 108 fs/squashfs/namei.c *next_block = le32_to_cpu(index->start_block) + index 113 fs/squashfs/namei.c kfree(index); index 262 fs/squashfs/squashfs_fs.h __le32 index; index 392 fs/squashfs/squashfs_fs.h struct squashfs_dir_index index[0]; index 38 fs/squashfs/symlink.c int index = page->index << PAGE_SHIFT; index 41 fs/squashfs/symlink.c int length = min_t(int, i_size_read(inode) - index, PAGE_SIZE); index 47 fs/squashfs/symlink.c "%llx, offset %x\n", page->index, block, offset); index 52 fs/squashfs/symlink.c if (index) { index 54 fs/squashfs/symlink.c index); index 26 fs/squashfs/xattr.h unsigned int index, int *count, unsigned int *size, index 28 fs/squashfs/xattr_id.c int squashfs_xattr_lookup(struct super_block *sb, unsigned int index, index 32 fs/squashfs/xattr_id.c int block = SQUASHFS_XATTR_BLOCK(index); index 33 fs/squashfs/xattr_id.c int offset = SQUASHFS_XATTR_BLOCK_OFFSET(index); index 110 fs/ubifs/file.c inode->i_ino, page->index, i_size, page->flags); index 116 fs/ubifs/file.c block = page->index << UBIFS_BLOCKS_PER_PAGE_SHIFT; index 167 fs/ubifs/file.c page->index, inode->i_ino, err); index 223 fs/ubifs/file.c pgoff_t index = pos >> PAGE_SHIFT; index 247 fs/ubifs/file.c page = grab_cache_page_write_begin(mapping, index, flags); index 428 fs/ubifs/file.c pgoff_t index = pos >> PAGE_SHIFT; index 440 fs/ubifs/file.c page = grab_cache_page_write_begin(mapping, index, flags); index 547 fs/ubifs/file.c inode->i_ino, pos, page->index, len, copied, inode->i_size); index 617 fs/ubifs/file.c inode->i_ino, page->index, i_size, page->flags); index 622 fs/ubifs/file.c if (!i_size || page->index > end_index) { index 628 fs/ubifs/file.c page_block = page->index << UBIFS_BLOCKS_PER_PAGE_SHIFT; index 679 fs/ubifs/file.c if (end_index == page->index) { index 720 fs/ubifs/file.c pgoff_t offset = page1->index, end_index; index 832 fs/ubifs/file.c pgoff_t index = page->index, last_page_read = ui->last_page_read; index 836 fs/ubifs/file.c ui->last_page_read = index; index 847 fs/ubifs/file.c if (index != last_page_read + 1) { index 880 fs/ubifs/file.c page->index << UBIFS_BLOCKS_PER_PAGE_SHIFT); index 914 fs/ubifs/file.c ubifs_assert(c, page->index <= ui->synced_i_size >> PAGE_SHIFT); index 922 fs/ubifs/file.c block = page->index << UBIFS_BLOCKS_PER_PAGE_SHIFT; index 939 fs/ubifs/file.c page->index, inode->i_ino, err); index 1016 fs/ubifs/file.c inode->i_ino, page->index, page->flags); index 1020 fs/ubifs/file.c if (page->index > end_index || (page->index == end_index && !len)) { index 1030 fs/ubifs/file.c if (page->index < end_index) { index 1031 fs/ubifs/file.c if (page->index >= synced_i_size >> PAGE_SHIFT) { index 1145 fs/ubifs/file.c pgoff_t index = new_size >> PAGE_SHIFT; index 1148 fs/ubifs/file.c page = find_lock_page(inode->i_mapping, index); index 1516 fs/ubifs/file.c dbg_gen("ino %lu, pg %lu, i_size %lld", inode->i_ino, page->index, index 51 fs/udf/partition.c uint32_t index; index 72 fs/udf/partition.c index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t); index 73 fs/udf/partition.c if (block >= index) { index 74 fs/udf/partition.c block -= index; index 76 fs/udf/partition.c index = block % (sb->s_blocksize / sizeof(uint32_t)); index 79 fs/udf/partition.c index = vdata->s_start_offset / sizeof(uint32_t) + block; index 87 fs/udf/partition.c sb, block, partition, loc, index); index 91 fs/udf/partition.c loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); index 1006 fs/udf/super.c static struct udf_bitmap *udf_sb_alloc_bitmap(struct super_block *sb, u32 index) index 1012 fs/udf/super.c nr_groups = udf_compute_nr_groups(sb, index); index 2420 fs/udf/super.c int index; index 2443 fs/udf/super.c index = sizeof(struct spaceBitmapDesc); /* offset in first block only */ index 2447 fs/udf/super.c u32 cur_bytes = min_t(u32, bytes, sb->s_blocksize - index); index 2448 fs/udf/super.c accum += bitmap_weight((const unsigned long *)(ptr + index), index 2459 fs/udf/super.c index = 0; index 247 fs/ufs/balloc.c pgoff_t index, cur_index, last_index; index 260 fs/ufs/balloc.c cur_index = locked_page->index; index 264 fs/ufs/balloc.c index = i >> (PAGE_SHIFT - inode->i_blkbits); index 266 fs/ufs/balloc.c if (likely(cur_index != index)) { index 267 fs/ufs/balloc.c page = ufs_get_locked_page(mapping, index); index 273 fs/ufs/balloc.c (unsigned long long)index); index 286 fs/ufs/balloc.c if (unlikely(index == last_index)) index 319 fs/ufs/balloc.c if (likely(cur_index != index)) index 121 fs/ufs/dir.c if ((dir->i_size >> PAGE_SHIFT) == page->index) { index 175 fs/ufs/dir.c dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs, index 183 fs/ufs/dir.c dir->i_ino, (page->index<<PAGE_SHIFT)+offs); index 255 fs/ufs/inode.c ufs_inode_getfrag(struct inode *inode, unsigned index, index 271 fs/ufs/inode.c p = ufs_get_direct_data_ptr(uspi, ufsi, index); index 283 fs/ufs/inode.c if (index) { index 285 fs/ufs/inode.c ufs_get_direct_data_ptr(uspi, ufsi, index - 1)); index 335 fs/ufs/inode.c unsigned index, sector_t new_fragment, int *err, index 348 fs/ufs/inode.c bh = sb_bread(sb, ind_block + (index >> shift)); index 354 fs/ufs/inode.c index &= uspi->s_apbmask >> uspi->s_fpbshift; index 356 fs/ufs/inode.c p = (__fs64 *)bh->b_data + index; index 358 fs/ufs/inode.c p = (__fs32 *)bh->b_data + index; index 364 fs/ufs/inode.c if (index && (uspi->fs_magic == UFS2_MAGIC ? index 365 fs/ufs/inode.c (tmp = fs64_to_cpu(sb, ((__fs64 *)bh->b_data)[index-1])) : index 366 fs/ufs/inode.c (tmp = fs32_to_cpu(sb, ((__fs32 *)bh->b_data)[index-1])))) index 245 fs/ufs/util.c pgoff_t index) index 248 fs/ufs/util.c struct page *page = find_lock_page(mapping, index); index 250 fs/ufs/util.c page = read_mapping_page(mapping, index, NULL); index 255 fs/ufs/util.c mapping->host->i_ino, index); index 274 fs/ufs/util.c inode->i_ino, index); index 283 fs/ufs/util.h pgoff_t index); index 298 fs/ufs/util.h unsigned int index; index 300 fs/ufs/util.h index = offset >> uspi->s_fshift; index 302 fs/ufs/util.h return uspi->s_ubh.bh[index]->b_data + offset; index 358 fs/unicode/mkutf8data.c int index; index 362 fs/unicode/mkutf8data.c int index; index 505 fs/unicode/mkutf8data.c node->index = 0; index 942 fs/unicode/mkutf8data.c static int index_nodes(struct tree *tree, int index) index 952 fs/unicode/mkutf8data.c while (index % 64) index 953 fs/unicode/mkutf8data.c index++; index 954 fs/unicode/mkutf8data.c tree->index = index; index 959 fs/unicode/mkutf8data.c printf("Indexing %s_%x: %d\n", tree->type, tree->maxage, index); index 961 fs/unicode/mkutf8data.c index += tree->leaf_size(tree->root); index 972 fs/unicode/mkutf8data.c if (node->index != index) index 973 fs/unicode/mkutf8data.c node->index = index; index 974 fs/unicode/mkutf8data.c index += node->size; index 983 fs/unicode/mkutf8data.c index; index 984 fs/unicode/mkutf8data.c index += tree->leaf_size(node->left); index 997 fs/unicode/mkutf8data.c *tree->leaf_index(tree, node->right) = index; index 998 fs/unicode/mkutf8data.c index += tree->leaf_size(node->right); index 1015 fs/unicode/mkutf8data.c while (index % 16) index 1016 fs/unicode/mkutf8data.c index++; index 1018 fs/unicode/mkutf8data.c printf("Final index %d\n", index); index 1019 fs/unicode/mkutf8data.c return index; index 1032 fs/unicode/mkutf8data.c node->index = node->parent->index; index 1121 fs/unicode/mkutf8data.c offset = right->index - node->index; index 1124 fs/unicode/mkutf8data.c offset -= node->index; index 1193 fs/unicode/mkutf8data.c int index; index 1204 fs/unicode/mkutf8data.c index = tree->index; index 1205 fs/unicode/mkutf8data.c data += index; index 1213 fs/unicode/mkutf8data.c index += size; index 1225 fs/unicode/mkutf8data.c assert(node->index == index); index 1246 fs/unicode/mkutf8data.c index++; index 1249 fs/unicode/mkutf8data.c index++; index 1257 fs/unicode/mkutf8data.c index++; index 1264 fs/unicode/mkutf8data.c index++; index 1278 fs/unicode/mkutf8data.c index += size; index 1295 fs/unicode/mkutf8data.c index += size; index 1318 fs/unicode/mkutf8data.c printf(" %d total\n", index - tree->index); index 1734 fs/unicode/mkutf8data.c trees[i].type, trees[i].maxage, trees[i].index); index 1738 fs/unicode/mkutf8data.c nfdi = utf8data + trees[trees_count-1].index; index 1739 fs/unicode/mkutf8data.c nfdicf = utf8data + trees[trees_count-2].index; index 2720 fs/unicode/mkutf8data.c trie = utf8data + tree->index; index 3307 fs/unicode/mkutf8data.c ages[gen], trees[t].index, index 3318 fs/unicode/mkutf8data.c ages[gen], trees[t].index, index 3329 fs/unicode/mkutf8data.c if (i == trees[t].index) { index 54 fs/verity/verify.c pgoff_t index, int level) index 63 fs/verity/verify.c index, level, index 91 fs/verity/verify.c const pgoff_t index = data_page->index; index 103 fs/verity/verify.c pr_debug_ratelimited("Verifying data page %lu...\n", index); index 115 fs/verity/verify.c hash_at_level(params, index, level, &hindex, &hoffset); index 156 fs/verity/verify.c err = cmp_hashes(vi, want_hash, real_hash, index, level - 1); index 171 fs/verity/verify.c err = cmp_hashes(vi, want_hash, real_hash, index, -1); index 29 fs/xfs/libxfs/xfs_alloc_btree.h #define XFS_ALLOC_REC_ADDR(mp, block, index) \ index 33 fs/xfs/libxfs/xfs_alloc_btree.h (((index) - 1) * sizeof(xfs_alloc_rec_t)))) index 35 fs/xfs/libxfs/xfs_alloc_btree.h #define XFS_ALLOC_KEY_ADDR(mp, block, index) \ index 39 fs/xfs/libxfs/xfs_alloc_btree.h ((index) - 1) * sizeof(xfs_alloc_key_t))) index 41 fs/xfs/libxfs/xfs_alloc_btree.h #define XFS_ALLOC_PTR_ADDR(mp, block, index, maxrecs) \ index 46 fs/xfs/libxfs/xfs_alloc_btree.h ((index) - 1) * sizeof(xfs_alloc_ptr_t))) index 615 fs/xfs/libxfs/xfs_attr.c args->index2 = args->index; index 702 fs/xfs/libxfs/xfs_attr.c args->index = args->index2; index 886 fs/xfs/libxfs/xfs_attr.c args->index2 = args->index; index 994 fs/xfs/libxfs/xfs_attr.c args->index = args->index2; index 89 fs/xfs/libxfs/xfs_attr.h #define ATTR_ENTRY(buffer, index) \ index 91 fs/xfs/libxfs/xfs_attr.h &((char *)buffer)[ ((attrlist_t *)(buffer))->al_offset[index] ]) index 134 fs/xfs/libxfs/xfs_attr.h int index; /* index into output buffer */ index 73 fs/xfs/libxfs/xfs_attr_leaf.c STATIC int xfs_attr_leaf_entsize(xfs_attr_leafblock_t *leaf, int index); index 1278 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0 && args->index <= ichdr.count); index 1359 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0 && args->index <= ichdr->count); index 1364 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; index 1365 fs/xfs/libxfs/xfs_attr_leaf.c if (args->index < ichdr->count) { index 1366 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr->count - args->index; index 1395 fs/xfs/libxfs/xfs_attr_leaf.c (args->index2 <= args->index)) { index 1401 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT((args->index == 0) || index 1403 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT((args->index == ichdr->count - 1) || index 1414 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf, args->index); index 1421 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); index 1433 fs/xfs/libxfs/xfs_attr_leaf.c XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), index 1434 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_leaf_entsize(leaf, args->index))); index 1453 fs/xfs/libxfs/xfs_attr_leaf.c ichdr->usedbytes += xfs_attr_leaf_entsize(leaf, args->index); index 1713 fs/xfs/libxfs/xfs_attr_leaf.c if (blk1->index > ichdr1.count) { index 1715 fs/xfs/libxfs/xfs_attr_leaf.c blk2->index = blk1->index - ichdr1.count; index 1716 fs/xfs/libxfs/xfs_attr_leaf.c args->index = args->index2 = blk2->index; index 1718 fs/xfs/libxfs/xfs_attr_leaf.c } else if (blk1->index == ichdr1.count) { index 1720 fs/xfs/libxfs/xfs_attr_leaf.c args->index = blk1->index; index 1730 fs/xfs/libxfs/xfs_attr_leaf.c blk2->index = blk1->index - ichdr1.count; index 1731 fs/xfs/libxfs/xfs_attr_leaf.c args->index = blk2->index; index 1739 fs/xfs/libxfs/xfs_attr_leaf.c args->index2 = blk2->index; index 1745 fs/xfs/libxfs/xfs_attr_leaf.c args->index = args->index2 = blk1->index; index 1772 fs/xfs/libxfs/xfs_attr_leaf.c int index; index 1790 fs/xfs/libxfs/xfs_attr_leaf.c for (count = index = 0; count < max; entry++, index++, count++) { index 1796 fs/xfs/libxfs/xfs_attr_leaf.c if (count == blk1->index) { index 1812 fs/xfs/libxfs/xfs_attr_leaf.c index = 0; index 1819 fs/xfs/libxfs/xfs_attr_leaf.c index); index 2006 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0 && args->index < ichdr.count); index 2010 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; index 2026 fs/xfs/libxfs/xfs_attr_leaf.c entsize = xfs_attr_leaf_entsize(leaf, args->index); index 2084 fs/xfs/libxfs/xfs_attr_leaf.c memset(xfs_attr3_leaf_name(leaf, args->index), 0, entsize); index 2087 fs/xfs/libxfs/xfs_attr_leaf.c XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), index 2090 fs/xfs/libxfs/xfs_attr_leaf.c tmp = (ichdr.count - args->index) * sizeof(xfs_attr_leaf_entry_t); index 2320 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; index 2349 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; index 2360 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; index 2369 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; index 2395 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr.count); index 2397 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; index 2399 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf, args->index); index 2407 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); index 2593 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_leaf_entsize(xfs_attr_leafblock_t *leaf, int index) index 2601 fs/xfs/libxfs/xfs_attr_leaf.c if (entries[index].flags & XFS_ATTR_LOCAL) { index 2602 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf, index); index 2606 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, index); index 2669 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; index 2674 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr.count); index 2675 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0); index 2678 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf, args->index); index 2682 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); index 2697 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); index 2738 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr.count); index 2739 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0); index 2741 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; index 2748 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); index 2810 fs/xfs/libxfs/xfs_attr_leaf.c entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index]; index 2817 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr1.count); index 2818 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0); index 2825 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf1, args->index); index 2829 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); index 2855 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); index 22 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BMBT_REC_ADDR(mp, block, index) \ index 26 fs/xfs/libxfs/xfs_bmap_btree.h ((index) - 1) * sizeof(xfs_bmbt_rec_t))) index 28 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BMBT_KEY_ADDR(mp, block, index) \ index 32 fs/xfs/libxfs/xfs_bmap_btree.h ((index) - 1) * sizeof(xfs_bmbt_key_t))) index 34 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BMBT_PTR_ADDR(mp, block, index, maxrecs) \ index 39 fs/xfs/libxfs/xfs_bmap_btree.h ((index) - 1) * sizeof(xfs_bmbt_ptr_t))) index 41 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BMDR_REC_ADDR(block, index) \ index 45 fs/xfs/libxfs/xfs_bmap_btree.h ((index) - 1) * sizeof(xfs_bmdr_rec_t))) index 47 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BMDR_KEY_ADDR(block, index) \ index 51 fs/xfs/libxfs/xfs_bmap_btree.h ((index) - 1) * sizeof(xfs_bmdr_key_t))) index 53 fs/xfs/libxfs/xfs_bmap_btree.h #define XFS_BMDR_PTR_ADDR(block, index, maxrecs) \ index 58 fs/xfs/libxfs/xfs_bmap_btree.h ((index) - 1) * sizeof(xfs_bmdr_ptr_t))) index 230 fs/xfs/libxfs/xfs_btree.c int index, index 234 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_check_lptr(cur, be64_to_cpu((&ptr->l)[index]), index 241 fs/xfs/libxfs/xfs_btree.c level, index); index 243 fs/xfs/libxfs/xfs_btree.c if (xfs_btree_check_sptr(cur, be32_to_cpu((&ptr->s)[index]), index 249 fs/xfs/libxfs/xfs_btree.c level, index); index 3150 fs/xfs/libxfs/xfs_btree.c int *index, /* new tree index */ index 3191 fs/xfs/libxfs/xfs_btree.c *oindex = *index = cur->bc_ptrs[level]; index 3206 fs/xfs/libxfs/xfs_btree.c *index = cur->bc_ptrs[level]; index 3518 fs/xfs/libxfs/xfs_btree.c int index; index 3564 fs/xfs/libxfs/xfs_btree.c index = numrecs - cur->bc_ops->get_maxrecs(cur, level); index 3565 fs/xfs/libxfs/xfs_btree.c if (index) { index 3566 fs/xfs/libxfs/xfs_btree.c xfs_iroot_realloc(cur->bc_private.b.ip, index, index 3571 fs/xfs/libxfs/xfs_btree.c be16_add_cpu(&block->bb_numrecs, index); index 737 fs/xfs/libxfs/xfs_da_btree.c if (oldblk->index <= nodehdr.count) { index 738 fs/xfs/libxfs/xfs_da_btree.c oldblk->index++; index 742 fs/xfs/libxfs/xfs_da_btree.c oldblk->index++; index 747 fs/xfs/libxfs/xfs_da_btree.c newblk->index++; index 751 fs/xfs/libxfs/xfs_da_btree.c newblk->index++; index 900 fs/xfs/libxfs/xfs_da_btree.c if (blk1->index >= nodehdr1.count) { index 901 fs/xfs/libxfs/xfs_da_btree.c blk2->index = blk1->index - nodehdr1.count; index 902 fs/xfs/libxfs/xfs_da_btree.c blk1->index = nodehdr1.count + 1; /* make it invalid */ index 927 fs/xfs/libxfs/xfs_da_btree.c ASSERT(oldblk->index >= 0 && oldblk->index <= nodehdr.count); index 937 fs/xfs/libxfs/xfs_da_btree.c if (oldblk->index < nodehdr.count) { index 938 fs/xfs/libxfs/xfs_da_btree.c tmp = (nodehdr.count - oldblk->index) * (uint)sizeof(*btree); index 939 fs/xfs/libxfs/xfs_da_btree.c memmove(&btree[oldblk->index + 1], &btree[oldblk->index], tmp); index 941 fs/xfs/libxfs/xfs_da_btree.c btree[oldblk->index].hashval = cpu_to_be32(newblk->hashval); index 942 fs/xfs/libxfs/xfs_da_btree.c btree[oldblk->index].before = cpu_to_be32(newblk->blkno); index 944 fs/xfs/libxfs/xfs_da_btree.c XFS_DA_LOGRANGE(node, &btree[oldblk->index], index 1333 fs/xfs/libxfs/xfs_da_btree.c if (be32_to_cpu(btree[blk->index].hashval) == lasthash) index 1336 fs/xfs/libxfs/xfs_da_btree.c btree[blk->index].hashval = cpu_to_be32(lasthash); index 1338 fs/xfs/libxfs/xfs_da_btree.c XFS_DA_LOGRANGE(node, &btree[blk->index], index 1356 fs/xfs/libxfs/xfs_da_btree.c int index; index 1364 fs/xfs/libxfs/xfs_da_btree.c ASSERT(drop_blk->index < nodehdr.count); index 1365 fs/xfs/libxfs/xfs_da_btree.c ASSERT(drop_blk->index >= 0); index 1370 fs/xfs/libxfs/xfs_da_btree.c index = drop_blk->index; index 1372 fs/xfs/libxfs/xfs_da_btree.c if (index < nodehdr.count - 1) { index 1373 fs/xfs/libxfs/xfs_da_btree.c tmp = nodehdr.count - index - 1; index 1375 fs/xfs/libxfs/xfs_da_btree.c memmove(&btree[index], &btree[index + 1], tmp); index 1377 fs/xfs/libxfs/xfs_da_btree.c XFS_DA_LOGRANGE(node, &btree[index], tmp)); index 1378 fs/xfs/libxfs/xfs_da_btree.c index = nodehdr.count - 1; index 1380 fs/xfs/libxfs/xfs_da_btree.c memset(&btree[index], 0, sizeof(xfs_da_node_entry_t)); index 1382 fs/xfs/libxfs/xfs_da_btree.c XFS_DA_LOGRANGE(node, &btree[index], sizeof(btree[index]))); index 1391 fs/xfs/libxfs/xfs_da_btree.c drop_blk->hashval = be32_to_cpu(btree[index - 1].hashval); index 1607 fs/xfs/libxfs/xfs_da_btree.c blk->index = max - 1; index 1610 fs/xfs/libxfs/xfs_da_btree.c blk->index = probe; index 1631 fs/xfs/libxfs/xfs_da_btree.c &blk->index, state); index 1634 fs/xfs/libxfs/xfs_da_btree.c blk->index = args->index; index 1908 fs/xfs/libxfs/xfs_da_btree.c if (forward && (blk->index < nodehdr.count - 1)) { index 1909 fs/xfs/libxfs/xfs_da_btree.c blk->index++; index 1910 fs/xfs/libxfs/xfs_da_btree.c blkno = be32_to_cpu(btree[blk->index].before); index 1912 fs/xfs/libxfs/xfs_da_btree.c } else if (!forward && (blk->index > 0)) { index 1913 fs/xfs/libxfs/xfs_da_btree.c blk->index--; index 1914 fs/xfs/libxfs/xfs_da_btree.c blkno = be32_to_cpu(btree[blk->index].before); index 1970 fs/xfs/libxfs/xfs_da_btree.c blk->index = 0; index 1972 fs/xfs/libxfs/xfs_da_btree.c blk->index = nodehdr.count - 1; index 1973 fs/xfs/libxfs/xfs_da_btree.c blkno = be32_to_cpu(btree[blk->index].before); index 1979 fs/xfs/libxfs/xfs_da_btree.c blk->index = 0; index 1986 fs/xfs/libxfs/xfs_da_btree.c blk->index = 0; index 63 fs/xfs/libxfs/xfs_da_btree.h int index; /* index of attr of interest in blk */ index 105 fs/xfs/libxfs/xfs_da_btree.h int index; /* relevant index into block */ index 441 fs/xfs/libxfs/xfs_dir2_leaf.c int index, index 448 fs/xfs/libxfs/xfs_dir2_leaf.c for (*lowstale = index - 1; *lowstale >= 0; --*lowstale) { index 459 fs/xfs/libxfs/xfs_dir2_leaf.c for (*highstale = index; *highstale < leafhdr->count; ++*highstale) { index 463 fs/xfs/libxfs/xfs_dir2_leaf.c if (*lowstale >= 0 && index - *lowstale <= *highstale - index) index 472 fs/xfs/libxfs/xfs_dir2_leaf.c int index, /* leaf table position */ index 487 fs/xfs/libxfs/xfs_dir2_leaf.c lep = &ents[index]; index 488 fs/xfs/libxfs/xfs_dir2_leaf.c if (index < leafhdr->count) index 490 fs/xfs/libxfs/xfs_dir2_leaf.c (leafhdr->count - index) * sizeof(*lep)); index 495 fs/xfs/libxfs/xfs_dir2_leaf.c *lfloglow = index; index 510 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_find_stale(leafhdr, ents, index, index 518 fs/xfs/libxfs/xfs_dir2_leaf.c index - lowstale - 1 < highstale - index)) { index 519 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(index - lowstale - 1 >= 0); index 527 fs/xfs/libxfs/xfs_dir2_leaf.c if (index - lowstale - 1 > 0) { index 529 fs/xfs/libxfs/xfs_dir2_leaf.c (index - lowstale - 1) * index 533 fs/xfs/libxfs/xfs_dir2_leaf.c *lfloghigh = max(index - 1, *lfloghigh); index 535 fs/xfs/libxfs/xfs_dir2_leaf.c return &ents[index - 1]; index 541 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(highstale - index >= 0); index 548 fs/xfs/libxfs/xfs_dir2_leaf.c if (highstale - index > 0) { index 549 fs/xfs/libxfs/xfs_dir2_leaf.c memmove(&ents[index + 1], &ents[index], index 550 fs/xfs/libxfs/xfs_dir2_leaf.c (highstale - index) * sizeof(xfs_dir2_leaf_entry_t)); index 552 fs/xfs/libxfs/xfs_dir2_leaf.c *lfloglow = min(index, *lfloglow); index 555 fs/xfs/libxfs/xfs_dir2_leaf.c return &ents[index]; index 585 fs/xfs/libxfs/xfs_dir2_leaf.c int index; /* leaf table position */ index 607 fs/xfs/libxfs/xfs_dir2_leaf.c index = xfs_dir2_leaf_search_hash(args, lbp); index 621 fs/xfs/libxfs/xfs_dir2_leaf.c for (use_block = -1, lep = &ents[index]; index 622 fs/xfs/libxfs/xfs_dir2_leaf.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; index 623 fs/xfs/libxfs/xfs_dir2_leaf.c index++, lep++) { index 726 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, index 842 fs/xfs/libxfs/xfs_dir2_leaf.c lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, index 934 fs/xfs/libxfs/xfs_dir2_leaf.c int index; /* insertion index */ index 941 fs/xfs/libxfs/xfs_dir2_leaf.c index = *indexp; index 943 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_find_stale(leafhdr, ents, index, &lowstale, &highstale); index 950 fs/xfs/libxfs/xfs_dir2_leaf.c index - lowstale <= highstale - index)) index 962 fs/xfs/libxfs/xfs_dir2_leaf.c if (index == from) index 987 fs/xfs/libxfs/xfs_dir2_leaf.c if (index == from) index 1116 fs/xfs/libxfs/xfs_dir2_leaf.c int index; /* found entry index */ index 1128 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { index 1139 fs/xfs/libxfs/xfs_dir2_leaf.c lep = &ents[index]; index 1176 fs/xfs/libxfs/xfs_dir2_leaf.c int index; /* index in leaf block */ index 1205 fs/xfs/libxfs/xfs_dir2_leaf.c index = xfs_dir2_leaf_search_hash(args, lbp); index 1210 fs/xfs/libxfs/xfs_dir2_leaf.c for (lep = &ents[index]; index 1211 fs/xfs/libxfs/xfs_dir2_leaf.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; index 1212 fs/xfs/libxfs/xfs_dir2_leaf.c lep++, index++) { index 1253 fs/xfs/libxfs/xfs_dir2_leaf.c *indexp = index; index 1308 fs/xfs/libxfs/xfs_dir2_leaf.c int index; /* index into leaf entries */ index 1325 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { index 1338 fs/xfs/libxfs/xfs_dir2_leaf.c lep = &ents[index]; index 1362 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_ents(args, lbp, index, index); index 1449 fs/xfs/libxfs/xfs_dir2_leaf.c int index; /* index of leaf entry */ index 1461 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { index 1470 fs/xfs/libxfs/xfs_dir2_leaf.c lep = &ents[index]; index 28 fs/xfs/libxfs/xfs_dir2_node.c int index); index 33 fs/xfs/libxfs/xfs_dir2_node.c int index, xfs_da_state_blk_t *dblk, index 426 fs/xfs/libxfs/xfs_dir2_node.c int index) /* insertion pt for new entry */ index 439 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_leafn_add(args, index); index 448 fs/xfs/libxfs/xfs_dir2_node.c if (index < 0) index 464 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); index 465 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(index == leafhdr.count || index 466 fs/xfs/libxfs/xfs_dir2_node.c be32_to_cpu(ents[index].hashval) >= args->hashval); index 476 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, index 489 fs/xfs/libxfs/xfs_dir2_node.c lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, index 494 fs/xfs/libxfs/xfs_dir2_node.c args->blkno, args->index)); index 571 fs/xfs/libxfs/xfs_dir2_node.c int index; /* leaf entry index */ index 595 fs/xfs/libxfs/xfs_dir2_node.c index = xfs_dir2_leaf_search_hash(args, bp); index 611 fs/xfs/libxfs/xfs_dir2_node.c for (lep = &ents[index]; index 612 fs/xfs/libxfs/xfs_dir2_node.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; index 613 fs/xfs/libxfs/xfs_dir2_node.c lep++, index++) { index 689 fs/xfs/libxfs/xfs_dir2_node.c state->extrablk.index = fi; index 704 fs/xfs/libxfs/xfs_dir2_node.c *indexp = index; index 724 fs/xfs/libxfs/xfs_dir2_node.c int index; /* leaf entry index */ index 748 fs/xfs/libxfs/xfs_dir2_node.c index = xfs_dir2_leaf_search_hash(args, bp); index 759 fs/xfs/libxfs/xfs_dir2_node.c for (lep = &ents[index]; index 760 fs/xfs/libxfs/xfs_dir2_node.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; index 761 fs/xfs/libxfs/xfs_dir2_node.c lep++, index++) { index 825 fs/xfs/libxfs/xfs_dir2_node.c *indexp = index; index 829 fs/xfs/libxfs/xfs_dir2_node.c state->extrablk.index = (int)((char *)dep - index 838 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(index == leafhdr.count || (args->op_flags & XFS_DA_OP_OKNOENT)); index 844 fs/xfs/libxfs/xfs_dir2_node.c state->extrablk.index = -1; index 857 fs/xfs/libxfs/xfs_dir2_node.c *indexp = index; index 1092 fs/xfs/libxfs/xfs_dir2_node.c state->inleaf = swap_blocks ^ (blk1->index <= hdr1.count); index 1097 fs/xfs/libxfs/xfs_dir2_node.c blk2->index = blk1->index - hdr1.count; index 1103 fs/xfs/libxfs/xfs_dir2_node.c if (blk2->index < 0) { index 1105 fs/xfs/libxfs/xfs_dir2_node.c blk2->index = 0; index 1108 fs/xfs/libxfs/xfs_dir2_node.c __func__, blk1->index); index 1200 fs/xfs/libxfs/xfs_dir2_node.c int index, /* leaf entry index */ index 1220 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_leafn_remove(args, index); index 1231 fs/xfs/libxfs/xfs_dir2_node.c lep = &ents[index]; index 1239 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(dblk->index == off); index 1250 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_ents(args, bp, index, index); index 1399 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_leafn_add(oldblk->bp, args, oldblk->index); index 1401 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index); index 1678 fs/xfs/libxfs/xfs_dir2_node.c fblk->index, fblk->magic); index 1766 fs/xfs/libxfs/xfs_dir2_node.c findex = fblk->index; index 1954 fs/xfs/libxfs/xfs_dir2_node.c args->index = be16_to_cpu(*tagp); index 2002 fs/xfs/libxfs/xfs_dir2_node.c rval = xfs_dir2_leafn_add(blk->bp, args, blk->index); index 2061 fs/xfs/libxfs/xfs_dir2_node.c state->extrablk.index); index 2121 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_leafn_remove(args, blk->bp, blk->index, index 2199 fs/xfs/libxfs/xfs_dir2_node.c lep = &ents[blk->index]; index 77 fs/xfs/libxfs/xfs_dir2_priv.h struct xfs_dir2_leaf_entry *ents, int index, int compact, index 29 fs/xfs/libxfs/xfs_ialloc_btree.h #define XFS_INOBT_REC_ADDR(mp, block, index) \ index 33 fs/xfs/libxfs/xfs_ialloc_btree.h (((index) - 1) * sizeof(xfs_inobt_rec_t)))) index 35 fs/xfs/libxfs/xfs_ialloc_btree.h #define XFS_INOBT_KEY_ADDR(mp, block, index) \ index 39 fs/xfs/libxfs/xfs_ialloc_btree.h ((index) - 1) * sizeof(xfs_inobt_key_t))) index 41 fs/xfs/libxfs/xfs_ialloc_btree.h #define XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) \ index 46 fs/xfs/libxfs/xfs_ialloc_btree.h ((index) - 1) * sizeof(xfs_inobt_ptr_t))) index 27 fs/xfs/libxfs/xfs_refcount_btree.h #define XFS_REFCOUNT_REC_ADDR(block, index) \ index 31 fs/xfs/libxfs/xfs_refcount_btree.h (((index) - 1) * sizeof(struct xfs_refcount_rec)))) index 33 fs/xfs/libxfs/xfs_refcount_btree.h #define XFS_REFCOUNT_KEY_ADDR(block, index) \ index 37 fs/xfs/libxfs/xfs_refcount_btree.h ((index) - 1) * sizeof(struct xfs_refcount_key))) index 39 fs/xfs/libxfs/xfs_refcount_btree.h #define XFS_REFCOUNT_PTR_ADDR(block, index, maxrecs) \ index 44 fs/xfs/libxfs/xfs_refcount_btree.h ((index) - 1) * sizeof(xfs_refcount_ptr_t))) index 21 fs/xfs/libxfs/xfs_rmap_btree.h #define XFS_RMAP_REC_ADDR(block, index) \ index 24 fs/xfs/libxfs/xfs_rmap_btree.h (((index) - 1) * sizeof(struct xfs_rmap_rec)))) index 26 fs/xfs/libxfs/xfs_rmap_btree.h #define XFS_RMAP_KEY_ADDR(block, index) \ index 29 fs/xfs/libxfs/xfs_rmap_btree.h ((index) - 1) * 2 * sizeof(struct xfs_rmap_key))) index 31 fs/xfs/libxfs/xfs_rmap_btree.h #define XFS_RMAP_HIGH_KEY_ADDR(block, index) \ index 35 fs/xfs/libxfs/xfs_rmap_btree.h ((index) - 1) * 2 * sizeof(struct xfs_rmap_key))) index 37 fs/xfs/libxfs/xfs_rmap_btree.h #define XFS_RMAP_PTR_ADDR(block, index, maxrecs) \ index 41 fs/xfs/libxfs/xfs_rmap_btree.h ((index) - 1) * sizeof(xfs_rmap_ptr_t))) index 853 fs/xfs/libxfs/xfs_sb.c xfs_agnumber_t index; index 864 fs/xfs/libxfs/xfs_sb.c for (index = 0; index < agcount; index++) { index 870 fs/xfs/libxfs/xfs_sb.c error = xfs_alloc_pagf_init(mp, NULL, index, 0); index 874 fs/xfs/libxfs/xfs_sb.c error = xfs_ialloc_pagi_init(mp, NULL, index); index 877 fs/xfs/libxfs/xfs_sb.c pag = xfs_perag_get(mp, index); index 139 fs/xfs/scrub/dabtree.c entry = xchk_da_btree_entry(ds, level - 1, blks[level - 1].index); index 527 fs/xfs/scrub/dabtree.c blks[level].index = 0; index 532 fs/xfs/scrub/dabtree.c if (blks[level].index >= ds.maxrecs[level]) { index 534 fs/xfs/scrub/dabtree.c blks[level - 1].index++; index 542 fs/xfs/scrub/dabtree.c blks[level].index); index 550 fs/xfs/scrub/dabtree.c blks[level].index++; index 556 fs/xfs/scrub/dabtree.c if (blks[level].index >= ds.maxrecs[level]) { index 558 fs/xfs/scrub/dabtree.c blks[level - 1].index++; index 565 fs/xfs/scrub/dabtree.c key = xchk_da_btree_entry(&ds, level, blks[level].index); index 585 fs/xfs/scrub/dabtree.c blks[level].index = 0; index 1028 fs/xfs/xfs_aops.c if (page->index < end_index) index 1029 fs/xfs/xfs_aops.c end_offset = (xfs_off_t)(page->index + 1) << PAGE_SHIFT; index 1061 fs/xfs/xfs_aops.c if (page->index > end_index || index 1062 fs/xfs/xfs_aops.c (page->index == end_index && offset_into_page == 0)) index 2354 fs/xfs/xfs_log.c int index; index 2388 fs/xfs/xfs_log.c index = 0; index 2391 fs/xfs/xfs_log.c while (lv && (!lv->lv_niovecs || index < lv->lv_niovecs)) { index 2411 fs/xfs/xfs_log.c while (lv && (!lv->lv_niovecs || index < lv->lv_niovecs)) { index 2426 fs/xfs/xfs_log.c reg = &vecp[index]; index 2494 fs/xfs/xfs_log.c if (++index == lv->lv_niovecs) { index 2497 fs/xfs/xfs_log.c index = 0; index 180 fs/xfs/xfs_mount.c xfs_agnumber_t index; index 190 fs/xfs/xfs_mount.c for (index = 0; index < agcount; index++) { index 191 fs/xfs/xfs_mount.c pag = xfs_perag_get(mp, index); index 200 fs/xfs/xfs_mount.c pag->pag_agno = index; index 216 fs/xfs/xfs_mount.c if (radix_tree_insert(&mp->m_perag_tree, index, pag)) { index 227 fs/xfs/xfs_mount.c first_initialised = index; index 234 fs/xfs/xfs_mount.c index = xfs_set_inode_alloc(mp, agcount); index 237 fs/xfs/xfs_mount.c *maxagi = index; index 249 fs/xfs/xfs_mount.c for (index = first_initialised; index < agcount; index++) { index 250 fs/xfs/xfs_mount.c pag = radix_tree_delete(&mp->m_perag_tree, index); index 561 fs/xfs/xfs_super.c xfs_agnumber_t index; index 598 fs/xfs/xfs_super.c for (index = 0; index < agcount; index++) { index 601 fs/xfs/xfs_super.c ino = XFS_AGINO_TO_INO(mp, index, agino); index 603 fs/xfs/xfs_super.c pag = xfs_perag_get(mp, index); index 612 fs/xfs/xfs_super.c if (index < max_metadata) index 70 include/acpi/acpi_drivers.h int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering, index 387 include/acpi/acpiosxf.h acpi_os_get_table_by_index(u32 index, index 264 include/acpi/acrestyp.h u8 index; index 1554 include/acpi/actbl1.h u8 index; index 68 include/acpi/processor.h u8 index; index 82 include/acpi/processor.h u8 index; index 751 include/asm-generic/vmlinux.lds.h .stab.index 0 : { *(.stab.index) } \ index 579 include/drm/drm_atomic.h int index = drm_connector_index(connector); index 581 include/drm/drm_atomic.h if (index >= state->num_connector) index 584 include/drm/drm_atomic.h return state->connectors[index].state; index 599 include/drm/drm_atomic.h int index = drm_connector_index(connector); index 601 include/drm/drm_atomic.h if (index >= state->num_connector) index 604 include/drm/drm_atomic.h return state->connectors[index].old_state; index 619 include/drm/drm_atomic.h int index = drm_connector_index(connector); index 621 include/drm/drm_atomic.h if (index >= state->num_connector) index 624 include/drm/drm_atomic.h return state->connectors[index].new_state; index 1119 include/drm/drm_connector.h unsigned index; index 1436 include/drm/drm_connector.h return connector->index; index 1441 include/drm/drm_connector.h return 1 << connector->index; index 933 include/drm/drm_crtc.h unsigned index; index 1161 include/drm/drm_crtc.h return crtc->index; index 137 include/drm/drm_encoder.h unsigned index; index 197 include/drm/drm_encoder.h return encoder->index; index 71 include/drm/drm_file.h int index; /* Minor device number */ index 500 include/drm/drm_modes.h int index); index 645 include/drm/drm_plane.h unsigned index; index 739 include/drm/drm_plane.h return plane->index; index 195 include/kvm/arm_vgic.h u32 index; index 435 include/linux/acpi.h bool acpi_dev_resource_interrupt(struct acpi_resource *ares, int index, index 1015 include/linux/acpi.h int acpi_dev_gpio_irq_get(struct acpi_device *adev, int index); index 1022 include/linux/acpi.h static inline int acpi_dev_gpio_irq_get(struct acpi_device *adev, int index) index 1034 include/linux/acpi.h const char *name, size_t index, size_t num_args, index 1039 include/linux/acpi.h const char *name, size_t index, index 1042 include/linux/acpi.h return __acpi_node_get_property_reference(fwnode, name, index, index 1134 include/linux/acpi.h const char *name, size_t index, size_t num_args, index 1142 include/linux/acpi.h const char *name, size_t index, index 1250 include/linux/acpi.h int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res); index 1253 include/linux/acpi.h int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res) index 71 include/linux/acpi_dma.h size_t index); index 102 include/linux/acpi_dma.h struct device *dev, size_t index) index 59 include/linux/adb.h int adb_unregister(int index); index 150 include/linux/bitops.h static inline __s32 sign_extend32(__u32 value, int index) index 152 include/linux/bitops.h __u8 shift = 31 - index; index 161 include/linux/bitops.h static inline __s64 sign_extend64(__u64 value, int index) index 163 include/linux/bitops.h __u8 shift = 63 - index; index 85 include/linux/btree-128.h size_t index, void *__func); index 88 include/linux/btree-128.h u64 key1, u64 key2, size_t index); index 117 include/linux/btree-type.h size_t index, void *__func); index 120 include/linux/btree-type.h BTREE_KEYTYPE key, size_t index); index 194 include/linux/btree.h unsigned long *key, size_t index, index 203 include/linux/btree.h size_t index, void *func2), index 273 include/linux/can/dev/peak_canfd.h static inline __le16 pucan_cmd_opcode_channel(int index, int opcode) index 275 include/linux/can/dev/peak_canfd.h return cpu_to_le16(((index) << 12) | ((opcode) & 0x3ff)); index 763 include/linux/cgroup.h void cpuacct_account_field(struct task_struct *tsk, int index, u64 val); index 766 include/linux/cgroup.h static inline void cpuacct_account_field(struct task_struct *tsk, int index, index 772 include/linux/cgroup.h enum cpu_usage_stat index, u64 delta_exec); index 789 include/linux/cgroup.h enum cpu_usage_stat index, index 794 include/linux/cgroup.h cpuacct_account_field(task, index, delta_exec); index 799 include/linux/cgroup.h __cgroup_account_cputime_field(cgrp, index, delta_exec); index 808 include/linux/cgroup.h enum cpu_usage_stat index, index 45 include/linux/cgroup_rdma.h enum rdmacg_resource_type index); index 48 include/linux/cgroup_rdma.h enum rdmacg_resource_type index); index 231 include/linux/clk-provider.h int (*set_parent)(struct clk_hw *hw, u8 index); index 237 include/linux/clk-provider.h unsigned long parent_rate, u8 index); index 261 include/linux/clk-provider.h int index; index 582 include/linux/clk-provider.h unsigned int clk_mux_index_to_val(u32 *table, unsigned int flags, u8 index); index 820 include/linux/clk-provider.h unsigned int index); index 1052 include/linux/clk-provider.h int of_clk_detect_critical(struct device_node *np, int index, index 1105 include/linux/clk-provider.h static inline int of_clk_detect_critical(struct device_node *np, int index, index 966 include/linux/clk.h struct clk *of_clk_get(struct device_node *np, int index); index 970 include/linux/clk.h static inline struct clk *of_clk_get(struct device_node *np, int index) index 29 include/linux/clk/ti.h u8 index; index 265 include/linux/clk/ti.h int omap2_clk_provider_init(struct device_node *parent, int index, index 267 include/linux/clk/ti.h void omap2_clk_legacy_provider_init(int index, void __iomem *mem); index 154 include/linux/console.h short index; index 188 include/linux/console.h extern int braille_register_console(struct console *, int index, index 206 include/linux/console.h void vcs_make_sysfs(int index); index 207 include/linux/console.h void vcs_remove_sysfs(int index); index 29 include/linux/cpu_rmap.h u16 index; index 39 include/linux/cpu_rmap.h extern int cpu_rmap_update(struct cpu_rmap *rmap, u16 index, index 44 include/linux/cpu_rmap.h return rmap->near[cpu].index; index 49 include/linux/cpu_rmap.h return rmap->obj[rmap->near[cpu].index]; index 312 include/linux/cpufreq.h unsigned int index); index 341 include/linux/cpufreq.h unsigned int index); index 343 include/linux/cpufreq.h unsigned int index); index 56 include/linux/cpuidle.h int index); index 58 include/linux/cpuidle.h int (*enter_dead) (struct cpuidle_device *dev, int index); index 67 include/linux/cpuidle.h int index); index 138 include/linux/cpuidle.h struct cpuidle_device *dev, int index); index 139 include/linux/cpuidle.h extern void cpuidle_reflect(struct cpuidle_device *dev, int index); index 173 include/linux/cpuidle.h struct cpuidle_device *dev, int index) index 175 include/linux/cpuidle.h static inline void cpuidle_reflect(struct cpuidle_device *dev, int index) { } index 258 include/linux/cpuidle.h void (*reflect) (struct cpuidle_device *dev, int index); index 220 include/linux/dax.h int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index); index 222 include/linux/dax.h pgoff_t index); index 109 include/linux/devfreq-event.h struct device *dev, int index); index 155 include/linux/devfreq-event.h struct device *dev, int index) index 242 include/linux/devfreq.h int index); index 396 include/linux/devfreq.h int index) index 951 include/linux/device.h struct device_node *node, int index, index 17 include/linux/dsa/8021q.h int dsa_port_setup_8021q_tagging(struct dsa_switch *ds, int index, index 33 include/linux/dsa/8021q.h int dsa_port_setup_8021q_tagging(struct dsa_switch *ds, int index, index 158 include/linux/efi.h long index; index 96 include/linux/ethtool.h static inline u32 ethtool_rxfh_indir_default(u32 index, u32 n_rx_rings) index 98 include/linux/ethtool.h return index % n_rx_rings; index 227 include/linux/extcon.h int index); index 285 include/linux/extcon.h int index) index 320 include/linux/fb.h __u32 index; /* what tile to use: index to tile map */ index 726 include/linux/fb.h int index); index 115 include/linux/firewire.h int index; index 930 include/linux/fs.h static inline int ra_has_index(struct file_ra_state *ra, pgoff_t index) index 932 include/linux/fs.h return (index >= ra->start && index 933 include/linux/fs.h index < ra->start + ra->size); index 62 include/linux/fs_enet_pd.h static inline int fs_fec_index2id(int index) index 64 include/linux/fs_enet_pd.h int id = fsid_fec1 + index - 1; index 70 include/linux/fs_enet_pd.h static inline int fs_fcc_index2id(int index) index 72 include/linux/fs_enet_pd.h int id = fsid_fcc1 + index - 1; index 78 include/linux/fs_enet_pd.h static inline int fs_scc_index2id(int index) index 80 include/linux/fs_enet_pd.h int id = fsid_scc1 + index - 1; index 55 include/linux/fsl/bestcomm/bestcomm.h unsigned short index; index 108 include/linux/fsl/bestcomm/bestcomm.h return ((tsk->index + 1) == tsk->num_bd) ? 0 : tsk->index + 1; index 129 include/linux/fsl/bestcomm/bestcomm.h return tsk->index == tsk->outdex; index 148 include/linux/fsl/bestcomm/bestcomm.h *bcom_get_bd(struct bcom_task *tsk, unsigned int index) index 152 include/linux/fsl/bestcomm/bestcomm.h return ((void *)tsk->bd) + (index * tsk->bd_size); index 181 include/linux/fsl/bestcomm/bestcomm.h bd = bcom_get_bd(tsk, tsk->index); index 189 include/linux/fsl/bestcomm/bestcomm.h struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index); index 191 include/linux/fsl/bestcomm/bestcomm.h tsk->cookie[tsk->index] = cookie; index 194 include/linux/fsl/bestcomm/bestcomm.h tsk->index = _bcom_next_index(tsk); index 90 include/linux/fsverity.h pgoff_t index); index 106 include/linux/fsverity.h u64 index, int log_blocksize); index 94 include/linux/fwnode.h unsigned int nargs, unsigned int index, index 214 include/linux/genalloc.h const char *propname, int index); index 217 include/linux/genalloc.h const char *propname, int index) index 76 include/linux/gpio/consumer.h unsigned int index, index 99 include/linux/gpio/consumer.h unsigned int index, enum gpiod_flags flags); index 177 include/linux/gpio/consumer.h const char *propname, int index, index 181 include/linux/gpio/consumer.h const char *con_id, int index, index 217 include/linux/gpio/consumer.h unsigned int index, enum gpiod_flags flags) index 287 include/linux/gpio/consumer.h unsigned int index, enum gpiod_flags flags) index 534 include/linux/gpio/consumer.h const char *propname, int index, index 543 include/linux/gpio/consumer.h const char *con_id, int index, index 568 include/linux/gpio/consumer.h const char *propname, int index, index 578 include/linux/gpio/consumer.h const char *propname, int index, index 592 include/linux/gpio/consumer.h const char *propname, int index, index 603 include/linux/gpio/consumer.h const char *propname, int index, index 2043 include/linux/greybus/greybus_protocols.h __u8 index; /* Selection within the control */ index 2075 include/linux/greybus/greybus_protocols.h __u8 index; index 2084 include/linux/greybus/greybus_protocols.h __u8 index; index 30 include/linux/hid-sensor-hub.h s32 index; index 466 include/linux/hid.h unsigned index; /* index into report->field[] */ index 160 include/linux/hrtimer.h unsigned int index; index 462 include/linux/hugetlb.h static inline unsigned hstate_index_to_shift(unsigned index) index 464 include/linux/hugetlb.h return hstates[index].order + PAGE_SHIFT; index 478 include/linux/hugetlb.h return page->index; index 686 include/linux/hugetlb.h static inline unsigned hstate_index_to_shift(unsigned index) index 698 include/linux/hugetlb.h return page->index; index 14 include/linux/hwmon-sysfs.h int index; index 21 include/linux/hwmon-sysfs.h .index = _index } index 47 include/linux/hwmon-sysfs.h u8 index; index 55 include/linux/hwmon-sysfs.h .index = _index, \ index 64 include/linux/hwspinlock.h int of_hwspin_lock_get_id(struct device_node *np, int index); index 130 include/linux/hwspinlock.h static inline int of_hwspin_lock_get_id(struct device_node *np, int index) index 984 include/linux/i2c.h struct i2c_client *i2c_acpi_new_device(struct device *dev, int index, index 998 include/linux/i2c.h int index, struct i2c_board_info *info) index 734 include/linux/ide.h u8 index; /* 0 for ide0; 1 for ide1; ... */ index 1244 include/linux/ieee80211.h u8 index; index 3276 include/linux/ieee80211.h u8 index, indexn1, indexn2; index 3282 include/linux/ieee80211.h index = aid / 8; index 3288 include/linux/ieee80211.h if (index < indexn1 || index > indexn2) index 3291 include/linux/ieee80211.h index -= indexn1; index 3293 include/linux/ieee80211.h return !!(tim->virtual_map[index] & mask); index 33 include/linux/if_team.h int index; /* index of enabled port. If disabled, it's set to -1 */ index 80 include/linux/if_team.h return port->index != -1; index 258 include/linux/if_team.h if (port->index == port_index) index 279 include/linux/if_team.h if (port->index == port_index) index 49 include/linux/iio/common/st_sensors.h #define ST_SENSORS_LSM_CHANNELS(device_type, mask, index, mod, \ index 56 include/linux/iio/common/st_sensors.h .scan_index = index, \ index 57 include/linux/inetdevice.h static inline int ipv4_devconf_get(struct in_device *in_dev, int index) index 59 include/linux/inetdevice.h index--; index 60 include/linux/inetdevice.h return in_dev->cnf.data[index]; index 63 include/linux/inetdevice.h static inline void ipv4_devconf_set(struct in_device *in_dev, int index, index 66 include/linux/inetdevice.h index--; index 67 include/linux/inetdevice.h set_bit(index, in_dev->cnf.state); index 68 include/linux/inetdevice.h in_dev->cnf.data[index] = val; index 18 include/linux/iommu-helper.h static inline int iommu_is_span_boundary(unsigned int index, unsigned int nr, index 23 include/linux/iommu-helper.h shift = (shift + index) & (boundary_size - 1); index 109 include/linux/iscsi_boot_sysfs.h iscsi_boot_create_initiator(struct iscsi_boot_kset *boot_kset, int index, index 116 include/linux/iscsi_boot_sysfs.h iscsi_boot_create_ethernet(struct iscsi_boot_kset *boot_kset, int index, index 122 include/linux/iscsi_boot_sysfs.h iscsi_boot_create_target(struct iscsi_boot_kset *boot_kset, int index, index 129 include/linux/iscsi_boot_sysfs.h iscsi_boot_create_acpitbl(struct iscsi_boot_kset *boot_kset, int index, index 649 include/linux/kvm_host.h int index = slots->id_to_index[id]; index 652 include/linux/kvm_host.h slot = &slots->memslots[index]; index 244 include/linux/lru_cache.h extern void lc_set(struct lru_cache *lc, unsigned int enr, int index); index 42 include/linux/mailbox_client.h struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index); index 51 include/linux/mfd/ipaq-micro.h u8 index; index 69 include/linux/mfd/ipaq-micro.h unsigned int index; index 119 include/linux/mfd/kempld.h extern u8 kempld_read8(struct kempld_device_data *pld, u8 index); index 120 include/linux/mfd/kempld.h extern void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data); index 121 include/linux/mfd/kempld.h extern u16 kempld_read16(struct kempld_device_data *pld, u8 index); index 122 include/linux/mfd/kempld.h extern void kempld_write16(struct kempld_device_data *pld, u8 index, u16 data); index 123 include/linux/mfd/kempld.h extern u32 kempld_read32(struct kempld_device_data *pld, u8 index); index 124 include/linux/mfd/kempld.h extern void kempld_write32(struct kempld_device_data *pld, u8 index, u32 data); index 502 include/linux/mfd/sta2x11-mfd.h enum sta2x11_mfd_plat_dev index, index 44 include/linux/mic_bus.h int index; index 83 include/linux/mic_bus.h struct mbus_hw_ops *hw_ops, int index, index 678 include/linux/mlx4/device.h int index; index 723 include/linux/mlx4/device.h int index; index 1412 include/linux/mlx4/device.h int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index); index 1596 include/linux/mlx4/device.h static inline int mlx4_to_hw_uar_index(struct mlx4_dev *dev, int index) index 1598 include/linux/mlx4/device.h return (index << (PAGE_SHIFT - dev->uar_page_shift)); index 401 include/linux/mlx5/driver.h u32 index; index 427 include/linux/mlx5/driver.h u32 index; index 515 include/linux/mlx5/driver.h u16 index; index 731 include/linux/mlx5/driver.h int index; index 1006 include/linux/mlx5/driver.h int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u16 *index, index 1020 include/linux/mlx5/driver.h int mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index, index 1384 include/linux/mm.h return page->index; index 1402 include/linux/mm.h return page->index == -1UL; index 1411 include/linux/mm.h page->index = -1UL; index 1416 include/linux/mm.h page->index = 0; index 87 include/linux/mm_types.h pgoff_t index; /* Our offset within mapping. */ index 274 include/linux/mmc/host.h int index; index 252 include/linux/mtd/mtd.h int index; index 142 include/linux/mtd/sh_flctl.h unsigned int index; index 720 include/linux/netdevice.h unsigned int index = hash & table->mask; index 726 include/linux/netdevice.h if (table->ents[index] != val) index 727 include/linux/netdevice.h table->ents[index] = val; index 2121 include/linux/netdevice.h unsigned int index) index 2123 include/linux/netdevice.h return &dev->_tx[index]; index 3433 include/linux/netdevice.h u16 index); index 3435 include/linux/netdevice.h u16 index, bool is_rxqs_map); index 3523 include/linux/netdevice.h u16 index) index 3530 include/linux/netdevice.h u16 index, bool is_rxqs_map) index 3571 include/linux/netdevice.h int index = queue - dev->_rx; index 3573 include/linux/netdevice.h BUG_ON(index >= dev->num_rx_queues); index 3574 include/linux/netdevice.h return index; index 322 include/linux/netfilter/ipset/ip_set.h extern void ip_set_put_byindex(struct net *net, ip_set_id_t index); index 323 include/linux/netfilter/ipset/ip_set.h extern void ip_set_name_byindex(struct net *net, ip_set_id_t index, char *name); index 324 include/linux/netfilter/ipset/ip_set.h extern ip_set_id_t ip_set_nfnl_get_byindex(struct net *net, ip_set_id_t index); index 325 include/linux/netfilter/ipset/ip_set.h extern void ip_set_nfnl_put(struct net *net, ip_set_id_t index); index 22 include/linux/nospec.h static inline unsigned long array_index_mask_nospec(unsigned long index, index 30 include/linux/nospec.h OPTIMIZER_HIDE_VAR(index); index 31 include/linux/nospec.h return ~(long)(index | (size - 1UL - index)) >> (BITS_PER_LONG - 1); index 49 include/linux/nospec.h #define array_index_nospec(index, size) \ index 51 include/linux/nospec.h typeof(index) _i = (index); \ index 40 include/linux/nsc_gpio.h extern void nsc_gpio_dump(struct nsc_gpio_ops *amp, unsigned index); index 311 include/linux/of.h u32 index, u32 *out_value); index 314 include/linux/of.h u32 index, u64 *out_value); index 342 include/linux/of.h const char **out_strs, size_t sz, int index); index 366 include/linux/of.h int index); index 368 include/linux/of.h const char *list_name, const char *cells_name, int index, index 371 include/linux/of.h const char *list_name, const char *stem_name, int index, index 374 include/linux/of.h const char *list_name, int cells_count, int index, index 551 include/linux/of.h bool of_console_check(struct device_node *dn, char *name, int index); index 739 include/linux/of.h const char *propname, u32 index, u32 *out_value) index 745 include/linux/of.h const char *propname, u32 index, u64 *out_value) index 832 include/linux/of.h const char **out_strs, size_t sz, int index) index 839 include/linux/of.h int index) index 847 include/linux/of.h int index, index 856 include/linux/of.h int index, index 863 include/linux/of.h const char *list_name, int cells_count, int index, index 919 include/linux/of.h static inline bool of_console_check(const struct device_node *dn, const char *name, int index) index 1160 include/linux/of.h int index, const char **output) index 1162 include/linux/of.h int rc = of_property_read_string_helper(np, propname, output, 1, index); index 34 include/linux/of_address.h extern int of_address_to_resource(struct device_node *dev, int index, index 40 include/linux/of_address.h extern void __iomem *of_iomap(struct device_node *device, int index); index 42 include/linux/of_address.h int index, const char *name); index 48 include/linux/of_address.h extern const __be32 *of_get_address(struct device_node *dev, int index, index 63 include/linux/of_address.h int index, const char *name) index 82 include/linux/of_address.h static inline const __be32 *of_get_address(struct device_node *dev, int index, index 120 include/linux/of_address.h extern int of_address_to_resource(struct device_node *dev, int index, index 122 include/linux/of_address.h void __iomem *of_iomap(struct device_node *node, int index); index 124 include/linux/of_address.h static inline int of_address_to_resource(struct device_node *dev, int index, index 130 include/linux/of_address.h static inline void __iomem *of_iomap(struct device_node *device, int index) index 12 include/linux/of_clk.h const char *of_clk_get_parent_name(struct device_node *np, int index); index 22 include/linux/of_clk.h int index) index 52 include/linux/of_gpio.h const char *list_name, int index, enum of_gpio_flags *flags); index 68 include/linux/of_gpio.h const char *list_name, int index, enum of_gpio_flags *flags) index 114 include/linux/of_gpio.h static inline int of_get_gpio_flags(struct device_node *np, int index, index 117 include/linux/of_gpio.h return of_get_named_gpio_flags(np, "gpios", index, flags); index 130 include/linux/of_gpio.h const char *propname, int index) index 132 include/linux/of_gpio.h return of_get_named_gpio_flags(np, propname, index, NULL); index 143 include/linux/of_gpio.h static inline int of_get_gpio(struct device_node *np, int index) index 145 include/linux/of_gpio.h return of_get_gpio_flags(np, index, NULL); index 12 include/linux/of_iommu.h int index, unsigned long *busno, dma_addr_t *addr, index 21 include/linux/of_iommu.h int index, unsigned long *busno, dma_addr_t *addr, index 23 include/linux/of_irq.h extern int of_irq_parse_oldworld(struct device_node *device, int index, index 28 include/linux/of_irq.h static inline int of_irq_parse_oldworld(struct device_node *device, int index, index 36 include/linux/of_irq.h extern int of_irq_parse_one(struct device_node *device, int index, index 39 include/linux/of_irq.h extern int of_irq_to_resource(struct device_node *dev, int index, index 46 include/linux/of_irq.h extern int of_irq_get(struct device_node *dev, int index); index 63 include/linux/of_irq.h static inline int of_irq_get(struct device_node *dev, int index) index 108 include/linux/of_irq.h extern unsigned int irq_of_parse_and_map(struct device_node *node, int index); index 112 include/linux/of_irq.h int index) index 232 include/linux/pagemap.h pgoff_t index, unsigned long max_scan); index 234 include/linux/pagemap.h pgoff_t index, unsigned long max_scan); index 329 include/linux/pagemap.h pgoff_t index) index 331 include/linux/pagemap.h return pagecache_get_page(mapping, index, index 363 include/linux/pagemap.h unsigned find_get_pages_range_tag(struct address_space *mapping, pgoff_t *index, index 367 include/linux/pagemap.h pgoff_t *index, xa_mark_t tag, unsigned int nr_pages, index 370 include/linux/pagemap.h return find_get_pages_range_tag(mapping, index, (pgoff_t)-1, tag, index 375 include/linux/pagemap.h pgoff_t index, unsigned flags); index 381 include/linux/pagemap.h pgoff_t index) index 383 include/linux/pagemap.h return find_or_create_page(mapping, index, mapping_gfp_mask(mapping)); index 387 include/linux/pagemap.h pgoff_t index, filler_t *filler, void *data); index 389 include/linux/pagemap.h pgoff_t index, gfp_t gfp_mask); index 394 include/linux/pagemap.h pgoff_t index, void *data) index 396 include/linux/pagemap.h return read_cache_page(mapping, index, NULL, data); index 408 include/linux/pagemap.h return page->index; index 414 include/linux/pagemap.h pgoff = compound_head(page)->index; index 426 include/linux/pagemap.h return page->index << compound_order(page); index 436 include/linux/pagemap.h return ((loff_t)page->index) << PAGE_SHIFT; index 608 include/linux/pagemap.h pgoff_t index, gfp_t gfp_mask); index 610 include/linux/pagemap.h pgoff_t index, gfp_t gfp_mask); index 44 include/linux/pagevec.h struct address_space *mapping, pgoff_t *index, pgoff_t end, index 47 include/linux/pagevec.h struct address_space *mapping, pgoff_t *index, pgoff_t end, index 50 include/linux/pagevec.h struct address_space *mapping, pgoff_t *index, xa_mark_t tag) index 52 include/linux/pagevec.h return pagevec_lookup_range_tag(pvec, mapping, index, (pgoff_t)-1, tag); index 46 include/linux/parman.h unsigned long index; index 731 include/linux/perf_event.h u64 index; index 235 include/linux/phy/phy.h int index); index 416 include/linux/phy/phy.h int index) index 1753 include/linux/platform_data/cros_ec_commands.h uint8_t index; /* Type-specific index, or 0 if unique */ index 1760 include/linux/platform_data/cros_ec_commands.h uint8_t index; /* Type-specific index, or 0 if unique */ index 3070 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 3082 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 3099 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 3111 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 3710 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 3859 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 3869 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 5570 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 5605 include/linux/platform_data/cros_ec_commands.h uint8_t index; index 15 include/linux/platform_data/davinci-cpufreq.h int (*set_voltage)(unsigned int index); index 33 include/linux/platform_data/media/si4713.h __u32 index; /* modulator index */ index 59 include/linux/platform_device.h unsigned int index); index 295 include/linux/pm_domain.h unsigned int index); index 344 include/linux/pm_domain.h unsigned int index) index 365 include/linux/pm_domain.h unsigned int index); index 376 include/linux/pm_domain.h unsigned int index) index 79 include/linux/pm_opp.h struct opp_table *dev_pm_opp_get_opp_table_indexed(struct device *dev, int index); index 147 include/linux/pm_opp.h static inline struct opp_table *dev_pm_opp_get_opp_table_indexed(struct device *dev, int index) index 342 include/linux/pm_opp.h int dev_pm_opp_of_add_table_indexed(struct device *dev, int index); index 349 include/linux/pm_opp.h int of_get_required_opp_performance_state(struct device_node *np, int index); index 357 include/linux/pm_opp.h static inline int dev_pm_opp_of_add_table_indexed(struct device *dev, int index) index 394 include/linux/pm_opp.h static inline int of_get_required_opp_performance_state(struct device_node *np, int index) index 186 include/linux/power/smartreflex.h #define sr_test_cond_timeout(cond, timeout, index) \ index 188 include/linux/power/smartreflex.h for (index = 0; index < timeout; index++) { \ index 76 include/linux/property.h unsigned int nargs, unsigned int index, index 81 include/linux/property.h unsigned int index); index 114 include/linux/property.h int fwnode_irq_get(struct fwnode_handle *fwnode, unsigned int index); index 165 include/linux/ptp_clock_kernel.h int index; index 401 include/linux/pwm.h unsigned int index, index 488 include/linux/pwm.h unsigned int index, index 571 include/linux/pwm.h unsigned int index; index 583 include/linux/pwm.h .index = _index, \ index 407 include/linux/qcom-geni-se.h unsigned int *index, unsigned long *res_freq, index 916 include/linux/qed/qed_if.h int index, index 920 include/linux/qed/qed_if.h int index); index 95 include/linux/radix-tree.h unsigned long index; index 207 include/linux/radix-tree.h int radix_tree_insert(struct radix_tree_root *, unsigned long index, index 209 include/linux/radix-tree.h void *__radix_tree_lookup(const struct radix_tree_root *, unsigned long index, index 213 include/linux/radix-tree.h unsigned long index); index 231 include/linux/radix-tree.h unsigned long index, unsigned int tag); index 233 include/linux/radix-tree.h unsigned long index, unsigned int tag); index 235 include/linux/radix-tree.h unsigned long index, unsigned int tag); index 279 include/linux/radix-tree.h iter->index = 0; index 312 include/linux/radix-tree.h struct radix_tree_iter *iter, unsigned long index) index 314 include/linux/radix-tree.h radix_tree_iter_init(iter, index); index 330 include/linux/radix-tree.h iter->next_index = iter->index; index 338 include/linux/radix-tree.h return iter->index + slots; index 363 include/linux/radix-tree.h return iter->next_index - iter->index; index 393 include/linux/radix-tree.h iter->index = __radix_tree_iter_add(iter, 1); index 401 include/linux/radix-tree.h iter->index = __radix_tree_iter_add(iter, offset); index 410 include/linux/radix-tree.h iter->index = __radix_tree_iter_add(iter, 1); index 505 include/linux/remoteproc.h int index; index 584 include/linux/remoteproc.h u32 index; index 41 include/linux/reset-controller.h unsigned int index; index 49 include/linux/reset-controller.h .index = _index, \ index 23 include/linux/reset.h const char *id, int index, bool shared, index 26 include/linux/reset.h int index, bool shared, index 31 include/linux/reset.h const char *id, int index, bool shared, index 84 include/linux/reset.h const char *id, int index, bool shared, index 92 include/linux/reset.h int index, bool shared, bool optional, index 100 include/linux/reset.h int index, bool shared, bool optional, index 271 include/linux/reset.h struct device_node *node, int index) index 273 include/linux/reset.h return __of_reset_control_get(node, NULL, index, false, false, true); index 299 include/linux/reset.h struct device_node *node, int index) index 301 include/linux/reset.h return __of_reset_control_get(node, NULL, index, true, false, false); index 382 include/linux/reset.h devm_reset_control_get_exclusive_by_index(struct device *dev, int index) index 384 include/linux/reset.h return __devm_reset_control_get(dev, NULL, index, false, false, true); index 398 include/linux/reset.h devm_reset_control_get_shared_by_index(struct device *dev, int index) index 400 include/linux/reset.h return __devm_reset_control_get(dev, NULL, index, true, false, false); index 418 include/linux/reset.h struct device_node *node, int index) index 420 include/linux/reset.h return of_reset_control_get_exclusive_by_index(node, index); index 437 include/linux/reset.h struct device *dev, int index) index 439 include/linux/reset.h return devm_reset_control_get_exclusive_by_index(dev, index); index 279 include/linux/rio.h unsigned char index; /* port index, unique among all port index 400 include/linux/rio.h int (*lcread) (struct rio_mport *mport, int index, u32 offset, int len, index 402 include/linux/rio.h int (*lcwrite) (struct rio_mport *mport, int index, u32 offset, int len, index 404 include/linux/rio.h int (*cread) (struct rio_mport *mport, int index, u16 destid, index 406 include/linux/rio.h int (*cwrite) (struct rio_mport *mport, int index, u16 destid, index 408 include/linux/rio.h int (*dsend) (struct rio_mport *mport, int index, u16 destid, u16 data); index 247 include/linux/sbitmap.h unsigned int index; index 253 include/linux/sbitmap.h index = SB_NR_TO_INDEX(sb, start); index 259 include/linux/sbitmap.h sb->map[index].depth - nr, index 263 include/linux/sbitmap.h word = sb->map[index].word & ~sb->map[index].cleared; index 277 include/linux/sbitmap.h if (!fn(sb, (index << sb->shift) + nr, data)) index 284 include/linux/sbitmap.h if (++index >= sb->map_nr) index 285 include/linux/sbitmap.h index = 0; index 499 include/linux/sbitmap.h static inline int sbq_index_inc(int index) index 501 include/linux/sbitmap.h return (index + 1) & (SBQ_WAIT_QUEUES - 1); index 504 include/linux/sbitmap.h static inline void sbq_index_atomic_inc(atomic_t *index) index 506 include/linux/sbitmap.h int old = atomic_read(index); index 508 include/linux/sbitmap.h atomic_cmpxchg(index, old, new); index 2 include/linux/scx200_gpio.h u32 scx200_gpio_configure(unsigned index, u32 set, u32 clear); index 11 include/linux/scx200_gpio.h #define __SCx200_GPIO_BANK unsigned bank = index>>5 index 14 include/linux/scx200_gpio.h #define __SCx200_GPIO_INDEX index &= 31 index 20 include/linux/scx200_gpio.h static inline int scx200_gpio_get(unsigned index) { index 25 include/linux/scx200_gpio.h return (inl(ioaddr) & (1<<index)) ? 1 : 0; index 32 include/linux/scx200_gpio.h static inline int scx200_gpio_current(unsigned index) { index 36 include/linux/scx200_gpio.h return (scx200_gpio_shadow[bank] & (1<<index)) ? 1 : 0; index 41 include/linux/scx200_gpio.h static inline void scx200_gpio_set_high(unsigned index) { index 46 include/linux/scx200_gpio.h set_bit(index, shadow); /* __set_bit()? */ index 52 include/linux/scx200_gpio.h static inline void scx200_gpio_set_low(unsigned index) { index 57 include/linux/scx200_gpio.h clear_bit(index, shadow); /* __clear_bit()? */ index 63 include/linux/scx200_gpio.h static inline void scx200_gpio_set(unsigned index, int state) { index 69 include/linux/scx200_gpio.h set_bit(index, shadow); index 71 include/linux/scx200_gpio.h clear_bit(index, shadow); index 76 include/linux/scx200_gpio.h static inline void scx200_gpio_change(unsigned index) { index 81 include/linux/scx200_gpio.h change_bit(index, shadow); index 22 include/linux/seq_file.h loff_t index; index 24 include/linux/serial_core.h ((port)->cons && (port)->cons->index == (port)->line) index 402 include/linux/serial_core.h struct tty_driver *uart_console_device(struct console *co, int *index); index 526 include/linux/serial_core.h if (port->cons && port->cons->index == port->line) { index 75 include/linux/shmem_fs.h pgoff_t index, gfp_t gfp_mask); index 94 include/linux/shmem_fs.h extern int shmem_getpage(struct inode *inode, pgoff_t index, index 98 include/linux/shmem_fs.h struct address_space *mapping, pgoff_t index) index 100 include/linux/shmem_fs.h return shmem_read_mapping_page_gfp(mapping, index, index 546 include/linux/slab.h unsigned int index; index 551 include/linux/slab.h index = kmalloc_index(size); index 553 include/linux/slab.h if (!index) index 557 include/linux/slab.h kmalloc_caches[kmalloc_type(flags)][index], index 36 include/linux/soc/mediatek/mtk-cmdq.h struct cmdq_client *cmdq_mbox_create(struct device *dev, int index, index 21 include/linux/soc/ti/ti_sci_inta_msi.h unsigned int ti_sci_inta_msi_get_virq(struct device *dev, u32 index); index 275 include/linux/soc/ti/ti_sci_protocol.h u32 valid_params, u16 nav_id, u16 index, index 280 include/linux/soc/ti/ti_sci_protocol.h u32 nav_id, u32 index, u8 *mode, index 346 include/linux/soc/ti/ti_sci_protocol.h u16 index; index 377 include/linux/soc/ti/ti_sci_protocol.h u16 index; index 36 include/linux/ssb/ssb_driver_extif.h #define SSB_EXTIF_GPIO_OUT(index) ({ \ index 37 include/linux/ssb/ssb_driver_extif.h BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \ index 38 include/linux/ssb/ssb_driver_extif.h SSB_EXTIF_GPIO_OUT_BASE + ((index) * 8); \ index 40 include/linux/ssb/ssb_driver_extif.h #define SSB_EXTIF_GPIO_OUTEN(index) ({ \ index 41 include/linux/ssb/ssb_driver_extif.h BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \ index 42 include/linux/ssb/ssb_driver_extif.h SSB_EXTIF_GPIO_OUTEN_BASE + ((index) * 8); \ index 71 include/linux/svga.h static inline void svga_wattr(void __iomem *regbase, u8 index, u8 data) index 74 include/linux/svga.h vga_w(regbase, VGA_ATT_IW, index); index 80 include/linux/svga.h static inline void svga_wseq_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) index 82 include/linux/svga.h vga_wseq(regbase, index, (data & mask) | (vga_rseq(regbase, index) & ~mask)); index 87 include/linux/svga.h static inline void svga_wcrt_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) index 89 include/linux/svga.h vga_wcrt(regbase, index, (data & mask) | (vga_rcrt(regbase, index) & ~mask)); index 223 include/linux/swap.h struct swap_cluster_info index; /* Current cluster index */ index 80 include/linux/thunderbolt.h int index; index 291 include/linux/tty.h int index; index 482 include/linux/tty.h unsigned index, struct device *dev); index 484 include/linux/tty.h unsigned index, struct device *device, index 487 include/linux/tty.h extern void tty_unregister_device(struct tty_driver *driver, unsigned index); index 578 include/linux/tty.h struct tty_driver *driver, unsigned index); index 580 include/linux/tty.h struct tty_driver *driver, unsigned index, index 583 include/linux/tty.h struct tty_driver *driver, unsigned index, index 587 include/linux/tty.h struct tty_driver *driver, unsigned index, index 590 include/linux/tty.h struct tty_driver *driver, unsigned index, index 594 include/linux/tty.h struct tty_driver *driver, unsigned index); index 749 include/linux/usb.h extern int usb_acpi_set_power_state(struct usb_device *hdev, int index, index 751 include/linux/usb.h extern bool usb_acpi_power_manageable(struct usb_device *hdev, int index); index 753 include/linux/usb.h static inline int usb_acpi_set_power_state(struct usb_device *hdev, int index, index 755 include/linux/usb.h static inline bool usb_acpi_power_manageable(struct usb_device *hdev, int index) index 1784 include/linux/usb.h __u8 request, __u8 requesttype, __u16 value, __u16 index, index 1811 include/linux/usb.h extern int usb_string(struct usb_device *dev, int index, index 222 include/linux/usb/phy.h const char *phandle, u8 index); index 247 include/linux/usb/phy.h const char *phandle, u8 index) index 138 include/linux/usb/typec.h enum typec_plug_index index; index 107 include/linux/usb/typec_altmode.h enum typec_plug_index index); index 188 include/linux/usb/usbnet.h u16 value, u16 index, void *data, u16 size); index 190 include/linux/usb/usbnet.h u16 value, u16 index, const void *data, u16 size); index 192 include/linux/usb/usbnet.h u16 value, u16 index, void *data, u16 size); index 194 include/linux/usb/usbnet.h u16 value, u16 index, const void *data, u16 size); index 196 include/linux/usb/usbnet.h u16 value, u16 index, const void *data, u16 size); index 190 include/linux/via-core.h static inline u8 via_read_reg(u16 port, u8 index) index 192 include/linux/via-core.h outb(index, port); index 196 include/linux/via-core.h static inline void via_write_reg(u16 port, u8 index, u8 data) index 198 include/linux/via-core.h outb(index, port); index 202 include/linux/via-core.h static inline void via_write_reg_mask(u16 port, u8 index, u8 data, u8 mask) index 206 include/linux/via-core.h outb(index, port); index 21 include/linux/via_i2c.h int viafb_i2c_readbyte(u8 adap, u8 slave_addr, u8 index, u8 *pdata); index 22 include/linux/via_i2c.h int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data); index 23 include/linux/via_i2c.h int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len); index 33 include/linux/virtio.h unsigned int index; index 109 include/linux/virtio.h int index; index 90 include/linux/virtio_config.h int index); index 69 include/linux/virtio_ring.h struct virtqueue *vring_create_virtqueue(unsigned int index, index 81 include/linux/virtio_ring.h struct virtqueue *__vring_new_virtqueue(unsigned int index, index 94 include/linux/virtio_ring.h struct virtqueue *vring_new_virtqueue(unsigned int index, index 424 include/linux/wimax/debug.h int index = -1; index 427 include/linux/wimax/debug.h index++; index 430 include/linux/wimax/debug.h tag, itr, index); index 347 include/linux/xarray.h void *xa_load(struct xarray *, unsigned long index); index 348 include/linux/xarray.h void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t); index 349 include/linux/xarray.h void *xa_erase(struct xarray *, unsigned long index); index 352 include/linux/xarray.h bool xa_get_mark(struct xarray *, unsigned long index, xa_mark_t); index 353 include/linux/xarray.h void xa_set_mark(struct xarray *, unsigned long index, xa_mark_t); index 354 include/linux/xarray.h void xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t); index 355 include/linux/xarray.h void *xa_find(struct xarray *xa, unsigned long *index, index 357 include/linux/xarray.h void *xa_find_after(struct xarray *xa, unsigned long *index, index 442 include/linux/xarray.h #define xa_for_each_start(xa, index, entry, start) \ index 443 include/linux/xarray.h for (index = start, \ index 444 include/linux/xarray.h entry = xa_find(xa, &index, ULONG_MAX, XA_PRESENT); \ index 446 include/linux/xarray.h entry = xa_find_after(xa, &index, ULONG_MAX, XA_PRESENT)) index 469 include/linux/xarray.h #define xa_for_each(xa, index, entry) \ index 470 include/linux/xarray.h xa_for_each_start(xa, index, entry, 0) index 496 include/linux/xarray.h #define xa_for_each_marked(xa, index, entry, filter) \ index 497 include/linux/xarray.h for (index = 0, entry = xa_find(xa, &index, ULONG_MAX, filter); \ index 498 include/linux/xarray.h entry; entry = xa_find_after(xa, &index, ULONG_MAX, filter)) index 519 include/linux/xarray.h void *__xa_erase(struct xarray *, unsigned long index); index 520 include/linux/xarray.h void *__xa_store(struct xarray *, unsigned long index, void *entry, gfp_t); index 521 include/linux/xarray.h void *__xa_cmpxchg(struct xarray *, unsigned long index, void *old, index 523 include/linux/xarray.h int __must_check __xa_insert(struct xarray *, unsigned long index, index 529 include/linux/xarray.h void __xa_set_mark(struct xarray *, unsigned long index, xa_mark_t); index 530 include/linux/xarray.h void __xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t); index 546 include/linux/xarray.h static inline void *xa_store_bh(struct xarray *xa, unsigned long index, index 552 include/linux/xarray.h curr = __xa_store(xa, index, entry, gfp); index 572 include/linux/xarray.h static inline void *xa_store_irq(struct xarray *xa, unsigned long index, index 578 include/linux/xarray.h curr = __xa_store(xa, index, entry, gfp); index 597 include/linux/xarray.h static inline void *xa_erase_bh(struct xarray *xa, unsigned long index) index 602 include/linux/xarray.h entry = __xa_erase(xa, index); index 621 include/linux/xarray.h static inline void *xa_erase_irq(struct xarray *xa, unsigned long index) index 626 include/linux/xarray.h entry = __xa_erase(xa, index); index 647 include/linux/xarray.h static inline void *xa_cmpxchg(struct xarray *xa, unsigned long index, index 653 include/linux/xarray.h curr = __xa_cmpxchg(xa, index, old, entry, gfp); index 674 include/linux/xarray.h static inline void *xa_cmpxchg_bh(struct xarray *xa, unsigned long index, index 680 include/linux/xarray.h curr = __xa_cmpxchg(xa, index, old, entry, gfp); index 701 include/linux/xarray.h static inline void *xa_cmpxchg_irq(struct xarray *xa, unsigned long index, index 707 include/linux/xarray.h curr = __xa_cmpxchg(xa, index, old, entry, gfp); index 731 include/linux/xarray.h unsigned long index, void *entry, gfp_t gfp) index 736 include/linux/xarray.h err = __xa_insert(xa, index, entry, gfp); index 760 include/linux/xarray.h unsigned long index, void *entry, gfp_t gfp) index 765 include/linux/xarray.h err = __xa_insert(xa, index, entry, gfp); index 789 include/linux/xarray.h unsigned long index, void *entry, gfp_t gfp) index 794 include/linux/xarray.h err = __xa_insert(xa, index, entry, gfp); index 1005 include/linux/xarray.h int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) index 1007 include/linux/xarray.h return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp)); index 1023 include/linux/xarray.h int xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp) index 1025 include/linux/xarray.h return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp)); index 1041 include/linux/xarray.h int xa_reserve_irq(struct xarray *xa, unsigned long index, gfp_t gfp) index 1043 include/linux/xarray.h return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp)); index 1055 include/linux/xarray.h static inline void xa_release(struct xarray *xa, unsigned long index) index 1057 include/linux/xarray.h xa_cmpxchg(xa, index, XA_ZERO_ENTRY, NULL, 0); index 1291 include/linux/xarray.h #define __XA_STATE(array, index, shift, sibs) { \ index 1293 include/linux/xarray.h .xa_index = index, \ index 1311 include/linux/xarray.h #define XA_STATE(name, array, index) \ index 1312 include/linux/xarray.h struct xa_state name = __XA_STATE(array, index, 0, 0) index 1325 include/linux/xarray.h #define XA_STATE_ORDER(name, array, index, order) \ index 1327 include/linux/xarray.h (index >> order) << order, \ index 1505 include/linux/xarray.h static inline void xas_set(struct xa_state *xas, unsigned long index) index 1507 include/linux/xarray.h xas->xa_index = index; index 1517 include/linux/xarray.h static inline void xas_set_order(struct xa_state *xas, unsigned long index, index 1521 include/linux/xarray.h xas->xa_index = order < BITS_PER_LONG ? (index >> order) << order : 0; index 1527 include/linux/xarray.h xas_set(xas, index); index 101 include/media/davinci/vpbe.h int index); index 86 include/media/dvb_demux.h int index; index 161 include/media/dvb_demux.h unsigned int index; index 192 include/media/media-entity.h u16 index; index 287 include/media/v4l2-dev.h int index; index 247 include/media/videobuf2-core.h unsigned int index; index 710 include/media/videobuf2-core.h void vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb); index 786 include/media/videobuf2-core.h int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb); index 814 include/media/videobuf2-core.h int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb, index 892 include/media/videobuf2-core.h unsigned int index, unsigned int plane, unsigned int flags); index 1177 include/media/videobuf2-core.h unsigned int index) index 1179 include/media/videobuf2-core.h if (index < q->num_buffers) index 1180 include/media/videobuf2-core.h return q->bufs[index]; index 84 include/media/vsp1.h unsigned int index; index 94 include/net/act_api.h int (*lookup)(struct net *net, struct tc_action **a, u32 index); index 155 include/net/act_api.h int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index); index 156 include/net/act_api.h int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, index 161 include/net/act_api.h void tcf_idr_cleanup(struct tc_action_net *tn, u32 index); index 162 include/net/act_api.h int tcf_idr_check_alloc(struct tc_action_net *tn, u32 *index, index 1051 include/net/bluetooth/hci_core.h struct hci_dev *hci_dev_get(int index); index 29 include/net/bluetooth/hci_mon.h __le16 index; index 51 include/net/bluetooth/mgmt.h __le16 index; index 80 include/net/bluetooth/mgmt.h __le16 index[0]; index 475 include/net/bluetooth/mgmt.h __le16 index[0]; index 526 include/net/bluetooth/mgmt.h __le16 index; index 6916 include/net/cfg80211.h void cfg80211_pmksa_candidate_notify(struct net_device *dev, int index, index 80 include/net/devlink.h unsigned int index; index 194 include/net/devlink.h u64 index; index 111 include/net/dsa.h unsigned int index; index 184 include/net/dsa.h unsigned int index; index 224 include/net/dsa.h unsigned int index; index 324 include/net/dsa.h if (device == ds->index) index 339 include/net/dsa.h return dsa_towards_port(ds, cpu_dp->ds->index, cpu_dp->index); index 156 include/net/erspan.h u32 id, u32 index, index 199 include/net/erspan.h *idx = htonl(index & INDEX_MASK); index 183 include/net/flow_offload.h u32 index; index 39 include/net/ip6_tunnel.h __u32 index; /* ERSPAN type II index */ index 120 include/net/ip_tunnels.h u32 index; /* ERSPAN type II index */ index 89 include/net/ipx.h int index; index 62 include/net/kcm.h int index; index 93 include/net/kcm.h int index; index 5969 include/net/mac80211.h int index) index 5971 include/net/mac80211.h return (sta == NULL || sta->supp_rates[band] & BIT(index)); index 88 include/net/neighbour.h static inline void neigh_var_set(struct neigh_parms *p, int index, int val) index 90 include/net/neighbour.h set_bit(index, p->data_state); index 91 include/net/neighbour.h p->data[index] = val; index 311 include/net/neighbour.h void neigh_table_init(int index, struct neigh_table *tbl); index 312 include/net/neighbour.h int neigh_table_clear(int index, struct neigh_table *tbl); index 125 include/net/netfilter/nf_queue.h unsigned int index, unsigned int verdict); index 59 include/net/pkt_cls.h return block->index; index 64 include/net/pkt_cls.h return block && block->index; index 634 include/net/pkt_cls.h cls_common->chain_index = tp->chain->index; index 393 include/net/sch_generic.h u32 index; /* chain index */ index 409 include/net/sch_generic.h u32 index; /* block index for shared blocks */ index 1395 include/net/sock.h static inline long sk_prot_mem_limits(const struct sock *sk, int index) index 1397 include/net/sock.h long val = sk->sk_prot->sysctl_mem[index]; index 37 include/net/tc_act/tc_pedit.h static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) index 40 include/net/tc_act/tc_pedit.h return to_pedit(a)->tcfp_keys_ex[index].htype; index 45 include/net/tc_act/tc_pedit.h static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) index 48 include/net/tc_act/tc_pedit.h return to_pedit(a)->tcfp_keys_ex[index].cmd; index 53 include/net/tc_act/tc_pedit.h static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) index 55 include/net/tc_act/tc_pedit.h return to_pedit(a)->tcfp_keys[index].mask; index 58 include/net/tc_act/tc_pedit.h static inline u32 tcf_pedit_val(const struct tc_action *a, int index) index 60 include/net/tc_act/tc_pedit.h return to_pedit(a)->tcfp_keys[index].val; index 63 include/net/tc_act/tc_pedit.h static inline u32 tcf_pedit_offset(const struct tc_action *a, int index) index 65 include/net/tc_act/tc_pedit.h return to_pedit(a)->tcfp_keys[index].off; index 34 include/net/tc_act/tc_police.h u32 index; index 512 include/net/xfrm.h u32 index; index 1714 include/net/xfrm.h static inline int xfrm_policy_id2dir(u32 index) index 1716 include/net/xfrm.h return index & 7; index 456 include/pcmcia/cistpl.h u_char index; index 478 include/pcmcia/cistpl.h u_char index; index 40 include/rdma/ib_cache.h int rdma_query_gid(struct ib_device *device, u8 port_num, int index, index 73 include/rdma/ib_cache.h int index, index 90 include/rdma/ib_cache.h u16 *index); index 106 include/rdma/ib_cache.h u16 *index); index 136 include/rdma/ib_cache.h u8 port_num, int index); index 173 include/rdma/ib_verbs.h u16 index; index 2334 include/rdma/ib_verbs.h int (*query_gid)(struct ib_device *device, u8 port_num, int index, index 2359 include/rdma/ib_verbs.h int (*query_pkey)(struct ib_device *device, u8 port_num, u16 index, index 2503 include/rdma/ib_verbs.h struct rdma_hw_stats *stats, u8 port, int index); index 2642 include/rdma/ib_verbs.h u32 index; index 3313 include/rdma/ib_verbs.h u8 port_num, u16 index, u16 *pkey); index 3324 include/rdma/ib_verbs.h u8 *port_num, u16 *index); index 3327 include/rdma/ib_verbs.h u8 port_num, u16 pkey, u16 *index); index 54 include/rdma/rdma_counter.h u64 rdma_counter_get_hwstat_value(struct ib_device *dev, u8 port, u32 index); index 44 include/rdma/rdma_netlink.h void rdma_nl_register(unsigned int index, index 51 include/rdma/rdma_netlink.h void rdma_nl_unregister(unsigned int index); index 548 include/rdma/rdma_vt.h unsigned index) index 550 include/rdma/rdma_vt.h if (index >= rvt_get_npkeys(rdi)) index 553 include/rdma/rdma_vt.h return rdi->ports[port_index]->pkey_table[index]; index 889 include/rdma/rdmavt_qp.h unsigned long rvt_rnr_tbl_to_usec(u32 index); index 453 include/scsi/libsas.h int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count); index 455 include/scsi/libsas.h static inline int try_test_sas_gpio_gp_bit(unsigned int od, u8 *data, u8 index, u8 count) index 118 include/scsi/scsi_transport_iscsi.h int *index, int *age); index 450 include/scsi/scsi_transport_iscsi.h iscsi_create_flashnode_sess(struct Scsi_Host *shost, int index, index 180 include/soc/fsl/qe/qe.h extern struct qe_pin *qe_pin_request(struct device_node *np, int index); index 185 include/soc/fsl/qe/qe.h static inline struct qe_pin *qe_pin_request(struct device_node *np, int index) index 45 include/soc/tegra/bpmp.h unsigned int index; index 36 include/sound/control.h unsigned int index; /* index of item */ index 143 include/sound/control.h unsigned int ioff = id->index - kctl->id.index; index 161 include/sound/control.h dst_id->index += offset; index 19 include/sound/emu10k1_synth.h int index; /* sequencer client index */ index 50 include/sound/emu8000.h int index; /* sequencer client index */ index 219 include/sound/emux_synth.h int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, char *name); index 243 include/sound/gus.h unsigned char index; index 518 include/sound/hdaudio.h unsigned char index; /* stream index */ index 28 include/sound/hdaudio_ext.h bool enable, int index); index 100 include/sound/hdaudio_ext.h bool enable, int index); index 112 include/sound/hdaudio_ext.h int index; index 331 include/sound/sb.h int snd_sbmixer_add_ctl(struct snd_sb *chip, const char *name, int index, int type, unsigned long value); index 66 include/sound/soc-topology.h unsigned int index; /* objects can belong in different groups */ index 114 include/sound/soc-topology.h int (*control_load)(struct snd_soc_component *, int index, index 120 include/sound/soc-topology.h int (*dapm_route_load)(struct snd_soc_component *, int index, index 126 include/sound/soc-topology.h int (*widget_load)(struct snd_soc_component *, int index, index 129 include/sound/soc-topology.h int (*widget_ready)(struct snd_soc_component *, int index, index 136 include/sound/soc-topology.h int (*dai_load)(struct snd_soc_component *, int index, index 144 include/sound/soc-topology.h int (*link_load)(struct snd_soc_component *, int index, index 151 include/sound/soc-topology.h int (*vendor_load)(struct snd_soc_component *, int index, index 160 include/sound/soc-topology.h int (*manifest)(struct snd_soc_component *, int index, index 185 include/sound/soc-topology.h u32 index); index 186 include/sound/soc-topology.h int snd_soc_tplg_component_remove(struct snd_soc_component *comp, u32 index); index 191 include/sound/soc-topology.h u32 index); index 201 include/sound/soc-topology.h u32 index) index 90 include/sound/sof/control.h uint32_t index; /**< component source/sink/control index in control */ index 105 include/sound/sof/control.h uint32_t index; /**< control index for comps > 1 control */ index 165 include/sound/wss.h .index = xindex, \ index 181 include/sound/wss.h .index = xindex, \ index 192 include/sound/wss.h .index = xindex, \ index 204 include/sound/wss.h .index = xindex, \ index 569 include/trace/events/btrfs.h __field( pgoff_t, index ) index 583 include/trace/events/btrfs.h __entry->index = page->index; index 601 include/trace/events/btrfs.h __entry->ino, __entry->index, index 625 include/trace/events/btrfs.h __field( pgoff_t, index ) index 634 include/trace/events/btrfs.h __entry->index = page->index; index 645 include/trace/events/btrfs.h __entry->ino, (unsigned long)__entry->index, index 91 include/trace/events/erofs.h __field(pgoff_t, index ) index 100 include/trace/events/erofs.h __entry->index = page->index; index 109 include/trace/events/erofs.h (unsigned long)__entry->index, index 132 include/trace/events/erofs.h __entry->start = page->index; index 532 include/trace/events/ext4.h __field( pgoff_t, index ) index 539 include/trace/events/ext4.h __entry->index = page->index; index 545 include/trace/events/ext4.h (unsigned long) __entry->index) index 577 include/trace/events/ext4.h __field( pgoff_t, index ) index 585 include/trace/events/ext4.h __entry->index = page->index; index 593 include/trace/events/ext4.h (unsigned long) __entry->index, index 1012 include/trace/events/f2fs.h __field(pgoff_t, index) index 1024 include/trace/events/f2fs.h __entry->index = page->index; index 1036 include/trace/events/f2fs.h (unsigned long)__entry->index, index 1204 include/trace/events/f2fs.h __field(pgoff_t, index) index 1215 include/trace/events/f2fs.h __entry->index = page->index; index 1225 include/trace/events/f2fs.h (unsigned long)__entry->index, index 1281 include/trace/events/f2fs.h TP_PROTO(struct inode *inode, pgoff_t index, unsigned long ret), index 1283 include/trace/events/f2fs.h TP_ARGS(inode, index, ret), index 1288 include/trace/events/f2fs.h __field(pgoff_t, index) index 1295 include/trace/events/f2fs.h __entry->index = index; index 1301 include/trace/events/f2fs.h (unsigned long)__entry->index, index 1385 include/trace/events/f2fs.h __entry->start = page->index; index 25 include/trace/events/filemap.h __field(unsigned long, index) index 32 include/trace/events/filemap.h __entry->index = page->index; index 44 include/trace/events/filemap.h __entry->index << PAGE_SHIFT) index 380 include/trace/events/fscache.h __entry->page = page->index; index 468 include/trace/events/fscache.h __entry->page = page ? page->index : 0; index 494 include/trace/events/fscache.h __entry->page = page->index; index 520 include/trace/events/fscache.h __entry->results0 = results[0] ? ((struct page *)results[0])->index : (pgoff_t)-1; index 12 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, long val), index 14 include/trace/events/hwmon.h TP_ARGS(index, attr_name, val), index 17 include/trace/events/hwmon.h __field(int, index) index 23 include/trace/events/hwmon.h __entry->index = index; index 29 include/trace/events/hwmon.h __entry->index, __get_str(attr_name), __entry->val) index 34 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, long val), index 36 include/trace/events/hwmon.h TP_ARGS(index, attr_name, val) index 41 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, long val), index 43 include/trace/events/hwmon.h TP_ARGS(index, attr_name, val) index 48 include/trace/events/hwmon.h TP_PROTO(int index, const char *attr_name, const char *s), index 50 include/trace/events/hwmon.h TP_ARGS(index, attr_name, s), index 53 include/trace/events/hwmon.h __field(int, index) index 59 include/trace/events/hwmon.h __entry->index = index; index 65 include/trace/events/hwmon.h __entry->index, __get_str(attr_name), __get_str(label)) index 56 include/trace/events/ib_mad.h __entry->dev_index = wr->mad_agent_priv->agent.device->index; index 145 include/trace/events/ib_mad.h __entry->dev_index = wr->mad_agent_priv->agent.device->index; index 211 include/trace/events/ib_mad.h __entry->dev_index = qp_info->port_priv->device->index; index 264 include/trace/events/ib_mad.h __entry->dev_index = agent->agent.device->index; index 53 include/trace/events/ib_umad.h __entry->dev_index = file->port->ib_dev->index; index 63 include/trace/events/nbd.h TP_PROTO(struct nbd_request *nbd_request, int index, index 66 include/trace/events/nbd.h TP_ARGS(nbd_request, index, rq), index 76 include/trace/events/nbd.h __entry->dev_index = index; index 96 include/trace/events/nbd.h TP_PROTO(struct nbd_request *nbd_request, int index, index 99 include/trace/events/nbd.h TP_ARGS(nbd_request, index, rq), index 12 include/trace/events/sunvnet.h TP_PROTO(int lsid, int rsid, int index, int needs_ack), index 14 include/trace/events/sunvnet.h TP_ARGS(lsid, rsid, index, needs_ack), index 19 include/trace/events/sunvnet.h __field(int, index) index 26 include/trace/events/sunvnet.h __entry->index = index; index 32 include/trace/events/sunvnet.h __entry->index, __entry->needs_ack) index 107 include/trace/events/v4l2.h __field(u32, index) index 128 include/trace/events/v4l2.h __entry->index = buf->index; index 152 include/trace/events/v4l2.h __entry->index, show_type(__entry->type), index 19 include/trace/events/vb2.h __field(u32, index) index 30 include/trace/events/vb2.h __entry->index = vb->index; index 40 include/trace/events/vb2.h __entry->index, __entry->type, index 65 include/trace/events/writeback.h __field(pgoff_t, index) index 73 include/trace/events/writeback.h __entry->index = page->index; index 79 include/trace/events/writeback.h __entry->index index 806 include/uapi/drm/amdgpu_drm.h __u32 index; index 115 include/uapi/drm/qxl_drm.h __u32 index; index 228 include/uapi/drm/tegra_drm.h __u32 index; index 133 include/uapi/drm/via_drm.h unsigned long index; index 541 include/uapi/linux/btrfs_tree.h __le64 index; index 548 include/uapi/linux/btrfs_tree.h __le64 index; index 116 include/uapi/linux/dvb/ca.h unsigned int index; index 130 include/uapi/linux/dvb/ca.h unsigned int index; index 261 include/uapi/linux/dvb/dmx.h __u32 index; index 299 include/uapi/linux/dvb/dmx.h __u32 index; index 47 include/uapi/linux/erspan.h __be32 index; /* Version 1 (type II)*/ index 106 include/uapi/linux/fpga-dfl.h __u32 index; /* Region index */ index 54 include/uapi/linux/hiddev.h __u32 index; index 62 include/uapi/linux/hiddev.h __s32 index; index 358 include/uapi/linux/hyperv.h __u32 index; index 118 include/uapi/linux/input.h __u16 index; index 216 include/uapi/linux/media.h __u16 index; /* pad index */ index 338 include/uapi/linux/media.h __u32 index; index 283 include/uapi/linux/netfilter/ipset/ip_set.h ip_set_id_t index; index 18 include/uapi/linux/netfilter/xt_set.h ip_set_id_t index; index 42 include/uapi/linux/netfilter/xt_set.h ip_set_id_t index; index 514 include/uapi/linux/perf_event.h __u32 index; /* hardware event identifier */ index 117 include/uapi/linux/pkt_cls.h __u32 index; index 148 include/uapi/linux/pkt_cls.h __u32 index; \ index 96 include/uapi/linux/ptp_clock.h unsigned int index; /* Which channel to configure. */ index 104 include/uapi/linux/ptp_clock.h unsigned int index; /* Which channel to configure. */ index 156 include/uapi/linux/ptp_clock.h unsigned int index; index 201 include/uapi/linux/ptp_clock.h unsigned int index; /* Which channel produced the event. */ index 72 include/uapi/linux/rio_mport_cdev.h __u8 index; index 119 include/uapi/linux/switchtec_ioctl.h __s32 index; index 77 include/uapi/linux/v4l2-subdev.h __u32 index; index 91 include/uapi/linux/v4l2-subdev.h __u32 index; index 124 include/uapi/linux/v4l2-subdev.h __u32 index; index 240 include/uapi/linux/vfio.h __u32 index; /* Region index */ index 458 include/uapi/linux/vfio.h __u32 index; /* IRQ index */ index 510 include/uapi/linux/vfio.h __u32 index; index 20 include/uapi/linux/vhost_types.h unsigned int index; index 25 include/uapi/linux/vhost_types.h unsigned int index; index 31 include/uapi/linux/vhost_types.h unsigned int index; index 769 include/uapi/linux/videodev2.h __u32 index; /* Format number */ index 807 include/uapi/linux/videodev2.h __u32 index; /* Frame size number */ index 835 include/uapi/linux/videodev2.h __u32 index; /* Frame format index */ index 988 include/uapi/linux/videodev2.h __u32 index; index 1083 include/uapi/linux/videodev2.h __u32 index; index 1338 include/uapi/linux/videodev2.h __u32 index; index 1528 include/uapi/linux/videodev2.h __u32 index; index 1587 include/uapi/linux/videodev2.h __u32 index; /* Which input */ index 1639 include/uapi/linux/videodev2.h __u32 index; /* Which output */ index 1758 include/uapi/linux/videodev2.h __u32 index; index 1793 include/uapi/linux/videodev2.h __u32 index; index 1807 include/uapi/linux/videodev2.h __u32 index; index 1863 include/uapi/linux/videodev2.h __u32 index; index 1907 include/uapi/linux/videodev2.h __u32 index; index 1922 include/uapi/linux/videodev2.h __u32 index; index 2400 include/uapi/linux/videodev2.h __u32 index; index 866 include/uapi/linux/wireless.h __u32 index; /* the smaller the index, the higher the index 416 include/uapi/linux/xfrm.h __u32 index; index 430 include/uapi/linux/xfrm.h __u32 index; index 475 include/uapi/rdma/mlx5-abi.h __u32 index; index 48 include/uapi/scsi/scsi_bsg_ufs.h __u8 index; index 563 include/uapi/sound/asequencer.h int index; /* 0..N-1 */ index 196 include/uapi/sound/asoc.h __le32 index; /* identifier for block */ index 139 include/uapi/sound/asound.h unsigned int index; /* W: DSP index */ index 891 include/uapi/sound/asound.h unsigned int index; /* index of item */ index 58 include/uapi/sound/firewire.h unsigned int index; index 31 include/uapi/xen/gntalloc.h __u64 index; index 48 include/uapi/xen/gntalloc.h __u64 index; index 72 include/uapi/xen/gntalloc.h __u64 index; index 61 include/uapi/xen/gntdev.h __u64 index; index 77 include/uapi/xen/gntdev.h __u64 index; index 142 include/uapi/xen/gntdev.h __u64 index; index 95 include/video/display_timing.h unsigned int index) index 97 include/video/display_timing.h if (disp->num_timings > index) index 98 include/video/display_timing.h return disp->timings[index]; index 54 include/video/imx-ipu-image-convert.h int ipu_image_convert_enum_format(int index, u32 *fourcc); index 15 include/video/of_videomode.h int index); index 55 include/video/videomode.h struct videomode *vm, unsigned int index); index 45 include/xen/hvm.h xhv.index = idx; index 30 include/xen/interface/hvm/hvm_op.h uint32_t index; /* IN */ index 142 include/xen/interface/physdev.h int index; index 230 include/xen/interface/platform.h uint32_t index; index 764 include/xen/interface/xen.h uint32_t index; index 36 kernel/audit_tree.c unsigned index; /* index; upper bit indicates 'will prune' */ index 205 kernel/audit_tree.c chunk->owners[i].index = i; index 276 kernel/audit_tree.c int index = p->index & ~(1U<<31); index 277 kernel/audit_tree.c p -= index; index 311 kernel/audit_tree.c new->owners[i].index = old->owners[j].index - j + i; index 434 kernel/audit_tree.c chunk->owners[0].index = (1U << 31); index 506 kernel/audit_tree.c p->index = (chunk->count - 1) | (1U<<31); index 581 kernel/audit_tree.c if (tagged && !(p->index & (1U<<31))) index 623 kernel/audit_tree.c if (node->index & (1U<<31)) { index 711 kernel/audit_tree.c node->index |= 1U<<31; index 715 kernel/audit_tree.c node->index &= ~(1U<<31); index 848 kernel/audit_tree.c node->index &= ~(1U<<31); index 950 kernel/audit_tree.c node->index &= ~(1U<<31); index 146 kernel/bpf/arraymap.c u32 index = *(u32 *)key; index 148 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) index 151 kernel/bpf/arraymap.c return array->value + array->elem_size * (index & array->index_mask); index 192 kernel/bpf/arraymap.c const int index = BPF_REG_2; index 195 kernel/bpf/arraymap.c *insn++ = BPF_LDX_MEM(BPF_W, ret, index, 0); index 218 kernel/bpf/arraymap.c u32 index = *(u32 *)key; index 220 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) index 223 kernel/bpf/arraymap.c return this_cpu_ptr(array->pptrs[index & array->index_mask]); index 229 kernel/bpf/arraymap.c u32 index = *(u32 *)key; index 234 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) index 243 kernel/bpf/arraymap.c pptr = array->pptrs[index & array->index_mask]; index 256 kernel/bpf/arraymap.c u32 index = key ? *(u32 *)key : U32_MAX; index 259 kernel/bpf/arraymap.c if (index >= array->map.max_entries) { index 264 kernel/bpf/arraymap.c if (index == array->map.max_entries - 1) index 267 kernel/bpf/arraymap.c *next = index + 1; index 276 kernel/bpf/arraymap.c u32 index = *(u32 *)key; index 283 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) index 296 kernel/bpf/arraymap.c memcpy(this_cpu_ptr(array->pptrs[index & array->index_mask]), index 300 kernel/bpf/arraymap.c array->elem_size * (index & array->index_mask); index 313 kernel/bpf/arraymap.c u32 index = *(u32 *)key; index 322 kernel/bpf/arraymap.c if (unlikely(index >= array->map.max_entries)) index 338 kernel/bpf/arraymap.c pptr = array->pptrs[index & array->index_mask]; index 396 kernel/bpf/arraymap.c u32 index = *(u32 *)key; index 403 kernel/bpf/arraymap.c pptr = array->pptrs[index & array->index_mask]; index 530 kernel/bpf/arraymap.c u32 index = *(u32 *)key, ufd; index 535 kernel/bpf/arraymap.c if (index >= array->map.max_entries) index 543 kernel/bpf/arraymap.c old_ptr = xchg(array->ptrs + index, new_ptr); index 554 kernel/bpf/arraymap.c u32 index = *(u32 *)key; index 556 kernel/bpf/arraymap.c if (index >= array->map.max_entries) index 559 kernel/bpf/arraymap.c old_ptr = xchg(array->ptrs + index, NULL); index 811 kernel/bpf/arraymap.c const int index = BPF_REG_2; index 814 kernel/bpf/arraymap.c *insn++ = BPF_LDX_MEM(BPF_W, ret, index, 0); index 1462 kernel/bpf/core.c u32 index = BPF_R3; index 1464 kernel/bpf/core.c if (unlikely(index >= array->map.max_entries)) index 1471 kernel/bpf/core.c prog = READ_ONCE(array->ptrs[index]); index 578 kernel/bpf/cpumap.c u32 index = key ? *(u32 *)key : U32_MAX; index 581 kernel/bpf/cpumap.c if (index >= cmap->map.max_entries) { index 586 kernel/bpf/cpumap.c if (index == cmap->map.max_entries - 1) index 588 kernel/bpf/cpumap.c *next = index + 1; index 276 kernel/bpf/devmap.c u32 index = key ? *(u32 *)key : U32_MAX; index 279 kernel/bpf/devmap.c if (index >= dtab->map.max_entries) { index 284 kernel/bpf/devmap.c if (index == dtab->map.max_entries - 1) index 286 kernel/bpf/devmap.c *next = index + 1; index 151 kernel/bpf/lpm_trie.c static inline int extract_bit(const u8 *data, size_t index) index 153 kernel/bpf/lpm_trie.c return !!(data[index / 8] & (1 << (7 - (index % 8)))); index 149 kernel/bpf/queue_stack_maps.c u32 index; index 159 kernel/bpf/queue_stack_maps.c index = qs->head - 1; index 160 kernel/bpf/queue_stack_maps.c if (unlikely(index >= qs->size)) index 161 kernel/bpf/queue_stack_maps.c index = qs->size - 1; index 163 kernel/bpf/queue_stack_maps.c ptr = &qs->elements[index * qs->map.value_size]; index 167 kernel/bpf/queue_stack_maps.c qs->head = index; index 52 kernel/bpf/reuseport_array.c u32 index = *(u32 *)key; index 54 kernel/bpf/reuseport_array.c if (unlikely(index >= array->map.max_entries)) index 57 kernel/bpf/reuseport_array.c return rcu_dereference(array->ptrs[index]); index 64 kernel/bpf/reuseport_array.c u32 index = *(u32 *)key; index 68 kernel/bpf/reuseport_array.c if (index >= map->max_entries) index 71 kernel/bpf/reuseport_array.c if (!rcu_access_pointer(array->ptrs[index])) index 76 kernel/bpf/reuseport_array.c sk = rcu_dereference_protected(array->ptrs[index], index 81 kernel/bpf/reuseport_array.c RCU_INIT_POINTER(array->ptrs[index], NULL); index 254 kernel/bpf/reuseport_array.c u32 index = *(u32 *)key; index 261 kernel/bpf/reuseport_array.c if (index >= map->max_entries) index 286 kernel/bpf/reuseport_array.c rcu_access_pointer(array->ptrs[index]), index 300 kernel/bpf/reuseport_array.c osk = rcu_dereference_protected(array->ptrs[index], index 313 kernel/bpf/reuseport_array.c WRITE_ONCE(nsk->sk_user_data, &array->ptrs[index]); index 314 kernel/bpf/reuseport_array.c rcu_assign_pointer(array->ptrs[index], nsk); index 338 kernel/bpf/reuseport_array.c u32 index = key ? *(u32 *)key : U32_MAX; index 341 kernel/bpf/reuseport_array.c if (index >= array->map.max_entries) { index 346 kernel/bpf/reuseport_array.c if (index == array->map.max_entries - 1) index 349 kernel/bpf/reuseport_array.c *next = index + 1; index 149 kernel/bpf/xskmap.c u32 index = key ? *(u32 *)key : U32_MAX; index 152 kernel/bpf/xskmap.c if (index >= m->map.max_entries) { index 157 kernel/bpf/xskmap.c if (index == m->map.max_entries - 1) index 159 kernel/bpf/xskmap.c *next = index + 1; index 404 kernel/cgroup/cgroup-v1.c int index = 0, pid = *pos; index 433 kernel/cgroup/cgroup-v1.c while (index < end) { index 434 kernel/cgroup/cgroup-v1.c int mid = (index + end) / 2; index 436 kernel/cgroup/cgroup-v1.c index = mid; index 439 kernel/cgroup/cgroup-v1.c index = mid + 1; index 445 kernel/cgroup/cgroup-v1.c if (index >= l->length) index 448 kernel/cgroup/cgroup-v1.c iter = l->list + index; index 83 kernel/cgroup/rdma.c int index, int new_max) index 86 kernel/cgroup/rdma.c if (rpool->resources[index].max != S32_MAX) index 89 kernel/cgroup/rdma.c if (rpool->resources[index].max == S32_MAX) index 92 kernel/cgroup/rdma.c rpool->resources[index].max = new_max; index 164 kernel/cgroup/rdma.c enum rdmacg_resource_type index) index 180 kernel/cgroup/rdma.c rpool->resources[index].usage--; index 186 kernel/cgroup/rdma.c WARN_ON_ONCE(rpool->resources[index].usage < 0); index 208 kernel/cgroup/rdma.c enum rdmacg_resource_type index) index 215 kernel/cgroup/rdma.c uncharge_cg_locked(p, device, index); index 229 kernel/cgroup/rdma.c enum rdmacg_resource_type index) index 231 kernel/cgroup/rdma.c if (index >= RDMACG_RESOURCE_MAX) index 234 kernel/cgroup/rdma.c rdmacg_uncharge_hierarchy(cg, device, NULL, index); index 261 kernel/cgroup/rdma.c enum rdmacg_resource_type index) index 268 kernel/cgroup/rdma.c if (index >= RDMACG_RESOURCE_MAX) index 284 kernel/cgroup/rdma.c new = rpool->resources[index].usage + 1; index 285 kernel/cgroup/rdma.c if (new > rpool->resources[index].max) { index 289 kernel/cgroup/rdma.c rpool->resources[index].usage = new; index 301 kernel/cgroup/rdma.c rdmacg_uncharge_hierarchy(cg, device, p, index); index 397 kernel/cgroup/rdma.c int index, intval; index 399 kernel/cgroup/rdma.c index = parse_resource(c, &intval); index 400 kernel/cgroup/rdma.c if (index < 0) index 403 kernel/cgroup/rdma.c new_limits[index] = intval; index 404 kernel/cgroup/rdma.c *enables |= BIT(index); index 365 kernel/cgroup/rstat.c enum cpu_usage_stat index, u64 delta_exec) index 371 kernel/cgroup/rstat.c switch (index) { index 867 kernel/debug/debug_core.c .index = -1, index 353 kernel/dma/debug.c struct dma_debug_entry *entry, index = *ref; index 367 kernel/dma/debug.c index.dev_addr -= (1 << HASH_FN_SHIFT); index 368 kernel/dma/debug.c *bucket = get_hash_bucket(&index, flags); index 455 kernel/dma/swiotlb.c unsigned int nslots, stride, index, wrap; index 508 kernel/dma/swiotlb.c index = ALIGN(io_tlb_index, stride); index 509 kernel/dma/swiotlb.c if (index >= io_tlb_nslabs) index 510 kernel/dma/swiotlb.c index = 0; index 511 kernel/dma/swiotlb.c wrap = index; index 514 kernel/dma/swiotlb.c while (iommu_is_span_boundary(index, nslots, offset_slots, index 516 kernel/dma/swiotlb.c index += stride; index 517 kernel/dma/swiotlb.c if (index >= io_tlb_nslabs) index 518 kernel/dma/swiotlb.c index = 0; index 519 kernel/dma/swiotlb.c if (index == wrap) index 528 kernel/dma/swiotlb.c if (io_tlb_list[index] >= nslots) { index 531 kernel/dma/swiotlb.c for (i = index; i < (int) (index + nslots); i++) index 533 kernel/dma/swiotlb.c for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE - 1) && io_tlb_list[i]; i--) index 535 kernel/dma/swiotlb.c tlb_addr = io_tlb_start + (index << IO_TLB_SHIFT); index 541 kernel/dma/swiotlb.c io_tlb_index = ((index + nslots) < io_tlb_nslabs index 542 kernel/dma/swiotlb.c ? (index + nslots) : 0); index 546 kernel/dma/swiotlb.c index += stride; index 547 kernel/dma/swiotlb.c if (index >= io_tlb_nslabs) index 548 kernel/dma/swiotlb.c index = 0; index 549 kernel/dma/swiotlb.c } while (index != wrap); index 569 kernel/dma/swiotlb.c io_tlb_orig_addr[index+i] = orig_addr + (i << IO_TLB_SHIFT); index 586 kernel/dma/swiotlb.c int index = (tlb_addr - io_tlb_start) >> IO_TLB_SHIFT; index 587 kernel/dma/swiotlb.c phys_addr_t orig_addr = io_tlb_orig_addr[index]; index 605 kernel/dma/swiotlb.c count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? index 606 kernel/dma/swiotlb.c io_tlb_list[index + nslots] : 0); index 611 kernel/dma/swiotlb.c for (i = index + nslots - 1; i >= index; i--) { index 619 kernel/dma/swiotlb.c for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE -1) && io_tlb_list[i]; i--) index 631 kernel/dma/swiotlb.c int index = (tlb_addr - io_tlb_start) >> IO_TLB_SHIFT; index 632 kernel/dma/swiotlb.c phys_addr_t orig_addr = io_tlb_orig_addr[index]; index 1521 kernel/events/core.c groups->index = 0; index 1559 kernel/events/core.c event->group_index = ++groups->index; index 5410 kernel/events/core.c userpg->index = perf_event_index(event); index 5412 kernel/events/core.c if (userpg->index) index 5457 kernel/events/core.c vmf->page->index = vmf->pgoff; index 529 kernel/events/uprobes.c pgoff_t index; index 533 kernel/events/uprobes.c index = vaddr_to_offset(vma, vaddr & PAGE_MASK) >> PAGE_SHIFT; index 535 kernel/events/uprobes.c index); index 384 kernel/irq/timings.c int index, i, period_max, count, start, min = INT_MAX; index 422 kernel/irq/timings.c int index = (start + i) & IRQ_TIMINGS_MASK; index 424 kernel/irq/timings.c irqs->timings[i] = irqs->circ_timings[index]; index 428 kernel/irq/timings.c index = irq_timings_next_event_index(irqs->timings, count, period_max); index 429 kernel/irq/timings.c if (index < 0) index 432 kernel/irq/timings.c return irqs->last_ts + irqs->ema_time[index]; index 449 kernel/irq/timings.c int index; index 454 kernel/irq/timings.c index = irq_timings_interval_index(interval); index 460 kernel/irq/timings.c irqs->circ_timings[irqs->count & IRQ_TIMINGS_MASK] = index; index 462 kernel/irq/timings.c irqs->ema_time[index] = irq_timings_ema_new(interval, index 463 kernel/irq/timings.c irqs->ema_time[index]); index 711 kernel/irq/timings.c int index, start, i, count, period_max; index 725 kernel/irq/timings.c index = irq_timings_interval_index(ti->intervals[i]); index 726 kernel/irq/timings.c _buffer[i & IRQ_TIMINGS_MASK] = index; index 727 kernel/irq/timings.c pr_cont("%d ", index); index 736 kernel/irq/timings.c int index = (start + i) & IRQ_TIMINGS_MASK; index 737 kernel/irq/timings.c buffer[i] = _buffer[index]; index 740 kernel/irq/timings.c index = irq_timings_next_event_index(buffer, count, period_max); index 743 kernel/irq/timings.c if (index != i) { index 745 kernel/irq/timings.c i, index); index 773 kernel/irq/timings.c int i, index, ret, irq = 0xACE5; index 791 kernel/irq/timings.c index = irq_timings_interval_index(ti->intervals[i]); index 793 kernel/irq/timings.c i, ti->intervals[i], index); index 796 kernel/irq/timings.c if (irqs->circ_timings[i & IRQ_TIMINGS_MASK] != index) { index 332 kernel/locking/lockdep.c int index; index 4913 kernel/locking/lockdep.c return delayed_free.pf + delayed_free.index; index 4934 kernel/locking/lockdep.c WARN_ON_ONCE(delayed_free.pf + delayed_free.index != pf); index 4935 kernel/locking/lockdep.c delayed_free.index ^= 1; index 4972 kernel/locking/lockdep.c pf = delayed_free.pf + (delayed_free.index ^ 1); index 4979 kernel/locking/lockdep.c call_rcu_zapped(delayed_free.pf + delayed_free.index); index 28 kernel/module-internal.h } index; index 647 kernel/module.c Elf_Shdr *pcpusec = &info->sechdrs[info->index.pcpu]; index 744 kernel/module.c if (info->sechdrs[info->index.pcpu].sh_size != 0) index 1303 kernel/module.c unsigned int versindex = info->index.vers; index 2133 kernel/module.c symndx = info->index.sym; index 2298 kernel/module.c Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; index 2351 kernel/module.c if (sym[i].st_shndx == info->index.pcpu) index 2386 kernel/module.c info->index.sym, i, mod); index 2389 kernel/module.c info->index.sym, i, mod); index 2546 kernel/module.c Elf_Shdr *infosec = &info->sechdrs[info->index.info]; index 2630 kernel/module.c if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu) index 2693 kernel/module.c Elf_Shdr *symsect = info->sechdrs + info->index.sym; index 2694 kernel/module.c Elf_Shdr *strsect = info->sechdrs + info->index.str; index 2701 kernel/module.c info->index.sym) | INIT_OFFSET_MASK; index 2711 kernel/module.c info->index.pcpu)) { index 2728 kernel/module.c info->index.str) | INIT_OFFSET_MASK; index 2752 kernel/module.c Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; index 2760 kernel/module.c mod->kallsyms->strtab = (void *)info->sechdrs[info->index.str].sh_addr; index 2775 kernel/module.c info->index.pcpu)) { index 3037 kernel/module.c info->sechdrs[info->index.vers].sh_flags &= ~(unsigned long)SHF_ALLOC; index 3038 kernel/module.c info->sechdrs[info->index.info].sh_flags &= ~(unsigned long)SHF_ALLOC; index 3061 kernel/module.c info->index.info = find_sec(info, ".modinfo"); index 3062 kernel/module.c if (info->index.info) index 3068 kernel/module.c info->index.sym = i; index 3069 kernel/module.c info->index.str = info->sechdrs[i].sh_link; index 3071 kernel/module.c + info->sechdrs[info->index.str].sh_offset; index 3076 kernel/module.c if (info->index.sym == 0) { index 3082 kernel/module.c info->index.mod = find_sec(info, ".gnu.linkonce.this_module"); index 3083 kernel/module.c if (!info->index.mod) { index 3089 kernel/module.c info->mod = (void *)info->hdr + info->sechdrs[info->index.mod].sh_offset; index 3099 kernel/module.c info->index.vers = 0; /* Pretend no __versions section! */ index 3101 kernel/module.c info->index.vers = find_sec(info, "__versions"); index 3103 kernel/module.c info->index.pcpu = find_pcpusec(info); index 3121 kernel/module.c } else if (!same_magic(modmagic, vermagic, info->index.vers)) { index 3425 kernel/module.c info->sechdrs[info->index.pcpu].sh_flags &= ~(unsigned long)SHF_ALLOC; index 3457 kernel/module.c mod = (void *)info->sechdrs[info->index.mod].sh_addr; index 3484 kernel/module.c percpu_modcopy(mod, (void *)info->sechdrs[info->index.pcpu].sh_addr, index 3485 kernel/module.c info->sechdrs[info->index.pcpu].sh_size); index 300 kernel/power/main.c int index; index 303 kernel/power/main.c index = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; index 304 kernel/power/main.c index %= REC_FAILED_NUM; index 305 kernel/power/main.c last_failed_dev = suspend_stats.failed_devs[index]; index 314 kernel/power/main.c int index; index 317 kernel/power/main.c index = suspend_stats.last_failed_errno + REC_FAILED_NUM - 1; index 318 kernel/power/main.c index %= REC_FAILED_NUM; index 319 kernel/power/main.c last_failed_errno = suspend_stats.errno[index]; index 328 kernel/power/main.c int index; index 332 kernel/power/main.c index = suspend_stats.last_failed_step + REC_FAILED_NUM - 1; index 333 kernel/power/main.c index %= REC_FAILED_NUM; index 334 kernel/power/main.c step = suspend_stats.failed_steps[index]; index 366 kernel/power/main.c int i, index, last_dev, last_errno, last_step; index 393 kernel/power/main.c index = last_dev + REC_FAILED_NUM - i; index 394 kernel/power/main.c index %= REC_FAILED_NUM; index 396 kernel/power/main.c suspend_stats.failed_devs[index]); index 401 kernel/power/main.c index = last_errno + REC_FAILED_NUM - i; index 402 kernel/power/main.c index %= REC_FAILED_NUM; index 404 kernel/power/main.c suspend_stats.errno[index]); index 410 kernel/power/main.c index = last_step + REC_FAILED_NUM - i; index 411 kernel/power/main.c index %= REC_FAILED_NUM; index 414 kernel/power/main.c suspend_stats.failed_steps[index])); index 466 kernel/power/snapshot.c int index; index 476 kernel/power/snapshot.c index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); index 477 kernel/power/snapshot.c index &= BM_RTREE_LEVEL_MASK; index 478 kernel/power/snapshot.c dst = (struct rtree_node **)&((*dst)->data[index]); index 752 kernel/power/snapshot.c int index; index 754 kernel/power/snapshot.c index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); index 755 kernel/power/snapshot.c index &= BM_RTREE_LEVEL_MASK; index 756 kernel/power/snapshot.c BUG_ON(node->data[index] == 0); index 757 kernel/power/snapshot.c node = (struct rtree_node *)node->data[index]; index 44 kernel/printk/braille.c rtn = braille_register_console(console, c->index, c->options, index 8 kernel/printk/console_cmdline.h int index; /* Minor dev. to use */ index 2158 kernel/printk/printk.c if (strcmp(c->name, name) == 0 && c->index == idx) { index 2172 kernel/printk/printk.c c->index = idx; index 2607 kernel/printk/printk.c struct tty_driver *console_device(int *index) index 2616 kernel/printk/printk.c driver = c->device(c, index); index 2688 kernel/printk/printk.c bcon->name, bcon->index)) index 2700 kernel/printk/printk.c newcon->name, newcon->index); index 2718 kernel/printk/printk.c if (newcon->index < 0) index 2719 kernel/printk/printk.c newcon->index = 0; index 2738 kernel/printk/printk.c newcon->match(newcon, c->name, c->index, c->options) != 0) { index 2743 kernel/printk/printk.c if (newcon->index >= 0 && index 2744 kernel/printk/printk.c newcon->index != c->index) index 2746 kernel/printk/printk.c if (newcon->index < 0) index 2747 kernel/printk/printk.c newcon->index = c->index; index 2828 kernel/printk/printk.c newcon->name, newcon->index); index 2849 kernel/printk/printk.c console->name, console->index); index 2953 kernel/printk/printk.c con->name, con->index); index 99 kernel/sched/cpuacct.c enum cpuacct_stat_index index) index 108 kernel/sched/cpuacct.c BUG_ON(index > CPUACCT_STAT_NSTATS); index 117 kernel/sched/cpuacct.c if (index == CPUACCT_STAT_NSTATS) { index 124 kernel/sched/cpuacct.c data = cpuusage->usages[index]; index 156 kernel/sched/cpuacct.c enum cpuacct_stat_index index) index 163 kernel/sched/cpuacct.c totalcpuusage += cpuacct_cpuusage_read(ca, i, index); index 204 kernel/sched/cpuacct.c enum cpuacct_stat_index index) index 211 kernel/sched/cpuacct.c percpu = cpuacct_cpuusage_read(ca, i, index); index 236 kernel/sched/cpuacct.c int index; index 240 kernel/sched/cpuacct.c for (index = 0; index < CPUACCT_STAT_NSTATS; index++) index 241 kernel/sched/cpuacct.c seq_printf(m, " %s", cpuacct_stat_desc[index]); index 249 kernel/sched/cpuacct.c for (index = 0; index < CPUACCT_STAT_NSTATS; index++) { index 258 kernel/sched/cpuacct.c seq_printf(m, " %llu", cpuusage->usages[index]); index 341 kernel/sched/cpuacct.c int index = CPUACCT_STAT_SYSTEM; index 345 kernel/sched/cpuacct.c index = CPUACCT_STAT_USER; index 350 kernel/sched/cpuacct.c this_cpu_ptr(ca->cpuusage)->usages[index] += cputime; index 360 kernel/sched/cpuacct.c void cpuacct_account_field(struct task_struct *tsk, int index, u64 val) index 366 kernel/sched/cpuacct.c this_cpu_ptr(ca->cpustat)->cpustat[index] += val; index 98 kernel/sched/cputime.c static inline void task_group_account_field(struct task_struct *p, int index, index 107 kernel/sched/cputime.c __this_cpu_add(kernel_cpustat.cpustat[index], tmp); index 109 kernel/sched/cputime.c cgroup_account_cputime_field(p, index, tmp); index 119 kernel/sched/cputime.c int index; index 125 kernel/sched/cputime.c index = (task_nice(p) > 0) ? CPUTIME_NICE : CPUTIME_USER; index 128 kernel/sched/cputime.c task_group_account_field(p, index, cputime); index 165 kernel/sched/cputime.c u64 cputime, enum cpu_usage_stat index) index 172 kernel/sched/cputime.c task_group_account_field(p, index, cputime); index 186 kernel/sched/cputime.c int index; index 194 kernel/sched/cputime.c index = CPUTIME_IRQ; index 196 kernel/sched/cputime.c index = CPUTIME_SOFTIRQ; index 198 kernel/sched/cputime.c index = CPUTIME_SYSTEM; index 200 kernel/sched/cputime.c account_system_index_time(p, cputime, index); index 74 kernel/time/hrtimer.c .index = HRTIMER_BASE_MONOTONIC, index 79 kernel/time/hrtimer.c .index = HRTIMER_BASE_REALTIME, index 84 kernel/time/hrtimer.c .index = HRTIMER_BASE_BOOTTIME, index 89 kernel/time/hrtimer.c .index = HRTIMER_BASE_TAI, index 94 kernel/time/hrtimer.c .index = HRTIMER_BASE_MONOTONIC_SOFT, index 99 kernel/time/hrtimer.c .index = HRTIMER_BASE_REALTIME_SOFT, index 104 kernel/time/hrtimer.c .index = HRTIMER_BASE_BOOTTIME_SOFT, index 109 kernel/time/hrtimer.c .index = HRTIMER_BASE_TAI_SOFT, index 226 kernel/time/hrtimer.c int basenum = base->index; index 967 kernel/time/hrtimer.c base->cpu_base->active_bases |= 1 << base->index; index 998 kernel/time/hrtimer.c cpu_base->active_bases &= ~(1 << base->index); index 115 kernel/time/timer_list.c SEQ_printf(m, " .index: %d\n", base->index); index 352 kernel/trace/bpf_trace.c u64 index = flags & BPF_F_INDEX_MASK; index 357 kernel/trace/bpf_trace.c if (index == BPF_F_CURRENT_CPU) index 358 kernel/trace/bpf_trace.c index = cpu; index 359 kernel/trace/bpf_trace.c if (unlikely(index >= array->map.max_entries)) index 362 kernel/trace/bpf_trace.c ee = READ_ONCE(array->ptrs[index]); index 425 kernel/trace/bpf_trace.c u64 index = flags & BPF_F_INDEX_MASK; index 429 kernel/trace/bpf_trace.c if (index == BPF_F_CURRENT_CPU) index 430 kernel/trace/bpf_trace.c index = cpu; index 431 kernel/trace/bpf_trace.c if (unlikely(index >= array->map.max_entries)) index 434 kernel/trace/bpf_trace.c ee = READ_ONCE(array->ptrs[index]); index 63 kernel/trace/fgraph.c int index; index 85 kernel/trace/fgraph.c index = ++current->curr_ret_stack; index 87 kernel/trace/fgraph.c current->ret_stack[index].ret = ret; index 88 kernel/trace/fgraph.c current->ret_stack[index].func = func; index 89 kernel/trace/fgraph.c current->ret_stack[index].calltime = calltime; index 91 kernel/trace/fgraph.c current->ret_stack[index].fp = frame_pointer; index 94 kernel/trace/fgraph.c current->ret_stack[index].retp = retp; index 127 kernel/trace/fgraph.c int index; index 129 kernel/trace/fgraph.c index = current->curr_ret_stack; index 131 kernel/trace/fgraph.c if (unlikely(index < 0 || index >= FTRACE_RETFUNC_DEPTH)) { index 154 kernel/trace/fgraph.c if (unlikely(current->ret_stack[index].fp != frame_pointer)) { index 158 kernel/trace/fgraph.c current->ret_stack[index].fp, index 160 kernel/trace/fgraph.c (void *)current->ret_stack[index].func, index 161 kernel/trace/fgraph.c current->ret_stack[index].ret); index 167 kernel/trace/fgraph.c *ret = current->ret_stack[index].ret; index 168 kernel/trace/fgraph.c trace->func = current->ret_stack[index].func; index 169 kernel/trace/fgraph.c trace->calltime = current->ret_stack[index].calltime; index 276 kernel/trace/fgraph.c int index = task->curr_ret_stack; index 282 kernel/trace/fgraph.c if (index < 0) index 285 kernel/trace/fgraph.c for (i = 0; i <= index; i++) index 393 kernel/trace/fgraph.c int index; index 416 kernel/trace/fgraph.c for (index = next->curr_ret_stack; index >= 0; index--) index 417 kernel/trace/fgraph.c next->ret_stack[index].calltime += timestamp; index 401 kernel/trace/ftrace.c unsigned long index; index 441 kernel/trace/ftrace.c if ((void *)rec >= (void *)&pg->records[pg->index]) { index 580 kernel/trace/ftrace.c pg->index = 0; index 743 kernel/trace/ftrace.c if (stat->pages->index == PROFILES_PER_PAGE) { index 749 kernel/trace/ftrace.c rec = &stat->pages->records[stat->pages->index++]; index 1102 kernel/trace/ftrace.c int index; index 1517 kernel/trace/ftrace.c for (_____i = 0; _____i < pg->index; _____i++) { \ index 1560 kernel/trace/ftrace.c start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE)) index 1562 kernel/trace/ftrace.c rec = bsearch(&key, pg->records, pg->index, index 2426 kernel/trace/ftrace.c int index; index 2448 kernel/trace/ftrace.c iter->index = 0; index 2451 kernel/trace/ftrace.c while (iter->pg && !iter->pg->index) index 2468 kernel/trace/ftrace.c iter->index++; index 2470 kernel/trace/ftrace.c if (iter->index >= iter->pg->index) { index 2472 kernel/trace/ftrace.c iter->index = 0; index 2475 kernel/trace/ftrace.c while (iter->pg && !iter->pg->index) index 2493 kernel/trace/ftrace.c return &iter->pg->records[iter->index]; index 2932 kernel/trace/ftrace.c for (i = 0; i < pg->index; i++) { index 3284 kernel/trace/ftrace.c if (iter->idx >= iter->pg->index) { index 3738 kernel/trace/ftrace.c long index = simple_strtoul(func_g->search, NULL, 0); index 3743 kernel/trace/ftrace.c if (--index < 0) index 3747 kernel/trace/ftrace.c if (pg->index <= index) { index 3748 kernel/trace/ftrace.c index -= pg->index; index 3752 kernel/trace/ftrace.c rec = &pg->records[index]; index 5636 kernel/trace/ftrace.c if (pg->index == pg->size) { index 5643 kernel/trace/ftrace.c rec = &pg->records[pg->index++]; index 5719 kernel/trace/ftrace.c for (i = 0; i < pg->index; i++) { index 5808 kernel/trace/ftrace.c ftrace_update_tot_cnt -= pg->index; index 6148 kernel/trace/ftrace.c start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE)) index 6151 kernel/trace/ftrace.c rec = bsearch(&key, pg->records, pg->index, index 6163 kernel/trace/ftrace.c pg->index--; index 6165 kernel/trace/ftrace.c if (!pg->index) { index 6176 kernel/trace/ftrace.c (pg->index - (rec - pg->records)) * sizeof(*rec)); index 1905 kernel/trace/ring_buffer.c static __always_inline void *__rb_page_index(struct buffer_page *bpage, unsigned index) index 1907 kernel/trace/ring_buffer.c return bpage->page->data + index; index 2420 kernel/trace/ring_buffer.c unsigned long index; index 2442 kernel/trace/ring_buffer.c index = local_cmpxchg(&bpage->write, old_index, new_index); index 2443 kernel/trace/ring_buffer.c if (index == old_index) { index 2565 kernel/trace/ring_buffer.c unsigned long index; index 2567 kernel/trace/ring_buffer.c index = rb_event_index(event); index 2571 kernel/trace/ring_buffer.c rb_commit_index(cpu_buffer) == index; index 7957 kernel/trace/trace.c unsigned int index; index 7960 kernel/trace/trace.c get_tr_index(tr_index, &tr, &index); index 7962 kernel/trace/trace.c if (tr->trace_flags & (1 << index)) index 7976 kernel/trace/trace.c unsigned int index; index 7980 kernel/trace/trace.c get_tr_index(tr_index, &tr, &index); index 7991 kernel/trace/trace.c ret = set_tracer_flag(tr, 1 << index, val); index 8130 kernel/trace/trace.c const char *option, long index) index 8139 kernel/trace/trace.c (void *)&tr->trace_flags_index[index], index 1513 kernel/trace/trace_events_filter.c int index; index 1516 kernel/trace/trace_events_filter.c ret = calc_stack(filter_string, &nr_parens, &nr_preds, &index); index 1520 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_MISSING_QUOTE, index); index 1523 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_TOO_MANY_OPEN, index); index 1526 kernel/trace/trace_events_filter.c parse_error(pe, FILT_ERR_TOO_MANY_CLOSE, index); index 150 kernel/trace/trace_probe.c trace_probe_log.index = 0; index 158 kernel/trace/trace_probe.c void trace_probe_log_set_index(int index) index 160 kernel/trace/trace_probe.c trace_probe_log.index = index; index 173 kernel/trace/trace_probe.c if (i == trace_probe_log.index) index 181 kernel/trace/trace_probe.c if (trace_probe_log.index >= trace_probe_log.argc) { index 461 kernel/trace/trace_probe.h int index; index 465 kernel/trace/trace_probe.h void trace_probe_log_set_index(int index); index 70 lib/842/842_compress.c u8 index; index 76 lib/842/842_compress.c u16 index; index 82 lib/842/842_compress.c u8 index; index 116 lib/842/842_compress.c (p)->node##b[_i].index = _i; \ index 124 lib/842/842_compress.c p->index##b[n] = INDEX_NOT_FOUND; \ index 127 lib/842/842_compress.c p->index##b[n] = _n->index; \ index 131 lib/842/842_compress.c p->index##b[n] >= 0; \ index 135 lib/842/842_compress.c ((p)->index##b[n] == INDEX_NOT_CHECKED \ index 137 lib/842/842_compress.c : (p)->index##b[n] >= 0) index 144 lib/842/842_compress.c (unsigned int)_n->index, \ index 165 lib/842/842_decompress.c u64 index, offset, total = round_down(p->out - p->ostart, 8); index 168 lib/842/842_decompress.c ret = next_bits(p, &index, bits); index 172 lib/842/842_decompress.c offset = index * size; index 200 lib/842/842_decompress.c size, (unsigned long)index, index 201 lib/842/842_decompress.c (unsigned long)(index * size), (unsigned long)offset, index 332 lib/bitmap.c unsigned long index, end, i; index 334 lib/bitmap.c index = find_next_zero_bit(map, size, start); index 337 lib/bitmap.c index = __ALIGN_MASK(index + align_offset, align_mask) - align_offset; index 339 lib/bitmap.c end = index + nr; index 342 lib/bitmap.c i = find_next_bit(map, end, index); index 347 lib/bitmap.c return index; index 1035 lib/bitmap.c int index; /* index first long of region in bitmap */ index 1048 lib/bitmap.c index = pos / BITS_PER_LONG; index 1049 lib/bitmap.c offset = pos - (index * BITS_PER_LONG); index 1064 lib/bitmap.c if (bitmap[index + i] & mask) index 1072 lib/bitmap.c bitmap[index + i] |= mask; index 1077 lib/bitmap.c bitmap[index + i] &= ~mask; index 679 lib/btree.c unsigned long *key, size_t index, index 703 lib/btree.c size_t index, void *func2) index 708 lib/btree.c size_t index, void *__func) index 712 lib/btree.c func(elem, opaque, *key, index); index 717 lib/btree.c size_t index, void *__func) index 722 lib/btree.c func(elem, opaque, *key, index); index 727 lib/btree.c size_t index, void *__func) index 732 lib/btree.c func(elem, opaque, *key, index); index 737 lib/btree.c size_t index, void *__func) index 742 lib/btree.c func(elem, opaque, key[0], key[1], index); index 750 lib/btree.c size_t index, void *func2), index 768 lib/btree.c size_t index, void *func2), index 53 lib/cpu_rmap.c rmap->near[cpu].index = cpu % size; index 102 lib/cpu_rmap.c rmap->near[cpu].index = rmap->near[neigh].index; index 113 lib/cpu_rmap.c unsigned index; index 119 lib/cpu_rmap.c index = rmap->near[cpu].index; index 121 lib/cpu_rmap.c cpu, index, rmap->near[cpu].dist); index 140 lib/cpu_rmap.c u16 index; index 143 lib/cpu_rmap.c index = rmap->used++; index 144 lib/cpu_rmap.c rmap->obj[index] = obj; index 145 lib/cpu_rmap.c return index; index 155 lib/cpu_rmap.c int cpu_rmap_update(struct cpu_rmap *rmap, u16 index, index 168 lib/cpu_rmap.c if (rmap->near[cpu].index == index) { index 180 lib/cpu_rmap.c rmap->near[cpu].index = index; index 216 lib/cpu_rmap.c u16 index; index 228 lib/cpu_rmap.c u16 index; index 233 lib/cpu_rmap.c for (index = 0; index < rmap->used; index++) { index 234 lib/cpu_rmap.c glue = rmap->obj[index]; index 256 lib/cpu_rmap.c rc = cpu_rmap_update(glue->rmap, glue->index, mask); index 296 lib/cpu_rmap.c glue->index = cpu_rmap_add(rmap, glue); index 250 lib/crypto/sha256.c unsigned int index, pad_len; index 258 lib/crypto/sha256.c index = sctx->count & 0x3f; index 259 lib/crypto/sha256.c pad_len = (index < 56) ? (56 - index) : ((64+56) - index); index 206 lib/devres.c void __iomem *devm_of_iomap(struct device *dev, struct device_node *node, int index, index 211 lib/devres.c if (of_address_to_resource(node, index, &res)) index 752 lib/genalloc.c unsigned long index; index 754 lib/genalloc.c index = bitmap_find_next_zero_area(map, size, start, nr, 0); index 756 lib/genalloc.c while (index < size) { index 757 lib/genalloc.c int next_bit = find_next_bit(map, size, index + nr); index 758 lib/genalloc.c if ((next_bit - index) < len) { index 759 lib/genalloc.c len = next_bit - index; index 760 lib/genalloc.c start_bit = index; index 764 lib/genalloc.c index = bitmap_find_next_zero_area(map, size, index 872 lib/genalloc.c const char *propname, int index) index 879 lib/genalloc.c np_pool = of_parse_phandle(np, propname, index); index 50 lib/idr.c *nextid = iter.index + base; index 204 lib/idr.c unsigned long id = iter.index + base; index 249 lib/idr.c *nextid = iter.index + base; index 553 lib/idr.c extern void xa_dump_index(unsigned long index, unsigned int shift); index 556 lib/idr.c static void ida_dump_entry(void *entry, unsigned long index) index 568 lib/idr.c xa_dump_index(index * IDA_BITMAP_BITS, shift); index 572 lib/idr.c index | (i << node->shift)); index 574 lib/idr.c xa_dump_index(index * IDA_BITMAP_BITS, ilog2(BITS_PER_LONG)); index 579 lib/idr.c xa_dump_index(index * IDA_BITMAP_BITS, IDA_CHUNK_SHIFT); index 14 lib/iommu-helper.c unsigned long index; index 19 lib/iommu-helper.c index = bitmap_find_next_zero_area(map, size, start, nr, align_mask); index 20 lib/iommu-helper.c if (index < size) { index 21 lib/iommu-helper.c if (iommu_is_span_boundary(index, nr, shift, boundary_size)) { index 22 lib/iommu-helper.c start = ALIGN(shift + index, boundary_size) - shift; index 25 lib/iommu-helper.c bitmap_set(map, index, nr); index 26 lib/iommu-helper.c return index; index 606 lib/lru_cache.c void lc_set(struct lru_cache *lc, unsigned int enr, int index) index 611 lib/lru_cache.c if (index < 0 || index >= lc->nr_elements) index 614 lib/lru_cache.c e = lc_element_by_index(lc, index); index 711 lib/objagg.c int parent_index, int index) index 713 lib/objagg.c return index * graph->nodes_count + parent_index; index 717 lib/objagg.c int parent_index, int index) index 719 lib/objagg.c int edge_index = objagg_tmp_graph_edge_index(graph, index, index 726 lib/objagg.c int parent_index, int index) index 728 lib/objagg.c int edge_index = objagg_tmp_graph_edge_index(graph, index, index 735 lib/objagg.c unsigned int index) index 737 lib/objagg.c struct objagg_tmp_node *node = &graph->nodes[index]; index 746 lib/objagg.c if (!objagg_tmp_graph_is_edge(graph, index, j)) index 848 lib/objagg.c int index; index 859 lib/objagg.c while ((index = objagg_tmp_graph_node_max_weight(graph)) != -1) { index 860 lib/objagg.c node = &graph->nodes[index]; index 872 lib/objagg.c if (!objagg_tmp_graph_is_edge(graph, index, j)) index 101 lib/parman.c return parman_prio_first_item(prio)->index; index 112 lib/parman.c return parman_prio_last_item(prio)->index; index 130 lib/parman.c parman->ops->move(parman->priv, item->index, to_index, count); index 145 lib/parman.c item->index = to_index; index 160 lib/parman.c item->index = to_index; index 175 lib/parman.c to_index = item->index; index 179 lib/parman.c last_item->index = to_index; index 202 lib/parman.c item->index = new_index; index 95 lib/radix-tree.c struct radix_tree_node **nodep, unsigned long index) index 97 lib/radix-tree.c unsigned int offset = (index >> parent->shift) & RADIX_TREE_MAP_MASK; index 214 lib/radix-tree.c return iter->index & RADIX_TREE_MAP_MASK; index 230 lib/radix-tree.c static unsigned long next_index(unsigned long index, index 234 lib/radix-tree.c return (index & ~node_maxindex(node)) + (offset << node->shift); index 418 lib/radix-tree.c unsigned long index, unsigned int shift) index 426 lib/radix-tree.c while (index > shift_maxindex(maxshift)) index 608 lib/radix-tree.c unsigned long index, struct radix_tree_node **nodep, index 615 lib/radix-tree.c unsigned long max = index; index 645 lib/radix-tree.c offset = radix_tree_descend(node, &child, index); index 712 lib/radix-tree.c int radix_tree_insert(struct radix_tree_root *root, unsigned long index, index 721 lib/radix-tree.c error = __radix_tree_create(root, index, &node, &slot); index 757 lib/radix-tree.c unsigned long index, struct radix_tree_node **nodep, index 768 lib/radix-tree.c if (index > maxindex) index 775 lib/radix-tree.c offset = radix_tree_descend(parent, &node, index); index 804 lib/radix-tree.c unsigned long index) index 808 lib/radix-tree.c if (!__radix_tree_lookup(root, index, NULL, &slot)) index 826 lib/radix-tree.c void *radix_tree_lookup(const struct radix_tree_root *root, unsigned long index) index 828 lib/radix-tree.c return __radix_tree_lookup(root, index, NULL, NULL); index 976 lib/radix-tree.c unsigned long index, unsigned int tag) index 982 lib/radix-tree.c BUG_ON(index > maxindex); index 988 lib/radix-tree.c offset = radix_tree_descend(parent, &node, index); index 1038 lib/radix-tree.c unsigned long index, unsigned int tag) index 1045 lib/radix-tree.c if (index > maxindex) index 1052 lib/radix-tree.c offset = radix_tree_descend(parent, &node, index); index 1090 lib/radix-tree.c unsigned long index, unsigned int tag) index 1099 lib/radix-tree.c if (index > maxindex) index 1106 lib/radix-tree.c offset = radix_tree_descend(parent, &node, index); index 1148 lib/radix-tree.c iter->index = __radix_tree_iter_add(iter, 1); index 1149 lib/radix-tree.c iter->next_index = iter->index; index 1168 lib/radix-tree.c unsigned long index, offset, maxindex; index 1182 lib/radix-tree.c index = iter->next_index; index 1183 lib/radix-tree.c if (!index && iter->index) index 1188 lib/radix-tree.c if (index > maxindex) index 1195 lib/radix-tree.c iter->index = index; index 1204 lib/radix-tree.c offset = radix_tree_descend(node, &child, index); index 1222 lib/radix-tree.c index &= ~node_maxindex(node); index 1223 lib/radix-tree.c index += offset << node->shift; index 1225 lib/radix-tree.c if (!index) index 1239 lib/radix-tree.c iter->index = (index &~ node_maxindex(node)) | offset; index 1240 lib/radix-tree.c iter->next_index = (index | node_maxindex(node)) + 1; index 1407 lib/radix-tree.c iter->index = iter->next_index; index 1423 lib/radix-tree.c unsigned long index, void *item) index 1429 lib/radix-tree.c entry = __radix_tree_lookup(root, index, &node, &slot); index 1454 lib/radix-tree.c void *radix_tree_delete(struct radix_tree_root *root, unsigned long index) index 1456 lib/radix-tree.c return radix_tree_delete_item(root, index, NULL); index 1546 lib/radix-tree.c iter->index = start; index 1171 lib/rhashtable.c unsigned int index = hash & ((1 << tbl->nest) - 1); index 1177 lib/rhashtable.c ntbl = rht_dereference_bucket_rcu(ntbl[index].table, tbl, hash); index 1181 lib/rhashtable.c index = subhash & ((1 << shift) - 1); index 1182 lib/rhashtable.c ntbl = rht_dereference_bucket_rcu(ntbl[index].table, index 1212 lib/rhashtable.c unsigned int index = hash & ((1 << tbl->nest) - 1); index 1218 lib/rhashtable.c ntbl = nested_table_alloc(ht, &ntbl[index].table, index 1222 lib/rhashtable.c index = hash & ((1 << shift) - 1); index 1225 lib/rhashtable.c ntbl = nested_table_alloc(ht, &ntbl[index].table, index 15 lib/sbitmap.c static inline bool sbitmap_deferred_clear(struct sbitmap *sb, int index) index 21 lib/sbitmap.c spin_lock_irqsave(&sb->map[index].swap_lock, flags); index 23 lib/sbitmap.c if (!sb->map[index].cleared) index 29 lib/sbitmap.c mask = xchg(&sb->map[index].cleared, 0); index 35 lib/sbitmap.c val = sb->map[index].word; index 36 lib/sbitmap.c } while (cmpxchg(&sb->map[index].word, val, val & ~mask) != val); index 40 lib/sbitmap.c spin_unlock_irqrestore(&sb->map[index].swap_lock, flags); index 139 lib/sbitmap.c static int sbitmap_find_bit_in_index(struct sbitmap *sb, int index, index 145 lib/sbitmap.c nr = __sbitmap_get_word(&sb->map[index].word, index 146 lib/sbitmap.c sb->map[index].depth, alloc_hint, index 150 lib/sbitmap.c if (!sbitmap_deferred_clear(sb, index)) index 159 lib/sbitmap.c unsigned int i, index; index 162 lib/sbitmap.c index = SB_NR_TO_INDEX(sb, alloc_hint); index 175 lib/sbitmap.c nr = sbitmap_find_bit_in_index(sb, index, alloc_hint, index 178 lib/sbitmap.c nr += index << sb->shift; index 184 lib/sbitmap.c if (++index >= sb->map_nr) index 185 lib/sbitmap.c index = 0; index 195 lib/sbitmap.c unsigned int i, index; index 198 lib/sbitmap.c index = SB_NR_TO_INDEX(sb, alloc_hint); index 202 lib/sbitmap.c nr = __sbitmap_get_word(&sb->map[index].word, index 203 lib/sbitmap.c min(sb->map[index].depth, shallow_depth), index 206 lib/sbitmap.c nr += index << sb->shift; index 210 lib/sbitmap.c if (sbitmap_deferred_clear(sb, index)) index 214 lib/sbitmap.c index++; index 215 lib/sbitmap.c alloc_hint = index << sb->shift; index 217 lib/sbitmap.c if (index >= sb->map_nr) { index 218 lib/sbitmap.c index = 0; index 42 lib/sg_pool.c unsigned int index; index 47 lib/sg_pool.c index = 0; index 49 lib/sg_pool.c index = get_count_order(nents) - 3; index 51 lib/sg_pool.c return index; index 690 lib/string.c int index; index 693 lib/string.c for (index = 0; index < n; index++) { index 694 lib/string.c item = array[index]; index 698 lib/string.c return index; index 717 lib/string.c int index; index 719 lib/string.c for (index = 0; index < n; index++) { index 720 lib/string.c item = array[index]; index 724 lib/string.c return index; index 286 lib/test_parman.c test_parman->prio_array[item->parman_item.index] = item; index 289 lib/test_parman.c test_parman->prio_array[item->parman_item.index] = NULL; index 336 lib/test_parman.c if (item->parman_item.index != i) { index 338 lib/test_parman.c item->parman_item.index, i); index 37 lib/test_strscpy.c int index, i; index 92 lib/test_strscpy.c index = chars + terminator + i; index 93 lib/test_strscpy.c if (buf[index] != '\0') { index 101 lib/test_strscpy.c index = sizeof(buf) - 1 - i; /* Check from the end back */ index 102 lib/test_strscpy.c if (buf[index] != POISON) { index 387 lib/test_vmalloc.c int index, i, j; index 407 lib/test_vmalloc.c index = random_array[i]; index 412 lib/test_vmalloc.c if (!((run_test_mask & (1 << index)) >> index)) index 417 lib/test_vmalloc.c if (!test_case_array[index].test_func()) index 418 lib/test_vmalloc.c per_cpu_test_data[t->cpu][index].test_passed++; index 420 lib/test_vmalloc.c per_cpu_test_data[t->cpu][index].test_failed++; index 429 lib/test_vmalloc.c per_cpu_test_data[t->cpu][index].time = delta; index 35 lib/test_xarray.c static void *xa_mk_index(unsigned long index) index 37 lib/test_xarray.c return xa_mk_value(index & LONG_MAX); index 40 lib/test_xarray.c static void *xa_store_index(struct xarray *xa, unsigned long index, gfp_t gfp) index 42 lib/test_xarray.c return xa_store(xa, index, xa_mk_index(index), gfp); index 45 lib/test_xarray.c static void xa_insert_index(struct xarray *xa, unsigned long index) index 47 lib/test_xarray.c XA_BUG_ON(xa, xa_insert(xa, index, xa_mk_index(index), index 51 lib/test_xarray.c static void xa_alloc_index(struct xarray *xa, unsigned long index, gfp_t gfp) index 55 lib/test_xarray.c XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(index), xa_limit_32b, index 57 lib/test_xarray.c XA_BUG_ON(xa, id != index); index 60 lib/test_xarray.c static void xa_erase_index(struct xarray *xa, unsigned long index) index 62 lib/test_xarray.c XA_BUG_ON(xa, xa_erase(xa, index) != xa_mk_index(index)); index 63 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, index) != NULL); index 71 lib/test_xarray.c static void *xa_store_order(struct xarray *xa, unsigned long index, index 74 lib/test_xarray.c XA_STATE_ORDER(xas, xa, index, order); index 175 lib/test_xarray.c static noinline void check_xa_mark_1(struct xarray *xa, unsigned long index) index 181 lib/test_xarray.c XA_BUG_ON(xa, xa_get_mark(xa, index, XA_MARK_0)); index 182 lib/test_xarray.c xa_set_mark(xa, index, XA_MARK_0); index 183 lib/test_xarray.c XA_BUG_ON(xa, xa_get_mark(xa, index, XA_MARK_0)); index 186 lib/test_xarray.c XA_BUG_ON(xa, xa_store_index(xa, index, GFP_KERNEL) != NULL); index 187 lib/test_xarray.c XA_BUG_ON(xa, xa_get_mark(xa, index, XA_MARK_0)); index 188 lib/test_xarray.c xa_set_mark(xa, index, XA_MARK_0); index 189 lib/test_xarray.c XA_BUG_ON(xa, !xa_get_mark(xa, index, XA_MARK_0)); index 192 lib/test_xarray.c XA_BUG_ON(xa, xa_get_mark(xa, index + 1, XA_MARK_0)); index 193 lib/test_xarray.c XA_BUG_ON(xa, xa_get_mark(xa, index, XA_MARK_1)); index 196 lib/test_xarray.c xa_erase_index(xa, index); index 198 lib/test_xarray.c XA_BUG_ON(xa, xa_get_mark(xa, index, XA_MARK_0)); index 199 lib/test_xarray.c xa_set_mark(xa, index, XA_MARK_0); index 200 lib/test_xarray.c XA_BUG_ON(xa, xa_get_mark(xa, index, XA_MARK_0)); index 206 lib/test_xarray.c BUG_ON((index % 4) != 0); index 208 lib/test_xarray.c unsigned long base = round_down(index, 1UL << order); index 212 lib/test_xarray.c XA_BUG_ON(xa, xa_store_index(xa, index + 1, GFP_KERNEL)); index 213 lib/test_xarray.c xa_set_mark(xa, index + 1, XA_MARK_0); index 214 lib/test_xarray.c XA_BUG_ON(xa, xa_store_index(xa, index + 2, GFP_KERNEL)); index 215 lib/test_xarray.c xa_set_mark(xa, index + 2, XA_MARK_2); index 217 lib/test_xarray.c xa_store_order(xa, index, order, xa_mk_index(index), index 247 lib/test_xarray.c xa_erase_index(xa, index); index 257 lib/test_xarray.c unsigned long index; index 269 lib/test_xarray.c for (index = 3500; index < 4500; index++) { index 270 lib/test_xarray.c xa_store_index(xa, index, GFP_KERNEL); index 271 lib/test_xarray.c xa_set_mark(xa, index, XA_MARK_0); index 294 lib/test_xarray.c unsigned long index; index 296 lib/test_xarray.c for (index = 0; index < 16384; index += 4) index 297 lib/test_xarray.c check_xa_mark_1(xa, index); index 404 lib/test_xarray.c unsigned long index; index 444 lib/test_xarray.c xa_for_each(xa, index, entry) { index 445 lib/test_xarray.c XA_BUG_ON(xa, index != 5 && index != 7); index 506 lib/test_xarray.c static noinline void check_multi_store_1(struct xarray *xa, unsigned long index, index 509 lib/test_xarray.c XA_STATE(xas, xa, index); index 510 lib/test_xarray.c unsigned long min = index & ~((1UL << order) - 1); index 513 lib/test_xarray.c xa_store_order(xa, index, order, xa_mk_index(index), GFP_KERNEL); index 514 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, min) != xa_mk_index(index)); index 515 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, max - 1) != xa_mk_index(index)); index 520 lib/test_xarray.c XA_BUG_ON(xa, xas_store(&xas, xa_mk_index(min)) != xa_mk_index(index)); index 531 lib/test_xarray.c static noinline void check_multi_store_2(struct xarray *xa, unsigned long index, index 534 lib/test_xarray.c XA_STATE(xas, xa, index); index 535 lib/test_xarray.c xa_store_order(xa, index, order, xa_mk_value(0), GFP_KERNEL); index 539 lib/test_xarray.c XA_BUG_ON(xa, xas.xa_index != index); index 545 lib/test_xarray.c static noinline void check_multi_store_3(struct xarray *xa, unsigned long index, index 552 lib/test_xarray.c xa_store_order(xa, index, order, xa_mk_index(index), GFP_KERNEL); index 556 lib/test_xarray.c XA_BUG_ON(xa, entry != xa_mk_index(index)); index 560 lib/test_xarray.c xas_set(&xas, index + 1); index 562 lib/test_xarray.c XA_BUG_ON(xa, entry != xa_mk_index(index)); index 730 lib/test_xarray.c unsigned long index; index 762 lib/test_xarray.c xa_for_each(xa, index, entry) { index 763 lib/test_xarray.c xa_erase_index(xa, index); index 783 lib/test_xarray.c unsigned long index; index 823 lib/test_xarray.c xa_for_each(xa, index, entry) index 824 lib/test_xarray.c xa_erase_index(xa, index); index 914 lib/test_xarray.c unsigned long index; index 920 lib/test_xarray.c index = 0; index 921 lib/test_xarray.c XA_BUG_ON(xa, xa_find(xa, &index, ULONG_MAX, XA_PRESENT) != index 923 lib/test_xarray.c XA_BUG_ON(xa, index != multi); index 924 lib/test_xarray.c index = multi + 1; index 925 lib/test_xarray.c XA_BUG_ON(xa, xa_find(xa, &index, ULONG_MAX, XA_PRESENT) != index 927 lib/test_xarray.c XA_BUG_ON(xa, (index < multi) || (index >= next)); index 928 lib/test_xarray.c XA_BUG_ON(xa, xa_find_after(xa, &index, ULONG_MAX, XA_PRESENT) != index 930 lib/test_xarray.c XA_BUG_ON(xa, index != next); index 931 lib/test_xarray.c XA_BUG_ON(xa, xa_find_after(xa, &index, next, XA_PRESENT) != NULL); index 932 lib/test_xarray.c XA_BUG_ON(xa, index != next); index 948 lib/test_xarray.c unsigned long index = 1UL << i; index 949 lib/test_xarray.c for (j = 0; j < index; j++) { index 950 lib/test_xarray.c XA_STATE(xas, xa, j + index); index 951 lib/test_xarray.c xa_store_index(xa, index - 1, GFP_KERNEL); index 952 lib/test_xarray.c xa_store_order(xa, index, i, xa_mk_index(index), index 956 lib/test_xarray.c xa_erase_index(xa, index); index 959 lib/test_xarray.c xa_erase_index(xa, index - 1); index 970 lib/test_xarray.c unsigned long index = 1UL << (order - 5); index 974 lib/test_xarray.c XA_BUG_ON(xa, xa_find_after(xa, &index, ULONG_MAX, XA_PRESENT)); index 997 lib/test_xarray.c unsigned long index = k; index 998 lib/test_xarray.c void *entry = xa_find(xa, &index, ULONG_MAX, index 1001 lib/test_xarray.c XA_BUG_ON(xa, index != j); index 1003 lib/test_xarray.c XA_BUG_ON(xa, index != i); index 1007 lib/test_xarray.c index = k; index 1008 lib/test_xarray.c entry = xa_find(xa, &index, ULONG_MAX, index 1011 lib/test_xarray.c XA_BUG_ON(xa, index != j); index 1013 lib/test_xarray.c XA_BUG_ON(xa, index != i); index 1030 lib/test_xarray.c unsigned long i, j, index; index 1032 lib/test_xarray.c xa_for_each(xa, index, entry) { index 1037 lib/test_xarray.c xa_store_index(xa, index, GFP_KERNEL); index 1039 lib/test_xarray.c xa_for_each(xa, index, entry) { index 1040 lib/test_xarray.c XA_BUG_ON(xa, xa_mk_index(index) != entry); index 1041 lib/test_xarray.c XA_BUG_ON(xa, index != j++); index 1075 lib/test_xarray.c unsigned long index = 0; index 1080 lib/test_xarray.c entry = xa_find_after(xa, &index, ULONG_MAX, XA_PRESENT); index 1083 lib/test_xarray.c entry = xa_find_after(xa, &index, ULONG_MAX, XA_PRESENT); index 1131 lib/test_xarray.c unsigned long offset, index; index 1136 lib/test_xarray.c for (index = 0; index < (1UL << (order + 5)); index 1137 lib/test_xarray.c index += (1UL << order)) { index 1138 lib/test_xarray.c xa_store_order(xa, index, order, index 1139 lib/test_xarray.c xa_mk_index(index), GFP_KERNEL); index 1140 lib/test_xarray.c XA_BUG_ON(xa, xa_load(xa, index) != index 1141 lib/test_xarray.c xa_mk_index(index)); index 1143 lib/test_xarray.c xa_mk_index(index)) != index); index 1164 lib/test_xarray.c unsigned long index = 1; index 1168 lib/test_xarray.c XA_BUG_ON(xa, xa_store_order(xa, index, order, index 1169 lib/test_xarray.c xa_mk_index(index), GFP_KERNEL)); index 1170 lib/test_xarray.c index += 1UL << order; index 1356 lib/test_xarray.c unsigned long index, unsigned order) index 1358 lib/test_xarray.c XA_STATE_ORDER(xas, xa, index, order); index 1368 lib/test_xarray.c XA_BUG_ON(xa, xas_store(&xas, xa_mk_index(index + i))); index 1379 lib/test_xarray.c unsigned long index, unsigned order) index 1383 lib/test_xarray.c xa_store_many_order(xa, index, order); index 1384 lib/test_xarray.c for (i = index; i < index + (1UL << order); i++) index 1410 lib/test_xarray.c unsigned long index, unsigned order) index 1412 lib/test_xarray.c XA_STATE_ORDER(xas, xa, index, order); index 1416 lib/test_xarray.c xa_store_index(xa, index, GFP_KERNEL); index 1424 lib/test_xarray.c if (xas.xa_index == index) index 1510 lib/test_xarray.c unsigned long index; index 1518 lib/test_xarray.c xa_for_each(xa, index, entry) index 1590 lib/test_xarray.c static noinline void check_workingset(struct xarray *xa, unsigned long index) index 1592 lib/test_xarray.c XA_STATE(xas, xa, index); index 1654 lib/test_xarray.c unsigned long index; index 1663 lib/test_xarray.c for (index = 0; index < 1000; index++) { index 1664 lib/test_xarray.c xa_store_index(xa, index, GFP_KERNEL); index 339 lib/ubsan.c void __ubsan_handle_out_of_bounds(struct out_of_bounds_data *data, void *index) index 348 lib/ubsan.c val_to_string(index_str, sizeof(index_str), data->index_type, index); index 1251 lib/vsprintf.c int index; index 1257 lib/vsprintf.c index = 0; index 1260 lib/vsprintf.c index = 3; index 1265 lib/vsprintf.c index = 3; index 1271 lib/vsprintf.c index = 0; index 1277 lib/vsprintf.c int digits = put_dec_trunc8(temp, addr[index]) - temp; index 1289 lib/vsprintf.c index += step; index 1633 lib/vsprintf.c const u8 *index = uuid_index; index 1643 lib/vsprintf.c index = guid_index; index 1652 lib/vsprintf.c p = hex_byte_pack_upper(p, addr[index[i]]); index 1654 lib/vsprintf.c p = hex_byte_pack(p, addr[index[i]]); index 142 lib/xarray.c static unsigned int get_offset(unsigned long index, struct xa_node *node) index 144 lib/xarray.c return (index >> node->shift) & XA_CHUNK_MASK; index 702 lib/xarray.c unsigned long index = xas->xa_index; index 716 lib/xarray.c if (xas->xa_index <= (index | XA_CHUNK_MASK)) index 732 lib/xarray.c xas->xa_index = index; index 735 lib/xarray.c xas->xa_index = index; index 1298 lib/xarray.c void *xa_load(struct xarray *xa, unsigned long index) index 1300 lib/xarray.c XA_STATE(xas, xa, index); index 1336 lib/xarray.c void *__xa_erase(struct xarray *xa, unsigned long index) index 1338 lib/xarray.c XA_STATE(xas, xa, index); index 1355 lib/xarray.c void *xa_erase(struct xarray *xa, unsigned long index) index 1360 lib/xarray.c entry = __xa_erase(xa, index); index 1382 lib/xarray.c void *__xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) index 1384 lib/xarray.c XA_STATE(xas, xa, index); index 1419 lib/xarray.c void *xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) index 1424 lib/xarray.c curr = __xa_store(xa, index, entry, gfp); index 1447 lib/xarray.c void *__xa_cmpxchg(struct xarray *xa, unsigned long index, index 1450 lib/xarray.c XA_STATE(xas, xa, index); index 1485 lib/xarray.c int __xa_insert(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) index 1487 lib/xarray.c XA_STATE(xas, xa, index); index 1702 lib/xarray.c void __xa_set_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) index 1704 lib/xarray.c XA_STATE(xas, xa, index); index 1720 lib/xarray.c void __xa_clear_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) index 1722 lib/xarray.c XA_STATE(xas, xa, index); index 1742 lib/xarray.c bool xa_get_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) index 1744 lib/xarray.c XA_STATE(xas, xa, index); index 1772 lib/xarray.c void xa_set_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) index 1775 lib/xarray.c __xa_set_mark(xa, index, mark); index 1790 lib/xarray.c void xa_clear_mark(struct xarray *xa, unsigned long index, xa_mark_t mark) index 1793 lib/xarray.c __xa_clear_mark(xa, index, mark); index 2029 lib/xarray.c void xa_dump_index(unsigned long index, unsigned int shift) index 2032 lib/xarray.c pr_info("%lu: ", index); index 2036 lib/xarray.c pr_info("%lu-%lu: ", index, index | ((1UL << shift) - 1)); index 2039 lib/xarray.c void xa_dump_entry(const void *entry, unsigned long index, unsigned long shift) index 2044 lib/xarray.c xa_dump_index(index, shift); index 2055 lib/xarray.c index + (i << node->shift), node->shift); index 116 lib/xz/xz_dec_stream.c } index; index 284 lib/xz/xz_dec_stream.c s->index.size += in_used; index 307 lib/xz/xz_dec_stream.c switch (s->index.sequence) { index 309 lib/xz/xz_dec_stream.c s->index.count = s->vli; index 316 lib/xz/xz_dec_stream.c if (s->index.count != s->block.count) index 319 lib/xz/xz_dec_stream.c s->index.sequence = SEQ_INDEX_UNPADDED; index 323 lib/xz/xz_dec_stream.c s->index.hash.unpadded += s->vli; index 324 lib/xz/xz_dec_stream.c s->index.sequence = SEQ_INDEX_UNCOMPRESSED; index 328 lib/xz/xz_dec_stream.c s->index.hash.uncompressed += s->vli; index 329 lib/xz/xz_dec_stream.c s->index.hash.crc32 = xz_crc32( index 330 lib/xz/xz_dec_stream.c (const uint8_t *)&s->index.hash, index 331 lib/xz/xz_dec_stream.c sizeof(s->index.hash), index 332 lib/xz/xz_dec_stream.c s->index.hash.crc32); index 333 lib/xz/xz_dec_stream.c --s->index.count; index 334 lib/xz/xz_dec_stream.c s->index.sequence = SEQ_INDEX_UNPADDED; index 337 lib/xz/xz_dec_stream.c } while (s->index.count > 0); index 435 lib/xz/xz_dec_stream.c if ((s->index.size >> 2) != get_le32(s->temp.buf + 4)) index 681 lib/xz/xz_dec_stream.c while ((s->index.size + (b->in_pos - s->in_start)) index 696 lib/xz/xz_dec_stream.c if (!memeq(&s->block.hash, &s->index.hash, index 823 lib/xz/xz_dec_stream.c memzero(&s->index, sizeof(s->index)); index 195 mm/cleancache.c ret = cleancache_ops->get_page(pool_id, key, page->index, page); index 229 mm/cleancache.c cleancache_ops->put_page(pool_id, key, page->index, page); index 257 mm/cleancache.c key, page->index); index 122 mm/filemap.c XA_STATE(xas, &mapping->i_pages, page->index); index 129 mm/filemap.c xas_set_order(&xas, page->index, compound_order(page)); index 297 mm/filemap.c XA_STATE(xas, &mapping->i_pages, pvec->pages[0]->index); index 318 mm/filemap.c VM_BUG_ON_PAGE(page->index > pvec->pages[i]->index, index 325 mm/filemap.c if (page->index == xas.xa_index) index 334 mm/filemap.c if (page->index + compound_nr(page) - 1 == xas.xa_index) index 506 mm/filemap.c pgoff_t index = start_byte >> PAGE_SHIFT; index 515 mm/filemap.c while (index <= end) { index 518 mm/filemap.c nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, index 815 mm/filemap.c pgoff_t offset = old->index; index 825 mm/filemap.c new->index = offset; index 874 mm/filemap.c page->index = offset; index 1460 mm/filemap.c pgoff_t index, unsigned long max_scan) index 1462 mm/filemap.c XA_STATE(xas, &mapping->i_pages, index); index 1496 mm/filemap.c pgoff_t index, unsigned long max_scan) index 1498 mm/filemap.c XA_STATE(xas, &mapping->i_pages, index); index 1657 mm/filemap.c VM_BUG_ON_PAGE(page->index != offset, page); index 1857 mm/filemap.c unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t index, index 1860 mm/filemap.c XA_STATE(xas, &mapping->i_pages, index); index 1913 mm/filemap.c unsigned find_get_pages_range_tag(struct address_space *mapping, pgoff_t *index, index 1917 mm/filemap.c XA_STATE(xas, &mapping->i_pages, *index); index 1945 mm/filemap.c *index = xas.xa_index + 1; index 1962 mm/filemap.c *index = (pgoff_t)-1; index 1964 mm/filemap.c *index = end + 1; index 2017 mm/filemap.c pgoff_t index; index 2028 mm/filemap.c index = *ppos >> PAGE_SHIFT; index 2047 mm/filemap.c page = find_get_page(mapping, index); index 2053 mm/filemap.c index, last_index - index); index 2054 mm/filemap.c page = find_get_page(mapping, index); index 2061 mm/filemap.c index, last_index - index); index 2108 mm/filemap.c if (unlikely(!isize || index > end_index)) { index 2115 mm/filemap.c if (index == end_index) { index 2135 mm/filemap.c if (prev_index != index || offset != prev_offset) index 2137 mm/filemap.c prev_index = index; index 2146 mm/filemap.c index += offset >> PAGE_SHIFT; index 2237 mm/filemap.c error = add_to_page_cache_lru(page, mapping, index, index 2257 mm/filemap.c *ppos = ((loff_t)index << PAGE_SHIFT) + offset; index 2644 mm/filemap.c if (page->index >= max_idx) index 2757 mm/filemap.c pgoff_t index, index 2765 mm/filemap.c page = find_get_page(mapping, index); index 2770 mm/filemap.c err = add_to_page_cache_lru(page, mapping, index, gfp); index 2870 mm/filemap.c pgoff_t index, index 2874 mm/filemap.c return do_read_cache_page(mapping, index, filler, data, index 2893 mm/filemap.c pgoff_t index, index 2896 mm/filemap.c return do_read_cache_page(mapping, index, NULL, NULL, gfp); index 3226 mm/filemap.c pgoff_t index, unsigned flags) index 3234 mm/filemap.c page = pagecache_get_page(mapping, index, fgp_flags, index 57 mm/gup.c unsigned long index; index 70 mm/gup.c for (index = 0; index < npages; index++) { index 71 mm/gup.c struct page *page = compound_head(pages[index]); index 110 mm/gup.c unsigned long index; index 117 mm/gup.c for (index = 0; index < npages; index++) index 118 mm/gup.c put_user_page(pages[index]); index 2466 mm/huge_memory.c page_tail->index = head->index + tail; index 2524 mm/huge_memory.c if (head[i].index >= end) { index 2531 mm/huge_memory.c __xa_store(&head->mapping->i_pages, head[i].index, index 1441 mm/hugetlb.c pgoff_t index = page_index(page_head); index 1452 mm/hugetlb.c return (index << compound_order(page_head)) + compound_idx; index 1500 mm/khugepaged.c pgoff_t index, end = start + HPAGE_PMD_NR; index 1540 mm/khugepaged.c new_page->index = start; index 1550 mm/khugepaged.c for (index = start; index < end; index++) { index 1553 mm/khugepaged.c VM_BUG_ON(index != xas.xa_index); index 1561 mm/khugepaged.c if (index == start) { index 1566 mm/khugepaged.c xas_set(&xas, index); index 1580 mm/khugepaged.c if (shmem_getpage(mapping->host, index, &page, index 1596 mm/khugepaged.c file, index, index 1600 mm/khugepaged.c page = find_lock_page(mapping, index); index 1663 mm/khugepaged.c unmap_mapping_pages(mapping, index, 1, false); index 1666 mm/khugepaged.c xas_set(&xas, index); index 1726 mm/khugepaged.c index = start; index 1728 mm/khugepaged.c while (index < page->index) { index 1729 mm/khugepaged.c clear_highpage(new_page + (index % HPAGE_PMD_NR)); index 1730 mm/khugepaged.c index++; index 1732 mm/khugepaged.c copy_highpage(new_page + (page->index % HPAGE_PMD_NR), index 1741 mm/khugepaged.c index++; index 1743 mm/khugepaged.c while (index < end) { index 1744 mm/khugepaged.c clear_highpage(new_page + (index % HPAGE_PMD_NR)); index 1745 mm/khugepaged.c index++; index 1781 mm/khugepaged.c if (!page || xas.xa_index < page->index) { index 1790 mm/khugepaged.c VM_BUG_ON_PAGE(page->index != xas.xa_index, page); index 2580 mm/ksm.c page->index == linear_page_index(vma, address)) { index 2682 mm/ksm.c page->index = linear_page_index(vma, address); index 188 mm/madvise.c unsigned long index; index 193 mm/madvise.c for (index = start; index != end; index += PAGE_SIZE) { index 200 mm/madvise.c pte = *(orig_pte + ((index - start) / PAGE_SIZE)); index 210 mm/madvise.c vma, index, false); index 226 mm/madvise.c pgoff_t index; index 231 mm/madvise.c index = ((start - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; index 233 mm/madvise.c page = find_get_entry(mapping, index); index 1217 mm/memory-failure.c start = (page->index << PAGE_SHIFT) & ~(size - 1); index 489 mm/memory.c pgoff_t index; index 514 mm/memory.c index = linear_page_index(vma, addr); index 522 mm/memory.c (void *)addr, vma->vm_flags, vma->anon_vma, mapping, index); index 222 mm/migrate.c new = page - pvmw.page->index + index 411 mm/migrate.c newpage->index = page->index; index 437 mm/migrate.c newpage->index = page->index; index 529 mm/migrate.c newpage->index = page->index; index 2057 mm/migrate.c new_page->index = page->index; index 2168 mm/page-writeback.c pgoff_t index; index 2177 mm/page-writeback.c index = writeback_index; index 2180 mm/page-writeback.c index = wbc->range_start >> PAGE_SHIFT; index 2190 mm/page-writeback.c tag_pages_for_writeback(mapping, index, end); index 2191 mm/page-writeback.c done_index = index; index 2192 mm/page-writeback.c while (!done && (index <= end)) { index 2195 mm/page-writeback.c nr_pages = pagevec_lookup_range_tag(&pvec, mapping, &index, end, index 2203 mm/page-writeback.c done_index = page->index; index 2257 mm/page-writeback.c done_index = page->index + 1; index 198 mm/page_alloc.c return page->index; index 203 mm/page_alloc.c page->index = migratetype; index 102 mm/page_ext.c static inline struct page_ext *get_entry(void *base, unsigned long index) index 104 mm/page_ext.c return base + page_ext_size * index; index 118 mm/page_ext.c unsigned long index; index 130 mm/page_ext.c index = pfn - round_down(node_start_pfn(page_to_nid(page)), index 132 mm/page_ext.c return get_entry(base, index); index 247 mm/percpu.c page->index = (unsigned long)pcpu; index 253 mm/percpu.c return (struct pcpu_chunk *)page->index; index 304 mm/percpu.c static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index) index 307 mm/percpu.c (index * PCPU_BITMAP_BLOCK_BITS / BITS_PER_LONG); index 320 mm/percpu.c static unsigned long pcpu_block_off_to_off(int index, int off) index 322 mm/percpu.c return index * PCPU_BITMAP_BLOCK_BITS + off; index 748 mm/percpu.c static void pcpu_block_refresh_hint(struct pcpu_chunk *chunk, int index) index 750 mm/percpu.c struct pcpu_block_md *block = chunk->md_blocks + index; index 751 mm/percpu.c unsigned long *alloc_map = pcpu_index_alloc_map(chunk, index); index 1139 mm/percpu.c unsigned long index, end, i, area_off, area_bits; index 1141 mm/percpu.c index = find_next_zero_bit(map, size, start); index 1144 mm/percpu.c index = __ALIGN_MASK(index, align_mask); index 1145 mm/percpu.c area_off = index; index 1147 mm/percpu.c end = index + nr; index 1150 mm/percpu.c i = find_next_bit(map, end, index); index 1164 mm/percpu.c return index; index 97 mm/readahead.c if (add_to_page_cache_lru(page, mapping, page->index, index 135 mm/readahead.c if (!add_to_page_cache_lru(page, mapping, page->index, gfp)) index 199 mm/readahead.c page->index = page_offset; index 1046 mm/rmap.c page->index = linear_page_index(vma, address); index 141 mm/shmem.c struct shmem_inode_info *info, pgoff_t index); index 142 mm/shmem.c static int shmem_swapin_page(struct inode *inode, pgoff_t index, index 146 mm/shmem.c static int shmem_getpage_gfp(struct inode *inode, pgoff_t index, index 151 mm/shmem.c int shmem_getpage(struct inode *inode, pgoff_t index, index 154 mm/shmem.c return shmem_getpage_gfp(inode, index, pagep, sgp, index 354 mm/shmem.c pgoff_t index, void *expected, void *replacement) index 356 mm/shmem.c XA_STATE(xas, &mapping->i_pages, index); index 376 mm/shmem.c pgoff_t index, swp_entry_t swap) index 378 mm/shmem.c return xa_load(&mapping->i_pages, index) == swp_to_radix_entry(swap); index 608 mm/shmem.c pgoff_t index, void *expected, gfp_t gfp) index 610 mm/shmem.c XA_STATE_ORDER(xas, &mapping->i_pages, index, compound_order(page)); index 615 mm/shmem.c VM_BUG_ON_PAGE(index != round_down(index, nr), page); index 622 mm/shmem.c page->index = index; index 670 mm/shmem.c error = shmem_replace_entry(mapping, page->index, page, radswap); index 684 mm/shmem.c pgoff_t index, void *radswap) index 688 mm/shmem.c old = xa_cmpxchg_irq(&mapping->i_pages, index, radswap, NULL, 0); index 768 mm/shmem.c pgoff_t index = 0; index 779 mm/shmem.c pvec.nr = find_get_entries(mapping, index, index 783 mm/shmem.c index = indices[pvec.nr - 1] + 1; index 807 mm/shmem.c pgoff_t index; index 814 mm/shmem.c index = start; index 815 mm/shmem.c while (index < end) { index 816 mm/shmem.c pvec.nr = find_get_entries(mapping, index, index 817 mm/shmem.c min(end - index, (pgoff_t)PAGEVEC_SIZE), index 824 mm/shmem.c index = indices[i]; index 825 mm/shmem.c if (index >= end) index 832 mm/shmem.c index, page); index 836 mm/shmem.c VM_BUG_ON_PAGE(page_to_pgoff(page) != index, page); index 847 mm/shmem.c if (index == round_down(end, HPAGE_PMD_NR)) { index 856 mm/shmem.c index += HPAGE_PMD_NR - 1; index 872 mm/shmem.c index++; index 903 mm/shmem.c index = start; index 904 mm/shmem.c while (index < end) { index 907 mm/shmem.c pvec.nr = find_get_entries(mapping, index, index 908 mm/shmem.c min(end - index, (pgoff_t)PAGEVEC_SIZE), index 912 mm/shmem.c if (index == start || end != -1) index 915 mm/shmem.c index = start; index 921 mm/shmem.c index = indices[i]; index 922 mm/shmem.c if (index >= end) index 928 mm/shmem.c if (shmem_free_swap(mapping, index, page)) { index 930 mm/shmem.c index--; index 948 mm/shmem.c if (index != round_down(end, HPAGE_PMD_NR)) index 952 mm/shmem.c if (index == round_down(end, HPAGE_PMD_NR)) { index 961 mm/shmem.c index += HPAGE_PMD_NR - 1; index 973 mm/shmem.c index--; index 981 mm/shmem.c index++; index 1299 mm/shmem.c pgoff_t index; index 1304 mm/shmem.c index = page->index; index 1342 mm/shmem.c index >= shmem_falloc->start && index 1343 mm/shmem.c index < shmem_falloc->next) index 1435 mm/shmem.c struct shmem_inode_info *info, pgoff_t index) index 1440 mm/shmem.c vma->vm_pgoff = index + info->vfs_inode.i_ino; index 1441 mm/shmem.c vma->vm_policy = mpol_shared_policy_lookup(&info->policy, index); index 1451 mm/shmem.c struct shmem_inode_info *info, pgoff_t index) index 1457 mm/shmem.c shmem_pseudo_vma_init(&pvma, info, index); index 1467 mm/shmem.c struct shmem_inode_info *info, pgoff_t index) index 1477 mm/shmem.c hindex = round_down(index, HPAGE_PMD_NR); index 1492 mm/shmem.c struct shmem_inode_info *info, pgoff_t index) index 1497 mm/shmem.c shmem_pseudo_vma_init(&pvma, info, index); index 1506 mm/shmem.c pgoff_t index, bool huge) index 1521 mm/shmem.c page = shmem_alloc_hugepage(gfp, info, index); index 1523 mm/shmem.c page = shmem_alloc_page(gfp, info, index); index 1554 mm/shmem.c struct shmem_inode_info *info, pgoff_t index) index 1572 mm/shmem.c newpage = shmem_alloc_page(gfp, info, index); index 1626 mm/shmem.c static int shmem_swapin_page(struct inode *inode, pgoff_t index, index 1653 mm/shmem.c page = shmem_swapin(swap, gfp, info, index); index 1663 mm/shmem.c !shmem_confirm_swap(mapping, index, swap)) { index 1674 mm/shmem.c error = shmem_replace_page(&page, gfp, info, index); index 1682 mm/shmem.c error = shmem_add_to_page_cache(page, mapping, index, index 1719 mm/shmem.c if (!shmem_confirm_swap(mapping, index, swap)) index 1740 mm/shmem.c static int shmem_getpage_gfp(struct inode *inode, pgoff_t index, index 1752 mm/shmem.c pgoff_t hindex = index; index 1757 mm/shmem.c if (index > (MAX_LFS_FILESIZE >> PAGE_SHIFT)) index 1763 mm/shmem.c ((loff_t)index << PAGE_SHIFT) >= i_size_read(inode)) { index 1770 mm/shmem.c page = find_lock_entry(mapping, index); index 1772 mm/shmem.c error = shmem_swapin_page(inode, index, &page, index 1820 mm/shmem.c off = round_up(index, HPAGE_PMD_NR); index 1834 mm/shmem.c page = shmem_alloc_and_acct_page(gfp, inode, index, true); index 1838 mm/shmem.c index, false); index 1864 mm/shmem.c hindex = round_down(index, HPAGE_PMD_NR); index 1866 mm/shmem.c hindex = index; index 1937 mm/shmem.c ((loff_t)index << PAGE_SHIFT) >= i_size_read(inode)) { index 1948 mm/shmem.c *pagep = page + index - hindex; index 2173 mm/shmem.c pgoff_t index; index 2175 mm/shmem.c index = ((addr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; index 2176 mm/shmem.c return mpol_shared_policy_lookup(&SHMEM_I(inode)->policy, index); index 2479 mm/shmem.c pgoff_t index = pos >> PAGE_SHIFT; index 2490 mm/shmem.c return shmem_getpage(inode, index, pagep, SGP_WRITE); index 2534 mm/shmem.c pgoff_t index; index 2549 mm/shmem.c index = *ppos >> PAGE_SHIFT; index 2559 mm/shmem.c if (index > end_index) index 2561 mm/shmem.c if (index == end_index) { index 2567 mm/shmem.c error = shmem_getpage(inode, index, &page, sgp); index 2586 mm/shmem.c if (index == end_index) { index 2621 mm/shmem.c index += offset >> PAGE_SHIFT; index 2634 mm/shmem.c *ppos = ((loff_t) index << PAGE_SHIFT) + offset; index 2643 mm/shmem.c pgoff_t index, pgoff_t end, int whence) index 2654 mm/shmem.c pvec.nr = find_get_entries(mapping, index, index 2658 mm/shmem.c index = end; index 2661 mm/shmem.c for (i = 0; i < pvec.nr; i++, index++) { index 2662 mm/shmem.c if (index < indices[i]) { index 2667 mm/shmem.c index = indices[i]; index 2674 mm/shmem.c if (index >= end || index 2686 mm/shmem.c return index; index 2732 mm/shmem.c pgoff_t start, index, end; index 2801 mm/shmem.c for (index = start; index < end; index++) { index 2813 mm/shmem.c error = shmem_getpage(inode, index, &page, SGP_FALLOC); index 2816 mm/shmem.c if (index > start) { index 2819 mm/shmem.c ((loff_t)index << PAGE_SHIFT) - 1, true); index 4218 mm/shmem.c pgoff_t index, gfp_t gfp) index 4226 mm/shmem.c error = shmem_getpage_gfp(inode, index, &page, SGP_CACHE, index 4237 mm/shmem.c return read_cache_page_gfp(mapping, index, gfp); index 1176 mm/slab.c static void __init set_up_node(struct kmem_cache *cachep, int index) index 1181 mm/slab.c cachep->node[node] = &init_kmem_cache_node[index + node]; index 1139 mm/slab_common.c unsigned int index; index 1145 mm/slab_common.c index = size_index[size_index_elem(size)]; index 1149 mm/slab_common.c index = fls(size - 1); index 1152 mm/slab_common.c return kmalloc_caches[kmalloc_type(flags)][index]; index 1051 mm/swap.c struct address_space *mapping, pgoff_t *index, pgoff_t end, index 1054 mm/swap.c pvec->nr = find_get_pages_range_tag(mapping, index, end, tag, index 1061 mm/swap.c struct address_space *mapping, pgoff_t *index, pgoff_t end, index 1064 mm/swap.c pvec->nr = find_get_pages_range_tag(mapping, index, end, tag, index 591 mm/swapfile.c cluster_set_null(&percpu_cluster->index); index 609 mm/swapfile.c if (cluster_is_null(&cluster->index)) { index 611 mm/swapfile.c cluster->index = si->free_clusters.head; index 612 mm/swapfile.c cluster->next = cluster_next(&cluster->index) * index 634 mm/swapfile.c (cluster_next(&cluster->index) + 1) * SWAPFILE_CLUSTER); index 636 mm/swapfile.c cluster_set_null(&cluster->index); index 649 mm/swapfile.c cluster_set_null(&cluster->index); index 3222 mm/swapfile.c cluster_set_null(&cluster->index); index 35 mm/truncate.c pgoff_t index, void *entry) index 37 mm/truncate.c XA_STATE(xas, &mapping->i_pages, index); index 46 mm/truncate.c static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, index 50 mm/truncate.c __clear_shadow_entry(mapping, index, entry); index 84 mm/truncate.c pgoff_t index = indices[i]; index 91 mm/truncate.c if (index >= end) index 95 mm/truncate.c dax_delete_mapping_entry(mapping, index); index 99 mm/truncate.c __clear_shadow_entry(mapping, index, page); index 112 mm/truncate.c pgoff_t index, void *entry) index 117 mm/truncate.c clear_shadow_entry(mapping, index, entry); index 126 mm/truncate.c pgoff_t index, void *entry) index 132 mm/truncate.c return dax_invalidate_mapping_entry_sync(mapping, index); index 133 mm/truncate.c clear_shadow_entry(mapping, index, entry); index 181 mm/truncate.c unmap_mapping_pages(mapping, page->index, nr, false); index 300 mm/truncate.c pgoff_t index; index 328 mm/truncate.c index = start; index 329 mm/truncate.c while (index < end && pagevec_lookup_entries(&pvec, mapping, index, index 330 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE), index 344 mm/truncate.c index = indices[i]; index 345 mm/truncate.c if (index >= end) index 353 mm/truncate.c WARN_ON(page_to_index(page) != index); index 372 mm/truncate.c index++; index 413 mm/truncate.c index = start; index 416 mm/truncate.c if (!pagevec_lookup_entries(&pvec, mapping, index, index 417 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE), indices)) { index 419 mm/truncate.c if (index == start) index 422 mm/truncate.c index = start; index 425 mm/truncate.c if (index == start && indices[0] >= end) { index 436 mm/truncate.c index = indices[i]; index 437 mm/truncate.c if (index >= end) { index 439 mm/truncate.c index = start - 1; index 447 mm/truncate.c WARN_ON(page_to_index(page) != index); index 454 mm/truncate.c index++; index 551 mm/truncate.c pgoff_t index = start; index 557 mm/truncate.c while (index <= end && pagevec_lookup_entries(&pvec, mapping, index, index 558 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1, index 564 mm/truncate.c index = indices[i]; index 565 mm/truncate.c if (index > end) index 569 mm/truncate.c invalidate_exceptional_entry(mapping, index, index 577 mm/truncate.c WARN_ON(page_to_index(page) != index); index 584 mm/truncate.c index += HPAGE_PMD_NR - 1; index 591 mm/truncate.c if (index > end) { index 622 mm/truncate.c index++; index 689 mm/truncate.c pgoff_t index; index 699 mm/truncate.c index = start; index 700 mm/truncate.c while (index <= end && pagevec_lookup_entries(&pvec, mapping, index, index 701 mm/truncate.c min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1, index 707 mm/truncate.c index = indices[i]; index 708 mm/truncate.c if (index > end) index 713 mm/truncate.c index, page)) index 719 mm/truncate.c WARN_ON(page_to_index(page) != index); index 730 mm/truncate.c unmap_mapping_pages(mapping, index, index 731 mm/truncate.c (1 + end - index), false); index 737 mm/truncate.c unmap_mapping_pages(mapping, index, index 754 mm/truncate.c index++; index 870 mm/truncate.c pgoff_t index; index 881 mm/truncate.c index = from >> PAGE_SHIFT; index 882 mm/truncate.c page = find_lock_page(inode->i_mapping, index); index 2026 mm/vmstat.c int index; index 2034 mm/vmstat.c index = unusable_free_index(order, &info); index 2035 mm/vmstat.c seq_printf(m, "%d.%03d ", index / 1000, index % 1000); index 2086 mm/vmstat.c int index; index 2096 mm/vmstat.c index = __fragmentation_index(order, &info); index 2097 mm/vmstat.c seq_printf(m, "%d.%03d ", index / 1000, index % 1000); index 212 mm/zsmalloc.c unsigned int index; index 610 mm/zsmalloc.c if (class->index != i) index 879 mm/zsmalloc.c return page->index; index 1437 mm/zsmalloc.c zspage->first_page->index = handle; index 1501 mm/zsmalloc.c set_zspage_mapping(zspage, class->index, newfg); index 1657 mm/zsmalloc.c int index = *obj_idx; index 1662 mm/zsmalloc.c offset += class->size * index; index 1674 mm/zsmalloc.c index++; index 1679 mm/zsmalloc.c *obj_idx = index; index 1785 mm/zsmalloc.c set_zspage_mapping(zspage, class->index, fullness); index 1911 mm/zsmalloc.c newpage->index = oldpage->index; index 2201 mm/zsmalloc.c if (class->index != i) index 2321 mm/zsmalloc.c if (class->index != i) index 2367 mm/zsmalloc.c if (class->index != i) index 2483 mm/zsmalloc.c class->index = i; index 2532 mm/zsmalloc.c if (class->index != i) index 171 net/9p/trans_virtio.c int index = start; index 177 net/9p/trans_virtio.c BUG_ON(index >= limit); index 179 net/9p/trans_virtio.c sg_unmark_end(&sg[index]); index 180 net/9p/trans_virtio.c sg_set_buf(&sg[index++], data, s); index 184 net/9p/trans_virtio.c if (index-start) index 185 net/9p/trans_virtio.c sg_mark_end(&sg[index - 1]); index 186 net/9p/trans_virtio.c return index-start; index 218 net/9p/trans_virtio.c int index = start; index 229 net/9p/trans_virtio.c BUG_ON(index >= limit); index 231 net/9p/trans_virtio.c sg_unmark_end(&sg[index]); index 232 net/9p/trans_virtio.c sg_set_page(&sg[index++], pdata[i++], s, data_off); index 238 net/9p/trans_virtio.c if (index-start) index 239 net/9p/trans_virtio.c sg_mark_end(&sg[index - 1]); index 240 net/9p/trans_virtio.c return index - start; index 338 net/9p/trans_virtio.c int index; index 364 net/9p/trans_virtio.c for (index = 0; index < nr_pages; index++) { index 366 net/9p/trans_virtio.c (*pages)[index] = vmalloc_to_page(p); index 368 net/9p/trans_virtio.c (*pages)[index] = kmap_to_page(p); index 218 net/batman-adv/bridge_loop_avoidance.c int index; index 223 net/batman-adv/bridge_loop_avoidance.c index = batadv_choose_claim(data, hash->size); index 224 net/batman-adv/bridge_loop_avoidance.c head = &hash->table[index]; index 258 net/batman-adv/bridge_loop_avoidance.c int index; index 266 net/batman-adv/bridge_loop_avoidance.c index = batadv_choose_backbone_gw(&search_entry, hash->size); index 267 net/batman-adv/bridge_loop_avoidance.c head = &hash->table[index]; index 329 net/batman-adv/distributed-arp-table.c u32 index; index 337 net/batman-adv/distributed-arp-table.c index = batadv_hash_dat(&to_find, hash->size); index 338 net/batman-adv/distributed-arp-table.c head = &hash->table[index]; index 81 net/batman-adv/hash.h u32 index; index 90 net/batman-adv/hash.h index = choose(data, hash->size); index 91 net/batman-adv/hash.h head = &hash->table[index]; index 92 net/batman-adv/hash.h list_lock = &hash->list_locks[index]; index 134 net/batman-adv/hash.h u32 index; index 139 net/batman-adv/hash.h index = choose(data, hash->size); index 140 net/batman-adv/hash.h head = &hash->table[index]; index 142 net/batman-adv/hash.h spin_lock_bh(&hash->list_locks[index]); index 152 net/batman-adv/hash.h spin_unlock_bh(&hash->list_locks[index]); index 92 net/batman-adv/icmp_socket.c socket_client->index = i; index 115 net/batman-adv/icmp_socket.c batadv_socket_client_hash[client->index] = NULL; index 262 net/batman-adv/icmp_socket.c icmp_header->uid = socket_client->index; index 544 net/batman-adv/network-coding.c int index; index 549 net/batman-adv/network-coding.c index = batadv_nc_hash_choose(data, hash->size); index 550 net/batman-adv/network-coding.c head = &hash->table[index]; index 1743 net/batman-adv/network-coding.c int index; index 1759 net/batman-adv/network-coding.c index = batadv_nc_hash_choose(&nc_path_key, hash->size); index 1763 net/batman-adv/network-coding.c hlist_for_each_entry_rcu(nc_path, &hash->table[index], hash_entry) { index 63 net/batman-adv/originator.c int index; index 68 net/batman-adv/originator.c index = batadv_choose_orig(data, hash->size); index 69 net/batman-adv/originator.c head = &hash->table[index]; index 132 net/batman-adv/translation-table.c u32 index; index 140 net/batman-adv/translation-table.c index = batadv_choose_tt(&to_search, hash->size); index 141 net/batman-adv/translation-table.c head = &hash->table[index]; index 1781 net/batman-adv/types.h unsigned char index; index 1004 net/bluetooth/hci_core.c struct hci_dev *hci_dev_get(int index) index 1008 net/bluetooth/hci_core.c BT_DBG("%d", index); index 1010 net/bluetooth/hci_core.c if (index < 0) index 1015 net/bluetooth/hci_core.c if (d->id == index) { index 342 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(hdev->id); index 355 net/bluetooth/hci_sock.c __le16 index; index 358 net/bluetooth/hci_sock.c index = cpu_to_le16(hdev->id); index 360 net/bluetooth/hci_sock.c index = cpu_to_le16(MGMT_INDEX_NONE); index 393 net/bluetooth/hci_sock.c hdr->index = index; index 477 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(hdev->id); index 533 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(hci_pi(sk)->hdev->id); index 535 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(HCI_DEV_NONE); index 571 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(hci_pi(sk)->hdev->id); index 573 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(HCI_DEV_NONE); index 579 net/bluetooth/hci_sock.c static struct sk_buff *create_monitor_ctrl_command(struct sock *sk, u16 index, index 600 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(index); index 631 net/bluetooth/hci_sock.c hdr->index = cpu_to_le16(HCI_DEV_NONE); index 1474 net/bluetooth/hci_sock.c u16 opcode, index, len; index 1496 net/bluetooth/hci_sock.c index = __le16_to_cpu(hdr->index); index 1508 net/bluetooth/hci_sock.c skb = create_monitor_ctrl_command(sk, index, opcode, len, index 1520 net/bluetooth/hci_sock.c err = mgmt_cmd_status(sk, index, opcode, index 1529 net/bluetooth/hci_sock.c err = mgmt_cmd_status(sk, index, opcode, index 1534 net/bluetooth/hci_sock.c if (index != MGMT_INDEX_NONE) { index 1535 net/bluetooth/hci_sock.c hdev = hci_dev_get(index); index 1537 net/bluetooth/hci_sock.c err = mgmt_cmd_status(sk, index, opcode, index 1545 net/bluetooth/hci_sock.c err = mgmt_cmd_status(sk, index, opcode, index 1552 net/bluetooth/hci_sock.c err = mgmt_cmd_status(sk, index, opcode, index 1560 net/bluetooth/hci_sock.c err = mgmt_cmd_status(sk, index, opcode, index 1568 net/bluetooth/hci_sock.c err = mgmt_cmd_status(sk, index, opcode, index 1597 net/bluetooth/hci_sock.c u16 index; index 1651 net/bluetooth/hci_sock.c index = __le16_to_cpu(hdr->index); index 1653 net/bluetooth/hci_sock.c if (index != MGMT_INDEX_NONE) { index 1654 net/bluetooth/hci_sock.c hdev = hci_dev_get(index); index 394 net/bluetooth/mgmt.c rp->index[count++] = cpu_to_le16(d->id); index 454 net/bluetooth/mgmt.c rp->index[count++] = cpu_to_le16(d->id); index 521 net/bluetooth/mgmt.c rp->entry[count++].index = cpu_to_le16(d->id); index 1249 net/bluetooth/mgmt.c mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, *status); index 1269 net/bluetooth/mgmt.c return mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, status, index 1275 net/bluetooth/mgmt.c return mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, status, index 1313 net/bluetooth/mgmt.c mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, mgmt_err); index 1472 net/bluetooth/mgmt.c mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, mgmt_err); index 2028 net/bluetooth/mgmt.c mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, index 2774 net/bluetooth/mgmt.c err = mgmt_cmd_complete(cmd->sk, cmd->index, MGMT_OP_PAIR_DEVICE, index 3918 net/bluetooth/mgmt.c return mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, status, index 4628 net/bluetooth/mgmt.c mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, mgmt_err); index 4766 net/bluetooth/mgmt.c mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, index 5193 net/bluetooth/mgmt.c err = mgmt_cmd_complete(cmd->sk, cmd->index, MGMT_OP_GET_CONN_INFO, index 5390 net/bluetooth/mgmt.c hdev = hci_dev_get(cmd->index); index 5402 net/bluetooth/mgmt.c err = mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, status, &rp, index 6526 net/bluetooth/mgmt.c mgmt_cmd_status(cmd->sk, cmd->index, cmd->opcode, index 6529 net/bluetooth/mgmt.c mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, index 6703 net/bluetooth/mgmt.c mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, MGMT_STATUS_SUCCESS, index 33 net/bluetooth/mgmt_util.c static struct sk_buff *create_monitor_ctrl_event(__le16 index, u32 cookie, index 53 net/bluetooth/mgmt_util.c hdr->index = index; index 72 net/bluetooth/mgmt_util.c hdr->index = cpu_to_le16(hdev->id); index 74 net/bluetooth/mgmt_util.c hdr->index = cpu_to_le16(MGMT_INDEX_NONE); index 93 net/bluetooth/mgmt_util.c int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status) index 100 net/bluetooth/mgmt_util.c BT_DBG("sock %p, index %u, cmd %u, status %u", sk, index, cmd, status); index 109 net/bluetooth/mgmt_util.c hdr->index = cpu_to_le16(index); index 116 net/bluetooth/mgmt_util.c mskb = create_monitor_ctrl_event(hdr->index, hci_sock_get_cookie(sk), index 136 net/bluetooth/mgmt_util.c int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, index 153 net/bluetooth/mgmt_util.c hdr->index = cpu_to_le16(index); index 163 net/bluetooth/mgmt_util.c mskb = create_monitor_ctrl_event(hdr->index, hci_sock_get_cookie(sk), index 241 net/bluetooth/mgmt_util.c cmd->index = hdev->id; index 26 net/bluetooth/mgmt_util.h int index; index 36 net/bluetooth/mgmt_util.h int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status); index 37 net/bluetooth/mgmt_util.h int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, index 713 net/bluetooth/rfcomm/tty.c dev = rfcomm_dev_get(tty->index); index 750 net/bluetooth/rfcomm/tty.c BT_DBG("tty %p id %d", tty, tty->index); index 389 net/bridge/br_if.c int index; index 401 net/bridge/br_if.c index = find_first_zero_bit(inuse, BR_MAX_PORTS); index 404 net/bridge/br_if.c return (index >= BR_MAX_PORTS) ? -EXFULL : index; index 412 net/bridge/br_if.c int index, err; index 414 net/bridge/br_if.c index = find_portno(br); index 415 net/bridge/br_if.c if (index < 0) index 416 net/bridge/br_if.c return ERR_PTR(index); index 427 net/bridge/br_if.c p->port_no = index; index 502 net/can/bcm.c static void bcm_rx_cmp_to_index(struct bcm_op *op, unsigned int index, index 505 net/can/bcm.c struct canfd_frame *cf = op->frames + op->cfsiz * index; index 506 net/can/bcm.c struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; index 579 net/can/bcm.c static inline int bcm_rx_do_flush(struct bcm_op *op, unsigned int index) index 581 net/can/bcm.c struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; index 775 net/ceph/messenger.c int index = con->out_kvec_left; index 778 net/ceph/messenger.c BUG_ON(index >= ARRAY_SIZE(con->out_kvec)); index 780 net/ceph/messenger.c con->out_kvec[index].iov_len = size; index 781 net/ceph/messenger.c con->out_kvec[index].iov_base = data; index 2071 net/core/dev.c int tci, u16 index) index 2082 net/core/dev.c if (map->queues[pos] != index) index 2194 net/core/dev.c static void netif_reset_xps_queues_gt(struct net_device *dev, u16 index) index 2196 net/core/dev.c netif_reset_xps_queues(dev, index, dev->num_tx_queues - index); index 2200 net/core/dev.c u16 index, bool is_rxqs_map) index 2207 net/core/dev.c if (map->queues[pos] != index) index 2241 net/core/dev.c u16 index, bool is_rxqs_map) index 2258 net/core/dev.c dev = netdev_get_tx_queue(dev, index)->sb_dev ? : dev; index 2260 net/core/dev.c tc = netdev_txq_to_tc(dev, index); index 2297 net/core/dev.c map = expand_xps_map(map, j, index, is_rxqs_map); index 2334 net/core/dev.c while ((pos < map->len) && (map->queues[pos] != index)) index 2338 net/core/dev.c map->queues[map->len++] = index; index 2389 net/core/dev.c netdev_queue_numa_node_write(netdev_get_tx_queue(dev, index), index 2401 net/core/dev.c active |= remove_xps_queue(dev_maps, tci, index); index 2404 net/core/dev.c active |= remove_xps_queue(dev_maps, tci, index); index 2406 net/core/dev.c active |= remove_xps_queue(dev_maps, tci, index); index 2439 net/core/dev.c u16 index) index 2444 net/core/dev.c ret = __netif_set_xps_queue(dev, cpumask_bits(mask), index, false); index 3959 net/core/dev.c u16 index = skb_get_rx_queue(skb); index 3961 net/core/dev.c if (unlikely(index >= dev->real_num_rx_queues)) { index 3965 net/core/dev.c dev->name, index, dev->real_num_rx_queues); index 3968 net/core/dev.c rxqueue += index; index 4212 net/core/dev.c u16 index = skb_get_rx_queue(skb); index 4214 net/core/dev.c if (unlikely(index >= dev->real_num_rx_queues)) { index 4218 net/core/dev.c dev->name, index, dev->real_num_rx_queues); index 4222 net/core/dev.c rxqueue += index; index 5326 net/core/dev.c static void __napi_gro_flush_chain(struct napi_struct *napi, u32 index, index 5329 net/core/dev.c struct list_head *head = &napi->gro_hash[index].list; index 5337 net/core/dev.c napi->gro_hash[index].count--; index 5340 net/core/dev.c if (!napi->gro_hash[index].count) index 5341 net/core/dev.c __clear_bit(index, &napi->gro_bitmask); index 144 net/core/devlink.c if (devlink_port->index == port_index) index 179 net/core/devlink.c unsigned int index; index 198 net/core/devlink.c if (devlink_sb->index == sb_index) index 562 net/core/devlink.c if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, devlink_port->index)) index 843 net/core/devlink.c if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) index 939 net/core/devlink.c err = devlink->ops->sb_pool_get(devlink, devlink_sb->index, index 950 net/core/devlink.c if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) index 1102 net/core/devlink.c return devlink_sb_pool_set(devlink, devlink_sb->index, index 1120 net/core/devlink.c err = ops->sb_port_pool_get(devlink_port, devlink_sb->index, index 1131 net/core/devlink.c if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, devlink_port->index)) index 1133 net/core/devlink.c if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) index 1144 net/core/devlink.c err = ops->sb_occ_port_pool_get(devlink_port, devlink_sb->index, index 1295 net/core/devlink.c return devlink_sb_port_pool_set(devlink_port, devlink_sb->index, index 1313 net/core/devlink.c err = ops->sb_tc_pool_bind_get(devlink_port, devlink_sb->index, index 1325 net/core/devlink.c if (nla_put_u32(msg, DEVLINK_ATTR_PORT_INDEX, devlink_port->index)) index 1327 net/core/devlink.c if (nla_put_u32(msg, DEVLINK_ATTR_SB_INDEX, devlink_sb->index)) index 1343 net/core/devlink.c devlink_sb->index, index 1537 net/core/devlink.c return devlink_sb_tc_pool_bind_set(devlink_port, devlink_sb->index, index 1550 net/core/devlink.c return ops->sb_occ_snapshot(devlink, devlink_sb->index); index 1562 net/core/devlink.c return ops->sb_occ_max_clear(devlink, devlink_sb->index); index 2033 net/core/devlink.c if (nla_put_u64_64bit(skb, DEVLINK_ATTR_DPIPE_ENTRY_INDEX, entry->index, index 3437 net/core/devlink.c devlink_port->index, param_item, index 3476 net/core/devlink.c devlink_port->index, param_item, index 3493 net/core/devlink.c devlink_port->index, index 4552 net/core/devlink.c int index = 0; index 4557 net/core/devlink.c int tmp_index = index; index 4570 net/core/devlink.c err = devlink_fmsg_prepare_skb(fmsg, skb, &index); index 4573 net/core/devlink.c else if (err != -EMSGSIZE || tmp_index == index) index 4603 net/core/devlink.c int index = cb->args[0]; index 4604 net/core/devlink.c int tmp_index = index; index 4615 net/core/devlink.c err = devlink_fmsg_prepare_skb(fmsg, skb, &index); index 4616 net/core/devlink.c if ((err && err != -EMSGSIZE) || tmp_index == index) index 4619 net/core/devlink.c cb->args[0] = index; index 6346 net/core/devlink.c devlink_port->index = port_index; index 6630 net/core/devlink.c devlink_sb->index = sb_index; index 7151 net/core/devlink.c devlink_port->index, index 7172 net/core/devlink.c devlink_port->index, index 7315 net/core/devlink.c devlink_port->index, index 7367 net/core/devlink.c devlink_param_notify(devlink_port->devlink, devlink_port->index, index 3103 net/core/ethtool.c act->queue.index = ethtool_get_flow_spec_ring(fs->ring_cookie); index 3465 net/core/filter.c u32 index) index 3493 net/core/filter.c u32 index = ri->tgt_index; index 3496 net/core/filter.c fwd = dev_get_by_index_rcu(dev_net(dev), index); index 3507 net/core/filter.c _trace_xdp_redirect(dev, xdp_prog, index); index 3510 net/core/filter.c _trace_xdp_redirect_err(dev, xdp_prog, index, err); index 3517 net/core/filter.c u32 index) index 3576 net/core/filter.c static inline void *__xdp_map_lookup_elem(struct bpf_map *map, u32 index) index 3580 net/core/filter.c return __dev_map_lookup_elem(map, index); index 3582 net/core/filter.c return __dev_map_hash_lookup_elem(map, index); index 3584 net/core/filter.c return __cpu_map_lookup_elem(map, index); index 3586 net/core/filter.c return __xsk_map_lookup_elem(map, index); index 3613 net/core/filter.c u32 index = ri->tgt_index; index 3624 net/core/filter.c err = __bpf_tx_xdp_map(dev, fwd, map, xdp, index); index 3629 net/core/filter.c _trace_xdp_redirect_map(dev, xdp_prog, fwd, map, index); index 3632 net/core/filter.c _trace_xdp_redirect_map_err(dev, xdp_prog, fwd, map, index, err); index 3656 net/core/filter.c u32 index = ri->tgt_index; index 3684 net/core/filter.c _trace_xdp_redirect_map(dev, xdp_prog, fwd, map, index); index 3687 net/core/filter.c _trace_xdp_redirect_map_err(dev, xdp_prog, fwd, map, index, err); index 3696 net/core/filter.c u32 index = ri->tgt_index; index 3704 net/core/filter.c fwd = dev_get_by_index_rcu(dev_net(dev), index); index 3715 net/core/filter.c _trace_xdp_redirect(dev, xdp_prog, index); index 3719 net/core/filter.c _trace_xdp_redirect_err(dev, xdp_prog, index, err); index 4553 net/core/filter.c BPF_CALL_5(bpf_skb_get_xfrm_state, struct sk_buff *, skb, u32, index, index 4559 net/core/filter.c if (!sp || unlikely(index >= sp->len || flags)) index 4562 net/core/filter.c x = sp->xvec[index]; index 1673 net/core/neighbour.c void neigh_table_init(int index, struct neigh_table *tbl) index 1721 net/core/neighbour.c neigh_tables[index] = tbl; index 1725 net/core/neighbour.c int neigh_table_clear(int index, struct neigh_table *tbl) index 1727 net/core/neighbour.c neigh_tables[index] = NULL; index 2981 net/core/neighbour.c int neigh_xmit(int index, struct net_device *dev, index 2985 net/core/neighbour.c if (likely(index < NEIGH_NR_TABLES)) { index 2989 net/core/neighbour.c tbl = neigh_tables[index]; index 2993 net/core/neighbour.c if (index == NEIGH_ARP_TABLE) { index 3010 net/core/neighbour.c else if (index == NEIGH_LINK_TABLE) { index 3409 net/core/neighbour.c int index) index 3419 net/core/neighbour.c if (dst_p && !test_bit(index, dst_p->data_state)) index 3420 net/core/neighbour.c dst_p->data[index] = p->data[index]; index 3430 net/core/neighbour.c int index = (int *) ctl->data - p->data; index 3435 net/core/neighbour.c set_bit(index, p->data_state); index 3436 net/core/neighbour.c if (index == NEIGH_VAR_DELAY_PROBE_TIME) index 3439 net/core/neighbour.c neigh_copy_dflt_parms(net, p, index); index 3534 net/core/neighbour.c #define NEIGH_PARMS_DATA_OFFSET(index) \ index 3535 net/core/neighbour.c (&((struct neigh_parms *) 0)->data[index]) index 916 net/core/net-sysfs.c static int rx_queue_add_kobject(struct net_device *dev, int index) index 918 net/core/net-sysfs.c struct netdev_rx_queue *queue = dev->_rx + index; index 929 net/core/net-sysfs.c "rx-%u", index); index 1057 net/core/net-sysfs.c int index; index 1063 net/core/net-sysfs.c index = get_netdev_queue_index(queue); index 1066 net/core/net-sysfs.c dev = netdev_get_tx_queue(dev, index)->sb_dev ? : dev; index 1068 net/core/net-sysfs.c tc = netdev_txq_to_tc(dev, index); index 1094 net/core/net-sysfs.c int err, index = get_netdev_queue_index(queue); index 1109 net/core/net-sysfs.c err = dev->netdev_ops->ndo_set_tx_maxrate(dev, index, rate); index 1242 net/core/net-sysfs.c unsigned long index; index 1247 net/core/net-sysfs.c index = get_netdev_queue_index(queue); index 1256 net/core/net-sysfs.c dev = netdev_get_tx_queue(dev, index)->sb_dev ? : dev; index 1258 net/core/net-sysfs.c tc = netdev_txq_to_tc(dev, index); index 1278 net/core/net-sysfs.c if (map->queues[i] == index) { index 1296 net/core/net-sysfs.c unsigned long index; index 1309 net/core/net-sysfs.c index = get_netdev_queue_index(queue); index 1317 net/core/net-sysfs.c err = netif_set_xps_queue(dev, mask, index); index 1331 net/core/net-sysfs.c unsigned long *mask, index; index 1334 net/core/net-sysfs.c index = get_netdev_queue_index(queue); index 1338 net/core/net-sysfs.c tc = netdev_txq_to_tc(dev, index); index 1361 net/core/net-sysfs.c if (map->queues[i] == index) { index 1381 net/core/net-sysfs.c unsigned long *mask, index; index 1391 net/core/net-sysfs.c index = get_netdev_queue_index(queue); index 1400 net/core/net-sysfs.c err = __netif_set_xps_queue(dev, mask, index, true); index 1459 net/core/net-sysfs.c static int netdev_queue_add_kobject(struct net_device *dev, int index) index 1461 net/core/net-sysfs.c struct netdev_queue *queue = dev->_tx + index; index 1472 net/core/net-sysfs.c "tx-%u", index); index 607 net/core/sock.c int index; index 626 net/core/sock.c index = 0; index 633 net/core/sock.c index = dev->ifindex; index 641 net/core/sock.c ret = sock_setbindtodevice_locked(sk, index); index 230 net/core/sock_reuseport.c u32 index; index 244 net/core/sock_reuseport.c index = bpf_prog_run_save_cb(prog, skb); index 249 net/core/sock_reuseport.c if (index >= socks) index 252 net/core/sock_reuseport.c return reuse->socks[index]; index 615 net/dccp/ccids/lib/tfrc_equation.c u16 index; index 631 net/dccp/ccids/lib/tfrc_equation.c index = 0; index 633 net/dccp/ccids/lib/tfrc_equation.c index = p/TFRC_SMALLEST_P - 1; index 635 net/dccp/ccids/lib/tfrc_equation.c f = tfrc_calc_x_lookup[index][1]; index 638 net/dccp/ccids/lib/tfrc_equation.c index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; index 640 net/dccp/ccids/lib/tfrc_equation.c f = tfrc_calc_x_lookup[index][0]; index 664 net/dccp/ccids/lib/tfrc_equation.c int index; index 680 net/dccp/ccids/lib/tfrc_equation.c index = tfrc_binsearch(fvalue, 1); index 681 net/dccp/ccids/lib/tfrc_equation.c return (index + 1) * TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE; index 685 net/dccp/ccids/lib/tfrc_equation.c index = tfrc_binsearch(fvalue, 0); index 686 net/dccp/ccids/lib/tfrc_equation.c return (index + 1) * 1000000 / TFRC_CALC_X_ARRSIZE; index 198 net/dsa/dsa.c return ds->ops->port_rxtstamp(ds, p->dp->index, skb, type); index 27 net/dsa/dsa2.c static struct dsa_switch_tree *dsa_tree_find(int index) index 32 net/dsa/dsa2.c if (dst->index == index) index 38 net/dsa/dsa2.c static struct dsa_switch_tree *dsa_tree_alloc(int index) index 46 net/dsa/dsa2.c dst->index = index; index 70 net/dsa/dsa2.c static struct dsa_switch_tree *dsa_tree_touch(int index) index 74 net/dsa/dsa2.c dst = dsa_tree_find(index); index 78 net/dsa/dsa2.c return dsa_tree_alloc(index); index 150 net/dsa/dsa2.c ds->rtable[link_dp->ds->index] = dp->index; index 259 net/dsa/dsa2.c const unsigned char *id = (const unsigned char *)&dst->index; index 260 net/dsa/dsa2.c const unsigned char len = sizeof(dst->index); index 275 net/dsa/dsa2.c dp->index, false, 0, id, len); index 276 net/dsa/dsa2.c err = devlink_port_register(dl, dlp, dp->index); index 295 net/dsa/dsa2.c dp->index, false, 0, id, len); index 296 net/dsa/dsa2.c err = devlink_port_register(dl, dlp, dp->index); index 315 net/dsa/dsa2.c dp->index, false, 0, id, len); index 316 net/dsa/dsa2.c err = devlink_port_register(dl, dlp, dp->index); index 533 net/dsa/dsa2.c dst->index); index 555 net/dsa/dsa2.c pr_info("DSA: tree %d setup\n", dst->index); index 578 net/dsa/dsa2.c pr_info("DSA: tree %d torn down\n", dst->index); index 584 net/dsa/dsa2.c unsigned int index) index 588 net/dsa/dsa2.c dst->ds[index] = NULL; index 595 net/dsa/dsa2.c unsigned int index = ds->index; index 598 net/dsa/dsa2.c if (dst->ds[index]) index 602 net/dsa/dsa2.c dst->ds[index] = ds; index 606 net/dsa/dsa2.c dst->ds[index] = NULL; index 638 net/dsa/dsa2.c tag_protocol = ds->ops->get_tag_protocol(ds, dp->index); index 728 net/dsa/dsa2.c ds->index = m[1]; index 729 net/dsa/dsa2.c if (ds->index >= DSA_MAX_SWITCHES) index 809 net/dsa/dsa2.c ds->index = 0; index 856 net/dsa/dsa2.c ds->ports[i].index = i; index 880 net/dsa/dsa2.c unsigned int index = ds->index; index 882 net/dsa/dsa2.c dsa_tree_remove_switch(dst, index); index 16 net/dsa/master.c int port = cpu_dp->index; index 48 net/dsa/master.c int port = cpu_dp->index; index 82 net/dsa/master.c int port = cpu_dp->index; index 101 net/dsa/master.c int port = cpu_dp->index; index 137 net/dsa/master.c count += ds->ops->get_sset_count(ds, cpu_dp->index, sset); index 148 net/dsa/master.c int port = cpu_dp->index; index 194 net/dsa/master.c if (snprintf(name, len, "p%d", cpu_dp->index) >= len) index 30 net/dsa/port.c int port = dp->index; index 69 net/dsa/port.c int port = dp->index; index 101 net/dsa/port.c int port = dp->index; index 123 net/dsa/port.c .sw_index = dp->ds->index, index 124 net/dsa/port.c .port = dp->index, index 153 net/dsa/port.c .sw_index = dp->ds->index, index 154 net/dsa/port.c .port = dp->index, index 229 net/dsa/port.c err = ds->ops->port_vlan_filtering(ds, dp->index, index 275 net/dsa/port.c int port = dp->index; index 292 net/dsa/port.c int port = dp->index; index 304 net/dsa/port.c .sw_index = dp->ds->index, index 305 net/dsa/port.c .port = dp->index, index 317 net/dsa/port.c .sw_index = dp->ds->index, index 318 net/dsa/port.c .port = dp->index, index 330 net/dsa/port.c int port = dp->index; index 343 net/dsa/port.c .sw_index = dp->ds->index, index 344 net/dsa/port.c .port = dp->index, index 356 net/dsa/port.c .sw_index = dp->ds->index, index 357 net/dsa/port.c .port = dp->index, index 369 net/dsa/port.c .sw_index = dp->ds->index, index 370 net/dsa/port.c .port = dp->index, index 382 net/dsa/port.c .sw_index = dp->ds->index, index 383 net/dsa/port.c .port = dp->index, index 452 net/dsa/port.c ds->ops->phylink_validate(ds, dp->index, supported, state); index 466 net/dsa/port.c return ds->ops->phylink_mac_link_state(ds, dp->index, state); index 480 net/dsa/port.c ds->ops->phylink_mac_config(ds, dp->index, mode, state); index 492 net/dsa/port.c ds->ops->phylink_mac_an_restart(ds, dp->index); index 504 net/dsa/port.c if (dsa_is_user_port(ds, dp->index)) index 509 net/dsa/port.c ds->ops->adjust_link(ds, dp->index, phydev); index 513 net/dsa/port.c ds->ops->phylink_mac_link_down(ds, dp->index, mode, interface); index 527 net/dsa/port.c ds->ops->adjust_link(ds, dp->index, phydev); index 531 net/dsa/port.c ds->ops->phylink_mac_link_up(ds, dp->index, mode, interface, phydev); index 548 net/dsa/port.c int port = dp->index; index 587 net/dsa/port.c int port = dp->index; index 55 net/dsa/slave.c ds->dst->index, ds->index); index 258 net/dsa/slave.c int port = p->dp->index; index 441 net/dsa/slave.c ppid->id_len = sizeof(dst->index); index 442 net/dsa/slave.c memcpy(&ppid->id, &dst->index, ppid->id_len); index 481 net/dsa/slave.c if (ds->ops->port_txtstamp(ds, p->dp->index, clone, type)) index 560 net/dsa/slave.c ds->ops->port_deferred_xmit(ds, dp->index, skb); index 579 net/dsa/slave.c return ds->ops->get_regs_len(ds, dp->index); index 591 net/dsa/slave.c ds->ops->get_regs(ds, dp->index, regs, _p); index 653 net/dsa/slave.c ds->ops->get_strings(ds, dp->index, stringset, index 686 net/dsa/slave.c ds->ops->get_ethtool_stats(ds, dp->index, data + 4); index 699 net/dsa/slave.c count += ds->ops->get_sset_count(ds, dp->index, sset); index 715 net/dsa/slave.c ds->ops->get_wol(ds, dp->index, w); index 727 net/dsa/slave.c ret = ds->ops->set_wol(ds, dp->index, w); index 745 net/dsa/slave.c ret = ds->ops->set_mac_eee(ds, dp->index, e); index 765 net/dsa/slave.c ret = ds->ops->get_mac_eee(ds, dp->index, e); index 842 net/dsa/slave.c if (snprintf(name, len, "p%d", dp->index) >= len) index 901 net/dsa/slave.c mirror->to_local_port = to_dp->index; index 904 net/dsa/slave.c err = ds->ops->port_mirror_add(ds, dp->index, mirror, ingress); index 934 net/dsa/slave.c ds->ops->port_mirror_del(ds, dp->index, &mall_tc_entry->mirror); index 1043 net/dsa/slave.c return ds->ops->port_setup_tc(ds, dp->index, type, type_data); index 1083 net/dsa/slave.c return ds->ops->get_rxnfc(ds, dp->index, nfc, rule_locs); index 1095 net/dsa/slave.c return ds->ops->set_rxnfc(ds, dp->index, nfc); index 1107 net/dsa/slave.c return ds->ops->get_ts_info(ds, p->dp->index, ts); index 1271 net/dsa/slave.c ds->ops->phylink_fixed_state(ds, dp->index, state); index 1320 net/dsa/slave.c phy_flags = ds->ops->get_phy_flags(ds, dp->index); index 1327 net/dsa/slave.c ret = dsa_slave_phy_connect(slave_dev, dp->index); index 1331 net/dsa/slave.c dp->index, ret); index 1380 net/dsa/slave.c .switch_number = dp->ds->index, index 1381 net/dsa/slave.c .port_number = dp->index, index 58 net/dsa/switch.c if (ds->index == info->sw_index && ds->ops->port_bridge_join) index 61 net/dsa/switch.c if (ds->index != info->sw_index && ds->ops->crosschip_bridge_join) index 74 net/dsa/switch.c if (ds->index == info->sw_index && ds->ops->port_bridge_leave) index 77 net/dsa/switch.c if (ds->index != info->sw_index && ds->ops->crosschip_bridge_leave) index 134 net/dsa/switch.c if (ds->index == info->sw_index && port == info->port) index 186 net/dsa/switch.c if (ds->index == info->sw_index) index 232 net/dsa/switch.c if (ds->index == info->sw_index && port == info->port) index 288 net/dsa/switch.c if (ds->index == info->sw_index) index 67 net/dsa/tag_8021q.c return DSA_8021Q_DIR_TX | DSA_8021Q_SWITCH_ID(ds->index) | index 77 net/dsa/tag_8021q.c return DSA_8021Q_DIR_RX | DSA_8021Q_SWITCH_ID(ds->index) | index 98 net/dsa/tag_brcm.c if (dp->index == 8) index 100 net/dsa/tag_brcm.c brcm_tag[3] = (1 << dp->index) & BRCM_IG_DSTMAP1_MASK; index 105 net/dsa/tag_brcm.c skb_set_queue_mapping(skb, BRCM_TAG_SET_PORT_QUEUE(dp->index, queue)); index 33 net/dsa/tag_dsa.c dsa_header[0] = 0x60 | dp->ds->index; index 34 net/dsa/tag_dsa.c dsa_header[1] = dp->index << 3; index 54 net/dsa/tag_dsa.c dsa_header[0] = 0x40 | dp->ds->index; index 55 net/dsa/tag_dsa.c dsa_header[1] = dp->index << 3; index 42 net/dsa/tag_edsa.c edsa_header[4] = 0x60 | dp->ds->index; index 43 net/dsa/tag_edsa.c edsa_header[5] = dp->index << 3; index 67 net/dsa/tag_edsa.c edsa_header[4] = 0x40 | dp->ds->index; index 68 net/dsa/tag_edsa.c edsa_header[5] = dp->index << 3; index 76 net/dsa/tag_gswip.c gswip_tag[3] = BIT(dp->index + GSWIP_TX_PORT_MAP_SHIFT) & GSWIP_TX_PORT_MAP_MASK; index 107 net/dsa/tag_ksz.c *tag = 1 << dp->index; index 172 net/dsa/tag_ksz.c *tag = BIT(dp->index); index 227 net/dsa/tag_ksz.c *tag = BIT(dp->index); index 79 net/dsa/tag_lan9303.c dp->index | LAN9303_TAG_TX_STP_OVERRIDE; index 52 net/dsa/tag_mtk.c mtk_tag[1] = (1 << dp->index) & MTK_HDR_XMIT_DP_BIT_MASK; index 46 net/dsa/tag_qca.c QCA_HDR_XMIT_FROM_CPU | BIT(dp->index); index 91 net/dsa/tag_sja1105.c u16 tx_vid = dsa_8021q_tx_vid(ds, dp->index); index 47 net/dsa/tag_trailer.c trailer[1] = 1 << dp->index; index 35 net/ieee802154/sysfs.c SHOW_FMT(index, "%d", wpan_phy_idx); index 222 net/ipv4/fib_trie.c unsigned long index = key ^ kv->key; index 227 net/ipv4/fib_trie.c return index >> kv->pos; index 941 net/ipv4/fib_trie.c unsigned long index = 0; index 945 net/ipv4/fib_trie.c n = get_child_rcu(n, index); index 950 net/ipv4/fib_trie.c index = get_cindex(key, n); index 966 net/ipv4/fib_trie.c if (index >= (1ul << n->bits)) { index 1322 net/ipv4/fib_trie.c unsigned long index; index 1340 net/ipv4/fib_trie.c index = get_cindex(key, n); index 1356 net/ipv4/fib_trie.c if (index >= (1ul << n->bits)) index 1368 net/ipv4/fib_trie.c cindex = index; index 1371 net/ipv4/fib_trie.c n = get_child_rcu(n, index); index 1438 net/ipv4/fib_trie.c index = key ^ n->key; index 1446 net/ipv4/fib_trie.c if (index >= (1ul << fa->fa_slen)) index 2262 net/ipv4/fib_trie.c unsigned int index; index 2268 net/ipv4/fib_trie.c unsigned long cindex = iter->index; index 2273 net/ipv4/fib_trie.c iter->tnode, iter->index, iter->depth); index 2284 net/ipv4/fib_trie.c iter->index = cindex; index 2288 net/ipv4/fib_trie.c iter->index = 0; index 2304 net/ipv4/fib_trie.c iter->index = 0; index 2324 net/ipv4/fib_trie.c iter->index = 0; index 2328 net/ipv4/fib_trie.c iter->index = 0; index 112 net/ipv4/ip_gre.c u32 id, u32 index, index 543 net/ipv4/ip_gre.c ntohl(md->u.index), truncate, true); index 666 net/ipv4/ip_gre.c tunnel->index, index 1179 net/ipv4/ip_gre.c t->index = nla_get_u32(data[IFLA_GRE_ERSPAN_INDEX]); index 1180 net/ipv4/ip_gre.c if (t->index & ~INDEX_MASK) index 1463 net/ipv4/ip_gre.c if (nla_put_u32(skb, IFLA_GRE_ERSPAN_INDEX, t->index)) index 124 net/ipv4/proc.c int index; index 356 net/ipv4/proc.c atomic_long_read(ptr + icmpmibmap[i].index)); index 362 net/ipv4/proc.c atomic_long_read(ptr + (icmpmibmap[i].index | 0x100))); index 991 net/ipv6/ip6_gre.c ntohl(md->u.index), truncate, index 1023 net/ipv6/ip6_gre.c t->parms.index, index 1173 net/ipv6/ip6_gre.c t->parms.index = p->index; index 1699 net/ipv6/ip6_gre.c u32 index = nla_get_u32(data[IFLA_GRE_ERSPAN_INDEX]); index 1701 net/ipv6/ip6_gre.c if (index & ~INDEX_MASK) index 1735 net/ipv6/ip6_gre.c parms->index = nla_get_u32(data[IFLA_GRE_ERSPAN_INDEX]); index 2118 net/ipv6/ip6_gre.c if (nla_put_u32(skb, IFLA_GRE_ERSPAN_INDEX, p->index)) index 106 net/ipv6/xfrm6_tunnel.c int index = xfrm6_tunnel_spi_hash_byspi(spi); index 109 net/ipv6/xfrm6_tunnel.c &xfrm6_tn->spi_byspi[index], index 114 net/ipv6/xfrm6_tunnel.c return index; index 122 net/ipv6/xfrm6_tunnel.c int index; index 131 net/ipv6/xfrm6_tunnel.c index = __xfrm6_tunnel_spi_check(net, spi); index 132 net/ipv6/xfrm6_tunnel.c if (index >= 0) index 139 net/ipv6/xfrm6_tunnel.c index = __xfrm6_tunnel_spi_check(net, spi); index 140 net/ipv6/xfrm6_tunnel.c if (index >= 0) index 155 net/ipv6/xfrm6_tunnel.c hlist_add_head_rcu(&x6spi->list_byspi, &xfrm6_tn->spi_byspi[index]); index 157 net/ipv6/xfrm6_tunnel.c index = xfrm6_tunnel_spi_hash_byaddr(saddr); index 158 net/ipv6/xfrm6_tunnel.c hlist_add_head_rcu(&x6spi->list_byaddr, &xfrm6_tn->spi_byaddr[index]); index 114 net/kcm/kcmproc.c kcm->index, index 125 net/kcm/kcmproc.c seq_printf(seq, "Psck-%u ", kcm->tx_psock->index); index 144 net/kcm/kcmproc.c psock->index, index 164 net/kcm/kcmproc.c seq_printf(seq, "Rsvd-%d ", psock->tx_kcm->index); index 1338 net/kcm/kcmsock.c int index = 0; index 1352 net/kcm/kcmsock.c if (tkcm->index != index) index 1355 net/kcm/kcmsock.c index++; index 1359 net/kcm/kcmsock.c kcm->index = index; index 1379 net/kcm/kcmsock.c int index = 0; index 1452 net/kcm/kcmsock.c if (tpsock->index != index) index 1455 net/kcm/kcmsock.c index++; index 1459 net/kcm/kcmsock.c psock->index = index; index 2143 net/key/af_key.c pol->sadb_x_policy_id = xp->index; index 3213 net/key/af_key.c pol->sadb_x_policy_id = xp->index; index 2172 net/mac80211/mlme.c bss_conf->p2p_noa_attr.index; index 3940 net/mac80211/mlme.c if (sdata->u.mgd.p2p_noa_index != noa.index) { index 3942 net/mac80211/mlme.c sdata->u.mgd.p2p_noa_index = noa.index; index 329 net/mac80211/rc80211_minstrel_ht.c minstrel_get_ratestats(struct minstrel_ht_sta *mi, int index) index 331 net/mac80211/rc80211_minstrel_ht.c return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; index 383 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_sort_best_tp_rates(struct minstrel_ht_sta *mi, u16 index, index 390 net/mac80211/rc80211_minstrel_ht.c cur_group = index / MCS_GROUP_RATES; index 391 net/mac80211/rc80211_minstrel_ht.c cur_idx = index % MCS_GROUP_RATES; index 412 net/mac80211/rc80211_minstrel_ht.c tp_list[j] = index; index 419 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_set_best_prob_rate(struct minstrel_ht_sta *mi, u16 index) index 428 net/mac80211/rc80211_minstrel_ht.c cur_group = index / MCS_GROUP_RATES; index 429 net/mac80211/rc80211_minstrel_ht.c cur_idx = index % MCS_GROUP_RATES; index 430 net/mac80211/rc80211_minstrel_ht.c mg = &mi->groups[index / MCS_GROUP_RATES]; index 431 net/mac80211/rc80211_minstrel_ht.c mrs = &mg->rates[index % MCS_GROUP_RATES]; index 441 net/mac80211/rc80211_minstrel_ht.c if((index / MCS_GROUP_RATES == MINSTREL_CCK_GROUP) && index 453 net/mac80211/rc80211_minstrel_ht.c mi->max_prob_rate = index; index 459 net/mac80211/rc80211_minstrel_ht.c mg->max_group_prob_rate = index; index 462 net/mac80211/rc80211_minstrel_ht.c mi->max_prob_rate = index; index 464 net/mac80211/rc80211_minstrel_ht.c mg->max_group_prob_rate = index; index 534 net/mac80211/rc80211_minstrel_ht.c minstrel_get_duration(int index) index 536 net/mac80211/rc80211_minstrel_ht.c const struct mcs_group *group = &minstrel_mcs_groups[index / MCS_GROUP_RATES]; index 537 net/mac80211/rc80211_minstrel_ht.c unsigned int duration = group->duration[index % MCS_GROUP_RATES]; index 677 net/mac80211/rc80211_minstrel_ht.c u16 tmp_cck_tp_rate[MAX_THR_RATES], index; index 712 net/mac80211/rc80211_minstrel_ht.c index = MINSTREL_VHT_GROUP_0 * MCS_GROUP_RATES; index 714 net/mac80211/rc80211_minstrel_ht.c index = MINSTREL_HT_GROUP_0 * MCS_GROUP_RATES; index 717 net/mac80211/rc80211_minstrel_ht.c tmp_mcs_tp_rate[j] = index; index 736 net/mac80211/rc80211_minstrel_ht.c index = MCS_GROUP_RATES * group + i; index 748 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_sort_best_tp_rates(mi, index, index 751 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_sort_best_tp_rates(mi, index, index 756 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_sort_best_tp_rates(mi, index, index 760 net/mac80211/rc80211_minstrel_ht.c minstrel_ht_set_best_prob_rate(mi, index); index 826 net/mac80211/rc80211_minstrel_ht.c if (++mg->index >= MCS_GROUP_RATES) { index 827 net/mac80211/rc80211_minstrel_ht.c mg->index = 0; index 1000 net/mac80211/rc80211_minstrel_ht.c int index) index 1010 net/mac80211/rc80211_minstrel_ht.c mrs = minstrel_get_ratestats(mi, index); index 1021 net/mac80211/rc80211_minstrel_ht.c tx_time_data = minstrel_get_duration(index) * ampdu_len / 1000; index 1029 net/mac80211/rc80211_minstrel_ht.c if (index / MCS_GROUP_RATES != MINSTREL_CCK_GROUP) { index 1057 net/mac80211/rc80211_minstrel_ht.c struct ieee80211_sta_rates *ratetbl, int offset, int index) index 1059 net/mac80211/rc80211_minstrel_ht.c const struct mcs_group *group = &minstrel_mcs_groups[index / MCS_GROUP_RATES]; index 1064 net/mac80211/rc80211_minstrel_ht.c mrs = minstrel_get_ratestats(mi, index); index 1066 net/mac80211/rc80211_minstrel_ht.c minstrel_calc_retransmit(mp, mi, index); index 1078 net/mac80211/rc80211_minstrel_ht.c if (index / MCS_GROUP_RATES == MINSTREL_CCK_GROUP) index 1079 net/mac80211/rc80211_minstrel_ht.c idx = mp->cck_rates[index % ARRAY_SIZE(mp->cck_rates)]; index 1082 net/mac80211/rc80211_minstrel_ht.c ((index % MCS_GROUP_RATES) & 0xF); index 1084 net/mac80211/rc80211_minstrel_ht.c idx = index % MCS_GROUP_RATES + (group->streams - 1) * 8; index 1213 net/mac80211/rc80211_minstrel_ht.c sample_idx = sample_table[mg->column][mg->index]; index 43 net/mac80211/rc80211_minstrel_ht.h u8 index; index 1104 net/mac80211/rx.c int index) index 1106 net/mac80211/rx.c struct sk_buff_head *frames = &tid_agg_rx->reorder_buf[index]; index 1110 net/mac80211/rx.c if (tid_agg_rx->reorder_buf_filtered & BIT_ULL(index)) index 1125 net/mac80211/rx.c int index, index 1128 net/mac80211/rx.c struct sk_buff_head *skb_list = &tid_agg_rx->reorder_buf[index]; index 1137 net/mac80211/rx.c if (!ieee80211_rx_reorder_ready(tid_agg_rx, index)) { index 1151 net/mac80211/rx.c tid_agg_rx->reorder_buf_filtered &= ~BIT_ULL(index); index 1160 net/mac80211/rx.c int index; index 1165 net/mac80211/rx.c index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; index 1166 net/mac80211/rx.c ieee80211_release_reorder_frame(sdata, tid_agg_rx, index, index 1186 net/mac80211/rx.c int index, i, j; index 1191 net/mac80211/rx.c index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; index 1192 net/mac80211/rx.c if (!ieee80211_rx_reorder_ready(tid_agg_rx, index) && index 1199 net/mac80211/rx.c for (j = (index + 1) % tid_agg_rx->buf_size; j != index; index 1211 net/mac80211/rx.c for (i = (index + 1) % tid_agg_rx->buf_size; i != j; index 1228 net/mac80211/rx.c } else while (ieee80211_rx_reorder_ready(tid_agg_rx, index)) { index 1229 net/mac80211/rx.c ieee80211_release_reorder_frame(sdata, tid_agg_rx, index, index 1231 net/mac80211/rx.c index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; index 1235 net/mac80211/rx.c j = index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size; index 1237 net/mac80211/rx.c for (; j != (index - 1) % tid_agg_rx->buf_size; index 1269 net/mac80211/rx.c int index; index 1319 net/mac80211/rx.c index = mpdu_seq_num % tid_agg_rx->buf_size; index 1322 net/mac80211/rx.c if (ieee80211_rx_reorder_ready(tid_agg_rx, index)) { index 1343 net/mac80211/rx.c __skb_queue_tail(&tid_agg_rx->reorder_buf[index], skb); index 1345 net/mac80211/rx.c tid_agg_rx->reorder_time[index] = jiffies; index 3803 net/mac80211/rx.c int index = (ssn + i) % tid_agg_rx->buf_size; index 3805 net/mac80211/rx.c tid_agg_rx->reorder_buf_filtered &= ~BIT_ULL(index); index 3807 net/mac80211/rx.c tid_agg_rx->reorder_buf_filtered |= BIT_ULL(index); index 1293 net/mac80211/util.c const u8 *index; index 1318 net/mac80211/util.c index = cfg80211_find_ie(WLAN_EID_MULTI_BSSID_IDX, index 1321 net/mac80211/util.c if (!index || index[1] < 1 || index[2] == 0) { index 1328 net/mac80211/util.c index[2], index 1332 net/mac80211/util.c elems->bssid_index_len = index[1]; index 1333 net/mac80211/util.c elems->bssid_index = (void *)&index[2]; index 77 net/mpls/af_mpls.c static struct mpls_route *mpls_route_input_rcu(struct net *net, unsigned index) index 81 net/mpls/af_mpls.c if (index < net->mpls.platform_labels) { index 84 net/mpls/af_mpls.c rt = rcu_dereference(platform_label[index]); index 223 net/mpls/af_mpls.c static struct mpls_nh *mpls_get_nexthop(struct mpls_route *rt, u8 index) index 225 net/mpls/af_mpls.c return (struct mpls_nh *)((u8 *)rt->rt_nh + index * rt->rt_nh_size); index 536 net/mpls/af_mpls.c static void mpls_notify_route(struct net *net, unsigned index, index 546 net/mpls/af_mpls.c if (rt && (index >= MPLS_LABEL_FIRST_UNRESERVED)) index 547 net/mpls/af_mpls.c rtmsg_lfib(event, index, rt, nlh, net, portid, nlm_flags); index 550 net/mpls/af_mpls.c static void mpls_route_update(struct net *net, unsigned index, index 560 net/mpls/af_mpls.c rt = rtnl_dereference(platform_label[index]); index 561 net/mpls/af_mpls.c rcu_assign_pointer(platform_label[index], new); index 563 net/mpls/af_mpls.c mpls_notify_route(net, index, rt, new, info); index 573 net/mpls/af_mpls.c unsigned index; index 577 net/mpls/af_mpls.c for (index = MPLS_LABEL_FIRST_UNRESERVED; index < platform_labels; index 578 net/mpls/af_mpls.c index++) { index 579 net/mpls/af_mpls.c if (!rtnl_dereference(platform_label[index])) index 580 net/mpls/af_mpls.c return index; index 937 net/mpls/af_mpls.c static bool mpls_label_ok(struct net *net, unsigned int *index, index 943 net/mpls/af_mpls.c if (*index < MPLS_LABEL_FIRST_UNRESERVED) { index 950 net/mpls/af_mpls.c if (is_ok && *index >= net->mpls.platform_labels) { index 956 net/mpls/af_mpls.c *index = array_index_nospec(*index, net->mpls.platform_labels); index 968 net/mpls/af_mpls.c unsigned index; index 972 net/mpls/af_mpls.c index = cfg->rc_label; index 975 net/mpls/af_mpls.c if ((index == LABEL_NOT_SPECIFIED) && index 977 net/mpls/af_mpls.c index = find_free_label(net); index 980 net/mpls/af_mpls.c if (!mpls_label_ok(net, &index, extack)) index 992 net/mpls/af_mpls.c old = rtnl_dereference(platform_label[index]); index 1038 net/mpls/af_mpls.c mpls_route_update(net, index, rt, &cfg->rc_nlinfo); index 1052 net/mpls/af_mpls.c unsigned index; index 1055 net/mpls/af_mpls.c index = cfg->rc_label; index 1057 net/mpls/af_mpls.c if (!mpls_label_ok(net, &index, extack)) index 1060 net/mpls/af_mpls.c mpls_route_update(net, index, NULL, &cfg->rc_nlinfo); index 1499 net/mpls/af_mpls.c unsigned index; index 1502 net/mpls/af_mpls.c for (index = 0; index < net->mpls.platform_labels; index++) { index 1503 net/mpls/af_mpls.c struct mpls_route *rt = rtnl_dereference(platform_label[index]); index 1541 net/mpls/af_mpls.c mpls_route_update(net, index, NULL, NULL); index 1549 net/mpls/af_mpls.c unsigned index; index 1553 net/mpls/af_mpls.c for (index = 0; index < net->mpls.platform_labels; index++) { index 1554 net/mpls/af_mpls.c struct mpls_route *rt = rtnl_dereference(platform_label[index]); index 1788 net/mpls/af_mpls.c int index; index 1850 net/mpls/af_mpls.c for (index = 0; index <= RTA_MAX; index++) { index 1851 net/mpls/af_mpls.c struct nlattr *nla = tb[index]; index 1855 net/mpls/af_mpls.c switch (index) { index 2163 net/mpls/af_mpls.c unsigned int index; index 2183 net/mpls/af_mpls.c index = cb->args[0]; index 2184 net/mpls/af_mpls.c if (index < MPLS_LABEL_FIRST_UNRESERVED) index 2185 net/mpls/af_mpls.c index = MPLS_LABEL_FIRST_UNRESERVED; index 2193 net/mpls/af_mpls.c for (; index < platform_labels; index++) { index 2196 net/mpls/af_mpls.c rt = rtnl_dereference(platform_label[index]); index 2206 net/mpls/af_mpls.c index, rt, flags) < 0) index 2209 net/mpls/af_mpls.c cb->args[0] = index; index 2506 net/mpls/af_mpls.c unsigned index; index 2550 net/mpls/af_mpls.c for (index = limit; index < old_limit; index++) index 2551 net/mpls/af_mpls.c mpls_route_update(net, index, NULL, NULL); index 2685 net/mpls/af_mpls.c unsigned int index; index 2703 net/mpls/af_mpls.c for (index = 0; index < platform_labels; index++) { index 2704 net/mpls/af_mpls.c struct mpls_route *rt = rtnl_dereference(platform_label[index]); index 2705 net/mpls/af_mpls.c RCU_INIT_POINTER(platform_label[index], NULL); index 2706 net/mpls/af_mpls.c mpls_notify_route(net, index, rt, NULL, NULL); index 93 net/ncsi/internal.h u32 index; /* Index of channel capabilities */ index 98 net/ncsi/internal.h u32 index; /* Index of channel modes */ index 140 net/ncsi/ncsi-cmd.c cmd->index = nca->bytes[6]; index 168 net/ncsi/ncsi-cmd.c cmd->index = nca->bytes[6]; index 203 net/ncsi/ncsi-manage.c int index; index 217 net/ncsi/ncsi-manage.c for (index = 0; index < NCSI_CAP_MAX; index++) index 218 net/ncsi/ncsi-manage.c nc->caps[index].index = index; index 219 net/ncsi/ncsi-manage.c for (index = 0; index < NCSI_MODE_MAX; index++) index 220 net/ncsi/ncsi-manage.c nc->modes[index].index = index; index 596 net/ncsi/ncsi-manage.c int index; index 603 net/ncsi/ncsi-manage.c index = find_next_bit(bitmap, ncf->n_vids, 0); index 604 net/ncsi/ncsi-manage.c if (index >= ncf->n_vids) { index 608 net/ncsi/ncsi-manage.c vid = ncf->vids[index]; index 610 net/ncsi/ncsi-manage.c clear_bit(index, bitmap); index 611 net/ncsi/ncsi-manage.c ncf->vids[index] = 0; index 617 net/ncsi/ncsi-manage.c nca->bytes[6] = index + 1; index 631 net/ncsi/ncsi-manage.c int i, index; index 662 net/ncsi/ncsi-manage.c index = find_next_zero_bit(bitmap, ncf->n_vids, 0); index 663 net/ncsi/ncsi-manage.c if (index < 0 || index >= ncf->n_vids) { index 671 net/ncsi/ncsi-manage.c ncf->vids[index] = vid; index 672 net/ncsi/ncsi-manage.c set_bit(index, bitmap); index 678 net/ncsi/ncsi-manage.c nca->bytes[6] = index + 1; index 915 net/ncsi/ncsi-manage.c unsigned char index; index 1025 net/ncsi/ncsi-manage.c for (index = 0; index < 6; index++) index 1026 net/ncsi/ncsi-manage.c nca.bytes[index] = dev->dev_addr[index]; index 1270 net/ncsi/ncsi-manage.c unsigned char index; index 1285 net/ncsi/ncsi-manage.c for (index = 0; index < 8; index++) { index 1286 net/ncsi/ncsi-manage.c nca.package = index; index 1324 net/ncsi/ncsi-manage.c for (index = 0; index < NCSI_RESERVED_CHANNEL; index++) { index 1325 net/ncsi/ncsi-manage.c nca.channel = index; index 100 net/ncsi/ncsi-pkt.h unsigned char index; /* VLAN table index */ index 119 net/ncsi/ncsi-pkt.h unsigned char index; /* MAC table index */ index 365 net/ncsi/ncsi-rsp.c if (cmd->index == 0 || cmd->index > ncf->n_vids) index 372 net/ncsi/ncsi-rsp.c if (test_and_clear_bit(cmd->index - 1, bitmap)) index 373 net/ncsi/ncsi-rsp.c ncf->vids[cmd->index - 1] = 0; index 375 net/ncsi/ncsi-rsp.c set_bit(cmd->index - 1, bitmap); index 376 net/ncsi/ncsi-rsp.c ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); index 445 net/ncsi/ncsi-rsp.c int index; index 463 net/ncsi/ncsi-rsp.c if (cmd->index == 0 || index 464 net/ncsi/ncsi-rsp.c cmd->index > ncf->n_uc + ncf->n_mc + ncf->n_mixed) index 467 net/ncsi/ncsi-rsp.c index = (cmd->index - 1) * ETH_ALEN; index 470 net/ncsi/ncsi-rsp.c set_bit(cmd->index - 1, bitmap); index 471 net/ncsi/ncsi-rsp.c memcpy(&ncf->addrs[index], cmd->mac, ETH_ALEN); index 473 net/ncsi/ncsi-rsp.c clear_bit(cmd->index - 1, bitmap); index 474 net/ncsi/ncsi-rsp.c memset(&ncf->addrs[index], 0, ETH_ALEN); index 547 net/netfilter/ipset/ip_set_core.c ip_set_rcu_get(struct net *net, ip_set_id_t index) index 554 net/netfilter/ipset/ip_set_core.c set = rcu_dereference(inst->ip_set_list)[index]; index 575 net/netfilter/ipset/ip_set_core.c ip_set_test(ip_set_id_t index, const struct sk_buff *skb, index 578 net/netfilter/ipset/ip_set_core.c struct ip_set *set = ip_set_rcu_get(xt_net(par), index); index 582 net/netfilter/ipset/ip_set_core.c pr_debug("set %s, index %u\n", set->name, index); index 613 net/netfilter/ipset/ip_set_core.c ip_set_add(ip_set_id_t index, const struct sk_buff *skb, index 616 net/netfilter/ipset/ip_set_core.c struct ip_set *set = ip_set_rcu_get(xt_net(par), index); index 620 net/netfilter/ipset/ip_set_core.c pr_debug("set %s, index %u\n", set->name, index); index 635 net/netfilter/ipset/ip_set_core.c ip_set_del(ip_set_id_t index, const struct sk_buff *skb, index 638 net/netfilter/ipset/ip_set_core.c struct ip_set *set = ip_set_rcu_get(xt_net(par), index); index 642 net/netfilter/ipset/ip_set_core.c pr_debug("set %s, index %u\n", set->name, index); index 663 net/netfilter/ipset/ip_set_core.c ip_set_id_t i, index = IPSET_INVALID_ID; index 672 net/netfilter/ipset/ip_set_core.c index = i; index 679 net/netfilter/ipset/ip_set_core.c return index; index 690 net/netfilter/ipset/ip_set_core.c __ip_set_put_byindex(struct ip_set_net *inst, ip_set_id_t index) index 695 net/netfilter/ipset/ip_set_core.c set = rcu_dereference(inst->ip_set_list)[index]; index 702 net/netfilter/ipset/ip_set_core.c ip_set_put_byindex(struct net *net, ip_set_id_t index) index 706 net/netfilter/ipset/ip_set_core.c __ip_set_put_byindex(inst, index); index 716 net/netfilter/ipset/ip_set_core.c ip_set_name_byindex(struct net *net, ip_set_id_t index, char *name) index 718 net/netfilter/ipset/ip_set_core.c struct ip_set *set = ip_set_rcu_get(net, index); index 738 net/netfilter/ipset/ip_set_core.c ip_set_nfnl_get_byindex(struct net *net, ip_set_id_t index) index 743 net/netfilter/ipset/ip_set_core.c if (index >= inst->ip_set_max) index 747 net/netfilter/ipset/ip_set_core.c set = ip_set(inst, index); index 751 net/netfilter/ipset/ip_set_core.c index = IPSET_INVALID_ID; index 754 net/netfilter/ipset/ip_set_core.c return index; index 765 net/netfilter/ipset/ip_set_core.c ip_set_nfnl_put(struct net *net, ip_set_id_t index) index 772 net/netfilter/ipset/ip_set_core.c set = ip_set(inst, index); index 867 net/netfilter/ipset/ip_set_core.c find_free_id(struct ip_set_net *inst, const char *name, ip_set_id_t *index, index 873 net/netfilter/ipset/ip_set_core.c *index = IPSET_INVALID_ID; index 877 net/netfilter/ipset/ip_set_core.c if (*index == IPSET_INVALID_ID) index 878 net/netfilter/ipset/ip_set_core.c *index = i; index 885 net/netfilter/ipset/ip_set_core.c if (*index == IPSET_INVALID_ID) index 906 net/netfilter/ipset/ip_set_core.c ip_set_id_t index = IPSET_INVALID_ID; index 969 net/netfilter/ipset/ip_set_core.c ret = find_free_id(inst, set->name, &index, &clash); index 998 net/netfilter/ipset/ip_set_core.c index = inst->ip_set_max; index 1007 net/netfilter/ipset/ip_set_core.c pr_debug("create: '%s' created with index %u!\n", set->name, index); index 1008 net/netfilter/ipset/ip_set_core.c ip_set(inst, index) = set; index 1278 net/netfilter/ipset/ip_set_core.c ip_set_id_t index = (ip_set_id_t)cb->args[IPSET_CB_INDEX]; index 1279 net/netfilter/ipset/ip_set_core.c struct ip_set *set = ip_set_ref_netlink(inst, index); index 1329 net/netfilter/ipset/ip_set_core.c ip_set_id_t index; index 1333 net/netfilter/ipset/ip_set_core.c &index); index 1339 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_INDEX] = index; index 1365 net/netfilter/ipset/ip_set_core.c ip_set_id_t index = IPSET_INVALID_ID, max; index 1388 net/netfilter/ipset/ip_set_core.c index = (ip_set_id_t)cb->args[IPSET_CB_INDEX]; index 1390 net/netfilter/ipset/ip_set_core.c set = ip_set(inst, index); index 1445 net/netfilter/ipset/ip_set_core.c nla_put_net16(skb, IPSET_ATTR_INDEX, htons(index))) index 1484 net/netfilter/ipset/ip_set_core.c set = ip_set_ref_netlink(inst, index); index 2119 net/netfilter/ipset/ip_set_core.c req_get->set.index = id; index 2134 net/netfilter/ipset/ip_set_core.c req_get->set.index = id; index 2145 net/netfilter/ipset/ip_set_core.c req_get->set.index >= inst->ip_set_max) { index 2150 net/netfilter/ipset/ip_set_core.c set = ip_set(inst, req_get->set.index); index 464 net/netfilter/nf_conntrack_proto_tcp.c unsigned int index, index 655 net/netfilter/nf_conntrack_proto_tcp.c if (index == TCP_ACK_SET) { index 847 net/netfilter/nf_conntrack_proto_tcp.c unsigned int index, *timeouts; index 866 net/netfilter/nf_conntrack_proto_tcp.c index = get_conntrack_index(th); index 867 net/netfilter/nf_conntrack_proto_tcp.c new_state = tcp_conntracks[dir][index][old_state]; index 918 net/netfilter/nf_conntrack_proto_tcp.c if (index == TCP_SYNACK_SET index 946 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_index = index; index 960 net/netfilter/nf_conntrack_proto_tcp.c if (index == TCP_SYN_SET && dir == IP_CT_DIR_ORIGINAL) { index 995 net/netfilter/nf_conntrack_proto_tcp.c index == TCP_ACK_SET && dir == IP_CT_DIR_ORIGINAL && index 1015 net/netfilter/nf_conntrack_proto_tcp.c index == TCP_ACK_SET && index 1033 net/netfilter/nf_conntrack_proto_tcp.c if (dir == IP_CT_DIR_REPLY && index == TCP_ACK_SET && index 1038 net/netfilter/nf_conntrack_proto_tcp.c if (index != TCP_RST_SET) index 1091 net/netfilter/nf_conntrack_proto_tcp.c if (!tcp_in_window(ct, &ct->proto.tcp, dir, index, index 1098 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_index = index; index 1120 net/netfilter/nf_conntrack_proto_tcp.c else if (unlikely(index == TCP_RST_SET)) index 159 net/netfilter/nf_queue.c unsigned int index, unsigned int queuenum) index 200 net/netfilter/nf_queue.c .hook_index = index, index 231 net/netfilter/nf_queue.c unsigned int index, unsigned int verdict) index 235 net/netfilter/nf_queue.c ret = __nf_queue(skb, state, index, verdict >> NF_VERDICT_QBITS); index 250 net/netfilter/nf_queue.c unsigned int *index) index 253 net/netfilter/nf_queue.c unsigned int verdict, i = *index; index 260 net/netfilter/nf_queue.c *index = i; index 268 net/netfilter/nf_queue.c *index = i; index 139 net/netfilter/nft_fib.c int index; index 143 net/netfilter/nft_fib.c index = dev ? dev->ifindex : 0; index 144 net/netfilter/nft_fib.c *dreg = (priv->flags & NFTA_FIB_F_PRESENT) ? !!index : index; index 279 net/netfilter/nft_tunnel.c opts->u.erspan.u.index = index 490 net/netfilter/nft_tunnel.c opts->u.erspan.u.index)) index 72 net/netfilter/xt_recent.c u_int8_t index; index 167 net/netfilter/xt_recent.c if (time_after(time, e->stamps[e->index-1])) index 191 net/netfilter/xt_recent.c e->index = 1; index 204 net/netfilter/xt_recent.c e->index &= t->nstamps_max_mask; index 205 net/netfilter/xt_recent.c e->stamps[e->index++] = jiffies; index 206 net/netfilter/xt_recent.c if (e->index > e->nstamps) index 207 net/netfilter/xt_recent.c e->nstamps = e->index; index 517 net/netfilter/xt_recent.c i = (e->index - 1) & t->nstamps_max_mask; index 521 net/netfilter/xt_recent.c &e->addr.ip, e->ttl, e->stamps[i], e->index); index 524 net/netfilter/xt_recent.c &e->addr.in6, e->ttl, e->stamps[i], e->index); index 29 net/netfilter/xt_set.c match_set(ip_set_id_t index, const struct sk_buff *skb, index 33 net/netfilter/xt_set.c if (ip_set_test(index, skb, par, opt)) index 62 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, index 86 net/netfilter/xt_set.c ip_set_id_t index; index 88 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, info->match_set.index); index 90 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 92 net/netfilter/xt_set.c info->match_set.index); index 97 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->match_set.index); index 112 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->match_set.index); index 129 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, index 137 net/netfilter/xt_set.c ip_set_id_t index; index 139 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, info->match_set.index); index 141 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 143 net/netfilter/xt_set.c info->match_set.index); index 148 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->match_set.index); index 160 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->match_set.index); index 179 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, index 202 net/netfilter/xt_set.c return match_set(info->match_set.index, skb, par, &opt, index 223 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 224 net/netfilter/xt_set.c ip_set_add(info->add_set.index, skb, par, &add_opt); index 225 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 226 net/netfilter/xt_set.c ip_set_del(info->del_set.index, skb, par, &del_opt); index 235 net/netfilter/xt_set.c ip_set_id_t index; index 237 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) { index 238 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, info->add_set.index); index 239 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 241 net/netfilter/xt_set.c info->add_set.index); index 246 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) { index 247 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, info->del_set.index); index 248 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 250 net/netfilter/xt_set.c info->del_set.index); index 251 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 252 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 259 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 260 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 261 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 262 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->del_set.index); index 278 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 279 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 280 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 281 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->del_set.index); index 298 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 299 net/netfilter/xt_set.c ip_set_add(info->add_set.index, skb, par, &add_opt); index 300 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 301 net/netfilter/xt_set.c ip_set_del(info->del_set.index, skb, par, &del_opt); index 310 net/netfilter/xt_set.c ip_set_id_t index; index 312 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) { index 313 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, info->add_set.index); index 314 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 316 net/netfilter/xt_set.c info->add_set.index); index 321 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) { index 322 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, info->del_set.index); index 323 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 325 net/netfilter/xt_set.c info->del_set.index); index 326 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 327 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 334 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 335 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 336 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 337 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->del_set.index); index 349 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 350 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 351 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 352 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->del_set.index); index 373 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 374 net/netfilter/xt_set.c ip_set_add(info->add_set.index, skb, par, &add_opt); index 375 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 376 net/netfilter/xt_set.c ip_set_del(info->del_set.index, skb, par, &del_opt); index 408 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 409 net/netfilter/xt_set.c ip_set_add(info->add_set.index, skb, par, &add_opt); index 410 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 411 net/netfilter/xt_set.c ip_set_del(info->del_set.index, skb, par, &del_opt); index 412 net/netfilter/xt_set.c if (info->map_set.index != IPSET_INVALID_ID) { index 416 net/netfilter/xt_set.c ret = match_set(info->map_set.index, skb, par, &map_opt, index 437 net/netfilter/xt_set.c ip_set_id_t index; index 440 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) { index 441 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, index 442 net/netfilter/xt_set.c info->add_set.index); index 443 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 445 net/netfilter/xt_set.c info->add_set.index); index 450 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) { index 451 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, index 452 net/netfilter/xt_set.c info->del_set.index); index 453 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 455 net/netfilter/xt_set.c info->del_set.index); index 461 net/netfilter/xt_set.c if (info->map_set.index != IPSET_INVALID_ID) { index 476 net/netfilter/xt_set.c index = ip_set_nfnl_get_byindex(par->net, index 477 net/netfilter/xt_set.c info->map_set.index); index 478 net/netfilter/xt_set.c if (index == IPSET_INVALID_ID) { index 480 net/netfilter/xt_set.c info->map_set.index); index 496 net/netfilter/xt_set.c if (info->map_set.index != IPSET_INVALID_ID) index 497 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->map_set.index); index 499 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 500 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->del_set.index); index 502 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 503 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 512 net/netfilter/xt_set.c if (info->add_set.index != IPSET_INVALID_ID) index 513 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->add_set.index); index 514 net/netfilter/xt_set.c if (info->del_set.index != IPSET_INVALID_ID) index 515 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->del_set.index); index 516 net/netfilter/xt_set.c if (info->map_set.index != IPSET_INVALID_ID) index 517 net/netfilter/xt_set.c ip_set_nfnl_put(par->net, info->map_set.index); index 143 net/netrom/af_netrom.c static struct sock *nr_find_socket(unsigned char index, unsigned char id) index 151 net/netrom/af_netrom.c if (nr->my_index == index && nr->my_id == id) { index 165 net/netrom/af_netrom.c static struct sock *nr_find_peer(unsigned char index, unsigned char id, index 174 net/netrom/af_netrom.c if (nr->your_index == index && nr->your_id == id && index 423 net/rds/ib_cm.c int index = rds_ibdev->dev->num_comp_vectors - 1; index 428 net/rds/ib_cm.c index = i; index 433 net/rds/ib_cm.c rds_ibdev->vector_load[index]++; index 434 net/rds/ib_cm.c return index; index 437 net/rds/ib_cm.c static inline void ibdev_put_vector(struct rds_ib_device *rds_ibdev, int index) index 439 net/rds/ib_cm.c rds_ibdev->vector_load[index]--; index 694 net/rfkill/core.c static DEVICE_ATTR_RO(index); index 217 net/sched/act_api.c int err = 0, index = -1, s_i = 0, n_i = 0; index 231 net/sched/act_api.c index++; index 232 net/sched/act_api.c if (index < s_i) index 242 net/sched/act_api.c index--; index 247 net/sched/act_api.c index--; index 258 net/sched/act_api.c if (index >= 0) index 259 net/sched/act_api.c cb->args[0] = index + 1; index 346 net/sched/act_api.c int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index) index 352 net/sched/act_api.c p = idr_find(&idrinfo->action_idr, index); index 367 net/sched/act_api.c static int tcf_idr_delete_index(struct tcf_idrinfo *idrinfo, u32 index) index 373 net/sched/act_api.c p = idr_find(&idrinfo->action_idr, index); index 400 net/sched/act_api.c int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, index 426 net/sched/act_api.c p->tcfa_index = index; index 467 net/sched/act_api.c void tcf_idr_cleanup(struct tc_action_net *tn, u32 index) index 473 net/sched/act_api.c WARN_ON(!IS_ERR(idr_remove(&idrinfo->action_idr, index))); index 484 net/sched/act_api.c int tcf_idr_check_alloc(struct tc_action_net *tn, u32 *index, index 493 net/sched/act_api.c if (*index) { index 494 net/sched/act_api.c p = idr_find(&idrinfo->action_idr, *index); index 511 net/sched/act_api.c ret = idr_alloc_u32(&idrinfo->action_idr, NULL, index, index 512 net/sched/act_api.c *index, GFP_KERNEL); index 515 net/sched/act_api.c ERR_PTR(-EBUSY), *index); index 518 net/sched/act_api.c *index = 1; index 520 net/sched/act_api.c ret = idr_alloc_u32(&idrinfo->action_idr, NULL, index, index 524 net/sched/act_api.c *index); index 1099 net/sched/act_api.c int index; index 1109 net/sched/act_api.c nla_len(tb[TCA_ACT_INDEX]) < sizeof(index)) { index 1113 net/sched/act_api.c index = nla_get_u32(tb[TCA_ACT_INDEX]); index 1122 net/sched/act_api.c if (ops->lookup(net, &a, index) == 0) { index 140 net/sched/act_bpf.c .index = prog->tcf_index, index 288 net/sched/act_bpf.c u32 index; index 302 net/sched/act_bpf.c index = parm->index; index 303 net/sched/act_bpf.c ret = tcf_idr_check_alloc(tn, &index, act, bind); index 305 net/sched/act_bpf.c ret = tcf_idr_create(tn, index, est, act, index 308 net/sched/act_bpf.c tcf_idr_cleanup(tn, index); index 401 net/sched/act_bpf.c static int tcf_bpf_search(struct net *net, struct tc_action **a, u32 index) index 405 net/sched/act_bpf.c return tcf_idr_search(tn, a, index); index 106 net/sched/act_connmark.c u32 index; index 120 net/sched/act_connmark.c index = parm->index; index 121 net/sched/act_connmark.c ret = tcf_idr_check_alloc(tn, &index, a, bind); index 123 net/sched/act_connmark.c ret = tcf_idr_create(tn, index, est, a, index 126 net/sched/act_connmark.c tcf_idr_cleanup(tn, index); index 175 net/sched/act_connmark.c .index = ci->tcf_index, index 211 net/sched/act_connmark.c static int tcf_connmark_search(struct net *net, struct tc_action **a, u32 index) index 215 net/sched/act_connmark.c return tcf_idr_search(tn, a, index); index 55 net/sched/act_csum.c u32 index; index 68 net/sched/act_csum.c index = parm->index; index 69 net/sched/act_csum.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 71 net/sched/act_csum.c ret = tcf_idr_create(tn, index, est, a, index 74 net/sched/act_csum.c tcf_idr_cleanup(tn, index); index 639 net/sched/act_csum.c .index = p->tcf_index, index 687 net/sched/act_csum.c static int tcf_csum_search(struct net *net, struct tc_action **a, u32 index) index 691 net/sched/act_csum.c return tcf_idr_search(tn, a, index); index 680 net/sched/act_ct.c u32 index; index 696 net/sched/act_ct.c index = parm->index; index 697 net/sched/act_ct.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 702 net/sched/act_ct.c err = tcf_idr_create(tn, index, est, a, index 705 net/sched/act_ct.c tcf_idr_cleanup(tn, index); index 837 net/sched/act_ct.c .index = c->tcf_index, index 907 net/sched/act_ct.c static int tcf_ct_search(struct net *net, struct tc_action **a, u32 index) index 911 net/sched/act_ct.c return tcf_idr_search(tn, a, index); index 160 net/sched/act_ctinfo.c u32 dscpmask = 0, dscpstatemask, index; index 209 net/sched/act_ctinfo.c index = actparm->index; index 210 net/sched/act_ctinfo.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 212 net/sched/act_ctinfo.c ret = tcf_idr_create(tn, index, est, a, index 215 net/sched/act_ctinfo.c tcf_idr_cleanup(tn, index); index 287 net/sched/act_ctinfo.c .index = ci->tcf_index, index 356 net/sched/act_ctinfo.c static int tcf_ctinfo_search(struct net *net, struct tc_action **a, u32 index) index 360 net/sched/act_ctinfo.c return tcf_idr_search(tn, a, index); index 64 net/sched/act_gact.c u32 index; index 81 net/sched/act_gact.c index = parm->index; index 99 net/sched/act_gact.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 101 net/sched/act_gact.c ret = tcf_idr_create(tn, index, est, a, index 104 net/sched/act_gact.c tcf_idr_cleanup(tn, index); index 198 net/sched/act_gact.c .index = gact->tcf_index, index 243 net/sched/act_gact.c static int tcf_gact_search(struct net *net, struct tc_action **a, u32 index) index 247 net/sched/act_gact.c return tcf_idr_search(tn, a, index); index 482 net/sched/act_ife.c u32 index; index 511 net/sched/act_ife.c index = parm->index; index 512 net/sched/act_ife.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 524 net/sched/act_ife.c ret = tcf_idr_create(tn, index, est, a, &act_ife_ops, index 527 net/sched/act_ife.c tcf_idr_cleanup(tn, index); index 625 net/sched/act_ife.c .index = ife->tcf_index, index 868 net/sched/act_ife.c static int tcf_ife_search(struct net *net, struct tc_action **a, u32 index) index 872 net/sched/act_ife.c return tcf_idr_search(tn, a, index); index 108 net/sched/act_ipt.c u32 index = 0; index 119 net/sched/act_ipt.c index = nla_get_u32(tb[TCA_IPT_INDEX]); index 121 net/sched/act_ipt.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 132 net/sched/act_ipt.c tcf_idr_cleanup(tn, index); index 141 net/sched/act_ipt.c tcf_idr_cleanup(tn, index); index 146 net/sched/act_ipt.c ret = tcf_idr_create(tn, index, est, a, ops, bind, index 149 net/sched/act_ipt.c tcf_idr_cleanup(tn, index); index 330 net/sched/act_ipt.c static int tcf_ipt_search(struct net *net, struct tc_action **a, u32 index) index 334 net/sched/act_ipt.c return tcf_idr_search(tn, a, index); index 379 net/sched/act_ipt.c static int tcf_xt_search(struct net *net, struct tc_action **a, u32 index) index 383 net/sched/act_ipt.c return tcf_idr_search(tn, a, index); index 107 net/sched/act_mirred.c u32 index; index 122 net/sched/act_mirred.c index = parm->index; index 123 net/sched/act_mirred.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 140 net/sched/act_mirred.c tcf_idr_cleanup(tn, index); index 147 net/sched/act_mirred.c tcf_idr_cleanup(tn, index); index 151 net/sched/act_mirred.c ret = tcf_idr_create(tn, index, est, a, index 154 net/sched/act_mirred.c tcf_idr_cleanup(tn, index); index 334 net/sched/act_mirred.c .index = m->tcf_index, index 374 net/sched/act_mirred.c static int tcf_mirred_search(struct net *net, struct tc_action **a, u32 index) index 378 net/sched/act_mirred.c return tcf_idr_search(tn, a, index); index 148 net/sched/act_mpls.c u32 index; index 164 net/sched/act_mpls.c index = parm->index; index 221 net/sched/act_mpls.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 229 net/sched/act_mpls.c ret = tcf_idr_create(tn, index, est, a, index 232 net/sched/act_mpls.c tcf_idr_cleanup(tn, index); index 304 net/sched/act_mpls.c .index = m->tcf_index, index 361 net/sched/act_mpls.c static int tcf_mpls_search(struct net *net, struct tc_action **a, u32 index) index 365 net/sched/act_mpls.c return tcf_idr_search(tn, a, index); index 47 net/sched/act_nat.c u32 index; index 60 net/sched/act_nat.c index = parm->index; index 61 net/sched/act_nat.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 63 net/sched/act_nat.c ret = tcf_idr_create(tn, index, est, a, index 66 net/sched/act_nat.c tcf_idr_cleanup(tn, index); index 268 net/sched/act_nat.c .index = p->tcf_index, index 307 net/sched/act_nat.c static int tcf_nat_search(struct net *net, struct tc_action **a, u32 index) index 311 net/sched/act_nat.c return tcf_idr_search(tn, a, index); index 152 net/sched/act_pedit.c u32 index; index 187 net/sched/act_pedit.c index = parm->index; index 188 net/sched/act_pedit.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 190 net/sched/act_pedit.c ret = tcf_idr_create(tn, index, est, a, index 193 net/sched/act_pedit.c tcf_idr_cleanup(tn, index); index 430 net/sched/act_pedit.c opt->index = p->tcf_index; index 475 net/sched/act_pedit.c static int tcf_pedit_search(struct net *net, struct tc_action **a, u32 index) index 479 net/sched/act_pedit.c return tcf_idr_search(tn, a, index); index 62 net/sched/act_police.c u32 index; index 80 net/sched/act_police.c index = parm->index; index 81 net/sched/act_police.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 89 net/sched/act_police.c ret = tcf_idr_create(tn, index, NULL, a, index 92 net/sched/act_police.c tcf_idr_cleanup(tn, index); index 311 net/sched/act_police.c .index = police->tcf_index, index 364 net/sched/act_police.c static int tcf_police_search(struct net *net, struct tc_action **a, u32 index) index 368 net/sched/act_police.c return tcf_idr_search(tn, a, index); index 44 net/sched/act_sample.c u32 psample_group_num, rate, index; index 62 net/sched/act_sample.c index = parm->index; index 63 net/sched/act_sample.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 71 net/sched/act_sample.c ret = tcf_idr_create(tn, index, est, a, index 74 net/sched/act_sample.c tcf_idr_cleanup(tn, index); index 205 net/sched/act_sample.c .index = s->tcf_index, index 249 net/sched/act_sample.c static int tcf_sample_search(struct net *net, struct tc_action **a, u32 index) index 253 net/sched/act_sample.c return tcf_idr_search(tn, a, index); index 98 net/sched/act_simple.c u32 index; index 112 net/sched/act_simple.c index = parm->index; index 113 net/sched/act_simple.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 124 net/sched/act_simple.c tcf_idr_cleanup(tn, index); index 129 net/sched/act_simple.c ret = tcf_idr_create(tn, index, est, a, index 132 net/sched/act_simple.c tcf_idr_cleanup(tn, index); index 176 net/sched/act_simple.c .index = d->tcf_index, index 211 net/sched/act_simple.c static int tcf_simp_search(struct net *net, struct tc_action **a, u32 index) index 215 net/sched/act_simple.c return tcf_idr_search(tn, a, index); index 102 net/sched/act_skbedit.c u32 index; index 150 net/sched/act_skbedit.c index = parm->index; index 151 net/sched/act_skbedit.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 162 net/sched/act_skbedit.c tcf_idr_cleanup(tn, index); index 167 net/sched/act_skbedit.c ret = tcf_idr_create(tn, index, est, a, index 170 net/sched/act_skbedit.c tcf_idr_cleanup(tn, index); index 235 net/sched/act_skbedit.c .index = d->tcf_index, index 303 net/sched/act_skbedit.c static int tcf_skbedit_search(struct net *net, struct tc_action **a, u32 index) index 307 net/sched/act_skbedit.c return tcf_idr_search(tn, a, index); index 90 net/sched/act_skbmod.c u32 lflags = 0, index; index 125 net/sched/act_skbmod.c index = parm->index; index 129 net/sched/act_skbmod.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 140 net/sched/act_skbmod.c tcf_idr_cleanup(tn, index); index 145 net/sched/act_skbmod.c ret = tcf_idr_create(tn, index, est, a, index 148 net/sched/act_skbmod.c tcf_idr_cleanup(tn, index); index 221 net/sched/act_skbmod.c .index = d->tcf_index, index 266 net/sched/act_skbmod.c static int tcf_skbmod_search(struct net *net, struct tc_action **a, u32 index) index 270 net/sched/act_skbmod.c return tcf_idr_search(tn, a, index); index 232 net/sched/act_tunnel_key.c u32 index; index 253 net/sched/act_tunnel_key.c index = parm->index; index 254 net/sched/act_tunnel_key.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 354 net/sched/act_tunnel_key.c ret = tcf_idr_create(tn, index, est, a, index 412 net/sched/act_tunnel_key.c tcf_idr_cleanup(tn, index); index 519 net/sched/act_tunnel_key.c .index = t->tcf_index, index 583 net/sched/act_tunnel_key.c static int tunnel_key_search(struct net *net, struct tc_action **a, u32 index) index 587 net/sched/act_tunnel_key.c return tcf_idr_search(tn, a, index); index 119 net/sched/act_vlan.c u32 index; index 132 net/sched/act_vlan.c index = parm->index; index 133 net/sched/act_vlan.c err = tcf_idr_check_alloc(tn, &index, a, bind); index 149 net/sched/act_vlan.c tcf_idr_cleanup(tn, index); index 157 net/sched/act_vlan.c tcf_idr_cleanup(tn, index); index 171 net/sched/act_vlan.c tcf_idr_cleanup(tn, index); index 185 net/sched/act_vlan.c tcf_idr_cleanup(tn, index); index 191 net/sched/act_vlan.c ret = tcf_idr_create(tn, index, est, a, index 194 net/sched/act_vlan.c tcf_idr_cleanup(tn, index); index 259 net/sched/act_vlan.c .index = v->tcf_index, index 317 net/sched/act_vlan.c static int tcf_vlan_search(struct net *net, struct tc_action **a, u32 index) index 321 net/sched/act_vlan.c return tcf_idr_search(tn, a, index); index 53 net/sched/cls_api.c return jhash_3words(tp->chain->index, tp->prio, index 71 net/sched/cls_api.c return tp1->chain->index == tp2->chain->index && index 360 net/sched/cls_api.c chain->index = chain_index; index 362 net/sched/cls_api.c if (!chain->index) index 380 net/sched/cls_api.c if (chain->index) index 398 net/sched/cls_api.c if (!chain->index) index 450 net/sched/cls_api.c if (chain->index == chain_index) index 549 net/sched/cls_api.c tc_chain_notify_delete(tmplt_ops, tmplt_priv, chain->index, index 877 net/sched/cls_api.c err = idr_alloc_u32(&tn->idr, block, &block->index, block->index, index 890 net/sched/cls_api.c idr_remove(&tn->idr, block->index); index 915 net/sched/cls_api.c block->index = block_index; index 1612 net/sched/cls_api.c tp->chain->block->index, index 1803 net/sched/cls_api.c tcm->tcm_block_index = block->index; index 1808 net/sched/cls_api.c if (nla_put_u32(skb, TCA_CHAIN, tp->chain->index)) index 2518 net/sched/cls_api.c long index; index 2576 net/sched/cls_api.c index = 0; index 2584 net/sched/cls_api.c nla_get_u32(tca[TCA_CHAIN]) != chain->index) index 2587 net/sched/cls_api.c index_start, &index)) { index 2596 net/sched/cls_api.c cb->args[0] = index; index 2633 net/sched/cls_api.c tcm->tcm_block_index = block->index; index 2669 net/sched/cls_api.c chain->index, net, skb, block, portid, index 2903 net/sched/cls_api.c long index; index 2962 net/sched/cls_api.c index = 0; index 2967 net/sched/cls_api.c nla_get_u32(tca[TCA_CHAIN]) != chain->index)) index 2969 net/sched/cls_api.c if (index < index_start) { index 2970 net/sched/cls_api.c index++; index 2976 net/sched/cls_api.c chain->index, net, skb, block, index 2982 net/sched/cls_api.c index++; index 2988 net/sched/cls_api.c cb->args[0] = index; index 1881 net/sched/cls_flower.c cls_flower.common.chain_index = chain->index; index 1903 net/sched/cls_flower.c cls_flower.common.chain_index = chain->index; index 685 net/sched/cls_u32.c u32 index = htid | 0x800; index 688 net/sched/cls_u32.c if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, GFP_KERNEL)) { index 689 net/sched/cls_u32.c index = htid + 1; index 690 net/sched/cls_u32.c if (idr_alloc_u32(&ht->handle_idr, NULL, &index, max, index 692 net/sched/cls_u32.c index = max; index 695 net/sched/cls_u32.c return index; index 23 net/sched/em_ipset.c ip_set_id_t index; index 28 net/sched/em_ipset.c index = ip_set_nfnl_get_byindex(net, set->index); index 29 net/sched/em_ipset.c if (index == IPSET_INVALID_ID) index 37 net/sched/em_ipset.c ip_set_nfnl_put(net, index); index 45 net/sched/em_ipset.c ip_set_nfnl_put(em->net, set->index); index 100 net/sched/em_ipset.c ret = ip_set_test(set->index, skb, &acpar, &opt); index 163 net/sched/ematch.c int index) index 165 net/sched/ematch.c return &tree->matches[index]; index 57 net/sched/sch_dsmark.c static inline int dsmark_valid_index(struct dsmark_qdisc_data *p, u16 index) index 59 net/sched/sch_dsmark.c return index <= p->indices && index > 0; index 291 net/sched/sch_dsmark.c u32 index; index 303 net/sched/sch_dsmark.c index = skb->tc_index & (p->indices - 1); index 304 net/sched/sch_dsmark.c pr_debug("index %d->%d\n", skb->tc_index, index); index 308 net/sched/sch_dsmark.c ipv4_change_dsfield(ip_hdr(skb), p->mv[index].mask, index 309 net/sched/sch_dsmark.c p->mv[index].value); index 312 net/sched/sch_dsmark.c ipv6_change_dsfield(ipv6_hdr(skb), p->mv[index].mask, index 313 net/sched/sch_dsmark.c p->mv[index].value); index 321 net/sched/sch_dsmark.c if (p->mv[index].mask != 0xff || p->mv[index].value) index 171 net/sched/sch_qfq.c unsigned int index; /* Group index. */ index 231 net/sched/sch_qfq.c int index = 0; index 237 net/sched/sch_qfq.c index = __fls(size_map) + 1; /* basically a log_2 */ index 238 net/sched/sch_qfq.c index -= !(slot_size - (1ULL << (index + min_slot_shift - 1))); index 240 net/sched/sch_qfq.c if (index < 0) index 241 net/sched/sch_qfq.c index = 0; index 244 net/sched/sch_qfq.c (unsigned long) ONE_FP/inv_w, maxlen, index); index 246 net/sched/sch_qfq.c return index; index 732 net/sched/sch_qfq.c int index = __ffs(bitmap); index 733 net/sched/sch_qfq.c return &q->groups[index]; index 750 net/sched/sch_qfq.c unsigned long mask = mask_from(q->bitmaps[ER], grp->index); index 776 net/sched/sch_qfq.c static void qfq_unblock_groups(struct qfq_sched *q, int index, u64 old_F) index 778 net/sched/sch_qfq.c unsigned long mask = mask_from(q->bitmaps[ER], index + 1); index 787 net/sched/sch_qfq.c mask = (1UL << index) - 1; index 926 net/sched/sch_qfq.c grp->index, grp->full_slots); index 1042 net/sched/sch_qfq.c mask = mask_from(q->bitmaps[ER], agg->grp->index); index 1177 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[ER]); index 1187 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[ER]); index 1189 net/sched/sch_qfq.c __set_bit(grp->index, &q->bitmaps[s]); index 1192 net/sched/sch_qfq.c qfq_unblock_groups(q, grp->index, old_F); index 1294 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[IR]); index 1295 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[IB]); index 1303 net/sched/sch_qfq.c __set_bit(grp->index, &q->bitmaps[s]); index 1371 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[IR]); index 1372 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[EB]); index 1373 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[IB]); index 1375 net/sched/sch_qfq.c if (test_bit(grp->index, &q->bitmaps[ER]) && index 1376 net/sched/sch_qfq.c !(q->bitmaps[ER] & ~((1UL << grp->index) - 1))) { index 1377 net/sched/sch_qfq.c mask = q->bitmaps[ER] & ((1UL << grp->index) - 1); index 1385 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[ER]); index 1390 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[ER]); index 1391 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[IR]); index 1392 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[EB]); index 1393 net/sched/sch_qfq.c __clear_bit(grp->index, &q->bitmaps[IB]); index 1397 net/sched/sch_qfq.c __set_bit(grp->index, &q->bitmaps[s]); index 1440 net/sched/sch_qfq.c grp->index = i; index 46 net/sched/sch_taprio.c int index; index 808 net/sched/sch_taprio.c int index, struct netlink_ext_ack *extack) index 820 net/sched/sch_taprio.c entry->index = index; index 1720 net/sched/sch_taprio.c if (nla_put_u32(msg, TCA_TAPRIO_SCHED_ENTRY_INDEX, entry->index)) index 8183 net/sctp/socket.c int low, high, remaining, index; index 8197 net/sctp/socket.c index = sctp_phashfn(sock_net(sk), rover); index 8198 net/sctp/socket.c head = &sctp_port_hashtable[index]; index 202 net/smc/smc_ib.c *sgid_index = attr->index; index 35 net/smc/smc_ism.c rc = smcd->ops->move_data(smcd, pos->token, pos->index, pos->signal, index 32 net/smc/smc_ism.h u8 index; /* Index of DMBE */ index 257 net/smc/smc_tx.c pos.index = conn->peer_rmbe_idx; index 343 net/smc/smc_wr.c u32 index; index 348 net/smc/smc_wr.c index = do_div(temp_wr_id, link->wr_rx_cnt); index 349 net/smc/smc_wr.c wr_rx = (struct smc_wr_rx_hdr *)&link->wr_rx_bufs[index]; index 68 net/smc/smc_wr.h u32 index; index 72 net/smc/smc_wr.h index = do_div(temp_wr_id, link->wr_rx_cnt); index 73 net/smc/smc_wr.h link->wr_rx_ibs[index].wr_id = wr_id; index 74 net/smc/smc_wr.h rc = ib_post_recv(link->roce_qp, &link->wr_rx_ibs[index], NULL); index 16189 net/wireless/nl80211.c struct net_device *netdev, int index, index 16214 net/wireless/nl80211.c if (nla_put_u32(msg, NL80211_PMKSA_CANDIDATE_INDEX, index) || index 16232 net/wireless/nl80211.c void cfg80211_pmksa_candidate_notify(struct net_device *dev, int index, index 16239 net/wireless/nl80211.c trace_cfg80211_pmksa_candidate_notify(dev, index, bssid, preauth); index 16240 net/wireless/nl80211.c nl80211_pmksa_candidate_notify(rdev, dev, index, bssid, preauth, gfp); index 35 net/wireless/sysfs.c SHOW_FMT(index, "%d", wiphy_idx); index 3062 net/wireless/trace.h TP_PROTO(struct net_device *netdev, int index, const u8 *bssid, index 3064 net/wireless/trace.h TP_ARGS(netdev, index, bssid, preauth), index 3067 net/wireless/trace.h __field(int, index) index 3073 net/wireless/trace.h __entry->index = index; index 3078 net/wireless/trace.h NETDEV_PR_ARG, __entry->index, MAC_PR_ARG(bssid), index 686 net/wireless/wext-core.c unsigned int index; /* *MUST* be unsigned */ index 702 net/wireless/wext-core.c index = IW_IOCTL_IDX(cmd); index 703 net/wireless/wext-core.c if (index < handlers->num_standard) index 704 net/wireless/wext-core.c return handlers->standard[index]; index 708 net/wireless/wext-core.c index = cmd - SIOCIWFIRSTPRIV; index 709 net/wireless/wext-core.c if (index < handlers->num_private) index 710 net/wireless/wext-core.c return handlers->private[index]; index 134 net/xfrm/xfrm_hash.h static inline unsigned int __idx_hash(u32 index, unsigned int hmask) index 136 net/xfrm/xfrm_hash.h return (index ^ (index >> 8)) & hmask; index 323 net/xfrm/xfrm_policy.c dir = xfrm_policy_id2dir(xp->index); index 452 net/xfrm/xfrm_policy.c static inline unsigned int idx_hash(struct net *net, u32 index) index 454 net/xfrm/xfrm_policy.c return __idx_hash(index, net->xfrm.policy_idx_hmask); index 562 net/xfrm/xfrm_policy.c h = __idx_hash(pol->index, nhashmask); index 1244 net/xfrm/xfrm_policy.c dir = xfrm_policy_id2dir(policy->index); index 1314 net/xfrm/xfrm_policy.c dir = xfrm_policy_id2dir(policy->index); index 1358 net/xfrm/xfrm_policy.c static u32 xfrm_gen_index(struct net *net, int dir, u32 index) index 1368 net/xfrm/xfrm_policy.c if (!index) { index 1372 net/xfrm/xfrm_policy.c idx = index; index 1373 net/xfrm/xfrm_policy.c index = 0; index 1381 net/xfrm/xfrm_policy.c if (p->index == idx) { index 1592 net/xfrm/xfrm_policy.c policy->index = delpol ? delpol->index : xfrm_gen_index(net, dir, policy->index); index 1593 net/xfrm/xfrm_policy.c hlist_add_head(&policy->byidx, net->xfrm.policy_byidx+idx_hash(net, policy->index)); index 1719 net/xfrm/xfrm_policy.c if (pol->type == type && pol->index == id && index 1753 net/xfrm/xfrm_policy.c xfrm_policy_id2dir(pol->index) >= XFRM_POLICY_MAX || index 1786 net/xfrm/xfrm_policy.c dir = xfrm_policy_id2dir(pol->index); index 1839 net/xfrm/xfrm_policy.c error = func(pol, xfrm_policy_id2dir(pol->index), index 2266 net/xfrm/xfrm_policy.c pol->index = xfrm_gen_index(net, XFRM_POLICY_MAX+dir, 0); index 2306 net/xfrm/xfrm_policy.c newp->index = old->index; index 1448 net/xfrm/xfrm_user.c if (p->index && (xfrm_policy_id2dir(p->index) != p->dir)) index 1587 net/xfrm/xfrm_user.c xp->index = p->index; index 1603 net/xfrm/xfrm_user.c p->index = xp->index; index 1883 net/xfrm/xfrm_user.c if (p->index) index 1884 net/xfrm/xfrm_user.c xp = xfrm_policy_byid(net, mark, if_id, type, p->dir, p->index, delete, &err); index 1924 net/xfrm/xfrm_user.c c.data.byid = p->index; index 2183 net/xfrm/xfrm_user.c if (p->index) index 2184 net/xfrm/xfrm_user.c xp = xfrm_policy_byid(net, mark, if_id, type, p->dir, p->index, 0, &err); index 3134 net/xfrm/xfrm_user.c id->index = xp->index; index 17 samples/bpf/sockex1_kern.c int index = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)); index 23 samples/bpf/sockex1_kern.c value = bpf_map_lookup_elem(&my_map, &index); index 69 samples/bpf/tracex2_kern.c u64 index; index 87 samples/bpf/tracex2_kern.c key.index = log2l(write_size); index 36 samples/bpf/tracex2_user.c __u32 index; index 62 samples/bpf/tracex2_user.c ind = next_key.index; index 56 samples/bpf/tracex3_kern.c u32 index; index 77 samples/bpf/tracex3_kern.c index = (l * 64 + (delta - base) * 64 / base) * 3 / 64; index 79 samples/bpf/tracex3_kern.c if (index >= SLOTS) index 80 samples/bpf/tracex3_kern.c index = SLOTS - 1; index 82 samples/bpf/tracex3_kern.c value = bpf_map_lookup_elem(&lat_map, &index); index 403 samples/v4l/v4l2-pci-skeleton.c if (f->index != 0) index 606 samples/v4l/v4l2-pci-skeleton.c if (i->index > 1) index 610 samples/v4l/v4l2-pci-skeleton.c if (i->index == 0) { index 196 samples/vfio-mdev/mbochs.c static const char *vbe_name(u32 index) index 198 samples/vfio-mdev/mbochs.c if (index < ARRAY_SIZE(vbe_name_list)) index 199 samples/vfio-mdev/mbochs.c return vbe_name_list[index]; index 309 samples/vfio-mdev/mbochs.c int index = (offset - PCI_BASE_ADDRESS_0) / 0x04; index 318 samples/vfio-mdev/mbochs.c cfg_addr = (cfg_addr & mdev_state->bar_mask[index]); index 323 samples/vfio-mdev/mbochs.c index, cfg_addr); index 337 samples/vfio-mdev/mbochs.c int index; index 346 samples/vfio-mdev/mbochs.c index = (offset - 0x500) / 2; index 348 samples/vfio-mdev/mbochs.c if (index < ARRAY_SIZE(mdev_state->vbe)) index 349 samples/vfio-mdev/mbochs.c mdev_state->vbe[index] = reg16; index 351 samples/vfio-mdev/mbochs.c __func__, index, reg16, vbe_name(index)); index 369 samples/vfio-mdev/mbochs.c int index; index 384 samples/vfio-mdev/mbochs.c index = (offset - 0x500) / 2; index 385 samples/vfio-mdev/mbochs.c if (index < ARRAY_SIZE(mdev_state->vbe)) index 386 samples/vfio-mdev/mbochs.c reg16 = mdev_state->vbe[index]; index 388 samples/vfio-mdev/mbochs.c __func__, index, reg16, vbe_name(index)); index 1030 samples/vfio-mdev/mbochs.c if (region_info->index >= MBOCHS_NUM_REGIONS) index 1033 samples/vfio-mdev/mbochs.c switch (region_info->index) { index 1246 samples/vfio-mdev/mbochs.c (info.index >= VFIO_PCI_NUM_IRQS)) index 435 samples/vfio-mdev/mdpy.c if (region_info->index >= VFIO_PCI_NUM_REGIONS && index 436 samples/vfio-mdev/mdpy.c region_info->index != MDPY_DISPLAY_REGION) index 439 samples/vfio-mdev/mdpy.c switch (region_info->index) { index 580 samples/vfio-mdev/mdpy.c (info.index >= mdev_state->dev_info.num_irqs)) index 61 samples/vfio-mdev/mtty.c #define MTTY_VFIO_PCI_INDEX_TO_OFFSET(index) \ index 62 samples/vfio-mdev/mtty.c ((u64)(index) << MTTY_VFIO_PCI_OFFSET_SHIFT) index 291 samples/vfio-mdev/mtty.c static void handle_bar_write(unsigned int index, struct mdev_state *mdev_state, index 300 samples/vfio-mdev/mtty.c if (mdev_state->s[index].dlab) { index 301 samples/vfio-mdev/mtty.c mdev_state->s[index].divisor |= data; index 308 samples/vfio-mdev/mtty.c if (mdev_state->s[index].rxtx.count < index 309 samples/vfio-mdev/mtty.c mdev_state->s[index].max_fifo_size) { index 310 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.fifo[ index 311 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.head] = data; index 312 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.count++; index 313 samples/vfio-mdev/mtty.c CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.head); index 314 samples/vfio-mdev/mtty.c mdev_state->s[index].overrun = false; index 320 samples/vfio-mdev/mtty.c if ((mdev_state->s[index].uart_reg[UART_IER] & index 322 samples/vfio-mdev/mtty.c (mdev_state->s[index].rxtx.count == index 323 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level)) { index 327 samples/vfio-mdev/mtty.c index); index 333 samples/vfio-mdev/mtty.c pr_err("Serial port %d: Buffer Overflow\n", index); index 335 samples/vfio-mdev/mtty.c mdev_state->s[index].overrun = true; index 341 samples/vfio-mdev/mtty.c if (mdev_state->s[index].uart_reg[UART_IER] & index 350 samples/vfio-mdev/mtty.c if (mdev_state->s[index].dlab) index 351 samples/vfio-mdev/mtty.c mdev_state->s[index].divisor |= (u16)data << 8; index 353 samples/vfio-mdev/mtty.c mdev_state->s[index].uart_reg[offset] = data; index 356 samples/vfio-mdev/mtty.c (mdev_state->s[index].rxtx.head == index 357 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail)) { index 360 samples/vfio-mdev/mtty.c index); index 371 samples/vfio-mdev/mtty.c mdev_state->s[index].fcr = data; index 376 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.count = 0; index 377 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.head = 0; index 378 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail = 0; index 384 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level = 1; index 388 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level = 4; index 392 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level = 8; index 396 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level = 14; index 405 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level = 1; index 407 samples/vfio-mdev/mtty.c mdev_state->s[index].max_fifo_size = MAX_FIFO_SIZE; index 409 samples/vfio-mdev/mtty.c mdev_state->s[index].max_fifo_size = 1; index 410 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level = 1; index 417 samples/vfio-mdev/mtty.c mdev_state->s[index].dlab = true; index 418 samples/vfio-mdev/mtty.c mdev_state->s[index].divisor = 0; index 420 samples/vfio-mdev/mtty.c mdev_state->s[index].dlab = false; index 422 samples/vfio-mdev/mtty.c mdev_state->s[index].uart_reg[offset] = data; index 426 samples/vfio-mdev/mtty.c mdev_state->s[index].uart_reg[offset] = data; index 428 samples/vfio-mdev/mtty.c if ((mdev_state->s[index].uart_reg[UART_IER] & UART_IER_MSI) && index 431 samples/vfio-mdev/mtty.c pr_err("Serial port %d: MCR_OUT2 write\n", index); index 436 samples/vfio-mdev/mtty.c if ((mdev_state->s[index].uart_reg[UART_IER] & UART_IER_MSI) && index 439 samples/vfio-mdev/mtty.c pr_err("Serial port %d: MCR RTS/DTR write\n", index); index 451 samples/vfio-mdev/mtty.c mdev_state->s[index].uart_reg[offset] = data; index 459 samples/vfio-mdev/mtty.c static void handle_bar_read(unsigned int index, struct mdev_state *mdev_state, index 466 samples/vfio-mdev/mtty.c if (mdev_state->s[index].dlab) { index 467 samples/vfio-mdev/mtty.c *buf = (u8)mdev_state->s[index].divisor; index 473 samples/vfio-mdev/mtty.c if (mdev_state->s[index].rxtx.head != index 474 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail) { index 475 samples/vfio-mdev/mtty.c *buf = mdev_state->s[index].rxtx.fifo[ index 476 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail]; index 477 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.count--; index 478 samples/vfio-mdev/mtty.c CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.tail); index 481 samples/vfio-mdev/mtty.c if (mdev_state->s[index].rxtx.head == index 482 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail) { index 488 samples/vfio-mdev/mtty.c pr_err("Serial port %d: Buffer Empty\n", index); index 490 samples/vfio-mdev/mtty.c if (mdev_state->s[index].uart_reg[UART_IER] & index 499 samples/vfio-mdev/mtty.c if (mdev_state->s[index].dlab) { index 500 samples/vfio-mdev/mtty.c *buf = (u8)(mdev_state->s[index].divisor >> 8); index 503 samples/vfio-mdev/mtty.c *buf = mdev_state->s[index].uart_reg[offset] & 0x0f; index 508 samples/vfio-mdev/mtty.c u8 ier = mdev_state->s[index].uart_reg[UART_IER]; index 513 samples/vfio-mdev/mtty.c if ((ier & UART_IER_RLSI) && mdev_state->s[index].overrun) index 518 samples/vfio-mdev/mtty.c (mdev_state->s[index].rxtx.count >= index 519 samples/vfio-mdev/mtty.c mdev_state->s[index].intr_trigger_level)) index 524 samples/vfio-mdev/mtty.c (mdev_state->s[index].rxtx.head == index 525 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail)) index 530 samples/vfio-mdev/mtty.c (mdev_state->s[index].uart_reg[UART_MCR] & index 546 samples/vfio-mdev/mtty.c *buf = mdev_state->s[index].uart_reg[offset]; index 555 samples/vfio-mdev/mtty.c if (mdev_state->s[index].rxtx.head != index 556 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail) index 560 samples/vfio-mdev/mtty.c if (mdev_state->s[index].overrun) index 564 samples/vfio-mdev/mtty.c if (mdev_state->s[index].rxtx.head == index 565 samples/vfio-mdev/mtty.c mdev_state->s[index].rxtx.tail) index 577 samples/vfio-mdev/mtty.c if (mdev_state->s[index].uart_reg[UART_MCR] & index 579 samples/vfio-mdev/mtty.c if (mdev_state->s[index].rxtx.count < index 580 samples/vfio-mdev/mtty.c mdev_state->s[index].max_fifo_size) index 589 samples/vfio-mdev/mtty.c *buf = mdev_state->s[index].uart_reg[offset]; index 599 samples/vfio-mdev/mtty.c int index, pos; index 605 samples/vfio-mdev/mtty.c for (index = 0; index <= VFIO_PCI_BAR5_REGION_INDEX; index++) { index 607 samples/vfio-mdev/mtty.c if (!mdev_state->region_info[index].size) index 629 samples/vfio-mdev/mtty.c mdev_state->region_info[index].start = ((u64)start_hi << 32) | index 638 samples/vfio-mdev/mtty.c unsigned int index; index 653 samples/vfio-mdev/mtty.c index = MTTY_VFIO_PCI_OFFSET_TO_INDEX(pos); index 655 samples/vfio-mdev/mtty.c switch (index) { index 673 samples/vfio-mdev/mtty.c if (!mdev_state->region_info[index].start) index 681 samples/vfio-mdev/mtty.c __func__, index, offset, wr_reg[offset], index 682 samples/vfio-mdev/mtty.c *buf, mdev_state->s[index].dlab); index 684 samples/vfio-mdev/mtty.c handle_bar_write(index, mdev_state, offset, buf, count); index 686 samples/vfio-mdev/mtty.c handle_bar_read(index, mdev_state, offset, buf, count); index 691 samples/vfio-mdev/mtty.c __func__, index, offset, rd_reg[offset], index 692 samples/vfio-mdev/mtty.c *buf, mdev_state->s[index].dlab); index 916 samples/vfio-mdev/mtty.c unsigned int index, unsigned int start, index 930 samples/vfio-mdev/mtty.c switch (index) { index 958 samples/vfio-mdev/mtty.c mdev_state->irq_index = index; index 996 samples/vfio-mdev/mtty.c mdev_state->irq_index = index; index 1058 samples/vfio-mdev/mtty.c bar_index = region_info->index; index 1095 samples/vfio-mdev/mtty.c switch (irq_info->index) { index 1108 samples/vfio-mdev/mtty.c if (irq_info->index == VFIO_PCI_INTX_IRQ_INDEX) index 1200 samples/vfio-mdev/mtty.c (info.index >= mdev_state->dev_info.num_irqs)) index 1237 samples/vfio-mdev/mtty.c ret = mtty_set_irqs(mdev, hdr.flags, hdr.index, hdr.start, index 294 scripts/asn1_compiler.c unsigned char index; index 1093 scripts/asn1_compiler.c action->index = 0; index 1297 scripts/asn1_compiler.c int index; index 1327 scripts/asn1_compiler.c index = 0; index 1329 scripts/asn1_compiler.c action->index = index++; index 1340 scripts/asn1_compiler.c action->name, action->index); index 1348 scripts/asn1_compiler.c fprintf(out, "\t[%4u] = %s,\n", action->index, action->name); index 1136 scripts/dtc/libfdt/libfdt.h const char *property, int index, index 172 scripts/gcc-plugins/gcc-common.h tree cstr, elem, index, type; index 176 scripts/gcc-plugins/gcc-common.h index = build_index_type(size_int(len - 1)); index 177 scripts/gcc-plugins/gcc-common.h type = build_array_type(elem, index); index 505 scripts/gcc-plugins/randomize_layout_plugin.c lastidx = CONSTRUCTOR_ELT(init, CONSTRUCTOR_NELTS(init) - 1)->index; index 282 scripts/kconfig/expr.h int index; index 89 scripts/kconfig/lxdialog/menubox.c #define print_item(index, choice, selected) \ index 91 scripts/kconfig/lxdialog/menubox.c item_set(index); \ index 374 scripts/kconfig/mconf.c int key = '0' + (pos->index % JUMP_NB) + 1; index 732 scripts/kconfig/menu.c jump->index = 0; index 734 scripts/kconfig/menu.c jump->index = list_entry(head->prev, struct jump_key, index 735 scripts/kconfig/menu.c entries)->index + 1; index 499 scripts/kconfig/nconf.c int index; index 506 scripts/kconfig/nconf.c index = match_start; index 507 scripts/kconfig/nconf.c index = (index + items_num) % items_num; index 509 scripts/kconfig/nconf.c char *str = k_menu_items[index].str; index 511 scripts/kconfig/nconf.c return index; index 514 scripts/kconfig/nconf.c --index; index 516 scripts/kconfig/nconf.c ++index; index 517 scripts/kconfig/nconf.c index = (index + items_num) % items_num; index 518 scripts/kconfig/nconf.c if (index == match_start) index 567 scripts/kconfig/nconf.c int index = items_num-1; index 571 scripts/kconfig/nconf.c if (index < 0) index 578 scripts/kconfig/nconf.c k_menu_items[index].str, new_str); index 579 scripts/kconfig/nconf.c strncpy(k_menu_items[index].str, index 581 scripts/kconfig/nconf.c sizeof(k_menu_items[index].str)); index 583 scripts/kconfig/nconf.c free_item(curses_menu_items[index]); index 584 scripts/kconfig/nconf.c curses_menu_items[index] = new_item( index 585 scripts/kconfig/nconf.c k_menu_items[index].str, index 586 scripts/kconfig/nconf.c k_menu_items[index].str); index 587 scripts/kconfig/nconf.c set_item_userptr(curses_menu_items[index], index 588 scripts/kconfig/nconf.c &k_menu_items[index]); index 509 security/apparmor/domain.c int index = xindex & AA_X_INDEX_MASK; index 517 security/apparmor/domain.c for (*name = profile->file.trans.table[index]; !label && *name; index 117 security/apparmor/include/file.h u16 index = 0; index 120 security/apparmor/include/file.h index |= AA_X_UNSAFE; index 122 security/apparmor/include/file.h index |= AA_X_INHERIT; index 124 security/apparmor/include/file.h index |= AA_X_UNCONFINED; index 127 security/apparmor/include/file.h index |= AA_X_UNCONFINED; index 129 security/apparmor/include/file.h index |= AA_X_NAME; index 131 security/apparmor/include/file.h index |= AA_X_NAME | AA_X_CHILD; index 133 security/apparmor/include/file.h index |= AA_X_TABLE; index 134 security/apparmor/include/file.h index |= old_index - 4; index 137 security/apparmor/include/file.h return index; index 983 security/apparmor/policy_unpack.c int index, xtype; index 985 security/apparmor/policy_unpack.c index = xindex & AA_X_INDEX_MASK; index 986 security/apparmor/policy_unpack.c if (xtype == AA_X_TABLE && index >= table_size) index 23 security/selinux/include/conditional.h int index); index 1176 security/selinux/selinuxfs.c unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK; index 1182 security/selinux/selinuxfs.c if (index >= fsi->bool_num || strcmp(name, index 1183 security/selinux/selinuxfs.c fsi->bool_pending_names[index])) index 1191 security/selinux/selinuxfs.c cur_enforcing = security_get_bool_value(fsi->state, index); index 1197 security/selinux/selinuxfs.c fsi->bool_pending_values[index]); index 1216 security/selinux/selinuxfs.c unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK; index 1240 security/selinux/selinuxfs.c if (index >= fsi->bool_num || strcmp(name, index 1241 security/selinux/selinuxfs.c fsi->bool_pending_names[index])) index 1251 security/selinux/selinuxfs.c fsi->bool_pending_values[index] = new_value; index 1762 security/selinux/selinuxfs.c static int sel_make_class_dir_entries(char *classname, int index, index 1782 security/selinux/selinuxfs.c inode->i_ino = sel_class_to_ino(index); index 1789 security/selinux/selinuxfs.c rc = sel_make_perm_files(classname, index, dentry); index 349 security/selinux/ss/ebitmap.c u32 mapunit, count, startbit, index; index 435 security/selinux/ss/ebitmap.c index = (startbit - n->startbit) / EBITMAP_UNIT_SIZE; index 437 security/selinux/ss/ebitmap.c n->maps[index++] = map & (-1UL); index 91 security/selinux/ss/ebitmap.h unsigned int index = EBITMAP_NODE_INDEX(n, bit); index 94 security/selinux/ss/ebitmap.h BUG_ON(index >= EBITMAP_UNIT_NUMS); index 95 security/selinux/ss/ebitmap.h if ((n->maps[index] & (EBITMAP_BIT << ofs))) index 103 security/selinux/ss/ebitmap.h unsigned int index = EBITMAP_NODE_INDEX(n, bit); index 106 security/selinux/ss/ebitmap.h BUG_ON(index >= EBITMAP_UNIT_NUMS); index 107 security/selinux/ss/ebitmap.h n->maps[index] |= (EBITMAP_BIT << ofs); index 113 security/selinux/ss/ebitmap.h unsigned int index = EBITMAP_NODE_INDEX(n, bit); index 116 security/selinux/ss/ebitmap.h BUG_ON(index >= EBITMAP_UNIT_NUMS); index 117 security/selinux/ss/ebitmap.h n->maps[index] &= ~(EBITMAP_BIT << ofs); index 467 security/selinux/ss/services.c int index; index 507 security/selinux/ss/services.c for (index = 0; index < 32; index++) { index 508 security/selinux/ss/services.c u32 mask = (1 << index); index 515 security/selinux/ss/services.c permission_names[index] index 516 security/selinux/ss/services.c ? permission_names[index] : "????"); index 860 security/selinux/ss/services.c int index; index 892 security/selinux/ss/services.c index = new_context->type; index 894 security/selinux/ss/services.c type = policydb->type_val_to_struct[index - 1]; index 907 security/selinux/ss/services.c index = type->bounds; index 2906 security/selinux/ss/services.c int index) index 2918 security/selinux/ss/services.c if (index >= len) index 2921 security/selinux/ss/services.c rc = policydb->bool_val_to_struct[index]->state; index 91 security/selinux/ss/sidtab.c static struct context *sidtab_do_lookup(struct sidtab *s, u32 index, int alloc) index 94 security/selinux/ss/sidtab.c u32 level, capacity_shift, leaf_index = index / SIDTAB_LEAF_ENTRIES; index 97 security/selinux/ss/sidtab.c level = sidtab_level_from_count(index + 1); index 128 security/selinux/ss/sidtab.c return &entry->ptr_leaf->entries[index % SIDTAB_LEAF_ENTRIES].context; index 131 security/selinux/ss/sidtab.c static struct context *sidtab_lookup(struct sidtab *s, u32 index) index 136 security/selinux/ss/sidtab.c if (index >= count) index 139 security/selinux/ss/sidtab.c return sidtab_do_lookup(s, index, 0); index 175 security/selinux/ss/sidtab.c struct context *context, u32 *index) index 187 security/selinux/ss/sidtab.c context, index); index 198 security/selinux/ss/sidtab.c *index = *pos; index 208 security/selinux/ss/sidtab.c static void sidtab_rcache_update(struct sidtab *s, u32 index, u32 pos) index 214 security/selinux/ss/sidtab.c WRITE_ONCE(s->rcache[0], index); index 217 security/selinux/ss/sidtab.c static void sidtab_rcache_push(struct sidtab *s, u32 index) index 219 security/selinux/ss/sidtab.c sidtab_rcache_update(s, index, SIDTAB_RCACHE_SIZE - 1); index 223 security/selinux/ss/sidtab.c u32 *index) index 235 security/selinux/ss/sidtab.c *index = v; index 243 security/selinux/ss/sidtab.c u32 *index) index 251 security/selinux/ss/sidtab.c rc = sidtab_rcache_search(s, context, index); index 261 security/selinux/ss/sidtab.c context, index); index 263 security/selinux/ss/sidtab.c sidtab_rcache_push(s, *index); index 278 security/selinux/ss/sidtab.c *index = count; index 327 security/selinux/ss/sidtab.c *index = count; index 328 security/tomoyo/audit.c const u8 profile, const u8 index, index 333 security/tomoyo/audit.c const u8 category = tomoyo_index2category[index] + index 345 security/tomoyo/audit.c mode = p->config[index]; index 746 security/tomoyo/common.c u8 index; index 754 security/tomoyo/common.c index = head->r.index; index 755 security/tomoyo/common.c profile = ns->profile_ptr[index]; index 764 security/tomoyo/common.c for ( ; head->r.index < TOMOYO_MAX_PROFILES; index 765 security/tomoyo/common.c head->r.index++) index 766 security/tomoyo/common.c if (ns->profile_ptr[head->r.index]) index 768 security/tomoyo/common.c if (head->r.index == TOMOYO_MAX_PROFILES) { index 781 security/tomoyo/common.c tomoyo_io_printf(head, "%u-COMMENT=", index); index 785 security/tomoyo/common.c tomoyo_io_printf(head, "%u-PREFERENCE={ ", index); index 797 security/tomoyo/common.c tomoyo_io_printf(head, "%u-%s", index, "CONFIG"); index 814 security/tomoyo/common.c index, index 819 security/tomoyo/common.c tomoyo_io_printf(head, "%u-CONFIG::%s", index, index 827 security/tomoyo/common.c head->r.index++; index 1299 security/tomoyo/common.c argv->index, argv->is_not ? "!" : ""); index 1640 security/tomoyo/common.c head->r.index = 0; index 1644 security/tomoyo/common.c while (head->r.index < TOMOYO_MAX_ACL_GROUPS) { index 1645 security/tomoyo/common.c i = head->r.index++; index 1652 security/tomoyo/common.c head->r.index = 0; index 2337 security/tomoyo/common.c void tomoyo_update_stat(const u8 index) index 2339 security/tomoyo/common.c atomic_inc(&tomoyo_stat_updated[index]); index 2340 security/tomoyo/common.c tomoyo_stat_modified[index] = ktime_get_real_seconds(); index 608 security/tomoyo/common.h unsigned long index; index 809 security/tomoyo/common.h u16 index; index 978 security/tomoyo/common.h const u8 index); index 981 security/tomoyo/common.h const u8 index); index 1042 security/tomoyo/common.h const u8 index); index 1066 security/tomoyo/common.h void tomoyo_update_stat(const u8 index); index 25 security/tomoyo/condition.c static bool tomoyo_argv(const unsigned int index, const char *arg_ptr, index 36 security/tomoyo/condition.c if (index != argv->index) index 302 security/tomoyo/condition.c if (tomoyo_parse_ulong(&argv->index, &left) != index 836 security/tomoyo/condition.c const u8 index = j ? right : left; index 839 security/tomoyo/condition.c switch (index) { index 951 security/tomoyo/condition.c switch (index) { index 994 security/tomoyo/condition.c switch (index) { index 1045 security/tomoyo/condition.c switch (index) { index 971 security/tomoyo/util.c const u8 index) index 979 security/tomoyo/util.c mode = p->config[index]; index 981 security/tomoyo/util.c mode = p->config[tomoyo_index2category[index] index 998 security/tomoyo/util.c struct tomoyo_domain_info *domain, const u8 index) index 1008 security/tomoyo/util.c r->type = index; index 1009 security/tomoyo/util.c r->mode = tomoyo_get_mode(domain->ns, profile, index); index 10 sound/aoa/core/alsa.c static int index = -1; index 11 sound/aoa/core/alsa.c module_param(index, int, 0444); index 12 sound/aoa/core/alsa.c MODULE_PARM_DESC(index, "index for AOA sound card."); index 25 sound/aoa/core/alsa.c err = snd_card_new(dev, index, name, mod, sizeof(struct aoa_card), index 114 sound/aoa/soundbus/i2sbus/core.c static int i2sbus_get_and_fixup_rsrc(struct device_node *np, int index, index 131 sound/aoa/soundbus/i2sbus/core.c return of_address_to_resource(np, index, res); index 134 sound/aoa/soundbus/i2sbus/core.c pindex = (index == aoa_resource_i2smmio) ? 0 : 1; index 143 sound/aoa/soundbus/i2sbus/core.c res->start += reg[index * 2]; index 144 sound/aoa/soundbus/i2sbus/core.c res->end = res->start + reg[index * 2 + 1] - 1; index 267 sound/core/control.c kctl->id.index = ncontrol->index; index 348 sound/core/control.c if (id.index > UINT_MAX - kcontrol->count) index 360 sound/core/control.c id.index); index 379 sound/core/control.c for (idx = 0; idx < count; idx++, id.index++, id.numid++) index 471 sound/core/control.c for (idx = 0; idx < kcontrol->count; idx++, id.index++, id.numid++) index 682 sound/core/control.c if (kctl->id.index > id->index) index 684 sound/core/control.c if (kctl->id.index + kctl->count <= id->index) index 36 sound/core/ctljack.c sid.index = 0; index 41 sound/core/ctljack.c sid.index++; index 46 sound/core/ctljack.c return sid.index; index 72 sound/core/ctljack.c kctl->id.index = get_available_index(card, kctl->id.name); index 216 sound/core/hwdep.c if (info.index >= 32) index 219 sound/core/hwdep.c if (hw->dsp_loaded & (1u << info.index)) index 224 sound/core/hwdep.c hw->dsp_loaded |= (1u << info.index); index 12 sound/core/hwdep_compat.c u32 index; index 187 sound/core/oss/mixer_oss.c unsigned int index; index 188 sound/core/oss/mixer_oss.c if ((err = mixer->get_recsrc(fmixer, &index)) < 0) index 190 sound/core/oss/mixer_oss.c result = 1 << index; index 212 sound/core/oss/mixer_oss.c unsigned int index; index 221 sound/core/oss/mixer_oss.c mixer->get_recsrc(fmixer, &index); index 222 sound/core/oss/mixer_oss.c result = 1 << index; index 495 sound/core/oss/mixer_oss.c static struct snd_kcontrol *snd_mixer_oss_test_id(struct snd_mixer_oss *mixer, const char *name, int index) index 503 sound/core/oss/mixer_oss.c id.index = index; index 897 sound/core/oss/mixer_oss.c int index; index 900 sound/core/oss/mixer_oss.c static int snd_mixer_oss_build_test(struct snd_mixer_oss *mixer, struct slot *slot, const char *name, int index, int item) index 908 sound/core/oss/mixer_oss.c kcontrol = snd_mixer_oss_test_id(mixer, name, index); index 962 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, ptr->name, ptr->index, index 967 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 972 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 977 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 982 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 987 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 992 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 997 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 1002 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 1007 sound/core/oss/mixer_oss.c err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index, index 1037 sound/core/oss/mixer_oss.c if (ptr->index == 0 && (kctl = snd_mixer_oss_test_id(mixer, "Capture Source", 0)) != NULL) { index 1159 sound/core/oss/mixer_oss.c p->assigned->index); index 1204 sound/core/oss/mixer_oss.c slot->assigned->index == idx && ! strcmp(slot->assigned->name, str)) index 1216 sound/core/oss/mixer_oss.c tbl->index = idx; index 3079 sound/core/oss/pcm_oss.c static void register_oss_dsp(struct snd_pcm *pcm, int index) index 3082 sound/core/oss/pcm_oss.c pcm->card, index, &snd_pcm_oss_f_reg, index 34 sound/core/pcm_native.c #define trace_hw_mask_param(substream, type, index, prev, curr) index 35 sound/core/pcm_native.c #define trace_hw_interval_param(substream, type, index, prev, curr) index 29 sound/core/pcm_param_trace.h TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd_mask *prev, const struct snd_mask *curr), index 30 sound/core/pcm_param_trace.h TP_ARGS(substream, type, index, prev, curr), index 37 sound/core/pcm_param_trace.h __field(int, index) index 48 sound/core/pcm_param_trace.h __entry->index = index; index 58 sound/core/pcm_param_trace.h __entry->index, index 69 sound/core/pcm_param_trace.h TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_hw_param_t type, int index, const struct snd_interval *prev, const struct snd_interval *curr), index 70 sound/core/pcm_param_trace.h TP_ARGS(substream, type, index, prev, curr), index 77 sound/core/pcm_param_trace.h __field(int, index) index 98 sound/core/pcm_param_trace.h __entry->index = index; index 118 sound/core/pcm_param_trace.h __entry->index, index 72 sound/core/seq/oss/seq_oss_device.h int index; /* application index */ index 190 sound/core/seq/oss/seq_oss_init.c dp->index = i; index 265 sound/core/seq/oss/seq_oss_init.c client_table[dp->index] = dp; index 308 sound/core/seq/oss/seq_oss_init.c sprintf(port.name, "Sequencer-%d", dp->index); index 409 sound/core/seq/oss/seq_oss_init.c client_table[dp->index] = NULL; index 219 sound/core/seq/oss/seq_oss_midi.c int index; index 231 sound/core/seq/oss/seq_oss_midi.c for (index = max_midi_devs - 1; index >= 0; index--) { index 232 sound/core/seq/oss/seq_oss_midi.c if (midi_devs[index]) index 235 sound/core/seq/oss/seq_oss_midi.c max_midi_devs = index + 1; index 143 sound/core/seq/oss/seq_oss_synth.c int index; index 148 sound/core/seq/oss/seq_oss_synth.c for (index = 0; index < max_synth_devs; index++) { index 149 sound/core/seq/oss/seq_oss_synth.c if (synth_devs[index] == rec) index 152 sound/core/seq/oss/seq_oss_synth.c if (index >= max_synth_devs) { index 157 sound/core/seq/oss/seq_oss_synth.c synth_devs[index] = NULL; index 158 sound/core/seq/oss/seq_oss_synth.c if (index == max_synth_devs - 1) { index 159 sound/core/seq/oss/seq_oss_synth.c for (index--; index >= 0; index--) { index 160 sound/core/seq/oss/seq_oss_synth.c if (synth_devs[index]) index 163 sound/core/seq/oss/seq_oss_synth.c max_synth_devs = index + 1; index 1981 sound/core/seq/seq_clientmgr.c if (i++ == subs->index) { index 39 sound/drivers/aloop.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 45 sound/drivers/aloop.c module_param_array(index, int, NULL, 0444); index 46 sound/drivers/aloop.c MODULE_PARM_DESC(index, "Index value for loopback soundcard."); index 1137 sound/drivers/aloop.c err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, index 47 sound/drivers/dummy.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 59 sound/drivers/dummy.c module_param_array(index, int, NULL, 0444); index 60 sound/drivers/dummy.c MODULE_PARM_DESC(index, "Index value for dummy soundcard."); index 718 sound/drivers/dummy.c .name = xname, .index = xindex, \ index 776 sound/drivers/dummy.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1041 sound/drivers/dummy.c err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, index 60 sound/drivers/ml403-ac97cr.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 64 sound/drivers/ml403-ac97cr.c module_param_array(index, int, NULL, 0444); index 65 sound/drivers/ml403-ac97cr.c MODULE_PARM_DESC(index, "Index value for ML403 AC97 Controller Reference."); index 1263 sound/drivers/ml403-ac97cr.c err = snd_card_new(&pfdev->dev, index[dev], id[dev], THIS_MODULE, index 21 sound/drivers/mpu401/mpu401.c static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /* exclude the first card */ index 31 sound/drivers/mpu401/mpu401.c module_param_array(index, int, NULL, 0444); index 32 sound/drivers/mpu401/mpu401.c MODULE_PARM_DESC(index, "Index value for MPU-401 device."); index 62 sound/drivers/mpu401/mpu401.c err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, index 63 sound/drivers/mtpav.c static int index = SNDRV_DEFAULT_IDX1; index 69 sound/drivers/mtpav.c module_param(index, int, 0444); index 70 sound/drivers/mtpav.c MODULE_PARM_DESC(index, "Index value for MotuMTPAV MIDI."); index 682 sound/drivers/mtpav.c err = snd_card_new(&dev->dev, index, id, THIS_MODULE, index 23 sound/drivers/mts64.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 30 sound/drivers/mts64.c module_param_array(index, int, NULL, 0444); index 31 sound/drivers/mts64.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 473 sound/drivers/mts64.c .index = 0, index 546 sound/drivers/mts64.c .index = 0, index 557 sound/drivers/mts64.c .index = 0, index 568 sound/drivers/mts64.c .index = 0, index 579 sound/drivers/mts64.c .index = 0, index 631 sound/drivers/mts64.c .index = 0, index 925 sound/drivers/mts64.c err = snd_card_new(&pdev->dev, index[dev], id[dev], THIS_MODULE, index 28 sound/drivers/pcsp/pcsp.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 33 sound/drivers/pcsp/pcsp.c module_param(index, int, 0444); index 34 sound/drivers/pcsp/pcsp.c MODULE_PARM_DESC(index, "Index value for pcsp soundcard."); index 107 sound/drivers/pcsp/pcsp.c err = snd_card_new(dev, index, id, THIS_MODULE, 0, &card); index 43 sound/drivers/portman2x4.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 50 sound/drivers/portman2x4.c module_param_array(index, int, NULL, 0444); index 51 sound/drivers/portman2x4.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 724 sound/drivers/portman2x4.c err = snd_card_new(&pdev->dev, index[dev], id[dev], THIS_MODULE, index 56 sound/drivers/serial-u16550.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 68 sound/drivers/serial-u16550.c module_param_array(index, int, NULL, 0444); index 69 sound/drivers/serial-u16550.c MODULE_PARM_DESC(index, "Index value for Serial MIDI."); index 928 sound/drivers/serial-u16550.c err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, index 50 sound/drivers/virmidi.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 55 sound/drivers/virmidi.c module_param_array(index, int, NULL, 0444); index 56 sound/drivers/virmidi.c MODULE_PARM_DESC(index, "Index value for virmidi soundcard."); index 79 sound/drivers/virmidi.c err = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, index 413 sound/drivers/vx/vx_mixer.c int codec = kcontrol->id.index; index 424 sound/drivers/vx/vx_mixer.c int codec = kcontrol->id.index; index 911 sound/drivers/vx/vx_mixer.c temp.index = i; index 921 sound/drivers/vx/vx_mixer.c temp.index = i; index 927 sound/drivers/vx/vx_mixer.c temp.index = i; index 932 sound/drivers/vx/vx_mixer.c temp.index = i; index 937 sound/drivers/vx/vx_mixer.c temp.index = i; index 944 sound/drivers/vx/vx_mixer.c temp.index = i; index 969 sound/drivers/vx/vx_mixer.c temp.index = i; index 976 sound/drivers/vx/vx_mixer.c temp.index = i; index 983 sound/drivers/vx/vx_mixer.c temp.index = i; index 48 sound/drivers/vx/vx_uer.c static int vx_read_one_cbit(struct vx_core *chip, int index) index 55 sound/drivers/vx/vx_uer.c vx_outb(chip, RUER, index & XX_UER_CBITS_OFFSET_MASK); index 59 sound/drivers/vx/vx_uer.c vx_outl(chip, RUER, index & XX_UER_CBITS_OFFSET_MASK); index 71 sound/drivers/vx/vx_uer.c static void vx_write_one_cbit(struct vx_core *chip, int index, int val) index 77 sound/drivers/vx/vx_uer.c vx_outb(chip, RUER, (val << 7) | (index & XX_UER_CBITS_OFFSET_MASK)); index 80 sound/drivers/vx/vx_uer.c vx_outl(chip, RUER, (val << 7) | (index & XX_UER_CBITS_OFFSET_MASK)); index 124 sound/firewire/amdtp-am824.c void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index, index 129 sound/firewire/amdtp-am824.c if (index < p->pcm_channels) index 130 sound/firewire/amdtp-am824.c p->pcm_positions[index] = position; index 35 sound/firewire/amdtp-am824.h void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index, index 17 sound/firewire/amdtp-stream-trace.h TP_PROTO(const struct amdtp_stream *s, u32 cycles, const __be32 *cip_header, unsigned int payload_length, unsigned int data_blocks, unsigned int data_block_counter, unsigned int index), index 18 sound/firewire/amdtp-stream-trace.h TP_ARGS(s, cycles, cip_header, payload_length, data_blocks, data_block_counter, index), index 31 sound/firewire/amdtp-stream-trace.h __field(unsigned int, index) index 53 sound/firewire/amdtp-stream-trace.h __entry->index = index; index 67 sound/firewire/amdtp-stream-trace.h __entry->index, index 371 sound/firewire/amdtp-stream.c unsigned int syt_offset, phase, index, syt; index 389 sound/firewire/amdtp-stream.c index = phase % 13; index 391 sound/firewire/amdtp-stream.c syt_offset += 1386 + ((index && !(index & 3)) || index 495 sound/firewire/amdtp-stream.c unsigned int syt, unsigned int index) index 513 sound/firewire/amdtp-stream.c data_block_counter, index); index 617 sound/firewire/amdtp-stream.c unsigned int *syt, unsigned int index) index 649 sound/firewire/amdtp-stream.c *data_block_counter, index); index 692 sound/firewire/amdtp-stream.c unsigned int index = (s->packet_index + i) % QUEUE_LENGTH; index 709 sound/firewire/amdtp-stream.c desc->ctx_payload = s->buffer.packets[index].buffer; index 733 sound/firewire/amdtp-stream.c unsigned int index = (s->packet_index + i) % QUEUE_LENGTH; index 747 sound/firewire/amdtp-stream.c desc->ctx_payload = s->buffer.packets[index].buffer; index 20 sound/firewire/bebob/bebob.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 24 sound/firewire/bebob/bebob.c module_param_array(index, int, NULL, 0444); index 25 sound/firewire/bebob/bebob.c MODULE_PARM_DESC(index, "card index"); index 186 sound/firewire/bebob/bebob.c err = snd_card_new(&bebob->unit->device, index[card_index], index 81 sound/firewire/bebob/bebob_hwdep.c info.card = dev->card->index; index 50 sound/firewire/bebob/bebob_stream.c get_formation_index(unsigned int rate, unsigned int *index) index 56 sound/firewire/bebob/bebob_stream.c *index = i; index 535 sound/firewire/bebob/bebob_stream.c unsigned int rate, unsigned int index) index 542 sound/firewire/bebob/bebob_stream.c formation = bebob->tx_stream_formations + index; index 545 sound/firewire/bebob/bebob_stream.c formation = bebob->rx_stream_formations + index; index 582 sound/firewire/bebob/bebob_stream.c unsigned int index; index 597 sound/firewire/bebob/bebob_stream.c err = get_formation_index(rate, &index); index 601 sound/firewire/bebob/bebob_stream.c err = keep_resources(bebob, &bebob->tx_stream, rate, index); index 605 sound/firewire/bebob/bebob_stream.c err = keep_resources(bebob, &bebob->rx_stream, rate, index); index 79 sound/firewire/dice/dice-hwdep.c info.card = dev->card->index; index 16 sound/firewire/dice/dice-pcm.c unsigned int index = substream->pcm->device; index 30 sound/firewire/dice/dice-pcm.c pcm_channels = dice->tx_pcm_chs[index]; index 32 sound/firewire/dice/dice-pcm.c pcm_channels = dice->rx_pcm_chs[index]; index 54 sound/firewire/dice/dice-pcm.c unsigned int index = substream->pcm->device; index 68 sound/firewire/dice/dice-pcm.c pcm_channels = dice->tx_pcm_chs[index]; index 70 sound/firewire/dice/dice-pcm.c pcm_channels = dice->rx_pcm_chs[index]; index 90 sound/firewire/dice/dice-pcm.c unsigned int index) index 97 sound/firewire/dice/dice-pcm.c pcm_channels = dice->tx_pcm_chs[index]; index 99 sound/firewire/dice/dice-pcm.c pcm_channels = dice->rx_pcm_chs[index]; index 130 sound/firewire/dice/dice-pcm.c unsigned int index = substream->pcm->device; index 138 sound/firewire/dice/dice-pcm.c stream = &dice->tx_stream[index]; index 142 sound/firewire/dice/dice-pcm.c stream = &dice->rx_stream[index]; index 146 sound/firewire/dice/dice-pcm.c index); index 502 sound/firewire/dice/dice-stream.c unsigned int index) index 509 sound/firewire/dice/dice-stream.c stream = &dice->tx_stream[index]; index 510 sound/firewire/dice/dice-stream.c resources = &dice->tx_resources[index]; index 512 sound/firewire/dice/dice-stream.c stream = &dice->rx_stream[index]; index 513 sound/firewire/dice/dice-stream.c resources = &dice->rx_resources[index]; index 536 sound/firewire/dice/dice-stream.c unsigned int index) index 542 sound/firewire/dice/dice-stream.c stream = &dice->tx_stream[index]; index 543 sound/firewire/dice/dice-stream.c resources = &dice->tx_resources[index]; index 545 sound/firewire/dice/dice-stream.c stream = &dice->rx_stream[index]; index 546 sound/firewire/dice/dice-stream.c resources = &dice->rx_resources[index]; index 78 sound/firewire/dice/dice-transaction.c unsigned int index; index 85 sound/firewire/dice/dice-transaction.c index = (be32_to_cpu(info) & CLOCK_RATE_MASK) >> CLOCK_RATE_SHIFT; index 86 sound/firewire/dice/dice-transaction.c if (index >= SND_DICE_RATES_COUNT) { index 91 sound/firewire/dice/dice-transaction.c *rate = snd_dice_rates[index]; index 87 sound/firewire/digi00x/digi00x-hwdep.c info.card = dev->card->index; index 79 sound/firewire/fireface/ff-hwdep.c info.card = dev->card->index; index 566 sound/firewire/fireface/ff-protocol-former.c unsigned int index; index 575 sound/firewire/fireface/ff-protocol-former.c index = (quad >> 8) & 0xff; index 576 sound/firewire/fireface/ff-protocol-former.c if (index > 0) { index 585 sound/firewire/fireface/ff-protocol-former.c index = (quad >> 24) & 0xff; index 586 sound/firewire/fireface/ff-protocol-former.c if (index > 0) { index 300 sound/firewire/fireface/ff-protocol-latter.c unsigned int index = (data & 0x000000f0) >> 4; index 305 sound/firewire/fireface/ff-protocol-latter.c if (index >= ff->spec->midi_in_ports) index 331 sound/firewire/fireface/ff-protocol-latter.c substream = READ_ONCE(ff->tx_midi_substreams[index]); index 23 sound/firewire/fireworks/fireworks.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 29 sound/firewire/fireworks/fireworks.c module_param_array(index, int, NULL, 0444); index 30 sound/firewire/fireworks/fireworks.c MODULE_PARM_DESC(index, "card index"); index 220 sound/firewire/fireworks/fireworks.c err = snd_card_new(&efw->unit->device, index[card_index], index 31 sound/firewire/fireworks/fireworks_command.c u32 index; index 285 sound/firewire/fireworks/fireworks_command.c be32_to_cpus(&clock->index); index 319 sound/firewire/fireworks/fireworks_command.c clock.index = 0; index 323 sound/firewire/fireworks/fireworks_command.c cpu_to_be32s(&clock.index); index 212 sound/firewire/fireworks/fireworks_hwdep.c info.card = dev->card->index; index 44 sound/firewire/fireworks/fireworks_pcm.c get_multiplier_mode_with_index(unsigned int index) index 46 sound/firewire/fireworks/fireworks_pcm.c return ((int)index - 1) / 2; index 170 sound/firewire/isight.c unsigned int index, length, count, total; index 175 sound/firewire/isight.c index = isight->packet_index; index 176 sound/firewire/isight.c payload = isight->buffer.packets[index].buffer; index 198 sound/firewire/isight.c isight->buffer.packets[index].offset); index 207 sound/firewire/isight.c if (++index >= QUEUE_LENGTH) index 208 sound/firewire/isight.c index = 0; index 209 sound/firewire/isight.c isight->packet_index = index; index 86 sound/firewire/motu/motu-hwdep.c info.card = dev->card->index; index 32 sound/firewire/motu/motu-protocol-v2.c unsigned int index; index 40 sound/firewire/motu/motu-protocol-v2.c index = (be32_to_cpu(reg) & V2_CLOCK_RATE_MASK) >> V2_CLOCK_RATE_SHIFT; index 41 sound/firewire/motu/motu-protocol-v2.c if (index >= ARRAY_SIZE(snd_motu_clock_rates)) index 44 sound/firewire/motu/motu-protocol-v2.c *rate = snd_motu_clock_rates[index]; index 86 sound/firewire/motu/motu-protocol-v2.c unsigned int index; index 94 sound/firewire/motu/motu-protocol-v2.c index = be32_to_cpu(reg) & V2_CLOCK_SRC_MASK; index 95 sound/firewire/motu/motu-protocol-v2.c if (index > 5) index 104 sound/firewire/motu/motu-protocol-v2.c switch (index) { index 79 sound/firewire/oxfw/oxfw-hwdep.c info.card = dev->card->index; index 137 sound/firewire/tascam/amdtp-tascam.c unsigned int index; index 141 sound/firewire/tascam/amdtp-tascam.c index = be32_to_cpu(buffer[0]) % SNDRV_FIREWIRE_TASCAM_STATE_COUNT; index 142 sound/firewire/tascam/amdtp-tascam.c before = tscm->state[index]; index 145 sound/firewire/tascam/amdtp-tascam.c if (used && index > 4 && index < 16) { index 148 sound/firewire/tascam/amdtp-tascam.c if (index == 5) index 150 sound/firewire/tascam/amdtp-tascam.c else if (index == 6) index 152 sound/firewire/tascam/amdtp-tascam.c else if (index == 8) index 163 sound/firewire/tascam/amdtp-tascam.c entry->index = index; index 174 sound/firewire/tascam/amdtp-tascam.c tscm->state[index] = after; index 152 sound/firewire/tascam/tascam-hwdep.c info.card = dev->card->index; index 100 sound/hda/ext/hdac_ext_controller.c hlink->index = idx; index 120 sound/hda/ext/hdac_ext_stream.c int mask = AZX_PPCTL_PROCEN(hstream->index); index 409 sound/hda/ext/hdac_ext_stream.c bool enable, int index) index 418 sound/hda/ext/hdac_ext_stream.c mask |= (1 << index); index 492 sound/hda/ext/hdac_ext_stream.c bool enable, int index) index 501 sound/hda/ext/hdac_ext_stream.c mask |= (1 << index); index 555 sound/hda/hdac_controller.c handled |= 1 << azx_dev->index; index 598 sound/hda/hdac_controller.c s->posbuf = (__le32 *)(bus->posbuf.area + s->index * 8); index 68 sound/hda/hdac_stream.c azx_dev->index = idx; index 96 sound/hda/hdac_stream.c 1 << azx_dev->index, index 97 sound/hda/hdac_stream.c 1 << azx_dev->index); index 141 sound/hda/hdac_stream.c snd_hdac_chip_updatel(azx_dev->bus, INTCTL, 1 << azx_dev->index, 0); index 633 sound/i2c/other/ak4xxx-adda.c knew.index = mixer_ch + ak->idx_offset * 2; index 726 sound/i2c/other/ak4xxx-adda.c knew.index = mixer_ch + ak->idx_offset * 2; index 762 sound/i2c/other/ak4xxx-adda.c knew.index = mixer_ch + ak->idx_offset * 2; index 781 sound/i2c/other/ak4xxx-adda.c knew.index = mixer_ch + ak->idx_offset * 2; index 813 sound/i2c/other/ak4xxx-adda.c knew.index = idx + ak->idx_offset; index 67 sound/i2c/tea6330t.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 126 sound/i2c/tea6330t.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 170 sound/i2c/tea6330t.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 217 sound/i2c/tea6330t.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 33 sound/isa/ad1816a/ad1816a.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */ index 45 sound/isa/ad1816a/ad1816a.c module_param_array(index, int, NULL, 0444); index 46 sound/isa/ad1816a/ad1816a.c MODULE_PARM_DESC(index, "Index value for ad1816a based soundcard."); index 135 sound/isa/ad1816a/ad1816a.c index[dev], id[dev], THIS_MODULE, index 29 sound/isa/ad1848/ad1848.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 37 sound/isa/ad1848/ad1848.c module_param_array(index, int, NULL, 0444); index 38 sound/isa/ad1848/ad1848.c MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard."); index 78 sound/isa/ad1848/ad1848.c error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); index 20 sound/isa/adlib.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 25 sound/isa/adlib.c module_param_array(index, int, NULL, 0444); index 26 sound/isa/adlib.c MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard."); index 57 sound/isa/adlib.c error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); index 43 sound/isa/als100.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 54 sound/isa/als100.c module_param_array(index, int, NULL, 0444); index 55 sound/isa/als100.c MODULE_PARM_DESC(index, "Index value for Avance Logic based soundcard."); index 185 sound/isa/als100.c index[dev], id[dev], THIS_MODULE, index 44 sound/isa/azt2320.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 56 sound/isa/azt2320.c module_param_array(index, int, NULL, 0444); index 57 sound/isa/azt2320.c MODULE_PARM_DESC(index, "Index value for azt2320 based soundcard."); index 176 sound/isa/azt2320.c index[dev], id[dev], THIS_MODULE, index 38 sound/isa/cmi8328.c static int index[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = -1}; index 50 sound/isa/cmi8328.c module_param_array(index, int, NULL, 0444); index 51 sound/isa/cmi8328.c MODULE_PARM_DESC(index, "Index value for CMI8328 soundcard."); index 175 sound/isa/cmi8328.c id1.index = 1; index 184 sound/isa/cmi8328.c id1.index = 1; index 297 sound/isa/cmi8328.c err = snd_card_new(pdev, index[ndev], id[ndev], THIS_MODULE, index 56 sound/isa/cmi8330.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 73 sound/isa/cmi8330.c module_param_array(index, int, NULL, 0444); index 74 sound/isa/cmi8330.c MODULE_PARM_DESC(index, "Index value for CMI8330/CMI8329 soundcard."); index 509 sound/isa/cmi8330.c err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 28 sound/isa/cs423x/cs4231.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 38 sound/isa/cs423x/cs4231.c module_param_array(index, int, NULL, 0444); index 39 sound/isa/cs423x/cs4231.c MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard."); index 83 sound/isa/cs423x/cs4231.c error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); index 60 sound/isa/cs423x/cs4236.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 76 sound/isa/cs423x/cs4236.c module_param_array(index, int, NULL, 0444); index 77 sound/isa/cs423x/cs4236.c MODULE_PARM_DESC(index, "Index value for " IDENT " soundcard."); index 359 sound/isa/cs423x/cs4236.c err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 381 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 387 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 446 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 492 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 499 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 579 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 586 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 648 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 692 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 926 sound/isa/cs423x/cs4236_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 36 sound/isa/es1688/es1688.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 49 sound/isa/es1688/es1688.c module_param_array(index, int, NULL, 0444); index 50 sound/isa/es1688/es1688.c MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard."); index 174 sound/isa/es1688/es1688.c error = snd_card_new(dev, index[n], id[n], THIS_MODULE, index 259 sound/isa/es1688/es1688.c index[dev], id[dev], THIS_MODULE, index 778 sound/isa/es1688/es1688_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 837 sound/isa/es1688/es1688_lib.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1111 sound/isa/es18xx.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1178 sound/isa/es18xx.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1959 sound/isa/es18xx.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 1976 sound/isa/es18xx.c module_param_array(index, int, NULL, 0444); index 1977 sound/isa/es18xx.c MODULE_PARM_DESC(index, "Index value for ES18xx soundcard."); index 2105 sound/isa/es18xx.c return snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 23 sound/isa/galaxy/galaxy.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 27 sound/isa/galaxy/galaxy.c module_param_array(index, int, NULL, 0444); index 28 sound/isa/galaxy/galaxy.c MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard."); index 499 sound/isa/galaxy/galaxy.c err = snd_card_new(dev, index[n], id[n], THIS_MODULE, index 18 sound/isa/gus/gus_mixer.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 61 sound/isa/gus/gus_mixer.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 905 sound/isa/gus/gus_pcm.c kctl->id.index = control_index; index 28 sound/isa/gus/gusclassic.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 40 sound/isa/gus/gusclassic.c module_param_array(index, int, NULL, 0444); index 41 sound/isa/gus/gusclassic.c MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard."); index 137 sound/isa/gus/gusclassic.c error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); index 32 sound/isa/gus/gusextreme.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 48 sound/isa/gus/gusextreme.c module_param_array(index, int, NULL, 0444); index 49 sound/isa/gus/gusextreme.c MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard."); index 230 sound/isa/gus/gusextreme.c error = snd_card_new(dev, index[n], id[n], THIS_MODULE, index 26 sound/isa/gus/gusmax.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 38 sound/isa/gus/gusmax.c module_param_array(index, int, NULL, 0444); index 39 sound/isa/gus/gusmax.c MODULE_PARM_DESC(index, "Index value for GUS MAX soundcard."); index 147 sound/isa/gus/gusmax.c strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; index 202 sound/isa/gus/gusmax.c err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 41 sound/isa/gus/interwave.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 70 sound/isa/gus/interwave.c module_param_array(index, int, NULL, 0444); index 71 sound/isa/gus/interwave.c MODULE_PARM_DESC(index, "Index value for InterWave soundcard."); index 526 sound/isa/gus/interwave.c strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; index 614 sound/isa/gus/interwave.c err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 715 sound/isa/gus/interwave.c id2.index = 1; index 743 sound/isa/msnd/msnd_pinnacle.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 746 sound/isa/msnd/msnd_pinnacle.c module_param_array(index, int, NULL, 0444); index 747 sound/isa/msnd/msnd_pinnacle.c MODULE_PARM_DESC(index, "Index value for msnd_pinnacle soundcard."); index 894 sound/isa/msnd/msnd_pinnacle.c err = snd_card_new(pdev, index[idx], id[idx], THIS_MODULE, index 1111 sound/isa/msnd/msnd_pinnacle.c index[idx], id[idx], THIS_MODULE, index 272 sound/isa/msnd/msnd_pinnacle_mixer.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 31 sound/isa/opl3sa2.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 47 sound/isa/opl3sa2.c module_param_array(index, int, NULL, 0444); index 48 sound/isa/opl3sa2.c MODULE_PARM_DESC(index, "Index value for OPL3-SA soundcard."); index 327 sound/isa/opl3sa2.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 334 sound/isa/opl3sa2.c .name = xname, .index = xindex, \ index 382 sound/isa/opl3sa2.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 389 sound/isa/opl3sa2.c .name = xname, .index = xindex, \ index 508 sound/isa/opl3sa2.c strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; index 621 sound/isa/opl3sa2.c err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 40 sound/isa/opti9xx/miro.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 55 sound/isa/opti9xx/miro.c module_param(index, int, 0444); index 56 sound/isa/opti9xx/miro.c MODULE_PARM_DESC(index, "Index value for miro soundcard."); index 233 sound/isa/opti9xx/miro.c static int aci_getvalue(struct snd_miro_aci *aci, unsigned char index) index 235 sound/isa/opti9xx/miro.c return snd_aci_cmd(aci, ACI_STATUS, index, -1); index 238 sound/isa/opti9xx/miro.c static int aci_setvalue(struct snd_miro_aci *aci, unsigned char index, index 241 sound/isa/opti9xx/miro.c return snd_aci_cmd(aci, index, value, -1); index 393 sound/isa/opti9xx/miro.c .index = ctl_index, \ index 614 sound/isa/opti9xx/miro.c .index = 1, index 624 sound/isa/opti9xx/miro.c .index = 0, index 634 sound/isa/opti9xx/miro.c .index = 0, index 1405 sound/isa/opti9xx/miro.c error = snd_card_new(devptr, index, id, THIS_MODULE, index 1576 sound/isa/opti9xx/miro.c err = snd_card_new(&pcard->card->dev, index, id, THIS_MODULE, index 53 sound/isa/opti9xx/opti92x-ad1848.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 69 sound/isa/opti9xx/opti92x-ad1848.c module_param(index, int, 0444); index 70 sound/isa/opti9xx/opti92x-ad1848.c MODULE_PARM_DESC(index, "Index value for opti9xx based soundcard."); index 614 sound/isa/opti9xx/opti92x-ad1848.c strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; index 622 sound/isa/opti9xx/opti92x-ad1848.c strcpy(id1.name, "Aux Playback Volume"); id1.index = 1; index 626 sound/isa/opti9xx/opti92x-ad1848.c id1.index = 0; index 937 sound/isa/opti9xx/opti92x-ad1848.c err = snd_card_new(pdev, index, id, THIS_MODULE, index 1072 sound/isa/sb/emu8000.c snd_emu8000_new(struct snd_card *card, int index, long port, int seq_ports, index 1092 sound/isa/sb/emu8000.c hw->index = index; index 1129 sound/isa/sb/emu8000.c if (snd_seq_device_new(card, index, SNDRV_SEQ_DEV_ID_EMU8000, index 30 sound/isa/sb/emu8000_local.h int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index); index 681 sound/isa/sb/emu8000_pcm.c int snd_emu8000_pcm_new(struct snd_card *card, struct snd_emu8000 *emu, int index) index 686 sound/isa/sb/emu8000_pcm.c if ((err = snd_pcm_new(card, "Emu8000 PCM", index, 1, 0, &pcm)) < 0) index 64 sound/isa/sb/emu8000_synth.c if (snd_emux_register(emu, dev->card, hw->index, "Emu8000") < 0) { index 37 sound/isa/sb/jazz16.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 47 sound/isa/sb/jazz16.c module_param_array(index, int, NULL, 0444); index 48 sound/isa/sb/jazz16.c MODULE_PARM_DESC(index, "Index value for Media Vision Jazz16 based soundcard."); index 232 sound/isa/sb/jazz16.c err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, index 54 sound/isa/sb/sb16.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 77 sound/isa/sb/sb16.c module_param_array(index, int, NULL, 0444); index 78 sound/isa/sb/sb16.c MODULE_PARM_DESC(index, "Index value for SoundBlaster 16 soundcard."); index 317 sound/isa/sb/sb16.c err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, index 688 sound/isa/sb/sb16_csp.c static int snd_sb_csp_firmware_load(struct snd_sb_csp *p, int index, int flags) index 700 sound/isa/sb/sb16_csp.c program = p->csp_programs[index]; index 702 sound/isa/sb/sb16_csp.c int err = request_firmware(&program, names[index], index 706 sound/isa/sb/sb16_csp.c p->csp_programs[index] = program; index 22 sound/isa/sb/sb8.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 29 sound/isa/sb/sb8.c module_param_array(index, int, NULL, 0444); index 30 sound/isa/sb/sb8.c MODULE_PARM_DESC(index, "Index value for Sound Blaster soundcard."); index 90 sound/isa/sb/sb8.c err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 439 sound/isa/sb/sb_mixer.c int snd_sbmixer_add_ctl(struct snd_sb *chip, const char *name, int index, int type, unsigned long value) index 486 sound/isa/sb/sb_mixer.c ctl->id.index = index; index 36 sound/isa/sc6000.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 48 sound/isa/sc6000.c module_param_array(index, int, NULL, 0444); index 49 sound/isa/sc6000.c MODULE_PARM_DESC(index, "Index value for sc-6000 based soundcard."); index 479 sound/isa/sc6000.c strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; index 549 sound/isa/sc6000.c err = snd_card_new(devptr, index[dev], id[dev], THIS_MODULE, index 36 sound/isa/sscape.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 46 sound/isa/sscape.c module_param_array(index, int, NULL, 0444); index 47 sound/isa/sscape.c MODULE_PARM_DESC(index, "Index number for SoundScape soundcard"); index 1159 sound/isa/sscape.c ret = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 1249 sound/isa/sscape.c index[idx], id[idx], THIS_MODULE, index 26 sound/isa/wavefront/wavefront.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 43 sound/isa/wavefront/wavefront.c module_param_array(index, int, NULL, 0444); index 44 sound/isa/wavefront/wavefront.c MODULE_PARM_DESC(index, "Index value for WaveFront soundcard."); index 331 sound/isa/wavefront/wavefront.c err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, index 29 sound/mips/hal2.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 32 sound/mips/hal2.c module_param(index, int, 0444); index 33 sound/mips/hal2.c MODULE_PARM_DESC(index, "Index value for SGI HAL2 soundcard."); index 764 sound/mips/hal2.c int index) index 766 sound/mips/hal2.c codec->pbus.pbusnr = index; index 767 sound/mips/hal2.c codec->pbus.pbus = &hpc3->pbdma[index]; index 872 sound/mips/hal2.c err = snd_card_new(&pdev->dev, index, id, THIS_MODULE, 0, &card); index 37 sound/mips/sgio2audio.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 40 sound/mips/sgio2audio.c module_param(index, int, 0444); index 41 sound/mips/sgio2audio.c MODULE_PARM_DESC(index, "Index value for SGI O2 soundcard."); index 222 sound/mips/sgio2audio.c .index = 0, index 234 sound/mips/sgio2audio.c .index = 1, index 267 sound/mips/sgio2audio.c .index = 0, index 279 sound/mips/sgio2audio.c .index = 1, index 900 sound/mips/sgio2audio.c err = snd_card_new(&pdev->dev, index, id, THIS_MODULE, 0, &card); index 135 sound/oss/dmasound/dmasound_atari.c static void AtaPlayNextFrame(int index); index 1169 sound/oss/dmasound/dmasound_atari.c static void AtaPlayNextFrame(int index) index 1177 sound/oss/dmasound/dmasound_atari.c end = start+((write_sq.count == index) ? write_sq.rear_size index 85 sound/oss/dmasound/dmasound_paula.c static void AmiPlayNextFrame(int index); index 462 sound/oss/dmasound/dmasound_paula.c static void AmiPlayNextFrame(int index) index 471 sound/oss/dmasound/dmasound_paula.c size = (write_sq.count == index ? write_sq.rear_size index 50 sound/oss/dmasound/dmasound_q40.c static void Q40PlayNextFrame(int index); index 401 sound/oss/dmasound/dmasound_q40.c static void Q40PlayNextFrame(int index) index 412 sound/oss/dmasound/dmasound_q40.c size = (write_sq.count == index ? write_sq.rear_size : write_sq.block_size); index 48 sound/parisc/harmony.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 50 sound/parisc/harmony.c module_param(index, int, 0444); index 51 sound/parisc/harmony.c MODULE_PARM_DESC(index, "Index value for Harmony driver."); index 951 sound/parisc/harmony.c err = snd_card_new(&padev->dev, index, id, THIS_MODULE, 0, &card); index 1160 sound/pci/ac97/ac97_codec.c template.index = ac97->num; index 1191 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; index 1197 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; index 1248 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; index 1253 sound/pci/ac97/ac97_codec.c tmp.index = ac97->num; index 48 sound/pci/ad1889.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 49 sound/pci/ad1889.c module_param_array(index, int, NULL, 0444); index 50 sound/pci/ad1889.c MODULE_PARM_DESC(index, "Index value for the AD1889 soundcard."); index 966 sound/pci/ad1889.c err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, index 47 sound/pci/ak4531_codec.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 54 sound/pci/ak4531_codec.c .name = xname, .index = xindex, \ index 114 sound/pci/ak4531_codec.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 121 sound/pci/ak4531_codec.c .name = xname, .index = xindex, \ index 199 sound/pci/ak4531_codec.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 34 sound/pci/ali5451/ali5451.c static int index = SNDRV_DEFAULT_IDX1; /* Index */ index 39 sound/pci/ali5451/ali5451.c module_param(index, int, 0444); index 40 sound/pci/ali5451/ali5451.c MODULE_PARM_DESC(index, "Index value for ALI M5451 PCI Audio."); index 1715 sound/pci/ali5451/ali5451.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ index 2208 sound/pci/ali5451/ali5451.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 91 sound/pci/als300.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 95 sound/pci/als300.c module_param_array(index, int, NULL, 0444); index 96 sound/pci/als300.c MODULE_PARM_DESC(index, "Index value for ALS300 sound card."); index 758 sound/pci/als300.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 77 sound/pci/als4000.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 84 sound/pci/als4000.c module_param_array(index, int, NULL, 0444); index 85 sound/pci/als4000.c MODULE_PARM_DESC(index, "Index value for ALS4000 soundcard."); index 877 sound/pci/als4000.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 54 sound/pci/asihpi/asihpi.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* index 0-MAX */ index 59 sound/pci/asihpi/asihpi.c module_param_array(index, int, NULL, 0444); index 60 sound/pci/asihpi/asihpi.c MODULE_PARM_DESC(index, "ALSA index value for AudioScience soundcard."); index 98 sound/pci/asihpi/asihpi.c int index; index 558 sound/pci/asihpi/asihpi.c hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, index 569 sound/pci/asihpi/asihpi.c hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, index 1033 sound/pci/asihpi/asihpi.c err = hpi_outstream_open(card->hpi->adapter->index, index 1216 sound/pci/asihpi/asihpi.c card->hpi->adapter->index, substream->number); index 1219 sound/pci/asihpi/asihpi.c hpi_instream_open(card->hpi->adapter->index, index 1306 sound/pci/asihpi/asihpi.c err = hpi_adapter_get_info(asihpi->hpi->adapter->index, index 1418 sound/pci/asihpi/asihpi.c dev_info(&asihpi->pci->dev, "added %s(%d)\n", ctl->name, ctl->index); index 1433 sound/pci/asihpi/asihpi.c snd_control->index = 0; index 2157 sound/pci/asihpi/asihpi.c snd_control.index = subidx; index 2407 sound/pci/asihpi/asihpi.c (clkcache->s[i].index == srcindex)) index 2435 sound/pci/asihpi/asihpi.c h_control, clkcache->s[item].index)); index 2537 sound/pci/asihpi/asihpi.c clkcache->s[i].index = 0; index 2553 sound/pci/asihpi/asihpi.c clkcache->s[i].index = j; index 2607 sound/pci/asihpi/asihpi.c hpi_mixer_open(asihpi->hpi->adapter->index, index 2738 sound/pci/asihpi/asihpi.c hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index, index 2745 sound/pci/asihpi/asihpi.c type, asihpi->hpi->adapter->index, index 2855 sound/pci/asihpi/asihpi.c adapter_index = hpi->adapter->index; index 2861 sound/pci/asihpi/asihpi.c err = snd_card_new(&pci_dev->dev, index[dev], id[dev], index 2992 sound/pci/asihpi/asihpi.c hpi_handle_error(hpi_adapter_set_property(hpi->adapter->index, index 1139 sound/pci/asihpi/hpi.h u16 index; /**< GPIO bit index. */ index 1213 sound/pci/asihpi/hpi.h u16 hpi_adapter_enumerate_property(u16 adapter_index, u16 index, index 1336 sound/pci/asihpi/hpi.h u16 index); index 1406 sound/pci/asihpi/hpi.h u16 hpi_channel_mode_query_mode(const u32 h_mode, const u32 index, index 1416 sound/pci/asihpi/hpi.h u16 hpi_tuner_query_band(const u32 h_tuner, const u32 index, u16 *pw_band); index 1422 sound/pci/asihpi/hpi.h u16 hpi_tuner_query_frequency(const u32 h_tuner, const u32 index, index 1433 sound/pci/asihpi/hpi.h u16 hpi_tuner_query_gain(const u32 h_tuner, const u32 index, u16 *pw_gain); index 1447 sound/pci/asihpi/hpi.h u16 hpi_tuner_query_deemphasis(const u32 h_tuner, const u32 index, index 1497 sound/pci/asihpi/hpi.h u16 hpi_aesebu_receiver_query_format(const u32 h_aes_rx, const u32 index, index 1506 sound/pci/asihpi/hpi.h u16 hpi_aesebu_receiver_get_user_data(u32 h_control, u16 index, u16 *pw_data); index 1508 sound/pci/asihpi/hpi.h u16 hpi_aesebu_receiver_get_channel_status(u32 h_control, u16 index, index 1518 sound/pci/asihpi/hpi.h u16 hpi_aesebu_transmitter_set_user_data(u32 h_control, u16 index, u16 data); index 1520 sound/pci/asihpi/hpi.h u16 hpi_aesebu_transmitter_set_channel_status(u32 h_control, u16 index, index 1523 sound/pci/asihpi/hpi.h u16 hpi_aesebu_transmitter_get_channel_status(u32 h_control, u16 index, index 1526 sound/pci/asihpi/hpi.h u16 hpi_aesebu_transmitter_query_format(const u32 h_aes_tx, const u32 index, index 1542 sound/pci/asihpi/hpi.h u16 hpi_multiplexer_query_source(u32 h_control, u16 index, index 1566 sound/pci/asihpi/hpi.h u16 hpi_sample_clock_query_source(const u32 h_clock, const u32 index, index 1573 sound/pci/asihpi/hpi.h u16 hpi_sample_clock_query_source_index(const u32 h_clock, const u32 index, index 1582 sound/pci/asihpi/hpi.h u16 hpi_sample_clock_query_local_rate(const u32 h_clock, const u32 index, index 1612 sound/pci/asihpi/hpi.h u16 hpi_parametric_eq_set_band(u32 h_control, u16 index, u16 type, index 1615 sound/pci/asihpi/hpi.h u16 hpi_parametric_eq_get_band(u32 h_control, u16 index, u16 *pn_type, index 1618 sound/pci/asihpi/hpi.h u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5] index 1633 sound/pci/asihpi/hpi.h u16 hpi_compander_set_attack_time_constant(u32 h_control, u32 index, index 1636 sound/pci/asihpi/hpi.h u16 hpi_compander_get_attack_time_constant(u32 h_control, u32 index, index 1639 sound/pci/asihpi/hpi.h u16 hpi_compander_set_decay_time_constant(u32 h_control, u32 index, index 1642 sound/pci/asihpi/hpi.h u16 hpi_compander_get_decay_time_constant(u32 h_control, u32 index, index 1645 sound/pci/asihpi/hpi.h u16 hpi_compander_set_threshold(u32 h_control, u32 index, index 1648 sound/pci/asihpi/hpi.h u16 hpi_compander_get_threshold(u32 h_control, u32 index, index 1651 sound/pci/asihpi/hpi.h u16 hpi_compander_set_ratio(u32 h_control, u32 index, u32 ratio100); index 1653 sound/pci/asihpi/hpi.h u16 hpi_compander_get_ratio(u32 h_control, u32 index, u32 *pw_ratio100); index 1695 sound/pci/asihpi/hpi.h u16 hpi_tone_detector_get_frequency(u32 hC, u32 index, u32 *frequency); index 433 sound/pci/asihpi/hpi6000.c pao = hpi_find_adapter(ao.index); index 447 sound/pci/asihpi/hpi6000.c phr->u.s.adapter_index = ao.index; index 551 sound/pci/asihpi/hpi6000.c pao->index = hr0.u.ax.info.adapter_index; index 576 sound/pci/asihpi/hpi6000.c pao->index); index 579 sound/pci/asihpi/hpi6000.c phw->p_cache->adap_idx = pao->index; index 486 sound/pci/asihpi/hpi6205.c phr->u.s.adapter_index = ao.index; index 649 sound/pci/asihpi/hpi6205.c pao->index = hr.u.ax.info.adapter_index; index 658 sound/pci/asihpi/hpi6205.c phw->p_cache->adap_idx = pao->index; index 656 sound/pci/asihpi/hpi_internal.h u16 index; index 659 sound/pci/asihpi/hpi_internal.h u16 index; index 802 sound/pci/asihpi/hpi_internal.h u16 index; index 64 sound/pci/asihpi/hpicmn.c if (pao->index >= HPI_MAX_ADAPTERS) { index 69 sound/pci/asihpi/hpicmn.c if (adapters.adapter[pao->index].type) { index 75 sound/pci/asihpi/hpicmn.c pao->type, pao->index, a); index 76 sound/pci/asihpi/hpicmn.c pao->index = a; index 85 sound/pci/asihpi/hpicmn.c adapters.adapter[pao->index] = *pao; index 86 sound/pci/asihpi/hpicmn.c hpios_dsplock_init(&adapters.adapter[pao->index]); index 102 sound/pci/asihpi/hpicmn.c if (adapters.adapter[pao->index].type) index 104 sound/pci/asihpi/hpicmn.c memset(&adapters.adapter[pao->index], 0, sizeof(adapters.adapter[0])); index 153 sound/pci/asihpi/hpicmn.c u16 index = 0; index 156 sound/pci/asihpi/hpicmn.c for (index = 0; index < HPI_MAX_ADAPTERS; index++) { index 157 sound/pci/asihpi/hpicmn.c if (adapters.adapter[index].type) { index 164 sound/pci/asihpi/hpicmn.c if (index < HPI_MAX_ADAPTERS) { index 165 sound/pci/asihpi/hpicmn.c phr->u.s.adapter_index = adapters.adapter[index].index; index 166 sound/pci/asihpi/hpicmn.c phr->u.s.adapter_type = adapters.adapter[index].type; index 465 sound/pci/asihpi/hpicmn.c unsigned int index = index 473 sound/pci/asihpi/hpicmn.c if (index > ARRAY_SIZE(pad_desc) - 1) { index 481 sound/pci/asihpi/hpicmn.c pad_desc[index].offset; index 482 sound/pci/asihpi/hpicmn.c field_size = pad_desc[index].field_size; index 22 sound/pci/asihpi/hpicmn.h u16 index; index 226 sound/pci/asihpi/hpifunc.c hm.u.ax.module_info.index = module_index; index 278 sound/pci/asihpi/hpifunc.c u16 hpi_adapter_enumerate_property(u16 adapter_index, u16 index, index 1294 sound/pci/asihpi/hpifunc.c u16 index) index 1302 sound/pci/asihpi/hpifunc.c hm.u.mx.store.index = index; index 1389 sound/pci/asihpi/hpifunc.c u16 hpi_control_query(const u32 h_control, const u16 attrib, const u32 index, index 1401 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; index 1469 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_receiver_query_format(const u32 h_aes_rx, const u32 index, index 1475 sound/pci/asihpi/hpifunc.c err = hpi_control_query(h_aes_rx, HPI_AESEBURX_FORMAT, index, 0, &qr); index 1504 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_receiver_get_user_data(u32 h_control, u16 index, u16 *pw_data) index 1513 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; index 1522 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_receiver_get_channel_status(u32 h_control, u16 index, index 1532 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; index 1559 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_transmitter_set_user_data(u32 h_control, u16 index, u16 data) index 1561 sound/pci/asihpi/hpifunc.c return hpi_control_param_set(h_control, HPI_AESEBUTX_USERDATA, index, index 1565 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_transmitter_set_channel_status(u32 h_control, u16 index, index 1569 sound/pci/asihpi/hpifunc.c index, data); index 1572 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_transmitter_get_channel_status(u32 h_control, u16 index, index 1578 sound/pci/asihpi/hpifunc.c u16 hpi_aesebu_transmitter_query_format(const u32 h_aes_tx, const u32 index, index 1584 sound/pci/asihpi/hpifunc.c err = hpi_control_query(h_aes_tx, HPI_AESEBUTX_FORMAT, index, 0, &qr); index 1637 sound/pci/asihpi/hpifunc.c u16 hpi_channel_mode_query_mode(const u32 h_mode, const u32 index, index 1643 sound/pci/asihpi/hpifunc.c err = hpi_control_query(h_mode, HPI_CHANNEL_MODE_MODE, index, 0, &qr); index 1885 sound/pci/asihpi/hpifunc.c u16 hpi_compander_set_attack_time_constant(u32 h_control, unsigned int index, index 1889 sound/pci/asihpi/hpifunc.c index); index 1892 sound/pci/asihpi/hpifunc.c u16 hpi_compander_get_attack_time_constant(u32 h_control, unsigned int index, index 1896 sound/pci/asihpi/hpifunc.c index, attack, NULL); index 1899 sound/pci/asihpi/hpifunc.c u16 hpi_compander_set_decay_time_constant(u32 h_control, unsigned int index, index 1903 sound/pci/asihpi/hpifunc.c index); index 1906 sound/pci/asihpi/hpifunc.c u16 hpi_compander_get_decay_time_constant(u32 h_control, unsigned int index, index 1909 sound/pci/asihpi/hpifunc.c return hpi_control_param_get(h_control, HPI_COMPANDER_DECAY, 0, index, index 1914 sound/pci/asihpi/hpifunc.c u16 hpi_compander_set_threshold(u32 h_control, unsigned int index, index 1925 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; index 1933 sound/pci/asihpi/hpifunc.c u16 hpi_compander_get_threshold(u32 h_control, unsigned int index, index 1944 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; index 1952 sound/pci/asihpi/hpifunc.c u16 hpi_compander_set_ratio(u32 h_control, u32 index, u32 ratio100) index 1955 sound/pci/asihpi/hpifunc.c index); index 1958 sound/pci/asihpi/hpifunc.c u16 hpi_compander_get_ratio(u32 h_control, u32 index, u32 *ratio100) index 1960 sound/pci/asihpi/hpifunc.c return hpi_control_param_get(h_control, HPI_COMPANDER_RATIO, 0, index, index 2137 sound/pci/asihpi/hpifunc.c u32 node, index; index 2140 sound/pci/asihpi/hpifunc.c &index); index 2144 sound/pci/asihpi/hpifunc.c *source_node_index = (u16)index; index 2148 sound/pci/asihpi/hpifunc.c u16 hpi_multiplexer_query_source(u32 h_control, u16 index, index 2158 sound/pci/asihpi/hpifunc.c hm.u.c.param1 = index; index 2191 sound/pci/asihpi/hpifunc.c u16 hpi_parametric_eq_get_band(u32 h_control, u16 index, u16 *pn_type, index 2202 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; index 2218 sound/pci/asihpi/hpifunc.c u16 hpi_parametric_eq_set_band(u32 h_control, u16 index, u16 type, index 2230 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = (index & 0xFFFFL) + ((u32)type << 16); index 2240 sound/pci/asihpi/hpifunc.c u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5] index 2251 sound/pci/asihpi/hpifunc.c hm.u.c.param2 = index; index 2264 sound/pci/asihpi/hpifunc.c u16 hpi_sample_clock_query_source(const u32 h_clock, const u32 index, index 2270 sound/pci/asihpi/hpifunc.c err = hpi_control_query(h_clock, HPI_SAMPLECLOCK_SOURCE, index, 0, index 2294 sound/pci/asihpi/hpifunc.c u16 hpi_sample_clock_query_source_index(const u32 h_clock, const u32 index, index 2300 sound/pci/asihpi/hpifunc.c err = hpi_control_query(h_clock, HPI_SAMPLECLOCK_SOURCE_INDEX, index, index 2324 sound/pci/asihpi/hpifunc.c u16 hpi_sample_clock_query_local_rate(const u32 h_clock, const u32 index, index 2328 sound/pci/asihpi/hpifunc.c index, 0, prate); index 2385 sound/pci/asihpi/hpifunc.c u16 hpi_tone_detector_get_frequency(u32 h_control, u32 index, u32 *frequency) index 2388 sound/pci/asihpi/hpifunc.c index, 0, frequency, NULL); index 2485 sound/pci/asihpi/hpifunc.c u16 hpi_tuner_query_band(const u32 h_tuner, const u32 index, u16 *pw_band) index 2490 sound/pci/asihpi/hpifunc.c err = hpi_control_query(h_tuner, HPI_TUNER_BAND, index, 0, &qr); index 2511 sound/pci/asihpi/hpifunc.c u16 hpi_tuner_query_frequency(const u32 h_tuner, const u32 index, index 2514 sound/pci/asihpi/hpifunc.c return hpi_control_query(h_tuner, HPI_TUNER_FREQ, index, band, pfreq); index 2529 sound/pci/asihpi/hpifunc.c u16 hpi_tuner_query_gain(const u32 h_tuner, const u32 index, u16 *pw_gain) index 2534 sound/pci/asihpi/hpifunc.c err = hpi_control_query(h_tuner, HPI_TUNER_BAND, index, 0, &qr); index 2587 sound/pci/asihpi/hpifunc.c u16 hpi_tuner_query_deemphasis(const u32 h_tuner, const u32 index, index 2590 sound/pci/asihpi/hpifunc.c return hpi_control_query(h_tuner, HPI_TUNER_DEEMPHASIS, index, band, index 318 sound/pci/asihpi/hpioctl.c a->adapter->index); index 415 sound/pci/asihpi/hpioctl.c hm.adapter_index = adapter.adapter->index; index 426 sound/pci/asihpi/hpioctl.c hm.adapter_index = adapter.adapter->index; index 435 sound/pci/asihpi/hpioctl.c adapter.adapter->index); index 440 sound/pci/asihpi/hpioctl.c hm.adapter_index = adapter.adapter->index; index 446 sound/pci/asihpi/hpioctl.c adapter.adapter->index); index 462 sound/pci/asihpi/hpioctl.c adapter.adapter->index); index 469 sound/pci/asihpi/hpioctl.c hm.adapter_index = adapter.adapter->index; index 532 sound/pci/asihpi/hpioctl.c hm.adapter_index = pa->adapter->index; index 540 sound/pci/asihpi/hpioctl.c hm.adapter_index = pa->adapter->index; index 557 sound/pci/asihpi/hpioctl.c pci_dev->devfn, pa->adapter->index); index 28 sound/pci/atiixp.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 35 sound/pci/atiixp.c module_param(index, int, 0444); index 36 sound/pci/atiixp.c MODULE_PARM_DESC(index, "Index value for ATI IXP controller."); index 1629 sound/pci/atiixp.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 28 sound/pci/atiixp_modem.c static int index = -2; /* Exclude the first card */ index 32 sound/pci/atiixp_modem.c module_param(index, int, 0444); index 33 sound/pci/atiixp_modem.c MODULE_PARM_DESC(index, "Index value for ATI IXP controller."); index 1257 sound/pci/atiixp_modem.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 28 sound/pci/au88x0/au88x0.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 33 sound/pci/au88x0/au88x0.c module_param_array(index, int, NULL, 0444); index 34 sound/pci/au88x0/au88x0.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 251 sound/pci/au88x0/au88x0.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 325 sound/pci/au88x0/au88x0.c arg->index = 1; index 198 sound/pci/au88x0/au88x0_eq.c vortex_EqHw_SetLeftGainsSingleTarget(vortex_t * vortex, u16 index, u16 b) index 200 sound/pci/au88x0/au88x0_eq.c hwwrite(vortex->mmio, 0x2b02c + (index * 0x30), b); index 204 sound/pci/au88x0/au88x0_eq.c vortex_EqHw_SetRightGainsSingleTarget(vortex_t * vortex, u16 index, u16 b) index 206 sound/pci/au88x0/au88x0_eq.c hwwrite(vortex->mmio, 0x2b20c + (index * 0x30), b); index 493 sound/pci/au88x0/au88x0_eq.c static int vortex_Eqlzr_GetLeftGain(vortex_t * vortex, u16 index, u16 * gain) index 498 sound/pci/au88x0/au88x0_eq.c *gain = eq->this130[index]; index 504 sound/pci/au88x0/au88x0_eq.c static void vortex_Eqlzr_SetLeftGain(vortex_t * vortex, u16 index, u16 gain) index 511 sound/pci/au88x0/au88x0_eq.c eq->this130[index] = gain; index 515 sound/pci/au88x0/au88x0_eq.c vortex_EqHw_SetLeftGainsSingleTarget(vortex, index, gain); index 518 sound/pci/au88x0/au88x0_eq.c static int vortex_Eqlzr_GetRightGain(vortex_t * vortex, u16 index, u16 * gain) index 523 sound/pci/au88x0/au88x0_eq.c *gain = eq->this130[index + eq->this10]; index 529 sound/pci/au88x0/au88x0_eq.c static void vortex_Eqlzr_SetRightGain(vortex_t * vortex, u16 index, u16 gain) index 536 sound/pci/au88x0/au88x0_eq.c eq->this130[index + eq->this10] = gain; index 540 sound/pci/au88x0/au88x0_eq.c vortex_EqHw_SetRightGainsSingleTarget(vortex, index, gain); index 751 sound/pci/au88x0/au88x0_eq.c .index = 0, index 809 sound/pci/au88x0/au88x0_eq.c .index = 0, index 139 sound/pci/aw2/aw2-alsa.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 143 sound/pci/aw2/aw2-alsa.c module_param_array(index, int, NULL, 0444); index 144 sound/pci/aw2/aw2-alsa.c MODULE_PARM_DESC(index, "Index value for Audiowerk2 soundcard."); index 195 sound/pci/aw2/aw2-alsa.c .index = 0, index 335 sound/pci/aw2/aw2-alsa.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 227 sound/pci/azt3328.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 228 sound/pci/azt3328.c module_param_array(index, int, NULL, 0444); index 229 sound/pci/azt3328.c MODULE_PARM_DESC(index, "Index value for AZF3328 soundcard."); index 2518 sound/pci/azt3328.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 29 sound/pci/bt87x.c static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /* Exclude the first card */ index 35 sound/pci/bt87x.c module_param_array(index, int, NULL, 0444); index 36 sound/pci/bt87x.c MODULE_PARM_DESC(index, "Index value for Bt87x soundcard"); index 884 sound/pci/bt87x.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 143 sound/pci/ca0106/ca0106_main.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 148 sound/pci/ca0106/ca0106_main.c module_param_array(index, int, NULL, 0444); index 149 sound/pci/ca0106/ca0106_main.c MODULE_PARM_DESC(index, "Index value for the CA0106 soundcard."); index 1836 sound/pci/ca0106/ca0106_main.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 42 sound/pci/cmipci.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 52 sound/pci/cmipci.c module_param_array(index, int, NULL, 0444); index 53 sound/pci/cmipci.c MODULE_PARM_DESC(index, "Index value for C-Media PCI soundcard."); index 3263 sound/pci/cmipci.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 30 sound/pci/cs4281.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 35 sound/pci/cs4281.c module_param_array(index, int, NULL, 0444); index 36 sound/pci/cs4281.c MODULE_PARM_DESC(index, "Index value for CS4281 soundcard."); index 1900 sound/pci/cs4281.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 32 sound/pci/cs46xx/cs46xx.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 39 sound/pci/cs46xx/cs46xx.c module_param_array(index, int, NULL, 0444); index 40 sound/pci/cs46xx/cs46xx.c MODULE_PARM_DESC(index, "Index value for the CS46xx soundcard."); index 76 sound/pci/cs46xx/cs46xx.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 94 sound/pci/cs46xx/cs46xx_dsp_spos.h int index; index 117 sound/pci/cs46xx/cs46xx_dsp_spos.h int index; index 127 sound/pci/cs46xx/dsp_spos.c int index = ins->symbol_table.nsymbols,i; index 131 sound/pci/cs46xx/dsp_spos.c index = i; index 136 sound/pci/cs46xx/dsp_spos.c return index; index 189 sound/pci/cs46xx/dsp_spos.c int index; index 204 sound/pci/cs46xx/dsp_spos.c index = find_free_symbol_index (ins); index 206 sound/pci/cs46xx/dsp_spos.c strcpy (ins->symbol_table.symbols[index].symbol_name, symbol_name); index 207 sound/pci/cs46xx/dsp_spos.c ins->symbol_table.symbols[index].address = address; index 208 sound/pci/cs46xx/dsp_spos.c ins->symbol_table.symbols[index].symbol_type = type; index 209 sound/pci/cs46xx/dsp_spos.c ins->symbol_table.symbols[index].module = NULL; index 210 sound/pci/cs46xx/dsp_spos.c ins->symbol_table.symbols[index].deleted = 0; index 211 sound/pci/cs46xx/dsp_spos.c symbol = (ins->symbol_table.symbols + index); index 213 sound/pci/cs46xx/dsp_spos.c if (index > ins->symbol_table.highest_frag_index) index 214 sound/pci/cs46xx/dsp_spos.c ins->symbol_table.highest_frag_index = index; index 216 sound/pci/cs46xx/dsp_spos.c if (index == ins->symbol_table.nsymbols) index 898 sound/pci/cs46xx/dsp_spos.c int index = ins->nscb, i; index 902 sound/pci/cs46xx/dsp_spos.c index = i; index 907 sound/pci/cs46xx/dsp_spos.c return index; index 914 sound/pci/cs46xx/dsp_spos.c int index; index 922 sound/pci/cs46xx/dsp_spos.c index = find_free_scb_index (ins); index 924 sound/pci/cs46xx/dsp_spos.c memset(&ins->scbs[index], 0, sizeof(ins->scbs[index])); index 925 sound/pci/cs46xx/dsp_spos.c strcpy(ins->scbs[index].scb_name, name); index 926 sound/pci/cs46xx/dsp_spos.c ins->scbs[index].address = dest; index 927 sound/pci/cs46xx/dsp_spos.c ins->scbs[index].index = index; index 928 sound/pci/cs46xx/dsp_spos.c ins->scbs[index].ref_count = 1; index 930 sound/pci/cs46xx/dsp_spos.c desc = (ins->scbs + index); index 931 sound/pci/cs46xx/dsp_spos.c ins->scbs[index].scb_symbol = add_symbol (chip, name, dest, SYMBOL_PARAMETER); index 933 sound/pci/cs46xx/dsp_spos.c if (index > ins->scb_highest_frag_index) index 934 sound/pci/cs46xx/dsp_spos.c ins->scb_highest_frag_index = index; index 936 sound/pci/cs46xx/dsp_spos.c if (index == ins->nscb) index 962 sound/pci/cs46xx/dsp_spos.c ins->tasks[ins->ntask].index = ins->ntask; index 93 sound/pci/cs46xx/dsp_spos_scb_lib.c snd_iprintf(buffer,"index [%d] ref_count [%d]\n",scb->index,scb->ref_count); index 166 sound/pci/cs46xx/dsp_spos_scb_lib.c if (snd_BUG_ON(scb->index < 0 || index 167 sound/pci/cs46xx/dsp_spos_scb_lib.c scb->index >= ins->nscb || index 168 sound/pci/cs46xx/dsp_spos_scb_lib.c (ins->scbs + scb->index) != scb)) index 188 sound/pci/cs46xx/dsp_spos_scb_lib.c ins->scbs[scb->index].deleted = 1; index 190 sound/pci/cs46xx/dsp_spos_scb_lib.c kfree(ins->scbs[scb->index].data); index 191 sound/pci/cs46xx/dsp_spos_scb_lib.c ins->scbs[scb->index].data = NULL; index 194 sound/pci/cs46xx/dsp_spos_scb_lib.c if (scb->index < ins->scb_highest_frag_index) index 195 sound/pci/cs46xx/dsp_spos_scb_lib.c ins->scb_highest_frag_index = scb->index; index 197 sound/pci/cs46xx/dsp_spos_scb_lib.c if (scb->index == ins->nscb - 1) { index 207 sound/pci/cs46xx/dsp_spos_scb_lib.c for(i = scb->index + 1;i < ins->nscb; ++i) { index 208 sound/pci/cs46xx/dsp_spos_scb_lib.c ins->scbs[i - 1].index = i - 1; index 42 sound/pci/cs5530.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 46 sound/pci/cs5530.c module_param_array(index, int, NULL, 0444); index 47 sound/pci/cs5530.c MODULE_PARM_DESC(index, "Index value for CS5530 Audio driver."); index 256 sound/pci/cs5530.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 44 sound/pci/cs5535audio/cs5535audio.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 48 sound/pci/cs5535audio/cs5535audio.c module_param_array(index, int, NULL, 0444); index 49 sound/pci/cs5535audio/cs5535audio.c MODULE_PARM_DESC(index, "Index value for " DRIVER_NAME); index 339 sound/pci/cs5535audio/cs5535audio.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 51 sound/pci/ctxfi/ctamixer.c .index = amixer_index, index 103 sound/pci/ctxfi/ctamixer.c sum->rsc.ops->index(&sum->rsc)); index 112 sound/pci/ctxfi/ctamixer.c unsigned int index; index 138 sound/pci/ctxfi/ctamixer.c sum->rsc.ops->index(&sum->rsc)); index 141 sound/pci/ctxfi/ctamixer.c index = amixer->rsc.ops->output_slot(&amixer->rsc); index 142 sound/pci/ctxfi/ctamixer.c hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); index 158 sound/pci/ctxfi/ctamixer.c unsigned int index; index 161 sound/pci/ctxfi/ctamixer.c index = amixer->rsc.ops->output_slot(&amixer->rsc); index 162 sound/pci/ctxfi/ctamixer.c hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); index 359 sound/pci/ctxfi/ctamixer.c .index = sum_index, index 166 sound/pci/ctxfi/ctatc.c static unsigned long atc_get_ptp_phys(struct ct_atc *atc, int index) index 168 sound/pci/ctxfi/ctatc.c return atc->vm->get_ptp_phys(atc->vm, index); index 88 sound/pci/ctxfi/ctatc.h unsigned long (*get_ptp_phys)(struct ct_atc *atc, int index); index 85 sound/pci/ctxfi/ctdaio.c .index = daio_index, index 92 sound/pci/ctxfi/ctdaio.c .index = NULL, index 99 sound/pci/ctxfi/ctdaio.c .index = NULL, index 172 sound/pci/ctxfi/ctdaio.c entry->user = entry->addr = daio->rscl.ops->index(&daio->rscl); index 201 sound/pci/ctxfi/ctdaio.c entry->user = entry->addr = daio->rscr.ops->index(&daio->rscr); index 276 sound/pci/ctxfi/ctdaio.c dai->hw->dai_srt_set_srcm(dai->ctrl_blk, src->ops->index(src)); index 283 sound/pci/ctxfi/ctdaio.c dai->hw->dai_srt_set_srco(dai->ctrl_blk, src->ops->index(src)); index 254 sound/pci/ctxfi/ctmixer.c static enum CT_AMIXER_CTL get_recording_amixer(enum CT_AMIXER_CTL index) index 256 sound/pci/ctxfi/ctmixer.c switch (index) { index 127 sound/pci/ctxfi/ctresource.c .index = rsc_index, index 44 sound/pci/ctxfi/ctresource.h int (*index)(const struct rsc *rsc); /* Return the index of resource */ index 186 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), index 196 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), index 209 sound/pci/ctxfi/ctsrc.c return hw->src_get_ca(hw, src->rsc.ops->index(&src->rsc), index 251 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), index 257 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), index 287 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), index 325 sound/pci/ctxfi/ctsrc.c hw->src_commit_write(hw, src->rsc.ops->index(&src->rsc), index 475 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); index 477 sound/pci/ctxfi/ctsrc.c mgr_put_resource(&mgr->mgr, 1, src->rsc.ops->index(&src->rsc)); index 494 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); index 510 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); index 526 sound/pci/ctxfi/ctsrc.c src->rsc.ops->index(&src->rsc)); index 613 sound/pci/ctxfi/ctsrc.c .index = srcimp_index, index 630 sound/pci/ctxfi/ctsrc.c entry->user = src->rsc.ops->index(&src->rsc); index 631 sound/pci/ctxfi/ctsrc.c entry->addr = srcimp->rsc.ops->index(&srcimp->rsc); index 164 sound/pci/ctxfi/ctvmem.c ct_get_ptp_phys(struct ct_vm *vm, int index) index 166 sound/pci/ctxfi/ctvmem.c return (index >= CT_PTP_NUM) ? ~0UL : vm->ptp[index].addr; index 54 sound/pci/ctxfi/ctvmem.h dma_addr_t (*get_ptp_phys)(struct ct_vm *vm, int index); index 30 sound/pci/ctxfi/xfi.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 35 sound/pci/ctxfi/xfi.c module_param_array(index, int, NULL, 0444); index 36 sound/pci/ctxfi/xfi.c MODULE_PARM_DESC(index, "Index value for Creative X-Fi driver"); index 71 sound/pci/ctxfi/xfi.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 15 sound/pci/echoaudio/echoaudio.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 19 sound/pci/echoaudio/echoaudio.c module_param_array(index, int, NULL, 0444); index 20 sound/pci/echoaudio/echoaudio.c MODULE_PARM_DESC(index, "Index value for " ECHOCARD_NAME " soundcard."); index 275 sound/pci/echoaudio/echoaudio.c pipe->index = -1; /* Not configured yet */ index 529 sound/pci/echoaudio/echoaudio.c if (pipe->index >= 0) { index 530 sound/pci/echoaudio/echoaudio.c dev_dbg(chip->card->dev, "hwp_ie free(%d)\n", pipe->index); index 533 sound/pci/echoaudio/echoaudio.c chip->substream[pipe->index] = NULL; index 557 sound/pci/echoaudio/echoaudio.c pipe->index = -1; index 666 sound/pci/echoaudio/echoaudio.c if (pipe->index >= 0) { index 667 sound/pci/echoaudio/echoaudio.c dev_dbg(chip->card->dev, "pcm_hw_free(%d)\n", pipe->index); index 669 sound/pci/echoaudio/echoaudio.c chip->substream[pipe->index] = NULL; index 670 sound/pci/echoaudio/echoaudio.c pipe->index = -1; index 685 sound/pci/echoaudio/echoaudio.c int pipe_index = ((struct audiopipe *)runtime->private_data)->index; index 1274 sound/pci/echoaudio/echoaudio.c unsigned int out = ucontrol->id.index / num_busses_in(chip); index 1275 sound/pci/echoaudio/echoaudio.c unsigned int in = ucontrol->id.index % num_busses_in(chip); index 1293 sound/pci/echoaudio/echoaudio.c out = ucontrol->id.index / num_busses_in(chip); index 1294 sound/pci/echoaudio/echoaudio.c in = ucontrol->id.index % num_busses_in(chip); index 1349 sound/pci/echoaudio/echoaudio.c chip->vmixer_gain[ucontrol->id.index / num_pipes_out(chip)] index 1350 sound/pci/echoaudio/echoaudio.c [ucontrol->id.index % num_pipes_out(chip)]; index 1363 sound/pci/echoaudio/echoaudio.c out = ucontrol->id.index / num_pipes_out(chip); index 1364 sound/pci/echoaudio/echoaudio.c vch = ucontrol->id.index % num_pipes_out(chip); index 2009 sound/pci/echoaudio/echoaudio.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 308 sound/pci/echoaudio/echoaudio.h short index; /* Index of the first channel or <0 index 458 sound/pci/echoaudio/echoaudio.h static inline u32 get_dsp_register(struct echoaudio *chip, u32 index) index 460 sound/pci/echoaudio/echoaudio.h return readl(&chip->dsp_registers[index]); index 463 sound/pci/echoaudio/echoaudio.h static inline void set_dsp_register(struct echoaudio *chip, u32 index, index 466 sound/pci/echoaudio/echoaudio.h writel(value, &chip->dsp_registers[index]); index 230 sound/pci/echoaudio/echoaudio_dsp.c int index, words, i; index 273 sound/pci/echoaudio/echoaudio_dsp.c index = code[0]; index 276 sound/pci/echoaudio/echoaudio_dsp.c index += 3; index 279 sound/pci/echoaudio/echoaudio_dsp.c words = code[index++]; index 282 sound/pci/echoaudio/echoaudio_dsp.c address = ((u32)code[index] << 16) + code[index + 1]; index 283 sound/pci/echoaudio/echoaudio_dsp.c index += 2; index 301 sound/pci/echoaudio/echoaudio_dsp.c data = ((u32)code[index] << 16) + code[index + 1]; index 307 sound/pci/echoaudio/echoaudio_dsp.c index += 2; index 338 sound/pci/echoaudio/echoaudio_dsp.c int index, words, i; index 385 sound/pci/echoaudio/echoaudio_dsp.c index = code[0]; index 390 sound/pci/echoaudio/echoaudio_dsp.c index++; index 393 sound/pci/echoaudio/echoaudio_dsp.c block_type = code[index]; index 397 sound/pci/echoaudio/echoaudio_dsp.c index++; index 400 sound/pci/echoaudio/echoaudio_dsp.c mem_type = code[index++]; index 403 sound/pci/echoaudio/echoaudio_dsp.c words = code[index++]; index 408 sound/pci/echoaudio/echoaudio_dsp.c address = ((u32)code[index] << 16) + code[index + 1]; index 409 sound/pci/echoaudio/echoaudio_dsp.c index += 2; index 427 sound/pci/echoaudio/echoaudio_dsp.c for (i = 0; i < words; i++, index+=2) { index 428 sound/pci/echoaudio/echoaudio_dsp.c data = ((u32)code[index] << 16) + code[index + 1]; index 528 sound/pci/echoaudio/echoaudio_dsp.c static int set_nominal_level(struct echoaudio *chip, u16 index, char consumer) index 530 sound/pci/echoaudio/echoaudio_dsp.c if (snd_BUG_ON(index >= num_busses_out(chip) + num_busses_in(chip))) index 537 sound/pci/echoaudio/echoaudio_dsp.c chip->nominal_level[index] = consumer; index 540 sound/pci/echoaudio/echoaudio_dsp.c chip->comm_page->nominal_level_mask |= cpu_to_le32(1 << index); index 542 sound/pci/echoaudio/echoaudio_dsp.c chip->comm_page->nominal_level_mask &= ~cpu_to_le32(1 << index); index 1080 sound/pci/echoaudio/echoaudio_dsp.c pipe->index = pipe_index; index 1099 sound/pci/echoaudio/echoaudio_dsp.c if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index))) index 1105 sound/pci/echoaudio/echoaudio_dsp.c channel_mask |= 1 << (pipe->index + i); index 1122 sound/pci/echoaudio/echoaudio_dsp.c chip->comm_page->sglist_addr[pipe->index].addr = index 137 sound/pci/echoaudio/indigo_dsp.c int index; index 147 sound/pci/echoaudio/indigo_dsp.c index = output * num_pipes_out(chip) + pipe; index 148 sound/pci/echoaudio/indigo_dsp.c chip->comm_page->vmixer[index] = gain; index 80 sound/pci/echoaudio/indigo_express_dsp.c int index; index 90 sound/pci/echoaudio/indigo_express_dsp.c index = output * num_pipes_out(chip) + pipe; index 91 sound/pci/echoaudio/indigo_express_dsp.c chip->comm_page->vmixer[index] = gain; index 137 sound/pci/echoaudio/indigodj_dsp.c int index; index 147 sound/pci/echoaudio/indigodj_dsp.c index = output * num_pipes_out(chip) + pipe; index 148 sound/pci/echoaudio/indigodj_dsp.c chip->comm_page->vmixer[index] = gain; index 107 sound/pci/echoaudio/indigoio_dsp.c int index; index 117 sound/pci/echoaudio/indigoio_dsp.c index = output * num_pipes_out(chip) + pipe; index 118 sound/pci/echoaudio/indigoio_dsp.c chip->comm_page->vmixer[index] = gain; index 171 sound/pci/echoaudio/mia_dsp.c int index; index 181 sound/pci/echoaudio/mia_dsp.c index = output * num_pipes_out(chip) + pipe; index 182 sound/pci/echoaudio/mia_dsp.c chip->comm_page->vmixer[index] = gain; index 29 sound/pci/emu10k1/emu10k1.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 41 sound/pci/emu10k1/emu10k1.c module_param_array(index, int, NULL, 0444); index 42 sound/pci/emu10k1/emu10k1.c MODULE_PARM_DESC(index, "Index value for the EMU10K1 soundcard."); index 104 sound/pci/emu10k1/emu10k1.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 164 sound/pci/emu10k1/emu10k1.c arg->index = 1; index 55 sound/pci/emu10k1/emu10k1_synth.c if (snd_emux_register(emux, dev->card, arg->index, "Emu10k1") < 0) { index 37 sound/pci/emu10k1/emu10k1x.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 41 sound/pci/emu10k1/emu10k1x.c module_param_array(index, int, NULL, 0444); index 42 sound/pci/emu10k1/emu10k1x.c MODULE_PARM_DESC(index, "Index value for the EMU10K1X soundcard."); index 1546 sound/pci/emu10k1/emu10k1x.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 640 sound/pci/emu10k1/emufx.c kcontrol->id.index == id->index) index 819 sound/pci/emu10k1/emufx.c knew.index = gctl->id.index; index 920 sound/pci/emu10k1/emufx.c gctl->id.index = id->index; index 2163 sound/pci/emu10k1/emufx.c controls[i-1].id.index = 1; index 2172 sound/pci/emu10k1/emufx.c controls[i-1].id.index = 1; index 2174 sound/pci/emu10k1/emufx.c controls[i-1].id.index = 1; index 2299 sound/pci/emu10k1/emufx.c controls[i-1].id.index = 1; /* AC'97 can have also Headphone control */ index 2301 sound/pci/emu10k1/emufx.c controls[i-1].id.index = 1; index 2303 sound/pci/emu10k1/emufx.c controls[i-1].id.index = 1; index 72 sound/pci/ens1370.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 87 sound/pci/ens1370.c module_param_array(index, int, NULL, 0444); index 88 sound/pci/ens1370.c MODULE_PARM_DESC(index, "Index value for Ensoniq AudioPCI soundcard."); index 1651 sound/pci/ens1370.c kctl->id.index = is_spdif; index 2385 sound/pci/ens1370.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 64 sound/pci/es1938.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 68 sound/pci/es1938.c module_param_array(index, int, NULL, 0444); index 69 sound/pci/es1938.c MODULE_PARM_DESC(index, "Index value for ESS Solo-1 soundcard."); index 1162 sound/pci/es1938.c .name = xname, .index = xindex, \ index 1168 sound/pci/es1938.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1223 sound/pci/es1938.c .name = xname, .index = xindex, \ index 1229 sound/pci/es1938.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1781 sound/pci/es1938.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 119 sound/pci/es1968.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MAX */ index 133 sound/pci/es1968.c module_param_array(index, int, NULL, 0444); index 134 sound/pci/es1968.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 669 sound/pci/es1968.c static void apu_index_set(struct es1968 *chip, u16 index) index 672 sound/pci/es1968.c __maestro_write(chip, IDR1_CRAM_POINTER, index); index 674 sound/pci/es1968.c if (__maestro_read(chip, IDR1_CRAM_POINTER) == index) index 2808 sound/pci/es1968.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 32 sound/pci/fm801.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 46 sound/pci/fm801.c module_param_array(index, int, NULL, 0444); index 47 sound/pci/fm801.c MODULE_PARM_DESC(index, "Index value for the FM801 soundcard."); index 1318 sound/pci/fm801.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 1594 sound/pci/hda/hda_codec.c id.index = idx; index 1687 sound/pci/hda/hda_codec.c unsigned int index, hda_nid_t nid) index 1696 sound/pci/hda/hda_codec.c item->index = index; index 1701 sound/pci/hda/hda_codec.c kctl->id.name, kctl->id.index, index); index 1872 sound/pci/hda/hda_codec.c kctl->id.name, kctl->id.index); index 2460 sound/pci/hda/hda_codec.c kctl->id.index = spdif_index; index 2479 sound/pci/hda/hda_codec.c kctl->id.index = idx; index 3349 sound/pci/hda/hda_codec.c kctl->id.index = idx; index 3359 sound/pci/hda/hda_codec.c else if (!idx && !knew->index) { index 3471 sound/pci/hda/hda_codec.c unsigned int index; index 3478 sound/pci/hda/hda_codec.c index = uinfo->value.enumerated.item; index 3479 sound/pci/hda/hda_codec.c if (index >= imux->num_items) index 3480 sound/pci/hda/hda_codec.c index = imux->num_items - 1; index 3481 sound/pci/hda/hda_codec.c strcpy(uinfo->value.enumerated.name, imux->items[index].label); index 3510 sound/pci/hda/hda_codec.c imux->items[idx].index); index 3962 sound/pci/hda/hda_codec.c int index, int *type_idx) index 3982 sound/pci/hda/hda_codec.c imux->items[imux->num_items].index = index; index 248 sound/pci/hda/hda_controller.c sbits |= 1 << azx_dev->core.index; index 1016 sound/pci/hda/hda_controller.c if (s->index == chip->playback_index_offset) index 1332 sound/pci/hda/hda_controller.c static int stream_direction(struct azx *chip, unsigned char index) index 1334 sound/pci/hda/hda_controller.c if (index >= chip->capture_index_offset && index 1335 sound/pci/hda/hda_controller.c index < chip->capture_index_offset + chip->capture_streams) index 28 sound/pci/hda/hda_controller_trace.h __entry->idx = (dev)->core.index; index 50 sound/pci/hda/hda_controller_trace.h __entry->idx = (dev)->core.index; index 981 sound/pci/hda/hda_generic.c knew->index = cidx; index 1156 sound/pci/hda/hda_generic.c int *index, int ctl_type) index 1161 sound/pci/hda/hda_generic.c *index = 0; index 1202 sound/pci/hda/hda_generic.c *index = ch; index 2095 sound/pci/hda/hda_generic.c int index; index 2102 sound/pci/hda/hda_generic.c name = get_line_out_pfx(codec, i, &index, NID_PATH_VOL_CTL); index 2112 sound/pci/hda/hda_generic.c err = add_stereo_vol(codec, name, index, path); index 2117 sound/pci/hda/hda_generic.c name = get_line_out_pfx(codec, i, &index, NID_PATH_MUTE_CTL); index 2126 sound/pci/hda/hda_generic.c err = add_stereo_sw(codec, name, index, path); index 2691 sound/pci/hda/hda_generic.c if (!strcmp(kctl->name, name) && kctl->index == idx) index 3454 sound/pci/hda/hda_generic.c adc_idx = kcontrol->id.index; index 3664 sound/pci/hda/hda_generic.c knew->index = idx; index 3672 sound/pci/hda/hda_generic.c knew->index = idx; index 3711 sound/pci/hda/hda_generic.c idx = imux->items[i].index; index 3862 sound/pci/hda/hda_generic.c idx = imux->items[i].index; index 109 sound/pci/hda/hda_intel.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 129 sound/pci/hda/hda_intel.c module_param_array(index, int, NULL, 0444); index 130 sound/pci/hda/hda_intel.c MODULE_PARM_DESC(index, "Index value for Intel HD audio interface."); index 900 sound/pci/hda/hda_intel.c azx_dev->core.index)); index 2080 sound/pci/hda/hda_intel.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 33 sound/pci/hda/hda_local.h { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xcidx, \ index 58 sound/pci/hda/hda_local.h { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xcidx, \ index 76 sound/pci/hda/hda_local.h { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xcidx, \ index 186 sound/pci/hda/hda_local.h unsigned int index; index 201 sound/pci/hda/hda_local.h int index, int *type_index_ret); index 538 sound/pci/hda/hda_local.h unsigned int index; index 546 sound/pci/hda/hda_local.h unsigned int index, hda_nid_t nid); index 60 sound/pci/hda/hda_proc.c kctl->id.name, kctl->id.index + item->index, index 390 sound/pci/hda/patch_conexant.c val = olpc_xo_dc_bias.items[spec->dc_input_bias].index; index 503 sound/pci/hda/patch_hdmi.c static int eld_proc_new(struct hdmi_spec_per_pin *per_pin, int index) index 510 sound/pci/hda/patch_hdmi.c snprintf(name, sizeof(name), "eld#%d.%d", codec->addr, index); index 532 sound/pci/hda/patch_hdmi.c int index) index 890 sound/pci/hda/patch_via.c int index = 0; index 892 sound/pci/hda/patch_via.c index = snd_hda_codec_read(codec, 0x26, 0, index 894 sound/pci/hda/patch_via.c if (index != -1) index 895 sound/pci/hda/patch_via.c *ucontrol->value.integer.value = index; index 905 sound/pci/hda/patch_via.c int index = *ucontrol->value.integer.value; index 908 sound/pci/hda/patch_via.c AC_VERB_SET_CONNECT_SEL, index); index 909 sound/pci/hda/patch_via.c spec->dmic_enabled = index; index 682 sound/pci/ice1712/aureon.c static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, unsigned short vol, unsigned short master) index 694 sound/pci/ice1712/aureon.c wm_put(ice, index, nvol); index 695 sound/pci/ice1712/aureon.c wm_put_nocache(ice, index, 0x180 | nvol); index 70 sound/pci/ice1712/ice1712.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 78 sound/pci/ice1712/ice1712.c module_param_array(index, int, NULL, 0444); index 79 sound/pci/ice1712/ice1712.c MODULE_PARM_DESC(index, "Index value for ICE1712 soundcard."); index 1276 sound/pci/ice1712/ice1712.c static void snd_ice1712_update_volume(struct snd_ice1712 *ice, int index) index 1278 sound/pci/ice1712/ice1712.c unsigned int vol = ice->pro_volumes[index]; index 1283 sound/pci/ice1712/ice1712.c outb(index, ICEMT(ice, MONITOR_INDEX)); index 2628 sound/pci/ice1712/ice1712.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 67 sound/pci/ice1712/ice1724.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 72 sound/pci/ice1712/ice1724.c module_param_array(index, int, NULL, 0444); index 73 sound/pci/ice1712/ice1724.c MODULE_PARM_DESC(index, "Index value for ICE1724 soundcard."); index 2617 sound/pci/ice1712/ice1724.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 265 sound/pci/ice1712/phase.c static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, index 276 sound/pci/ice1712/phase.c wm_put(ice, index, nvol); index 277 sound/pci/ice1712/phase.c wm_put_nocache(ice, index, 0x180 | nvol); index 312 sound/pci/ice1712/prodigy_hifi.c static void wm_set_vol(struct snd_ice1712 *ice, unsigned int index, index 325 sound/pci/ice1712/prodigy_hifi.c wm_put(ice, index, nvol); index 326 sound/pci/ice1712/prodigy_hifi.c wm_put_nocache(ice, index, 0x100 | nvol); index 329 sound/pci/ice1712/prodigy_hifi.c static void wm8766_set_vol(struct snd_ice1712 *ice, unsigned int index, index 342 sound/pci/ice1712/prodigy_hifi.c wm8766_spi_write(ice, index, (0x0100 | nvol)); index 54 sound/pci/intel8x0.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 64 sound/pci/intel8x0.c module_param(index, int, 0444); index 65 sound/pci/intel8x0.c MODULE_PARM_DESC(index, "Index value for Intel i8x0 soundcard."); index 3182 sound/pci/intel8x0.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 44 sound/pci/intel8x0m.c static int index = -2; /* Exclude the first card */ index 48 sound/pci/intel8x0m.c module_param(index, int, 0444); index 49 sound/pci/intel8x0m.c MODULE_PARM_DESC(index, "Index value for Intel i8x0 modemcard."); index 1255 sound/pci/intel8x0m.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 394 sound/pci/korg1212/korg1212.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 398 sound/pci/korg1212/korg1212.c module_param_array(index, int, NULL, 0444); index 399 sound/pci/korg1212/korg1212.c MODULE_PARM_DESC(index, "Index value for Korg 1212 soundcard."); index 2432 sound/pci/korg1212/korg1212.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 23 sound/pci/lola/lola.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 27 sound/pci/lola/lola.c module_param_array(index, int, NULL, 0444); index 28 sound/pci/lola/lola.c MODULE_PARM_DESC(index, "Index value for Digigram Lola driver."); index 704 sound/pci/lola/lola.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 280 sound/pci/lola/lola.h unsigned int index; /* array index */ index 226 sound/pci/lola/lola_pcm.c runtime->hw.channels_max = pcm->num_streams - str->index; index 250 sound/pci/lola/lola_pcm.c for (i = str->index + 1; i < pcm->num_streams; i++) { index 352 sound/pci/lola/lola_pcm.c bdl = (__le32 *)(pcm->bdl.area + LOLA_BDL_ENTRY_SIZE * str->index); index 412 sound/pci/lola/lola_pcm.c verb = (str->index << 6) | i; index 437 sound/pci/lola/lola_pcm.c bdl = pcm->bdl.addr + LOLA_BDL_ENTRY_SIZE * str->index; index 464 sound/pci/lola/lola_pcm.c if (str->index + runtime->channels > pcm->num_streams) { index 636 sound/pci/lola/lola_pcm.c str->index = idx; index 27 sound/pci/lx6464es/lx6464es.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 31 sound/pci/lx6464es/lx6464es.c module_param_array(index, int, NULL, 0444); index 32 sound/pci/lx6464es/lx6464es.c MODULE_PARM_DESC(index, "Index value for Digigram LX6464ES interface."); index 894 sound/pci/lx6464es/lx6464es.c .index = 0, index 1077 sound/pci/lx6464es/lx6464es.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 50 sound/pci/maestro3.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 56 sound/pci/maestro3.c module_param_array(index, int, NULL, 0444); index 57 sound/pci/maestro3.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 715 sound/pci/maestro3.c int index[3]; index 939 sound/pci/maestro3.c static u16 snd_m3_assp_read(struct snd_m3 *chip, u16 region, u16 index) index 942 sound/pci/maestro3.c snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX); index 946 sound/pci/maestro3.c static void snd_m3_assp_write(struct snd_m3 *chip, u16 region, u16 index, u16 data) index 949 sound/pci/maestro3.c snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX); index 982 sound/pci/maestro3.c static void snd_m3_remove_list(struct snd_m3 *chip, struct m3_list *list, int index) index 987 sound/pci/maestro3.c if (index != lastindex) { index 991 sound/pci/maestro3.c list->mem_addr + index, index 1229 sound/pci/maestro3.c s->index[0] = snd_m3_add_list(chip, s->index_list[0], index 1231 sound/pci/maestro3.c s->index[1] = snd_m3_add_list(chip, s->index_list[1], index 1233 sound/pci/maestro3.c s->index[2] = snd_m3_add_list(chip, s->index_list[2], index 1760 sound/pci/maestro3.c snd_m3_remove_list(chip, s->index_list[0], s->index[0]); index 1761 sound/pci/maestro3.c snd_m3_remove_list(chip, s->index_list[1], s->index[1]); index 1762 sound/pci/maestro3.c snd_m3_remove_list(chip, s->index_list[2], s->index[2]); index 2179 sound/pci/maestro3.c static int snd_m3_assp_client_init(struct snd_m3 *chip, struct m3_dma *s, int index) index 2197 sound/pci/maestro3.c address = 0x1100 + ((data_bytes/2) * index); index 2202 sound/pci/maestro3.c data_bytes, index, address); index 2206 sound/pci/maestro3.c s->number = index; index 2711 sound/pci/maestro3.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 37 sound/pci/mixart/mixart.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 41 sound/pci/mixart/mixart.c module_param_array(index, int, NULL, 0444); index 42 sound/pci/mixart/mixart.c MODULE_PARM_DESC(index, "Index value for Digigram " CARD_NAME " soundcard."); index 1319 sound/pci/mixart/mixart.c if (index[dev] < 0) index 1320 sound/pci/mixart/mixart.c idx = index[dev]; index 1322 sound/pci/mixart/mixart.c idx = index[dev] + i; index 332 sound/pci/mixart/mixart_hwdep.c static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) index 351 sound/pci/mixart/mixart_hwdep.c switch (index) { index 42 sound/pci/nm256/nm256.c static int index = SNDRV_DEFAULT_IDX1; /* Index */ index 53 sound/pci/nm256/nm256.c module_param(index, int, 0444); index 54 sound/pci/nm256/nm256.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 1674 sound/pci/nm256/nm256.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 63 sound/pci/oxygen/oxygen.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 67 sound/pci/oxygen/oxygen.c module_param_array(index, int, NULL, 0444); index 68 sound/pci/oxygen/oxygen.c MODULE_PARM_DESC(index, "card index"); index 849 sound/pci/oxygen/oxygen.c err = oxygen_pci_probe(pci, index[dev], id[dev], THIS_MODULE, index 157 sound/pci/oxygen/oxygen.h int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, index 196 sound/pci/oxygen/oxygen.h unsigned int index); index 198 sound/pci/oxygen/oxygen.h unsigned int index, u16 data); index 200 sound/pci/oxygen/oxygen.h unsigned int index, u16 data, u16 mask); index 208 sound/pci/oxygen/oxygen.h u16 oxygen_read_eeprom(struct oxygen *chip, unsigned int index); index 209 sound/pci/oxygen/oxygen.h void oxygen_write_eeprom(struct oxygen *chip, unsigned int index, u16 value); index 248 sound/pci/oxygen/oxygen.h unsigned int index, u16 value) index 250 sound/pci/oxygen/oxygen.h oxygen_write_ac97_masked(chip, codec, index, value, value); index 255 sound/pci/oxygen/oxygen.h unsigned int index, u16 value) index 257 sound/pci/oxygen/oxygen.h oxygen_write_ac97_masked(chip, codec, index, 0, value); index 118 sound/pci/oxygen/oxygen_io.c unsigned int index, u16 data) index 124 sound/pci/oxygen/oxygen_io.c reg |= index << OXYGEN_AC97_REG_ADDR_SHIFT; index 134 sound/pci/oxygen/oxygen_io.c chip->saved_ac97_registers[codec][index / 2] = data; index 143 sound/pci/oxygen/oxygen_io.c unsigned int index) index 149 sound/pci/oxygen/oxygen_io.c reg = index << OXYGEN_AC97_REG_ADDR_SHIFT; index 176 sound/pci/oxygen/oxygen_io.c unsigned int index, u16 data, u16 mask) index 178 sound/pci/oxygen/oxygen_io.c u16 value = oxygen_read_ac97(chip, codec, index); index 181 sound/pci/oxygen/oxygen_io.c oxygen_write_ac97(chip, codec, index, value); index 251 sound/pci/oxygen/oxygen_io.c u16 oxygen_read_eeprom(struct oxygen *chip, unsigned int index) index 256 sound/pci/oxygen/oxygen_io.c index | OXYGEN_EEPROM_DIR_READ); index 266 sound/pci/oxygen/oxygen_io.c void oxygen_write_eeprom(struct oxygen *chip, unsigned int index, u16 value) index 272 sound/pci/oxygen/oxygen_io.c index | OXYGEN_EEPROM_DIR_WRITE); index 584 sound/pci/oxygen/oxygen_lib.c int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, index 597 sound/pci/oxygen/oxygen_lib.c err = snd_card_new(&pci->dev, index, id, owner, index 509 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; index 515 sound/pci/oxygen/oxygen_mixer.c reg = oxygen_read_ac97(chip, codec, index); index 547 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; index 554 sound/pci/oxygen/oxygen_mixer.c oldreg = oxygen_read_ac97(chip, codec, index); index 562 sound/pci/oxygen/oxygen_mixer.c oxygen_write_ac97(chip, codec, index, newreg); index 564 sound/pci/oxygen/oxygen_mixer.c chip->model.ac97_switch(chip, index, newreg & 0x8000); index 565 sound/pci/oxygen/oxygen_mixer.c if (index == AC97_LINE) { index 574 sound/pci/oxygen/oxygen_mixer.c } else if ((index == AC97_MIC || index == AC97_CD || index 575 sound/pci/oxygen/oxygen_mixer.c index == AC97_VIDEO || index == AC97_AUX) && index 604 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; index 608 sound/pci/oxygen/oxygen_mixer.c reg = oxygen_read_ac97(chip, codec, index); index 625 sound/pci/oxygen/oxygen_mixer.c unsigned int index = ctl->private_value & 0xff; index 630 sound/pci/oxygen/oxygen_mixer.c oldreg = oxygen_read_ac97(chip, codec, index); index 641 sound/pci/oxygen/oxygen_mixer.c oxygen_write_ac97(chip, codec, index, newreg); index 729 sound/pci/oxygen/oxygen_mixer.c #define AC97_SWITCH(xname, codec, index, bitnr, invert) { \ index 736 sound/pci/oxygen/oxygen_mixer.c ((bitnr) << 8) | (index), \ index 738 sound/pci/oxygen/oxygen_mixer.c #define AC97_VOLUME(xname, codec, index, stereo) { \ index 747 sound/pci/oxygen/oxygen_mixer.c .private_value = ((codec) << 24) | ((stereo) << 16) | (index), \ index 910 sound/pci/oxygen/oxygen_mixer.c .index = 1, index 919 sound/pci/oxygen/oxygen_mixer.c .index = 1, index 937 sound/pci/oxygen/oxygen_mixer.c .index = 2, index 946 sound/pci/oxygen/oxygen_mixer.c .index = 2, index 34 sound/pci/oxygen/se6x.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 38 sound/pci/oxygen/se6x.c module_param_array(index, int, NULL, 0444); index 39 sound/pci/oxygen/se6x.c MODULE_PARM_DESC(index, "card index"); index 130 sound/pci/oxygen/se6x.c err = oxygen_pci_probe(pci, index[dev], id[dev], THIS_MODULE, index 21 sound/pci/oxygen/virtuoso.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 25 sound/pci/oxygen/virtuoso.c module_param_array(index, int, NULL, 0444); index 26 sound/pci/oxygen/virtuoso.c MODULE_PARM_DESC(index, "card index"); index 75 sound/pci/oxygen/virtuoso.c err = oxygen_pci_probe(pci, index[dev], id[dev], THIS_MODULE, index 357 sound/pci/oxygen/xonar_dg_mixer.c #define INPUT_VOLUME(xname, index) { \ index 366 sound/pci/oxygen/xonar_dg_mixer.c .private_value = index, \ index 40 sound/pci/pcxhr/pcxhr.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 45 sound/pci/pcxhr/pcxhr.c module_param_array(index, int, NULL, 0444); index 46 sound/pci/pcxhr/pcxhr.c MODULE_PARM_DESC(index, "Index value for Digigram " DRIVER_NAME " soundcard"); index 1607 sound/pci/pcxhr/pcxhr.c if (index[dev] < 0) index 1608 sound/pci/pcxhr/pcxhr.c idx = index[dev]; index 1610 sound/pci/pcxhr/pcxhr.c idx = index[dev] + i; index 276 sound/pci/pcxhr/pcxhr_hwdep.c static int pcxhr_dsp_load(struct pcxhr_mgr *mgr, int index, index 282 sound/pci/pcxhr/pcxhr_hwdep.c "loading dsp [%d] size = %zd\n", index, dsp->size); index 284 sound/pci/pcxhr/pcxhr_hwdep.c switch (index) { index 109 sound/pci/riptide/riptide.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 119 sound/pci/riptide/riptide.c module_param_array(index, int, NULL, 0444); index 120 sound/pci/riptide/riptide.c MODULE_PARM_DESC(index, "Index value for Riptide soundcard."); index 2062 sound/pci/riptide/riptide.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 75 sound/pci/rme32.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 80 sound/pci/rme32.c module_param_array(index, int, NULL, 0444); index 81 sound/pci/rme32.c MODULE_PARM_DESC(index, "Index value for RME Digi32 soundcard."); index 1922 sound/pci/rme32.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 40 sound/pci/rme96.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 44 sound/pci/rme96.c module_param_array(index, int, NULL, 0444); index 45 sound/pci/rme96.c MODULE_PARM_DESC(index, "Index value for RME Digi96 soundcard."); index 2457 sound/pci/rme96.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 34 sound/pci/rme9652/hdsp.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 38 sound/pci/rme9652/hdsp.c module_param_array(index, int, NULL, 0444); index 39 sound/pci/rme9652/hdsp.c MODULE_PARM_DESC(index, "Index value for RME Hammerfall DSP interface."); index 1642 sound/pci/rme9652/hdsp.c .index = xindex, \ index 1757 sound/pci/rme9652/hdsp.c .index = xindex, \ index 1816 sound/pci/rme9652/hdsp.c .index = xindex, \ index 1840 sound/pci/rme9652/hdsp.c .index = xindex, \ index 1899 sound/pci/rme9652/hdsp.c .index = xindex, \ index 1932 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2089 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2168 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2247 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2326 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2455 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2507 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2553 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2599 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2672 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2709 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2740 sound/pci/rme9652/hdsp.c .index = xindex, \ index 2791 sound/pci/rme9652/hdsp.c offset = ucontrol->id.index - 1; index 2817 sound/pci/rme9652/hdsp.c .index = xindex, \ index 3287 sound/pci/rme9652/hdsp.c snd_hdsp_adat_sync_check.index = 1; index 3292 sound/pci/rme9652/hdsp.c snd_hdsp_adat_sync_check.index = idx+1; index 5356 sound/pci/rme9652/hdsp.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 143 sound/pci/rme9652/hdspm.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 147 sound/pci/rme9652/hdspm.c module_param_array(index, int, NULL, 0444); index 148 sound/pci/rme9652/hdspm.c MODULE_PARM_DESC(index, "Index value for RME HDSPM interface."); index 1106 sound/pci/rme9652/hdspm.c static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index); index 2229 sound/pci/rme9652/hdspm.c .index = xindex, \ index 2349 sound/pci/rme9652/hdspm.c static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index) index 2356 sound/pci/rme9652/hdspm.c return (timecode >> (4*index)) & 0xF; index 2506 sound/pci/rme9652/hdspm.c .index = xindex, \ index 2591 sound/pci/rme9652/hdspm.c .index = xindex, \ index 2686 sound/pci/rme9652/hdspm.c .index = xindex, \ index 3013 sound/pci/rme9652/hdspm.c .index = xindex, \ index 3268 sound/pci/rme9652/hdspm.c .index = xindex, \ index 3330 sound/pci/rme9652/hdspm.c .index = xindex, \ index 3392 sound/pci/rme9652/hdspm.c .index = xindex, \ index 3546 sound/pci/rme9652/hdspm.c .index = xindex, \ index 3622 sound/pci/rme9652/hdspm.c .index = xindex, \ index 3752 sound/pci/rme9652/hdspm.c channel = ucontrol->id.index - 1; index 3776 sound/pci/rme9652/hdspm.c channel = ucontrol->id.index - 1; index 4199 sound/pci/rme9652/hdspm.c .index = xindex, \ index 4246 sound/pci/rme9652/hdspm.c .index = xindex, \ index 4292 sound/pci/rme9652/hdspm.c .index = xindex, \ index 4338 sound/pci/rme9652/hdspm.c .index = xindex, \ index 4385 sound/pci/rme9652/hdspm.c .index = xindex, \ index 4431 sound/pci/rme9652/hdspm.c .index = xindex, \ index 4719 sound/pci/rme9652/hdspm.c snd_hdspm_playback_mixer.index = idx + 1; index 6921 sound/pci/rme9652/hdspm.c err = snd_card_new(&pci->dev, index[dev], id[dev], index 26 sound/pci/rme9652/rme9652.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 31 sound/pci/rme9652/rme9652.c module_param_array(index, int, NULL, 0444); index 32 sound/pci/rme9652/rme9652.c MODULE_PARM_DESC(index, "Index value for RME Digi9652 (Hammerfall) soundcard."); index 871 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 943 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1008 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1069 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1150 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1293 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1332 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1357 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1389 sound/pci/rme9652/rme9652.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1505 sound/pci/rme9652/rme9652.c .index = 0, index 2596 sound/pci/rme9652/rme9652.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 29 sound/pci/sis7019.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 34 sound/pci/sis7019.c module_param(index, int, 0444); index 35 sound/pci/sis7019.c MODULE_PARM_DESC(index, "Index value for SiS7019 Audio Accelerator."); index 1412 sound/pci/sis7019.c rc = snd_card_new(&pci->dev, index, id, THIS_MODULE, index 38 sound/pci/sonicvibes.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 45 sound/pci/sonicvibes.c module_param_array(index, int, NULL, 0444); index 46 sound/pci/sonicvibes.c MODULE_PARM_DESC(index, "Index value for S3 SonicVibes soundcard."); index 897 sound/pci/sonicvibes.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 945 sound/pci/sonicvibes.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1001 sound/pci/sonicvibes.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1449 sound/pci/sonicvibes.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 33 sound/pci/trident/trident.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 39 sound/pci/trident/trident.c module_param_array(index, int, NULL, 0444); index 40 sound/pci/trident/trident.c MODULE_PARM_DESC(index, "Index value for Trident 4DWave PCI soundcard."); index 77 sound/pci/trident/trident.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 269 sound/pci/trident/trident.h unsigned char index; index 3053 sound/pci/trident/trident_main.c kctl->id.index++; index 3055 sound/pci/trident/trident_main.c kctl->id.index++; index 3056 sound/pci/trident/trident_main.c idx = kctl->id.index; index 3066 sound/pci/trident/trident_main.c kctl->id.index = idx; index 3076 sound/pci/trident/trident_main.c kctl->id.index = idx; index 3086 sound/pci/trident/trident_main.c kctl->id.index = idx; index 65 sound/pci/via82xx.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 77 sound/pci/via82xx.c module_param(index, int, 0444); index 78 sound/pci/via82xx.c MODULE_PARM_DESC(index, "Index value for VIA 82xx bridge."); index 1611 sound/pci/via82xx.c unsigned long port = chip->port + (kcontrol->id.index ? (VIA_REG_CAPTURE_CHANNEL + 0x10) : VIA_REG_CAPTURE_CHANNEL); index 1620 sound/pci/via82xx.c unsigned long port = chip->port + (kcontrol->id.index ? (VIA_REG_CAPTURE_CHANNEL + 0x10) : VIA_REG_CAPTURE_CHANNEL); index 1989 sound/pci/via82xx.c snd_via8233_capture_source.index = i; index 2518 sound/pci/via82xx.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 43 sound/pci/via82xx_modem.c static int index = -2; /* Exclude the first card */ index 47 sound/pci/via82xx_modem.c module_param(index, int, 0444); index 48 sound/pci/via82xx_modem.c MODULE_PARM_DESC(index, "Index value for VIA 82xx bridge."); index 1150 sound/pci/via82xx_modem.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); index 25 sound/pci/vx222/vx222.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 31 sound/pci/vx222/vx222.c module_param_array(index, int, NULL, 0444); index 32 sound/pci/vx222/vx222.c MODULE_PARM_DESC(index, "Index value for Digigram " CARD_NAME " soundcard."); index 193 sound/pci/vx222/vx222.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 404 sound/pci/vx222/vx222_ops.c static int vx2_load_dsp(struct vx_core *vx, int index, const struct firmware *dsp) index 408 sound/pci/vx222/vx222_ops.c switch (index) { index 27 sound/pci/ymfpci/ymfpci.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 37 sound/pci/ymfpci/ymfpci.c module_param_array(index, int, NULL, 0444); index 38 sound/pci/ymfpci/ymfpci.c MODULE_PARM_DESC(index, "Index value for the Yamaha DS-1 PCI soundcard."); index 179 sound/pci/ymfpci/ymfpci.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, index 1442 sound/pci/ymfpci/ymfpci_main.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 1496 sound/pci/ymfpci/ymfpci_main.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ index 27 sound/pcmcia/pdaudiocf/pdaudiocf.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 31 sound/pcmcia/pdaudiocf/pdaudiocf.c module_param_array(index, int, NULL, 0444); index 32 sound/pcmcia/pdaudiocf/pdaudiocf.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 64 sound/pcmcia/pdaudiocf/pdaudiocf.c card_list[pdacf->index] = NULL; index 103 sound/pcmcia/pdaudiocf/pdaudiocf.c err = snd_card_new(&link->dev, index[i], id[i], THIS_MODULE, index 123 sound/pcmcia/pdaudiocf/pdaudiocf.c pdacf->index = i; index 73 sound/pcmcia/pdaudiocf/pdaudiocf.h int index; index 233 sound/pcmcia/vx/vxp_ops.c static int vxp_load_dsp(struct vx_core *vx, int index, const struct firmware *fw) index 237 sound/pcmcia/vx/vxp_ops.c switch (index) { index 28 sound/pcmcia/vx/vxpocket.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 33 sound/pcmcia/vx/vxpocket.c module_param_array(index, int, NULL, 0444); index 34 sound/pcmcia/vx/vxpocket.c MODULE_PARM_DESC(index, "Index value for VXPocket soundcard."); index 303 sound/pcmcia/vx/vxpocket.c err = snd_card_new(&p_dev->dev, index[i], id[i], THIS_MODULE, index 317 sound/pcmcia/vx/vxpocket.c vxp->index = i; index 335 sound/pcmcia/vx/vxpocket.c card_alloc &= ~(1 << vxp->index); index 27 sound/pcmcia/vx/vxpocket.h int index; /* card index */ index 189 sound/ppc/awacs.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = 0, \ index 240 sound/ppc/awacs.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = 0, \ index 280 sound/ppc/awacs.c static int awacs_amp_set_vol(struct awacs_amp *amp, int index, index 283 sound/ppc/awacs.c if (do_check && amp->amp_vol[index][0] == lvol && index 284 sound/ppc/awacs.c amp->amp_vol[index][1] == rvol) index 286 sound/ppc/awacs.c awacs_set_cuda(3 + index, lvol); index 287 sound/ppc/awacs.c awacs_set_cuda(5 + index, rvol); index 288 sound/ppc/awacs.c amp->amp_vol[index][0] = lvol; index 289 sound/ppc/awacs.c amp->amp_vol[index][1] = rvol; index 334 sound/ppc/awacs.c int index = kcontrol->private_value; index 337 sound/ppc/awacs.c ucontrol->value.integer.value[0] = 31 - (amp->amp_vol[index][0] & 31); index 338 sound/ppc/awacs.c ucontrol->value.integer.value[1] = 31 - (amp->amp_vol[index][1] & 31); index 346 sound/ppc/awacs.c int index = kcontrol->private_value; index 351 sound/ppc/awacs.c | (amp->amp_vol[index][0] & 32); index 353 sound/ppc/awacs.c | (amp->amp_vol[index][1] & 32); index 354 sound/ppc/awacs.c return awacs_amp_set_vol(amp, index, vol[0], vol[1], 1); index 361 sound/ppc/awacs.c int index = kcontrol->private_value; index 364 sound/ppc/awacs.c ucontrol->value.integer.value[0] = (amp->amp_vol[index][0] & 32) index 366 sound/ppc/awacs.c ucontrol->value.integer.value[1] = (amp->amp_vol[index][1] & 32) index 375 sound/ppc/awacs.c int index = kcontrol->private_value; index 380 sound/ppc/awacs.c | (amp->amp_vol[index][0] & 31); index 382 sound/ppc/awacs.c | (amp->amp_vol[index][1] & 31); index 383 sound/ppc/awacs.c return awacs_amp_set_vol(amp, index, vol[0], vol[1], 1); index 400 sound/ppc/awacs.c int index = kcontrol->private_value; index 403 sound/ppc/awacs.c ucontrol->value.integer.value[0] = amp->amp_tone[index]; index 411 sound/ppc/awacs.c int index = kcontrol->private_value; index 418 sound/ppc/awacs.c if (val != amp->amp_tone[index]) { index 419 sound/ppc/awacs.c amp->amp_tone[index] = val; index 793 sound/ppc/awacs.c static int toggle_amp_mute(struct awacs_amp *amp, int index, int mute) index 796 sound/ppc/awacs.c vol[0] = amp->amp_vol[index][0] & 31; index 797 sound/ppc/awacs.c vol[1] = amp->amp_vol[index][1] & 31; index 802 sound/ppc/awacs.c return awacs_amp_set_vol(amp, index, vol[0], vol[1], 1); index 198 sound/ppc/burgundy.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ index 274 sound/ppc/burgundy.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ index 336 sound/ppc/burgundy.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ index 391 sound/ppc/burgundy.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ index 447 sound/ppc/burgundy.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex,\ index 24 sound/ppc/powermac.c static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ index 28 sound/ppc/powermac.c module_param(index, int, 0444); index 29 sound/ppc/powermac.c MODULE_PARM_DESC(index, "Index value for " CHIP_NAME " soundchip."); index 48 sound/ppc/powermac.c err = snd_card_new(&devptr->dev, index, id, THIS_MODULE, 0, &card); index 45 sound/ppc/snd_ps3.c static int index = SNDRV_DEFAULT_IDX1; index 48 sound/ppc/snd_ps3.c module_param(index, int, 0444); index 49 sound/ppc/snd_ps3.c MODULE_PARM_DESC(index, "Index value for PS3 soundchip."); index 973 sound/ppc/snd_ps3.c ret = snd_card_new(&dev->core, index, id, THIS_MODULE, index 477 sound/ppc/tumbler.c int index; index 494 sound/ppc/tumbler.c vol = mix->mono_vol[info->index]; index 503 sound/ppc/tumbler.c info->index); index 529 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->mono_vol[info->index]; index 547 sound/ppc/tumbler.c change = mix->mono_vol[info->index] != vol; index 549 sound/ppc/tumbler.c mix->mono_vol[info->index] = vol; index 557 sound/ppc/tumbler.c .index = VOL_IDX_PCM_MONO, index 565 sound/ppc/tumbler.c .index = VOL_IDX_BASS, index 573 sound/ppc/tumbler.c .index = VOL_IDX_TREBLE, index 582 sound/ppc/tumbler.c .index = VOL_IDX_BASS, index 590 sound/ppc/tumbler.c .index = VOL_IDX_TREBLE, index 822 sound/ppc/tumbler.c .index = idx,\ index 40 sound/sh/aica.c static int index = -1; index 43 sound/sh/aica.c module_param(index, int, 0444); index 44 sound/sh/aica.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 516 sound/sh/aica.c .index = 0, index 525 sound/sh/aica.c .index = 0, index 581 sound/sh/aica.c err = snd_card_new(&devptr->dev, index, SND_AICA_DRIVER, index 31 sound/sh/sh_dac_audio.c static int index = SNDRV_DEFAULT_IDX1; index 33 sound/sh/sh_dac_audio.c module_param(index, int, 0444); index 34 sound/sh/sh_dac_audio.c MODULE_PARM_DESC(index, "Index value for SuperH DAC audio."); index 387 sound/sh/sh_dac_audio.c err = snd_card_new(&devptr->dev, index, id, THIS_MODULE, 0, &card); index 409 sound/soc/codecs/cs4265.c int index; index 416 sound/soc/codecs/cs4265.c index = cs4265_get_clk_index(cs4265->sysclk, params_rate(params)); index 417 sound/soc/codecs/cs4265.c if (index >= 0) { index 419 sound/soc/codecs/cs4265.c CS4265_ADC_FM, clk_map_table[index].fm_mode << 6); index 422 sound/soc/codecs/cs4265.c clk_map_table[index].mclkdiv << 4); index 810 sound/soc/codecs/cs42l52.c int index; index 812 sound/soc/codecs/cs42l52.c index = cs42l52_get_clk(cs42l52->sysclk, params_rate(params)); index 813 sound/soc/codecs/cs42l52.c if (index >= 0) { index 814 sound/soc/codecs/cs42l52.c cs42l52->sysclk = clk_map_table[index].mclk; index 816 sound/soc/codecs/cs42l52.c clk |= (clk_map_table[index].speed << CLK_SPEED_SHIFT) | index 817 sound/soc/codecs/cs42l52.c (clk_map_table[index].group << CLK_32K_SR_SHIFT) | index 818 sound/soc/codecs/cs42l52.c (clk_map_table[index].videoclk << CLK_27M_MCLK_SHIFT) | index 819 sound/soc/codecs/cs42l52.c (clk_map_table[index].ratio << CLK_RATIO_SHIFT) | index 820 sound/soc/codecs/cs42l52.c clk_map_table[index].mclkdiv2; index 444 sound/soc/codecs/nau8825.c int index; index 446 sound/soc/codecs/nau8825.c for (index = 0; index < ARRAY_SIZE(nau8825_xtalk_baktab); index++) index 447 sound/soc/codecs/nau8825.c if (nau8825_xtalk_baktab[index].reg == reg) index 448 sound/soc/codecs/nau8825.c return index; index 569 sound/soc/codecs/nau8825.c int volume, index; index 581 sound/soc/codecs/nau8825.c index = nau8825_xtalk_baktab_index_by_reg(NAU8825_REG_HSVOL_CTRL); index 582 sound/soc/codecs/nau8825.c if (index != -EINVAL) { index 583 sound/soc/codecs/nau8825.c volume = nau8825_xtalk_baktab[index].def & index 447 sound/soc/codecs/pcm512x.c .index = 0, index 65 sound/soc/codecs/rl6347a.c unsigned int index, vid; index 77 sound/soc/codecs/rl6347a.c index = (reg >> 8) & 0xf; index 78 sound/soc/codecs/rl6347a.c reg = (reg & ~0xf0f) | index; index 1560 sound/soc/codecs/sgtl5000.c int i, ret, val, index; index 1564 sound/soc/codecs/sgtl5000.c index = sgtl5000_reg_defaults[i].reg; index 1565 sound/soc/codecs/sgtl5000.c ret = regmap_write(sgtl5000->regmap, index, val); index 1569 sound/soc/codecs/sgtl5000.c __func__, ret, index, val); index 274 sound/soc/codecs/sta32x.c int index = kcontrol->private_value & 0xffff; index 289 sound/soc/codecs/sta32x.c regmap_write(sta32x->regmap, STA32X_CFADDR2, index); index 316 sound/soc/codecs/sta32x.c int index = kcontrol->private_value & 0xffff; index 329 sound/soc/codecs/sta32x.c regmap_write(sta32x->regmap, STA32X_CFADDR2, index); index 330 sound/soc/codecs/sta32x.c for (i = 0; i < numcoef && (index + i < STA32X_COEF_COUNT); i++) index 331 sound/soc/codecs/sta32x.c sta32x->coef_shadow[index + i] = index 433 sound/soc/codecs/sta32x.c #define SINGLE_COEF(xname, index) \ index 438 sound/soc/codecs/sta32x.c .private_value = index | (1 << 16) } index 440 sound/soc/codecs/sta32x.c #define BIQUAD_COEFS(xname, index) \ index 445 sound/soc/codecs/sta32x.c .private_value = index | (5 << 16) } index 311 sound/soc/codecs/sta350.c int index = kcontrol->private_value & 0xffff; index 326 sound/soc/codecs/sta350.c regmap_write(sta350->regmap, STA350_CFADDR2, index); index 353 sound/soc/codecs/sta350.c int index = kcontrol->private_value & 0xffff; index 366 sound/soc/codecs/sta350.c regmap_write(sta350->regmap, STA350_CFADDR2, index); index 367 sound/soc/codecs/sta350.c for (i = 0; i < numcoef && (index + i < STA350_COEF_COUNT); i++) index 368 sound/soc/codecs/sta350.c sta350->coef_shadow[index + i] = index 428 sound/soc/codecs/sta350.c #define SINGLE_COEF(xname, index) \ index 433 sound/soc/codecs/sta350.c .private_value = index | (1 << 16) } index 435 sound/soc/codecs/sta350.c #define BIQUAD_COEFS(xname, index) \ index 440 sound/soc/codecs/sta350.c .private_value = index | (5 << 16) } index 247 sound/soc/codecs/tas571x.c int index = kcontrol->private_value & 0xffff; index 249 sound/soc/codecs/tas571x.c return tas571x_reg_read_multiword(i2c, index, index 259 sound/soc/codecs/tas571x.c int index = kcontrol->private_value & 0xffff; index 261 sound/soc/codecs/tas571x.c return tas571x_reg_write_multiword(i2c, index, index 236 sound/soc/codecs/tlv320aic32x4-clk.c static int clk_aic32x4_pll_set_parent(struct clk_hw *hw, u8 index) index 243 sound/soc/codecs/tlv320aic32x4-clk.c index << AIC32X4_PLL_CLKIN_SHIFT); index 268 sound/soc/codecs/tlv320aic32x4-clk.c static int clk_aic32x4_codec_clkin_set_parent(struct clk_hw *hw, u8 index) index 274 sound/soc/codecs/tlv320aic32x4-clk.c AIC32X4_CODEC_CLKIN_MASK, index << AIC32X4_CODEC_CLKIN_SHIFT); index 354 sound/soc/codecs/tlv320aic32x4-clk.c static int clk_aic32x4_bdiv_set_parent(struct clk_hw *hw, u8 index) index 359 sound/soc/codecs/tlv320aic32x4-clk.c AIC32X4_BDIVCLK_MASK, index); index 24 sound/soc/fsl/fsl_asrc.c dev_err(&asrc_priv->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) index 27 sound/soc/fsl/fsl_asrc.c dev_dbg(&asrc_priv->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__) index 120 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = ASRC_INVALID_PAIR; index 132 sound/soc/fsl/fsl_asrc.c index = i; index 138 sound/soc/fsl/fsl_asrc.c if (index == ASRC_INVALID_PAIR) { index 146 sound/soc/fsl/fsl_asrc.c asrc_priv->pair[index] = pair; index 148 sound/soc/fsl/fsl_asrc.c pair->index = index; index 164 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = pair->index; index 169 sound/soc/fsl/fsl_asrc.c ASRCTR_ASRCEi_MASK(index), 0); index 174 sound/soc/fsl/fsl_asrc.c asrc_priv->pair[index] = NULL; index 186 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = pair->index; index 188 sound/soc/fsl/fsl_asrc.c regmap_update_bits(asrc_priv->regmap, REG_ASRMCR(index), index 222 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = pair->index; index 250 sound/soc/fsl/fsl_asrc.c regmap_write(asrc_priv->regmap, REG_ASRIDRL(index), ratio); index 251 sound/soc/fsl/fsl_asrc.c regmap_write(asrc_priv->regmap, REG_ASRIDRH(index), ratio >> 24); index 267 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = pair->index; index 358 sound/soc/fsl/fsl_asrc.c ASRCNCR_ANCi_MASK(index, asrc_priv->channel_bits), index 359 sound/soc/fsl/fsl_asrc.c ASRCNCR_ANCi(index, channels, asrc_priv->channel_bits)); index 363 sound/soc/fsl/fsl_asrc.c ASRCTR_ATSi_MASK(index), ASRCTR_ATS(index)); index 365 sound/soc/fsl/fsl_asrc.c ASRCTR_USRi_MASK(index), 0); index 369 sound/soc/fsl/fsl_asrc.c ASRCSR_AICSi_MASK(index) | ASRCSR_AOCSi_MASK(index), index 370 sound/soc/fsl/fsl_asrc.c ASRCSR_AICS(index, clk_index[IN]) | index 371 sound/soc/fsl/fsl_asrc.c ASRCSR_AOCS(index, clk_index[OUT])); index 378 sound/soc/fsl/fsl_asrc.c regmap_update_bits(asrc_priv->regmap, REG_ASRCDR(index), index 379 sound/soc/fsl/fsl_asrc.c ASRCDRi_AOCPi_MASK(index) | ASRCDRi_AICPi_MASK(index) | index 380 sound/soc/fsl/fsl_asrc.c ASRCDRi_AOCDi_MASK(index) | ASRCDRi_AICDi_MASK(index), index 381 sound/soc/fsl/fsl_asrc.c ASRCDRi_AOCP(index, outdiv) | ASRCDRi_AICP(index, indiv)); index 384 sound/soc/fsl/fsl_asrc.c regmap_update_bits(asrc_priv->regmap, REG_ASRMCR1(index), index 390 sound/soc/fsl/fsl_asrc.c regmap_update_bits(asrc_priv->regmap, REG_ASRMCR(index), index 403 sound/soc/fsl/fsl_asrc.c ASRCTR_ATSi_MASK(index), 0); index 407 sound/soc/fsl/fsl_asrc.c ASRCTR_IDRi_MASK(index) | ASRCTR_USRi_MASK(index), index 408 sound/soc/fsl/fsl_asrc.c ASRCTR_IDR(index) | ASRCTR_USR(index)); index 414 sound/soc/fsl/fsl_asrc.c ASRCFG_PREMODi_MASK(index) | ASRCFG_POSTMODi_MASK(index), index 415 sound/soc/fsl/fsl_asrc.c ASRCFG_PREMOD(index, pre_proc) | index 416 sound/soc/fsl/fsl_asrc.c ASRCFG_POSTMOD(index, post_proc)); index 429 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = pair->index; index 434 sound/soc/fsl/fsl_asrc.c ASRCTR_ASRCEi_MASK(index), ASRCTR_ASRCE(index)); index 440 sound/soc/fsl/fsl_asrc.c reg &= ASRCFG_INIRQi_MASK(index); index 446 sound/soc/fsl/fsl_asrc.c regmap_write(asrc_priv->regmap, REG_ASRDI(index), 0); index 458 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = pair->index; index 462 sound/soc/fsl/fsl_asrc.c ASRCTR_ASRCEi_MASK(index), 0); index 471 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index = pair->index; index 474 sound/soc/fsl/fsl_asrc.c sprintf(name, "%cx%c", dir == IN ? 'r' : 't', index + 'a'); index 526 sound/soc/fsl/fsl_asrc.c config.pair = pair->index; index 811 sound/soc/fsl/fsl_asrc.c enum asrc_pair_index index; index 824 sound/soc/fsl/fsl_asrc.c for (index = ASRC_PAIR_A; index < ASRC_PAIR_MAX_NUM; index++) { index 825 sound/soc/fsl/fsl_asrc.c if (!asrc_priv->pair[index]) index 829 sound/soc/fsl/fsl_asrc.c asrc_priv->pair[index]->error |= ASRC_TASK_Q_OVERLOAD; index 833 sound/soc/fsl/fsl_asrc.c if (status & ASRSTR_AOOL(index)) { index 834 sound/soc/fsl/fsl_asrc.c asrc_priv->pair[index]->error |= ASRC_OUTPUT_TASK_OVERLOAD; index 838 sound/soc/fsl/fsl_asrc.c if (status & ASRSTR_AIOL(index)) { index 839 sound/soc/fsl/fsl_asrc.c asrc_priv->pair[index]->error |= ASRC_INPUT_TASK_OVERLOAD; index 843 sound/soc/fsl/fsl_asrc.c if (status & ASRSTR_AODO(index)) { index 844 sound/soc/fsl/fsl_asrc.c asrc_priv->pair[index]->error |= ASRC_OUTPUT_BUFFER_OVERFLOW; index 848 sound/soc/fsl/fsl_asrc.c if (status & ASRSTR_AIDU(index)) { index 849 sound/soc/fsl/fsl_asrc.c asrc_priv->pair[index]->error |= ASRC_INPUT_BUFFER_UNDERRUN; index 353 sound/soc/fsl/fsl_asrc.h enum asrc_pair_index index; index 372 sound/soc/fsl/fsl_asrc.h enum asrc_pair_index index; index 409 sound/soc/fsl/fsl_asrc.h enum asrc_pair_index index; index 142 sound/soc/fsl/fsl_asrc_dma.c enum asrc_pair_index index = pair->index; index 175 sound/soc/fsl/fsl_asrc_dma.c dma_params_fe->addr = asrc_priv->paddr + REG_ASRDx(!dir, index); index 234 sound/soc/fsl/fsl_asrc_dma.c config_be.src_addr = asrc_priv->paddr + REG_ASRDO(index); index 237 sound/soc/fsl/fsl_asrc_dma.c config_be.dst_addr = asrc_priv->paddr + REG_ASRDI(index); index 306 sound/soc/fsl/fsl_asrc_dma.c if (asrc_priv->pair[pair->index] == pair) index 307 sound/soc/fsl/fsl_asrc_dma.c asrc_priv->pair[pair->index] = NULL; index 904 sound/soc/fsl/fsl_sai.c int index; index 1002 sound/soc/fsl/fsl_sai.c index = of_alias_get_id(np, "sai"); index 1003 sound/soc/fsl/fsl_sai.c if (index < 0) index 1004 sound/soc/fsl/fsl_sai.c return index; index 1006 sound/soc/fsl/fsl_sai.c regmap_update_bits(gpr, IOMUXC_GPR1, MCLK_DIR(index), index 1007 sound/soc/fsl/fsl_sai.c MCLK_DIR(index)); index 1108 sound/soc/fsl/fsl_spdif.c enum spdif_txrate index, bool round) index 1123 sound/soc/fsl/fsl_spdif.c rate_ideal = rate[index] * txclk_df * 64ULL; index 1132 sound/soc/fsl/fsl_spdif.c if (arate == rate[index]) { index 1135 sound/soc/fsl/fsl_spdif.c spdif_priv->txclk_df[index] = txclk_df; index 1136 sound/soc/fsl/fsl_spdif.c spdif_priv->sysclk_df[index] = sysclk_df; index 1137 sound/soc/fsl/fsl_spdif.c spdif_priv->txrate[index] = arate; index 1139 sound/soc/fsl/fsl_spdif.c } else if (arate / rate[index] == 1) { index 1141 sound/soc/fsl/fsl_spdif.c sub = (u64)(arate - rate[index]) * 100000; index 1142 sound/soc/fsl/fsl_spdif.c do_div(sub, rate[index]); index 1146 sound/soc/fsl/fsl_spdif.c spdif_priv->txclk_df[index] = txclk_df; index 1147 sound/soc/fsl/fsl_spdif.c spdif_priv->sysclk_df[index] = sysclk_df; index 1148 sound/soc/fsl/fsl_spdif.c spdif_priv->txrate[index] = arate; index 1149 sound/soc/fsl/fsl_spdif.c } else if (rate[index] / arate == 1) { index 1151 sound/soc/fsl/fsl_spdif.c sub = (u64)(rate[index] - arate) * 100000; index 1152 sound/soc/fsl/fsl_spdif.c do_div(sub, rate[index]); index 1156 sound/soc/fsl/fsl_spdif.c spdif_priv->txclk_df[index] = txclk_df; index 1157 sound/soc/fsl/fsl_spdif.c spdif_priv->sysclk_df[index] = sysclk_df; index 1158 sound/soc/fsl/fsl_spdif.c spdif_priv->txrate[index] = arate; index 1168 sound/soc/fsl/fsl_spdif.c enum spdif_txrate index) index 1188 sound/soc/fsl/fsl_spdif.c ret = fsl_spdif_txclk_caldiv(spdif_priv, clk, savesub, index, index 1194 sound/soc/fsl/fsl_spdif.c spdif_priv->txclk[index] = clk; index 1195 sound/soc/fsl/fsl_spdif.c spdif_priv->txclk_src[index] = i; index 1203 sound/soc/fsl/fsl_spdif.c spdif_priv->txclk_src[index], rate[index]); index 1205 sound/soc/fsl/fsl_spdif.c spdif_priv->txclk_df[index], rate[index]); index 1206 sound/soc/fsl/fsl_spdif.c if (clk_is_match(spdif_priv->txclk[index], spdif_priv->sysclk)) index 1208 sound/soc/fsl/fsl_spdif.c spdif_priv->sysclk_df[index], rate[index]); index 1210 sound/soc/fsl/fsl_spdif.c rate[index], spdif_priv->txrate[index]); index 125 sound/soc/img/img-spdif-in.c u32 index) index 127 sound/soc/img/img-spdif-in.c img_spdif_in_writel(spdif, spdif->aclkgen_regs[index], index 128 sound/soc/img/img-spdif-in.c IMG_SPDIF_IN_ACLKGEN_START + (index * 0x4)); index 1414 sound/soc/intel/atom/sst-atom-controls.c int index, ret = 0; index 1424 sound/soc/intel/atom/sst-atom-controls.c index = idx - (char*)kctl->id.name; index 1425 sound/soc/intel/atom/sst-atom-controls.c if (strncmp(kctl->id.name, w->name, index)) index 177 sound/soc/intel/atom/sst-mfld-platform-pcm.c int index; index 194 sound/soc/intel/atom/sst-mfld-platform-pcm.c index = sst_get_stream_mapping(pstream->pcm->device, index 197 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (index <= 0) index 200 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_params->stream_id = index; index 201 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_params->device_type = map[index].device_id; index 202 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_params->task = map[index].task_id; index 208 sound/soc/intel/atom/sst-mfld-platform-pcm.c index = sst_get_stream_mapping(cstream->device->device, index 211 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (index <= 0) index 213 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_params->stream_id = index; index 214 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_params->device_type = map[index].device_id; index 215 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_params->task = map[index].task_id; index 239 sound/soc/intel/common/sst-dsp-priv.h u32 index; /* block index 0..N */ index 378 sound/soc/intel/common/sst-dsp-priv.h u32 index, void *private); index 134 sound/soc/intel/common/sst-firmware.c block->type, block->index); index 143 sound/soc/intel/common/sst-firmware.c block->type, block->index, block->offset); index 162 sound/soc/intel/common/sst-firmware.c block->type, block->index); index 605 sound/soc/intel/common/sst-firmware.c block->type, block->index, block->offset); index 637 sound/soc/intel/common/sst-firmware.c block->type, block->index, block->offset); index 757 sound/soc/intel/common/sst-firmware.c block->type, block->index, block->offset); index 1020 sound/soc/intel/common/sst-firmware.c u32 index, void *private) index 1030 sound/soc/intel/common/sst-firmware.c block->index = index; index 495 sound/soc/intel/haswell/sst-haswell-dsp.c u32 bit = 0, shift = 0, index; index 498 sound/soc/intel/haswell/sst-haswell-dsp.c for (index = 0; index < ARRAY_SIZE(sram_shift); index++) { index 499 sound/soc/intel/haswell/sst-haswell-dsp.c if (sram_shift[index].dev_id == sst->id) index 503 sound/soc/intel/haswell/sst-haswell-dsp.c if (index < ARRAY_SIZE(sram_shift)) { index 506 sound/soc/intel/haswell/sst-haswell-dsp.c shift = sram_shift[index].dram_shift; index 509 sound/soc/intel/haswell/sst-haswell-dsp.c shift = sram_shift[index].iram_shift; index 517 sound/soc/intel/haswell/sst-haswell-dsp.c bit = 1 << (block->index + shift); index 543 sound/soc/intel/haswell/sst-haswell-dsp.c block->type, block->index, block->offset); index 579 sound/soc/intel/haswell/sst-haswell-dsp.c block->type, block->index, block->offset); index 63 sound/soc/intel/skylake/skl-messages.c snd_hdac_ext_stream_spbcap_enable(bus, enable, stream->index); index 209 sound/soc/intel/skylake/skl-pcm.c if (link->index == params->link_index) index 499 sound/soc/intel/skylake/skl-pcm.c hdac_stream(stream)->index); index 538 sound/soc/intel/skylake/skl-pcm.c hdac_stream(stream)->index)); index 590 sound/soc/intel/skylake/skl-pcm.c p_params.link_index = link->index; index 1075 sound/soc/intel/skylake/skl-pcm.c int skl_dai_load(struct snd_soc_component *cmp, int index, index 1137 sound/soc/intel/skylake/skl-pcm.c sbits |= 1 << hdac_stream(stream)->index; index 1212 sound/soc/intel/skylake/skl-pcm.c hdac_stream(hstream)->index)); index 1218 sound/soc/intel/skylake/skl-pcm.c hdac_stream(hstream)->index)); index 40 sound/soc/intel/skylake/skl-ssp-clk.c static int skl_get_clk_type(u32 index) index 42 sound/soc/intel/skylake/skl-ssp-clk.c switch (index) { index 57 sound/soc/intel/skylake/skl-ssp-clk.c static int skl_get_vbus_id(u32 index, u8 clk_type) index 61 sound/soc/intel/skylake/skl-ssp-clk.c return index; index 64 sound/soc/intel/skylake/skl-ssp-clk.c return index - SKL_SCLK_OFS; index 67 sound/soc/intel/skylake/skl-ssp-clk.c return index - SKL_SCLKFS_OFS; index 235 sound/soc/intel/skylake/skl-sst-dsp.h unsigned int offset, int index); index 251 sound/soc/intel/skylake/skl-sst-dsp.h unsigned int hdr_offset, int index); index 118 sound/soc/intel/skylake/skl-sst-utils.c int index, max_inst, pvt_id; index 125 sound/soc/intel/skylake/skl-sst-utils.c index = ffz(mask_val); index 126 sound/soc/intel/skylake/skl-sst-utils.c pvt_id = index + word1_mask + word2_mask; index 128 sound/soc/intel/skylake/skl-sst-utils.c *val |= 1ULL << (index + word1_mask); index 230 sound/soc/intel/skylake/skl-sst-utils.c unsigned int offset, int index) index 295 sound/soc/intel/skylake/skl-sst-utils.c module->id = (i | (index << 12)); index 385 sound/soc/intel/skylake/skl-sst-utils.c unsigned int hdr_offset, int index) index 401 sound/soc/intel/skylake/skl-sst-utils.c ret = snd_skl_parse_uuids(dsp, linfo->fw, hdr_offset, index); index 1432 sound/soc/intel/skylake/skl-topology.c u8 in_ch, out_ch, index; index 1442 sound/soc/intel/skylake/skl-topology.c index = mconfig->dmic_ch_combo_index - 1; index 1449 sound/soc/intel/skylake/skl-topology.c list = &mic_mono_list[index]; index 1456 sound/soc/intel/skylake/skl-topology.c list = mic_stereo_list[index]; index 1463 sound/soc/intel/skylake/skl-topology.c list = mic_trio_list[index]; index 1470 sound/soc/intel/skylake/skl-topology.c list = mic_quatro_list[index]; index 2885 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_widget_load(struct snd_soc_component *cmpnt, int index, index 2991 sound/soc/intel/skylake/skl-topology.c int index, index 3470 sound/soc/intel/skylake/skl-topology.c static int skl_manifest_load(struct snd_soc_component *cmpnt, int index, index 499 sound/soc/intel/skylake/skl-topology.h int skl_dai_load(struct snd_soc_component *cmp, int index, index 254 sound/soc/meson/axg-card.c int *index) index 257 sound/soc/meson/axg-card.c struct snd_soc_dai_link *pad = &card->dai_link[*index]; index 267 sound/soc/meson/axg-card.c lb = &card->dai_link[*index + 1]; index 293 sound/soc/meson/axg-card.c priv->link_data[*index + 1] = priv->link_data[*index]; index 302 sound/soc/meson/axg-card.c *index += 1; index 425 sound/soc/meson/axg-card.c int *index) index 428 sound/soc/meson/axg-card.c struct snd_soc_dai_link *link = &card->dai_link[*index]; index 436 sound/soc/meson/axg-card.c priv->link_data[*index] = be; index 457 sound/soc/meson/axg-card.c ret = axg_card_add_tdm_loopback(card, index); index 559 sound/soc/meson/axg-card.c int *index) index 561 sound/soc/meson/axg-card.c struct snd_soc_dai_link *dai_link = &card->dai_link[*index]; index 588 sound/soc/meson/axg-card.c ret = axg_card_parse_tdm(card, np, index); index 322 sound/soc/meson/axg-pdm.c static void axg_pdm_set_lpf_ctrl(struct axg_pdm *priv, unsigned int index) index 324 sound/soc/meson/axg-pdm.c const struct axg_pdm_lpf *lpf = &priv->cfg->filters->lpf[index]; index 325 sound/soc/meson/axg-pdm.c unsigned int offset = index * regmap_get_reg_stride(priv->map) index 794 sound/soc/qcom/qdsp6/q6afe.c int q6afe_get_port_id(int index) index 796 sound/soc/qcom/qdsp6/q6afe.c if (index < 0 || index >= AFE_PORT_MAX) index 799 sound/soc/qcom/qdsp6/q6afe.c return port_maps[index].port_id; index 1028 sound/soc/qcom/qdsp6/q6afe.c int index, pkt_size; index 1032 sound/soc/qcom/qdsp6/q6afe.c index = port->token; index 1033 sound/soc/qcom/qdsp6/q6afe.c if (index < 0 || index >= AFE_PORT_MAX) { index 1034 sound/soc/qcom/qdsp6/q6afe.c dev_err(afe->dev, "AFE port index[%d] invalid!\n", index); index 1052 sound/soc/qcom/qdsp6/q6afe.c pkt->hdr.token = index; index 200 sound/soc/qcom/qdsp6/q6afe.h int q6afe_get_port_id(int index); index 455 sound/soc/rockchip/rk3399_gru_sound.c int i, index; index 486 sound/soc/rockchip/rk3399_gru_sound.c index = rockchip_sound_codec_node_match(np_codec); index 487 sound/soc/rockchip/rk3399_gru_sound.c if (index < 0) index 490 sound/soc/rockchip/rk3399_gru_sound.c switch (index) { index 504 sound/soc/rockchip/rk3399_gru_sound.c rockchip_dais[index].name); index 509 sound/soc/rockchip/rk3399_gru_sound.c *dai = rockchip_dais[index]; index 516 sound/soc/rockchip/rk3399_gru_sound.c if (card->num_dapm_routes + rockchip_routes[index].num_routes > index 523 sound/soc/rockchip/rk3399_gru_sound.c rockchip_routes[index].routes, index 524 sound/soc/rockchip/rk3399_gru_sound.c rockchip_routes[index].num_routes * sizeof(*routes)); index 525 sound/soc/rockchip/rk3399_gru_sound.c card->num_dapm_routes += rockchip_routes[index].num_routes; index 1621 sound/soc/sh/rcar/core.c .index = rtd->num, index 433 sound/soc/sh/siu_dai.c .index = 0, index 443 sound/soc/sh/siu_dai.c .index = 0, index 2255 sound/soc/soc-core.c template.index = 0; index 3423 sound/soc/soc-core.c int index; index 3425 sound/soc/soc-core.c for_each_link_codecs(dai_link, index, component) { index 3455 sound/soc/soc-core.c int index, num_codecs, ret; index 3477 sound/soc/soc-core.c for_each_link_codecs(dai_link, index, component) { index 3480 sound/soc/soc-core.c index, &args); index 66 sound/soc/soc-topology.c u32 index; /* current block index */ index 231 sound/soc/soc-topology.c struct snd_soc_tplg_ctl_hdr *hdr, int index) index 235 sound/soc/soc-topology.c hdr->ops.get, hdr->ops.put, hdr->ops.info, index, index 255 sound/soc/soc-topology.c ret = tplg->ops->vendor_load(tplg->comp, tplg->index, hdr); index 287 sound/soc/soc-topology.c return tplg->ops->widget_load(tplg->comp, tplg->index, w, index 299 sound/soc/soc-topology.c return tplg->ops->widget_ready(tplg->comp, tplg->index, w, index 311 sound/soc/soc-topology.c return tplg->ops->dai_load(tplg->comp, tplg->index, dai_drv, index 322 sound/soc/soc-topology.c return tplg->ops->link_load(tplg->comp, tplg->index, link, cfg); index 687 sound/soc/soc-topology.c return tplg->ops->control_load(tplg->comp, tplg->index, k, index 882 sound/soc/soc-topology.c sm->dobj.index = tplg->index; index 1051 sound/soc/soc-topology.c se->dobj.index = tplg->index; index 1189 sound/soc/soc-topology.c return tplg->ops->dapm_route_load(tplg->comp, tplg->index, index 1224 sound/soc/soc-topology.c hdr->index); index 1283 sound/soc/soc-topology.c routes[i]->dobj.index = tplg->index; index 1360 sound/soc/soc-topology.c sm->dobj.index = tplg->index; index 1447 sound/soc/soc-topology.c se->dobj.index = tplg->index; index 1627 sound/soc/soc-topology.c template.dobj.index = tplg->index; index 1713 sound/soc/soc-topology.c widget->dobj.index = tplg->index; index 1861 sound/soc/soc-topology.c dai_drv->dobj.index = tplg->index; index 1916 sound/soc/soc-topology.c link->dobj.index = tplg->index; index 2284 sound/soc/soc-topology.c link->dobj.index = tplg->index; index 2538 sound/soc/soc-topology.c ret = tplg->ops->manifest(tplg->comp, tplg->index, _manifest); index 2611 sound/soc/soc-topology.c if (le32_to_cpu(hdr->index) != tplg->req_index && index 2615 sound/soc/soc-topology.c tplg->index = le32_to_cpu(hdr->index); index 2743 sound/soc/soc-topology.c u32 index) index 2754 sound/soc/soc-topology.c if (w->dobj.index != index && index 2755 sound/soc/soc-topology.c w->dobj.index != SND_SOC_TPLG_INDEX_ALL) index 2766 sound/soc/soc-topology.c int snd_soc_tplg_component_remove(struct snd_soc_component *comp, u32 index) index 2779 sound/soc/soc-topology.c if (dobj->index != index && index 2780 sound/soc/soc-topology.c index != SND_SOC_TPLG_INDEX_ALL) index 142 sound/soc/sof/intel/hda-dai.c if (link->index == params->link_index) index 248 sound/soc/sof/intel/hda-dai.c p_params.link_index = link->index; index 175 sound/soc/sof/intel/hda-loader.c 1 << hstream->index, index 176 sound/soc/sof/intel/hda-loader.c 1 << hstream->index); index 171 sound/soc/sof/intel/hda-pcm.c hstream->index)); index 189 sound/soc/sof/intel/hda-pcm.c hstream->index)); index 200 sound/soc/sof/intel/hda-pcm.c hstream->index, substream->stream, pos); index 140 sound/soc/sof/intel/hda-stream.c mask = (1 << hstream->index); index 145 sound/soc/sof/intel/hda-stream.c enable << hstream->index); index 261 sound/soc/sof/intel/hda-stream.c 1 << hstream->index, index 262 sound/soc/sof/intel/hda-stream.c 1 << hstream->index); index 306 sound/soc/sof/intel/hda-stream.c 1 << hstream->index, 0x0); index 339 sound/soc/sof/intel/hda-stream.c mask = 0x1 << hstream->index; index 524 sound/soc/sof/intel/hda-stream.c u32 mask = 0x1 << stream->index; index 564 sound/soc/sof/intel/hda-stream.c if (status & BIT(s->index) && s->opened) { index 568 sound/soc/sof/intel/hda-stream.c s->index, sd_status); index 718 sound/soc/sof/intel/hda-stream.c hstream->index = i; index 734 sound/soc/sof/intel/hda-stream.c (hstream->index) * 8); index 774 sound/soc/sof/intel/hda-stream.c hstream->index = i; index 791 sound/soc/sof/intel/hda-stream.c (hstream->index) * 8); index 434 sound/soc/sof/intel/hda.h (SOF_HDA_ADSP_SD_ENTRY_SIZE * ((s)->index) \ index 914 sound/soc/sof/topology.c u32 *index = NULL; index 935 sound/soc/sof/topology.c index = sdev->private; index 942 sound/soc/sof/topology.c if (index) index 943 sound/soc/sof/topology.c (*index)++; index 953 sound/soc/sof/topology.c if (!index || *index == 0) { index 959 sound/soc/sof/topology.c offset = size * (*index - 1); index 1044 sound/soc/sof/topology.c static int sof_control_load(struct snd_soc_component *scomp, int index, index 1177 sound/soc/sof/topology.c static int sof_widget_load_dai(struct snd_soc_component *scomp, int index, index 1194 sound/soc/sof/topology.c comp_dai.comp.pipeline_id = index; index 1234 sound/soc/sof/topology.c static int sof_widget_load_buffer(struct snd_soc_component *scomp, int index, index 1253 sound/soc/sof/topology.c buffer->comp.pipeline_id = index; index 1304 sound/soc/sof/topology.c static int sof_widget_load_pcm(struct snd_soc_component *scomp, int index, index 1324 sound/soc/sof/topology.c host->comp.pipeline_id = index; index 1410 sound/soc/sof/topology.c int index, struct snd_sof_widget *swidget, index 1427 sound/soc/sof/topology.c pipeline->pipeline_id = index; index 1472 sound/soc/sof/topology.c static int sof_widget_load_mixer(struct snd_soc_component *scomp, int index, index 1491 sound/soc/sof/topology.c mixer->comp.pipeline_id = index; index 1519 sound/soc/sof/topology.c static int sof_widget_load_mux(struct snd_soc_component *scomp, int index, index 1538 sound/soc/sof/topology.c mux->comp.pipeline_id = index; index 1567 sound/soc/sof/topology.c static int sof_widget_load_pga(struct snd_soc_component *scomp, int index, index 1596 sound/soc/sof/topology.c volume->comp.pipeline_id = index; index 1644 sound/soc/sof/topology.c static int sof_widget_load_src(struct snd_soc_component *scomp, int index, index 1663 sound/soc/sof/topology.c src->comp.pipeline_id = index; index 1703 sound/soc/sof/topology.c static int sof_widget_load_siggen(struct snd_soc_component *scomp, int index, index 1722 sound/soc/sof/topology.c tone->comp.pipeline_id = index; index 1830 sound/soc/sof/topology.c static int sof_process_load(struct snd_soc_component *scomp, int index, index 1891 sound/soc/sof/topology.c process->comp.pipeline_id = index; index 1961 sound/soc/sof/topology.c static int sof_widget_load_process(struct snd_soc_component *scomp, int index, index 1990 sound/soc/sof/topology.c ret = sof_process_load(scomp, index, swidget, tw, r, index 2033 sound/soc/sof/topology.c static int sof_widget_ready(struct snd_soc_component *scomp, int index, index 2053 sound/soc/sof/topology.c swidget->pipeline_id = index; index 2058 sound/soc/sof/topology.c swidget->comp_id, index, swidget->id, tw->name, index 2072 sound/soc/sof/topology.c ret = sof_widget_load_dai(scomp, index, swidget, tw, &reply, index 2083 sound/soc/sof/topology.c ret = sof_widget_load_mixer(scomp, index, swidget, tw, &reply); index 2086 sound/soc/sof/topology.c ret = sof_widget_load_pga(scomp, index, swidget, tw, &reply); index 2096 sound/soc/sof/topology.c ret = sof_widget_load_buffer(scomp, index, swidget, tw, &reply); index 2099 sound/soc/sof/topology.c ret = sof_widget_load_pipeline(scomp, index, swidget, tw, index 2103 sound/soc/sof/topology.c ret = sof_widget_load_pcm(scomp, index, swidget, index 2107 sound/soc/sof/topology.c ret = sof_widget_load_pcm(scomp, index, swidget, index 2111 sound/soc/sof/topology.c ret = sof_widget_load_src(scomp, index, swidget, tw, &reply); index 2114 sound/soc/sof/topology.c ret = sof_widget_load_siggen(scomp, index, swidget, tw, &reply); index 2117 sound/soc/sof/topology.c ret = sof_widget_load_process(scomp, index, swidget, tw, index 2122 sound/soc/sof/topology.c ret = sof_widget_load_mux(scomp, index, swidget, tw, &reply); index 2269 sound/soc/sof/topology.c static int sof_dai_load(struct snd_soc_component *scomp, int index, index 2446 sound/soc/sof/topology.c static int sof_link_ssp_load(struct snd_soc_component *scomp, int index, index 2523 sound/soc/sof/topology.c static int sof_link_sai_load(struct snd_soc_component *scomp, int index, index 2533 sound/soc/sof/topology.c static int sof_link_esai_load(struct snd_soc_component *scomp, int index, index 2543 sound/soc/sof/topology.c static int sof_link_dmic_load(struct snd_soc_component *scomp, int index, index 2730 sound/soc/sof/topology.c static int sof_link_hda_load(struct snd_soc_component *scomp, int index, index 2771 sound/soc/sof/topology.c static int sof_link_alh_load(struct snd_soc_component *scomp, int index, index 2806 sound/soc/sof/topology.c static int sof_link_load(struct snd_soc_component *scomp, int index, index 2894 sound/soc/sof/topology.c ret = sof_link_ssp_load(scomp, index, link, cfg, hw_config, index 2898 sound/soc/sof/topology.c ret = sof_link_dmic_load(scomp, index, link, cfg, hw_config, index 2902 sound/soc/sof/topology.c ret = sof_link_hda_load(scomp, index, link, cfg, hw_config, index 2906 sound/soc/sof/topology.c ret = sof_link_alh_load(scomp, index, link, cfg, hw_config, index 2910 sound/soc/sof/topology.c ret = sof_link_sai_load(scomp, index, link, cfg, hw_config, index 2914 sound/soc/sof/topology.c ret = sof_link_esai_load(scomp, index, link, cfg, hw_config, index 2991 sound/soc/sof/topology.c static int sof_route_load(struct snd_soc_component *scomp, int index, index 3209 sound/soc/sof/topology.c static int sof_manifest(struct snd_soc_component *scomp, int index, index 271 sound/soc/sti/sti_uniperif.c ctrl->index = uni->id; index 475 sound/soc/ti/davinci-evm.c int index; index 489 sound/soc/ti/davinci-evm.c index = 0; index 492 sound/soc/ti/davinci-evm.c index = 1; index 495 sound/soc/ti/davinci-evm.c index = 0; index 498 sound/soc/ti/davinci-evm.c index = 0; index 501 sound/soc/ti/davinci-evm.c index = 1; index 504 sound/soc/ti/davinci-evm.c index = 0; index 508 sound/soc/ti/davinci-evm.c evm_snd_device = platform_device_alloc("soc-audio", index); index 162 sound/sound_core.c static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_operations *fops, int index, int low, int top) index 166 sound/sound_core.c if (index < 0) { /* first free */ index 183 sound/sound_core.c n = low+(index*16); index 242 sound/sound_core.c static int sound_insert_unit(struct sound_unit **list, const struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, struct device *dev) index 252 sound/sound_core.c r = __sound_insert_unit(s, list, fops, index, low, top); index 273 sound/sound_core.c if (index < 0) { index 52 sound/sparc/amd7930.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 56 sound/sparc/amd7930.c module_param_array(index, int, NULL, 0444); index 57 sound/sparc/amd7930.c MODULE_PARM_DESC(index, "Index value for Sun AMD7930 soundcard."); index 862 sound/sparc/amd7930.c .index = 0, index 871 sound/sparc/amd7930.c .index = 0, index 880 sound/sparc/amd7930.c .index = 0, index 1024 sound/sparc/amd7930.c err = snd_card_new(&op->dev, index[dev_num], id[dev_num], index 41 sound/sparc/cs4231.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 46 sound/sparc/cs4231.c module_param_array(index, int, NULL, 0444); index 47 sound/sparc/cs4231.c MODULE_PARM_DESC(index, "Index value for Sun CS4231 soundcard."); index 1484 sound/sparc/cs4231.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), .index = (xindex), \ index 1491 sound/sparc/cs4231.c { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), .index = (xindex), \ index 1574 sound/sparc/cs4231.c err = snd_card_new(&op->dev, index[dev], id[dev], THIS_MODULE, index 81 sound/sparc/dbri.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 86 sound/sparc/dbri.c module_param_array(index, int, NULL, 0444); index 87 sound/sparc/dbri.c MODULE_PARM_DESC(index, "Index value for Sun DBRI soundcard."); index 2619 sound/sparc/dbri.c err = snd_card_new(&op->dev, index[dev], id[dev], THIS_MODULE, index 648 sound/spi/at73c213.c .index = xindex, \ index 659 sound/spi/at73c213.c .index = xindex, \ index 678 sound/spi/at73c213.c .index = 0, index 691 sound/spi/at73c213.c .index = 0, index 702 sound/spi/at73c213.c .index = 0, index 77 sound/synth/emux/emux.c int snd_emux_register(struct snd_emux *emu, struct snd_card *card, int index, char *name) index 112 sound/synth/emux/emux.c snd_emux_init_seq(emu, card, index); index 118 sound/synth/emux/emux.c snd_emux_proc_init(emu, card, index); index 55 sound/synth/emux/emux_seq.c snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index) index 61 sound/synth/emux/emux_seq.c emu->client = snd_seq_create_kernel_client(card, index, index 18 sound/synth/emux/emux_voice.h int snd_emux_init_seq(struct snd_emux *emu, struct snd_card *card, int index); index 1166 sound/synth/emux/soundfont.c int index; index 1184 sound/synth/emux/soundfont.c if ((index = get_index(cur->bank, cur->instr, cur->v.low)) < 0) index 1187 sound/synth/emux/soundfont.c cur->next_instr = sflist->presets[index]; /* preset table link */ index 1188 sound/synth/emux/soundfont.c sflist->presets[index] = cur; index 1197 sound/synth/emux/soundfont.c int index; index 1200 sound/synth/emux/soundfont.c if ((index = get_index(zp->bank, zp->instr, zp->v.low)) < 0) index 1202 sound/synth/emux/soundfont.c for (p = sflist->presets[index]; p; p = p->next_instr) { index 1257 sound/synth/emux/soundfont.c int index; index 1260 sound/synth/emux/soundfont.c if ((index = get_index(bank, preset, key)) < 0) index 1262 sound/synth/emux/soundfont.c for (zp = sflist->presets[index]; zp; zp = zp->next_instr) { index 1321 sound/synth/emux/soundfont.c int index; index 1323 sound/synth/emux/soundfont.c index = key + SF_MAX_INSTRUMENTS; index 1325 sound/synth/emux/soundfont.c index = instr; index 1326 sound/synth/emux/soundfont.c index = index % SF_MAX_PRESETS; index 1327 sound/synth/emux/soundfont.c if (index < 0) index 1329 sound/synth/emux/soundfont.c return index; index 31 sound/usb/6fire/chip.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ index 37 sound/usb/6fire/chip.c module_param_array(index, int, NULL, 0444); index 38 sound/usb/6fire/chip.c MODULE_PARM_DESC(index, "Index value for the 6fire sound device"); index 123 sound/usb/6fire/chip.c ret = snd_card_new(&intf->dev, index[regidx], id[regidx], index 404 sound/usb/6fire/control.c .index = 0, index 416 sound/usb/6fire/control.c .index = 1, index 428 sound/usb/6fire/control.c .index = 2, index 444 sound/usb/6fire/control.c .index = 0, index 454 sound/usb/6fire/control.c .index = 1, index 464 sound/usb/6fire/control.c .index = 2, index 478 sound/usb/6fire/control.c .index = 0, index 487 sound/usb/6fire/control.c .index = 0, index 496 sound/usb/6fire/control.c .index = 0, index 505 sound/usb/6fire/control.c .index = 0, index 60 sound/usb/bcd2000/bcd2000.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 382 sound/usb/bcd2000/bcd2000.c err = snd_card_new(&interface->dev, index[card_index], id[card_index], index 195 sound/usb/caiaq/audio.c int index = substream->number; index 216 sound/usb/caiaq/audio.c cdev->period_out_count[index] = out_pos; index 217 sound/usb/caiaq/audio.c cdev->audio_out_buf_pos[index] = out_pos; index 234 sound/usb/caiaq/audio.c cdev->period_in_count[index] = in_pos; index 235 sound/usb/caiaq/audio.c cdev->audio_in_buf_pos[index] = in_pos; index 304 sound/usb/caiaq/audio.c int index = sub->number; index 317 sound/usb/caiaq/audio.c cdev->audio_out_buf_pos[index]); index 320 sound/usb/caiaq/audio.c cdev->audio_in_buf_pos[index]); index 679 sound/usb/caiaq/audio.c clear_bit(oinfo->index, &cdev->outurb_active_mask); index 704 sound/usb/caiaq/audio.c clear_bit(info->index, &cdev->outurb_active_mask); index 859 sound/usb/caiaq/audio.c cdev->data_cb_info[i].index = i; index 154 sound/usb/caiaq/control.c .index = 0, index 163 sound/usb/caiaq/control.c int index; index 579 sound/usb/caiaq/control.c kcontrol_template.private_value = c->index; index 44 sound/usb/caiaq/device.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ index 48 sound/usb/caiaq/device.c module_param_array(index, int, NULL, 0444); index 49 sound/usb/caiaq/device.c MODULE_PARM_DESC(index, "Index value for the caiaq sound device"); index 410 sound/usb/caiaq/device.c index[devnum], id[devnum], THIS_MODULE, index 120 sound/usb/caiaq/device.h int index; index 65 sound/usb/card.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ index 78 sound/usb/card.c module_param_array(index, int, NULL, 0444); index 79 sound/usb/card.c MODULE_PARM_DESC(index, "Index value for the USB audio adapter."); index 462 sound/usb/card.c err = snd_card_new(&intf->dev, index[idx], id[idx], THIS_MODULE, index 472 sound/usb/card.c chip->index = idx; index 672 sound/usb/card.c usb_chip[chip->index] = chip; index 747 sound/usb/card.c usb_chip[chip->index] = NULL; index 48 sound/usb/card.h int index; /* index for urb array */ index 346 sound/usb/endpoint.c ctx->index, err, ctx->urb); index 348 sound/usb/endpoint.c set_bit(ctx->index, &ep->active_mask); index 414 sound/usb/endpoint.c clear_bit(ctx->index, &ep->active_mask); index 763 sound/usb/endpoint.c u->index = i; index 808 sound/usb/endpoint.c u->index = i; index 85 sound/usb/helper.c __u8 requesttype, __u16 value, __u16 index, void *data, index 107 sound/usb/helper.c value, index, buf, size, timeout); index 115 sound/usb/helper.c value, index, data, size); index 12 sound/usb/helper.h __u8 request, __u8 requesttype, __u16 value, __u16 index, index 42 sound/usb/hiface/chip.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ index 49 sound/usb/hiface/chip.c module_param_array(index, int, NULL, 0444); index 50 sound/usb/hiface/chip.c MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); index 76 sound/usb/hiface/chip.c ret = snd_card_new(&intf->dev, index[idx], id[idx], THIS_MODULE, index 23 sound/usb/line6/capture.c int index; index 28 sound/usb/line6/capture.c index = find_first_zero_bit(&line6pcm->in.active_urbs, index 31 sound/usb/line6/capture.c if (index < 0 || index >= line6pcm->line6->iso_buffers) { index 36 sound/usb/line6/capture.c urb_in = line6pcm->in.urbs[index]; index 49 sound/usb/line6/capture.c index * LINE6_ISO_PACKETS * line6pcm->max_packet_size_in; index 56 sound/usb/line6/capture.c set_bit(index, &line6pcm->in.active_urbs); index 59 sound/usb/line6/capture.c "URB in #%d submission failed (%d)\n", index, ret); index 147 sound/usb/line6/capture.c int i, index, length = 0, shutdown = 0; index 155 sound/usb/line6/capture.c for (index = 0; index < line6pcm->line6->iso_buffers; ++index) index 156 sound/usb/line6/capture.c if (urb == line6pcm->in.urbs[index]) index 202 sound/usb/line6/capture.c clear_bit(index, &line6pcm->in.active_urbs); index 204 sound/usb/line6/capture.c if (test_and_clear_bit(index, &line6pcm->in.unlink_urbs)) index 142 sound/usb/line6/playback.c int index; index 155 sound/usb/line6/playback.c index = find_first_zero_bit(&line6pcm->out.active_urbs, index 158 sound/usb/line6/playback.c if (index < 0 || index >= line6pcm->line6->iso_buffers) { index 163 sound/usb/line6/playback.c urb_out = line6pcm->out.urbs[index]; index 199 sound/usb/line6/playback.c index * LINE6_ISO_PACKETS * line6pcm->max_packet_size_out; index 274 sound/usb/line6/playback.c set_bit(index, &line6pcm->out.active_urbs); index 277 sound/usb/line6/playback.c "URB out #%d submission failed (%d)\n", index, ret); index 304 sound/usb/line6/playback.c int i, index, length = 0, shutdown = 0; index 320 sound/usb/line6/playback.c for (index = 0; index < line6pcm->line6->iso_buffers; index++) index 321 sound/usb/line6/playback.c if (urb == line6pcm->out.urbs[index]) index 324 sound/usb/line6/playback.c if (index >= line6pcm->line6->iso_buffers) index 342 sound/usb/line6/playback.c clear_bit(index, &line6pcm->out.active_urbs); index 350 sound/usb/line6/playback.c if (test_and_clear_bit(index, &line6pcm->out.unlink_urbs)) index 355 sound/usb/line6/pod.c .index = 0, index 247 sound/usb/line6/toneport.c .index = 0, index 258 sound/usb/line6/toneport.c .index = 0, index 43 sound/usb/misc/ua101.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; index 48 sound/usb/misc/ua101.c module_param_array(index, int, NULL, 0444); index 49 sound/usb/misc/ua101.c MODULE_PARM_DESC(index, "card index"); index 1225 sound/usb/misc/ua101.c index[card_index], id[card_index], THIS_MODULE, index 151 sound/usb/mixer.c int index, char *buf, int buflen) index 158 sound/usb/mixer.c if (p->id == unitid && index < p->count) index 159 sound/usb/mixer.c return strlcpy(buf, p->names[index], buflen); index 189 sound/usb/mixer.c int index, char *buf, int maxlen) index 191 sound/usb/mixer.c int len = usb_string(chip->dev, index, buf, maxlen - 1); index 422 sound/usb/mixer.c int channel, int index, int *value) index 427 sound/usb/mixer.c *value = cval->cache_val[index]; index 439 sound/usb/mixer.c cval->cache_val[index] = *value; index 510 sound/usb/mixer.c int index, int value) index 530 sound/usb/mixer.c cval->cache_val[index] = value; index 586 sound/usb/mixer.c kctl->id.index++; index 3260 sound/usb/mixer.c list->kctl->id.index); index 3269 sound/usb/mixer.c int attribute, int value, int index) index 3272 sound/usb/mixer.c __u8 unitid = (index >> 8) & 0xff; index 122 sound/usb/mixer.h int index, int value); index 125 sound/usb/mixer.h int channel, int index, int *value); index 296 sound/usb/mixer_quirks.c int value, int index) index 320 sound/usb/mixer_quirks.c value, index + 2, NULL, 0); index 330 sound/usb/mixer_quirks.c int index = kcontrol->private_value & 0xff; index 339 sound/usb/mixer_quirks.c kcontrol->private_value = (value << 8) | index; index 340 sound/usb/mixer_quirks.c err = snd_audigy2nx_led_update(mixer, value, index); index 708 sound/usb/mixer_quirks.c .index = 0, index 965 sound/usb/mixer_quirks.c .index = 0, index 529 sound/usb/mixer_scarlett.c int index, int offset, int num, index 547 sound/usb/mixer_scarlett.c elem->head.id = index; index 575 sound/usb/mixer_scarlett.c int index, const char *name, index 584 sound/usb/mixer_scarlett.c index + 1, name); index 587 sound/usb/mixer_scarlett.c 2*index+1, USB_MIXER_S16, 2, mx, NULL, &elem); index 593 sound/usb/mixer_scarlett.c index + 1, name); index 596 sound/usb/mixer_scarlett.c 2*index+1, USB_MIXER_S16, 2, mx, NULL, &elem); index 602 sound/usb/mixer_scarlett.c index + 1, name); index 605 sound/usb/mixer_scarlett.c 2*index, USB_MIXER_S16, 1, mx, &info->opt_master, index 612 sound/usb/mixer_scarlett.c index + 1, name); index 615 sound/usb/mixer_scarlett.c 2*index+1, USB_MIXER_S16, 1, mx, &info->opt_master, index 711 sound/usb/mixer_scarlett_gen2.c int config_item_num, int index, int value) index 728 sound/usb/mixer_scarlett_gen2.c req.offset = cpu_to_le32(config_item.offset + index * config_item.size); index 941 sound/usb/mixer_scarlett_gen2.c int index, int channels, const char *name, index 953 sound/usb/mixer_scarlett_gen2.c elem->control = index; index 954 sound/usb/mixer_scarlett_gen2.c elem->head.id = index; index 1047 sound/usb/mixer_scarlett_gen2.c int index = elem->control; index 1055 sound/usb/mixer_scarlett_gen2.c ucontrol->value.integer.value[0] = private->vol[index]; index 1065 sound/usb/mixer_scarlett_gen2.c int index = elem->control; index 1070 sound/usb/mixer_scarlett_gen2.c oval = private->vol[index]; index 1076 sound/usb/mixer_scarlett_gen2.c private->vol[index] = val; index 1078 sound/usb/mixer_scarlett_gen2.c index, val - SCARLETT2_VOLUME_BIAS); index 1144 sound/usb/mixer_scarlett_gen2.c int index = elem->control; index 1149 sound/usb/mixer_scarlett_gen2.c oval = private->vol_sw_hw_switch[index]; index 1155 sound/usb/mixer_scarlett_gen2.c private->vol_sw_hw_switch[index] = val; index 1161 sound/usb/mixer_scarlett_gen2.c private->vol_ctls[index]->vd[0].access &= index 1164 sound/usb/mixer_scarlett_gen2.c private->vol_ctls[index]->vd[0].access |= index 1168 sound/usb/mixer_scarlett_gen2.c private->vol[index] = private->master_vol; index 1173 sound/usb/mixer_scarlett_gen2.c index, private->master_vol - SCARLETT2_VOLUME_BIAS); index 1179 sound/usb/mixer_scarlett_gen2.c &private->vol_ctls[index]->id); index 1183 sound/usb/mixer_scarlett_gen2.c index, val); index 1228 sound/usb/mixer_scarlett_gen2.c int index = elem->control; index 1233 sound/usb/mixer_scarlett_gen2.c oval = private->level_switch[index]; index 1239 sound/usb/mixer_scarlett_gen2.c private->level_switch[index] = val; index 1243 sound/usb/mixer_scarlett_gen2.c index, val); index 1278 sound/usb/mixer_scarlett_gen2.c int index = elem->control; index 1283 sound/usb/mixer_scarlett_gen2.c oval = private->pad_switch[index]; index 1289 sound/usb/mixer_scarlett_gen2.c private->pad_switch[index] = val; index 1293 sound/usb/mixer_scarlett_gen2.c index, val); index 1334 sound/usb/mixer_scarlett_gen2.c int index = elem->control; index 1339 sound/usb/mixer_scarlett_gen2.c oval = private->buttons[index]; index 1345 sound/usb/mixer_scarlett_gen2.c private->buttons[index] = val; index 1349 sound/usb/mixer_scarlett_gen2.c index, val); index 1542 sound/usb/mixer_scarlett_gen2.c int index; index 1548 sound/usb/mixer_scarlett_gen2.c for (i = 0, index = 0; i < num_outputs; i++) { index 1549 sound/usb/mixer_scarlett_gen2.c for (j = 0; j < num_inputs; j++, index++) { index 1554 sound/usb/mixer_scarlett_gen2.c index, 1, s, NULL); index 1613 sound/usb/mixer_scarlett_gen2.c int index = elem->control; index 1618 sound/usb/mixer_scarlett_gen2.c oval = private->mux[index]; index 1625 sound/usb/mixer_scarlett_gen2.c private->mux[index] = val; index 184 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 187 sound/usb/mixer_us16x08.c ucontrol->value.enumerated.item[0] = elem->cache_val[index]; index 197 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 224 sound/usb/mixer_us16x08.c buf[13] = index + 1; index 229 sound/usb/mixer_us16x08.c elem->cached |= 1 << index; index 230 sound/usb/mixer_us16x08.c elem->cache_val[index] = val; index 253 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 255 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = elem->cache_val[index]; index 267 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 284 sound/usb/mixer_us16x08.c buf[5] = index + 1; index 288 sound/usb/mixer_us16x08.c elem->cached |= 1 << index; index 289 sound/usb/mixer_us16x08.c elem->cache_val[index] = val; index 363 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 365 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = elem->cache_val[index]; index 377 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 392 sound/usb/mixer_us16x08.c buf[5] = index + 1; index 397 sound/usb/mixer_us16x08.c elem->cached |= 1 << index; index 398 sound/usb/mixer_us16x08.c elem->cache_val[index] = val; index 422 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 425 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = store->val[val_idx][index]; index 436 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 451 sound/usb/mixer_us16x08.c store->val[val_idx][index] = ucontrol->value.integer.value[0]; index 458 sound/usb/mixer_us16x08.c COMP_STORE_IDX(SND_US16X08_ID_COMP_THRESHOLD)][index] index 461 sound/usb/mixer_us16x08.c COMP_STORE_IDX(SND_US16X08_ID_COMP_RATIO)][index]]; index 462 sound/usb/mixer_us16x08.c buf[14] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_ATTACK)][index] index 464 sound/usb/mixer_us16x08.c buf[17] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_RELEASE)][index] index 466 sound/usb/mixer_us16x08.c buf[20] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_GAIN)][index]; index 467 sound/usb/mixer_us16x08.c buf[26] = store->val[COMP_STORE_IDX(SND_US16X08_ID_COMP_SWITCH)][index]; index 470 sound/usb/mixer_us16x08.c buf[5] = index + 1; index 475 sound/usb/mixer_us16x08.c elem->cached |= 1 << index; index 476 sound/usb/mixer_us16x08.c elem->cache_val[index] = val; index 490 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 494 sound/usb/mixer_us16x08.c [EQ_STORE_PARAM_IDX(elem->head.id)][index]; index 506 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 518 sound/usb/mixer_us16x08.c buf[5] = index + 1; index 522 sound/usb/mixer_us16x08.c buf[17] = store->val[b_idx][2][index]; index 523 sound/usb/mixer_us16x08.c buf[14] = store->val[b_idx][1][index]; index 524 sound/usb/mixer_us16x08.c buf[11] = store->val[b_idx][0][index]; index 529 sound/usb/mixer_us16x08.c store->val[b_idx][3][index] = val; index 534 sound/usb/mixer_us16x08.c elem->cached |= 1 << index; index 535 sound/usb/mixer_us16x08.c elem->cache_val[index] = val; index 549 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 553 sound/usb/mixer_us16x08.c val = store->val[b_idx][p_idx][index]; index 566 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; index 582 sound/usb/mixer_us16x08.c store->val[b_idx][p_idx][index] = val; index 583 sound/usb/mixer_us16x08.c buf[20] = store->val[b_idx][3][index]; index 584 sound/usb/mixer_us16x08.c buf[17] = store->val[b_idx][2][index]; index 585 sound/usb/mixer_us16x08.c buf[14] = store->val[b_idx][1][index]; index 586 sound/usb/mixer_us16x08.c buf[11] = store->val[b_idx][0][index]; index 589 sound/usb/mixer_us16x08.c buf[5] = index + 1; index 598 sound/usb/mixer_us16x08.c elem->cached |= 1 << index; index 599 sound/usb/mixer_us16x08.c elem->cache_val[index] = val; index 1044 sound/usb/mixer_us16x08.c int index, int val_type, int channels, index 1063 sound/usb/mixer_us16x08.c elem->head.id = index; index 1566 sound/usb/quirks.c __u16 index, void *data, __u16 size) index 41 sound/usb/quirks.h __u16 index, void *data, __u16 size); index 23 sound/usb/usbaudio.h int index; index 24 sound/usb/usx2y/us122l.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ index 29 sound/usb/usx2y/us122l.c module_param_array(index, int, NULL, 0444); index 30 sound/usb/usx2y/us122l.c MODULE_PARM_DESC(index, "Index value for "NAME_ALLCAPS"."); index 91 sound/usb/usx2y/us122l.c __u16 value, __u16 index, void *data, index 103 sound/usb/usx2y/us122l.c value, index, buf, size, timeout); index 512 sound/usb/usx2y/us122l.c int index = us122l->card_index; index 513 sound/usb/usx2y/us122l.c if (index >= 0 && index < SNDRV_CARDS) index 514 sound/usb/usx2y/us122l.c snd_us122l_card_used[index] = 0; index 531 sound/usb/usx2y/us122l.c err = snd_card_new(&intf->dev, index[dev], id[dev], THIS_MODULE, index 207 sound/usb/usx2y/usX2Yhwdep.c if (dsp->index == 1) { index 142 sound/usb/usx2y/usbusx2y.c static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ index 146 sound/usb/usx2y/usbusx2y.c module_param_array(index, int, NULL, 0444); index 147 sound/usb/usx2y/usbusx2y.c MODULE_PARM_DESC(index, "Index value for "NAME_ALLCAPS"."); index 340 sound/usb/usx2y/usbusx2y.c err = snd_card_new(&intf->dev, index[dev], id[dev], THIS_MODULE, index 46 sound/x86/intel_hdmi_audio.c module_param_named(index, hdmi_card_index, int, 0444); index 47 sound/x86/intel_hdmi_audio.c MODULE_PARM_DESC(index, index 36 sound/xen/xen_snd_front_alsa.c int index; index 378 sound/xen/xen_snd_front_alsa.c stream->evt_pair = &front_info->evt_pairs[stream->index]; index 498 sound/xen/xen_snd_front_alsa.c stream->index); index 765 sound/xen/xen_snd_front_alsa.c pcm_instance_info->streams_pb[i].index = index 766 sound/xen/xen_snd_front_alsa.c instance_cfg->streams_pb[i].index; index 772 sound/xen/xen_snd_front_alsa.c pcm_instance_info->streams_cap[i].index = index 773 sound/xen/xen_snd_front_alsa.c instance_cfg->streams_cap[i].index; index 291 sound/xen/xen_snd_front_cfg.c static int cfg_get_stream_type(const char *path, int index, index 300 sound/xen/xen_snd_front_cfg.c stream_path = kasprintf(GFP_KERNEL, "%s/%d", path, index); index 333 sound/xen/xen_snd_front_cfg.c const char *path, int index, int *cur_pb, int *cur_cap, index 342 sound/xen/xen_snd_front_cfg.c GFP_KERNEL, "%s/%d", path, index); index 367 sound/xen/xen_snd_front_cfg.c stream->index = (*stream_cnt)++; index 20 sound/xen/xen_snd_front_cfg.h int index; index 198 sound/xen/xen_snd_front_evtchnl.c static int evtchnl_alloc(struct xen_snd_front_info *front_info, int index, index 211 sound/xen/xen_snd_front_evtchnl.c channel->index = index; index 310 sound/xen/xen_snd_front_evtchnl.c int s, index; index 315 sound/xen/xen_snd_front_evtchnl.c index = pcm_instance->streams_pb[s].index; index 317 sound/xen/xen_snd_front_evtchnl.c ret = evtchnl_alloc(front_info, index, index 318 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].req, index 325 sound/xen/xen_snd_front_evtchnl.c ret = evtchnl_alloc(front_info, index, index 326 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].evt, index 335 sound/xen/xen_snd_front_evtchnl.c index = pcm_instance->streams_cap[s].index; index 337 sound/xen/xen_snd_front_evtchnl.c ret = evtchnl_alloc(front_info, index, index 338 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].req, index 345 sound/xen/xen_snd_front_evtchnl.c ret = evtchnl_alloc(front_info, index, index 346 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].evt, index 404 sound/xen/xen_snd_front_evtchnl.c int s, index; index 409 sound/xen/xen_snd_front_evtchnl.c index = pcm_instance->streams_pb[s].index; index 412 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].req, index 420 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].evt, index 429 sound/xen/xen_snd_front_evtchnl.c index = pcm_instance->streams_cap[s].index; index 432 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].req, index 440 sound/xen/xen_snd_front_evtchnl.c &front_info->evt_pairs[index].evt, index 45 sound/xen/xen_snd_front_evtchnl.h int index; index 421 tools/arch/powerpc/include/uapi/asm/kvm.h __u32 index; index 176 tools/arch/x86/include/uapi/asm/kvm.h __u32 index; index 214 tools/arch/x86/include/uapi/asm/kvm.h __u32 index; index 588 tools/bpf/bpf_dbg.c unsigned int index = bpf_regs_len - 1 + off; index 590 tools/bpf/bpf_dbg.c if (index == 0) { index 593 tools/bpf/bpf_dbg.c } else if (index < bpf_regs_len) { index 594 tools/bpf/bpf_dbg.c memcpy(&bpf_curr, &bpf_regs[index], sizeof(bpf_curr)); index 595 tools/bpf/bpf_dbg.c bpf_regs_len = index; index 647 tools/firewire/nosy-dump.c uint32_t index, shift, mask; index 649 tools/firewire/nosy-dump.c index = offset / 32 + 1; index 653 tools/firewire/nosy-dump.c return (data[index] >> shift) & mask; index 396 tools/hv/hv_kvp_daemon.c static int kvp_pool_enumerate(int pool, int index, __u8 *key, int key_size, index 407 tools/hv/hv_kvp_daemon.c if (index >= kvp_file_info[pool].num_records) { index 411 tools/hv/hv_kvp_daemon.c memcpy(key, record[index].key, key_size); index 412 tools/hv/hv_kvp_daemon.c memcpy(value, record[index].value, value_size); index 1560 tools/hv/hv_kvp_daemon.c hv_msg->body.kvp_enum_data.index, index 1572 tools/hv/hv_kvp_daemon.c switch (hv_msg->body.kvp_enum_data.index) { index 296 tools/iio/iio_utils.c if (ci_array[y].index > ci_array[y + 1].index) { index 465 tools/iio/iio_utils.c if (fscanf(sysfsfp, "%u", ¤t->index) != 1) { index 42 tools/iio/iio_utils.h unsigned index; index 47 tools/include/uapi/linux/erspan.h __be32 index; /* Version 1 (type II)*/ index 514 tools/include/uapi/linux/perf_event.h __u32 index; /* hardware event identifier */ index 77 tools/include/uapi/linux/pkt_cls.h __u32 index; index 108 tools/include/uapi/linux/pkt_cls.h __u32 index; \ index 139 tools/include/uapi/sound/asound.h unsigned int index; /* W: DSP index */ index 891 tools/include/uapi/sound/asound.h unsigned int index; /* index of item */ index 143 tools/io_uring/io_uring-bench.c static void init_io(struct submitter *s, unsigned index) index 145 tools/io_uring/io_uring-bench.c struct io_uring_sqe *sqe = &s->sqes[index]; index 180 tools/io_uring/io_uring-bench.c sqe->addr = (unsigned long) s->iovecs[index].iov_base; index 182 tools/io_uring/io_uring-bench.c sqe->buf_index = index; index 185 tools/io_uring/io_uring-bench.c sqe->addr = (unsigned long) &s->iovecs[index]; index 197 tools/io_uring/io_uring-bench.c unsigned index, tail, next_tail, prepped = 0; index 206 tools/io_uring/io_uring-bench.c index = tail & sq_ring_mask; index 207 tools/io_uring/io_uring-bench.c init_io(s, index); index 208 tools/io_uring/io_uring-bench.c ring->array[index] = index; index 19 tools/lib/traceevent/event-parse-api.c struct tep_event *tep_get_event(struct tep_handle *tep, int index) index 21 tools/lib/traceevent/event-parse-api.c if (tep && tep->events && index < tep->nr_events) index 22 tools/lib/traceevent/event-parse-api.c return tep->events[index]; index 914 tools/lib/traceevent/event-parse.c free(arg->dynarray.index); index 2780 tools/lib/traceevent/event-parse.c arg->dynarray.index = 0; index 2837 tools/lib/traceevent/event-parse.c arg->dynarray.index = 0; index 3893 tools/lib/traceevent/event-parse.c int index; index 3917 tools/lib/traceevent/event-parse.c index = size - (len + 1); index 3919 tools/lib/traceevent/event-parse.c index = len; index 3921 tools/lib/traceevent/event-parse.c snprintf(buf, 3, "%02x", *((unsigned char *)data + index)); index 218 tools/lib/traceevent/event-parse.h struct tep_print_arg *index; index 444 tools/lib/traceevent/event-parse.h struct tep_event *tep_get_event(struct tep_handle *tep, int index); index 49 tools/lib/traceevent/kbuffer-parse.c unsigned int index; index 310 tools/lib/traceevent/kbuffer-parse.c kbuf->index = kbuf->size; index 324 tools/lib/traceevent/kbuffer-parse.c kbuf->index = calc_index(kbuf, ptr); index 325 tools/lib/traceevent/kbuffer-parse.c kbuf->next = kbuf->index + length; index 401 tools/lib/traceevent/kbuffer-parse.c kbuf->index = calc_index(kbuf, ptr); index 402 tools/lib/traceevent/kbuffer-parse.c kbuf->next = kbuf->index + length; index 493 tools/lib/traceevent/kbuffer-parse.c return kbuf->data + kbuf->index; index 541 tools/lib/traceevent/kbuffer-parse.c kbuf->index = 0; index 567 tools/lib/traceevent/kbuffer-parse.c return kbuf->data + kbuf->index; index 671 tools/lib/traceevent/kbuffer-parse.c return kbuf->next - kbuf->index; index 35 tools/lib/traceevent/parse-filter.c unsigned long long index; index 42 tools/lib/traceevent/parse-filter.c index = tep_get_input_buf_ptr(); index 48 tools/lib/traceevent/parse-filter.c for (i = 1; i < len && i < index; i++) index 134 tools/lib/traceevent/plugins/plugin_function.c int index = 0; index 147 tools/lib/traceevent/plugins/plugin_function.c index = add_and_get_index(parent, func, record->cpu); index 149 tools/lib/traceevent/plugins/plugin_function.c trace_seq_printf(s, "%*s", index*3, ""); index 24 tools/perf/arch/arm64/util/dwarf-regs.c #define DWARFNUM2OFFSET(index) \ index 25 tools/perf/arch/arm64/util/dwarf-regs.c (index * sizeof((struct user_pt_regs *)0)->regs[0]) index 57 tools/perf/arch/x86/tests/rdpmc.c idx = pc->index; index 48 tools/perf/include/bpf/bpf.h static void (*bpf_tail_call)(void *ctx, void *map, int index) = (void *)BPF_FUNC_tail_call; index 222 tools/perf/jvmti/libjvmti.c int index; index 225 tools/perf/jvmti/libjvmti.c for (index = 0; index < nr_lines; ++index) { index 226 tools/perf/jvmti/libjvmti.c ret = get_source_filename(jvmti, line_tab[index].methodID, &(file_names[index])); index 26 tools/perf/tests/llvm.h enum test_llvm__testcase index, bool force, index 149 tools/perf/trace/beauty/ioctl.c const int index = type - ioctl_types[0].type; index 151 tools/perf/trace/beauty/ioctl.c if (ioctl_types[index].scnprintf != NULL) index 152 tools/perf/trace/beauty/ioctl.c return ioctl_types[index].scnprintf(nr, dir, bf, size); index 191 tools/perf/ui/browser.c return browser->top_idx + row == browser->index; index 258 tools/perf/ui/browser.c browser->index = browser->top_idx = 0; index 317 tools/perf/ui/browser.c pct = ((browser->index * (browser->height - 1)) / index 378 tools/perf/ui/browser.c browser->index += offset; index 424 tools/perf/ui/browser.c if (browser->index == browser->nr_entries - 1) index 426 tools/perf/ui/browser.c ++browser->index; index 427 tools/perf/ui/browser.c if (browser->index == browser->top_idx + browser->rows) { index 433 tools/perf/ui/browser.c if (browser->index == 0) index 435 tools/perf/ui/browser.c --browser->index; index 436 tools/perf/ui/browser.c if (browser->index < browser->top_idx) { index 459 tools/perf/ui/browser.c if (browser->index + offset > browser->nr_entries - 1) index 460 tools/perf/ui/browser.c offset = browser->nr_entries - 1 - browser->index; index 461 tools/perf/ui/browser.c browser->index += offset; index 474 tools/perf/ui/browser.c browser->index -= offset; index 486 tools/perf/ui/browser.c browser->index = browser->nr_entries - 1; index 487 tools/perf/ui/browser.c browser->top_idx = browser->index - offset; index 18 tools/perf/ui/browser.h u64 index, top_idx; index 273 tools/perf/ui/browsers/annotate.c browser->b.top_idx = browser->b.index = idx; index 350 tools/perf/ui/browsers/annotate.c off_t offset = browser->b.index - browser->b.top_idx; index 363 tools/perf/ui/browsers/annotate.c browser->b.index = al->idx; index 378 tools/perf/ui/browsers/annotate.c browser->b.index = al->idx_asm; index 493 tools/perf/ui/browsers/annotate.c *idx = browser->b.index; index 530 tools/perf/ui/browsers/annotate.c *idx = browser->b.index; index 805 tools/perf/ui/browsers/annotate.c browser->b.index, index 119 tools/perf/ui/browsers/hists.c index_row = browser->index - browser->top_idx; index 121 tools/perf/ui/browsers/hists.c browser->index -= index_row - browser->rows + 1; index 683 tools/perf/ui/browsers/hists.c browser->b.index, index 68 tools/perf/ui/browsers/map.c browser->b.index = browser->b.top_idx = *idx; index 29 tools/perf/ui/browsers/scripts.c int index; index 52 tools/perf/ui/browsers/scripts.c c->names[c->index] = name; index 53 tools/perf/ui/browsers/scripts.c if (asprintf(&c->paths[c->index], index 58 tools/perf/ui/browsers/scripts.c c->index++; index 68 tools/perf/ui/browsers/scripts.c if (c->index >= SCRIPT_MAX_NO) index 70 tools/perf/ui/browsers/scripts.c c->names[c->index] = strdup(var + 7); index 71 tools/perf/ui/browsers/scripts.c if (!c->names[c->index]) index 73 tools/perf/ui/browsers/scripts.c if (asprintf(&c->paths[c->index], "%s %s", value, index 76 tools/perf/ui/browsers/scripts.c c->index++; index 115 tools/perf/ui/browsers/scripts.c custom_perf = scriptc.index; index 117 tools/perf/ui/browsers/scripts.c i = scriptc.index; index 39 tools/perf/ui/tui/util.c key = menu->index; index 149 tools/perf/util/arm-spe-pkt-decoder.c packet->index = ret - 1; index 165 tools/perf/util/arm-spe-pkt-decoder.c packet->index = buf[0] & 0x3; index 174 tools/perf/util/arm-spe-pkt-decoder.c packet->index = buf[0] & 0x3; index 186 tools/perf/util/arm-spe-pkt-decoder.c packet->index = ((buf[0] & 0x3) << 3) | (buf[1] & 0x7); index 188 tools/perf/util/arm-spe-pkt-decoder.c packet->index = buf[0] & 0x7; index 203 tools/perf/util/arm-spe-pkt-decoder.c packet->index = ((buf[0] & 0x3) << 3) | (buf[1] & 0x7); index 205 tools/perf/util/arm-spe-pkt-decoder.c packet->index = buf[0] & 0x7; index 277 tools/perf/util/arm-spe-pkt-decoder.c int ret, ns, el, idx = packet->index; index 461 tools/perf/util/arm-spe-pkt-decoder.c name, payload, packet->index); index 33 tools/perf/util/arm-spe-pkt-decoder.h unsigned char index; index 1611 tools/perf/util/probe-event.c (*fieldp)->index = strtol(str + 1, &tmp, 0); index 2273 tools/perf/util/probe-event.c (*ppfield)->index = field->index; index 76 tools/perf/util/probe-event.h long index; /* Array index number */ index 439 tools/perf/util/probe-finder.c ref->offset += dwarf_bytesize(&type) * field->index; index 348 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c acpi_os_get_table_by_index(u32 index, index 365 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c if (index >= gbl_table_count) { index 372 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c for (i = 0; i < index; i++) { index 14 tools/power/x86/intel-speed-select/isst-display.c int i, first, curr_index, index; index 27 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], index 29 tools/power/x86/intel-speed-select/isst-display.c curr_index += index; index 31 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], str_len - curr_index, "%d", index 33 tools/power/x86/intel-speed-select/isst-display.c curr_index += index; index 43 tools/power/x86/intel-speed-select/isst-display.c int size, index, curr_index; index 66 tools/power/x86/intel-speed-select/isst-display.c index = snprintf(&str[curr_index], str_len - curr_index, "%08x", index 68 tools/power/x86/intel-speed-select/isst-display.c curr_index += index; index 56 tools/testing/radix-tree/benchmark.c unsigned long index; index 61 tools/testing/radix-tree/benchmark.c for (index = 0 ; index < size ; index += step) index 62 tools/testing/radix-tree/benchmark.c item_insert(root, index); index 77 tools/testing/radix-tree/benchmark.c unsigned long index; index 82 tools/testing/radix-tree/benchmark.c for (index = 0 ; index < size ; index += step) index 83 tools/testing/radix-tree/benchmark.c radix_tree_tag_set(root, index, 0); index 98 tools/testing/radix-tree/benchmark.c unsigned long index; index 103 tools/testing/radix-tree/benchmark.c for (index = 0 ; index < size ; index += step) index 104 tools/testing/radix-tree/benchmark.c item_delete(root, index); index 19 tools/testing/radix-tree/idr-test.c assert(item->index == id); index 28 tools/testing/radix-tree/idr-test.c assert(item->index == id); index 53 tools/testing/radix-tree/idr-test.c assert(id == item->index); index 382 tools/testing/radix-tree/idr-test.c assert(id == item->index); index 21 tools/testing/radix-tree/iteration_check.c void my_item_insert(struct xarray *xa, unsigned long index) index 23 tools/testing/radix-tree/iteration_check.c XA_STATE(xas, xa, index); index 24 tools/testing/radix-tree/iteration_check.c struct item *item = item_create(index, 0); index 30 tools/testing/radix-tree/iteration_check.c xas_set_order(&xas, index, order); index 15 tools/testing/radix-tree/multiorder.c static int item_insert_order(struct xarray *xa, unsigned long index, index 18 tools/testing/radix-tree/multiorder.c XA_STATE_ORDER(xas, xa, index, order); index 19 tools/testing/radix-tree/multiorder.c struct item *item = item_create(index, order); index 41 tools/testing/radix-tree/multiorder.c int index[NUM_ENTRIES] = {0, 2, 4, 8, 16, 32, 34, 36, 64, 72, 128}; index 47 tools/testing/radix-tree/multiorder.c err = item_insert_order(xa, index[i], order[i]); index 53 tools/testing/radix-tree/multiorder.c if (j <= (index[i] | ((1 << order[i]) - 1))) index 62 tools/testing/radix-tree/multiorder.c assert((xas.xa_index | mask) == (index[i] | mask)); index 65 tools/testing/radix-tree/multiorder.c assert((item->index | mask) == (index[i] | mask)); index 81 tools/testing/radix-tree/multiorder.c int index[MT_NUM_ENTRIES] = {0, 2, 4, 16, 32, 40, 64, 72, 128}; index 90 tools/testing/radix-tree/multiorder.c assert(!item_insert_order(xa, index[i], order[i])); index 101 tools/testing/radix-tree/multiorder.c for (k = i; index[k] < tag_index[i]; k++) index 103 tools/testing/radix-tree/multiorder.c if (j <= (index[k] | ((1 << order[k]) - 1))) index 110 tools/testing/radix-tree/multiorder.c for (k = i; index[k] < tag_index[i]; k++) index 116 tools/testing/radix-tree/multiorder.c assert((item->index | mask) == (tag_index[i] | mask)); index 129 tools/testing/radix-tree/multiorder.c for (k = i; index[k] < tag_index[i]; k++) index 131 tools/testing/radix-tree/multiorder.c if (j <= (index[k] | ((1 << order[k]) - 1))) index 137 tools/testing/radix-tree/multiorder.c for (k = i; index[k] < tag_index[i]; k++) index 143 tools/testing/radix-tree/multiorder.c assert((item->index | mask) == (tag_index[i] | mask)); index 52 tools/testing/radix-tree/regression1.c unsigned long index; index 55 tools/testing/radix-tree/regression1.c static struct page *page_alloc(int index) index 60 tools/testing/radix-tree/regression1.c p->index = index; index 64 tools/testing/radix-tree/regression2.c unsigned long index; index 71 tools/testing/radix-tree/regression2.c p->index = page_count++; index 45 tools/testing/radix-tree/regression3.c printv(2, "tagged %ld %p\n", iter.index, *slot); index 52 tools/testing/radix-tree/regression3.c printv(2, "retry at %ld\n", iter.index); index 61 tools/testing/radix-tree/regression3.c printv(2, "slot %ld %p\n", iter.index, *slot); index 67 tools/testing/radix-tree/regression3.c printv(2, "retry at %ld\n", iter.index); index 74 tools/testing/radix-tree/regression3.c printv(2, "slot %ld %p\n", iter.index, *slot); index 75 tools/testing/radix-tree/regression3.c if (!iter.index) { index 76 tools/testing/radix-tree/regression3.c printv(2, "next at %ld\n", iter.index); index 84 tools/testing/radix-tree/regression3.c printv(2, "tagged %ld %p\n", iter.index, *slot); index 85 tools/testing/radix-tree/regression3.c if (!iter.index) { index 86 tools/testing/radix-tree/regression3.c printv(2, "next at %ld\n", iter.index); index 14 tools/testing/radix-tree/tag_check.c __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) index 19 tools/testing/radix-tree/tag_check.c item_check_absent(tree, index); index 20 tools/testing/radix-tree/tag_check.c assert(item_tag_get(tree, index, tag) == 0); index 22 tools/testing/radix-tree/tag_check.c item_insert(tree, index); index 23 tools/testing/radix-tree/tag_check.c assert(item_tag_get(tree, index, tag) == 0); index 24 tools/testing/radix-tree/tag_check.c item_tag_set(tree, index, tag); index 25 tools/testing/radix-tree/tag_check.c ret = item_tag_get(tree, index, tag); index 29 tools/testing/radix-tree/tag_check.c ret = item_tag_get(tree, index, !tag); index 31 tools/testing/radix-tree/tag_check.c ret = item_delete(tree, index); index 33 tools/testing/radix-tree/tag_check.c item_insert(tree, index); index 34 tools/testing/radix-tree/tag_check.c ret = item_tag_get(tree, index, tag); index 36 tools/testing/radix-tree/tag_check.c ret = item_delete(tree, index); index 38 tools/testing/radix-tree/tag_check.c ret = item_delete(tree, index); index 44 tools/testing/radix-tree/tag_check.c unsigned long index; index 47 tools/testing/radix-tree/tag_check.c for (index = 0; index < 10000; index++) { index 48 tools/testing/radix-tree/tag_check.c __simple_checks(&tree, index, 0); index 49 tools/testing/radix-tree/tag_check.c __simple_checks(&tree, index, 1); index 136 tools/testing/radix-tree/tag_check.c unsigned long index = 0; index 140 tools/testing/radix-tree/tag_check.c index, BATCH, tag))) { index 146 tools/testing/radix-tree/tag_check.c while (last_index < item->index) { index 153 tools/testing/radix-tree/tag_check.c index = items[nr_found - 1]->index + 1; index 171 tools/testing/radix-tree/tag_check.c unsigned long index; index 180 tools/testing/radix-tree/tag_check.c index = rand() % THRASH_SIZE; index 181 tools/testing/radix-tree/tag_check.c if (thrash_state[index] != NODE_ABSENT) index 183 tools/testing/radix-tree/tag_check.c item_check_absent(tree, index); index 184 tools/testing/radix-tree/tag_check.c item_insert(tree, index); index 185 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_PRESENT); index 186 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_PRESENT; index 192 tools/testing/radix-tree/tag_check.c index = rand() % THRASH_SIZE; index 193 tools/testing/radix-tree/tag_check.c if (thrash_state[index] == NODE_ABSENT) index 195 tools/testing/radix-tree/tag_check.c item_check_present(tree, index); index 196 tools/testing/radix-tree/tag_check.c if (item_tag_get(tree, index, tag)) { index 197 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] == NODE_TAGGED); index 200 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] == NODE_PRESENT); index 202 tools/testing/radix-tree/tag_check.c item_delete(tree, index); index 203 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_ABSENT); index 204 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_ABSENT; index 210 tools/testing/radix-tree/tag_check.c index = rand() % THRASH_SIZE; index 211 tools/testing/radix-tree/tag_check.c if (thrash_state[index] != NODE_PRESENT) { index 212 tools/testing/radix-tree/tag_check.c if (item_lookup(tree, index)) index 213 tools/testing/radix-tree/tag_check.c assert(item_tag_get(tree, index, tag)); index 216 tools/testing/radix-tree/tag_check.c item_tag_set(tree, index, tag); index 217 tools/testing/radix-tree/tag_check.c item_tag_set(tree, index, tag); index 218 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_TAGGED); index 219 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_TAGGED; index 225 tools/testing/radix-tree/tag_check.c index = rand() % THRASH_SIZE; index 226 tools/testing/radix-tree/tag_check.c if (thrash_state[index] != NODE_TAGGED) index 228 tools/testing/radix-tree/tag_check.c item_check_present(tree, index); index 229 tools/testing/radix-tree/tag_check.c assert(item_tag_get(tree, index, tag)); index 230 tools/testing/radix-tree/tag_check.c item_tag_clear(tree, index, tag); index 231 tools/testing/radix-tree/tag_check.c item_tag_clear(tree, index, tag); index 232 tools/testing/radix-tree/tag_check.c assert(thrash_state[index] != NODE_PRESENT); index 233 tools/testing/radix-tree/tag_check.c thrash_state[index] = NODE_PRESENT; index 240 tools/testing/radix-tree/tag_check.c for (index = 0; index < THRASH_SIZE; index++) { index 241 tools/testing/radix-tree/tag_check.c switch (thrash_state[index]) { index 243 tools/testing/radix-tree/tag_check.c item_check_absent(tree, index); index 246 tools/testing/radix-tree/tag_check.c item_check_present(tree, index); index 247 tools/testing/radix-tree/tag_check.c assert(!item_tag_get(tree, index, tag)); index 251 tools/testing/radix-tree/tag_check.c item_check_present(tree, index); index 252 tools/testing/radix-tree/tag_check.c assert(item_tag_get(tree, index, tag)); index 12 tools/testing/radix-tree/test.c item_tag_set(struct radix_tree_root *root, unsigned long index, int tag) index 14 tools/testing/radix-tree/test.c return radix_tree_tag_set(root, index, tag); index 18 tools/testing/radix-tree/test.c item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag) index 20 tools/testing/radix-tree/test.c return radix_tree_tag_clear(root, index, tag); index 23 tools/testing/radix-tree/test.c int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag) index 25 tools/testing/radix-tree/test.c return radix_tree_tag_get(root, index, tag); index 28 tools/testing/radix-tree/test.c struct item *item_create(unsigned long index, unsigned int order) index 32 tools/testing/radix-tree/test.c ret->index = index; index 37 tools/testing/radix-tree/test.c int item_insert(struct radix_tree_root *root, unsigned long index) index 39 tools/testing/radix-tree/test.c struct item *item = item_create(index, 0); index 40 tools/testing/radix-tree/test.c int err = radix_tree_insert(root, item->index, item); index 46 tools/testing/radix-tree/test.c void item_sanity(struct item *item, unsigned long index) index 52 tools/testing/radix-tree/test.c assert((item->index | mask) == (index | mask)); index 55 tools/testing/radix-tree/test.c void item_free(struct item *item, unsigned long index) index 57 tools/testing/radix-tree/test.c item_sanity(item, index); index 61 tools/testing/radix-tree/test.c int item_delete(struct radix_tree_root *root, unsigned long index) index 63 tools/testing/radix-tree/test.c struct item *item = radix_tree_delete(root, index); index 68 tools/testing/radix-tree/test.c item_free(item, index); index 79 tools/testing/radix-tree/test.c int item_delete_rcu(struct xarray *xa, unsigned long index) index 81 tools/testing/radix-tree/test.c struct item *item = xa_erase(xa, index); index 84 tools/testing/radix-tree/test.c item_sanity(item, index); index 91 tools/testing/radix-tree/test.c void item_check_present(struct radix_tree_root *root, unsigned long index) index 95 tools/testing/radix-tree/test.c item = radix_tree_lookup(root, index); index 97 tools/testing/radix-tree/test.c item_sanity(item, index); index 100 tools/testing/radix-tree/test.c struct item *item_lookup(struct radix_tree_root *root, unsigned long index) index 102 tools/testing/radix-tree/test.c return radix_tree_lookup(root, index); index 105 tools/testing/radix-tree/test.c void item_check_absent(struct radix_tree_root *root, unsigned long index) index 109 tools/testing/radix-tree/test.c item = radix_tree_lookup(root, index); index 135 tools/testing/radix-tree/test.c assert(items[i]->index == start + into + i); index 158 tools/testing/radix-tree/test.c assert(items[i]->index == this_index); index 9 tools/testing/radix-tree/test.h unsigned long index; index 13 tools/testing/radix-tree/test.h struct item *item_create(unsigned long index, unsigned int order); index 14 tools/testing/radix-tree/test.h int item_insert(struct radix_tree_root *root, unsigned long index); index 15 tools/testing/radix-tree/test.h void item_sanity(struct item *item, unsigned long index); index 16 tools/testing/radix-tree/test.h void item_free(struct item *item, unsigned long index); index 17 tools/testing/radix-tree/test.h int item_delete(struct radix_tree_root *root, unsigned long index); index 18 tools/testing/radix-tree/test.h int item_delete_rcu(struct xarray *xa, unsigned long index); index 19 tools/testing/radix-tree/test.h struct item *item_lookup(struct radix_tree_root *root, unsigned long index); index 21 tools/testing/radix-tree/test.h void item_check_present(struct radix_tree_root *root, unsigned long index); index 22 tools/testing/radix-tree/test.h void item_check_absent(struct radix_tree_root *root, unsigned long index); index 43 tools/testing/radix-tree/test.h item_tag_set(struct radix_tree_root *root, unsigned long index, int tag); index 45 tools/testing/radix-tree/test.h item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag); index 46 tools/testing/radix-tree/test.h int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag); index 45 tools/testing/selftests/bpf/bpf_helpers.h static void (*bpf_tail_call)(void *ctx, void *map, int index) = index 72 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_current_task_under_cgroup)(void *map, int index) = index 135 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_skb_get_xfrm_state)(void *ctx, int index, void *state, index 288 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_skb_under_cgroup)(void *ctx, void *map, int index) = index 68 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c __u32 linum, index = 0, flags = 0, index_zero = 0; index 155 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c index = cmd->reuseport_index; index 161 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c index = *index_ovr; index 164 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c err = bpf_sk_select_reuseport(reuse_md, reuseport_array, &index, index 152 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.index = bpf_htonl(123); index 178 tools/testing/selftests/bpf/progs/test_tunnel_kern.c __u32 index; index 199 tools/testing/selftests/bpf/progs/test_tunnel_kern.c index = bpf_ntohl(md.u.index); index 200 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_trace_printk(fmt2, sizeof(fmt2), index); index 236 tools/testing/selftests/bpf/progs/test_tunnel_kern.c md.u.index = bpf_htonl(123); index 263 tools/testing/selftests/bpf/progs/test_tunnel_kern.c __u32 index; index 285 tools/testing/selftests/bpf/progs/test_tunnel_kern.c index = bpf_ntohl(md.u.index); index 286 tools/testing/selftests/bpf/progs/test_tunnel_kern.c bpf_trace_printk(fmt2, sizeof(fmt2), index); index 127 tools/testing/selftests/bpf/test_sockmap_kern.h int op, err = 0, index, key, ret; index 124 tools/testing/selftests/bpf/test_verifier.c unsigned int index; index 401 tools/testing/selftests/bpf/test_verifier.c static void update_map(int fd, int index) index 404 tools/testing/selftests/bpf/test_verifier.c .index = (6 + 1) * sizeof(int), index 408 tools/testing/selftests/bpf/test_verifier.c assert(!bpf_map_update_elem(fd, &index, &value, 0)); index 67 tools/testing/selftests/cgroup/cgroup_util.c char *cg_name_indexed(const char *root, const char *name, int index) index 72 tools/testing/selftests/cgroup/cgroup_util.c snprintf(ret, len, "%s/%s_%d", root, name, index); index 20 tools/testing/selftests/cgroup/cgroup_util.h extern char *cg_name_indexed(const char *root, const char *name, int index); index 316 tools/testing/selftests/kvm/include/x86_64/processor.h kvm_get_supported_cpuid_index(uint32_t function, uint32_t index); index 335 tools/testing/selftests/kvm/include/x86_64/vmx.h uint32_t index; index 261 tools/testing/selftests/kvm/lib/x86_64/processor.c uint16_t index[4]; index 284 tools/testing/selftests/kvm/lib/x86_64/processor.c index[0] = (vaddr >> 12) & 0x1ffu; index 285 tools/testing/selftests/kvm/lib/x86_64/processor.c index[1] = (vaddr >> 21) & 0x1ffu; index 286 tools/testing/selftests/kvm/lib/x86_64/processor.c index[2] = (vaddr >> 30) & 0x1ffu; index 287 tools/testing/selftests/kvm/lib/x86_64/processor.c index[3] = (vaddr >> 39) & 0x1ffu; index 291 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!pml4e[index[3]].present) { index 292 tools/testing/selftests/kvm/lib/x86_64/processor.c pml4e[index[3]].address = vm_phy_page_alloc(vm, index 295 tools/testing/selftests/kvm/lib/x86_64/processor.c pml4e[index[3]].writable = true; index 296 tools/testing/selftests/kvm/lib/x86_64/processor.c pml4e[index[3]].present = true; index 301 tools/testing/selftests/kvm/lib/x86_64/processor.c pdpe = addr_gpa2hva(vm, pml4e[index[3]].address * vm->page_size); index 302 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!pdpe[index[2]].present) { index 303 tools/testing/selftests/kvm/lib/x86_64/processor.c pdpe[index[2]].address = vm_phy_page_alloc(vm, index 306 tools/testing/selftests/kvm/lib/x86_64/processor.c pdpe[index[2]].writable = true; index 307 tools/testing/selftests/kvm/lib/x86_64/processor.c pdpe[index[2]].present = true; index 312 tools/testing/selftests/kvm/lib/x86_64/processor.c pde = addr_gpa2hva(vm, pdpe[index[2]].address * vm->page_size); index 313 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!pde[index[1]].present) { index 314 tools/testing/selftests/kvm/lib/x86_64/processor.c pde[index[1]].address = vm_phy_page_alloc(vm, index 317 tools/testing/selftests/kvm/lib/x86_64/processor.c pde[index[1]].writable = true; index 318 tools/testing/selftests/kvm/lib/x86_64/processor.c pde[index[1]].present = true; index 323 tools/testing/selftests/kvm/lib/x86_64/processor.c pte = addr_gpa2hva(vm, pde[index[1]].address * vm->page_size); index 324 tools/testing/selftests/kvm/lib/x86_64/processor.c pte[index[0]].address = paddr >> vm->page_shift; index 325 tools/testing/selftests/kvm/lib/x86_64/processor.c pte[index[0]].writable = true; index 326 tools/testing/selftests/kvm/lib/x86_64/processor.c pte[index[0]].present = 1; index 544 tools/testing/selftests/kvm/lib/x86_64/processor.c uint16_t index[4]; index 553 tools/testing/selftests/kvm/lib/x86_64/processor.c index[0] = (gva >> 12) & 0x1ffu; index 554 tools/testing/selftests/kvm/lib/x86_64/processor.c index[1] = (gva >> 21) & 0x1ffu; index 555 tools/testing/selftests/kvm/lib/x86_64/processor.c index[2] = (gva >> 30) & 0x1ffu; index 556 tools/testing/selftests/kvm/lib/x86_64/processor.c index[3] = (gva >> 39) & 0x1ffu; index 561 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!pml4e[index[3]].present) index 564 tools/testing/selftests/kvm/lib/x86_64/processor.c pdpe = addr_gpa2hva(vm, pml4e[index[3]].address * vm->page_size); index 565 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!pdpe[index[2]].present) index 568 tools/testing/selftests/kvm/lib/x86_64/processor.c pde = addr_gpa2hva(vm, pdpe[index[2]].address * vm->page_size); index 569 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!pde[index[1]].present) index 572 tools/testing/selftests/kvm/lib/x86_64/processor.c pte = addr_gpa2hva(vm, pde[index[1]].address * vm->page_size); index 573 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!pte[index[0]].present) index 576 tools/testing/selftests/kvm/lib/x86_64/processor.c return (pte[index[0]].address * vm->page_size) + (gva & 0xfffu); index 749 tools/testing/selftests/kvm/lib/x86_64/processor.c kvm_get_supported_cpuid_index(uint32_t function, uint32_t index) index 758 tools/testing/selftests/kvm/lib/x86_64/processor.c cpuid->entries[i].index == index) { index 765 tools/testing/selftests/kvm/lib/x86_64/processor.c function, index); index 864 tools/testing/selftests/kvm/lib/x86_64/processor.c buffer.entry.index = msr_index; index 899 tools/testing/selftests/kvm/lib/x86_64/processor.c buffer.entry.index = msr_index; index 1086 tools/testing/selftests/kvm/lib/x86_64/processor.c state->msrs.entries[i].index = list->indices[i]; index 1120 tools/testing/selftests/kvm/lib/x86_64/processor.c r, r == state->msrs.nmsrs ? -1 : state->msrs.entries[r].index); index 395 tools/testing/selftests/kvm/lib/x86_64/vmx.c uint16_t index[4]; index 418 tools/testing/selftests/kvm/lib/x86_64/vmx.c index[0] = (nested_paddr >> 12) & 0x1ffu; index 419 tools/testing/selftests/kvm/lib/x86_64/vmx.c index[1] = (nested_paddr >> 21) & 0x1ffu; index 420 tools/testing/selftests/kvm/lib/x86_64/vmx.c index[2] = (nested_paddr >> 30) & 0x1ffu; index 421 tools/testing/selftests/kvm/lib/x86_64/vmx.c index[3] = (nested_paddr >> 39) & 0x1ffu; index 425 tools/testing/selftests/kvm/lib/x86_64/vmx.c if (!pml4e[index[3]].readable) { index 426 tools/testing/selftests/kvm/lib/x86_64/vmx.c pml4e[index[3]].address = vm_phy_page_alloc(vm, index 429 tools/testing/selftests/kvm/lib/x86_64/vmx.c pml4e[index[3]].writable = true; index 430 tools/testing/selftests/kvm/lib/x86_64/vmx.c pml4e[index[3]].readable = true; index 431 tools/testing/selftests/kvm/lib/x86_64/vmx.c pml4e[index[3]].executable = true; index 436 tools/testing/selftests/kvm/lib/x86_64/vmx.c pdpe = addr_gpa2hva(vm, pml4e[index[3]].address * vm->page_size); index 437 tools/testing/selftests/kvm/lib/x86_64/vmx.c if (!pdpe[index[2]].readable) { index 438 tools/testing/selftests/kvm/lib/x86_64/vmx.c pdpe[index[2]].address = vm_phy_page_alloc(vm, index 441 tools/testing/selftests/kvm/lib/x86_64/vmx.c pdpe[index[2]].writable = true; index 442 tools/testing/selftests/kvm/lib/x86_64/vmx.c pdpe[index[2]].readable = true; index 443 tools/testing/selftests/kvm/lib/x86_64/vmx.c pdpe[index[2]].executable = true; index 448 tools/testing/selftests/kvm/lib/x86_64/vmx.c pde = addr_gpa2hva(vm, pdpe[index[2]].address * vm->page_size); index 449 tools/testing/selftests/kvm/lib/x86_64/vmx.c if (!pde[index[1]].readable) { index 450 tools/testing/selftests/kvm/lib/x86_64/vmx.c pde[index[1]].address = vm_phy_page_alloc(vm, index 453 tools/testing/selftests/kvm/lib/x86_64/vmx.c pde[index[1]].writable = true; index 454 tools/testing/selftests/kvm/lib/x86_64/vmx.c pde[index[1]].readable = true; index 455 tools/testing/selftests/kvm/lib/x86_64/vmx.c pde[index[1]].executable = true; index 460 tools/testing/selftests/kvm/lib/x86_64/vmx.c pte = addr_gpa2hva(vm, pde[index[1]].address * vm->page_size); index 461 tools/testing/selftests/kvm/lib/x86_64/vmx.c pte[index[0]].address = paddr >> vm->page_shift; index 462 tools/testing/selftests/kvm/lib/x86_64/vmx.c pte[index[0]].writable = true; index 463 tools/testing/selftests/kvm/lib/x86_64/vmx.c pte[index[0]].readable = true; index 464 tools/testing/selftests/kvm/lib/x86_64/vmx.c pte[index[0]].executable = true; index 470 tools/testing/selftests/kvm/lib/x86_64/vmx.c pte[index[0]].accessed = true; index 471 tools/testing/selftests/kvm/lib/x86_64/vmx.c pte[index[0]].dirty = true; index 72 tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c TEST_ASSERT(entry->index == 0, index 188 tools/testing/selftests/powerpc/vphn/asm/lppaca.h extern void (*dtl_consumer)(struct dtl_entry *entry, u64 index); index 56 tools/testing/selftests/ptp/testptp.c static void do_flag_test(int fd, unsigned int index) index 73 tools/testing/selftests/ptp/testptp.c extts_request.index = index; index 168 tools/testing/selftests/ptp/testptp.c int index = 0; index 201 tools/testing/selftests/ptp/testptp.c index = atoi(optarg); index 345 tools/testing/selftests/ptp/testptp.c extts_request.index = index; index 359 tools/testing/selftests/ptp/testptp.c printf("event index %u at %lld.%09u\n", event.index, index 371 tools/testing/selftests/ptp/testptp.c do_flag_test(fd, index); index 382 tools/testing/selftests/ptp/testptp.c desc.index = i; index 388 tools/testing/selftests/ptp/testptp.c desc.name, desc.index, desc.func, desc.chan); index 398 tools/testing/selftests/ptp/testptp.c perout_request.index = index; index 412 tools/testing/selftests/ptp/testptp.c desc.index = pin_index; index 414 tools/testing/selftests/ptp/testptp.c desc.chan = index; index 306 tools/testing/selftests/x86/fsgsbase.c void test_wrbase(unsigned short index, unsigned long base) index 311 tools/testing/selftests/x86/fsgsbase.c printf("[RUN]\tGS = 0x%hx, GSBASE = 0x%lx\n", index, base); index 313 tools/testing/selftests/x86/fsgsbase.c asm volatile ("mov %0, %%gs" : : "rm" (index)); index 325 tools/testing/selftests/x86/fsgsbase.c if (newindex == index && newbase == base) { index 63 tools/testing/selftests/x86/ldt_gdt.c static void check_invalid_segment(uint16_t index, int ldt) index 66 tools/testing/selftests/x86/ldt_gdt.c uint32_t selector = (index << 3) | (ldt << 2) | 3; index 83 tools/testing/selftests/x86/ldt_gdt.c (ldt ? "LDT" : "GDT"), index); index 87 tools/testing/selftests/x86/ldt_gdt.c (ldt ? "LDT" : "GDT"), index); index 91 tools/testing/selftests/x86/ldt_gdt.c static void check_valid_segment(uint16_t index, int ldt, index 96 tools/testing/selftests/x86/ldt_gdt.c uint32_t selector = (index << 3) | (ldt << 2) | 3; index 113 tools/testing/selftests/x86/ldt_gdt.c (ldt ? "LDT" : "GDT"), index); index 127 tools/testing/selftests/x86/ldt_gdt.c (ldt ? "LDT" : "GDT"), index, ar, expected_ar); index 131 tools/testing/selftests/x86/ldt_gdt.c (ldt ? "LDT" : "GDT"), index, limit, expected_limit); index 135 tools/testing/selftests/x86/ldt_gdt.c (ldt ? "LDT" : "GDT"), index, ar, limit); index 23 tools/virtio/linux/virtio.h unsigned int index; index 56 tools/virtio/linux/virtio.h struct virtqueue *vring_new_virtqueue(unsigned int index, index 35 tools/virtio/ringtest/ring.c unsigned short index; index 99 tools/virtio/ringtest/ring.c .index = i, index 114 tools/virtio/ringtest/ring.c unsigned head, index; index 133 tools/virtio/ringtest/ring.c index = ring[head].index; index 134 tools/virtio/ringtest/ring.c data[index].buf = buf; index 135 tools/virtio/ringtest/ring.c data[index].data = datap; index 146 tools/virtio/ringtest/ring.c unsigned index; index 154 tools/virtio/ringtest/ring.c index = ring[head].index & (ring_size - 1); index 155 tools/virtio/ringtest/ring.c datap = data[index].data; index 156 tools/virtio/ringtest/ring.c *bufp = data[index].buf; index 157 tools/virtio/ringtest/ring.c data[index].buf = NULL; index 158 tools/virtio/ringtest/ring.c data[index].data = NULL; index 155 tools/virtio/ringtest/virtio_ring_0_9.c unsigned index; index 160 tools/virtio/ringtest/virtio_ring_0_9.c index = ring.used->ring[head].id; index 161 tools/virtio/ringtest/virtio_ring_0_9.c if ((index ^ guest.last_used_idx ^ 0x8000) & ~(ring_size - 1)) index 165 tools/virtio/ringtest/virtio_ring_0_9.c index &= ring_size - 1; index 173 tools/virtio/ringtest/virtio_ring_0_9.c index = head; index 176 tools/virtio/ringtest/virtio_ring_0_9.c index = ring.used->ring[head].id; index 181 tools/virtio/ringtest/virtio_ring_0_9.c *lenp = ring.desc[index].len; index 185 tools/virtio/ringtest/virtio_ring_0_9.c datap = data[index].data; index 186 tools/virtio/ringtest/virtio_ring_0_9.c *bufp = (void*)(unsigned long)ring.desc[index].addr; index 187 tools/virtio/ringtest/virtio_ring_0_9.c data[index].data = NULL; index 189 tools/virtio/ringtest/virtio_ring_0_9.c ring.desc[index].next = guest.free_head; index 190 tools/virtio/ringtest/virtio_ring_0_9.c guest.free_head = index; index 202 tools/virtio/ringtest/virtio_ring_0_9.c unsigned index = ring.used->ring[head].id; index 204 tools/virtio/ringtest/virtio_ring_0_9.c return (index ^ last_used_idx ^ 0x8000) & ~(ring_size - 1); index 262 tools/virtio/ringtest/virtio_ring_0_9.c unsigned index = ring.avail->ring[head & (ring_size - 1)]; index 264 tools/virtio/ringtest/virtio_ring_0_9.c return ((index ^ head ^ 0x8000) & ~(ring_size - 1)); index 63 tools/virtio/virtio_test.c struct vhost_vring_state state = { .index = info->idx }; index 64 tools/virtio/virtio_test.c struct vhost_vring_file file = { .index = info->idx }; index 67 tools/virtio/virtio_test.c .index = info->idx, index 254 tools/vm/page-types.c unsigned long index, index 259 tools/vm/page-types.c if (index > ULONG_MAX / 8) index 260 tools/vm/page-types.c fatal("index overflow: %lu\n", index); index 262 tools/vm/page-types.c bytes = pread(fd, buf, count * 8, (off_t)index * 8); index 274 tools/vm/page-types.c unsigned long index, index 277 tools/vm/page-types.c return do_u64_read(kpageflags_fd, opt_kpageflags, buf, index, pages); index 281 tools/vm/page-types.c unsigned long index, index 287 tools/vm/page-types.c return do_u64_read(kpagecgroup_fd, opt_kpageflags, buf, index, pages); index 291 tools/vm/page-types.c unsigned long index, index 296 tools/vm/page-types.c buf, index, pages); index 300 tools/vm/page-types.c unsigned long index, index 303 tools/vm/page-types.c return do_u64_read(pagemap_fd, "/proc/pid/pagemap", buf, index, pages); index 378 tools/vm/page-types.c static unsigned long index; index 382 tools/vm/page-types.c offset == index + count && size && voffset == voff + count) { index 397 tools/vm/page-types.c index, count, page_flag_name(flags0)); index 403 tools/vm/page-types.c index = offset; index 662 tools/vm/page-types.c unsigned long index, index 685 tools/vm/page-types.c pages = kpageflags_read(buf, index, batch); index 689 tools/vm/page-types.c if (kpagecgroup_read(cgi, index, pages) != pages) index 692 tools/vm/page-types.c if (kpagecount_read(cnt, index, pages) != pages) index 696 tools/vm/page-types.c add_page(voffset + i, index + i, index 699 tools/vm/page-types.c index += pages; index 725 tools/vm/page-types.c static void walk_vma(unsigned long index, unsigned long count) index 735 tools/vm/page-types.c pages = pagemap_read(buf, index, batch); index 742 tools/vm/page-types.c walk_pfn(index + i, pfn, 1, buf[i]); index 744 tools/vm/page-types.c walk_swap(index + i, buf[i]); index 747 tools/vm/page-types.c index += pages; index 752 tools/vm/page-types.c static void walk_task(unsigned long index, unsigned long count) index 754 tools/vm/page-types.c const unsigned long end = index + count; index 758 tools/vm/page-types.c while (index < end) { index 760 tools/vm/page-types.c while (pg_end[i] <= index) index 766 tools/vm/page-types.c start = max_t(unsigned long, pg_start[i], index); index 767 tools/vm/page-types.c index = min_t(unsigned long, pg_end[i], end); index 769 tools/vm/page-types.c assert(start < index); index 770 tools/vm/page-types.c walk_vma(start, index - start); index 227 virt/kvm/arm/arch_timer.c enum kvm_arch_timers index; index 233 virt/kvm/arm/arch_timer.c index = arch_timer_ctx_index(timer_ctx); index 238 virt/kvm/arm/arch_timer.c switch (index) { index 340 virt/kvm/arm/arch_timer.c enum kvm_arch_timers index = arch_timer_ctx_index(ctx); index 351 virt/kvm/arm/arch_timer.c switch (index) { index 419 virt/kvm/arm/arch_timer.c enum kvm_arch_timers index = arch_timer_ctx_index(ctx); index 430 virt/kvm/arm/arch_timer.c switch (index) { index 903 virt/kvm/arm/vgic/vgic-its.c int index, idx; index 937 virt/kvm/arm/vgic/vgic-its.c index = id / (SZ_64K / esz); index 938 virt/kvm/arm/vgic/vgic-its.c if (index >= (l1_tbl_size / sizeof(u64))) index 943 virt/kvm/arm/vgic/vgic-its.c base + index * sizeof(indirect_ptr), index 957 virt/kvm/arm/vgic/vgic-its.c index = id % (SZ_64K / esz); index 958 virt/kvm/arm/vgic/vgic-its.c indirect_ptr += index * esz; index 101 virt/kvm/arm/vgic/vgic-kvm-device.c u8 index; index 107 virt/kvm/arm/vgic/vgic-kvm-device.c index = *addr & KVM_VGIC_V3_RDIST_INDEX_MASK; index 119 virt/kvm/arm/vgic/vgic-kvm-device.c r = vgic_v3_set_redist_base(kvm, index, index 124 virt/kvm/arm/vgic/vgic-kvm-device.c rdreg = vgic_v3_rdist_region_from_index(kvm, index); index 130 virt/kvm/arm/vgic/vgic-kvm-device.c *addr = index; index 700 virt/kvm/arm/vgic/vgic-mmio-v3.c static int vgic_v3_insert_redist_region(struct kvm *kvm, uint32_t index, index 718 virt/kvm/arm/vgic/vgic-mmio-v3.c if (index != 0) index 723 virt/kvm/arm/vgic/vgic-mmio-v3.c if (index != rdreg->index + 1) index 757 virt/kvm/arm/vgic/vgic-mmio-v3.c rdreg->index = index; index 766 virt/kvm/arm/vgic/vgic-mmio-v3.c int vgic_v3_set_redist_base(struct kvm *kvm, u32 index, u64 addr, u32 count) index 770 virt/kvm/arm/vgic/vgic-mmio-v3.c ret = vgic_v3_insert_redist_region(kvm, index, addr, count); index 483 virt/kvm/arm/vgic/vgic-v3.c u32 index) index 489 virt/kvm/arm/vgic/vgic-v3.c if (rdreg->index == index) index 222 virt/kvm/arm/vgic/vgic.h int vgic_v3_set_redist_base(struct kvm *kvm, u32 index, u64 addr, u32 count); index 295 virt/kvm/arm/vgic/vgic.h u32 index);