Home
last modified time | relevance | path

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

/linux/drivers/s390/block/
H A Ddasd_int.h992 static inline int dasd_path_is_operational(struct dasd_device *device, int chp) in dasd_path_is_operational() argument
994 return test_bit(DASD_PATH_OPERATIONAL, &device->path[chp].flags); in dasd_path_is_operational()
997 static inline int dasd_path_need_verify(struct dasd_device *device, int chp) in dasd_path_need_verify() argument
999 return test_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_need_verify()
1002 static inline void dasd_path_verify(struct dasd_device *device, int chp) in dasd_path_verify() argument
1004 __set_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_verify()
1007 static inline void dasd_path_clear_verify(struct dasd_device *device, int chp) in dasd_path_clear_verify() argument
1009 __clear_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_clear_verify()
1014 int chp; in dasd_path_clear_all_verify() local
1016 for (chp = 0; chp < 8; chp++) in dasd_path_clear_all_verify()
[all …]
/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()
/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()
/linux/drivers/s390/cio/
H A Ddevice_fsm.c433 int chp, mask; in ccw_device_report_path_events() local
435 for (chp = 0, mask = 0x80; chp < 8; chp++, mask >>= 1) { in ccw_device_report_path_events()
436 path_event[chp] = PE_NONE; in ccw_device_report_path_events()
438 path_event[chp] |= PE_PATH_GONE; in ccw_device_report_path_events()
440 path_event[chp] |= PE_PATH_AVAILABLE; in ccw_device_report_path_events()
442 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 \
/linux/arch/s390/include/uapi/asm/
H A Dchsc.h85 struct chp_id chp; member
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-dvb.c435 static void pvr2_dvb_internal_check(struct pvr2_channel *chp) in pvr2_dvb_internal_check() argument
438 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()
/linux/include/sound/
H A Dvx_core.h88 void (*set_clock_source)(struct vx_core *chp, int src);