/linux-6.1.9/lib/raid6/ |
D | avx2.c | 38 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 …]
|
D | sse2.c | 40 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 …]
|
D | avx512.c | 48 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 …]
|
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 32 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument 34 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 36 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 39 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 41 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 43 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 46 static void ast_vhub_dev_enable(struct ast_vhub_dev *d) in ast_vhub_dev_enable() argument 50 if (d->enabled) in ast_vhub_dev_enable() 54 ast_vhub_reset_ep0(d); in ast_vhub_dev_enable() 61 if (d->gadget.speed == USB_SPEED_HIGH) in ast_vhub_dev_enable() [all …]
|
/linux-6.1.9/drivers/block/aoe/ |
D | aoedev.c | 18 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 …]
|
D | aoeblk.c | 37 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-6.1.9/scripts/dtc/ |
D | data.c | 8 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-6.1.9/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 69 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-6.1.9/tools/lib/bpf/ |
D | btf_dump.c | 130 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument 132 return btf__name_by_offset(d->btf, name_off); in btf_name_of() 135 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() argument 140 d->printf_fn(d->cb_ctx, fmt, args); in btf_dump_printf() 144 static int btf_dump_mark_referenced(struct btf_dump *d); 145 static int btf_dump_resize(struct btf_dump *d); 152 struct btf_dump *d; in btf_dump__new() local 161 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new() 162 if (!d) in btf_dump__new() 165 d->btf = btf; in btf_dump__new() [all …]
|
/linux-6.1.9/drivers/base/regmap/ |
D | regmap-irq.c | 78 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local 80 mutex_lock(&d->lock); in regmap_irq_lock() 85 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local 86 struct regmap *map = d->map; in regmap_irq_sync_unlock() 91 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() 98 if (d->clear_status) { in regmap_irq_sync_unlock() 99 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() 100 reg = d->get_irq_reg(d, d->chip->status_base, i); in regmap_irq_sync_unlock() 104 dev_err(d->map->dev, in regmap_irq_sync_unlock() 108 d->clear_status = false; in regmap_irq_sync_unlock() [all …]
|
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_core.c | 22 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-6.1.9/drivers/mtd/ |
D | mtdswap.c | 160 #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-6.1.9/drivers/clk/ti/ |
D | adpll.c | 173 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-6.1.9/drivers/sh/intc/ |
D | core.c | 74 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-6.1.9/arch/loongarch/mm/ |
D | page.S | 14 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-6.1.9/arch/loongarch/kernel/ |
D | fpu.S | 30 EX fst.d $f0, \base, (0 * FPU_REG_WIDTH) 31 EX fst.d $f1, \base, (1 * FPU_REG_WIDTH) 32 EX fst.d $f2, \base, (2 * FPU_REG_WIDTH) 33 EX fst.d $f3, \base, (3 * FPU_REG_WIDTH) 34 EX fst.d $f4, \base, (4 * FPU_REG_WIDTH) 35 EX fst.d $f5, \base, (5 * FPU_REG_WIDTH) 36 EX fst.d $f6, \base, (6 * FPU_REG_WIDTH) 37 EX fst.d $f7, \base, (7 * FPU_REG_WIDTH) 38 EX fst.d $f8, \base, (8 * FPU_REG_WIDTH) 39 EX fst.d $f9, \base, (9 * FPU_REG_WIDTH) [all …]
|
/linux-6.1.9/drivers/thermal/intel/int340x_thermal/ |
D | int3406_thermal.c | 37 #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-6.1.9/tools/perf/util/ |
D | dlfilter.c | 68 static struct addr_location *get_al(struct dlfilter *d) in get_al() argument 70 struct addr_location *al = d->al; in get_al() 72 if (!al->thread && machine__resolve(d->machine, al, d->sample) < 0) in get_al() 77 static struct thread *get_thread(struct dlfilter *d) in get_thread() argument 79 struct addr_location *al = get_al(d); in get_thread() 86 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__resolve_ip() local 87 struct perf_dlfilter_al *d_al = d->d_ip_al; in dlfilter__resolve_ip() 90 if (!d->ctx_valid) in dlfilter__resolve_ip() 97 al = get_al(d); in dlfilter__resolve_ip() 103 d_al->is_kernel_ip = machine__kernel_ip(d->machine, d->sample->ip); in dlfilter__resolve_ip() [all …]
|
/linux-6.1.9/drivers/media/usb/dvb-usb/ |
D | dvb-usb-init.c | 26 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 …]
|
D | dvb-usb-remote.c | 48 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-6.1.9/arch/loongarch/include/asm/ |
D | asmmacro.h | 121 stptr.d s0, \thread, THREAD_REG23 122 stptr.d s1, \thread, THREAD_REG24 123 stptr.d s2, \thread, THREAD_REG25 124 stptr.d s3, \thread, THREAD_REG26 125 stptr.d s4, \thread, THREAD_REG27 126 stptr.d s5, \thread, THREAD_REG28 127 stptr.d s6, \thread, THREAD_REG29 128 stptr.d s7, \thread, THREAD_REG30 129 stptr.d s8, \thread, THREAD_REG31 130 stptr.d sp, \thread, THREAD_REG03 [all …]
|
/linux-6.1.9/net/bluetooth/rfcomm/ |
D | core.c | 56 static int rfcomm_queue_disc(struct rfcomm_dlc *d); 58 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d); 208 static int rfcomm_check_security(struct rfcomm_dlc *d) in rfcomm_check_security() argument 210 struct sock *sk = d->session->sock->sk; in rfcomm_check_security() 215 switch (d->sec_level) { in rfcomm_check_security() 228 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security() 229 d->out); in rfcomm_check_security() 259 struct rfcomm_dlc *d = from_timer(d, t, timer); in rfcomm_dlc_timeout() local 261 BT_DBG("dlc %p state %ld", d, d->state); in rfcomm_dlc_timeout() 263 set_bit(RFCOMM_TIMED_OUT, &d->flags); in rfcomm_dlc_timeout() [all …]
|
/linux-6.1.9/lib/crypto/ |
D | des.c | 582 #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-6.1.9/net/core/ |
D | gen_stats.c | 24 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-6.1.9/drivers/soc/fsl/dpio/ |
D | dpio-service.c | 57 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 …]
|