| /linux/drivers/s390/cio/ |
| H A D | css.h | 80 struct subchannel; 97 void (*irq)(struct subchannel *); 98 int (*chp_event)(struct subchannel *, struct chp_link *, int); 99 int (*sch_event)(struct subchannel *, int); 100 int (*probe)(struct subchannel *); 101 void (*remove)(struct subchannel *); 102 void (*shutdown)(struct subchannel *); 111 extern void css_sch_device_unregister(struct subchannel *); 112 extern int css_register_subchannel(struct subchannel *); 113 extern struct subchannel *css_alloc_subchannel(struct subchannel_id, [all …]
|
| H A D | eadm_sch.c | 61 static int eadm_subchannel_start(struct subchannel *sch, struct aob *aob) in eadm_subchannel_start() 88 static int eadm_subchannel_clear(struct subchannel *sch) in eadm_subchannel_clear() 103 struct subchannel *sch = private->sch; in eadm_subchannel_timeout() 113 static void eadm_subchannel_set_timeout(struct subchannel *sch, int expires) in eadm_subchannel_set_timeout() 123 static void eadm_subchannel_irq(struct subchannel *sch) in eadm_subchannel_irq() 158 static struct subchannel *eadm_get_idle_sch(void) in eadm_get_idle_sch() 161 struct subchannel *sch; in eadm_get_idle_sch() 186 struct subchannel *sch; in eadm_start_aob() 213 static int eadm_subchannel_probe(struct subchannel *sch) in eadm_subchannel_probe() 246 static void eadm_quiesce(struct subchannel *sch) in eadm_quiesce() [all …]
|
| H A D | css.c | 64 int (*fn_known_sch)(struct subchannel *, void *); 70 struct subchannel *sch = to_subchannel(dev); in call_fn_known_sch() 94 struct subchannel *sch; in call_fn_all_sch() 110 int for_each_subchannel_staged(int (*fn_known)(struct subchannel *, void *), in for_each_subchannel_staged() argument 150 static void css_sch_create_locks(struct subchannel *sch) in css_sch_create_locks() 158 struct subchannel *sch = to_subchannel(dev); in css_subchannel_release() 196 struct subchannel *css_alloc_subchannel(struct subchannel_id schid, in css_alloc_subchannel() 199 struct subchannel *sch; in css_alloc_subchannel() 242 static int css_sch_device_register(struct subchannel *sch) in css_sch_device_register() 258 void css_sch_device_unregister(struct subchannel *sch) in css_sch_device_unregister() [all …]
|
| H A D | device.c | 137 static void io_subchannel_irq(struct subchannel *); 138 static int io_subchannel_probe(struct subchannel *); 139 static void io_subchannel_remove(struct subchannel *); 140 static void io_subchannel_shutdown(struct subchannel *); 141 static int io_subchannel_sch_event(struct subchannel *, int); 142 static int io_subchannel_chp_event(struct subchannel *, struct chp_link *, 258 static void io_subchannel_quiesce(struct subchannel *); 273 struct subchannel *sch; in ccw_device_set_offline() 543 struct subchannel *sch; in available_show() 568 struct subchannel *sch = to_subchannel(dev); in initiate_logging() [all …]
|
| H A D | device_pgid.c | 36 struct subchannel *sch = to_subchannel(cdev->dev.parent); in verify_done() 75 struct subchannel *sch = to_subchannel(cdev->dev.parent); in nop_do() 107 struct subchannel *sch = to_subchannel(cdev->dev.parent); in nop_callback() 170 struct subchannel *sch = to_subchannel(cdev->dev.parent); in pgid_wipeout_start() 197 struct subchannel *sch = to_subchannel(cdev->dev.parent); in spid_do() 230 struct subchannel *sch = to_subchannel(cdev->dev.parent); in spid_callback() 335 struct subchannel *sch = to_subchannel(cdev->dev.parent); in pgid_to_donepm() 382 struct subchannel *sch = to_subchannel(cdev->dev.parent); in snid_done() 456 struct subchannel *sch = to_subchannel(cdev->dev.parent); in snid_do() 513 struct subchannel *sch = to_subchannel(cdev->dev.parent); in verify_start() [all …]
|
| H A D | vfio_ccw_fsm.c | 21 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_io_helper() 81 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_do_halt() 120 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_do_clear() 157 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_notoper() 225 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_disabled_irq() 235 struct subchannel *sch = to_subchannel(p->vdev.dev->parent); in get_schid() 359 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_irq() 376 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_open() 397 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_close()
|
| H A D | device_fsm.c | 42 struct subchannel *sch; in ccw_timeout_log() 127 struct subchannel *sch; in ccw_device_cancel_halt_clear() 168 __recover_lost_chpids(struct subchannel *sch, int old_lpm) in __recover_lost_chpids() 192 struct subchannel *sch; in ccw_device_recog_done() 311 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_oper_notify() 331 struct subchannel *sch; in ccw_device_done() 390 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_recognition() 431 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_report_path_events() 476 struct subchannel *sch = to_subchannel(cdev->dev.parent); in ccw_device_handle_broken_paths() 487 struct subchannel *sch; in ccw_device_verify_done() [all …]
|
| H A D | vfio_ccw_drv.c | 37 int vfio_ccw_sch_quiesce(struct subchannel *sch) in vfio_ccw_sch_quiesce() 131 static void vfio_ccw_sch_irq(struct subchannel *sch) in vfio_ccw_sch_irq() 162 static int vfio_ccw_sch_probe(struct subchannel *sch) in vfio_ccw_sch_probe() 209 static void vfio_ccw_sch_remove(struct subchannel *sch) in vfio_ccw_sch_remove() 223 static void vfio_ccw_sch_shutdown(struct subchannel *sch) in vfio_ccw_sch_shutdown() 245 static int vfio_ccw_sch_event(struct subchannel *sch, int process) in vfio_ccw_sch_event() 299 static int vfio_ccw_chp_event(struct subchannel *sch, in vfio_ccw_chp_event()
|
| H A D | io_sch.h | 32 static inline struct ccw_device *sch_get_cdev(struct subchannel *sch) in sch_get_cdev() 38 static inline void sch_set_cdev(struct subchannel *sch, in sch_set_cdev() 132 struct subchannel *sch;
|
| H A D | chsc_sch.c | 53 static void chsc_subchannel_irq(struct subchannel *sch) in chsc_subchannel_irq() 76 static int chsc_subchannel_probe(struct subchannel *sch) in chsc_subchannel_probe() 98 static void chsc_subchannel_remove(struct subchannel *sch) in chsc_subchannel_remove() 112 static void chsc_subchannel_shutdown(struct subchannel *sch) in chsc_subchannel_shutdown() 173 struct subchannel *sch = to_subchannel(dev); in chsc_subchannel_match_next_free() 178 static struct subchannel *chsc_get_next_subchannel(struct subchannel *sch) in chsc_get_next_subchannel() 207 struct subchannel *sch = NULL; in chsc_async()
|
| H A D | eadm_sch.h | 15 struct subchannel *sch;
|
| H A D | vfio_ccw_cp.h | 46 union orb *cp_get_orb(struct channel_program *cp, struct subchannel *sch);
|
| H A D | device.h | 88 void io_subchannel_init_config(struct subchannel *sch);
|
| H A D | vfio_ccw_chp.c | 19 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in vfio_ccw_schib_region_read()
|
| H A D | vfio_ccw_ops.c | 99 struct subchannel *sch = to_subchannel(mdev->dev.parent); in vfio_ccw_mdev_probe() 149 struct subchannel *sch = to_subchannel(mdev->dev.parent); in vfio_ccw_mdev_remove()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-css | 4 Description: Contains the subchannel type, as reported by the hardware. 5 This attribute is present for all subchannel types. 12 subchannel types. 18 subchannel, as reported by the channel subsystem 19 during subchannel recognition. 21 Note: This is an I/O-subchannel specific attribute. 32 Note: This is an I/O-subchannel specific attribute. 56 the driver must still match the subchannel type of the device.
|
| /linux/Documentation/arch/s390/ |
| H A D | vfio-ccw.rst | 8 Here we describe the vfio support for I/O subchannel devices for 25 (the real I/O subchannel device) to do further address translation and 60 devices via the vfio mediated device framework and the subchannel device 115 - The vfio_ccw driver for the physical subchannel device. 116 This is an I/O subchannel driver for the real subchannel device. It 161 | | device | | | vfio_ccw.ko |<-> subchannel 168 1. vfio_ccw.ko drives the physical I/O subchannel, and registers the 170 When vfio_ccw probing the subchannel device, it registers device 172 under the device node in sysfs would be created for the subchannel 230 The subchannel was status pending or busy, or a request is already active. [all …]
|
| H A D | cds.rst | 48 * The functions use a ccw_device instead of an irq (subchannel). 121 single device is uniquely identified to the system by a so called subchannel, 135 Up to kernel 2.4, Linux/390 used to provide interfaces via the IRQ (subchannel). 140 of those devices is uniquely defined by a so called subchannel by the ESA/390 141 channel subsystem. While the subchannel numbers are system generated, each 142 subchannel also takes a user defined attribute, the so called device number. 143 Both subchannel number and device number cannot exceed 65535. During sysfs 339 The irb->scsw.cstat field provides the (accumulated) subchannel status : 438 -ENODEV cdev invalid or not-operational subchannel 452 a halt subchannel (HSCH) I/O command. For those purposes the ccw_device_halt() [all …]
|
| H A D | common_io.rst | 20 and device sensing will be done on any of those devices. The subchannel to 134 which subchannel they were called for, as well as dumps of some data
|
| /linux/Documentation/driver-api/ |
| H A D | s390-drivers.rst | 43 * CHSC subchannels (at most one). The chsc subchannel driver can be used 56 subchannel directly, but only via the I/O device on the ccw bus, the ccw
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | mb86a20s.c | 39 u32 subchannel; member 1774 if (state->subchannel) { in mb86a20s_initfe() 1775 rc = mb86a20s_writereg(state, 0x44, state->subchannel); in mb86a20s_initfe() 1880 state->subchannel = 0; in mb86a20s_set_frontend() 1885 state->subchannel = mb86a20s_subchannel[c->isdbt_sb_subchannel]; in mb86a20s_set_frontend()
|
| /linux/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | 8710b.c | 682 u8 channel, subchannel = 0; in rtl8710bu_config_channel() local 692 subchannel = 2; in rtl8710bu_config_channel() 696 subchannel = 1; in rtl8710bu_config_channel() 713 rtl8xxxu_write8(priv, REG_DATA_SUBCHANNEL, subchannel); in rtl8710bu_config_channel()
|
| H A D | 8188f.c | 518 u8 channel, subchannel; in rtl8188fu_config_channel() local 605 subchannel = 2; in rtl8188fu_config_channel() 607 subchannel = 1; in rtl8188fu_config_channel() 608 val32 |= subchannel; in rtl8188fu_config_channel()
|
| H A D | 8192f.c | 588 u8 channel, subchannel = 0; in rtl8192fu_config_channel() local 597 subchannel = 2; in rtl8192fu_config_channel() 601 subchannel = 1; in rtl8192fu_config_channel() 617 rtl8xxxu_write8(priv, REG_DATA_SUBCHANNEL, subchannel); in rtl8192fu_config_channel()
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw8814a.c | 1178 u8 rfmode, subchannel; in rtw8814a_query_phy_status() local 1249 subchannel = le32_get_bits(rpt->w0, RTW_JGRPHY_W0_SUB_CHNL); in rtw8814a_query_phy_status() 1251 if (rfmode == 1 && subchannel == 0) { in rtw8814a_query_phy_status() 1254 if (subchannel == 0) in rtw8814a_query_phy_status() 1256 else if (subchannel == 9 || subchannel == 10) in rtw8814a_query_phy_status()
|