• Home
  • Raw
  • Download

Lines Matching defs:ec

169 	struct acpi_ec *ec;  member
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()
366 static inline void acpi_ec_disable_gpe(struct acpi_ec *ec, bool close) in acpi_ec_disable_gpe()
376 static inline void acpi_ec_clear_gpe(struct acpi_ec *ec) in acpi_ec_clear_gpe()
397 static void acpi_ec_submit_request(struct acpi_ec *ec) in acpi_ec_submit_request()
405 static void acpi_ec_complete_request(struct acpi_ec *ec) in acpi_ec_complete_request()
418 static void acpi_ec_mask_events(struct acpi_ec *ec) in acpi_ec_mask_events()
431 static void acpi_ec_unmask_events(struct acpi_ec *ec) in acpi_ec_unmask_events()
455 static bool acpi_ec_submit_flushable_request(struct acpi_ec *ec) in acpi_ec_submit_flushable_request()
463 static void acpi_ec_submit_query(struct acpi_ec *ec) in acpi_ec_submit_query()
477 static void acpi_ec_complete_query(struct acpi_ec *ec) in acpi_ec_complete_query()
485 static inline void __acpi_ec_enable_event(struct acpi_ec *ec) in __acpi_ec_enable_event()
496 static inline void __acpi_ec_disable_event(struct acpi_ec *ec) in __acpi_ec_disable_event()
506 static void acpi_ec_clear(struct acpi_ec *ec) in acpi_ec_clear()
522 static void acpi_ec_enable_event(struct acpi_ec *ec) in acpi_ec_enable_event()
543 static void acpi_ec_disable_event(struct acpi_ec *ec) in acpi_ec_disable_event()
568 static bool acpi_ec_guard_event(struct acpi_ec *ec) in acpi_ec_guard_event()
597 static int ec_transaction_polled(struct acpi_ec *ec) in ec_transaction_polled()
609 static int ec_transaction_completed(struct acpi_ec *ec) in ec_transaction_completed()
621 static inline void ec_transaction_transition(struct acpi_ec *ec, unsigned long flag) in ec_transaction_transition()
637 static void advance_transaction(struct acpi_ec *ec) in advance_transaction()
719 static void start_transaction(struct acpi_ec *ec) in start_transaction()
725 static int ec_guard(struct acpi_ec *ec) in ec_guard()
760 static int ec_poll(struct acpi_ec *ec) in ec_poll()
783 static int acpi_ec_transaction_unlocked(struct acpi_ec *ec, in acpi_ec_transaction_unlocked()
818 static int acpi_ec_transaction(struct acpi_ec *ec, struct transaction *t) in acpi_ec_transaction()
846 static int acpi_ec_burst_enable(struct acpi_ec *ec) in acpi_ec_burst_enable()
856 static int acpi_ec_burst_disable(struct acpi_ec *ec) in acpi_ec_burst_disable()
866 static int acpi_ec_read(struct acpi_ec *ec, u8 address, u8 *data) in acpi_ec_read()
879 static int acpi_ec_write(struct acpi_ec *ec, u8 address, u8 data) in acpi_ec_write()
944 static void acpi_ec_start(struct acpi_ec *ec, bool resuming) in acpi_ec_start()
961 static bool acpi_ec_stopped(struct acpi_ec *ec) in acpi_ec_stopped()
972 static void acpi_ec_stop(struct acpi_ec *ec, bool suspending) in acpi_ec_stop()
996 static void acpi_ec_enter_noirq(struct acpi_ec *ec) in acpi_ec_enter_noirq()
1007 static void acpi_ec_leave_noirq(struct acpi_ec *ec) in acpi_ec_leave_noirq()
1020 struct acpi_ec *ec = first_ec; in acpi_ec_block_transactions() local
1045 acpi_ec_get_query_handler_by_value(struct acpi_ec *ec, u8 value) in acpi_ec_get_query_handler_by_value()
1074 int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, in acpi_ec_add_query_handler()
1096 static void acpi_ec_remove_query_handlers(struct acpi_ec *ec, in acpi_ec_remove_query_handlers()
1114 void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit) in acpi_ec_remove_query_handler()
1121 static struct acpi_ec_query *acpi_ec_create_query(struct acpi_ec *ec, u8 *pval) in acpi_ec_create_query()
1152 struct acpi_ec *ec = q->ec; in acpi_ec_event_processor() local
1170 static int acpi_ec_query(struct acpi_ec *ec, u8 *data) in acpi_ec_query()
1221 static void acpi_ec_check_event(struct acpi_ec *ec) in acpi_ec_check_event()
1242 struct acpi_ec *ec = container_of(work, struct acpi_ec, work); in acpi_ec_event_handler() local
1275 static void acpi_ec_handle_interrupt(struct acpi_ec *ec) in acpi_ec_handle_interrupt()
1306 struct acpi_ec *ec = handler_context; in acpi_ec_space_handler() local
1346 static void acpi_ec_free(struct acpi_ec *ec) in acpi_ec_free()
1357 struct acpi_ec *ec = kzalloc(sizeof(struct acpi_ec), GFP_KERNEL); in acpi_ec_alloc() local
1380 struct acpi_ec *ec = context; in acpi_ec_register_query_methods() local
1396 struct acpi_ec *ec = context; in ec_parse_device() local
1426 static bool install_gpe_event_handler(struct acpi_ec *ec) in install_gpe_event_handler()
1442 static bool install_gpio_irq_event_handler(struct acpi_ec *ec) in install_gpio_irq_event_handler()
1464 static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device) in ec_install_handlers()
1529 static void ec_remove_handlers(struct acpi_ec *ec) in ec_remove_handlers()
1568 static int acpi_ec_setup(struct acpi_ec *ec, struct acpi_device *device) in acpi_ec_setup()
1595 struct acpi_ec *ec; in acpi_ec_add() local
1668 struct acpi_ec *ec; in acpi_ec_remove() local
1687 struct acpi_ec *ec = context; in ec_parse_io_ports() local
1720 struct acpi_ec *ec; in acpi_ec_dsdt_probe() local
1874 struct acpi_ec *ec; in acpi_ec_ecdt_probe() local
1936 struct acpi_ec *ec = in acpi_ec_suspend() local
1946 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_suspend_noirq() local
1963 struct acpi_ec *ec = acpi_driver_data(to_acpi_device(dev)); in acpi_ec_resume_noirq() local
1976 struct acpi_ec *ec = in acpi_ec_resume() local