Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/mfd/
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()
Ducb1x00.h122 struct mcp *mcp; member
/Linux-v5.10/drivers/mfd/
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
60 void mcp_set_telecom_divisor(struct mcp *mcp, unsigned int div) in mcp_set_telecom_divisor()
77 void mcp_set_audio_divisor(struct mcp *mcp, unsigned int div) in mcp_set_audio_divisor()
96 void mcp_reg_write(struct mcp *mcp, unsigned int reg, unsigned int val) in mcp_reg_write()
114 unsigned int mcp_reg_read(struct mcp *mcp, unsigned int reg) in mcp_reg_read()
134 void mcp_enable(struct mcp *mcp) in mcp_enable()
153 void mcp_disable(struct mcp *mcp) in mcp_disable()
166 struct mcp *mcp = container_of(dev, struct mcp, attached_device); in mcp_release() local
173 struct mcp *mcp; in mcp_host_alloc() local
[all …]
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
238 struct mcp *mcp = platform_get_drvdata(dev); in mcp_sa11x0_remove() local
Ducb1x00-core.c492 static int ucb1x00_probe(struct mcp *mcp) in ucb1x00_probe()
611 static void ucb1x00_remove(struct mcp *mcp) in ucb1x00_remove()
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_mbx.c100 qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp) in qla2x00_mailbox_command()
591 mbx_cmd_t *mcp = &mc; in qla2x00_load_ram() local
659 mbx_cmd_t *mcp = &mc; in qla2x00_execute_fw() local
797 mbx_cmd_t *mcp = &mc; in qla_get_exlogin_status() local
853 mbx_cmd_t *mcp = &mc; in qla_set_exlogin_mem_cfg() local
907 mbx_cmd_t *mcp = &mc; in qla_get_exchoffld_status() local
963 mbx_cmd_t *mcp = &mc; in qla_set_exchoffld_mem_cfg() local
1015 mbx_cmd_t *mcp = &mc; in qla2x00_get_fw_version() local
1177 mbx_cmd_t *mcp = &mc; in qla2x00_get_fw_options() local
1225 mbx_cmd_t *mcp = &mc; in qla2x00_set_fw_options() local
[all …]
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
Dqla_def.h4276 mbx_cmd_t *mcp; member
/Linux-v5.10/drivers/pinctrl/
Dpinctrl-mcp23s08.c136 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read()
141 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write()
146 static int mcp_set_mask(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_mask()
154 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit()
223 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get() local
247 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set() local
280 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input() local
292 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get() local
310 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set()
317 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_set() local
[all …]
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()
Dpinctrl-mcp23s08_i2c.c15 struct mcp23s08 *mcp; in mcp230xx_probe() local
/Linux-v5.10/drivers/hid/
Dhid-mcp2221.c109 static int mcp_send_report(struct mcp2221 *mcp, in mcp_send_report()
133 static int mcp_send_data_req_status(struct mcp2221 *mcp, in mcp_send_data_req_status()
154 static int mcp_chk_last_cmd_status(struct mcp2221 *mcp) in mcp_chk_last_cmd_status()
163 static int mcp_cancel_last_cmd(struct mcp2221 *mcp) in mcp_cancel_last_cmd()
172 static int mcp_set_i2c_speed(struct mcp2221 *mcp) in mcp_set_i2c_speed()
199 static int mcp_i2c_write(struct mcp2221 *mcp, in mcp_i2c_write()
257 static int mcp_i2c_smbus_read(struct mcp2221 *mcp, in mcp_i2c_smbus_read()
307 struct mcp2221 *mcp = i2c_get_adapdata(adapter); in mcp_i2c_xfer() local
362 static int mcp_smbus_write(struct mcp2221 *mcp, u16 addr, in mcp_smbus_write()
413 struct mcp2221 *mcp = i2c_get_adapdata(adapter); in mcp_smbus_xfer() local
[all …]
/Linux-v5.10/drivers/regulator/
Dmcp16502.c130 static void mcp16502_gpio_set_mode(struct mcp16502 *mcp, int mode) in mcp16502_gpio_set_mode()
436 struct mcp16502 *mcp; in mcp16502_probe() local
483 struct mcp16502 *mcp = i2c_get_clientdata(client); in mcp16502_suspend_noirq() local
493 struct mcp16502 *mcp = i2c_get_clientdata(client); in mcp16502_resume_noirq() local
/Linux-v5.10/arch/powerpc/kernel/
Dsignal_32.c851 struct mcontext __user *mcp; in do_setcontext() local
883 struct mcontext __user *mcp; in do_setcontext_tm() local
921 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE3() local
1041 struct mcontext __user *mcp; in COMPAT_SYSCALL_DEFINE0() local
1317 struct mcontext __user *mcp, *tm_mcp; in COMPAT_SYSCALL_DEFINE0() local
/Linux-v5.10/drivers/net/
Deql.c543 static int eql_g_master_cfg(struct net_device *dev, master_config_t __user *mcp) in eql_g_master_cfg()
561 static int eql_s_master_cfg(struct net_device *dev, master_config_t __user *mcp) in eql_s_master_cfg()
/Linux-v5.10/arch/sparc/kernel/
Dsignal_64.c146 mcontext_t __user *mcp; in sparc64_get_context() local