Searched refs:fg (Results 1 - 25 of 84) sorted by relevance

1234

/linux-master/drivers/power/supply/
H A Dda9150-fg.c88 static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size) argument
99 da9150_read_qif(fg->da9150, read_addr, size, buf);
106 static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size, argument
121 da9150_write_qif(fg->da9150, write_addr, size, buf);
125 static void da9150_fg_read_sync_start(struct da9150_fg *fg) argument
130 mutex_lock(&fg->io_lock);
133 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC,
136 da9150_fg_write_attr(fg, DA9150_QIF_SYNC,
144 res = da9150_fg_read_attr(fg, DA9150_QIF_SYNC,
150 dev_err(fg
157 da9150_fg_read_sync_end(struct da9150_fg *fg) argument
163 da9150_fg_read_attr_sync(struct da9150_fg *fg, u8 code, u8 size) argument
175 da9150_fg_write_attr_sync(struct da9150_fg *fg, u8 code, u8 size, u32 val) argument
223 da9150_fg_capacity(struct da9150_fg *fg, union power_supply_propval *val) argument
235 da9150_fg_current_avg(struct da9150_fg *fg, union power_supply_propval *val) argument
260 da9150_fg_voltage_avg(struct da9150_fg *fg, union power_supply_propval *val) argument
275 da9150_fg_charge_full(struct da9150_fg *fg, union power_supply_propval *val) argument
290 da9150_fg_temp(struct da9150_fg *fg, union power_supply_propval *val) argument
313 struct da9150_fg *fg = dev_get_drvdata(psy->dev.parent); local
341 da9150_fg_soc_changed(struct da9150_fg *fg) argument
356 struct da9150_fg *fg = container_of(work, struct da9150_fg, work.work); local
366 da9150_fg_soc_event_config(struct da9150_fg *fg) argument
400 struct da9150_fg *fg = data; local
450 struct da9150_fg *fg; local
537 struct da9150_fg *fg = platform_get_drvdata(pdev); local
[all...]
H A Dab8500_bmdata.c84 static const struct ab8500_fg_parameters fg = { variable in typeref:struct:ab8500_fg_parameters
137 .fg_params = &fg,
H A Dab8500_btemp.c86 * @fg: Pointer to the struct fg
104 struct ab8500_fg *fg; member in struct:ab8500_btemp
188 if (!di->fg)
189 di->fg = ab8500_fg_get();
190 if (!di->fg) {
191 dev_err(di->dev, "No fg found\n");
195 ret = ab8500_fg_inst_curr_start(di->fg);
204 } while (!ab8500_fg_inst_curr_started(di->fg));
212 } while (!ab8500_fg_inst_curr_done(di->fg));
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h100 TP_PROTO(const struct mlx5_flow_group *fg),
101 TP_ARGS(fg),
103 __field(const struct mlx5_flow_group *, fg)
114 __entry->fg = fg;
115 fs_get_obj(__entry->ft, fg->node.parent);
116 __entry->start_index = fg->start_index;
117 __entry->end_index = fg->start_index + fg->max_ftes;
118 __entry->id = fg
[all...]
/linux-master/arch/sparc/kernel/
H A Dbtext.c243 int fg = 0xFFFFFFFFUL; local
249 base[0] = (-(bits >> 7) & fg) ^ bg;
250 base[1] = (-((bits >> 6) & 1) & fg) ^ bg;
251 base[2] = (-((bits >> 5) & 1) & fg) ^ bg;
252 base[3] = (-((bits >> 4) & 1) & fg) ^ bg;
253 base[4] = (-((bits >> 3) & 1) & fg) ^ bg;
254 base[5] = (-((bits >> 2) & 1) & fg) ^ bg;
255 base[6] = (-((bits >> 1) & 1) & fg) ^ bg;
256 base[7] = (-(bits & 1) & fg) ^ bg;
264 int fg local
282 int fg = 0x0F0F0F0FUL; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Drdma.c18 mlx5_destroy_flow_group(roce->fg);
32 struct mlx5_flow_group *fg; local
68 fg = mlx5_create_flow_group(ft, flow_group_in);
69 if (IS_ERR(fg)) {
70 err = PTR_ERR(fg);
89 roce->fg = fg;
95 mlx5_destroy_flow_group(fg);
H A Dfs_cmd.h53 struct mlx5_flow_group *fg);
57 struct mlx5_flow_group *fg);
61 struct mlx5_flow_group *fg,
66 struct mlx5_flow_group *fg,
H A Dfs_core.c599 struct mlx5_flow_group *fg; local
603 fs_get_obj(fg, fte->node.parent);
604 fs_get_obj(ft, fg->node.parent);
608 err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte);
611 "%s can't del rule fg id=%d fte_index=%d\n",
612 __func__, fg->id, fte->index);
665 struct mlx5_flow_group *fg; local
671 fs_get_obj(fg, fte->node.parent);
672 fs_get_obj(ft, fg->node.parent);
683 fte->index, fg
691 struct mlx5_flow_group *fg; local
709 struct mlx5_flow_group *fg; local
727 struct mlx5_flow_group *fg; local
747 insert_fte(struct mlx5_flow_group *fg, struct fs_fte *fte) argument
793 dealloc_flow_group(struct mlx5_flow_steering *steering, struct mlx5_flow_group *fg) argument
806 struct mlx5_flow_group *fg; local
838 struct mlx5_flow_group *fg; local
1111 struct mlx5_flow_group *fg; local
1399 struct mlx5_flow_group *fg; local
1535 add_rule_fte(struct fs_fte *fte, struct mlx5_flow_group *fg, struct mlx5_flow_destination *dest, int dest_num, bool update_action) argument
1584 struct mlx5_flow_group *fg; local
1624 create_auto_flow_group(struct mlx5_flow_table *ft, struct mlx5_flow_group *fg) argument
1795 add_rule_fg(struct mlx5_flow_group *fg, const struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act, struct mlx5_flow_destination *dest, int dest_num, struct fs_fte *fte) argument
1886 build_match_list(struct match_list *match_head, struct mlx5_flow_table *ft, const struct mlx5_flow_spec *spec, struct mlx5_flow_group *fg, bool ft_locked) argument
2398 mlx5_destroy_flow_group(struct mlx5_flow_group *fg) argument
[all...]
/linux-master/arch/x86/include/asm/
H A Dnmi.h44 #define register_nmi_handler(t, fn, fg, n, init...) \
50 .flags = (fg), \
/linux-master/drivers/video/fbdev/
H A Datafb_utils.h269 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) argument
271 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]);
273 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]);
301 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) argument
305 expand8_2col2mask(fg, bg, fgm, bgm);
343 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) argument
346 fgm[0] = two2word[fg & 3] ^ bgm[0];
349 fgm[1] = two2word[(fg >> 2) & 3] ^ bgm[1];
353 fgm[2] = two2word[(fg >> 4) & 3] ^ bgm[2];
355 fgm[3] = two2word[fg >>
[all...]
H A Dwmt_ge_rops.c46 unsigned long fg, pat; local
53 fg = ((u32 *) (p->pseudo_palette))[rect->color];
55 fg = rect->color;
57 pat = pixel_to_pat(p->var.bits_per_pixel, fg);
/linux-master/arch/powerpc/kernel/
H A Dbtext.c410 int fg = 0xFFFFFFFFUL; local
416 base[0] = (-(bits >> 7) & fg) ^ bg;
417 base[1] = (-((bits >> 6) & 1) & fg) ^ bg;
418 base[2] = (-((bits >> 5) & 1) & fg) ^ bg;
419 base[3] = (-((bits >> 4) & 1) & fg) ^ bg;
420 base[4] = (-((bits >> 3) & 1) & fg) ^ bg;
421 base[5] = (-((bits >> 2) & 1) & fg) ^ bg;
422 base[6] = (-((bits >> 1) & 1) & fg) ^ bg;
423 base[7] = (-(bits & 1) & fg) ^ bg;
431 int fg local
449 int fg = 0x0F0F0F0FUL; local
[all...]
/linux-master/drivers/staging/sm750fb/
H A Dsm750_cursor.h10 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg);
H A Dsm750_cursor.c75 void sm750_hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg) argument
77 u32 reg = (fg << HWC_COLOR_12_2_RGB565_SHIFT) &
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_meter.c13 struct mlx5_flow_group *fg; member in struct:mlx5e_post_meter_rate_table
22 struct mlx5_flow_group *fg; member in struct:mlx5e_post_meter_mtu_table
102 table->fg = mlx5_create_flow_group(table->ft, flow_group_in);
103 if (IS_ERR(table->fg)) {
105 err = PTR_ERR(table->fg);
212 mlx5_destroy_flow_group(post_meter->rate_steering_table.fg);
235 mlx5_destroy_flow_group(mtu_tables->green_table.fg);
236 mlx5_destroy_flow_group(mtu_tables->red_table.fg);
298 struct mlx5_flow_group *fg; local
316 fg
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dtileblit.c43 rect.fg = attr_fgcol_ec(fgshift, vc, info);
56 int fg, int bg)
66 blit.fg = fg;
83 int fg, int bg)
91 cursor.fg = fg;
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, bool enable, int fg, int bg) argument
H A Dfbcon.h61 int fg, int bg);
65 bool enable, int fg, int bg);
124 int fg; local
141 fg = is_mono01 ? col : 0;
145 fg = is_mono01 ? 0 : col;
149 return is_fg ? fg : bg;
/linux-master/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c95 int fg, bg, size, i, width; local
108 fg = image->fg_color;
111 fg = ((u32 *)info->pseudo_palette)[image->fg_color];
129 BCI_SEND(fg);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.h12 struct mlx5_flow_group *fg; member in struct:mlx5_lag_definer
H A Dport_sel.c19 struct mlx5_flow_group *fg; local
33 fg = mlx5_create_flow_group(ft, in);
35 return fg;
66 lag_definer->fg = mlx5_create_hash_flow_group(lag_definer->ft,
69 if (IS_ERR(lag_definer->fg)) {
70 err = PTR_ERR(lag_definer->fg);
102 mlx5_destroy_flow_group(lag_definer->fg);
351 mlx5_destroy_flow_group(lag_definer->fg);
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_acpi_sar.c191 ret = mt792x_asar_acpi_read_mtfg(dev, (u8 **)&asar->fg);
193 devm_kfree(dev->mt76.dev, asar->fg);
194 asar->fg = NULL;
320 struct mt792x_asar_fg *fg; local
334 fg = acpisar->fg;
335 if (!fg)
341 for (i = 0; i < fg->nr_flag; i++) {
343 if (fg->flag[i] == map[j].acpi_idx) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_mcast.c338 struct mlx5_flow_group *fg; local
356 fg = mlx5_create_flow_group(mcast_ft, in);
358 if (IS_ERR(fg))
361 fg);
363 return fg;
372 struct mlx5_flow_group *fg; local
391 fg = mlx5_create_flow_group(mcast_ft, in);
393 if (IS_ERR(fg))
396 vlan_proto, fg);
398 return fg;
425 struct mlx5_flow_group *fg; local
777 struct mlx5_flow_group *fg; local
810 struct mlx5_flow_group *fg; local
[all...]
/linux-master/mm/
H A Dzsmalloc.c535 int i, fg; local
560 for (fg = ZS_INUSE_RATIO_10; fg < NR_FULLNESS_GROUPS; fg++) {
561 inuse_totals[fg] += zs_stat_get(class, fg);
562 seq_printf(s, "%9lu ", zs_stat_get(class, fg));
587 for (fg = ZS_INUSE_RATIO_10; fg < NR_FULLNESS_GROUPS; fg
1587 int fg; local
1604 int fg; local
1930 int fg; local
2218 int fg; local
[all...]
/linux-master/tools/perf/ui/
H A Dbrowser.c522 const char *name, *fg, *bg; member in struct:ui_browser_colorset
528 .fg = "red",
534 .fg = "green",
540 .fg = "default",
546 .fg = "black",
552 .fg = "blue",
558 .fg = "magenta",
564 .fg = "white",
576 char *fg = NULL, *bg; local
589 fg
[all...]
/linux-master/drivers/video/fbdev/i810/
H A Di810_accel.c225 * @fg: forground color
238 int fg, struct fb_info *info)
249 PUT_RING(fg);
370 u32 fg = 0, bg = 0, size, dst; local
380 fg = image->fg_color;
385 fg = ((u32 *)(info->pseudo_palette))[image->fg_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

Completed in 215 milliseconds

1234