/drivers/net/ethernet/alacritech/ |
D | slicoss.c | 88 static unsigned int slic_next_compl_idx(struct slic_device *sdev) in slic_next_compl_idx() 149 static void slic_start_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_start_upr() 159 static void slic_queue_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_queue_upr() 175 static struct slic_upr *slic_dequeue_upr(struct slic_device *sdev) in slic_dequeue_upr() 200 static int slic_new_upr(struct slic_device *sdev, unsigned int type, in slic_new_upr() 232 static void slic_configure_rcv(struct slic_device *sdev) in slic_configure_rcv() 249 static void slic_configure_xmt(struct slic_device *sdev) in slic_configure_xmt() 262 static void slic_configure_mac(struct slic_device *sdev) in slic_configure_mac() 283 static void slic_configure_link_locked(struct slic_device *sdev, int speed, in slic_configure_link_locked() 309 static void slic_configure_link(struct slic_device *sdev, int speed, in slic_configure_link() [all …]
|
/drivers/scsi/ |
D | scsi_lib.c | 143 struct scsi_device *sdev = cmd->device; in scsi_mq_requeue_cmd() local 245 int scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute() 345 void scsi_device_unbusy(struct scsi_device *sdev) in scsi_device_unbusy() 376 struct scsi_device *sdev, *tmp; in scsi_single_lun_run() local 412 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy() 447 struct scsi_device *sdev; in scsi_starved_list_run() local 517 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local 532 struct scsi_device *sdev; in scsi_requeue_run_queue() local 560 struct scsi_device *sdev = cmd->device; in scsi_requeue_command() local 578 struct scsi_device *sdev; in scsi_run_host_queues() local [all …]
|
D | scsi.c | 203 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local 258 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth() 291 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full() 329 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, in scsi_vpd_inquiry() 375 int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf, in scsi_get_vpd_page() 421 static struct scsi_vpd *scsi_get_vpd_buf(struct scsi_device *sdev, u8 page) in scsi_get_vpd_buf() 447 static void scsi_update_vpd_page(struct scsi_device *sdev, u8 page, in scsi_update_vpd_page() 474 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd() 507 int scsi_report_opcode(struct scsi_device *sdev, unsigned char *buffer, in scsi_report_opcode() 551 int scsi_device_get(struct scsi_device *sdev) in scsi_device_get() [all …]
|
D | scsi_dh.c | 83 scsi_dh_find_driver(struct scsi_device *sdev) in scsi_dh_find_driver() 133 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach() 156 static void scsi_dh_handler_detach(struct scsi_device *sdev) in scsi_dh_handler_detach() 163 int scsi_dh_add_device(struct scsi_device *sdev) in scsi_dh_add_device() 177 void scsi_dh_release_device(struct scsi_device *sdev) in scsi_dh_release_device() 244 struct scsi_device *sdev; in scsi_dh_activate() local 291 struct scsi_device *sdev; in scsi_dh_set_params() local 313 struct scsi_device *sdev; in scsi_dh_attach() local 352 struct scsi_device *sdev; in scsi_dh_attached_handler_name() local
|
D | scsi_sysfs.c | 420 struct scsi_device *sdev; in scsi_device_cls_release() local 428 struct scsi_device *sdev; in scsi_device_dev_release_usercontext() local 506 struct scsi_device *sdev; in scsi_bus_uevent() local 644 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_busy() local 653 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_blocked() local 664 struct scsi_device *sdev; in sdev_show_timeout() local 673 struct scsi_device *sdev; in sdev_store_timeout() local 685 struct scsi_device *sdev; in sdev_show_eh_timeout() local 694 struct scsi_device *sdev; in sdev_store_eh_timeout() local 725 struct scsi_device *sdev = to_scsi_device(dev); in sdev_store_delete() local [all …]
|
D | scsi_error.c | 125 struct scsi_device *sdev = scmd->device; in scmd_eh_abort_handler() local 179 struct scsi_device *sdev = scmd->device; in scsi_abort_command() local 311 int scsi_block_when_processing_errors(struct scsi_device *sdev) in scsi_block_when_processing_errors() 336 struct scsi_device *sdev; in scsi_eh_prt_fail_stats() local 377 static void scsi_report_lun_change(struct scsi_device *sdev) in scsi_report_lun_change() 388 static void scsi_report_sense(struct scsi_device *sdev, in scsi_report_sense() 457 struct scsi_device *sdev = scmd->device; in scsi_check_sense() local 610 static void scsi_handle_queue_ramp_up(struct scsi_device *sdev) in scsi_handle_queue_ramp_up() 642 static void scsi_handle_queue_full(struct scsi_device *sdev) in scsi_handle_queue_full() 810 static void __scsi_report_device_reset(struct scsi_device *sdev, void *data) in __scsi_report_device_reset() [all …]
|
D | scsi_ioctl.c | 88 static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, in ioctl_internal_command() 141 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal() 174 static int scsi_ioctl_get_pci(struct scsi_device *sdev, void __user *arg) in scsi_ioctl_get_pci() 201 int scsi_ioctl(struct scsi_device *sdev, int cmd, void __user *arg) in scsi_ioctl() 279 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev, int cmd, in scsi_ioctl_block_when_processing_errors()
|
D | scsi_scan.c | 185 static void scsi_unlock_floptical(struct scsi_device *sdev, in scsi_unlock_floptical() 218 struct scsi_device *sdev; in scsi_alloc_sdev() local 568 static int scsi_probe_lun(struct scsi_device *sdev, unsigned char *inq_result, in scsi_probe_lun() 772 static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result, in scsi_add_lun() 1056 struct scsi_device *sdev; in scsi_probe_and_add_lun() local 1305 struct scsi_device *sdev; in scsi_report_lun_scan() local 1468 struct scsi_device *sdev = ERR_PTR(-ENODEV); in __scsi_add_device() local 1504 struct scsi_device *sdev = in scsi_add_device() local 1516 struct scsi_device *sdev = to_scsi_device(dev); in scsi_rescan_device() local 1697 struct scsi_device *sdev; in scsi_sysfs_add_devices() local [all …]
|
D | ses.c | 63 struct scsi_device *sdev = to_scsi_device(dev); in ses_probe() local 93 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() 127 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() 154 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor() local 184 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_get_page2_descriptor() local 514 struct scsi_device *sdev, in ses_enclosure_data_process() 618 struct scsi_device *sdev, in ses_match_to_enclosure() 642 struct scsi_device *sdev = to_scsi_device(cdev->parent); in ses_intf_add() local 801 static void ses_intf_remove_component(struct scsi_device *sdev) in ses_intf_remove_component() 814 static void ses_intf_remove_enclosure(struct scsi_device *sdev) in ses_intf_remove_enclosure() [all …]
|
D | sr.c | 180 struct scsi_device *sdev = cd->device; in scsi_cd_put() local 188 static unsigned int sr_get_events(struct scsi_device *sdev) in sr_get_events() 526 struct scsi_device *sdev; in sr_block_open() local 562 struct scsi_device *sdev = cd->device; in sr_block_ioctl() local 654 struct scsi_device *sdev = cd->device; in sr_open() local 682 struct scsi_device *sdev = to_scsi_device(dev); in sr_probe() local 974 struct scsi_device *sdev = cd->device; in sr_packet() local
|
/drivers/spmi/ |
D | spmi.c | 33 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release() local 68 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add() 93 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove() 148 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) in spmi_register_read() 169 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, in spmi_ext_register_read() 191 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, in spmi_ext_register_readl() 211 int spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) in spmi_register_write() 229 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write() 246 int spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, in spmi_ext_register_write() 268 int spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, in spmi_ext_register_writel() [all …]
|
/drivers/media/radio/si4713/ |
D | si4713.c | 183 struct si4713_device *sdev = dev; in si4713_handler() local 202 static int si4713_send_command(struct si4713_device *sdev, const u8 command, in si4713_send_command() 267 static int si4713_read_property(struct si4713_device *sdev, u16 prop, u32 *pv) in si4713_read_property() 304 static int si4713_write_property(struct si4713_device *sdev, u16 prop, u16 val) in si4713_write_property() 349 static int si4713_powerup(struct si4713_device *sdev) in si4713_powerup() 428 static int si4713_powerdown(struct si4713_device *sdev) in si4713_powerdown() 473 static int si4713_checkrev(struct si4713_device *sdev) in si4713_checkrev() 503 static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) in si4713_wait_stc() 547 static int si4713_tx_tune_freq(struct si4713_device *sdev, u16 frequency) in si4713_tx_tune_freq() 591 static int si4713_tx_tune_power(struct si4713_device *sdev, u8 power, in si4713_tx_tune_power() [all …]
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 41 static int shmob_drm_clk_on(struct shmob_drm_device *sdev) in shmob_drm_clk_on() 58 static void shmob_drm_clk_off(struct shmob_drm_device *sdev) in shmob_drm_clk_off() 75 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_setup_geometry() local 132 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop() local 166 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_start() local 267 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_stop() local 308 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_compute_base() local 334 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_update_base() local 374 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_mode_set() local 480 static void shmob_drm_crtc_enable_vblank(struct shmob_drm_device *sdev, in shmob_drm_crtc_enable_vblank() [all …]
|
D | shmob_drm_drv.c | 35 static int shmob_drm_init_interface(struct shmob_drm_device *sdev) in shmob_drm_init_interface() 69 static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev, in shmob_drm_setup_clocks() 109 struct shmob_drm_device *sdev = dev->dev_private; in shmob_drm_irq() local 163 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_suspend() local 173 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_resume() local 194 struct shmob_drm_device *sdev = platform_get_drvdata(pdev); in shmob_drm_remove() local 209 struct shmob_drm_device *sdev; in shmob_drm_probe() local
|
D | shmob_drm_plane.c | 69 struct shmob_drm_device *sdev = splane->plane.dev->dev_private; in __shmob_drm_plane_setup() local 118 #define plane_reg_dump(sdev, splane, reg) \ in __shmob_drm_plane_setup() argument 184 struct shmob_drm_device *sdev = plane->dev->dev_private; in shmob_drm_plane_update() local 216 struct shmob_drm_device *sdev = plane->dev->dev_private; in shmob_drm_plane_disable() local 248 int shmob_drm_plane_create(struct shmob_drm_device *sdev, unsigned int index) in shmob_drm_plane_create()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_emc.c | 113 static int trespass_endio(struct scsi_device *sdev, in trespass_endio() 148 static int parse_sp_info_reply(struct scsi_device *sdev, in parse_sp_info_reply() 202 static char * parse_sp_model(struct scsi_device *sdev, unsigned char *buffer) in parse_sp_model() 248 static int send_trespass_cmd(struct scsi_device *sdev, in send_trespass_cmd() 296 static int clariion_check_sense(struct scsi_device *sdev, in clariion_check_sense() 344 static int clariion_prep_fn(struct scsi_device *sdev, struct request *req) in clariion_prep_fn() 357 static int clariion_std_inquiry(struct scsi_device *sdev, in clariion_std_inquiry() 382 static int clariion_send_inquiry(struct scsi_device *sdev, in clariion_send_inquiry() 394 static int clariion_activate(struct scsi_device *sdev, in clariion_activate() 436 static int clariion_set_params(struct scsi_device *sdev, const char *params) in clariion_set_params() [all …]
|
D | scsi_dh_hp_sw.c | 44 struct scsi_device *sdev; member 56 static int tur_done(struct scsi_device *sdev, struct hp_sw_dh_data *h, in tur_done() 94 static int hp_sw_tur(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_tur() 134 struct scsi_device *sdev = h->sdev; in hp_sw_start_stop() local 175 static int hp_sw_prep_fn(struct scsi_device *sdev, struct request *req) in hp_sw_prep_fn() 198 static int hp_sw_activate(struct scsi_device *sdev, in hp_sw_activate() 214 static int hp_sw_bus_attach(struct scsi_device *sdev) in hp_sw_bus_attach() 241 static void hp_sw_bus_detach( struct scsi_device *sdev ) in hp_sw_bus_detach()
|
D | scsi_dh_alua.c | 100 struct scsi_device *sdev; member 137 static int submit_rtpg(struct scsi_device *sdev, unsigned char *buff, in submit_rtpg() 165 static int submit_stpg(struct scsi_device *sdev, int group_id, in submit_stpg() 222 static struct alua_port_group *alua_alloc_pg(struct scsi_device *sdev, in alua_alloc_pg() 278 static int alua_check_tpgs(struct scsi_device *sdev) in alua_check_tpgs() 330 static int alua_check_vpd(struct scsi_device *sdev, struct alua_dh_data *h, in alua_check_vpd() 419 static int alua_check_sense(struct scsi_device *sdev, in alua_check_sense() 492 static int alua_tur(struct scsi_device *sdev) in alua_tur() 516 static int alua_rtpg(struct scsi_device *sdev, struct alua_port_group *pg) in alua_rtpg() 737 static unsigned alua_stpg(struct scsi_device *sdev, struct alua_port_group *pg) in alua_stpg() [all …]
|
/drivers/usb/usbip/ |
D | stub_dev.c | 35 struct stub_device *sdev = dev_get_drvdata(dev); in usbip_status_show() local 59 struct stub_device *sdev = dev_get_drvdata(dev); in store_sockfd() local 158 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_shutdown_connection() local 217 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_device_reset() local 262 struct stub_device *sdev; in stub_device_alloc() local 307 static void stub_device_free(struct stub_device *sdev) in stub_device_free() 314 struct stub_device *sdev = NULL; in stub_probe() local 443 struct stub_device *sdev; in stub_disconnect() local
|
D | stub_tx.c | 28 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum, in stub_enqueue_ret_unlink() 57 struct stub_device *sdev = priv->sdev; in stub_complete() local 146 static struct stub_priv *dequeue_from_priv_tx(struct stub_device *sdev) in dequeue_from_priv_tx() 164 static int stub_send_ret_submit(struct stub_device *sdev) in stub_send_ret_submit() 357 static struct stub_unlink *dequeue_from_unlink_tx(struct stub_device *sdev) in dequeue_from_unlink_tx() 375 static int stub_send_ret_unlink(struct stub_device *sdev) in stub_send_ret_unlink() 434 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_tx_loop() local
|
D | stub_rx.c | 147 struct stub_device *sdev = priv->sdev; in tweak_set_configuration_cmd() local 165 struct stub_device *sdev = priv->sdev; in tweak_reset_device_cmd() local 216 static int stub_recv_cmd_unlink(struct stub_device *sdev, in stub_recv_cmd_unlink() 291 static int valid_request(struct stub_device *sdev, struct usbip_header *pdu) in valid_request() 308 static struct stub_priv *stub_priv_alloc(struct stub_device *sdev, in stub_priv_alloc() 339 static int get_pipe(struct stub_device *sdev, struct usbip_header *pdu) in get_pipe() 470 static void stub_recv_cmd_submit(struct stub_device *sdev, in stub_recv_cmd_submit() 648 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_rx_pdu() local
|
/drivers/s390/scsi/ |
D | zfcp_erp.c | 110 static void zfcp_erp_action_dismiss_lun(struct scsi_device *sdev) in zfcp_erp_action_dismiss_lun() 120 struct scsi_device *sdev; in zfcp_erp_action_dismiss_port() local 149 struct scsi_device *sdev) in zfcp_erp_handle_failed() 189 struct scsi_device *sdev) in zfcp_erp_required_act() 241 struct scsi_device *sdev) in zfcp_erp_setup_act() 310 struct scsi_device *sdev, in zfcp_erp_action_enqueue() 483 static void zfcp_erp_lun_block(struct scsi_device *sdev, int clear_mask) in zfcp_erp_lun_block() 489 static void _zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, char *id, in _zfcp_erp_lun_reopen() 509 void zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, char *id) in zfcp_erp_lun_reopen() 527 void zfcp_erp_lun_shutdown(struct scsi_device *sdev, int clear, char *id) in zfcp_erp_lun_shutdown() [all …]
|
/drivers/dma/sh/ |
D | shdma-base.c | 57 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_chan_xfer_ld_queue() local 130 struct shdma_dev *sdev = in shdma_tx_submit() local 176 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_setup_slave() local 209 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_alloc_chan_resources() local 280 struct shdma_dev *sdev; in shdma_chan_filter() local 456 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_free_chan_resources() local 508 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_add_desc() local 669 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_prep_slave_sg() local 700 struct shdma_dev *sdev = to_shdma_dev(schan->dma_chan.device); in shdma_prep_dma_cyclic() local 759 struct shdma_dev *sdev = to_shdma_dev(chan->device); in shdma_terminate_all() local [all …]
|
/drivers/dma/ |
D | sun6i-dma.c | 201 static inline void sun6i_dma_dump_com_regs(struct sun6i_dma_dev *sdev) in sun6i_dma_dump_com_regs() 216 static inline void sun6i_dma_dump_chan_regs(struct sun6i_dma_dev *sdev, in sun6i_dma_dump_chan_regs() 333 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vd->tx.chan->device); in sun6i_dma_free_desc() local 358 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vchan->vc.chan.device); in sun6i_dma_start_desc() local 401 struct sun6i_dma_dev *sdev = (struct sun6i_dma_dev *)data; in sun6i_dma_tasklet() local 467 struct sun6i_dma_dev *sdev = dev_id; in sun6i_dma_interrupt() local 508 static int set_config(struct sun6i_dma_dev *sdev, in set_config() 561 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_prep_dma_memcpy() local 617 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_prep_slave_sg() local 703 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_prep_dma_cyclic() local [all …]
|
/drivers/scsi/cxlflash/ |
D | lunmgt.c | 33 static struct llun_info *create_local(struct scsi_device *sdev, u8 *wwid) in create_local() 61 static struct glun_info *create_global(struct scsi_device *sdev, u8 *wwid) in create_global() 134 static struct llun_info *find_and_create_lun(struct scsi_device *sdev, u8 *wwid) in find_and_create_lun() 229 int cxlflash_manage_lun(struct scsi_device *sdev, in cxlflash_manage_lun()
|