/drivers/gpio/ |
D | gpio-bt8xx.c | 72 #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 …]
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_geo.c | 59 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()
|
D | ipw2200.c | 1928 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() 5953 if (geo->bg[i].flags & LIBIPW_CH_PASSIVE_ONLY) { in ipw_adhoc_create() 5955 priv->channel = geo->bg[0].channel; in ipw_adhoc_create() [all …]
|
/drivers/video/ |
D | atafb_utils.h | 268 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()
|
D | ffb.c | 222 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()
|
/drivers/video/console/ |
D | tileblit.c | 44 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()
|
D | fbcon.h | 61 int fg, int bg); 65 int softback_lines, int fg, int bg); 123 int bg; in attr_col_ec() local 140 bg = is_mono01 ? 0 : col; in attr_col_ec() 144 bg = is_mono01 ? col : 0; in attr_col_ec() 147 return is_fg ? fg : bg; in attr_col_ec()
|
D | bitblit.c | 145 int fg, int bg) in bit_putcs() argument 158 image.bg_color = bg; in bit_putcs() 238 int softback_lines, int fg, int bg) in bit_cursor() argument 283 ops->cursor_state.image.bg_color != bg || in bit_cursor() 286 ops->cursor_state.image.bg_color = bg; in bit_cursor()
|
D | fbcon_cw.c | 116 int fg, int bg) in cw_putcs() argument 134 image.bg_color = bg; in cw_putcs() 206 int softback_lines, int fg, int bg) in cw_cursor() argument 255 ops->cursor_state.image.bg_color != bg || in cw_cursor() 258 ops->cursor_state.image.bg_color = bg; in cw_cursor()
|
D | fbcon_ccw.c | 131 int fg, int bg) in ccw_putcs() argument 149 image.bg_color = bg; in ccw_putcs() 223 int softback_lines, int fg, int bg) in ccw_cursor() argument 272 ops->cursor_state.image.bg_color != bg || in ccw_cursor() 275 ops->cursor_state.image.bg_color = bg; in ccw_cursor()
|
D | fbcon_ud.c | 153 int fg, int bg) in ud_putcs() argument 172 image.bg_color = bg; in ud_putcs() 253 int softback_lines, int fg, int bg) in ud_cursor() argument 303 ops->cursor_state.image.bg_color != bg || in ud_cursor() 306 ops->cursor_state.image.bg_color = bg; in ud_cursor()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 125 struct fcoe_percpu_s *bg; in bnx2fc_clean_rx_queue() local 131 bg = &bnx2fc_global; in bnx2fc_clean_rx_queue() 132 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue() 133 list = &bg->fcoe_rx_list; in bnx2fc_clean_rx_queue() 144 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue() 413 struct fcoe_percpu_s *bg; in bnx2fc_rcv() local 447 bg = &bnx2fc_global; in bnx2fc_rcv() 448 spin_lock(&bg->fcoe_rx_list.lock); in bnx2fc_rcv() 450 __skb_queue_tail(&bg->fcoe_rx_list, skb); in bnx2fc_rcv() 451 if (bg->fcoe_rx_list.qlen == 1) in bnx2fc_rcv() [all …]
|
/drivers/video/savage/ |
D | savagefb_accel.c | 95 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()
|
/drivers/video/i810/ |
D | i810_accel.c | 237 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()
|
/drivers/video/aty/ |
D | mach64_cursor.c | 124 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local 133 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) | in atyfb_cursor() 138 aty_st_le32(CUR_CLR0, bg, par); in atyfb_cursor()
|
D | mach64_accel.c | 351 u32 fg, bg; in atyfb_imageblit() local 355 bg = ((u32*)(info->pseudo_palette))[image->bg_color]; in atyfb_imageblit() 358 bg = image->bg_color; in atyfb_imageblit() 362 aty_st_le32(DP_BKGD_CLR, bg, par); in atyfb_imageblit()
|
/drivers/gpu/drm/nouveau/ |
D | nv04_fbcon.c | 85 uint32_t bg; in nv04_fbcon_imageblit() local 104 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color]; in nv04_fbcon_imageblit() 107 bg = image->bg_color; in nv04_fbcon_imageblit() 114 OUT_RING(chan, bg); in nv04_fbcon_imageblit()
|
/drivers/media/dvb-frontends/ |
D | zl10036.c | 287 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()
|
/drivers/video/nvidia/ |
D | nv_accel.c | 354 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()
|
D | nvidia.c | 124 u16 bg, u16 fg, u32 w, u32 h) in nvidiafb_load_cursor_image() argument 139 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image() 141 tmp |= (b & (1 << 31)) ? fg : bg; in nvidiafb_load_cursor_image() 144 tmp = (b & 1) ? fg : bg; in nvidiafb_load_cursor_image() 146 tmp |= (b & 1) ? fg << 16 : bg << 16; in nvidiafb_load_cursor_image() 543 u16 fg, bg; in nvidiafb_cursor() local 596 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in nvidiafb_cursor() 606 nvidiafb_load_cursor_image(par, data, bg, fg, in nvidiafb_cursor()
|
/drivers/gpu/drm/radeon/ |
D | radeon_combios.c | 945 uint8_t rev, bg, dac; in radeon_combios_get_primary_dac_info() local 960 bg = RBIOS8(dac_info + 0x2) & 0xf; in radeon_combios_get_primary_dac_info() 962 p_dac->ps2_pdac_adj = (bg << 8) | (dac); in radeon_combios_get_primary_dac_info() 964 bg = RBIOS8(dac_info + 0x2) & 0xf; in radeon_combios_get_primary_dac_info() 966 p_dac->ps2_pdac_adj = (bg << 8) | (dac); in radeon_combios_get_primary_dac_info() 1090 uint8_t rev, bg, dac; in radeon_combios_get_tv_dac_info() local 1103 bg = RBIOS8(dac_info + 0xc) & 0xf; in radeon_combios_get_tv_dac_info() 1105 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 20); in radeon_combios_get_tv_dac_info() 1107 bg = RBIOS8(dac_info + 0xe) & 0xf; in radeon_combios_get_tv_dac_info() 1109 tv_dac->pal_tvdac_adj = (bg << 16) | (dac << 20); in radeon_combios_get_tv_dac_info() [all …]
|
/drivers/media/platform/ |
D | vivi.c | 570 PIXTYPE bg; \ in gen_text() 572 memcpy(&bg, &dev->textbg, sizeof(PIXTYPE)); \ in gen_text() 581 pos[0] = (chr & (0x01 << 7) ? fg : bg); \ in gen_text() 582 pos[1] = (chr & (0x01 << 6) ? fg : bg); \ in gen_text() 583 pos[2] = (chr & (0x01 << 5) ? fg : bg); \ in gen_text() 584 pos[3] = (chr & (0x01 << 4) ? fg : bg); \ in gen_text() 585 pos[4] = (chr & (0x01 << 3) ? fg : bg); \ in gen_text() 586 pos[5] = (chr & (0x01 << 2) ? fg : bg); \ in gen_text() 587 pos[6] = (chr & (0x01 << 1) ? fg : bg); \ in gen_text() 588 pos[7] = (chr & (0x01 << 0) ? fg : bg); \ in gen_text()
|
/drivers/video/omap2/dss/ |
D | manager-sysfs.c | 370 info.cpr_coefs.bg, in manager_cpr_coef_show() 388 &coefs.br, &coefs.bg, &coefs.bb) != 9) in manager_cpr_coef_store() 393 coefs.br, coefs.bg, coefs.bb }; in manager_cpr_coef_store()
|
/drivers/video/intelfb/ |
D | intelfbdrv.c | 1596 u32 fg, bg; in intelfb_cursor() local 1610 bg =dinfo->pseudo_palette[cursor->image.bg_color]; in intelfb_cursor() 1613 bg = cursor->image.bg_color; in intelfb_cursor() 1615 intelfbhw_cursor_setcolor(dinfo, bg, fg); in intelfb_cursor() 1642 u32 fg, bg; in intelfb_cursor() local 1646 bg = dinfo->pseudo_palette[cursor->image.bg_color]; in intelfb_cursor() 1649 bg = cursor->image.bg_color; in intelfb_cursor() 1652 intelfbhw_cursor_setcolor(dinfo, bg, fg); in intelfb_cursor()
|
/drivers/video/riva/ |
D | fbdev.c | 503 u16 bg, u16 fg, u32 w, u32 h) in rivafb_load_cursor_image() argument 508 bg = le16_to_cpu(bg); in rivafb_load_cursor_image() 520 tmp = (b & (1 << 31)) ? fg << 16 : bg << 16; in rivafb_load_cursor_image() 522 tmp |= (b & (1 << 31)) ? fg : bg; in rivafb_load_cursor_image() 525 tmp = (b & 1) ? fg : bg; in rivafb_load_cursor_image() 527 tmp |= (b & 1) ? fg << 16 : bg << 16; in rivafb_load_cursor_image() 1602 u16 fg, bg; in rivafb_cursor() local 1656 bg = ((info->cmap.red[bg_idx] & 0xf8) << 7) | in rivafb_cursor() 1668 rivafb_load_cursor_image(par, data, bg, fg, in rivafb_cursor()
|