Searched refs:color (Results 1 - 25 of 128) sorted by relevance

123456

/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 Dcq_exch_desc.h48 u8 *color,
54 color, q_number, completed_index);
88 u8 *color,
107 color, q_number, completed_index);
164 u8 *color,
174 cq_desc_dec((struct cq_desc *)desc_ptr, type, color, q_number,
46 cq_exch_wq_desc_dec(struct cq_exch_wq_desc *desc_ptr, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *exch_status) argument
86 cq_fcp_rq_desc_dec(struct cq_fcp_rq_desc *desc_ptr, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *eop, u8 *sop, u8 *fck, u16 *exchange_id, u16 *tmpl, u32 *bytes_written, u8 *sof, u8 *eof, u8 *ingress_port, u8 *packet_err, u8 *fcoe_err, u8 *fcs_ok, u8 *vlan_stripped, u16 *vlan) argument
162 cq_sgl_desc_dec(struct cq_sgl_desc *desc_ptr, u8 *type, u8 *color, u16 *q_number, u16 *exchange_id, u32 *active_burst_offset, u32 *tot_data_bytes, u16 *tmpl, u8 *sgl_err) 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,
H A Dcq_enet_desc.h32 u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
35 color, q_number, completed_index);
94 u8 *type, u8 *color, u16 *q_number, u16 *completed_index,
108 color, q_number, completed_index);
31 cq_enet_wq_desc_dec(struct cq_enet_wq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index) argument
93 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, 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/video/sis/
H A Dsis_accel.h59 #define ENCOLOREXP 0x00000002 /* Enhanced color expand */
74 #define SRCCPUBLITBUF SRCSYSTEM /* source is CPU-driven BitBuffer (for color expand) */
78 #define PATFG 0x00000000 /* foreground color */
109 #define AGP_BASE 0x8206 /* color-depth dependent value */
203 #define SiS300SetupPATFG(color) \
205 MMIO_OUT32(ivideo->mmio_vbase, BR(7), color);\
208 #define SiS300SetupPATBG(color) \
210 MMIO_OUT32(ivideo->mmio_vbase, BR(8), color);\
213 #define SiS300SetupSRCFG(color) \
215 MMIO_OUT32(ivideo->mmio_vbase, BR(9), color);\
[all...]
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/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/video/
H A Datafb.h6 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
14 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
22 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
30 void atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color,
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...]
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 Dpmag-aa-fb.c276 static u16 color[2] = {0x0000, 0x000f}; local
277 static struct fb_cmap aafb_cmap = {0, 2, color, color, color, NULL};
286 u16 color[2] = {0x0000, 0x000f}; local
290 && memcmp(cmap->red, color, sizeof(color)) == 0
291 && memcmp(cmap->green, color, sizeof(color)) == 0
292 && memcmp(cmap->blue, color, sizeo
[all...]
/drivers/firewire/
H A Dcore-topology.c112 static struct fw_node *fw_node_create(u32 sid, int port_count, int color) argument
121 node->color = color;
236 node = fw_node_create(q, port_count, card->color);
256 * temporarily abuse node->color for
264 node->color = i;
273 child->ports[child->color] = node;
274 child->color = card->color;
339 node->color
[all...]
/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/leds/
H A Dleds-bd2802.c99 enum led_colors color; member in struct:bd2802_led
113 enum led_colors color)
115 switch (color) {
123 dev_err(&led->client->dev, "%s: Invalid color\n", __func__);
147 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) argument
149 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET;
152 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, argument
155 return reg_offset + bd2802_get_base_offset(id, color);
176 enum led_colors color, enum led_bits led_bit)
183 switch (color) {
112 bd2802_is_rgb_off(struct bd2802_led *led, enum led_ids id, enum led_colors color) argument
175 bd2802_update_state(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) argument
253 bd2802_set_on(struct bd2802_led *led, enum led_ids id, enum led_colors color) argument
272 bd2802_set_blink(struct bd2802_led *led, enum led_ids id, enum led_colors color) argument
291 bd2802_turn_on(struct bd2802_led *led, enum led_ids id, enum led_colors color, enum led_bits led_bit) argument
306 bd2802_turn_off(struct bd2802_led *led, enum led_ids id, enum led_colors color) argument
[all...]
/drivers/media/dvb/ttpci/
H A Dav7110_hw.c795 u16 x, u16 y, u16 dx, u16 dy, u16 color)
798 windownr, x, y, dx, dy, color);
802 u16 x, u16 y, u16 dx, u16 dy, u16 color)
805 windownr, x, y, dx, dy, color);
949 static int OSDSetColor(struct av7110 *av7110, u8 color, u8 r, u8 g, u8 b, u8 blend) argument
960 color, ch, cl);
963 color, ((blend >> 4) & 0x0f));
976 u32 color, blend, yuv; local
978 if (get_user(color, colors + i))
980 blend = (color
794 DrawLine(struct av7110 *av7110, u8 windownr, u16 x, u16 y, u16 dx, u16 dy, u16 color) argument
801 DrawBlock(struct av7110 *av7110, u8 windownr, u16 x, u16 y, u16 dx, u16 dy, u16 color) argument
[all...]
/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/net/wireless/iwmc3200wifi/
H A Dtrace.h71 __field(u8, color)
81 __entry->color = GET_VAL32(hdr->sw_hdr.meta_data, UMAC_FW_CMD_TX_STA_COLOR);
96 __entry->resp, __entry->eot, __entry->seq, __entry->color,
111 __field(u8, color)
125 __entry->color = GET_VAL32(hdr->sw_hdr.meta_data, UMAC_FW_CMD_TX_STA_COLOR);
149 __entry->eot, __entry->seq, __entry->color, __entry->ra_tid,
/drivers/video/console/
H A Dsticon.c316 static u8 sticon_build_attr(struct vc_data *conp, u8 color, u8 intens, argument
319 u8 attr = ((color & 0x70) >> 1) | ((color & 7));
322 color = ((color >> 3) & 0x7) | ((color & 0x7) << 3);
/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/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);

Completed in 365 milliseconds

123456