/linux/drivers/media/common/siano/ |
A D | smscoreapi.c | 540 rc = hotplug(coredev, coredev->device, 1); in smscore_register_hotplug() 924 rc = coredev->preload_handler(coredev->context); in smscore_load_firmware_family2() 1030 return coredev->postload_handler(coredev->context); in smscore_load_firmware_family2() 1378 coredev->detectmode_handler(coredev->context, in smscore_set_device_mode() 1381 if (coredev->mode != mode && coredev->setmode_handler) in smscore_set_device_mode() 1382 rc = coredev->setmode_handler(coredev->context, mode); in smscore_set_device_mode() 1728 newclient->coredev = coredev; in smscore_register_client() 1753 struct smscore_device_t *coredev = client->coredev; in smscore_unregister_client() local 1798 coredev = client->coredev; in smsclient_sendrequest() 1859 return coredev->sendrequest_handler(coredev->context, in smscore_configure_gpio() [all …]
|
A D | smsir.c | 36 ir_raw_event_handle(coredev->ir.dev); in sms_ir_event() 53 coredev->ir.controller, coredev->ir.timeout); in sms_ir_init() 55 snprintf(coredev->ir.name, sizeof(coredev->ir.name), in sms_ir_init() 58 strscpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); in sms_ir_init() 59 strlcat(coredev->ir.phys, "/ir0", sizeof(coredev->ir.phys)); in sms_ir_init() 61 dev->device_name = coredev->ir.name; in sms_ir_init() 62 dev->input_phys = coredev->ir.phys; in sms_ir_init() 63 dev->dev.parent = coredev->device; in sms_ir_init() 73 dev->priv = coredev; in sms_ir_init() 88 coredev->ir.dev = dev; in sms_ir_init() [all …]
|
A D | sms-cards.c | 254 return smscore_set_gpio(coredev, gpio, lvl); in sms_set_gpio() 266 sms_set_gpio(coredev, board->led_hi, 0); in sms_board_setup() 267 sms_set_gpio(coredev, board->led_lo, 0); in sms_board_setup() 272 sms_set_gpio(coredev, board->lna_ctrl, 0); in sms_board_setup() 287 sms_set_gpio(coredev, in sms_board_power() 307 if (smscore_led_state(coredev, -1) == led) in sms_board_led_feedback() 312 sms_set_gpio(coredev, in sms_board_led_feedback() 314 sms_set_gpio(coredev, in sms_board_led_feedback() 317 smscore_led_state(coredev, led); in sms_board_led_feedback() 334 sms_set_gpio(coredev, in sms_board_lna_control() [all …]
|
A D | smsdvb-main.c | 67 struct smscore_device_t *coredev = client->coredev; in sms_board_dvb3_event() local 120 struct smscore_device_t *coredev = client->coredev; in smsdvb_stats_not_ready() local 640 struct smscore_device_t *coredev = client->coredev; in smsdvb_media_device_unregister() local 642 if (!coredev->media_dev) in smsdvb_media_device_unregister() 646 kfree(coredev->media_dev); in smsdvb_media_device_unregister() 647 coredev->media_dev = NULL; in smsdvb_media_device_unregister() 1023 struct smscore_device_t *coredev = client->coredev; in smsdvb_set_frontend() local 1048 sms_board_power(client->coredev, 1); in smsdvb_init() 1060 sms_board_power(client->coredev, 0); in smsdvb_sleep() 1185 client->coredev = coredev; in smsdvb_hotplug() [all …]
|
A D | smsir.h | 34 int sms_ir_init(struct smscore_device_t *coredev); 35 void sms_ir_exit(struct smscore_device_t *coredev); 36 void sms_ir_event(struct smscore_device_t *coredev, 39 inline static int sms_ir_init(struct smscore_device_t *coredev) { in sms_ir_init() argument 42 inline static void sms_ir_exit(struct smscore_device_t *coredev) {}; in sms_ir_exit() argument 43 inline static void sms_ir_event(struct smscore_device_t *coredev, in sms_ir_event() argument
|
A D | sms-cards.h | 90 extern struct smscore_device_t *coredev; 113 int sms_board_event(struct smscore_device_t *coredev, 116 int sms_board_setup(struct smscore_device_t *coredev); 121 int sms_board_led_feedback(struct smscore_device_t *coredev, int led); 122 int sms_board_power(struct smscore_device_t *coredev, int onoff); 123 int sms_board_lna_control(struct smscore_device_t *coredev, int onoff);
|
A D | smscoreapi.h | 94 typedef int (*hotplug_t)(struct smscore_device_t *coredev, 1113 struct smscore_device_t **coredev, 1118 extern int smscore_start_device(struct smscore_device_t *coredev); 1119 extern int smscore_load_firmware(struct smscore_device_t *coredev, 1124 extern int smscore_get_device_mode(struct smscore_device_t *coredev); 1126 extern int smscore_register_client(struct smscore_device_t *coredev, 1133 extern void smscore_onresponse(struct smscore_device_t *coredev, 1137 extern int smscore_map_common_buffer(struct smscore_device_t *coredev, 1139 extern int smscore_send_fw_file(struct smscore_device_t *coredev, 1144 extern void smscore_putbuffer(struct smscore_device_t *coredev, [all …]
|
A D | smsdvb-debugfs.c | 455 struct smscore_device_t *coredev = client->coredev; in smsdvb_debugfs_create() local 459 if (!smsdvb_debugfs_usb_root || !coredev->is_usb_device) in smsdvb_debugfs_create() 462 client->debugfs = debugfs_create_dir(coredev->devpath, in smsdvb_debugfs_create() 466 coredev->devpath); in smsdvb_debugfs_create()
|
A D | smsdvb.h | 23 struct smscore_device_t *coredev; member
|
/linux/drivers/media/mmc/siano/ |
A D | smssdio.c | 79 struct smscore_device_t *coredev; member 145 cb = smscore_getbuffer(smsdev->coredev); in smssdio_interrupt() 196 smscore_putbuffer(smsdev->coredev, cb); in smssdio_interrupt() 214 smscore_putbuffer(smsdev->coredev, cb); in smssdio_interrupt() 233 smscore_onresponse(smsdev->coredev, cb); in smssdio_interrupt() 277 ret = smscore_register_device(¶ms, &smsdev->coredev, GFP_DMA, NULL); in smssdio_probe() 281 smscore_set_board_id(smsdev->coredev, board_id); in smssdio_probe() 301 ret = smscore_start_device(smsdev->coredev); in smssdio_probe() 314 smscore_unregister_device(smsdev->coredev); in smssdio_probe() 329 smscore_putbuffer(smsdev->coredev, smsdev->split_cb); in smssdio_remove() [all …]
|
/linux/drivers/media/usb/siano/ |
A D | smsusb.c | 51 struct smscore_device_t *coredev; member 134 smscore_onresponse(dev->coredev, surb->cb); in smsusb_onresponse() 155 surb->cb = smscore_getbuffer(dev->coredev); in smsusb_submit_urb() 184 smscore_putbuffer(dev->coredev, dev->surbs[i].cb); in smsusb_stop_streaming() 346 if (dev->coredev) in smsusb_term_device() 347 smscore_unregister_device(dev->coredev); in smsusb_term_device() 453 rc = smscore_register_device(¶ms, &dev->coredev, 0, mdev); in smsusb_init_device() 464 smscore_set_board_id(dev->coredev, board_id); in smsusb_init_device() 466 dev->coredev->is_usb_device = true; in smsusb_init_device() 484 rc = smscore_start_device(dev->coredev); in smsusb_init_device()
|
/linux/drivers/infiniband/core/ |
A D | sysfs.c | 1201 bool is_full_dev = &device->coredev == coredev; in setup_port() 1259 list_add_tail(&p->kobj.entry, &coredev->port_list); in setup_port() 1276 bool is_full_dev = &port->ibdev->coredev == coredev; in destroy_port() 1401 void ib_free_port_attrs(struct ib_core_device *coredev) in ib_free_port_attrs() argument 1409 destroy_port(coredev, port); in ib_free_port_attrs() 1412 kobject_put(coredev->ports_kobj); in ib_free_port_attrs() 1421 coredev->ports_kobj = kobject_create_and_add("ports", in ib_setup_port_attrs() 1422 &coredev->dev.kobj); in ib_setup_port_attrs() 1423 if (!coredev->ports_kobj) in ib_setup_port_attrs() 1434 port = setup_port(coredev, port_num, &attr); in ib_setup_port_attrs() [all …]
|
A D | device.c | 528 struct ib_core_device *coredev = in net_namespace() local 531 return read_pnet(&coredev->rdma_net); in net_namespace() 554 coredev->dev.class = &ib_class; in rdma_init_coredev() 555 coredev->dev.groups = dev->groups; in rdma_init_coredev() 556 device_initialize(&coredev->dev); in rdma_init_coredev() 557 coredev->owner = dev; in rdma_init_coredev() 558 INIT_LIST_HEAD(&coredev->port_list); in rdma_init_coredev() 559 write_pnet(&coredev->rdma_net, net); in rdma_init_coredev() 934 read_pnet(&device->coredev.rdma_net))) in add_one_compat_dev() 1479 ib_free_port_attrs(&ib_dev->coredev); in __ib_unregister_device() [all …]
|
A D | core_priv.h | 345 void ib_free_port_attrs(struct ib_core_device *coredev); 346 int ib_setup_port_attrs(struct ib_core_device *coredev);
|
/linux/include/rdma/ |
A D | ib_verbs.h | 2709 struct ib_core_device coredev; member 4674 struct ib_core_device *coredev = in rdma_device_to_ibdev() local 4677 return coredev->owner; in rdma_device_to_ibdev()
|