chips 139 drivers/cpufreq/powernv-cpufreq.c } *chips; chips 972 drivers/cpufreq/powernv-cpufreq.c chips[i].restore = true; chips 973 drivers/cpufreq/powernv-cpufreq.c schedule_work(&chips[i].throttle); chips 980 drivers/cpufreq/powernv-cpufreq.c if (chips[i].id == omsg.chip) chips 985 drivers/cpufreq/powernv-cpufreq.c chips[i].throttle_reason = omsg.throttle_status; chips 986 drivers/cpufreq/powernv-cpufreq.c chips[i].reason[omsg.throttle_status]++; chips 990 drivers/cpufreq/powernv-cpufreq.c chips[i].restore = true; chips 992 drivers/cpufreq/powernv-cpufreq.c schedule_work(&chips[i].throttle); chips 1062 drivers/cpufreq/powernv-cpufreq.c chips = kcalloc(nr_chips, sizeof(struct chip), GFP_KERNEL); chips 1063 drivers/cpufreq/powernv-cpufreq.c if (!chips) { chips 1069 drivers/cpufreq/powernv-cpufreq.c chips[i].id = chip[i]; chips 1070 drivers/cpufreq/powernv-cpufreq.c cpumask_copy(&chips[i].mask, cpumask_of_node(chip[i])); chips 1071 drivers/cpufreq/powernv-cpufreq.c INIT_WORK(&chips[i].throttle, powernv_cpufreq_work_fn); chips 1072 drivers/cpufreq/powernv-cpufreq.c for_each_cpu(cpu, &chips[i].mask) chips 1073 drivers/cpufreq/powernv-cpufreq.c per_cpu(chip_info, cpu) = &chips[i]; chips 1086 drivers/cpufreq/powernv-cpufreq.c if (chips) chips 1088 drivers/cpufreq/powernv-cpufreq.c cancel_work_sync(&chips[i].throttle); chips 1089 drivers/cpufreq/powernv-cpufreq.c kfree(chips); chips 194 drivers/gpio/gpio-davinci.c struct davinci_gpio_controller *chips; chips 230 drivers/gpio/gpio-davinci.c chips = devm_kzalloc(dev, sizeof(*chips), GFP_KERNEL); chips 231 drivers/gpio/gpio-davinci.c if (!chips) chips 239 drivers/gpio/gpio-davinci.c chips->irqs[i] = platform_get_irq(pdev, i); chips 240 drivers/gpio/gpio-davinci.c if (chips->irqs[i] < 0) { chips 241 drivers/gpio/gpio-davinci.c if (chips->irqs[i] != -EPROBE_DEFER) chips 243 drivers/gpio/gpio-davinci.c chips->irqs[i]); chips 244 drivers/gpio/gpio-davinci.c return chips->irqs[i]; chips 248 drivers/gpio/gpio-davinci.c chips->chip.label = dev_name(dev); chips 250 drivers/gpio/gpio-davinci.c chips->chip.direction_input = davinci_direction_in; chips 251 drivers/gpio/gpio-davinci.c chips->chip.get = davinci_gpio_get; chips 252 drivers/gpio/gpio-davinci.c chips->chip.direction_output = davinci_direction_out; chips 253 drivers/gpio/gpio-davinci.c chips->chip.set = davinci_gpio_set; chips 255 drivers/gpio/gpio-davinci.c chips->chip.ngpio = ngpio; chips 256 drivers/gpio/gpio-davinci.c chips->chip.base = pdata->no_auto_base ? pdata->base : -1; chips 259 drivers/gpio/gpio-davinci.c chips->chip.of_gpio_n_cells = 2; chips 260 drivers/gpio/gpio-davinci.c chips->chip.parent = dev; chips 261 drivers/gpio/gpio-davinci.c chips->chip.of_node = dev->of_node; chips 264 drivers/gpio/gpio-davinci.c chips->chip.request = gpiochip_generic_request; chips 265 drivers/gpio/gpio-davinci.c chips->chip.free = gpiochip_generic_free; chips 268 drivers/gpio/gpio-davinci.c spin_lock_init(&chips->lock); chips 272 drivers/gpio/gpio-davinci.c chips->regs[bank] = gpio_base + offset_array[bank]; chips 274 drivers/gpio/gpio-davinci.c ret = devm_gpiochip_add_data(dev, &chips->chip, chips); chips 278 drivers/gpio/gpio-davinci.c platform_set_drvdata(pdev, chips); chips 443 drivers/gpio/gpio-davinci.c struct davinci_gpio_controller *chips = chips 445 drivers/gpio/gpio-davinci.c struct davinci_gpio_regs __iomem *g = chips->regs[hw / 32]; chips 497 drivers/gpio/gpio-davinci.c struct davinci_gpio_controller *chips = platform_get_drvdata(pdev); chips 537 drivers/gpio/gpio-davinci.c chips); chips 551 drivers/gpio/gpio-davinci.c chips->chip.to_irq = gpio_to_irq_banked; chips 552 drivers/gpio/gpio-davinci.c chips->irq_domain = irq_domain; chips 561 drivers/gpio/gpio-davinci.c chips->chip.to_irq = gpio_to_irq_unbanked; chips 562 drivers/gpio/gpio-davinci.c chips->gpio_unbanked = pdata->gpio_unbanked; chips 566 drivers/gpio/gpio-davinci.c irq = chips->irqs[0]; chips 572 drivers/gpio/gpio-davinci.c g = chips->regs[0]; chips 578 drivers/gpio/gpio-davinci.c irq_set_chip(chips->irqs[gpio], irq_chip); chips 579 drivers/gpio/gpio-davinci.c irq_set_handler_data(chips->irqs[gpio], chips); chips 580 drivers/gpio/gpio-davinci.c irq_set_status_flags(chips->irqs[gpio], chips 596 drivers/gpio/gpio-davinci.c g = chips->regs[bank / 2]; chips 616 drivers/gpio/gpio-davinci.c irqdata->chip = chips; chips 618 drivers/gpio/gpio-davinci.c irq_set_chained_handler_and_data(chips->irqs[bank], chips 55 drivers/gpio/gpio-f7188x.c enum chips type; chips 46 drivers/hwmon/ad7418.c enum chips type; chips 255 drivers/hwmon/ad7418.c data->type = (enum chips)of_device_get_match_data(dev); chips 70 drivers/hwmon/adm1021.c enum chips type; chips 1464 drivers/hwmon/adt7475.c enum chips chip; chips 1486 drivers/hwmon/adt7475.c chip = (enum chips)of_device_get_match_data(&client->dev); chips 209 drivers/hwmon/dme1737.c enum chips type; chips 114 drivers/hwmon/ds1621.c enum chips kind; /* device type */ chips 246 drivers/hwmon/f71882fg.c enum chips type; chips 251 drivers/hwmon/f71882fg.c enum chips type; chips 264 drivers/hwmon/fschmd.c enum chips kind; chips 1048 drivers/hwmon/fschmd.c enum chips kind; chips 1091 drivers/hwmon/fschmd.c enum chips kind = id->driver_data; chips 107 drivers/hwmon/gl518sm.c enum chips type; chips 492 drivers/hwmon/it87.c enum chips type; chips 514 drivers/hwmon/it87.c enum chips type; chips 146 drivers/hwmon/lm63.c enum chips kind; chips 1107 drivers/hwmon/lm63.c data->kind = (enum chips)of_device_get_match_data(&client->dev); chips 113 drivers/hwmon/lm78.c enum chips type; chips 292 drivers/hwmon/lm85.c enum chips type; chips 1560 drivers/hwmon/lm85.c data->type = (enum chips)of_device_get_match_data(&client->dev); chips 1780 drivers/hwmon/lm90.c data->kind = (enum chips)of_device_get_match_data(&client->dev); chips 184 drivers/hwmon/max1111.c enum chips chip = spi_get_device_id(spi)->driver_data; chips 82 drivers/hwmon/max16065.c enum chips type; chips 58 drivers/hwmon/max1668.c enum chips type; chips 74 drivers/hwmon/max6697.c enum chips type; chips 612 drivers/hwmon/max6697.c data->type = (enum chips)of_device_get_match_data(&client->dev); chips 97 drivers/hwmon/pmbus/ltc2978.c enum chips id; chips 482 drivers/hwmon/pmbus/ucd9000.c enum chips chip; chips 509 drivers/hwmon/pmbus/ucd9000.c chip = (enum chips)of_device_get_match_data(&client->dev); chips 80 drivers/hwmon/pmbus/ucd9200.c enum chips chip; chips 107 drivers/hwmon/pmbus/ucd9200.c chip = (enum chips)of_device_get_match_data(&client->dev); chips 138 drivers/hwmon/smm665.c enum chips type; chips 119 drivers/hwmon/smsc47m1.c enum chips type; chips 133 drivers/hwmon/smsc47m1.c enum chips type; chips 635 drivers/hwmon/smsc47m1.c enum chips type, int action, chips 62 drivers/hwmon/thmc50.c enum chips type; chips 141 drivers/hwmon/tmp401.c enum chips kind; chips 620 drivers/hwmon/tmp401.c enum chips kind; chips 218 drivers/hwmon/tmp421.c enum chips kind; chips 52 drivers/hwmon/w83627hf.c enum chips type; chips 355 drivers/hwmon/w83627hf.c enum chips type; chips 1725 drivers/hwmon/w83627hf.c enum chips type = data->type; chips 182 drivers/hwmon/w83781d.c DIV_TO_REG(long val, enum chips type) chips 199 drivers/hwmon/w83781d.c enum chips type; chips 854 drivers/hwmon/w83781d.c enum chips kind = data->type; chips 53 drivers/i2c/muxes/i2c-mux-ltc4306.c static const struct chip_desc chips[] = { chips 202 drivers/i2c/muxes/i2c-mux-ltc4306.c { .compatible = "lltc,ltc4305", .data = &chips[ltc_4305] }, chips 203 drivers/i2c/muxes/i2c-mux-ltc4306.c { .compatible = "lltc,ltc4306", .data = &chips[ltc_4306] }, chips 222 drivers/i2c/muxes/i2c-mux-ltc4306.c chip = &chips[i2c_match_id(ltc4306_id, client)->driver_data]; chips 99 drivers/i2c/muxes/i2c-mux-pca954x.c static const struct chip_desc chips[] = { chips 203 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9540", .data = &chips[pca_9540] }, chips 204 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9542", .data = &chips[pca_9542] }, chips 205 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9543", .data = &chips[pca_9543] }, chips 206 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9544", .data = &chips[pca_9544] }, chips 207 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9545", .data = &chips[pca_9545] }, chips 208 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9546", .data = &chips[pca_9546] }, chips 209 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9547", .data = &chips[pca_9547] }, chips 210 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9548", .data = &chips[pca_9548] }, chips 211 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9846", .data = &chips[pca_9846] }, chips 212 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9847", .data = &chips[pca_9847] }, chips 213 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9848", .data = &chips[pca_9848] }, chips 214 drivers/i2c/muxes/i2c-mux-pca954x.c { .compatible = "nxp,pca9849", .data = &chips[pca_9849] }, chips 446 drivers/i2c/muxes/i2c-mux-pca954x.c data->chip = &chips[id->driver_data]; chips 546 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].word_write_time = chips 549 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].word_write_time = 50000; chips 552 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].buffer_write_time = chips 557 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].erase_time = chips 560 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].erase_time = 2000000; chips 564 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].word_write_time_max = chips 568 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].word_write_time_max = 50000 * 8; chips 572 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].buffer_write_time_max = chips 578 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].erase_time_max = chips 582 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].erase_time_max = 2000000 * 8; chips 584 drivers/mtd/chips/cfi_cmdset_0001.c cfi->chips[i].ref_point_counter = 0; chips 585 drivers/mtd/chips/cfi_cmdset_0001.c init_waitqueue_head(&(cfi->chips[i].wq)); chips 759 drivers/mtd/chips/cfi_cmdset_0001.c newcfi = kmalloc(struct_size(newcfi, chips, numvirtchips), chips 774 drivers/mtd/chips/cfi_cmdset_0001.c chip = &newcfi->chips[0]; chips 779 drivers/mtd/chips/cfi_cmdset_0001.c *chip = cfi->chips[i]; chips 1397 drivers/mtd/chips/cfi_cmdset_0001.c *virt = map->virt + cfi->chips[chipnum].start + ofs; chips 1399 drivers/mtd/chips/cfi_cmdset_0001.c *phys = map->phys + cfi->chips[chipnum].start + ofs; chips 1409 drivers/mtd/chips/cfi_cmdset_0001.c last_end = cfi->chips[chipnum].start; chips 1410 drivers/mtd/chips/cfi_cmdset_0001.c else if (cfi->chips[chipnum].start != last_end) chips 1418 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); chips 1449 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[chipnum]; chips 1534 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); chips 1645 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_oneword(map, &cfi->chips[chipnum], chips 1666 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_oneword(map, &cfi->chips[chipnum], chips 1690 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_oneword(map, &cfi->chips[chipnum], chips 1895 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_buffer(map, &cfi->chips[chipnum], chips 2036 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[i]; chips 2055 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[i]; chips 2332 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[chip_num]; chips 2518 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[i]; chips 2529 drivers/mtd/chips/cfi_cmdset_0001.c map_write(map, CMD(0xFF), cfi->chips[i].start); chips 2559 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[i]; chips 2608 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[i]; chips 2616 drivers/mtd/chips/cfi_cmdset_0001.c map_write(map, CMD(0xFF), cfi->chips[i].start); chips 2636 drivers/mtd/chips/cfi_cmdset_0001.c struct flchip *chip = &cfi->chips[i]; chips 2674 drivers/mtd/chips/cfi_cmdset_0001.c kfree(cfi->chips[0].priv); chips 714 drivers/mtd/chips/cfi_cmdset_0002.c cfi->chips[i].word_write_time = 1<<cfi->cfiq->WordWriteTimeoutTyp; chips 715 drivers/mtd/chips/cfi_cmdset_0002.c cfi->chips[i].buffer_write_time = 1<<cfi->cfiq->BufWriteTimeoutTyp; chips 716 drivers/mtd/chips/cfi_cmdset_0002.c cfi->chips[i].erase_time = 1<<cfi->cfiq->BlockEraseTimeoutTyp; chips 725 drivers/mtd/chips/cfi_cmdset_0002.c cfi->chips[i].buffer_write_time_max = chips 729 drivers/mtd/chips/cfi_cmdset_0002.c cfi->chips[i].buffer_write_time_max = 0; chips 731 drivers/mtd/chips/cfi_cmdset_0002.c cfi->chips[i].buffer_write_time_max = chips 732 drivers/mtd/chips/cfi_cmdset_0002.c max(cfi->chips[i].buffer_write_time_max, 2000); chips 734 drivers/mtd/chips/cfi_cmdset_0002.c cfi->chips[i].ref_point_counter = 0; chips 735 drivers/mtd/chips/cfi_cmdset_0002.c init_waitqueue_head(&(cfi->chips[i].wq)); chips 1263 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); chips 1372 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, chips 1505 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[chipnum]; chips 1832 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chips 1842 drivers/mtd/chips/cfi_cmdset_0002.c mutex_lock(&cfi->chips[chipnum].mutex); chips 1844 drivers/mtd/chips/cfi_cmdset_0002.c if (cfi->chips[chipnum].state != FL_READY) { chips 1846 drivers/mtd/chips/cfi_cmdset_0002.c add_wait_queue(&cfi->chips[chipnum].wq, &wait); chips 1848 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chips 1851 drivers/mtd/chips/cfi_cmdset_0002.c remove_wait_queue(&cfi->chips[chipnum].wq, &wait); chips 1858 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chips 1865 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_oneword(map, &cfi->chips[chipnum], chips 1889 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_oneword(map, &cfi->chips[chipnum], chips 1904 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chips 1913 drivers/mtd/chips/cfi_cmdset_0002.c mutex_lock(&cfi->chips[chipnum].mutex); chips 1915 drivers/mtd/chips/cfi_cmdset_0002.c if (cfi->chips[chipnum].state != FL_READY) { chips 1917 drivers/mtd/chips/cfi_cmdset_0002.c add_wait_queue(&cfi->chips[chipnum].wq, &wait); chips 1919 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chips 1922 drivers/mtd/chips/cfi_cmdset_0002.c remove_wait_queue(&cfi->chips[chipnum].wq, &wait); chips 1928 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chips 1932 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_oneword(map, &cfi->chips[chipnum], chips 2144 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_buffer(map, &cfi->chips[chipnum], chips 2323 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chips 2332 drivers/mtd/chips/cfi_cmdset_0002.c ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], bus_ofs); chips 2344 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_panic_write_oneword(map, &cfi->chips[chipnum], chips 2368 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_panic_write_oneword(map, &cfi->chips[chipnum], chips 2384 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chips 2392 drivers/mtd/chips/cfi_cmdset_0002.c ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], ofs); chips 2400 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_panic_write_oneword(map, &cfi->chips[chipnum], chips 2632 drivers/mtd/chips/cfi_cmdset_0002.c return do_erase_chip(map, &cfi->chips[0]); chips 2851 drivers/mtd/chips/cfi_cmdset_0002.c sect[sectors].chip = &cfi->chips[chipnum]; chips 2854 drivers/mtd/chips/cfi_cmdset_0002.c map, &cfi->chips[chipnum], adr, 0, chips 2923 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[i]; chips 2962 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[i]; chips 2984 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[i]; chips 3013 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[i]; chips 3038 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[i]; chips 3070 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[i]; chips 155 drivers/mtd/chips/cfi_cmdset_0020.c cfi->chips[i].word_write_time = 128; chips 156 drivers/mtd/chips/cfi_cmdset_0020.c cfi->chips[i].buffer_write_time = 128; chips 157 drivers/mtd/chips/cfi_cmdset_0020.c cfi->chips[i].erase_time = 1024; chips 158 drivers/mtd/chips/cfi_cmdset_0020.c cfi->chips[i].ref_point_counter = 0; chips 159 drivers/mtd/chips/cfi_cmdset_0020.c init_waitqueue_head(&(cfi->chips[i].wq)); chips 407 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); chips 635 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_write_buffer(map, &cfi->chips[chipnum], chips 952 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_erase_oneblock(map, &cfi->chips[chipnum], adr); chips 985 drivers/mtd/chips/cfi_cmdset_0020.c chip = &cfi->chips[i]; chips 1022 drivers/mtd/chips/cfi_cmdset_0020.c chip = &cfi->chips[i]; chips 1157 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_lock_oneblock(map, &cfi->chips[chipnum], adr); chips 1305 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_unlock_oneblock(map, &cfi->chips[chipnum], adr); chips 1325 drivers/mtd/chips/cfi_cmdset_0020.c chip = &cfi->chips[i]; chips 1354 drivers/mtd/chips/cfi_cmdset_0020.c chip = &cfi->chips[i]; chips 1381 drivers/mtd/chips/cfi_cmdset_0020.c chip = &cfi->chips[i]; chips 419 drivers/mtd/chips/cfi_util.c ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); chips 138 drivers/mtd/chips/gen_probe.c retcfi = kmalloc(struct_size(retcfi, chips, cfi.numchips), GFP_KERNEL); chips 147 drivers/mtd/chips/gen_probe.c memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); chips 151 drivers/mtd/chips/gen_probe.c struct flchip *pchip = &retcfi->chips[j++]; chips 75 drivers/mtd/lpddr/lpddr_cmds.c chip = &lpddr->chips[0]; chips 81 drivers/mtd/lpddr/lpddr_cmds.c *chip = lpddr->chips[i]; chips 462 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chips 490 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chips 515 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chips 556 drivers/mtd/lpddr/lpddr_cmds.c chip = &lpddr->chips[chipnum]; chips 575 drivers/mtd/lpddr/lpddr_cmds.c chip = &lpddr->chips[chipnum]; chips 647 drivers/mtd/lpddr/lpddr_cmds.c ret = do_write_buffer(map, &lpddr->chips[chipnum], chips 695 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chips 170 drivers/mtd/lpddr/qinfo_probe.c retlpddr = kzalloc(struct_size(retlpddr, chips, numvirtchips), chips 261 drivers/mtd/maps/amd76xrom.c cfi->chips[i].start += offset; chips 291 drivers/mtd/maps/ck804xrom.c cfi->chips[i].start += offset; chips 352 drivers/mtd/maps/esb2rom.c cfi->chips[i].start += offset; chips 288 drivers/mtd/maps/ichxrom.c cfi->chips[i].start += offset; chips 223 drivers/mtd/nand/raw/atmel/nand-controller.c struct list_head chips; chips 1692 drivers/mtd/nand/raw/atmel/nand-controller.c list_add_tail(&nand->node, &nc->chips); chips 1703 drivers/mtd/nand/raw/atmel/nand-controller.c list_for_each_entry_safe(nand, tmp, &nc->chips, node) { chips 1972 drivers/mtd/nand/raw/atmel/nand-controller.c INIT_LIST_HEAD(&nc->chips); chips 2569 drivers/mtd/nand/raw/atmel/nand-controller.c list_for_each_entry(nand, &nc->chips, node) { chips 1185 drivers/mtd/nand/raw/denali.c list_for_each_entry(dchip2, &denali->chips, node) { chips 1203 drivers/mtd/nand/raw/denali.c if (!mtd->name && list_empty(&denali->chips)) chips 1238 drivers/mtd/nand/raw/denali.c list_add_tail(&dchip->node, &denali->chips); chips 1258 drivers/mtd/nand/raw/denali.c INIT_LIST_HEAD(&denali->chips); chips 1340 drivers/mtd/nand/raw/denali.c list_for_each_entry(dchip, &denali->chips, node) chips 364 drivers/mtd/nand/raw/denali.h struct list_head chips; chips 52 drivers/mtd/nand/raw/fsl_elbc_nand.c struct fsl_elbc_mtd *chips[MAX_BANKS]; chips 840 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->chips[priv->bank] = NULL; chips 908 drivers/mtd/nand/raw/fsl_elbc_nand.c elbc_fcm_ctrl->chips[bank] = priv; chips 43 drivers/mtd/nand/raw/fsl_ifc_nand.c struct fsl_ifc_mtd *chips[FSL_IFC_BANK_COUNT]; chips 955 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->chips[priv->bank] = NULL; chips 1033 drivers/mtd/nand/raw/fsl_ifc_nand.c ifc_nand_ctrl->chips[bank] = priv; chips 51 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c struct list_head chips; chips 383 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c list_add_tail(&nand->chip_list, &nfc->chips); chips 392 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c while (!list_empty(&nfc->chips)) { chips 393 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c chip = list_first_entry(&nfc->chips, chips 462 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c INIT_LIST_HEAD(&nfc->chips); chips 398 drivers/mtd/nand/raw/marvell_nand.c struct list_head chips; chips 2671 drivers/mtd/nand/raw/marvell_nand.c list_add_tail(&marvell_nand->node, &nfc->chips); chips 2721 drivers/mtd/nand/raw/marvell_nand.c list_for_each_entry_safe(entry, temp, &nfc->chips, node) { chips 2857 drivers/mtd/nand/raw/marvell_nand.c INIT_LIST_HEAD(&nfc->chips); chips 2959 drivers/mtd/nand/raw/marvell_nand.c list_for_each_entry(chip, &nfc->chips, node) chips 164 drivers/mtd/nand/raw/meson_nand.c struct list_head chips; chips 1285 drivers/mtd/nand/raw/meson_nand.c list_add_tail(&meson_chip->node, &nfc->chips); chips 1296 drivers/mtd/nand/raw/meson_nand.c while (!list_empty(&nfc->chips)) { chips 1297 drivers/mtd/nand/raw/meson_nand.c meson_chip = list_first_entry(&nfc->chips, chips 1383 drivers/mtd/nand/raw/meson_nand.c INIT_LIST_HEAD(&nfc->chips); chips 154 drivers/mtd/nand/raw/mtk_nand.c struct list_head chips; chips 1426 drivers/mtd/nand/raw/mtk_nand.c list_add_tail(&chip->node, &nfc->chips); chips 1503 drivers/mtd/nand/raw/mtk_nand.c INIT_LIST_HEAD(&nfc->chips); chips 1584 drivers/mtd/nand/raw/mtk_nand.c while (!list_empty(&nfc->chips)) { chips 1585 drivers/mtd/nand/raw/mtk_nand.c chip = list_first_entry(&nfc->chips, struct mtk_nfc_nand_chip, chips 1622 drivers/mtd/nand/raw/mtk_nand.c list_for_each_entry(chip, &nfc->chips, node) { chips 528 drivers/mtd/nand/raw/nand_bbt.c int i, chips; chips 545 drivers/mtd/nand/raw/nand_bbt.c chips = nanddev_ntargets(&this->base); chips 549 drivers/mtd/nand/raw/nand_bbt.c chips = 1; chips 553 drivers/mtd/nand/raw/nand_bbt.c for (i = 0; i < chips; i++) { chips 577 drivers/mtd/nand/raw/nand_bbt.c for (i = 0; i < chips; i++) { chips 920 drivers/mtd/nand/raw/nand_bbt.c int i, chips, writeops, create, chipsel, res, res2; chips 927 drivers/mtd/nand/raw/nand_bbt.c chips = nanddev_ntargets(&this->base); chips 929 drivers/mtd/nand/raw/nand_bbt.c chips = 1; chips 931 drivers/mtd/nand/raw/nand_bbt.c for (i = 0; i < chips; i++) { chips 1101 drivers/mtd/nand/raw/nand_bbt.c int i, j, chips, block, nrblocks, update; chips 1106 drivers/mtd/nand/raw/nand_bbt.c chips = nanddev_ntargets(&this->base); chips 1109 drivers/mtd/nand/raw/nand_bbt.c chips = 1; chips 1113 drivers/mtd/nand/raw/nand_bbt.c for (i = 0; i < chips; i++) { chips 34 drivers/mtd/nand/raw/oxnas_nand.c struct nand_chip *chips[OXNAS_NAND_MAX_CHIPS]; chips 148 drivers/mtd/nand/raw/oxnas_nand.c oxnas->chips[nchips] = chip; chips 173 drivers/mtd/nand/raw/oxnas_nand.c if (oxnas->chips[0]) chips 174 drivers/mtd/nand/raw/oxnas_nand.c nand_release(oxnas->chips[0]); chips 246 drivers/mtd/nand/raw/sunxi_nand.c struct list_head chips; chips 2010 drivers/mtd/nand/raw/sunxi_nand.c list_add_tail(&sunxi_nand->node, &nfc->chips); chips 2042 drivers/mtd/nand/raw/sunxi_nand.c while (!list_empty(&nfc->chips)) { chips 2043 drivers/mtd/nand/raw/sunxi_nand.c sunxi_nand = list_first_entry(&nfc->chips, chips 2066 drivers/mtd/nand/raw/sunxi_nand.c INIT_LIST_HEAD(&nfc->chips); chips 87 drivers/mtd/nand/raw/tango_nand.c struct tango_chip *chips[MAX_CS]; chips 596 drivers/mtd/nand/raw/tango_nand.c nfc->chips[cs] = tchip; chips 609 drivers/mtd/nand/raw/tango_nand.c if (nfc->chips[cs]) chips 610 drivers/mtd/nand/raw/tango_nand.c nand_release(&nfc->chips[cs]->nand_chip); chips 112 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_chip *chips[0]; /* pointers to attached chips */ chips 407 drivers/mtd/spi-nor/aspeed-smc.c chip = controller->chips[n]; chips 785 drivers/mtd/spi-nor/aspeed-smc.c if (controller->chips[cs]) { chips 787 drivers/mtd/spi-nor/aspeed-smc.c cs, dev_name(controller->chips[cs]->nor.dev)); chips 836 drivers/mtd/spi-nor/aspeed-smc.c controller->chips[cs] = chip; chips 863 drivers/mtd/spi-nor/aspeed-smc.c struct_size(controller, chips, info->nce), chips 49 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dump.h u32 chips; chips 58 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dump.h u32 chips; chips 735 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c #define IS_E1_REG(chips) ((chips & DUMP_CHIP_E1) == DUMP_CHIP_E1) chips 736 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c #define IS_E1H_REG(chips) ((chips & DUMP_CHIP_E1H) == DUMP_CHIP_E1H) chips 737 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c #define IS_E2_REG(chips) ((chips & DUMP_CHIP_E2) == DUMP_CHIP_E2) chips 738 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c #define IS_E3A0_REG(chips) ((chips & DUMP_CHIP_E3A0) == DUMP_CHIP_E3A0) chips 739 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c #define IS_E3B0_REG(chips) ((chips & DUMP_CHIP_E3B0) == DUMP_CHIP_E3B0) chips 809 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E1_REG(reg_info->chips); chips 811 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E1H_REG(reg_info->chips); chips 813 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E2_REG(reg_info->chips); chips 815 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E3A0_REG(reg_info->chips); chips 817 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E3B0_REG(reg_info->chips); chips 826 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E1_REG(wreg_info->chips); chips 828 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E1H_REG(wreg_info->chips); chips 830 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E2_REG(wreg_info->chips); chips 832 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E3A0_REG(wreg_info->chips); chips 834 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return IS_E3B0_REG(wreg_info->chips); chips 991 drivers/pinctrl/pinctrl-mcp23s08.c int chips = 0; chips 1029 drivers/pinctrl/pinctrl-mcp23s08.c chips++; chips 1032 drivers/pinctrl/pinctrl-mcp23s08.c if (!chips) chips 1036 drivers/pinctrl/pinctrl-mcp23s08.c struct_size(data, chip, chips), GFP_KERNEL); chips 1045 drivers/pinctrl/pinctrl-mcp23s08.c chips--; chips 1046 drivers/pinctrl/pinctrl-mcp23s08.c data->mcp[addr] = &data->chip[chips]; chips 185 drivers/rtc/rtc-ds1307.c static const struct chip_desc chips[last_ds_type]; chips 191 drivers/rtc/rtc-ds1307.c const struct chip_desc *chip = &chips[ds1307->type]; chips 290 drivers/rtc/rtc-ds1307.c const struct chip_desc *chip = &chips[ds1307->type]; chips 874 drivers/rtc/rtc-ds1307.c static const struct chip_desc chips[last_ds_type] = { chips 1192 drivers/rtc/rtc-ds1307.c const struct chip_desc *chip = &chips[ds1307->type]; chips 1202 drivers/rtc/rtc-ds1307.c const struct chip_desc *chip = &chips[ds1307->type]; chips 1607 drivers/rtc/rtc-ds1307.c chip = &chips[ds1307->type]; chips 1609 drivers/rtc/rtc-ds1307.c chip = &chips[id->driver_data]; chips 1618 drivers/rtc/rtc-ds1307.c chip = &chips[acpi_id->driver_data]; chips 42 drivers/spi/spi-sc18is602.c enum chips id; chips 267 drivers/spi/spi-sc18is602.c hw->id = (enum chips)of_device_get_match_data(&client->dev); chips 257 drivers/video/fbdev/aty/radeon_monitor.c int offset, chips, connectors, tmp, i, conn, type; chips 277 drivers/video/fbdev/aty/radeon_monitor.c chips = BIOS_IN8(offset++) >> 4; chips 278 drivers/video/fbdev/aty/radeon_monitor.c pr_debug("%d chips in connector info\n", chips); chips 279 drivers/video/fbdev/aty/radeon_monitor.c for (i = 0; i < chips; i++) { chips 141 drivers/watchdog/f71808e_wdt.c enum chips type; chips 149 drivers/watchdog/w83627hf_wdt.c static int w83627hf_init(struct watchdog_device *wdog, enum chips chip) chips 289 include/linux/mtd/cfi.h struct flchip chips[0]; /* per-chip data structure for each chip */ chips 199 include/linux/mtd/doc2000.h struct Nand *chips; chips 27 include/linux/mtd/qinfo.h struct flchip chips[0]; chips 34 sound/usb/6fire/chip.c static struct sfire_chip *chips[SNDRV_CARDS] = SNDRV_DEFAULT_PTR; chips 95 sound/usb/6fire/chip.c if (chips[i]) chips 96 sound/usb/6fire/chip.c chips[i]->intf_count++; chips 97 sound/usb/6fire/chip.c usb_set_intfdata(intf, chips[i]); chips 135 sound/usb/6fire/chip.c chips[regidx] = chip; chips 180 sound/usb/6fire/chip.c chips[chip->regidx] = NULL;