/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
A D | dev.c | 214 if (!d->driver || !d->enabled) { in ast_vhub_std_dev_request() 217 d->driver, d->enabled); in ast_vhub_std_dev_request() 230 if (d->gadget.speed > d->driver->max_speed) in ast_vhub_std_dev_request() 231 d->gadget.speed = d->driver->max_speed; in ast_vhub_std_dev_request() 467 if (d->driver && d->driver->suspend) { in ast_vhub_dev_suspend() 469 d->driver->suspend(&d->gadget); in ast_vhub_dev_suspend() 476 if (d->driver && d->driver->resume) { in ast_vhub_dev_resume() 478 d->driver->resume(&d->gadget); in ast_vhub_dev_resume() 543 ast_vhub_init_ep0(vhub, &d->ep0, d); in ast_vhub_init_dev() 550 d->epns = kcalloc(d->max_epns, sizeof(*d->epns), GFP_KERNEL); in ast_vhub_init_dev() [all …]
|
/linux/lib/raid6/ |
A 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() 87 int d, z, z0; in raid6_avx21_xor_syndrome() local 97 for (d = 0 ; d < bytes ; d += 32) { in raid6_avx21_xor_syndrome() 145 int d, z, z0; in raid6_avx22_gen_syndrome() local 157 for (d = 0; d < bytes; d += 64) { in raid6_avx22_gen_syndrome() 197 int d, z, z0; in raid6_avx22_xor_syndrome() local 207 for (d = 0 ; d < bytes ; d += 64) { in raid6_avx22_xor_syndrome() 277 int d, z, z0; in raid6_avx24_gen_syndrome() local 296 for (d = 0; d < bytes; d += 128) { in raid6_avx24_gen_syndrome() [all …]
|
A 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() 92 int d, z, z0; in raid6_sse21_xor_syndrome() local 102 for ( d = 0 ; d < bytes ; d += 16 ) { in raid6_sse21_xor_syndrome() 150 int d, z, z0; in raid6_sse22_gen_syndrome() local 163 for ( d = 0 ; d < bytes ; d += 32 ) { in raid6_sse22_gen_syndrome() 203 int d, z, z0; in raid6_sse22_xor_syndrome() local 213 for ( d = 0 ; d < bytes ; d += 32 ) { in raid6_sse22_xor_syndrome() 282 int d, z, z0; in raid6_sse24_gen_syndrome() local 304 for ( d = 0 ; d < bytes ; d += 64 ) { in raid6_sse24_gen_syndrome() [all …]
|
A D | avx512.c | 61 for (d = 0; d < bytes; d += 64) { in raid6_avx5121_gen_syndrome() 117 for (d = 0 ; d < bytes ; d += 64) { in raid6_avx5121_xor_syndrome() 189 for (d = 0; d < bytes; d += 128) { in raid6_avx5122_gen_syndrome() 225 : "m" (p[d]), "m" (p[d+64]), "m" (q[d]), in raid6_avx5122_gen_syndrome() 249 for (d = 0 ; d < bytes ; d += 128) { in raid6_avx5122_xor_syndrome() 309 : "m" (q[d]), "m" (q[d+64]), "m" (p[d]), in raid6_avx5122_xor_syndrome() 355 for (d = 0; d < bytes; d += 256) { in raid6_avx5124_gen_syndrome() 414 : "m" (p[d]), "m" (p[d+64]), "m" (p[d+128]), in raid6_avx5124_gen_syndrome() 415 "m" (p[d+192]), "m" (q[d]), "m" (q[d+64]), in raid6_avx5124_gen_syndrome() 439 for (d = 0 ; d < bytes ; d += 256) { in raid6_avx5124_xor_syndrome() [all …]
|
/linux/tools/lib/bpf/ |
A D | btf_dump.c | 141 d->printf_fn(d->opts.ctx, fmt, args); in btf_dump_printf() 157 if (!d) in btf_dump__new() 160 d->btf = btf; in btf_dump__new() 183 return d; in btf_dump__new() 239 free(d); in btf_dump__free() 364 if (d->emit_queue_cnt >= d->emit_queue_cap) { in btf_dump_add_emit_queue_id() 373 d->emit_queue[d->emit_queue_cnt++] = id; in btf_dump_add_emit_queue_id() 1046 if (d->decl_stack_cnt >= d->decl_stack_cap) { in btf_dump_push_decl_stack_id() 1055 d->decl_stack[d->decl_stack_cnt++] = id; in btf_dump_push_decl_stack_id() 1765 double d; member [all …]
|
/linux/drivers/block/aoe/ |
A D | aoedev.c | 143 d->ref--; in aoedev_put() 152 d = from_timer(d, t, timer); in dummy_timer() 166 aoe_failbuf(d, d->ip.buf); in aoe_failip() 328 for (d = devlist; d; d = d->next) { in flush() 359 for (d = devlist; d; d = d->next) { in flush() 372 for (dd = &devlist, d = *dd; d; d = *dd) { in flush() 448 for (d=devlist; d; d=d->next) in aoedev_by_aoeaddr() 449 if (d->aoemajor == maj && d->aoeminor == min) { in aoedev_by_aoeaddr() 462 d = kcalloc(1, sizeof *d, GFP_ATOMIC); in aoedev_by_aoeaddr() 463 if (!d) in aoedev_by_aoeaddr() [all …]
|
A D | aoeblk.c | 43 (d->nopen && !(d->flags & DEVFL_UP)) ? ",closewait" : ""); in aoedisk_show_state() 230 if (!(d->flags & DEVFL_UP) || d->flags & DEVFL_TKILL) in aoeblk_open() 235 if (d->flags & DEVFL_UP && !(d->flags & DEVFL_TKILL)) { in aoeblk_open() 236 d->nopen++; in aoeblk_open() 256 aoecmd_cfg(d->aoemajor, d->aoeminor); in aoeblk_release() 271 d->aoemajor, d->aoeminor); in aoeblk_queue_rq() 367 d->aoemajor, d->aoeminor); in aoeblk_gdalloc() 381 d->aoemajor, d->aoeminor); in aoeblk_gdalloc() 388 d->aoemajor, d->aoeminor); in aoeblk_gdalloc() 402 d->gd = gd; in aoeblk_gdalloc() [all …]
|
/linux/drivers/gpu/drm/mcde/ |
A D | mcde_dsi.c | 150 d->mcde->mdsi = d->mdsi; in mcde_dsi_attach_to_mcde() 187 if (d->mcde) in mcde_dsi_host_attach() 199 if (d->mcde) in mcde_dsi_host_detach() 877 d->lp_freq = clk_round_rate(d->lp_clk, lp_freq); in mcde_dsi_enable() 878 ret = clk_set_rate(d->lp_clk, d->lp_freq); in mcde_dsi_enable() 883 d->hs_freq = clk_round_rate(d->hs_clk, hs_freq); in mcde_dsi_enable() 884 ret = clk_set_rate(d->hs_clk, d->hs_freq); in mcde_dsi_enable() 920 mcde_dsi_setup_video_mode(d, d->mode); in mcde_dsi_enable() 1175 d = devm_kzalloc(dev, sizeof(*d), GFP_KERNEL); in mcde_dsi_probe() 1176 if (!d) in mcde_dsi_probe() [all …]
|
/linux/ |
A D | System.map | 126086 ffff80001186b7a8 d __efistub_$d 127537 ffff8000118b2f42 d __efistub_$d 127538 ffff8000118b3414 d __efistub_$d 127539 ffff8000118b3420 d __efistub_$d 127540 ffff8000118b344c d __efistub_$d 127541 ffff8000118b34d0 d __efistub_$d 127544 ffff8000118b37d0 d __efistub_$d 127546 ffff8000118b37f8 d __efistub_$d 127547 ffff8000118b38a0 d __efistub_$d 129557 ffff8000118c5b48 d __efistub_$d [all …]
|
A D | .tmp_System.map | 126086 ffff80001186b7a8 d __efistub_$d 127537 ffff8000118b2f42 d __efistub_$d 127538 ffff8000118b3414 d __efistub_$d 127539 ffff8000118b3420 d __efistub_$d 127540 ffff8000118b344c d __efistub_$d 127541 ffff8000118b34d0 d __efistub_$d 127544 ffff8000118b37d0 d __efistub_$d 127546 ffff8000118b37f8 d __efistub_$d 127547 ffff8000118b38a0 d __efistub_$d 129557 ffff8000118c5b48 d __efistub_$d [all …]
|
/linux/scripts/dtc/ |
A D | data.c | 32 nd = d; in data_grow_for() 63 d = data_grow_for(d, len + 1); in data_copy_escape_string() 83 d = data_add_marker(d, TYPE_NONE, NULL); in data_copy_file() 92 d = data_grow_for(d, chunksize); in data_copy_file() 98 if (d.len + ret < d.len) in data_copy_file() 109 d = data_grow_for(d, len); in data_append_data() 110 memcpy(d.val + d.len, p, len); in data_append_data() 118 d = data_grow_for(d, len); in data_insert_at_marker() 119 memmove(d.val + m->offset + len, d.val + m->offset, d.len - m->offset); in data_insert_at_marker() 214 d = data_grow_for(d, len); in data_append_zeroes() [all …]
|
/linux/drivers/media/usb/dvb-usb-v2/ |
A D | dvb_usb_core.c | 64 strscpy(d->i2c_adap.name, d->name, sizeof(d->i2c_adap.name)); in dvb_usbv2_i2c_init() 107 ret = d->rc.query(d); in dvb_usb_read_remote_control() 128 d->rc.map_name = d->rc_map; in dvb_usbv2_remote_init() 129 ret = d->props->get_rc_config(d, &d->rc); in dvb_usbv2_remote_init() 145 usb_make_path(d->udev, d->rc_phys, sizeof(d->rc_phys)); in dvb_usbv2_remote_init() 871 ret = d->props->init(d); in dvb_usbv2_init() 940 ret = d->props->probe(d); in dvb_usbv2_probe() 995 d->props->disconnect(d); in dvb_usbv2_probe() 1016 d->props->exit(d); in dvb_usbv2_disconnect() 1021 d->props->disconnect(d); in dvb_usbv2_disconnect() [all …]
|
/linux/drivers/mtd/ |
A D | mtdswap.c | 162 #define TREE_NONEMPTY(d, name) (!TREE_EMPTY(d, name)) argument 186 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize; in mtdswap_eb_offset() 347 (d->oob_buf + d->mtd->oobavail); in mtdswap_read_markers() 593 *block = (d->curr_write - d->eb_data) * d->pages_per_eblk + in mtdswap_map_free_block() 605 return TREE_COUNT(d, CLEAN) * d->pages_per_eblk + in mtdswap_free_page_cnt() 606 d->pages_per_eblk - d->curr_write_pos; in mtdswap_free_page_cnt() 630 eb = d->eb_data + (*bp / d->pages_per_eblk); in mtdswap_write_block() 721 eb = d->eb_data + oldblock / d->pages_per_eblk; in mtdswap_move_block() 852 TREE_EMPTY(d, DIRTY) && TREE_EMPTY(d, FAILING)) in mtdswap_pick_gc_eblk() 1042 eb = d->eb_data + (mapped / d->pages_per_eblk); in mtdswap_writesect() [all …]
|
/linux/drivers/base/regmap/ |
A D | regmap-irq.c | 135 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_irq_sync_unlock() 139 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_irq_sync_unlock() 153 d->mask_buf_def[i], d->mask_buf[i]); in regmap_irq_sync_unlock() 182 if (d->mask_buf[i] && (d->chip->ack_base || d->chip->use_ack)) { in regmap_irq_sync_unlock() 212 d->type_buf_def[i], ~d->type_buf[i]); in regmap_irq_sync_unlock() 215 d->type_buf_def[i], d->type_buf[i]); in regmap_irq_sync_unlock() 670 d = kzalloc(sizeof(*d), GFP_KERNEL); in regmap_add_irq_chip_fwnode() 770 d->mask_buf[i] = d->mask_buf_def[i]; in regmap_add_irq_chip_fwnode() 778 d->mask_buf[i], ~d->mask_buf[i]); in regmap_add_irq_chip_fwnode() 788 d->mask_buf[i], d->mask_buf[i]); in regmap_add_irq_chip_fwnode() [all …]
|
/linux/drivers/clk/ti/ |
A D | adpll.c | 498 d->outputs.clks = devm_kcalloc(d->dev, in ti_adpll_init_dco() 533 clock = devm_clk_register(d->dev, &d->dco.hw); in ti_adpll_init_dco() 819 of_clk_parent_fill(d->np, d->parent_names, nr_inputs); in ti_adpll_init_inputs() 821 clock = devm_clk_get(d->dev, d->parent_names[0]); in ti_adpll_init_inputs() 828 clock = devm_clk_get(d->dev, d->parent_names[1]); in ti_adpll_init_inputs() 836 clock = devm_clk_get(d->dev, d->parent_names[2]); in ti_adpll_init_inputs() 884 d = devm_kzalloc(dev, sizeof(*d), GFP_KERNEL); in ti_adpll_probe() 885 if (!d) in ti_adpll_probe() 887 d->dev = dev; in ti_adpll_probe() 890 dev_set_drvdata(d->dev, d); in ti_adpll_probe() [all …]
|
/linux/drivers/sh/intc/ |
A D | core.c | 132 hp = d->prio + d->nr_prio; in intc_register_irq() 150 (d->sense + d->nr_sense)->irq = irq; in intc_register_irq() 151 (d->sense + d->nr_sense)->handle = data[0]; in intc_register_irq() 207 d = kzalloc(sizeof(*d), GFP_NOWAIT); in register_intc_controller() 208 if (!d) in register_intc_controller() 221 d->window = kcalloc(d->nr_windows, sizeof(*d->window), in register_intc_controller() 248 d->reg = kcalloc(d->nr_reg, sizeof(*d->reg), GFP_NOWAIT); in register_intc_controller() 253 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller() 311 d->chip.irq_mask_ack = d->chip.irq_disable; in register_intc_controller() 390 kfree(d); in register_intc_controller() [all …]
|
/linux/tools/perf/util/ |
A D | dlfilter.c | 147 if (!d->ctx_valid && !d->in_start && !d->in_stop) in dlfilter__args() 339 memset(d, 0, sizeof(*d)); in dlfilter__init() 355 d->handle = dlopen(d->file, RTLD_NOW); in dlfilter__open() 360 d->start = dlsym(d->handle, "start"); in dlfilter__open() 363 d->stop = dlsym(d->handle, "stop"); in dlfilter__open() 377 struct dlfilter *d = malloc(sizeof(*d)); in dlfilter__new() local 413 ret = d->start(&d->data, d); in dlfilter__start() 423 if (d && d->stop) { in dlfilter__stop() 427 ret = d->stop(d->data, d); in dlfilter__stop() 524 ret = d->filter_event_early(d->data, &d_sample, d); in dlfilter__do_filter_event() [all …]
|
/linux/net/bluetooth/rfcomm/ |
A D | core.c | 454 d, d->state, d->dlci, err, s); in __rfcomm_dlc_close() 489 d->state_change(d, err); in __rfcomm_dlc_close() 652 d, d->state, v24_sig); in rfcomm_dlc_set_modem_status() 670 d, d->state, d->v24_sig); in rfcomm_dlc_get_modem_status() 1218 d->state_change(d, 0); in rfcomm_recv_ua() 1329 d->state_change(d, 0); in rfcomm_dlc_accept() 1347 d->state_change(d, 0); in rfcomm_check_accept() 1724 d->data_ready(d, skb); in rfcomm_recv_data() 1830 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx() 1841 rfcomm_send_credits(d->session, d->addr, d->cfc - d->rx_credits); in rfcomm_process_tx() [all …]
|
/linux/drivers/media/usb/dvb-usb/ |
A D | dvb-usb-init.c | 107 usb_clear_halt(d->udev, usb_sndbulkpipe(d->udev, d->props.generic_bulk_ctrl_endpoint)); in dvb_usb_adapter_init() 108 usb_clear_halt(d->udev, usb_rcvbulkpipe(d->udev, d->props.generic_bulk_ctrl_endpoint)); in dvb_usb_adapter_init() 147 d->props.priv_destroy(d); in dvb_usb_exit() 150 kfree(d); in dvb_usb_exit() 172 ret = d->props.priv_init(d); in dvb_usb_init() 199 if (d->priv && d->props.priv_destroy) in dvb_usb_init() 200 d->props.priv_destroy(d); in dvb_usb_init() 257 return d->props.power_ctrl(d, onoff); in dvb_usb_device_power_ctrl() 279 d = kzalloc(sizeof(*d), GFP_KERNEL); in dvb_usb_device_init() 280 if (!d) { in dvb_usb_device_init() [all …]
|
A D | dvb-usb-remote.c | 123 if (d->props.rc.legacy.rc_query(d,&event,&state)) { in legacy_dvb_usb_read_remote_control() 137 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 144 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 205 d->rc_dev = NULL; in legacy_dvb_usb_remote_init() 261 err = d->props.rc.core.rc_query(d); in dvb_usb_read_remote_control() 286 dev->priv = d; in rc_core_dvb_usb_remote_init() 296 d->rc_dev = dev; in rc_core_dvb_usb_remote_init() 298 if (!d->props.rc.core.rc_query || d->props.rc.core.bulk_mode) in rc_core_dvb_usb_remote_init() 320 if (d->props.rc.legacy.rc_map_table && d->props.rc.legacy.rc_query) in dvb_usb_remote_init() 327 usb_make_path(d->udev, d->rc_phys, sizeof(d->rc_phys)); in dvb_usb_remote_init() [all …]
|
/linux/lib/crypto/ |
A D | des.c | 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() 657 d = k[0]; d &= 0xe0; d >>= 4; d |= k[4] & 0xf0; d = pc1[d + 1]; in des_ekey() 665 pe[15 * 2 + 1] = DES_PC2(a, b, c, d); d = rs[d]; in des_ekey() 683 for (d = 0; d < 16; ++d) { in des_ekey() 720 d = k[4]; d &= 0x0e; d <<= 4; d |= k[0] & 0x1e; d = pc1[d]; in dkey() 725 pe[ 0 * 2] = DES_PC2(a, b, c, d); d = rs[d]; in dkey() 727 pe[ 2 * 2] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in dkey() 745 d = k[0]; d &= 0xe0; d >>= 4; d |= k[4] & 0xf0; d = pc1[d + 1]; in dkey() 750 pe[ 0 * 2 + 1] = DES_PC2(a, b, c, d); d = rs[d]; in dkey() [all …]
|
/linux/drivers/thermal/intel/int340x_thermal/ |
A D | int3406_thermal.c | 46 *state = d->upper_limit - d->lower_limit; in int3406_thermal_get_max_state() 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() 75 acpi_level = RAW_TO_ACPI(d->raw_bd->props.brightness, d); in int3406_thermal_get_cur_state() 115 d->lower_limit = int3406_thermal_get_index(d->br->levels, in int3406_thermal_get_limit() 120 d->upper_limit = int3406_thermal_get_index(d->br->levels, in int3406_thermal_get_limit() 124 d->lower_limit = d->lower_limit > 0 ? d->lower_limit : 2; in int3406_thermal_get_limit() 125 d->upper_limit = d->upper_limit > 0 ? d->upper_limit : d->br->count - 1; in int3406_thermal_get_limit() 144 d = devm_kzalloc(&pdev->dev, sizeof(*d), GFP_KERNEL); in int3406_thermal_probe() 145 if (!d) in int3406_thermal_probe() [all …]
|
/linux/net/core/ |
A D | gen_stats.c | 31 if (d->lock) in gnet_stats_copy() 64 memset(d, 0, sizeof(*d)); in gnet_stats_start_copy_compat() 68 d->skb = skb; in gnet_stats_start_copy_compat() 76 if (d->tail) { in gnet_stats_start_copy_compat() 86 d->tail = (struct nlattr *)((char *)d->tail + in gnet_stats_start_copy_compat() 465 d->tail->nla_len = skb_tail_pointer(d->skb) - (u8 *)d->tail; in gnet_stats_finish_copy() 468 if (gnet_stats_copy(d, d->compat_tc_stats, &d->tc_stats, in gnet_stats_finish_copy() 469 sizeof(d->tc_stats), d->padattr) < 0) in gnet_stats_finish_copy() 472 if (d->compat_xstats && d->xstats) { in gnet_stats_finish_copy() 473 if (gnet_stats_copy(d, d->compat_xstats, d->xstats, in gnet_stats_finish_copy() [all …]
|
/linux/drivers/soc/fsl/dpio/ |
A D | dpio-service.c | 82 d = service_select_by_cpu(d, -1); in service_select() 406 d = service_select(d); in dpaa2_io_service_pull_fq() 437 d = service_select(d); in dpaa2_io_service_pull_channel() 465 d = service_select(d); in dpaa2_io_service_enqueue_fq() 495 d = service_select(d); in dpaa2_io_service_enqueue_multiple_fq() 530 d = service_select(d); in dpaa2_io_service_enqueue_multiple_desc_fq() 566 d = service_select(d); in dpaa2_io_service_enqueue_qd() 594 d = service_select(d); in dpaa2_io_service_release() 624 d = service_select(d); in dpaa2_io_service_acquire() 773 d = service_select(d); in dpaa2_io_query_fq_count() [all …]
|
/linux/drivers/dma/lgm/ |
A D | lgm-dma.c | 413 if (d->inst->orrc > 0 && d->inst->orrc <= DMA_ORRC_MAX_CNT) in ldma_dev_orrc_cfg() 514 d->inst->name, readl(d->base + DMA_CTRL)); in ldma_dev_cfg() 824 d = p->ldev; in ldma_port_cfg() 1367 if (chan_id >= d->chan_nrs || port_id >= d->port_nrs) in update_client_configs() 1460 if (!d->wq) in ldma_init_v22() 1575 d = devm_kzalloc(dev, sizeof(*d), GFP_KERNEL); in intel_ldma_probe() 1576 if (!d) in intel_ldma_probe() 1637 d->channels_mask = GENMASK(d->chan_nrs - 1, 0); in intel_ldma_probe() 1653 d->chans = devm_kcalloc(d->dev, d->chan_nrs, sizeof(*c), GFP_KERNEL); in intel_ldma_probe() 1660 p->ldev = d; in intel_ldma_probe() [all …]
|