Home
last modified time | relevance | path

Searched refs:data (Results 1 – 24 of 24) sorted by relevance

/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/drivers/B91/
Di2c.h237 unsigned char i2c_master_write(unsigned char id, unsigned char *data, unsigned char len);
247 unsigned char i2c_master_read(unsigned char id, unsigned char *data, unsigned char len);
268 void i2c_master_write_dma(unsigned char id, unsigned char *data, unsigned char len);
279 void i2c_master_read_dma(unsigned char id, unsigned char *data, unsigned char len);
290 void i2c_slave_set_tx_dma( unsigned char *data, unsigned char len);
300 void i2c_slave_set_rx_dma(unsigned char *data, unsigned char len);
309 void i2c_slave_read(unsigned char* data , unsigned char len );
318 void i2c_slave_write(unsigned char* data , unsigned char len);
Dswire.h68 static inline void swire_master_write_data(unsigned char data) in swire_master_write_data() argument
70 reg_swire_data = data; in swire_master_write_data()
153 … char slave_id,unsigned char *addr, unsigned char addr_len,unsigned char *data,unsigned int data_l…
168 … char slave_id,unsigned char *addr, unsigned char addr_len,unsigned char *data,unsigned int data_l…
Daes.c72 void aes_set_key_data(unsigned char *key, unsigned char* data) in aes_set_key_data() argument
79 temp = data[16-(4*i)-4]<<24 | data[16-(4*i)-3]<<16 | data[16-(4*i)-2]<<8 | data[16-(4*i)-1]; in aes_set_key_data()
Di2c.c211 unsigned char i2c_master_write(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_write() argument
231 reg_i2c_data_buf(cnt % 4) = data[cnt]; //write data in i2c_master_write()
252 unsigned char i2c_master_read(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_read() argument
273 data[cnt] = reg_i2c_data_buf(cnt % 4); in i2c_master_read()
350 void i2c_master_write_dma(unsigned char id, unsigned char *data, unsigned char len) in i2c_master_write_dma() argument
357 …dma_set_address(i2c_dma_tx_chn,(unsigned int)convert_ram_addr_cpu2bus(data),reg_i2c_data_buf0_addr… in i2c_master_write_dma()
395 void i2c_slave_set_tx_dma( unsigned char *data, unsigned char len) in i2c_slave_set_tx_dma() argument
397 …dma_set_address(i2c_dma_tx_chn,(unsigned int)convert_ram_addr_cpu2bus(data),reg_i2c_data_buf0_addr… in i2c_slave_set_tx_dma()
409 void i2c_slave_set_rx_dma(unsigned char *data, unsigned char len) in i2c_slave_set_rx_dma() argument
411 …dma_set_address(i2c_dma_rx_chn,reg_i2c_data_buf0_addr,(unsigned int)convert_ram_addr_cpu2bus(data)… in i2c_slave_set_rx_dma()
[all …]
Danalog.c114 unsigned char data= reg_ana_data(0); in analog_read_reg8() local
116 return data; in analog_read_reg8()
126 void analog_write_reg8(unsigned char addr, unsigned char data){ in analog_write_reg8() argument
129 reg_ana_data(0) = data; in analog_write_reg8()
142 void analog_write_reg16(unsigned char addr, unsigned short data) in analog_write_reg16() argument
146 reg_ana_addr_data16 = data; in analog_write_reg16()
164 unsigned short data=reg_ana_addr_data16; in analog_read_reg16() local
166 return data; in analog_read_reg16()
183 unsigned int data=reg_ana_addr_data32; in analog_read_reg32() local
185 return data; in analog_read_reg32()
[all …]
Danalog.h77 _attribute_ram_code_sec_noinline_ void analog_write_reg8(unsigned char addr, unsigned char data);
92 void analog_write_reg16(unsigned char addr, unsigned short data);
107 void analog_write_reg32(unsigned char addr, unsigned int data);
Dusbhw.h102 static inline void usbhw_write_ctrl_ep_ctrl(unsigned char data) { in usbhw_write_ctrl_ep_ctrl() argument
103 reg_ctrl_ep_ctrl = data; in usbhw_write_ctrl_ep_ctrl()
119 static inline void usbhw_write_ctrl_ep_data(unsigned char data) { in usbhw_write_ctrl_ep_data() argument
120 reg_ctrl_ep_dat = data; in usbhw_write_ctrl_ep_data()
254 static inline void usbhw_write_ep_data(unsigned int ep, unsigned char data) { in usbhw_write_ep_data() argument
255 reg_usb_ep_dat(ep) = data; in usbhw_write_ep_data()
363 void usbhw_write_ep(unsigned int ep, unsigned char * data, int len);
Dusbhw.c54 void usbhw_write_ep(unsigned int ep, unsigned char * data, int len) { in usbhw_write_ep() argument
58 reg_usb_ep_dat(ep) = data[i]; in usbhw_write_ep()
Dspi.c499 void spi_write(spi_sel_e spi_sel, unsigned char *data, unsigned int len) in spi_write() argument
504 reg_spi_wr_rd_data(spi_sel, i % REG_SPI_WR_RD_SIZE) = data[i]; in spi_write()
516 void spi_read(spi_sel_e spi_sel, unsigned char *data, unsigned int len) in spi_read() argument
521 data[i] = reg_spi_wr_rd_data(spi_sel, i % REG_SPI_WR_RD_SIZE); in spi_read()
532 void spi_master_write(spi_sel_e spi_sel, unsigned char *data, unsigned int len) in spi_master_write() argument
538 spi_write(spi_sel, (unsigned char *)data, len); in spi_master_write()
638 …s(spi_sel_e spi_sel, unsigned char cmd, unsigned int addr, unsigned char *data, unsigned int data_… in spi_master_write_plus() argument
649 spi_write(spi_sel, (unsigned char *)data, data_len); in spi_master_write_plus()
663 …s(spi_sel_e spi_sel, unsigned char cmd, unsigned int addr, unsigned char *data, unsigned int data_… in spi_master_read_plus() argument
673 spi_read(spi_sel, (unsigned char *)data, data_len); in spi_master_read_plus()
[all …]
Dflash.c332 _attribute_ram_code_sec_noinline_ void flash_write_status_ram(unsigned short data) in flash_write_status_ram() argument
338 mspi_write((unsigned char)data); in flash_write_status_ram()
340 mspi_write((unsigned char)(data>>8)); in flash_write_status_ram()
348 _attribute_text_sec_ void flash_write_status(unsigned short data) in flash_write_status() argument
351 flash_write_status_ram(data); in flash_write_status()
534 _attribute_ram_code_sec_noinline_ void flash_lock_ram(flash_type_e type , unsigned short data) in flash_lock_ram() argument
543 mspi_write((unsigned char)data); in flash_lock_ram()
545 mspi_write((unsigned char)(data>>8));//16bit status in flash_lock_ram()
556 _attribute_text_sec_ void flash_lock(flash_type_e type , unsigned short data) in flash_lock() argument
559 flash_lock_ram(type,data); in flash_lock()
Dspi.h1070 void spi_write(spi_sel_e spi_sel, unsigned char *data, unsigned int len);
1079 void spi_read(spi_sel_e spi_sel, unsigned char *data, unsigned int len);
1088 void spi_master_write(spi_sel_e spi_sel, unsigned char *data, unsigned int len);
1121 …s(spi_sel_e spi_sel, unsigned char cmd, unsigned int addr, unsigned char *data, unsigned int data_…
1133 …s(spi_sel_e spi_sel, unsigned char cmd, unsigned int addr, unsigned char *data, unsigned int data_…
1146 …ned char cmd, unsigned char *addrs, unsigned int addr_len, unsigned char *data, unsigned int data_…
1222 …sel_e spi_sel, unsigned char *addr, unsigned int addr_len, unsigned char *data, unsigned int data_…
1234 …s(spi_sel_e spi_sel, unsigned char cmd, unsigned int addr, unsigned char *data, unsigned int data_…
1270 void hspi_master_write_xip(unsigned char cmd, unsigned int addr_offset, unsigned char *data, unsign…
1281 void hspi_master_read_xip(unsigned char cmd, unsigned int addr_offset, unsigned char *data, unsigne…
Dflash.h177 _attribute_text_sec_ void flash_write_status(unsigned short data);
236 _attribute_text_sec_ void flash_lock(flash_type_e type, unsigned short data);
Daes.h99 void aes_set_key_data(unsigned char *key, unsigned char* data);
Dpke.c206 void pke_read_operand(unsigned int *baseaddr, unsigned int *data, unsigned int wordLen) in pke_read_operand() argument
210 if(baseaddr != data) in pke_read_operand()
214 data[i] = baseaddr[i]; in pke_read_operand()
226 void pke_load_operand(unsigned int *baseaddr, unsigned int *data, unsigned int wordLen) in pke_load_operand() argument
230 if(baseaddr != data) in pke_load_operand()
234 baseaddr[i] = data[i]; in pke_load_operand()
Duart.c324 void uart_send_hword(uart_num_e uart_num, unsigned short data) in uart_send_hword() argument
330 reg_uart_data_hword_buf(uart_num, uart_tx_hword_index[uart_num]) = data; in uart_send_hword()
341 void uart_send_word(uart_num_e uart_num, unsigned int data) in uart_send_word() argument
344 reg_uart_data_word_buf(uart_num) = data; in uart_send_word()
Duart.h343 void uart_send_hword(uart_num_e uart_num, unsigned short data);
351 void uart_send_word(uart_num_e uart_num, unsigned int data);
Daudio.h537 static inline void audio_write_codec_reg(unsigned char addr,unsigned char data) in audio_write_codec_reg() argument
539 write_reg8(REG_AUDIO_AHB_BASE+((0x80+addr)<<2), data); in audio_write_codec_reg()
/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/ble/vendor/controller/
Db91_bt.h28 …void (*host_read_packet)(uint8_t *data, uint16_t len); /* the controller has a packet to send to …
41 void b91_bt_host_send_packet(uint8_t type, uint8_t *data, uint16_t len);
DKconfig145 int "Maximum extended advertising data length"
148 Maximum extended advertising data length.
151 int "Maximum extended scan response data length"
154 Maximum extended scan response data length.
179 int "Maximum periodic advertising data length"
182 Maximum periodic advertising data length.
Db91_bt.c180 void b91_bt_host_send_packet(uint8_t type, uint8_t *data, uint16_t len) in b91_bt_host_send_packet() argument
184 memcpy(p, data, len); in b91_bt_host_send_packet()
/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/ble/stack/ble/controller/ll/adv/
Dleg_adv.h47 ble_sts_t blc_ll_setAdvData(u8 *data, u8 len);
56 ble_sts_t blc_ll_setScanRspData(u8 *data, u8 len);
/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/ble/stack/ble/controller/ial/
Dial.h70 u8 data[1]; member
/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/ble/stack/ble/hci/
Dhci_event.h159 u8 data[1]; member
311 u8 data[1]; member
324 u8 data[1]; member
423 u8 data[1]; member
607 u8* data);
/hal_telink-3.6.0-3.5.0-3.4.0/tlsr9/drivers/B91/ext_driver/
Dext_misc.h178 void generateRandomNum(int len, unsigned char *data);