Home
last modified time | relevance | path

Searched defs:sdev (Results 1 – 25 of 242) sorted by relevance

12345678910

/drivers/net/ethernet/alacritech/
Dslicoss.c78 static unsigned int slic_next_compl_idx(struct slic_device *sdev) in slic_next_compl_idx()
139 static void slic_start_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_start_upr()
149 static void slic_queue_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_queue_upr()
165 static struct slic_upr *slic_dequeue_upr(struct slic_device *sdev) in slic_dequeue_upr()
190 static int slic_new_upr(struct slic_device *sdev, unsigned int type, in slic_new_upr()
222 static void slic_configure_rcv(struct slic_device *sdev) in slic_configure_rcv()
239 static void slic_configure_xmt(struct slic_device *sdev) in slic_configure_xmt()
252 static void slic_configure_mac(struct slic_device *sdev) in slic_configure_mac()
273 static void slic_configure_link_locked(struct slic_device *sdev, int speed, in slic_configure_link_locked()
299 static void slic_configure_link(struct slic_device *sdev, int speed, in slic_configure_link()
[all …]
/drivers/scsi/
Dscsi.c160 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local
205 int scsi_device_max_queue_depth(struct scsi_device *sdev) in scsi_device_max_queue_depth()
217 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth()
254 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full()
292 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, in scsi_vpd_inquiry()
336 static int scsi_get_vpd_size(struct scsi_device *sdev, u8 page) in scsi_get_vpd_size()
390 int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf, in scsi_get_vpd_page()
428 static struct scsi_vpd *scsi_get_vpd_buf(struct scsi_device *sdev, u8 page) in scsi_get_vpd_buf()
465 static void scsi_update_vpd_page(struct scsi_device *sdev, u8 page, in scsi_update_vpd_page()
492 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd()
[all …]
Dscsi_lib.c202 int scsi_execute_cmd(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_cmd()
292 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy()
321 struct scsi_device *sdev, *tmp; in scsi_single_lun_run() local
357 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy()
389 struct scsi_device *sdev; in scsi_starved_list_run() local
453 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local
465 struct scsi_device *sdev; in scsi_requeue_run_queue() local
475 struct scsi_device *sdev; in scsi_run_host_queues() local
508 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async()
539 struct scsi_device *sdev = cmd->device; in scsi_end_request() local
[all …]
Dscsi_dh.c71 scsi_dh_find_driver(struct scsi_device *sdev) in scsi_dh_find_driver()
124 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach()
163 static void scsi_dh_handler_detach(struct scsi_device *sdev) in scsi_dh_handler_detach()
170 void scsi_dh_add_device(struct scsi_device *sdev) in scsi_dh_add_device()
186 void scsi_dh_release_device(struct scsi_device *sdev) in scsi_dh_release_device()
253 struct scsi_device *sdev; in scsi_dh_activate() local
300 struct scsi_device *sdev; in scsi_dh_set_params() local
322 struct scsi_device *sdev; in scsi_dh_attach() local
361 struct scsi_device *sdev; in scsi_dh_attached_handler_name() local
Dscsi_sysfs.c438 struct scsi_device *sdev; in scsi_device_cls_release() local
446 struct scsi_device *sdev; in scsi_device_dev_release_usercontext() local
559 struct scsi_device *sdev; in scsi_bus_uevent() local
696 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_busy() local
705 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_blocked() local
716 struct scsi_device *sdev; in sdev_show_timeout() local
725 struct scsi_device *sdev; in sdev_store_timeout() local
737 struct scsi_device *sdev; in sdev_show_eh_timeout() local
746 struct scsi_device *sdev; in sdev_store_eh_timeout() local
777 struct scsi_device *sdev = to_scsi_device(dev); in sdev_store_delete() local
[all …]
Dscsi_error.c127 struct scsi_device *sdev = cmd->device; in scsi_eh_should_retry_cmd() local
151 struct scsi_device *sdev = scmd->device; in scmd_eh_abort_handler() local
230 struct scsi_device *sdev = scmd->device; in scsi_abort_command() local
382 int scsi_block_when_processing_errors(struct scsi_device *sdev) in scsi_block_when_processing_errors()
404 struct scsi_device *sdev; in scsi_eh_prt_fail_stats() local
445 static void scsi_report_lun_change(struct scsi_device *sdev) in scsi_report_lun_change()
456 static void scsi_report_sense(struct scsi_device *sdev, in scsi_report_sense()
539 struct scsi_device *sdev = scmd->device; in scsi_check_sense() local
700 static void scsi_handle_queue_ramp_up(struct scsi_device *sdev) in scsi_handle_queue_ramp_up()
732 static void scsi_handle_queue_full(struct scsi_device *sdev) in scsi_handle_queue_full()
[all …]
Dscsi_ioctl.c67 static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, in ioctl_internal_command()
124 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal()
157 static int scsi_ioctl_get_pci(struct scsi_device *sdev, void __user *arg) in scsi_ioctl_get_pci()
179 static int sg_set_timeout(struct scsi_device *sdev, int __user *p) in sg_set_timeout()
189 static int sg_get_reserved_size(struct scsi_device *sdev, int __user *p) in sg_get_reserved_size()
197 static int sg_set_reserved_size(struct scsi_device *sdev, int __user *p) in sg_set_reserved_size()
221 static int scsi_get_idlun(struct scsi_device *sdev, void __user *argp) in scsi_get_idlun()
235 static int scsi_send_start_stop(struct scsi_device *sdev, int data) in scsi_send_start_stop()
348 static int scsi_fill_sghdr_rq(struct scsi_device *sdev, struct request *rq, in scsi_fill_sghdr_rq()
410 static int sg_io(struct scsi_device *sdev, struct sg_io_hdr *hdr, fmode_t mode) in sg_io()
[all …]
/drivers/media/radio/si4713/
Dsi4713.c174 struct si4713_device *sdev = dev; in si4713_handler() local
193 static int si4713_send_command(struct si4713_device *sdev, const u8 command, in si4713_send_command()
258 static int si4713_read_property(struct si4713_device *sdev, u16 prop, u32 *pv) in si4713_read_property()
295 static int si4713_write_property(struct si4713_device *sdev, u16 prop, u16 val) in si4713_write_property()
340 static int si4713_powerup(struct si4713_device *sdev) in si4713_powerup()
419 static int si4713_powerdown(struct si4713_device *sdev) in si4713_powerdown()
464 static int si4713_checkrev(struct si4713_device *sdev) in si4713_checkrev()
494 static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) in si4713_wait_stc()
538 static int si4713_tx_tune_freq(struct si4713_device *sdev, u16 frequency) in si4713_tx_tune_freq()
582 static int si4713_tx_tune_power(struct si4713_device *sdev, u8 power, in si4713_tx_tune_power()
[all …]
/drivers/spmi/
Dspmi.c25 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release() local
62 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add()
87 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove()
142 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) in spmi_register_read()
163 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, in spmi_ext_register_read()
185 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, in spmi_ext_register_readl()
205 int spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) in spmi_register_write()
223 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write()
240 int spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, in spmi_ext_register_write()
262 int spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, in spmi_ext_register_writel()
[all …]
/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c38 static int shmob_drm_clk_on(struct shmob_drm_device *sdev) in shmob_drm_clk_on()
51 static void shmob_drm_clk_off(struct shmob_drm_device *sdev) in shmob_drm_clk_off()
64 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_setup_geometry() local
121 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop() local
155 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_start() local
256 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_stop() local
311 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_update_base() local
351 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_mode_set() local
437 static void shmob_drm_crtc_enable_vblank(struct shmob_drm_device *sdev, in shmob_drm_crtc_enable_vblank()
456 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_enable_vblank() local
[all …]
Dshmob_drm_drv.c34 static int shmob_drm_init_interface(struct shmob_drm_device *sdev) in shmob_drm_init_interface()
68 static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev, in shmob_drm_setup_clocks()
108 struct shmob_drm_device *sdev = dev->dev_private; in shmob_drm_irq() local
149 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_suspend() local
159 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_resume() local
180 struct shmob_drm_device *sdev = platform_get_drvdata(pdev); in shmob_drm_remove() local
194 struct shmob_drm_device *sdev; in shmob_drm_probe() local
/drivers/scsi/device_handler/
Dscsi_dh_emc.c100 static int trespass_endio(struct scsi_device *sdev, in trespass_endio()
135 static int parse_sp_info_reply(struct scsi_device *sdev, in parse_sp_info_reply()
189 static char * parse_sp_model(struct scsi_device *sdev, unsigned char *buffer) in parse_sp_model()
235 static int send_trespass_cmd(struct scsi_device *sdev, in send_trespass_cmd()
286 static enum scsi_disposition clariion_check_sense(struct scsi_device *sdev, in clariion_check_sense()
334 static blk_status_t clariion_prep_fn(struct scsi_device *sdev, in clariion_prep_fn()
347 static int clariion_std_inquiry(struct scsi_device *sdev, in clariion_std_inquiry()
372 static int clariion_send_inquiry(struct scsi_device *sdev, in clariion_send_inquiry()
384 static int clariion_activate(struct scsi_device *sdev, in clariion_activate()
426 static int clariion_set_params(struct scsi_device *sdev, const char *params) in clariion_set_params()
[all …]
Dscsi_dh_alua.c88 struct scsi_device *sdev; member
126 static int submit_rtpg(struct scsi_device *sdev, unsigned char *buff, in submit_rtpg()
157 static int submit_stpg(struct scsi_device *sdev, int group_id, in submit_stpg()
217 static struct alua_port_group *alua_alloc_pg(struct scsi_device *sdev, in alua_alloc_pg()
274 static int alua_check_tpgs(struct scsi_device *sdev) in alua_check_tpgs()
326 static int alua_check_vpd(struct scsi_device *sdev, struct alua_dh_data *h, in alua_check_vpd()
415 static enum scsi_disposition alua_check_sense(struct scsi_device *sdev, in alua_check_sense()
496 static int alua_tur(struct scsi_device *sdev) in alua_tur()
520 static int alua_rtpg(struct scsi_device *sdev, struct alua_port_group *pg) in alua_rtpg()
770 static unsigned alua_stpg(struct scsi_device *sdev, struct alua_port_group *pg) in alua_stpg()
[all …]
Dscsi_dh_hp_sw.c31 struct scsi_device *sdev; member
43 static int tur_done(struct scsi_device *sdev, struct hp_sw_dh_data *h, in tur_done()
81 static int hp_sw_tur(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_tur()
124 struct scsi_device *sdev = h->sdev; in hp_sw_start_stop() local
168 static blk_status_t hp_sw_prep_fn(struct scsi_device *sdev, struct request *req) in hp_sw_prep_fn()
190 static int hp_sw_activate(struct scsi_device *sdev, in hp_sw_activate()
206 static int hp_sw_bus_attach(struct scsi_device *sdev) in hp_sw_bus_attach()
237 static void hp_sw_bus_detach( struct scsi_device *sdev ) in hp_sw_bus_detach()
/drivers/iommu/
Dsprd-iommu.c80 struct sprd_iommu_device *sdev; member
91 sprd_iommu_write(struct sprd_iommu_device *sdev, unsigned int reg, u32 val) in sprd_iommu_write()
97 sprd_iommu_read(struct sprd_iommu_device *sdev, unsigned int reg) in sprd_iommu_read()
103 sprd_iommu_update_bits(struct sprd_iommu_device *sdev, unsigned int reg, in sprd_iommu_update_bits()
113 sprd_iommu_get_version(struct sprd_iommu_device *sdev) in sprd_iommu_get_version()
164 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_vpn() local
179 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_vpn_range() local
196 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_ppn() local
207 static void sprd_iommu_default_ppn(struct sprd_iommu_device *sdev) in sprd_iommu_default_ppn()
219 static void sprd_iommu_hw_en(struct sprd_iommu_device *sdev, bool en) in sprd_iommu_hw_en()
[all …]
/drivers/usb/usbip/
Dstub_dev.c21 struct stub_device *sdev = dev_get_drvdata(dev); in usbip_status_show() local
45 struct stub_device *sdev = dev_get_drvdata(dev); in usbip_sockfd_store() local
153 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_shutdown_connection() local
212 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_device_reset() local
257 struct stub_device *sdev; in stub_device_alloc() local
303 static void stub_device_free(struct stub_device *sdev) in stub_device_free()
310 struct stub_device *sdev = NULL; in stub_probe() local
430 struct stub_device *sdev; in stub_disconnect() local
Dstub_tx.c14 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum, in stub_enqueue_ret_unlink()
43 struct stub_device *sdev = priv->sdev; in stub_complete() local
132 static struct stub_priv *dequeue_from_priv_tx(struct stub_device *sdev) in dequeue_from_priv_tx()
150 static int stub_send_ret_submit(struct stub_device *sdev) in stub_send_ret_submit()
343 static struct stub_unlink *dequeue_from_unlink_tx(struct stub_device *sdev) in dequeue_from_unlink_tx()
361 static int stub_send_ret_unlink(struct stub_device *sdev) in stub_send_ret_unlink()
420 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_tx_loop() local
Dstub_rx.c133 struct stub_device *sdev = priv->sdev; in tweak_set_configuration_cmd() local
153 struct stub_device *sdev = priv->sdev; in tweak_reset_device_cmd() local
204 static int stub_recv_cmd_unlink(struct stub_device *sdev, in stub_recv_cmd_unlink()
279 static int valid_request(struct stub_device *sdev, struct usbip_header *pdu) in valid_request()
296 static struct stub_priv *stub_priv_alloc(struct stub_device *sdev, in stub_priv_alloc()
327 static int get_pipe(struct stub_device *sdev, struct usbip_header *pdu) in get_pipe()
455 static void stub_recv_cmd_submit(struct stub_device *sdev, in stub_recv_cmd_submit()
633 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_rx_pdu() local
/drivers/s390/scsi/
Dzfcp_erp.c84 static void zfcp_erp_action_dismiss_lun(struct scsi_device *sdev) in zfcp_erp_action_dismiss_lun()
94 struct scsi_device *sdev; in zfcp_erp_action_dismiss_port() local
123 struct zfcp_port *port, struct scsi_device *sdev) in zfcp_erp_handle_failed()
164 struct scsi_device *sdev) in zfcp_erp_required_act()
217 struct scsi_device *sdev) in zfcp_erp_setup_act()
284 struct scsi_device *sdev, in zfcp_erp_action_enqueue()
453 static void zfcp_erp_lun_block(struct scsi_device *sdev, int clear_mask) in zfcp_erp_lun_block()
459 static void _zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, in _zfcp_erp_lun_reopen()
479 void zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, char *dbftag) in zfcp_erp_lun_reopen()
497 void zfcp_erp_lun_shutdown(struct scsi_device *sdev, int clear, char *dbftag) in zfcp_erp_lun_shutdown()
[all …]
/drivers/platform/surface/
Dsurface_platform_profile.c31 struct ssam_device *sdev; member
45 static int ssam_tmp_profile_get(struct ssam_device *sdev, enum ssam_tmp_profile *p) in ssam_tmp_profile_get()
58 static int ssam_tmp_profile_set(struct ssam_device *sdev, enum ssam_tmp_profile p) in ssam_tmp_profile_set()
65 static int convert_ssam_to_profile(struct ssam_device *sdev, enum ssam_tmp_profile p) in convert_ssam_to_profile()
86 static int convert_profile_to_ssam(struct ssam_device *sdev, enum platform_profile_option p) in convert_profile_to_ssam()
144 static int surface_platform_profile_probe(struct ssam_device *sdev) in surface_platform_profile_probe()
165 static void surface_platform_profile_remove(struct ssam_device *sdev) in surface_platform_profile_remove()
/drivers/platform/surface/aggregator/
Dbus.c24 struct ssam_device *sdev = to_ssam_device(dev); in modalias_show() local
40 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_uevent() local
50 struct ssam_device *sdev = to_ssam_device(dev); in ssam_device_release() local
81 struct ssam_device *sdev; in ssam_device_alloc() local
127 int ssam_device_add(struct ssam_device *sdev) in ssam_device_add()
168 void ssam_device_remove(struct ssam_device *sdev) in ssam_device_remove()
310 struct ssam_device *sdev = to_ssam_device(dev); in ssam_bus_match() local
430 struct ssam_device *sdev; in ssam_add_client_device() local
503 struct ssam_device *sdev = to_ssam_device(dev); in ssam_remove_device() local
/drivers/dma/sh/
Dshdma-base.c54 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_chan_xfer_ld_queue() local
127 struct shdma_dev *sdev = in shdma_tx_submit() local
173 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_setup_slave() local
206 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_alloc_chan_resources() local
277 struct shdma_dev *sdev; in shdma_chan_filter() local
453 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_free_chan_resources() local
505 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_add_desc() local
666 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_prep_slave_sg() local
697 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_prep_dma_cyclic() local
756 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_terminate_all() local
[all …]
/drivers/infiniband/sw/siw/
Dsiw_verbs.c82 struct siw_device *sdev = to_siw_dev(base_ctx->device); in siw_alloc_ucontext() local
126 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_device() local
168 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_port() local
217 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_gid() local
228 struct siw_device *sdev = to_siw_dev(pd->device); in siw_alloc_pd() local
241 struct siw_device *sdev = to_siw_dev(pd->device); in siw_dealloc_pd() local
301 struct siw_device *sdev = to_siw_dev(base_dev); in siw_create_qp() local
510 struct siw_device *sdev; in siw_query_qp() local
1103 struct siw_device *sdev = to_siw_dev(base_cq->device); in siw_destroy_cq() local
1134 struct siw_device *sdev = to_siw_dev(base_cq->device); in siw_create_cq() local
[all …]
Dsiw_main.c64 static int siw_device_register(struct siw_device *sdev, const char *name) in siw_device_register()
84 struct siw_device *sdev = to_siw_dev(base_dev); in siw_device_cleanup() local
186 int siw_get_tx_cpu(struct siw_device *sdev) in siw_get_tx_cpu()
306 struct siw_device *sdev = NULL; in siw_device_create() local
398 struct siw_device *sdev = in siw_netdev_down() local
417 static void siw_device_goes_down(struct siw_device *sdev) in siw_device_goes_down()
430 struct siw_device *sdev; in siw_netdev_event() local
493 struct siw_device *sdev = NULL; in siw_newlink() local
/drivers/gpu/drm/tiny/
Dsimpledrm.c252 struct simpledrm_device *sdev = simpledrm_device_of_dev(res); in simpledrm_device_release_clocks() local
263 static int simpledrm_device_init_clocks(struct simpledrm_device *sdev) in simpledrm_device_init_clocks()
318 static int simpledrm_device_init_clocks(struct simpledrm_device *sdev) in simpledrm_device_init_clocks()
350 struct simpledrm_device *sdev = simpledrm_device_of_dev(res); in simpledrm_device_release_regulators() local
361 static int simpledrm_device_init_regulators(struct simpledrm_device *sdev) in simpledrm_device_init_regulators()
438 static int simpledrm_device_init_regulators(struct simpledrm_device *sdev) in simpledrm_device_init_regulators()
480 struct simpledrm_device *sdev = simpledrm_device_of_dev(dev); in simpledrm_primary_plane_helper_atomic_update() local
514 struct simpledrm_device *sdev = simpledrm_device_of_dev(dev); in simpledrm_primary_plane_helper_atomic_disable() local
543 struct simpledrm_device *sdev = simpledrm_device_of_dev(crtc->dev); in simpledrm_crtc_helper_mode_valid() local
586 struct simpledrm_device *sdev = simpledrm_device_of_dev(connector->dev); in simpledrm_connector_helper_get_modes() local
[all …]

12345678910