Searched refs:rd (Results 126 - 150 of 373) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00usb.c180 struct rt2x00_async_read_data *rd = urb->context; local
181 if (rd->callback(rd->rt2x00dev, urb->status, le32_to_cpu(rd->reg))) {
182 usb_anchor_urb(urb, rd->rt2x00dev->anchor);
185 kfree(rd);
188 kfree(rd);
197 struct rt2x00_async_read_data *rd; local
199 rd = kmalloc(sizeof(*rd), GFP_ATOMI
[all...]
/linux-master/arch/loongarch/kernel/
H A Dunaligned.c431 regs->regs[insn.reg3_format.rd] = value;
434 write_fpr(insn.reg3_format.rd, value);
436 set_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0, value);
441 value = regs->regs[insn.reg3_format.rd];
444 value = read_fpr(insn.reg3_format.rd);
446 value = get_fpr64(&current->thread.fpu.fpr[insn.reg3_format.rd], 0);
/linux-master/arch/arm64/kvm/
H A Dsys_regs.c46 static int set_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd,
551 static int set_oslsr_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, argument
558 if ((val ^ rd->val) & ~OSLSR_EL1_OSLK)
561 __vcpu_sys_reg(vcpu, rd->reg) = val;
628 const struct sys_reg_desc *rd,
633 get_access_mask(rd, &mask, &shift);
645 const struct sys_reg_desc *rd,
650 get_access_mask(rd, &mask, &shift);
656 const struct sys_reg_desc *rd)
658 u64 *dbg_reg = &vcpu->arch.vcpu_debug_state.dbg_bvr[rd
626 reg_to_dbg(struct kvm_vcpu *vcpu, struct sys_reg_params *p, const struct sys_reg_desc *rd, u64 *dbg_reg) argument
643 dbg_to_reg(struct kvm_vcpu *vcpu, struct sys_reg_params *p, const struct sys_reg_desc *rd, u64 *dbg_reg) argument
654 trap_bvr(struct kvm_vcpu *vcpu, struct sys_reg_params *p, const struct sys_reg_desc *rd) argument
670 set_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
677 get_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 *val) argument
684 reset_bvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
691 trap_bcr(struct kvm_vcpu *vcpu, struct sys_reg_params *p, const struct sys_reg_desc *rd) argument
707 set_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
714 get_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 *val) argument
721 reset_bcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
728 trap_wvr(struct kvm_vcpu *vcpu, struct sys_reg_params *p, const struct sys_reg_desc *rd) argument
745 set_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
752 get_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 *val) argument
759 reset_wvr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
766 trap_wcr(struct kvm_vcpu *vcpu, struct sys_reg_params *p, const struct sys_reg_desc *rd) argument
782 set_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
789 get_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 *val) argument
796 reset_wcr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
1348 ptrauth_visibility(const struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
1450 arm64_check_features(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
1639 sve_visibility(const struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
1648 read_sanitised_id_aa64pfr0_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
1693 read_sanitised_id_aa64dfr0_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
1714 set_id_aa64dfr0_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
1748 read_sanitised_id_dfr0_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
1763 set_id_dfr0_el1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
1797 get_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 *val) argument
1816 set_id_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
1856 get_raz_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 *val) argument
1863 set_wi_reg(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
1945 set_clidr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 val) argument
1987 mte_visibility(const struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
2004 el2_visibility(const struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
2056 hidden_user_visibility(const struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd) argument
3907 walk_one_sys_reg(const struct kvm_vcpu *vcpu, const struct sys_reg_desc *rd, u64 __user **uind, unsigned int *total) argument
[all...]
/linux-master/drivers/of/
H A Ddynamic.c240 struct of_reconfig_data rd; local
242 memset(&rd, 0, sizeof(rd));
243 rd.dn = np;
249 of_reconfig_notify(OF_RECONFIG_ATTACH_NODE, &rd);
294 struct of_reconfig_data rd; local
296 memset(&rd, 0, sizeof(rd));
297 rd.dn = np;
303 of_reconfig_notify(OF_RECONFIG_DETACH_NODE, &rd);
570 struct of_reconfig_data rd; local
[all...]
/linux-master/drivers/hid/
H A Dhid-sony.c796 static void sixaxis_parse_report(struct sony_sc *sc, u8 *rd, int size) argument
812 if (rd[offset] >= 0xee) {
814 battery_status = (rd[offset] & 0x01) ? POWER_SUPPLY_STATUS_FULL : POWER_SUPPLY_STATUS_CHARGING;
816 u8 index = rd[offset] <= 5 ? rd[offset] : 5;
830 val = ((rd[offset+1] << 8) | rd[offset]) - 511;
834 val = 511 - ((rd[offset+5] << 8) | rd[offset+4]);
837 val = 511 - ((rd[offse
844 nsg_mrxu_parse_report(struct sony_sc *sc, u8 *rd, int size) argument
918 sony_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *rd, int size) argument
[all...]
/linux-master/drivers/perf/
H A Driscv_pmu.c33 struct clock_read_data *rd; local
53 rd = sched_clock_read_begin(&seq);
55 userpg->time_mult = rd->mult;
56 userpg->time_shift = rd->shift;
57 userpg->time_zero = rd->epoch_ns;
58 userpg->time_cycles = rd->epoch_cyc;
59 userpg->time_mask = rd->sched_clock_mask;
66 ns = mul_u64_u32_shr(rd->epoch_cyc, rd->mult, rd
[all...]
/linux-master/tools/perf/util/
H A Dsession.c2280 reader__init(struct reader *rd, bool *one_mmap) argument
2282 u64 data_size = rd->data_size;
2283 char **mmaps = rd->mmaps;
2285 rd->head = rd->data_offset;
2286 data_size += rd->data_offset;
2288 rd->mmap_size = MMAP_SIZE;
2289 if (rd->mmap_size > data_size) {
2290 rd->mmap_size = data_size;
2295 memset(mmaps, 0, sizeof(rd
2305 reader__release_decomp(struct reader *rd) argument
2312 reader__mmap(struct reader *rd, struct perf_session *session) argument
2360 reader__read_event(struct reader *rd, struct perf_session *session, struct ui_progress *prog) argument
2407 reader__eof(struct reader *rd) argument
2413 reader__process_events(struct reader *rd, struct perf_session *session, struct ui_progress *prog) argument
2457 struct reader rd = { local
2522 struct reader *rd; local
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mei/
H A Dmain.c309 u32 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr)); local
314 if (rd > q_sz || wr > q_sz) {
320 room_in_buf = wr >= rd ? q_sz - wr + rd : rd - wr;
451 u32 rd; local
484 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr));
490 if (rd > q_sz || wr > q_sz) {
496 room_in_buf = wr >= rd ? q_sz - wr + rd
1012 u32 rd = *_rd; local
1030 iwl_mei_handle_sap_data(struct mei_cl_device *cldev, const u8 *q_head, u32 q_sz, u32 rd, u32 wr, ssize_t valid_rx_sz, struct sk_buff_head *tx_skbs) argument
1104 iwl_mei_handle_sap_rx_cmd(struct mei_cl_device *cldev, const u8 *q_head, u32 q_sz, u32 rd, u32 wr, ssize_t valid_rx_sz) argument
1147 u32 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr)); local
[all...]
/linux-master/arch/sparc/math-emu/
H A Dmath_64.c173 /* ftt tells which ftt it may happen in, r is rd, b is rs2 and a is rs1. The *u arg tells
359 argp rs1 = NULL, rs2 = NULL, rd = NULL; local
416 case 1: rd = (argp)&f->regs[freg];
457 case FMOVQ: rd->q[0] = rs2->q[0]; rd->q[1] = rs2->q[1]; break;
458 case FABSQ: rd->q[0] = rs2->q[0] & 0x7fffffffffffffffUL; rd->q[1] = rs2->q[1]; break;
459 case FNEGQ: rd->q[0] = rs2->q[0] ^ 0x8000000000000000UL; rd->q[1] = rs2->q[1]; break;
507 case 1: rd
[all...]
H A Dmath_32.c279 /* r is rd, b is rs2 and a is rs1. The *u arg tells
284 argp rs1 = NULL, rs2 = NULL, rd = NULL; local
397 switch ((type >> 6) & 0x3) { /* and finally rd. This one's a bit different */
400 /* anything but 0 in the rd field is an error */
419 rd = (void *)&fregs[freg];
452 case FMOVS: rd->s = rs2->s; break;
453 case FABSS: rd->s = rs2->s & 0x7fffffff; break;
454 case FNEGS: rd->s = rs2->s ^ 0x80000000; break;
506 case 1: rd->s = IR; break;
507 case 5: FP_PACK_SP (rd, S
[all...]
/linux-master/fs/hfsplus/
H A Ddir.c138 struct hfsplus_readdir_data *rd; local
264 rd = file->private_data;
265 if (!rd) {
266 rd = kmalloc(sizeof(struct hfsplus_readdir_data), GFP_KERNEL);
267 if (!rd) {
271 file->private_data = rd;
272 rd->file = file;
274 list_add(&rd->list, &HFSPLUS_I(inode)->open_dir_list);
281 memcpy(&rd->key, fd.key, sizeof(struct hfsplus_cat_key));
290 struct hfsplus_readdir_data *rd local
[all...]
/linux-master/arch/arm/mm/
H A Dabort-lv4t.S37 /* 0 */ b .data_arm_lateldrhpost @ ldrh rd, [rn], #m/rm
38 /* 1 */ b .data_arm_lateldrhpre @ ldrh rd, [rn, #m/rm]
41 /* 4 */ b .data_arm_lateldrpostconst @ ldr rd, [rn], #m
42 /* 5 */ b .data_arm_lateldrpreconst @ ldr rd, [rn, #m]
43 /* 6 */ b .data_arm_lateldrpostreg @ ldr rd, [rn], rm
44 /* 7 */ b .data_arm_lateldrprereg @ ldr rd, [rn, rm]
49 /* c */ b do_DataAbort @ ldc rd, [rn], #m @ Same as ldr rd, [rn], #m
50 /* d */ b do_DataAbort @ ldc rd, [rn, #m]
H A Dproc-xsc3.S55 .macro cpwait_ret, lr, rd
56 mrc p15, 0, \rd, c2, c0, 0 @ arbitrary read of cp15
57 sub pc, \lr, \rd, LSR #32 @ wait for completion and
65 .macro clean_d_cache rd, rs
66 mov \rd, #0x1f00
67 orr \rd, \rd, #0x00e0
68 1: mcr p15, 0, \rd, c7, c14, 2 @ clean/invalidate L1 D line
69 adds \rd, \rd, #
[all...]
/linux-master/drivers/net/ethernet/seeq/
H A Dsgiseeq.c345 struct sgiseeq_rx_desc *rd; local
353 rd = &sp->rx_desc[sp->rx_new];
354 dma_sync_desc_cpu(dev, rd);
355 while (!(rd->rdma.cntinfo & HPCDMA_OWN)) {
356 len = PKT_BUF_SZ - (rd->rdma.cntinfo & HPCDMA_BCNT) - 3;
357 dma_unmap_single(dev->dev.parent, rd->rdma.pbuf,
359 pkt_status = rd->skb->data[len];
363 if (!ether_addr_equal(rd->skb->data + 6, dev->dev_addr)) {
365 skb = rd->skb;
376 skb_copy_to_linear_data(skb, rd
[all...]
/linux-master/arch/mips/net/
H A Dbpf_jit_comp32.c947 static void emit_movz_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) argument
950 emit(ctx, movz, rd, rs, rt); /* rd = rt ? rd : rs */
954 emit(ctx, selnez, rd, rd, rt); /* rd = 0 if rt != 0 */
956 emit(ctx, or, rd, rd, rs); /* rd
970 emit_movn_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) argument
990 emit_sltiu_r64(struct jit_context *ctx, u8 rd, const u8 rs[], s64 imm) argument
1012 emit_sltu_r64(struct jit_context *ctx, u8 rd, const u8 rs[], const u8 rt[]) argument
1025 emit_slti_r64(struct jit_context *ctx, u8 rd, const u8 rs[], s64 imm) argument
1067 emit_slt_r64(struct jit_context *ctx, u8 rd, const u8 rs[], const u8 rt[]) argument
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c1370 struct brcmf_sdio_hdrinfo *rd,
1398 (roundup(len, bus->blocksize) != rd->len)) {
1402 if (type == BRCMF_SDIO_FT_SUB && len > rd->len) {
1406 rd->len = len;
1413 rd->len = 0;
1417 rd->channel = (swheader & SDPCM_CHANNEL_MASK) >> SDPCM_CHANNEL_SHIFT;
1418 if (len > MAX_RX_DATASZ && rd->channel != SDPCM_CONTROL_CHANNEL &&
1423 rd->len = 0;
1426 if (type == BRCMF_SDIO_FT_SUPER && rd->channel != SDPCM_GLOM_CHANNEL) {
1428 rd
1369 brcmf_sdio_hdparse(struct brcmf_sdio *bus, u8 *header, struct brcmf_sdio_hdrinfo *rd, enum brcmf_sdio_frmtype type) argument
1862 struct brcmf_sdio_hdrinfo *rd = &bus->cur_read, rd_new; local
[all...]
H A Dproto.h105 struct brcmf_skb_reorder_data *rd; local
107 rd = (struct brcmf_skb_reorder_data *)skb->cb;
108 return !!rd->reorder;
/linux-master/arch/mips/kvm/
H A Dvz.c881 u32 rt, rd, sel; local
904 rd = inst.c0r_format.rd;
911 cop0->stat[rd][sel]++;
913 if (rd == MIPS_CP0_COUNT &&
916 } else if (rd == MIPS_CP0_COMPARE &&
919 } else if (rd == MIPS_CP0_LLADDR &&
926 } else if (rd == MIPS_CP0_LLADDR &&
935 } else if ((rd == MIPS_CP0_PRID &&
939 (rd
1147 unsigned int rs, rd; local
1218 int rd, rt, sel; local
1316 int rd = inst.c0r_format.rd; local
[all...]
/linux-master/arch/arm/lib/
H A Dio-readsw-armv4.S10 .macro pack, rd, hw1, hw2
12 orr \rd, \hw1, \hw2, lsl #16
14 orr \rd, \hw2, \hw1, lsl #16
/linux-master/drivers/video/fbdev/omap/
H A Dlcd_mipid.c343 } *rd, rd_ctrl[7] = { local
353 rd = rd_ctrl;
354 for (i = 0; i < 3; i++, rd++)
355 mipid_write(md, rd->cmd, (u8 *)rd->wbuf, rd->wlen);
358 mipid_read(md, rd->cmd, rbuf, 2);
359 rd++;
361 for (i = 0; i < 3; i++, rd++) {
363 mipid_write(md, rd
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_vbif.c100 tbl = params->rd ? &vbif->cap->dynamic_ot_rd_tbl :
133 if (vbif->cap->default_ot_wr_limit && !params->rd)
135 else if (vbif->cap->default_ot_rd_limit && params->rd)
150 params->xin_id, params->rd);
185 if (vbif->ops.set_write_gather_en && !params->rd)
196 vbif->ops.set_limit_conf(vbif, params->xin_id, params->rd, ot_lim);
/linux-master/arch/sparc/lib/
H A DVISsave.S42 rd %gsr, %g3
51 rd %gsr, %g2
/linux-master/kernel/sched/
H A Drt.c332 return atomic_read(&rq->rd->rto_count);
340 cpumask_set_cpu(rq->cpu, rq->rd->rto_mask);
351 atomic_inc(&rq->rd->rto_count);
360 atomic_dec(&rq->rd->rto_count);
361 cpumask_clear_cpu(rq->cpu, rq->rd->rto_mask);
588 return this_rq()->rd->span;
687 struct root_domain *rd = rq_of_rt_rq(rt_rq)->rd; local
691 weight = cpumask_weight(rd->span);
695 for_each_cpu(i, rd
738 struct root_domain *rd = rq->rd; local
2172 rto_next_cpu(struct root_domain *rd) argument
2265 struct root_domain *rd = local
[all...]
/linux-master/fs/jffs2/
H A Dscan.c49 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s);
1046 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s)
1058 crc = crc32(0, rd, sizeof(*rd)-8);
1060 if (crc != je32_to_cpu(rd->node_crc)) {
1062 __func__, ofs, je32_to_cpu(rd->node_crc), crc);
1064 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rd->totlen)))))
1069 pseudo_random += je32_to_cpu(rd->version);
1072 checkedlen = strnlen(rd->name, rd
1045 jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) argument
[all...]
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c259 struct vxlan_rdst *rd, int type)
269 err = vxlan_fdb_info(skb, vxlan, fdb, 0, 0, type, 0, rd);
286 const struct vxlan_rdst *rd,
292 fdb_info->remote_ip = rd->remote_ip;
293 fdb_info->remote_port = rd->remote_port;
294 fdb_info->remote_vni = rd->remote_vni;
295 fdb_info->remote_ifindex = rd->remote_ifindex;
298 fdb_info->offloaded = rd->offloaded;
304 struct vxlan_rdst *rd,
312 if (WARN_ON(!rd))
258 __vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, int type) argument
284 vxlan_fdb_switchdev_notifier_info(const struct vxlan_dev *vxlan, const struct vxlan_fdb *fdb, const struct vxlan_rdst *rd, struct netlink_ext_ack *extack, struct switchdev_notifier_vxlan_fdb_info *fdb_info) argument
302 vxlan_fdb_switchdev_call_notifiers(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, bool adding, struct netlink_ext_ack *extack) argument
323 vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, int type, bool swdev_notify, struct netlink_ext_ack *extack) argument
449 struct vxlan_rdst *rd; local
574 struct vxlan_rdst *rd; local
599 struct vxlan_rdst *rd; local
892 struct vxlan_rdst *rd = NULL; local
923 struct vxlan_rdst *rd, *nd; local
950 struct vxlan_rdst *rd; local
972 struct vxlan_rdst *rd = container_of(head, struct vxlan_rdst, rcu); local
988 struct vxlan_rdst *rd = NULL; local
1147 vxlan_fdb_dst_destroy(struct vxlan_dev *vxlan, struct vxlan_fdb *f, struct vxlan_rdst *rd, bool swdev_notify) argument
1292 struct vxlan_rdst *rd = NULL; local
1362 struct vxlan_rdst *rd; local
2970 vxlan_fdb_flush_remote_matches(const struct vxlan_fdb_flush_desc *desc, const struct vxlan_rdst *rd) argument
2992 struct vxlan_rdst *rd, *tmp; local
[all...]

Completed in 498 milliseconds

1234567891011>>