Home
last modified time | relevance | path

Searched defs:mcp (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/include/linux/mfd/
Dmcp.h17 struct mcp { struct
19 struct mcp_ops *ops; argument
33 void (*set_telecom_divisor)(struct mcp *, unsigned int); argument
47 #define mcp_get_sclk_rate(mcp) ((mcp)->sclk_rate) argument
64 #define mcp_get_drvdata(mcp) dev_get_drvdata(&(mcp)->attached_device) argument
65 #define mcp_set_drvdata(mcp,d) dev_set_drvdata(&(mcp)->attached_device, d) argument
67 #define mcp_priv(mcp) ((void *)((mcp)+1)) argument
Ducb1x00.h115 struct mcp *mcp; member
/linux-2.6.39/drivers/mfd/
Dmcp-core.c36 struct mcp *mcp = to_mcp(dev); in mcp_bus_probe() local
44 struct mcp *mcp = to_mcp(dev); in mcp_bus_remove() local
53 struct mcp *mcp = to_mcp(dev); in mcp_bus_suspend() local
66 struct mcp *mcp = to_mcp(dev); in mcp_bus_resume() local
94 void mcp_set_telecom_divisor(struct mcp *mcp, unsigned int div) in mcp_set_telecom_divisor()
109 void mcp_set_audio_divisor(struct mcp *mcp, unsigned int div) in mcp_set_audio_divisor()
126 void mcp_reg_write(struct mcp *mcp, unsigned int reg, unsigned int val) in mcp_reg_write()
144 unsigned int mcp_reg_read(struct mcp *mcp, unsigned int reg) in mcp_reg_read()
164 void mcp_enable(struct mcp *mcp) in mcp_enable()
181 void mcp_disable(struct mcp *mcp) in mcp_disable()
[all …]
Dmcp-sa11x0.c37 #define priv(mcp) ((struct mcp_sa11x0 *)mcp_priv(mcp)) argument
40 mcp_sa11x0_set_telecom_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_telecom_divisor()
52 mcp_sa11x0_set_audio_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_audio_divisor()
70 mcp_sa11x0_write(struct mcp *mcp, unsigned int reg, unsigned int val) in mcp_sa11x0_write()
96 mcp_sa11x0_read(struct mcp *mcp, unsigned int reg) in mcp_sa11x0_read()
117 static void mcp_sa11x0_enable(struct mcp *mcp) in mcp_sa11x0_enable()
123 static void mcp_sa11x0_disable(struct mcp *mcp) in mcp_sa11x0_disable()
143 struct mcp *mcp; in mcp_sa11x0_probe() local
212 struct mcp *mcp = platform_get_drvdata(dev); in mcp_sa11x0_remove() local
223 struct mcp *mcp = platform_get_drvdata(dev); in mcp_sa11x0_suspend() local
[all …]
Ducb1x00-core.c528 static int ucb1x00_probe(struct mcp *mcp) in ucb1x00_probe()
620 static void ucb1x00_remove(struct mcp *mcp) in ucb1x00_remove()
671 static int ucb1x00_suspend(struct mcp *mcp, pm_message_t state) in ucb1x00_suspend()
685 static int ucb1x00_resume(struct mcp *mcp) in ucb1x00_resume()
/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_mbx.c33 qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp) in qla2x00_mailbox_command()
367 mbx_cmd_t *mcp = &mc; in qla2x00_load_ram() local
431 mbx_cmd_t *mcp = &mc; in qla2x00_execute_fw() local
502 mbx_cmd_t *mcp = &mc; in qla2x00_get_fw_version() local
566 mbx_cmd_t *mcp = &mc; in qla2x00_get_fw_options() local
613 mbx_cmd_t *mcp = &mc; in qla2x00_set_fw_options() local
669 mbx_cmd_t *mcp = &mc; in qla2x00_mbx_reg_test() local
729 mbx_cmd_t *mcp = &mc; in qla2x00_verify_checksum() local
786 mbx_cmd_t *mcp = &mc; in qla2x00_issue_iocb_timeout() local
844 mbx_cmd_t *mcp = &mc; in qla2x00_abort_command() local
[all …]
Dqla_def.h2645 mbx_cmd_t *mcp; member
/linux-2.6.39/drivers/gpio/
Dmcp23s08.c75 struct mcp23s08 *mcp[8]; member
79 static int mcp23s08_read(struct mcp23s08 *mcp, unsigned reg) in mcp23s08_read()
90 static int mcp23s08_write(struct mcp23s08 *mcp, unsigned reg, unsigned val) in mcp23s08_write()
101 mcp23s08_read_regs(struct mcp23s08 *mcp, unsigned reg, u16 *vals, unsigned n) in mcp23s08_read_regs()
120 static int mcp23s17_read(struct mcp23s08 *mcp, unsigned reg) in mcp23s17_read()
131 static int mcp23s17_write(struct mcp23s08 *mcp, unsigned reg, unsigned val) in mcp23s17_write()
143 mcp23s17_read_regs(struct mcp23s08 *mcp, unsigned reg, u16 *vals, unsigned n) in mcp23s17_read_regs()
180 struct mcp23s08 *mcp = container_of(chip, struct mcp23s08, chip); in mcp23s08_direction_input() local
192 struct mcp23s08 *mcp = container_of(chip, struct mcp23s08, chip); in mcp23s08_get() local
209 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, int value) in __mcp23s08_set()
[all …]
/linux-2.6.39/drivers/net/
Deql.c555 static int eql_g_master_cfg(struct net_device *dev, master_config_t __user *mcp) in eql_g_master_cfg()
573 static int eql_s_master_cfg(struct net_device *dev, master_config_t __user *mcp) in eql_s_master_cfg()
/linux-2.6.39/arch/sparc/kernel/
Dsignal_64.c146 mcontext_t __user *mcp; in sparc64_get_context() local
/linux-2.6.39/arch/powerpc/kernel/
Dsignal_32.c908 struct mcontext __user *mcp; in do_setcontext() local
945 struct mcontext __user *mcp; in sys_swapcontext() local
/linux-2.6.39/drivers/staging/cxt1e1/
Dpmcc4_drv.c907 c4_musycc_rw (ci_t * ci, struct c4_musycc_param * mcp) in c4_musycc_rw()