Home
last modified time | relevance | path

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

/Linux-v6.6/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.h123 struct mcp *mcp; member
/Linux-v6.6/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
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 …]
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
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-v6.6/drivers/scsi/qla2xxx/
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 …]
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_bsg.c2441 mbx_cmd_t *mcp = &mc; in qla2x00_do_dport_diagnostics_v2() local
Dqla_def.h4513 mbx_cmd_t *mcp; member
/Linux-v6.6/drivers/pinctrl/
Dpinctrl-mcp23s08.c138 static int mcp_read(struct mcp23s08 *mcp, unsigned int reg, unsigned int *val) in mcp_read()
143 static int mcp_write(struct mcp23s08 *mcp, unsigned int reg, unsigned int val) in mcp_write()
148 static int mcp_update_bits(struct mcp23s08 *mcp, unsigned int reg, in mcp_update_bits()
155 static int mcp_set_bit(struct mcp23s08 *mcp, unsigned int reg, in mcp_set_bit()
224 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_get() local
248 struct mcp23s08 *mcp = pinctrl_dev_get_drvdata(pctldev); in mcp_pinconf_set() local
281 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_direction_input() local
293 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get() local
314 struct mcp23s08 *mcp = gpiochip_get_data(chip); in mcp23s08_get_multiple() local
333 static int __mcp23s08_set(struct mcp23s08 *mcp, unsigned mask, bool value) in __mcp23s08_set()
[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.c16 struct mcp23s08 *mcp; in mcp230xx_probe() local
/Linux-v6.6/drivers/hid/
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 …]
/Linux-v6.6/drivers/regulator/
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
/Linux-v6.6/arch/powerpc/kernel/
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
/Linux-v6.6/drivers/net/
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()
/Linux-v6.6/arch/sparc/kernel/
Dsignal_64.c146 mcontext_t __user *mcp; in sparc64_get_context() local