Home
last modified time | relevance | path

Searched refs:sch (Results 1 – 25 of 27) sorted by relevance

12

/drivers/s390/cio/
Dcio.c87 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 …]
Dcss.c68 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 …]
Ddevice.c150 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 …]
Ddevice_fsm.c40 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 …]
Ddevice_ops.c140 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 …]
Ddevice_pgid.c31 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 …]
Dchsc_sch.c53 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 …]
Dccwreq.c77 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 …]
Dchsc.c81 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 …]
Ddevice_status.c56 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()
Dio_sch.h26 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
Dcio.h118 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);
Dcmf.c191 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 …]
Ddevice_id.c200 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()
Dcss.h113 void css_update_ssd_info(struct subchannel *sch);
149 void css_sched_sch_todo(struct subchannel *sch, enum sch_todo todo);
Dchp.h62 u8 chp_get_sch_opm(struct subchannel *sch);
Ddevice.h90 void io_subchannel_init_config(struct subchannel *sch);
Dchp.c79 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()
Dqdio_setup.c283 (ssqd->qdio_ssqd.sch != schid->sch_no)) in qdio_setup_get_ssqd()
/drivers/gpio/
DMakefile49 obj-$(CONFIG_GPIO_SCH) += gpio-sch.o
/drivers/net/wireless/iwlwifi/
Diwl-trans-pcie-int.h67 u32 sch; member
Diwl-trans-pcie-rx.c998 isr_stats->sch++; in iwl_irq_tasklet()
Diwl-trans-pcie.c2077 isr_stats->sch); in iwl_dbgfs_interrupt_read()
/drivers/net/wireless/iwlegacy/
Ddebug.c707 il->isr_stats.sch); in il_dbgfs_interrupt_read()
Dcommon.h1028 u32 sch; member

12