/kernel/linux/linux-5.10/include/linux/ |
H A D | pm_opp.h | 21 struct device; 34 * @u_amp: Maximum current drawn by the device in microamperes 76 * @dev: Pointer to the struct device 87 struct device *dev; 92 struct opp_table *dev_pm_opp_get_opp_table(struct device *dev); 93 struct opp_table *dev_pm_opp_get_opp_table_indexed(struct device *dev, int index); 104 int dev_pm_opp_get_opp_count(struct device *dev); 105 unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev); 106 unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev); 107 unsigned long dev_pm_opp_get_max_transition_latency(struct device *de [all...] |
H A D | device.h | 3 * device.h - generic, centralized driver model 30 #include <linux/device/bus.h> 31 #include <linux/device/class.h> 32 #include <linux/device/driver.h> 33 #include <asm/device.h> 35 struct device; 50 * struct subsys_interface - interfaces to device functions 51 * @name: name of the device function 54 * @add_dev: device hookup to device functio 481 struct device { global() struct [all...] |
/third_party/libinput/src/ |
H A D | evdev-fallback.c | 36 struct evdev_device *device, in fallback_keyboard_notify_key() 43 down_count = evdev_update_key_down_count(device, key, state); in fallback_keyboard_notify_key() 47 keyboard_notify_key(&device->base, time, key, state); in fallback_keyboard_notify_key() 52 struct evdev_device *device, in fallback_lid_notify_toggle() 56 switch_notify_toggle(&device->base, in fallback_lid_notify_toggle() 66 struct evdev_device *device, in fallback_notify_physical_button() 71 evdev_pointer_notify_physical_button(device, time, button, state); in fallback_notify_physical_button() 94 post_button_scroll(struct evdev_device *device, in post_button_scroll() argument 98 if (device->scroll.method != LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN) in post_button_scroll() 101 switch(device in post_button_scroll() 35 fallback_keyboard_notify_key(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int key, enum libinput_key_state state) fallback_keyboard_notify_key() argument 51 fallback_lid_notify_toggle(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_lid_notify_toggle() argument 65 fallback_notify_physical_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) fallback_notify_physical_button() argument 131 fallback_filter_defuzz_touch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct mt_slot *slot) fallback_filter_defuzz_touch() argument 155 fallback_rotate_relative(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_rotate_relative() argument 169 fallback_flush_relative_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_relative_motion() argument 207 fallback_flush_absolute_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_absolute_motion() argument 224 fallback_flush_mt_down(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_down() argument 263 fallback_flush_mt_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_motion() argument 294 fallback_flush_mt_up(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_up() argument 322 fallback_flush_mt_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_cancel() argument 350 fallback_flush_st_down(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_down() argument 385 fallback_flush_st_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_motion() argument 407 fallback_flush_st_up(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_up() argument 432 fallback_flush_st_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_cancel() argument 457 fallback_process_touch_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int value) fallback_process_touch_button() argument 467 fallback_process_key(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_key() argument 524 fallback_process_touch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_touch() argument 607 fallback_process_absolute_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e) fallback_process_absolute_motion() argument 702 fallback_process_switch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_switch() argument 742 fallback_reject_relative(struct evdev_device *device, const struct input_event *e, uint64_t time) fallback_reject_relative() argument 758 fallback_process_relative(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_relative() argument 780 fallback_process_absolute(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_absolute() argument 793 fallback_any_button_down(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_any_button_down() argument 824 fallback_flush_mt_events(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_mt_events() argument 899 fallback_handle_state(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_handle_state() argument 965 fallback_interface_process(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, struct input_event *event, uint64_t time) fallback_interface_process() argument 1003 cancel_touches(struct fallback_dispatch *dispatch, struct evdev_device *device, const struct device_coord_rect *rect, uint64_t time) cancel_touches() argument 1037 release_pressed_keys(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) release_pressed_keys() argument 1092 fallback_return_to_neutral_state(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_return_to_neutral_state() argument 1108 fallback_interface_suspend(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device) fallback_interface_suspend() argument 1137 fallback_interface_sync_initial_state(struct evdev_device *device, struct evdev_dispatch *evdev_dispatch) fallback_interface_sync_initial_state() argument 1173 fallback_interface_update_rect(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_update_rect() argument 1191 fallback_interface_toggle_touch(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, enum evdev_arbitration_state which, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_toggle_touch() argument 1294 fallback_resume(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_resume() argument 1305 fallback_suspend(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_suspend() argument 1317 struct evdev_device *device = dispatch->device; fallback_tablet_mode_switch_event() local 1389 fallback_interface_device_added(struct evdev_device *device, struct evdev_device *added_device) fallback_interface_device_added() argument 1397 fallback_interface_device_removed(struct evdev_device *device, struct evdev_device *removed_device) fallback_interface_device_removed() argument 1441 fallback_change_to_left_handed(struct evdev_device *device) fallback_change_to_left_handed() argument 1455 fallback_change_scroll_method(struct evdev_device *device) fallback_change_scroll_method() argument 1474 fallback_rotation_config_is_available(struct libinput_device *device) fallback_rotation_config_is_available() argument 1484 struct evdev_device *device = evdev_device(libinput_device); fallback_rotation_config_set_angle() local 1496 struct evdev_device *device = evdev_device(libinput_device); fallback_rotation_config_get_angle() local 1503 fallback_rotation_config_get_default_angle(struct libinput_device *device) fallback_rotation_config_get_default_angle() argument 1509 fallback_init_rotation(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_init_rotation() argument 1524 fallback_dispatch_init_slots(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_slots() argument 1587 fallback_dispatch_init_rel(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_rel() argument 1595 fallback_dispatch_init_abs(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_abs() argument 1609 fallback_dispatch_init_switch(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_switch() argument 1643 fallback_init_arbitration(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_init_arbitration() argument 1663 struct evdev_device *device = evdev_device(libinput_device); fallback_dispatch_create() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | vga.c | 27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport() argument 29 if (device->card_type >= NV_50) in nvkm_rdport() 30 return nvkm_rd08(device, 0x601000 + port); in nvkm_rdport() 35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); in nvkm_rdport() 40 if (device->card_type < NV_40) in nvkm_rdport() 42 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port); in nvkm_rdport() 49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport() argument 51 if (device->card_type >= NV_50) in nvkm_wrport() 52 nvkm_wr08(device, 0x601000 + port, data); in nvkm_wrport() 57 nvkm_wr08(device, in nvkm_wrport() 69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) nvkm_rdvgas() argument 76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgas() argument 83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) nvkm_rdvgag() argument 90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgag() argument 97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) nvkm_rdvgac() argument 104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgac() argument 111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) nvkm_rdvgai() argument 120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) nvkm_wrvgai() argument 128 nvkm_lockvgac(struct nvkm_device *device, bool lock) nvkm_lockvgac() argument 162 nvkm_rdvgaowner(struct nvkm_device *device) nvkm_rdvgaowner() argument 188 nvkm_wrvgaowner(struct nvkm_device *device, u8 select) nvkm_wrvgaowner() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | vga.c | 27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport() argument 29 if (device->card_type >= NV_50) in nvkm_rdport() 30 return nvkm_rd08(device, 0x601000 + port); in nvkm_rdport() 35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); in nvkm_rdport() 40 if (device->card_type < NV_40) in nvkm_rdport() 42 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port); in nvkm_rdport() 49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport() argument 51 if (device->card_type >= NV_50) in nvkm_wrport() 52 nvkm_wr08(device, 0x601000 + port, data); in nvkm_wrport() 57 nvkm_wr08(device, in nvkm_wrport() 69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) nvkm_rdvgas() argument 76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgas() argument 83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) nvkm_rdvgag() argument 90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgag() argument 97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) nvkm_rdvgac() argument 104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgac() argument 111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) nvkm_rdvgai() argument 120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) nvkm_wrvgai() argument 128 nvkm_lockvgac(struct nvkm_device *device, bool lock) nvkm_lockvgac() argument 162 nvkm_rdvgaowner(struct nvkm_device *device) nvkm_rdvgaowner() argument 188 nvkm_wrvgaowner(struct nvkm_device *device, u8 select) nvkm_wrvgaowner() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv20.c | 34 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_chan_fini() local 38 nvkm_mask(device, 0x400720, 0x00000001, 0x00000000); in nv20_gr_chan_fini() 39 if (nvkm_rd32(device, 0x400144) & 0x00010000) in nv20_gr_chan_fini() 40 chid = (nvkm_rd32(device, 0x400148) & 0x1f000000) >> 24; in nv20_gr_chan_fini() 42 nvkm_wr32(device, 0x400784, inst >> 4); in nv20_gr_chan_fini() 43 nvkm_wr32(device, 0x400788, 0x00000002); in nv20_gr_chan_fini() 44 nvkm_msec(device, 2000, in nv20_gr_chan_fini() 45 if (!nvkm_rd32(device, 0x400700)) in nv20_gr_chan_fini() 48 nvkm_wr32(device, in nv20_gr_chan_fini() 152 struct nvkm_device *device = gr->base.engine.subdev.device; nv20_gr_tile() local 184 struct nvkm_device *device = subdev->device; nv20_gr_intr() local 232 struct nvkm_device *device = gr->base.engine.subdev.device; nv20_gr_init() local 332 nv20_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv20_gr_new_() argument 373 nv20_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv20_gr_new() argument [all...] |
H A D | nv50.c | 35 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv50_gr_units() 46 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in nv50_gr_object_bind() 73 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv50_gr_chan_bind() 77 nv50_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv50_gr_chan_bind() 243 struct nvkm_device *device = subdev->device; in nv50_gr_prop_trap() local 244 u32 e0c = nvkm_rd32(device, ustatus_addr + 0x04); in nv50_gr_prop_trap() 245 u32 e10 = nvkm_rd32(device, ustatus_addr + 0x08); in nv50_gr_prop_trap() 246 u32 e14 = nvkm_rd32(device, ustatus_addr + 0x0c); in nv50_gr_prop_trap() 247 u32 e18 = nvkm_rd32(device, ustatus_add in nv50_gr_prop_trap() 285 struct nvkm_device *device = subdev->device; nv50_gr_mp_trap() local 329 struct nvkm_device *device = subdev->device; nv50_gr_tp_trap() local 399 struct nvkm_device *device = subdev->device; nv50_gr_trap_handler() local 624 struct nvkm_device *device = subdev->device; nv50_gr_intr() local 682 struct nvkm_device *device = gr->base.engine.subdev.device; nv50_gr_init() local 763 nv50_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv50_gr_new_() argument 793 nv50_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv50_gr_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | core-device.c | 11 #include <linux/device.h> 157 static const struct ieee1394_device_id *unit_match(struct device *dev, in unit_match() 173 static bool is_fw_unit(struct device *dev); 175 static int fw_unit_match(struct device *dev, struct device_driver *drv) in fw_unit_match() 181 static int fw_unit_probe(struct device *dev) in fw_unit_probe() 189 static int fw_unit_remove(struct device *dev) in fw_unit_remove() 208 static int fw_unit_uevent(struct device *dev, struct kobj_uevent_env *env) in fw_unit_uevent() 229 int fw_device_enable_phys_dma(struct fw_device *device) in fw_device_enable_phys_dma() argument 231 int generation = device->generation; in fw_device_enable_phys_dma() 233 /* device in fw_device_enable_phys_dma() 371 struct fw_device *device = fw_device(dev->parent); rom_index_show() local 387 struct fw_device *device = fw_device(dev); config_rom_show() local 401 struct fw_device *device = fw_device(dev); guid_show() local 415 struct fw_device *device = fw_device(dev); is_local_show() local 445 struct fw_device *device = fw_device(dev); units_show() local 474 read_rom(struct fw_device *device, int generation, int index, u32 *data) read_rom() argument 506 read_config_rom(struct fw_device *device, int generation) read_config_rom() argument 688 create_units(struct fw_device *device) create_units() argument 729 shutdown_unit(struct device *device, void *data) shutdown_unit() argument 749 struct fw_device *device; fw_device_get_by_devt() local 763 fw_schedule_device_work(struct fw_device *device, unsigned long delay) fw_schedule_device_work() argument 787 struct fw_device *device = fw_device_shutdown() local 816 struct fw_device *device = fw_device(dev); fw_device_release() local 860 struct fw_device *device = fw_device_update() local 922 set_broadcast_channel(struct fw_device *device, int generation) set_broadcast_channel() argument 982 struct fw_device *device = fw_device_init() local 1100 reread_config_rom(struct fw_device *device, int generation, bool *changed) reread_config_rom() argument 1127 struct fw_device *device = fw_device_refresh() local 1194 struct fw_device *device = container_of(to_delayed_work(work), fw_device_workfn() local 1201 struct fw_device *device; fw_node_event() local [all...] |
/kernel/linux/linux-6.6/drivers/firewire/ |
H A D | core-device.c | 11 #include <linux/device.h> 157 static const struct ieee1394_device_id *unit_match(struct device *dev, in unit_match() 173 static bool is_fw_unit(struct device *dev); 175 static int fw_unit_match(struct device *dev, struct device_driver *drv) in fw_unit_match() 181 static int fw_unit_probe(struct device *dev) in fw_unit_probe() 189 static void fw_unit_remove(struct device *dev) in fw_unit_remove() 208 static int fw_unit_uevent(const struct device *dev, struct kobj_uevent_env *env) in fw_unit_uevent() 229 int fw_device_enable_phys_dma(struct fw_device *device) in fw_device_enable_phys_dma() argument 231 int generation = device->generation; in fw_device_enable_phys_dma() 233 /* device in fw_device_enable_phys_dma() 371 struct fw_device *device = fw_device(dev->parent); rom_index_show() local 386 struct fw_device *device = fw_device(dev); config_rom_show() local 400 struct fw_device *device = fw_device(dev); guid_show() local 413 struct fw_device *device = fw_device(dev); is_local_show() local 443 struct fw_device *device = fw_device(dev); units_show() local 472 read_rom(struct fw_device *device, int generation, int index, u32 *data) read_rom() argument 504 read_config_rom(struct fw_device *device, int generation) read_config_rom() argument 686 create_units(struct fw_device *device) create_units() argument 727 shutdown_unit(struct device *device, void *data) shutdown_unit() argument 747 struct fw_device *device; fw_device_get_by_devt() local 761 fw_schedule_device_work(struct fw_device *device, unsigned long delay) fw_schedule_device_work() argument 785 struct fw_device *device = fw_device_shutdown() local 814 struct fw_device *device = fw_device(dev); fw_device_release() local 858 struct fw_device *device = fw_device_update() local 920 set_broadcast_channel(struct fw_device *device, int generation) set_broadcast_channel() argument 980 struct fw_device *device = fw_device_init() local 1098 reread_config_rom(struct fw_device *device, int generation, bool *changed) reread_config_rom() argument 1125 struct fw_device *device = fw_device_refresh() local 1192 struct fw_device *device = container_of(to_delayed_work(work), fw_device_workfn() local 1199 struct fw_device *device; fw_node_event() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | device.h | 3 * device.h - generic, centralized driver model 30 #include <linux/device/bus.h> 31 #include <linux/device/class.h> 32 #include <linux/device/driver.h> 34 #include <asm/device.h> 36 struct device; 52 * struct subsys_interface - interfaces to device functions 53 * @name: name of the device function 56 * @add_dev: device hookup to device functio 705 struct device { global() struct [all...] |
H A D | pm_opp.h | 21 struct device; 34 * @u_amp: Maximum current drawn by the device in microamperes 35 * @u_watt: Power used by the device in microwatts 60 typedef int (*config_regulators_t)(struct device *dev, 64 typedef int (*config_clks_t)(struct device *dev, struct opp_table *opp_table, 80 * This structure contains platform specific OPP configurations for the device. 92 struct device ***virt_devs; 97 struct opp_table *dev_pm_opp_get_opp_table(struct device *dev); 115 int dev_pm_opp_get_opp_count(struct device *dev); 116 unsigned long dev_pm_opp_get_max_clock_latency(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/vfio/ |
H A D | vfio_main.c | 15 #include <linux/device.h> 55 MODULE_PARM_DESC(enable_unsafe_noiommu_mode, "Enable UNSAFE, no-IOMMU mode. This mode provides no device isolation, no DMA translation, no host kernel protection, cannot be used for device assignment to virtual machines, requires RAWIO permissions, and will taint the kernel. If you do not know what this is for, step away. (default: false)"); 60 int vfio_assign_device_set(struct vfio_device *device, void *set_id) in vfio_assign_device_set() argument 103 device->dev_set = dev_set; in vfio_assign_device_set() 104 list_add_tail(&device->dev_set_list, &dev_set->device_list); in vfio_assign_device_set() 110 static void vfio_release_device_set(struct vfio_device *device) in vfio_release_device_set() argument 112 struct vfio_device_set *dev_set = device->dev_set; in vfio_release_device_set() 118 list_del(&device->dev_set_list); in vfio_release_device_set() 146 struct device *de in vfio_find_device_in_devset() 163 vfio_device_put_registration(struct vfio_device *device) vfio_device_put_registration() argument 169 vfio_device_try_get_registration(struct vfio_device *device) vfio_device_try_get_registration() argument 180 struct vfio_device *device = vfio_device_release() local 210 struct vfio_device *device; _vfio_alloc_device() local 234 vfio_init_device(struct vfio_device *device, struct device *dev, const struct vfio_device_ops *ops) vfio_init_device() argument 268 __vfio_register_dev(struct vfio_device *device, enum vfio_group_type type) __vfio_register_dev() argument 321 vfio_register_group_dev(struct vfio_device *device) vfio_register_group_dev() argument 331 vfio_register_emulated_iommu_dev(struct vfio_device *device) vfio_register_emulated_iommu_dev() argument 340 vfio_unregister_group_dev(struct vfio_device *device) vfio_unregister_group_dev() argument 387 vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm) vfio_device_get_kvm_safe() argument 419 vfio_device_put_kvm(struct vfio_device *device) vfio_device_put_kvm() argument 439 vfio_assert_device_open(struct vfio_device *device) vfio_assert_device_open() argument 445 vfio_allocate_device_file(struct vfio_device *device) vfio_allocate_device_file() argument 461 struct vfio_device *device = df->device; vfio_df_device_first_open() local 496 struct vfio_device *device = df->device; vfio_df_device_last_close() local 512 struct vfio_device *device = df->device; vfio_df_open() local 536 struct vfio_device *device = df->device; vfio_df_close() local 550 vfio_device_pm_runtime_get(struct vfio_device *device) vfio_device_pm_runtime_get() argument 571 vfio_device_pm_runtime_put(struct vfio_device *device) vfio_device_pm_runtime_put() argument 585 struct vfio_device *device = df->device; vfio_device_fops_release() local 614 vfio_mig_get_next_state(struct vfio_device *device, enum vfio_device_mig_state cur_fsm, enum vfio_device_mig_state new_fsm, enum vfio_device_mig_state *next_fsm) vfio_mig_get_next_state() argument 840 vfio_ioctl_device_feature_mig_device_state(struct vfio_device *device, u32 flags, void __user *arg, size_t argsz) vfio_ioctl_device_feature_mig_device_state() argument 890 vfio_ioctl_device_feature_migration_data_size(struct vfio_device *device, u32 flags, void __user *arg, size_t argsz) vfio_ioctl_device_feature_migration_data_size() argument 917 vfio_ioctl_device_feature_migration(struct vfio_device *device, u32 flags, void __user *arg, size_t argsz) vfio_ioctl_device_feature_migration() argument 990 vfio_ioctl_device_feature_logging_start(struct vfio_device *device, u32 flags, void __user *arg, size_t argsz) vfio_ioctl_device_feature_logging_start() argument 1075 vfio_ioctl_device_feature_logging_stop(struct vfio_device *device, u32 flags, void __user *arg, size_t argsz) vfio_ioctl_device_feature_logging_stop() argument 1096 struct vfio_device *device = opaque; vfio_device_log_read_and_clear() local 1102 vfio_ioctl_device_feature_logging_report(struct vfio_device *device, u32 flags, void __user *arg, size_t argsz) vfio_ioctl_device_feature_logging_report() argument 1146 vfio_ioctl_device_feature(struct vfio_device *device, struct vfio_device_feature __user *arg) vfio_ioctl_device_feature() argument 1208 struct vfio_device *device = df->device; vfio_device_fops_unl_ioctl() local 1257 struct vfio_device *device = df->device; vfio_device_fops_read() local 1274 struct vfio_device *device = df->device; vfio_device_fops_write() local 1289 struct vfio_device *device = df->device; vfio_device_fops_mmap() local 1343 struct vfio_device *device; vfio_file_enforced_coherent() local 1533 vfio_pin_pages(struct vfio_device *device, dma_addr_t iova, int npage, int prot, struct page **pages) vfio_pin_pages() argument 1574 vfio_unpin_pages(struct vfio_device *device, dma_addr_t iova, int npage) vfio_unpin_pages() argument 1613 vfio_dma_rw(struct vfio_device *device, dma_addr_t iova, void *data, size_t len, bool write) vfio_dma_rw() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_receiver.c | 146 static struct page *__drbd_alloc_pages(struct drbd_device *device, in __drbd_alloc_pages() argument 192 static void reclaim_finished_net_peer_reqs(struct drbd_device *device, in reclaim_finished_net_peer_reqs() argument 202 list_for_each_entry_safe(peer_req, tmp, &device->net_ee, w.list) { in reclaim_finished_net_peer_reqs() 209 static void drbd_reclaim_net_peer_reqs(struct drbd_device *device) in drbd_reclaim_net_peer_reqs() argument 214 spin_lock_irq(&device->resource->req_lock); in drbd_reclaim_net_peer_reqs() 215 reclaim_finished_net_peer_reqs(device, &reclaimed); in drbd_reclaim_net_peer_reqs() 216 spin_unlock_irq(&device->resource->req_lock); in drbd_reclaim_net_peer_reqs() 218 drbd_free_net_peer_req(device, peer_req); in drbd_reclaim_net_peer_reqs() 228 struct drbd_device *device = peer_device->device; in conn_reclaim_net_peer_reqs() local 264 struct drbd_device *device = peer_device->device; drbd_alloc_pages() local 316 drbd_free_pages(struct drbd_device *device, struct page *page, int is_net) drbd_free_pages() argument 362 struct drbd_device *device = peer_device->device; __must_hold() local 405 __drbd_free_peer_req(struct drbd_device *device, struct drbd_peer_request *peer_req, int is_net) __drbd_free_peer_req() argument 421 drbd_free_peer_reqs(struct drbd_device *device, struct list_head *list) drbd_free_peer_reqs() argument 442 drbd_finish_peer_reqs(struct drbd_device *device) drbd_finish_peer_reqs() argument 475 _drbd_wait_ee_list_empty(struct drbd_device *device, struct list_head *head) _drbd_wait_ee_list_empty() argument 491 drbd_wait_ee_list_empty(struct drbd_device *device, struct list_head *head) drbd_wait_ee_list_empty() argument 890 struct drbd_device *device = peer_device->device; drbd_connected() local 1103 struct drbd_device *device = peer_device->device; conn_connect() local 1253 struct drbd_device *device; global() member 1260 struct drbd_device *device = octx->device; one_flush_endio() local 1278 submit_one_flush(struct drbd_device *device, struct issue_flush_context *ctx) submit_one_flush() argument 1323 struct drbd_device *device = peer_device->device; drbd_flush() local 1450 struct drbd_device *device; drbd_bump_write_ordering() local 1512 drbd_issue_discard_or_zero_out(struct drbd_device *device, sector_t start, unsigned int nr_sectors, int flags) drbd_issue_discard_or_zero_out() argument 1577 can_do_reliable_discards(struct drbd_device *device) can_do_reliable_discards() argument 1593 drbd_issue_peer_discard_or_zero_out(struct drbd_device *device, struct drbd_peer_request *peer_req) drbd_issue_peer_discard_or_zero_out() argument 1608 drbd_issue_peer_wsame(struct drbd_device *device, struct drbd_peer_request *peer_req) drbd_issue_peer_wsame() argument 1637 drbd_submit_peer_request(struct drbd_device *device, struct drbd_peer_request *peer_req, const unsigned op, const unsigned op_flags, const int fault_type) drbd_submit_peer_request() argument 1739 drbd_remove_epoch_entry_interval(struct drbd_device *device, struct drbd_peer_request *peer_req) drbd_remove_epoch_entry_interval() argument 1759 struct drbd_device *device = peer_device->device; conn_wait_active_ee_empty() local 1862 struct drbd_device *device = peer_device->device; __must_hold() local 2066 struct drbd_device *device = peer_device->device; e_end_resync_block() local 2089 struct drbd_device *device = peer_device->device; __releases() local 2127 find_request(struct drbd_device *device, struct rb_root *root, u64 id, sector_t sector, bool missing_ok, const char *func) find_request() argument 2146 struct drbd_device *device; receive_DataReply() local 2181 struct drbd_device *device; receive_RSDataReply() local 2213 restart_conflicting_writes(struct drbd_device *device, sector_t sector, int size) restart_conflicting_writes() argument 2240 struct drbd_device *device = peer_device->device; e_end_block() local 2323 struct drbd_device *device = peer_device->device; update_peer_seq() local 2343 overlapping_resync_write(struct drbd_device *device, struct drbd_peer_request *peer_req) overlapping_resync_write() argument 2384 struct drbd_device *device = peer_device->device; wait_for_and_update_peer_seq() local 2452 fail_postponed_requests(struct drbd_device *device, sector_t sector, unsigned int size) fail_postponed_requests() argument 2477 handle_write_conflicts(struct drbd_device *device, struct drbd_peer_request *peer_req) handle_write_conflicts() argument 2589 struct drbd_device *device; receive_Data() local 2767 drbd_rs_should_slow_down(struct drbd_device *device, sector_t sector, bool throttle_if_app_is_waiting) drbd_rs_should_slow_down() argument 2790 drbd_rs_c_min_rate_throttle(struct drbd_device *device) drbd_rs_c_min_rate_throttle() argument 2839 struct drbd_device *device; receive_DataRequest() local 3054 struct drbd_device *device = peer_device->device; __must_hold() local 3137 struct drbd_device *device = peer_device->device; __must_hold() local 3194 struct drbd_device *device = peer_device->device; __must_hold() local 3239 drbd_uuid_dump(struct drbd_device *device, char *text, u64 *uuid, u64 bits, u64 flags) drbd_uuid_dump() argument 3491 struct drbd_device *device = peer_device->device; __must_hold() local 3823 drbd_crypto_alloc_digest_safe( const struct drbd_device *device, const char *alg, const char *name) drbd_crypto_alloc_digest_safe() argument 3882 struct drbd_device *device; receive_SyncParam() local 4092 warn_if_differ_considerably(struct drbd_device *device, const char *s, sector_t a, sector_t b) warn_if_differ_considerably() argument 4107 struct drbd_device *device; receive_sizes() local 4280 struct drbd_device *device; receive_uuids() local 4387 struct drbd_device *device; receive_req_state() local 4444 struct drbd_device *device; receive_state() local 4641 struct drbd_device *device; receive_sync_uuid() local 4818 INFO_bm_xfer_stats(struct drbd_device *device, const char *direction, struct bm_xfer_ctx *c) INFO_bm_xfer_stats() argument 4865 struct drbd_device *device; receive_bitmap() local 4969 struct drbd_device *device; receive_out_of_sync() local 4996 struct drbd_device *device; receive_rs_deallocated() local 5179 struct drbd_device *device = peer_device->device; conn_disconnect() local 5212 struct drbd_device *device = peer_device->device; drbd_disconnected() local 5643 struct drbd_device *device; got_RqSReply() local 5688 struct drbd_device *device; got_IsInSync() local 5716 validate_req_change_req_state(struct drbd_device *device, u64 id, sector_t sector, struct rb_root *root, const char *func, enum drbd_req_event what, bool missing_ok) validate_req_change_req_state() argument 5740 struct drbd_device *device; got_BlockAck() local 5786 struct drbd_device *device; got_NegAck() local 5822 struct drbd_device *device; got_NegDReply() local 5844 struct drbd_device *device; got_NegRSDReply() local 5887 struct drbd_device *device = peer_device->device; got_BarrierAck() local 5904 struct drbd_device *device; got_OVResult() local 6151 struct drbd_device *device = peer_device->device; drbd_send_acks_wf() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
H A D | bus.c | 33 * host1x_subdev_add() - add a new subdevice with an associated device node 34 * @device: host1x device to add the subdevice to 35 * @np: device node 37 static int host1x_subdev_add(struct host1x_device *device, in host1x_subdev_add() argument 52 mutex_lock(&device->subdevs_lock); in host1x_subdev_add() 53 list_add_tail(&subdev->list, &device->subdevs); in host1x_subdev_add() 54 mutex_unlock(&device->subdevs_lock); in host1x_subdev_add() 60 err = host1x_subdev_add(device, driver, child); in host1x_subdev_add() 84 * host1x_device_parse_dt() - scan device tre 88 host1x_device_parse_dt(struct host1x_device *device, struct host1x_driver *driver) host1x_device_parse_dt() argument 108 host1x_subdev_register(struct host1x_device *device, struct host1x_subdev *subdev, struct host1x_client *client) host1x_subdev_register() argument 137 __host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) __host1x_subdev_unregister() argument 173 host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) host1x_subdev_unregister() argument 191 host1x_device_init(struct host1x_device *device) host1x_device_init() argument 233 host1x_device_exit(struct host1x_device *device) host1x_device_exit() argument 262 struct host1x_device *device; host1x_add_client() local 284 struct host1x_device *device, *dt; host1x_del_client() local 360 __host1x_device_del(struct host1x_device *device) __host1x_device_del() argument 410 struct host1x_device *device = to_host1x_device(dev); host1x_device_release() local 421 struct host1x_device *device; host1x_device_add() local 480 host1x_device_del(struct host1x *host1x, struct host1x_device *device) host1x_device_del() argument 494 struct host1x_device *device; host1x_attach_driver() local 516 struct host1x_device *device, *tmp; host1x_detach_driver() local 530 struct host1x_device *device; host1x_devices_show() local 614 struct host1x_device *device = to_host1x_device(dev); host1x_device_probe() local 625 struct host1x_device *device = to_host1x_device(dev); host1x_device_remove() local 636 struct host1x_device *device = to_host1x_device(dev); host1x_device_shutdown() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gt215.c | 34 struct nvkm_device *device = subdev->device; in gt215_pmu_send() local 39 addr = nvkm_rd32(device, 0x10a4a0); in gt215_pmu_send() 40 if (nvkm_msec(device, 2000, in gt215_pmu_send() 41 u32 tmp = nvkm_rd32(device, 0x10a4b0); in gt215_pmu_send() 60 nvkm_wr32(device, 0x10a580, 0x00000001); in gt215_pmu_send() 61 } while (nvkm_rd32(device, 0x10a580) != 0x00000001); in gt215_pmu_send() 64 nvkm_wr32(device, 0x10a1c0, 0x01000000 | (((addr & 0x07) << 4) + in gt215_pmu_send() 66 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send() 67 nvkm_wr32(device, in gt215_pmu_send() 90 struct nvkm_device *device = subdev->device; gt215_pmu_recv() local 142 struct nvkm_device *device = subdev->device; gt215_pmu_intr() local 187 struct nvkm_device *device = pmu->subdev.device; gt215_pmu_reset() local 203 struct nvkm_device *device = pmu->subdev.device; gt215_pmu_init() local 290 gt215_pmu_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pmu **ppmu) gt215_pmu_new() argument [all...] |
H A D | gk104.c | 34 magic_(struct nvkm_device *device, u32 ctrl, int size) in magic_() argument 36 nvkm_wr32(device, 0x00c800, 0x00000000); in magic_() 37 nvkm_wr32(device, 0x00c808, 0x00000000); in magic_() 38 nvkm_wr32(device, 0x00c800, ctrl); in magic_() 39 nvkm_msec(device, 2000, in magic_() 40 if (nvkm_rd32(device, 0x00c800) & 0x40000000) { in magic_() 42 nvkm_wr32(device, 0x00c804, 0x00000000); in magic_() 46 nvkm_wr32(device, 0x00c800, 0x00000000); in magic_() 50 magic(struct nvkm_device *device, u32 ctrl) in magic() argument 52 magic_(device, in magic() 59 struct nvkm_device *device = pmu->subdev.device; gk104_pmu_pgob() local 130 gk104_pmu_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pmu **ppmu) gk104_pmu_new() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_sqtt.c | 39 radv_se_is_disabled(struct radv_device *device, unsigned se) in radv_se_is_disabled() argument 42 return device->physical_device->rad_info.cu_mask[se][0] == 0; in radv_se_is_disabled() 46 gfx10_get_thread_trace_ctrl(struct radv_device *device, bool enable) in gfx10_get_thread_trace_ctrl() argument 54 if (device->physical_device->rad_info.gfx_level == GFX10_3) in gfx10_get_thread_trace_ctrl() 57 if (device->physical_device->rad_info.has_sqtt_auto_flush_mode_bug) in gfx10_get_thread_trace_ctrl() 64 radv_emit_wait_for_idle(struct radv_device *device, struct radeon_cmdbuf *cs, int family) in radv_emit_wait_for_idle() argument 68 cs, device->physical_device->rad_info.gfx_level, NULL, 0, in radv_emit_wait_for_idle() 69 family == AMD_IP_COMPUTE && device->physical_device->rad_info.gfx_level >= GFX7, in radv_emit_wait_for_idle() 79 radv_emit_thread_trace_start(struct radv_device *device, struct radeon_cmdbuf *cs, in radv_emit_thread_trace_start() argument 82 uint32_t shifted_size = device in radv_emit_thread_trace_start() 225 radv_copy_thread_trace_info_regs(struct radv_device *device, struct radeon_cmdbuf *cs, unsigned se_index) radv_copy_thread_trace_info_regs() argument 256 radv_emit_thread_trace_stop(struct radv_device *device, struct radeon_cmdbuf *cs, enum radv_queue_family qf) radv_emit_thread_trace_stop() argument 341 struct radv_device *device = cmd_buffer->device; radv_emit_thread_trace_userdata() local 368 radv_emit_spi_config_cntl(struct radv_device *device, struct radeon_cmdbuf *cs, bool enable) radv_emit_spi_config_cntl() argument 388 radv_emit_inhibit_clockgating(struct radv_device *device, struct radeon_cmdbuf *cs, bool inhibit) radv_emit_inhibit_clockgating() argument 403 radv_thread_trace_init_bo(struct radv_device *device) radv_thread_trace_init_bo() argument 441 radv_thread_trace_finish_bo(struct radv_device *device) radv_thread_trace_finish_bo() argument 452 radv_thread_trace_init(struct radv_device *device) radv_thread_trace_init() argument 484 radv_thread_trace_finish(struct radv_device *device) radv_thread_trace_finish() argument 511 radv_thread_trace_resize_bo(struct radv_device *device) radv_thread_trace_resize_bo() argument 531 struct radv_device *device = queue->device; radv_begin_thread_trace() local 600 struct radv_device *device = queue->device; radv_end_thread_trace() local 662 struct radv_device *device = queue->device; radv_get_thread_trace() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | dmaengine.c | 26 * Each device has a channels list, which runs unlocked but is never modified 27 * once the device is registered, it's just setup by the driver. 39 #include <linux/device.h> 149 * dev_to_dma_chan - convert a device pointer to its sysfs container object 150 * @dev: device node 154 static struct dma_chan *dev_to_dma_chan(struct device *dev) in dev_to_dma_chan() 158 chan_dev = container_of(dev, typeof(*chan_dev), device); in dev_to_dma_chan() 162 static ssize_t memcpy_count_show(struct device *dev, in memcpy_count_show() 184 static ssize_t bytes_transferred_show(struct device *dev, in bytes_transferred_show() 206 static ssize_t in_use_show(struct device *de 322 struct dma_device *device; min_chan() local 364 struct dma_device *device; dma_channel_rebalance() local 392 dma_device_satisfies_mask(struct dma_device *device, const dma_cap_mask_t *want) dma_device_satisfies_mask() argument 425 struct dma_device *device = container_of(ref, struct dma_device, ref); dma_device_release() local 434 dma_device_put(struct dma_device *device) dma_device_put() argument 556 struct dma_device *device; dma_issue_pending_all() local 573 struct dma_device *device; dma_get_slave_caps() local 656 find_candidate(struct dma_device *device, const dma_cap_mask_t *mask, dma_filter_fn fn, void *fn_param) find_candidate() argument 705 struct dma_device *device = chan->device; dma_get_slave_channel() local 728 dma_get_any_slave_channel(struct dma_device *device) dma_get_any_slave_channel() argument 760 struct dma_device *device, *_d; __dma_request_channel() local 787 dma_filter_match(struct dma_device *device, const char *name, struct device *dev) dma_filter_match() argument 935 struct dma_device *device, *_d; dmaengine_get() local 974 struct dma_device *device, *_d; dmaengine_put() local 991 device_has_all_tx_types(struct dma_device *device) device_has_all_tx_types() argument 1030 get_dma_id(struct dma_device *device) get_dma_id() argument 1040 __dma_async_device_channel_register(struct dma_device *device, struct dma_chan *chan) __dma_async_device_channel_register() argument 1094 dma_async_device_channel_register(struct dma_device *device, struct dma_chan *chan) dma_async_device_channel_register() argument 1108 __dma_async_device_channel_unregister(struct dma_device *device, struct dma_chan *chan) __dma_async_device_channel_unregister() argument 1128 dma_async_device_channel_unregister(struct dma_device *device, struct dma_chan *chan) dma_async_device_channel_unregister() argument 1144 dma_async_device_register(struct dma_device *device) dma_async_device_register() argument 1315 dma_async_device_unregister(struct dma_device *device) dma_async_device_unregister() argument 1339 struct dma_device *device; dmam_device_release() local 1351 dmaenginem_async_device_register(struct dma_device *device) dmaenginem_async_device_register() argument [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_receiver.c | 147 static struct page *__drbd_alloc_pages(struct drbd_device *device, in __drbd_alloc_pages() argument 193 static void reclaim_finished_net_peer_reqs(struct drbd_device *device, in reclaim_finished_net_peer_reqs() argument 203 list_for_each_entry_safe(peer_req, tmp, &device->net_ee, w.list) { in reclaim_finished_net_peer_reqs() 210 static void drbd_reclaim_net_peer_reqs(struct drbd_device *device) in drbd_reclaim_net_peer_reqs() argument 215 spin_lock_irq(&device->resource->req_lock); in drbd_reclaim_net_peer_reqs() 216 reclaim_finished_net_peer_reqs(device, &reclaimed); in drbd_reclaim_net_peer_reqs() 217 spin_unlock_irq(&device->resource->req_lock); in drbd_reclaim_net_peer_reqs() 219 drbd_free_net_peer_req(device, peer_req); in drbd_reclaim_net_peer_reqs() 229 struct drbd_device *device = peer_device->device; in conn_reclaim_net_peer_reqs() local 265 struct drbd_device *device = peer_device->device; drbd_alloc_pages() local 317 drbd_free_pages(struct drbd_device *device, struct page *page, int is_net) drbd_free_pages() argument 363 struct drbd_device *device = peer_device->device; __must_hold() local 406 __drbd_free_peer_req(struct drbd_device *device, struct drbd_peer_request *peer_req, int is_net) __drbd_free_peer_req() argument 422 drbd_free_peer_reqs(struct drbd_device *device, struct list_head *list) drbd_free_peer_reqs() argument 443 drbd_finish_peer_reqs(struct drbd_device *device) drbd_finish_peer_reqs() argument 476 _drbd_wait_ee_list_empty(struct drbd_device *device, struct list_head *head) _drbd_wait_ee_list_empty() argument 492 drbd_wait_ee_list_empty(struct drbd_device *device, struct list_head *head) drbd_wait_ee_list_empty() argument 891 struct drbd_device *device = peer_device->device; drbd_connected() local 1107 struct drbd_device *device = peer_device->device; conn_connect() local 1257 struct drbd_device *device; global() member 1264 struct drbd_device *device = octx->device; one_flush_endio() local 1282 submit_one_flush(struct drbd_device *device, struct issue_flush_context *ctx) submit_one_flush() argument 1325 struct drbd_device *device = peer_device->device; drbd_flush() local 1451 struct drbd_device *device; drbd_bump_write_ordering() local 1513 drbd_issue_discard_or_zero_out(struct drbd_device *device, sector_t start, unsigned int nr_sectors, int flags) drbd_issue_discard_or_zero_out() argument 1578 can_do_reliable_discards(struct drbd_device *device) can_do_reliable_discards() argument 1593 drbd_issue_peer_discard_or_zero_out(struct drbd_device *device, struct drbd_peer_request *peer_req) drbd_issue_peer_discard_or_zero_out() argument 1636 struct drbd_device *device = peer_req->peer_device->device; drbd_submit_peer_request() local 1727 drbd_remove_epoch_entry_interval(struct drbd_device *device, struct drbd_peer_request *peer_req) drbd_remove_epoch_entry_interval() argument 1747 struct drbd_device *device = peer_device->device; conn_wait_active_ee_empty() local 1850 struct drbd_device *device = peer_device->device; __must_hold() local 2039 struct drbd_device *device = peer_device->device; e_end_resync_block() local 2062 struct drbd_device *device = peer_device->device; __releases() local 2100 find_request(struct drbd_device *device, struct rb_root *root, u64 id, sector_t sector, bool missing_ok, const char *func) find_request() argument 2119 struct drbd_device *device; receive_DataReply() local 2151 struct drbd_device *device; receive_RSDataReply() local 2183 restart_conflicting_writes(struct drbd_device *device, sector_t sector, int size) restart_conflicting_writes() argument 2210 struct drbd_device *device = peer_device->device; e_end_block() local 2293 struct drbd_device *device = peer_device->device; update_peer_seq() local 2313 overlapping_resync_write(struct drbd_device *device, struct drbd_peer_request *peer_req) overlapping_resync_write() argument 2354 struct drbd_device *device = peer_device->device; wait_for_and_update_peer_seq() local 2419 fail_postponed_requests(struct drbd_device *device, sector_t sector, unsigned int size) fail_postponed_requests() argument 2445 handle_write_conflicts(struct drbd_device *device, struct drbd_peer_request *peer_req) handle_write_conflicts() argument 2557 struct drbd_device *device; receive_Data() local 2735 struct drbd_device *device = peer_device->device; drbd_rs_should_slow_down() local 2756 drbd_rs_c_min_rate_throttle(struct drbd_device *device) drbd_rs_c_min_rate_throttle() argument 2805 struct drbd_device *device; receive_DataRequest() local 3015 struct drbd_device *device = peer_device->device; __must_hold() local 3098 struct drbd_device *device = peer_device->device; __must_hold() local 3155 struct drbd_device *device = peer_device->device; __must_hold() local 3200 drbd_uuid_dump(struct drbd_device *device, char *text, u64 *uuid, u64 bits, u64 flags) drbd_uuid_dump() argument 3234 struct drbd_device *device = peer_device->device; __must_hold() local 3453 struct drbd_device *device = peer_device->device; __must_hold() local 3782 drbd_crypto_alloc_digest_safe( const struct drbd_device *device, const char *alg, const char *name) drbd_crypto_alloc_digest_safe() argument 3841 struct drbd_device *device; receive_SyncParam() local 4049 warn_if_differ_considerably(struct drbd_device *device, const char *s, sector_t a, sector_t b) warn_if_differ_considerably() argument 4064 struct drbd_device *device; receive_sizes() local 4235 struct drbd_device *device; receive_uuids() local 4340 struct drbd_device *device; receive_req_state() local 4397 struct drbd_device *device; receive_state() local 4594 struct drbd_device *device; receive_sync_uuid() local 4818 struct drbd_device *device; receive_bitmap() local 4922 struct drbd_device *device; receive_out_of_sync() local 4949 struct drbd_device *device; receive_rs_deallocated() local 5131 struct drbd_device *device = peer_device->device; conn_disconnect() local 5164 struct drbd_device *device = peer_device->device; drbd_disconnected() local 5592 struct drbd_device *device; got_RqSReply() local 5637 struct drbd_device *device; got_IsInSync() local 5669 struct drbd_device *device = peer_device->device; validate_req_change_req_state() local 5690 struct drbd_device *device; got_BlockAck() local 5736 struct drbd_device *device; got_NegAck() local 5772 struct drbd_device *device; got_NegDReply() local 5794 struct drbd_device *device; got_NegRSDReply() local 5838 struct drbd_device *device = peer_device->device; got_BarrierAck() local 5855 struct drbd_device *device; got_OVResult() local 6102 struct drbd_device *device = peer_device->device; drbd_send_acks_wf() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv50.c | 35 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv50_gr_units() 46 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in nv50_gr_object_bind() 73 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv50_gr_chan_bind() 77 nv50_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv50_gr_chan_bind() 243 struct nvkm_device *device = subdev->device; in nv50_gr_prop_trap() local 244 u32 e0c = nvkm_rd32(device, ustatus_addr + 0x04); in nv50_gr_prop_trap() 245 u32 e10 = nvkm_rd32(device, ustatus_addr + 0x08); in nv50_gr_prop_trap() 246 u32 e14 = nvkm_rd32(device, ustatus_addr + 0x0c); in nv50_gr_prop_trap() 247 u32 e18 = nvkm_rd32(device, ustatus_add in nv50_gr_prop_trap() 285 struct nvkm_device *device = subdev->device; nv50_gr_mp_trap() local 329 struct nvkm_device *device = subdev->device; nv50_gr_tp_trap() local 399 struct nvkm_device *device = subdev->device; nv50_gr_trap_handler() local 624 struct nvkm_device *device = subdev->device; nv50_gr_intr() local 682 struct nvkm_device *device = gr->base.engine.subdev.device; nv50_gr_init() local 763 nv50_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, int index, struct nvkm_gr **pgr) nv50_gr_new_() argument 793 nv50_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) nv50_gr_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/pi433/ |
H A D | pi433_if.c | 27 #include <linux/device.h> 66 * rx config is device specific 67 * so we have just one rx config, ebedded in device struct 70 /* device handling related values */ 73 struct device *dev; 111 struct pi433_device *device; member 123 struct pi433_device *device = dev_id; in DIO0_irq_handler() local 125 if (device->irq_state[DIO0] == DIO_PACKET_SENT) { in DIO0_irq_handler() 126 device->free_in_fifo = FIFO_SIZE; in DIO0_irq_handler() 127 dev_dbg(device in DIO0_irq_handler() 143 struct pi433_device *device = dev_id; DIO1_irq_handler() local 560 struct pi433_device *device = data; pi433_tx_thread() local 768 struct pi433_device *device; pi433_read() local 814 struct pi433_device *device; pi433_write() local 886 struct pi433_device *device; pi433_ioctl() local 947 struct pi433_device *device; pi433_open() local 985 setup_gpio(struct pi433_device *device) setup_gpio() argument 1046 free_gpio(struct pi433_device *device) free_gpio() argument 1060 pi433_get_minor(struct pi433_device *device) pi433_get_minor() argument 1157 struct pi433_device *device; pi433_probe() local 1333 struct pi433_device *device = spi_get_drvdata(spi); pi433_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gk104.c | 34 magic_(struct nvkm_device *device, u32 ctrl, int size) in magic_() argument 36 nvkm_wr32(device, 0x00c800, 0x00000000); in magic_() 37 nvkm_wr32(device, 0x00c808, 0x00000000); in magic_() 38 nvkm_wr32(device, 0x00c800, ctrl); in magic_() 39 nvkm_msec(device, 2000, in magic_() 40 if (nvkm_rd32(device, 0x00c800) & 0x40000000) { in magic_() 42 nvkm_wr32(device, 0x00c804, 0x00000000); in magic_() 46 nvkm_wr32(device, 0x00c800, 0x00000000); in magic_() 50 magic(struct nvkm_device *device, u32 ctrl) in magic() argument 52 magic_(device, in magic() 59 struct nvkm_device *device = pmu->subdev.device; gk104_pmu_pgob() local 130 gk104_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) gk104_pmu_new() argument [all...] |
H A D | gt215.c | 34 struct nvkm_device *device = subdev->device; in gt215_pmu_send() local 39 addr = nvkm_rd32(device, 0x10a4a0); in gt215_pmu_send() 40 if (nvkm_msec(device, 2000, in gt215_pmu_send() 41 u32 tmp = nvkm_rd32(device, 0x10a4b0); in gt215_pmu_send() 60 nvkm_wr32(device, 0x10a580, 0x00000001); in gt215_pmu_send() 61 } while (nvkm_rd32(device, 0x10a580) != 0x00000001); in gt215_pmu_send() 64 nvkm_wr32(device, 0x10a1c0, 0x01000000 | (((addr & 0x07) << 4) + in gt215_pmu_send() 66 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send() 67 nvkm_wr32(device, in gt215_pmu_send() 90 struct nvkm_device *device = subdev->device; gt215_pmu_recv() local 142 struct nvkm_device *device = subdev->device; gt215_pmu_intr() local 186 struct nvkm_device *device = pmu->subdev.device; gt215_pmu_reset() local 201 struct nvkm_device *device = pmu->subdev.device; gt215_pmu_init() local 285 gt215_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) gt215_pmu_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv04.c | 52 struct nvkm_device *device = fifo->base.engine.subdev.device; variable 58 nvkm_wr32(device, NV03_PFIFO_CACHES, 0x00000000); 59 nvkm_mask(device, NV04_PFIFO_CACHE1_PULL0, 0x00000001, 0x00000000); 70 nvkm_msec(device, 2000, 71 u32 tmp = nvkm_rd32(device, NV04_PFIFO_CACHE1_PULL0); 76 if (nvkm_rd32(device, NV04_PFIFO_CACHE1_PULL0) & 78 nvkm_wr32(device, NV03_PFIFO_INTR_0, NV_PFIFO_INTR_CACHE_ERROR); 80 nvkm_wr32(device, NV04_PFIFO_CACHE1_HASH, 0x00000000); 88 struct nvkm_device *device variable 108 nv04_fifo_swmthd(struct nvkm_device *device, u32 chid, u32 addr, u32 data) nv04_fifo_swmthd() argument 140 struct nvkm_device *device = subdev->device; nv04_fifo_cache_error() local 191 struct nvkm_device *device = subdev->device; nv04_fifo_dma_pusher() local 244 struct nvkm_device *device = subdev->device; nv04_fifo_intr() local 302 struct nvkm_device *device = fifo->base.engine.subdev.device; nv04_fifo_init() local 328 nv04_fifo_new_(const struct nvkm_fifo_func *func, struct nvkm_device *device, int index, int nr, const struct nv04_fifo_ramfc *ramfc, struct nvkm_fifo **pfifo) nv04_fifo_new_() argument 361 nv04_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) nv04_fifo_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/pi433/ |
H A D | pi433_if.c | 27 #include <linux/device.h> 64 * rx config is device specific 65 * so we have just one rx config, ebedded in device struct 68 /* device handling related values */ 71 struct device *dev; 109 struct pi433_device *device; member 118 struct pi433_device *device = dev_id; in DIO0_irq_handler() local 120 if (device->irq_state[DIO0] == DIO_PACKET_SENT) { in DIO0_irq_handler() 121 device->free_in_fifo = FIFO_SIZE; in DIO0_irq_handler() 122 dev_dbg(device in DIO0_irq_handler() 138 struct pi433_device *device = dev_id; DIO1_irq_handler() local 558 struct pi433_device *device = data; pi433_tx_thread() local 766 struct pi433_device *device; pi433_read() local 812 struct pi433_device *device; pi433_write() local 875 struct pi433_device *device; pi433_ioctl() local 935 struct pi433_device *device; pi433_open() local 975 setup_gpio(struct pi433_device *device) setup_gpio() argument 1037 free_gpio(struct pi433_device *device) free_gpio() argument 1051 pi433_get_minor(struct pi433_device *device) pi433_get_minor() argument 1097 struct pi433_device *device; pi433_probe() local 1269 struct pi433_device *device = spi_get_drvdata(spi); pi433_remove() local [all...] |