Home
last modified time | relevance | path

Searched refs:chp (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/s390/block/
H A Ddasd_int.h1023 static inline int dasd_path_is_operational(struct dasd_device *device, int chp) in dasd_path_is_operational() argument
1025 return test_bit(DASD_PATH_OPERATIONAL, &device->path[chp].flags); in dasd_path_is_operational()
1028 static inline int dasd_path_need_verify(struct dasd_device *device, int chp) in dasd_path_need_verify() argument
1030 return test_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_need_verify()
1033 static inline void dasd_path_verify(struct dasd_device *device, int chp) in dasd_path_verify() argument
1035 __set_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_verify()
1038 static inline void dasd_path_clear_verify(struct dasd_device *device, int chp) in dasd_path_clear_verify() argument
1040 __clear_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_clear_verify()
1045 int chp; in dasd_path_clear_all_verify() local
1047 for (chp = 0; chp < 8; chp++) in dasd_path_clear_all_verify()
[all …]
H A Ddasd_devmap.c2548 static void dasd_path_init_kobj(struct dasd_device *device, int chp) in dasd_path_init_kobj() argument
2550 device->path[chp].kobj.kset = device->paths_info; in dasd_path_init_kobj()
2551 kobject_init(&device->path[chp].kobj, &path_attr_type); in dasd_path_init_kobj()
2554 void dasd_path_create_kobj(struct dasd_device *device, int chp) in dasd_path_create_kobj() argument
2564 if (device->path[chp].in_sysfs) in dasd_path_create_kobj()
2566 if (!device->path[chp].conf_data) in dasd_path_create_kobj()
2569 dasd_path_init_kobj(device, chp); in dasd_path_create_kobj()
2571 rc = kobject_add(&device->path[chp].kobj, NULL, "%x.%02x", in dasd_path_create_kobj()
2572 device->path[chp].cssid, device->path[chp].chpid); in dasd_path_create_kobj()
2574 kobject_put(&device->path[chp].kobj); in dasd_path_create_kobj()
[all …]
H A Ddasd.c3771 int chp, oldopm, hpfpm, ifccpm; in dasd_generic_path_event() local
3778 for (chp = 0; chp < 8; chp++) { in dasd_generic_path_event()
3779 if (path_event[chp] & PE_PATH_GONE) { in dasd_generic_path_event()
3780 dasd_path_notoper(device, chp); in dasd_generic_path_event()
3782 if (path_event[chp] & PE_PATH_AVAILABLE) { in dasd_generic_path_event()
3783 dasd_path_available(device, chp); in dasd_generic_path_event()
3786 if (path_event[chp] & PE_PATHGROUP_ESTABLISHED) { in dasd_generic_path_event()
3787 if (!dasd_path_is_operational(device, chp) && in dasd_generic_path_event()
3788 !dasd_path_need_verify(device, chp)) { in dasd_generic_path_event()
3794 dasd_path_available(device, chp); in dasd_generic_path_event()
[all …]
H A Ddasd_eckd.c1006 struct dasd_conf_data *conf_data, int chp) in dasd_eckd_store_conf_data() argument
1019 cdp = device->path[chp].conf_data; in dasd_eckd_store_conf_data()
1025 device->path[chp].conf_data = conf_data; in dasd_eckd_store_conf_data()
1026 device->path[chp].cssid = sch_id.cssid; in dasd_eckd_store_conf_data()
1027 device->path[chp].ssid = sch_id.ssid; in dasd_eckd_store_conf_data()
1028 chp_desc = ccw_device_get_chp_desc(device->cdev, chp); in dasd_eckd_store_conf_data()
1030 device->path[chp].chpid = chp_desc->chpid; in dasd_eckd_store_conf_data()
1057 int chp; in dasd_eckd_read_fc_security() local
1062 for (chp = 0; chp < 8; chp++) in dasd_eckd_read_fc_security()
1063 device->path[chp].fc_security = 0; in dasd_eckd_read_fc_security()
[all …]
/openbmc/linux/drivers/s390/cio/
H A Dchp.c28 #include "chp.h"
135 struct channel_path *chp; in chp_measurement_chars_read() local
139 chp = to_channelpath(device); in chp_measurement_chars_read()
140 if (chp->cmg == -1) in chp_measurement_chars_read()
143 return memory_read_from_buffer(buf, count, &off, &chp->cmg_chars, in chp_measurement_chars_read()
144 sizeof(chp->cmg_chars)); in chp_measurement_chars_read()
182 struct channel_path *chp; in chp_measurement_read() local
188 chp = to_channelpath(device); in chp_measurement_read()
189 css = to_css(chp->dev.parent); in chp_measurement_read()
196 chp_measurement_copy_block((struct cmg_entry *)buf, css, chp in chp_measurement_read()
210 chp_remove_cmg_attr(struct channel_path * chp) chp_remove_cmg_attr() argument
216 chp_add_cmg_attr(struct channel_path * chp) chp_add_cmg_attr() argument
235 struct channel_path *chp = to_channelpath(dev); chp_status_show() local
317 struct channel_path *chp = to_channelpath(dev); chp_type_show() local
331 struct channel_path *chp = to_channelpath(dev); chp_cmg_show() local
345 struct channel_path *chp = to_channelpath(dev); chp_shared_show() local
359 struct channel_path *chp = to_channelpath(dev); chp_chid_show() local
376 struct channel_path *chp = to_channelpath(dev); chp_chid_external_show() local
393 struct channel_path *chp = to_channelpath(dev); chp_esc_show() local
408 struct channel_path *chp = to_channelpath(kobj_to_dev(kobj)); util_string_read() local
462 chp_update_desc(struct channel_path * chp) chp_update_desc() argument
491 struct channel_path *chp; chp_new() local
555 struct channel_path *chp; chp_get_chp_desc() local
[all...]
H A Ddevice_ops.c497 struct channel_path *chp; in ccw_device_get_util_str() local
503 chp = chpid_to_chp(chpid); in ccw_device_get_util_str()
505 util_str = kmalloc(sizeof(chp->desc_fmt3.util_str), GFP_KERNEL); in ccw_device_get_util_str()
509 mutex_lock(&chp->lock); in ccw_device_get_util_str()
510 memcpy(util_str, chp->desc_fmt3.util_str, sizeof(chp->desc_fmt3.util_str)); in ccw_device_get_util_str()
511 mutex_unlock(&chp->lock); in ccw_device_get_util_str()
643 struct channel_path *chp; in ccw_device_get_mdc() local
658 chp = chpid_to_chp(chpid); in ccw_device_get_mdc()
659 if (!chp) in ccw_device_get_mdc()
662 mutex_lock(&chp->lock); in ccw_device_get_mdc()
[all …]
H A Dchsc.c238 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_offline() local
252 mutex_lock(&chp->lock); in chsc_chp_offline()
253 chp_update_desc(chp); in chsc_chp_offline()
254 mutex_unlock(&chp->lock); in chsc_chp_offline()
452 struct channel_path *chp; in chsc_process_sei_res_acc() local
471 chp = chpid_to_chp(chpid); in chsc_process_sei_res_acc()
472 mutex_lock(&chp->lock); in chsc_process_sei_res_acc()
473 chp_update_desc(chp); in chsc_process_sei_res_acc()
474 mutex_unlock(&chp->lock); in chsc_process_sei_res_acc()
484 struct channel_path *chp; in chsc_process_sei_chp_avail() local
[all …]
H A Dchp.h67 void chp_remove_cmg_attr(struct channel_path *chp);
68 int chp_add_cmg_attr(struct channel_path *chp);
69 int chp_update_desc(struct channel_path *chp);
H A Dccwreq.c331 int rc = -ENODEV, chp; in ccw_request_timeout() local
336 for (chp = 0; chp < 8; chp++) { in ccw_request_timeout()
337 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout()
343 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
H A Ddevice_fsm.c432 int chp, mask; in ccw_device_report_path_events() local
434 for (chp = 0, mask = 0x80; chp < 8; chp++, mask >>= 1) { in ccw_device_report_path_events()
435 path_event[chp] = PE_NONE; in ccw_device_report_path_events()
437 path_event[chp] |= PE_PATH_GONE; in ccw_device_report_path_events()
439 path_event[chp] |= PE_PATH_AVAILABLE; in ccw_device_report_path_events()
441 path_event[chp] |= PE_PATHGROUP_ESTABLISHED; in ccw_device_report_path_events()
H A DMakefile10 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
H A Dcss.c389 int chp; in chpids_show() local
391 for (chp = 0; chp < 8; chp++) { in chpids_show()
392 mask = 0x80 >> chp; in chpids_show()
394 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
H A Dchsc.h164 int chsc_get_channel_measurement_chars(struct channel_path *chp);
H A Dchsc_sch.c721 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list()
722 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dev.c87 static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, in post_qp_event() argument
105 event.device = chp->ibcq.device; in post_qp_event()
107 event.element.cq = &chp->ibcq; in post_qp_event()
113 if (t4_clear_cq_armed(&chp->cq)) { in post_qp_event()
114 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event()
115 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
116 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event()
122 struct c4iw_cq *chp; in c4iw_ev_dispatch() local
142 chp = get_chp(dev, cqid); in c4iw_ev_dispatch()
143 if (!chp) { in c4iw_ev_dispatch()
[all …]
H A Dcq.c242 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibqp.send_cq); in c4iw_flush_sq() local
243 struct t4_cq *cq = &chp->cq; in c4iw_flush_sq()
335 void c4iw_flush_hw_cq(struct c4iw_cq *chp, struct c4iw_qp *flush_qhp) in c4iw_flush_hw_cq() argument
342 pr_debug("cqid 0x%x\n", chp->cq.cqid); in c4iw_flush_hw_cq()
343 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq()
351 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
407 flush_completed_wrs(&qhp->wq, &chp->cq); in c4iw_flush_hw_cq()
409 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq()
412 t4_swcq_produce(&chp->cq); in c4iw_flush_hw_cq()
415 t4_hwcq_consume(&chp->cq); in c4iw_flush_hw_cq()
[all …]
H A Drestrack.c374 struct c4iw_cq *chp = to_c4iw_cq(ibcq); in c4iw_fill_res_cq_entry() local
390 spin_lock_irq(&chp->lock); in c4iw_fill_res_cq_entry()
393 cq = chp->cq; in c4iw_fill_res_cq_entry()
397 hwcqes[0] = chp->cq.queue[idx]; in c4iw_fill_res_cq_entry()
400 hwcqes[1] = chp->cq.queue[idx]; in c4iw_fill_res_cq_entry()
404 swcqes[0] = chp->cq.sw_queue[cq.sw_cidx]; in c4iw_fill_res_cq_entry()
407 swcqes[1] = chp->cq.sw_queue[idx]; in c4iw_fill_res_cq_entry()
411 spin_unlock_irq(&chp->lock); in c4iw_fill_res_cq_entry()
H A Diw_cxgb4.h981 void c4iw_cq_rem_ref(struct c4iw_cq *chp);
1005 void c4iw_flush_hw_cq(struct c4iw_cq *chp, struct c4iw_qp *flush_qhp);
/openbmc/linux/lib/
H A Dearlycpio.c65 unsigned int ch[C_NFIELDS], *chp, v; in find_cpio_data() local
81 chp = ch; in find_cpio_data()
102 *chp++ = v; in find_cpio_data()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/procmail/procmail/
H A Dfrom-debian-to-fix-compile-errors.patch202 int setcomsat(chp)const char*chp;
205 chad=strchr(chp,SERV_ADDRsep); /* @ separator? */
206 if(!chad&&!renvint(-1L,chp))
211 + if(!chad||!*chp) /* no service */
212 + chp=BIFF_serviceport; /* new balls please! */
236 - if(!*chp) /* no service */
237 - chp=BIFF_serviceport; /* new balls please! */
238 - s=strtol(chp,&chad,10);
239 - if(chp!=chad) /* the service is not numeric */
243 - serv=getservbyname(chp,COMSATprotocol); /* so get its no. */
[all …]
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dchsc.h85 struct chp_id chp; member
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-dvb.c439 static void pvr2_dvb_internal_check(struct pvr2_channel *chp) in pvr2_dvb_internal_check() argument
442 adap = container_of(chp, struct pvr2_dvb_adapter, channel); in pvr2_dvb_internal_check()
H A Dpvrusb2-sysfs.c736 static void pvr2_sysfs_internal_check(struct pvr2_channel *chp) in pvr2_sysfs_internal_check() argument
739 sfp = container_of(chp,struct pvr2_sysfs,channel); in pvr2_sysfs_internal_check()
H A Dpvrusb2-v4l2.c889 static void pvr2_v4l2_internal_check(struct pvr2_channel *chp) in pvr2_v4l2_internal_check() argument
892 vp = container_of(chp,struct pvr2_v4l2,channel); in pvr2_v4l2_internal_check()
/openbmc/linux/include/sound/
H A Dvx_core.h88 void (*set_clock_source)(struct vx_core *chp, int src);

12