Home
last modified time | relevance | path

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

12345

/rk3399_rockchip-uboot/drivers/power/power_delivery/
H A Dfusb302.c81 static int fusb302_i2c_write(struct fusb302_chip *chip, in fusb302_i2c_write()
94 static int fusb302_i2c_block_write(struct fusb302_chip *chip, u8 address, in fusb302_i2c_block_write()
110 static int fusb302_i2c_read(struct fusb302_chip *chip, in fusb302_i2c_read()
123 static int fusb302_i2c_block_read(struct fusb302_chip *chip, u8 address, in fusb302_i2c_block_read()
138 static int fusb302_i2c_mask_write(struct fusb302_chip *chip, u8 address, in fusb302_i2c_mask_write()
156 static int fusb302_i2c_set_bits(struct fusb302_chip *chip, u8 address, in fusb302_i2c_set_bits()
162 static int fusb302_i2c_clear_bits(struct fusb302_chip *chip, u8 address, in fusb302_i2c_clear_bits()
168 static int fusb302_sw_reset(struct fusb302_chip *chip) in fusb302_sw_reset()
182 static int fusb302_enable_tx_auto_retries(struct fusb302_chip *chip, u8 retry_count) in fusb302_enable_tx_auto_retries()
195 static int fusb302_mask_interrupt(struct fusb302_chip *chip) in fusb302_mask_interrupt()
[all …]
H A Dtcpci_husb311.c31 static int husb311_read16(struct husb311_chip *chip, unsigned int reg) in husb311_read16()
47 static int husb311_write8(struct husb311_chip *chip, unsigned int reg, u8 val) in husb311_write8()
67 static int husb311_write16(struct husb311_chip *chip, unsigned int reg, u16 val) in husb311_write16()
87 static int husb311_sw_reset(struct husb311_chip *chip) in husb311_sw_reset()
96 struct husb311_chip *chip = tdata_to_husb311(tdata); in husb311_init() local
113 static int husb311_check_revision(struct husb311_chip *chip) in husb311_check_revision()
145 struct husb311_chip *chip = dev_get_priv(dev); in husb311_probe() local
171 struct husb311_chip *chip = dev_get_priv(dev); in husb311_remove() local
187 struct husb311_chip *chip = dev_get_priv(dev); in husb311_get_voltage() local
194 struct husb311_chip *chip = dev_get_priv(dev); in husb311_get_current() local
[all …]
/rk3399_rockchip-uboot/drivers/gpio/
H 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 …]
H A 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
/rk3399_rockchip-uboot/drivers/misc/
H 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 …]
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_base.c109 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
135 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
149 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
162 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
174 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
187 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
210 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
224 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
289 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() local
304 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() local
[all …]
H A Dfsl_upm.c67 struct nand_chip *chip = mtd_to_nand(mtd); in fun_select_chip() local
82 struct nand_chip *chip = mtd_to_nand(mtd); in fun_cmd_ctrl() local
126 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_byte() local
134 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_write_buf() local
150 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_buf() local
158 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready() local
164 int fsl_upm_nand_init(struct nand_chip *chip, struct fsl_upm_nand *fun) in fsl_upm_nand_init()
H A Dmxs_nand_spl.c18 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_command() local
59 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_full_ident() local
77 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_onfi_ident() local
150 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_read_page_ecc() local
164 register struct nand_chip *chip = mtd_to_nand(mtd); in is_badblock() local
211 struct nand_chip *chip; in nand_spl_load_image() local
H A Dfsl_elbc_nand.c48 struct nand_chip chip; member
157 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() local
197 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_run_command() local
247 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read()
282 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_cmdfunc() local
480 static void fsl_elbc_select_chip(struct mtd_info *mtd, int chip) in fsl_elbc_select_chip()
492 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_write_buf() local
529 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_byte() local
546 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_buf() local
567 static int fsl_elbc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_elbc_wait()
[all …]
H A Dfsl_ifc_nand.c34 struct nand_chip chip; member
224 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() local
258 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_run_command() local
330 static void fsl_ifc_do_read(struct nand_chip *chip, in fsl_ifc_do_read()
371 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_cmdfunc() local
574 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_write_buf() local
602 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte() local
626 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte16() local
650 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_buf() local
671 static int fsl_ifc_wait(struct mtd_info *mtd, struct nand_chip *chip) in fsl_ifc_wait()
[all …]
H A Dtegra_nand.c156 struct nand_chip *chip = mtd_to_nand(mtd); in read_byte() local
182 struct nand_chip *chip = mtd_to_nand(mtd); in read_buf() local
207 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready() local
258 struct nand_chip *chip = mtd_to_nand(mtd); in nand_command() local
506 static int nand_rw_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_rw_page()
657 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc()
670 struct nand_chip *chip, const uint8_t *buf, int oob_required, in nand_write_page_hwecc()
690 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_raw()
703 struct nand_chip *chip, const uint8_t *buf, in nand_write_page_raw()
722 static int nand_rw_oob(struct mtd_info *mtd, struct nand_chip *chip, in nand_rw_oob()
[all …]
H A Drockchip_nand_v9.c122 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_select_chip() local
151 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_cmd_ctrl() local
172 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_read_buf() local
186 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_write_buf() local
207 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_dev_ready() local
220 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_hw_ecc_setup() local
286 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_read_extra_oob() local
301 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_write_extra_oob() local
315 struct nand_chip *chip, in rockchip_nand_hw_syndrome_pio_read_page()
390 struct nand_chip *chip, in rockchip_nand_hw_syndrome_pio_write_page()
[all …]
H A Drockchip_nand.c116 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_select_chip() local
145 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_cmd_ctrl() local
166 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_read_buf() local
180 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_write_buf() local
201 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_dev_ready() local
214 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_hw_ecc_setup() local
285 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_read_extra_oob() local
300 struct nand_chip *chip = mtd_to_nand(mtd); in rockchip_nand_write_extra_oob() local
314 struct nand_chip *chip, in rockchip_nand_hw_syndrome_pio_read_page()
389 struct nand_chip *chip, in rockchip_nand_hw_syndrome_pio_write_page()
[all …]
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dfotg210.c39 struct fotg210_chip *chip; member
67 static inline int fifo_to_ep(struct fotg210_chip *chip, int id, int in) in fifo_to_ep()
72 static inline int ep_to_fifo(struct fotg210_chip *chip, int id) in ep_to_fifo()
77 static inline int ep_reset(struct fotg210_chip *chip, uint8_t ep_addr) in ep_reset()
101 static int fotg210_reset(struct fotg210_chip *chip) in fotg210_reset()
190 static inline int fotg210_cxwait(struct fotg210_chip *chip, uint32_t mask) in fotg210_cxwait()
211 struct fotg210_chip *chip = ep->chip; in fotg210_dma() local
319 static void fotg210_setup(struct fotg210_chip *chip) in fotg210_setup()
467 static void fotg210_recv(struct fotg210_chip *chip, int ep_id) in fotg210_recv()
505 struct fotg210_chip *chip = ep->chip; in fotg210_ep_enable() local
[all …]
/rk3399_rockchip-uboot/drivers/tpm/
H A Dtpm_tis_infineon.c76 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_read() local
131 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_write_generic() local
197 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_check_locality() local
230 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_request_locality() local
271 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_status() local
283 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_ready() local
299 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_get_burstcount() local
348 struct tpm_chip *chip = dev_get_priv(dev); in tpm_tis_i2c_recv_data() local
375 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 …]
H A 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
351 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_send() local
433 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_init() local
455 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_open() local
471 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_close() local
484 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_i2c_get_desc() local
[all …]
H A 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
479 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_send() local
561 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_init() local
588 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_open() local
604 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_close() local
617 struct tpm_chip *chip = dev_get_priv(dev); in st33zp24_spi_get_desc() local
/rk3399_rockchip-uboot/drivers/i2c/
H A Dfti2c010.c64 static int fti2c010_reset(struct fti2c010_chip *chip) in fti2c010_reset()
84 static int fti2c010_wait(struct fti2c010_chip *chip, uint32_t mask) in fti2c010_wait()
101 static unsigned int set_i2c_bus_speed(struct fti2c010_chip *chip, in set_i2c_bus_speed()
129 struct fti2c010_chip *chip = chip_list + adap->hwadapnr; in fti2c010_init() local
157 struct fti2c010_chip *chip = chip_list + adap->hwadapnr; in fti2c010_probe() local
195 struct fti2c010_chip *chip = chip_list + adap->hwadapnr; in fti2c010_read() local
257 struct fti2c010_chip *chip = chip_list + adap->hwadapnr; in fti2c010_write() local
307 struct fti2c010_chip *chip = chip_list + adap->hwadapnr; in fti2c010_set_bus_speed() local
H A Di2c-uclass.c45 static int i2c_setup_offset(struct dm_i2c_chip *chip, uint offset, in i2c_setup_offset()
67 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_read_bytewise() local
96 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_write_bytewise() local
119 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in dm_i2c_read() local
150 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in dm_i2c_write() local
285 struct dm_i2c_chip *chip; in i2c_bind_driver() local
331 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_get_chip() local
424 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_set_chip_flags() local
440 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_get_chip_flags() local
449 struct dm_i2c_chip *chip = dev_get_parent_platdata(dev); in i2c_set_chip_offset_len() local
[all …]
H A Dihs_i2c.c74 static int ihs_i2c_transfer(uchar chip, uchar *buffer, int len, bool read, in ihs_i2c_transfer()
111 static int ihs_i2c_address(uchar chip, uint addr, int alen, bool hold_bus) in ihs_i2c_address()
135 static int ihs_i2c_access(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_access()
172 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe()
182 static int ihs_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_read()
188 static int ihs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_write()
H A Ddavinci_i2c.c126 static int _davinci_i2c_read(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_read()
224 static int _davinci_i2c_write(struct i2c_regs *i2c_base, uint8_t chip, in _davinci_i2c_write()
306 static int _davinci_i2c_probe_chip(struct i2c_regs *i2c_base, uint8_t chip) in _davinci_i2c_probe_chip()
386 static int davinci_i2c_read(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_read()
393 static int davinci_i2c_write(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_write()
401 static int davinci_i2c_probe_chip(struct i2c_adapter *adap, uint8_t chip) in davinci_i2c_probe_chip()
H A Di2c_core.c59 static int i2c_mux_set(struct i2c_adapter *adap, int mux_id, int chip, in i2c_mux_set()
147 uint8_t chip; in i2c_mux_disconnect_all() local
274 int i2c_probe(uint8_t chip) in i2c_probe()
291 int i2c_read(uint8_t chip, unsigned int addr, int alen, in i2c_read()
297 int i2c_write(uint8_t chip, unsigned int addr, int alen, in i2c_write()
H A Dmxs_i2c.c112 static void mxs_i2c_setup_read(struct i2c_adapter *adap, uint8_t chip, int len) in mxs_i2c_setup_read()
130 static int mxs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in mxs_i2c_write()
226 static int mxs_i2c_if_read(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_read()
277 static int mxs_i2c_if_write(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_write()
295 static int mxs_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxs_i2c_probe()
/rk3399_rockchip-uboot/drivers/mmc/
H A Dftsdc010_mci.c35 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_send_cmd() local
105 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_clkset() local
156 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_request() local
256 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_set_ios() local
279 struct ftsdc010_chip *chip = mmc->priv; in ftsdc010_init() local
323 struct ftsdc010_chip *chip; in ftsdc010_mmc_init() local
/rk3399_rockchip-uboot/drivers/net/
H A Dftmac110.c71 struct ftmac110_chip *chip = dev->priv; in mdio_read() local
100 struct ftmac110_chip *chip = dev->priv; in mdio_write() local
126 struct ftmac110_chip *chip = dev->priv; in ftmac110_phyqry() local
197 struct ftmac110_chip *chip = dev->priv; in ftmac110_reset() local
271 struct ftmac110_chip *chip = dev->priv; in ftmac110_halt() local
282 struct ftmac110_chip *chip = dev->priv; in ftmac110_send() local
328 struct ftmac110_chip *chip = dev->priv; in ftmac110_recv() local
410 struct ftmac110_chip *chip; in ftmac110_initialize() local

12345