/linux-6.1.9/drivers/media/rc/ |
D | ir-spi.c | 40 struct ir_spi_data *idata = dev->priv; in ir_spi_tx() local 49 periods = DIV_ROUND_CLOSEST(buffer[i] * idata->freq, 1000000); in ir_spi_tx() 59 val = (i % 2) ? idata->space : idata->pulse; in ir_spi_tx() 61 idata->tx_buf[len++] = val; in ir_spi_tx() 66 xfer.speed_hz = idata->freq * 16; in ir_spi_tx() 67 xfer.len = len * sizeof(*idata->tx_buf); in ir_spi_tx() 68 xfer.tx_buf = idata->tx_buf; in ir_spi_tx() 70 ret = regulator_enable(idata->regulator); in ir_spi_tx() 74 ret = spi_sync_transfer(idata->spi, &xfer, 1); in ir_spi_tx() 76 dev_err(&idata->spi->dev, "unable to deliver the signal\n"); in ir_spi_tx() [all …]
|
/linux-6.1.9/kernel/irq/ |
D | migration.c | 38 void irq_move_masked_irq(struct irq_data *idata) in irq_move_masked_irq() argument 40 struct irq_desc *desc = irq_data_to_desc(idata); in irq_move_masked_irq() 94 void __irq_move_irq(struct irq_data *idata) in __irq_move_irq() argument 103 idata = irq_desc_get_irq_data(irq_data_to_desc(idata)); in __irq_move_irq() 105 if (unlikely(irqd_irq_disabled(idata))) in __irq_move_irq() 113 masked = irqd_irq_masked(idata); in __irq_move_irq() 115 idata->chip->irq_mask(idata); in __irq_move_irq() 116 irq_move_masked_irq(idata); in __irq_move_irq() 118 idata->chip->irq_unmask(idata); in __irq_move_irq()
|
/linux-6.1.9/samples/rpmsg/ |
D | rpmsg_client_sample.c | 29 struct instance_data *idata = dev_get_drvdata(&rpdev->dev); in rpmsg_sample_cb() local 32 ++idata->rx_count, src); in rpmsg_sample_cb() 38 if (idata->rx_count >= count) { in rpmsg_sample_cb() 54 struct instance_data *idata; in rpmsg_sample_probe() local 59 idata = devm_kzalloc(&rpdev->dev, sizeof(*idata), GFP_KERNEL); in rpmsg_sample_probe() 60 if (!idata) in rpmsg_sample_probe() 63 dev_set_drvdata(&rpdev->dev, idata); in rpmsg_sample_probe()
|
/linux-6.1.9/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 65 const struct shmob_drm_interface_data *idata = &sdev->pdata->iface; in shmob_drm_crtc_setup_geometry() local 72 | ((idata->flags & SHMOB_DRM_IFACE_FL_DWPOL) ? LDMT1R_DWPOL : 0) in shmob_drm_crtc_setup_geometry() 73 | ((idata->flags & SHMOB_DRM_IFACE_FL_DIPOL) ? LDMT1R_DIPOL : 0) in shmob_drm_crtc_setup_geometry() 74 | ((idata->flags & SHMOB_DRM_IFACE_FL_DAPOL) ? LDMT1R_DAPOL : 0) in shmob_drm_crtc_setup_geometry() 75 | ((idata->flags & SHMOB_DRM_IFACE_FL_HSCNT) ? LDMT1R_HSCNT : 0) in shmob_drm_crtc_setup_geometry() 76 | ((idata->flags & SHMOB_DRM_IFACE_FL_DWCNT) ? LDMT1R_DWCNT : 0); in shmob_drm_crtc_setup_geometry() 79 if (idata->interface >= SHMOB_DRM_IFACE_SYS8A && in shmob_drm_crtc_setup_geometry() 80 idata->interface <= SHMOB_DRM_IFACE_SYS24) { in shmob_drm_crtc_setup_geometry() 82 value = (idata->sys.cs_setup << LDMT2R_CSUP_SHIFT) in shmob_drm_crtc_setup_geometry() 83 | (idata->sys.vsync_active_high ? LDMT2R_RSV : 0) in shmob_drm_crtc_setup_geometry() [all …]
|
/linux-6.1.9/drivers/mmc/core/ |
D | block.c | 408 struct mmc_blk_ioc_data *idata; in mmc_blk_ioctl_copy_from_user() local 411 idata = kmalloc(sizeof(*idata), GFP_KERNEL); in mmc_blk_ioctl_copy_from_user() 412 if (!idata) { in mmc_blk_ioctl_copy_from_user() 417 if (copy_from_user(&idata->ic, user, sizeof(idata->ic))) { in mmc_blk_ioctl_copy_from_user() 422 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user() 423 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user() 428 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user() 429 idata->buf = NULL; in mmc_blk_ioctl_copy_from_user() 430 return idata; in mmc_blk_ioctl_copy_from_user() 433 idata->buf = memdup_user((void __user *)(unsigned long) in mmc_blk_ioctl_copy_from_user() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/4xx/ |
D | uic.c | 198 struct irq_data *idata = irq_desc_get_irq_data(desc); in uic_irq_cascade() local 204 if (irqd_is_level_type(idata)) in uic_irq_cascade() 205 chip->irq_mask(idata); in uic_irq_cascade() 207 chip->irq_mask_ack(idata); in uic_irq_cascade() 220 if (irqd_is_level_type(idata)) in uic_irq_cascade() 221 chip->irq_ack(idata); in uic_irq_cascade() 222 if (!irqd_irq_disabled(idata) && chip->irq_unmask) in uic_irq_cascade() 223 chip->irq_unmask(idata); in uic_irq_cascade()
|
/linux-6.1.9/arch/m68k/mac/ |
D | misc.c | 245 __u32 idata; in via_read_time() member 269 if (result.idata == last_result.idata) in via_read_time() 270 return (time64_t)result.idata - RTC_OFFSET; in via_read_time() 275 last_result.idata = result.idata; in via_read_time() 279 __func__, last_result.idata, result.idata); in via_read_time() 295 __u32 idata; in via_set_rtc_time() member 308 data.idata = lower_32_bits(time + RTC_OFFSET); in via_set_rtc_time()
|
/linux-6.1.9/drivers/crypto/keembay/ |
D | ocs-hcu.c | 592 ctx->idata.msg_len_lo = 0; in ocs_hcu_hash_init() 593 ctx->idata.msg_len_hi = 0; in ocs_hcu_hash_init() 622 if (ctx->idata.msg_len_lo || ctx->idata.msg_len_hi) in ocs_hcu_hash_update() 623 ocs_hcu_set_intermediate_data(hcu_dev, &ctx->idata, ctx->algo); in ocs_hcu_hash_update() 631 return ocs_hcu_get_intermediate_data(hcu_dev, &ctx->idata, ctx->algo); in ocs_hcu_hash_update() 660 if (ctx->idata.msg_len_lo || ctx->idata.msg_len_hi) in ocs_hcu_hash_finup() 661 ocs_hcu_set_intermediate_data(hcu_dev, &ctx->idata, ctx->algo); in ocs_hcu_hash_finup() 696 if (ctx->idata.msg_len_lo || ctx->idata.msg_len_hi) in ocs_hcu_hash_final() 697 ocs_hcu_set_intermediate_data(hcu_dev, &ctx->idata, ctx->algo); in ocs_hcu_hash_final()
|
D | ocs-hcu.h | 68 struct ocs_hcu_idata idata; member
|
/linux-6.1.9/drivers/regulator/ |
D | max8907-regulator.c | 283 struct regulator_init_data *idata; in max8907_regulator_probe() local 316 idata = pdata->init_data[i]; in max8907_regulator_probe() 318 idata = match_init_data(i); in max8907_regulator_probe() 319 config.init_data = idata; in max8907_regulator_probe() 326 if (idata && idata->constraints.name) in max8907_regulator_probe() 327 mbatt_rail_name = idata->constraints.name; in max8907_regulator_probe() 334 idata->supply_regulator = mbatt_rail_name; in max8907_regulator_probe()
|
/linux-6.1.9/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 68 struct ulptx_idata *idata; in cxgbit_ppod_init_idata() local 90 idata = (struct ulptx_idata *)(req + 1); in cxgbit_ppod_init_idata() 91 idata->cmd_more = htonl(ULPTX_CMD_V(ULP_TX_SC_IMM)); in cxgbit_ppod_init_idata() 92 idata->len = htonl(dlen); in cxgbit_ppod_init_idata() 106 struct ulptx_idata *idata; in cxgbit_ppod_write_idata() local 115 idata = (struct ulptx_idata *)(req + 1); in cxgbit_ppod_write_idata() 116 ppod = (struct cxgbi_pagepod *)(idata + 1); in cxgbit_ppod_write_idata()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | msi_ia64.c | 16 static int ia64_set_msi_irq_affinity(struct irq_data *idata, in ia64_set_msi_irq_affinity() argument 22 unsigned int irq = idata->irq; in ia64_set_msi_irq_affinity() 27 __get_cached_msi_msg(irq_data_get_msi_desc(idata), &msg); in ia64_set_msi_irq_affinity() 40 irq_data_update_affinity(idata, cpumask_of(cpu)); in ia64_set_msi_irq_affinity()
|
/linux-6.1.9/fs/cifs/ |
D | smb2inode.c | 76 struct cifs_open_info_data *idata; in smb2_compound_op() local 392 idata = ptr; in smb2_compound_op() 394 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in smb2_compound_op() 395 if (!idata->symlink_target) in smb2_compound_op() 404 &rsp_iov[1], sizeof(idata->fi), (char *)&idata->fi); in smb2_compound_op() 418 idata = ptr; in smb2_compound_op() 420 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in smb2_compound_op() 421 if (!idata->symlink_target) in smb2_compound_op() 430 &rsp_iov[1], sizeof(idata->posix_fi) /* add SIDs */, in smb2_compound_op() 431 (char *)&idata->posix_fi); in smb2_compound_op()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 751 struct ulptx_idata *idata; in __chcr_write_cpl_set_tcb_ulp() local 763 idata = (struct ulptx_idata *)(txpkt + 1); in __chcr_write_cpl_set_tcb_ulp() 764 idata->cmd_more = htonl(ULPTX_CMD_V(ULP_TX_SC_IMM)); in __chcr_write_cpl_set_tcb_ulp() 765 idata->len = htonl(sizeof(*cpl)); in __chcr_write_cpl_set_tcb_ulp() 766 pos = idata + 1; in __chcr_write_cpl_set_tcb_ulp() 778 idata = (struct ulptx_idata *)(cpl + 1); in __chcr_write_cpl_set_tcb_ulp() 779 idata->cmd_more = htonl(ULPTX_CMD_V(ULP_TX_SC_NOOP)); in __chcr_write_cpl_set_tcb_ulp() 780 idata->len = htonl(0); in __chcr_write_cpl_set_tcb_ulp() 781 pos = idata + 1; in __chcr_write_cpl_set_tcb_ulp() 1113 struct ulptx_idata *idata; in chcr_ktls_xmit_wr_complete() local [all …]
|
/linux-6.1.9/fs/minix/ |
D | itree_common.c | 303 block_t *idata = i_data(inode); in truncate() local 320 free_data(inode, idata+offsets[0], idata + DIRECT); in truncate() 345 nr = idata[DIRECT+first_whole]; in truncate() 347 idata[DIRECT+first_whole] = 0; in truncate()
|
/linux-6.1.9/fs/hfs/ |
D | inode.c | 300 struct hfs_iget_data *idata = data; in hfs_test_inode() local 303 rec = idata->rec; in hfs_test_inode() 320 struct hfs_iget_data *idata = data; in hfs_read_inode() local 335 if (idata->key) in hfs_read_inode() 336 HFS_I(inode)->cat_key = *idata->key; in hfs_read_inode() 341 rec = idata->rec; in hfs_read_inode() 543 struct hfs_iget_data idata = { NULL, &rec }; in hfs_file_lookup() local 544 hfs_read_inode(inode, &idata); in hfs_file_lookup()
|
/linux-6.1.9/drivers/iommu/ |
D | ioasid.c | 394 struct ioasid_allocator_data *idata; in ioasid_find() local 397 idata = rcu_dereference(active_allocator); in ioasid_find() 398 ioasid_data = xa_load(&idata->xa, ioasid); in ioasid_find()
|
/linux-6.1.9/crypto/ |
D | ccm.c | 42 u8 idata[16]; member 178 u8 *idata = pctx->idata; in crypto_ccm_auth() local 191 ilen = format_adata(idata, assoclen); in crypto_ccm_auth() 192 sg_set_buf(&sg[1], idata, ilen); in crypto_ccm_auth() 212 memset(idata, 0, ilen); in crypto_ccm_auth() 214 sg_set_buf(&sg[0], idata, ilen); in crypto_ccm_auth() 356 u8 *iv = pctx->idata; in crypto_ccm_decrypt()
|
/linux-6.1.9/drivers/input/joystick/ |
D | xpad.c | 681 unsigned char *idata; /* input data */ member 1143 xpad360_process_packet(xpad, xpad->dev, 0, xpad->idata); in xpad_irq_in() 1146 xpad360w_process_packet(xpad, 0, xpad->idata); in xpad_irq_in() 1149 xpadone_process_packet(xpad, 0, xpad->idata); in xpad_irq_in() 1152 xpad_process_packet(xpad, 0, xpad->idata); in xpad_irq_in() 1961 xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN, in xpad_probe() 1963 if (!xpad->idata) { in xpad_probe() 2038 xpad->idata, XPAD_PKT_LEN, xpad_irq_in, in xpad_probe() 2108 usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma); in xpad_probe() 2133 xpad->idata, xpad->idata_dma); in xpad_disconnect()
|
/linux-6.1.9/drivers/mfd/ |
D | sm501.c | 1299 struct sm501_initdata *idata; in sm501_init_dev() local 1340 idata = pdata ? pdata->init : NULL; in sm501_init_dev() 1342 if (idata) { in sm501_init_dev() 1343 sm501_init_regs(sm, idata); in sm501_init_dev() 1345 if (idata->devices & SM501_USE_USB_HOST) in sm501_init_dev() 1347 if (idata->devices & (SM501_USE_UART0 | SM501_USE_UART1)) in sm501_init_dev() 1348 sm501_register_uart(sm, idata->devices); in sm501_init_dev() 1349 if (idata->devices & SM501_USE_GPIO) in sm501_init_dev()
|
/linux-6.1.9/fs/orangefs/ |
D | file.c | 401 #define mapping_nrpages(idata) ((idata)->nrpages) argument
|
/linux-6.1.9/drivers/leds/ |
D | leds-lm3532.c | 578 struct led_init_data idata = { in lm3532_parse_node() local 643 ret = devm_led_classdev_register_ext(priv->dev, &led->led_dev, &idata); in lm3532_parse_node()
|
/linux-6.1.9/tools/perf/util/ |
D | pmu.c | 862 struct pmu_sys_event_iter_data *idata = data; in pmu_add_sys_aliases_iter_fn() local 863 struct perf_pmu *pmu = idata->pmu; in pmu_add_sys_aliases_iter_fn() 876 __perf_pmu__new_alias(idata->head, NULL, in pmu_add_sys_aliases_iter_fn() 888 struct pmu_sys_event_iter_data idata = { in pmu_add_sys_aliases() local 896 pmu_for_each_sys_event(pmu_add_sys_aliases_iter_fn, &idata); in pmu_add_sys_aliases()
|
/linux-6.1.9/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 1976 struct ulptx_idata *idata = (struct ulptx_idata *)(req + 1); in ulp_mem_io_set_hdr() local 1988 idata->cmd_more = htonl(ULPTX_CMD_V(ULP_TX_SC_IMM)); in ulp_mem_io_set_hdr() 1989 idata->len = htonl(dlen); in ulp_mem_io_set_hdr() 2026 struct ulptx_idata *idata; in ddp_ppod_write_idata() local 2034 idata = (struct ulptx_idata *)(req + 1); in ddp_ppod_write_idata() 2035 ppod = (struct cxgbi_pagepod *)(idata + 1); in ddp_ppod_write_idata()
|
/linux-6.1.9/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 249 static int ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd() argument 268 memcpy(hdr + 1, idata, ilen); in ar5523_cmd() 304 static int ar5523_cmd_read(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd_read() argument 308 return ar5523_cmd(ar, code, idata, ilen, odata, olen, flags); in ar5523_cmd_read()
|