/drivers/s390/cio/ |
D | cio.c | 87 int cio_set_options(struct subchannel *sch, int flags) in cio_set_options() argument 89 struct io_subchannel_private *priv = to_io_private(sch); in cio_set_options() 98 cio_start_handle_notoper(struct subchannel *sch, __u8 lpm) in cio_start_handle_notoper() argument 103 sch->lpm &= ~lpm; in cio_start_handle_notoper() 105 sch->lpm = 0; in cio_start_handle_notoper() 108 "subchannel 0.%x.%04x!\n", sch->schid.ssid, in cio_start_handle_notoper() 109 sch->schid.sch_no); in cio_start_handle_notoper() 111 if (cio_update_schib(sch)) in cio_start_handle_notoper() 114 sprintf(dbf_text, "no%s", dev_name(&sch->dev)); in cio_start_handle_notoper() 116 CIO_HEX_EVENT(0, &sch->schib, sizeof (struct schib)); in cio_start_handle_notoper() [all …]
|
D | css.c | 68 struct subchannel *sch = to_subchannel(dev); in call_fn_known_sch() local 72 idset_sch_del(cb->set, sch->schid); in call_fn_known_sch() 74 rc = cb->fn_known_sch(sch, cb->data); in call_fn_known_sch() 91 struct subchannel *sch; in call_fn_all_sch() local 94 sch = get_subchannel_by_schid(schid); in call_fn_all_sch() 95 if (sch) { in call_fn_all_sch() 97 rc = cb->fn_known_sch(sch, cb->data); in call_fn_all_sch() 98 put_device(&sch->dev); in call_fn_all_sch() 143 struct subchannel *sch; in css_alloc_subchannel() local 146 sch = kmalloc (sizeof (*sch), GFP_KERNEL | GFP_DMA); in css_alloc_subchannel() [all …]
|
D | device.c | 150 static int io_subchannel_prepare(struct subchannel *sch) in io_subchannel_prepare() argument 157 cdev = sch_get_cdev(sch); in io_subchannel_prepare() 223 struct subchannel *sch = to_subchannel(dev); in chpids_show() local 224 struct chsc_ssd_info *ssd = &sch->ssd_info; in chpids_show() 243 struct subchannel *sch = to_subchannel(dev); in pimpampom_show() local 244 struct pmcw *pmcw = &sch->schib.pmcw; in pimpampom_show() 326 struct subchannel *sch; in ccw_device_set_offline() local 341 sch = to_subchannel(cdev->dev.parent); in ccw_device_set_offline() 361 io_subchannel_quiesce(sch); in ccw_device_set_offline() 596 struct subchannel *sch; in available_show() local [all …]
|
D | device_fsm.c | 40 struct subchannel *sch; in ccw_timeout_log() local 45 sch = to_subchannel(cdev->dev.parent); in ccw_timeout_log() 46 private = to_io_private(sch); in ccw_timeout_log() 48 cc = stsch_err(sch->schid, &schib); in ccw_timeout_log() 58 dev_name(&sch->dev)); in ccw_timeout_log() 60 "vpm: %02x\n", sch->lpm, sch->opm, sch->vpm); in ccw_timeout_log() 139 struct subchannel *sch; in ccw_device_cancel_halt_clear() local 142 sch = to_subchannel(cdev->dev.parent); in ccw_device_cancel_halt_clear() 143 if (cio_update_schib(sch)) in ccw_device_cancel_halt_clear() 145 if (!sch->schib.pmcw.ena) in ccw_device_cancel_halt_clear() [all …]
|
D | device_ops.c | 140 struct subchannel *sch; in ccw_device_clear() local 145 sch = to_subchannel(cdev->dev.parent); in ccw_device_clear() 146 if (!sch->schib.pmcw.ena) in ccw_device_clear() 154 ret = cio_clear(sch); in ccw_device_clear() 188 struct subchannel *sch; in ccw_device_start_key() local 193 sch = to_subchannel(cdev->dev.parent); in ccw_device_start_key() 194 if (!sch->schib.pmcw.ena) in ccw_device_start_key() 209 ((sch->schib.scsw.cmd.stctl & SCSW_STCTL_PRIM_STATUS) && in ccw_device_start_key() 210 !(sch->schib.scsw.cmd.stctl & SCSW_STCTL_SEC_STATUS)) || in ccw_device_start_key() 213 ret = cio_set_options (sch, flags); in ccw_device_start_key() [all …]
|
D | device_pgid.c | 31 struct subchannel *sch = to_subchannel(cdev->dev.parent); in verify_done() local 39 if (sch->config.mp != mpath) { in verify_done() 40 sch->config.mp = mpath; in verify_done() 41 rc = cio_commit_config(sch); in verify_done() 46 sch->vpm); in verify_done() 70 struct subchannel *sch = to_subchannel(cdev->dev.parent); in nop_do() local 74 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm); in nop_do() 82 verify_done(cdev, sch->vpm ? 0 : -EACCES); in nop_do() 102 struct subchannel *sch = to_subchannel(cdev->dev.parent); in nop_callback() local 106 sch->vpm |= req->lpm; in nop_callback() [all …]
|
D | chsc_sch.c | 53 static void chsc_subchannel_irq(struct subchannel *sch) in chsc_subchannel_irq() argument 55 struct chsc_private *private = dev_get_drvdata(&sch->dev); in chsc_subchannel_irq() 66 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_irq() 71 cio_update_schib(sch); in chsc_subchannel_irq() 73 put_device(&sch->dev); in chsc_subchannel_irq() 76 static int chsc_subchannel_probe(struct subchannel *sch) in chsc_subchannel_probe() argument 82 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_probe() 83 sch->isc = CHSC_SCH_ISC; in chsc_subchannel_probe() 87 dev_set_drvdata(&sch->dev, private); in chsc_subchannel_probe() 88 ret = cio_enable_subchannel(sch, (u32)(unsigned long)sch); in chsc_subchannel_probe() [all …]
|
D | ccwreq.c | 77 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccwreq_do() local 89 rc = cio_start(sch, cp, (u8) req->mask); in ccwreq_do() 105 rc = cio_clear(sch); in ccwreq_do() 152 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_request_cancel() local 159 rc = cio_clear(sch); in ccw_request_cancel() 327 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_request_timeout() local 331 if (cio_update_schib(sch)) in ccw_request_timeout() 335 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout() 339 scsw_cstat(&sch->schib.scsw), in ccw_request_timeout() 340 scsw_dstat(&sch->schib.scsw), in ccw_request_timeout() [all …]
|
D | chsc.c | 81 u16 sch; /* subchannel */ member 142 static int s390_subchannel_remove_chpid(struct subchannel *sch, void *data) in s390_subchannel_remove_chpid() argument 144 spin_lock_irq(sch->lock); in s390_subchannel_remove_chpid() 145 if (sch->driver && sch->driver->chp_event) in s390_subchannel_remove_chpid() 146 if (sch->driver->chp_event(sch, data, CHP_OFFLINE) != 0) in s390_subchannel_remove_chpid() 148 spin_unlock_irq(sch->lock); in s390_subchannel_remove_chpid() 152 sch->lpm = 0; in s390_subchannel_remove_chpid() 153 spin_unlock_irq(sch->lock); in s390_subchannel_remove_chpid() 154 css_schedule_eval(sch->schid); in s390_subchannel_remove_chpid() 195 static int __s390_process_res_acc(struct subchannel *sch, void *data) in __s390_process_res_acc() argument [all …]
|
D | device_status.c | 56 struct subchannel *sch; in ccw_device_path_notoper() local 58 sch = to_subchannel(cdev->dev.parent); in ccw_device_path_notoper() 59 if (cio_update_schib(sch)) in ccw_device_path_notoper() 64 sch->schid.ssid, sch->schid.sch_no, in ccw_device_path_notoper() 65 sch->schib.pmcw.pnom); in ccw_device_path_notoper() 67 sch->lpm &= ~sch->schib.pmcw.pnom; in ccw_device_path_notoper() 314 struct subchannel *sch; in ccw_device_do_sense() local 318 sch = to_subchannel(cdev->dev.parent); in ccw_device_do_sense() 333 sense_ccw = &to_io_private(sch)->sense_ccw; in ccw_device_do_sense() 339 rc = cio_start(sch, sense_ccw, 0xff); in ccw_device_do_sense()
|
D | io_sch.h | 26 static inline struct ccw_device *sch_get_cdev(struct subchannel *sch) in sch_get_cdev() argument 28 struct io_subchannel_private *priv = to_io_private(sch); in sch_get_cdev() 32 static inline void sch_set_cdev(struct subchannel *sch, in sch_set_cdev() argument 35 struct io_subchannel_private *priv = to_io_private(sch); in sch_set_cdev() 119 struct subchannel *sch; member
|
D | cio.h | 118 extern int cio_update_schib(struct subchannel *sch); 119 extern int cio_commit_config(struct subchannel *sch); 121 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key); 122 int cio_tm_intrg(struct subchannel *sch);
|
D | cmf.c | 191 struct subchannel *sch; in set_schib() local 193 sch = to_subchannel(cdev->dev.parent); in set_schib() 195 sch->config.mme = mme; in set_schib() 196 sch->config.mbfc = mbfc; in set_schib() 199 sch->config.mba = address; in set_schib() 201 sch->config.mbi = address; in set_schib() 203 return cio_commit_config(sch); in set_schib() 300 struct subchannel *sch; in cmf_copy_block() local 305 sch = to_subchannel(cdev->dev.parent); in cmf_copy_block() 307 if (cio_update_schib(sch)) in cmf_copy_block() [all …]
|
D | device_id.c | 200 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_sense_id_start() local 218 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_sense_id_start()
|
D | css.h | 113 void css_update_ssd_info(struct subchannel *sch); 149 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo);
|
D | chp.h | 62 u8 chp_get_sch_opm(struct subchannel *sch);
|
D | device.h | 90 void io_subchannel_init_config(struct subchannel *sch);
|
D | chp.c | 79 u8 chp_get_sch_opm(struct subchannel *sch) in chp_get_sch_opm() argument 89 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
|
D | qdio_setup.c | 283 (ssqd->qdio_ssqd.sch != schid->sch_no)) in qdio_setup_get_ssqd()
|
/drivers/gpio/ |
D | Makefile | 49 obj-$(CONFIG_GPIO_SCH) += gpio-sch.o
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-trans-pcie-int.h | 67 u32 sch; member
|
D | iwl-trans-pcie-rx.c | 998 isr_stats->sch++; in iwl_irq_tasklet()
|
D | iwl-trans-pcie.c | 2077 isr_stats->sch); in iwl_dbgfs_interrupt_read()
|
/drivers/net/wireless/iwlegacy/ |
D | debug.c | 707 il->isr_stats.sch); in il_dbgfs_interrupt_read()
|
D | common.h | 1028 u32 sch; member
|