/openbmc/linux/kernel/irq/ |
H A D | debugfs.c | 42 msk = desc->pending_mask; in irq_debug_show_masks() 166 struct irq_desc *desc = m->private; in irq_debug_show() local 169 raw_spin_lock_irq(&desc->lock); in irq_debug_show() 170 data = irq_desc_get_irq_data(desc); in irq_debug_show() 179 seq_printf(m, "ddepth: %u\n", desc->depth); in irq_debug_show() 185 irq_debug_show_masks(m, desc); in irq_debug_show() 187 raw_spin_unlock_irq(&desc->lock); in irq_debug_show() 226 struct irq_desc *desc = irq_to_desc(irq); in irq_debugfs_copy_devname() local 230 desc->dev_name = kstrdup(name, GFP_KERNEL); in irq_debugfs_copy_devname() 237 if (!irq_dir || !desc || desc->debugfs_file) in irq_add_debugfs_entry() [all …]
|
/openbmc/linux/drivers/dma/ioat/ |
H A D | prep.c | 126 hw = desc->hw; in ioat_dma_prep_memcpy_lock() 147 return &desc->txd; in ioat_dma_prep_memcpy_lock() 198 xor = desc->xor; in __ioat_prep_xor_lock() 289 desc_id(desc), (unsigned long long) desc->txd.phys, in dump_pq_desc_dbg() 314 if (desc->sed) { in dump_pq16_desc_dbg() 322 desc_id(desc), (unsigned long long) desc->txd.phys, in dump_pq16_desc_dbg() 393 pq = desc->pq; in __ioat_prep_pq_lock() 501 pq = desc->pq; in __ioat_prep_pq16_lock() 513 desc->sed->parent = desc; in __ioat_prep_pq16_lock() 719 hw = desc->hw; in ioat_prep_interrupt_lock() [all …]
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | ubi.h | 231 void ubi_get_volume_info(struct ubi_volume_desc *desc, 254 void ubi_close_volume(struct ubi_volume_desc *desc); 259 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, 261 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, 263 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum); 264 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum); 265 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum); 266 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum); 277 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read() 284 static inline int ubi_read_sg(struct ubi_volume_desc *desc, int lnum, in ubi_read_sg() argument [all …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | ubi.h | 226 void ubi_get_volume_info(struct ubi_volume_desc *desc, 237 void ubi_close_volume(struct ubi_volume_desc *desc); 242 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, 244 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, 246 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum); 247 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum); 248 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum); 249 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum); 260 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read() 267 static inline int ubi_read_sg(struct ubi_volume_desc *desc, int lnum, in ubi_read_sg() argument [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | wm831x-ldo.c | 35 struct regulator_desc desc; member 247 ldo->desc.name = ldo->name; in wm831x_gp_ldo_probe() 253 ldo->desc.id = id; in wm831x_gp_ldo_probe() 255 ldo->desc.n_voltages = 32; in wm831x_gp_ldo_probe() 458 ldo->desc.name = ldo->name; in wm831x_aldo_probe() 464 ldo->desc.id = id; in wm831x_aldo_probe() 466 ldo->desc.n_voltages = 32; in wm831x_aldo_probe() 604 ldo->desc.name = ldo->name; in wm831x_alive_ldo_probe() 610 ldo->desc.id = id; in wm831x_alive_ldo_probe() 619 ldo->desc.min_uV = 800000; in wm831x_alive_ldo_probe() [all …]
|
H A D | pbias-regulator.c | 152 struct regulator_desc *desc; in pbias_regulator_probe() local 165 desc = devm_kcalloc(&pdev->dev, count, sizeof(*desc), GFP_KERNEL); in pbias_regulator_probe() 166 if (!desc) in pbias_regulator_probe() 198 desc->name = info->name; in pbias_regulator_probe() 199 desc->owner = THIS_MODULE; in pbias_regulator_probe() 200 desc->type = REGULATOR_VOLTAGE; in pbias_regulator_probe() 205 desc->vsel_reg = offset; in pbias_regulator_probe() 206 desc->vsel_mask = info->vmode; in pbias_regulator_probe() 207 desc->enable_reg = offset; in pbias_regulator_probe() 209 desc->enable_val = info->enable; in pbias_regulator_probe() [all …]
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_common.c | 20 const struct sunxi_ccu_desc *desc; member 114 const struct sunxi_ccu_desc *desc) in sunxi_ccu_probe() argument 119 ccu->desc = desc; in sunxi_ccu_probe() 123 for (i = 0; i < desc->num_ccu_clks; i++) { in sunxi_ccu_probe() 151 for (i = 0; i < desc->num_ccu_clks; i++) { in sunxi_ccu_probe() 167 desc->hw_clks); in sunxi_ccu_probe() 175 reset->rcdev.nr_resets = desc->num_resets; in sunxi_ccu_probe() 178 reset->reset_map = desc->resets; in sunxi_ccu_probe() 202 const struct sunxi_ccu_desc *desc = ccu->desc; in devm_sunxi_ccu_release() local 218 const struct sunxi_ccu_desc *desc) in devm_sunxi_ccu_probe() argument [all …]
|
/openbmc/linux/drivers/net/can/ |
H A D | janz-ican3.c | 417 memcpy_toio(dst, &desc, sizeof(desc)); in ican3_init_new_host_interface() 438 memcpy_toio(dst, &desc, sizeof(desc)); in ican3_init_new_host_interface() 450 memcpy_toio(dst, &desc, sizeof(desc)); in ican3_init_new_host_interface() 460 memcpy_toio(dst, &desc, sizeof(desc)); in ican3_init_new_host_interface() 485 memset(&desc, 0, sizeof(desc)); in ican3_init_fast_host_interface() 502 memcpy_toio(dst, &desc, sizeof(desc)); in ican3_init_fast_host_interface() 521 memset(&desc, 0, sizeof(desc)); in ican3_init_fast_host_interface() 538 memcpy_toio(dst, &desc, sizeof(desc)); in ican3_init_fast_host_interface() 579 memcpy_toio(desc_addr, &desc, sizeof(desc)); in ican3_new_send_msg() 947 memset(desc->data, 0, sizeof(desc->data)); in can_frame_to_ican3() [all …]
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | cpu_errata.c | 498 .desc = "ARM erratum 832075", 508 .desc = "ARM erratum 834220", 517 .desc = "ARM erratum 843419", 526 .desc = "ARM erratum 845719", 581 .desc = "ARM erratum 858921", 587 .desc = "Spectre-v2", 596 .desc = "Spectre-v3a", 604 .desc = "Spectre-v4", 611 .desc = "Spectre-BHB", 619 .desc = "ARM erratum 1418040", [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_labpc_isadma.c | 54 struct comedi_isadma_desc *desc = &devpriv->dma->desc[0]; in labpc_setup_dma() local 59 desc->size = labpc_suggest_transfer_size(dev, s, desc->maxsize); in labpc_setup_dma() 61 devpriv->count * sample_size < desc->size) in labpc_setup_dma() 62 desc->size = devpriv->count * sample_size; in labpc_setup_dma() 64 comedi_isadma_program(desc); in labpc_setup_dma() 74 struct comedi_isadma_desc *desc = &devpriv->dma->desc[0]; in labpc_drain_dma() local 88 residue = comedi_isadma_disable(desc->chan); in labpc_drain_dma() 108 desc->size = comedi_samples_to_bytes(s, leftover); in labpc_drain_dma() 117 struct comedi_isadma_desc *desc = &devpriv->dma->desc[0]; in handle_isa_dma() local 121 if (desc->size) in handle_isa_dma() [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | dir.c | 193 nfs_set_dtsize(desc, desc->dtsize >> 1); in nfs_shrink_dtsize() 198 nfs_set_dtsize(desc, desc->dtsize << 1); in nfs_grow_dtsize() 546 desc->ctx->pos = desc->dir_cookie; in nfs_readdir_search_for_cookie() 548 desc->ctx->pos = desc->current_index + i; in nfs_readdir_search_for_cookie() 1118 desc->ctx->pos = desc->dir_cookie; in nfs_do_filldir() 1123 desc->eof = !desc->eob; in nfs_do_filldir() 1161 desc->last_cookie = desc->dir_cookie; in uncached_readdir() 1164 trace_nfs_readdir_uncached(desc->file, desc->verf, desc->last_cookie, in uncached_readdir() 1207 if (desc->ctx->pos == 0 || !desc->plus) in nfs_readdir_handle_cache_misses() 1279 if (desc->dir_cookie && !desc->eof) { in nfs_readdir() [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm3-neon-glue.c | 23 static int sm3_neon_update(struct shash_desc *desc, const u8 *data, in sm3_neon_update() argument 27 sm3_update(shash_desc_ctx(desc), data, len); in sm3_neon_update() 32 sm3_base_do_update(desc, data, len, sm3_neon_transform); in sm3_neon_update() 38 static int sm3_neon_final(struct shash_desc *desc, u8 *out) in sm3_neon_final() argument 41 sm3_final(shash_desc_ctx(desc), out); in sm3_neon_final() 46 sm3_base_do_finalize(desc, sm3_neon_transform); in sm3_neon_final() 49 return sm3_base_finish(desc, out); in sm3_neon_final() 56 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_neon_finup() 66 sm3_base_do_update(desc, data, len, sm3_neon_transform); in sm3_neon_finup() 67 sm3_base_do_finalize(desc, sm3_neon_transform); in sm3_neon_finup() [all …]
|
H A D | sm3-ce-glue.c | 26 static int sm3_ce_update(struct shash_desc *desc, const u8 *data, in sm3_ce_update() argument 30 sm3_update(shash_desc_ctx(desc), data, len); in sm3_ce_update() 35 sm3_base_do_update(desc, data, len, sm3_ce_transform); in sm3_ce_update() 41 static int sm3_ce_final(struct shash_desc *desc, u8 *out) in sm3_ce_final() argument 44 sm3_final(shash_desc_ctx(desc), out); in sm3_ce_final() 49 sm3_base_do_finalize(desc, sm3_ce_transform); in sm3_ce_final() 52 return sm3_base_finish(desc, out); in sm3_ce_final() 59 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_ce_finup() 69 sm3_base_do_update(desc, data, len, sm3_ce_transform); in sm3_ce_finup() 70 sm3_base_do_finalize(desc, sm3_ce_transform); in sm3_ce_finup() [all …]
|
/openbmc/linux/drivers/crypto/ |
H A D | padlock-sha.c | 32 static int padlock_sha_init(struct shash_desc *desc) in padlock_sha_init() argument 34 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_init() 41 static int padlock_sha_update(struct shash_desc *desc, in padlock_sha_update() argument 44 struct padlock_sha_desc *dctx = shash_desc_ctx(desc); in padlock_sha_update() 130 return padlock_sha1_finup(desc, buf, 0, out); in padlock_sha1_final() 191 return padlock_sha256_finup(desc, buf, 0, out); in padlock_sha256_final() 271 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_init_nano() 283 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_update_nano() 416 (struct sha256_state *)shash_desc_ctx(desc); in padlock_sha256_final_nano() 441 void *sctx = shash_desc_ctx(desc); in padlock_sha_export_nano() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_regs.c | 179 struct hclge_desc *desc; in hclge_get_32_bit_regs() local 194 if (!desc) in hclge_get_32_bit_regs() 202 kfree(desc); in hclge_get_32_bit_regs() 223 kfree(desc); in hclge_get_32_bit_regs() 233 struct hclge_desc *desc; in hclge_get_64_bit_regs() local 248 if (!desc) in hclge_get_64_bit_regs() 256 kfree(desc); in hclge_get_64_bit_regs() 277 kfree(desc); in hclge_get_64_bit_regs() 334 desc++; in hclge_dfx_reg_cmd_send() 338 desc = desc_src; in hclge_dfx_reg_cmd_send() [all …]
|
H A D | hclge_debugfs.c | 177 desc++; in hclge_dbg_cmd_send() 198 struct hclge_desc *desc; in hclge_dbg_dump_reg_tqp() local 221 desc = desc_src; in hclge_dbg_dump_reg_tqp() 230 desc++; in hclge_dbg_dump_reg_tqp() 262 desc = desc_src; in hclge_dbg_dump_reg_common() 266 kfree(desc); in hclge_dbg_dump_reg_common() 275 desc++; in hclge_dbg_dump_reg_common() 309 struct hclge_desc desc; in hclge_dbg_dump_mac_enable_status() local 339 struct hclge_desc desc; in hclge_dbg_dump_mac_frame_size() local 369 struct hclge_desc desc; in hclge_dbg_dump_mac_speed_duplex() local [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamalg_desc.h | 51 void cnstr_shdsc_aead_null_encap(u32 * const desc, struct alginfo *adata, 57 void cnstr_shdsc_aead_encap(u32 * const desc, struct alginfo *cdata, 63 void cnstr_shdsc_aead_decap(u32 * const desc, struct alginfo *cdata, 69 void cnstr_shdsc_aead_givencap(u32 * const desc, struct alginfo *cdata, 75 void cnstr_shdsc_gcm_encap(u32 * const desc, struct alginfo *cdata, 79 void cnstr_shdsc_gcm_decap(u32 * const desc, struct alginfo *cdata, 83 void cnstr_shdsc_rfc4106_encap(u32 * const desc, struct alginfo *cdata, 87 void cnstr_shdsc_rfc4106_decap(u32 * const desc, struct alginfo *cdata, 91 void cnstr_shdsc_rfc4543_encap(u32 * const desc, struct alginfo *cdata, 95 void cnstr_shdsc_rfc4543_decap(u32 * const desc, struct alginfo *cdata, [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | rx.c | 46 struct wl1271_rx_descriptor *desc, in wl1271_rx_status() argument 60 if (desc->rate <= wl->hw_min_ht_rate) in wl1271_rx_status() 77 wl->noise = desc->rssi - (desc->snr >> 1); in wl1271_rx_status() 82 if (desc->flags & WL1271_RX_DESC_ENCRYPT_MASK) { in wl1271_rx_status() 106 struct wl1271_rx_descriptor *desc; in wl1271_rx_handle_data() local 135 desc = (struct wl1271_rx_descriptor *) data; in wl1271_rx_handle_data() 138 size_t len = length - sizeof(*desc); in wl1271_rx_handle_data() 144 if (desc->status & WL1271_RX_DESC_DECRYPT_FAIL) { in wl1271_rx_handle_data() 175 *hlid = desc->hlid; in wl1271_rx_handle_data() 185 wlcore_hw_set_rx_csum(wl, desc, skb); in wl1271_rx_handle_data() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_trace.h | 112 struct i40e_tx_desc *desc, 115 TP_ARGS(ring, desc, buf), 126 __field(void*, desc) 133 __entry->desc = desc; 150 TP_ARGS(ring, desc, buf)); 158 TP_ARGS(ring, desc, buf)); 167 TP_ARGS(ring, desc, xdp), 171 __field(void*, desc) 178 __entry->desc = desc; 195 TP_ARGS(ring, desc, xdp)); [all …]
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.c | 288 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in vidtv_psi_service_desc_init() 289 if (!desc) in vidtv_psi_service_desc_init() 338 if (!desc) in vidtv_psi_registration_desc_init() 363 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in vidtv_psi_network_name_desc_init() 364 if (!desc) in vidtv_psi_network_name_desc_init() 393 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in vidtv_psi_service_list_desc_init() 394 if (!desc) in vidtv_psi_service_list_desc_init() 444 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in vidtv_psi_short_event_desc_init() 537 curr = kmemdup(desc, sizeof(*desc) + desc->length, GFP_KERNEL); in vidtv_psi_desc_clone() 552 desc = desc->next; in vidtv_psi_desc_clone() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha1-ce-glue.c | 29 static int sha1_ce_update(struct shash_desc *desc, const u8 *data, in sha1_ce_update() argument 32 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_ce_update() 36 return sha1_update_arm(desc, data, len); in sha1_ce_update() 39 sha1_base_do_update(desc, data, len, sha1_ce_transform); in sha1_ce_update() 45 static int sha1_ce_finup(struct shash_desc *desc, const u8 *data, in sha1_ce_finup() argument 49 return sha1_finup_arm(desc, data, len, out); in sha1_ce_finup() 53 sha1_base_do_update(desc, data, len, sha1_ce_transform); in sha1_ce_finup() 54 sha1_base_do_finalize(desc, sha1_ce_transform); in sha1_ce_finup() 57 return sha1_base_finish(desc, out); in sha1_ce_finup() 60 static int sha1_ce_final(struct shash_desc *desc, u8 *out) in sha1_ce_final() argument [all …]
|
H A D | sha1_neon_glue.c | 32 static int sha1_neon_update(struct shash_desc *desc, const u8 *data, in sha1_neon_update() argument 35 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_neon_update() 39 return sha1_update_arm(desc, data, len); in sha1_neon_update() 42 sha1_base_do_update(desc, data, len, sha1_transform_neon); in sha1_neon_update() 48 static int sha1_neon_finup(struct shash_desc *desc, const u8 *data, in sha1_neon_finup() argument 52 return sha1_finup_arm(desc, data, len, out); in sha1_neon_finup() 56 sha1_base_do_update(desc, data, len, sha1_transform_neon); in sha1_neon_finup() 57 sha1_base_do_finalize(desc, sha1_transform_neon); in sha1_neon_finup() 60 return sha1_base_finish(desc, out); in sha1_neon_finup() 63 static int sha1_neon_final(struct shash_desc *desc, u8 *out) in sha1_neon_final() argument [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | crypto_ctx.h | 35 struct shash_desc *desc[CRYPTO_SHASH_MAX]; member 39 #define CRYPTO_HMACMD5(c) ((c)->desc[CRYPTO_SHASH_HMACMD5]) 40 #define CRYPTO_HMACSHA256(c) ((c)->desc[CRYPTO_SHASH_HMACSHA256]) 41 #define CRYPTO_CMACAES(c) ((c)->desc[CRYPTO_SHASH_CMACAES]) 42 #define CRYPTO_SHA256(c) ((c)->desc[CRYPTO_SHASH_SHA256]) 43 #define CRYPTO_SHA512(c) ((c)->desc[CRYPTO_SHASH_SHA512]) 45 #define CRYPTO_HMACMD5_TFM(c) ((c)->desc[CRYPTO_SHASH_HMACMD5]->tfm) 47 ((c)->desc[CRYPTO_SHASH_HMACSHA256]->tfm) 48 #define CRYPTO_CMACAES_TFM(c) ((c)->desc[CRYPTO_SHASH_CMACAES]->tfm) 49 #define CRYPTO_SHA256_TFM(c) ((c)->desc[CRYPTO_SHASH_SHA256]->tfm) [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-legacy.c | 23 struct gpio_desc *desc; in gpio_request_one() local 26 desc = gpio_to_desc(gpio); in gpio_request_one() 29 if (!desc && gpio_is_valid(gpio)) in gpio_request_one() 32 err = gpiod_request(desc, label); in gpio_request_one() 37 set_bit(FLAG_ACTIVE_LOW, &desc->flags); in gpio_request_one() 40 err = gpiod_direction_input(desc); in gpio_request_one() 42 err = gpiod_direction_output_raw(desc, in gpio_request_one() 51 gpiod_free(desc); in gpio_request_one() 58 struct gpio_desc *desc = gpio_to_desc(gpio); in gpio_request() local 61 if (!desc && gpio_is_valid(gpio)) in gpio_request() [all …]
|
/openbmc/u-boot/board/intel/minnowmax/ |
H A D | minnowmax.c | 17 struct gpio_desc desc; in misc_init_r() local 39 desc.dev = dev; in misc_init_r() 40 desc.flags = GPIOD_IS_OUT; in misc_init_r() 43 desc.offset = 8; in misc_init_r() 45 ret = dm_gpio_request(&desc, "usb_host_en0"); in misc_init_r() 48 dm_gpio_set_value(&desc, 1); in misc_init_r() 51 desc.offset = 9; in misc_init_r() 53 ret = dm_gpio_request(&desc, "usb_host_en1"); in misc_init_r() 57 dm_gpio_set_value(&desc, 1); in misc_init_r()
|