Home
last modified time | relevance | path

Searched defs:chip (Results 1 – 25 of 118) sorted by relevance

12345

/u-boot/drivers/gpio/
A Dpca953x.c31 uint8_t chip; member
42 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio()
53 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio()
62 static int pca953x_reg_write(uint8_t chip, uint addr, uint mask, uint data) in pca953x_reg_write()
88 static int pca953x_reg_read(uint8_t chip, uint addr, uint *data) in pca953x_reg_read()
109 int pca953x_set_val(uint8_t chip, uint mask, uint data) in pca953x_set_val()
118 int pca953x_set_pol(uint8_t chip, uint mask, uint data) in pca953x_set_pol()
127 int pca953x_set_dir(uint8_t chip, uint mask, uint data) in pca953x_set_dir()
135 int pca953x_get_val(uint8_t chip) in pca953x_get_val()
149 static int pca953x_info(uint8_t chip) in pca953x_info()
[all …]
A Dtca642x.c47 static int tca642x_reg_write(uchar chip, uint8_t addr, in tca642x_reg_write()
72 static int tca642x_reg_read(uchar chip, uint8_t addr, uint8_t *data) in tca642x_reg_read()
96 int tca642x_set_val(uchar chip, uint8_t gpio_bank, in tca642x_set_val()
108 int tca642x_set_pol(uchar chip, uint8_t gpio_bank, in tca642x_set_pol()
120 int tca642x_set_dir(uchar chip, uint8_t gpio_bank, in tca642x_set_dir()
131 int tca642x_get_val(uchar chip, uint8_t gpio_bank) in tca642x_get_val()
145 int tca642x_set_inital_state(uchar chip, struct tca642x_bank_info init_data[]) in tca642x_set_inital_state()
171 static int tca642x_info(uchar chip) in tca642x_info()
245 static uchar chip = CONFIG_SYS_I2C_TCA642X_ADDR; in do_tca642x() local
/u-boot/drivers/misc/
A Dds4510.c33 static int ds4510_mem_write(uint8_t chip, int offset, uint8_t *buf, int count) in ds4510_mem_write()
62 static int ds4510_mem_read(uint8_t chip, int offset, uint8_t *buf, int count) in ds4510_mem_read()
72 static int ds4510_see_write(uint8_t chip, uint8_t nv) in ds4510_see_write()
90 static int ds4510_rstdelay_write(uint8_t chip, uint8_t delay) in ds4510_rstdelay_write()
106 static int ds4510_pullup_write(uint8_t chip, uint8_t val) in ds4510_pullup_write()
116 static int ds4510_pullup_read(uint8_t chip) in ds4510_pullup_read()
129 static int ds4510_gpio_write(uint8_t chip, uint8_t val) in ds4510_gpio_write()
153 static int ds4510_gpio_read(uint8_t chip) in ds4510_gpio_read()
173 static int ds4510_gpio_read_val(uint8_t chip) in ds4510_gpio_read_val()
186 static int ds4510_info(uint8_t chip) in ds4510_info()
[all …]
/u-boot/drivers/mtd/nand/raw/
A Dnand_base.c114 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
140 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
154 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
167 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
179 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
192 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
215 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
229 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
2827 struct nand_chip *chip, in nand_write_page_raw_syndrome()
3026 struct nand_chip *chip, in nand_write_page_syndrome()
[all …]
A Dfsl_upm.c68 struct nand_chip *chip = mtd_to_nand(mtd); in fun_select_chip() local
83 struct nand_chip *chip = mtd_to_nand(mtd); in fun_cmd_ctrl() local
127 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_byte() local
135 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_write_buf() local
151 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_buf() local
159 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready() local
165 int fsl_upm_nand_init(struct nand_chip *chip, struct fsl_upm_nand *fun) in fsl_upm_nand_init()
A Dmxs_nand_spl.c23 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_command() local
70 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_full_ident() local
88 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_onfi_ident() local
161 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_read_page_ecc() local
175 register struct nand_chip *chip = mtd_to_nand(mtd); in is_badblock() local
222 struct nand_chip *chip; in nand_spl_load_image() local
A Dfsl_elbc_nand.c49 struct nand_chip chip; member
158 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() local
198 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_run_command() local
248 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read()
283 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_cmdfunc() local
481 static void fsl_elbc_select_chip(struct mtd_info *mtd, int chip) in fsl_elbc_select_chip()
493 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_write_buf() local
530 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_byte() local
547 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_buf() local
568 static int fsl_elbc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_elbc_wait()
[all …]
A Dfsl_ifc_nand.c35 struct nand_chip chip; member
225 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() local
259 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_run_command() local
331 static void fsl_ifc_do_read(struct nand_chip *chip, in fsl_ifc_do_read()
372 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_cmdfunc() local
578 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_write_buf() local
606 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte() local
630 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte16() local
654 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_buf() local
675 static int fsl_ifc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_ifc_wait()
[all …]
A Dcortina_nand.c91 struct nand_chip *chip = mtd_to_nand(mtd); in read_byte() local
122 struct nand_chip *chip = mtd_to_nand(mtd); in read_buf() local
150 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready() local
240 struct nand_chip *chip = mtd_to_nand(mtd); in ca_nand_command() local
510 struct nand_chip *chip = mtd_to_nand(mtd); in set_bus_width_page_size() local
543 static int ca_do_bch_correction(struct nand_chip *chip, in ca_do_bch_correction()
958 struct nand_chip *chip, uint8_t *buf, in nand_read_page_hwecc()
986 struct nand_chip *chip, const uint8_t *buf, in nand_write_page_hwecc()
1015 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw()
1043 struct nand_chip *chip, const uint8_t *buf, in nand_write_page_raw()
[all …]
A Dtegra_nand.c160 struct nand_chip *chip = mtd_to_nand(mtd); in read_byte() local
186 struct nand_chip *chip = mtd_to_nand(mtd); in read_buf() local
211 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready() local
262 struct nand_chip *chip = mtd_to_nand(mtd); in nand_command() local
510 static int nand_rw_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_rw_page()
661 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc()
674 struct nand_chip *chip, const uint8_t *buf, int oob_required, in nand_write_page_hwecc()
694 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_raw()
707 struct nand_chip *chip, const uint8_t *buf, in nand_write_page_raw()
726 static int nand_rw_oob(struct mtd_info *mtd, struct nand_chip *chip, in nand_rw_oob()
[all …]
A Dstm32_fmc2_nand.c149 struct nand_chip chip; member
207 static void stm32_fmc2_nfc_setup(struct nand_chip *chip) in stm32_fmc2_nfc_setup()
236 struct nand_chip *chip = mtd_to_nand(mtd); in stm32_fmc2_nfc_select_chip() local
279 struct nand_chip *chip = mtd_to_nand(mtd); in stm32_fmc2_nfc_cmd_ctrl() local
299 struct nand_chip *chip = mtd_to_nand(mtd); in stm32_fmc2_nfc_hwctl() local
322 struct nand_chip *chip = mtd_to_nand(mtd); in stm32_fmc2_nfc_ham_calculate() local
406 struct nand_chip *chip = mtd_to_nand(mtd); in stm32_fmc2_nfc_bch_calculate() local
452 struct nand_chip *chip = mtd_to_nand(mtd); in stm32_fmc2_nfc_bch_correct() local
504 struct nand_chip *chip, u8 *buf, in stm32_fmc2_nfc_read_page()
728 struct nand_chip *chip = mtd_to_nand(mtd); in stm32_fmc2_nfc_setup_interface() local
[all …]
A Darasan_nfc.c290 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_enable_ecc() local
303 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_get_addrcycle() local
337 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_read_page() local
473 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_fill_tx() local
642 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_reset() local
710 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_send_wrcmd() local
755 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_write_buf() local
808 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_erase() local
866 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_read_status() local
920 struct nand_chip *chip = mtd_to_nand(mtd); in arasan_nand_send_rdcmd() local
[all …]
A Ddenali.c289 struct nand_chip *chip, uint8_t *buf, in denali_check_erased_page()
330 struct nand_chip *chip = mtd_to_nand(mtd); in denali_hw_ecc_fixup() local
610 static void denali_oob_xfer(struct mtd_info *mtd, struct nand_chip *chip, in denali_oob_xfer()
745 static int denali_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in denali_read_oob()
753 static int denali_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in denali_write_oob()
888 static void denali_select_chip(struct mtd_info *mtd, int chip) in denali_select_chip()
895 static int denali_waitfunc(struct mtd_info *mtd, struct nand_chip *chip) in denali_waitfunc()
1141 struct nand_chip *chip = mtd_to_nand(mtd); in denali_ooblayout_ecc() local
1156 struct nand_chip *chip = mtd_to_nand(mtd); in denali_ooblayout_free() local
1174 struct nand_chip *chip = &denali->nand; in denali_multidev_fixup() local
[all …]
/u-boot/drivers/usb/gadget/
A Dfotg210.c41 struct fotg210_chip *chip; member
213 struct fotg210_chip *chip = ep->chip; in fotg210_dma() local
507 struct fotg210_chip *chip = ep->chip; in fotg210_ep_enable() local
551 struct fotg210_chip *chip = ep->chip; in fotg210_ep_disable() local
589 struct fotg210_chip *chip = ep->chip; in fotg210_ep_queue() local
674 struct fotg210_chip *chip = ep->chip; in fotg210_ep_halt() local
738 struct fotg210_chip *chip; in fotg210_pullup() local
751 struct fotg210_chip *chip; in fotg210_get_frame() local
839 struct fotg210_chip *chip = &controller; in usb_gadget_handle_interrupts() local
917 struct fotg210_chip *chip = &controller; in usb_gadget_register_driver() local
[all …]
/u-boot/drivers/tpm/
A Dtpm_tis_infineon.c75 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_read() local
130 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_write_generic() local
196 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_check_locality() local
229 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_request_locality() local
270 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_status() local
282 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_ready() local
298 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_get_burstcount() local
347 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_recv_data() local
374 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_recv() local
424 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_send() local
[all …]
A Dtpm2_tis_spi.c194 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_check_locality() local
227 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_request_locality() local
273 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_status() local
300 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_valid_status() local
308 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_get_burstcount() local
333 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_cancel() local
341 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_recv_data() local
367 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_recv() local
408 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_send() local
505 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_cleanup() local
[all …]
A Dtpm_tis_st33zp24_i2c.c130 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_check_locality() local
150 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_request_locality() local
196 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_get_burstcount() local
277 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_recv_data() local
306 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_recv() local
354 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_send() local
436 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_init() local
458 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_open() local
474 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_close() local
487 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_get_desc() local
[all …]
A Dtpm_tis_st33zp24_spi.c262 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_check_locality() local
283 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_request_locality() local
325 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_get_burstcount() local
406 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_recv_data() local
434 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_recv() local
482 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_send() local
564 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_init() local
591 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_open() local
607 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_close() local
620 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_get_desc() local
/u-boot/drivers/mmc/
A Dftsdc010_mci.c60 struct ftsdc010_chip chip; member
68 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_send_cmd() local
138 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_clkset() local
189 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_request() local
290 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_set_ios() local
314 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_get_cd() local
322 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_get_wp() local
334 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_init() local
397 struct ftsdc010_chip *chip = &priv->chip; in ftsdc010_mmc_of_to_plat() local
431 struct ftsdc010_chip *chip = &priv->chip; in ftsdc010_mmc_probe() local
/u-boot/drivers/i2c/
A Di2c-uclass.c82 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in i2c_read_bytewise() local
111 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in i2c_write_bytewise() local
134 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in dm_i2c_read() local
165 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in dm_i2c_write() local
285 struct dm_i2c_chip *chip; in i2c_bind_driver() local
436 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in i2c_set_chip_flags() local
452 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in i2c_get_chip_flags() local
461 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in i2c_set_chip_offset_len() local
472 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in i2c_get_chip_offset_len() local
479 struct dm_i2c_chip *chip = dev_get_parent_plat(dev); in i2c_set_chip_addr_offset_mask() local
[all …]
A Ddavinci_i2c.c127 static int _davinci_i2c_read(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_read()
225 static int _davinci_i2c_write(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_write()
307 static int _davinci_i2c_probe_chip(struct i2c_regs *i2c_base, uint8_t chip) in _davinci_i2c_probe_chip()
387 static int davinci_i2c_read(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_read()
394 static int davinci_i2c_write(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_write()
402 static int davinci_i2c_probe_chip(struct i2c_adapter *adap, uint8_t chip) in davinci_i2c_probe_chip()
A Di2c_core.c60 static int i2c_mux_set(struct i2c_adapter *adap, int mux_id, int chip, in i2c_mux_set()
148 uint8_t chip; in i2c_mux_disconnect_all() local
275 int i2c_probe(uint8_t chip) in i2c_probe()
292 int i2c_read(uint8_t chip, unsigned int addr, int alen, in i2c_read()
298 int i2c_write(uint8_t chip, unsigned int addr, int alen, in i2c_write()
A Dsh_i2c.c106 static int sh_i2c_set_addr(struct sh_i2c *dev, u8 chip, u8 addr, int stop) in sh_i2c_set_addr()
149 sh_i2c_raw_write(struct sh_i2c *dev, u8 chip, uint addr, u8 val) in sh_i2c_raw_write()
171 static int sh_i2c_raw_read(struct sh_i2c *dev, u8 chip, u8 addr) in sh_i2c_raw_read()
242 static int sh_i2c_read(struct i2c_adapter *adap, uint8_t chip, in sh_i2c_read()
260 static int sh_i2c_write(struct i2c_adapter *adap, uint8_t chip, uint addr, in sh_i2c_write()
/u-boot/test/dm/
A Dmux-cmd.c24 struct mux_chip *chip; in dm_test_cmd_mux_list() local
117 struct mux_chip *chip; in dm_test_cmd_mux_select() local
151 struct mux_chip *chip; in dm_test_cmd_mux_deselect() local
/u-boot/drivers/net/
A Dftmac110.c72 struct ftmac110_chip *chip = dev->priv; in mdio_read() local
101 struct ftmac110_chip *chip = dev->priv; in mdio_write() local
127 struct ftmac110_chip *chip = dev->priv; in ftmac110_phyqry() local
198 struct ftmac110_chip *chip = dev->priv; in ftmac110_reset() local
272 struct ftmac110_chip *chip = dev->priv; in ftmac110_halt() local
283 struct ftmac110_chip *chip = dev->priv; in ftmac110_send() local
329 struct ftmac110_chip *chip = dev->priv; in ftmac110_recv() local
411 struct ftmac110_chip *chip; in ftmac110_initialize() local

Completed in 74 milliseconds

12345