Searched refs:bg (Results 1 - 25 of 42) sorted by relevance

12

/drivers/gpio/
H A Dgpio-bt8xx.c72 #define bgwrite(dat, adr) writel((dat), bg->mmio+(adr))
73 #define bgread(adr) readl(bg->mmio+(adr))
83 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); local
87 spin_lock_irqsave(&bg->lock, flags);
97 spin_unlock_irqrestore(&bg->lock, flags);
104 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); local
108 spin_lock_irqsave(&bg->lock, flags);
110 spin_unlock_irqrestore(&bg->lock, flags);
118 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); local
122 spin_lock_irqsave(&bg
143 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); local
159 bt8xxgpio_gpio_setup(struct bt8xxgpio *bg) argument
178 struct bt8xxgpio *bg; local
242 struct bt8xxgpio *bg = pci_get_drvdata(pdev); local
262 struct bt8xxgpio *bg = pci_get_drvdata(pdev); local
285 struct bt8xxgpio *bg = pci_get_drvdata(pdev); local
[all...]
/drivers/net/wireless/ipw2x00/
H A Dlibipw_geo.c59 if ((ieee->geo.bg[i].channel == channel) &&
60 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) &&
62 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY)))
85 if (ieee->geo.bg[i].channel == channel)
124 if (ieee->geo.bg[i].freq == freq)
125 return ieee->geo.bg[i].channel;
142 memcpy(ieee->geo.bg, geo->bg, geo->bg_channels *
162 return ieee->geo.bg[index].flags;
182 return &ieee->geo.bg[inde
[all...]
H A Dipw2200.c1924 "(802.11bg):\n", geo->bg_channels);
1928 geo->bg[i].channel,
1929 geo->bg[i].flags & LIBIPW_CH_RADAR_DETECT ?
1931 ((geo->bg[i].flags & LIBIPW_CH_NO_IBSS) ||
1932 (geo->bg[i].flags & LIBIPW_CH_RADAR_DETECT))
1934 geo->bg[i].flags & LIBIPW_CH_PASSIVE_ONLY ?
1936 geo->bg[i].flags & LIBIPW_CH_B_ONLY ?
2500 max_power = geo->bg[i].max_power;
2502 geo->bg[i].channel;
5950 if (geo->bg[
[all...]
/drivers/video/
H A Datafb_utils.h268 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) argument
270 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]);
272 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]);
300 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) argument
304 expand8_2col2mask(fg, bg, fgm, bgm);
342 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) argument
344 bgm[0] = two2word[bg & 3];
347 bgm[1] = two2word[(bg >> 2) & 3];
351 bgm[2] = two2word[(bg >> 4) & 3];
353 bgm[3] = two2word[bg >>
[all...]
H A Dffb.c222 u32 bg; member in struct:ffb_fbc
441 upa_writel(par->bg_cache, &fbc->bg);
555 u32 fg, bg, xy; local
565 bg = ((u32 *)info->pseudo_palette)[image->bg_color];
566 fgbg = ((u64) fg << 32) | (u64) bg;
H A Dvt8623fb.c154 u32 bg = expand_color(image->bg_color); local
170 val = (val & fg) | (~val & bg);
210 u32 bg = image->bg_color * 0x11111111; local
226 val = (val & fg) | (~val & bg);
/drivers/video/console/
H A Dtileblit.c44 rect.bg = attr_bgcol_ec(bgshift, vc, info);
56 int fg, int bg)
67 blit.bg = bg;
83 int softback_lines, int fg, int bg)
92 cursor.bg = bg;
54 tile_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
82 tile_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
H A Dfbcon.h61 int fg, int bg);
65 int softback_lines, int fg, int bg);
123 int bg; local
140 bg = is_mono01 ? 0 : col;
144 bg = is_mono01 ? col : 0;
147 return is_fg ? fg : bg;
H A Dbitblit.c145 int fg, int bg)
158 image.bg_color = bg;
238 int softback_lines, int fg, int bg)
283 ops->cursor_state.image.bg_color != bg ||
286 ops->cursor_state.image.bg_color = bg;
143 bit_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
237 bit_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
H A Dfbcon_ccw.c131 int fg, int bg)
149 image.bg_color = bg;
223 int softback_lines, int fg, int bg)
272 ops->cursor_state.image.bg_color != bg ||
275 ops->cursor_state.image.bg_color = bg;
129 ccw_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
222 ccw_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
H A Dfbcon_cw.c117 int fg, int bg)
135 image.bg_color = bg;
207 int softback_lines, int fg, int bg)
256 ops->cursor_state.image.bg_color != bg ||
259 ops->cursor_state.image.bg_color = bg;
115 cw_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
206 cw_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
H A Dfbcon_ud.c153 int fg, int bg)
172 image.bg_color = bg;
253 int softback_lines, int fg, int bg)
303 ops->cursor_state.image.bg_color != bg ||
306 ops->cursor_state.image.bg_color = bg;
151 ud_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
252 ud_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
/drivers/video/savage/
H A Dsavagefb_accel.c95 int fg, bg, size, i, width; local
109 bg = image->bg_color;
112 bg = ((u32 *)info->pseudo_palette)[image->bg_color];
130 BCI_SEND(bg);
/drivers/video/i810/
H A Di810_accel.c224 * @bg: backgound color
237 int dest, const u32 *src, int bg,
248 PUT_RING(bg);
370 u32 fg = 0, bg = 0, size, dst; local
381 bg = image->bg_color;
386 bg = ((u32 *)(info->pseudo_palette))[image->bg_color];
402 bg, fg, info);
235 mono_src_copy_imm_blit(int dwidth, int dheight, int dpitch, int dsize, int blit_bpp, int rop, int dest, const u32 *src, int bg, int fg, struct fb_info *info) argument
/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c123 struct fcoe_percpu_s *bg; local
129 bg = &bnx2fc_global;
130 spin_lock_bh(&bg->fcoe_rx_list.lock);
131 list = &bg->fcoe_rx_list;
142 spin_unlock_bh(&bg->fcoe_rx_list.lock);
408 struct fcoe_percpu_s *bg; local
441 bg = &bnx2fc_global;
442 spin_lock(&bg->fcoe_rx_list.lock);
444 __skb_queue_tail(&bg->fcoe_rx_list, skb);
445 if (bg
458 struct fcoe_percpu_s *bg = arg; local
2299 struct fcoe_percpu_s *bg; local
2376 struct fcoe_percpu_s *bg; local
[all...]
/drivers/gpu/drm/nouveau/
H A Dnv04_fbcon.c88 uint32_t bg; local
107 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color];
110 bg = image->bg_color;
117 OUT_RING(chan, bg);
/drivers/media/dvb/frontends/
H A Dzl10036.c287 u8 rfg, ba, bg; local
292 bg = 1;
296 | ((ba << 3) & 0x18) | ((bg << 1) & 0x06);
304 deb_info("%s: c=%u rfg=%u ba=%u bg=%u\n", __func__, c, rfg, ba, bg);
401 { 0x8b, _RDIV_REG }, /* 4/5: rfg=0 ba=1 bg=1 len=? */
/drivers/video/aty/
H A Dmach64_cursor.c124 u32 fg_idx, bg_idx, fg, bg; local
133 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) |
138 aty_st_le32(CUR_CLR0, bg, par);
H A Dmach64_accel.c351 u32 fg, bg; local
355 bg = ((u32*)(info->pseudo_palette))[image->bg_color];
358 bg = image->bg_color;
362 aty_st_le32(DP_BKGD_CLR, bg, par);
/drivers/video/nvidia/
H A Dnv_accel.c354 u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel)); local
363 bg = image->bg_color | mask;
366 bg = ((u32 *) info->pseudo_palette)[image->bg_color] | mask;
373 NVDmaNext(par, bg);
H A Dnvidia.c124 u16 bg, u16 fg, u32 w, u32 h)
139 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16;
141 tmp |= (b & (1 << 31)) ? fg : bg;
144 tmp = (b & 1) ? fg : bg;
146 tmp |= (b & 1) ? fg << 16 : bg << 16;
543 u16 fg, bg; local
596 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) |
606 nvidiafb_load_cursor_image(par, data, bg, fg,
123 nvidiafb_load_cursor_image(struct nvidia_par *par, u8 * data8, u16 bg, u16 fg, u32 w, u32 h) argument
/drivers/gpu/drm/radeon/
H A Dradeon_combios.c933 uint8_t rev, bg, dac; local
948 bg = RBIOS8(dac_info + 0x2) & 0xf;
950 p_dac->ps2_pdac_adj = (bg << 8) | (dac);
952 bg = RBIOS8(dac_info + 0x2) & 0xf;
954 p_dac->ps2_pdac_adj = (bg << 8) | (dac);
1069 uint8_t rev, bg, dac; local
1082 bg = RBIOS8(dac_info + 0xc) & 0xf;
1084 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 20);
1086 bg = RBIOS8(dac_info + 0xe) & 0xf;
1088 tv_dac->pal_tvdac_adj = (bg << 1
[all...]
/drivers/video/omap2/dss/
H A Dmanager.c362 info.cpr_coefs.bg,
380 &coefs.br, &coefs.bg, &coefs.bb) != 9)
385 coefs.br, coefs.bg, coefs.bb };
/drivers/video/intelfb/
H A Dintelfbdrv.c1595 u32 fg, bg; local
1609 bg =dinfo->pseudo_palette[cursor->image.bg_color];
1612 bg = cursor->image.bg_color;
1614 intelfbhw_cursor_setcolor(dinfo, bg, fg);
1641 u32 fg, bg; local
1645 bg = dinfo->pseudo_palette[cursor->image.bg_color];
1648 bg = cursor->image.bg_color;
1651 intelfbhw_cursor_setcolor(dinfo, bg, fg);
/drivers/video/riva/
H A Dfbdev.c490 * @bg: background color (ARGB1555) - alpha bit determines opacity
503 u16 bg, u16 fg, u32 w, u32 h)
508 bg = le16_to_cpu(bg);
520 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16;
522 tmp |= (b & (1 << 31)) ? fg : bg;
525 tmp = (b & 1) ? fg : bg;
527 tmp |= (b & 1) ? fg << 16 : bg << 16;
1602 u16 fg, bg; local
1656 bg
502 rivafb_load_cursor_image(struct riva_par *par, u8 *data8, u16 bg, u16 fg, u32 w, u32 h) argument
[all...]

Completed in 649 milliseconds

12