| /drivers/s390/block/ |
| A D | dasd_int.h | 1016 for (chp = 0; chp < 8; chp++) in dasd_path_clear_all_verify() 1039 for (chp = 0; chp < 8; chp++) in dasd_path_clear_all_fcsec() 1162 for (chp = 0; chp < 8; chp++) in dasd_path_get_tbvpm() 1172 for (chp = 0; chp < 8; chp++) in dasd_path_get_fcsecpm() 1196 for (chp = 0; chp < 8; chp++) in dasd_path_get_ppm() 1207 for (chp = 0; chp < 8; chp++) in dasd_path_get_cablepm() 1218 for (chp = 0; chp < 8; chp++) in dasd_path_get_cuirpm() 1229 for (chp = 0; chp < 8; chp++) in dasd_path_get_ifccpm() 1240 for (chp = 0; chp < 8; chp++) in dasd_path_get_hpfpm() 1279 for (chp = 0; chp < 8; chp++) in dasd_path_add_tbvpm() [all …]
|
| A D | dasd_devmap.c | 2542 device->path[chp].kobj.kset = device->paths_info; in dasd_path_init_kobj() 2543 kobject_init(&device->path[chp].kobj, &path_attr_type); in dasd_path_init_kobj() 2556 if (device->path[chp].in_sysfs) in dasd_path_create_kobj() 2558 if (!device->path[chp].conf_data) in dasd_path_create_kobj() 2561 dasd_path_init_kobj(device, chp); in dasd_path_create_kobj() 2564 device->path[chp].cssid, device->path[chp].chpid); in dasd_path_create_kobj() 2566 kobject_put(&device->path[chp].kobj); in dasd_path_create_kobj() 2567 device->path[chp].in_sysfs = true; in dasd_path_create_kobj() 2586 if (device->path[chp].in_sysfs) { in dasd_path_remove_kobj() 2587 kobject_put(&device->path[chp].kobj); in dasd_path_remove_kobj() [all …]
|
| A D | dasd.c | 3766 int chp, oldopm, hpfpm, ifccpm; in dasd_generic_path_event() local 3773 for (chp = 0; chp < 8; chp++) { in dasd_generic_path_event() 3774 if (path_event[chp] & PE_PATH_GONE) { in dasd_generic_path_event() 3775 dasd_path_notoper(device, chp); in dasd_generic_path_event() 3777 if (path_event[chp] & PE_PATH_AVAILABLE) { in dasd_generic_path_event() 3778 dasd_path_available(device, chp); in dasd_generic_path_event() 3782 if (!dasd_path_is_operational(device, chp) && in dasd_generic_path_event() 3783 !dasd_path_need_verify(device, chp)) { in dasd_generic_path_event() 3789 dasd_path_available(device, chp); in dasd_generic_path_event() 3797 if (path_event[chp] & PE_PATH_FCES_EVENT) { in dasd_generic_path_event() [all …]
|
| A D | dasd_eckd.c | 1014 cdp = device->path[chp].conf_data; in dasd_eckd_store_conf_data() 1020 device->path[chp].conf_data = conf_data; in dasd_eckd_store_conf_data() 1021 device->path[chp].cssid = sch_id.cssid; in dasd_eckd_store_conf_data() 1022 device->path[chp].ssid = sch_id.ssid; in dasd_eckd_store_conf_data() 1052 int chp; in dasd_eckd_read_fc_security() local 1057 for (chp = 0; chp < 8; chp++) in dasd_eckd_read_fc_security() 1058 device->path[chp].fc_security = 0; in dasd_eckd_read_fc_security() 1062 for (chp = 0; chp < 8; chp++) { in dasd_eckd_read_fc_security() 1063 if (esm_valid & (0x80 >> chp)) in dasd_eckd_read_fc_security() 1064 device->path[chp].fc_security = esm[chp]; in dasd_eckd_read_fc_security() [all …]
|
| /drivers/s390/cio/ |
| A D | chp.c | 139 if (chp->cmg == -1) in measurement_chars_read() 172 id = chp->chpid.id; in chp_measurement_copy_block() 337 if (!chp) in chp_cmg_show() 351 if (!chp) in chp_shared_show() 500 rc = chsc_determine_fmt0_channel_path_desc(chp->chpid, &chp->desc); in chp_update_desc() 508 chsc_determine_fmt1_channel_path_desc(chp->chpid, &chp->desc_fmt1); in chp_update_desc() 509 chsc_determine_fmt3_channel_path_desc(chp->chpid, &chp->desc_fmt3); in chp_update_desc() 533 if (!chp) { in chp_new() 539 chp->state = 1; in chp_new() 574 kfree(chp); in chp_new() [all …]
|
| A D | device_ops.c | 501 struct channel_path *chp; in ccw_device_get_util_str() local 513 mutex_lock(&chp->lock); in ccw_device_get_util_str() 514 memcpy(util_str, chp->desc_fmt3.util_str, sizeof(chp->desc_fmt3.util_str)); in ccw_device_get_util_str() 515 mutex_unlock(&chp->lock); in ccw_device_get_util_str() 651 struct channel_path *chp; in ccw_device_get_mdc() local 667 if (!chp) in ccw_device_get_mdc() 670 mutex_lock(&chp->lock); in ccw_device_get_mdc() 671 if (!chp->desc_fmt1.f) { in ccw_device_get_mdc() 675 if (!chp->desc_fmt1.r) in ccw_device_get_mdc() 815 if (!chp) in ccw_device_get_chid() [all …]
|
| A D | chsc.c | 266 mutex_lock(&chp->lock); in chsc_chp_offline() 267 chp_update_desc(chp); in chsc_chp_offline() 487 chp_update_desc(chp); in chsc_process_sei_res_acc() 516 if (!chp) { in chsc_process_sei_chp_avail() 521 chp_update_desc(chp); in chsc_process_sei_chp_avail() 619 if (!chp) in chsc_process_sei_fces_event() 770 chp_update_desc(chp); in chsc_chp_online() 1099 chp->shared = -1; in chsc_get_channel_measurement_chars() 1100 chp->cmg = -1; in chsc_get_channel_measurement_chars() 1101 chp->extended = 0; in chsc_get_channel_measurement_chars() [all …]
|
| A D | ccwreq.c | 331 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()
|
| A D | chp.h | 70 void chp_remove_cmg_attr(struct channel_path *chp); 71 int chp_add_cmg_attr(struct channel_path *chp); 72 int chp_update_desc(struct channel_path *chp);
|
| A D | device_fsm.c | 433 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()
|
| A D | css.c | 378 int chp; in chpids_show() local 380 for (chp = 0; chp < 8; chp++) { in chpids_show() 381 mask = 0x80 >> chp; in chpids_show() 383 ret += sysfs_emit_at(buf, ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
|
| A D | Makefile | 10 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
|
| A D | chsc.h | 185 int chsc_get_channel_measurement_chars(struct channel_path *chp);
|
| A D | chsc_sch.c | 721 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()
|
| /drivers/infiniband/hw/cxgb4/ |
| A D | ev.c | 115 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); 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() 154 refcount_inc(&chp->refcnt); in c4iw_ev_dispatch() 216 c4iw_cq_rem_ref(chp); in c4iw_ev_dispatch() 224 struct c4iw_cq *chp; in c4iw_ev_handler() local 229 if (chp) { in c4iw_ev_handler() 230 refcount_inc(&chp->refcnt); in c4iw_ev_handler() 234 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in c4iw_ev_handler() [all …]
|
| A D | cq.c | 409 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq() 984 xa_erase_irq(&chp->rhp->cqs, chp->cq.cqid); in c4iw_destroy_cq() 990 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_destroy_cq() 992 chp->destroy_skb, chp->wr_waitp); in c4iw_destroy_cq() 1067 (sizeof(*chp->cq.queue) / 2) : sizeof(*chp->cq.queue)); in c4iw_create_cq() 1081 chp->wr_waitp); in c4iw_create_cq() 1085 chp->rhp = rhp; in c4iw_create_cq() 1092 ret = xa_insert_irq(&rhp->cqs, chp->cq.cqid, chp, GFP_KERNEL); in c4iw_create_cq() 1146 chp->cq.cqid, chp, chp->cq.size, chp->cq.memsize, in c4iw_create_cq() 1156 destroy_cq(&chp->rhp->rdev, &chp->cq, in c4iw_create_cq() [all …]
|
| A D | restrack.c | 374 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()
|
| A D | iw_cxgb4.h | 1014 void c4iw_cq_rem_ref(struct c4iw_cq *chp); 1038 void c4iw_flush_hw_cq(struct c4iw_cq *chp, struct c4iw_qp *flush_qhp);
|
| /drivers/media/usb/pvrusb2/ |
| A D | pvrusb2-dvb.c | 435 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()
|
| A D | pvrusb2-sysfs.c | 736 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()
|
| A D | pvrusb2-v4l2.c | 865 static void pvr2_v4l2_internal_check(struct pvr2_channel *chp) in pvr2_v4l2_internal_check() argument 868 vp = container_of(chp,struct pvr2_v4l2,channel); in pvr2_v4l2_internal_check()
|