Home
last modified time | relevance | path

Searched refs:idata (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/drivers/media/rc/
H A Dir-spi.c40 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 …]
/openbmc/linux/kernel/irq/
H A Dmigration.c38 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()
/openbmc/linux/samples/rpmsg/
H A Drpmsg_client_sample.c29 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()
/openbmc/linux/drivers/mmc/core/
H A Dblock.c413 struct mmc_blk_ioc_data *idata; in mmc_blk_ioctl_copy_from_user() local
416 idata = kzalloc(sizeof(*idata), GFP_KERNEL); in mmc_blk_ioctl_copy_from_user()
417 if (!idata) { in mmc_blk_ioctl_copy_from_user()
422 if (copy_from_user(&idata->ic, user, sizeof(idata->ic))) { in mmc_blk_ioctl_copy_from_user()
427 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user()
428 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user()
433 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user()
434 idata->buf = NULL; in mmc_blk_ioctl_copy_from_user()
435 return idata; in mmc_blk_ioctl_copy_from_user()
438 idata->buf = memdup_user((void __user *)(unsigned long) in mmc_blk_ioctl_copy_from_user()
[all …]
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c68 const struct shmob_drm_interface_data *idata = &sdev->pdata->iface; in shmob_drm_crtc_setup_geometry() local
75 | ((idata->flags & SHMOB_DRM_IFACE_FL_DWPOL) ? LDMT1R_DWPOL : 0) in shmob_drm_crtc_setup_geometry()
76 | ((idata->flags & SHMOB_DRM_IFACE_FL_DIPOL) ? LDMT1R_DIPOL : 0) in shmob_drm_crtc_setup_geometry()
77 | ((idata->flags & SHMOB_DRM_IFACE_FL_DAPOL) ? LDMT1R_DAPOL : 0) in shmob_drm_crtc_setup_geometry()
78 | ((idata->flags & SHMOB_DRM_IFACE_FL_HSCNT) ? LDMT1R_HSCNT : 0) in shmob_drm_crtc_setup_geometry()
79 | ((idata->flags & SHMOB_DRM_IFACE_FL_DWCNT) ? LDMT1R_DWCNT : 0); in shmob_drm_crtc_setup_geometry()
82 if (idata->interface >= SHMOB_DRM_IFACE_SYS8A && in shmob_drm_crtc_setup_geometry()
83 idata->interface <= SHMOB_DRM_IFACE_SYS24) { in shmob_drm_crtc_setup_geometry()
85 value = (idata->sys.cs_setup << LDMT2R_CSUP_SHIFT) in shmob_drm_crtc_setup_geometry()
86 | (idata->sys.vsync_active_high ? LDMT2R_RSV : 0) in shmob_drm_crtc_setup_geometry()
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Daia_imsic.c375 struct imsic_vsfile_read_data *idata = data; in imsic_vsfile_local_read() local
376 struct imsic_mrif *mrif = idata->mrif; in imsic_vsfile_local_read()
382 new_hstatus |= ((unsigned long)idata->hgei) << HSTATUS_VGEIN_SHIFT; in imsic_vsfile_local_read()
391 if (idata->clear) { in imsic_vsfile_local_read()
394 for (i = 0; i < idata->nr_eix; i++) { in imsic_vsfile_local_read()
406 for (i = 0; i < idata->nr_eix; i++) { in imsic_vsfile_local_read()
424 struct imsic_vsfile_read_data idata; in imsic_vsfile_read() local
431 idata.hgei = vsfile_hgei; in imsic_vsfile_read()
432 idata.nr_eix = nr_eix; in imsic_vsfile_read()
433 idata.clear = clear; in imsic_vsfile_read()
[all …]
/openbmc/estoraged/src/erase/
H A Dsanitize.cpp107 struct mmc_ioc_cmd idata = {}; in emmcSanitize() local
108 idata.write_flag = 1; in emmcSanitize()
109 idata.opcode = mmcSwitch; in emmcSanitize()
110 idata.arg = (mmcSwitchModeWriteByte << 24) | (extCsdSanitizeStart << 16) | in emmcSanitize()
112 idata.flags = mmcRspSpiR1B | mmcRspR1B | mmcCmdAc; in emmcSanitize()
115 if (ioctlWrapper->doIoctl(devPath, MMC_IOC_CMD, idata) != 0) in emmcSanitize()
/openbmc/linux/arch/powerpc/platforms/4xx/
H A Duic.c199 struct irq_data *idata = irq_desc_get_irq_data(desc); in uic_irq_cascade() local
205 if (irqd_is_level_type(idata)) in uic_irq_cascade()
206 chip->irq_mask(idata); in uic_irq_cascade()
208 chip->irq_mask_ack(idata); in uic_irq_cascade()
221 if (irqd_is_level_type(idata)) in uic_irq_cascade()
222 chip->irq_ack(idata); in uic_irq_cascade()
223 if (!irqd_irq_disabled(idata) && chip->irq_unmask) in uic_irq_cascade()
224 chip->irq_unmask(idata); in uic_irq_cascade()
/openbmc/linux/arch/m68k/mac/
H A Dmisc.c245 __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()
/openbmc/linux/drivers/crypto/intel/keembay/
H A Docs-hcu.c592 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()
H A Docs-hcu.h68 struct ocs_hcu_idata idata; member
/openbmc/linux/drivers/regulator/
H A Dmax8907-regulator.c283 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()
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_ddp.c68 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()
/openbmc/linux/arch/ia64/kernel/
H A Dmsi_ia64.c16 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()
/openbmc/linux/fs/smb/client/
H A Dsmb2inode.c192 struct cifs_open_info_data *idata; in smb2_compound_op() local
643 idata = in_iov[i].iov_base; in smb2_compound_op()
645 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in smb2_compound_op()
646 if (!idata->symlink_target) in smb2_compound_op()
655 &rsp_iov[i + 1], sizeof(idata->fi), (char *)&idata->fi); in smb2_compound_op()
666 idata = in_iov[i].iov_base; in smb2_compound_op()
668 idata->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in smb2_compound_op()
669 if (!idata->symlink_target) in smb2_compound_op()
678 &rsp_iov[i + 1], sizeof(idata->posix_fi) /* add SIDs */, in smb2_compound_op()
679 (char *)&idata->posix_fi); in smb2_compound_op()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c751 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 …]
/openbmc/linux/fs/minix/
H A Ditree_common.c303 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()
/openbmc/linux/fs/hfs/
H A Dinode.c303 struct hfs_iget_data *idata = data; in hfs_test_inode() local
306 rec = idata->rec; in hfs_test_inode()
323 struct hfs_iget_data *idata = data; in hfs_read_inode() local
338 if (idata->key) in hfs_read_inode()
339 HFS_I(inode)->cat_key = *idata->key; in hfs_read_inode()
344 rec = idata->rec; in hfs_read_inode()
546 struct hfs_iget_data idata = { NULL, &rec }; in hfs_file_lookup() local
547 hfs_read_inode(inode, &idata); in hfs_file_lookup()
/openbmc/linux/crypto/
H A Dccm.c42 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()
355 u8 *iv = pctx->idata; in crypto_ccm_decrypt()
/openbmc/linux/drivers/input/joystick/
H A Dxpad.c717 unsigned char *idata; /* input data */ member
1180 xpad360_process_packet(xpad, xpad->dev, 0, xpad->idata); in xpad_irq_in()
1183 xpad360w_process_packet(xpad, 0, xpad->idata); in xpad_irq_in()
1186 xpadone_process_packet(xpad, 0, xpad->idata); in xpad_irq_in()
1189 xpad_process_packet(xpad, 0, xpad->idata); in xpad_irq_in()
2034 xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN, in xpad_probe()
2036 if (!xpad->idata) { in xpad_probe()
2111 xpad->idata, XPAD_PKT_LEN, xpad_irq_in, in xpad_probe()
2181 usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma); in xpad_probe()
2206 xpad->idata, xpad->idata_dma); in xpad_disconnect()
/openbmc/linux/drivers/mfd/
H A Dsm501.c1299 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()
/openbmc/estoraged/src/test/erase/
H A Dsanitize_test.cpp28 struct mmc_ioc_cmd idata),
/openbmc/linux/fs/orangefs/
H A Dfile.c420 #define mapping_nrpages(idata) ((idata)->nrpages) argument
/openbmc/u-boot/drivers/net/fm/
H A Dfm.c86 out_be32(&imem->idata, (be32_to_cpu(ucode[i]))); in fm_upload_ucode()
90 while ((in_be32(&imem->idata) != be32_to_cpu(ucode[0])) && --timeout) in fm_upload_ucode()
/openbmc/linux/drivers/leds/
H A Dleds-lm3532.c578 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()

12