Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 80 of 80) sorted by relevance

/linux-4.4.14/drivers/gpio/
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); in bt8xxgpio_gpio_direction_input() local
87 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_direction_input()
97 spin_unlock_irqrestore(&bg->lock, flags); in bt8xxgpio_gpio_direction_input()
104 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); in bt8xxgpio_gpio_get() local
108 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_get()
110 spin_unlock_irqrestore(&bg->lock, flags); in bt8xxgpio_gpio_get()
118 struct bt8xxgpio *bg = container_of(gpio, struct bt8xxgpio, gpio); in bt8xxgpio_gpio_direction_output() local
122 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_direction_output()
[all …]
/linux-4.4.14/arch/sparc/kernel/
Dbtext.c245 int bg = 0x00000000UL; in draw_byte_32() local
250 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
251 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32()
252 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32()
253 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32()
254 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32()
255 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32()
256 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32()
257 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32()
266 int bg = 0x00000000UL; in draw_byte_16() local
[all …]
Dsys32.S65 bg,pn %xcc, do_einval
/linux-4.4.14/fs/ocfs2/
Dsuballoc.c82 static inline void ocfs2_debug_bg(struct ocfs2_group_desc *bg);
122 static inline int ocfs2_block_group_reasonably_empty(struct ocfs2_group_desc *bg,
337 struct ocfs2_group_desc *bg, in ocfs2_bg_discontig_add_extent() argument
341 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_bg_discontig_add_extent()
349 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent()
352 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent()
353 le16_add_cpu(&bg->bg_free_bits_count, in ocfs2_bg_discontig_add_extent()
368 struct ocfs2_group_desc *bg = (struct ocfs2_group_desc *) bg_bh->b_data; in ocfs2_block_group_fill() local
388 memset(bg, 0, sb->s_blocksize); in ocfs2_block_group_fill()
389 strcpy(bg->bg_signature, OCFS2_GROUP_DESC_SIGNATURE); in ocfs2_block_group_fill()
[all …]
Dmove_extents.c378 struct ocfs2_group_desc *bg; in ocfs2_find_victim_alloc_group() local
417 bg = NULL; in ocfs2_find_victim_alloc_group()
420 if (!bg) in ocfs2_find_victim_alloc_group()
423 blkno = le64_to_cpu(bg->bg_next_group); in ocfs2_find_victim_alloc_group()
436 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
438 if (vict_blkno < (le64_to_cpu(bg->bg_blkno) + in ocfs2_find_victim_alloc_group()
439 le16_to_cpu(bg->bg_bits))) { in ocfs2_find_victim_alloc_group()
446 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group()
451 } while (le64_to_cpu(bg->bg_next_group)); in ocfs2_find_victim_alloc_group()
473 struct ocfs2_group_desc *bg; in ocfs2_validate_and_adjust_move_goal() local
[all …]
Dioctl.c445 struct ocfs2_group_desc *bg = NULL; in ocfs2_info_freefrag_scan_chain() local
455 if (!bg) in ocfs2_info_freefrag_scan_chain()
458 blkno = le64_to_cpu(bg->bg_next_group); in ocfs2_info_freefrag_scan_chain()
479 bg = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_info_freefrag_scan_chain()
481 if (!le16_to_cpu(bg->bg_free_bits_count)) in ocfs2_info_freefrag_scan_chain()
484 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()
499 (unsigned long *)bg->bg_bitmap); in ocfs2_info_freefrag_scan_chain()
529 } while (le64_to_cpu(bg->bg_next_group)); in ocfs2_info_freefrag_scan_chain()
Dsuballoc.h100 struct ocfs2_group_desc *bg,
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dlibipw_geo.c59 if ((ieee->geo.bg[i].channel == channel) && in libipw_is_valid_channel()
60 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) && in libipw_is_valid_channel()
62 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY))) in libipw_is_valid_channel()
85 if (ieee->geo.bg[i].channel == channel) in libipw_channel_to_index()
124 if (ieee->geo.bg[i].freq == freq) in libipw_freq_to_channel()
125 return ieee->geo.bg[i].channel; in libipw_freq_to_channel()
142 memcpy(ieee->geo.bg, geo->bg, geo->bg_channels * in libipw_set_geo()
161 return ieee->geo.bg[index].flags; in libipw_get_channel_flags()
181 return &ieee->geo.bg[index]; in libipw_get_channel()
Dipw2200.c1928 geo->bg[i].channel, in show_channels()
1929 geo->bg[i].flags & LIBIPW_CH_RADAR_DETECT ? in show_channels()
1931 ((geo->bg[i].flags & LIBIPW_CH_NO_IBSS) || in show_channels()
1932 (geo->bg[i].flags & LIBIPW_CH_RADAR_DETECT)) in show_channels()
1934 geo->bg[i].flags & LIBIPW_CH_PASSIVE_ONLY ? in show_channels()
1936 geo->bg[i].flags & LIBIPW_CH_B_ONLY ? in show_channels()
2500 max_power = geo->bg[i].max_power; in ipw_set_tx_power()
2502 geo->bg[i].channel; in ipw_set_tx_power()
5868 if (geo->bg[i].flags & LIBIPW_CH_PASSIVE_ONLY) { in ipw_adhoc_create()
5870 priv->channel = geo->bg[0].channel; in ipw_adhoc_create()
[all …]
Dlibipw.h714 struct libipw_channel bg[LIBIPW_24GHZ_CHANNELS]; member
Dipw2100.c1716 .bg = {{2412, 1}, {2417, 2}, {2422, 3},
1928 bg_band->channels[i].center_freq = geo->bg[i].freq; in ipw2100_wdev_init()
1929 bg_band->channels[i].hw_value = geo->bg[i].channel; in ipw2100_wdev_init()
1930 bg_band->channels[i].max_power = geo->bg[i].max_power; in ipw2100_wdev_init()
1931 if (geo->bg[i].flags & LIBIPW_CH_PASSIVE_ONLY) in ipw2100_wdev_init()
1934 if (geo->bg[i].flags & LIBIPW_CH_NO_IBSS) in ipw2100_wdev_init()
1937 if (geo->bg[i].flags & LIBIPW_CH_RADAR_DETECT) in ipw2100_wdev_init()
/linux-4.4.14/drivers/video/fbdev/
Datafb_utils.h268 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand8_2col2mask() argument
270 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); in expand8_2col2mask()
272 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); in expand8_2col2mask()
300 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) in fill8_2col() argument
304 expand8_2col2mask(fg, bg, fgm, bgm); in fill8_2col()
342 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand16_2col2mask() argument
344 bgm[0] = two2word[bg & 3]; in expand16_2col2mask()
347 bgm[1] = two2word[(bg >> 2) & 3]; in expand16_2col2mask()
351 bgm[2] = two2word[(bg >> 4) & 3]; in expand16_2col2mask()
353 bgm[3] = two2word[bg >> 6]; in expand16_2col2mask()
Dffb.c222 u32 bg; member
441 upa_writel(par->bg_cache, &fbc->bg); in ffb_switch_from_graph()
555 u32 fg, bg, xy; in ffb_imageblit() local
565 bg = ((u32 *)info->pseudo_palette)[image->bg_color]; in ffb_imageblit()
566 fgbg = ((u64) fg << 32) | (u64) bg; in ffb_imageblit()
Dvt8623fb.c144 u32 bg = expand_color(image->bg_color); in vt8623fb_iplan_imageblit() local
160 val = (val & fg) | (~val & bg); in vt8623fb_iplan_imageblit()
200 u32 bg = image->bg_color * 0x11111111; in vt8623fb_cfb4_imageblit() local
216 val = (val & fg) | (~val & bg); in vt8623fb_cfb4_imageblit()
Darkfb.c177 u32 bg = expand_color(image->bg_color); in arkfb_iplan_imageblit() local
193 val = (val & fg) | (~val & bg); in arkfb_iplan_imageblit()
235 u32 bg = image->bg_color * 0x11111111; in arkfb_cfb4_imageblit() local
251 val = (val & fg) | (~val & bg); in arkfb_cfb4_imageblit()
Dcg6.c212 u32 bg; member
367 sbus_writel(0x00, &fbc->bg); in cg6_copyarea()
412 sbus_writel(image->bg_color, &fbc->bg); in cg6_imageblit()
Dfsl-diu-fb.c1000 const void *image, uint16_t bg, uint16_t fg, in fsl_diu_load_cursor_image() argument
1007 __le16 _bg = cpu_to_le16(bg); in fsl_diu_load_cursor_image()
1073 uint16_t fg, bg; in fsl_diu_cursor() local
1086 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in fsl_diu_cursor()
1108 fsl_diu_load_cursor_image(info, image, bg, fg, in fsl_diu_cursor()
Dcirrusfb.c1825 u32 fg, bg; in cirrusfb_imageblit() local
1829 bg = image->bg_color; in cirrusfb_imageblit()
1832 bg = ((u32 *)(info->pseudo_palette))[image->bg_color]; in cirrusfb_imageblit()
1841 bg, bg, in cirrusfb_imageblit()
1848 fg, bg, in cirrusfb_imageblit()
Ds3fb.c350 u32 bg = expand_color(image->bg_color); in s3fb_iplan_imageblit() local
366 val = (val & fg) | (~val & bg); in s3fb_iplan_imageblit()
407 u32 bg = image->bg_color * 0x11111111; in s3fb_cfb4_imageblit() local
423 val = (val & fg) | (~val & bg); in s3fb_cfb4_imageblit()
Dsm501fb.c1046 unsigned long fg, bg; in sm501fb_cursor() local
1097 bg = ((info->cmap.red[bg_col] & 0xF8) << 8) | in sm501fb_cursor()
1105 dev_dbg(fbi->dev, "fgcol %08lx, bgcol %08lx\n", fg, bg); in sm501fb_cursor()
1107 smc501_writel(bg, base + SM501_OFF_HWC_COLOR_1_2); in sm501fb_cursor()
Dleo.c142 u32 bg; member
Dimsttfb.c1202 u32 flags = cursor->set, fg, bg, xx, yy;
/linux-4.4.14/arch/powerpc/kernel/
Dbtext.c429 int bg = 0x00000000UL; in draw_byte_32() local
434 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32()
435 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32()
436 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32()
437 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32()
438 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32()
439 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32()
440 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32()
441 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32()
450 int bg = 0x00000000UL; in draw_byte_16() local
[all …]
/linux-4.4.14/drivers/video/console/
Dtileblit.c44 rect.bg = attr_bgcol_ec(bgshift, vc, info); in tile_clear()
56 int fg, int bg) in tile_putcs() argument
67 blit.bg = bg; in tile_putcs()
83 int softback_lines, int fg, int bg) in tile_cursor() argument
92 cursor.bg = bg; in tile_cursor()
Dfbcon.h61 int fg, int bg);
65 int softback_lines, int fg, int bg);
124 int bg; in attr_col_ec() local
141 bg = is_mono01 ? 0 : col; in attr_col_ec()
145 bg = is_mono01 ? col : 0; in attr_col_ec()
148 return is_fg ? fg : bg; in attr_col_ec()
Dfbcon_ccw.c131 int fg, int bg) in ccw_putcs() argument
149 image.bg_color = bg; in ccw_putcs()
222 int softback_lines, int fg, int bg) in ccw_cursor() argument
271 ops->cursor_state.image.bg_color != bg || in ccw_cursor()
274 ops->cursor_state.image.bg_color = bg; in ccw_cursor()
Dbitblit.c145 int fg, int bg) in bit_putcs() argument
158 image.bg_color = bg; in bit_putcs()
237 int softback_lines, int fg, int bg) in bit_cursor() argument
282 ops->cursor_state.image.bg_color != bg || in bit_cursor()
285 ops->cursor_state.image.bg_color = bg; in bit_cursor()
Dfbcon_cw.c116 int fg, int bg) in cw_putcs() argument
134 image.bg_color = bg; in cw_putcs()
205 int softback_lines, int fg, int bg) in cw_cursor() argument
254 ops->cursor_state.image.bg_color != bg || in cw_cursor()
257 ops->cursor_state.image.bg_color = bg; in cw_cursor()
Dfbcon_ud.c153 int fg, int bg) in ud_putcs() argument
172 image.bg_color = bg; in ud_putcs()
252 int softback_lines, int fg, int bg) in ud_cursor() argument
302 ops->cursor_state.image.bg_color != bg || in ud_cursor()
305 ops->cursor_state.image.bg_color = bg; in ud_cursor()
Dfbcon.c308 int bg = (info->fix.visual != FB_VISUAL_MONO01) ? 0 : col; in get_color() local
311 fg = bg; in get_color()
313 color = (is_fg) ? fg : bg; in get_color()
/linux-4.4.14/tools/perf/ui/
Dbrowser.c506 const char *name, *fg, *bg; member
513 .bg = "default",
519 .bg = "default",
525 .bg = "default",
531 .bg = "lightgray",
537 .bg = "default",
543 .bg = "default",
549 .bg = "blue",
560 char *fg = NULL, *bg; in ui_browser__color_config() local
577 bg = strchr(fg, ','); in ui_browser__color_config()
[all …]
Dlibslang.h21 #define sltt_set_color(obj, name, fg, bg) \ argument
22 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
/linux-4.4.14/drivers/video/fbdev/savage/
Dsavagefb_accel.c95 int fg, bg, size, i, width; in savagefb_imageblit() local
109 bg = image->bg_color; in savagefb_imageblit()
112 bg = ((u32 *)info->pseudo_palette)[image->bg_color]; in savagefb_imageblit()
130 BCI_SEND(bg); in savagefb_imageblit()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c126 struct fcoe_percpu_s *bg; in bnx2fc_clean_rx_queue() local
132 bg = &bnx2fc_global; in bnx2fc_clean_rx_queue()
133 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue()
134 list = &bg->fcoe_rx_list; in bnx2fc_clean_rx_queue()
145 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue()
414 struct fcoe_percpu_s *bg; in bnx2fc_rcv() local
455 bg = &bnx2fc_global; in bnx2fc_rcv()
456 spin_lock(&bg->fcoe_rx_list.lock); in bnx2fc_rcv()
458 __skb_queue_tail(&bg->fcoe_rx_list, skb); in bnx2fc_rcv()
459 if (bg->fcoe_rx_list.qlen == 1) in bnx2fc_rcv()
[all …]
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_accel.c237 int dest, const u32 *src, int bg, in mono_src_copy_imm_blit() argument
248 PUT_RING(bg); in mono_src_copy_imm_blit()
370 u32 fg = 0, bg = 0, size, dst; in i810fb_imageblit() local
381 bg = image->bg_color; in i810fb_imageblit()
386 bg = ((u32 *)(info->pseudo_palette))[image->bg_color]; in i810fb_imageblit()
402 bg, fg, info); in i810fb_imageblit()
Di810_main.c819 static void i810_load_cursor_colors(int fg, int bg, struct fb_info *info) in i810_load_cursor_colors() argument
825 i810fb_getcolreg(bg, &red, &green, &blue, &trans, info); in i810_load_cursor_colors()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-tpg.c1568 PIXTYPE bg; \
1570 memcpy(&bg, tpg->textbg[p], sizeof(PIXTYPE)); \
1583 pos[3] = (chr & (0x01 << 6) ? fg : bg); \
1584 pos[2] = (chr & (0x01 << 4) ? fg : bg); \
1585 pos[1] = (chr & (0x01 << 2) ? fg : bg); \
1586 pos[0] = (chr & (0x01 << 0) ? fg : bg); \
1588 pos[0] = (chr & (0x01 << 7) ? fg : bg); \
1589 pos[1] = (chr & (0x01 << 5) ? fg : bg); \
1590 pos[2] = (chr & (0x01 << 3) ? fg : bg); \
1591 pos[3] = (chr & (0x01 << 1) ? fg : bg); \
[all …]
/linux-4.4.14/drivers/video/fbdev/aty/
Dmach64_cursor.c125 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local
134 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) | in atyfb_cursor()
139 aty_st_le32(CUR_CLR0, bg, par); in atyfb_cursor()
Dmach64_accel.c352 u32 fg, bg; in atyfb_imageblit() local
356 bg = ((u32*)(info->pseudo_palette))[image->bg_color]; in atyfb_imageblit()
359 bg = image->bg_color; in atyfb_imageblit()
363 aty_st_le32(DP_BKGD_CLR, bg, par); in atyfb_imageblit()
/linux-4.4.14/fs/ext4/
Dsuper.c171 struct ext4_group_desc *bg) in ext4_block_bitmap() argument
173 return le32_to_cpu(bg->bg_block_bitmap_lo) | in ext4_block_bitmap()
175 (ext4_fsblk_t)le32_to_cpu(bg->bg_block_bitmap_hi) << 32 : 0); in ext4_block_bitmap()
179 struct ext4_group_desc *bg) in ext4_inode_bitmap() argument
181 return le32_to_cpu(bg->bg_inode_bitmap_lo) | in ext4_inode_bitmap()
183 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_bitmap_hi) << 32 : 0); in ext4_inode_bitmap()
187 struct ext4_group_desc *bg) in ext4_inode_table() argument
189 return le32_to_cpu(bg->bg_inode_table_lo) | in ext4_inode_table()
191 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_table_hi) << 32 : 0); in ext4_inode_table()
195 struct ext4_group_desc *bg) in ext4_free_group_clusters() argument
[all …]
Dext4.h2702 struct ext4_group_desc *bg);
2704 struct ext4_group_desc *bg);
2706 struct ext4_group_desc *bg);
2708 struct ext4_group_desc *bg);
2710 struct ext4_group_desc *bg);
2712 struct ext4_group_desc *bg);
2714 struct ext4_group_desc *bg);
2716 struct ext4_group_desc *bg, ext4_fsblk_t blk);
2718 struct ext4_group_desc *bg, ext4_fsblk_t blk);
2720 struct ext4_group_desc *bg, ext4_fsblk_t blk);
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c83 uint32_t bg; in nv04_fbcon_imageblit() local
102 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color]; in nv04_fbcon_imageblit()
105 bg = image->bg_color; in nv04_fbcon_imageblit()
112 OUT_RING(chan, bg); in nv04_fbcon_imageblit()
/linux-4.4.14/arch/sparc/lib/
Dstrncmp_32.S87 bg,a 0b
112 bg,a 9b
Dashldi3.S18 bg 7f
Dlshrdi3.S10 bg 1f
Dashrdi3.S19 bg 1f
Dmemscan_32.S66 bg,a 1f
DNGmemcpy.S170 bg,pn %XCC, 9f
DU3memcpy.S215 bg,pt %XCC, 1b
/linux-4.4.14/drivers/media/dvb-frontends/
Dzl10036.c287 u8 rfg, ba, bg; in zl10036_set_gain_params() local
292 bg = 1; in zl10036_set_gain_params()
296 | ((ba << 3) & 0x18) | ((bg << 1) & 0x06); in zl10036_set_gain_params()
304 deb_info("%s: c=%u rfg=%u ba=%u bg=%u\n", __func__, c, rfg, ba, bg); in zl10036_set_gain_params()
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnv_accel.c354 u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel)); in nvidiafb_mono_color_expand() local
363 bg = image->bg_color | mask; in nvidiafb_mono_color_expand()
366 bg = ((u32 *) info->pseudo_palette)[image->bg_color] | mask; in nvidiafb_mono_color_expand()
373 NVDmaNext(par, bg); in nvidiafb_mono_color_expand()
Dnvidia.c115 u16 bg, u16 fg, u32 w, u32 h) in nvidiafb_load_cursor_image() argument
130 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image()
132 tmp |= (b & (1 << 31)) ? fg : bg; in nvidiafb_load_cursor_image()
135 tmp = (b & 1) ? fg : bg; in nvidiafb_load_cursor_image()
137 tmp |= (b & 1) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image()
534 u16 fg, bg; in nvidiafb_cursor() local
587 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in nvidiafb_cursor()
597 nvidiafb_load_cursor_image(par, data, bg, fg, in nvidiafb_cursor()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750_cursor.c91 u32 fg, u32 bg) in hw_cursor_setColor() argument
93 POKE32(HWC_COLOR_12, (fg<<16)|(bg&0xffff)); in hw_cursor_setColor()
Dsm750_cursor.h12 u32 fg, u32 bg);
Dsm750.c138 u16 fg, bg; in lynxfb_ops_cursor() local
144 bg = ((info->cmap.red[fbcursor->image.bg_color] & 0xf800)) | in lynxfb_ops_cursor()
148 hw_cursor_setColor(cursor, fg, bg); in lynxfb_ops_cursor()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_combios.c866 uint8_t rev, bg, dac; in radeon_combios_get_primary_dac_info() local
881 bg = RBIOS8(dac_info + 0x2) & 0xf; in radeon_combios_get_primary_dac_info()
883 p_dac->ps2_pdac_adj = (bg << 8) | (dac); in radeon_combios_get_primary_dac_info()
885 bg = RBIOS8(dac_info + 0x2) & 0xf; in radeon_combios_get_primary_dac_info()
887 p_dac->ps2_pdac_adj = (bg << 8) | (dac); in radeon_combios_get_primary_dac_info()
890 if ((dac == 0) || (bg == 0)) in radeon_combios_get_primary_dac_info()
1017 uint8_t rev, bg, dac; in radeon_combios_get_tv_dac_info() local
1030 bg = RBIOS8(dac_info + 0xc) & 0xf; in radeon_combios_get_tv_dac_info()
1032 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 20); in radeon_combios_get_tv_dac_info()
1034 bg = RBIOS8(dac_info + 0xe) & 0xf; in radeon_combios_get_tv_dac_info()
[all …]
Dradeon_atombios.c1776 uint8_t bg, dac; in radeon_atombios_get_primary_dac_info() local
1789 bg = dac_info->ucDAC1_BG_Adjustment; in radeon_atombios_get_primary_dac_info()
1791 p_dac->ps2_pdac_adj = (bg << 8) | (dac); in radeon_atombios_get_primary_dac_info()
1962 uint8_t bg, dac; in radeon_atombios_get_tv_dac_info() local
1976 bg = dac_info->ucDAC2_CRT2_BG_Adjustment; in radeon_atombios_get_tv_dac_info()
1978 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 20); in radeon_atombios_get_tv_dac_info()
1980 bg = dac_info->ucDAC2_PAL_BG_Adjustment; in radeon_atombios_get_tv_dac_info()
1982 tv_dac->pal_tvdac_adj = (bg << 16) | (dac << 20); in radeon_atombios_get_tv_dac_info()
1984 bg = dac_info->ucDAC2_NTSC_BG_Adjustment; in radeon_atombios_get_tv_dac_info()
1986 tv_dac->ntsc_tvdac_adj = (bg << 16) | (dac << 20); in radeon_atombios_get_tv_dac_info()
/linux-4.4.14/arch/sparc/include/asm/
Dbackoff.h69 bg,pn %xcc, label; \
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Dmanager-sysfs.c387 info.cpr_coefs.bg, in manager_cpr_coef_show()
405 &coefs.br, &coefs.bg, &coefs.bb) != 9) in manager_cpr_coef_store()
410 coefs.br, coefs.bg, coefs.bb }; in manager_cpr_coef_store()
Ddispc.c1096 coef_b = FLD_VAL(coefs->br, 31, 22) | FLD_VAL(coefs->bg, 20, 11) | in dispc_mgr_set_cpr_coef()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c1564 u32 fg, bg; in intelfb_cursor() local
1578 bg =dinfo->pseudo_palette[cursor->image.bg_color]; in intelfb_cursor()
1581 bg = cursor->image.bg_color; in intelfb_cursor()
1583 intelfbhw_cursor_setcolor(dinfo, bg, fg); in intelfb_cursor()
1610 u32 fg, bg; in intelfb_cursor() local
1614 bg = dinfo->pseudo_palette[cursor->image.bg_color]; in intelfb_cursor()
1617 bg = cursor->image.bg_color; in intelfb_cursor()
1620 intelfbhw_cursor_setcolor(dinfo, bg, fg); in intelfb_cursor()
Dintelfbhw.h592 extern int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg,
599 extern void intelfbhw_cursor_setcolor(struct intelfb_info *dinfo, u32 bg,
Dintelfbhw.c1750 int intelfbhw_do_drawglyph(struct intelfb_info *dinfo, u32 fg, u32 bg, u32 w, in intelfbhw_do_drawglyph() argument
1789 br18 = bg; in intelfbhw_do_drawglyph()
1946 void intelfbhw_cursor_setcolor(struct intelfb_info *dinfo, u32 bg, u32 fg) in intelfbhw_cursor_setcolor() argument
1952 OUTREG(CURSOR_A_PALETTE0, bg & CURSOR_PALETTE_MASK); in intelfbhw_cursor_setcolor()
1955 OUTREG(CURSOR_A_PALETTE3, bg & CURSOR_PALETTE_MASK); in intelfbhw_cursor_setcolor()
/linux-4.4.14/drivers/video/fbdev/riva/
Dfbdev.c488 u16 bg, u16 fg, u32 w, u32 h) in rivafb_load_cursor_image() argument
493 bg = le16_to_cpu(bg); in rivafb_load_cursor_image()
505 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in rivafb_load_cursor_image()
507 tmp |= (b & (1 << 31)) ? fg : bg; in rivafb_load_cursor_image()
510 tmp = (b & 1) ? fg : bg; in rivafb_load_cursor_image()
512 tmp |= (b & 1) ? fg << 16 : bg << 16; in rivafb_load_cursor_image()
1582 u16 fg, bg; in rivafb_cursor() local
1636 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in rivafb_cursor()
1648 rivafb_load_cursor_image(par, data, bg, fg, in rivafb_cursor()
/linux-4.4.14/include/linux/
Dfb.h334 __u32 bg; /* background color */ member
353 __u32 bg; /* background color */ member
364 __u32 bg; /* background color */ member
/linux-4.4.14/scripts/kconfig/lxdialog/
Ddialog.h105 int bg; /* background */ member
Dutil.c67 dlg.dialog.bg = (b); \
184 init_pair(pair, color->fg, color->bg); in init_one_color()
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/
Dbif_slave_defs.h173 unsigned int bg : 1; member
/linux-4.4.14/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
Dbif_slave_defs.h173 unsigned int bg : 1; member
/linux-4.4.14/drivers/staging/speakup/
Dmain.c400 int bg = spk_attr >> 4; in say_attributes() local
407 if (bg > 7) { in say_attributes()
409 bg -= 8; in say_attributes()
412 synth_printf("%s\n", spk_msg_get(MSG_COLORS_START + bg)); in say_attributes()
1574 int i, bg; in count_highlight_color() local
1589 bg = (ch & 0x70) >> 4; in count_highlight_color()
1590 speakup_console[vc_num]->ht.bgcount[bg]++; in count_highlight_color()
/linux-4.4.14/fs/ext2/
Dsuper.c767 unsigned long bg, first_meta_bg; in descriptor_loc() local
775 bg = sbi->s_desc_per_block * nr; in descriptor_loc()
776 if (ext2_bg_has_super(sb, bg)) in descriptor_loc()
779 return ext2_group_first_block_no(sb, bg) + has_super; in descriptor_loc()
/linux-4.4.14/drivers/video/fbdev/core/
Dsvgalib.c261 int attr = (0x0F & rect->bg) << 4 | (0x0F & rect->fg); in svga_tilefill()
282 int attr = (0x0F & blit->bg) << 4 | (0x0F & blit->fg); in svga_tileblit()
/linux-4.4.14/Documentation/networking/
DREADME.ipw2200205 eth1 get_mode:802.11bg (6)
219 6 802.11bg
330 Code Geography 802.11bg 802.11a
/linux-4.4.14/Documentation/usb/
DCREDITS18 Petko Manlolov <petkan@dce.bg>
/linux-4.4.14/include/linux/mlx5/
Ddriver.h321 u16 bg; member
/linux-4.4.14/include/video/
Domapdss.h382 s16 br, bg, bb; member
/linux-4.4.14/scripts/kconfig/
Dgconf.c121 &style->bg[GTK_STATE_NORMAL], in replace_button_icon()
/linux-4.4.14/include/rdma/
Dib_verbs.h618 u16 bg; member
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dqp.c2418 psv_seg->transient_sig = cpu_to_be32(domain->sig.dif.bg << 16 | in set_psv_wr()
/linux-4.4.14/
DMAINTAINERS5751 M: Julian Anastasov <ja@ssi.bg>