Home
last modified time | relevance | path

Searched refs:tdev (Results 1 - 25 of 113) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dtegra.c31 nvkm_device_tegra_power_up(struct nvkm_device_tegra *tdev) in nvkm_device_tegra_power_up() argument
35 if (tdev->vdd) { in nvkm_device_tegra_power_up()
36 ret = regulator_enable(tdev->vdd); in nvkm_device_tegra_power_up()
41 ret = clk_prepare_enable(tdev->clk); in nvkm_device_tegra_power_up()
44 if (tdev->clk_ref) { in nvkm_device_tegra_power_up()
45 ret = clk_prepare_enable(tdev->clk_ref); in nvkm_device_tegra_power_up()
49 ret = clk_prepare_enable(tdev->clk_pwr); in nvkm_device_tegra_power_up()
52 clk_set_rate(tdev->clk_pwr, 204000000); in nvkm_device_tegra_power_up()
55 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()
56 reset_control_assert(tdev in nvkm_device_tegra_power_up()
85 nvkm_device_tegra_power_down(struct nvkm_device_tegra *tdev) nvkm_device_tegra_power_down() argument
105 nvkm_device_tegra_probe_iommu(struct nvkm_device_tegra *tdev) nvkm_device_tegra_probe_iommu() argument
175 nvkm_device_tegra_remove_iommu(struct nvkm_device_tegra *tdev) nvkm_device_tegra_remove_iommu() argument
195 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); nvkm_device_tegra_resource() local
216 struct nvkm_device_tegra *tdev = arg; nvkm_device_tegra_intr() local
228 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); nvkm_device_tegra_fini() local
238 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); nvkm_device_tegra_init() local
257 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); nvkm_device_tegra_dtor() local
281 struct nvkm_device_tegra *tdev; nvkm_device_tegra_new() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dtegra.c31 nvkm_device_tegra_power_up(struct nvkm_device_tegra *tdev) in nvkm_device_tegra_power_up() argument
35 if (tdev->vdd) { in nvkm_device_tegra_power_up()
36 ret = regulator_enable(tdev->vdd); in nvkm_device_tegra_power_up()
41 ret = clk_prepare_enable(tdev->clk); in nvkm_device_tegra_power_up()
44 ret = clk_prepare_enable(tdev->clk_ref); in nvkm_device_tegra_power_up()
47 ret = clk_prepare_enable(tdev->clk_pwr); in nvkm_device_tegra_power_up()
50 clk_set_rate(tdev->clk_pwr, 204000000); in nvkm_device_tegra_power_up()
53 if (!tdev->pdev->dev.pm_domain) { in nvkm_device_tegra_power_up()
54 reset_control_assert(tdev->rst); in nvkm_device_tegra_power_up()
62 reset_control_deassert(tdev in nvkm_device_tegra_power_up()
82 nvkm_device_tegra_power_down(struct nvkm_device_tegra *tdev) nvkm_device_tegra_power_down() argument
101 nvkm_device_tegra_probe_iommu(struct nvkm_device_tegra *tdev) nvkm_device_tegra_probe_iommu() argument
171 nvkm_device_tegra_remove_iommu(struct nvkm_device_tegra *tdev) nvkm_device_tegra_remove_iommu() argument
191 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); nvkm_device_tegra_resource() local
212 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); nvkm_device_tegra_irq() local
220 struct nvkm_device_tegra *tdev = nvkm_device_tegra(device); nvkm_device_tegra_dtor() local
243 struct nvkm_device_tegra *tdev; nvkm_device_tegra_new() local
[all...]
/kernel/linux/linux-5.10/drivers/mailbox/
H A Dmailbox-test.c52 struct mbox_test_device *tdev = filp->private_data; in mbox_test_signal_write() local
54 if (!tdev->tx_channel) { in mbox_test_signal_write()
55 dev_err(tdev->dev, "Channel cannot do Tx\n"); in mbox_test_signal_write()
60 dev_err(tdev->dev, in mbox_test_signal_write()
67 if (!tdev->signal) { in mbox_test_signal_write()
68 tdev->signal = kzalloc(MBOX_MAX_SIG_LEN, GFP_KERNEL); in mbox_test_signal_write()
69 if (!tdev->signal) in mbox_test_signal_write()
73 if (copy_from_user(tdev->signal, userbuf, count)) { in mbox_test_signal_write()
74 kfree(tdev->signal); in mbox_test_signal_write()
75 tdev in mbox_test_signal_write()
90 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_fasync() local
99 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_write() local
158 mbox_test_message_data_ready(struct mbox_test_device *tdev) mbox_test_message_data_ready() argument
173 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_read() local
245 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_poll() local
263 mbox_test_add_debugfs(struct platform_device *pdev, struct mbox_test_device *tdev) mbox_test_add_debugfs() argument
286 struct mbox_test_device *tdev = dev_get_drvdata(client->dev); mbox_test_receive_message() local
309 struct mbox_test_device *tdev = dev_get_drvdata(client->dev); mbox_test_prepare_message() local
359 struct mbox_test_device *tdev; mbox_test_probe() local
424 struct mbox_test_device *tdev = platform_get_drvdata(pdev); mbox_test_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/mailbox/
H A Dmailbox-test.c53 struct mbox_test_device *tdev = filp->private_data; in mbox_test_signal_write() local
55 if (!tdev->tx_channel) { in mbox_test_signal_write()
56 dev_err(tdev->dev, "Channel cannot do Tx\n"); in mbox_test_signal_write()
61 dev_err(tdev->dev, in mbox_test_signal_write()
68 if (!tdev->signal) { in mbox_test_signal_write()
69 tdev->signal = kzalloc(MBOX_MAX_SIG_LEN, GFP_KERNEL); in mbox_test_signal_write()
70 if (!tdev->signal) in mbox_test_signal_write()
74 if (copy_from_user(tdev->signal, userbuf, count)) { in mbox_test_signal_write()
75 kfree(tdev->signal); in mbox_test_signal_write()
76 tdev in mbox_test_signal_write()
91 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_fasync() local
100 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_write() local
159 mbox_test_message_data_ready(struct mbox_test_device *tdev) mbox_test_message_data_ready() argument
174 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_read() local
246 struct mbox_test_device *tdev = filp->private_data; mbox_test_message_poll() local
264 mbox_test_add_debugfs(struct platform_device *pdev, struct mbox_test_device *tdev) mbox_test_add_debugfs() argument
287 struct mbox_test_device *tdev = dev_get_drvdata(client->dev); mbox_test_receive_message() local
310 struct mbox_test_device *tdev = dev_get_drvdata(client->dev); mbox_test_prepare_message() local
360 struct mbox_test_device *tdev; mbox_test_probe() local
423 struct mbox_test_device *tdev = platform_get_drvdata(pdev); mbox_test_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Duniphier_thermal.c91 static int uniphier_tm_initialize_sensor(struct uniphier_tm_dev *tdev) in uniphier_tm_initialize_sensor() argument
93 struct regmap *map = tdev->regmap; in uniphier_tm_initialize_sensor()
99 regmap_write_bits(map, tdev->data->block_base + PVTCTLEN, in uniphier_tm_initialize_sensor()
109 ret = regmap_read(map, tdev->data->map_base + TMODCOEF, &val); in uniphier_tm_initialize_sensor()
114 ret = of_property_read_u32_array(tdev->dev->of_node, in uniphier_tm_initialize_sensor()
121 regmap_write(map, tdev->data->tmod_setup_addr, in uniphier_tm_initialize_sensor()
127 regmap_write_bits(map, tdev->data->block_base + PVTCTLMODE, in uniphier_tm_initialize_sensor()
131 regmap_write_bits(map, tdev->data->block_base + EMONREPEAT, in uniphier_tm_initialize_sensor()
136 regmap_write_bits(map, tdev->data->map_base + PVTCTLSEL, in uniphier_tm_initialize_sensor()
142 static void uniphier_tm_set_alert(struct uniphier_tm_dev *tdev, u3 argument
154 uniphier_tm_enable_sensor(struct uniphier_tm_dev *tdev) uniphier_tm_enable_sensor() argument
175 uniphier_tm_disable_sensor(struct uniphier_tm_dev *tdev) uniphier_tm_disable_sensor() argument
192 struct uniphier_tm_dev *tdev = data; uniphier_tm_get_temp() local
211 uniphier_tm_irq_clear(struct uniphier_tm_dev *tdev) uniphier_tm_irq_clear() argument
228 struct uniphier_tm_dev *tdev = _tdev; uniphier_tm_alarm_irq() local
238 struct uniphier_tm_dev *tdev = _tdev; uniphier_tm_alarm_irq_thread() local
250 struct uniphier_tm_dev *tdev; uniphier_tm_probe() local
328 struct uniphier_tm_dev *tdev = platform_get_drvdata(pdev); uniphier_tm_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Duniphier_thermal.c88 static int uniphier_tm_initialize_sensor(struct uniphier_tm_dev *tdev) in uniphier_tm_initialize_sensor() argument
90 struct regmap *map = tdev->regmap; in uniphier_tm_initialize_sensor()
96 regmap_write_bits(map, tdev->data->block_base + PVTCTLEN, in uniphier_tm_initialize_sensor()
106 ret = regmap_read(map, tdev->data->map_base + TMODCOEF, &val); in uniphier_tm_initialize_sensor()
111 ret = of_property_read_u32_array(tdev->dev->of_node, in uniphier_tm_initialize_sensor()
118 regmap_write(map, tdev->data->tmod_setup_addr, in uniphier_tm_initialize_sensor()
124 regmap_write_bits(map, tdev->data->block_base + PVTCTLMODE, in uniphier_tm_initialize_sensor()
128 regmap_write_bits(map, tdev->data->block_base + EMONREPEAT, in uniphier_tm_initialize_sensor()
133 regmap_write_bits(map, tdev->data->map_base + PVTCTLSEL, in uniphier_tm_initialize_sensor()
139 static void uniphier_tm_set_alert(struct uniphier_tm_dev *tdev, u3 argument
151 uniphier_tm_enable_sensor(struct uniphier_tm_dev *tdev) uniphier_tm_enable_sensor() argument
172 uniphier_tm_disable_sensor(struct uniphier_tm_dev *tdev) uniphier_tm_disable_sensor() argument
189 struct uniphier_tm_dev *tdev = thermal_zone_device_priv(tz); uniphier_tm_get_temp() local
208 uniphier_tm_irq_clear(struct uniphier_tm_dev *tdev) uniphier_tm_irq_clear() argument
225 struct uniphier_tm_dev *tdev = _tdev; uniphier_tm_alarm_irq() local
235 struct uniphier_tm_dev *tdev = _tdev; uniphier_tm_alarm_irq_thread() local
247 struct uniphier_tm_dev *tdev; uniphier_tm_probe() local
322 struct uniphier_tm_dev *tdev = platform_get_drvdata(pdev); uniphier_tm_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/tc/
H A Dtc.c42 struct tc_dev *tdev; in tc_bus_add_devices() local
85 tdev = kzalloc(sizeof(*tdev), GFP_KERNEL); in tc_bus_add_devices()
86 if (!tdev) { in tc_bus_add_devices()
90 dev_set_name(&tdev->dev, "tc%x", slot); in tc_bus_add_devices()
91 tdev->bus = tbus; in tc_bus_add_devices()
92 tdev->dev.parent = &tbus->dev; in tc_bus_add_devices()
93 tdev->dev.bus = &tc_bus_type; in tc_bus_add_devices()
94 tdev->slot = slot; in tc_bus_add_devices()
97 tdev in tc_bus_add_devices()
[all...]
H A Dtc-driver.c53 * @tdev: the TC device structure to match against
60 struct tc_dev *tdev) in tc_match_device()
66 if (strcmp(tdev->name, id->name) == 0 && in tc_match_device()
67 strcmp(tdev->vendor, id->vendor) == 0) in tc_match_device()
87 struct tc_dev *tdev = to_tc_dev(dev); in tc_bus_match() local
91 id = tc_match_device(tdrv, tdev); in tc_bus_match()
59 tc_match_device(struct tc_driver *tdrv, struct tc_dev *tdev) tc_match_device() argument
/kernel/linux/linux-6.6/drivers/tc/
H A Dtc.c42 struct tc_dev *tdev; in tc_bus_add_devices() local
85 tdev = kzalloc(sizeof(*tdev), GFP_KERNEL); in tc_bus_add_devices()
86 if (!tdev) { in tc_bus_add_devices()
90 dev_set_name(&tdev->dev, "tc%x", slot); in tc_bus_add_devices()
91 tdev->bus = tbus; in tc_bus_add_devices()
92 tdev->dev.parent = &tbus->dev; in tc_bus_add_devices()
93 tdev->dev.bus = &tc_bus_type; in tc_bus_add_devices()
94 tdev->slot = slot; in tc_bus_add_devices()
97 tdev in tc_bus_add_devices()
[all...]
H A Dtc-driver.c53 * @tdev: the TC device structure to match against
60 struct tc_dev *tdev) in tc_match_device()
66 if (strcmp(tdev->name, id->name) == 0 && in tc_match_device()
67 strcmp(tdev->vendor, id->vendor) == 0) in tc_match_device()
87 struct tc_dev *tdev = to_tc_dev(dev); in tc_bus_match() local
91 id = tc_match_device(tdrv, tdev); in tc_bus_match()
59 tc_match_device(struct tc_driver *tdrv, struct tc_dev *tdev) tc_match_device() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c48 * @tdev: Pointer to the ttm_object_device.
70 struct ttm_object_device *tdev; member
166 struct ttm_object_device *tdev = tfile->tdev; in ttm_base_object_init() local
176 spin_lock(&tdev->object_lock); in ttm_base_object_init()
177 ret = idr_alloc(&tdev->idr, base, 1, 0, GFP_NOWAIT); in ttm_base_object_init()
178 spin_unlock(&tdev->object_lock); in ttm_base_object_init()
192 spin_lock(&tdev->object_lock); in ttm_base_object_init()
193 idr_remove(&tdev->idr, base->handle); in ttm_base_object_init()
194 spin_unlock(&tdev in ttm_base_object_init()
202 struct ttm_object_device *tdev = base->tfile->tdev; ttm_release_base() local
285 ttm_base_object_lookup_for_ref(struct ttm_object_device *tdev, uint32_t key) ttm_base_object_lookup_for_ref() argument
491 ttm_object_file_init(struct ttm_object_device *tdev, unsigned int hash_order) ttm_object_file_init() argument
530 struct ttm_object_device *tdev = kmalloc(sizeof(*tdev), GFP_KERNEL); ttm_object_device_init() local
558 struct ttm_object_device *tdev = *p_tdev; ttm_object_device_release() local
625 struct ttm_object_device *tdev = base->tfile->tdev; ttm_prime_dmabuf_release() local
651 struct ttm_object_device *tdev = tfile->tdev; ttm_prime_fd_to_handle() local
687 struct ttm_object_device *tdev = tfile->tdev; ttm_prime_handle_to_fd() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c64 * @tdev: Pointer to the ttm_object_device.
78 struct ttm_object_device *tdev; member
196 struct ttm_object_device *tdev = tfile->tdev; in ttm_base_object_init() local
205 spin_lock(&tdev->object_lock); in ttm_base_object_init()
206 ret = idr_alloc(&tdev->idr, base, 1, 0, GFP_NOWAIT); in ttm_base_object_init()
207 spin_unlock(&tdev->object_lock); in ttm_base_object_init()
221 spin_lock(&tdev->object_lock); in ttm_base_object_init()
222 idr_remove(&tdev->idr, base->handle); in ttm_base_object_init()
223 spin_unlock(&tdev in ttm_base_object_init()
231 struct ttm_object_device *tdev = base->tfile->tdev; ttm_release_base() local
279 ttm_base_object_lookup_for_ref(struct ttm_object_device *tdev, uint64_t key) ttm_base_object_lookup_for_ref() argument
408 ttm_object_file_init(struct ttm_object_device *tdev) ttm_object_file_init() argument
428 struct ttm_object_device *tdev = kmalloc(sizeof(*tdev), GFP_KERNEL); ttm_object_device_init() local
453 struct ttm_object_device *tdev = *p_tdev; ttm_object_device_release() local
519 struct ttm_object_device *tdev = base->tfile->tdev; ttm_prime_dmabuf_release() local
544 struct ttm_object_device *tdev = tfile->tdev; ttm_prime_fd_to_handle() local
580 struct ttm_object_device *tdev = tfile->tdev; ttm_prime_handle_to_fd() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A Dmmp_tdma.c331 struct mmp_tdma_device *tdev = dev_id; in mmp_tdma_int_handler() local
336 struct mmp_tdma_chan *tdmac = tdev->tdmac[i]; in mmp_tdma_int_handler()
563 static int mmp_tdma_chan_init(struct mmp_tdma_device *tdev, in mmp_tdma_chan_init() argument
570 dev_err(tdev->dev, "too many channels for device!\n"); in mmp_tdma_chan_init()
575 tdmac = devm_kzalloc(tdev->dev, sizeof(*tdmac), GFP_KERNEL); in mmp_tdma_chan_init()
581 tdmac->dev = tdev->dev; in mmp_tdma_chan_init()
582 tdmac->chan.device = &tdev->device; in mmp_tdma_chan_init()
585 tdmac->reg_base = tdev->base + idx * 4; in mmp_tdma_chan_init()
588 tdev->tdmac[tdmac->idx] = tdmac; in mmp_tdma_chan_init()
593 &tdev in mmp_tdma_chan_init()
614 struct mmp_tdma_device *tdev = ofdma->of_dma_data; mmp_tdma_xlate() local
641 struct mmp_tdma_device *tdev; mmp_tdma_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dmmp_tdma.c331 struct mmp_tdma_device *tdev = dev_id; in mmp_tdma_int_handler() local
336 struct mmp_tdma_chan *tdmac = tdev->tdmac[i]; in mmp_tdma_int_handler()
563 static int mmp_tdma_chan_init(struct mmp_tdma_device *tdev, in mmp_tdma_chan_init() argument
570 dev_err(tdev->dev, "too many channels for device!\n"); in mmp_tdma_chan_init()
575 tdmac = devm_kzalloc(tdev->dev, sizeof(*tdmac), GFP_KERNEL); in mmp_tdma_chan_init()
581 tdmac->dev = tdev->dev; in mmp_tdma_chan_init()
582 tdmac->chan.device = &tdev->device; in mmp_tdma_chan_init()
585 tdmac->reg_base = tdev->base + idx * 4; in mmp_tdma_chan_init()
588 tdev->tdmac[tdmac->idx] = tdmac; in mmp_tdma_chan_init()
593 &tdev in mmp_tdma_chan_init()
614 struct mmp_tdma_device *tdev = ofdma->of_dma_data; mmp_tdma_xlate() local
641 struct mmp_tdma_device *tdev; mmp_tdma_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.c70 static inline int offload_activated(struct t3cdev *tdev) in offload_activated() argument
72 const struct adapter *adapter = tdev2adap(tdev); in offload_activated()
86 struct t3cdev *tdev; in cxgb3_register_client() local
92 list_for_each_entry(tdev, &ofld_dev_list, ofld_dev_list) { in cxgb3_register_client()
93 if (offload_activated(tdev)) in cxgb3_register_client()
94 client->add(tdev); in cxgb3_register_client()
111 struct t3cdev *tdev; in cxgb3_unregister_client() local
117 list_for_each_entry(tdev, &ofld_dev_list, ofld_dev_list) { in cxgb3_unregister_client()
118 if (offload_activated(tdev)) in cxgb3_unregister_client()
119 client->remove(tdev); in cxgb3_unregister_client()
133 cxgb3_add_clients(struct t3cdev *tdev) cxgb3_add_clients() argument
152 cxgb3_remove_clients(struct t3cdev *tdev) cxgb3_remove_clients() argument
164 cxgb3_event_notify(struct t3cdev *tdev, u32 event, u32 port) cxgb3_event_notify() argument
373 cxgb_offload_ctl(struct t3cdev *tdev, unsigned int req, void *data) cxgb_offload_ctl() argument
501 cxgb3_free_atid(struct t3cdev *tdev, int atid) cxgb3_free_atid() argument
521 cxgb3_free_stid(struct t3cdev *tdev, int stid) cxgb3_free_stid() argument
535 cxgb3_insert_tid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx, unsigned int tid) cxgb3_insert_tid() argument
565 struct t3cdev *tdev = td->dev; t3_process_tid_release_list() local
604 cxgb3_queue_tid_release(struct t3cdev *tdev, unsigned int tid) cxgb3_queue_tid_release() argument
627 cxgb3_remove_tid(struct t3cdev *tdev, void *ctx, unsigned int tid) cxgb3_remove_tid() argument
650 cxgb3_alloc_atid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) cxgb3_alloc_atid() argument
674 cxgb3_alloc_stid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) cxgb3_alloc_stid() argument
1081 struct t3cdev *tdev = dev2t3cdev(dev); cxgb_neigh_update() local
1088 set_l2t_ix(struct t3cdev *tdev, u32 tid, struct l2t_entry *e) set_l2t_ix() argument
1116 struct t3cdev *tdev; cxgb_redirect() local
1290 struct t3cdev *tdev = &adapter->tdev; cxgb3_offload_deactivate() local
1309 register_tdev(struct t3cdev *tdev) register_tdev() argument
1319 unregister_tdev(struct t3cdev *tdev) unregister_tdev() argument
1347 struct t3cdev *tdev = &adapter->tdev; cxgb3_adapter_ofld() local
1361 struct t3cdev *tdev = &adapter->tdev; cxgb3_adapter_unofld() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.c70 static inline int offload_activated(struct t3cdev *tdev) in offload_activated() argument
72 const struct adapter *adapter = tdev2adap(tdev); in offload_activated()
86 struct t3cdev *tdev; in cxgb3_register_client() local
92 list_for_each_entry(tdev, &ofld_dev_list, ofld_dev_list) { in cxgb3_register_client()
93 if (offload_activated(tdev)) in cxgb3_register_client()
94 client->add(tdev); in cxgb3_register_client()
111 struct t3cdev *tdev; in cxgb3_unregister_client() local
117 list_for_each_entry(tdev, &ofld_dev_list, ofld_dev_list) { in cxgb3_unregister_client()
118 if (offload_activated(tdev)) in cxgb3_unregister_client()
119 client->remove(tdev); in cxgb3_unregister_client()
133 cxgb3_add_clients(struct t3cdev *tdev) cxgb3_add_clients() argument
152 cxgb3_remove_clients(struct t3cdev *tdev) cxgb3_remove_clients() argument
164 cxgb3_event_notify(struct t3cdev *tdev, u32 event, u32 port) cxgb3_event_notify() argument
373 cxgb_offload_ctl(struct t3cdev *tdev, unsigned int req, void *data) cxgb_offload_ctl() argument
501 cxgb3_free_atid(struct t3cdev *tdev, int atid) cxgb3_free_atid() argument
521 cxgb3_free_stid(struct t3cdev *tdev, int stid) cxgb3_free_stid() argument
535 cxgb3_insert_tid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx, unsigned int tid) cxgb3_insert_tid() argument
565 struct t3cdev *tdev = td->dev; t3_process_tid_release_list() local
604 cxgb3_queue_tid_release(struct t3cdev *tdev, unsigned int tid) cxgb3_queue_tid_release() argument
627 cxgb3_remove_tid(struct t3cdev *tdev, void *ctx, unsigned int tid) cxgb3_remove_tid() argument
650 cxgb3_alloc_atid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) cxgb3_alloc_atid() argument
674 cxgb3_alloc_stid(struct t3cdev *tdev, struct cxgb3_client *client, void *ctx) cxgb3_alloc_stid() argument
1081 struct t3cdev *tdev = dev2t3cdev(dev); cxgb_neigh_update() local
1088 set_l2t_ix(struct t3cdev *tdev, u32 tid, struct l2t_entry *e) set_l2t_ix() argument
1116 struct t3cdev *tdev; cxgb_redirect() local
1290 struct t3cdev *tdev = &adapter->tdev; cxgb3_offload_deactivate() local
1309 register_tdev(struct t3cdev *tdev) register_tdev() argument
1319 unregister_tdev(struct t3cdev *tdev) unregister_tdev() argument
1347 struct t3cdev *tdev = &adapter->tdev; cxgb3_adapter_ofld() local
1361 struct t3cdev *tdev = &adapter->tdev; cxgb3_adapter_unofld() local
[all...]
/kernel/linux/linux-5.10/arch/mips/dec/
H A Dtc.c70 void __init tc_device_get_irq(struct tc_dev *tdev) in tc_device_get_irq() argument
72 switch (tdev->slot) { in tc_device_get_irq()
74 tdev->interrupt = dec_interrupt[DEC_IRQ_TC0]; in tc_device_get_irq()
77 tdev->interrupt = dec_interrupt[DEC_IRQ_TC1]; in tc_device_get_irq()
80 tdev->interrupt = dec_interrupt[DEC_IRQ_TC2]; in tc_device_get_irq()
86 tdev->interrupt = dec_interrupt[DEC_IRQ_TC5]; in tc_device_get_irq()
89 tdev->interrupt = dec_interrupt[DEC_IRQ_TC6]; in tc_device_get_irq()
92 tdev->interrupt = -1; in tc_device_get_irq()
/kernel/linux/linux-6.6/arch/mips/dec/
H A Dtc.c70 void __init tc_device_get_irq(struct tc_dev *tdev) in tc_device_get_irq() argument
72 switch (tdev->slot) { in tc_device_get_irq()
74 tdev->interrupt = dec_interrupt[DEC_IRQ_TC0]; in tc_device_get_irq()
77 tdev->interrupt = dec_interrupt[DEC_IRQ_TC1]; in tc_device_get_irq()
80 tdev->interrupt = dec_interrupt[DEC_IRQ_TC2]; in tc_device_get_irq()
86 tdev->interrupt = dec_interrupt[DEC_IRQ_TC5]; in tc_device_get_irq()
89 tdev->interrupt = dec_interrupt[DEC_IRQ_TC6]; in tc_device_get_irq()
92 tdev->interrupt = -1; in tc_device_get_irq()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgm20b.c69 struct nvkm_device_tegra *tdev = device->func->tegra(device); in gm20b_volt_new() local
73 if (tdev->gpu_speedo_id >= ARRAY_SIZE(speedo_to_vmin)) { in gm20b_volt_new()
75 tdev->gpu_speedo_id); in gm20b_volt_new()
84 vmin = speedo_to_vmin[tdev->gpu_speedo_id]; in gm20b_volt_new()
86 if (tdev->gpu_speedo_id >= 1) in gm20b_volt_new()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgm20b.c70 struct nvkm_device_tegra *tdev = device->func->tegra(device); in gm20b_volt_new() local
74 if (tdev->gpu_speedo_id >= ARRAY_SIZE(speedo_to_vmin)) { in gm20b_volt_new()
76 tdev->gpu_speedo_id); in gm20b_volt_new()
85 vmin = speedo_to_vmin[tdev->gpu_speedo_id]; in gm20b_volt_new()
87 if (tdev->gpu_speedo_id >= 1) in gm20b_volt_new()
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dti_usb_3410_5052.c341 static int ti_command_out_sync(struct ti_device *tdev, __u8 command,
343 static int ti_command_in_sync(struct ti_device *tdev, __u8 command,
346 static int ti_write_byte(struct usb_serial_port *port, struct ti_device *tdev,
349 static int ti_download_firmware(struct ti_device *tdev);
518 struct ti_device *tdev; in ti_startup() local
531 tdev = kzalloc(sizeof(struct ti_device), GFP_KERNEL); in ti_startup()
532 if (!tdev) in ti_startup()
535 mutex_init(&tdev->td_open_close_lock); in ti_startup()
536 tdev->td_serial = serial; in ti_startup()
537 usb_set_serial_data(serial, tdev); in ti_startup()
601 struct ti_device *tdev = usb_get_serial_data(serial); ti_release() local
648 struct ti_device *tdev; ti_open() local
778 struct ti_device *tdev; ti_close() local
1113 struct ti_device *tdev = urb->context; ti_interrupt_callback() local
1372 struct ti_device *tdev = tport->tp_tdev; ti_get_lsr() local
1515 ti_command_out_sync(struct ti_device *tdev, __u8 command, __u16 moduleid, __u16 value, __u8 *data, int size) ti_command_out_sync() argument
1532 ti_command_in_sync(struct ti_device *tdev, __u8 command, __u16 moduleid, __u16 value, __u8 *data, int size) ti_command_in_sync() argument
1551 ti_write_byte(struct usb_serial_port *port, struct ti_device *tdev, unsigned long addr, u8 mask, u8 byte) ti_write_byte() argument
1614 ti_download_firmware(struct ti_device *tdev) ti_download_firmware() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/
H A Dintr.c37 struct nvkm_top_device *tdev; in nvkm_intr_xlat() local
41 list_for_each_entry(tdev, &device->top->device, head) { in nvkm_intr_xlat()
42 if (tdev->intr >= 0 && in nvkm_intr_xlat()
43 tdev->type == subdev->type && in nvkm_intr_xlat()
44 tdev->inst == subdev->inst) { in nvkm_intr_xlat()
45 if (data->mask & BIT(tdev->intr)) { in nvkm_intr_xlat()
47 *mask = BIT(tdev->intr); in nvkm_intr_xlat()
297 struct nvkm_top_device *tdev; in nvkm_intr_subdev_add() local
302 list_for_each_entry(tdev, &device->top->device, head) { in nvkm_intr_subdev_add()
303 if (tdev in nvkm_intr_subdev_add()
[all...]
/kernel/linux/linux-5.10/drivers/pnp/
H A Dresource.c169 struct pnp_dev *tdev; in pnp_check_port() local
207 pnp_for_each_dev(tdev) { in pnp_check_port()
208 if (tdev == dev) in pnp_check_port()
211 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i)); in pnp_check_port()
232 struct pnp_dev *tdev; in pnp_check_mem() local
270 pnp_for_each_dev(tdev) { in pnp_check_mem()
271 if (tdev == dev) in pnp_check_mem()
274 (tres = pnp_get_resource(tdev, IORESOURCE_MEM, i)); in pnp_check_mem()
355 struct pnp_dev *tdev; in pnp_check_irq() local
397 pnp_for_each_dev(tdev) { in pnp_check_irq()
419 struct pnp_dev *tdev; pnp_check_dma() local
[all...]
/kernel/linux/linux-6.6/drivers/pnp/
H A Dresource.c170 struct pnp_dev *tdev; in pnp_check_port() local
208 pnp_for_each_dev(tdev) { in pnp_check_port()
209 if (tdev == dev) in pnp_check_port()
212 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i)); in pnp_check_port()
233 struct pnp_dev *tdev; in pnp_check_mem() local
271 pnp_for_each_dev(tdev) { in pnp_check_mem()
272 if (tdev == dev) in pnp_check_mem()
275 (tres = pnp_get_resource(tdev, IORESOURCE_MEM, i)); in pnp_check_mem()
356 struct pnp_dev *tdev; in pnp_check_irq() local
398 pnp_for_each_dev(tdev) { in pnp_check_irq()
420 struct pnp_dev *tdev; pnp_check_dma() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dusbtest.c118 #define ERROR(tdev, fmt, args...) \
119 dev_err(&(tdev)->intf->dev , fmt , ## args)
120 #define WARNING(tdev, fmt, args...) \
121 dev_warn(&(tdev)->intf->dev , fmt , ## args)
384 static int check_guard_bytes(struct usbtest_dev *tdev, struct urb *urb) in check_guard_bytes() argument
392 ERROR(tdev, "guard byte[%d] %d (not %d)\n", in check_guard_bytes()
400 static int simple_check_buf(struct usbtest_dev *tdev, struct urb *urb) in simple_check_buf() argument
408 int ret = check_guard_bytes(tdev, urb); in simple_check_buf()
433 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected); in simple_check_buf()
455 struct usbtest_dev *tdev, in simple_io()
454 simple_io( struct usbtest_dev *tdev, struct urb *urb, int iterations, int vary, int expected, const char *label ) simple_io() argument
600 perform_sglist( struct usbtest_dev *tdev, unsigned iterations, int pipe, struct usb_sg_request *req, struct scatterlist *sg, int nents ) perform_sglist() argument
704 is_good_config(struct usbtest_dev *tdev, int len) is_good_config() argument
741 is_good_ext(struct usbtest_dev *tdev, u8 *buf) is_good_ext() argument
763 is_good_ss_cap(struct usbtest_dev *tdev, u8 *buf) is_good_ss_cap() argument
792 is_good_con_id(struct usbtest_dev *tdev, u8 *buf) is_good_con_id() argument
1629 verify_not_halted(struct usbtest_dev *tdev, int ep, struct urb *urb) verify_not_halted() argument
1651 verify_halted(struct usbtest_dev *tdev, int ep, struct urb *urb) verify_halted() argument
1676 test_halt(struct usbtest_dev *tdev, int ep, struct urb *urb) test_halt() argument
1722 test_toggle_sync(struct usbtest_dev *tdev, int ep, struct urb *urb) test_toggle_sync() argument
2158 test_unaligned_bulk( struct usbtest_dev *tdev, int pipe, unsigned length, int iterations, unsigned transfer_flags, const char *label) test_unaligned_bulk() argument
[all...]

Completed in 17 milliseconds

12345