• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/ps3/

Lines Matching refs:dev_index

214 	unsigned int dev_index, const char *dev_str, u64 *value)
218 make_field("dev", dev_index),
224 int ps3_repository_read_dev_id(unsigned int bus_index, unsigned int dev_index,
231 make_field("dev", dev_index),
239 unsigned int dev_index, enum ps3_dev_type *dev_type)
246 make_field("dev", dev_index),
255 unsigned int dev_index, unsigned int intr_index,
264 make_field("dev", dev_index),
274 unsigned int dev_index, unsigned int reg_index,
282 make_field("dev", dev_index),
291 unsigned int dev_index, unsigned int reg_index, u64 *bus_addr, u64 *len)
295 make_field("dev", dev_index),
302 unsigned int dev_index, unsigned int reg_index,
305 int result = ps3_repository_read_dev_reg_type(bus_index, dev_index,
308 : ps3_repository_read_dev_reg_addr(bus_index, dev_index,
321 BUG_ON(repo->dev_index > 10);
334 if (tmp.dev_index >= num_dev) {
339 result = ps3_repository_read_dev_type(tmp.bus_index, tmp.dev_index,
347 result = ps3_repository_read_dev_id(tmp.bus_index, tmp.dev_index,
356 pr_debug("%s:%d: found: dev_type %u, dev_index %u, dev_id %llu\n",
357 __func__, __LINE__, tmp.dev_type, tmp.dev_index, tmp.dev_id);
406 for (tmp.dev_index = 0; tmp.dev_index < num_dev; tmp.dev_index++) {
408 tmp.dev_index,
412 __LINE__, tmp.bus_index, tmp.dev_index);
426 result = ps3_repository_read_dev_type(tmp.bus_index, tmp.dev_index,
435 tmp.dev_index, tmp.bus_id, tmp.dev_id);
462 for (repo.dev_index = 0; ; repo.dev_index++) {
521 repo->dev_index, res_index, &t, &id);
560 repo->dev_index, res_index, &t, &a, &l);
585 unsigned int dev_index, u64 *port)
589 make_field("dev", dev_index),
595 unsigned int dev_index, u64 *blk_size)
599 make_field("dev", dev_index),
605 unsigned int dev_index, u64 *num_blocks)
609 make_field("dev", dev_index),
615 unsigned int dev_index, unsigned int *num_regions)
622 make_field("dev", dev_index),
630 unsigned int dev_index, unsigned int region_index,
638 make_field("dev", dev_index),
647 unsigned int dev_index, unsigned int region_index, u64 *region_size)
651 make_field("dev", dev_index),
658 unsigned int dev_index, unsigned int region_index, u64 *region_start)
662 make_field("dev", dev_index),
669 unsigned int dev_index, u64 *port, u64 *blk_size,
674 result = ps3_repository_read_stor_dev_port(bus_index, dev_index, port);
678 result = ps3_repository_read_stor_dev_blk_size(bus_index, dev_index,
683 result = ps3_repository_read_stor_dev_num_blocks(bus_index, dev_index,
688 result = ps3_repository_read_stor_dev_num_regions(bus_index, dev_index,
694 unsigned int dev_index, unsigned int region_index,
699 result = ps3_repository_read_stor_dev_region_id(bus_index, dev_index,
704 result = ps3_repository_read_stor_dev_region_start(bus_index, dev_index,
709 result = ps3_repository_read_stor_dev_region_size(bus_index, dev_index,
1013 repo->bus_index, repo->dev_index);
1020 repo->dev_index, res_index, &intr_type, &interrupt_id);
1026 repo->bus_index, repo->dev_index);
1031 __func__, __LINE__, repo->bus_index, repo->dev_index,
1041 repo->dev_index, res_index, &reg_type, &bus_addr, &len);
1047 repo->bus_index, repo->dev_index);
1052 __func__, __LINE__, repo->bus_index, repo->dev_index,
1067 repo->bus_index, repo->dev_index);
1070 repo->dev_index, &port, &blk_size, &num_blocks, &num_regions);
1074 repo->bus_index, repo->dev_index);
1080 __func__, __LINE__, repo->bus_index, repo->dev_index, port,
1088 repo->dev_index, region_index, &region_id,
1093 repo->bus_index, repo->dev_index);
1098 __func__, __LINE__, repo->bus_index, repo->dev_index,
1114 for (repo->dev_index = 0; repo->dev_index < num_dev;
1115 repo->dev_index++) {
1118 repo->dev_index, &repo->dev_type);
1123 repo->bus_index, repo->dev_index);
1128 repo->dev_index, &repo->dev_id);
1133 repo->bus_index, repo->dev_index);
1138 __LINE__, repo->bus_index, repo->dev_index,