Home
last modified time | relevance | path

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

12345678910

/Linux-v4.19/drivers/net/ethernet/alacritech/
Dslicoss.c88 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 …]
/Linux-v4.19/drivers/scsi/
Dscsi.c203 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 …]
Dscsi_lib.c144 struct scsi_device *sdev = cmd->device; in scsi_mq_requeue_cmd() local
258 int __scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, in __scsi_execute()
358 void scsi_device_unbusy(struct scsi_device *sdev) in scsi_device_unbusy()
389 struct scsi_device *sdev, *tmp; in scsi_single_lun_run() local
425 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy()
460 struct scsi_device *sdev; in scsi_starved_list_run() local
530 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local
545 struct scsi_device *sdev; in scsi_requeue_run_queue() local
573 struct scsi_device *sdev = cmd->device; in scsi_requeue_command() local
591 struct scsi_device *sdev; in scsi_run_host_queues() local
[all …]
Dscsi_dh.c82 scsi_dh_find_driver(struct scsi_device *sdev) in scsi_dh_find_driver()
135 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach()
174 static void scsi_dh_handler_detach(struct scsi_device *sdev) in scsi_dh_handler_detach()
181 void scsi_dh_add_device(struct scsi_device *sdev) in scsi_dh_add_device()
197 void scsi_dh_release_device(struct scsi_device *sdev) in scsi_dh_release_device()
264 struct scsi_device *sdev; in scsi_dh_activate() local
311 struct scsi_device *sdev; in scsi_dh_set_params() local
333 struct scsi_device *sdev; in scsi_dh_attach() local
372 struct scsi_device *sdev; in scsi_dh_attached_handler_name() local
Dscsi_sysfs.c421 struct scsi_device *sdev; in scsi_device_cls_release() local
429 struct scsi_device *sdev; in scsi_device_dev_release_usercontext() local
507 struct scsi_device *sdev; in scsi_bus_uevent() local
645 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_busy() local
654 struct scsi_device *sdev = to_scsi_device(dev); in sdev_show_device_blocked() local
665 struct scsi_device *sdev; in sdev_show_timeout() local
674 struct scsi_device *sdev; in sdev_store_timeout() local
686 struct scsi_device *sdev; in sdev_show_eh_timeout() local
695 struct scsi_device *sdev; in sdev_store_eh_timeout() local
752 struct scsi_device *sdev = to_scsi_device(dev); in store_state_field() local
[all …]
Dscsi_error.c133 struct scsi_device *sdev = scmd->device; in scmd_eh_abort_handler() local
187 struct scsi_device *sdev = scmd->device; in scsi_abort_command() local
333 int scsi_block_when_processing_errors(struct scsi_device *sdev) in scsi_block_when_processing_errors()
358 struct scsi_device *sdev; in scsi_eh_prt_fail_stats() local
399 static void scsi_report_lun_change(struct scsi_device *sdev) in scsi_report_lun_change()
410 static void scsi_report_sense(struct scsi_device *sdev, in scsi_report_sense()
485 struct scsi_device *sdev = scmd->device; in scsi_check_sense() local
645 static void scsi_handle_queue_ramp_up(struct scsi_device *sdev) in scsi_handle_queue_ramp_up()
677 static void scsi_handle_queue_full(struct scsi_device *sdev) in scsi_handle_queue_full()
845 static void __scsi_report_device_reset(struct scsi_device *sdev, void *data) in __scsi_report_device_reset()
[all …]
Dscsi_ioctl.c88 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()
Dscsi_scan.c185 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()
1057 struct scsi_device *sdev; in scsi_probe_and_add_lun() local
1307 struct scsi_device *sdev; in scsi_report_lun_scan() local
1470 struct scsi_device *sdev = ERR_PTR(-ENODEV); in __scsi_add_device() local
1506 struct scsi_device *sdev = in scsi_add_device() local
1518 struct scsi_device *sdev = to_scsi_device(dev); in scsi_rescan_device() local
1699 struct scsi_device *sdev; in scsi_sysfs_add_devices() local
[all …]
Dses.c63 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 …]
/Linux-v4.19/drivers/spmi/
Dspmi.c33 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 …]
/Linux-v4.19/arch/arm/common/
Dscoop.c46 struct scoop_dev *sdev = dev_get_drvdata(dev); in reset_scoop() local
57 static void __scoop_gpio_set(struct scoop_dev *sdev, in __scoop_gpio_set()
72 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_set() local
84 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_get() local
93 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_input() local
111 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_output() local
130 struct scoop_dev *sdev = dev_get_drvdata(dev); in read_scoop_reg() local
136 struct scoop_dev *sdev = dev_get_drvdata(dev); in write_scoop_reg() local
145 static void check_scoop_reg(struct scoop_dev *sdev) in check_scoop_reg()
156 struct scoop_dev *sdev = platform_get_drvdata(dev); in scoop_suspend() local
[all …]
/Linux-v4.19/drivers/media/radio/si4713/
Dsi4713.c183 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 …]
/Linux-v4.19/drivers/gpu/drm/shmobile/
Dshmob_drm_drv.c35 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
Dshmob_drm_crtc.c39 static int shmob_drm_clk_on(struct shmob_drm_device *sdev) in shmob_drm_clk_on()
52 static void shmob_drm_clk_off(struct shmob_drm_device *sdev) in shmob_drm_clk_off()
65 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_setup_geometry() local
122 struct shmob_drm_device *sdev = scrtc->crtc.dev->dev_private; in shmob_drm_crtc_start_stop() local
156 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_start() local
257 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_stop() local
312 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_update_base() local
352 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_crtc_mode_set() local
438 static void shmob_drm_crtc_enable_vblank(struct shmob_drm_device *sdev, in shmob_drm_crtc_enable_vblank()
457 struct shmob_drm_device *sdev = crtc->dev->dev_private; in shmob_drm_enable_vblank() local
[all …]
/Linux-v4.19/drivers/scsi/device_handler/
Dscsi_dh_emc.c113 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 …]
Dscsi_dh_hp_sw.c44 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()
245 static void hp_sw_bus_detach( struct scsi_device *sdev ) in hp_sw_bus_detach()
Dscsi_dh_alua.c101 struct scsi_device *sdev; member
138 static int submit_rtpg(struct scsi_device *sdev, unsigned char *buff, in submit_rtpg()
166 static int submit_stpg(struct scsi_device *sdev, int group_id, in submit_stpg()
223 static struct alua_port_group *alua_alloc_pg(struct scsi_device *sdev, in alua_alloc_pg()
280 static int alua_check_tpgs(struct scsi_device *sdev) in alua_check_tpgs()
332 static int alua_check_vpd(struct scsi_device *sdev, struct alua_dh_data *h, in alua_check_vpd()
421 static int alua_check_sense(struct scsi_device *sdev, in alua_check_sense()
494 static int alua_tur(struct scsi_device *sdev) in alua_tur()
518 static int alua_rtpg(struct scsi_device *sdev, struct alua_port_group *pg) in alua_rtpg()
744 static unsigned alua_stpg(struct scsi_device *sdev, struct alua_port_group *pg) in alua_stpg()
[all …]
/Linux-v4.19/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
144 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_shutdown_connection() local
203 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_device_reset() local
248 struct stub_device *sdev; in stub_device_alloc() local
293 static void stub_device_free(struct stub_device *sdev) in stub_device_free()
300 struct stub_device *sdev = NULL; in stub_probe() local
412 struct stub_device *sdev; in stub_disconnect() local
Dstub_tx.c28 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
130 static struct stub_priv *dequeue_from_priv_tx(struct stub_device *sdev) in dequeue_from_priv_tx()
148 static int stub_send_ret_submit(struct stub_device *sdev) in stub_send_ret_submit()
288 static struct stub_unlink *dequeue_from_unlink_tx(struct stub_device *sdev) in dequeue_from_unlink_tx()
306 static int stub_send_ret_unlink(struct stub_device *sdev) in stub_send_ret_unlink()
365 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_tx_loop() local
Dstub_rx.c132 struct stub_device *sdev = priv->sdev; in tweak_set_configuration_cmd() local
150 struct stub_device *sdev = priv->sdev; in tweak_reset_device_cmd() local
201 static int stub_recv_cmd_unlink(struct stub_device *sdev, in stub_recv_cmd_unlink()
274 static int valid_request(struct stub_device *sdev, struct usbip_header *pdu) in valid_request()
291 static struct stub_priv *stub_priv_alloc(struct stub_device *sdev, in stub_priv_alloc()
322 static int get_pipe(struct stub_device *sdev, struct usbip_header *pdu) in get_pipe()
442 static void stub_recv_cmd_submit(struct stub_device *sdev, in stub_recv_cmd_submit()
535 struct stub_device *sdev = container_of(ud, struct stub_device, ud); in stub_rx_pdu() local
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_erp.c102 static void zfcp_erp_action_dismiss_lun(struct scsi_device *sdev) in zfcp_erp_action_dismiss_lun()
112 struct scsi_device *sdev; in zfcp_erp_action_dismiss_port() local
141 struct scsi_device *sdev) in zfcp_erp_handle_failed()
184 struct scsi_device *sdev) in zfcp_erp_required_act()
236 struct scsi_device *sdev) in zfcp_erp_setup_act()
299 struct scsi_device *sdev, in zfcp_erp_action_enqueue()
464 static void zfcp_erp_lun_block(struct scsi_device *sdev, int clear_mask) in zfcp_erp_lun_block()
470 static void _zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, char *id, in _zfcp_erp_lun_reopen()
490 void zfcp_erp_lun_reopen(struct scsi_device *sdev, int clear, char *id) in zfcp_erp_lun_reopen()
508 void zfcp_erp_lun_shutdown(struct scsi_device *sdev, int clear, char *id) in zfcp_erp_lun_shutdown()
[all …]
/Linux-v4.19/drivers/dma/sh/
Dshdma-base.c57 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 …]
/Linux-v4.19/drivers/slimbus/
Dstream.c126 struct slim_device *sdev = stream->dev; in slim_connect_port_channel() local
146 struct slim_device *sdev = stream->dev; in slim_disconnect_port() local
162 struct slim_device *sdev = stream->dev; in slim_deactivate_remove_channel() local
266 struct slim_device *sdev = stream->dev; in slim_define_channel_content() local
301 struct slim_device *sdev = stream->dev; in slim_define_channel() local
325 struct slim_device *sdev = stream->dev; in slim_activate_channel() local
466 struct slim_device *sdev = stream->dev; in slim_stream_free() local
/Linux-v4.19/drivers/dma/
Dsun6i-dma.c221 static inline void sun6i_dma_dump_com_regs(struct sun6i_dma_dev *sdev) in sun6i_dma_dump_com_regs()
236 static inline void sun6i_dma_dump_chan_regs(struct sun6i_dma_dev *sdev, in sun6i_dma_dump_chan_regs()
290 static void sun6i_enable_clock_autogate_a23(struct sun6i_dma_dev *sdev) in sun6i_enable_clock_autogate_a23()
295 static void sun6i_enable_clock_autogate_h3(struct sun6i_dma_dev *sdev) in sun6i_enable_clock_autogate_h3()
375 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vd->tx.chan->device); in sun6i_dma_free_desc() local
400 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vchan->vc.chan.device); in sun6i_dma_start_desc() local
443 struct sun6i_dma_dev *sdev = (struct sun6i_dma_dev *)data; in sun6i_dma_tasklet() local
508 struct sun6i_dma_dev *sdev = dev_id; in sun6i_dma_interrupt() local
549 static int set_config(struct sun6i_dma_dev *sdev, in set_config()
604 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(chan->device); in sun6i_dma_prep_dma_memcpy() local
[all …]
/Linux-v4.19/include/scsi/
Dscsi_device.h240 #define sdev_dbg(sdev, fmt, a...) \ argument
251 #define sdev_printk(l, sdev, fmt, a...) \ argument
319 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target()
368 #define shost_for_each_device(sdev, shost) \ argument
386 #define __shost_for_each_device(sdev, shost) \ argument
437 #define scsi_execute(sdev, cmd, data_direction, buffer, bufflen, sense, \ argument
446 static inline int scsi_execute_req(struct scsi_device *sdev, in scsi_execute_req()
467 static inline int __must_check scsi_device_reprobe(struct scsi_device *sdev) in scsi_device_reprobe()
472 static inline unsigned int sdev_channel(struct scsi_device *sdev) in sdev_channel()
477 static inline unsigned int sdev_id(struct scsi_device *sdev) in sdev_id()
[all …]

12345678910