Home
last modified time | relevance | path

Searched refs:write (Results 1 - 25 of 197) sorted by relevance

12345678

/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcm_ring.h71 * - bcm_ring_sync_write: Sync write offset in peer ring, from local ring
98 * buffer. The producer may operate on it's own local workq and flush the write
166 int write __ring_aligned; /* WRITE index in a circular ring */
179 static INLINE void bcm_ring_prod_done(bcm_ring_t *ring, int write);
209 ring->write = 0; in bcm_ring_init()
223 to->write = from->write; in bcm_ring_copy()
237 return (ring->read == ring->write); in bcm_ring_is_empty()
241 * __bcm_ring_next_write - determine the index where the next write may occur
252 return ((ring->write in __bcm_ring_next_write()
292 bcm_ring_prod_done(bcm_ring_t *ring, int write) bcm_ring_prod_done() argument
[all...]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dmkbootimg47 f.write(pack(str(pad) + 'x'))
70 args.output.write(pack('8s', BOOT_MAGIC))
71 args.output.write(pack(
78 args.output.write(pack('4I', 0, 0, 0, 0)) # reserved
80 args.output.write(pack('I', args.header_version)) # version of bootimage header
81 args.output.write(pack('1536s', args.cmdline.encode()))
88 args.vendor_boot.write(pack('8s', BOOT_MAGIC))
89 args.vendor_boot.write(pack(
96 args.vendor_boot.write(pack('2048s', args.vendor_cmdline.encode()))
97 args.vendor_boot.write(pac
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-hdcp.c140 hdcp->write(hdmi, val, reg); in hdcp_modb()
328 hdcp->write(hdmi, 0, HDMI_HDCPREG_RMCTL); in dw_hdmi_hdcp_load_key()
333 hdcp->write(hdmi, 0, HDMI_HDCPREG_DPK6); in dw_hdmi_hdcp_load_key()
334 hdcp->write(hdmi, 0, HDMI_HDCPREG_DPK5); in dw_hdmi_hdcp_load_key()
338 hdcp->write(hdmi, hdcp_keys->KSV[i], HDMI_HDCPREG_DPK0 + i); in dw_hdmi_hdcp_load_key()
347 hdcp->write(hdmi, 1, HDMI_HDCPREG_RMCTL); in dw_hdmi_hdcp_load_key()
348 hdcp->write(hdmi, hdcp->seeds[0], HDMI_HDCPREG_SEED1); in dw_hdmi_hdcp_load_key()
349 hdcp->write(hdmi, hdcp->seeds[1], HDMI_HDCPREG_SEED0); in dw_hdmi_hdcp_load_key()
351 hdcp->write(hdmi, 0, HDMI_HDCPREG_RMCTL); in dw_hdmi_hdcp_load_key()
357 hdcp->write(hdm in dw_hdmi_hdcp_load_key()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-hdcp.c139 hdcp->write(hdmi, val, reg); in hdcp_modb()
317 hdcp->write(hdmi, 0, HDMI_HDCPREG_RMCTL); in dw_hdmi_hdcp_load_key()
323 hdcp->write(hdmi, 0, HDMI_HDCPREG_DPK6); in dw_hdmi_hdcp_load_key()
324 hdcp->write(hdmi, 0, HDMI_HDCPREG_DPK5); in dw_hdmi_hdcp_load_key()
328 hdcp->write(hdmi, hdcp_keys->KSV[i], HDMI_HDCPREG_DPK0 + i); in dw_hdmi_hdcp_load_key()
338 hdcp->write(hdmi, 1, HDMI_HDCPREG_RMCTL); in dw_hdmi_hdcp_load_key()
339 hdcp->write(hdmi, hdcp->seeds[0], HDMI_HDCPREG_SEED1); in dw_hdmi_hdcp_load_key()
340 hdcp->write(hdmi, hdcp->seeds[1], HDMI_HDCPREG_SEED0); in dw_hdmi_hdcp_load_key()
342 hdcp->write(hdmi, 0, HDMI_HDCPREG_RMCTL); in dw_hdmi_hdcp_load_key()
348 hdcp->write(hdm in dw_hdmi_hdcp_load_key()
[all...]
/device/soc/rockchip/common/vendor/drivers/mmc/host/
H A Drk_sdmmc_ops.c57 unsigned blocks, unsigned blksz, int write) in rk_emmc_prepare_mrq()
62 mrq->cmd->opcode = write ? MMC_WRITE_MULTIPLE_BLOCK : MMC_READ_MULTIPLE_BLOCK; in rk_emmc_prepare_mrq()
64 mrq->cmd->opcode = write ? MMC_WRITE_BLOCK : MMC_READ_SINGLE_BLOCK; in rk_emmc_prepare_mrq()
84 mrq->data->flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in rk_emmc_prepare_mrq()
132 int rk_emmc_transfer(u8 *buffer, unsigned addr, unsigned blksz, int write) in rk_emmc_transfer() argument
154 rk_emmc_prepare_mrq(&mrq, &sg, 1, addr, 1, blksz, write); in rk_emmc_transfer()
56 rk_emmc_prepare_mrq(struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, unsigned blocks, unsigned blksz, int write) rk_emmc_prepare_mrq() argument
H A Drk_sdmmc_ops.h9 int rk_emmc_transfer(u8 *buffer, unsigned int addr, unsigned int blksz, int write);
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/
H A Drk_sdmmc_ops.c59 unsigned sg_len, unsigned dev_addr, unsigned blocks, unsigned blksz, int write) in rk_emmc_prepare_mrq()
64 mrq->cmd->opcode = write ? in rk_emmc_prepare_mrq()
67 mrq->cmd->opcode = write ? in rk_emmc_prepare_mrq()
87 mrq->data->flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in rk_emmc_prepare_mrq()
134 int rk_emmc_transfer(u8 *buffer, unsigned addr, unsigned blksz, int write) in rk_emmc_transfer() argument
155 rk_emmc_prepare_mrq(&mrq, &sg, 1, addr, 1, blksz, write); in rk_emmc_transfer()
58 rk_emmc_prepare_mrq(struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, unsigned blocks, unsigned blksz, int write) rk_emmc_prepare_mrq() argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dpacket_create.py93 file.write(struct.pack('IHHI', flag, crc, imageNum, totalFileSize))
98 file.write(
107 file.write(data)
108 file.write(struct.pack('IIII', 0, 0, 0, 0))
115 file.write(struct.pack('H', crc16))
174 file.write(struct.pack('IHHI', flag, crc, imageNum, totalFileSize))
179 file.write(struct.pack('32sIIIII', bytes(pathName, 'ascii'), startIndex, imageSizeList[times], burnAddrList[times],
187 file.write(data)
188 file.write(struct.pack('IIII', 0, 0, 0, 0))
196 file.write(struc
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_l2_mmu_config.c42 * struct l2_mmu_config_limit - L2 MMU read and write limit
46 * @write: Values for the write limit field
51 struct l2_mmu_config_limit_region write; member
63 /* GPU, read, write */
115 mmu_config &= ~(limit.read.mask | limit.write.mask); in kbase_set_mmu_quirks()
118 (limit.write.value << limit.write.shift); in kbase_set_mmu_quirks()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_l2_mmu_config.c48 * @write: Values for the write limit field
53 struct l2_mmu_config_limit_region write; member
65 /* GPU, read, write */
102 mmu_config &= ~(limit.read.mask | limit.write.mask); in kbase_set_mmu_quirks()
104 mmu_config |= (limit.read.value << limit.read.shift) | (limit.write.value << limit.write.shift); in kbase_set_mmu_quirks()
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/
H A Dpacket_tool.py96 file.write(struct.pack('IHHI', flag, crc, imageNum, totalFileSize))
101 file.write(
111 file.write(data)
112 file.write(struct.pack('IIII', 0, 0, 0, 0))
120 file.write(struct.pack('H', crc16))
215 file.write(struct.pack('IHHI', flag, crc, imageNum, totalFileSize))
220 file.write(
228 file.write(info)
229 file.write(struct.pack('IIII', 0, 0, 0, 0))
237 file.write(struc
[all...]
/device/soc/rockchip/rk2206/hardware/
H A Dbuild.py42 self.fp.write(head)
59 self.fp.write(inc)
63 self.fp.write(tail)
85 self.fp.write(source)
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dbcmsdspi_linux.c390 int write = 0; in spi_sendrecv() local
400 write = msg_out[2] & 0x80; in spi_sendrecv()
402 write = msg_out[1] & 0x80; in spi_sendrecv()
406 write = msg_out[0] & 0x80; in spi_sendrecv()
408 write = msg_out[3] & 0x80; in spi_sendrecv()
415 tx_len = write ? msglen-4 : 4; in spi_sendrecv()
418 write ? "WR" : "RD", sd->wordlen, in spi_sendrecv()
H A Dbcmsdh_sdmmc.c334 sd_err(("%s: error for write SDIO_CCCR_IENx : 0x%x\n", __FUNCTION__, err)); in sdioh_enable_func_intr()
370 sd_err(("%s: error for write SDIO_CCCR_IENx : 0x%x\n", __FUNCTION__, err)); in sdioh_disable_func_intr()
855 /* Can only directly write to some F0 registers. Handle F2 enable in sdioh_request_byte()
969 sd_err(("bcmsdh_sdmmc: F0 Wr:0x%02x: write disallowed\n", regaddr)); in sdioh_request_byte()
971 /* Claim host controller, perform F0 write, and release */ in sdioh_request_byte()
980 /* Claim host controller, perform Fn write, and release */ in sdioh_request_byte()
1122 sdioh_request_packet_chain(sdioh_info_t *sd, uint fix_inc, uint write, uint func, in sdioh_request_packet_chain() argument
1185 sd_trace(("%s[%d] data=%p, len=%d\n", __FUNCTION__, write, pdata, pkt_len)); in sdioh_request_packet_chain()
1228 mmc_dat.flags = write ? MMC_DATA_WRITE : MMC_DATA_READ; in sdioh_request_packet_chain()
1230 mmc_cmd.arg = write in sdioh_request_packet_chain()
1340 sdioh_buffer_tofrom_bus(sdioh_info_t *sd, uint fix_inc, uint write, uint func, uint addr, uint8 *buf, uint len) sdioh_buffer_tofrom_bus() argument
1405 sdioh_request_buffer(sdioh_info_t *sd, uint pio_dma, uint fix_inc, uint write, uint func, uint addr, uint reg_width, uint buf_len, uint8 *buffer, void *pkt) sdioh_request_buffer() argument
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/soc/rockchip/
H A Drk_vendor_storage.h34 int rk_vendor_register(void *read, void *write);
47 static inline int rk_vendor_register(void *read, void *write) in rk_vendor_register() argument
/device/soc/rockchip/rk3588/kernel/include/linux/soc/rockchip/
H A Drk_vendor_storage.h34 int rk_vendor_register(void *read, void *write);
47 static inline int rk_vendor_register(void *read, void *write) in rk_vendor_register() argument
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drk_vendor_storage.c35 int rk_vendor_register(void *read, void *write) in rk_vendor_register() argument
39 _vendor_write = write; in rk_vendor_register()
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drk_vendor_storage.c33 int rk_vendor_register(void *read, void *write) in rk_vendor_register() argument
37 _vendor_write = write; in rk_vendor_register()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
H A Ddrv_hdmi_event.c15 * along with this program; if not, write to the Free Software
35 static hi_s32 event_type_counter(hdmi_event_pool *pool, hdmi_event event, hi_bool write) in event_type_counter() argument
39 write ? pool->run_cnt.hpd_wr_cnt++ : pool->run_cnt.hpd_rd_cnt++; in event_type_counter()
42 write ? pool->run_cnt.unhpd_wr_cnt++ : pool->run_cnt.unhpd_rd_cnt++; in event_type_counter()
45 write ? pool->run_cnt.edid_fail_wr_cnt++ : pool->run_cnt.edid_fail_rd_cnt++; in event_type_counter()
48 write ? pool->run_cnt.rsen_con_wr_cnt++ : pool->run_cnt.rsen_con_rd_cnt++; in event_type_counter()
51 write ? pool->run_cnt.rsen_dis_wr_cnt++ : pool->run_cnt.rsen_dis_rd_cnt++; in event_type_counter()
231 hdmi_warn("the event(0x%x) invalid ,we don't write!\n", event); in drv_hdmi_event_pool_write()
242 /* write event into all event pool in the list */ in drv_hdmi_event_pool_write()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/interconnection_server/
H A Dhisignalling.c58 if (write(fd, buffer, len) < 0) { in GpioExport()
92 if (write(fd, buffer, len) < 0) { in GpioUnexport()
123 if (write(fd, &dirStr[dir == 0 ? 0 : 3], dir == 0 ? 2 : 3) < 0) { /* 3, 2, 3 gpio register */ in GpioDirection()
159 if (write(fd, &valuesStr[value == 0 ? 0 : 1], 1) < 0) { /* 1, 1 gpio register */ in GpioWrite()
160 MSG("Failed to write value!\n"); in GpioWrite()
250 if (write(fd, &dirStr[ptr], strlen(&dirStr[ptr])) < 0) { in GpioEdge()
376 ret = write(fd, (char*)sendBuf + count, sendLen); in UartSend()
378 printf("write data below 1 byte % d\r\n", ret); in UartSend()
567 printf("write data failed\r\n"); in HisignallingMsgSend()
800 * Serial read and write in AiUartTransmit()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_proc.c15 * along with this program; if not, write to the Free Software
58 return sentry->write(sentry, (char *)buf, count, (long long *)ppos); in osal_procwrite()
66 if ((item != NULL) && (item->write != NULL)) { in osal_procwrite()
67 return item->write(item, buf, count, (long long *)ppos); in osal_procwrite()
100 .write = osal_procwrite,
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/
H A Drga2_debugger.c139 if (node->info_ent->write) { in rga_debugger_write()
140 return node->info_ent->write(file, ubuf, len, offp); in rga_debugger_write()
160 .write = rga_debugger_write,
285 .write = rga_debugger_write,
/device/soc/rockchip/common/sdk_linux/drivers/power/reset/
H A Dreboot-mode.h5 int reboot_mode_register(struct device *dev, int (*write)(int));
/device/soc/rockchip/rk3588/kernel/drivers/power/reset/
H A Dreboot-mode.h5 int reboot_mode_register(struct device *dev, int (*write)(int));
/device/soc/rockchip/common/vendor/include/mmc/host/
H A Drk_sdmmc_ops.h9 int rk_emmc_transfer(u8 *buffer, unsigned int addr, unsigned int blksz, int write);

Completed in 11 milliseconds

12345678