/Linux-v6.1/drivers/media/common/siano/ |
D | smscoreapi.c | 43 struct smscore_device_t *coredev; member 538 struct smscore_device_t *coredev = in smscore_register_hotplug() local 540 rc = hotplug(coredev, coredev->device, 1); in smscore_register_hotplug() 586 static void smscore_notify_clients(struct smscore_device_t *coredev) in smscore_notify_clients() argument 591 while (!list_empty(&coredev->clients)) { in smscore_notify_clients() 592 client = (struct smscore_client_t *) coredev->clients.next; in smscore_notify_clients() 597 static int smscore_notify_callbacks(struct smscore_device_t *coredev, in smscore_notify_callbacks() argument 606 rc = elem->hotplug(coredev, device, arrival); in smscore_notify_callbacks() 643 struct smscore_device_t **coredev, in smscore_register_device() argument 739 *coredev = dev; in smscore_register_device() [all …]
|
D | smsir.c | 23 void sms_ir_event(struct smscore_device_t *coredev, const char *buf, int len) in sms_ir_event() argument 34 ir_raw_event_store(coredev->ir.dev, &ev); in sms_ir_event() 36 ir_raw_event_handle(coredev->ir.dev); in sms_ir_event() 39 int sms_ir_init(struct smscore_device_t *coredev) in sms_ir_init() argument 42 int board_id = smscore_get_board_id(coredev); in sms_ir_init() 50 coredev->ir.controller = 0; /* Todo: vega/nova SPI number */ in sms_ir_init() 51 coredev->ir.timeout = US_TO_NS(IR_DEFAULT_TIMEOUT); in sms_ir_init() 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() [all …]
|
D | sms-cards.c | 169 int sms_board_event(struct smscore_device_t *coredev, in sms_board_event() argument 226 static int sms_set_gpio(struct smscore_device_t *coredev, int pin, int enable) in sms_set_gpio() argument 250 ret = smscore_configure_gpio(coredev, gpio, &gpioconfig); in sms_set_gpio() 254 return smscore_set_gpio(coredev, gpio, lvl); in sms_set_gpio() 257 int sms_board_setup(struct smscore_device_t *coredev) in sms_board_setup() argument 259 int board_id = smscore_get_board_id(coredev); in sms_board_setup() 265 sms_set_gpio(coredev, board->led_power, 0); in sms_board_setup() 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() [all …]
|
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
|
D | smsdvb-main.c | 67 struct smscore_device_t *coredev = client->coredev; in sms_board_dvb3_event() local 71 sms_board_event(coredev, BOARD_EVENT_BIND); in sms_board_dvb3_event() 75 sms_board_event(coredev, BOARD_EVENT_POWER_SUSPEND); in sms_board_dvb3_event() 79 sms_board_event(coredev, BOARD_EVENT_POWER_INIT); in sms_board_dvb3_event() 85 sms_board_event(coredev, BOARD_EVENT_FE_LOCK); in sms_board_dvb3_event() 92 sms_board_event(coredev, BOARD_EVENT_FE_UNLOCK); in sms_board_dvb3_event() 99 sms_board_event(coredev, BOARD_EVENT_MULTIPLEX_OK); in sms_board_dvb3_event() 106 sms_board_event(coredev, BOARD_EVENT_MULTIPLEX_ERRORS); in sms_board_dvb3_event() 120 struct smscore_device_t *coredev = client->coredev; in smsdvb_stats_not_ready() local 124 switch (smscore_get_device_mode(coredev)) { in smsdvb_stats_not_ready() [all …]
|
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);
|
D | smscoreapi.h | 94 typedef int (*hotplug_t)(struct smscore_device_t *coredev, 1113 struct smscore_device_t **coredev, 1116 extern void smscore_unregister_device(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, 1123 extern int smscore_set_device_mode(struct smscore_device_t *coredev, int mode); 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, 1136 extern int smscore_get_common_buffer_size(struct smscore_device_t *coredev); [all …]
|
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()
|
D | smsdvb.h | 23 struct smscore_device_t *coredev; member
|
/Linux-v6.1/drivers/media/mmc/siano/ |
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-v6.1/drivers/media/usb/siano/ |
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-v6.1/drivers/infiniband/core/ |
D | sysfs.c | 1198 static struct ib_port *setup_port(struct ib_core_device *coredev, int port_num, in setup_port() argument 1201 struct ib_device *device = rdma_device_to_ibdev(&coredev->dev); in setup_port() 1202 bool is_full_dev = &device->coredev == coredev; in setup_port() 1248 ret = kobject_add(&p->kobj, coredev->ports_kobj, "%d", port_num); in setup_port() 1260 list_add_tail(&p->kobj.entry, &coredev->port_list); in setup_port() 1275 static void destroy_port(struct ib_core_device *coredev, struct ib_port *port) in destroy_port() argument 1277 bool is_full_dev = &port->ibdev->coredev == coredev; in destroy_port() 1402 void ib_free_port_attrs(struct ib_core_device *coredev) in ib_free_port_attrs() argument 1406 list_for_each_entry_safe(p, t, &coredev->port_list, entry) { in ib_free_port_attrs() 1410 destroy_port(coredev, port); in ib_free_port_attrs() [all …]
|
D | device.c | 144 net_eq(read_pnet(&dev->coredev.rdma_net), net)); in rdma_dev_access_netns() 529 struct ib_core_device *coredev = in net_namespace() local 532 return read_pnet(&coredev->rdma_net); in net_namespace() 543 static void rdma_init_coredev(struct ib_core_device *coredev, in rdma_init_coredev() argument 552 BUILD_BUG_ON(offsetof(struct ib_device, coredev.dev) != in rdma_init_coredev() 555 coredev->dev.class = &ib_class; in rdma_init_coredev() 556 coredev->dev.groups = dev->groups; in rdma_init_coredev() 557 device_initialize(&coredev->dev); in rdma_init_coredev() 558 coredev->owner = dev; in rdma_init_coredev() 559 INIT_LIST_HEAD(&coredev->port_list); in rdma_init_coredev() [all …]
|
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-v6.1/net/smc/ |
D | smc_ib.h | 75 return read_pnet(&smcibdev->ibdev->coredev.rdma_net); in smc_ib_net()
|
/Linux-v6.1/include/rdma/ |
D | ib_verbs.h | 2719 struct ib_core_device coredev; member 4695 struct ib_core_device *coredev = in rdma_device_to_ibdev() local 4698 return coredev->owner; in rdma_device_to_ibdev()
|