/Linux-v5.4/drivers/acpi/ |
D | ec.c | 230 #define ec_dbg_ref(ec, fmt, ...) \ argument 237 static bool acpi_ec_started(struct acpi_ec *ec) in acpi_ec_started() 243 static bool acpi_ec_event_enabled(struct acpi_ec *ec) in acpi_ec_event_enabled() 267 static bool acpi_ec_flushed(struct acpi_ec *ec) in acpi_ec_flushed() 276 static inline u8 acpi_ec_read_status(struct acpi_ec *ec) in acpi_ec_read_status() 291 static inline u8 acpi_ec_read_data(struct acpi_ec *ec) in acpi_ec_read_data() 300 static inline void acpi_ec_write_cmd(struct acpi_ec *ec, u8 command) in acpi_ec_write_cmd() 307 static inline void acpi_ec_write_data(struct acpi_ec *ec, u8 data) in acpi_ec_write_data() 339 static inline bool acpi_ec_is_gpe_raised(struct acpi_ec *ec) in acpi_ec_is_gpe_raised() 347 static inline void acpi_ec_enable_gpe(struct acpi_ec *ec, bool open) in acpi_ec_enable_gpe() [all …]
|
/Linux-v5.4/arch/arm/mach-rpc/ |
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 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-v5.4/drivers/edac/ |
D | mce_amd.c | 401 static bool f12h_mc0_mce(u16 ec, u8 xec) in f12h_mc0_mce() 419 static bool f10h_mc0_mce(u16 ec, u8 xec) in f10h_mc0_mce() 428 static bool k8_mc0_mce(u16 ec, u8 xec) in k8_mc0_mce() 438 static bool cat_mc0_mce(u16 ec, u8 xec) in cat_mc0_mce() 490 static bool f15h_mc0_mce(u16 ec, u8 xec) in f15h_mc0_mce() 545 u16 ec = EC(m->status); in decode_mc0_mce() local 564 static bool k8_mc1_mce(u16 ec, u8 xec) in k8_mc1_mce() 598 static bool cat_mc1_mce(u16 ec, u8 xec) in cat_mc1_mce() 623 static bool f15h_mc1_mce(u16 ec, u8 xec) in f15h_mc1_mce() 655 u16 ec = EC(m->status); in decode_mc1_mce() local [all …]
|
/Linux-v5.4/drivers/misc/echo/ |
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-v5.4/drivers/ide/ |
D | icside.c | 88 static void icside_irqenable_arcin_v5 (struct expansion_card *ec, int irqnr) in icside_irqenable_arcin_v5() 98 static void icside_irqdisable_arcin_v5 (struct expansion_card *ec, int irqnr) in icside_irqdisable_arcin_v5() 115 static void icside_irqenable_arcin_v6 (struct expansion_card *ec, int irqnr) in icside_irqenable_arcin_v6() 137 static void icside_irqdisable_arcin_v6 (struct expansion_card *ec, int irqnr) in icside_irqdisable_arcin_v6() 150 static int icside_irqpending_arcin_v6(struct expansion_card *ec) in icside_irqpending_arcin_v6() 171 struct expansion_card *ec = ECARD_DEV(hwif->dev); in icside_maskproc() local 292 struct expansion_card *ec = ECARD_DEV(hwif->dev); in icside_dma_end() local 302 struct expansion_card *ec = ECARD_DEV(hwif->dev); in icside_dma_start() local 312 struct expansion_card *ec = ECARD_DEV(hwif->dev); in icside_dma_setup() local 354 struct expansion_card *ec = ECARD_DEV(hwif->dev); in icside_dma_test_irq() local [all …]
|
/Linux-v5.4/drivers/platform/olpc/ |
D | olpc-ec.c | 80 struct olpc_ec_priv *ec = container_of(w, struct olpc_ec_priv, worker); in olpc_ec_worker() local 114 struct olpc_ec_priv *ec) in queue_ec_descriptor() 129 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_cmd() local 168 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_wakeup_set() local 179 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_wakeup_clear() local 190 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_mask_write() local 223 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_sci_query() local 353 static int olpc_ec_set_dcon_power(struct olpc_ec_priv *ec, bool state) in olpc_ec_set_dcon_power() 371 struct olpc_ec_priv *ec = rdev_get_drvdata(rdev); in dcon_regulator_enable() local 378 struct olpc_ec_priv *ec = rdev_get_drvdata(rdev); in dcon_regulator_disable() local [all …]
|
/Linux-v5.4/crypto/ |
D | jitterentropy.c | 125 static __u64 jent_loop_shuffle(struct rand_data *ec, in jent_loop_shuffle() 185 static __u64 jent_lfsr_time(struct rand_data *ec, __u64 time, __u64 loop_cnt) in jent_lfsr_time() 260 static unsigned int jent_memaccess(struct rand_data *ec, __u64 loop_cnt) in jent_memaccess() 319 static int jent_stuck(struct rand_data *ec, __u64 current_delta) in jent_stuck() 347 static int jent_measure_jitter(struct rand_data *ec) in jent_measure_jitter() 377 static void jent_gen_entropy(struct rand_data *ec) in jent_gen_entropy() 406 static void jent_fips_test(struct rand_data *ec) in jent_fips_test() 445 int jent_read_entropy(struct rand_data *ec, unsigned char *data, in jent_read_entropy() 524 struct rand_data ec = { 0 }; in jent_entropy_init() local
|
/Linux-v5.4/drivers/ata/ |
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() 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() 279 struct expansion_card *ec = info->ec; in icside_dma_init() local 397 struct expansion_card *ec = info->ec; in pata_icside_register_v6() local 439 struct expansion_card *ec = info->ec; in pata_icside_add_ports() local 477 static int pata_icside_probe(struct expansion_card *ec, in pata_icside_probe() [all …]
|
/Linux-v5.4/drivers/platform/chrome/ |
D | cros_ec_lightbar.c | 86 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg() 106 static int get_lightbar_version(struct cros_ec_dev *ec, in get_lightbar_version() 159 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in version_show() local 181 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in brightness_store() local 225 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in led_rgb_store() local 297 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_show() local 331 static int lb_send_empty_cmd(struct cros_ec_dev *ec, uint8_t cmd) in lb_send_empty_cmd() 362 static int lb_manual_suspend_ctrl(struct cros_ec_dev *ec, uint8_t enable) in lb_manual_suspend_ctrl() 402 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_store() local 450 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in program_store() local
|
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 219 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in flashinfo_show() local 250 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in kb_wake_angle_show() local 283 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in kb_wake_angle_store() local 331 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in cros_ec_ctrl_visible() local
|
D | cros_ec_debugfs.c | 42 struct cros_ec_dev *ec; member 64 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_console_log_work() local 297 static int ec_read_version_supported(struct cros_ec_dev *ec) in ec_read_version_supported() 328 struct cros_ec_dev *ec = debug_info->ec; in cros_ec_create_console_log() local 424 struct cros_ec_dev *ec = dev_get_drvdata(pd->dev.parent); in cros_ec_debugfs_probe() local 467 struct cros_ec_dev *ec = dev_get_drvdata(pd->dev.parent); in cros_ec_debugfs_remove() local 477 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_suspend() local 487 struct cros_ec_dev *ec = dev_get_drvdata(dev); in cros_ec_debugfs_resume() local
|
/Linux-v5.4/drivers/pwm/ |
D | pwm-cros-ec.c | 24 struct cros_ec_device *ec; member 33 static int cros_ec_pwm_set_duty(struct cros_ec_device *ec, u8 index, u16 duty) in cros_ec_pwm_set_duty() 56 static int __cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index, in __cros_ec_pwm_get_duty() 90 static int cros_ec_pwm_get_duty(struct cros_ec_device *ec, u8 index) in cros_ec_pwm_get_duty() 157 static int cros_ec_num_pwms(struct cros_ec_device *ec) in cros_ec_num_pwms() 187 struct cros_ec_device *ec = dev_get_drvdata(pdev->dev.parent); in cros_ec_pwm_probe() local
|
/Linux-v5.4/drivers/platform/chrome/wilco_ec/ |
D | properties.c | 31 static int send_property_msg(struct wilco_ec_device *ec, in send_property_msg() 56 int wilco_ec_get_property(struct wilco_ec_device *ec, in wilco_ec_get_property() 78 int wilco_ec_set_property(struct wilco_ec_device *ec, in wilco_ec_set_property() 101 int wilco_ec_get_byte_property(struct wilco_ec_device *ec, u32 property_id, in wilco_ec_get_byte_property() 121 int wilco_ec_set_byte_property(struct wilco_ec_device *ec, u32 property_id, in wilco_ec_set_byte_property()
|
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()
|
D | sysfs.c | 49 struct wilco_ec_device *ec = dev_get_drvdata(dev); in boot_on_ac_store() local 81 struct wilco_ec_device *ec = dev_get_drvdata(dev); in get_info() local 148 int wilco_ec_add_sysfs(struct wilco_ec_device *ec) in wilco_ec_add_sysfs() 153 void wilco_ec_remove_sysfs(struct wilco_ec_device *ec) in wilco_ec_remove_sysfs()
|
D | core.c | 44 struct wilco_ec_device *ec; in wilco_ec_probe() local 121 struct wilco_ec_device *ec = platform_get_drvdata(pdev); in wilco_ec_remove() local
|
/Linux-v5.4/drivers/scsi/arm/ |
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() 255 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_show_term() local 265 struct expansion_card *ec = ECARD_DEV(dev); in powertecscsi_store_term() local 297 static int powertecscsi_probe(struct expansion_card *ec, in powertecscsi_probe() 397 static void powertecscsi_remove(struct expansion_card *ec) in powertecscsi_remove()
|
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() 440 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_show_term() local 449 struct expansion_card *ec = ECARD_DEV(dev); in eesoxscsi_store_term() local 489 static int eesoxscsi_probe(struct expansion_card *ec, const struct ecard_id *id) in eesoxscsi_probe() 590 static void eesoxscsi_remove(struct expansion_card *ec) in eesoxscsi_remove()
|
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() 370 static int cumanascsi2_probe(struct expansion_card *ec, in cumanascsi2_probe() 468 static void cumanascsi2_remove(struct expansion_card *ec) in cumanascsi2_remove()
|
D | arxescsi.c | 44 struct expansion_card *ec; member 253 static int arxescsi_probe(struct expansion_card *ec, const struct ecard_id *id) in arxescsi_probe() 316 static void arxescsi_remove(struct expansion_card *ec) in arxescsi_remove()
|
/Linux-v5.4/drivers/mfd/ |
D | cros_ec_dev.c | 115 static int cros_ec_check_features(struct cros_ec_dev *ec, int feature) in cros_ec_check_features() 152 static void cros_ec_sensors_register(struct cros_ec_dev *ec) in cros_ec_sensors_register() 292 static void cros_ec_accel_legacy_register(struct cros_ec_dev *ec) in cros_ec_accel_legacy_register() 344 struct cros_ec_dev *ec = kzalloc(sizeof(*ec), GFP_KERNEL); in ec_device_probe() local 446 struct cros_ec_dev *ec = dev_get_drvdata(&pdev->dev); in ec_device_remove() local
|
/Linux-v5.4/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors_core.c | 91 struct cros_ec_dev *ec = dev_get_drvdata(pdev->dev.parent); in cros_ec_sensors_core_init() local 275 static int cros_ec_sensors_cmd_read_u8(struct cros_ec_device *ec, in cros_ec_sensors_cmd_read_u8() 281 static int cros_ec_sensors_cmd_read_u16(struct cros_ec_device *ec, in cros_ec_sensors_cmd_read_u16() 304 struct cros_ec_device *ec = st->ec; in cros_ec_sensors_read_until_not_busy() local 345 struct cros_ec_device *ec = st->ec; in cros_ec_sensors_read_data_unsafe() local 379 struct cros_ec_device *ec = st->ec; in cros_ec_sensors_read_lpc() local
|
/Linux-v5.4/drivers/power/supply/ |
D | wilco-charger.c | 85 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_get_property() local 122 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_set_property() local 166 struct wilco_ec_device *ec = dev_get_drvdata(pdev->dev.parent); in wilco_charge_probe() local
|
/Linux-v5.4/drivers/mtd/ubi/ |
D | attach.c | 179 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-v5.4/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 642 struct ethtool_coalesce *ec, int queue) in __iavf_get_coalesce() 685 struct ethtool_coalesce *ec) in iavf_get_coalesce() 699 struct ethtool_coalesce *ec) in iavf_get_per_queue_coalesce() 713 struct ethtool_coalesce *ec, int queue) in iavf_set_itr_per_queue() 751 struct ethtool_coalesce *ec, int queue) in __iavf_set_coalesce() 801 struct ethtool_coalesce *ec) in iavf_set_coalesce() 815 struct ethtool_coalesce *ec) in iavf_set_per_queue_coalesce()
|