Home
last modified time | relevance | path

Searched full:vc (Results 1 – 25 of 208) sorted by relevance

123456789

/linux/drivers/video/fbdev/core/
H A Dfbcon.c175 #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row)
185 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
186 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table);
193 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p,
237 struct vc_data *vc; in fbcon_rotate_all() local
245 vc = vc_cons[i].d; in fbcon_rotate_all()
246 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_rotate_all()
250 p = &fb_display[vc->vc_num]; in fbcon_rotate_all()
307 static inline bool fbcon_is_active(struct vc_data *vc, struc argument
315 get_color(struct vc_data * vc,struct fb_info * info,u16 c,bool is_fg) get_color() argument
382 get_fg_color(struct vc_data * vc,struct fb_info * info,u16 c) get_fg_color() argument
387 get_bg_color(struct vc_data * vc,struct fb_info * info,u16 c) get_bg_color() argument
396 struct vc_data *vc = NULL; fb_flashcursor() local
448 fbcon_fill_cursor_mask(struct fbcon_par * par,struct vc_data * vc,unsigned char * mask) fbcon_fill_cursor_mask() argument
635 fbcon_prepare_logo(struct vc_data * vc,struct fb_info * info,int cols,int rows,int new_cols,int new_rows) fbcon_prepare_logo() argument
641 fbcon_prepare_logo(struct vc_data * vc,struct fb_info * info,int cols,int rows,int new_cols,int new_rows) fbcon_prepare_logo() argument
731 set_blitting_type(struct vc_data * vc,struct fb_info * info) set_blitting_type() argument
756 set_blitting_type(struct vc_data * vc,struct fb_info * info) set_blitting_type() argument
827 con2fb_acquire_newinfo(struct vc_data * vc,struct fb_info * info,int unit) con2fb_acquire_newinfo() argument
842 con2fb_release_oldinfo(struct vc_data * vc,struct fb_info * oldinfo,struct fb_info * newinfo) con2fb_release_oldinfo() argument
866 con2fb_init_display(struct vc_data * vc,struct fb_info * info,int unit,int show_logo) con2fb_init_display() argument
914 struct vc_data *vc = vc_cons[unit].d; set_con2fb_map() local
1018 struct vc_data *vc = vc_cons[fg_console].d; fbcon_startup() local
1088 fbcon_init(struct vc_data * vc,bool init) fbcon_init() argument
1268 fbcon_deinit(struct vc_data * vc) fbcon_deinit() argument
1338 __fbcon_clear(struct vc_data * vc,unsigned int sy,unsigned int sx,unsigned int height,unsigned int width) __fbcon_clear() argument
1378 fbcon_clear(struct vc_data * vc,unsigned int sy,unsigned int sx,unsigned int width) fbcon_clear() argument
1384 fbcon_putcs(struct vc_data * vc,const u16 * s,unsigned int count,unsigned int ypos,unsigned int xpos) fbcon_putcs() argument
1397 fbcon_clear_margins(struct vc_data * vc,int bottom_only) fbcon_clear_margins() argument
1406 fbcon_cursor(struct vc_data * vc,bool enable) fbcon_cursor() argument
1440 struct vc_data **default_mode, *vc; fbcon_set_disp() local
1499 ywrap_up(struct vc_data * vc,int count) ywrap_up() argument
1518 ywrap_down(struct vc_data * vc,int count) ywrap_down() argument
1537 ypan_up(struct vc_data * vc,int count) ypan_up() argument
1561 ypan_up_redraw(struct vc_data * vc,int t,int count) ypan_up_redraw() argument
1585 ypan_down(struct vc_data * vc,int count) ypan_down() argument
1609 ypan_down_redraw(struct vc_data * vc,int t,int count) ypan_down_redraw() argument
1633 fbcon_redraw_move(struct vc_data * vc,struct fbcon_display * p,int line,int count,int dy) fbcon_redraw_move() argument
1665 fbcon_redraw_blit(struct vc_data * vc,struct fb_info * info,struct fbcon_display * p,int line,int count,int ycount) fbcon_redraw_blit() argument
1713 fbcon_redraw(struct vc_data * vc,int line,int count,int offset) fbcon_redraw() argument
1765 fbcon_bmove_rec(struct vc_data * vc,struct fbcon_display * p,int sy,int sx,int dy,int dx,int height,int width,u_int y_break) fbcon_bmove_rec() argument
1807 fbcon_bmove(struct vc_data * vc,int sy,int sx,int dy,int dx,int height,int width) fbcon_bmove() argument
1830 fbcon_scroll(struct vc_data * vc,unsigned int t,unsigned int b,enum con_scroll dir,unsigned int count) fbcon_scroll() argument
2028 updatescrollmode_accel(struct fbcon_display * p,struct fb_info * info,struct vc_data * vc) updatescrollmode_accel() argument
2068 updatescrollmode(struct fbcon_display * p,struct fb_info * info,struct vc_data * vc) updatescrollmode() argument
2085 fbcon_resize(struct vc_data * vc,unsigned int width,unsigned int height,bool from_user) fbcon_resize() argument
2143 fbcon_switch(struct vc_data * vc) fbcon_switch() argument
2269 fbcon_generic_blank(struct vc_data * vc,struct fb_info * info,int blank) fbcon_generic_blank() argument
2284 fbcon_blank(struct vc_data * vc,enum vesa_blank_mode blank,bool mode_switch) fbcon_blank() argument
2326 fbcon_get_font(struct vc_data * vc,struct console_font * font,unsigned int vpitch) fbcon_get_font() argument
2340 set_vc_hi_font(struct vc_data * vc,bool set) set_vc_hi_font() argument
2400 fbcon_do_set_font(struct vc_data * vc,int w,int h,int charcount,font_data_t * data) fbcon_do_set_font() argument
2472 fbcon_set_font(struct vc_data * vc,const struct console_font * font,unsigned int vpitch,unsigned int flags) fbcon_set_font() argument
2524 fbcon_set_def_font(struct vc_data * vc,struct console_font * font,const char * name) fbcon_set_def_font() argument
2549 fbcon_set_palette(struct vc_data * vc,const unsigned char * table) fbcon_set_palette() argument
2586 fbcon_invert_region(struct vc_data * vc,u16 * p,int cnt) fbcon_invert_region() argument
2604 struct vc_data *vc = NULL; fbcon_suspended() local
2618 struct vc_data *vc; fbcon_resumed() local
2633 struct vc_data *vc; fbcon_modechanged() local
2693 struct vc_data *vc; fbcon_set_all_vcs() local
2741 struct vc_data *vc; fbcon_modechange_possible() local
3044 struct vc_data *vc; fbcon_fb_blanked() local
3065 struct vc_data *vc; fbcon_new_modelist() local
3086 struct vc_data *vc; fbcon_get_requirement() local
[all...]
H A Dbitblit.c25 static void update_attr(u8 *dst, const u8 *src, int attribute, struct vc_data *vc) in update_attr() argument
27 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr()
28 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr()
29 unsigned int cellsize = vc->vc_font.height * width; in update_attr()
45 static void bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, in bit_bmove() argument
50 area.sx = sx * vc->vc_font.width; in bit_bmove()
51 area.sy = sy * vc->vc_font.height; in bit_bmove()
52 area.dx = dx * vc->vc_font.width; in bit_bmove()
53 area.dy = dy * vc->vc_font.height; in bit_bmove()
54 area.height = height * vc->vc_font.height; in bit_bmove()
[all …]
/linux/drivers/dma/
H A Dvirt-dma.c21 struct virt_dma_chan *vc = to_virt_chan(tx->chan); in vchan_tx_submit() local
26 spin_lock_irqsave(&vc->lock, flags); in vchan_tx_submit()
29 list_move_tail(&vd->node, &vc->desc_submitted); in vchan_tx_submit()
30 spin_unlock_irqrestore(&vc->lock, flags); in vchan_tx_submit()
32 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: submitted\n", in vchan_tx_submit()
33 vc, vd, cookie); in vchan_tx_submit()
51 struct virt_dma_chan *vc = to_virt_chan(tx->chan); in vchan_tx_desc_free() local
55 spin_lock_irqsave(&vc->lock, flags); in vchan_tx_desc_free()
57 spin_unlock_irqrestore(&vc->lock, flags); in vchan_tx_desc_free()
59 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: freeing\n", in vchan_tx_desc_free()
[all …]
H A Dmilbeaut-hdmac.c68 struct virt_dma_chan vc; member
84 to_milbeaut_hdmac_chan(struct virt_dma_chan *vc) in to_milbeaut_hdmac_chan() argument
86 return container_of(vc, struct milbeaut_hdmac_chan, vc); in to_milbeaut_hdmac_chan()
95 /* mc->vc.lock must be held by caller */
101 vd = vchan_next_desc(&mc->vc); in milbeaut_hdmac_next_desc()
114 /* mc->vc.lock must be held by caller */
161 /* mc->vc.lock must be held by caller */
177 spin_lock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
203 spin_unlock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
215 struct virt_dma_chan *vc = to_virt_chan(chan); in milbeaut_hdmac_chan_config() local
[all …]
H A Duniphier-mdmac.c60 struct virt_dma_chan vc; member
75 to_uniphier_mdmac_chan(struct virt_dma_chan *vc) in to_uniphier_mdmac_chan() argument
77 return container_of(vc, struct uniphier_mdmac_chan, vc); in to_uniphier_mdmac_chan()
86 /* mc->vc.lock must be held by caller */
92 vd = vchan_next_desc(&mc->vc); in uniphier_mdmac_next_desc()
105 /* mc->vc.lock must be held by caller */
144 /* mc->vc.lock must be held by caller */
154 /* mc->vc.lock must be held by caller */
182 spin_lock(&mc->vc.lock); in uniphier_mdmac_interrupt()
219 spin_unlock(&mc->vc.lock); in uniphier_mdmac_interrupt()
[all …]
H A Dmilbeaut-xdmac.c69 struct virt_dma_chan vc; member
81 to_milbeaut_xdmac_chan(struct virt_dma_chan *vc) in to_milbeaut_xdmac_chan() argument
83 return container_of(vc, struct milbeaut_xdmac_chan, vc); in to_milbeaut_xdmac_chan()
92 /* mc->vc.lock must be held by caller */
98 vd = vchan_next_desc(&mc->vc); in milbeaut_xdmac_next_desc()
111 /* mc->vc.lock must be held by caller */
149 /* mc->vc.lock must be held by caller */
165 spin_lock(&mc->vc.lock); in milbeaut_xdmac_interrupt()
179 spin_unlock(&mc->vc.lock); in milbeaut_xdmac_interrupt()
192 struct virt_dma_chan *vc = to_virt_chan(chan); in milbeaut_xdmac_prep_memcpy() local
[all …]
H A Dpxa_dma.c105 struct virt_dma_chan vc; /* Virtual channel */ member
116 /* protected by vc->lock */
140 container_of(dchan, struct pxad_chan, vc.chan)
152 dev_vdbg(&phy->vchan->vc.chan.dev->device, \
160 dev_vdbg(&phy->vchan->vc.chan.dev->device, \
167 dev_vdbg(&phy->vchan->vc.chan.dev->device, \
371 struct pxad_device *pdev = to_pxad_dev(pchan->vc.chan.device); in lookup_phy()
399 dev_dbg(&pchan->vc.chan.dev->device, in lookup_phy()
408 struct pxad_device *pdev = to_pxad_dev(chan->vc.chan.device); in pxad_free_phy()
412 dev_dbg(&chan->vc.chan.dev->device, in pxad_free_phy()
[all …]
H A Duniphier-xdmac.c87 struct virt_dma_chan vc; member
104 to_uniphier_xdmac_chan(struct virt_dma_chan *vc) in to_uniphier_xdmac_chan() argument
106 return container_of(vc, struct uniphier_xdmac_chan, vc); in to_uniphier_xdmac_chan()
115 /* xc->vc.lock must be held by caller */
121 vd = vchan_next_desc(&xc->vc); in uniphier_xdmac_next_desc()
130 /* xc->vc.lock must be held by caller */
197 /* xc->vc.lock must be held by caller */
217 /* xc->vc.lock must be held by caller */
235 spin_lock(&xc->vc.lock); in uniphier_xdmac_chan_irq()
261 spin_unlock(&xc->vc.lock); in uniphier_xdmac_chan_irq()
[all …]
H A Dk3dma.c81 struct virt_dma_chan vc; member
130 return container_of(chan, struct k3_dma_chan, vc.chan); in to_k3_chan()
229 spin_lock(&c->vc.lock); in k3_dma_int_handler()
235 spin_unlock(&c->vc.lock); in k3_dma_int_handler()
238 spin_lock(&c->vc.lock); in k3_dma_int_handler()
241 spin_unlock(&c->vc.lock); in k3_dma_int_handler()
265 struct k3_dma_dev *d = to_k3_dma(c->vc.chan.device); in k3_dma_start_txd()
266 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in k3_dma_start_txd()
282 * fetch and remove request from vc->desc_issued in k3_dma_start_txd()
283 * so vc->desc_issued only contains desc pending in k3_dma_start_txd()
[all …]
H A Dsa11x0-dma.c87 struct virt_dma_chan vc; member
89 /* protected by c->vc.lock */
107 /* Protected by c->vc.lock */
128 return container_of(chan, struct sa11x0_dma_chan, vc.chan); in to_sa11x0_dma_chan()
138 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in sa11x0_dma_next_desc()
279 spin_lock_irqsave(&c->vc.lock, flags); in sa11x0_dma_irq()
293 spin_unlock_irqrestore(&c->vc.lock, flags); in sa11x0_dma_irq()
335 list_for_each_entry(c, &d->slave.channels, vc.chan.device_node) { in sa11x0_dma_tasklet()
336 spin_lock_irq(&c->vc.lock); in sa11x0_dma_tasklet()
349 spin_unlock_irq(&c->vc.lock); in sa11x0_dma_tasklet()
[all …]
/linux/arch/arm/mach-omap2/
H A Dvc.c3 * OMAP Voltage Controller (VC) interface
18 #include "vc.h"
81 * On OMAP3+, all VC channels have the above default bitfield
83 * to be a freak accident as every other VC channel has the
101 * omap_vc_config_channel - configure VC channel to PMIC mappings
102 * @voltdm: pointer to voltagdomain defining the desired VC channel
104 * Configures the VC channel to PMIC mappings for the following
118 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_config_channel() local
124 if (vc->flags & OMAP_VC_CHANNEL_DEFAULT) in omap_vc_config_channel()
125 vc->cfg_channel &= vc_cfg_bits->racen; in omap_vc_config_channel()
[all …]
/linux/drivers/accessibility/braille/
H A Dbraille_console.c6 * Pressing Insert switches to VC browsing.
49 /* mini view of VC */
52 /* show console ? (or show VC) */
108 /* Follow the VC cursor*/
109 static void vc_follow_cursor(struct vc_data *vc) in vc_follow_cursor() argument
111 vc_x = vc->state.x - (vc->state.x % WIDTH); in vc_follow_cursor()
112 vc_y = vc->state.y; in vc_follow_cursor()
113 lastvc_x = vc->state.x; in vc_follow_cursor()
114 lastvc_y = vc->state.y; in vc_follow_cursor()
117 /* Maybe the VC cursor moved, if so follow it */
[all …]
/linux/drivers/pci/
H A Dvc.c41 * pci_vc_load_arb_table - load and wait for VC arbitration table
43 * @pos: starting position of VC capability (VC/VC9/MFVC)
45 * Set Load VC Arbitration Table bit requesting hardware to apply the VC
46 * Arbitration Table (previously loaded). When the VC Arbitration Table
47 * Status clears, hardware has latched the table into VC arbitration logic.
60 pci_err(dev, "VC arbitration table failed to load\n"); in pci_vc_load_arb_table()
64 * pci_vc_load_port_arb_table - Load and wait for VC port arbitration table
66 * @pos: starting position of VC capability (VC/VC9/MFVC)
67 * @res: VC resource number, ie. VCn (0-7)
88 pci_err(dev, "VC%d port arbitration table failed to load\n", res); in pci_vc_load_port_arb_table()
[all …]
/linux/kernel/time/
H A Dvsyscall.c18 static inline void fill_clock_configuration(struct vdso_clock *vc, const struct tk_read_base *base) in fill_clock_configuration() argument
20 vc->cycle_last = base->cycle_last; in fill_clock_configuration()
22 vc->max_cycles = base->clock->max_cycles; in fill_clock_configuration()
24 vc->mask = base->mask; in fill_clock_configuration()
25 vc->mult = base->mult; in fill_clock_configuration()
26 vc->shift = base->shift; in fill_clock_configuration()
31 struct vdso_clock *vc = vdata->clock_data; in update_vdso_time_data() local
35 fill_clock_configuration(&vc[CS_HRES_COARSE], &tk->tkr_mono); in update_vdso_time_data()
36 fill_clock_configuration(&vc[CS_RAW], &tk->tkr_raw); in update_vdso_time_data()
39 vdso_ts = &vc[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_time_data()
[all …]
/linux/include/linux/
H A Dvt_kern.h28 int __vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines,
31 void reset_palette(struct vc_data *vc);
35 int con_font_op(struct vc_data *vc, struct console_font_op *op);
38 void scrollback(struct vc_data *vc);
39 void scrollfront(struct vc_data *vc, int lines);
40 void clear_buffer_attributes(struct vc_data *vc);
41 void update_region(struct vc_data *vc, unsigned long start, int count);
42 void redraw_screen(struct vc_data *vc, int is_switch);
46 static inline int vc_resize(struct vc_data *vc, unsigned int cols, in vc_resize() argument
49 return __vc_resize(vc, cols, lines, false); in vc_resize()
[all …]
H A Dselection.h26 bool vc_is_sel(const struct vc_data *vc);
35 unsigned short *screen_pos(const struct vc_data *vc, int w_offset, bool viewed);
36 u16 screen_glyph(const struct vc_data *vc, int offset);
37 u32 screen_glyph_unicode(const struct vc_data *vc, int offset);
38 void complement_pos(struct vc_data *vc, int offset);
39 void invert_screen(struct vc_data *vc, int offset, int count, bool viewed);
41 void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]);
42 void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]);
44 u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org);
45 void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org);
[all …]
/linux/arch/mips/math-emu/
H A Dieee754int.h54 #define EXPLODESP(v, vc, vs, ve, vm) \ argument
61 vc = IEEE754_CLASS_INF; \
63 vc = IEEE754_CLASS_QNAN; \
65 vc = IEEE754_CLASS_SNAN; \
69 vc = IEEE754_CLASS_DNORM; \
71 vc = IEEE754_CLASS_ZERO; \
75 vc = IEEE754_CLASS_NORM; \
92 #define EXPLODEDP(v, vc, vs, ve, vm) \ argument
99 vc = IEEE754_CLASS_INF; \
101 vc = IEEE754_CLASS_QNAN; \
[all …]
/linux/drivers/video/console/
H A Ddummycon.c53 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_putc() argument
62 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_putcs() argument
70 if (s[i] != vc->vc_video_erase_char) in dummycon_putcs()
82 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_blank() argument
89 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch() argument
98 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_putc() argument
100 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_putcs() argument
102 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_blank() argument
107 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch() argument
118 static void dummycon_init(struct vc_data *vc, bool init) in dummycon_init() argument
[all …]
/linux/drivers/tty/vt/
H A Dkeyboard.c79 typedef void (k_handler_fn)(struct vc_data *vc, unsigned char value,
91 typedef void (fn_handler_fn)(struct vc_data *vc);
326 static void put_queue(struct vc_data *vc, int ch) in put_queue() argument
328 tty_insert_flip_char(&vc->port, ch, 0); in put_queue()
329 tty_flip_buffer_push(&vc->port); in put_queue()
332 static void puts_queue(struct vc_data *vc, const char *cp) in puts_queue() argument
334 tty_insert_flip_string(&vc->port, cp, strlen(cp)); in puts_queue()
335 tty_flip_buffer_push(&vc->port); in puts_queue()
338 static void applkey(struct vc_data *vc, int key, char mode) in applkey() argument
344 puts_queue(vc, buf); in applkey()
[all …]
H A Dselection.c93 bool vc_is_sel(const struct vc_data *vc) in vc_is_sel() argument
95 return vc == vc_sel.cons; in vc_is_sel()
210 static int vc_selection_store_chars(struct vc_data *vc, bool unicode) in vc_selection_store_chars() argument
236 if (!((i + 2) % vc->vc_size_row)) { in vc_selection_store_chars()
251 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, in vc_do_selection() argument
269 if (!(ps % vc->vc_size_row)) in vc_do_selection()
279 if (!((pe + 2) % vc->vc_size_row)) in vc_do_selection()
284 new_sel_start = rounddown(ps, vc->vc_size_row); in vc_do_selection()
285 new_sel_end = rounddown(pe, vc->vc_size_row) + in vc_do_selection()
286 vc->vc_size_row - 2; in vc_do_selection()
[all …]
/linux/drivers/dma/mediatek/
H A Dmtk-cqdma.c115 * channel (VC)
116 * @vc: An instance for struct virt_dma_chan
122 struct virt_dma_chan vc; member
135 * @vc: The pointer to all available VCs
144 struct mtk_cqdma_vchan *vc; member
155 return container_of(chan, struct mtk_cqdma_vchan, vc.chan); in to_cqdma_vchan()
272 lockdep_assert_held(&cvc->vc.lock); in mtk_cqdma_issue_vchan_pending()
275 list_for_each_entry_safe(vd, vd2, &cvc->vc.desc_issued, node) { in mtk_cqdma_issue_vchan_pending()
295 * return true if this VC is active,
333 spin_lock(&cvc->vc.lock); in mtk_cqdma_consume_work_queue()
[all …]
H A Dmtk-hsdma.c192 * channel (VC)
193 * @vc: An instance for struct virt_dma_chan
197 * which is protected by vc.lock
200 struct virt_dma_chan vc; member
224 * @vc: The pointer to all available VCs
238 struct mtk_hsdma_vchan *vc; member
255 return container_of(chan, struct mtk_hsdma_vchan, vc.chan); in to_hsdma_vchan()
500 lockdep_assert_held(&hvc->vc.lock); in mtk_hsdma_issue_vchan_pending()
502 list_for_each_entry_safe(vd, vd2, &hvc->vc.desc_issued, node) { in mtk_hsdma_issue_vchan_pending()
585 spin_lock(&hvc->vc.lock); in mtk_hsdma_free_rooms_in_ring()
[all …]
/linux/arch/powerpc/math-emu/
H A Dmath_efp.c183 union dw_union vc, va, vb; in do_spe_mathemu() local
200 vc.wp[0] = current->thread.evr[fc]; in do_spe_mathemu()
201 vc.wp[1] = regs->gpr[fc]; in do_spe_mathemu()
210 pr_debug("vc: %08x %08x\n", vc.wp[0], vc.wp[1]); in do_spe_mathemu()
236 vc.wp[1] = va.wp[1] & ~SIGN_BIT_S; in do_spe_mathemu()
240 vc.wp[1] = va.wp[1] | SIGN_BIT_S; in do_spe_mathemu()
244 vc.wp[1] = va.wp[1] ^ SIGN_BIT_S; in do_spe_mathemu()
278 vc.wp[1] = 0; in do_spe_mathemu()
282 FP_TO_INT_ROUND_S(vc.wp[1], SB, 32, in do_spe_mathemu()
302 vc.wp[1] = 0; in do_spe_mathemu()
[all …]
/linux/fs/afs/
H A Dvlclient.c110 struct afs_vldb_entry *afs_vl_get_entry_by_name_u(struct afs_vl_cursor *vc, in afs_vl_get_entry_by_name_u() argument
116 struct afs_net *net = vc->cell->net; in afs_vl_get_entry_by_name_u()
136 call->key = vc->key; in afs_vl_get_entry_by_name_u()
139 call->peer = rxrpc_kernel_get_peer(vc->alist->addrs[vc->addr_index].peer); in afs_vl_get_entry_by_name_u()
140 call->service_id = vc->server->service_id; in afs_vl_get_entry_by_name_u()
153 vc->call_abort_code = call->abort_code; in afs_vl_get_entry_by_name_u()
154 vc->call_error = call->error; in afs_vl_get_entry_by_name_u()
155 vc->call_responded = call->responded; in afs_vl_get_entry_by_name_u()
157 if (vc->call_error) { in afs_vl_get_entry_by_name_u()
159 return ERR_PTR(vc->call_error); in afs_vl_get_entry_by_name_u()
[all …]
/linux/drivers/vhost/
H A Dscsi.c1110 struct vhost_scsi_ctx *vc, u8 status) in vhost_scsi_send_bad_target()
1119 iov_iter_init(&iov_iter, ITER_DEST, &vq->iov[vc->out], vc->in, in vhost_scsi_send_bad_target()
1125 vhost_add_used_and_signal(&vs->dev, vq, vc->head, 0); in vhost_scsi_send_bad_target()
1137 struct vhost_scsi_ctx *vc, int type) in vhost_scsi_send_bad_target()
1161 iov_iter_init(&iov_iter, ITER_DEST, &vq->iov[vc->out], vc->in, in vhost_scsi_get_desc()
1167 vhost_add_used_and_signal(&vs->dev, vq, vc->head, 0); in vhost_scsi_get_desc()
1174 struct vhost_scsi_ctx *vc, in vhost_scsi_get_desc()
1182 vc in vhost_scsi_get_desc()
1080 vhost_scsi_send_status(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,u8 status) vhost_scsi_send_status() argument
1107 vhost_scsi_send_bad_target(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,int type) vhost_scsi_send_bad_target() argument
1144 vhost_scsi_get_desc(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,struct vhost_log * log,unsigned int * log_num) vhost_scsi_get_desc() argument
1197 vhost_scsi_chk_size(struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc) vhost_scsi_chk_size() argument
1215 vhost_scsi_get_req(struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,struct vhost_scsi_tpg ** tpgp) vhost_scsi_get_req() argument
1293 struct vhost_scsi_ctx vc; vhost_scsi_handle_vq() local
1595 vhost_scsi_handle_tmf(struct vhost_scsi * vs,struct vhost_scsi_tpg * tpg,struct vhost_virtqueue * vq,struct virtio_scsi_ctrl_tmf_req * vtmf,struct vhost_scsi_ctx * vc,struct vhost_log * log,unsigned int log_num) vhost_scsi_handle_tmf() argument
1655 vhost_scsi_send_an_resp(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc) vhost_scsi_send_an_resp() argument
1683 struct vhost_scsi_ctx vc; vhost_scsi_ctl_handle_vq() local
[all...]

123456789