/Linux-v4.19/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-v4.19/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-v4.19/samples/rpmsg/ |
D | rpmsg_client_sample.c | 35 struct instance_data *idata = dev_get_drvdata(&rpdev->dev); in rpmsg_sample_cb() local 38 ++idata->rx_count, src); in rpmsg_sample_cb() 44 if (idata->rx_count >= MSG_LIMIT) { in rpmsg_sample_cb() 60 struct instance_data *idata; in rpmsg_sample_probe() local 65 idata = devm_kzalloc(&rpdev->dev, sizeof(*idata), GFP_KERNEL); in rpmsg_sample_probe() 66 if (!idata) in rpmsg_sample_probe() 69 dev_set_drvdata(&rpdev->dev, idata); in rpmsg_sample_probe()
|
/Linux-v4.19/arch/mips/vr41xx/common/ |
D | irq.c | 74 struct irq_data *idata = irq_desc_get_irq_data(desc); in irq_dispatch() local 79 chip->irq_mask_ack(idata); in irq_dispatch() 81 chip->irq_mask(idata); in irq_dispatch() 82 chip->irq_ack(idata); in irq_dispatch() 90 if (!irqd_irq_disabled(idata) && chip->irq_unmask) in irq_dispatch() 91 chip->irq_unmask(idata); in irq_dispatch()
|
/Linux-v4.19/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 66 const struct shmob_drm_interface_data *idata = &sdev->pdata->iface; in shmob_drm_crtc_setup_geometry() local 73 | ((idata->flags & SHMOB_DRM_IFACE_FL_DWPOL) ? LDMT1R_DWPOL : 0) in shmob_drm_crtc_setup_geometry() 74 | ((idata->flags & SHMOB_DRM_IFACE_FL_DIPOL) ? LDMT1R_DIPOL : 0) in shmob_drm_crtc_setup_geometry() 75 | ((idata->flags & SHMOB_DRM_IFACE_FL_DAPOL) ? LDMT1R_DAPOL : 0) in shmob_drm_crtc_setup_geometry() 76 | ((idata->flags & SHMOB_DRM_IFACE_FL_HSCNT) ? LDMT1R_HSCNT : 0) in shmob_drm_crtc_setup_geometry() 77 | ((idata->flags & SHMOB_DRM_IFACE_FL_DWCNT) ? LDMT1R_DWCNT : 0); in shmob_drm_crtc_setup_geometry() 80 if (idata->interface >= SHMOB_DRM_IFACE_SYS8A && in shmob_drm_crtc_setup_geometry() 81 idata->interface <= SHMOB_DRM_IFACE_SYS24) { in shmob_drm_crtc_setup_geometry() 83 value = (idata->sys.cs_setup << LDMT2R_CSUP_SHIFT) in shmob_drm_crtc_setup_geometry() 84 | (idata->sys.vsync_active_high ? LDMT2R_RSV : 0) in shmob_drm_crtc_setup_geometry() [all …]
|
/Linux-v4.19/drivers/mmc/core/ |
D | block.c | 354 struct mmc_blk_ioc_data *idata; in mmc_blk_ioctl_copy_from_user() local 357 idata = kmalloc(sizeof(*idata), GFP_KERNEL); in mmc_blk_ioctl_copy_from_user() 358 if (!idata) { in mmc_blk_ioctl_copy_from_user() 363 if (copy_from_user(&idata->ic, user, sizeof(idata->ic))) { in mmc_blk_ioctl_copy_from_user() 368 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user() 369 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user() 374 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user() 375 idata->buf = NULL; in mmc_blk_ioctl_copy_from_user() 376 return idata; in mmc_blk_ioctl_copy_from_user() 379 idata->buf = memdup_user((void __user *)(unsigned long) in mmc_blk_ioctl_copy_from_user() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/4xx/ |
D | uic.c | 200 struct irq_data *idata = irq_desc_get_irq_data(desc); in uic_irq_cascade() local 207 if (irqd_is_level_type(idata)) in uic_irq_cascade() 208 chip->irq_mask(idata); in uic_irq_cascade() 210 chip->irq_mask_ack(idata); in uic_irq_cascade() 224 if (irqd_is_level_type(idata)) in uic_irq_cascade() 225 chip->irq_ack(idata); in uic_irq_cascade() 226 if (!irqd_irq_disabled(idata) && chip->irq_unmask) in uic_irq_cascade() 227 chip->irq_unmask(idata); in uic_irq_cascade()
|
/Linux-v4.19/arch/m68k/mac/ |
D | misc.c | 256 __u32 idata; in via_read_time() member 276 if (result.idata == last_result.idata) in via_read_time() 277 return (time64_t)result.idata - RTC_OFFSET; in via_read_time() 282 last_result.idata = result.idata; in via_read_time() 286 __func__, last_result.idata, result.idata); in via_read_time() 302 __u32 idata; in via_write_time() member 311 data.idata = lower_32_bits(time + RTC_OFFSET); in via_write_time()
|
/Linux-v4.19/drivers/regulator/ |
D | max8907-regulator.c | 286 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-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 71 struct ulptx_idata *idata; in cxgbit_ppod_init_idata() local 93 idata = (struct ulptx_idata *)(req + 1); in cxgbit_ppod_init_idata() 94 idata->cmd_more = htonl(ULPTX_CMD_V(ULP_TX_SC_IMM)); in cxgbit_ppod_init_idata() 95 idata->len = htonl(dlen); in cxgbit_ppod_init_idata() 109 struct ulptx_idata *idata; in cxgbit_ppod_write_idata() local 118 idata = (struct ulptx_idata *)(req + 1); in cxgbit_ppod_write_idata() 119 ppod = (struct cxgbi_pagepod *)(idata + 1); in cxgbit_ppod_write_idata()
|
/Linux-v4.19/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 cpumask_copy(irq_data_get_affinity_mask(idata), cpumask_of(cpu)); in ia64_set_msi_irq_affinity()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_txrx.c | 41 struct irq_data *idata; in mlx5e_channel_no_affinity_change() local 43 idata = irq_desc_get_irq_data(c->irq_desc); in mlx5e_channel_no_affinity_change() 44 aff = irq_data_get_affinity_mask(idata); in mlx5e_channel_no_affinity_change()
|
/Linux-v4.19/fs/minix/ |
D | itree_common.c | 297 block_t *idata = i_data(inode); in truncate() local 314 free_data(inode, idata+offsets[0], idata + DIRECT); in truncate() 339 nr = idata[DIRECT+first_whole]; in truncate() 341 idata[DIRECT+first_whole] = 0; in truncate()
|
/Linux-v4.19/fs/hfs/ |
D | inode.c | 295 struct hfs_iget_data *idata = data; in hfs_test_inode() local 298 rec = idata->rec; in hfs_test_inode() 315 struct hfs_iget_data *idata = data; in hfs_read_inode() local 330 if (idata->key) in hfs_read_inode() 331 HFS_I(inode)->cat_key = *idata->key; in hfs_read_inode() 336 rec = idata->rec; in hfs_read_inode() 533 struct hfs_iget_data idata = { NULL, &rec }; in hfs_file_lookup() local 534 hfs_read_inode(inode, &idata); in hfs_file_lookup()
|
/Linux-v4.19/crypto/ |
D | ccm.c | 48 u8 idata[16]; member 188 u8 *idata = pctx->idata; in crypto_ccm_auth() local 201 ilen = format_adata(idata, assoclen); in crypto_ccm_auth() 202 sg_set_buf(&sg[1], idata, ilen); in crypto_ccm_auth() 222 memset(idata, 0, ilen); in crypto_ccm_auth() 224 sg_set_buf(&sg[0], idata, ilen); in crypto_ccm_auth() 366 u8 *iv = pctx->idata; in crypto_ccm_decrypt()
|
/Linux-v4.19/drivers/input/joystick/ |
D | xpad.c | 567 unsigned char *idata; /* input data */ member 936 xpad360_process_packet(xpad, xpad->dev, 0, xpad->idata); in xpad_irq_in() 939 xpad360w_process_packet(xpad, 0, xpad->idata); in xpad_irq_in() 942 xpadone_process_packet(xpad, 0, xpad->idata); in xpad_irq_in() 945 xpad_process_packet(xpad, 0, xpad->idata); in xpad_irq_in() 1739 xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN, in xpad_probe() 1741 if (!xpad->idata) { in xpad_probe() 1815 xpad->idata, XPAD_PKT_LEN, xpad_irq_in, in xpad_probe() 1853 usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma); in xpad_probe() 1878 xpad->idata, xpad->idata_dma); in xpad_disconnect()
|
/Linux-v4.19/drivers/mfd/ |
D | sm501.c | 1308 struct sm501_initdata *idata; in sm501_init_dev() local 1349 idata = pdata ? pdata->init : NULL; in sm501_init_dev() 1351 if (idata) { in sm501_init_dev() 1352 sm501_init_regs(sm, idata); in sm501_init_dev() 1354 if (idata->devices & SM501_USE_USB_HOST) in sm501_init_dev() 1356 if (idata->devices & (SM501_USE_UART0 | SM501_USE_UART1)) in sm501_init_dev() 1357 sm501_register_uart(sm, idata->devices); in sm501_init_dev() 1358 if (idata->devices & SM501_USE_GPIO) in sm501_init_dev()
|
/Linux-v4.19/fs/orangefs/ |
D | file.c | 577 #define mapping_nrpages(idata) ((idata)->nrpages) argument
|
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 1804 struct ulptx_idata *idata = (struct ulptx_idata *)(req + 1); in ulp_mem_io_set_hdr() local 1816 idata->cmd_more = htonl(ULPTX_CMD_V(ULP_TX_SC_IMM)); in ulp_mem_io_set_hdr() 1817 idata->len = htonl(dlen); in ulp_mem_io_set_hdr() 1854 struct ulptx_idata *idata; in ddp_ppod_write_idata() local 1862 idata = (struct ulptx_idata *)(req + 1); in ddp_ppod_write_idata() 1863 ppod = (struct cxgbi_pagepod *)(idata + 1); in ddp_ppod_write_idata()
|
/Linux-v4.19/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 240 static int ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd() argument 258 memcpy(hdr + 1, idata, ilen); in ar5523_cmd() 293 static int ar5523_cmd_read(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd_read() argument 297 return ar5523_cmd(ar, code, idata, ilen, odata, olen, flags); in ar5523_cmd_read()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 944 struct irq_data *idata; in mlx4_en_poll_rx_cq() local 953 idata = irq_desc_get_irq_data(cq->irq_desc); in mlx4_en_poll_rx_cq() 954 aff = irq_data_get_affinity_mask(idata); in mlx4_en_poll_rx_cq()
|
/Linux-v4.19/drivers/i2c/muxes/ |
D | i2c-mux-pca954x.c | 286 static int pca954x_irq_set_type(struct irq_data *idata, unsigned int type) in pca954x_irq_set_type() argument
|
/Linux-v4.19/include/soc/fsl/qe/ |
D | immap_qe.h | 28 __be32 idata; /* I-RAM Data Register */ member
|
/Linux-v4.19/drivers/soc/fsl/qe/ |
D | qe.c | 417 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); in qe_upload_microcode()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | init.c | 932 u8 idata = nvbios_rd08(bios, init->offset + 1); in init_idx_addr_latched() local 934 trace("\t[0x%02x] = 0x%02x\n", iaddr, idata); in init_idx_addr_latched() 937 init_wr32(init, dreg, idata); in init_idx_addr_latched()
|