Searched defs:minfo (Results 1 - 24 of 24) sorted by relevance

/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.h7 void matroxfb_g450_connect(struct matrox_fb_info *minfo);
8 void matroxfb_g450_shutdown(struct matrox_fb_info *minfo);
10 static inline void matroxfb_g450_connect(struct matrox_fb_info *minfo) { }; argument
11 static inline void matroxfb_g450_shutdown(struct matrox_fb_info *minfo) { }; argument
H A Dmatroxfb_maven.h13 struct matrox_fb_info* minfo; member in struct:i2c_bit_adapter
H A Dmatroxfb_misc.h9 static inline int PLL_calcclock(const struct matrox_fb_info *minfo, argument
14 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post);
17 int matroxfb_vgaHWinit(struct matrox_fb_info *minfo, struct my_timming* m);
18 void matroxfb_vgaHWrestore(struct matrox_fb_info *minfo);
19 void matroxfb_read_pins(struct matrox_fb_info *minfo);
H A Dg450_pll.c28 static unsigned int g450_mnp2vco(const struct matrox_fb_info *minfo, argument
35 return (minfo->features.pll.ref_freq * n + (m >> 1)) / m;
38 unsigned int g450_mnp2f(const struct matrox_fb_info *minfo, unsigned int mnp) argument
40 return g450_vco2f(mnp, g450_mnp2vco(minfo, mnp));
55 static unsigned int g450_nextpll(const struct matrox_fb_info *minfo, argument
99 n = ((tvco * (m+1) + minfo->features.pll.ref_freq) / (minfo->features.pll.ref_freq * 2)) - 2;
104 static unsigned int g450_firstpll(const struct matrox_fb_info *minfo, argument
133 return g450_nextpll(minfo, pi, vco, 0xFF0000 | p);
136 static inline unsigned int g450_setpll(const struct matrox_fb_info *minfo, argument
173 g450_cmppll(const struct matrox_fb_info *minfo, unsigned int mnp, unsigned int pll) argument
209 g450_isplllocked(const struct matrox_fb_info *minfo, unsigned int regidx) argument
229 g450_testpll(const struct matrox_fb_info *minfo, unsigned int mnp, unsigned int pll) argument
245 matroxfb_g450_setpll_cond(struct matrox_fb_info *minfo, unsigned int mnp, unsigned int pll) argument
253 g450_findworkingpll(struct matrox_fb_info *minfo, unsigned int pll, unsigned int *mnparray, unsigned int mnpcount) argument
309 g450_checkcache(struct matrox_fb_info *minfo, struct matrox_pll_cache *ci, unsigned int mnp_key) argument
331 __g450_setclk(struct matrox_fb_info *minfo, unsigned int fout, unsigned int pll, unsigned int *mnparray, unsigned int *deltaarray) argument
516 matroxfb_g450_setclk(struct matrox_fb_info *minfo, unsigned int fout, unsigned int pll) argument
[all...]
H A Di2c-matroxfb.c40 static int matroxfb_read_gpio(struct matrox_fb_info* minfo) { argument
45 v = matroxfb_DAC_in(minfo, DAC_XGENIODATA);
50 static void matroxfb_set_gpio(struct matrox_fb_info* minfo, int mask, int val) { argument
55 v = (matroxfb_DAC_in(minfo, DAC_XGENIOCTRL) & mask) | val;
56 matroxfb_DAC_out(minfo, DAC_XGENIOCTRL, v);
58 matroxfb_DAC_out(minfo, DAC_XGENIODATA, 0x00);
63 static inline void matroxfb_i2c_set(struct matrox_fb_info* minfo, int mask, int state) { argument
68 matroxfb_set_gpio(minfo, ~mask, state);
73 matroxfb_i2c_set(b->minfo, b->mask.data, state);
78 matroxfb_i2c_set(b->minfo,
101 i2c_bus_reg(struct i2c_bit_adapter* b, struct matrox_fb_info* minfo, unsigned int data, unsigned int clock, const char *name, int class) argument
143 i2c_matroxfb_probe(struct matrox_fb_info* minfo) argument
204 i2c_matroxfb_remove(struct matrox_fb_info* minfo, void* data) argument
[all...]
H A Dmatroxfb_accel.c110 void matrox_cfbX_init(struct matrox_fb_info *minfo) argument
119 mpitch = minfo->fbcon.var.xres_virtual;
121 minfo->fbops.fb_copyarea = cfb_copyarea;
122 minfo->fbops.fb_fillrect = cfb_fillrect;
123 minfo->fbops.fb_imageblit = cfb_imageblit;
124 minfo->fbops.fb_cursor = NULL;
126 accel = (minfo->fbcon.var.accel_flags & FB_ACCELF_TEXT) == FB_ACCELF_TEXT;
128 switch (minfo->fbcon.var.bits_per_pixel) {
132 matrox_cfb4_pal(minfo->cmap);
134 minfo
201 matrox_accel_restore_maccess(struct matrox_fb_info *minfo) argument
207 matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument
248 matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres, int sy, int sx, int dy, int dx, int height, int width) argument
292 struct matrox_fb_info *minfo = info2minfo(info); local
301 struct matrox_fb_info *minfo = info2minfo(info); local
306 matroxfb_accel_clear(struct matrox_fb_info *minfo, u_int32_t color, int sy, int sx, int height, int width) argument
327 struct matrox_fb_info *minfo = info2minfo(info); local
336 matroxfb_cfb4_clear(struct matrox_fb_info *minfo, u_int32_t bgx, int sy, int sx, int height, int width) argument
395 struct matrox_fb_info *minfo = info2minfo(info); local
404 matroxfb_1bpp_imageblit(struct matrox_fb_info *minfo, u_int32_t fgx, u_int32_t bgx, const u_int8_t *chardata, int width, int height, int yy, int xx) argument
499 struct matrox_fb_info *minfo = info2minfo(info); local
[all...]
H A Dmatroxfb_DAC1064.c36 static void DAC1064_calcclock(const struct matrox_fb_info *minfo, argument
48 fvco = PLL_calcclock(minfo, freq, fmax, in, feed, &p);
87 static void DAC1064_setpclk(struct matrox_fb_info *minfo, unsigned long fout) argument
93 DAC1064_calcclock(minfo, fout, minfo->max_pixel_clock, &m, &n, &p);
94 minfo->hw.DACclk[0] = m;
95 minfo->hw.DACclk[1] = n;
96 minfo->hw.DACclk[2] = p;
99 static void DAC1064_setmclk(struct matrox_fb_info *minfo, int oscinfo, argument
103 struct matrox_hw_state *hw = &minfo
164 g450_set_plls(struct matrox_fb_info *minfo) argument
256 DAC1064_global_init(struct matrox_fb_info *minfo) argument
330 DAC1064_global_restore(struct matrox_fb_info *minfo) argument
348 DAC1064_init_1(struct matrox_fb_info *minfo, struct my_timming *m) argument
385 DAC1064_init_2(struct matrox_fb_info *minfo, struct my_timming *m) argument
428 DAC1064_restore_1(struct matrox_fb_info *minfo) argument
459 DAC1064_restore_2(struct matrox_fb_info *minfo) argument
481 #define minfo macro
504 #undef minfo macro
515 #define minfo macro
522 #undef minfo macro
535 MGA1064_init(struct matrox_fb_info *minfo, struct my_timming *m) argument
558 MGAG100_init(struct matrox_fb_info *minfo, struct my_timming *m) argument
582 MGA1064_ramdac_init(struct matrox_fb_info *minfo) argument
609 MGAG100_progPixClock(const struct matrox_fb_info *minfo, int flags, int m, int n, int p) argument
655 MGAG100_setPixClock(const struct matrox_fb_info *minfo, int flags, int freq) argument
668 MGA1064_preinit(struct matrox_fb_info *minfo) argument
706 MGA1064_reset(struct matrox_fb_info *minfo) argument
716 g450_mclk_init(struct matrox_fb_info *minfo) argument
745 g450_memory_init(struct matrox_fb_info *minfo) argument
788 g450_preinit(struct matrox_fb_info *minfo) argument
837 MGAG100_preinit(struct matrox_fb_info *minfo) argument
979 MGAG100_reset(struct matrox_fb_info *minfo) argument
1037 MGA1064_restore(struct matrox_fb_info *minfo) argument
1064 MGAG100_restore(struct matrox_fb_info *minfo) argument
[all...]
H A Dmatroxfb_crtc2.c69 struct matrox_fb_info *minfo = m2info->primary_dev; local
85 if (minfo->outputs[1].src == MATROXFB_SRC_CRTC2) {
86 if (minfo->devflags.g450dac) {
89 if (minfo->outputs[1].mode != MATROXFB_OUTPUT_MODE_MONITOR) {
97 } else if (minfo->outputs[0].src == MATROXFB_SRC_CRTC2) {
101 if (minfo->outputs[0].src == MATROXFB_SRC_CRTC2) {
150 minfo->hw.crtc2.ctl = tmp;
161 struct matrox_fb_info *minfo = m2info->primary_dev; local
164 minfo->hw.crtc2.ctl = 0x00000004;
172 struct matrox_fb_info *minfo local
264 struct matrox_fb_info *minfo = m2info->primary_dev; local
284 struct matrox_fb_info *minfo = m2info->primary_dev; local
330 struct matrox_fb_info *minfo = m2info->primary_dev; local
403 struct matrox_fb_info *minfo = m2info->primary_dev; local
427 struct matrox_fb_info *minfo = m2info->primary_dev; local
598 matroxfb_dh_regit(const struct matrox_fb_info *minfo, struct matroxfb_dh_fb_info *m2info) argument
601 #define minfo macro
647 #undef minfo macro
653 #define minfo macro
662 #undef minfo macro
666 #define minfo macro
689 #undef minfo macro
692 matroxfb_crtc2_probe(struct matrox_fb_info* minfo) argument
712 matroxfb_crtc2_remove(struct matrox_fb_info* minfo, void* crtc2) argument
[all...]
H A Dmatroxfb_g450.c83 static inline int *get_ctrl_ptr(struct matrox_fb_info *minfo, unsigned int idx) argument
85 return (int*)((char*)minfo + g450_controls[idx].control);
88 static void tvo_fill_defaults(struct matrox_fb_info *minfo) argument
93 *get_ctrl_ptr(minfo, i) = g450_controls[i].desc.default_value;
97 static int cve2_get_reg(struct matrox_fb_info *minfo, int reg) argument
103 matroxfb_DAC_out(minfo, 0x87, reg);
104 val = matroxfb_DAC_in(minfo, 0x88);
109 static void cve2_set_reg(struct matrox_fb_info *minfo, int reg, int val) argument
114 matroxfb_DAC_out(minfo, 0x87, reg);
115 matroxfb_DAC_out(minfo,
119 cve2_set_reg10(struct matrox_fb_info *minfo, int reg, int val) argument
131 g450_compute_bwlevel(const struct matrox_fb_info *minfo, int *bl, int *wl) argument
164 struct matrox_fb_info *minfo = md; local
218 struct matrox_fb_info *minfo = md; local
236 computeRegs(struct matrox_fb_info *minfo, struct mavenregs *r, struct my_timming *mt, const struct output_desc *outd) argument
503 cve2_init_TV(struct matrox_fb_info *minfo, const struct mavenregs *m) argument
521 struct matrox_fb_info *minfo = md; local
559 struct matrox_fb_info *minfo = md; local
578 struct matrox_fb_info *minfo = md; local
602 matroxfb_g450_connect(struct matrox_fb_info *minfo) argument
619 matroxfb_g450_shutdown(struct matrox_fb_info *minfo) argument
[all...]
H A Dmatroxfb_misc.c92 void matroxfb_DAC_out(const struct matrox_fb_info *minfo, int reg, int val) argument
99 int matroxfb_DAC_in(const struct matrox_fb_info *minfo, int reg) argument
189 int matroxfb_vgaHWinit(struct matrox_fb_info *minfo, struct my_timming *m) argument
196 struct matrox_hw_state * const hw = &minfo->hw;
246 divider = minfo->curr.final_bppShift;
276 wd = minfo->fbcon.var.xres_virtual * minfo->curr.final_bppShift / 64;
293 if (minfo->outputs[1].src == MATROXFB_SRC_CRTC1)
337 void matroxfb_vgaHWrestore(struct matrox_fb_info *minfo) argument
340 struct matrox_hw_state * const hw = &minfo
529 parse_pins1(struct matrox_fb_info *minfo, const struct matrox_bios *bd) argument
551 default_pins1(struct matrox_fb_info *minfo) argument
560 parse_pins2(struct matrox_fb_info *minfo, const struct matrox_bios *bd) argument
574 default_pins2(struct matrox_fb_info *minfo) argument
584 parse_pins3(struct matrox_fb_info *minfo, const struct matrox_bios *bd) argument
602 default_pins3(struct matrox_fb_info *minfo) argument
614 parse_pins4(struct matrox_fb_info *minfo, const struct matrox_bios *bd) argument
633 default_pins4(struct matrox_fb_info *minfo) argument
646 parse_pins5(struct matrox_fb_info *minfo, const struct matrox_bios *bd) argument
683 default_pins5(struct matrox_fb_info *minfo) argument
708 matroxfb_set_limits(struct matrox_fb_info *minfo, const struct matrox_bios *bd) argument
763 matroxfb_read_pins(struct matrox_fb_info *minfo) argument
[all...]
H A Dmatroxfb_maven.c476 struct matrox_fb_info *minfo = md->primary_head; local
478 if (minfo->outputs[1].mode == MATROXFB_OUTPUT_MODE_PAL)
514 data->regs[0x22] = minfo->altout.tvo_params.saturation;
518 data->regs[0x25] = minfo->altout.tvo_params.hue;
759 struct matrox_fb_info *minfo = md->primary_head; local
761 m->mode = minfo->outputs[1].mode;
1149 #define minfo (mdinfo->primary_head) macro
1150 return maven_compute_timming(md, mt, &minfo->hw.maven);
1151 #undef minfo macro
1157 #define minfo (mdinf macro
1159 #undef minfo macro
1202 struct matrox_fb_info *minfo = container_of(clnt->adapter, local
1238 struct matrox_fb_info *minfo = md->primary_head; local
[all...]
H A Dmatroxfb_Ti3026.c282 static int Ti3026_calcclock(const struct matrox_fb_info *minfo, argument
291 fvco = PLL_calcclock(minfo, freq, fmax, &lin, &lfeed, &lpost);
298 static int Ti3026_setpclk(struct matrox_fb_info *minfo, int clk) argument
302 struct matrox_hw_state *hw = &minfo->hw;
306 f_pll = Ti3026_calcclock(minfo, clk, minfo->max_pixel_clock, &pixin, &pixfeed, &pixpost);
316 Bpp = minfo->curr.final_bppShift;
318 if (minfo->fbcon.var.bits_per_pixel == 24) {
337 if (minfo->fbcon.var.bits_per_pixel == 24) {
340 if (minfo
368 Ti3026_init(struct matrox_fb_info *minfo, struct my_timming *m) argument
441 ti3026_setMCLK(struct matrox_fb_info *minfo, int fout) argument
541 ti3026_ramdac_init(struct matrox_fb_info *minfo) argument
557 Ti3026_restore(struct matrox_fb_info *minfo) argument
670 Ti3026_reset(struct matrox_fb_info *minfo) argument
681 Ti3026_preinit(struct matrox_fb_info *minfo) argument
[all...]
H A Dmatroxfb_base.c124 static void matroxfb_unregister_device(struct matrox_fb_info* minfo);
155 static void update_crtc2(struct matrox_fb_info *minfo, unsigned int pos) argument
157 struct matroxfb_dh_fb_info *info = minfo->crtc2.info;
160 if (info && (info->fbcon.var.bits_per_pixel == minfo->fbcon.var.bits_per_pixel)
161 && (info->fbcon.var.xres_virtual == minfo->fbcon.var.xres_virtual)
162 && (info->fbcon.var.green.length == minfo->fbcon.var.green.length)
164 switch (minfo->fbcon.var.bits_per_pixel) {
170 mga_outl(0x3C28, pos + minfo->fbcon.var.xres_virtual * minfo->fbcon.var.bits_per_pixel / 8);
179 static void matroxfb_crtc1_panpos(struct matrox_fb_info *minfo) argument
205 struct matrox_fb_info *minfo = dev_id; local
225 matroxfb_enable_irq(struct matrox_fb_info *minfo, int reenable) argument
255 matroxfb_disable_irq(struct matrox_fb_info *minfo) argument
268 matroxfb_wait_for_sync(struct matrox_fb_info *minfo, u_int32_t crtc) argument
306 matrox_pan_var(struct matrox_fb_info *minfo, struct fb_var_screeninfo *var) argument
355 matroxfb_remove(struct matrox_fb_info *minfo, int dummy) argument
390 struct matrox_fb_info *minfo = info2minfo(info); local
406 struct matrox_fb_info *minfo = info2minfo(info); local
423 struct matrox_fb_info *minfo = info2minfo(info); local
431 matroxfb_get_final_bppShift(const struct matrox_fb_info *minfo, int bpp) argument
449 matroxfb_test_and_set_rounding(const struct matrox_fb_info *minfo, int xres, int bpp) argument
482 matroxfb_pitch_adjust(const struct matrox_fb_info *minfo, int xres, int bpp) argument
530 matroxfb_decode_var(const struct matrox_fb_info *minfo, struct fb_var_screeninfo *var, int *visual, int *video_cmap_len, unsigned int* ydstorg) argument
653 struct matrox_fb_info* minfo = container_of(fb_info, struct matrox_fb_info, fbcon); local
711 matroxfb_init_fix(struct matrox_fb_info *minfo) argument
726 matroxfb_update_fix(struct matrox_fb_info *minfo) argument
743 struct matrox_fb_info *minfo = info2minfo(info); local
760 struct matrox_fb_info *minfo = info2minfo(info); local
847 matroxfb_get_vblank(struct matrox_fb_info *minfo, struct fb_vblank *vblank) argument
884 struct matrox_fb_info *minfo = info2minfo(info); local
1182 struct matrox_fb_info *minfo = info2minfo(info); local
1288 matroxfb_getmemory(struct matrox_fb_info *minfo, unsigned int maxSize, unsigned int *realSize) argument
1594 setDefaultOutputs(struct matrox_fb_info *minfo) argument
1628 initMatrox2(struct matrox_fb_info *minfo, struct board *b) argument
1967 struct matrox_fb_info* minfo; local
1987 struct matrox_fb_info* minfo; local
2007 matroxfb_register_device(struct matrox_fb_info* minfo) argument
2027 matroxfb_unregister_device(struct matrox_fb_info* minfo) argument
2043 struct matrox_fb_info* minfo; local
2123 struct matrox_fb_info* minfo; local
[all...]
/drivers/gpu/drm/radeon/
H A Dradeon_kms.c210 struct radeon_mode_info *minfo = &rdev->mode_info; local
243 crtc = (struct drm_crtc *)minfo->crtcs[i];
H A Drs780_dpm.c51 struct radeon_mode_info *minfo = &rdev->mode_info; local
61 crtc = (struct drm_crtc *)minfo->crtcs[i];
/drivers/net/wireless/p54/
H A Dp54spi.c438 struct p54_tx_info *minfo; local
455 minfo = container_of((void *) dinfo, struct p54_tx_info,
457 info = container_of((void *) minfo, struct ieee80211_tx_info,
/drivers/media/i2c/smiapp/
H A Dsmiapp.h231 struct smiapp_module_info minfo; member in struct:smiapp_sensor
H A Dsmiapp-core.c231 if (rval < 0 || sensor->minfo.smiapp_profile == SMIAPP_PROFILE_0)
280 if (sensor->minfo.smiapp_profile == SMIAPP_PROFILE_0) {
2252 struct smiapp_module_info *minfo = &sensor->minfo; local
2255 minfo->manufacturer_id, minfo->model_id,
2256 minfo->revision_number_major) + 1;
2269 struct smiapp_module_info *minfo = &sensor->minfo; local
2273 minfo
[all...]
/drivers/staging/lustre/lustre/mdc/
H A Dmdc_locks.c1217 struct md_enqueue_info *minfo = ga->ga_minfo; local
1225 it = &minfo->mi_it;
1226 lockh = &minfo->mi_lockh;
1252 rc = mdc_finish_intent_lock(exp, req, &minfo->mi_data, it, lockh);
1256 minfo->mi_cb(req, minfo, rc);
1261 struct md_enqueue_info *minfo,
1264 struct md_op_data *op_data = &minfo->mi_data;
1265 struct lookup_intent *it = &minfo->mi_it;
1297 0, LVB_T_NONE, &minfo
1260 mdc_intent_getattr_async(struct obd_export *exp, struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dstatahead.c308 struct md_enqueue_info *minfo = entry->se_minfo; local
311 if (minfo) {
313 ll_intent_release(&minfo->mi_it);
314 iput(minfo->mi_dir);
315 OBD_FREE_PTR(minfo);
618 struct md_enqueue_info *minfo; local
636 minfo = entry->se_minfo;
637 it = &minfo->mi_it;
650 LASSERT(fid_is_zero(&minfo->mi_data.op_fid2));
663 if (unlikely(!lu_fid_eq(&minfo
702 ll_statahead_interpret(struct ptlrpc_request *req, struct md_enqueue_info *minfo, int rc) argument
774 sa_args_fini(struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument
801 struct md_enqueue_info *minfo; local
846 struct md_enqueue_info *minfo; local
878 struct md_enqueue_info *minfo; local
[all...]
/drivers/staging/lustre/lustre/lmv/
H A Dlmv_obd.c2701 struct md_enqueue_info *minfo,
2704 struct md_op_data *op_data = &minfo->mi_data;
2718 rc = md_intent_getattr_async(tgt->ltd_exp, minfo, einfo);
2700 lmv_intent_getattr_async(struct obd_export *exp, struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument
/drivers/scsi/bfa/
H A Dbfa_fcpim.c3641 bfa_fcp_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *minfo, argument
3687 bfa_mem_dma_setup(minfo, seg_ptr,
3690 bfa_mem_dma_setup(minfo, seg_ptr,
3695 bfa_mem_kva_setup(minfo, fcp_kva, km_len);
H A Dbfa_svc.c124 struct bfa_meminfo_s *minfo, struct bfa_s *bfa);
487 bfa_fcxp_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *minfo, argument
512 bfa_mem_dma_setup(minfo, seg_ptr,
515 bfa_mem_dma_setup(minfo, seg_ptr,
520 bfa_mem_kva_setup(minfo, fcxp_kva,
1513 bfa_lps_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *minfo, argument
1519 bfa_mem_kva_setup(minfo, lps_kva,
1522 bfa_mem_kva_setup(minfo, lps_kva,
3058 bfa_fcport_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *minfo, argument
3063 bfa_mem_dma_setup(minfo, fcport_dm
4889 bfa_rport_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *minfo, struct bfa_s *bfa) argument
5249 bfa_sgpg_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *minfo, struct bfa_s *bfa) argument
5550 bfa_uf_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *minfo, struct bfa_s *bfa) argument
[all...]
/drivers/staging/lustre/lustre/include/
H A Dobd_class.h1809 struct md_enqueue_info *minfo,
1816 rc = MDP(exp->exp_obd, intent_getattr_async)(exp, minfo, einfo);
1808 md_intent_getattr_async(struct obd_export *exp, struct md_enqueue_info *minfo, struct ldlm_enqueue_info *einfo) argument

Completed in 588 milliseconds