Searched defs:fn (Results 1 - 25 of 87) sorted by relevance

1234

/drivers/gpu/drm/nouveau/
H A Dnouveau_ioc32.c54 drm_ioctl_compat_t *fn = NULL; local
62 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE];
64 if (fn != NULL)
65 ret = (*fn)(filp, cmd, arg);
/drivers/pci/hotplug/
H A Dshpchp_pci.c41 int num, fn; local
59 for (fn = 0; fn < 8; fn++) {
60 dev = pci_get_slot(parent, PCI_DEVFN(p_slot->device, fn));
H A Dpciehp_pci.c65 int num, fn; local
83 for (fn = 0; fn < 8; fn++) {
84 dev = pci_get_slot(parent, PCI_DEVFN(0, fn));
96 for (fn = 0; fn < 8; fn++) {
97 dev = pci_get_slot(parent, PCI_DEVFN(0, fn));
H A Dcpci_hotplug_pci.c256 int fn; local
285 for (fn = 0; fn < 8; fn++) {
288 dev = pci_get_slot(parent, PCI_DEVFN(PCI_SLOT(slot->devfn), fn));
/drivers/sh/intc/
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 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
180 unsigned int i, j, fn, mode; local
263 unsigned int i, j, fn, bit; local
[all...]
/drivers/mmc/core/
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
130 BUG_ON(fn > 7);
142 cmd.arg |= fn << 28;
H A Dsdio.c66 static int sdio_init_func(struct mmc_card *card, unsigned int fn) argument
71 BUG_ON(fn > SDIO_MAX_FUNCS);
77 func->num = fn;
93 card->sdio_func[fn - 1] = func;
/drivers/staging/usbip/userspace/src/
H A Dusbip.c47 int (*fn)(int argc, char *argv[]); member in struct:command
55 .fn = usbip_help,
61 .fn = usbip_version,
67 .fn = usbip_attach,
73 .fn = usbip_detach,
79 .fn = usbip_list,
85 .fn = usbip_bind,
91 .fn = usbip_unbind,
135 return cmd->fn(argc, argv);
/drivers/gpio/
H A Dgpio-wm831x.c117 int ret, fn; local
133 fn = 0;
135 fn = 1;
139 return wm831x_set_bits(wm831x, reg, WM831X_GPN_FN_MASK, fn);
H A Dgpio-wm8994.c120 static const char *wm8994_gpio_fn(u16 fn) argument
122 switch (fn) {
/drivers/md/
H A Ddm-linear.c148 iterate_devices_callout_fn fn, void *data)
152 return fn(ti, lc->dev, lc->start, ti->len, data);
147 linear_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument
H A Ddm-delay.c322 iterate_devices_callout_fn fn, void *data)
327 ret = fn(ti, dc->dev_read, dc->start_read, ti->len, data);
332 ret = fn(ti, dc->dev_write, dc->start_write, ti->len, data);
321 delay_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument
H A Ddm-flakey.c399 static int flakey_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument
403 return fn(ti, fc->dev, fc->start, ti->len, data);
/drivers/media/video/cx18/
H A Dcx18-dvb.c138 const char *fn = "dvb-cx18-mpc718-mt352.fw"; local
141 ret = request_firmware(fw, fn, &cx->pci_dev->dev);
143 CX18_ERR("Unable to open firmware file %s\n", fn);
148 fn, (unsigned long) sz);
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmac80211_if.h37 void (*fn) (void *); /* function called upon expiration */ member in struct:brcms_timer
98 void (*fn) (void *arg), void *arg,
/drivers/parisc/
H A Dsuperio.c343 int fn; local
344 fn = PCI_FUNC(pcidev->devfn);
347 if (expected_device[fn] != pcidev->device) {
/drivers/scsi/bfa/
H A Dbfa_hw_cb.c27 int fn = bfa_ioc_pcifn(&bfa->ioc); local
29 if (fn == 0) {
H A Dbfa_hw_ct.c37 int fn = bfa_ioc_pcifn(&bfa->ioc); local
39 if (fn == 0) {
/drivers/acpi/
H A Dpci_root.c308 int dev, fn; local
353 fn = adr & 0xffff;
355 pdev = pci_get_slot(pbus, PCI_DEVFN(dev, fn));
/drivers/gpu/drm/i915/
H A Di915_ioc32.c204 drm_ioctl_compat_t *fn = NULL; local
211 fn = i915_compat_ioctls[nr - DRM_COMMAND_BASE];
213 if (fn != NULL)
214 ret = (*fn) (filp, cmd, arg);
/drivers/gpu/drm/mga/
H A Dmga_ioc32.c211 drm_ioctl_compat_t *fn = NULL; local
218 fn = mga_compat_ioctls[nr - DRM_COMMAND_BASE];
220 if (fn != NULL)
221 ret = (*fn) (filp, cmd, arg);
/drivers/gpu/drm/r128/
H A Dr128_ioc32.c200 drm_ioctl_compat_t *fn = NULL; local
207 fn = r128_compat_ioctls[nr - DRM_COMMAND_BASE];
209 if (fn != NULL)
210 ret = (*fn) (filp, cmd, arg);
/drivers/media/video/ivtv/
H A Divtv-firmware.c52 static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv *itv, long size) argument
58 if (retries && request_firmware(&fw, fn, &itv->pdev->dev) == 0) {
68 IVTV_INFO("Retry: file loaded was not %s (expected size %ld, got %zd)\n", fn, size, fw->size);
79 IVTV_INFO("Loaded %s firmware (%zd bytes)\n", fn, fw->size);
83 IVTV_ERR("Unable to open firmware %s (must be %ld bytes)\n", fn, size);
/drivers/mfd/
H A Ducb1x00-core.c280 if (isr & 1 && irq->fn)
281 irq->fn(i, irq->devid);
291 * @fn: function to call when interrupt is triggered
304 int ucb1x00_hook_irq(struct ucb1x00 *ucb, unsigned int idx, void (*fn)(int, void *), void *devid) argument
314 if (irq->fn == NULL) {
316 irq->fn = fn;
418 irq->fn = NULL;

Completed in 262 milliseconds

1234