Home
last modified time | relevance | path

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

12345

/external/u-boot/drivers/gpio/
Dpca953x.c30 uint8_t chip; member
41 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio()
52 static int pca953x_ngpio(uint8_t chip) in pca953x_ngpio()
61 static int pca953x_reg_write(uint8_t chip, uint addr, uint mask, uint data) in pca953x_reg_write()
87 static int pca953x_reg_read(uint8_t chip, uint addr, uint *data) in pca953x_reg_read()
108 int pca953x_set_val(uint8_t chip, uint mask, uint data) in pca953x_set_val()
117 int pca953x_set_pol(uint8_t chip, uint mask, uint data) in pca953x_set_pol()
126 int pca953x_set_dir(uint8_t chip, uint mask, uint data) in pca953x_set_dir()
134 int pca953x_get_val(uint8_t chip) in pca953x_get_val()
148 static int pca953x_info(uint8_t chip) in pca953x_info()
[all …]
Dtca642x.c46 static int tca642x_reg_write(uchar chip, uint8_t addr, in tca642x_reg_write()
71 static int tca642x_reg_read(uchar chip, uint8_t addr, uint8_t *data) in tca642x_reg_read()
95 int tca642x_set_val(uchar chip, uint8_t gpio_bank, in tca642x_set_val()
107 int tca642x_set_pol(uchar chip, uint8_t gpio_bank, in tca642x_set_pol()
119 int tca642x_set_dir(uchar chip, uint8_t gpio_bank, in tca642x_set_dir()
130 int tca642x_get_val(uchar chip, uint8_t gpio_bank) in tca642x_get_val()
144 int tca642x_set_inital_state(uchar chip, struct tca642x_bank_info init_data[]) in tca642x_set_inital_state()
170 static int tca642x_info(uchar chip) in tca642x_info()
225 static uchar chip = CONFIG_SYS_I2C_TCA642X_ADDR; in do_tca642x() local
/external/u-boot/drivers/misc/
Dds4510.c32 static int ds4510_mem_write(uint8_t chip, int offset, uint8_t *buf, int count) in ds4510_mem_write()
61 static int ds4510_mem_read(uint8_t chip, int offset, uint8_t *buf, int count) in ds4510_mem_read()
71 static int ds4510_see_write(uint8_t chip, uint8_t nv) in ds4510_see_write()
89 static int ds4510_rstdelay_write(uint8_t chip, uint8_t delay) in ds4510_rstdelay_write()
105 static int ds4510_pullup_write(uint8_t chip, uint8_t val) in ds4510_pullup_write()
115 static int ds4510_pullup_read(uint8_t chip) in ds4510_pullup_read()
128 static int ds4510_gpio_write(uint8_t chip, uint8_t val) in ds4510_gpio_write()
152 static int ds4510_gpio_read(uint8_t chip) in ds4510_gpio_read()
172 static int ds4510_gpio_read_val(uint8_t chip) in ds4510_gpio_read_val()
185 static int ds4510_info(uint8_t chip) in ds4510_info()
[all …]
/external/mesa3d/src/loader/
Dpci_id_driver_map.h15 #define CHIPSET(chip, desc, name) chip, argument
21 #define CHIPSET(chip, family, name) chip, argument
27 #define CHIPSET(chip, name, family) chip, argument
33 #define CHIPSET(chip, name, family) chip, argument
39 #define CHIPSET(chip, name, family) chip, argument
45 #define CHIPSET(chip, name, family) chip, argument
51 #define CHIPSET(chip, family) chip, argument
57 #define CHIPSET(chip, name, family) chip, argument
63 #define CHIPSET(chip, name, family) chip, argument
/external/u-boot/drivers/mtd/nand/
Dnand_base.c107 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
133 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
147 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
160 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
172 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
185 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
208 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
222 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
287 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() local
302 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() local
[all …]
Dfsl_upm.c66 struct nand_chip *chip = mtd_to_nand(mtd); in fun_select_chip() local
81 struct nand_chip *chip = mtd_to_nand(mtd); in fun_cmd_ctrl() local
125 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_byte() local
133 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_write_buf() local
149 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_buf() local
157 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready() local
163 int fsl_upm_nand_init(struct nand_chip *chip, struct fsl_upm_nand *fun) in fsl_upm_nand_init()
Dmxs_nand_spl.c17 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_command() local
58 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_full_ident() local
76 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_onfi_ident() local
149 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_read_page_ecc() local
163 register struct nand_chip *chip = mtd_to_nand(mtd); in is_badblock() local
209 struct nand_chip *chip; in nand_spl_load_image() local
Dfsl_elbc_nand.c47 struct nand_chip chip; member
156 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() local
196 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_run_command() local
246 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read()
281 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_cmdfunc() local
479 static void fsl_elbc_select_chip(struct mtd_info *mtd, int chip) in fsl_elbc_select_chip()
491 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_write_buf() local
528 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_byte() local
545 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_buf() local
566 static int fsl_elbc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_elbc_wait()
[all …]
Dfsl_ifc_nand.c33 struct nand_chip chip; member
223 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() local
248 struct nand_chip *chip = mtd_to_nand(mtd); in is_blank() local
282 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_run_command() local
356 static void fsl_ifc_do_read(struct nand_chip *chip, in fsl_ifc_do_read()
397 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_cmdfunc() local
600 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_write_buf() local
628 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte() local
652 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte16() local
676 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_buf() local
[all …]
Dtegra_nand.c155 struct nand_chip *chip = mtd_to_nand(mtd); in read_byte() local
181 struct nand_chip *chip = mtd_to_nand(mtd); in read_buf() local
206 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready() local
257 struct nand_chip *chip = mtd_to_nand(mtd); in nand_command() local
505 static int nand_rw_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_rw_page()
656 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc()
669 struct nand_chip *chip, const uint8_t *buf, int oob_required, in nand_write_page_hwecc()
689 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_raw()
702 struct nand_chip *chip, const uint8_t *buf, in nand_write_page_raw()
721 static int nand_rw_oob(struct mtd_info *mtd, struct nand_chip *chip, in nand_rw_oob()
[all …]
Dzynq_nand.c422 static int zynq_nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in zynq_nand_read_oob()
449 static int zynq_nand_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in zynq_nand_write_oob()
482 static int zynq_nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in zynq_nand_read_page_raw()
504 struct nand_chip *chip, u8 *buf, int oob_required, int page) in zynq_nand_read_page_raw_nooob()
511 struct nand_chip *chip, u32 data_offs, in zynq_nand_read_subpage_raw()
531 struct nand_chip *chip, const u8 *buf, int oob_required, int page) in zynq_nand_write_page_raw()
563 struct nand_chip *chip, const u8 *buf, int oob_required, int page) in zynq_nand_write_page_hwecc()
621 struct nand_chip *chip, const u8 *buf, int oob_required, int page) in zynq_nand_write_page_swecc()
654 struct nand_chip *chip, u8 *buf, int oob_required, int page) in zynq_nand_read_page_hwecc()
726 struct nand_chip *chip, u8 *buf, int oob_required, int page) in zynq_nand_read_page_swecc()
[all …]
/external/u-boot/drivers/usb/gadget/
Dfotg210.c38 struct fotg210_chip *chip; member
66 static inline int fifo_to_ep(struct fotg210_chip *chip, int id, int in) in fifo_to_ep()
71 static inline int ep_to_fifo(struct fotg210_chip *chip, int id) in ep_to_fifo()
76 static inline int ep_reset(struct fotg210_chip *chip, uint8_t ep_addr) in ep_reset()
100 static int fotg210_reset(struct fotg210_chip *chip) in fotg210_reset()
189 static inline int fotg210_cxwait(struct fotg210_chip *chip, uint32_t mask) in fotg210_cxwait()
210 struct fotg210_chip *chip = ep->chip; in fotg210_dma() local
318 static void fotg210_setup(struct fotg210_chip *chip) in fotg210_setup()
466 static void fotg210_recv(struct fotg210_chip *chip, int ep_id) in fotg210_recv()
504 struct fotg210_chip *chip = ep->chip; in fotg210_ep_enable() local
[all …]
/external/u-boot/drivers/tpm/
Dtpm_tis_infineon.c73 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_read() local
128 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_write_generic() local
194 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_check_locality() local
227 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_request_locality() local
268 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_status() local
280 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_ready() local
296 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_get_burstcount() local
345 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_recv_data() local
372 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_recv() local
422 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_send() local
[all …]
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_get_burstcount() local
325 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_cancel() local
333 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_recv_data() local
359 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_recv() local
400 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_send() local
497 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_cleanup() local
512 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_spi_open() local
[all …]
Dtpm_tis_st33zp24_i2c.c128 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_check_locality() local
148 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_request_locality() local
194 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_get_burstcount() local
275 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_recv_data() local
304 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_recv() local
352 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_send() local
434 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_init() local
456 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_open() local
472 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_close() local
485 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_get_desc() local
[all …]
Dtpm_tis_st33zp24_spi.c260 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_check_locality() local
281 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_request_locality() local
323 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_get_burstcount() local
404 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_recv_data() local
432 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_recv() local
480 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_send() local
562 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_init() local
589 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_open() local
605 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_close() local
618 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_get_desc() local
/external/u-boot/drivers/mmc/
Dftsdc010_mci.c57 struct ftsdc010_chip chip; member
65 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_send_cmd() local
135 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_clkset() local
186 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_request() local
287 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_set_ios() local
311 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_get_cd() local
319 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_get_wp() local
331 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_init() local
394 struct ftsdc010_chip *chip = &priv->chip; in ftsdc010_mmc_ofdata_to_platdata() local
428 struct ftsdc010_chip *chip = &priv->chip; in ftsdc010_mmc_probe() local
/external/u-boot/drivers/i2c/
Di2c-uclass.c52 static int i2c_setup_offset(struct dm_i2c_chip *chip, uint offset, in i2c_setup_offset()
74 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_read_bytewise() local
103 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_write_bytewise() local
126 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in dm_i2c_read() local
157 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in dm_i2c_write() local
277 struct dm_i2c_chip *chip; in i2c_bind_driver() local
323 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_get_chip() local
416 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_set_chip_flags() local
432 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_get_chip_flags() local
441 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_set_chip_offset_len() local
[all …]
Ddavinci_i2c.c125 static int _davinci_i2c_read(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_read()
223 static int _davinci_i2c_write(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_write()
305 static int _davinci_i2c_probe_chip(struct i2c_regs *i2c_base, uint8_t chip) in _davinci_i2c_probe_chip()
385 static int davinci_i2c_read(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_read()
392 static int davinci_i2c_write(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_write()
400 static int davinci_i2c_probe_chip(struct i2c_adapter *adap, uint8_t chip) in davinci_i2c_probe_chip()
Di2c_core.c58 static int i2c_mux_set(struct i2c_adapter *adap, int mux_id, int chip, in i2c_mux_set()
146 uint8_t chip; in i2c_mux_disconnect_all() local
273 int i2c_probe(uint8_t chip) in i2c_probe()
290 int i2c_read(uint8_t chip, unsigned int addr, int alen, in i2c_read()
296 int i2c_write(uint8_t chip, unsigned int addr, int alen, in i2c_write()
Dmxs_i2c.c111 static void mxs_i2c_setup_read(struct i2c_adapter *adap, uint8_t chip, int len) in mxs_i2c_setup_read()
129 static int mxs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in mxs_i2c_write()
225 static int mxs_i2c_if_read(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_read()
276 static int mxs_i2c_if_write(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_write()
294 static int mxs_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxs_i2c_probe()
Dsh_i2c.c103 static int sh_i2c_set_addr(struct sh_i2c *dev, u8 chip, u8 addr, int stop) in sh_i2c_set_addr()
146 sh_i2c_raw_write(struct sh_i2c *dev, u8 chip, uint addr, u8 val) in sh_i2c_raw_write()
168 static int sh_i2c_raw_read(struct sh_i2c *dev, u8 chip, u8 addr) in sh_i2c_raw_read()
239 static int sh_i2c_read(struct i2c_adapter *adap, uint8_t chip, in sh_i2c_read()
257 static int sh_i2c_write(struct i2c_adapter *adap, uint8_t chip, uint addr, in sh_i2c_write()
Dihs_i2c.c124 static int ihs_i2c_transfer(struct udevice *dev, uchar chip, in ihs_i2c_transfer()
203 static int ihs_i2c_send_buffer(struct udevice *dev, uchar chip, u8 *data, int len, bool hold_bus, i… in ihs_i2c_send_buffer()
231 static int ihs_i2c_address(struct udevice *dev, uchar chip, u8 *addr, int alen, in ihs_i2c_address()
245 static int ihs_i2c_access(struct udevice *dev, uchar chip, u8 *addr, in ihs_i2c_access()
366 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe()
376 static int ihs_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_read()
387 static int ihs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_write()
Dmxc_i2c.c276 static int i2c_init_transfer_(struct mxc_i2c_bus *i2c_bus, u8 chip, in i2c_init_transfer_()
414 static int i2c_init_transfer(struct mxc_i2c_bus *i2c_bus, u8 chip, in i2c_init_transfer()
447 static int i2c_write_data(struct mxc_i2c_bus *i2c_bus, u8 chip, const u8 *buf, in i2c_write_data()
470 static int i2c_read_data(struct mxc_i2c_bus *i2c_bus, uchar chip, uchar *buf, in i2c_read_data()
529 static int bus_i2c_read(struct mxc_i2c_bus *i2c_bus, u8 chip, u32 addr, in bus_i2c_read()
563 static int bus_i2c_write(struct mxc_i2c_bus *i2c_bus, u8 chip, u32 addr, in bus_i2c_write()
635 static int mxc_i2c_read(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_read()
642 static int mxc_i2c_write(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_write()
652 static int mxc_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxc_i2c_probe()
/external/u-boot/drivers/net/
Dftmac110.c70 struct ftmac110_chip *chip = dev->priv; in mdio_read() local
99 struct ftmac110_chip *chip = dev->priv; in mdio_write() local
125 struct ftmac110_chip *chip = dev->priv; in ftmac110_phyqry() local
196 struct ftmac110_chip *chip = dev->priv; in ftmac110_reset() local
270 struct ftmac110_chip *chip = dev->priv; in ftmac110_halt() local
281 struct ftmac110_chip *chip = dev->priv; in ftmac110_send() local
327 struct ftmac110_chip *chip = dev->priv; in ftmac110_recv() local
409 struct ftmac110_chip *chip; in ftmac110_initialize() local

12345