Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/s390/cio/
Dchp.c137 struct channel_path *chp; in chp_measurement_chars_read() local
141 chp = to_channelpath(device); in chp_measurement_chars_read()
142 if (!chp->cmg_chars) in chp_measurement_chars_read()
146 chp->cmg_chars, sizeof(struct cmg_chars)); in chp_measurement_chars_read()
184 struct channel_path *chp; in chp_measurement_read() local
190 chp = to_channelpath(device); in chp_measurement_read()
191 css = to_css(chp->dev.parent); in chp_measurement_read()
198 chp_measurement_copy_block((struct cmg_entry *)buf, css, chp->chpid); in chp_measurement_read()
212 void chp_remove_cmg_attr(struct channel_path *chp) in chp_remove_cmg_attr() argument
214 device_remove_bin_file(&chp->dev, &chp_measurement_chars_attr); in chp_remove_cmg_attr()
[all …]
Dchsc.c397 struct channel_path *chp; in chsc_process_sei_chp_avail() local
414 chp = chpid_to_chp(chpid); in chsc_process_sei_chp_avail()
415 if (!chp) { in chsc_process_sei_chp_avail()
419 mutex_lock(&chp->lock); in chsc_process_sei_chp_avail()
420 chp_update_desc(chp); in chsc_process_sei_chp_avail()
421 mutex_unlock(&chp->lock); in chsc_process_sei_chp_avail()
667 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_vary() local
676 chp_update_desc(chp); in chsc_chp_vary()
886 chsc_initialize_cmg_chars(struct channel_path *chp, u8 cmcv, in chsc_initialize_cmg_chars() argument
892 cmg_chars = chp->cmg_chars; in chsc_initialize_cmg_chars()
[all …]
Dchp.h64 void chp_remove_cmg_attr(struct channel_path *chp);
65 int chp_add_cmg_attr(struct channel_path *chp);
66 int chp_update_desc(struct channel_path *chp);
Dccwreq.c329 int rc = -ENODEV, chp; in ccw_request_timeout() local
334 for (chp = 0; chp < 8; chp++) { in ccw_request_timeout()
335 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout()
342 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
Ddevice_ops.c716 struct channel_path *chp; in ccw_device_get_mdc() local
731 chp = chpid_to_chp(chpid); in ccw_device_get_mdc()
732 if (!chp) in ccw_device_get_mdc()
735 mutex_lock(&chp->lock); in ccw_device_get_mdc()
736 if (!chp->desc_fmt1.f) { in ccw_device_get_mdc()
737 mutex_unlock(&chp->lock); in ccw_device_get_mdc()
740 if (!chp->desc_fmt1.r) in ccw_device_get_mdc()
742 mdc = mdc ? min_t(int, mdc, chp->desc_fmt1.mdc) : in ccw_device_get_mdc()
743 chp->desc_fmt1.mdc; in ccw_device_get_mdc()
744 mutex_unlock(&chp->lock); in ccw_device_get_mdc()
Ddevice_fsm.c476 int chp, mask; in ccw_device_report_path_events() local
478 for (chp = 0, mask = 0x80; chp < 8; chp++, mask >>= 1) { in ccw_device_report_path_events()
479 path_event[chp] = PE_NONE; in ccw_device_report_path_events()
481 path_event[chp] |= PE_PATH_GONE; in ccw_device_report_path_events()
483 path_event[chp] |= PE_PATH_AVAILABLE; in ccw_device_report_path_events()
485 path_event[chp] |= PE_PATHGROUP_ESTABLISHED; in ccw_device_report_path_events()
DMakefile5 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
Dcss.c1083 struct channel_path *chp; in channel_subsystem_reinit() local
1088 chp = chpid_to_chp(chpid); in channel_subsystem_reinit()
1089 if (chp) in channel_subsystem_reinit()
1090 chp_update_desc(chp); in channel_subsystem_reinit()
Dchsc.h139 int chsc_get_channel_measurement_chars(struct channel_path *chp);
Ddevice.c223 int chp; in chpids_show() local
226 for (chp = 0; chp < 8; chp++) { in chpids_show()
227 mask = 0x80 >> chp; in chpids_show()
229 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
Dchsc_sch.c760 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list()
761 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
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 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event()
114 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
115 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event()
120 struct c4iw_cq *chp; in c4iw_ev_dispatch() local
141 chp = get_chp(dev, cqid); in c4iw_ev_dispatch()
142 if (!chp) { in c4iw_ev_dispatch()
154 atomic_inc(&chp->refcnt); in c4iw_ev_dispatch()
[all …]
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()
341 void c4iw_flush_hw_cq(struct c4iw_cq *chp) in c4iw_flush_hw_cq() argument
348 PDBG("%s cqid 0x%x\n", __func__, chp->cq.cqid); in c4iw_flush_hw_cq()
349 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq()
357 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq()
406 flush_completed_wrs(&qhp->wq, &chp->cq); in c4iw_flush_hw_cq()
408 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq()
411 t4_swcq_produce(&chp->cq); in c4iw_flush_hw_cq()
414 t4_hwcq_consume(&chp->cq); in c4iw_flush_hw_cq()
[all …]
Diw_cxgb4.h1017 void c4iw_flush_hw_cq(struct c4iw_cq *chp);
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_ev.c41 static void post_qp_event(struct iwch_dev *rnicp, struct iwch_cq *chp, in post_qp_event() argument
89 event.device = chp->ibcq.device; in post_qp_event()
91 event.element.cq = &chp->ibcq; in post_qp_event()
98 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event()
99 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
100 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event()
110 struct iwch_cq *chp; in iwch_ev_dispatch() local
117 chp = get_chp(rnicp, cqid); in iwch_ev_dispatch()
119 if (!chp || !qhp) { in iwch_ev_dispatch()
130 atomic_inc(&chp->refcnt); in iwch_ev_dispatch()
[all …]
Diwch_cq.c44 static int iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp, in iwch_poll_cq_one() argument
55 rd_cqe = cxio_next_cqe(&chp->cq); in iwch_poll_cq_one()
67 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, in iwch_poll_cq_one()
69 if (t3a_device(chp->rhp) && credit) { in iwch_poll_cq_one()
71 credit, chp->cq.cqid); in iwch_poll_cq_one()
72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in iwch_poll_cq_one()
198 struct iwch_cq *chp; in iwch_poll_cq() local
203 chp = to_iwch_cq(ibcq); in iwch_poll_cq()
204 rhp = chp->rhp; in iwch_poll_cq()
206 spin_lock_irqsave(&chp->lock, flags); in iwch_poll_cq()
[all …]
Diwch_provider.c127 struct iwch_cq *chp; in iwch_destroy_cq() local
130 chp = to_iwch_cq(ib_cq); in iwch_destroy_cq()
132 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in iwch_destroy_cq()
133 atomic_dec(&chp->refcnt); in iwch_destroy_cq()
134 wait_event(chp->wait, !atomic_read(&chp->refcnt)); in iwch_destroy_cq()
136 cxio_destroy_cq(&chp->rhp->rdev, &chp->cq); in iwch_destroy_cq()
137 kfree(chp); in iwch_destroy_cq()
146 struct iwch_cq *chp; in iwch_create_cq() local
155 chp = kzalloc(sizeof(*chp), GFP_KERNEL); in iwch_create_cq()
156 if (!chp) in iwch_create_cq()
[all …]
/linux-4.1.27/lib/
Dearlycpio.c73 unsigned int ch[C_NFIELDS], *chp, v; in find_cpio_data() local
89 chp = ch; in find_cpio_data()
110 *chp++ = v; in find_cpio_data()
/linux-4.1.27/arch/s390/include/uapi/asm/
Dchsc.h84 struct chp_id chp; member
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-dvb.c400 static void pvr2_dvb_internal_check(struct pvr2_channel *chp) in pvr2_dvb_internal_check() argument
403 adap = container_of(chp, struct pvr2_dvb_adapter, channel); in pvr2_dvb_internal_check()
Dpvrusb2-sysfs.c759 static void pvr2_sysfs_internal_check(struct pvr2_channel *chp) in pvr2_sysfs_internal_check() argument
762 sfp = container_of(chp,struct pvr2_sysfs,channel); in pvr2_sysfs_internal_check()
Dpvrusb2-v4l2.c881 static void pvr2_v4l2_internal_check(struct pvr2_channel *chp) in pvr2_v4l2_internal_check() argument
884 vp = container_of(chp,struct pvr2_v4l2,channel); in pvr2_v4l2_internal_check()
/linux-4.1.27/drivers/s390/block/
Ddasd.c3534 int chp; in dasd_generic_path_event() local
3541 for (chp = 0; chp < 8; chp++) { in dasd_generic_path_event()
3542 eventlpm = 0x80 >> chp; in dasd_generic_path_event()
3543 if (path_event[chp] & PE_PATH_GONE) { in dasd_generic_path_event()
3559 if (path_event[chp] & PE_PATH_AVAILABLE) { in dasd_generic_path_event()
3566 if (path_event[chp] & PE_PATHGROUP_ESTABLISHED) { in dasd_generic_path_event()
/linux-4.1.27/include/sound/
Dvx_core.h101 void (*set_clock_source)(struct vx_core *chp, int src);