/drivers/media/platform/s5p-tv/ |
D | sdo_drv.c | 76 void sdo_write_mask(struct sdo_device *sdev, u32 reg_id, u32 value, u32 mask) in sdo_write_mask() argument 78 u32 old = readl(sdev->regs + reg_id); in sdo_write_mask() 80 writel(value, sdev->regs + reg_id); in sdo_write_mask() 84 void sdo_write(struct sdo_device *sdev, u32 reg_id, u32 value) in sdo_write() argument 86 writel(value, sdev->regs + reg_id); in sdo_write() 90 u32 sdo_read(struct sdo_device *sdev, u32 reg_id) in sdo_read() argument 92 return readl(sdev->regs + reg_id); in sdo_read() 97 struct sdo_device *sdev = dev_data; in sdo_irq_handler() local 100 sdo_write_mask(sdev, SDO_IRQ, ~0, SDO_VSYNC_IRQ_PEND); in sdo_irq_handler() 104 static void sdo_reg_debug(struct sdo_device *sdev) in sdo_reg_debug() argument [all …]
|
/drivers/media/radio/si4713/ |
D | si4713.c | 186 struct si4713_device *sdev = dev; in si4713_handler() local 188 v4l2_dbg(2, debug, &sdev->sd, in si4713_handler() 190 complete(&sdev->work); in si4713_handler() 205 static int si4713_send_command(struct si4713_device *sdev, const u8 command, in si4713_send_command() argument 209 struct i2c_client *client = v4l2_get_subdevdata(&sdev->sd); in si4713_send_command() 220 DBG_BUFFER(&sdev->sd, "Parameters", data1, argn + 1); in si4713_send_command() 224 v4l2_err(&sdev->sd, "Error while sending command 0x%02x\n", in si4713_send_command() 233 if (!wait_for_completion_timeout(&sdev->work, in si4713_send_command() 235 v4l2_warn(&sdev->sd, in si4713_send_command() 243 v4l2_err(&sdev->sd, in si4713_send_command() [all …]
|
/drivers/scsi/device_handler/ |
D | scsi_dh.c | 55 device_handler_match_function(struct scsi_device *sdev) in device_handler_match_function() argument 61 if (tmp_dh->match && tmp_dh->match(sdev)) { in device_handler_match_function() 81 struct scsi_device *sdev) in device_handler_match() argument 85 found_dh = device_handler_match_function(sdev); in device_handler_match() 98 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach() argument 103 if (sdev->scsi_dh_data) { in scsi_dh_handler_attach() 104 if (sdev->scsi_dh_data->scsi_dh != scsi_dh) in scsi_dh_handler_attach() 107 kref_get(&sdev->scsi_dh_data->kref); in scsi_dh_handler_attach() 109 err = scsi_dh->attach(sdev); in scsi_dh_handler_attach() 111 kref_init(&sdev->scsi_dh_data->kref); in scsi_dh_handler_attach() [all …]
|
D | scsi_dh_emc.c | 117 *get_clariion_data(struct scsi_device *sdev) in get_clariion_data() argument 119 struct scsi_dh_data *scsi_dh_data = sdev->scsi_dh_data; in get_clariion_data() 127 static int trespass_endio(struct scsi_device *sdev, char *sense) in trespass_endio() argument 133 sdev_printk(KERN_ERR, sdev, "%s: Found valid sense data 0x%2x, " in trespass_endio() 144 sdev_printk(KERN_INFO, sdev, "%s: Array Based Copy in " in trespass_endio() 154 sdev_printk(KERN_INFO, sdev, "%s: Detected in-progress " in trespass_endio() 161 sdev_printk(KERN_INFO, sdev, in trespass_endio() 168 static int parse_sp_info_reply(struct scsi_device *sdev, in parse_sp_info_reply() argument 175 sdev_printk(KERN_NOTICE, sdev, "%s: Detected in-progress " in parse_sp_info_reply() 183 sdev_printk(KERN_NOTICE, sdev, in parse_sp_info_reply() [all …]
|
D | scsi_dh_hp_sw.c | 45 struct scsi_device *sdev; member 52 static inline struct hp_sw_dh_data *get_hp_sw_data(struct scsi_device *sdev) in get_hp_sw_data() argument 54 struct scsi_dh_data *scsi_dh_data = sdev->scsi_dh_data; in get_hp_sw_data() 66 static int tur_done(struct scsi_device *sdev, unsigned char *sense) in tur_done() argument 73 sdev_printk(KERN_WARNING, sdev, in tur_done() 95 sdev_printk(KERN_WARNING, sdev, in tur_done() 113 static int hp_sw_tur(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_tur() argument 119 req = blk_get_request(sdev->request_queue, WRITE, GFP_NOIO); in hp_sw_tur() 136 ret = tur_done(sdev, h->sense); in hp_sw_tur() 138 sdev_printk(KERN_WARNING, sdev, in hp_sw_tur() [all …]
|
D | scsi_dh_alua.c | 77 struct scsi_device *sdev; member 88 static inline struct alua_dh_data *get_alua_data(struct scsi_device *sdev) in get_alua_data() argument 90 struct scsi_dh_data *scsi_dh_data = sdev->scsi_dh_data; in get_alua_data() 110 static struct request *get_alua_req(struct scsi_device *sdev, in get_alua_req() argument 114 struct request_queue *q = sdev->request_queue; in get_alua_req() 119 sdev_printk(KERN_INFO, sdev, in get_alua_req() 127 sdev_printk(KERN_INFO, sdev, in get_alua_req() 144 static int submit_vpd_inquiry(struct scsi_device *sdev, struct alua_dh_data *h) in submit_vpd_inquiry() argument 149 rq = get_alua_req(sdev, h->buff, h->bufflen, READ); in submit_vpd_inquiry() 166 sdev_printk(KERN_INFO, sdev, in submit_vpd_inquiry() [all …]
|
D | scsi_dh_rdac.c | 256 #define RDAC_LOG(SHIFT, sdev, f, arg...) \ argument 259 sdev_printk(KERN_INFO, sdev, RDAC_NAME ": " f "\n", ## arg); \ 262 static inline struct rdac_dh_data *get_rdac_data(struct scsi_device *sdev) in get_rdac_data() argument 264 struct scsi_dh_data *scsi_dh_data = sdev->scsi_dh_data; in get_rdac_data() 269 static struct request *get_rdac_req(struct scsi_device *sdev, in get_rdac_req() argument 273 struct request_queue *q = sdev->request_queue; in get_rdac_req() 278 sdev_printk(KERN_INFO, sdev, in get_rdac_req() 286 sdev_printk(KERN_INFO, sdev, in get_rdac_req() 299 static struct request *rdac_failover_get(struct scsi_device *sdev, in rdac_failover_get() argument 340 rq = get_rdac_req(sdev, &h->ctlr->mode_select, data_size, WRITE); in rdac_failover_get() [all …]
|
/drivers/scsi/ |
D | scsi_scan.c | 192 static void scsi_unlock_floptical(struct scsi_device *sdev, in scsi_unlock_floptical() argument 197 sdev_printk(KERN_NOTICE, sdev, "unlocking floptical drive\n"); in scsi_unlock_floptical() 204 scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE, result, 0x2a, NULL, in scsi_unlock_floptical() 225 struct scsi_device *sdev; in scsi_alloc_sdev() local 231 sdev = kzalloc(sizeof(*sdev) + shost->transportt->device_size, in scsi_alloc_sdev() 233 if (!sdev) in scsi_alloc_sdev() 236 sdev->vendor = scsi_null_device_strs; in scsi_alloc_sdev() 237 sdev->model = scsi_null_device_strs; in scsi_alloc_sdev() 238 sdev->rev = scsi_null_device_strs; in scsi_alloc_sdev() 239 sdev->host = shost; in scsi_alloc_sdev() [all …]
|
D | scsi_sysfs.c | 387 struct scsi_device *sdev; in scsi_device_cls_release() local 389 sdev = class_to_sdev(class_dev); in scsi_device_cls_release() 390 put_device(&sdev->sdev_gendev); in scsi_device_cls_release() 395 struct scsi_device *sdev; in scsi_device_dev_release_usercontext() local 400 sdev = container_of(work, struct scsi_device, ew.work); in scsi_device_dev_release_usercontext() 402 parent = sdev->sdev_gendev.parent; in scsi_device_dev_release_usercontext() 404 spin_lock_irqsave(sdev->host->host_lock, flags); in scsi_device_dev_release_usercontext() 405 list_del(&sdev->siblings); in scsi_device_dev_release_usercontext() 406 list_del(&sdev->same_target_siblings); in scsi_device_dev_release_usercontext() 407 list_del(&sdev->starved_entry); in scsi_device_dev_release_usercontext() [all …]
|
D | scsi_ioctl.c | 88 static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, in ioctl_internal_command() argument 94 SCSI_LOG_IOCTL(1, sdev_printk(KERN_INFO, sdev, in ioctl_internal_command() 97 result = scsi_execute_req(sdev, cmd, DMA_NONE, NULL, 0, in ioctl_internal_command() 100 SCSI_LOG_IOCTL(2, sdev_printk(KERN_INFO, sdev, in ioctl_internal_command() 108 sdev->lockable = 0; in ioctl_internal_command() 110 sdev_printk(KERN_INFO, sdev, in ioctl_internal_command() 117 if (sdev->removable) in ioctl_internal_command() 120 if (sdev->removable) { in ioctl_internal_command() 121 sdev->changed = 1; in ioctl_internal_command() 126 sdev_printk(KERN_INFO, sdev, in ioctl_internal_command() [all …]
|
D | scsi_lib.c | 120 struct scsi_device *sdev = cmd->device; in scsi_mq_requeue_cmd() local 125 put_device(&sdev->sdev_gendev); in scsi_mq_requeue_cmd() 214 int scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute() argument 223 req = blk_get_request(sdev->request_queue, write, __GFP_WAIT); in scsi_execute() 228 if (bufflen && blk_rq_map_kern(sdev->request_queue, req, in scsi_execute() 264 int scsi_execute_req_flags(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_req_flags() argument 277 result = scsi_execute(sdev, cmd, data_direction, buffer, bufflen, in scsi_execute_req_flags() 307 void scsi_device_unbusy(struct scsi_device *sdev) in scsi_device_unbusy() argument 309 struct Scsi_Host *shost = sdev->host; in scsi_device_unbusy() 310 struct scsi_target *starget = scsi_target(sdev); in scsi_device_unbusy() [all …]
|
D | scsi.c | 727 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local 728 struct scsi_target *starget = scsi_target(sdev); in scsi_finish_command() 729 struct Scsi_Host *shost = sdev->host; in scsi_finish_command() 733 scsi_device_unbusy(sdev); in scsi_finish_command() 743 if (atomic_read(&sdev->device_blocked)) in scsi_finish_command() 744 atomic_set(&sdev->device_blocked, 0); in scsi_finish_command() 753 SCSI_LOG_MLCOMPLETE(4, sdev_printk(KERN_INFO, sdev, in scsi_finish_command() 793 void scsi_adjust_queue_depth(struct scsi_device *sdev, int tagged, int tags) in scsi_adjust_queue_depth() argument 803 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in scsi_adjust_queue_depth() 814 if (!shost_use_blk_mq(sdev->host) && !sdev->host->bqt) { in scsi_adjust_queue_depth() [all …]
|
D | ses.c | 55 struct scsi_device *sdev = to_scsi_device(dev); in ses_probe() local 58 if (sdev->type != TYPE_ENCLOSURE) in ses_probe() 62 sdev_printk(KERN_NOTICE, sdev, "Attached Enclosure device\n"); in ses_probe() 71 static int ses_recv_diag(struct scsi_device *sdev, int page_code, in ses_recv_diag() argument 83 return scsi_execute_req(sdev, cmd, DMA_FROM_DEVICE, buf, bufflen, in ses_recv_diag() 87 static int ses_send_diag(struct scsi_device *sdev, int page_code, in ses_send_diag() argument 101 result = scsi_execute_req(sdev, cmd, DMA_TO_DEVICE, buf, bufflen, in ses_send_diag() 104 sdev_printk(KERN_ERR, sdev, "SEND DIAGNOSTIC result: %8x\n", in ses_send_diag() 114 struct scsi_device *sdev = to_scsi_device(edev->edev.parent); in ses_set_page2_descriptor() local 137 return ses_send_diag(sdev, 2, ses_dev->page2, ses_dev->page2_len); in ses_set_page2_descriptor() [all …]
|
/drivers/usb/usbip/ |
D | stub_dev.c | 35 struct stub_device *sdev = dev_get_drvdata(dev); in usbip_status_show() local 38 if (!sdev) { in usbip_status_show() 43 spin_lock_irq(&sdev->ud.lock); in usbip_status_show() 44 status = sdev->ud.status; in usbip_status_show() 45 spin_unlock_irq(&sdev->ud.lock); in usbip_status_show() 59 struct stub_device *sdev = dev_get_drvdata(dev); in store_sockfd() local 64 if (!sdev) { in store_sockfd() 78 spin_lock_irq(&sdev->ud.lock); in store_sockfd() 80 if (sdev->ud.status != SDEV_ST_AVAILABLE) { in store_sockfd() 89 sdev->ud.tcp_socket = socket; in store_sockfd() [all …]
|
D | stub_tx.c | 42 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum, in stub_enqueue_ret_unlink() argument 49 usbip_event_add(&sdev->ud, VDEV_EVENT_ERROR_MALLOC); in stub_enqueue_ret_unlink() 56 list_add_tail(&unlink->list, &sdev->unlink_tx); in stub_enqueue_ret_unlink() 71 struct stub_device *sdev = priv->sdev; in stub_complete() local 103 spin_lock_irqsave(&sdev->priv_lock, flags); in stub_complete() 105 stub_enqueue_ret_unlink(sdev, priv->seqnum, urb->status); in stub_complete() 108 list_move_tail(&priv->list, &sdev->priv_tx); in stub_complete() 110 spin_unlock_irqrestore(&sdev->priv_lock, flags); in stub_complete() 113 wake_up(&sdev->tx_waitq); in stub_complete() 141 static struct stub_priv *dequeue_from_priv_tx(struct stub_device *sdev) in dequeue_from_priv_tx() argument [all …]
|
D | stub_rx.c | 146 struct stub_device *sdev = priv->sdev; in tweak_set_configuration_cmd() local 154 err = usb_set_configuration(sdev->udev, config); in tweak_set_configuration_cmd() 156 dev_err(&sdev->udev->dev, "can't set config #%d, error %d\n", in tweak_set_configuration_cmd() 164 struct stub_device *sdev = priv->sdev; in tweak_reset_device_cmd() local 173 if (usb_lock_device_for_reset(sdev->udev, sdev->interface) < 0) { in tweak_reset_device_cmd() 177 usb_reset_device(sdev->udev); in tweak_reset_device_cmd() 178 usb_unlock_device(sdev->udev); in tweak_reset_device_cmd() 220 static int stub_recv_cmd_unlink(struct stub_device *sdev, in stub_recv_cmd_unlink() argument 227 spin_lock_irqsave(&sdev->priv_lock, flags); in stub_recv_cmd_unlink() 229 list_for_each_entry(priv, &sdev->priv_init, list) { in stub_recv_cmd_unlink() [all …]
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 40 static int shmob_drm_clk_on(struct shmob_drm_device *sdev) in shmob_drm_clk_on() argument 44 if (sdev->clock) { in shmob_drm_clk_on() 45 ret = clk_prepare_enable(sdev->clock); in shmob_drm_clk_on() 50 if (sdev->meram_dev && sdev->meram_dev->pdev) in shmob_drm_clk_on() 51 pm_runtime_get_sync(&sdev->meram_dev->pdev->dev); in shmob_drm_clk_on() 57 static void shmob_drm_clk_off(struct shmob_drm_device *sdev) in shmob_drm_clk_off() argument 60 if (sdev->meram_dev && sdev->meram_dev->pdev) in shmob_drm_clk_off() 61 pm_runtime_put_sync(&sdev->meram_dev->pdev->dev); in shmob_drm_clk_off() 63 if (sdev->clock) in shmob_drm_clk_off() 64 clk_disable_unprepare(sdev->clock); in shmob_drm_clk_off() [all …]
|
D | shmob_drm_drv.c | 36 static int shmob_drm_init_interface(struct shmob_drm_device *sdev) in shmob_drm_init_interface() argument 60 if (sdev->pdata->iface.interface >= ARRAY_SIZE(ldmt1r)) { in shmob_drm_init_interface() 61 dev_err(sdev->dev, "invalid interface type %u\n", in shmob_drm_init_interface() 62 sdev->pdata->iface.interface); in shmob_drm_init_interface() 66 sdev->ldmt1r = ldmt1r[sdev->pdata->iface.interface]; in shmob_drm_init_interface() 70 static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev, in shmob_drm_setup_clocks() argument 79 sdev->lddckr = LDDCKR_ICKSEL_BUS; in shmob_drm_setup_clocks() 83 sdev->lddckr = LDDCKR_ICKSEL_MIPI; in shmob_drm_setup_clocks() 87 sdev->lddckr = LDDCKR_ICKSEL_HDMI; in shmob_drm_setup_clocks() 93 clk = devm_clk_get(sdev->dev, clkname); in shmob_drm_setup_clocks() [all …]
|
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 119 dev_dbg(sdev->ddev->dev, "%s(%u): %s 0x%08x 0x%08x\n", __func__, \ in __shmob_drm_plane_setup() 121 lcdc_read(sdev, reg(splane->index)), \ in __shmob_drm_plane_setup() 122 lcdc_read(sdev, reg(splane->index) + LCDC_SIDE_B_OFFSET)) in __shmob_drm_plane_setup() 124 plane_reg_dump(sdev, splane, LDBnBSIFR); in __shmob_drm_plane_setup() 125 plane_reg_dump(sdev, splane, LDBnBSSZR); in __shmob_drm_plane_setup() 126 plane_reg_dump(sdev, splane, LDBnBLOCR); in __shmob_drm_plane_setup() 127 plane_reg_dump(sdev, splane, LDBnBSMWR); in __shmob_drm_plane_setup() 128 plane_reg_dump(sdev, splane, LDBnBSAYR); in __shmob_drm_plane_setup() [all …]
|
/drivers/spmi/ |
D | spmi.c | 29 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release() local 30 kfree(sdev); in spmi_dev_release() 64 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add() argument 66 struct spmi_controller *ctrl = sdev->ctrl; in spmi_device_add() 69 dev_set_name(&sdev->dev, "%d-%02x", ctrl->nr, sdev->usid); in spmi_device_add() 71 err = device_add(&sdev->dev); in spmi_device_add() 73 dev_err(&sdev->dev, "Can't add %s, status %d\n", in spmi_device_add() 74 dev_name(&sdev->dev), err); in spmi_device_add() 78 dev_dbg(&sdev->dev, "device %s registered\n", dev_name(&sdev->dev)); in spmi_device_add() 89 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove() argument [all …]
|
/drivers/switch/ |
D | switch_class.c | 32 struct switch_dev *sdev = (struct switch_dev *) in state_show() local 35 if (sdev->print_state) { in state_show() 36 int ret = sdev->print_state(sdev, buf); in state_show() 40 return sprintf(buf, "%d\n", sdev->state); in state_show() 46 struct switch_dev *sdev = (struct switch_dev *) in name_show() local 49 if (sdev->print_name) { in name_show() 50 int ret = sdev->print_name(sdev, buf); in name_show() 54 return sprintf(buf, "%s\n", sdev->name); in name_show() 60 void switch_set_state(struct switch_dev *sdev, int state) in switch_set_state() argument 69 if (sdev->state != state) { in switch_set_state() [all …]
|
/drivers/usb/storage/ |
D | scsiglue.c | 79 static int slave_alloc (struct scsi_device *sdev) in slave_alloc() argument 81 struct us_data *us = host_to_us(sdev->host); in slave_alloc() 88 sdev->inquiry_len = 36; in slave_alloc() 105 blk_queue_update_dma_alignment(sdev->request_queue, (512 - 1)); in slave_alloc() 109 sdev->sdev_bflags |= BLIST_FORCELUN; in slave_alloc() 114 static int slave_configure(struct scsi_device *sdev) in slave_configure() argument 116 struct us_data *us = host_to_us(sdev->host); in slave_configure() 127 if (queue_max_hw_sectors(sdev->request_queue) > max_sectors) in slave_configure() 128 blk_queue_max_hw_sectors(sdev->request_queue, in slave_configure() 130 } else if (sdev->type == TYPE_TAPE) { in slave_configure() [all …]
|
/drivers/net/wireless/b43/ |
D | bus.c | 141 return ssb_bus_may_powerdown(dev->sdev->bus); in b43_bus_ssb_bus_may_powerdown() 146 return ssb_bus_powerup(dev->sdev->bus, dynamic_pctl); in b43_bus_ssb_bus_powerup() 150 return ssb_device_is_enabled(dev->sdev); in b43_bus_ssb_device_is_enabled() 155 ssb_device_enable(dev->sdev, core_specific_flags); in b43_bus_ssb_device_enable() 160 ssb_device_disable(dev->sdev, core_specific_flags); in b43_bus_ssb_device_disable() 165 return ssb_read16(dev->sdev, offset); in b43_bus_ssb_read16() 169 return ssb_read32(dev->sdev, offset); in b43_bus_ssb_read32() 173 ssb_write16(dev->sdev, offset, value); in b43_bus_ssb_write16() 177 ssb_write32(dev->sdev, offset, value); in b43_bus_ssb_write32() 182 ssb_block_read(dev->sdev, buffer, count, offset, reg_width); in b43_bus_ssb_block_read() [all …]
|
/drivers/dma/ |
D | sun6i-dma.c | 185 static inline void sun6i_dma_dump_com_regs(struct sun6i_dma_dev *sdev) in sun6i_dma_dump_com_regs() argument 187 dev_dbg(sdev->slave.dev, "Common register:\n" in sun6i_dma_dump_com_regs() 193 DMA_IRQ_EN(0), readl(sdev->base + DMA_IRQ_EN(0)), in sun6i_dma_dump_com_regs() 194 DMA_IRQ_EN(1), readl(sdev->base + DMA_IRQ_EN(1)), in sun6i_dma_dump_com_regs() 195 DMA_IRQ_STAT(0), readl(sdev->base + DMA_IRQ_STAT(0)), in sun6i_dma_dump_com_regs() 196 DMA_IRQ_STAT(1), readl(sdev->base + DMA_IRQ_STAT(1)), in sun6i_dma_dump_com_regs() 197 DMA_STAT, readl(sdev->base + DMA_STAT)); in sun6i_dma_dump_com_regs() 200 static inline void sun6i_dma_dump_chan_regs(struct sun6i_dma_dev *sdev, in sun6i_dma_dump_chan_regs() argument 205 dev_dbg(sdev->slave.dev, "Chan %d reg: %pa\n" in sun6i_dma_dump_chan_regs() 332 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vd->tx.chan->device); in sun6i_dma_free_desc() local [all …]
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 118 static inline const char *srpt_sdev_name(struct srpt_device *sdev) in srpt_sdev_name() argument 120 return sdev->device->name; in srpt_sdev_name() 178 struct srpt_device *sdev; in srpt_event_handler() local 181 sdev = ib_get_client_data(event->device, &srpt_client); in srpt_event_handler() 182 if (!sdev || sdev->device != event->device) in srpt_event_handler() 186 srpt_sdev_name(sdev)); in srpt_event_handler() 190 if (event->element.port_num <= sdev->device->phys_port_cnt) { in srpt_event_handler() 191 sport = &sdev->port[event->element.port_num - 1]; in srpt_event_handler() 203 if (event->element.port_num <= sdev->device->phys_port_cnt) { in srpt_event_handler() 204 sport = &sdev->port[event->element.port_num - 1]; in srpt_event_handler() [all …]
|