Home
last modified time | relevance | path

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

1234567

/Linux-v6.1/drivers/acpi/
Dec.c167 struct acpi_ec *ec; member
227 #define ec_dbg_ref(ec, fmt, ...) \ argument
234 static bool acpi_ec_started(struct acpi_ec *ec) in acpi_ec_started()
240 static bool acpi_ec_event_enabled(struct acpi_ec *ec) in acpi_ec_event_enabled()
264 static bool acpi_ec_flushed(struct acpi_ec *ec) in acpi_ec_flushed()
273 static inline u8 acpi_ec_read_status(struct acpi_ec *ec) in acpi_ec_read_status()
288 static inline u8 acpi_ec_read_data(struct acpi_ec *ec) in acpi_ec_read_data()
297 static inline void acpi_ec_write_cmd(struct acpi_ec *ec, u8 command) in acpi_ec_write_cmd()
304 static inline void acpi_ec_write_data(struct acpi_ec *ec, u8 data) in acpi_ec_write_data()
336 static inline bool acpi_ec_gpe_status_set(struct acpi_ec *ec) in acpi_ec_gpe_status_set()
[all …]
/Linux-v6.1/arch/arm/mach-rpc/
Decard.c58 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
312 ecard_readbytes(void *addr, ecard_t *ec, int off, int len, int useld) in ecard_readbytes()
326 int ecard_readchunk(struct in_chunk_dir *cd, ecard_t *ec, int id, int num) in ecard_readchunk()
385 static void ecard_def_irq_enable(ecard_t *ec, int irqnr) in ecard_def_irq_enable()
389 static void ecard_def_irq_disable(ecard_t *ec, int irqnr) in ecard_def_irq_disable()
393 static int ecard_def_irq_pending(ecard_t *ec) in ecard_def_irq_pending()
398 static void ecard_def_fiq_enable(ecard_t *ec, int fiqnr) in ecard_def_fiq_enable()
403 static void ecard_def_fiq_disable(ecard_t *ec, int fiqnr) in ecard_def_fiq_disable()
[all …]
/Linux-v6.1/drivers/edac/
Dmce_amd.c622 static bool f12h_mc0_mce(u16 ec, u8 xec) in f12h_mc0_mce()
640 static bool f10h_mc0_mce(u16 ec, u8 xec) in f10h_mc0_mce()
649 static bool k8_mc0_mce(u16 ec, u8 xec) in k8_mc0_mce()
659 static bool cat_mc0_mce(u16 ec, u8 xec) in cat_mc0_mce()
711 static bool f15h_mc0_mce(u16 ec, u8 xec) in f15h_mc0_mce()
766 u16 ec = EC(m->status); in decode_mc0_mce() local
785 static bool k8_mc1_mce(u16 ec, u8 xec) in k8_mc1_mce()
819 static bool cat_mc1_mce(u16 ec, u8 xec) in cat_mc1_mce()
844 static bool f15h_mc1_mce(u16 ec, u8 xec) in f15h_mc1_mce()
876 u16 ec = EC(m->status); in decode_mc1_mce() local
[all …]
/Linux-v6.1/drivers/md/
Ddm-ebs-target.c36 static inline sector_t __sector_to_block(struct ebs_c *ec, sector_t sector) in __sector_to_block()
47 static inline unsigned int __nr_blocks(struct ebs_c *ec, struct bio *bio) in __nr_blocks()
64 static int __ebs_rw_bvec(struct ebs_c *ec, enum req_op op, struct bio_vec *bv, in __ebs_rw_bvec()
121 static int __ebs_rw_bio(struct ebs_c *ec, enum req_op op, struct bio *bio) in __ebs_rw_bio()
142 static int __ebs_discard_bio(struct ebs_c *ec, struct bio *bio) in __ebs_discard_bio()
166 static void __ebs_forget_bio(struct ebs_c *ec, struct bio *bio) in __ebs_forget_bio()
181 struct ebs_c *ec = container_of(ws, struct ebs_c, ws); in __ebs_process_bios() local
252 struct ebs_c *ec; in ebs_ctr() local
349 struct ebs_c *ec = ti->private; in ebs_dtr() local
362 struct ebs_c *ec = ti->private; in ebs_map() local
[all …]
/Linux-v6.1/drivers/misc/echo/
Decho.c106 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-v6.1/drivers/platform/olpc/
Dolpc-ec.c79 struct olpc_ec_priv *ec = container_of(w, struct olpc_ec_priv, worker); in olpc_ec_worker() local
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
352 static int olpc_ec_set_dcon_power(struct olpc_ec_priv *ec, bool state) in olpc_ec_set_dcon_power()
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
[all …]
/Linux-v6.1/crypto/
Djitterentropy.c149 static void jent_apt_reset(struct rand_data *ec, unsigned int delta_masked) in jent_apt_reset()
163 static void jent_apt_insert(struct rand_data *ec, unsigned int delta_masked) in jent_apt_insert()
207 static void jent_rct_insert(struct rand_data *ec, int stuck) in jent_rct_insert()
251 static int jent_rct_failure(struct rand_data *ec) in jent_rct_failure()
280 static int jent_stuck(struct rand_data *ec, __u64 current_delta) in jent_stuck()
315 static int jent_health_failure(struct rand_data *ec) in jent_health_failure()
336 static __u64 jent_loop_shuffle(struct rand_data *ec, in jent_loop_shuffle()
392 static void jent_lfsr_time(struct rand_data *ec, __u64 time, __u64 loop_cnt, in jent_lfsr_time()
473 static void jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess()
527 static int jent_measure_jitter(struct rand_data *ec) in jent_measure_jitter()
[all …]
Dsm2.c63 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-v6.1/drivers/ata/
Dpata_icside.c64 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()
127 static void pata_icside_irqdisable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_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()
[all …]
/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_lightbar.c85 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
Dcros_ec_sysfs.c60 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
Dcros_ec_sensorhub.c54 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
Dcros_ec_debugfs.c43 struct cros_ec_dev *ec; member
64 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_console_log_work() local
316 static int ec_read_version_supported(struct cros_ec_dev *ec) in ec_read_version_supported()
347 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
489 struct cros_ec_dev *ec = dev_get_drvdata(pd->dev.parent); in cros_ec_debugfs_remove() local
499 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_suspend() local
509 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_resume() local
/Linux-v6.1/drivers/platform/chrome/wilco_ec/
Dkeyboard_leds.c22 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()
Dproperties.c34 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()
Dsysfs.c73 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()
Dmailbox.c53 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()
/Linux-v6.1/drivers/iio/proximity/
Dcros_ec_mkbp_proximity.c27 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-v6.1/drivers/scsi/arm/
Dpowertec.c62 struct expansion_card *ec; member
74 powertecscsi_irqenable(struct expansion_card *ec, int irqnr) in powertecscsi_irqenable()
86 powertecscsi_irqdisable(struct expansion_card *ec, int irqnr) in powertecscsi_irqdisable()
260 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_show_term() local
270 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_store_term() local
302 static int powertecscsi_probe(struct expansion_card *ec, in powertecscsi_probe()
402 static void powertecscsi_remove(struct expansion_card *ec) in powertecscsi_remove()
Deesox.c74 struct expansion_card *ec; member
87 eesoxscsi_irqenable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqenable()
102 eesoxscsi_irqdisable(struct expansion_card *ec, int irqnr) in eesoxscsi_irqdisable()
445 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_show_term() local
454 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_store_term() local
495 static int eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id) in eesoxscsi_probe()
596 static void eesoxscsi_remove(struct expansion_card *ec) in eesoxscsi_remove()
Dcumana_2.c79 struct expansion_card *ec; member
94 cumanascsi_2_irqenable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqenable()
106 cumanascsi_2_irqdisable(struct expansion_card *ec, int irqnr) in cumanascsi_2_irqdisable()
378 static int cumanascsi2_probe(struct expansion_card *ec, in cumanascsi2_probe()
476 static void cumanascsi2_remove(struct expansion_card *ec) in cumanascsi2_remove()
/Linux-v6.1/sound/soc/tegra/
Dtegra210_admaif.c432 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-v6.1/drivers/power/supply/
Dwilco-charger.c90 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
/Linux-v6.1/drivers/mtd/ubi/
Dattach.c179 int ec) in ubi_alloc_aeb()
230 int lnum, int ec, int to_head, struct list_head *list) in add_to_list()
268 static int add_corrupted(struct ubi_attach_info *ai, int pnum, int ec) in add_corrupted()
297 struct ubi_vid_hdr *vid_hdr, int ec) in add_fastmap()
564 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) in ubi_add_to_av()
772 const struct ubi_attach_info *ai, int pnum, int ec) in early_erase_peb()
947 long long ec; in scan_peb() local
/Linux-v6.1/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c247 struct cros_ec_dev *ec = sensor_hub->ec; in cros_ec_sensors_core_init() local
379 struct cros_ec_dev *ec = sensor_hub->ec; in cros_ec_sensors_core_register() local
511 static int cros_ec_sensors_cmd_read_u8(struct cros_ec_device *ec, in cros_ec_sensors_cmd_read_u8()
517 static int cros_ec_sensors_cmd_read_u16(struct cros_ec_device *ec, in cros_ec_sensors_cmd_read_u16()
540 struct cros_ec_device *ec = st->ec; in cros_ec_sensors_read_until_not_busy() local
581 struct cros_ec_device *ec = st->ec; in cros_ec_sensors_read_data_unsafe() local
615 struct cros_ec_device *ec = st->ec; in cros_ec_sensors_read_lpc() local

1234567