Home
last modified time | relevance | path

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

12345678910>>...38

/drivers/net/wireless/zydas/zd1211rw/
Dzd_chip.c22 void zd_chip_init(struct zd_chip *chip, in zd_chip_init()
32 void zd_chip_clear(struct zd_chip *chip) in zd_chip_clear()
41 static int scnprint_mac_oui(struct zd_chip *chip, char *buffer, size_t size) in scnprint_mac_oui()
48 static int scnprint_id(struct zd_chip *chip, char *buffer, size_t size) in scnprint_id()
68 static void print_id(struct zd_chip *chip) in print_id()
92 int zd_ioread32v_locked(struct zd_chip *chip, u32 *values, const zd_addr_t *addr, in zd_ioread32v_locked()
131 static int _zd_iowrite32v_async_locked(struct zd_chip *chip, in _zd_iowrite32v_async_locked()
170 int _zd_iowrite32v_locked(struct zd_chip *chip, const struct zd_ioreq32 *ioreqs, in _zd_iowrite32v_locked()
184 int zd_iowrite16a_locked(struct zd_chip *chip, in zd_iowrite16a_locked()
222 int zd_iowrite32a_locked(struct zd_chip *chip, in zd_iowrite32a_locked()
[all …]
/drivers/net/dsa/mv88e6xxx/
Dglobal1.c16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read()
23 int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g1_write()
30 int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g1_wait_bit()
37 int mv88e6xxx_g1_wait_mask(struct mv88e6xxx_chip *chip, int reg, in mv88e6xxx_g1_wait_mask()
46 static int mv88e6185_g1_wait_ppu_disabled(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_disabled()
53 static int mv88e6185_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6185_g1_wait_ppu_polling()
60 static int mv88e6352_g1_wait_ppu_polling(struct mv88e6xxx_chip *chip) in mv88e6352_g1_wait_ppu_polling()
67 static int mv88e6xxx_g1_wait_init_ready(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_wait_init_ready()
82 int mv88e6xxx_g1_set_switch_mac(struct mv88e6xxx_chip *chip, u8 *addr) in mv88e6xxx_g1_set_switch_mac()
107 int mv88e6185_g1_reset(struct mv88e6xxx_chip *chip) in mv88e6185_g1_reset()
[all …]
Dglobal2.c19 int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g2_read()
24 int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g2_write()
29 int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g2_wait_bit()
38 static int mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src) in mv88e6xxx_g2_int_source()
46 static int mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask) in mv88e6xxx_g2_int_mask()
53 static int mv88e6xxx_g2_mgmt_enable_2x(struct mv88e6xxx_chip *chip, u16 en2x) in mv88e6xxx_g2_mgmt_enable_2x()
60 static int mv88e6xxx_g2_mgmt_enable_0x(struct mv88e6xxx_chip *chip, u16 en0x) in mv88e6xxx_g2_mgmt_enable_0x()
67 static int mv88e6xxx_g2_switch_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip, in mv88e6xxx_g2_switch_mgmt_rsvd2cpu()
85 int mv88e6185_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6185_g2_mgmt_rsvd2cpu()
99 int mv88e6352_g2_mgmt_rsvd2cpu(struct mv88e6xxx_chip *chip) in mv88e6352_g2_mgmt_rsvd2cpu()
[all …]
Dchip.c46 static void assert_reg_lock(struct mv88e6xxx_chip *chip) in assert_reg_lock()
54 int mv88e6xxx_read(struct mv88e6xxx_chip *chip, int addr, int reg, u16 *val) in mv88e6xxx_read()
70 int mv88e6xxx_write(struct mv88e6xxx_chip *chip, int addr, int reg, u16 val) in mv88e6xxx_write()
86 int mv88e6xxx_wait_mask(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_mask()
123 int mv88e6xxx_wait_bit(struct mv88e6xxx_chip *chip, int addr, int reg, in mv88e6xxx_wait_bit()
130 struct mii_bus *mv88e6xxx_default_mdio_bus(struct mv88e6xxx_chip *chip) in mv88e6xxx_default_mdio_bus()
144 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_mask() local
152 struct mv88e6xxx_chip *chip = irq_data_get_irq_chip_data(d); in mv88e6xxx_g1_irq_unmask() local
158 static irqreturn_t mv88e6xxx_g1_irq_thread_work(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_irq_thread_work()
202 struct mv88e6xxx_chip *chip = dev_id; in mv88e6xxx_g1_irq_thread_fn() local
[all …]
Dport.c21 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read()
29 int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_wait_bit()
37 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write()
50 int mv88e6185_port_set_pause(struct mv88e6xxx_chip *chip, int port, in mv88e6185_port_set_pause()
77 static int mv88e6xxx_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_set_rgmii_delay()
118 int mv88e6352_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6352_port_set_rgmii_delay()
127 int mv88e6390_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6390_port_set_rgmii_delay()
136 int mv88e6320_port_set_rgmii_delay(struct mv88e6xxx_chip *chip, int port, in mv88e6320_port_set_rgmii_delay()
145 int mv88e6xxx_port_set_link(struct mv88e6xxx_chip *chip, int port, int link) in mv88e6xxx_port_set_link()
183 int mv88e6xxx_port_sync_link(struct mv88e6xxx_chip *chip, int port, unsigned int mode, bool isup) in mv88e6xxx_port_sync_link()
[all …]
Dglobal1_vtu.c20 static int mv88e6xxx_g1_vtu_fid_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_fid_read()
35 static int mv88e6xxx_g1_vtu_fid_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_fid_write()
48 static int mv88e6xxx_g1_vtu_sid_read(struct mv88e6xxx_chip *chip, u8 *sid) in mv88e6xxx_g1_vtu_sid_read()
62 static int mv88e6xxx_g1_vtu_sid_write(struct mv88e6xxx_chip *chip, u8 sid) in mv88e6xxx_g1_vtu_sid_write()
71 static int mv88e6xxx_g1_vtu_op_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_vtu_op_wait()
78 static int mv88e6xxx_g1_vtu_op(struct mv88e6xxx_chip *chip, u16 op) in mv88e6xxx_g1_vtu_op()
92 static int mv88e6xxx_g1_vtu_vid_read(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_vid_read()
115 static int mv88e6xxx_g1_vtu_vid_write(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_vtu_vid_write()
133 static int mv88e6185_g1_vtu_stu_data_read(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_stu_data_read()
151 static int mv88e6185_g1_vtu_data_read(struct mv88e6xxx_chip *chip, in mv88e6185_g1_vtu_data_read()
[all …]
Dserdes.c20 static int mv88e6352_serdes_read(struct mv88e6xxx_chip *chip, int reg, in mv88e6352_serdes_read()
28 static int mv88e6352_serdes_write(struct mv88e6xxx_chip *chip, int reg, in mv88e6352_serdes_write()
36 static int mv88e6390_serdes_read(struct mv88e6xxx_chip *chip, in mv88e6390_serdes_read()
44 static int mv88e6390_serdes_write(struct mv88e6xxx_chip *chip, in mv88e6390_serdes_write()
52 static int mv88e6xxx_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, in mv88e6xxx_serdes_pcs_get_state()
124 int mv88e6352_serdes_power(struct mv88e6xxx_chip *chip, int port, int lane, in mv88e6352_serdes_power()
145 int mv88e6352_serdes_pcs_config(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_config()
194 int mv88e6352_serdes_pcs_get_state(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_get_state()
221 int mv88e6352_serdes_pcs_an_restart(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_an_restart()
234 int mv88e6352_serdes_pcs_link_up(struct mv88e6xxx_chip *chip, int port, in mv88e6352_serdes_pcs_link_up()
[all …]
Dphy.c16 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_read()
22 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_write()
28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read()
43 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) in mv88e6xxx_phy_write()
58 static int mv88e6xxx_phy_page_get(struct mv88e6xxx_chip *chip, int phy, u8 page) in mv88e6xxx_phy_page_get()
63 static void mv88e6xxx_phy_page_put(struct mv88e6xxx_chip *chip, int phy) in mv88e6xxx_phy_page_put()
79 int mv88e6xxx_phy_page_read(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_read()
97 int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy, in mv88e6xxx_phy_page_write()
118 static int mv88e6xxx_phy_ppu_disable(struct mv88e6xxx_chip *chip) in mv88e6xxx_phy_ppu_disable()
126 static int mv88e6xxx_phy_ppu_enable(struct mv88e6xxx_chip *chip) in mv88e6xxx_phy_ppu_enable()
[all …]
Dglobal1_atu.c19 static int mv88e6xxx_g1_atu_fid_write(struct mv88e6xxx_chip *chip, u16 fid) in mv88e6xxx_g1_atu_fid_write()
26 int mv88e6xxx_g1_atu_set_learn2all(struct mv88e6xxx_chip *chip, bool learn2all) in mv88e6xxx_g1_atu_set_learn2all()
43 int mv88e6xxx_g1_atu_set_age_time(struct mv88e6xxx_chip *chip, in mv88e6xxx_g1_atu_set_age_time()
77 int mv88e6165_g1_atu_get_hash(struct mv88e6xxx_chip *chip, u8 *hash) in mv88e6165_g1_atu_get_hash()
91 int mv88e6165_g1_atu_set_hash(struct mv88e6xxx_chip *chip, u8 hash) in mv88e6165_g1_atu_set_hash()
111 static int mv88e6xxx_g1_atu_op_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_atu_op_wait()
118 static int mv88e6xxx_g1_read_atu_violation(struct mv88e6xxx_chip *chip) in mv88e6xxx_g1_read_atu_violation()
131 static int mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op) in mv88e6xxx_g1_atu_op()
171 int mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid) in mv88e6xxx_g1_atu_get_next()
176 static int mv88e6xxx_g1_atu_fid_read(struct mv88e6xxx_chip *chip, u16 *fid) in mv88e6xxx_g1_atu_fid_read()
[all …]
Dglobal2_avb.c32 static int mv88e6xxx_g2_avb_wait(struct mv88e6xxx_chip *chip) in mv88e6xxx_g2_avb_wait()
39 static int mv88e6xxx_g2_avb_read(struct mv88e6xxx_chip *chip, u16 readop, in mv88e6xxx_g2_avb_read()
73 static int mv88e6xxx_g2_avb_write(struct mv88e6xxx_chip *chip, u16 writeop, in mv88e6xxx_g2_avb_write()
92 static int mv88e6352_g2_avb_port_ptp_read(struct mv88e6xxx_chip *chip, in mv88e6352_g2_avb_port_ptp_read()
104 static int mv88e6352_g2_avb_port_ptp_write(struct mv88e6xxx_chip *chip, in mv88e6352_g2_avb_port_ptp_write()
113 static int mv88e6352_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_read()
121 static int mv88e6352_g2_avb_ptp_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_write()
129 static int mv88e6352_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_read()
137 static int mv88e6352_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_write()
154 static int mv88e6165_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6165_g2_avb_tai_read()
[all …]
Dhwtstamp.c21 static int mv88e6xxx_port_ptp_read(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_ptp_read()
31 static int mv88e6xxx_port_ptp_write(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_ptp_write()
41 static int mv88e6xxx_ptp_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6xxx_ptp_write()
50 static int mv88e6xxx_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6xxx_ptp_read()
70 struct mv88e6xxx_chip *chip; in mv88e6xxx_get_ts_info() local
91 static int mv88e6xxx_set_hwtstamp_config(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_set_hwtstamp_config()
174 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_port_hwtstamp_set() local
199 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_port_hwtstamp_get() local
213 static struct ptp_header *mv88e6xxx_should_tstamp(struct mv88e6xxx_chip *chip, in mv88e6xxx_should_tstamp()
252 static void mv88e6xxx_get_rxts(struct mv88e6xxx_chip *chip, in mv88e6xxx_get_rxts()
[all …]
/drivers/char/tpm/
Dtpm-chip.c35 static int tpm_request_locality(struct tpm_chip *chip) in tpm_request_locality()
50 static void tpm_relinquish_locality(struct tpm_chip *chip) in tpm_relinquish_locality()
64 static int tpm_cmd_ready(struct tpm_chip *chip) in tpm_cmd_ready()
72 static int tpm_go_idle(struct tpm_chip *chip) in tpm_go_idle()
80 static void tpm_clk_enable(struct tpm_chip *chip) in tpm_clk_enable()
86 static void tpm_clk_disable(struct tpm_chip *chip) in tpm_clk_disable()
100 int tpm_chip_start(struct tpm_chip *chip) in tpm_chip_start()
133 void tpm_chip_stop(struct tpm_chip *chip) in tpm_chip_stop()
152 int tpm_try_get_ops(struct tpm_chip *chip) in tpm_try_get_ops()
184 void tpm_put_ops(struct tpm_chip *chip) in tpm_put_ops()
[all …]
Dtpm_tis_core.c32 static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat_cond()
47 static int wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat()
121 static int wait_startup(struct tpm_chip *chip, int l) in wait_startup()
141 static bool check_locality(struct tpm_chip *chip, int l) in check_locality()
168 static int tpm_tis_relinquish_locality(struct tpm_chip *chip, int l) in tpm_tis_relinquish_locality()
181 static int __tpm_tis_request_locality(struct tpm_chip *chip, int l) in __tpm_tis_request_locality()
222 static int tpm_tis_request_locality(struct tpm_chip *chip, int l) in tpm_tis_request_locality()
236 static u8 tpm_tis_status(struct tpm_chip *chip) in tpm_tis_status()
271 static void tpm_tis_ready(struct tpm_chip *chip) in tpm_tis_ready()
279 static int get_burstcount(struct tpm_chip *chip) in get_burstcount()
[all …]
/drivers/staging/rts5208/
Drtsx_chip.c23 static void rtsx_calibration(struct rtsx_chip *chip) in rtsx_calibration()
35 void rtsx_enable_card_int(struct rtsx_chip *chip) in rtsx_enable_card_int()
54 void rtsx_enable_bus_int(struct rtsx_chip *chip) in rtsx_enable_bus_int()
93 void rtsx_disable_bus_int(struct rtsx_chip *chip) in rtsx_disable_bus_int()
98 static int rtsx_pre_handle_sdio_old(struct rtsx_chip *chip) in rtsx_pre_handle_sdio_old()
142 static int rtsx_pre_handle_sdio_new(struct rtsx_chip *chip) in rtsx_pre_handle_sdio_new()
248 static int rtsx_reset_aspm(struct rtsx_chip *chip) in rtsx_reset_aspm()
287 static int rtsx_enable_pcie_intr(struct rtsx_chip *chip) in rtsx_enable_pcie_intr()
334 int rtsx_reset_chip(struct rtsx_chip *chip) in rtsx_reset_chip()
635 static int rts5208_init(struct rtsx_chip *chip) in rts5208_init()
[all …]
Drtsx_card.c23 void do_remaining_work(struct rtsx_chip *chip) in do_remaining_work()
81 void try_to_switch_sdio_ctrl(struct rtsx_chip *chip) in try_to_switch_sdio_ctrl()
99 void dynamic_configure_sdio_aspm(struct rtsx_chip *chip) in dynamic_configure_sdio_aspm()
138 void do_reset_sd_card(struct rtsx_chip *chip) in do_reset_sd_card()
192 void do_reset_xd_card(struct rtsx_chip *chip) in do_reset_xd_card()
240 void do_reset_ms_card(struct rtsx_chip *chip) in do_reset_ms_card()
288 static void release_sdio(struct rtsx_chip *chip) in release_sdio()
308 void rtsx_power_off_card(struct rtsx_chip *chip) in rtsx_power_off_card()
326 void rtsx_release_cards(struct rtsx_chip *chip) in rtsx_release_cards()
349 void rtsx_reset_cards(struct rtsx_chip *chip) in rtsx_reset_cards()
[all …]
Drtsx_scsi.c22 void scsi_show_command(struct rtsx_chip *chip) in scsi_show_command()
313 void set_sense_type(struct rtsx_chip *chip, unsigned int lun, int sense_type) in set_sense_type()
388 void set_sense_data(struct rtsx_chip *chip, unsigned int lun, u8 err_code, in set_sense_data()
411 static int test_unit_ready(struct scsi_cmnd *srb, struct rtsx_chip *chip) in test_unit_ready()
463 static int inquiry(struct scsi_cmnd *srb, struct rtsx_chip *chip) in inquiry()
548 static int start_stop_unit(struct scsi_cmnd *srb, struct rtsx_chip *chip) in start_stop_unit()
581 static int allow_medium_removal(struct scsi_cmnd *srb, struct rtsx_chip *chip) in allow_medium_removal()
598 static int request_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in request_sense()
643 static void ms_mode_sense(struct rtsx_chip *chip, u8 cmd, in ms_mode_sense()
736 static int mode_sense(struct scsi_cmnd *srb, struct rtsx_chip *chip) in mode_sense()
[all …]
Dsd.c46 static inline void sd_set_err_code(struct rtsx_chip *chip, u8 err_code) in sd_set_err_code()
53 static inline void sd_clr_err_code(struct rtsx_chip *chip) in sd_clr_err_code()
60 static inline int sd_check_err_code(struct rtsx_chip *chip, u8 err_code) in sd_check_err_code()
67 static void sd_init_reg_addr(struct rtsx_chip *chip) in sd_init_reg_addr()
95 static int sd_check_data0_status(struct rtsx_chip *chip) in sd_check_data0_status()
112 static int sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx,
260 static int sd_read_data(struct rtsx_chip *chip,
327 static int sd_write_data(struct rtsx_chip *chip, u8 trans_mode,
393 static int sd_check_csd(struct rtsx_chip *chip, char check_wp)
497 static int sd_set_sample_push_timing(struct rtsx_chip *chip)
[all …]
Dms.c20 static inline void ms_set_err_code(struct rtsx_chip *chip, u8 err_code) in ms_set_err_code()
27 static inline int ms_check_err_code(struct rtsx_chip *chip, u8 err_code) in ms_check_err_code()
34 static int ms_parse_err_code(struct rtsx_chip *chip) in ms_parse_err_code()
39 static int ms_transfer_tpc(struct rtsx_chip *chip, u8 trans_mode, in ms_transfer_tpc()
95 static int ms_transfer_data(struct rtsx_chip *chip, u8 trans_mode, in ms_transfer_data()
162 static int ms_write_bytes(struct rtsx_chip *chip, in ms_write_bytes()
226 static int ms_read_bytes(struct rtsx_chip *chip, in ms_read_bytes()
302 static int ms_set_rw_reg_addr(struct rtsx_chip *chip, u8 read_start, in ms_set_rw_reg_addr()
324 static int ms_send_cmd(struct rtsx_chip *chip, u8 cmd, u8 cfg) in ms_send_cmd()
334 static int ms_set_init_para(struct rtsx_chip *chip) in ms_set_init_para()
[all …]
Dspi.c19 static inline void spi_set_err_code(struct rtsx_chip *chip, u8 err_code) in spi_set_err_code()
26 static int spi_init(struct rtsx_chip *chip) in spi_init()
43 static int spi_set_init_para(struct rtsx_chip *chip) in spi_set_init_para()
83 static int sf_polling_status(struct rtsx_chip *chip, int msec) in sf_polling_status()
105 static int sf_enable_write(struct rtsx_chip *chip, u8 ins) in sf_enable_write()
133 static int sf_disable_write(struct rtsx_chip *chip, u8 ins) in sf_disable_write()
161 static void sf_program(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr, in sf_program()
185 static int sf_erase(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr) in sf_erase()
219 static int spi_init_eeprom(struct rtsx_chip *chip) in spi_init_eeprom()
267 static int spi_eeprom_program_enable(struct rtsx_chip *chip) in spi_eeprom_program_enable()
[all …]
Dxd.c27 static inline void xd_set_err_code(struct rtsx_chip *chip, u8 err_code) in xd_set_err_code()
34 static inline int xd_check_err_code(struct rtsx_chip *chip, u8 err_code) in xd_check_err_code()
41 static int xd_set_init_para(struct rtsx_chip *chip) in xd_set_init_para()
58 static int xd_switch_clock(struct rtsx_chip *chip) in xd_switch_clock()
74 static int xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) in xd_read_id()
104 static void xd_assign_phy_addr(struct rtsx_chip *chip, u32 addr, u8 mode) in xd_assign_phy_addr()
138 static int xd_read_redundant(struct rtsx_chip *chip, u32 page_addr, in xd_read_redundant()
175 static int xd_read_data_from_ppb(struct rtsx_chip *chip, int offset, in xd_read_data_from_ppb()
200 static int xd_read_cis(struct rtsx_chip *chip, u32 page_addr, u8 *buf, in xd_read_cis()
303 static void xd_fill_pull_ctl_disable(struct rtsx_chip *chip) in xd_fill_pull_ctl_disable()
[all …]
/drivers/mtd/nand/raw/
Dnand_legacy.c28 static uint8_t nand_read_byte(struct nand_chip *chip) in nand_read_byte()
40 static uint8_t nand_read_byte16(struct nand_chip *chip) in nand_read_byte16()
52 static void nand_select_chip(struct nand_chip *chip, int chipnr) in nand_select_chip()
74 static void nand_write_byte(struct nand_chip *chip, uint8_t byte) in nand_write_byte()
86 static void nand_write_byte16(struct nand_chip *chip, uint8_t byte) in nand_write_byte16()
117 static void nand_write_buf(struct nand_chip *chip, const uint8_t *buf, int len) in nand_write_buf()
130 static void nand_read_buf(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf()
143 static void nand_write_buf16(struct nand_chip *chip, const uint8_t *buf, in nand_write_buf16()
159 static void nand_read_buf16(struct nand_chip *chip, uint8_t *buf, int len) in nand_read_buf16()
174 static void panic_nand_wait_ready(struct nand_chip *chip, unsigned long timeo) in panic_nand_wait_ready()
[all …]
Dnand_base.c100 static int check_offs_len(struct nand_chip *chip, loff_t ofs, uint64_t len) in check_offs_len()
172 void nand_select_target(struct nand_chip *chip, unsigned int cs) in nand_select_target()
195 void nand_deselect_target(struct nand_chip *chip) in nand_deselect_target()
210 static void nand_release_device(struct nand_chip *chip) in nand_release_device()
226 int nand_bbm_get_next_page(struct nand_chip *chip, int page) in nand_bbm_get_next_page()
253 static int nand_block_bad(struct nand_chip *chip, loff_t ofs) in nand_block_bad()
292 static bool nand_region_is_secured(struct nand_chip *chip, loff_t offset, u64 size) in nand_region_is_secured()
313 static int nand_isbad_bbm(struct nand_chip *chip, loff_t ofs) in nand_isbad_bbm()
339 static void nand_get_device(struct nand_chip *chip) in nand_get_device()
361 static int nand_check_wp(struct nand_chip *chip) in nand_check_wp()
[all …]
/drivers/usb/typec/tcpm/
Dfusb302.c127 static bool fusb302_log_full(struct fusb302_chip *chip) in fusb302_log_full()
134 static void _fusb302_log(struct fusb302_chip *chip, const char *fmt, in _fusb302_log()
182 static void fusb302_log(struct fusb302_chip *chip, const char *fmt, ...) in fusb302_log()
193 struct fusb302_chip *chip = (struct fusb302_chip *)s->private; in fusb302_debug_show() local
210 static void fusb302_debugfs_init(struct fusb302_chip *chip) in fusb302_debugfs_init()
221 static void fusb302_debugfs_exit(struct fusb302_chip *chip) in fusb302_debugfs_exit()
228 static void fusb302_log(const struct fusb302_chip *chip, in fusb302_log()
230 static void fusb302_debugfs_init(const struct fusb302_chip *chip) { } in fusb302_debugfs_init()
231 static void fusb302_debugfs_exit(const struct fusb302_chip *chip) { } in fusb302_debugfs_exit()
235 static int fusb302_i2c_write(struct fusb302_chip *chip, in fusb302_i2c_write()
[all …]
/drivers/misc/
Dbh1770glc.c179 static inline int bh1770_lux_interrupt_control(struct bh1770_chip *chip, in bh1770_lux_interrupt_control()
189 static inline int bh1770_prox_interrupt_control(struct bh1770_chip *chip, in bh1770_prox_interrupt_control()
199 static int bh1770_lux_rate(struct bh1770_chip *chip, int rate_index) in bh1770_lux_rate()
214 static int bh1770_prox_rate(struct bh1770_chip *chip, int mode) in bh1770_prox_rate()
227 static inline int bh1770_led_cfg(struct bh1770_chip *chip) in bh1770_led_cfg()
243 static inline u8 bh1770_psraw_to_adjusted(struct bh1770_chip *chip, u8 psraw) in bh1770_psraw_to_adjusted()
253 static inline u8 bh1770_psadjusted_to_raw(struct bh1770_chip *chip, u8 ps) in bh1770_psadjusted_to_raw()
271 static int bh1770_prox_set_threshold(struct bh1770_chip *chip) in bh1770_prox_set_threshold()
286 static inline u16 bh1770_lux_raw_to_adjusted(struct bh1770_chip *chip, u16 raw) in bh1770_lux_raw_to_adjusted()
293 static inline u16 bh1770_lux_adjusted_to_raw(struct bh1770_chip *chip, in bh1770_lux_adjusted_to_raw()
[all …]
/drivers/staging/iio/addac/
Dadt7316.c226 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_enabled() local
231 static ssize_t _adt7316_store_enabled(struct adt7316_chip_info *chip, in _adt7316_store_enabled()
257 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_enabled() local
281 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_select_ex_temp() local
295 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_select_ex_temp() local
325 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_mode() local
339 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_mode() local
375 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_ad_channel() local
414 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_store_ad_channel() local
459 struct adt7316_chip_info *chip = iio_priv(dev_info); in adt7316_show_all_ad_channels() local
[all …]

12345678910>>...38