Searched defs:types (Results 1 - 18 of 18) sorted by relevance

/drivers/gpu/drm/nouveau/
H A Dnvc0_vram.c33 static const u8 types[256] = { variable
56 return likely((types[memtype] == 1));
H A Dnv50_vram.c29 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 Dnouveau_mxm.c101 mxms_foreach(struct drm_device *dev, u8 types, argument
174 if (types & (1 << type)) {
/drivers/gpu/drm/
H A Ddrm_info.c81 const char *types[] = { "FB", "REG", "SHM", "AGP", "SG", "PCI" }; local
95 type = types[map->type];
/drivers/leds/
H A Dleds-sunfire.c127 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 Djpeg-core.h89 * @types: types of queue this format is applicable to
98 u32 types; member in struct:s5p_jpeg_fmt
/drivers/pci/hotplug/
H A Drpaphp_core.c173 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 Dpata_it821x.c612 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 Dmtdcore.c433 * @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 Dmtdpart.c25 #include <linux/types.h>
704 * @types: names of partition parsers to try or %NULL
709 * partition parsers, specified in @types. However, if @types is %NULL, then
719 int parse_mtd_partitions(struct mtd_info *master, const char **types, argument
726 if (!types)
727 types = default_mtd_part_types;
729 for ( ; ret <= 0 && *types; types++) {
730 parser = get_partition_parser(*types);
[all...]
/drivers/scsi/
H A Dses.c367 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 Dhid-core.c1215 static const char *types[] = { "Device", "Pointer", "Mouse", "Device", local
1273 (col->usage & 0xffff) < ARRAY_SIZE(types)) {
1274 type = types[col->usage & 0xffff];
/drivers/media/video/
H A Dmem2mem_testdev.c80 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)) {
H A Dmx2_emmaprp.c155 u32 types; member in struct:emmaprp_fmt
162 .types = MEM2MEM_CAPTURE,
167 .types = MEM2MEM_OUTPUT,
413 if (formats[i].types & type) {
524 if (!fmt || !(fmt->types & MEM2MEM_CAPTURE)) {
541 if (!fmt || !(fmt->types & MEM2MEM_OUTPUT)) {
/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c136 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 Dat91_udc.c92 static char *types[] = { local
121 types[(csr & 0x700) >> 8],
H A Df_fs.c165 u8 types[4]; member in struct:ffs_data::__anon5694
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 Ddevio.c352 static const char *types[] = {"isoc", "int", "ctrl", "bulk"}; local
361 t = types[usb_pipetype(pipe)];

Completed in 500 milliseconds