Home
last modified time | relevance | path

Searched refs:rep (Results 1 – 25 of 57) sorted by relevance

123

/drivers/infiniband/hw/amso1100/
Dc2_wr.h330 struct c2wr_rnic_open_rep rep; member
376 struct c2wr_rnic_query_rep rep; member
399 struct c2wr_rnic_getconfig_rep rep; member
419 struct c2wr_rnic_setconfig_rep rep; member
436 struct c2wr_rnic_close_rep rep; member
461 struct c2wr_cq_create_rep rep; member
478 struct c2wr_cq_modify_rep rep; member
493 struct c2wr_cq_destroy_rep rep; member
511 struct c2wr_pd_alloc_rep rep; member
526 struct c2wr_pd_dealloc_rep rep; member
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c694 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local
870 rep->sid = user_srf->prime.base.hash.key; in vmw_surface_define_ioctl()
973 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local
989 rep->flags = srf->flags; in vmw_surface_reference_ioctl()
990 rep->format = srf->format; in vmw_surface_reference_ioctl()
991 memcpy(rep->mip_levels, srf->mip_levels, sizeof(srf->mip_levels)); in vmw_surface_reference_ioctl()
993 rep->size_addr; in vmw_surface_reference_ioctl()
1239 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; in vmw_gb_surface_define_ioctl() local
1342 rep->handle = user_srf->prime.base.hash.key; in vmw_gb_surface_define_ioctl()
1343 rep->backup_size = res->backup_size; in vmw_gb_surface_define_ioctl()
[all …]
/drivers/gpu/drm/nouveau/core/engine/disp/
Doutpdp.c146 struct nvif_notify_conn_rep_v0 rep = {}; in nvkm_output_dp_hpd() local
155 rep.mask |= NVIF_NOTIFY_CONN_V0_UNPLUG; in nvkm_output_dp_hpd()
157 rep.mask |= NVIF_NOTIFY_CONN_V0_PLUG; in nvkm_output_dp_hpd()
159 nvkm_event_send(&disp->hpd, rep.mask, conn->index, in nvkm_output_dp_hpd()
160 &rep, sizeof(rep)); in nvkm_output_dp_hpd()
175 struct nvif_notify_conn_rep_v0 rep = { in nvkm_output_dp_irq() local
183 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_output_dp_irq()
Dconn.c40 struct nvif_notify_conn_rep_v0 rep; in nvkm_connector_hpd() local
46 rep.mask = NVIF_NOTIFY_CONN_V0_UNPLUG; in nvkm_connector_hpd()
48 rep.mask = NVIF_NOTIFY_CONN_V0_PLUG; in nvkm_connector_hpd()
49 rep.version = 0; in nvkm_connector_hpd()
51 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_connector_hpd()
Dbase.c60 struct nvif_notify_head_rep_v0 rep = {}; in nouveau_disp_vblank() local
61 nvkm_event_send(&disp->vblank, 1, head, &rep, sizeof(rep)); in nouveau_disp_vblank()
/drivers/net/wireless/ath/ath5k/
Deeprom.c1601 struct ath5k_edge_power *rep; in ath5k_eeprom_read_ctl_info() local
1625 rep = ee->ee_ctl_pwr; in ath5k_eeprom_read_ctl_info()
1641 rep += AR5K_EEPROM_N_EDGES; in ath5k_eeprom_read_ctl_info()
1647 rep[j].freq = (val >> 8) & fmask; in ath5k_eeprom_read_ctl_info()
1648 rep[j + 1].freq = val & fmask; in ath5k_eeprom_read_ctl_info()
1652 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info()
1653 rep[j].flag = (val >> 14) & 1; in ath5k_eeprom_read_ctl_info()
1654 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1655 rep[j + 1].flag = (val >> 6) & 1; in ath5k_eeprom_read_ctl_info()
1659 rep[0].freq = (val >> 9) & fmask; in ath5k_eeprom_read_ctl_info()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_usif.c77 } *rep = header; in usif_notify() local
82 if (length == sizeof(rep->v0) && rep->v0.version == 0) { in usif_notify()
83 if (WARN_ON(!(ntfy = (void *)(unsigned long)rep->v0.token))) in usif_notify()
85 BUG_ON(rep->v0.route != NVDRM_NOTIFY_USIF); in usif_notify()
97 switch (rep->v0.version) { in usif_notify()
99 struct nvif_notify_rep_v0 *rep = (void *)ntfy->p->e.data; in usif_notify() local
100 rep->route = ntfy->route; in usif_notify()
101 rep->token = ntfy->token; in usif_notify()
Dnouveau_gem.c196 struct drm_nouveau_gem_info *rep) in nouveau_gem_info() argument
203 rep->domain = nvbo->valid_domains; in nouveau_gem_info()
205 rep->domain = NOUVEAU_GEM_DOMAIN_GART; in nouveau_gem_info()
207 rep->domain = NOUVEAU_GEM_DOMAIN_VRAM; in nouveau_gem_info()
208 rep->offset = nvbo->bo.offset; in nouveau_gem_info()
214 rep->offset = vma->offset; in nouveau_gem_info()
217 rep->size = nvbo->bo.mem.num_pages << PAGE_SHIFT; in nouveau_gem_info()
218 rep->map_handle = drm_vma_node_offset_addr(&nvbo->bo.vma_node); in nouveau_gem_info()
219 rep->tile_mode = nvbo->tile_mode; in nouveau_gem_info()
220 rep->tile_flags = nvbo->tile_flags; in nouveau_gem_info()
/drivers/staging/lustre/lnet/selftest/
Dframework.c1441 srpc_stat_reply_t *rep = &msg->msg_body.stat_reply; in sfw_unpack_message() local
1443 __swab32s(&rep->str_status); in sfw_unpack_message()
1444 sfw_unpack_sid(rep->str_sid); in sfw_unpack_message()
1445 sfw_unpack_fw_counters(rep->str_fw); in sfw_unpack_message()
1446 sfw_unpack_rpc_counters(rep->str_rpc); in sfw_unpack_message()
1447 sfw_unpack_lnet_counters(rep->str_lnet); in sfw_unpack_message()
1461 srpc_mksn_reply_t *rep = &msg->msg_body.mksn_reply; in sfw_unpack_message() local
1463 __swab32s(&rep->mksn_status); in sfw_unpack_message()
1464 __swab32s(&rep->mksn_timeout); in sfw_unpack_message()
1465 sfw_unpack_sid(rep->mksn_sid); in sfw_unpack_message()
[all …]
Dping_test.c178 srpc_ping_reply_t *rep = &rpc->srpc_replymsg.msg_body.ping_reply; in ping_server_handle() local
198 rep->pnr_seq = req->pnr_seq; in ping_server_handle()
199 rep->pnr_magic = LST_PING_TEST_MAGIC; in ping_server_handle()
203 rep->pnr_status = EPROTO; in ping_server_handle()
Dconrpc.c391 srpc_generic_reply_t *rep; in lstcon_rpc_get_reply() local
411 rep = &(*msgpp)->msg_body.reply; in lstcon_rpc_get_reply()
413 if (rep->sid.ses_nid == LNET_NID_ANY) in lstcon_rpc_get_reply()
415 else if (lstcon_session_match(rep->sid)) in lstcon_rpc_get_reply()
427 srpc_msg_t *rep; in lstcon_rpc_trans_stat() local
439 error = lstcon_rpc_get_reply(crpc, &rep); in lstcon_rpc_trans_stat()
450 lstcon_rpc_stat_reply(trans, rep, crpc->crp_node, stat); in lstcon_rpc_trans_stat()
476 srpc_generic_reply_t *rep; in lstcon_rpc_trans_interpreter() local
523 rep = (srpc_generic_reply_t *)&msg->msg_body.reply; in lstcon_rpc_trans_interpreter()
526 &rep->sid, sizeof(lst_sid_t)) || in lstcon_rpc_trans_interpreter()
[all …]
Dconsole.c377 srpc_debug_reply_t *rep; in lstcon_sesrpc_readent() local
385 rep = &msg->msg_body.dbg_reply; in lstcon_sesrpc_readent()
388 &rep->dbg_timeout, sizeof(int)) || in lstcon_sesrpc_readent()
390 &rep->dbg_name, LST_NAME_SIZE)) in lstcon_sesrpc_readent()
1384 srpc_batch_reply_t *rep = &msg->msg_body.bat_reply; in lstcon_tsbrpc_readent() local
1391 &rep->bar_active, sizeof(rep->bar_active))) in lstcon_tsbrpc_readent()
1463 srpc_stat_reply_t *rep = &msg->msg_body.stat_reply; in lstcon_statrpc_readent() local
1468 if (rep->str_status != 0) in lstcon_statrpc_readent()
1475 if (copy_to_user(sfwk_stat, &rep->str_fw, sizeof(*sfwk_stat)) || in lstcon_statrpc_readent()
1476 copy_to_user(srpc_stat, &rep->str_rpc, sizeof(*srpc_stat)) || in lstcon_statrpc_readent()
[all …]
/drivers/gpu/drm/nouveau/core/core/
Dclient.c44 } rep; member
52 return client->ntfy(&notify->rep, notify->size, n->data, n->size); in nvkm_client_notify()
123 notify->size = sizeof(notify->rep.v0); in nvkm_client_notify_new()
124 notify->rep.v0.version = req->v0.version; in nvkm_client_notify_new()
125 notify->rep.v0.route = req->v0.route; in nvkm_client_notify_new()
126 notify->rep.v0.token = req->v0.token; in nvkm_client_notify_new()
/drivers/input/keyboard/
Dtca8418_keypad.c273 bool rep = false; in tca8418_keypad_probe() local
287 rep = pdata->rep; in tca8418_keypad_probe()
296 rep = of_property_read_bool(np, "keypad,autorepeat"); in tca8418_keypad_probe()
352 if (rep) in tca8418_keypad_probe()
Dspear-keyboard.c64 bool rep; member
161 kbd->rep = true; in spear_kbd_parse_dt()
220 kbd->rep = pdata->rep; in spear_kbd_probe()
249 if (kbd->rep) in spear_kbd_probe()
Datkbd.c507 atkbd->time = jiffies + msecs_to_jiffies(dev->rep[REP_DELAY]) / 2; in atkbd_interrupt()
545 while (i < ARRAY_SIZE(period) - 1 && period[i] < dev->rep[REP_PERIOD]) in atkbd_set_repeat_rate()
547 dev->rep[REP_PERIOD] = period[i]; in atkbd_set_repeat_rate()
549 while (j < ARRAY_SIZE(delay) - 1 && delay[j] < dev->rep[REP_DELAY]) in atkbd_set_repeat_rate()
551 dev->rep[REP_DELAY] = delay[j]; in atkbd_set_repeat_rate()
1097 input_dev->rep[REP_DELAY] = 250; in atkbd_set_device_attrs()
1098 input_dev->rep[REP_PERIOD] = 33; in atkbd_set_device_attrs()
/drivers/gpu/drm/nouveau/core/subdev/gpio/
Dbase.c148 struct nvkm_gpio_ntfy_rep rep = { in nouveau_gpio_intr() local
152 nvkm_event_send(&gpio->event, rep.mask, i, &rep, sizeof(rep)); in nouveau_gpio_intr()
/drivers/media/platform/
Dsh_veu.c678 u32 *mant, u32 *frac, u32 *rep) in sh_veu_calc_scale() argument
683 *rep = *mant = *frac = 0; in sh_veu_calc_scale()
699 *rep = 1; in sh_veu_calc_scale()
702 *rep = 3; in sh_veu_calc_scale()
705 *rep = 7; in sh_veu_calc_scale()
708 if (*rep) in sh_veu_calc_scale()
732 u32 mant, frac, value, rep; in sh_veu_scale_v() local
734 sh_veu_calc_scale(veu, size_in, size_out, crop_out, &mant, &frac, &rep); in sh_veu_scale_v()
744 (((rep << 12) | crop_out) << 16); in sh_veu_scale_v()
754 u32 mant, frac, value, rep; in sh_veu_scale_h() local
[all …]
/drivers/isdn/gigaset/
Dev-layer.c1507 struct reply_t *rep; in process_event() local
1540 rep = at_state->replystruct; in process_event()
1575 for (;; rep++) { in process_event()
1576 rcode = rep->resp_code; in process_event()
1585 && ((int) at_state->ConState >= rep->min_ConState) in process_event()
1586 && (rep->max_ConState < 0 in process_event()
1587 || (int) at_state->ConState <= rep->max_ConState) in process_event()
1588 && (rep->parameter < 0 || rep->parameter == ev->parameter)) in process_event()
1592 p_command = rep->command; in process_event()
1598 do_action(rep->action[curact], cs, bcs, &at_state, &p_command, in process_event()
[all …]
/drivers/tty/vt/
Dkeyboard.c128 static char rep; /* flag telling character repeat */ variable
282 rpt[1].delay = dev->rep[REP_DELAY]; in kbd_rate_helper()
283 rpt[1].period = dev->rep[REP_PERIOD]; in kbd_rate_helper()
456 if (rep) in fn_caps_toggle()
464 if (rep) in fn_caps_on()
482 if (rep || !tty) in fn_hold()
512 if (!rep) in fn_bare_num()
788 if (rep) in k_shift()
861 if (up_flag || rep) in k_lock()
870 if (up_flag || rep) in k_slock()
[all …]
/drivers/gpu/drm/nouveau/core/engine/fifo/
Dbase.c194 struct nvif_notify_uevent_rep rep = { in nouveau_fifo_uevent() local
196 nvkm_event_send(&fifo->uevent, 1, 0, &rep, sizeof(rep)); in nouveau_fifo_uevent()
/drivers/infiniband/core/
Dcma.c2658 struct ib_cm_sidr_rep_event_param *rep = &ib_event->param.sidr_rep_rcvd; in cma_sidr_rep_handler() local
2673 if (rep->status != IB_SIDR_SUCCESS) { in cma_sidr_rep_handler()
2678 ret = cma_set_qkey(id_priv, rep->qkey); in cma_sidr_rep_handler()
2687 event.param.ud.qp_num = rep->qpn; in cma_sidr_rep_handler()
2688 event.param.ud.qkey = rep->qkey; in cma_sidr_rep_handler()
2921 struct ib_cm_rep_param rep; in cma_accept_ib() local
2932 memset(&rep, 0, sizeof rep); in cma_accept_ib()
2933 rep.qp_num = id_priv->qp_num; in cma_accept_ib()
2934 rep.starting_psn = id_priv->seq_num; in cma_accept_ib()
2935 rep.private_data = conn_param->private_data; in cma_accept_ib()
[all …]
/drivers/input/
Dinput.c78 dev->rep[REP_PERIOD] && dev->rep[REP_DELAY] && in input_start_autorepeat()
82 jiffies + msecs_to_jiffies(dev->rep[REP_DELAY])); in input_start_autorepeat()
194 if (dev->rep[REP_PERIOD]) in input_repeat_key()
196 msecs_to_jiffies(dev->rep[REP_PERIOD])); in input_repeat_key()
345 if (code <= REP_MAX && value >= 0 && dev->rep[code] != value) { in input_get_disposition()
346 dev->rep[code] = value; in input_get_disposition()
1647 dev->event(dev, EV_REP, REP_PERIOD, dev->rep[REP_PERIOD]); in input_dev_toggle()
1648 dev->event(dev, EV_REP, REP_DELAY, dev->rep[REP_DELAY]); in input_dev_toggle()
2114 if (!dev->rep[REP_DELAY] && !dev->rep[REP_PERIOD]) { in input_register_device()
2117 dev->rep[REP_DELAY] = 250; in input_register_device()
[all …]
/drivers/hid/
Dhid-input.c1294 struct hid_report *rep; in report_features() local
1298 list_for_each_entry(rep, &rep_enum->report_list, list) in report_features()
1299 for (i = 0; i < rep->maxfield; i++) { in report_features()
1301 if (rep->field[i]->report_count < 1) in report_features()
1304 for (j = 0; j < rep->field[i]->maxusage; j++) { in report_features()
1306 hidinput_setup_battery(hid, HID_FEATURE_REPORT, rep->field[i]); in report_features()
1309 drv->feature_mapping(hid, rep->field[i], in report_features()
1310 rep->field[i]->usage + j); in report_features()
/drivers/gpu/drm/nouveau/core/subdev/i2c/
Dbase.c383 struct nvkm_i2c_ntfy_rep rep = { in nouveau_i2c_intr() local
386 nvkm_event_send(&i2c->event, rep.mask, in nouveau_i2c_intr()
387 port->index, &rep, in nouveau_i2c_intr()
388 sizeof(rep)); in nouveau_i2c_intr()

123