/drivers/gpu/drm/nouveau/ |
H A D | nvc0_vram.c | 33 static const u8 types[256] = { variable 56 return likely((types[memtype] == 1));
|
H A D | nv50_vram.c | 29 static int types[0x80] = { variable 45 if (likely(type < ARRAY_SIZE(types) && types[type])) 92 if (!types[type]) 123 ret = nouveau_mm_get(mm, types[type], size, size_nc, align, &r);
|
H A D | nouveau_mxm.c | 101 mxms_foreach(struct drm_device *dev, u8 types, argument 174 if (types & (1 << type)) {
|
/drivers/gpu/drm/ |
H A D | drm_info.c | 81 const char *types[] = { "FB", "REG", "SHM", "AGP", "SG", "PCI" }; local 95 type = types[map->type];
|
/drivers/leds/ |
H A D | leds-sunfire.c | 127 struct led_type *types) 150 lp->name = types[i].name; 152 lp->brightness_set = types[i].handler; 153 lp->default_trigger = types[i].default_trigger; 126 sunfire_led_generic_probe(struct platform_device *pdev, struct led_type *types) argument
|
/drivers/media/video/s5p-jpeg/ |
H A D | jpeg-core.h | 85 * @types: types of queue this format is applicable to 94 u32 types; member in struct:s5p_jpeg_fmt
|
/drivers/pci/hotplug/ |
H A D | rpaphp_core.c | 173 const int *indexes, *names, *types, *domains; local 177 types = of_get_property(dn, "ibm,drc-types", NULL); 180 if (!indexes || !names || !types || !domains) { 190 /* &drc_types[1] contains NULL terminated slot types */ 191 *drc_types = types; 206 const int *types, *domains; local 217 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); 223 type_tmp = (char *) &types[1]; 263 * @types 271 is_php_dn(struct device_node *dn, const int **indexes, const int **names, const int **types, const int **power_domains) argument 309 const int *indexes, *names, *types, *power_domains; local [all...] |
/drivers/ata/ |
H A D | pata_it821x.c | 612 static const char *types[5] = { local 638 n, mbuf, types[buf[52]], id, cbl); 641 n, mbuf, types[buf[52]], buf[53], id, cbl);
|
/drivers/mtd/ |
H A D | mtdcore.c | 433 * @types: the list of MTD partition probes to try, see 446 * specified in @types (if @types is %NULL, then the default list of parsers 457 int mtd_device_parse_register(struct mtd_info *mtd, const char **types, argument 465 err = parse_mtd_partitions(mtd, types, &real_parts, parser_data);
|
H A D | mtdpart.c | 25 #include <linux/types.h> 736 * @types: names of partition parsers to try or %NULL 741 * partition parsers, specified in @types. However, if @types is %NULL, then 751 int parse_mtd_partitions(struct mtd_info *master, const char **types, argument 758 if (!types) 759 types = default_mtd_part_types; 761 for ( ; ret <= 0 && *types; types++) { 762 parser = get_partition_parser(*types); [all...] |
/drivers/scsi/ |
H A D | ses.c | 367 int types = ses_dev->page1_num_types; local 404 for (i = 0; i < types; i++, type_ptr += 4) { 510 int i, types, len, components = 0; local 549 types = 0; 559 types += type_ptr[2]; 564 ses_dev->page1_num_types = types; 566 for (i = 0; i < types && type_ptr < buf + len; i++, type_ptr += 4) {
|
/drivers/hid/ |
H A D | hid-core.c | 1211 static const char *types[] = { "Device", "Pointer", "Mouse", "Device", local 1270 (col->usage & 0xffff) < ARRAY_SIZE(types)) { 1271 type = types[col->usage & 0xffff];
|
/drivers/media/video/ |
H A D | mem2mem_testdev.c | 80 u32 types; member in struct:m2mtest_fmt 89 .types = MEM2MEM_CAPTURE | MEM2MEM_OUTPUT, 96 .types = MEM2MEM_OUTPUT, 396 if (formats[i].types & type) { 502 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) { 519 if (!fmt || !(fmt->types & MEM2MEM_OUTPUT)) {
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | main.c | 136 MODULE_PARM_DESC(port_type_array, "Array of port types: HW_DEFAULT (0) is default " 159 mlx4_err(dev, "Only same port types supported " 322 * 2. Different types are supported on the port 585 enum mlx4_port_type types[MLX4_MAX_PORTS]; local 607 types[i] = priv->port[i+1].tmp_type ? priv->port[i+1].tmp_type : 609 if (types[i] == MLX4_PORT_TYPE_AUTO) 610 types[i] = mdev->caps.port_type[i+1]; 629 mlx4_do_sense_ports(mdev, new_types, types); 636 * was verified, no need to remember the temporary types
|
/drivers/usb/gadget/ |
H A D | at91_udc.c | 91 static char *types[] = { local 120 types[(csr & 0x700) >> 8],
|
H A D | f_fs.c | 165 u8 types[4]; member in struct:ffs_data::__anon5576 554 events[i].type = ffs->ev.types[i]; 563 memmove(ffs->ev.types, ffs->ev.types + n, 564 ffs->ev.count * sizeof *ffs->ev.types); 1999 u8 *ev = ffs->ev.types, *out = ev; 2006 ffs->ev.count = out - ffs->ev.types; 2010 ffs->ev.types[ffs->ev.count++] = type;
|
/drivers/usb/core/ |
H A D | devio.c | 355 static const char *types[] = {"isoc", "int", "ctrl", "bulk"}; local 364 t = types[usb_pipetype(pipe)];
|