Home
last modified time | relevance | path

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

12345

/device/soc/esp/esp32/components/spi_flash/
Dspi_flash_chip_generic.c65 esp_err_t spi_flash_chip_generic_probe(esp_flash_t *chip, uint32_t flash_id) in spi_flash_chip_generic_probe()
72 esp_err_t spi_flash_chip_generic_reset(esp_flash_t *chip) in spi_flash_chip_generic_reset()
96 esp_err_t spi_flash_chip_generic_detect_size(esp_flash_t *chip, uint32_t *size) in spi_flash_chip_generic_detect_size()
112 esp_err_t spi_flash_chip_generic_erase_chip(esp_flash_t *chip) in spi_flash_chip_generic_erase_chip()
138 esp_err_t spi_flash_chip_generic_erase_sector(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_generic_erase_sector()
162 esp_err_t spi_flash_chip_generic_erase_block(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_generic_erase_block()
186 esp_err_t spi_flash_chip_generic_read(esp_flash_t *chip, void *buffer, uint32_t address, uint32_t l… in spi_flash_chip_generic_read()
218 esp_err_t spi_flash_chip_generic_page_program(esp_flash_t *chip, const void *buffer, uint32_t addre… in spi_flash_chip_generic_page_program()
238 esp_err_t spi_flash_chip_generic_write(esp_flash_t *chip, const void *buffer, uint32_t address, uin… in spi_flash_chip_generic_write()
266 esp_err_t spi_flash_chip_generic_write_encrypted(esp_flash_t *chip, const void *buffer, uint32_t ad… in spi_flash_chip_generic_write_encrypted()
[all …]
Desp_flash_api.c107 static esp_err_t IRAM_ATTR spiflash_start_default(esp_flash_t *chip) in spiflash_start_default()
121 static esp_err_t IRAM_ATTR spiflash_end_default(esp_flash_t *chip, esp_err_t err) in spiflash_end_default()
136 esp_flash_t *chip = *inout_chip; in check_chip_pointer_default() local
147 static IRAM_ATTR esp_err_t flash_end_flush_cache(esp_flash_t* chip, esp_err_t err, bool bus_acquire… in flash_end_flush_cache()
171 bool esp_flash_chip_driver_initialized(const esp_flash_t *chip) in esp_flash_chip_driver_initialized()
177 esp_err_t IRAM_ATTR esp_flash_init(esp_flash_t *chip) in esp_flash_init()
236 static esp_err_t IRAM_ATTR read_id_core(esp_flash_t* chip, uint32_t* out_id, bool sanity_check) in read_id_core()
272 esp_err_t esp_flash_read_chip_id(esp_flash_t* chip, uint32_t* out_id) in esp_flash_read_chip_id()
278 esp_err_t esp_flash_read_id(esp_flash_t* chip, uint32_t* out_id) in esp_flash_read_id()
289 static esp_err_t IRAM_ATTR detect_spi_flash_chip(esp_flash_t *chip) in detect_spi_flash_chip()
[all …]
Dspi_flash_chip_winbond.c34 esp_err_t spi_flash_chip_winbond_probe(esp_flash_t *chip, uint32_t flash_id) in spi_flash_chip_winbond_probe()
45 esp_err_t spi_flash_chip_winbond_read(esp_flash_t *chip, void *buffer, uint32_t address, uint32_t l… in spi_flash_chip_winbond_read()
77 esp_err_t spi_flash_chip_winbond_page_program(esp_flash_t *chip, const void *buffer, uint32_t addre… in spi_flash_chip_winbond_page_program()
95 esp_err_t spi_flash_chip_winbond_erase_sector(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_winbond_erase_sector()
119 esp_err_t spi_flash_chip_winbond_erase_block(esp_flash_t *chip, uint32_t start_address) in spi_flash_chip_winbond_erase_block()
183 static esp_err_t spi_flash_command_winbond_program_4B(esp_flash_t *chip, const void *buffer, uint32… in spi_flash_command_winbond_program_4B()
196 esp_err_t spi_flash_command_winbond_erase_sector_4B(esp_flash_t *chip, uint32_t start_address) in spi_flash_command_winbond_erase_sector_4B()
207 esp_err_t spi_flash_command_erase_block_4B(esp_flash_t *chip, uint32_t start_address) in spi_flash_command_erase_block_4B()
Dspi_flash_chip_issi.c22 esp_err_t spi_flash_chip_issi_probe(esp_flash_t *chip, uint32_t flash_id) in spi_flash_chip_issi_probe()
39 esp_err_t spi_flash_chip_issi_set_io_mode(esp_flash_t *chip) in spi_flash_chip_issi_set_io_mode()
49 esp_err_t spi_flash_chip_issi_get_io_mode(esp_flash_t *chip, esp_flash_io_mode_t* out_io_mode) in spi_flash_chip_issi_get_io_mode()
Dspi_flash_chip_gd.c32 esp_err_t spi_flash_chip_gd_probe(esp_flash_t *chip, uint32_t flash_id) in spi_flash_chip_gd_probe()
48 esp_err_t spi_flash_chip_gd_set_io_mode(esp_flash_t *chip) in spi_flash_chip_gd_set_io_mode()
65 esp_err_t spi_flash_chip_gd_get_io_mode(esp_flash_t *chip, esp_flash_io_mode_t* out_io_mode) in spi_flash_chip_gd_get_io_mode()
Desp_flash_spi_init.c120 static IRAM_ATTR NOINLINE_ATTR void cs_initialize(esp_flash_t *chip, const esp_flash_spi_device_con… in cs_initialize()
165 esp_flash_t *chip = NULL; in spi_bus_add_flash_device() local
231 esp_err_t spi_bus_remove_flash_device(esp_flash_t *chip) in spi_bus_remove_flash_device()
Dspi_flash_os_func_app.c231 esp_err_t esp_flash_init_os_functions(esp_flash_t *chip, int host_id, int* out_dev_id) in esp_flash_init_os_functions()
282 esp_err_t esp_flash_deinit_os_functions(esp_flash_t* chip) in esp_flash_deinit_os_functions()
309 esp_err_t esp_flash_app_enable_os_functions(esp_flash_t* chip) in esp_flash_app_enable_os_functions()
Dspi_flash_chip_boya.c20 esp_err_t spi_flash_chip_boya_probe(esp_flash_t *chip, uint32_t flash_id) in spi_flash_chip_boya_probe()
Dspi_flash_chip_mxic.c21 esp_err_t spi_flash_chip_mxic_probe(esp_flash_t *chip, uint32_t flash_id) in spi_flash_chip_mxic_probe()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/rtc/
Drtc-sunxi.c142 static inline void rtc_reg_write(struct sunxi_rtc_dev *chip, u32 reg, u32 val) in rtc_reg_write()
146 static inline u32 rtc_reg_read(struct sunxi_rtc_dev *chip, u32 reg) in rtc_reg_read()
297 static int wait_bits_cleared(struct sunxi_rtc_dev *chip, int reg, in wait_bits_cleared()
330 struct sunxi_rtc_dev *chip = dev_get_drvdata(dev); in sunxi_rtc_gettime() local
360 struct sunxi_rtc_dev *chip = dev_get_drvdata(dev); in sunxi_rtc_settime() local
427 struct sunxi_rtc_dev *chip = dev_get_drvdata(dev); in errata__fix_alarm_day_reg_default_value() local
437 struct sunxi_rtc_dev *chip = dev_get_drvdata(dev); in sunxi_rtc_getalarm() local
460 struct sunxi_rtc_dev *chip = dev_get_drvdata(dev); in sunxi_rtc_setalarm() local
488 struct sunxi_rtc_dev *chip = (struct sunxi_rtc_dev *)id; in sunxi_rtc_alarm0_isr() local
503 bool alarm0_is_enabled(struct sunxi_rtc_dev *chip) in alarm0_is_enabled()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
Dgpiolib-of.c87 static int of_gpiochip_match_node_and_xlate(struct gpio_chip *chip, void *data) in of_gpiochip_match_node_and_xlate()
99 static struct gpio_desc *of_xlate_and_get_gpiod_flags(struct gpio_chip *chip, struct of_phandle_arg… in of_xlate_and_get_gpiod_flags()
237 struct gpio_chip *chip; in of_get_named_gpiod_flags() local
580 static struct gpio_desc *of_parse_own_gpio(struct device_node *np, struct gpio_chip *chip, unsigned… in of_parse_own_gpio()
658 static int of_gpiochip_add_hog(struct gpio_chip *chip, struct device_node *hog) in of_gpiochip_add_hog()
694 static int of_gpiochip_scan_gpios(struct gpio_chip *chip) in of_gpiochip_scan_gpios()
723 static void of_gpiochip_remove_hog(struct gpio_chip *chip, struct device_node *hog) in of_gpiochip_remove_hog()
735 static int of_gpiochip_match_node(struct gpio_chip *chip, void *data) in of_gpiochip_match_node()
748 struct gpio_chip *chip; in of_gpio_notify() local
914 static void of_gpiochip_init_valid_mask(struct gpio_chip *chip) in of_gpiochip_init_valid_mask()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pwm/
Dpwm-sunxi.c88 struct pwm_chip chip; member
136 static inline void sunxi_pwm_save_regs(struct sunxi_pwm_chip *chip) in sunxi_pwm_save_regs()
144 static inline void sunxi_pwm_restore_regs(struct sunxi_pwm_chip *chip) in sunxi_pwm_restore_regs()
152 static inline struct sunxi_pwm_chip *to_sunxi_pwm_chip(struct pwm_chip *chip) in to_sunxi_pwm_chip()
157 static inline u32 sunxi_pwm_readl(struct pwm_chip *chip, u32 offset) in sunxi_pwm_readl()
167 static inline u32 sunxi_pwm_writel(struct pwm_chip *chip, u32 offset, u32 value) in sunxi_pwm_writel()
233 static int sunxi_pwm_set_polarity_single(struct pwm_chip *chip, in sunxi_pwm_set_polarity_single()
257 static int sunxi_pwm_set_polarity_dual(struct pwm_chip *chip, in sunxi_pwm_set_polarity_dual()
296 static int sunxi_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *pwm, in sunxi_pwm_set_polarity()
354 static u32 get_pdzcr_reg_offset(struct sunxi_pwm_chip *chip, u32 sel, u32 *reg_offset) in get_pdzcr_reg_offset()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/gmac/
Dsunxi-gmac.c1135 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_extra_tx_stats_show() local
1155 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_extra_rx_stats_show() local
1299 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_loopback_show() local
1325 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_loopback_store() local
1367 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_adjust_link() local
1416 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_phy_release() local
1444 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_rx_refill() local
1482 struct sunxi_gmac *chip = netdev_priv(ndev); in sunxi_gmac_dma_desc_init() local
1533 static void sunxi_gmac_free_rx_skb(struct sunxi_gmac *chip) in sunxi_gmac_free_rx_skb()
1550 static void sunxi_gmac_free_tx_skb(struct sunxi_gmac *chip) in sunxi_gmac_free_tx_skb()
[all …]
Dsunxi-mdio.c145 static void sunxi_mdio_busy_wait(struct sunxi_mdio *chip) in sunxi_mdio_busy_wait()
172 struct sunxi_mdio *chip = bus->priv; in sunxi_mdio_read() local
201 struct sunxi_mdio *chip = bus->priv; in sunxi_mdio_write() local
222 struct sunxi_mdio *chip = bus->priv; in sunxi_mdio_reset() local
326 struct sunxi_mdio *chip; in sunxi_mdio_probe() local
393 struct sunxi_mdio *chip = bus->priv; in sunxi_mdio_remove() local
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6158/
Dvideo.c102 void nvp6158_datareverse(unsigned char chip, unsigned char port) in nvp6158_datareverse()
115 void nvp6158_pll_bypass(unsigned char chip, int flag) in nvp6158_pll_bypass()
128 void nvp6158_system_init(unsigned char chip) in nvp6158_system_init()
156 void nvp6158_common_init(unsigned char chip) in nvp6158_common_init()
238 int chip; in nvp6158_set_colorpattern() local
1018 int nvp6158_set_portmode(const unsigned char chip, const unsigned char portsel, const unsigned char… in nvp6158_set_portmode()
1381 void nvp6158_set_portcontrol(const unsigned char chip, const unsigned char portsel, const unsigned … in nvp6158_set_portcontrol()
1427 void nvp6158_additional_for3MoverDef(unsigned char chip) in nvp6158_additional_for3MoverDef()
1474 unsigned char chip = ch / 4; in nvp6158_video_powerdown() local
/device/soc/rockchip/common/sdk_linux/drivers/pwm/
Dsysfs.c337 struct pwm_chip *chip = dev_get_drvdata(parent); in export_store() local
367 struct pwm_chip *chip = dev_get_drvdata(parent); in unexport_store() local
388 const struct pwm_chip *chip = dev_get_drvdata(parent); in npwm_show() local
438 struct pwm_chip *chip = dev_get_drvdata(parent); in pwm_class_resume_npwm() local
464 struct pwm_chip *chip = dev_get_drvdata(parent); in pwm_class_suspend() local
496 struct pwm_chip *chip = dev_get_drvdata(parent); in pwm_class_resume() local
515 void pwmchip_sysfs_export(struct pwm_chip *chip) in pwmchip_sysfs_export()
529 void pwmchip_sysfs_unexport(struct pwm_chip *chip) in pwmchip_sysfs_unexport()
Dpwm-rockchip.c40 struct pwm_chip chip; member
75 static void rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state … in rockchip_pwm_get_state()
108 static void rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_sta… in rockchip_pwm_config()
184 static int rockchip_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, bool enable) in rockchip_pwm_enable()
228 static int rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state… in rockchip_pwm_apply()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/
Ddrv_gpio.c126 gpio_drv_chip chip = GPIO_DRV_CHIP_V350; in gpio_drv_get_chip_version() local
152 static hi_u32 gpio_get_vir_no(hi_u32 chip, hi_u32 gpio_grp, hi_u32 gpio_bit) in gpio_get_vir_no()
455 static hi_void gpio_set_bit_irq_disable(hi_u32 chip, hi_u32 gpio_no, hi_u32 group_no, hi_u32 bit_no) in gpio_set_bit_irq_disable()
468 static hi_s32 gpio_set_bit_irq_enable(hi_u32 chip, hi_u32 gpio_no, hi_u32 group_no, hi_u32 bit_no) in gpio_set_bit_irq_enable()
486 hi_u32 chip; in hi_drv_gpio_set_bit_int_enable() local
527 hi_u32 gpio_value, chip; in hi_drv_gpio_set_group_int_enable() local
913 static hi_s32 gpio_usr_addr_remap(hi_u32 chip) in gpio_usr_addr_remap()
996 hi_u32 i, chip; in hi_drv_gpio_init() local
1041 hi_u32 i, chip, gpio_grp; in hi_drv_gpio_de_init() local
/device/soc/rockchip/common/sdk_linux/include/linux/
Dpwm.h85 struct pwm_chip *chip; member
456 static inline int pwmchip_add(struct pwm_chip *chip) in pwmchip_add()
461 static inline int pwmchip_add_inversed(struct pwm_chip *chip) in pwmchip_add_inversed()
466 static inline int pwmchip_remove(struct pwm_chip *chip) in pwmchip_remove()
471 static inline struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, c… in pwm_request_from_chip()
580 static inline void pwmchip_sysfs_export(struct pwm_chip *chip) in pwmchip_sysfs_export()
584 static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip) in pwmchip_sysfs_unexport()
/device/soc/rockchip/rk3588/kernel/drivers/pinctrl/
Dpinctrl-rk806.c195 static int rk806_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk806_gpio_get()
215 static void rk806_gpio_set(struct gpio_chip *chip, in rk806_gpio_set()
234 static int rk806_gpio_direction_input(struct gpio_chip *chip, in rk806_gpio_direction_input()
240 static int rk806_gpio_direction_output(struct gpio_chip *chip, in rk806_gpio_direction_output()
248 static int rk806_gpio_get_direction(struct gpio_chip *chip, in rk806_gpio_get_direction()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_ccode.c204 uint chip; member
246 uint chip = dhd->conf->chip, chiprev = dhd->conf->chiprev; in dhd_ccode_map_country_list() local
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_ccode.c204 uint chip; member
246 uint chip = dhd->conf->chip, chiprev = dhd->conf->chiprev; in dhd_ccode_map_country_list() local
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_ccode.c202 uint chip; member
243 uint chip = dhd->conf->chip, chiprev = dhd->conf->chiprev; in dhd_ccode_map_country_list() local
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/
Dpinctrl-rk805.c267 static int rk805_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get()
286 static void rk805_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in rk805_gpio_set()
300 static int rk805_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_direction_input()
305 static int rk805_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) in rk805_gpio_direction_output()
311 static int rk805_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get_direction()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/std_i2c/
Ddrv_i2c.c109 hi_u32 value, sclh, scll, chip; in i2c_drv_set_rate() local
956 hi_u32 chip; in hi_drv_std_i2c_write() local
1031 hi_u32 chip; in hi_drv_std_i2c_read() local
1228 i2c_drv_chip chip; in hi_drv_i2c_de_init() local
1317 hi_u32 chip; in hi_drv_i2c_write() local
1407 hi_u32 chip; in hi_drv_i2c_read() local

12345