Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 3174) sorted by relevance

12345678910>>...127

/Linux-v6.6/lib/raid6/
Davx2.c38 int d, z, z0; in raid6_avx21_gen_syndrome() local
49 for (d = 0; d < bytes; d += 32) { in raid6_avx21_gen_syndrome()
50 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_avx21_gen_syndrome()
51 asm volatile("vmovdqa %0,%%ymm2" : : "m" (dptr[z0][d]));/* P[0] */ in raid6_avx21_gen_syndrome()
52 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome()
54 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome()
56 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome()
63 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome()
72 asm volatile("vmovntdq %%ymm2,%0" : "=m" (p[d])); in raid6_avx21_gen_syndrome()
74 asm volatile("vmovntdq %%ymm4,%0" : "=m" (q[d])); in raid6_avx21_gen_syndrome()
[all …]
Dsse2.c40 int d, z, z0; in raid6_sse21_gen_syndrome() local
51 for ( d = 0 ; d < bytes ; d += 16 ) { in raid6_sse21_gen_syndrome()
52 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse21_gen_syndrome()
53 asm volatile("movdqa %0,%%xmm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse21_gen_syndrome()
54 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome()
56 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome()
58 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome()
66 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome()
76 asm volatile("movntdq %%xmm2,%0" : "=m" (p[d])); in raid6_sse21_gen_syndrome()
78 asm volatile("movntdq %%xmm4,%0" : "=m" (q[d])); in raid6_sse21_gen_syndrome()
[all …]
Davx512.c48 int d, z, z0; in raid6_avx5121_gen_syndrome() local
61 for (d = 0; d < bytes; d += 64) { in raid6_avx5121_gen_syndrome()
68 : "m" (dptr[z0][d]), "m" (dptr[z0-1][d])); in raid6_avx5121_gen_syndrome()
80 : "m" (dptr[z][d])); in raid6_avx5121_gen_syndrome()
94 : "m" (p[d]), "m" (q[d])); in raid6_avx5121_gen_syndrome()
106 int d, z, z0; in raid6_avx5121_xor_syndrome() local
117 for (d = 0 ; d < bytes ; d += 64) { in raid6_avx5121_xor_syndrome()
122 : "m" (dptr[z0][d]), "m" (p[d])); in raid6_avx5121_xor_syndrome()
135 : "m" (dptr[z][d])); in raid6_avx5121_xor_syndrome()
153 : "m" (q[d]), "m" (p[d])); in raid6_avx5121_xor_syndrome()
[all …]
Dloongarch_simd.c37 int d, z, z0; in raid6_lsx_gen_syndrome() local
52 for (d = 0; d < bytes; d += NSIZE*4) { in raid6_lsx_gen_syndrome()
54 asm volatile("vld $vr0, %0" : : "m"(dptr[z0][d+0*NSIZE])); in raid6_lsx_gen_syndrome()
55 asm volatile("vld $vr1, %0" : : "m"(dptr[z0][d+1*NSIZE])); in raid6_lsx_gen_syndrome()
56 asm volatile("vld $vr2, %0" : : "m"(dptr[z0][d+2*NSIZE])); in raid6_lsx_gen_syndrome()
57 asm volatile("vld $vr3, %0" : : "m"(dptr[z0][d+3*NSIZE])); in raid6_lsx_gen_syndrome()
64 asm volatile("vld $vr8, %0" : : "m"(dptr[z][d+0*NSIZE])); in raid6_lsx_gen_syndrome()
65 asm volatile("vld $vr9, %0" : : "m"(dptr[z][d+1*NSIZE])); in raid6_lsx_gen_syndrome()
66 asm volatile("vld $vr10, %0" : : "m"(dptr[z][d+2*NSIZE])); in raid6_lsx_gen_syndrome()
67 asm volatile("vld $vr11, %0" : : "m"(dptr[z][d+3*NSIZE])); in raid6_lsx_gen_syndrome()
[all …]
/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c31 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument
33 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq()
35 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq()
38 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq()
40 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq()
42 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq()
45 static void ast_vhub_dev_enable(struct ast_vhub_dev *d) in ast_vhub_dev_enable() argument
49 if (d->enabled) in ast_vhub_dev_enable()
53 ast_vhub_reset_ep0(d); in ast_vhub_dev_enable()
60 if (d->gadget.speed == USB_SPEED_HIGH) in ast_vhub_dev_enable()
[all …]
/Linux-v6.6/drivers/block/aoe/
Daoedev.c18 static void freetgt(struct aoedev *d, struct aoetgt *t);
19 static void skbpoolfree(struct aoedev *d);
138 aoedev_put(struct aoedev *d) in aoedev_put() argument
143 d->ref--; in aoedev_put()
150 struct aoedev *d; in dummy_timer() local
152 d = from_timer(d, t, timer); in dummy_timer()
153 if (d->flags & DEVFL_TKILL) in dummy_timer()
155 d->timer.expires = jiffies + HZ; in dummy_timer()
156 add_timer(&d->timer); in dummy_timer()
160 aoe_failip(struct aoedev *d) in aoe_failip() argument
[all …]
Daoeblk.c37 struct aoedev *d = disk->private_data; in aoedisk_show_state() local
40 (d->flags & DEVFL_UP) ? "up" : "down", in aoedisk_show_state()
41 (d->flags & DEVFL_KICKME) ? ",kickme" : in aoedisk_show_state()
42 (d->nopen && !(d->flags & DEVFL_UP)) ? ",closewait" : ""); in aoedisk_show_state()
49 struct aoedev *d = disk->private_data; in aoedisk_show_mac() local
50 struct aoetgt *t = d->targets[0]; in aoedisk_show_mac()
60 struct aoedev *d = disk->private_data; in aoedisk_show_netif() local
69 t = d->targets; in aoedisk_show_netif()
70 te = t + d->ntargets; in aoedisk_show_netif()
98 struct aoedev *d = disk->private_data; in aoedisk_show_fwver() local
[all …]
/Linux-v6.6/drivers/gpu/drm/mcde/
Dmcde_dsi.c69 struct mcde_dsi *d; in mcde_dsi_irq() local
73 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq()
75 dev_dbg(d->dev, "%s called\n", __func__); in mcde_dsi_irq()
77 val = readl(d->regs + DSI_DIRECT_CMD_STS_FLAG); in mcde_dsi_irq()
79 dev_dbg(d->dev, "DSI_DIRECT_CMD_STS_FLAG = %08x\n", val); in mcde_dsi_irq()
81 dev_dbg(d->dev, "direct command write completed\n"); in mcde_dsi_irq()
84 dev_dbg(d->dev, "direct command TE received\n"); in mcde_dsi_irq()
87 dev_err(d->dev, "direct command ACK ERR received\n"); in mcde_dsi_irq()
89 dev_err(d->dev, "direct command read ERR received\n"); in mcde_dsi_irq()
91 writel(val, d->regs + DSI_DIRECT_CMD_STS_CLR); in mcde_dsi_irq()
[all …]
/Linux-v6.6/scripts/dtc/
Ddata.c8 void data_free(struct data d) in data_free() argument
12 m = d.markers; in data_free()
20 if (d.val) in data_free()
21 free(d.val); in data_free()
24 struct data data_grow_for(struct data d, unsigned int xlen) in data_grow_for() argument
30 return d; in data_grow_for()
32 nd = d; in data_grow_for()
36 while ((d.len + xlen) > newsize) in data_grow_for()
39 nd.val = xrealloc(d.val, newsize); in data_grow_for()
46 struct data d; in data_copy_mem() local
[all …]
/Linux-v6.6/tools/lib/bpf/
Dbtf_dump.c131 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument
133 return btf__name_by_offset(d->btf, name_off); in btf_name_of()
136 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() argument
141 d->printf_fn(d->cb_ctx, fmt, args); in btf_dump_printf()
145 static int btf_dump_mark_referenced(struct btf_dump *d);
146 static int btf_dump_resize(struct btf_dump *d);
153 struct btf_dump *d; in btf_dump__new() local
162 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new()
163 if (!d) in btf_dump__new()
166 d->btf = btf; in btf_dump__new()
[all …]
/Linux-v6.6/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_core.c22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument
27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware()
29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware()
34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware()
36 dev_err(&d->udev->dev, in dvb_usbv2_download_firmware()
42 dev_info(&d->udev->dev, "%s: downloading firmware from file '%s'\n", in dvb_usbv2_download_firmware()
45 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware()
52 dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, ret); in dvb_usbv2_download_firmware()
56 static int dvb_usbv2_i2c_init(struct dvb_usb_device *d) in dvb_usbv2_i2c_init() argument
59 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_i2c_init()
[all …]
/Linux-v6.6/drivers/mtd/
Dmtdswap.c160 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root) argument
161 #define TREE_EMPTY(d, name) (TREE_ROOT(d, name)->rb_node == NULL) argument
162 #define TREE_NONEMPTY(d, name) (!TREE_EMPTY(d, name)) argument
163 #define TREE_COUNT(d, name) (d->trees[MTDSWAP_ ## name].count) argument
182 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background);
184 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset() argument
186 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize; in mtdswap_eb_offset()
189 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach() argument
196 oldidx = tp - &d->trees[0]; in mtdswap_eb_detach()
198 d->trees[oldidx].count--; in mtdswap_eb_detach()
[all …]
/Linux-v6.6/drivers/base/regmap/
Dregmap-irq.c74 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local
76 mutex_lock(&d->lock); in regmap_irq_lock()
81 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local
82 struct regmap *map = d->map; in regmap_irq_sync_unlock()
87 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock()
94 if (d->clear_status) { in regmap_irq_sync_unlock()
95 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock()
96 reg = d->get_irq_reg(d, d->chip->status_base, i); in regmap_irq_sync_unlock()
100 dev_err(d->map->dev, in regmap_irq_sync_unlock()
104 d->clear_status = false; in regmap_irq_sync_unlock()
[all …]
/Linux-v6.6/drivers/clk/ti/
Dadpll.c173 static const char *ti_adpll_clk_get_name(struct ti_adpll_data *d, in ti_adpll_clk_get_name() argument
181 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name()
188 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name()
189 d->pa, postfix); in ti_adpll_clk_get_name()
197 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument
205 d->clocks[index].clk = clock; in ti_adpll_setup_clock()
206 d->clocks[index].unregister = unregister; in ti_adpll_setup_clock()
212 dev_warn(d->dev, "clock %s con_id lookup may fail\n", in ti_adpll_setup_clock()
214 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock()
218 d->clocks[index].cl = cl; in ti_adpll_setup_clock()
[all …]
/Linux-v6.6/drivers/sh/intc/
Dcore.c74 struct intc_desc_int *d, in intc_register_irq() argument
84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq()
95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq()
96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq()
106 data[0] = data[0] ? data[0] : intc_get_mask_handle(desc, d, enum_id, 1); in intc_register_irq()
107 data[1] = data[1] ? data[1] : intc_get_prio_handle(desc, d, enum_id, 1); in intc_register_irq()
117 irq_set_chip_and_handler_name(irq, &d->chip, handle_level_irq, in intc_register_irq()
132 hp = d->prio + d->nr_prio; in intc_register_irq()
144 d->nr_prio++; in intc_register_irq()
148 data[0] = intc_get_sense_handle(desc, d, enum_id); in intc_register_irq()
[all …]
/Linux-v6.6/arch/loongarch/mm/
Dpage.S14 add.d t0, t0, a0
16 st.d zero, a0, 0
17 st.d zero, a0, 8
18 st.d zero, a0, 16
19 st.d zero, a0, 24
20 st.d zero, a0, 32
21 st.d zero, a0, 40
22 st.d zero, a0, 48
23 st.d zero, a0, 56
24 addi.d a0, a0, 128
[all …]
/Linux-v6.6/tools/perf/util/
Ddlfilter.c71 static struct addr_location *get_al(struct dlfilter *d) in get_al() argument
73 struct addr_location *al = d->al; in get_al()
75 if (!al->thread && machine__resolve(d->machine, al, d->sample) < 0) in get_al()
80 static struct thread *get_thread(struct dlfilter *d) in get_thread() argument
82 struct addr_location *al = get_al(d); in get_thread()
89 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__resolve_ip() local
90 struct perf_dlfilter_al *d_al = d->d_ip_al; in dlfilter__resolve_ip()
93 if (!d->ctx_valid) in dlfilter__resolve_ip()
100 al = get_al(d); in dlfilter__resolve_ip()
106 d_al->is_kernel_ip = machine__kernel_ip(d->machine, d->sample->ip); in dlfilter__resolve_ip()
[all …]
/Linux-v6.6/drivers/thermal/intel/int340x_thermal/
Dint3406_thermal.c37 #define ACPI_TO_RAW(v, d) (d->raw_bd->props.max_brightness * v / 100) argument
38 #define RAW_TO_ACPI(v, d) (v * 100 / d->raw_bd->props.max_brightness) argument
44 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_max_state() local
46 *state = d->upper_limit - d->lower_limit; in int3406_thermal_get_max_state()
54 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_set_cur_state() local
57 if (state > d->upper_limit - d->lower_limit) in int3406_thermal_set_cur_state()
60 acpi_level = d->br->levels[d->upper_limit - state]; in int3406_thermal_set_cur_state()
62 raw_level = ACPI_TO_RAW(acpi_level, d); in int3406_thermal_set_cur_state()
64 return backlight_device_set_brightness(d->raw_bd, raw_level); in int3406_thermal_set_cur_state()
71 struct int3406_thermal_data *d = cooling_dev->devdata; in int3406_thermal_get_cur_state() local
[all …]
/Linux-v6.6/drivers/media/usb/dvb-usb/
Ddvb-usb-init.c26 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() argument
31 for (n = 0; n < d->props.num_adapters; n++) { in dvb_usb_adapter_init()
32 adap = &d->adapter[n]; in dvb_usb_adapter_init()
33 adap->dev = d; in dvb_usb_adapter_init()
36 memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties)); in dvb_usb_adapter_init()
41 if (d->udev->speed == USB_SPEED_FULL && !(props->caps & DVB_USB_ADAP_HAS_PID_FILTER)) { in dvb_usb_adapter_init()
46 if ((d->udev->speed == USB_SPEED_FULL && props->caps & DVB_USB_ADAP_HAS_PID_FILTER) || in dvb_usb_adapter_init()
98 d->num_adapters_initialized++; in dvb_usb_adapter_init()
99 d->state |= DVB_USB_STATE_DVB; in dvb_usb_adapter_init()
106 if (d->props.generic_bulk_ctrl_endpoint != 0) { in dvb_usb_adapter_init()
[all …]
Ddvb-usb-remote.c48 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_getkeycode() local
49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode()
50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode()
71 struct dvb_usb_device *d = input_get_drvdata(dev); in legacy_dvb_usb_setkeycode() local
72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode()
73 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_setkeycode()
111 struct dvb_usb_device *d = in legacy_dvb_usb_read_remote_control() local
123 if (d->props.rc.legacy.rc_query(d,&event,&state)) { in legacy_dvb_usb_read_remote_control()
134 d->last_event = event; in legacy_dvb_usb_read_remote_control()
135 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control()
[all …]
/Linux-v6.6/net/bluetooth/rfcomm/
Dcore.c58 static int rfcomm_queue_disc(struct rfcomm_dlc *d);
60 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d);
212 static int rfcomm_check_security(struct rfcomm_dlc *d) in rfcomm_check_security() argument
214 struct sock *sk = d->session->sock->sk; in rfcomm_check_security()
219 switch (d->sec_level) { in rfcomm_check_security()
232 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security()
233 d->out); in rfcomm_check_security()
263 struct rfcomm_dlc *d = from_timer(d, t, timer); in rfcomm_dlc_timeout() local
265 BT_DBG("dlc %p state %ld", d, d->state); in rfcomm_dlc_timeout()
267 set_bit(RFCOMM_TIMED_OUT, &d->flags); in rfcomm_dlc_timeout()
[all …]
/Linux-v6.6/lib/crypto/
Ddes.c582 #define ROUND(L, R, A, B, K, d) \ argument
583 B = K[0]; A = K[1]; K += d; \
609 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument
626 unsigned long a, b, c, d, w; in des_ekey() local
629 d = k[4]; d &= 0x0e; d <<= 4; d |= k[0] & 0x1e; d = pc1[d]; in des_ekey()
634 pe[15 * 2 + 0] = DES_PC2(a, b, c, d); d = rs[d]; in des_ekey()
635 pe[14 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey()
636 pe[13 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey()
637 pe[12 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey()
638 pe[11 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey()
[all …]
/Linux-v6.6/net/core/
Dgen_stats.c24 gnet_stats_copy(struct gnet_dump *d, int type, void *buf, int size, int padattr) in gnet_stats_copy() argument
26 if (nla_put_64bit(d->skb, type, size, buf, padattr)) in gnet_stats_copy()
31 if (d->lock) in gnet_stats_copy()
32 spin_unlock_bh(d->lock); in gnet_stats_copy()
33 kfree(d->xstats); in gnet_stats_copy()
34 d->xstats = NULL; in gnet_stats_copy()
35 d->xstats_len = 0; in gnet_stats_copy()
61 struct gnet_dump *d, int padattr) in gnet_stats_start_copy_compat() argument
64 memset(d, 0, sizeof(*d)); in gnet_stats_start_copy_compat()
67 d->tail = (struct nlattr *)skb_tail_pointer(skb); in gnet_stats_start_copy_compat()
[all …]
/Linux-v6.6/arch/loongarch/lib/
Dmemmove.S48 add.d a0, a0, a2
49 add.d a1, a1, a2
53 addi.d a0, a0, -1
54 addi.d a1, a1, -1
55 addi.d a2, a2, -1
74 add.d a3, a1, a2
75 add.d a2, a0, a2
76 ld.d a6, a1, 0
77 ld.d a7, a3, -8
81 sub.d a3, a3, t1
[all …]
/Linux-v6.6/drivers/soc/fsl/dpio/
Ddpio-service.c57 static inline struct dpaa2_io *service_select_by_cpu(struct dpaa2_io *d, in service_select_by_cpu() argument
60 if (d) in service_select_by_cpu()
61 return d; in service_select_by_cpu()
77 static inline struct dpaa2_io *service_select(struct dpaa2_io *d) in service_select() argument
79 if (d) in service_select()
80 return d; in service_select()
82 d = service_select_by_cpu(d, -1); in service_select()
83 if (d) in service_select()
84 return d; in service_select()
87 d = list_entry(dpio_list.next, struct dpaa2_io, node); in service_select()
[all …]

12345678910>>...127