/linux/drivers/acpi/ |
A D | ec.c | 230 #define ec_dbg_ref(ec, fmt, ...) \ argument 1006 struct acpi_ec *ec = first_ec; in acpi_ec_block_transactions() local 1350 struct acpi_ec *ec = context; in acpi_ec_register_query_methods() local 1366 struct acpi_ec *ec = context; in ec_parse_device() local 1573 struct acpi_ec *ec; in acpi_ec_add() local 1646 struct acpi_ec *ec; in acpi_ec_remove() local 1665 struct acpi_ec *ec = context; in ec_parse_io_ports() local 1698 struct acpi_ec *ec; in acpi_ec_dsdt_probe() local 1900 struct acpi_ec *ec; in acpi_ec_ecdt_probe() local 1962 struct acpi_ec *ec = in acpi_ec_suspend() local [all …]
|
/linux/arch/arm/mach-rpc/ |
A D | ecard.c | 58 ecard_t *ec; member 121 struct expansion_card *ec = req->ec; in ecard_task_reset() local 135 struct expansion_card *ec = req->ec; in ecard_task_readbytes() local 466 ecard_t *ec = slot_to_ecard(fiqnr); in ecard_enablefiq() local 482 ecard_t *ec = slot_to_ecard(fiqnr); in ecard_disablefiq() local 495 ecard_t *ec; in ecard_dump_irq_state() local 558 ecard_t *ec; in ecard_irq_handler() local 652 ecard_t *ec = cards; in ecard_devices_proc_show() local 670 #define ec_set_resource(ec,nr,st,sz) \ argument 691 struct expansion_card *ec; in ecard_alloc_card() local [all …]
|
/linux/drivers/edac/ |
A D | mce_amd.c | 528 static bool k8_mc0_mce(u16 ec, u8 xec) in k8_mc0_mce() 538 static bool cat_mc0_mce(u16 ec, u8 xec) in cat_mc0_mce() 645 u16 ec = EC(m->status); in decode_mc0_mce() local 664 static bool k8_mc1_mce(u16 ec, u8 xec) in k8_mc1_mce() 698 static bool cat_mc1_mce(u16 ec, u8 xec) in cat_mc1_mce() 755 u16 ec = EC(m->status); in decode_mc1_mce() local 783 static bool k8_mc2_mce(u16 ec, u8 xec) in k8_mc2_mce() 901 u16 ec = EC(m->status); in decode_mc2_mce() local 912 u16 ec = EC(m->status); in decode_mc3_mce() local 943 u16 ec = EC(m->status); in decode_mc4_mce() local [all …]
|
/linux/drivers/md/ |
A D | dm-ebs-target.c | 120 static int __ebs_rw_bio(struct ebs_c *ec, int rw, struct bio *bio) in __ebs_rw_bio() 141 static int __ebs_discard_bio(struct ebs_c *ec, struct bio *bio) in __ebs_discard_bio() 165 static void __ebs_forget_bio(struct ebs_c *ec, struct bio *bio) in __ebs_forget_bio() 180 struct ebs_c *ec = container_of(ws, struct ebs_c, ws); in __ebs_process_bios() local 251 struct ebs_c *ec; in ebs_ctr() local 348 struct ebs_c *ec = ti->private; in ebs_dtr() local 361 struct ebs_c *ec = ti->private; in ebs_map() local 394 struct ebs_c *ec = ti->private; in ebs_status() local 412 struct ebs_c *ec = ti->private; in ebs_prepare_ioctl() local 424 struct ebs_c *ec = ti->private; in ebs_io_hints() local [all …]
|
/linux/drivers/misc/echo/ |
A D | echo.c | 106 static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift) in lms_adapt_bg() 145 struct oslec_state *ec; in oslec_create() local 209 void oslec_free(struct oslec_state *ec) in oslec_free() 222 void oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) in oslec_adaption_mode() 228 void oslec_flush(struct oslec_state *ec) in oslec_flush() 254 void oslec_snapshot(struct oslec_state *ec) in oslec_snapshot() 262 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) in oslec_update() 554 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx) in oslec_hpf_tx()
|
/linux/drivers/platform/olpc/ |
A D | olpc-ec.c | 113 struct olpc_ec_priv *ec) in queue_ec_descriptor() 128 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_cmd() local 167 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_wakeup_set() local 178 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_wakeup_clear() local 189 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_mask_write() local 222 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_sci_query() local 370 struct olpc_ec_priv *ec = rdev_get_drvdata(rdev); in dcon_regulator_enable() local 377 struct olpc_ec_priv *ec = rdev_get_drvdata(rdev); in dcon_regulator_disable() local 384 struct olpc_ec_priv *ec = rdev_get_drvdata(rdev); in dcon_regulator_is_enabled() local 406 struct olpc_ec_priv *ec; in olpc_ec_probe() local [all …]
|
/linux/crypto/ |
A D | jitterentropy.c | 133 static void jent_apt_reset(struct rand_data *ec, unsigned int delta_masked) in jent_apt_reset() 191 static void jent_rct_insert(struct rand_data *ec, int stuck) in jent_rct_insert() 235 static int jent_rct_failure(struct rand_data *ec) in jent_rct_failure() 264 static int jent_stuck(struct rand_data *ec, __u64 current_delta) in jent_stuck() 300 static int jent_health_failure(struct rand_data *ec) in jent_health_failure() 325 static __u64 jent_loop_shuffle(struct rand_data *ec, in jent_loop_shuffle() 462 static void jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess() 516 static int jent_measure_jitter(struct rand_data *ec) in jent_measure_jitter() 548 static void jent_gen_entropy(struct rand_data *ec) in jent_gen_entropy() 592 int jent_read_entropy(struct rand_data *ec, unsigned char *data, in jent_read_entropy() [all …]
|
A D | sm2.c | 63 static int sm2_ec_ctx_init(struct mpi_ec_ctx *ec) in sm2_ec_ctx_init() 123 static void sm2_ec_ctx_deinit(struct mpi_ec_ctx *ec) in sm2_ec_ctx_deinit() 243 MPI_POINT point, struct mpi_ec_ctx *ec, unsigned int pbytes) in sm2_z_digest_update_point() 265 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_compute_z_digest() local 296 static int _sm2_verify(struct mpi_ec_ctx *ec, MPI hash, MPI sig_r, MPI sig_s) in _sm2_verify() 351 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_verify() local 393 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_set_pub_key() local 417 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_init_tfm() local 424 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_exit_tfm() local
|
/linux/drivers/ata/ |
A D | pata_icside.c | 64 struct expansion_card *ec; member 86 static void pata_icside_irqenable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v5() 96 static void pata_icside_irqdisable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_arcin_v5() 113 static void pata_icside_irqenable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v6() 138 static int pata_icside_irqpending_arcin_v6(struct expansion_card *ec) in pata_icside_irqpending_arcin_v6() 284 struct expansion_card *ec = info->ec; in icside_dma_init() local 402 struct expansion_card *ec = info->ec; in pata_icside_register_v6() local 444 struct expansion_card *ec = info->ec; in pata_icside_add_ports() local 482 static int pata_icside_probe(struct expansion_card *ec, in pata_icside_probe() 557 static void pata_icside_shutdown(struct expansion_card *ec) in pata_icside_shutdown() [all …]
|
/linux/drivers/platform/chrome/wilco_ec/ |
A D | keyboard_leds.c | 22 struct wilco_ec_device *ec; member 55 static int send_kbbl_msg(struct wilco_ec_device *ec, in send_kbbl_msg() 79 static int set_kbbl(struct wilco_ec_device *ec, enum led_brightness brightness) in set_kbbl() 105 static int kbbl_exist(struct wilco_ec_device *ec, bool *exists) in kbbl_exist() 134 static int kbbl_init(struct wilco_ec_device *ec) in kbbl_init() 173 int wilco_keyboard_leds_init(struct wilco_ec_device *ec) in wilco_keyboard_leds_init()
|
A D | properties.c | 34 static int send_property_msg(struct wilco_ec_device *ec, in send_property_msg() 59 int wilco_ec_get_property(struct wilco_ec_device *ec, in wilco_ec_get_property() 81 int wilco_ec_set_property(struct wilco_ec_device *ec, in wilco_ec_set_property() 104 int wilco_ec_get_byte_property(struct wilco_ec_device *ec, u32 property_id, in wilco_ec_get_byte_property() 124 int wilco_ec_set_byte_property(struct wilco_ec_device *ec, u32 property_id, in wilco_ec_set_byte_property()
|
A D | sysfs.c | 73 struct wilco_ec_device *ec = dev_get_drvdata(dev); in boot_on_ac_store() local 105 struct wilco_ec_device *ec = dev_get_drvdata(dev); in get_info() local 158 static int send_usb_charge(struct wilco_ec_device *ec, in send_usb_charge() 183 struct wilco_ec_device *ec = dev_get_drvdata(dev); in usb_charge_show() local 203 struct wilco_ec_device *ec = dev_get_drvdata(dev); in usb_charge_store() local 243 int wilco_ec_add_sysfs(struct wilco_ec_device *ec) in wilco_ec_add_sysfs() 248 void wilco_ec_remove_sysfs(struct wilco_ec_device *ec) in wilco_ec_remove_sysfs()
|
A D | mailbox.c | 53 static bool wilco_ec_response_timed_out(struct wilco_ec_device *ec) in wilco_ec_response_timed_out() 115 static int wilco_ec_transfer(struct wilco_ec_device *ec, in wilco_ec_transfer() 196 int wilco_ec_mailbox(struct wilco_ec_device *ec, struct wilco_ec_message *msg) in wilco_ec_mailbox()
|
A D | core.c | 40 struct wilco_ec_device *ec; in wilco_ec_probe() local 138 struct wilco_ec_device *ec = platform_get_drvdata(pdev); in wilco_ec_remove() local
|
/linux/drivers/platform/chrome/ |
A D | cros_ec_lightbar.c | 85 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg() 105 static int get_lightbar_version(struct cros_ec_dev *ec, in get_lightbar_version() 160 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in version_show() local 182 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in brightness_store() local 221 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in led_rgb_store() local 290 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_show() local 321 static int lb_send_empty_cmd(struct cros_ec_dev *ec, uint8_t cmd) in lb_send_empty_cmd() 349 static int lb_manual_suspend_ctrl(struct cros_ec_dev *ec, uint8_t enable) in lb_manual_suspend_ctrl() 386 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_store() local 429 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in program_store() local
|
A D | cros_ec_sysfs.c | 60 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in reboot_store() local 121 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in version_show() local 213 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in flashinfo_show() local 244 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in kb_wake_angle_show() local 277 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in kb_wake_angle_store() local 325 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in cros_ec_ctrl_visible() local
|
A D | cros_ec_sensorhub.c | 54 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register() local 127 struct cros_ec_dev *ec = dev_get_drvdata(dev->parent); in cros_ec_sensorhub_probe() local 228 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_suspend() local 238 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_resume() local
|
A D | cros_ec_debugfs.c | 41 struct cros_ec_dev *ec; member 63 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_console_log_work() local 315 static int ec_read_version_supported(struct cros_ec_dev *ec) in ec_read_version_supported() 346 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_create_console_log() local 442 struct cros_ec_dev *ec = dev_get_drvdata(pd->dev.parent); in cros_ec_debugfs_probe() local 486 struct cros_ec_dev *ec = dev_get_drvdata(pd->dev.parent); in cros_ec_debugfs_remove() local 496 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_suspend() local 506 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_resume() local
|
/linux/drivers/iio/proximity/ |
A D | cros_ec_mkbp_proximity.c | 27 struct cros_ec_device *ec; member 103 struct cros_ec_device *ec = data->ec; in cros_ec_mkbp_proximity_push_event() local 127 struct cros_ec_device *ec = _ec; in cros_ec_mkbp_proximity_notify() local 149 struct cros_ec_device *ec = data->ec; in cros_ec_mkbp_proximity_read_raw() local 190 struct cros_ec_device *ec = data->ec; in cros_ec_mkbp_proximity_resume() local 210 struct cros_ec_device *ec = dev_get_drvdata(dev->parent); in cros_ec_mkbp_proximity_probe() local 245 struct cros_ec_device *ec = data->ec; in cros_ec_mkbp_proximity_remove() local
|
/linux/drivers/scsi/arm/ |
A D | powertec.c | 58 struct expansion_card *ec; member 70 powertecscsi_irqenable(struct expansion_card *ec, int irqnr) in powertecscsi_irqenable() 82 powertecscsi_irqdisable(struct expansion_card *ec, int irqnr) in powertecscsi_irqdisable() 256 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_show_term() local 266 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_store_term() local 298 static int powertecscsi_probe(struct expansion_card *ec, in powertecscsi_probe() 398 static void powertecscsi_remove(struct expansion_card *ec) in powertecscsi_remove()
|
A D | eesox.c | 70 struct expansion_card *ec; member 83 eesoxscsi_irqenable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqenable() 98 eesoxscsi_irqdisable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqdisable() 441 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_show_term() local 450 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_store_term() local 491 static int eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id) in eesoxscsi_probe() 592 static void eesoxscsi_remove(struct expansion_card *ec) in eesoxscsi_remove()
|
A D | cumana_2.c | 75 struct expansion_card *ec; member 90 cumanascsi_2_irqenable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqenable() 102 cumanascsi_2_irqdisable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqdisable() 374 static int cumanascsi2_probe(struct expansion_card *ec, in cumanascsi2_probe() 472 static void cumanascsi2_remove(struct expansion_card *ec) in cumanascsi2_remove()
|
/linux/drivers/pwm/ |
A D | pwm-cros-ec.c | 24 struct cros_ec_device *ec; member 61 static int cros_ec_pwm_set_duty(struct cros_ec_device *ec, u8 index, u16 duty) in cros_ec_pwm_set_duty() 84 static int cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index) in cros_ec_pwm_get_duty() 207 static int cros_ec_num_pwms(struct cros_ec_device *ec) in cros_ec_num_pwms() 237 struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent); in cros_ec_pwm_probe() local
|
/linux/sound/soc/tegra/ |
A D | tegra210_admaif.c | 432 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pget_mono_to_stereo() local 445 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pput_mono_to_stereo() local 461 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cget_mono_to_stereo() local 474 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cput_mono_to_stereo() local 490 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pget_stereo_to_mono() local 503 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pput_stereo_to_mono() local 519 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cget_stereo_to_mono() local 532 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cput_stereo_to_mono() local
|
/linux/drivers/power/supply/ |
A D | wilco-charger.c | 90 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_get_property() local 127 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_set_property() local 171 struct wilco_ec_device *ec = dev_get_drvdata(pdev->dev.parent); in wilco_charge_probe() local
|