/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 37 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument 39 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 41 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 44 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 46 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 48 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 51 static void ast_vhub_dev_enable(struct ast_vhub_dev *d) in ast_vhub_dev_enable() argument 55 if (d->enabled) in ast_vhub_dev_enable() 59 ast_vhub_reset_ep0(d); in ast_vhub_dev_enable() 66 if (d->gadget.speed == USB_SPEED_HIGH) in ast_vhub_dev_enable() [all …]
|
/kernel/linux/linux-4.19/lib/raid6/ |
D | avx2.c | 46 int d, z, z0; in raid6_avx21_gen_syndrome() local 57 for (d = 0; d < bytes; d += 32) { in raid6_avx21_gen_syndrome() 58 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_avx21_gen_syndrome() 59 asm volatile("vmovdqa %0,%%ymm2" : : "m" (dptr[z0][d]));/* P[0] */ in raid6_avx21_gen_syndrome() 60 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 62 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z0-1][d])); in raid6_avx21_gen_syndrome() 64 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 71 asm volatile("vmovdqa %0,%%ymm6" : : "m" (dptr[z][d])); in raid6_avx21_gen_syndrome() 80 asm volatile("vmovntdq %%ymm2,%0" : "=m" (p[d])); in raid6_avx21_gen_syndrome() 82 asm volatile("vmovntdq %%ymm4,%0" : "=m" (q[d])); in raid6_avx21_gen_syndrome() [all …]
|
D | sse2.c | 45 int d, z, z0; in raid6_sse21_gen_syndrome() local 56 for ( d = 0 ; d < bytes ; d += 16 ) { in raid6_sse21_gen_syndrome() 57 asm volatile("prefetchnta %0" : : "m" (dptr[z0][d])); in raid6_sse21_gen_syndrome() 58 asm volatile("movdqa %0,%%xmm2" : : "m" (dptr[z0][d])); /* P[0] */ in raid6_sse21_gen_syndrome() 59 asm volatile("prefetchnta %0" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 61 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z0-1][d])); in raid6_sse21_gen_syndrome() 63 asm volatile("prefetchnta %0" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 71 asm volatile("movdqa %0,%%xmm6" : : "m" (dptr[z][d])); in raid6_sse21_gen_syndrome() 81 asm volatile("movntdq %%xmm2,%0" : "=m" (p[d])); in raid6_sse21_gen_syndrome() 83 asm volatile("movntdq %%xmm4,%0" : "=m" (q[d])); in raid6_sse21_gen_syndrome() [all …]
|
D | avx512.c | 53 int d, z, z0; in raid6_avx5121_gen_syndrome() local 66 for (d = 0; d < bytes; d += 64) { in raid6_avx5121_gen_syndrome() 73 : "m" (dptr[z0][d]), "m" (dptr[z0-1][d])); in raid6_avx5121_gen_syndrome() 85 : "m" (dptr[z][d])); in raid6_avx5121_gen_syndrome() 99 : "m" (p[d]), "m" (q[d])); in raid6_avx5121_gen_syndrome() 111 int d, z, z0; in raid6_avx5121_xor_syndrome() local 122 for (d = 0 ; d < bytes ; d += 64) { in raid6_avx5121_xor_syndrome() 127 : "m" (dptr[z0][d]), "m" (p[d])); in raid6_avx5121_xor_syndrome() 140 : "m" (dptr[z][d])); in raid6_avx5121_xor_syndrome() 158 : "m" (q[d]), "m" (p[d])); in raid6_avx5121_xor_syndrome() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-4.19/drivers/usb/gadget/udc/aspeed-vhub/ |
D | dev.c | 37 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument 39 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 41 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 44 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 46 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 48 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 51 static void ast_vhub_dev_enable(struct ast_vhub_dev *d) in ast_vhub_dev_enable() argument 55 if (d->enabled) in ast_vhub_dev_enable() 63 if (d->gadget.speed == USB_SPEED_HIGH) in ast_vhub_dev_enable() 65 writel(reg, d->regs + AST_VHUB_DEV_EN_CTRL); in ast_vhub_dev_enable() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-4.19/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 …]
|
/kernel/linux/linux-5.10/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, 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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-4.19/scripts/dtc/ |
D | data.c | 23 void data_free(struct data d) in data_free() argument 27 m = d.markers; in data_free() 35 if (d.val) in data_free() 36 free(d.val); in data_free() 39 struct data data_grow_for(struct data d, int xlen) in data_grow_for() argument 45 return d; in data_grow_for() 47 nd = d; in data_grow_for() 51 while ((d.len + xlen) > newsize) in data_grow_for() 54 nd.val = xrealloc(d.val, newsize); in data_grow_for() 61 struct data d; in data_copy_mem() local [all …]
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | btf_dump.c | 104 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument 106 return btf__name_by_offset(d->btf, name_off); in btf_name_of() 109 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() argument 114 d->printf_fn(d->opts.ctx, fmt, args); in btf_dump_printf() 118 static int btf_dump_mark_referenced(struct btf_dump *d); 119 static int btf_dump_resize(struct btf_dump *d); 126 struct btf_dump *d; in btf_dump__new() local 129 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new() 130 if (!d) in btf_dump__new() 133 d->btf = btf; in btf_dump__new() [all …]
|
/kernel/linux/linux-4.19/drivers/base/regmap/ |
D | regmap-irq.c | 58 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local 60 mutex_lock(&d->lock); in regmap_irq_lock() 63 static int regmap_irq_update_bits(struct regmap_irq_chip_data *d, in regmap_irq_update_bits() argument 67 if (d->chip->mask_writeonly) in regmap_irq_update_bits() 68 return regmap_write_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 70 return regmap_update_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 75 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local 76 struct regmap *map = d->map; in regmap_irq_sync_unlock() 81 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() 93 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock() [all …]
|
/kernel/linux/linux-4.19/drivers/mtd/ |
D | mtdswap.c | 173 #define TREE_ROOT(d, name) (&d->trees[MTDSWAP_ ## name].root) argument 174 #define TREE_EMPTY(d, name) (TREE_ROOT(d, name)->rb_node == NULL) argument 175 #define TREE_NONEMPTY(d, name) (!TREE_EMPTY(d, name)) argument 176 #define TREE_COUNT(d, name) (d->trees[MTDSWAP_ ## name].count) argument 195 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background); 197 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_offset() argument 199 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize; in mtdswap_eb_offset() 202 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) in mtdswap_eb_detach() argument 209 oldidx = tp - &d->trees[0]; in mtdswap_eb_detach() 211 d->trees[oldidx].count--; in mtdswap_eb_detach() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-4.19/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_core.c | 35 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument 40 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware() 42 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware() 47 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware() 49 dev_err(&d->udev->dev, in dvb_usbv2_download_firmware() 55 dev_info(&d->udev->dev, "%s: downloading firmware from file '%s'\n", in dvb_usbv2_download_firmware() 58 ret = d->props->download_firmware(d, fw); in dvb_usbv2_download_firmware() 65 dev_dbg(&d->udev->dev, "%s: failed=%d\n", __func__, ret); in dvb_usbv2_download_firmware() 69 static int dvb_usbv2_i2c_init(struct dvb_usb_device *d) in dvb_usbv2_i2c_init() argument 72 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_i2c_init() [all …]
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
D | regmap-irq.c | 57 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local 59 mutex_lock(&d->lock); in regmap_irq_lock() 62 static int regmap_irq_update_bits(struct regmap_irq_chip_data *d, in regmap_irq_update_bits() argument 66 if (d->chip->mask_writeonly) in regmap_irq_update_bits() 67 return regmap_write_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 69 return regmap_update_bits(d->map, reg, mask, val); in regmap_irq_update_bits() 74 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local 75 struct regmap *map = d->map; in regmap_irq_sync_unlock() 81 if (d->chip->runtime_pm) { in regmap_irq_sync_unlock() 88 if (d->clear_status) { in regmap_irq_sync_unlock() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/ti/ |
D | adpll.c | 182 static const char *ti_adpll_clk_get_name(struct ti_adpll_data *d, in ti_adpll_clk_get_name() argument 190 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name() 197 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name() 198 d->pa, postfix); in ti_adpll_clk_get_name() 206 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument 214 d->clocks[index].clk = clock; in ti_adpll_setup_clock() 215 d->clocks[index].unregister = unregister; in ti_adpll_setup_clock() 221 dev_warn(d->dev, "clock %s con_id lookup may fail\n", in ti_adpll_setup_clock() 223 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock() 227 d->clocks[index].cl = cl; in ti_adpll_setup_clock() [all …]
|
/kernel/linux/linux-4.19/drivers/clk/ti/ |
D | adpll.c | 181 static const char *ti_adpll_clk_get_name(struct ti_adpll_data *d, in ti_adpll_clk_get_name() argument 189 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name() 196 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name() 197 d->pa, postfix); in ti_adpll_clk_get_name() 205 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument 213 d->clocks[index].clk = clock; in ti_adpll_setup_clock() 214 d->clocks[index].unregister = unregister; in ti_adpll_setup_clock() 220 dev_warn(d->dev, "clock %s con_id lookup may fail\n", in ti_adpll_setup_clock() 222 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock() 226 d->clocks[index].cl = cl; in ti_adpll_setup_clock() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-4.19/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 …]
|
/kernel/linux/linux-4.19/net/core/ |
D | gen_stats.c | 28 gnet_stats_copy(struct gnet_dump *d, int type, void *buf, int size, int padattr) in gnet_stats_copy() argument 30 if (nla_put_64bit(d->skb, type, size, buf, padattr)) in gnet_stats_copy() 35 if (d->lock) in gnet_stats_copy() 36 spin_unlock_bh(d->lock); in gnet_stats_copy() 37 kfree(d->xstats); in gnet_stats_copy() 38 d->xstats = NULL; in gnet_stats_copy() 39 d->xstats_len = 0; in gnet_stats_copy() 65 struct gnet_dump *d, int padattr) in gnet_stats_start_copy_compat() argument 68 memset(d, 0, sizeof(*d)); in gnet_stats_start_copy_compat() 71 d->tail = (struct nlattr *)skb_tail_pointer(skb); in gnet_stats_start_copy_compat() [all …]
|