Lines Matching defs:entries
931 static int uvesafb_setpalette(struct uvesafb_pal_entry *entries, int count,
943 * there can never be more than 256 entries.
954 outb_p(entries[i].red, dac_val);
955 outb_p(entries[i].green, dac_val);
956 outb_p(entries[i].blue, dac_val);
968 "D" (entries), /* EDI */
985 task->buf = entries;
1049 struct uvesafb_pal_entry *entries;
1058 entries = kmalloc(sizeof(*entries) * cmap->len, GFP_KERNEL);
1059 if (!entries)
1063 entries[i].red = cmap->red[i] >> shift;
1064 entries[i].green = cmap->green[i] >> shift;
1065 entries[i].blue = cmap->blue[i] >> shift;
1066 entries[i].pad = 0;
1068 err = uvesafb_setpalette(entries, cmap->len, cmap->start, info);
1069 kfree(entries);
1475 * entries, resource allocation and bounds