Searched defs:color (Results 1 - 25 of 76) sorted by relevance

1234

/drivers/scsi/fnic/
H A Dvnic_cq_copy.h33 u8 color; local
37 fcpio_color_dec(desc, &color);
39 while (color != cq->last_color) {
52 fcpio_color_dec(desc, &color);
H A Dcq_desc.h55 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
60 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK;
63 * Make sure color bit is read from desc *before* other fields
64 * are read from desc. Hardware guarantees color bit is last
54 cq_desc_dec(const struct cq_desc *desc_arg, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
H A Dvnic_cq.h79 u8 type, color; local
83 cq_desc_dec(cq_desc, &type, &color,
86 while (color != cq->last_color) {
100 cq_desc_dec(cq_desc, &type, &color,
/drivers/video/
H A Datafb_mfb.c54 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color, argument
63 if (color)
69 if (color)
H A Datafb_iplan2p2.c193 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color, argument
204 expand8_col2mask(color, cval);
214 expand16_col2mask(color, cval);
230 expand8_col2mask(color, cval);
H A Datafb_iplan2p4.c207 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color, argument
218 expand8_col2mask(color, cval);
228 expand16_col2mask(color, cval);
244 expand8_col2mask(color, cval);
H A Datafb_iplan2p8.c27 /* This expands a 8 bit color into two longs for two movepl (8 plane)
242 void atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color, argument
253 expand8_col2mask(color, cval);
263 expand16_col2mask(color, cval);
279 expand8_col2mask(color, cval);
H A Dcfbimgblt.c13 * image can be a bitmap where each 0 represents the background color and
14 * each 1 represents the foreground color. Great for font handling. It can
15 * also be a color image. This is determined by image_depth. The color image
82 u32 color = 0, val, shift; local
105 color = palette[*src];
107 color = *src;
108 color <<= FB_LEFT_POS(p, bpp);
109 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask);
114 FB_SHIFT_LOW(p, color, 3
143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; local
[all...]
H A Dsysimgblt.c57 u32 color = 0, val, shift; local
79 color = palette[*src];
81 color = *src;
82 color <<= FB_LEFT_POS(p, bpp);
83 val |= FB_SHIFT_HIGH(p, color, shift);
88 FB_SHIFT_LOW(p, color, 32 - shift);
115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; local
144 color = (*s & (1 << l)) ? fgcolor : bgcolor;
145 val |= FB_SHIFT_HIGH(p, color, shift);
151 FB_SHIFT_LOW(p, color, 3
[all...]
/drivers/net/ethernet/cisco/enic/
H A Dcq_desc.h57 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
62 *color = (type_color >> CQ_DESC_COLOR_SHIFT) & CQ_DESC_COLOR_MASK;
65 * Make sure color bit is read from desc *before* other fields
66 * are read from desc. Hardware guarantees color bit is last
56 cq_desc_dec(const struct cq_desc *desc_arg, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
H A Dvnic_cq.h72 u8 type, color; local
76 cq_desc_dec(cq_desc, &type, &color,
79 while (color != cq->last_color) {
93 cq_desc_dec(cq_desc, &type, &color,
H A Dcq_enet_desc.h34 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
37 color, q_number, completed_index);
105 u8 *type, u8 *color, u16 *q_number, u16 *completed_index,
118 color, q_number, completed_index);
33 cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
104 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) argument
/drivers/usb/misc/
H A Dusbled.c61 unsigned char color = 0x07; local
64 color &= ~0x04;
66 color &= ~0x02;
68 color &= ~0x01;
70 "blue = %d, red = %d, green = %d, color = %.2x\n",
71 led->blue, led->red, led->green, color);
78 (0x00 * 0x100) + color,
/drivers/video/savage/
H A Dsavagefb_accel.c68 int cmd, color; local
74 color = rect->color;
76 color = ((u32 *)info->pseudo_palette)[rect->color];
87 BCI_SEND(color);
/drivers/gpu/drm/exynos/
H A Dexynos_drm_fb.c77 unsigned color, struct drm_clip_rect *clips,
75 exynos_drm_fb_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
/drivers/base/
H A Ddevres.c34 int color; member in struct:devres_group
349 /* clear color of group markers in the first pass */
350 grp->color = 0;
364 /* Second pass - Scan groups and color them. A group gets
365 * color value of two iff the group is wholly contained in
381 grp->color++;
383 grp->color++;
385 BUG_ON(grp->color <= 0 || grp->color > 2);
386 if (grp->color
[all...]
/drivers/media/video/gspca/
H A Dspca1528.c39 u8 color; member in struct:sd
287 reg_wb(gspca_dev, 0xc3, 0x0000, 0x00c3, sd->color);
311 sd->color = COLOR_DEF;
518 sd->color = val;
528 *val = sd->color;
/drivers/media/video/s5p-fimc/
H A Dfimc-reg.c112 dbg("w= %d, h= %d color: %d", frame->width,
113 frame->height, frame->fmt->color);
119 switch (frame->fmt->color) {
162 /* Select color space conversion equation (HD/SD size).*/
211 if (fmt->color == S5P_FIMC_RGB565)
213 else if (fmt->color == S5P_FIMC_RGB555)
215 else if (fmt->color == S5P_FIMC_RGB444)
290 switch (src_frame->fmt->color) {
304 u32 color = dst_frame->fmt->color; local
[all...]
/drivers/video/aty/
H A Dmach64_accel.c141 /* set background color to minimum value (usually BLACK) */
144 /* set foreground color to maximum value (usually WHITE) */
154 /* set primary source pixel channel to foreground color */
245 u32 color, dx = rect->dx, width = rect->width, rotation = 0; local
258 color = ((u32 *)(info->pseudo_palette))[rect->color];
260 color = rect->color;
271 aty_st_le32(DP_FRGD_CLR, color, par);
/drivers/video/i810/
H A Di810_accel.c180 * color_blit - solid color BLIT operation
187 * @what: color to transfer
193 * A BLIT operation which can be used for color fill/rectangular fill
214 * mono_src_copy_imm_blit - color expand from system memory to framebuffer
224 * @bg: backgound color
225 * @fg: forground color
229 * A color expand operation where the source data is placed in the
301 u32 dx, dy, width, height, dest, rop = 0, color = 0; local
310 color = rect->color;
[all...]
/drivers/video/matrox/
H A Dmatroxfb_accel.c292 static void matroxfb_accel_clear(struct matrox_fb_info *minfo, u_int32_t color, argument
303 mga_outl(M_FCOL, color);
316 matroxfb_accel_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, rect->width);
383 matroxfb_cfb4_clear(minfo, ((u_int32_t *)info->pseudo_palette)[rect->color], rect->dy, rect->dx, rect->height, rect->width);
493 passes framebuffer color depth here, although logo data are
495 logo palette to be used (but only for true/direct-color... sic...).
/drivers/video/nvidia/
H A Dnv_accel.c319 u32 color; local
330 color = rect->color;
332 color = ((u32 *) info->pseudo_palette)[rect->color];
338 NVDmaNext(par, color);
/drivers/video/sis/
H A Dsis_accel.c149 SiS300SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) argument
151 SiS300SetupPATFG(color)
251 SiS310SetupForSolidFill(struct sis_video_info *ivideo, u32 color, int rop) argument
253 SiS310SetupPATFG(color)
343 case 8: col = rect->color;
346 case 32: col = ((u32 *)(info->pseudo_palette))[rect->color];
/drivers/firewire/
H A Dcore-topology.c111 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) argument
120 node->color = color;
235 node = fw_node_create(q, port_count, card->color);
255 * temporarily abuse node->color for
263 node->color = i;
272 child->ports[child->color] = node;
273 child->color = card->color;
338 node->color
[all...]
H A Dcore.h188 u8 color; member in struct:fw_node

Completed in 353 milliseconds

1234