fun               137 arch/alpha/include/asm/core_irongate.h #define IGCSR(dev,fun,reg)	( IRONGATE_CONF | \
fun               139 arch/alpha/include/asm/core_irongate.h 				((fun)<<8) | \
fun                48 arch/mips/fw/sni/sniprom.c #define __PROM_O32(fun, arg) fun arg __asm__(#fun); \
fun                49 arch/mips/fw/sni/sniprom.c 				     __asm__(#fun " = call_o32")
fun               109 arch/mips/include/asm/dec/prom.h #define __DEC_PROM_O32(fun, arg) fun arg __asm__(#fun); \
fun               110 arch/mips/include/asm/dec/prom.h 				 __asm__(#fun " = call_o32")
fun               521 arch/powerpc/include/asm/pasemi_dma.h extern void pasemi_dma_free_fun(int fun);
fun               459 arch/powerpc/platforms/pasemi/dma_lib.c void pasemi_dma_free_fun(int fun)
fun               461 arch/powerpc/platforms/pasemi/dma_lib.c 	BUG_ON(test_bit(fun, fun_free));
fun               462 arch/powerpc/platforms/pasemi/dma_lib.c 	BUG_ON(fun >= MAX_FLAGS);
fun               463 arch/powerpc/platforms/pasemi/dma_lib.c 	set_bit(fun, fun_free);
fun               265 arch/sparc/kernel/pci_sun4v.c 	unsigned int fun;
fun               275 arch/sparc/kernel/pci_sun4v.c 			fun = PCI_FUNC(pdev->devfn);
fun               279 arch/sparc/kernel/pci_sun4v.c 								       fun));
fun              2523 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	fun:16;				/* RW */
fun              2542 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	fun:16;				/* RW */
fun              2567 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	fun:16;				/* RW */
fun              2593 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	fun:16;				/* RW */
fun              2622 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	fun:16;				/* RW */
fun              2651 arch/x86/include/asm/uv/uv_mmrs.h 		unsigned long	fun:16;				/* RW */
fun               377 drivers/block/paride/pcd.c static int pcd_wait(struct pcd_unit *cd, int go, int stop, char *fun, char *msg)
fun               392 drivers/block/paride/pcd.c 		if (fun)
fun               395 drivers/block/paride/pcd.c 			       cd->name, fun, msg, r, s, e, j, p);
fun               401 drivers/block/paride/pcd.c static int pcd_command(struct pcd_unit *cd, char *cmd, int dlen, char *fun)
fun               407 drivers/block/paride/pcd.c 	if (pcd_wait(cd, IDE_BUSY | IDE_DRQ, 0, fun, "before command")) {
fun               416 drivers/block/paride/pcd.c 	if (pcd_wait(cd, IDE_BUSY, IDE_DRQ, fun, "command DRQ")) {
fun               422 drivers/block/paride/pcd.c 		printk("%s: %s: command phase error\n", cd->name, fun);
fun               432 drivers/block/paride/pcd.c static int pcd_completion(struct pcd_unit *cd, char *buf, char *fun)
fun               441 drivers/block/paride/pcd.c 		      fun, "completion")) {
fun               452 drivers/block/paride/pcd.c 					       cd->name, fun, n);
fun               459 drivers/block/paride/pcd.c 					     cd->name, fun, p, d, k);
fun               471 drivers/block/paride/pcd.c 			    (cd, IDE_BUSY, IDE_DRQ | IDE_READY | IDE_ERR, fun,
fun               484 drivers/block/paride/pcd.c static void pcd_req_sense(struct pcd_unit *cd, char *fun)
fun               498 drivers/block/paride/pcd.c 		if (fun)
fun               500 drivers/block/paride/pcd.c 			       cd->name, fun, buf[2] & 0xf, buf[12], buf[13]);
fun               509 drivers/block/paride/pcd.c static int pcd_atapi(struct pcd_unit *cd, char *cmd, int dlen, char *buf, char *fun)
fun               513 drivers/block/paride/pcd.c 	r = pcd_command(cd, cmd, dlen, fun);
fun               516 drivers/block/paride/pcd.c 		r = pcd_completion(cd, buf, fun);
fun               518 drivers/block/paride/pcd.c 		pcd_req_sense(cd, fun);
fun               426 drivers/block/paride/pf.c static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg)
fun               441 drivers/block/paride/pf.c 		if (fun)
fun               444 drivers/block/paride/pf.c 			       pf->name, fun, msg, r, s, e, j, p);
fun               450 drivers/block/paride/pf.c static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun)
fun               456 drivers/block/paride/pf.c 	if (pf_wait(pf, STAT_BUSY | STAT_DRQ, 0, fun, "before command")) {
fun               465 drivers/block/paride/pf.c 	if (pf_wait(pf, STAT_BUSY, STAT_DRQ, fun, "command DRQ")) {
fun               471 drivers/block/paride/pf.c 		printk("%s: %s: command phase error\n", pf->name, fun);
fun               481 drivers/block/paride/pf.c static int pf_completion(struct pf_unit *pf, char *buf, char *fun)
fun               486 drivers/block/paride/pf.c 		    fun, "completion");
fun               494 drivers/block/paride/pf.c 	s = pf_wait(pf, STAT_BUSY, STAT_READY | STAT_ERR, fun, "data done");
fun               518 drivers/block/paride/pf.c static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun)
fun               522 drivers/block/paride/pf.c 	r = pf_command(pf, cmd, dlen, fun);
fun               525 drivers/block/paride/pf.c 		r = pf_completion(pf, buf, fun);
fun               527 drivers/block/paride/pf.c 		pf_req_sense(pf, !fun);
fun               272 drivers/block/paride/pt.c static int pt_wait(struct pt_unit *tape, int go, int stop, char *fun, char *msg)
fun               288 drivers/block/paride/pt.c 		if (fun)
fun               291 drivers/block/paride/pt.c 			       tape->name, fun, msg, r, s, e, j, p);
fun               297 drivers/block/paride/pt.c static int pt_command(struct pt_unit *tape, char *cmd, int dlen, char *fun)
fun               304 drivers/block/paride/pt.c 	if (pt_wait(tape, STAT_BUSY | STAT_DRQ, 0, fun, "before command")) {
fun               313 drivers/block/paride/pt.c 	if (pt_wait(tape, STAT_BUSY, STAT_DRQ, fun, "command DRQ")) {
fun               319 drivers/block/paride/pt.c 		printk("%s: %s: command phase error\n", tape->name, fun);
fun               329 drivers/block/paride/pt.c static int pt_completion(struct pt_unit *tape, char *buf, char *fun)
fun               335 drivers/block/paride/pt.c 		    fun, "completion");
fun               347 drivers/block/paride/pt.c 	s = pt_wait(tape, STAT_BUSY, STAT_READY | STAT_ERR, fun, "data done");
fun               375 drivers/block/paride/pt.c static int pt_atapi(struct pt_unit *tape, char *cmd, int dlen, char *buf, char *fun)
fun               379 drivers/block/paride/pt.c 	r = pt_command(tape, cmd, dlen, fun);
fun               382 drivers/block/paride/pt.c 		r = pt_completion(tape, buf, fun);
fun               384 drivers/block/paride/pt.c 		pt_req_sense(tape, !fun);
fun               425 drivers/block/paride/pt.c static void pt_media_access_cmd(struct pt_unit *tape, int tmo, char *cmd, char *fun)
fun               427 drivers/block/paride/pt.c 	if (pt_command(tape, cmd, 0, fun)) {
fun               432 drivers/block/paride/pt.c 	pt_poll_dsc(tape, HZ, tmo, fun);
fun                93 drivers/crypto/qat/qat_common/adf_cfg_common.h 	uint8_t fun;
fun               415 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	dev_info.fun = PCI_FUNC(accel_to_pci_dev(accel_dev)->devfn);
fun                39 drivers/edac/i10nm_base.c 					   unsigned int dev, unsigned int fun)
fun                43 drivers/edac/i10nm_base.c 	pdev = pci_get_domain_bus_and_slot(dom, bus, PCI_DEVFN(dev, fun));
fun                46 drivers/edac/i10nm_base.c 			 bus, dev, fun);
fun                52 drivers/edac/i10nm_base.c 			 bus, dev, fun);
fun                69 drivers/firmware/pcdp.h 	u8			fun;
fun                53 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip));
fun                55 drivers/mtd/nand/raw/fsl_upm.c 	if (gpio_get_value(fun->rnb_gpio[fun->mchip_number]))
fun                58 drivers/mtd/nand/raw/fsl_upm.c 	dev_vdbg(fun->dev, "busy\n");
fun                62 drivers/mtd/nand/raw/fsl_upm.c static void fun_wait_rnb(struct fsl_upm_nand *fun)
fun                64 drivers/mtd/nand/raw/fsl_upm.c 	if (fun->rnb_gpio[fun->mchip_number] >= 0) {
fun                65 drivers/mtd/nand/raw/fsl_upm.c 		struct mtd_info *mtd = nand_to_mtd(&fun->chip);
fun                68 drivers/mtd/nand/raw/fsl_upm.c 		while (--cnt && !fun_chip_ready(&fun->chip))
fun                71 drivers/mtd/nand/raw/fsl_upm.c 			dev_err(fun->dev, "tired waiting for RNB\n");
fun                79 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip));
fun                82 drivers/mtd/nand/raw/fsl_upm.c 	if (!(ctrl & fun->last_ctrl)) {
fun                83 drivers/mtd/nand/raw/fsl_upm.c 		fsl_upm_end_pattern(&fun->upm);
fun                88 drivers/mtd/nand/raw/fsl_upm.c 		fun->last_ctrl = ctrl & (NAND_ALE | NAND_CLE);
fun                93 drivers/mtd/nand/raw/fsl_upm.c 			fsl_upm_start_pattern(&fun->upm, fun->upm_addr_offset);
fun                95 drivers/mtd/nand/raw/fsl_upm.c 			fsl_upm_start_pattern(&fun->upm, fun->upm_cmd_offset);
fun                98 drivers/mtd/nand/raw/fsl_upm.c 	mar = (cmd << (32 - fun->upm.width)) |
fun                99 drivers/mtd/nand/raw/fsl_upm.c 		fun->mchip_offsets[fun->mchip_number];
fun               100 drivers/mtd/nand/raw/fsl_upm.c 	fsl_upm_run_pattern(&fun->upm, chip->legacy.IO_ADDR_R, mar);
fun               102 drivers/mtd/nand/raw/fsl_upm.c 	if (fun->wait_flags & FSL_UPM_WAIT_RUN_PATTERN)
fun               103 drivers/mtd/nand/raw/fsl_upm.c 		fun_wait_rnb(fun);
fun               108 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip));
fun               113 drivers/mtd/nand/raw/fsl_upm.c 		fun->mchip_number = mchip_nr;
fun               114 drivers/mtd/nand/raw/fsl_upm.c 		chip->legacy.IO_ADDR_R = fun->io_base + fun->mchip_offsets[mchip_nr];
fun               123 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip));
fun               125 drivers/mtd/nand/raw/fsl_upm.c 	return in_8(fun->chip.legacy.IO_ADDR_R);
fun               130 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip));
fun               134 drivers/mtd/nand/raw/fsl_upm.c 		buf[i] = in_8(fun->chip.legacy.IO_ADDR_R);
fun               139 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip));
fun               143 drivers/mtd/nand/raw/fsl_upm.c 		out_8(fun->chip.legacy.IO_ADDR_W, buf[i]);
fun               144 drivers/mtd/nand/raw/fsl_upm.c 		if (fun->wait_flags & FSL_UPM_WAIT_WRITE_BYTE)
fun               145 drivers/mtd/nand/raw/fsl_upm.c 			fun_wait_rnb(fun);
fun               147 drivers/mtd/nand/raw/fsl_upm.c 	if (fun->wait_flags & FSL_UPM_WAIT_WRITE_BUFFER)
fun               148 drivers/mtd/nand/raw/fsl_upm.c 		fun_wait_rnb(fun);
fun               151 drivers/mtd/nand/raw/fsl_upm.c static int fun_chip_init(struct fsl_upm_nand *fun,
fun               155 drivers/mtd/nand/raw/fsl_upm.c 	struct mtd_info *mtd = nand_to_mtd(&fun->chip);
fun               159 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.legacy.IO_ADDR_R = fun->io_base;
fun               160 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.legacy.IO_ADDR_W = fun->io_base;
fun               161 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.legacy.cmd_ctrl = fun_cmd_ctrl;
fun               162 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.legacy.chip_delay = fun->chip_delay;
fun               163 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.legacy.read_byte = fun_read_byte;
fun               164 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.legacy.read_buf = fun_read_buf;
fun               165 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.legacy.write_buf = fun_write_buf;
fun               166 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.ecc.mode = NAND_ECC_SOFT;
fun               167 drivers/mtd/nand/raw/fsl_upm.c 	fun->chip.ecc.algo = NAND_ECC_HAMMING;
fun               168 drivers/mtd/nand/raw/fsl_upm.c 	if (fun->mchip_count > 1)
fun               169 drivers/mtd/nand/raw/fsl_upm.c 		fun->chip.legacy.select_chip = fun_select_chip;
fun               171 drivers/mtd/nand/raw/fsl_upm.c 	if (fun->rnb_gpio[0] >= 0)
fun               172 drivers/mtd/nand/raw/fsl_upm.c 		fun->chip.legacy.dev_ready = fun_chip_ready;
fun               174 drivers/mtd/nand/raw/fsl_upm.c 	mtd->dev.parent = fun->dev;
fun               180 drivers/mtd/nand/raw/fsl_upm.c 	nand_set_flash_node(&fun->chip, flash_np);
fun               188 drivers/mtd/nand/raw/fsl_upm.c 	ret = nand_scan(&fun->chip, fun->mchip_count);
fun               202 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun;
fun               210 drivers/mtd/nand/raw/fsl_upm.c 	fun = kzalloc(sizeof(*fun), GFP_KERNEL);
fun               211 drivers/mtd/nand/raw/fsl_upm.c 	if (!fun)
fun               220 drivers/mtd/nand/raw/fsl_upm.c 	ret = fsl_upm_find(io_res.start, &fun->upm);
fun               233 drivers/mtd/nand/raw/fsl_upm.c 	fun->upm_addr_offset = *prop;
fun               241 drivers/mtd/nand/raw/fsl_upm.c 	fun->upm_cmd_offset = *prop;
fun               246 drivers/mtd/nand/raw/fsl_upm.c 		fun->mchip_count = size / sizeof(uint32_t);
fun               247 drivers/mtd/nand/raw/fsl_upm.c 		if (fun->mchip_count >= NAND_MAX_CHIPS) {
fun               251 drivers/mtd/nand/raw/fsl_upm.c 		for (i = 0; i < fun->mchip_count; i++)
fun               252 drivers/mtd/nand/raw/fsl_upm.c 			fun->mchip_offsets[i] = be32_to_cpu(prop[i]);
fun               254 drivers/mtd/nand/raw/fsl_upm.c 		fun->mchip_count = 1;
fun               257 drivers/mtd/nand/raw/fsl_upm.c 	for (i = 0; i < fun->mchip_count; i++) {
fun               258 drivers/mtd/nand/raw/fsl_upm.c 		fun->rnb_gpio[i] = -1;
fun               268 drivers/mtd/nand/raw/fsl_upm.c 			fun->rnb_gpio[i] = rnb_gpio;
fun               277 drivers/mtd/nand/raw/fsl_upm.c 		fun->chip_delay = be32_to_cpup(prop);
fun               279 drivers/mtd/nand/raw/fsl_upm.c 		fun->chip_delay = 50;
fun               283 drivers/mtd/nand/raw/fsl_upm.c 		fun->wait_flags = be32_to_cpup(prop);
fun               285 drivers/mtd/nand/raw/fsl_upm.c 		fun->wait_flags = FSL_UPM_WAIT_RUN_PATTERN |
fun               288 drivers/mtd/nand/raw/fsl_upm.c 	fun->io_base = devm_ioremap_nocache(&ofdev->dev, io_res.start,
fun               290 drivers/mtd/nand/raw/fsl_upm.c 	if (!fun->io_base) {
fun               295 drivers/mtd/nand/raw/fsl_upm.c 	fun->dev = &ofdev->dev;
fun               296 drivers/mtd/nand/raw/fsl_upm.c 	fun->last_ctrl = NAND_CLE;
fun               298 drivers/mtd/nand/raw/fsl_upm.c 	ret = fun_chip_init(fun, ofdev->dev.of_node, &io_res);
fun               302 drivers/mtd/nand/raw/fsl_upm.c 	dev_set_drvdata(&ofdev->dev, fun);
fun               306 drivers/mtd/nand/raw/fsl_upm.c 	for (i = 0; i < fun->mchip_count; i++) {
fun               307 drivers/mtd/nand/raw/fsl_upm.c 		if (fun->rnb_gpio[i] < 0)
fun               309 drivers/mtd/nand/raw/fsl_upm.c 		gpio_free(fun->rnb_gpio[i]);
fun               312 drivers/mtd/nand/raw/fsl_upm.c 	kfree(fun);
fun               319 drivers/mtd/nand/raw/fsl_upm.c 	struct fsl_upm_nand *fun = dev_get_drvdata(&ofdev->dev);
fun               320 drivers/mtd/nand/raw/fsl_upm.c 	struct mtd_info *mtd = nand_to_mtd(&fun->chip);
fun               323 drivers/mtd/nand/raw/fsl_upm.c 	nand_release(&fun->chip);
fun               326 drivers/mtd/nand/raw/fsl_upm.c 	for (i = 0; i < fun->mchip_count; i++) {
fun               327 drivers/mtd/nand/raw/fsl_upm.c 		if (fun->rnb_gpio[i] < 0)
fun               329 drivers/mtd/nand/raw/fsl_upm.c 		gpio_free(fun->rnb_gpio[i]);
fun               332 drivers/mtd/nand/raw/fsl_upm.c 	kfree(fun);
fun               304 drivers/net/ethernet/pasemi/pasemi_mac.c 	ring->fun = pasemi_dma_alloc_fun();
fun               305 drivers/net/ethernet/pasemi/pasemi_mac.c 	if (ring->fun < 0)
fun               309 drivers/net/ethernet/pasemi/pasemi_mac.c 	      PAS_DMA_TXCHAN_CFG_TATTR(ring->fun) |
fun               360 drivers/net/ethernet/pasemi/pasemi_mac.c 	pasemi_dma_free_fun(csring->fun);
fun              1351 drivers/net/ethernet/pasemi/pasemi_mac.c 	       XCT_FUN_O | XCT_FUN_FUN(csring->fun) |
fun              1388 drivers/net/ethernet/pasemi/pasemi_mac.c 	CS_DESC(csring, fill++) = XCT_FUN_O | XCT_FUN_FUN(csring->fun) |
fun                54 drivers/net/ethernet/pasemi/pasemi_mac.h 	int		fun;
fun               172 drivers/pci/controller/pci-aardvark.c #define PCIE_CONF_FUNC(fun)			(((fun) & 0x7)	<< 12)
fun                51 drivers/pci/controller/pcie-mediatek.c #define PCIE_CONF_FUN(fun)	(((fun) << 8) & GENMASK(10, 8))
fun                54 drivers/pci/controller/pcie-mediatek.c #define PCIE_CONF_ADDR(regn, fun, dev, bus) \
fun                55 drivers/pci/controller/pcie-mediatek.c 	(PCIE_CONF_REG(regn) | PCIE_CONF_FUN(fun) | \
fun               119 drivers/pci/controller/pcie-mediatek.c #define CFG_DW2_FUN(fun)	(((fun) << 16) & GENMASK(18, 16))
fun               126 drivers/pci/controller/pcie-mediatek.c #define CFG_HEADER_DW2(regn, fun, dev, bus) \
fun               127 drivers/pci/controller/pcie-mediatek.c 	(CFG_DW2_REGN(regn) | CFG_DW2_FUN(fun) | \
fun              1245 drivers/usb/gadget/function/uvc_configfs.c 				 int (*fun)(char *, void *), void *priv)
fun              1252 drivers/usb/gadget/function/uvc_configfs.c 	if (!fun)
fun              1265 drivers/usb/gadget/function/uvc_configfs.c 		ret = fun(buf, priv);
fun              1984 drivers/usb/gadget/function/uvc_configfs.c 	int (*fun)(void *, void *, void *, int, enum uvcg_strm_type type))
fun              1992 drivers/usb/gadget/function/uvc_configfs.c 	if (!fun)
fun              1996 drivers/usb/gadget/function/uvc_configfs.c 	ret = fun(h, priv2, priv3, 0, UVCG_HEADER);
fun              2000 drivers/usb/gadget/function/uvc_configfs.c 		ret = fun(f->fmt, priv2, priv3, i++, UVCG_FORMAT);
fun              2006 drivers/usb/gadget/function/uvc_configfs.c 			ret = fun(frm, priv2, priv3, j++, UVCG_FRAME);
fun                15 include/trace/events/cpuhp.h 		 int (*fun)(unsigned int)),
fun                17 include/trace/events/cpuhp.h 	TP_ARGS(cpu, target, idx, fun),
fun                23 include/trace/events/cpuhp.h 		__field( void *,	fun		)
fun                30 include/trace/events/cpuhp.h 		__entry->fun	= fun;
fun                34 include/trace/events/cpuhp.h 		  __entry->cpu, __entry->target, __entry->idx, __entry->fun)
fun                42 include/trace/events/cpuhp.h 		 int (*fun)(unsigned int, struct hlist_node *),
fun                45 include/trace/events/cpuhp.h 	TP_ARGS(cpu, target, idx, fun, node),
fun                51 include/trace/events/cpuhp.h 		__field( void *,	fun		)
fun                58 include/trace/events/cpuhp.h 		__entry->fun	= fun;
fun                62 include/trace/events/cpuhp.h 		  __entry->cpu, __entry->target, __entry->idx, __entry->fun)
fun               129 net/netfilter/nf_tables_core.c #define X(e, fun) \
fun               130 net/netfilter/nf_tables_core.c 	do { if ((e) == (unsigned long)(fun)) \
fun               131 net/netfilter/nf_tables_core.c 		return fun(expr, regs, pkt); } while (0)
fun               254 scripts/gcc-plugins/gcc-common.h static inline void add_local_decl(struct function *fun, tree d)
fun               257 scripts/gcc-plugins/gcc-common.h 	fun->local_decls = tree_cons(NULL_TREE, d, fun->local_decls);