Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mfd/
H A Dmcp.h14 struct mcp { struct
16 struct mcp_ops *ops; argument
25 void (*set_telecom_divisor)(struct mcp *, unsigned int); argument
39 #define mcp_get_sclk_rate(mcp) ((mcp)->sclk_rate) argument
55 #define mcp_get_drvdata(mcp) dev_get_drvdata(&(mcp)->attached_device) argument
56 #define mcp_set_drvdata(mcp,d) dev_set_drvdata(&(mcp)->attached_device, d) argument
58 static inline void *mcp_priv(struct mcp *mcp) in mcp_priv()
H A Ducb1x00.h123 struct mcp *mcp; member
/openbmc/linux/drivers/mfd/
H A Dmcp-core.c30 struct mcp *mcp = to_mcp(dev); in mcp_bus_probe() local
38 struct mcp *mcp = to_mcp(dev); in mcp_bus_remove() local
59 void mcp_set_telecom_divisor(struct mcp *mcp, unsigned int div) in mcp_set_telecom_divisor()
76 void mcp_set_audio_divisor(struct mcp *mcp, unsigned int div) in mcp_set_audio_divisor()
95 void mcp_reg_write(struct mcp *mcp, unsigned int reg, unsigned int val) in mcp_reg_write()
113 unsigned int mcp_reg_read(struct mcp *mcp, unsigned int reg) in mcp_reg_read()
133 void mcp_enable(struct mcp *mcp) in mcp_enable()
152 void mcp_disable(struct mcp *mcp) in mcp_disable()
165 struct mcp *mcp = container_of(dev, struct mcp, attached_device); in mcp_release() local
172 struct mcp *mcp; in mcp_host_alloc() local
[all …]
H A Dmcp-sa11x0.c42 #define priv(mcp) ((struct mcp_sa11x0 *)mcp_priv(mcp)) argument
45 mcp_sa11x0_set_telecom_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_telecom_divisor()
57 mcp_sa11x0_set_audio_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_audio_divisor()
75 mcp_sa11x0_write(struct mcp *mcp, unsigned int reg, unsigned int val) in mcp_sa11x0_write()
102 mcp_sa11x0_read(struct mcp *mcp, unsigned int reg) in mcp_sa11x0_read()
124 static void mcp_sa11x0_enable(struct mcp *mcp) in mcp_sa11x0_enable()
133 static void mcp_sa11x0_disable(struct mcp *mcp) in mcp_sa11x0_disable()
158 struct mcp *mcp; in mcp_sa11x0_probe() local
237 struct mcp *mcp = platform_get_drvdata(dev); in mcp_sa11x0_remove() local
H A Ducb1x00-core.c492 static int ucb1x00_probe(struct mcp *mcp) in ucb1x00_probe()
611 static void ucb1x00_remove(struct mcp *mcp) in ucb1x00_remove()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_mbx.c106 qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp) in qla2x00_mailbox_command()
623 mbx_cmd_t *mcp = &mc; in qla2x00_load_ram() local
693 mbx_cmd_t *mcp = &mc; in qla2x00_execute_fw() local
847 mbx_cmd_t *mcp = &mc; in qla_get_exlogin_status() local
903 mbx_cmd_t *mcp = &mc; in qla_set_exlogin_mem_cfg() local
957 mbx_cmd_t *mcp = &mc; in qla_get_exchoffld_status() local
1013 mbx_cmd_t *mcp = &mc; in qla_set_exchoffld_mem_cfg() local
1065 mbx_cmd_t *mcp = &mc; in qla2x00_get_fw_version() local
1234 mbx_cmd_t *mcp = &mc; in qla2x00_get_fw_options() local
1282 mbx_cmd_t *mcp = &mc; in qla2x00_set_fw_options() local
[all …]
H A Dqla_mr.c38 qlafx00_mailbox_command(scsi_qla_host_t *vha, struct mbx_cmd_32 *mcp) in qlafx00_mailbox_command()
302 struct mbx_cmd_32 *mcp = &mc; in qlafx00_driver_shutdown() local
348 struct mbx_cmd_32 *mcp = &mc; in qlafx00_get_firmware_state() local
395 struct mbx_cmd_32 *mcp = &mc; in qlafx00_init_firmware() local
432 struct mbx_cmd_32 *mcp = &mc; in qlafx00_mbx_reg_test() local
H A Dqla_bsg.c2435 mbx_cmd_t *mcp = &mc; in qla2x00_do_dport_diagnostics_v2() local
H A Dqla_def.h4523 mbx_cmd_t *mcp; member
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c140 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read()
145 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write()
150 static int mcp_update_bits(struct mcp23s08 *mcp, unsigned int reg, in mcp_update_bits()
157 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit()
226 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get() local
252 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set() local
287 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input() local
299 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get() local
320 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get_multiple() local
339 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set()
[all …]
H A Dpinctrl-mcp23s08_spi.c22 struct mcp23s08 *mcp[8]; member
28 struct mcp23s08 *mcp = context; in mcp23sxx_spi_write() local
45 struct mcp23s08 *mcp = context; in mcp23sxx_spi_gather_write() local
63 struct mcp23s08 *mcp = context; in mcp23sxx_spi_read() local
82 static int mcp23s08_spi_regmap_init(struct mcp23s08 *mcp, struct device *dev, in mcp23s08_spi_regmap_init()
H A Dpinctrl-mcp23s08_i2c.c16 struct mcp23s08 *mcp; in mcp230xx_probe() local
/openbmc/linux/drivers/hid/
H A Dhid-mcp2221.c117 struct mcp2221 *mcp; member
127 static int mcp_send_report(struct mcp2221 *mcp, in mcp_send_report()
151 static int mcp_send_data_req_status(struct mcp2221 *mcp, in mcp_send_data_req_status()
172 static int mcp_chk_last_cmd_status(struct mcp2221 *mcp) in mcp_chk_last_cmd_status()
181 static int mcp_cancel_last_cmd(struct mcp2221 *mcp) in mcp_cancel_last_cmd()
190 static int mcp_set_i2c_speed(struct mcp2221 *mcp) in mcp_set_i2c_speed()
217 static int mcp_i2c_write(struct mcp2221 *mcp, in mcp_i2c_write()
275 static int mcp_i2c_smbus_read(struct mcp2221 *mcp, in mcp_i2c_smbus_read()
325 struct mcp2221 *mcp = i2c_get_adapdata(adapter); in mcp_i2c_xfer() local
380 static int mcp_smbus_write(struct mcp2221 *mcp, u16 addr, in mcp_smbus_write()
[all …]
H A Dhid-mcp2200.c102 static int mcp_cmd_read_all(struct mcp2200 *mcp) in mcp_cmd_read_all()
133 struct mcp2200 *mcp = gpiochip_get_data(gc); in mcp_set_multiple() local
169 struct mcp2200 *mcp = gpiochip_get_data(gc); in mcp_get_multiple() local
192 struct mcp2200 *mcp = gpiochip_get_data(gc); in mcp_get_direction() local
201 struct mcp2200 *mcp = gpiochip_get_data(gc); in mcp_set_direction() local
294 struct mcp2200 *mcp = hid_get_drvdata(hdev); in mcp2200_raw_event() local
320 struct mcp2200 *mcp; in mcp2200_probe() local
/openbmc/qemu/bsd-user/arm/
H A Dsignal.c68 target_mcontext_t *mcp = &frame->sf_uc.uc_mcontext; in get_vfpcontext() local
84 abi_long get_mcontext(CPUARMState *env, target_mcontext_t *mcp, int flags) in get_mcontext()
132 target_mcontext_t *mcp = &frame->sf_uc.uc_mcontext; in setup_sigframe_arch() local
140 abi_long set_mcontext(CPUARMState *env, target_mcontext_t *mcp, int srflag) in set_mcontext()
/openbmc/qemu/bsd-user/riscv/
H A Dsignal.c59 target_mcontext_t *mcp = &frame->sf_uc.uc_mcontext; in setup_sigframe_arch() local
69 abi_long get_mcontext(CPURISCVState *regs, target_mcontext_t *mcp, in get_mcontext()
119 abi_long set_mcontext(CPURISCVState *regs, target_mcontext_t *mcp, in set_mcontext()
/openbmc/qemu/bsd-user/i386/
H A Dsignal.c43 target_mcontext_t *mcp = &frame->sf_uc.uc_mcontext; in setup_sigframe_arch() local
50 abi_long get_mcontext(CPUX86State *regs, target_mcontext_t *mcp, int flags) in get_mcontext()
57 abi_long set_mcontext(CPUX86State *regs, target_mcontext_t *mcp, int srflag) in set_mcontext()
/openbmc/qemu/bsd-user/x86_64/
H A Dsignal.c41 target_mcontext_t *mcp = &frame->sf_uc.uc_mcontext; in setup_sigframe_arch() local
49 target_mcontext_t *mcp, int flags) in get_mcontext()
57 target_mcontext_t *mcp, int srflag) in set_mcontext()
/openbmc/qemu/bsd-user/aarch64/
H A Dsignal.c59 abi_long get_mcontext(CPUARMState *regs, target_mcontext_t *mcp, int flags) in get_mcontext()
92 target_mcontext_t *mcp = &frame->sf_uc.uc_mcontext; in setup_sigframe_arch() local
102 abi_long set_mcontext(CPUARMState *regs, target_mcontext_t *mcp, int srflag) in set_mcontext()
/openbmc/linux/drivers/regulator/
H A Dmcp16502.c157 static void mcp16502_gpio_set_mode(struct mcp16502 *mcp, int mode) in mcp16502_gpio_set_mode()
508 struct mcp16502 *mcp; in mcp16502_probe() local
555 struct mcp16502 *mcp = i2c_get_clientdata(client); in mcp16502_suspend_noirq() local
565 struct mcp16502 *mcp = i2c_get_clientdata(client); in mcp16502_resume_noirq() local
/openbmc/linux/arch/powerpc/kernel/
H A Dsignal_32.c923 struct mcontext __user *mcp; in do_setcontext() local
958 struct mcontext __user *mcp; in do_setcontext_tm() local
1004 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3() local
1132 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0() local
1306 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0() local
/openbmc/linux/drivers/net/
H A Deql.c548 static int eql_g_master_cfg(struct net_device *dev, master_config_t __user *mcp) in eql_g_master_cfg()
566 static int eql_s_master_cfg(struct net_device *dev, master_config_t __user *mcp) in eql_s_master_cfg()
/openbmc/linux/arch/sparc/kernel/
H A Dsignal_64.c146 mcontext_t __user *mcp; in sparc64_get_context() local
/openbmc/qemu/linux-user/sparc/
H A Dsignal.c707 target_mcontext_t *mcp; in sparc64_get_context() local
/openbmc/qemu/linux-user/ppc/
H A Dsignal.c612 struct target_mcontext *mcp; in do_setcontext() local