/drivers/mtd/nand/ |
D | fsl_upm.c | 57 struct fsl_upm_nand *fun = to_fsl_upm_nand(mtd); in fun_chip_ready() local 59 if (gpio_get_value(fun->rnb_gpio[fun->mchip_number])) in fun_chip_ready() 62 dev_vdbg(fun->dev, "busy\n"); in fun_chip_ready() 66 static void fun_wait_rnb(struct fsl_upm_nand *fun) in fun_wait_rnb() argument 68 if (fun->rnb_gpio[fun->mchip_number] >= 0) { in fun_wait_rnb() 71 while (--cnt && !fun_chip_ready(&fun->mtd)) in fun_wait_rnb() 74 dev_err(fun->dev, "tired waiting for RNB\n"); in fun_wait_rnb() 83 struct fsl_upm_nand *fun = to_fsl_upm_nand(mtd); in fun_cmd_ctrl() local 86 if (!(ctrl & fun->last_ctrl)) { in fun_cmd_ctrl() 87 fsl_upm_end_pattern(&fun->upm); in fun_cmd_ctrl() [all …]
|
/drivers/block/paride/ |
D | pcd.c | 356 static int pcd_wait(struct pcd_unit *cd, int go, int stop, char *fun, char *msg) in pcd_wait() argument 371 if (fun) in pcd_wait() 374 cd->name, fun, msg, r, s, e, j, p); in pcd_wait() 380 static int pcd_command(struct pcd_unit *cd, char *cmd, int dlen, char *fun) in pcd_command() argument 386 if (pcd_wait(cd, IDE_BUSY | IDE_DRQ, 0, fun, "before command")) { in pcd_command() 395 if (pcd_wait(cd, IDE_BUSY, IDE_DRQ, fun, "command DRQ")) { in pcd_command() 401 printk("%s: %s: command phase error\n", cd->name, fun); in pcd_command() 411 static int pcd_completion(struct pcd_unit *cd, char *buf, char *fun) in pcd_completion() argument 420 fun, "completion")) { in pcd_completion() 431 cd->name, fun, n); in pcd_completion() [all …]
|
D | pt.c | 272 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 …]
|
D | pf.c | 403 static int pf_wait(struct pf_unit *pf, int go, int stop, char *fun, char *msg) in pf_wait() argument 418 if (fun) in pf_wait() 421 pf->name, fun, msg, r, s, e, j, p); in pf_wait() 427 static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) in pf_command() argument 433 if (pf_wait(pf, STAT_BUSY | STAT_DRQ, 0, fun, "before command")) { in pf_command() 442 if (pf_wait(pf, STAT_BUSY, STAT_DRQ, fun, "command DRQ")) { in pf_command() 448 printk("%s: %s: command phase error\n", pf->name, fun); in pf_command() 458 static int pf_completion(struct pf_unit *pf, char *buf, char *fun) in pf_completion() argument 463 fun, "completion"); in pf_completion() 471 s = pf_wait(pf, STAT_BUSY, STAT_READY | STAT_ERR, fun, "data done"); in pf_completion() [all …]
|
/drivers/crypto/qat/qat_common/ |
D | adf_cfg_common.h | 88 uint8_t fun; member
|
D | adf_ctl_drv.c | 416 dev_info.fun = PCI_FUNC(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
|
/drivers/firmware/ |
D | pcdp.h | 72 u8 fun; member
|
/drivers/usb/gadget/function/ |
D | uvc_configfs.c | 1111 int (*fun)(char *, void *), void *priv) in __uvcg_iter_frm_intrv() 1118 if (!fun) in __uvcg_iter_frm_intrv() 1131 ret = fun(buf, priv); in __uvcg_iter_frm_intrv() 1853 int (*fun)(void *, void *, void *, int, enum uvcg_strm_type type)) in __uvcg_iter_strm_cls() 1861 if (!fun) in __uvcg_iter_strm_cls() 1865 ret = fun(h, priv2, priv3, 0, UVCG_HEADER); in __uvcg_iter_strm_cls() 1869 ret = fun(f->fmt, priv2, priv3, i++, UVCG_FORMAT); in __uvcg_iter_strm_cls() 1875 ret = fun(frm, priv2, priv3, j++, UVCG_FRAME); in __uvcg_iter_strm_cls()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 66 int fun; member
|
D | pasemi_mac.c | 353 ring->fun = pasemi_dma_alloc_fun(); in pasemi_mac_setup_csring() 354 if (ring->fun < 0) in pasemi_mac_setup_csring() 358 PAS_DMA_TXCHAN_CFG_TATTR(ring->fun) | in pasemi_mac_setup_csring() 409 pasemi_dma_free_fun(csring->fun); in pasemi_mac_free_csring() 1407 XCT_FUN_O | XCT_FUN_FUN(csring->fun) | in pasemi_mac_queue_csdesc() 1445 CS_DESC(csring, fill++) = XCT_FUN_O | XCT_FUN_FUN(csring->fun) | in pasemi_mac_queue_csdesc()
|