Searched refs:fdr (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/i2c/busses/
H A Di2c-mpc.c70 u8 fdr, dfsrr; member in struct:mpc_i2c
77 u16 fdr; /* including dfsrr */ member in struct:mpc_i2c_divider
212 /* see below - default fdr = 0x3f -> div = 2048 */ mpc_i2c_get_fdr_52xx()
227 if (div->fdr & 0xc0 && pvr == 0x80822011) mpc_i2c_get_fdr_52xx()
234 return (int)div->fdr; mpc_i2c_get_fdr_52xx()
241 int ret, fdr; mpc_i2c_setup_52xx() local
244 dev_dbg(i2c->dev, "using fdr %d\n", mpc_i2c_setup_52xx()
250 fdr = (ret >= 0) ? ret : 0x3f; /* backward compatibility */ mpc_i2c_setup_52xx()
252 writeb(fdr & 0xff, i2c->base + MPC_I2C_FDR); mpc_i2c_setup_52xx()
255 dev_info(i2c->dev, "clock %u Hz (fdr=%d)\n", i2c->real_clk, mpc_i2c_setup_52xx()
256 fdr); mpc_i2c_setup_52xx()
386 /* see below - default fdr = 0x1031 -> div = 16 * 3072 */ mpc_i2c_get_fdr_8xxx()
413 return div ? (int)div->fdr : -EINVAL; mpc_i2c_get_fdr_8xxx()
420 int ret, fdr; mpc_i2c_setup_8xxx() local
423 dev_dbg(i2c->dev, "using dfsrr %d, fdr %d\n", mpc_i2c_setup_8xxx()
430 fdr = (ret >= 0) ? ret : 0x1031; /* backward compatibility */ mpc_i2c_setup_8xxx()
432 writeb(fdr & 0xff, i2c->base + MPC_I2C_FDR); mpc_i2c_setup_8xxx()
433 writeb((fdr >> 8) & 0xff, i2c->base + MPC_I2C_DFSRR); mpc_i2c_setup_8xxx()
436 dev_info(i2c->dev, "clock %d Hz (dfsrr=%d fdr=%d)\n", mpc_i2c_setup_8xxx()
437 i2c->real_clk, fdr >> 8, fdr & 0xff); mpc_i2c_setup_8xxx()
782 i2c->fdr = readb(i2c->base + MPC_I2C_FDR); mpc_i2c_suspend()
792 writeb(i2c->fdr, i2c->base + MPC_I2C_FDR); mpc_i2c_resume()
/linux-4.1.27/arch/ia64/kernel/
H A Dparavirt.c434 __DEFINE_GET_AR(FDR, fdr)
517 __DEFINE_SET_AR(FDR, fdr)
715 IA64_NATIVE_PATCH_DEFINE_AR(fdr, fdr);
827 IA64_NATIVE_PATCH_BUNDLE_ELEM_AR(fdr, FDR),
/linux-4.1.27/fs/
H A Dpipe.c730 int fdw, fdr; __do_pipe_flags() local
742 fdr = error; __do_pipe_flags()
749 audit_fd_pair(fdr, fdw); __do_pipe_flags()
750 fd[0] = fdr; __do_pipe_flags()
755 put_unused_fd(fdr); __do_pipe_flags()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-fpa-defs.h99 uint64_t fdr:1; member in struct:cvmx_fpa_bist_status::cvmx_fpa_bist_status_s
101 uint64_t fdr:1;

Completed in 245 milliseconds