/openbmc/linux/drivers/gpu/host1x/ |
H A D | bus.c | 39 static int host1x_subdev_add(struct host1x_device *device, in host1x_subdev_add() 90 static int host1x_device_parse_dt(struct host1x_device *device, in host1x_device_parse_dt() 110 static void host1x_subdev_register(struct host1x_device *device, in host1x_subdev_register() 139 static void __host1x_subdev_unregister(struct host1x_device *device, in __host1x_subdev_unregister() 175 static void host1x_subdev_unregister(struct host1x_device *device, in host1x_subdev_unregister() 193 int host1x_device_init(struct host1x_device *device) in host1x_device_init() 254 int host1x_device_exit(struct host1x_device *device) in host1x_device_exit() 295 struct host1x_device *device; in host1x_add_client() local 317 struct host1x_device *device, *dt; in host1x_del_client() local 370 static void __host1x_device_del(struct host1x_device *device) in __host1x_device_del() [all …]
|
/openbmc/linux/drivers/vfio/ |
H A D | vfio.h | 20 struct vfio_device *device; member 124 static inline int vfio_device_block_group(struct vfio_device *device) in vfio_device_block_group() 129 static inline void vfio_device_unblock_group(struct vfio_device *device) in vfio_device_unblock_group() 133 static inline int vfio_device_set_group(struct vfio_device *device, in vfio_device_set_group() 139 static inline void vfio_device_remove_group(struct vfio_device *device) in vfio_device_remove_group() 143 static inline void vfio_device_group_register(struct vfio_device *device) in vfio_device_group_register() 147 static inline void vfio_device_group_unregister(struct vfio_device *device) in vfio_device_group_unregister() 151 static inline int vfio_device_group_use_iommu(struct vfio_device *device) in vfio_device_group_use_iommu() 156 static inline void vfio_device_group_unuse_iommu(struct vfio_device *device) in vfio_device_group_unuse_iommu() 178 static inline bool vfio_device_has_container(struct vfio_device *device) in vfio_device_has_container() [all …]
|
H A D | group.c | 29 struct vfio_device *it, *device = ERR_PTR(-ENODEV); in vfio_device_get_from_name() local 160 static void vfio_device_group_get_kvm_safe(struct vfio_device *device) in vfio_device_group_get_kvm_safe() 169 struct vfio_device *device = df->device; in vfio_df_group_open() local 238 struct vfio_device *device = df->device; in vfio_df_group_close() local 253 static struct file *vfio_device_open_file(struct vfio_device *device) in vfio_device_open_file() 309 struct vfio_device *device; in vfio_group_ioctl_get_device_fd() local 405 int vfio_device_block_group(struct vfio_device *device) in vfio_device_block_group() 423 void vfio_device_unblock_group(struct vfio_device *device) in vfio_device_unblock_group() 648 struct vfio_device *device; in vfio_group_has_device() local 702 int vfio_device_set_group(struct vfio_device *device, in vfio_device_set_group() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | intr.c | 32 struct nvkm_device *device = subdev->device; in nvkm_intr_xlat() local 104 struct nvkm_device *device = subdev->device; in nvkm_intr_allow() local 130 struct nvkm_device *device = subdev->device; in nvkm_intr_block() local 146 nvkm_intr_rearm_locked(struct nvkm_device *device) in nvkm_intr_rearm_locked() 155 nvkm_intr_unarm_locked(struct nvkm_device *device) in nvkm_intr_unarm_locked() 166 struct nvkm_device *device = arg; in nvkm_intr() local 235 struct nvkm_device *device = subdev->device; in nvkm_intr_add() local 296 struct nvkm_device *device = intr->subdev->device; in nvkm_intr_subdev_add() local 316 nvkm_intr_rearm(struct nvkm_device *device) in nvkm_intr_rearm() 341 nvkm_intr_unarm(struct nvkm_device *device) in nvkm_intr_unarm() [all …]
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | sysfs.c | 17 static ssize_t caia_version_show(struct device *device, in caia_version_show() 27 static ssize_t psl_revision_show(struct device *device, in psl_revision_show() 36 static ssize_t base_image_show(struct device *device, in base_image_show() 45 static ssize_t image_loaded_show(struct device *device, in image_loaded_show() 56 static ssize_t psl_timebase_synced_show(struct device *device, in psl_timebase_synced_show() 77 static ssize_t tunneled_ops_supported_show(struct device *device, in tunneled_ops_supported_show() 86 static ssize_t reset_adapter_store(struct device *device, in reset_adapter_store() 122 static ssize_t load_image_on_perst_show(struct device *device, in load_image_on_perst_show() 136 static ssize_t load_image_on_perst_store(struct device *device, in load_image_on_perst_store() 160 static ssize_t perst_reloads_same_image_show(struct device *device, in perst_reloads_same_image_show() [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_alias.c | 187 int dasd_alias_make_device_known_to_lcu(struct dasd_device *device) in dasd_alias_make_device_known_to_lcu() 244 void dasd_alias_disconnect_device_from_lcu(struct dasd_device *device) in dasd_alias_disconnect_device_from_lcu() 313 struct dasd_device *device, in _add_device_to_lcu() 359 struct dasd_device *device) in _remove_device_from_lcu() 415 static int read_unit_address_configuration(struct dasd_device *device, in read_unit_address_configuration() 486 struct dasd_device *device, *tempdev; in _lcu_update() local 549 struct dasd_device *device; in lcu_update_work() local 577 struct dasd_device *device) in _schedule_lcu_update() 619 int dasd_alias_add_device(struct dasd_device *device) in dasd_alias_add_device() 652 int dasd_alias_update_add_device(struct dasd_device *device) in dasd_alias_update_add_device() [all …]
|
H A D | dasd_eckd.c | 101 struct dasd_device *device; member 108 struct dasd_device *device; member 121 struct dasd_device *device; member 217 static int dasd_eckd_track_from_irb(struct irb *irb, struct dasd_device *device, in dasd_eckd_track_from_irb() 253 struct dasd_device *device) in set_timestamp() 281 unsigned int totrk, int cmd, struct dasd_device *device, in define_extent() 389 int count, int cmd, struct dasd_device *device, in locate_record_ext() 607 struct dasd_device * device, int reclen) in locate_record() 772 static int dasd_eckd_generate_uid(struct dasd_device *device) in dasd_eckd_generate_uid() 787 static int dasd_eckd_get_uid(struct dasd_device *device, struct dasd_uid *uid) in dasd_eckd_get_uid() [all …]
|
H A D | dasd_devmap.c | 51 struct dasd_device *device; member 510 struct dasd_device *device; in dasd_device_from_devindex() local 554 struct dasd_device *device; in dasd_create_device() local 600 static int dasd_devmap_get_pprc_status(struct dasd_device *device, in dasd_devmap_get_pprc_status() 659 static int dasd_devmap_check_copy_relation(struct dasd_device *device, in dasd_devmap_check_copy_relation() 739 static void dasd_devmap_delete_copy_relation_device(struct dasd_device *device) in dasd_devmap_delete_copy_relation_device() 767 struct dasd_device *device; in dasd_devmap_set_device_copy_relation() local 839 dasd_delete_device(struct dasd_device *device) in dasd_delete_device() 893 dasd_put_device_wake(struct dasd_device *device) in dasd_put_device_wake() 907 struct dasd_device *device = dev_get_drvdata(&cdev->dev); in dasd_device_from_cdev_locked() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | nv50.c | 47 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_clock() local 69 nv50_pior_power_wait(struct nvkm_device *device, u32 poff) in nv50_pior_power_wait() 80 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_power() local 119 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_state() local 153 struct nvkm_device *device = disp->engine.subdev.device; in nv50_pior_cnt() local 162 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_clock() local 170 nv50_sor_power_wait(struct nvkm_device *device, u32 soff) in nv50_sor_power_wait() 181 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_power() local 200 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_state() local 234 struct nvkm_device *device = disp->engine.subdev.device; in nv50_sor_cnt() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | gm107.c | 32 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_clear() local 41 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_wait() local 55 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_color() local 66 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_depth() local 75 struct nvkm_device *device = subdev->device; in gm107_ltc_intr_lts() local 92 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_intr() local 107 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_oneinit() local 125 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_init() local 149 gm107_ltc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gm107_ltc_new()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gf100.c | 51 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_zbc_clear_color() local 102 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_zbc_clear_depth() local 251 gf100_gr_mthd_set_shader_exceptions(struct nvkm_device *device, u32 data) in gf100_gr_mthd_set_shader_exceptions() 258 gf100_gr_mthd_sw(struct nvkm_device *device, u16 class, u32 mthd, u32 data) in gf100_gr_mthd_sw() 384 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_chan_new() local 753 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_fecs_ctrl_ctxsw() local 817 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_fecs_wfi_golden_save() local 836 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_fecs_bind_pointer() local 855 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_fecs_set_reglist_virtual_address() local 872 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_fecs_set_reglist_bind_instance() local [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/test/ |
H A D | standard_device_tests.cpp | 150 StandardDeviceImpl device{"xyz_pseq", std::move(rails)}; in TEST() local 162 StandardDeviceImpl device{"abc_pseq", std::move(rails)}; in TEST() local 175 StandardDeviceImpl device{"xyz_pseq", std::move(rails)}; in TEST() local 185 StandardDeviceImpl device{"xyz_pseq", std::move(rails)}; in TEST() local 196 StandardDeviceImpl device{"abc_pseq", std::move(rails)}; in TEST() local 213 StandardDeviceImpl device{"abc_pseq", std::move(rails)}; in TEST() local 243 StandardDeviceImpl device{"abc_pseq", std::move(rails)}; in TEST() local 292 StandardDeviceImpl device{"abc_pseq", std::move(rails)}; in TEST() local 340 StandardDeviceImpl device{"abc_pseq", std::move(rails)}; in TEST() local 396 StandardDeviceImpl device{"abc_pseq", std::move(rails)}; in TEST() local [all …]
|
H A D | pmbus_driver_device_tests.cpp | 120 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F() local 146 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F() local 169 PMBusDriverDevice device{name, std::move(rails), services, bus, address}; in TEST_F() local 182 PMBusDriverDevice device{name, std::move(rails), services, bus, address}; in TEST_F() local 196 PMBusDriverDevice device{name, std::move(rails), services, in TEST_F() local 212 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F() local 226 PMBusDriverDevice device{name, std::move(rails), services, bus, address}; in TEST_F() local 245 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F() local 263 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F() local 291 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F() local [all …]
|
H A D | rail_tests.cpp | 457 MockDevice device{}; in TEST() local 484 MockDevice device{}; in TEST() local 501 MockDevice device{}; in TEST() local 540 MockDevice device{}; in TEST() local 567 MockDevice device{}; in TEST() local 584 MockDevice device{}; in TEST() local 623 MockDevice device{}; in TEST() local 650 MockDevice device{}; in TEST() local 667 MockDevice device{}; in TEST() local 706 MockDevice device{}; in TEST() local [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/src/ |
H A D | rail.cpp | 53 uint16_t Rail::getStatusWord(PowerSequencerDevice& device) in getStatusWord() 70 uint8_t Rail::getStatusVout(PowerSequencerDevice& device) in getStatusVout() 87 double Rail::getReadVout(PowerSequencerDevice& device) in getReadVout() 103 double Rail::getVoutUVFaultLimit(PowerSequencerDevice& device) in getVoutUVFaultLimit() 120 bool Rail::hasPgoodFault(PowerSequencerDevice& device, Services& services, in hasPgoodFault() 130 PowerSequencerDevice& device, Services& services, in hasPgoodFaultStatusVout() 163 bool Rail::hasPgoodFaultGPIO(PowerSequencerDevice& device, Services& services, in hasPgoodFaultGPIO() 200 PowerSequencerDevice& device, Services& services, in hasPgoodFaultOutputVoltage() 239 PowerSequencerDevice& device, Services& services, in storePgoodFaultDebugData()
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_char.c | 64 tapechar_setup_device(struct tape_device * device) in tapechar_setup_device() 89 tapechar_cleanup_device(struct tape_device *device) in tapechar_cleanup_device() 98 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) in tapechar_check_idalbuffer() 131 struct tape_device *device; in tapechar_read() local 189 struct tape_device *device; in tapechar_write() local 273 struct tape_device *device; in tapechar_open() local 307 struct tape_device *device; in tapechar_release() local 343 __tapechar_ioctl(struct tape_device *device, in __tapechar_ioctl() 434 struct tape_device *device; in tapechar_ioctl() local 450 struct tape_device *device = filp->private_data; in tapechar_compat_ioctl() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | nv04.c | 31 struct nvkm_device *device = subdev->device; in nv04_timer_time() local 45 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_read() local 59 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_fini() local 66 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_init() local 75 struct nvkm_device *device = subdev->device; in nv04_timer_intr() local 94 struct nvkm_device *device = subdev->device; in nv04_timer_init() local 148 nv04_timer_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in nv04_timer_new()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_state.c | 24 struct drbd_device *device; member 45 struct drbd_device *device; in count_objects() local 86 struct drbd_device *device; in remember_old_state() local 176 struct drbd_device *device = device_state_change->device; in remember_new_state() local 195 struct drbd_device *device = in remember_new_state() local 264 struct drbd_device *device = state_change->devices[n].device; in forget_state_change() local 302 struct drbd_device *device = peer_device->device; in conn_all_vols_unconf() local 343 struct drbd_device *device = peer_device->device; in conn_highest_role() local 359 struct drbd_device *device = peer_device->device; in conn_highest_peer() local 375 struct drbd_device *device = peer_device->device; in conn_highest_disk() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | base.c | 34 nvkm_bar_bar1_vmm(struct nvkm_device *device) in nvkm_bar_bar1_vmm() 40 nvkm_bar_bar1_reset(struct nvkm_device *device) in nvkm_bar_bar1_reset() 50 nvkm_bar_bar2_vmm(struct nvkm_device *device) in nvkm_bar_bar2_vmm() 62 nvkm_bar_bar2_reset(struct nvkm_device *device) in nvkm_bar_bar2_reset() 72 nvkm_bar_bar2_fini(struct nvkm_device *device) in nvkm_bar_bar2_fini() 82 nvkm_bar_bar2_init(struct nvkm_device *device) in nvkm_bar_bar2_init() 136 nvkm_bar_ctor(const struct nvkm_bar_func *func, struct nvkm_device *device, in nvkm_bar_ctor()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | base.c | 30 nvkm_mc_unk260(struct nvkm_device *device, u32 data) in nvkm_mc_unk260() 38 nvkm_mc_intr_mask(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, bool en) in nvkm_mc_intr_mask() 51 nvkm_mc_reset_mask(struct nvkm_device *device, bool isauto, enum nvkm_subdev_type type, int inst) in nvkm_mc_reset_mask() 72 nvkm_mc_reset(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_reset() 82 nvkm_mc_disable(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_disable() 90 nvkm_mc_enable(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_enable() 98 nvkm_mc_enabled(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_enabled() 127 nvkm_mc_new_(const struct nvkm_mc_func *func, struct nvkm_device *device, in nvkm_mc_new_()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gf119.c | 30 struct nvkm_device *device = subdev->device; in pwm_info() local 56 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_ctrl() local 70 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_get() local 92 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_set() local 109 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_clock() local 122 struct nvkm_device *device = therm->subdev.device; in gf119_therm_init() local 150 gf119_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, in gf119_therm_new()
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | hid.c | 326 static int intel_hid_set_enable(struct device *device, bool enable) in intel_hid_set_enable() 341 static void intel_button_array_enable(struct device *device, bool enable) in intel_button_array_enable() 364 static int intel_hid_pm_prepare(struct device *device) in intel_hid_pm_prepare() 374 static void intel_hid_pm_complete(struct device *device) in intel_hid_pm_complete() 381 static int intel_hid_pl_suspend_handler(struct device *device) in intel_hid_pl_suspend_handler() 391 static int intel_hid_pl_resume_handler(struct device *device) in intel_hid_pl_resume_handler() 412 static int intel_hid_input_setup(struct platform_device *device) in intel_hid_input_setup() 431 static int intel_button_array_input_setup(struct platform_device *device) in intel_button_array_input_setup() 451 static int intel_hid_switches_setup(struct platform_device *device) in intel_hid_switches_setup() 468 static void report_tablet_mode_state(struct platform_device *device) in report_tablet_mode_state() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | device.c | 267 static void ib_device_check_mandatory(struct ib_device *device) in ib_device_check_mandatory() 310 struct ib_device *device; in ib_device_get_by_index() local 335 void ib_device_put(struct ib_device *device) in ib_device_put() 344 struct ib_device *device; in __ib_device_get_by_name() local 365 struct ib_device *device; in ib_device_get_by_name() local 382 static int rename_compat_devs(struct ib_device *device) in rename_compat_devs() 455 struct ib_device *device; in alloc_name() local 489 static void ib_device_release(struct device *device) in ib_device_release() 514 static int ib_device_uevent(const struct device *device, in ib_device_uevent() 575 struct ib_device *device; in _ib_alloc_device() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gk104.c | 42 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_stop() local 50 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_start() local 58 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_unbind() local 66 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_bind_inst() local 75 struct nvkm_device *device = runl->fifo->engine.subdev.device; in gk104_chan_bind() local 291 struct nvkm_device *device = runq->fifo->engine.subdev.device; in gk104_runq_idle() local 310 struct nvkm_device *device = subdev->device; in gk104_runq_intr_1() local 381 struct nvkm_device *device = runq->fifo->engine.subdev.device; in gk104_runq_init() local 424 struct nvkm_device *device = runl->fifo->engine.subdev.device; in gk104_runl_pending() local 433 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_runl_commit() local [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | dmaengine.c | 322 struct dma_device *device; in min_chan() local 364 struct dma_device *device; in dma_channel_rebalance() local 392 static int dma_device_satisfies_mask(struct dma_device *device, in dma_device_satisfies_mask() 425 struct dma_device *device = container_of(ref, struct dma_device, ref); in dma_device_release() local 434 static void dma_device_put(struct dma_device *device) in dma_device_put() 556 struct dma_device *device; in dma_issue_pending_all() local 573 struct dma_device *device; in dma_get_slave_caps() local 656 static struct dma_chan *find_candidate(struct dma_device *device, in find_candidate() 703 struct dma_device *device = chan->device; in dma_get_slave_channel() local 727 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device) in dma_get_any_slave_channel() [all …]
|