ivtvfb.c (a3479c7fc096a1a7a2dccbfbdc6fcf86b805711a) ivtvfb.c (5bfffa0c86915e5afbfe56d9790457b2a9887f2d)
1/*
2 On Screen Display cx23415 Framebuffer driver
3
4 This module presents the cx23415 OSD (onscreen display) framebuffer memory
5 as a standard Linux /dev/fb style framebuffer device. The framebuffer has
6 support for 8, 16 & 32 bpp packed pixel formats with alpha channel. In 16bpp
7 mode, there is a choice of a three color depths (12, 15 or 16 bits), but no
8 local alpha. The colorspace is selectable between rgb & yuv.

--- 1164 unchanged lines hidden (view full) ---

1173#endif
1174
1175 if (itv->osd_info) {
1176 IVTVFB_ERR("Card %d already initialised\n", ivtvfb_card_id);
1177 return -EBUSY;
1178 }
1179
1180 itv->osd_info = kzalloc(sizeof(struct osd_info),
1/*
2 On Screen Display cx23415 Framebuffer driver
3
4 This module presents the cx23415 OSD (onscreen display) framebuffer memory
5 as a standard Linux /dev/fb style framebuffer device. The framebuffer has
6 support for 8, 16 & 32 bpp packed pixel formats with alpha channel. In 16bpp
7 mode, there is a choice of a three color depths (12, 15 or 16 bits), but no
8 local alpha. The colorspace is selectable between rgb & yuv.

--- 1164 unchanged lines hidden (view full) ---

1173#endif
1174
1175 if (itv->osd_info) {
1176 IVTVFB_ERR("Card %d already initialised\n", ivtvfb_card_id);
1177 return -EBUSY;
1178 }
1179
1180 itv->osd_info = kzalloc(sizeof(struct osd_info),
1181 GFP_ATOMIC|__GFP_NOWARN);
1181 GFP_KERNEL|__GFP_NOWARN);
1182 if (itv->osd_info == NULL) {
1183 IVTVFB_ERR("Failed to allocate memory for osd_info\n");
1184 return -ENOMEM;
1185 }
1186
1187 /* Find & setup the OSD buffer */
1188 rc = ivtvfb_init_io(itv);
1189 if (rc) {

--- 110 unchanged lines hidden ---
1182 if (itv->osd_info == NULL) {
1183 IVTVFB_ERR("Failed to allocate memory for osd_info\n");
1184 return -ENOMEM;
1185 }
1186
1187 /* Find & setup the OSD buffer */
1188 rc = ivtvfb_init_io(itv);
1189 if (rc) {

--- 110 unchanged lines hidden ---