Searched refs:tdev (Results 1 - 25 of 40) sorted by last modified time

12

/drivers/video/fbdev/
H A Dpmag-ba-fb.c146 struct tc_dev *tdev = to_tc_dev(dev); local
174 start = tdev->resource.start;
175 len = tdev->resource.end - start + 1;
240 struct tc_dev *tdev = to_tc_dev(dev); local
249 start = tdev->resource.start;
250 len = tdev->resource.end - start + 1;
H A Dpmagb-b-fb.c251 struct tc_dev *tdev = to_tc_dev(dev); local
281 start = tdev->resource.start;
282 len = tdev->resource.end - start + 1;
358 struct tc_dev *tdev = to_tc_dev(dev); local
367 start = tdev->resource.start;
368 len = tdev->resource.end - start + 1;
/drivers/usb/misc/
H A Dusbtest.c92 #define ERROR(tdev, fmt, args...) \
93 dev_err(&(tdev)->intf->dev , fmt , ## args)
94 #define WARNING(tdev, fmt, args...) \
95 dev_warn(&(tdev)->intf->dev , fmt , ## args)
330 static int check_guard_bytes(struct usbtest_dev *tdev, struct urb *urb) argument
338 ERROR(tdev, "guard byte[%d] %d (not %d)\n",
346 static int simple_check_buf(struct usbtest_dev *tdev, struct urb *urb) argument
353 int ret = check_guard_bytes(tdev, urb);
378 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected);
400 struct usbtest_dev *tdev,
399 simple_io( struct usbtest_dev *tdev, struct urb *urb, int iterations, int vary, int expected, const char *label ) argument
537 perform_sglist( struct usbtest_dev *tdev, unsigned iterations, int pipe, struct usb_sg_request *req, struct scatterlist *sg, int nents ) argument
636 is_good_config(struct usbtest_dev *tdev, int len) argument
673 is_good_ext(struct usbtest_dev *tdev, u8 *buf) argument
695 is_good_ss_cap(struct usbtest_dev *tdev, u8 *buf) argument
724 is_good_con_id(struct usbtest_dev *tdev, u8 *buf) argument
1560 verify_not_halted(struct usbtest_dev *tdev, int ep, struct urb *urb) argument
1582 verify_halted(struct usbtest_dev *tdev, int ep, struct urb *urb) argument
1607 test_halt(struct usbtest_dev *tdev, int ep, struct urb *urb) argument
1997 test_unaligned_bulk( struct usbtest_dev *tdev, int pipe, unsigned length, int iterations, unsigned transfer_flags, const char *label) argument
[all...]
/drivers/usb/serial/
H A Dti_usb_3410_5052.c128 static int ti_command_out_sync(struct ti_device *tdev, __u8 command,
130 static int ti_command_in_sync(struct ti_device *tdev, __u8 command,
133 static int ti_write_byte(struct usb_serial_port *port, struct ti_device *tdev,
136 static int ti_download_firmware(struct ti_device *tdev);
291 struct ti_device *tdev; local
302 tdev = kzalloc(sizeof(struct ti_device), GFP_KERNEL);
303 if (!tdev)
306 mutex_init(&tdev->td_open_close_lock);
307 tdev->td_serial = serial;
308 usb_set_serial_data(serial, tdev);
351 struct ti_device *tdev = usb_get_serial_data(serial); local
394 struct ti_device *tdev; local
532 struct ti_device *tdev; local
921 struct ti_device *tdev = urb->context; local
1185 struct ti_device *tdev = tport->tp_tdev; local
1336 ti_command_out_sync(struct ti_device *tdev, __u8 command, __u16 moduleid, __u16 value, __u8 *data, int size) argument
1356 ti_command_in_sync(struct ti_device *tdev, __u8 command, __u16 moduleid, __u16 value, __u8 *data, int size) argument
1376 ti_write_byte(struct usb_serial_port *port, struct ti_device *tdev, unsigned long addr, __u8 mask, __u8 byte) argument
1440 ti_download_firmware(struct ti_device *tdev) argument
[all...]
/drivers/s390/char/
H A Dtape_core.c95 struct tape_device *tdev; local
97 tdev = dev_get_drvdata(dev);
98 return scnprintf(buf, PAGE_SIZE, "%i\n", tdev->medium_state);
107 struct tape_device *tdev; local
109 tdev = dev_get_drvdata(dev);
110 return scnprintf(buf, PAGE_SIZE, "%i\n", tdev->first_minor);
119 struct tape_device *tdev; local
121 tdev = dev_get_drvdata(dev);
122 return scnprintf(buf, PAGE_SIZE, "%s\n", (tdev->first_minor < 0) ?
123 "OFFLINE" : tape_state_verbose[tdev
132 struct tape_device *tdev; local
159 struct tape_device *tdev; local
[all...]
/drivers/s390/net/
H A Dclaw.c1987 struct device *tdev; local
1993 tdev = &privptr->channel[READ_CHANNEL].cdev->dev;
1996 dev_info(tdev, "%s: CLAW device %.8s: "
2015 dev_warn(tdev, "The communication peer of %s"
2020 dev_info(tdev, "%s: Recv Sys Validate Request: "
2034 dev_warn(tdev,
2047 dev_warn(tdev, "Adapter name %s for %s does not match"
2057 dev_warn(tdev,
2066 dev_warn(tdev,
2072 dev_info(tdev,
[all...]
/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c225 static void abort_arp_failure(struct t3cdev *tdev, struct sk_buff *skb) argument
231 tdev, GET_TID(req), skb);
233 cxgb3_ofld_send(tdev, skb);
473 static int do_act_establish(struct t3cdev *tdev, struct sk_buff *skb, void *ctx) argument
569 static int do_act_open_rpl(struct t3cdev *tdev, struct sk_buff *skb, void *ctx) argument
582 cxgb3_queue_tid_release(tdev, GET_TID(rpl));
1211 struct t3cdev *tdev = (struct t3cdev *)cdev->lldev; local
1214 pr_info("t3dev 0x%p, ulp_iscsi no more user.\n", tdev);
1215 tdev->ulp_iscsi = NULL;
1226 struct t3cdev *tdev local
[all...]
/drivers/staging/android/
H A Dtimed_output.c33 struct timed_output_dev *tdev = dev_get_drvdata(dev); local
34 int remaining = tdev->get_time(tdev);
42 struct timed_output_dev *tdev = dev_get_drvdata(dev); local
50 tdev->enable(tdev, value);
75 int timed_output_dev_register(struct timed_output_dev *tdev) argument
79 if (!tdev || !tdev->name || !tdev
98 timed_output_dev_unregister(struct timed_output_dev *tdev) argument
[all...]
/drivers/tc/
H A Dtc-driver.c53 * @tdev: the TC device structure to match against
60 struct tc_dev *tdev)
66 if (strcmp(tdev->name, id->name) == 0 &&
67 strcmp(tdev->vendor, id->vendor) == 0)
88 struct tc_dev *tdev = to_tc_dev(dev); local
92 id = tc_match_device(tdrv, tdev);
59 tc_match_device(struct tc_driver *tdrv, struct tc_dev *tdev) argument
H A Dtc.c41 struct tc_dev *tdev; local
84 tdev = kzalloc(sizeof(*tdev), GFP_KERNEL);
85 if (!tdev) {
90 dev_set_name(&tdev->dev, "tc%x", slot);
91 tdev->bus = tbus;
92 tdev->dev.parent = &tbus->dev;
93 tdev->dev.bus = &tc_bus_type;
94 tdev->slot = slot;
97 tdev
[all...]
/drivers/net/ethernet/chelsio/cxgb3/
H A Dadapter.h222 struct t3cdev tdev; member in struct:adapter
300 #define tdev2adap(d) container_of(d, struct adapter, tdev)
307 int t3_offload_tx(struct t3cdev *tdev, struct sk_buff *skb);
H A Dcxgb3_main.c890 static inline int offload_tx(struct t3cdev *tdev, struct sk_buff *skb) argument
895 ret = t3_offload_tx(tdev, skb);
917 offload_tx(&adapter->tdev, skb);
1349 struct t3cdev *tdev = dev2t3cdev(dev); local
1360 tdev->lldev = adapter->port[0];
1372 if (sysfs_create_group(&tdev->lldev->dev.kobj, &offload_attr_group))
1376 cxgb3_add_clients(tdev);
1383 cxgb3_set_dummy_ops(tdev);
1388 static int offload_close(struct t3cdev *tdev) argument
1390 struct adapter *adapter = tdev2adap(tdev);
[all...]
H A Dcxgb3_offload.c70 static inline int offload_activated(struct t3cdev *tdev) argument
72 const struct adapter *adapter = tdev2adap(tdev);
86 struct t3cdev *tdev; local
92 list_for_each_entry(tdev, &ofld_dev_list, ofld_dev_list) {
93 if (offload_activated(tdev))
94 client->add(tdev);
111 struct t3cdev *tdev; local
117 list_for_each_entry(tdev, &ofld_dev_list, ofld_dev_list) {
118 if (offload_activated(tdev))
119 client->remove(tdev);
133 cxgb3_add_clients(struct t3cdev *tdev) argument
152 cxgb3_remove_clients(struct t3cdev *tdev) argument
164 cxgb3_event_notify(struct t3cdev *tdev, u32 event, u32 port) argument
373 cxgb_offload_ctl(struct t3cdev *tdev, unsigned int req, void *data) argument
501 cxgb3_free_atid(struct t3cdev *tdev, int atid) argument
521 cxgb3_free_stid(struct t3cdev *tdev, int stid) argument
535 cxgb3_insert_tid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx, unsigned int tid) argument
565 struct t3cdev *tdev = td->dev; local
604 cxgb3_queue_tid_release(struct t3cdev *tdev, unsigned int tid) argument
627 cxgb3_remove_tid(struct t3cdev *tdev, void *ctx, unsigned int tid) argument
650 cxgb3_alloc_atid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) argument
674 cxgb3_alloc_stid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) argument
1081 struct t3cdev *tdev = dev2t3cdev(dev); local
1088 set_l2t_ix(struct t3cdev *tdev, u32 tid, struct l2t_entry *e) argument
1116 struct t3cdev *tdev; local
1314 struct t3cdev *tdev = &adapter->tdev; local
1334 register_tdev(struct t3cdev *tdev) argument
1344 unregister_tdev(struct t3cdev *tdev) argument
1372 struct t3cdev *tdev = &adapter->tdev; local
1386 struct t3cdev *tdev = &adapter->tdev; local
[all...]
H A Dcxgb3_offload.h65 void cxgb3_add_clients(struct t3cdev *tdev);
66 void cxgb3_remove_clients(struct t3cdev *tdev);
67 void cxgb3_event_notify(struct t3cdev *tdev, u32 event, u32 port);
90 void (*event_handler)(struct t3cdev *tdev, u32 event, u32 port);
H A Dsge.c1760 * @tdev: the offload device to send to
1767 int t3_offload_tx(struct t3cdev *tdev, struct sk_buff *skb) argument
1769 struct adapter *adap = tdev2adap(tdev);
1802 * @tdev: the offload device that will be receiving the packets
1809 static inline void deliver_partial_bundle(struct t3cdev *tdev, argument
1815 tdev->recv(tdev, skbs, n);
1863 adapter->tdev.recv(&adapter->tdev, skbs,
1874 deliver_partial_bundle(&adapter->tdev,
1891 rx_offload(struct t3cdev *tdev, struct sge_rspq *rq, struct sk_buff *skb, struct sk_buff *rx_gather[], unsigned int gather_idx) argument
[all...]
/drivers/net/ethernet/neterion/
H A Ds2io.c1034 struct pci_dev *tdev = NULL; local
1035 for_each_pci_dev(tdev) {
1036 if (tdev->vendor == NEC_VENID && tdev->device == NEC_DEVID) {
1037 if (tdev->bus == s2io_pdev->bus->parent) {
1038 pci_dev_put(tdev);
/drivers/net/ppp/
H A Dpptp.c185 struct net_device *tdev; local
200 tdev = rt->dst.dev;
202 max_headroom = LL_RESERVED_SPACE(tdev) + sizeof(*iph) + sizeof(*hdr) + 2;
/drivers/net/
H A Dvxlan.c834 struct net_device *tdev; local
839 tdev = __dev_get_by_index(net, *ifindex);
840 if (!tdev)
/drivers/pnp/
H A Dresource.c168 struct pnp_dev *tdev; local
205 pnp_for_each_dev(tdev) {
206 if (tdev == dev)
209 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i));
230 struct pnp_dev *tdev; local
267 pnp_for_each_dev(tdev) {
268 if (tdev == dev)
271 (tres = pnp_get_resource(tdev, IORESOURCE_MEM, i));
352 struct pnp_dev *tdev; local
394 pnp_for_each_dev(tdev) {
416 struct pnp_dev *tdev; local
[all...]
/drivers/gpu/drm/ttm/
H A Dttm_object.c47 * @tdev: Pointer to the ttm_object_device.
70 struct ttm_object_device *tdev; member in struct:ttm_object_file
165 struct ttm_object_device *tdev = tfile->tdev; local
174 spin_lock(&tdev->object_lock);
175 ret = drm_ht_just_insert_please_rcu(&tdev->object_hash,
178 spin_unlock(&tdev->object_lock);
190 spin_lock(&tdev->object_lock);
191 (void)drm_ht_remove_item_rcu(&tdev->object_hash, &base->hash);
192 spin_unlock(&tdev
202 struct ttm_object_device *tdev = base->tfile->tdev; local
252 ttm_base_object_lookup_for_ref(struct ttm_object_device *tdev, uint32_t key) argument
460 ttm_object_file_init(struct ttm_object_device *tdev, unsigned int hash_order) argument
500 struct ttm_object_device *tdev = kmalloc(sizeof(*tdev), GFP_KERNEL); local
528 struct ttm_object_device *tdev = *p_tdev; local
596 struct ttm_object_device *tdev = base->tfile->tdev; local
622 struct ttm_object_device *tdev = tfile->tdev; local
659 struct ttm_object_device *tdev = tfile->tdev; local
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c785 dev_priv->tdev = ttm_object_device_init
788 if (unlikely(dev_priv->tdev == NULL)) {
861 ttm_object_device_release(&dev_priv->tdev);
909 ttm_object_device_release(&dev_priv->tdev);
968 vmw_fp->tfile = ttm_object_file_init(dev_priv->tdev, 10);
H A Dvmwgfx_drv.h443 struct ttm_object_device *tdev; member in struct:vmw_private
H A Dvmwgfx_fence.c1139 ttm_base_object_lookup_for_ref(dev_priv->tdev,
H A Dvmwgfx_surface.c913 base = ttm_base_object_lookup_for_ref(dev_priv->tdev, handle);
/drivers/hid/
H A Dhid-thingm.c55 struct thingm_device *tdev; member in struct:thingm_rgb
74 static int thingm_send(struct thingm_device *tdev, u8 buf[REPORT_SIZE]) argument
78 hid_dbg(tdev->hdev, "-> %d %c %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx\n",
82 ret = hid_hw_raw_request(tdev->hdev, buf[0], buf, REPORT_SIZE,
88 static int thingm_recv(struct thingm_device *tdev, u8 buf[REPORT_SIZE]) argument
92 ret = hid_hw_raw_request(tdev->hdev, buf[0], buf, REPORT_SIZE,
97 hid_dbg(tdev->hdev, "<- %d %c %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx\n",
104 static int thingm_version(struct thingm_device *tdev) argument
109 err = thingm_send(tdev, buf);
113 err = thingm_recv(tdev, bu
219 struct thingm_device *tdev; local
287 struct thingm_device *tdev = hid_get_drvdata(hdev); local
[all...]

Completed in 1248 milliseconds

12