/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/app/ |
D | main_kernel_juno_v4l2.c | 310 char *buf_orig, char **parm) in parse_param() argument 325 parm[n++] = token; in parse_param() 348 char *buf_orig, *parm[8] = {NULL}; in reg_write() local 361 parse_param(buf_orig, (char **)&parm); in reg_write() 363 if (!parm[0]) { in reg_write() 368 if (!strcmp(parm[0], "r")) { in reg_write() 369 if (!parm[1] || (kstrtoul(parm[1], 16, &val) < 0)) { in reg_write() 376 } else if (!strcmp(parm[0], "w")) { in reg_write() 377 if (!parm[1] || (kstrtoul(parm[1], 16, &val) < 0)) { in reg_write() 382 if (!parm[2] || (kstrtoul(parm[2], 16, &val) < 0)) { in reg_write() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_cmd.c | 895 struct createbss_parm *parm; in rtw_createbss_cmd() local 908 parm = (struct createbss_parm *)rtw_zmalloc(sizeof(*parm)); in rtw_createbss_cmd() 909 if (parm == NULL) { in rtw_createbss_cmd() 916 parm->adhoc = 1; in rtw_createbss_cmd() 918 parm->adhoc = 0; in rtw_createbss_cmd() 919 parm->ifbmp = ifbmp; in rtw_createbss_cmd() 920 parm->excl_ifbmp = excl_ifbmp; in rtw_createbss_cmd() 921 parm->req_ch = req_ch; in rtw_createbss_cmd() 922 parm->req_bw = req_bw; in rtw_createbss_cmd() 923 parm->req_offset = req_offset; in rtw_createbss_cmd() [all …]
|
D | rtw_ioctl_set.c | 79 struct sitesurvey_parm parm; in rtw_do_join() local 97 rtw_init_sitesurvey_parm(padapter, &parm); in rtw_do_join() 98 _rtw_memcpy(&parm.ssid[0], &pmlmepriv->assoc_ssid, sizeof(NDIS_802_11_SSID)); in rtw_do_join() 99 parm.ssid_num = 1; in rtw_do_join() 102 parm.ch_num = 1; in rtw_do_join() 103 parm.ch[0].hw_value = pmlmepriv->assoc_ch; in rtw_do_join() 104 parm.ch[0].flags = 0; in rtw_do_join() 121 ret = rtw_sitesurvey_cmd(padapter, &parm); in rtw_do_join() 191 ret = rtw_sitesurvey_cmd(padapter, &parm); in rtw_do_join() 644 struct sitesurvey_parm parm; in rtw_set_acs_sitesurvey() local [all …]
|
D | rtw_rm.c | 384 struct sitesurvey_parm parm; in rm_sitesurvey() local 416 _rtw_memset(&parm, 0, sizeof(struct sitesurvey_parm)); in rm_sitesurvey() 417 _rtw_memcpy(parm.ch, pch_set, in rm_sitesurvey() 421 _rtw_memcpy(&parm.ssid[0], &prm->q.opt.bcn.ssid, IW_ESSID_MAX_SIZE); in rm_sitesurvey() 423 parm.ssid_num = 1; in rm_sitesurvey() 424 parm.scan_mode = prm->q.m_mode; in rm_sitesurvey() 425 parm.ch_num = meas_ch_amount; in rm_sitesurvey() 426 parm.igi = 0; in rm_sitesurvey() 427 parm.token = prm->rmid; in rm_sitesurvey() 428 parm.duration = prm->q.meas_dur; in rm_sitesurvey() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/app/ |
D | soc_sensor.c | 126 static void parse_param(char *buf_orig, char **parm){ in parse_param() argument 134 parm[n++] = token; in parse_param() 160 char *parm[8] = {NULL}; in sreg_write() local 180 parse_param(buf_orig, (char **)&parm); in sreg_write() 182 if (!parm[0]) { in sreg_write() 187 if (!strcmp(parm[0], "r")) { in sreg_write() 188 if (!parm[1] || (kstrtoul(parm[1], 16, &val) < 0)) { in sreg_write() 195 } else if (!strcmp(parm[0], "w")) { in sreg_write() 196 if (!parm[1] || (kstrtoul(parm[1], 16, &val) < 0)) { in sreg_write() 201 if (!parm[2] || (kstrtoul(parm[2], 16, &val) < 0)) { in sreg_write() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/amports/ |
D | amstream.c | 1844 struct am_ioctl_parm parm; in amstream_ioctl_get() local 1847 ((void *)&parm, (void *)arg, in amstream_ioctl_get() 1848 sizeof(parm))) in amstream_ioctl_get() 1851 switch (parm.cmd) { in amstream_ioctl_get() 1868 parm.data_32 = val; in amstream_ioctl_get() 1874 parm.data_32 = userdata_length; in amstream_ioctl_get() 1883 offset = parm.data_32; in amstream_ioctl_get() 1886 parm.data_32 = pts; in amstream_ioctl_get() 1891 parm.data_32 = first_pts_checkin_complete( in amstream_ioctl_get() 1896 parm.data_32 = timestamp_apts_get(); in amstream_ioctl_get() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/decoder/ |
D | vdec_vp9_if.c | 165 static u32 vdec_config_default_parms(u8 *parm) in vdec_config_default_parms() argument 167 u8 *pbuf = parm; in vdec_config_default_parms() 181 return parm - pbuf; in vdec_config_default_parms() 188 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 194 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 196 ctx->config.parm.dec.cfg.double_write_mode); in vdec_parser_parms() 198 ctx->config.parm.dec.cfg.init_width); in vdec_parser_parms() 200 ctx->config.parm.dec.cfg.init_height); in vdec_parser_parms() 204 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 206 ctx->config.parm.dec.cfg.canvas_mem_endian); in vdec_parser_parms() [all …]
|
D | vdec_hevc_if.c | 150 static u32 vdec_config_default_parms(u8 *parm) in vdec_config_default_parms() argument 152 u8 *pbuf = parm; in vdec_config_default_parms() 163 return parm - pbuf; in vdec_config_default_parms() 170 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 176 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 178 ctx->config.parm.dec.cfg.double_write_mode); in vdec_parser_parms() 183 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 185 ctx->config.parm.dec.cfg.canvas_mem_endian); in vdec_parser_parms() 188 ctx->config.parm.dec.cfg.double_write_mode = 16; in vdec_parser_parms() 189 ctx->config.parm.dec.cfg.ref_buf_margin = 7; in vdec_parser_parms() [all …]
|
D | vdec_mpeg12_if.c | 150 static u32 vdec_config_default_parms(u8 *parm) in vdec_config_default_parms() argument 152 u8 *pbuf = parm; in vdec_config_default_parms() 158 return pbuf - parm; in vdec_config_default_parms() 165 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 171 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 173 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 180 inst->parms.cfg = ctx->config.parm.dec.cfg; in vdec_parser_parms()
|
D | vdec_mpeg4_if.c | 150 static u32 vdec_config_default_parms(u8 *parm) in vdec_config_default_parms() argument 152 u8 *pbuf = parm; in vdec_config_default_parms() 158 return pbuf - parm; in vdec_config_default_parms() 165 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 171 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 173 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 180 inst->parms.cfg = ctx->config.parm.dec.cfg; in vdec_parser_parms()
|
D | vdec_h264_if.c | 252 static u32 vdec_config_default_parms(u8 *parm) in vdec_config_default_parms() argument 254 u8 *pbuf = parm; in vdec_config_default_parms() 262 return parm - pbuf; in vdec_config_default_parms() 269 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 275 ctx->config.parm.dec.cfg.double_write_mode); in vdec_parser_parms() 277 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 279 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 281 ctx->config.parm.dec.cfg.canvas_mem_endian); in vdec_parser_parms() 284 ctx->config.parm.dec.cfg.double_write_mode = 16; in vdec_parser_parms() 285 ctx->config.parm.dec.cfg.ref_buf_margin = 7; in vdec_parser_parms() [all …]
|
/device/board/osware/imx8mm/drivers/camera/driver_adapter/src/ |
D | v4l2_stream.cpp | 77 format.fmtdesc.fps.numerator = Stream_Parm.parm.capture.timeperframe.numerator; in V4L2StreamFPSGet() 78 format.fmtdesc.fps.denominator = Stream_Parm.parm.capture.timeperframe.denominator; in V4L2StreamFPSGet() 90 Stream_Parm.parm.capture.capturemode = format.fmtdesc.capturemode; in V4L2StreamFPSSet() 91 Stream_Parm.parm.capture.timeperframe.denominator = format.fmtdesc.fps.denominator; in V4L2StreamFPSSet() 92 Stream_Parm.parm.capture.timeperframe.numerator = format.fmtdesc.fps.numerator; in V4L2StreamFPSSet()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/platform/ |
D | system_am_adap.c | 114 static void parse_param(char *buf_orig, char **parm, int num) in parse_param() argument 125 parm[n++] = token; in parse_param() 353 char *buf_orig, *parm[10] = {NULL}; in adapt_frame_write() local 364 parse_param(buf_orig, (char **)&parm, sizeof(parm)/sizeof(parm[0])); in adapt_frame_write() 366 if (!parm[0]) { in adapt_frame_write() 371 if (!parm[1] || (kstrtoul(parm[1], 10, &val) < 0)) { in adapt_frame_write() 378 if (!parm[2] || (kstrtoul(parm[2], 10, &val) < 0)) { in adapt_frame_write() 403 write_index_to_file(parm[0], virt_buf, cur_buf_index, frame_size); in adapt_frame_write() 411 write_index_to_file(parm[0], virt_buf, dump_buf_index, frame_size); in adapt_frame_write() 443 char *buf_orig, *parm[10] = {NULL}; in dol_frame_write() local [all …]
|
/device/board/unionman/unionpi_tiger/hardware/camera/driver_adapter/src/ |
D | v4l2_stream.cpp | 75 format.fmtdesc.fps.numerator = Stream_Parm.parm.capture.timeperframe.numerator; in V4L2StreamFPSGet() 76 format.fmtdesc.fps.denominator = Stream_Parm.parm.capture.timeperframe.denominator; in V4L2StreamFPSGet() 88 Stream_Parm.parm.capture.timeperframe.denominator = format.fmtdesc.fps.denominator; in V4L2StreamFPSSet() 89 Stream_Parm.parm.capture.timeperframe.numerator = format.fmtdesc.fps.numerator; in V4L2StreamFPSSet()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/flash/ |
D | flash.c | 725 UINT32 flash_ctrl(UINT32 cmd, void *parm) in flash_ctrl() argument 739 clk = (*(UINT8 *)parm); in flash_ctrl() 775 (*(UINT16 *)parm) = flash_read_sr(2); in flash_ctrl() 779 flash_write_sr(*(unsigned long *)parm & 0x00FF, ((*(unsigned long *)parm) >> 8) & 0x00FFFF); in flash_ctrl() 783 (*(UINT8 *)parm) = flash_read_qe(); in flash_ctrl() 800 wsr = (*(UINT16 *)parm); in flash_ctrl() 805 (*(UINT32 *)parm) = flash_get_id(); in flash_ctrl() 809 (*(UINT32 *)parm) = flash_read_mid(); in flash_ctrl() 813 (*(UINT32 *)parm) = get_flash_protect(); in flash_ctrl() 817 address = (*(UINT32 *)parm); in flash_ctrl() [all …]
|
D | flash.h | 122 UINT32 flash_ctrl(UINT32 cmd, void *parm);
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/dvb_ci/ |
D | aml_spi.c | 1718 char *parm[3]; in aml_spi_io_test() local 1731 parm[n++] = token; in aml_spi_io_test() 1734 if (!n || ((n > 0) && (strlen(parm[0]) != 2))) { in aml_spi_io_test() 1735 pr_err("invalid command n[%x]p[%x][%s]\n", n,(int)strlen(parm[0]),parm[0]); in aml_spi_io_test() 1740 if ((parm[0][0] == 'r')) { in aml_spi_io_test() 1746 if (kstrtol(parm[1], 0, &value) == 0) in aml_spi_io_test() 1748 pr_err("%s 0x%x\n", parm[0], addr); in aml_spi_io_test() 1749 switch ((char)parm[0][1]) { in aml_spi_io_test() 1761 pr_dbg("%s: 0x%x --> 0x%x\n", parm[0], addr, retval); in aml_spi_io_test() 1762 } else if ((parm[0][0] == 'w')) { in aml_spi_io_test() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/hw_demux/ |
D | frontend.c | 81 char *parm[4] = { NULL }; in stb_store_tuner_setting() local 95 parm[n++] = token; in stb_store_tuner_setting() 98 if (parm[0] && kstrtoul(parm[0], 10, &tmp) == 0) { in stb_store_tuner_setting()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/ve/cedar-ve/ |
D | cedar_ve.c | 1582 struct user_iommu_param parm; in compat_cedardev_ioctl() local 1585 if (copy_from_user(&parm, (void __user *)arg, in compat_cedardev_ioctl() 1590 if (map_dma_buf_addr(parm.fd, &parm.iommu_addr, filp) != 0) { in compat_cedardev_ioctl() 1595 if (copy_to_user((void __user *)arg, &parm, in compat_cedardev_ioctl() 1605 struct user_iommu_param parm; in compat_cedardev_ioctl() local 1607 if (copy_from_user(&parm, (void __user *)arg, in compat_cedardev_ioctl() 1613 unmap_dma_buf_addr(0, parm.fd, filp); in compat_cedardev_ioctl() 1618 struct dma_buf_param parm; in compat_cedardev_ioctl() local 1621 if (copy_from_user(&parm, (void __user *)arg, sizeof(struct dma_buf_param))) { in compat_cedardev_ioctl() 1625 if (map_dma_buf_addr(parm.fd, &parm.phy_addr, filp) != 0) { in compat_cedardev_ioctl() [all …]
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/sdcard/ |
D | sdcard.h | 40 extern UINT32 sdcard_ctrl(UINT32 cmd, void *parm);
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/include/bk_private/ |
D | bk_drv_model.h | 39 UINT32 (*control) (UINT32 cmd, void *parm);
|
/device/soc/hpmicro/drivers/platform/ |
D | gpio.c | 171 static __attribute__((section(".interrupt.text"))) VOID hpm_gpio_isr(VOID *parm) in hpm_gpio_isr() argument 173 struct GpioCntlr *ctl = (struct GpioCntlr *)parm; in hpm_gpio_isr()
|
D | uart.c | 92 static __attribute__((section(".interrupt.text"))) VOID HpmUartIsr(VOID *parm) in HpmUartIsr() argument 94 struct UartHost *host = (struct UartHost *)parm; in HpmUartIsr()
|
/device/board/hpmicro/hpm6750evk2/liteos_m/lwip_adapter/ |
D | ethernetif.c | 282 static __attribute__((section(".interrupt.text"))) VOID hpm_enet_isr(VOID *parm) in hpm_enet_isr() argument 284 struct netif *netif = (struct netif *)parm; in hpm_enet_isr()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin_test/mplane_image/ |
D | csi_test_mplane.c | 759 parms.parm.capture.timeperframe.numerator = 1; in camera_init() 760 parms.parm.capture.timeperframe.denominator = fps; in camera_init() 761 parms.parm.capture.capturemode = V4L2_MODE_VIDEO; in camera_init() 764 parms.parm.capture.reserved[0] = 0; in camera_init() 765 parms.parm.capture.reserved[1] = wdr_mode;/*2:command, 1: wdr, 0: normal*/ in camera_init()
|