Searched refs:fn (Results 1 - 25 of 218) sorted by relevance

123456789

/drivers/irqchip/
H A Dirqchip.h24 * @fn: initialization function
26 #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn)
/drivers/pinctrl/sh-pfc/
H A Dsh_pfc.h164 #define PINMUX_IPSR_NOGP(ispr, fn) \
165 PINMUX_DATA(fn##_MARK, FN_##fn)
166 #define PINMUX_IPSR_DATA(ipsr, fn) \
167 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
168 #define PINMUX_IPSR_NOGM(ispr, fn, ms) \
169 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ms)
170 #define PINMUX_IPSR_MSEL(ipsr, fn, m
[all...]
H A Dpfc-r8a73a4.c31 #define CPU_ALL_PORT(fn, pfx, sfx) \
33 PORT_10(0, fn, pfx, sfx), \
34 PORT_10(10, fn, pfx##1, sfx), \
35 PORT_10(20, fn, pfx##2, sfx), \
36 PORT_1(30, fn, pfx##30, sfx), \
38 PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \
39 PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \
40 PORT_1(36, fn, pf
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_ioc32.c53 drm_ioctl_compat_t *fn = NULL; local
61 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE];
63 if (fn != NULL)
64 ret = (*fn)(filp, cmd, arg);
/drivers/staging/board/
H A Dboard.h9 #define board_staging(str, fn) \
13 fn(); \
/drivers/mmc/core/
H A Dsdio_ops.h16 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn,
18 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn,
H A Dsdio_ops.c68 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, argument
75 BUG_ON(fn > 7);
83 cmd.arg |= fn << 28;
114 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, argument
118 return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out);
121 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, argument
133 BUG_ON(fn > 7);
145 cmd.arg |= fn << 28;
/drivers/md/bcache/
H A Dsysfs.h14 #define SHOW(fn) \
15 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\
18 #define STORE(fn) \
19 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\
22 #define SHOW_LOCKED(fn) \
23 SHOW(fn) \
27 ret = __ ## fn ## _show(kobj, attr, buf); \
32 #define STORE_LOCKED(fn) \
33 STORE(fn) \
37 ret = __ ## fn ## _stor
[all...]
H A Dclosure.h94 * returns up the C stack. continue_at() with non null fn is better thought of
154 closure_fn *fn; member in struct:closure::__anon1970::__anon1971
238 static inline void set_closure_fn(struct closure *cl, closure_fn *fn, argument
243 cl->fn = fn;
256 cl->fn(cl);
310 * been dropped with closure_put()), it will resume execution at @fn running out
311 * of @wq (or, if @wq is NULL, @fn will be called by closure_put() directly).
316 * and whatever @cl owns may be freed out from under you - a running closure fn
339 * Causes @fn t
378 closure_call(struct closure *cl, closure_fn fn, struct workqueue_struct *wq, struct closure *parent) argument
[all...]
H A Dbtree.h280 struct bkey *from, btree_map_nodes_fn *fn)
282 return __bch_btree_map_nodes(op, c, from, fn, MAP_ALL_NODES);
288 btree_map_nodes_fn *fn)
290 return __bch_btree_map_nodes(op, c, from, fn, MAP_LEAF_NODES);
279 bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, struct bkey *from, btree_map_nodes_fn *fn) argument
285 bch_btree_map_leaf_nodes(struct btree_op *op, struct cache_set *c, struct bkey *from, btree_map_nodes_fn *fn) argument
/drivers/sh/intc/
H A Dhandle.c45 unsigned int fn, mode; local
56 fn = REG_FN_WRITE_BASE;
61 fn = REG_FN_MODIFY_BASE;
73 fn += (mr->reg_width >> 3) - 1;
74 return _INTC_MK(fn, mode,
113 unsigned int fn, n, mode, bit; local
124 fn = REG_FN_WRITE_BASE;
129 fn = REG_FN_MODIFY_BASE;
137 fn += (pr->reg_width >> 3) - 1;
144 return _INTC_MK(fn, mod
179 unsigned int i, j, fn, mode; local
262 unsigned int i, j, fn, bit; local
[all...]
H A Dbalancing.c45 unsigned int i, j, fn, mode; local
62 fn = REG_FN_MODIFY_BASE;
67 fn += (mr->reg_width >> 3) - 1;
68 return _INTC_MK(fn, mode,
H A Daccess.c167 unsigned long (*fn)(unsigned long,
172 return fn(addr, handle, ((1 << _INTC_WIDTH(handle)) - 1));
177 unsigned long (*fn)(unsigned long,
182 return fn(addr, handle, 0);
187 unsigned long (*fn)(unsigned long,
192 return fn(addr, handle, intc_get_prio_level(irq));
211 unsigned long (*fn)(unsigned long,
224 unsigned long (*fn)(unsigned long,
237 unsigned long (*fn)(unsigned long,
H A Dinternals.h10 #define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \
11 ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \
127 unsigned long (*fn)(unsigned long,
132 unsigned long (*fn)(unsigned long,
137 unsigned long (*fn)(unsigned long,
/drivers/net/wireless/iwlwifi/
H A Diwl-debug.c71 #define __iwl_fn(fn) \
72 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \
81 dev_ ##fn(dev, "%pV", &vaf); \
82 trace_iwlwifi_ ##fn(&vaf); \
H A Diwl-notif-wait.h80 * @fn: Function called with the notification. If the function
104 bool (*fn)(struct iwl_notif_wait_data *notif_data, member in struct:iwl_notification_wait
125 bool (*fn)(struct iwl_notif_wait_data *notif_data,
H A Diwl-notif-wait.c109 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) {
140 bool (*fn)(struct iwl_notif_wait_data *notif_wait,
147 wait_entry->fn = fn;
/drivers/isdn/hardware/eicon/
H A Dsdp_hdr.h72 typedef void (*diva_task_set_prt_proc_t)(diva_prt_proc_t fn);
90 diva_task_get_tick_count_proc_t fn);
/drivers/parport/
H A Dieee1284.c615 size_t (*fn) (struct parport *, const void *, size_t, int);
628 fn = port->ops->compat_write_data;
634 fn = port->ops->epp_write_addr;
636 fn = port->ops->epp_write_data;
643 fn = parport_ieee1284_epp_write_addr;
645 fn = parport_ieee1284_epp_write_data;
652 fn = port->ops->ecp_write_addr;
654 fn = port->ops->ecp_write_data;
664 fn = parport_ieee1284_ecp_write_addr;
666 fn
[all...]
/drivers/base/
H A Dattribute_container.c126 * @fn: function to trigger addition of class device.
130 * fn is provided, the code will simply register the class device via
142 int (*fn)(struct attribute_container *,
170 if (fn)
171 fn(cont, dev, &ic->classdev);
194 * @fn: A function to call to remove the device
196 * This routine triggers device removal. If fn is NULL, then it is
201 * device, then you should use this routine with a fn that calls
207 void (*fn)(struct attribute_container *,
228 if (fn)
[all...]
/drivers/gpu/host1x/
H A Ddebug.h27 void (*fn)(void *ctx, const char *str, size_t len); member in struct:output
/drivers/scsi/
H A Dscsi_pm.c129 async_func_t fn; local
132 fn = NULL;
134 fn = async_sdev_resume;
136 fn = async_sdev_thaw;
138 fn = async_sdev_restore;
140 fn = NULL;
142 if (fn) {
143 async_schedule_domain(fn, dev, &scsi_sd_pm_domain);
/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326_reg.h68 * fn = FIFO number, 0-9
70 #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */
71 #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */
72 #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */
73 #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */
74 #define REG_HIGH_LOW_WM(ie,fn) CR
[all...]
/drivers/pci/
H A Dsearch.c22 * @fn: function to call for each alias
23 * @data: opaque data to pass to @fn
25 * Starting @pdev, walk up the bus calling @fn for each possible alias
29 int (*fn)(struct pci_dev *pdev,
35 ret = fn(pdev, PCI_DEVID(pdev->bus->number, pdev->devfn), data);
44 ret = fn(pdev, PCI_DEVID(pdev->bus->number,
75 ret = fn(tmp,
82 ret = fn(tmp,
91 ret = fn(tmp,
95 ret = fn(tm
[all...]
/drivers/md/persistent-data/
H A Ddm-space-map.h71 dm_sm_threshold_fn fn,
147 dm_sm_threshold_fn fn,
151 return sm->register_threshold_callback(sm, threshold, fn, context);
145 dm_sm_register_threshold_callback(struct dm_space_map *sm, dm_block_t threshold, dm_sm_threshold_fn fn, void *context) argument

Completed in 527 milliseconds

123456789