Home
last modified time | relevance | path

Searched refs:switchtec_dev (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/pci/switch/
Dswitchtec.c42 struct switchtec_dev *stdev;
59 static struct switchtec_user *stuser_create(struct switchtec_dev *stdev) in stuser_create()
114 static void mrpc_complete_cmd(struct switchtec_dev *stdev);
116 static void mrpc_cmd_submit(struct switchtec_dev *stdev) in mrpc_cmd_submit()
145 struct switchtec_dev *stdev = stuser->stdev; in mrpc_queue_cmd()
158 static void mrpc_complete_cmd(struct switchtec_dev *stdev) in mrpc_complete_cmd()
197 struct switchtec_dev *stdev; in mrpc_event_work()
199 stdev = container_of(work, struct switchtec_dev, mrpc_work); in mrpc_event_work()
211 struct switchtec_dev *stdev; in mrpc_timeout_work()
214 stdev = container_of(work, struct switchtec_dev, mrpc_timeout.work); in mrpc_timeout_work()
[all …]
/linux-4.19.296/include/linux/
Dswitchtec.h345 struct switchtec_dev { struct
380 void (*link_notifier)(struct switchtec_dev *stdev); argument
386 static inline struct switchtec_dev *to_stdev(struct device *dev) in to_stdev() argument
388 return container_of(dev, struct switchtec_dev, dev); in to_stdev()
/linux-4.19.296/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c84 struct switchtec_dev *stdev;
454 struct switchtec_dev *stdev = sndev->stdev; in switchtec_ntb_part_link_speed()
573 static void switchtec_ntb_link_notification(struct switchtec_dev *stdev) in switchtec_ntb_link_notification()
1485 struct switchtec_dev *stdev = to_stdev(dev); in switchtec_ntb_add()
1556 struct switchtec_dev *stdev = to_stdev(dev); in switchtec_ntb_remove()