Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 588) sorted by relevance

12345678910>>...24

/drivers/media/pci/ivtv/
Divtv-yuv.c44 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_yuv_prep_user_dma() local
53 y_decode_height = uv_decode_height = f->src_h + f->src_y; in ivtv_yuv_prep_user_dma()
55 if (f->offset_y) in ivtv_yuv_prep_user_dma()
140 if (f->offset_y && yi->blanking_dmaptr) { in ivtv_yuv_prep_user_dma()
229 static void ivtv_yuv_handle_horizontal(struct ivtv *itv, struct yuv_frame_info *f) in ivtv_yuv_handle_horizontal() argument
242 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal()
245 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal()
248 reg_2834 = f->dst_w; in ivtv_yuv_handle_horizontal()
252 reg_2890 = f->dst_x; in ivtv_yuv_handle_horizontal()
263 if (f->vis_w == 720) { in ivtv_yuv_handle_horizontal()
[all …]
/drivers/net/wireless/iwlwifi/
Diwl-debug.h47 #define IWL_ERR(m, f, a...) __iwl_err((m)->dev, false, false, f, ## a) argument
48 #define IWL_ERR_DEV(d, f, a...) __iwl_err((d), false, false, f, ## a) argument
49 #define IWL_WARN(m, f, a...) __iwl_warn((m)->dev, f, ## a) argument
50 #define IWL_INFO(m, f, a...) __iwl_info((m)->dev, f, ## a) argument
51 #define IWL_CRIT(m, f, a...) __iwl_crit((m)->dev, f, ## a) argument
150 #define IWL_DEBUG_INFO(p, f, a...) IWL_DEBUG(p, IWL_DL_INFO, f, ## a) argument
151 #define IWL_DEBUG_MAC80211(p, f, a...) IWL_DEBUG(p, IWL_DL_MAC80211, f, ## a) argument
152 #define IWL_DEBUG_TEMP(p, f, a...) IWL_DEBUG(p, IWL_DL_TEMP, f, ## a) argument
153 #define IWL_DEBUG_SCAN(p, f, a...) IWL_DEBUG(p, IWL_DL_SCAN, f, ## a) argument
154 #define IWL_DEBUG_RX(p, f, a...) IWL_DEBUG(p, IWL_DL_RX, f, ## a) argument
[all …]
/drivers/video/
Dw100fb.c265 if (status.f.cmdfifo_avail >= entries) in w100_fifo_wait()
280 if (!status.f.gui_active) in w100fb_sync()
309 dp_cntl.f.dst_x_dir = 1; in w100_init_graphic_engine()
310 dp_cntl.f.dst_y_dir = 1; in w100_init_graphic_engine()
311 dp_cntl.f.src_x_dir = 1; in w100_init_graphic_engine()
312 dp_cntl.f.src_y_dir = 1; in w100_init_graphic_engine()
313 dp_cntl.f.dst_major_x = 1; in w100_init_graphic_engine()
314 dp_cntl.f.src_major_x = 1; in w100_init_graphic_engine()
318 gmc.f.gmc_src_pitch_offset_cntl = 1; in w100_init_graphic_engine()
319 gmc.f.gmc_dst_pitch_offset_cntl = 1; in w100_init_graphic_engine()
[all …]
/drivers/usb/gadget/
Dandroid.c225 static int ffs_function_init(struct android_usb_function *f, in ffs_function_init() argument
228 f->config = kzalloc(sizeof(struct functionfs_config), GFP_KERNEL); in ffs_function_init()
229 if (!f->config) in ffs_function_init()
235 static void ffs_function_cleanup(struct android_usb_function *f) in ffs_function_cleanup() argument
238 kfree(f->config); in ffs_function_cleanup()
241 static void ffs_function_enable(struct android_usb_function *f) in ffs_function_enable() argument
244 struct functionfs_config *config = f->config; in ffs_function_enable()
253 static void ffs_function_disable(struct android_usb_function *f) in ffs_function_disable() argument
256 struct functionfs_config *config = f->config; in ffs_function_disable()
265 static int ffs_function_bind_config(struct android_usb_function *f, in ffs_function_bind_config() argument
[all …]
Dcomposite.c85 struct usb_function *f, in config_ep_by_speed() argument
97 if (!g || !f || !_ep) in config_ep_by_speed()
104 speed_desc = f->ss_descriptors; in config_ep_by_speed()
111 speed_desc = f->hs_descriptors; in config_ep_by_speed()
116 speed_desc = f->fs_descriptors; in config_ep_by_speed()
224 void usb_remove_function(struct usb_configuration *c, struct usb_function *f) in usb_remove_function() argument
226 if (f->disable) in usb_remove_function()
227 f->disable(f); in usb_remove_function()
229 bitmap_zero(f->endpoints, 32); in usb_remove_function()
230 list_del(&f->list); in usb_remove_function()
[all …]
/drivers/net/ethernet/ibm/emac/
Ddebug.h60 # define DBG(d,f,x...) EMAC_DBG(d, emac, f, ##x) argument
61 # define MAL_DBG(d,f,x...) EMAC_DBG(d, mal, f, ##x) argument
62 # define ZMII_DBG(d,f,x...) EMAC_DBG(d, zmii, f, ##x) argument
63 # define RGMII_DBG(d,f,x...) EMAC_DBG(d, rgmii, f, ##x) argument
66 # define DBG(f,x...) ((void)0) argument
67 # define MAL_DBG(d,f,x...) ((void)0) argument
68 # define ZMII_DBG(d,f,x...) ((void)0) argument
69 # define RGMII_DBG(d,f,x...) ((void)0) argument
72 # define DBG2(d,f,x...) DBG(d,f, ##x) argument
73 # define MAL_DBG2(d,f,x...) MAL_DBG(d,f, ##x) argument
[all …]
/drivers/block/aoe/
Daoecmd.c69 struct frame *f; in getframe_deferred() local
73 f = list_entry(pos, struct frame, head); in getframe_deferred()
74 if (f->tag == tag) { in getframe_deferred()
76 return f; in getframe_deferred()
85 struct frame *f; in getframe() local
92 f = list_entry(pos, struct frame, head); in getframe()
93 if (f->tag == tag) { in getframe()
95 return f; in getframe()
180 aoe_freetframe(struct frame *f) in aoe_freetframe() argument
184 t = f->t; in aoe_freetframe()
[all …]
/drivers/hid/
Dhid-debug.c371 static char *resolv_usage_page(unsigned page, struct seq_file *f) { in resolv_usage_page() argument
375 if (!f) { in resolv_usage_page()
383 if (!f) { in resolv_usage_page()
389 seq_printf(f, "%s", p->description); in resolv_usage_page()
393 if (!f) in resolv_usage_page()
396 seq_printf(f, "%04x", page); in resolv_usage_page()
400 char *hid_resolv_usage(unsigned usage, struct seq_file *f) { in hid_resolv_usage() argument
405 buf = resolv_usage_page(usage >> 16, f); in hid_resolv_usage()
412 if (!f) { in hid_resolv_usage()
418 seq_printf(f, "."); in hid_resolv_usage()
[all …]
/drivers/net/wireless/brcm80211/brcmsmac/
Ddebug.h54 #define brcms_dbg(core, l, f, a...) __brcms_dbg(&(core)->dev, l, __func__, f, ##a) argument
55 #define brcms_info(core, f, a...) __brcms_info(&(core)->dev, f, ##a) argument
56 #define brcms_warn(core, f, a...) __brcms_warn(&(core)->dev, f, ##a) argument
57 #define brcms_err(core, f, a...) __brcms_err(&(core)->dev, f, ##a) argument
58 #define brcms_crit(core, f, a...) __brcms_crit(&(core)->dev, f, ##a) argument
60 #define brcms_dbg_info(core, f, a...) brcms_dbg(core, BRCM_DL_INFO, f, ##a) argument
61 #define brcms_dbg_mac80211(core, f, a...) brcms_dbg(core, BRCM_DL_MAC80211, f, ##a) argument
62 #define brcms_dbg_rx(core, f, a...) brcms_dbg(core, BRCM_DL_RX, f, ##a) argument
63 #define brcms_dbg_tx(core, f, a...) brcms_dbg(core, BRCM_DL_TX, f, ##a) argument
64 #define brcms_dbg_int(core, f, a...) brcms_dbg(core, BRCM_DL_INT, f, ##a) argument
[all …]
/drivers/irqchip/
Dirq-versatile-fpga.c50 struct fpga_irq_data *f = irq_data_get_irq_chip_data(d); in fpga_irq_mask() local
53 writel(mask, f->base + IRQ_ENABLE_CLEAR); in fpga_irq_mask()
58 struct fpga_irq_data *f = irq_data_get_irq_chip_data(d); in fpga_irq_unmask() local
61 writel(mask, f->base + IRQ_ENABLE_SET); in fpga_irq_unmask()
66 struct fpga_irq_data *f = irq_desc_get_handler_data(desc); in fpga_irq_handle() local
67 u32 status = readl(f->base + IRQ_STATUS); in fpga_irq_handle()
77 generic_handle_irq(irq_find_mapping(f->domain, irq)); in fpga_irq_handle()
86 static int handle_one_fpga(struct fpga_irq_data *f, struct pt_regs *regs) in handle_one_fpga() argument
92 while ((status = readl(f->base + IRQ_STATUS))) { in handle_one_fpga()
94 handle_IRQ(irq_find_mapping(f->domain, irq), regs); in handle_one_fpga()
[all …]
/drivers/char/mwave/
Dmwavedd.h74 #define PRINTK_1(f,s) \ argument
75 if (f & (mwave_debug)) { \
79 #define PRINTK_2(f,s,v1) \ argument
80 if (f & (mwave_debug)) { \
84 #define PRINTK_3(f,s,v1,v2) \ argument
85 if (f & (mwave_debug)) { \
89 #define PRINTK_4(f,s,v1,v2,v3) \ argument
90 if (f & (mwave_debug)) { \
94 #define PRINTK_5(f,s,v1,v2,v3,v4) \ argument
95 if (f & (mwave_debug)) { \
[all …]
/drivers/isdn/i4l/
Disdn_ttyfax.c51 T30_s *f = info->fax; in isdn_tty_fax_modem_result() local
82 f->fet = 0; in isdn_tty_fax_modem_result()
83 if (f->phase == ISDN_FAX_PHASE_A) in isdn_tty_fax_modem_result()
84 f->phase = ISDN_FAX_PHASE_B; in isdn_tty_fax_modem_result()
88 sprintf(rs, "\"%s\"", f->r_id); in isdn_tty_fax_modem_result()
93 rp = &f->r_resolution; in isdn_tty_fax_modem_result()
106 sprintf(rs, "%d", f->code); in isdn_tty_fax_modem_result()
112 rp = &f->r_resolution; in isdn_tty_fax_modem_result()
133 sprintf(rs, "%d", f->fet); in isdn_tty_fax_modem_result()
193 T30_s *f = info->fax; in isdn_tty_fax_command() local
[all …]
/drivers/mmc/core/
Dquirks.c66 const struct mmc_fixup *f; in mmc_fixup_device() local
73 for (f = table; f->vendor_fixup; f++) { in mmc_fixup_device()
74 if ((f->manfid == CID_MANFID_ANY || in mmc_fixup_device()
75 f->manfid == card->cid.manfid) && in mmc_fixup_device()
76 (f->oemid == CID_OEMID_ANY || in mmc_fixup_device()
77 f->oemid == card->cid.oemid) && in mmc_fixup_device()
78 (f->name == CID_NAME_ANY || in mmc_fixup_device()
79 !strncmp(f->name, card->cid.prod_name, in mmc_fixup_device()
81 (f->cis_vendor == card->cis.vendor || in mmc_fixup_device()
82 f->cis_vendor == (u16) SDIO_ANY_ID) && in mmc_fixup_device()
[all …]
/drivers/gpu/drm/nouveau/core/include/core/
Dprintk.h21 #define nv_printk(o,l,f,a...) do { \ argument
23 nv_printk_(nv_object(o), NV_PRINTK_##l, NV_DBG_##l, f, ##a); \
26 #define nv_fatal(o,f,a...) nv_printk((o), FATAL, f, ##a) argument
27 #define nv_error(o,f,a...) nv_printk((o), ERROR, f, ##a) argument
28 #define nv_warn(o,f,a...) nv_printk((o), WARN, f, ##a) argument
29 #define nv_info(o,f,a...) nv_printk((o), INFO, f, ##a) argument
30 #define nv_debug(o,f,a...) nv_printk((o), DEBUG, f, ##a) argument
31 #define nv_trace(o,f,a...) nv_printk((o), TRACE, f, ##a) argument
32 #define nv_spam(o,f,a...) nv_printk((o), SPAM, f, ##a) argument
34 #define nv_assert(f,a...) do { \ argument
[all …]
/drivers/md/
Ddm-verity-fec.c507 struct dm_verity_fec *f = io->v->fec; in verity_fec_finish_io() local
516 mempool_free(fio->rs, f->rs_pool); in verity_fec_finish_io()
520 mempool_free(fio->bufs[n], f->prealloc_pool); in verity_fec_finish_io()
524 mempool_free(fio->bufs[n], f->extra_pool); in verity_fec_finish_io()
527 mempool_free(fio->output, f->output_pool); in verity_fec_finish_io()
573 struct dm_verity_fec *f = v->fec; in verity_fec_dtr() local
574 struct kobject *kobj = &f->kobj_holder.kobj; in verity_fec_dtr()
579 if (f->rs_pool) in verity_fec_dtr()
580 mempool_destroy(f->rs_pool); in verity_fec_dtr()
581 if (f->prealloc_pool) in verity_fec_dtr()
[all …]
/drivers/media/platform/s5p-g2d/
Dg2d.c81 static struct g2d_fmt *find_fmt(struct v4l2_format *f) in find_fmt() argument
85 if (formats[i].fourcc == f->fmt.pix.pixelformat) in find_fmt()
110 struct g2d_frame *f = get_frame(ctx, vq->type); in g2d_queue_setup() local
112 if (IS_ERR(f)) in g2d_queue_setup()
113 return PTR_ERR(f); in g2d_queue_setup()
115 sizes[0] = f->size; in g2d_queue_setup()
128 struct g2d_frame *f = get_frame(ctx, vb->vb2_queue->type); in g2d_buf_prepare() local
130 if (IS_ERR(f)) in g2d_buf_prepare()
131 return PTR_ERR(f); in g2d_buf_prepare()
132 vb2_set_plane_payload(vb, 0, f->size); in g2d_buf_prepare()
[all …]
/drivers/w1/
Dw1_family.c37 struct w1_family *f; in w1_register_family() local
42 f = list_entry(ent, struct w1_family, family_entry); in w1_register_family()
44 if (f->fid == newf->fid) { in w1_register_family()
65 struct w1_family *f; in w1_unregister_family() local
69 f = list_entry(ent, struct w1_family, family_entry); in w1_unregister_family()
71 if (f->fid == fent->fid) { in w1_unregister_family()
96 struct w1_family *f = NULL; in w1_family_registered() local
100 f = list_entry(ent, struct w1_family, family_entry); in w1_family_registered()
102 if (f->fid == fid) { in w1_family_registered()
108 return (ret) ? f : NULL; in w1_family_registered()
[all …]
/drivers/staging/ozwpan/
Dozpd.c30 static void oz_tx_frame_free(struct oz_pd *pd, struct oz_tx_frame *f);
31 static void oz_tx_isoc_free(struct oz_pd *pd, struct oz_tx_frame *f);
32 static struct sk_buff *oz_build_frame(struct oz_pd *pd, struct oz_tx_frame *f);
34 static void oz_retire_frame(struct oz_pd *pd, struct oz_tx_frame *f);
191 struct oz_tx_frame *f; in oz_pd_destroy() local
207 f = container_of(e, struct oz_tx_frame, link); in oz_pd_destroy()
209 if (f->skb != NULL) in oz_pd_destroy()
210 kfree_skb(f->skb); in oz_pd_destroy()
211 oz_retire_frame(pd, f); in oz_pd_destroy()
358 struct oz_tx_frame *f = NULL; in oz_tx_frame_alloc() local
[all …]
/drivers/media/pci/bt8xx/
Dbttv-vbi.c245 static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm, in try_fmt() argument
267 f->sampling_rate = tvnorm->Fsc; in try_fmt()
268 f->samples_per_line = VBI_BPL; in try_fmt()
269 f->sample_format = V4L2_PIX_FMT_GREY; in try_fmt()
270 f->offset = VBI_OFFSET; in try_fmt()
275 if (0 == f->count[i]) { in try_fmt()
283 start = clamp(f->start[i], min_start, max_start); in try_fmt()
285 count = (s64) f->start[i] + f->count[i] - start; in try_fmt()
286 f->start[i] = start; in try_fmt()
287 f->count[i] = clamp(count, (s64) 1, in try_fmt()
[all …]
/drivers/media/platform/
Dm2m-deinterlace.c110 static struct deinterlace_fmt *find_format(struct v4l2_format *f) in find_format() argument
117 if ((fmt->types & f->type) && in find_format()
118 (fmt->fourcc == f->fmt.pix.pixelformat)) in find_format()
468 static int enum_fmt(struct v4l2_fmtdesc *f, u32 type) in enum_fmt() argument
478 if (num == f->index) in enum_fmt()
489 strlcpy(f->description, fmt->name, sizeof(f->description)); in enum_fmt()
490 f->pixelformat = fmt->fourcc; in enum_fmt()
499 struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_cap() argument
501 return enum_fmt(f, MEM2MEM_CAPTURE); in vidioc_enum_fmt_vid_cap()
505 struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_out() argument
[all …]
Dmx2_emmaprp.c186 static struct emmaprp_fmt *find_format(struct v4l2_format *f) in find_format() argument
193 if (fmt->fourcc == f->fmt.pix.pixelformat) in find_format()
412 static int enum_fmt(struct v4l2_fmtdesc *f, u32 type) in enum_fmt() argument
422 if (num == f->index) in enum_fmt()
433 strlcpy(f->description, fmt->name, sizeof(f->description) - 1); in enum_fmt()
434 f->pixelformat = fmt->fourcc; in enum_fmt()
443 struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_cap() argument
445 return enum_fmt(f, MEM2MEM_CAPTURE); in vidioc_enum_fmt_vid_cap()
449 struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_out() argument
451 return enum_fmt(f, MEM2MEM_OUTPUT); in vidioc_enum_fmt_vid_out()
[all …]
Dmem2mem_testdev.c128 static struct m2mtest_fmt *find_format(struct v4l2_format *f) in find_format() argument
135 if (fmt->fourcc == f->fmt.pix.pixelformat) in find_format()
447 static int enum_fmt(struct v4l2_fmtdesc *f, u32 type) in enum_fmt() argument
457 if (num == f->index) in enum_fmt()
468 strncpy(f->description, fmt->name, sizeof(f->description) - 1); in enum_fmt()
469 f->pixelformat = fmt->fourcc; in enum_fmt()
478 struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_cap() argument
480 return enum_fmt(f, MEM2MEM_CAPTURE); in vidioc_enum_fmt_vid_cap()
484 struct v4l2_fmtdesc *f) in vidioc_enum_fmt_vid_out() argument
486 return enum_fmt(f, MEM2MEM_OUTPUT); in vidioc_enum_fmt_vid_out()
[all …]
/drivers/net/ethernet/tehuti/
Dtehuti.c79 static void bdx_rx_alloc_skbs(struct bdx_priv *priv, struct rxf_fifo *f);
81 static int bdx_rx_receive(struct bdx_priv *priv, struct rxd_fifo *f, int budget);
154 bdx_fifo_init(struct bdx_priv *priv, struct fifo *f, int fsz_type, in bdx_fifo_init() argument
159 memset(f, 0, sizeof(struct fifo)); in bdx_fifo_init()
161 f->va = pci_alloc_consistent(priv->pdev, in bdx_fifo_init()
162 memsz + FIFO_EXTRA_SPACE, &f->da); in bdx_fifo_init()
163 if (!f->va) { in bdx_fifo_init()
167 f->reg_CFG0 = reg_CFG0; in bdx_fifo_init()
168 f->reg_CFG1 = reg_CFG1; in bdx_fifo_init()
169 f->reg_RPTR = reg_RPTR; in bdx_fifo_init()
[all …]
/drivers/net/wireless/ipw2x00/
Dipw2100.h111 #define IPW_DEBUG_ERROR(f, a...) printk(KERN_ERR DRV_NAME ": " f, ## a) argument
112 #define IPW_DEBUG_WARNING(f, a...) printk(KERN_WARNING DRV_NAME ": " f, ## a) argument
113 #define IPW_DEBUG_INFO(f...) IPW_DEBUG(IPW_DL_INFO, ## f) argument
114 #define IPW_DEBUG_WX(f...) IPW_DEBUG(IPW_DL_WX, ## f) argument
115 #define IPW_DEBUG_SCAN(f...) IPW_DEBUG(IPW_DL_SCAN, ## f) argument
116 #define IPW_DEBUG_NOTIF(f...) IPW_DEBUG(IPW_DL_NOTIF, ## f) argument
117 #define IPW_DEBUG_TRACE(f...) IPW_DEBUG(IPW_DL_TRACE, ## f) argument
118 #define IPW_DEBUG_RX(f...) IPW_DEBUG(IPW_DL_RX, ## f) argument
119 #define IPW_DEBUG_TX(f...) IPW_DEBUG(IPW_DL_TX, ## f) argument
120 #define IPW_DEBUG_ISR(f...) IPW_DEBUG(IPW_DL_ISR, ## f) argument
[all …]
/drivers/net/
Dvxlan.c261 struct vxlan_fdb f; in vxlan_ip_miss() local
263 memset(&f, 0, sizeof f); in vxlan_ip_miss()
264 f.state = NUD_STALE; in vxlan_ip_miss()
265 f.remote.remote_ip = ipa; /* goes to NDA_DST */ in vxlan_ip_miss()
266 f.remote.remote_vni = VXLAN_N_VID; in vxlan_ip_miss()
268 vxlan_fdb_notify(vxlan, &f, RTM_GETNEIGH); in vxlan_ip_miss()
273 struct vxlan_fdb f; in vxlan_fdb_miss() local
275 memset(&f, 0, sizeof f); in vxlan_fdb_miss()
276 f.state = NUD_STALE; in vxlan_fdb_miss()
277 memcpy(f.eth_addr, eth_addr, ETH_ALEN); in vxlan_fdb_miss()
[all …]

12345678910>>...24