• Home
  • Raw
  • Download

Lines Matching refs:cl_device

40 #define cl_data_to_dev(opr_dev)	ishtp_device((opr_dev)->cl_device)
79 struct ishtp_cl_device *cl_device; member
423 static void ecl_ishtp_cl_event_cb(struct ishtp_cl_device *cl_device) in ecl_ishtp_cl_event_cb() argument
425 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_event_cb()
502 struct ishtp_cl_device *cl_device; in ecl_ishtp_cl_reset_handler() local
511 cl_device = opr_dev->cl_device; in ecl_ishtp_cl_reset_handler()
516 ecl_ishtp_cl = ishtp_cl_allocate(cl_device); in ecl_ishtp_cl_reset_handler()
520 ishtp_set_drvdata(cl_device, ecl_ishtp_cl); in ecl_ishtp_cl_reset_handler()
538 ishtp_register_event_cb(cl_device, ecl_ishtp_cl_event_cb); in ecl_ishtp_cl_reset_handler()
554 static int ecl_ishtp_cl_probe(struct ishtp_cl_device *cl_device) in ecl_ishtp_cl_probe() argument
560 opr_dev = devm_kzalloc(ishtp_device(cl_device), sizeof(*opr_dev), in ecl_ishtp_cl_probe()
565 ecl_ishtp_cl = ishtp_cl_allocate(cl_device); in ecl_ishtp_cl_probe()
569 ishtp_set_drvdata(cl_device, ecl_ishtp_cl); in ecl_ishtp_cl_probe()
572 opr_dev->cl_device = cl_device; in ecl_ishtp_cl_probe()
597 ishtp_register_event_cb(cl_device, ecl_ishtp_cl_event_cb); in ecl_ishtp_cl_probe()
618 static void ecl_ishtp_cl_remove(struct ishtp_cl_device *cl_device) in ecl_ishtp_cl_remove() argument
620 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_remove()
637 static int ecl_ishtp_cl_reset(struct ishtp_cl_device *cl_device) in ecl_ishtp_cl_reset() argument
639 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_reset()
650 struct ishtp_cl_device *cl_device = ishtp_dev_to_cl_device(device); in ecl_ishtp_cl_suspend() local
651 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_suspend()