Home
last modified time | relevance | path

Searched defs:chip (Results 226 – 250 of 1344) sorted by relevance

12345678910>>...54

/Linux-v6.6/drivers/char/tpm/
Dtpm_ibmvtpm.c105 static int tpm_ibmvtpm_recv(struct tpm_chip *chip, u8 *buf, size_t count) in tpm_ibmvtpm_recv()
161 struct tpm_chip *chip = dev_get_drvdata(dev); in tpm_ibmvtpm_resume() local
200 static int tpm_ibmvtpm_send(struct tpm_chip *chip, u8 *buf, size_t count) in tpm_ibmvtpm_send()
260 static void tpm_ibmvtpm_cancel(struct tpm_chip *chip) in tpm_ibmvtpm_cancel()
265 static u8 tpm_ibmvtpm_status(struct tpm_chip *chip) in tpm_ibmvtpm_status()
345 struct tpm_chip *chip = dev_get_drvdata(&vdev->dev); in tpm_ibmvtpm_remove() local
383 struct tpm_chip *chip = dev_get_drvdata(&vdev->dev); in tpm_ibmvtpm_get_desired_dma() local
407 struct tpm_chip *chip = dev_get_drvdata(dev); in tpm_ibmvtpm_suspend() local
447 static bool tpm_ibmvtpm_req_canceled(struct tpm_chip *chip, u8 status) in tpm_ibmvtpm_req_canceled()
604 struct tpm_chip *chip; in tpm_ibmvtpm_probe() local
Dtpm-sysfs.c39 struct tpm_chip *chip = to_tpm_chip(dev); in pubek_show() local
89 struct tpm_chip *chip = to_tpm_chip(dev); in pcrs_show() local
120 struct tpm_chip *chip = to_tpm_chip(dev); in enabled_show() local
142 struct tpm_chip *chip = to_tpm_chip(dev); in active_show() local
164 struct tpm_chip *chip = to_tpm_chip(dev); in owned_show() local
186 struct tpm_chip *chip = to_tpm_chip(dev); in temp_deactivated_show() local
208 struct tpm_chip *chip = to_tpm_chip(dev); in caps_show() local
259 struct tpm_chip *chip = to_tpm_chip(dev); in cancel_store() local
273 struct tpm_chip *chip = to_tpm_chip(dev); in durations_show() local
290 struct tpm_chip *chip = to_tpm_chip(dev); in timeouts_show() local
[all …]
Dtpm_i2c_nuvoton.c88 static u8 i2c_nuvoton_read_status(struct tpm_chip *chip) in i2c_nuvoton_read_status()
121 static void i2c_nuvoton_ready(struct tpm_chip *chip) in i2c_nuvoton_ready()
136 struct tpm_chip *chip) in i2c_nuvoton_get_burstcount()
164 static bool i2c_nuvoton_check_status(struct tpm_chip *chip, u8 mask, u8 value) in i2c_nuvoton_check_status()
170 static int i2c_nuvoton_wait_for_stat(struct tpm_chip *chip, u8 mask, u8 value, in i2c_nuvoton_wait_for_stat()
219 static int i2c_nuvoton_wait_for_data_avail(struct tpm_chip *chip, u32 timeout, in i2c_nuvoton_wait_for_data_avail()
230 struct tpm_chip *chip, u8 *buf, size_t count) in i2c_nuvoton_recv_data()
264 static int i2c_nuvoton_recv(struct tpm_chip *chip, u8 *buf, size_t count) in i2c_nuvoton_recv()
352 static int i2c_nuvoton_send(struct tpm_chip *chip, u8 *buf, size_t len) in i2c_nuvoton_send()
459 static bool i2c_nuvoton_req_canceled(struct tpm_chip *chip, u8 status) in i2c_nuvoton_req_canceled()
[all …]
/Linux-v6.6/drivers/mtd/nand/raw/
Dmarvell_nand.c342 struct nand_chip chip; member
354 static inline struct marvell_nand_chip *to_marvell_nand(struct nand_chip *chip) in to_marvell_nand()
547 static void marvell_nfc_force_byte_access(struct nand_chip *chip, in marvell_nfc_force_byte_access()
572 static int marvell_nfc_wait_ndrun(struct nand_chip *chip) in marvell_nfc_wait_ndrun()
610 static int marvell_nfc_prepare_cmd(struct nand_chip *chip) in marvell_nfc_prepare_cmd()
642 static void marvell_nfc_send_cmd(struct nand_chip *chip, in marvell_nfc_send_cmd()
669 static int marvell_nfc_end_cmd(struct nand_chip *chip, int flag, in marvell_nfc_end_cmd()
700 static int marvell_nfc_wait_cmdd(struct nand_chip *chip) in marvell_nfc_wait_cmdd()
729 static int marvell_nfc_wait_op(struct nand_chip *chip, unsigned int timeout_ms) in marvell_nfc_wait_op()
766 static void marvell_nfc_select_target(struct nand_chip *chip, in marvell_nfc_select_target()
[all …]
Dnand_micron.c69 static int micron_nand_setup_read_retry(struct nand_chip *chip, int retry_mode) in micron_nand_setup_read_retry()
79 static int micron_nand_onfi_init(struct nand_chip *chip) in micron_nand_onfi_init()
135 struct nand_chip *chip = mtd_to_nand(mtd); in micron_nand_on_die_8_ooblayout_ecc() local
150 struct nand_chip *chip = mtd_to_nand(mtd); in micron_nand_on_die_8_ooblayout_free() local
166 static int micron_nand_on_die_ecc_setup(struct nand_chip *chip, bool enable) in micron_nand_on_die_ecc_setup()
188 static int micron_nand_on_die_ecc_status_4(struct nand_chip *chip, u8 status, in micron_nand_on_die_ecc_status_4()
275 static int micron_nand_on_die_ecc_status_8(struct nand_chip *chip, u8 status) in micron_nand_on_die_ecc_status_8()
304 micron_nand_read_page_on_die_ecc(struct nand_chip *chip, uint8_t *buf, in micron_nand_read_page_on_die_ecc()
369 micron_nand_write_page_on_die_ecc(struct nand_chip *chip, const uint8_t *buf, in micron_nand_write_page_on_die_ecc()
414 static int micron_supports_on_die_ecc(struct nand_chip *chip) in micron_supports_on_die_ecc()
[all …]
Dtxx9ndfmc.c61 struct nand_chip chip; member
77 struct nand_chip *chip = mtd_to_nand(mtd); in mtd_to_platdev() local
101 static uint8_t txx9ndfmc_read_byte(struct nand_chip *chip) in txx9ndfmc_read_byte()
108 static void txx9ndfmc_write_buf(struct nand_chip *chip, const uint8_t *buf, in txx9ndfmc_write_buf()
121 static void txx9ndfmc_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in txx9ndfmc_read_buf()
130 static void txx9ndfmc_cmd_ctrl(struct nand_chip *chip, int cmd, in txx9ndfmc_cmd_ctrl()
160 static int txx9ndfmc_dev_ready(struct nand_chip *chip) in txx9ndfmc_dev_ready()
167 static int txx9ndfmc_calculate_ecc(struct nand_chip *chip, const uint8_t *dat, in txx9ndfmc_calculate_ecc()
187 static int txx9ndfmc_correct_data(struct nand_chip *chip, unsigned char *buf, in txx9ndfmc_correct_data()
208 static void txx9ndfmc_enable_hwecc(struct nand_chip *chip, int mode) in txx9ndfmc_enable_hwecc()
[all …]
Dmtk_nand.c183 static inline u8 *data_ptr(struct nand_chip *chip, const u8 *p, int i) in data_ptr()
188 static inline u8 *oob_ptr(struct nand_chip *chip, int i) in oob_ptr()
207 static inline int mtk_data_len(struct nand_chip *chip) in mtk_data_len()
214 static inline u8 *mtk_data_ptr(struct nand_chip *chip, int i) in mtk_data_ptr()
221 static inline u8 *mtk_oob_ptr(struct nand_chip *chip, int i) in mtk_oob_ptr()
320 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_hw_runtime_config() local
400 static inline u8 mtk_nfc_read_byte(struct nand_chip *chip) in mtk_nfc_read_byte()
428 static void mtk_nfc_read_buf(struct nand_chip *chip, u8 *buf, int len) in mtk_nfc_read_buf()
436 static void mtk_nfc_write_byte(struct nand_chip *chip, u8 byte) in mtk_nfc_write_byte()
457 static void mtk_nfc_write_buf(struct nand_chip *chip, const u8 *buf, int len) in mtk_nfc_write_buf()
[all …]
Dsharpsl.c22 struct nand_chip chip; member
57 static void sharpsl_nand_hwcontrol(struct nand_chip *chip, int cmd, in sharpsl_nand_hwcontrol()
76 static int sharpsl_nand_dev_ready(struct nand_chip *chip) in sharpsl_nand_dev_ready()
82 static void sharpsl_nand_enable_hwecc(struct nand_chip *chip, int mode) in sharpsl_nand_enable_hwecc()
88 static int sharpsl_nand_calculate_ecc(struct nand_chip *chip, in sharpsl_nand_calculate_ecc()
98 static int sharpsl_attach_chip(struct nand_chip *chip) in sharpsl_attach_chip()
216 struct nand_chip *chip = &sharpsl->chip; in sharpsl_nand_remove() local
Dr852.c65 struct nand_chip *chip = mtd_to_nand(mtd); in r852_get_dev() local
230 static void r852_write_buf(struct nand_chip *chip, const uint8_t *buf, int len) in r852_write_buf()
264 static void r852_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in r852_read_buf()
301 static uint8_t r852_read_byte(struct nand_chip *chip) in r852_read_byte()
315 static void r852_cmdctl(struct nand_chip *chip, int dat, unsigned int ctrl) in r852_cmdctl()
360 static int r852_wait(struct nand_chip *chip) in r852_wait()
387 static int r852_ready(struct nand_chip *chip) in r852_ready()
398 static void r852_ecc_hwctl(struct nand_chip *chip, int mode) in r852_ecc_hwctl()
430 static int r852_ecc_calculate(struct nand_chip *chip, const uint8_t *dat, in r852_ecc_calculate()
462 static int r852_ecc_correct(struct nand_chip *chip, uint8_t *dat, in r852_ecc_correct()
[all …]
/Linux-v6.6/drivers/gpio/
Dgpio-bd9571mwv.c21 struct gpio_chip chip; member
24 static int bd9571mwv_gpio_get_direction(struct gpio_chip *chip, in bd9571mwv_gpio_get_direction()
39 static int bd9571mwv_gpio_direction_input(struct gpio_chip *chip, in bd9571mwv_gpio_direction_input()
49 static int bd9571mwv_gpio_direction_output(struct gpio_chip *chip, in bd9571mwv_gpio_direction_output()
63 static int bd9571mwv_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd9571mwv_gpio_get()
75 static void bd9571mwv_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd9571mwv_gpio_set()
Dgpio-max77650.c43 struct max77650_gpio_chip *chip = gpiochip_get_data(gc); in max77650_gpio_direction_input() local
54 struct max77650_gpio_chip *chip = gpiochip_get_data(gc); in max77650_gpio_direction_output() local
68 struct max77650_gpio_chip *chip = gpiochip_get_data(gc); in max77650_gpio_set_value() local
82 struct max77650_gpio_chip *chip = gpiochip_get_data(gc); in max77650_gpio_get_value() local
96 struct max77650_gpio_chip *chip = gpiochip_get_data(gc); in max77650_gpio_get_direction() local
110 struct max77650_gpio_chip *chip = gpiochip_get_data(gc); in max77650_gpio_set_config() local
135 struct max77650_gpio_chip *chip = gpiochip_get_data(gc); in max77650_gpio_to_irq() local
142 struct max77650_gpio_chip *chip; in max77650_gpio_probe() local
Dgpio-spear-spics.c51 struct gpio_chip chip; member
55 static int spics_get_value(struct gpio_chip *chip, unsigned offset) in spics_get_value()
60 static void spics_set_value(struct gpio_chip *chip, unsigned offset, int value) in spics_set_value()
79 static int spics_direction_input(struct gpio_chip *chip, unsigned offset) in spics_direction_input()
84 static int spics_direction_output(struct gpio_chip *chip, unsigned offset, in spics_direction_output()
91 static int spics_request(struct gpio_chip *chip, unsigned offset) in spics_request()
106 static void spics_free(struct gpio_chip *chip, unsigned offset) in spics_free()
Dgpio-octeon.c38 struct gpio_chip chip; member
42 static int octeon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in octeon_gpio_dir_in()
50 static void octeon_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in octeon_gpio_set()
58 static int octeon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, in octeon_gpio_dir_out()
73 static int octeon_gpio_get(struct gpio_chip *chip, unsigned offset) in octeon_gpio_get()
84 struct gpio_chip *chip; in octeon_gpio_probe() local
/Linux-v6.6/drivers/bcma/
Ddriver_gpio.c22 static int bcma_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_get_value()
29 static void bcma_gpio_set_value(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_set_value()
37 static int bcma_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_direction_input()
45 static int bcma_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_direction_output()
55 static int bcma_gpio_request(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_request()
68 static void bcma_gpio_free(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_free()
130 struct gpio_chip *chip = &cc->gpio; in bcma_gpio_irq_init() local
179 struct gpio_chip *chip = &cc->gpio; in bcma_gpio_init() local
/Linux-v6.6/drivers/platform/x86/intel/
Dint0002_vgpio.c53 struct gpio_chip chip; member
63 static int int0002_gpio_get(struct gpio_chip *chip, unsigned int offset) in int0002_gpio_get()
68 static void int0002_gpio_set(struct gpio_chip *chip, unsigned int offset, in int0002_gpio_set()
73 static int int0002_gpio_direction_output(struct gpio_chip *chip, in int0002_gpio_direction_output()
104 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in int0002_irq_set_wake() local
121 struct gpio_chip *chip = data; in int0002_irq() local
151 static void int0002_init_irq_valid_mask(struct gpio_chip *chip, in int0002_init_irq_valid_mask()
163 struct gpio_chip *chip; in int0002_probe() local
/Linux-v6.6/drivers/net/wireless/zydas/zd1211rw/
Dzd_rf_uw2453.c242 static int uw2453_synth_set_channel(struct zd_chip *chip, int channel, in uw2453_synth_set_channel()
262 static int uw2453_write_vco_cfg(struct zd_chip *chip, u16 value) in uw2453_write_vco_cfg()
270 static int uw2453_init_mode(struct zd_chip *chip) in uw2453_init_mode()
282 static int uw2453_set_tx_gain_level(struct zd_chip *chip, int channel) in uw2453_set_tx_gain_level()
301 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_init_hw() local
434 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_set_channel() local
472 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_switch_radio_on() local
491 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_switch_radio_off() local
/Linux-v6.6/drivers/pwm/
Dpwm-jz4740.c28 struct pwm_chip chip; member
32 static inline struct jz4740_pwm_chip *to_jz4740(struct pwm_chip *chip) in to_jz4740()
50 static int jz4740_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in jz4740_pwm_request()
78 static void jz4740_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in jz4740_pwm_free()
86 static int jz4740_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in jz4740_pwm_enable()
99 static void jz4740_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in jz4740_pwm_disable()
121 static int jz4740_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in jz4740_pwm_apply()
Dpwm-spear.c56 struct pwm_chip chip; member
59 static inline struct spear_pwm_chip *to_spear_pwm_chip(struct pwm_chip *chip) in to_spear_pwm_chip()
64 static inline u32 spear_pwm_readl(struct spear_pwm_chip *chip, unsigned int num, in spear_pwm_readl()
70 static inline void spear_pwm_writel(struct spear_pwm_chip *chip, in spear_pwm_writel()
77 static int spear_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, in spear_pwm_config()
137 static int spear_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm) in spear_pwm_enable()
154 static void spear_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm) in spear_pwm_disable()
166 static int spear_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in spear_pwm_apply()
Dpwm-cros-ec.c29 struct pwm_chip chip; member
41 static inline struct cros_ec_pwm_device *pwm_to_cros_ec_pwm(struct pwm_chip *chip) in pwm_to_cros_ec_pwm()
46 static int cros_ec_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in cros_ec_pwm_request()
59 static void cros_ec_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in cros_ec_pwm_free()
157 static int cros_ec_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, in cros_ec_pwm_apply()
187 static int cros_ec_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, in cros_ec_pwm_get_state()
222 cros_ec_pwm_xlate(struct pwm_chip *chip, const struct of_phandle_args *args) in cros_ec_pwm_xlate()
286 struct pwm_chip *chip; in cros_ec_pwm_probe() local
336 struct pwm_chip *chip = &ec_pwm->chip; in cros_ec_pwm_remove() local
/Linux-v6.6/sound/pci/echoaudio/
Dechoaudio_gml.c40 static int check_asic_status(struct echoaudio *chip) in check_asic_status()
64 static int write_control_reg(struct echoaudio *chip, u32 value, char force) in write_control_reg()
95 static int set_input_auto_mute(struct echoaudio *chip, int automute) in set_input_auto_mute()
109 static int set_digital_mode(struct echoaudio *chip, u8 mode) in set_digital_mode()
156 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif()
/Linux-v6.6/arch/mips/include/asm/sibyte/
Dsb1250_defs.h98 #define SIBYTE_HDR_FMASK(chip, pass) \ argument
100 #define SIBYTE_HDR_FMASK_ALLREVS(chip) \ argument
121 #define SIBYTE_HDR_FMASK_BEFORE(chip, pass) \ argument
125 #define SIBYTE_HDR_FMASK_AFTER(chip, pass) \ argument
131 #define SIBYTE_HDR_FEATURE_CHIP(chip) \ argument
141 #define SIBYTE_HDR_FEATURE(chip, pass) \ argument
146 #define SIBYTE_HDR_FEATURE_EXACT(chip, pass) \ argument
150 #define SIBYTE_HDR_FEATURE_UP_TO(chip, pass) \ argument
/Linux-v6.6/drivers/leds/
Dleds-lp8501.c90 static int lp8501_post_init_device(struct lp55xx_chip *chip) in lp8501_post_init_device()
116 static void lp8501_load_engine(struct lp55xx_chip *chip) in lp8501_load_engine()
144 static void lp8501_stop_engine(struct lp55xx_chip *chip) in lp8501_stop_engine()
150 static void lp8501_turn_off_channels(struct lp55xx_chip *chip) in lp8501_turn_off_channels()
158 static void lp8501_run_engine(struct lp55xx_chip *chip, bool start) in lp8501_run_engine()
206 static int lp8501_update_program_memory(struct lp55xx_chip *chip, in lp8501_update_program_memory()
253 static void lp8501_firmware_loaded(struct lp55xx_chip *chip) in lp8501_firmware_loaded()
275 struct lp55xx_chip *chip = led->chip; in lp8501_led_brightness() local
308 struct lp55xx_chip *chip; in lp8501_probe() local
370 struct lp55xx_chip *chip = led->chip; in lp8501_remove() local
Dleds-lp5562.c127 static void lp5562_load_engine(struct lp55xx_chip *chip) in lp5562_load_engine()
147 static void lp5562_stop_engine(struct lp55xx_chip *chip) in lp5562_stop_engine()
153 static void lp5562_run_engine(struct lp55xx_chip *chip, bool start) in lp5562_run_engine()
206 static int lp5562_update_firmware(struct lp55xx_chip *chip, in lp5562_update_firmware()
259 static void lp5562_firmware_loaded(struct lp55xx_chip *chip) in lp5562_firmware_loaded()
283 static int lp5562_post_init_device(struct lp55xx_chip *chip) in lp5562_post_init_device()
317 struct lp55xx_chip *chip = led->chip; in lp5562_led_brightness() local
333 static void lp5562_write_program_memory(struct lp55xx_chip *chip, in lp5562_write_program_memory()
356 static int lp5562_run_predef_led_pattern(struct lp55xx_chip *chip, int mode) in lp5562_run_predef_led_pattern()
410 struct lp55xx_chip *chip = led->chip; in lp5562_store_pattern() local
[all …]
/Linux-v6.6/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c53 struct nand_chip chip; member
74 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_ecc() local
89 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_free() local
109 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_ecc() local
124 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_free() local
141 static void ingenic_nand_ecc_hwctl(struct nand_chip *chip, int mode) in ingenic_nand_ecc_hwctl()
148 static int ingenic_nand_ecc_calculate(struct nand_chip *chip, const u8 *dat, in ingenic_nand_ecc_calculate()
169 static int ingenic_nand_ecc_correct(struct nand_chip *chip, u8 *dat, in ingenic_nand_ecc_correct()
183 static int ingenic_nand_attach_chip(struct nand_chip *chip) in ingenic_nand_attach_chip()
257 static int ingenic_nand_exec_instr(struct nand_chip *chip, in ingenic_nand_exec_instr()
[all …]
/Linux-v6.6/sound/pci/hda/
Dhda_controller.h84 struct azx *chip; member
154 #define azx_bus(chip) (&(chip)->bus.core) argument
157 static inline bool azx_snoop(struct azx *chip) in azx_snoop()
166 #define azx_writel(chip, reg, value) \ argument
168 #define azx_readl(chip, reg) \ argument
170 #define azx_writew(chip, reg, value) \ argument
172 #define azx_readw(chip, reg) \ argument
174 #define azx_writeb(chip, reg, value) \ argument
176 #define azx_readb(chip, reg) \ argument
179 #define azx_has_pm_runtime(chip) \ argument
[all …]

12345678910>>...54