Home
last modified time | relevance | path

Searched refs:fun (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v6.1/drivers/mtd/nand/raw/
Dfsl_upm.c41 static int fun_chip_init(struct fsl_upm_nand *fun, in fun_chip_init() argument
45 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_chip_init()
49 fun->chip.ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT; in fun_chip_init()
50 fun->chip.ecc.algo = NAND_ECC_ALGO_HAMMING; in fun_chip_init()
51 fun->chip.controller = &fun->base; in fun_chip_init()
52 mtd->dev.parent = fun->dev; in fun_chip_init()
58 nand_set_flash_node(&fun->chip, flash_np); in fun_chip_init()
59 mtd->name = devm_kasprintf(fun->dev, GFP_KERNEL, "0x%llx.%pOFn", in fun_chip_init()
67 ret = nand_scan(&fun->chip, fun->mchip_count); in fun_chip_init()
80 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in func_exec_instr() local
[all …]
/Linux-v6.1/include/trace/events/
Dcpuhp.h15 int (*fun)(unsigned int)),
17 TP_ARGS(cpu, target, idx, fun),
23 __field( void *, fun )
30 __entry->fun = fun;
34 __entry->cpu, __entry->target, __entry->idx, __entry->fun)
42 int (*fun)(unsigned int, struct hlist_node *),
45 TP_ARGS(cpu, target, idx, fun, node),
51 __field( void *, fun )
58 __entry->fun = fun;
62 __entry->cpu, __entry->target, __entry->idx, __entry->fun)
/Linux-v6.1/include/linux/surface_aggregator/
Ddevice.h96 #define SSAM_DEVICE(d, cat, tid, iid, fun) \ argument
99 | (((fun) != SSAM_ANY_FUN) ? SSAM_MATCH_FUNCTION : 0), \
104 .function = __builtin_choose_expr((fun) != SSAM_ANY_FUN, (fun), 0)
126 #define SSAM_VDEV(cat, tid, iid, fun) \ argument
127 SSAM_DEVICE(SSAM_DOMAIN_VIRTUAL, SSAM_VIRTUAL_TC_##cat, tid, iid, fun)
149 #define SSAM_SDEV(cat, tid, iid, fun) \ argument
150 SSAM_DEVICE(SSAM_DOMAIN_SERIALHUB, SSAM_SSH_TC_##cat, tid, iid, fun)
/Linux-v6.1/drivers/block/paride/
Dpcd.c330 static int pcd_wait(struct pcd_unit *cd, int go, int stop, char *fun, char *msg) in pcd_wait() argument
345 if (fun) in pcd_wait()
348 cd->name, fun, msg, r, s, e, j, p); in pcd_wait()
354 static int pcd_command(struct pcd_unit *cd, char *cmd, int dlen, char *fun) in pcd_command() argument
360 if (pcd_wait(cd, IDE_BUSY | IDE_DRQ, 0, fun, "before command")) { in pcd_command()
369 if (pcd_wait(cd, IDE_BUSY, IDE_DRQ, fun, "command DRQ")) { in pcd_command()
375 printk("%s: %s: command phase error\n", cd->name, fun); in pcd_command()
385 static int pcd_completion(struct pcd_unit *cd, char *buf, char *fun) in pcd_completion() argument
394 fun, "completion")) { in pcd_completion()
405 cd->name, fun, n); in pcd_completion()
[all …]
Dpt.c272 static int pt_wait(struct pt_unit *tape, int go, int stop, char *fun, char *msg) in pt_wait() argument
288 if (fun) in pt_wait()
291 tape->name, fun, msg, r, s, e, j, p); in pt_wait()
297 static int pt_command(struct pt_unit *tape, char *cmd, int dlen, char *fun) in pt_command() argument
304 if (pt_wait(tape, STAT_BUSY | STAT_DRQ, 0, fun, "before command")) { in pt_command()
313 if (pt_wait(tape, STAT_BUSY, STAT_DRQ, fun, "command DRQ")) { in pt_command()
319 printk("%s: %s: command phase error\n", tape->name, fun); in pt_command()
329 static int pt_completion(struct pt_unit *tape, char *buf, char *fun) in pt_completion() argument
335 fun, "completion"); in pt_completion()
347 s = pt_wait(tape, STAT_BUSY, STAT_READY | STAT_ERR, fun, "data done"); in pt_completion()
[all …]
Dpf.c385 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait() argument
400 if (fun) in pf_wait()
403 pf->name, fun, msg, r, s, e, j, p); in pf_wait()
409 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command() argument
415 if (pf_wait(pf, STAT_BUSY | STAT_DRQ, 0, fun, "before command")) { in pf_command()
424 if (pf_wait(pf, STAT_BUSY, STAT_DRQ, fun, "command DRQ")) { in pf_command()
430 printk("%s: %s: command phase error\n", pf->name, fun); in pf_command()
440 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion() argument
445 fun, "completion"); in pf_completion()
453 s = pf_wait(pf, STAT_BUSY, STAT_READY | STAT_ERR, fun, "data done"); in pf_completion()
[all …]
/Linux-v6.1/drivers/comedi/drivers/ni_routing/tools/
Dni_names.py36 for fun in ni_macros:
37 f = getattr(comedi_h, fun)
39 '{}({})'.format(fun,i):f(i) for i in range(1 + f(-1) - f(0))
/Linux-v6.1/arch/mips/fw/sni/
Dsniprom.c49 #define __PROM_O32(fun, arg) fun arg __asm__(#fun); \ argument
50 __asm__(#fun " = call_o32")
/Linux-v6.1/arch/mips/include/asm/dec/
Dprom.h104 #define __DEC_PROM_O32(fun, arg) fun arg __asm__(#fun); \ argument
105 __asm__(#fun " = call_o32")
/Linux-v6.1/include/dt-bindings/pinctrl/
Dsppctl.h28 #define SPPCTL_IOPAD(pin, typ, fun, flg) (((pin) << 24) | ((typ) << 16) | \ argument
29 ((fun) << 8) | (flg))
/Linux-v6.1/arch/x86/include/asm/
Dswitch_to.h81 int (*fun)(void *), void *arg) in kthread_frame_init()
83 frame->bx = (unsigned long)fun; in kthread_frame_init()
/Linux-v6.1/drivers/pinctrl/bcm/
Dpinctrl-bcm6368.c384 const struct bcm6368_function *fun = &bcm6368_funcs[selector]; in bcm6368_pinctrl_set_mux() local
387 if (fun->basemode) { in bcm6368_pinctrl_set_mux()
397 regmap_field_write(priv->overlays, fun->basemode); in bcm6368_pinctrl_set_mux()
417 if (fun->dir_out & BIT(pin)) in bcm6368_pinctrl_set_mux()
/Linux-v6.1/arch/alpha/include/asm/
Dcore_irongate.h137 #define IGCSR(dev,fun,reg) ( IRONGATE_CONF | \ argument
139 ((fun)<<8) | \
/Linux-v6.1/arch/powerpc/platforms/pasemi/
Ddma_lib.c461 void pasemi_dma_free_fun(int fun) in pasemi_dma_free_fun() argument
463 BUG_ON(test_bit(fun, fun_free)); in pasemi_dma_free_fun()
464 BUG_ON(fun >= MAX_FLAGS); in pasemi_dma_free_fun()
465 set_bit(fun, fun_free); in pasemi_dma_free_fun()
/Linux-v6.1/drivers/pci/controller/
Dpcie-mediatek.c53 #define PCIE_CONF_FUN(fun) (((fun) << 8) & GENMASK(10, 8)) argument
56 #define PCIE_CONF_ADDR(regn, fun, dev, bus) \ argument
57 (PCIE_CONF_REG(regn) | PCIE_CONF_FUN(fun) | \
121 #define CFG_DW2_FUN(fun) (((fun) << 16) & GENMASK(18, 16)) argument
128 #define CFG_HEADER_DW2(regn, fun, dev, bus) \ argument
129 (CFG_DW2_REGN(regn) | CFG_DW2_FUN(fun) | \
/Linux-v6.1/net/netfilter/
Dnf_tables_core.c197 #define X(e, fun) \ in expr_call_ops_eval() argument
198 do { if ((e) == (unsigned long)(fun)) \ in expr_call_ops_eval()
199 return fun(expr, regs, pkt); } while (0) in expr_call_ops_eval()
/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_cfg_common.h63 __u8 fun; member
/Linux-v6.1/include/linux/soundwire/
Dsdw_registers.h332 #define SDW_SDCA_CTL(fun, ent, ctl, ch) (BIT(30) | \ argument
333 (((fun) & 0x7) << 22) | \
/Linux-v6.1/drivers/firmware/
Dpcdp.h69 u8 fun; member
/Linux-v6.1/drivers/edac/
Di10nm_base.c293 unsigned int dev, unsigned int fun) in pci_get_dev_wrapper() argument
297 pdev = pci_get_domain_bus_and_slot(dom, bus, PCI_DEVFN(dev, fun)); in pci_get_dev_wrapper()
300 bus, dev, fun); in pci_get_dev_wrapper()
306 bus, dev, fun); in pci_get_dev_wrapper()
/Linux-v6.1/drivers/net/ethernet/pasemi/
Dpasemi_mac.h54 int fun; member
Dpasemi_mac.c305 ring->fun = pasemi_dma_alloc_fun(); in pasemi_mac_setup_csring()
306 if (ring->fun < 0) in pasemi_mac_setup_csring()
310 PAS_DMA_TXCHAN_CFG_TATTR(ring->fun) | in pasemi_mac_setup_csring()
361 pasemi_dma_free_fun(csring->fun); in pasemi_mac_free_csring()
1355 XCT_FUN_O | XCT_FUN_FUN(csring->fun) | in pasemi_mac_queue_csdesc()
1392 CS_DESC(csring, fill++) = XCT_FUN_O | XCT_FUN_FUN(csring->fun) | in pasemi_mac_queue_csdesc()
/Linux-v6.1/Documentation/parisc/
Ddebugging.rst35 3. Q bit fun
/Linux-v6.1/tools/testing/selftests/powerpc/ptrace/
Dptrace-perf-hwbreak.c571 static int do_test(const char *msg, int (*fun)(pid_t arg), pid_t arg) in do_test()
575 ret = fun(arg); in do_test()
/Linux-v6.1/drivers/usb/gadget/function/
Duvc_configfs.c1157 int (*fun)(char *, void *), void *priv) in __uvcg_iter_frm_intrv()
1164 if (!fun) in __uvcg_iter_frm_intrv()
1177 ret = fun(buf, priv); in __uvcg_iter_frm_intrv()
1907 int (*fun)(void *, void *, void *, int, enum uvcg_strm_type type)) in __uvcg_iter_strm_cls()
1915 if (!fun) in __uvcg_iter_strm_cls()
1919 ret = fun(h, priv2, priv3, 0, UVCG_HEADER); in __uvcg_iter_strm_cls()
1923 ret = fun(f->fmt, priv2, priv3, i++, UVCG_FORMAT); in __uvcg_iter_strm_cls()
1929 ret = fun(frm, priv2, priv3, j++, UVCG_FRAME); in __uvcg_iter_strm_cls()

123