Home
last modified time | relevance | path

Searched refs:this (Results 1 - 25 of 1074) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/sound/usb/line6/
H A Dmidibuf.c33 static int midibuf_is_empty(struct midi_buffer *this) in midibuf_is_empty() argument
35 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
38 static int midibuf_is_full(struct midi_buffer *this) in midibuf_is_full() argument
40 return this->full; in midibuf_is_full()
43 void line6_midibuf_reset(struct midi_buffer *this) in line6_midibuf_reset() argument
45 this->pos_read = this->pos_write = this in line6_midibuf_reset()
49 line6_midibuf_init(struct midi_buffer *this, int size, int split) line6_midibuf_init() argument
62 line6_midibuf_bytes_free(struct midi_buffer *this) line6_midibuf_bytes_free() argument
71 line6_midibuf_bytes_used(struct midi_buffer *this) line6_midibuf_bytes_used() argument
80 line6_midibuf_write(struct midi_buffer *this, unsigned char *data, int length) line6_midibuf_write() argument
123 line6_midibuf_read(struct midi_buffer *this, unsigned char *data, int length, int read_type) line6_midibuf_read() argument
241 line6_midibuf_ignore(struct midi_buffer *this, int length) line6_midibuf_ignore() argument
253 line6_midibuf_destroy(struct midi_buffer *this) line6_midibuf_destroy() argument
[all...]
/kernel/linux/linux-6.6/sound/usb/line6/
H A Dmidibuf.c33 static int midibuf_is_empty(struct midi_buffer *this) in midibuf_is_empty() argument
35 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
38 static int midibuf_is_full(struct midi_buffer *this) in midibuf_is_full() argument
40 return this->full; in midibuf_is_full()
43 void line6_midibuf_reset(struct midi_buffer *this) in line6_midibuf_reset() argument
45 this->pos_read = this->pos_write = this in line6_midibuf_reset()
49 line6_midibuf_init(struct midi_buffer *this, int size, int split) line6_midibuf_init() argument
62 line6_midibuf_bytes_free(struct midi_buffer *this) line6_midibuf_bytes_free() argument
71 line6_midibuf_bytes_used(struct midi_buffer *this) line6_midibuf_bytes_used() argument
80 line6_midibuf_write(struct midi_buffer *this, unsigned char *data, int length) line6_midibuf_write() argument
123 line6_midibuf_read(struct midi_buffer *this, unsigned char *data, int length, int read_type) line6_midibuf_read() argument
241 line6_midibuf_ignore(struct midi_buffer *this, int length) line6_midibuf_ignore() argument
253 line6_midibuf_destroy(struct midi_buffer *this) line6_midibuf_destroy() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/
H A Dwl3501_cs.c188 static inline void wl3501_switch_page(struct wl3501_card *this, u8 page) in wl3501_switch_page() argument
190 wl3501_outb(page, this->base_addr + WL3501_NIC_BSS); in wl3501_switch_page()
199 static int wl3501_get_flash_mac_addr(struct wl3501_card *this) in wl3501_get_flash_mac_addr() argument
201 int base_addr = this->base_addr; in wl3501_get_flash_mac_addr()
210 this->mac_addr[0] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
212 this->mac_addr[1] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
214 this->mac_addr[2] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
216 this->mac_addr[3] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
218 this->mac_addr[4] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
220 this in wl3501_get_flash_mac_addr()
247 wl3501_set_to_wla(struct wl3501_card *this, u16 dest, void *src, int size) wl3501_set_to_wla() argument
270 wl3501_get_from_wla(struct wl3501_card *this, u16 src, void *dest, int size) wl3501_get_from_wla() argument
296 wl3501_get_tx_buffer(struct wl3501_card *this, u16 len) wl3501_get_tx_buffer() argument
332 wl3501_free_tx_buffer(struct wl3501_card *this, u16 ptr) wl3501_free_tx_buffer() argument
350 wl3501_esbq_req_test(struct wl3501_card *this) wl3501_esbq_req_test() argument
358 wl3501_esbq_req(struct wl3501_card *this, u16 *ptr) wl3501_esbq_req() argument
369 wl3501_esbq_exec(struct wl3501_card *this, void *sig, int sig_size) wl3501_esbq_exec() argument
384 wl3501_request_mib(struct wl3501_card *this, u8 index, void *bf) wl3501_request_mib() argument
408 wl3501_get_mib_value(struct wl3501_card *this, u8 index, void *bf, int size) wl3501_get_mib_value() argument
426 wl3501_pwr_mgmt(struct wl3501_card *this, int suspend) wl3501_pwr_mgmt() argument
466 wl3501_send_pkt(struct wl3501_card *this, u8 *data, u16 len) wl3501_send_pkt() argument
552 wl3501_mgmt_resync(struct wl3501_card *this) wl3501_mgmt_resync() argument
561 wl3501_fw_bss_type(struct wl3501_card *this) wl3501_fw_bss_type() argument
567 wl3501_fw_cap_info(struct wl3501_card *this) wl3501_fw_cap_info() argument
573 wl3501_mgmt_scan(struct wl3501_card *this, u16 chan_time) wl3501_mgmt_scan() argument
588 wl3501_mgmt_join(struct wl3501_card *this, u16 stas) wl3501_mgmt_join() argument
606 wl3501_mgmt_start(struct wl3501_card *this) wl3501_mgmt_start() argument
659 wl3501_mgmt_scan_confirm(struct wl3501_card *this, u16 addr) wl3501_mgmt_scan_confirm() argument
731 wl3501_block_interrupt(struct wl3501_card *this) wl3501_block_interrupt() argument
748 wl3501_unblock_interrupt(struct wl3501_card *this) wl3501_unblock_interrupt() argument
767 wl3501_receive(struct wl3501_card *this, u8 *bf, u16 size) wl3501_receive() argument
807 wl3501_esbq_req_free(struct wl3501_card *this) wl3501_esbq_req_free() argument
826 wl3501_esbq_confirm(struct wl3501_card *this) wl3501_esbq_confirm() argument
836 struct wl3501_card *this = netdev_priv(dev); wl3501_online() local
843 wl3501_esbq_confirm_done(struct wl3501_card *this) wl3501_esbq_confirm_done() argument
853 wl3501_mgmt_auth(struct wl3501_card *this) wl3501_mgmt_auth() argument
866 wl3501_mgmt_association(struct wl3501_card *this) wl3501_mgmt_association() argument
882 struct wl3501_card *this = netdev_priv(dev); wl3501_mgmt_join_confirm() local
928 wl3501_alarm_interrupt(struct net_device *dev, struct wl3501_card *this) wl3501_alarm_interrupt() argument
938 wl3501_md_confirm_interrupt(struct net_device *dev, struct wl3501_card *this, u16 addr) wl3501_md_confirm_interrupt() argument
951 wl3501_md_ind_interrupt(struct net_device *dev, struct wl3501_card *this, u16 addr) wl3501_md_ind_interrupt() argument
997 wl3501_get_confirm_interrupt(struct wl3501_card *this, u16 addr, void *sig, int size) wl3501_get_confirm_interrupt() argument
1006 wl3501_start_confirm_interrupt(struct net_device *dev, struct wl3501_card *this, u16 addr) wl3501_start_confirm_interrupt() argument
1021 struct wl3501_card *this = netdev_priv(dev); wl3501_assoc_confirm_interrupt() local
1031 wl3501_auth_confirm_interrupt(struct wl3501_card *this, u16 addr) wl3501_auth_confirm_interrupt() argument
1050 struct wl3501_card *this = netdev_priv(dev); wl3501_rx_interrupt() local
1110 wl3501_ack_interrupt(struct wl3501_card *this) wl3501_ack_interrupt() argument
1130 struct wl3501_card *this; wl3501_interrupt() local
1143 wl3501_reset_board(struct wl3501_card *this) wl3501_reset_board() argument
1181 wl3501_init_firmware(struct wl3501_card *this) wl3501_init_firmware() argument
1232 struct wl3501_card *this = netdev_priv(dev); wl3501_close() local
1262 struct wl3501_card *this = netdev_priv(dev); wl3501_reset() local
1317 struct wl3501_card *this = netdev_priv(dev); wl3501_hard_start_xmit() local
1343 struct wl3501_card *this = netdev_priv(dev); wl3501_open() local
1382 struct wl3501_card *this = netdev_priv(dev); wl3501_get_wireless_stats() local
1451 struct wl3501_card *this = netdev_priv(dev); wl3501_set_freq() local
1465 struct wl3501_card *this = netdev_priv(dev); wl3501_get_freq() local
1481 struct wl3501_card *this = netdev_priv(dev); wl3501_set_mode() local
1492 struct wl3501_card *this = netdev_priv(dev); wl3501_get_mode() local
1501 struct wl3501_card *this = netdev_priv(dev); wl3501_get_sens() local
1532 struct wl3501_card *this = netdev_priv(dev); wl3501_set_wap() local
1551 struct wl3501_card *this = netdev_priv(dev); wl3501_get_wap() local
1570 struct wl3501_card *this = netdev_priv(dev); wl3501_get_scan() local
1620 struct wl3501_card *this = netdev_priv(dev); wl3501_set_essid() local
1637 struct wl3501_card *this = netdev_priv(dev); wl3501_get_essid() local
1651 struct wl3501_card *this = netdev_priv(dev); wl3501_set_nick() local
1662 struct wl3501_card *this = netdev_priv(dev); wl3501_get_nick() local
1687 struct wl3501_card *this = netdev_priv(dev); wl3501_get_rts_threshold() local
1703 struct wl3501_card *this = netdev_priv(dev); wl3501_get_frag_threshold() local
1719 struct wl3501_card *this = netdev_priv(dev); wl3501_get_txpow() local
1741 struct wl3501_card *this = netdev_priv(dev); wl3501_get_retry() local
1768 struct wl3501_card *this = netdev_priv(dev); wl3501_get_encode() local
1805 struct wl3501_card *this = netdev_priv(dev); wl3501_get_power() local
1864 struct wl3501_card *this; wl3501_probe() local
1905 struct wl3501_card *this; wl3501_config() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/legacy/
H A Dwl3501_cs.c188 static inline void wl3501_switch_page(struct wl3501_card *this, u8 page) in wl3501_switch_page() argument
190 wl3501_outb(page, this->base_addr + WL3501_NIC_BSS); in wl3501_switch_page()
199 static int wl3501_get_flash_mac_addr(struct wl3501_card *this) in wl3501_get_flash_mac_addr() argument
201 int base_addr = this->base_addr; in wl3501_get_flash_mac_addr()
210 this->mac_addr[0] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
212 this->mac_addr[1] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
214 this->mac_addr[2] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
216 this->mac_addr[3] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
218 this->mac_addr[4] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
220 this in wl3501_get_flash_mac_addr()
247 wl3501_set_to_wla(struct wl3501_card *this, u16 dest, void *src, int size) wl3501_set_to_wla() argument
270 wl3501_get_from_wla(struct wl3501_card *this, u16 src, void *dest, int size) wl3501_get_from_wla() argument
296 wl3501_get_tx_buffer(struct wl3501_card *this, u16 len) wl3501_get_tx_buffer() argument
332 wl3501_free_tx_buffer(struct wl3501_card *this, u16 ptr) wl3501_free_tx_buffer() argument
350 wl3501_esbq_req_test(struct wl3501_card *this) wl3501_esbq_req_test() argument
358 wl3501_esbq_req(struct wl3501_card *this, u16 *ptr) wl3501_esbq_req() argument
369 wl3501_esbq_exec(struct wl3501_card *this, void *sig, int sig_size) wl3501_esbq_exec() argument
384 wl3501_request_mib(struct wl3501_card *this, u8 index, void *bf) wl3501_request_mib() argument
408 wl3501_get_mib_value(struct wl3501_card *this, u8 index, void *bf, int size) wl3501_get_mib_value() argument
426 wl3501_pwr_mgmt(struct wl3501_card *this, int suspend) wl3501_pwr_mgmt() argument
466 wl3501_send_pkt(struct wl3501_card *this, u8 *data, u16 len) wl3501_send_pkt() argument
552 wl3501_mgmt_resync(struct wl3501_card *this) wl3501_mgmt_resync() argument
561 wl3501_fw_bss_type(struct wl3501_card *this) wl3501_fw_bss_type() argument
567 wl3501_fw_cap_info(struct wl3501_card *this) wl3501_fw_cap_info() argument
573 wl3501_mgmt_scan(struct wl3501_card *this, u16 chan_time) wl3501_mgmt_scan() argument
588 wl3501_mgmt_join(struct wl3501_card *this, u16 stas) wl3501_mgmt_join() argument
606 wl3501_mgmt_start(struct wl3501_card *this) wl3501_mgmt_start() argument
659 wl3501_mgmt_scan_confirm(struct wl3501_card *this, u16 addr) wl3501_mgmt_scan_confirm() argument
731 wl3501_block_interrupt(struct wl3501_card *this) wl3501_block_interrupt() argument
748 wl3501_unblock_interrupt(struct wl3501_card *this) wl3501_unblock_interrupt() argument
767 wl3501_receive(struct wl3501_card *this, u8 *bf, u16 size) wl3501_receive() argument
807 wl3501_esbq_req_free(struct wl3501_card *this) wl3501_esbq_req_free() argument
826 wl3501_esbq_confirm(struct wl3501_card *this) wl3501_esbq_confirm() argument
836 struct wl3501_card *this = netdev_priv(dev); wl3501_online() local
843 wl3501_esbq_confirm_done(struct wl3501_card *this) wl3501_esbq_confirm_done() argument
853 wl3501_mgmt_auth(struct wl3501_card *this) wl3501_mgmt_auth() argument
866 wl3501_mgmt_association(struct wl3501_card *this) wl3501_mgmt_association() argument
882 struct wl3501_card *this = netdev_priv(dev); wl3501_mgmt_join_confirm() local
928 wl3501_alarm_interrupt(struct net_device *dev, struct wl3501_card *this) wl3501_alarm_interrupt() argument
938 wl3501_md_confirm_interrupt(struct net_device *dev, struct wl3501_card *this, u16 addr) wl3501_md_confirm_interrupt() argument
951 wl3501_md_ind_interrupt(struct net_device *dev, struct wl3501_card *this, u16 addr) wl3501_md_ind_interrupt() argument
997 wl3501_get_confirm_interrupt(struct wl3501_card *this, u16 addr, void *sig, int size) wl3501_get_confirm_interrupt() argument
1006 wl3501_start_confirm_interrupt(struct net_device *dev, struct wl3501_card *this, u16 addr) wl3501_start_confirm_interrupt() argument
1021 struct wl3501_card *this = netdev_priv(dev); wl3501_assoc_confirm_interrupt() local
1031 wl3501_auth_confirm_interrupt(struct wl3501_card *this, u16 addr) wl3501_auth_confirm_interrupt() argument
1050 struct wl3501_card *this = netdev_priv(dev); wl3501_rx_interrupt() local
1110 wl3501_ack_interrupt(struct wl3501_card *this) wl3501_ack_interrupt() argument
1130 struct wl3501_card *this; wl3501_interrupt() local
1143 wl3501_reset_board(struct wl3501_card *this) wl3501_reset_board() argument
1181 wl3501_init_firmware(struct wl3501_card *this) wl3501_init_firmware() argument
1232 struct wl3501_card *this = netdev_priv(dev); wl3501_close() local
1262 struct wl3501_card *this = netdev_priv(dev); wl3501_reset() local
1317 struct wl3501_card *this = netdev_priv(dev); wl3501_hard_start_xmit() local
1343 struct wl3501_card *this = netdev_priv(dev); wl3501_open() local
1382 struct wl3501_card *this = netdev_priv(dev); wl3501_get_wireless_stats() local
1451 struct wl3501_card *this = netdev_priv(dev); wl3501_set_freq() local
1465 struct wl3501_card *this = netdev_priv(dev); wl3501_get_freq() local
1481 struct wl3501_card *this = netdev_priv(dev); wl3501_set_mode() local
1492 struct wl3501_card *this = netdev_priv(dev); wl3501_get_mode() local
1501 struct wl3501_card *this = netdev_priv(dev); wl3501_get_sens() local
1532 struct wl3501_card *this = netdev_priv(dev); wl3501_set_wap() local
1551 struct wl3501_card *this = netdev_priv(dev); wl3501_get_wap() local
1570 struct wl3501_card *this = netdev_priv(dev); wl3501_get_scan() local
1620 struct wl3501_card *this = netdev_priv(dev); wl3501_set_essid() local
1637 struct wl3501_card *this = netdev_priv(dev); wl3501_get_essid() local
1651 struct wl3501_card *this = netdev_priv(dev); wl3501_set_nick() local
1662 struct wl3501_card *this = netdev_priv(dev); wl3501_get_nick() local
1687 struct wl3501_card *this = netdev_priv(dev); wl3501_get_rts_threshold() local
1703 struct wl3501_card *this = netdev_priv(dev); wl3501_get_frag_threshold() local
1719 struct wl3501_card *this = netdev_priv(dev); wl3501_get_txpow() local
1741 struct wl3501_card *this = netdev_priv(dev); wl3501_get_retry() local
1768 struct wl3501_card *this = netdev_priv(dev); wl3501_get_encode() local
1805 struct wl3501_card *this = netdev_priv(dev); wl3501_get_power() local
1864 struct wl3501_card *this; wl3501_probe() local
1905 struct wl3501_card *this; wl3501_config() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c71 * You will see a DMA timeout in this case. The bug has been fixed
74 * To avoid this bug, just add a new parameter `just_enable` for
119 static int __gpmi_enable_clk(struct gpmi_nand_data *this, bool v) in __gpmi_enable_clk() argument
126 clk = this->resources.clock[i]; in __gpmi_enable_clk()
142 clk_disable_unprepare(this->resources.clock[i - 1]); in __gpmi_enable_clk()
146 static int gpmi_init(struct gpmi_nand_data *this) in gpmi_init() argument
148 struct resources *r = &this->resources; in gpmi_init()
151 ret = pm_runtime_resume_and_get(this->dev); in gpmi_init()
163 ret = gpmi_reset_block(r->bch_regs, GPMI_IS_MXS(this)); in gpmi_init()
189 pm_runtime_mark_last_busy(this in gpmi_init()
195 gpmi_dump_info(struct gpmi_nand_data *this) gpmi_dump_info() argument
241 gpmi_check_ecc(struct gpmi_nand_data *this) gpmi_check_ecc() argument
268 bbm_in_data_chunk(struct gpmi_nand_data *this, unsigned int *chunk_num) bbm_in_data_chunk() argument
306 set_geometry_by_ecc_info(struct gpmi_nand_data *this, unsigned int ecc_strength, unsigned int ecc_step) set_geometry_by_ecc_info() argument
436 get_ecc_strength(struct gpmi_nand_data *this) get_ecc_strength() argument
449 set_geometry_for_large_oob(struct gpmi_nand_data *this) set_geometry_for_large_oob() argument
577 legacy_set_geometry(struct gpmi_nand_data *this) legacy_set_geometry() argument
691 common_nfc_set_geometry(struct gpmi_nand_data *this) common_nfc_set_geometry() argument
731 bch_set_geometry(struct gpmi_nand_data *this) bch_set_geometry() argument
840 gpmi_nfc_compute_timings(struct gpmi_nand_data *this, const struct nand_sdr_timings *sdr) gpmi_nfc_compute_timings() argument
925 gpmi_nfc_apply_timings(struct gpmi_nand_data *this) gpmi_nfc_apply_timings() argument
976 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_setup_interface() local
1004 gpmi_clear_bch(struct gpmi_nand_data *this) gpmi_clear_bch() argument
1010 get_dma_chan(struct gpmi_nand_data *this) get_dma_chan() argument
1019 struct gpmi_nand_data *this = param; dma_irq_callback() local
1027 struct gpmi_nand_data *this = cookie; bch_irq() local
1034 gpmi_raw_len_to_len(struct gpmi_nand_data *this, int raw_len) gpmi_raw_len_to_len() argument
1047 prepare_data_dma(struct gpmi_nand_data *this, const void *buf, int raw_len, struct scatterlist *sgl, enum dma_data_direction dr) prepare_data_dma() argument
1093 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ooblayout_ecc() local
1109 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ooblayout_free() local
1181 acquire_register_block(struct gpmi_nand_data *this, const char *res_name) acquire_register_block() argument
1202 acquire_bch_irq(struct gpmi_nand_data *this, irq_handler_t irq_h) acquire_bch_irq() argument
1219 release_dma_channels(struct gpmi_nand_data *this) release_dma_channels() argument
1229 acquire_dma_channels(struct gpmi_nand_data *this) acquire_dma_channels() argument
1248 gpmi_get_clks(struct gpmi_nand_data *this) gpmi_get_clks() argument
1271 acquire_resources(struct gpmi_nand_data *this) acquire_resources() argument
1302 release_resources(struct gpmi_nand_data *this) release_resources() argument
1307 gpmi_free_dma_buffer(struct gpmi_nand_data *this) gpmi_free_dma_buffer() argument
1324 gpmi_alloc_dma_buffer(struct gpmi_nand_data *this) gpmi_alloc_dma_buffer() argument
1364 block_mark_swapping(struct gpmi_nand_data *this, void *payload, void *auxiliary) block_mark_swapping() argument
1410 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_count_bitflips() local
1503 gpmi_bch_layout_std(struct gpmi_nand_data *this) gpmi_bch_layout_std() argument
1528 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_page() local
1570 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_subpage() local
1667 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_write_page() local
1754 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_oob() local
1814 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_page_raw() local
1899 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_write_page_raw() local
1979 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_block_markbad() local
2003 nand_boot_set_geometry(struct gpmi_nand_data *this) nand_boot_set_geometry() argument
2030 mx23_check_transcription_stamp(struct gpmi_nand_data *this) mx23_check_transcription_stamp() argument
2085 mx23_write_transcription_stamp(struct gpmi_nand_data *this) mx23_write_transcription_stamp() argument
2151 mx23_boot_init(struct gpmi_nand_data *this) mx23_boot_init() argument
2224 nand_boot_init(struct gpmi_nand_data *this) nand_boot_init() argument
2234 gpmi_set_geometry(struct gpmi_nand_data *this) gpmi_set_geometry() argument
2252 gpmi_init_last(struct gpmi_nand_data *this) gpmi_init_last() argument
2295 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_nand_attach_chip() local
2317 get_next_transfer(struct gpmi_nand_data *this) get_next_transfer() argument
2329 gpmi_chain_command( struct gpmi_nand_data *this, u8 cmd, const u8 *addr, int naddr) gpmi_chain_command() argument
2371 gpmi_chain_wait_ready( struct gpmi_nand_data *this) gpmi_chain_wait_ready() argument
2389 gpmi_chain_data_read( struct gpmi_nand_data *this, void *buf, int raw_len, bool *direct) gpmi_chain_data_read() argument
2436 gpmi_chain_data_write( struct gpmi_nand_data *this, const void *buf, int raw_len) gpmi_chain_data_write() argument
2488 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_nfc_exec_op() local
2661 gpmi_nand_init(struct gpmi_nand_data *this) gpmi_nand_init() argument
2730 struct gpmi_nand_data *this; gpmi_nand_probe() local
2782 struct gpmi_nand_data *this = platform_get_drvdata(pdev); gpmi_nand_remove() local
2799 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_pm_suspend() local
2807 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_pm_resume() local
2838 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_runtime_suspend() local
2845 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_runtime_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/
H A Donenand_base.c218 * @param this onenand chip data structure
224 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address() argument
227 if (block & this->density_mask) in onenand_block_address()
228 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask); in onenand_block_address()
235 * @param this onenand chip data structure
241 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address() argument
244 if (block & this->density_mask) in onenand_bufferram_address()
298 * @param this - OneNAND device structure
301 static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block() argument
305 if (ONENAND_IS_DDP(this) in flexonenand_block()
320 onenand_block(struct onenand_chip *this, loff_t addr) onenand_block() argument
334 flexonenand_addr(struct onenand_chip *this, int block) flexonenand_addr() argument
352 onenand_addr(struct onenand_chip *this, int block) onenand_addr() argument
400 struct onenand_chip *this = mtd->priv; onenand_command() local
524 onenand_read_ecc(struct onenand_chip *this) onenand_read_ecc() argument
555 struct onenand_chip * this = mtd->priv; onenand_wait() local
635 struct onenand_chip *this = data; onenand_interrupt() local
653 struct onenand_chip *this = mtd->priv; onenand_interrupt_wait() local
669 struct onenand_chip *this = mtd->priv; onenand_try_interrupt_wait() local
700 struct onenand_chip *this = mtd->priv; onenand_setup_wait() local
735 struct onenand_chip *this = mtd->priv; onenand_bufferram_offset() local
761 struct onenand_chip *this = mtd->priv; onenand_read_bufferram() local
797 struct onenand_chip *this = mtd->priv; onenand_sync_read_bufferram() local
837 struct onenand_chip *this = mtd->priv; onenand_write_bufferram() local
875 struct onenand_chip *this = mtd->priv; onenand_get_2x_blockpage() local
899 struct onenand_chip *this = mtd->priv; onenand_check_bufferram() local
942 struct onenand_chip *this = mtd->priv; onenand_update_bufferram() local
975 struct onenand_chip *this = mtd->priv; onenand_invalidate_bufferram() local
996 struct onenand_chip *this = mtd->priv; onenand_get_device() local
1033 struct onenand_chip *this = mtd->priv; onenand_release_device() local
1054 struct onenand_chip *this = mtd->priv; onenand_transfer_auto_oob() local
1077 struct onenand_chip *this = mtd->priv; onenand_recover_lsb() local
1117 struct onenand_chip *this = mtd->priv; onenand_mlc_read_ops_nolock() local
1218 struct onenand_chip *this = mtd->priv; onenand_read_ops_nolock() local
1347 struct onenand_chip *this = mtd->priv; onenand_read_oob_nolock() local
1442 struct onenand_chip *this = mtd->priv; onenand_read_oob() local
1476 struct onenand_chip *this = mtd->priv; onenand_bbt_wait() local
1529 struct onenand_chip *this = mtd->priv; onenand_bbt_read_oob() local
1603 struct onenand_chip *this = mtd->priv; onenand_verify_oob() local
1632 struct onenand_chip *this = mtd->priv; onenand_verify() local
1673 struct onenand_chip *this = mtd->priv; onenand_panic_wait() local
1698 struct onenand_chip *this = mtd->priv; onenand_panic_write() local
1788 struct onenand_chip *this = mtd->priv; onenand_write_ops_nolock() local
1972 struct onenand_chip *this = mtd->priv; onenand_write_oob_nolock() local
2113 struct onenand_chip *this = mtd->priv; onenand_block_isbad_nolock() local
2124 struct onenand_chip *this = mtd->priv; onenand_multiblock_erase_verify() local
2157 struct onenand_chip *this = mtd->priv; onenand_multiblock_erase() local
2269 struct onenand_chip *this = mtd->priv; onenand_block_by_block_erase() local
2336 struct onenand_chip *this = mtd->priv; onenand_erase() local
2436 struct onenand_chip *this = mtd->priv; onenand_default_block_markbad() local
2470 struct onenand_chip *this = mtd->priv; onenand_block_markbad() local
2498 struct onenand_chip *this = mtd->priv; onenand_do_lock_cmd() local
2609 onenand_check_lock_status(struct onenand_chip *this) onenand_check_lock_status() argument
2645 struct onenand_chip *this = mtd->priv; onenand_unlock_all() local
2694 struct onenand_chip *this = mtd->priv; onenand_otp_command() local
2772 struct onenand_chip *this = mtd->priv; onenand_otp_write_oob_nolock() local
2903 struct onenand_chip *this = mtd->priv; do_otp_read() local
2940 struct onenand_chip *this = mtd->priv; do_otp_write() local
2984 struct onenand_chip *this = mtd->priv; do_otp_lock() local
3035 struct onenand_chip *this = mtd->priv; onenand_otp_walk() local
3191 struct onenand_chip *this = mtd->priv; onenand_lock_user_prot_reg() local
3245 struct onenand_chip *this = mtd->priv; onenand_check_features() local
3388 struct onenand_chip *this = mtd->priv; flexonenand_get_boundary() local
3429 struct onenand_chip *this = mtd->priv; flexonenand_get_size() local
3510 struct onenand_chip *this = mtd->priv; flexonenand_check_blocks_erased() local
3558 struct onenand_chip *this = mtd->priv; flexonenand_set_boundary() local
3650 struct onenand_chip *this = mtd->priv; onenand_chip_probe() local
3695 struct onenand_chip *this = mtd->priv; onenand_probe() local
3799 struct onenand_chip *this = mtd->priv; onenand_resume() local
3821 struct onenand_chip *this = mtd->priv; onenand_scan() local
3992 struct onenand_chip *this = mtd->priv; onenand_release() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/
H A Donenand_base.c218 * @this: onenand chip data structure
224 static int onenand_block_address(struct onenand_chip *this, int block) in onenand_block_address() argument
227 if (block & this->density_mask) in onenand_block_address()
228 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask); in onenand_block_address()
235 * @this: onenand chip data structure
241 static int onenand_bufferram_address(struct onenand_chip *this, int block) in onenand_bufferram_address() argument
244 if (block & this->density_mask) in onenand_bufferram_address()
298 * @this: - OneNAND device structure
301 static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr) in flexonenand_block() argument
305 if (ONENAND_IS_DDP(this) in flexonenand_block()
320 onenand_block(struct onenand_chip *this, loff_t addr) onenand_block() argument
334 flexonenand_addr(struct onenand_chip *this, int block) flexonenand_addr() argument
352 onenand_addr(struct onenand_chip *this, int block) onenand_addr() argument
400 struct onenand_chip *this = mtd->priv; onenand_command() local
524 onenand_read_ecc(struct onenand_chip *this) onenand_read_ecc() argument
555 struct onenand_chip * this = mtd->priv; onenand_wait() local
635 struct onenand_chip *this = data; onenand_interrupt() local
653 struct onenand_chip *this = mtd->priv; onenand_interrupt_wait() local
669 struct onenand_chip *this = mtd->priv; onenand_try_interrupt_wait() local
700 struct onenand_chip *this = mtd->priv; onenand_setup_wait() local
735 struct onenand_chip *this = mtd->priv; onenand_bufferram_offset() local
761 struct onenand_chip *this = mtd->priv; onenand_read_bufferram() local
797 struct onenand_chip *this = mtd->priv; onenand_sync_read_bufferram() local
837 struct onenand_chip *this = mtd->priv; onenand_write_bufferram() local
875 struct onenand_chip *this = mtd->priv; onenand_get_2x_blockpage() local
899 struct onenand_chip *this = mtd->priv; onenand_check_bufferram() local
942 struct onenand_chip *this = mtd->priv; onenand_update_bufferram() local
975 struct onenand_chip *this = mtd->priv; onenand_invalidate_bufferram() local
996 struct onenand_chip *this = mtd->priv; onenand_get_device() local
1033 struct onenand_chip *this = mtd->priv; onenand_release_device() local
1054 struct onenand_chip *this = mtd->priv; onenand_transfer_auto_oob() local
1077 struct onenand_chip *this = mtd->priv; onenand_recover_lsb() local
1117 struct onenand_chip *this = mtd->priv; onenand_mlc_read_ops_nolock() local
1218 struct onenand_chip *this = mtd->priv; onenand_read_ops_nolock() local
1347 struct onenand_chip *this = mtd->priv; onenand_read_oob_nolock() local
1442 struct onenand_chip *this = mtd->priv; onenand_read_oob() local
1488 struct onenand_chip *this = mtd->priv; onenand_bbt_wait() local
1541 struct onenand_chip *this = mtd->priv; onenand_bbt_read_oob() local
1615 struct onenand_chip *this = mtd->priv; onenand_verify_oob() local
1644 struct onenand_chip *this = mtd->priv; onenand_verify() local
1685 struct onenand_chip *this = mtd->priv; onenand_panic_wait() local
1710 struct onenand_chip *this = mtd->priv; onenand_panic_write() local
1800 struct onenand_chip *this = mtd->priv; onenand_write_ops_nolock() local
1981 struct onenand_chip *this = mtd->priv; onenand_write_oob_nolock() local
2122 struct onenand_chip *this = mtd->priv; onenand_block_isbad_nolock() local
2133 struct onenand_chip *this = mtd->priv; onenand_multiblock_erase_verify() local
2166 struct onenand_chip *this = mtd->priv; onenand_multiblock_erase() local
2278 struct onenand_chip *this = mtd->priv; onenand_block_by_block_erase() local
2345 struct onenand_chip *this = mtd->priv; onenand_erase() local
2445 struct onenand_chip *this = mtd->priv; onenand_default_block_markbad() local
2479 struct onenand_chip *this = mtd->priv; onenand_block_markbad() local
2507 struct onenand_chip *this = mtd->priv; onenand_do_lock_cmd() local
2618 onenand_check_lock_status(struct onenand_chip *this) onenand_check_lock_status() argument
2654 struct onenand_chip *this = mtd->priv; onenand_unlock_all() local
2703 struct onenand_chip *this = mtd->priv; onenand_otp_command() local
2779 struct onenand_chip *this = mtd->priv; onenand_otp_write_oob_nolock() local
2910 struct onenand_chip *this = mtd->priv; do_otp_read() local
2947 struct onenand_chip *this = mtd->priv; do_otp_write() local
2991 struct onenand_chip *this = mtd->priv; do_otp_lock() local
3042 struct onenand_chip *this = mtd->priv; onenand_otp_walk() local
3199 struct onenand_chip *this = mtd->priv; onenand_lock_user_prot_reg() local
3253 struct onenand_chip *this = mtd->priv; onenand_check_features() local
3396 struct onenand_chip *this = mtd->priv; flexonenand_get_boundary() local
3437 struct onenand_chip *this = mtd->priv; flexonenand_get_size() local
3518 struct onenand_chip *this = mtd->priv; flexonenand_check_blocks_erased() local
3565 struct onenand_chip *this = mtd->priv; flexonenand_set_boundary() local
3657 struct onenand_chip *this = mtd->priv; onenand_chip_probe() local
3702 struct onenand_chip *this = mtd->priv; onenand_probe() local
3806 struct onenand_chip *this = mtd->priv; onenand_resume() local
3828 struct onenand_chip *this = mtd->priv; onenand_scan() local
3999 struct onenand_chip *this = mtd->priv; onenand_release() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c71 * You will see a DMA timeout in this case. The bug has been fixed
74 * To avoid this bug, just add a new parameter `just_enable` for
119 static int __gpmi_enable_clk(struct gpmi_nand_data *this, bool v) in __gpmi_enable_clk() argument
126 clk = this->resources.clock[i]; in __gpmi_enable_clk()
142 clk_disable_unprepare(this->resources.clock[i - 1]); in __gpmi_enable_clk()
146 static int gpmi_init(struct gpmi_nand_data *this) in gpmi_init() argument
148 struct resources *r = &this->resources; in gpmi_init()
151 ret = pm_runtime_get_sync(this->dev); in gpmi_init()
153 pm_runtime_put_noidle(this->dev); in gpmi_init()
165 ret = gpmi_reset_block(r->bch_regs, GPMI_IS_MXS(this)); in gpmi_init()
195 gpmi_dump_info(struct gpmi_nand_data *this) gpmi_dump_info() argument
239 gpmi_check_ecc(struct gpmi_nand_data *this) gpmi_check_ecc() argument
258 set_geometry_by_ecc_info(struct gpmi_nand_data *this, unsigned int ecc_strength, unsigned int ecc_step) set_geometry_by_ecc_info() argument
387 get_ecc_strength(struct gpmi_nand_data *this) get_ecc_strength() argument
400 legacy_set_geometry(struct gpmi_nand_data *this) legacy_set_geometry() argument
512 common_nfc_set_geometry(struct gpmi_nand_data *this) common_nfc_set_geometry() argument
536 bch_set_geometry(struct gpmi_nand_data *this) bch_set_geometry() argument
645 gpmi_nfc_compute_timings(struct gpmi_nand_data *this, const struct nand_sdr_timings *sdr) gpmi_nfc_compute_timings() argument
719 gpmi_nfc_apply_timings(struct gpmi_nand_data *this) gpmi_nfc_apply_timings() argument
770 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_setup_interface() local
795 gpmi_clear_bch(struct gpmi_nand_data *this) gpmi_clear_bch() argument
801 get_dma_chan(struct gpmi_nand_data *this) get_dma_chan() argument
810 struct gpmi_nand_data *this = param; dma_irq_callback() local
818 struct gpmi_nand_data *this = cookie; bch_irq() local
825 gpmi_raw_len_to_len(struct gpmi_nand_data *this, int raw_len) gpmi_raw_len_to_len() argument
838 prepare_data_dma(struct gpmi_nand_data *this, const void *buf, int raw_len, struct scatterlist *sgl, enum dma_data_direction dr) prepare_data_dma() argument
884 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ooblayout_ecc() local
900 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ooblayout_free() local
972 acquire_register_block(struct gpmi_nand_data *this, const char *res_name) acquire_register_block() argument
995 acquire_bch_irq(struct gpmi_nand_data *this, irq_handler_t irq_h) acquire_bch_irq() argument
1015 release_dma_channels(struct gpmi_nand_data *this) release_dma_channels() argument
1025 acquire_dma_channels(struct gpmi_nand_data *this) acquire_dma_channels() argument
1044 gpmi_get_clks(struct gpmi_nand_data *this) gpmi_get_clks() argument
1067 acquire_resources(struct gpmi_nand_data *this) acquire_resources() argument
1098 release_resources(struct gpmi_nand_data *this) release_resources() argument
1103 gpmi_free_dma_buffer(struct gpmi_nand_data *this) gpmi_free_dma_buffer() argument
1120 gpmi_alloc_dma_buffer(struct gpmi_nand_data *this) gpmi_alloc_dma_buffer() argument
1160 block_mark_swapping(struct gpmi_nand_data *this, void *payload, void *auxiliary) block_mark_swapping() argument
1206 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_count_bitflips() local
1299 gpmi_bch_layout_std(struct gpmi_nand_data *this) gpmi_bch_layout_std() argument
1323 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_page() local
1365 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_subpage() local
1442 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_write_page() local
1532 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_oob() local
1592 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_read_page_raw() local
1677 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_ecc_write_page_raw() local
1757 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_block_markbad() local
1781 nand_boot_set_geometry(struct gpmi_nand_data *this) nand_boot_set_geometry() argument
1808 mx23_check_transcription_stamp(struct gpmi_nand_data *this) mx23_check_transcription_stamp() argument
1863 mx23_write_transcription_stamp(struct gpmi_nand_data *this) mx23_write_transcription_stamp() argument
1929 mx23_boot_init(struct gpmi_nand_data *this) mx23_boot_init() argument
2002 nand_boot_init(struct gpmi_nand_data *this) nand_boot_init() argument
2012 gpmi_set_geometry(struct gpmi_nand_data *this) gpmi_set_geometry() argument
2030 gpmi_init_last(struct gpmi_nand_data *this) gpmi_init_last() argument
2073 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_nand_attach_chip() local
2095 get_next_transfer(struct gpmi_nand_data *this) get_next_transfer() argument
2107 gpmi_chain_command( struct gpmi_nand_data *this, u8 cmd, const u8 *addr, int naddr) gpmi_chain_command() argument
2149 gpmi_chain_wait_ready( struct gpmi_nand_data *this) gpmi_chain_wait_ready() argument
2167 gpmi_chain_data_read( struct gpmi_nand_data *this, void *buf, int raw_len, bool *direct) gpmi_chain_data_read() argument
2214 gpmi_chain_data_write( struct gpmi_nand_data *this, const void *buf, int raw_len) gpmi_chain_data_write() argument
2266 struct gpmi_nand_data *this = nand_get_controller_data(chip); gpmi_nfc_exec_op() local
2441 gpmi_nand_init(struct gpmi_nand_data *this) gpmi_nand_init() argument
2520 struct gpmi_nand_data *this; gpmi_nand_probe() local
2580 struct gpmi_nand_data *this = platform_get_drvdata(pdev); gpmi_nand_remove() local
2598 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_pm_suspend() local
2606 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_pm_resume() local
2637 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_runtime_suspend() local
2644 struct gpmi_nand_data *this = dev_get_drvdata(dev); gpmi_runtime_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/
H A Dlsdc_pixpll.c104 struct lsdc_pixpll *this = (struct lsdc_pixpll *)data; in lsdc_pixel_pll_free() local
106 iounmap(this->mmio); in lsdc_pixel_pll_free()
108 kfree(this->priv); in lsdc_pixel_pll_free()
116 * @this: point to the object where this function is called from
118 static int lsdc_pixel_pll_setup(struct lsdc_pixpll * const this) in lsdc_pixel_pll_setup() argument
122 this->mmio = ioremap(this->reg_base, this->reg_size); in lsdc_pixel_pll_setup()
123 if (!this in lsdc_pixel_pll_setup()
149 lsdc_pixpll_find(struct lsdc_pixpll * const this, unsigned int clock, struct lsdc_pixpll_parms *pout) lsdc_pixpll_find() argument
192 lsdc_pixel_pll_compute(struct lsdc_pixpll * const this, unsigned int clock, struct lsdc_pixpll_parms *pout) lsdc_pixel_pll_compute() argument
251 __pixpll_rreg(struct lsdc_pixpll *this, union lsdc_pixpll_reg_bitmap *dst) __pixpll_rreg() argument
262 __pixpll_wreg(struct lsdc_pixpll *this, union lsdc_pixpll_reg_bitmap *src) __pixpll_wreg() argument
273 __pixpll_ops_powerup(struct lsdc_pixpll * const this) __pixpll_ops_powerup() argument
284 __pixpll_ops_powerdown(struct lsdc_pixpll * const this) __pixpll_ops_powerdown() argument
295 __pixpll_ops_on(struct lsdc_pixpll * const this) __pixpll_ops_on() argument
306 __pixpll_ops_off(struct lsdc_pixpll * const this) __pixpll_ops_off() argument
317 __pixpll_ops_bypass(struct lsdc_pixpll * const this) __pixpll_ops_bypass() argument
328 __pixpll_ops_unbypass(struct lsdc_pixpll * const this) __pixpll_ops_unbypass() argument
339 __pixpll_ops_untoggle_param(struct lsdc_pixpll * const this) __pixpll_ops_untoggle_param() argument
350 __pixpll_ops_set_param(struct lsdc_pixpll * const this, struct lsdc_pixpll_parms const *p) __pixpll_ops_set_param() argument
364 __pixpll_ops_toggle_param(struct lsdc_pixpll * const this) __pixpll_ops_toggle_param() argument
375 __pixpll_ops_wait_locked(struct lsdc_pixpll * const this) __pixpll_ops_wait_locked() argument
400 lsdc_pixpll_update(struct lsdc_pixpll * const this, struct lsdc_pixpll_parms const *pin) lsdc_pixpll_update() argument
428 lsdc_pixpll_get_freq(struct lsdc_pixpll * const this) lsdc_pixpll_get_freq() argument
445 lsdc_pixpll_print(struct lsdc_pixpll * const this, struct drm_printer *p) lsdc_pixpll_print() argument
469 lsdc_pixpll_init(struct lsdc_pixpll * const this, struct drm_device *ddev, unsigned int index) lsdc_pixpll_init() argument
[all...]
H A Dlsdc_gfxpll.c59 static void __gfxpll_rreg(struct loongson_gfxpll *this, in __gfxpll_rreg() argument
63 reg->d = readq(this->mmio); in __gfxpll_rreg()
65 reg->w[0] = readl(this->mmio); in __gfxpll_rreg()
66 reg->w[1] = readl(this->mmio + 4); in __gfxpll_rreg()
72 static int loongson_gfxpll_update(struct loongson_gfxpll * const this, in loongson_gfxpll_update() argument
80 static void loongson_gfxpll_get_rates(struct loongson_gfxpll * const this, in loongson_gfxpll_get_rates() argument
85 struct loongson_gfxpll_parms *pparms = &this->parms; in loongson_gfxpll_get_rates()
92 __gfxpll_rreg(this, &gfxpll_reg); in loongson_gfxpll_get_rates()
117 static void loongson_gfxpll_print(struct loongson_gfxpll * const this, in loongson_gfxpll_print() argument
121 struct loongson_gfxpll_parms *parms = &this in loongson_gfxpll_print()
143 struct loongson_gfxpll *this = (struct loongson_gfxpll *)data; loongson_gfxpll_fini() local
150 loongson_gfxpll_init(struct loongson_gfxpll * const this) loongson_gfxpll_init() argument
178 struct loongson_gfxpll *this; loongson_gfxpll_create() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dnand_bbt.c157 * @this: NAND chip object
166 static int read_bbt(struct nand_chip *this, uint8_t *buf, int page, int num, in read_bbt() argument
169 struct mtd_info *mtd = nand_to_mtd(this); in read_bbt()
180 from = ((loff_t)page) << this->page_shift; in read_bbt()
183 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
219 this->bbt_erase_shift); in read_bbt()
220 bbt_mark_entry(this, offs + act, in read_bbt()
227 * move this message to pr_debug. in read_bbt()
231 this->bbt_erase_shift); in read_bbt()
234 bbt_mark_entry(this, off in read_bbt()
259 read_abs_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, int chip) read_abs_bbt() argument
287 scan_read_data(struct nand_chip *this, uint8_t *buf, loff_t offs, struct nand_bbt_descr *td) scan_read_data() argument
312 scan_read_oob(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len) scan_read_oob() argument
343 scan_read(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len, struct nand_bbt_descr *td) scan_read() argument
353 scan_write_bbt(struct nand_chip *this, loff_t offs, size_t len, uint8_t *buf, uint8_t *oob) scan_write_bbt() argument
369 bbt_get_ver_offs(struct nand_chip *this, struct nand_bbt_descr *td) bbt_get_ver_offs() argument
389 read_abs_bbts(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) read_abs_bbts() argument
414 scan_block_fast(struct nand_chip *this, struct nand_bbt_descr *bd, loff_t offs, uint8_t *buf) scan_block_fast() argument
451 bbt_block_checkbad(struct nand_chip *this, struct nand_bbt_descr *td, loff_t offs, uint8_t *buf) bbt_block_checkbad() argument
490 create_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *bd, int chip) create_bbt() argument
552 search_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td) search_bbt() argument
629 search_read_bbts(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) search_read_bbts() argument
654 get_bbt_block(struct nand_chip *this, struct nand_bbt_descr *td, struct nand_bbt_descr *md, int chip) get_bbt_block() argument
717 mark_bbt_block_bad(struct nand_chip *this, struct nand_bbt_descr *td, int chip, int block) mark_bbt_block_bad() argument
745 write_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md, int chipsel) write_bbt() argument
931 nand_memory_bbt(struct nand_chip *this, struct nand_bbt_descr *bd) nand_memory_bbt() argument
950 check_create(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *bd) check_create() argument
1074 nand_update_bbt(struct nand_chip *this, loff_t offs) nand_update_bbt() argument
1130 mark_bbt_region(struct nand_chip *this, struct nand_bbt_descr *td) mark_bbt_region() argument
1191 verify_bbt_descr(struct nand_chip *this, struct nand_bbt_descr *bd) verify_bbt_descr() argument
1244 nand_scan_bbt(struct nand_chip *this, struct nand_bbt_descr *bd) nand_scan_bbt() argument
1372 nand_create_badblock_pattern(struct nand_chip *this) nand_create_badblock_pattern() argument
1398 nand_create_bbt(struct nand_chip *this) nand_create_bbt() argument
1434 nand_isreserved_bbt(struct nand_chip *this, loff_t offs) nand_isreserved_bbt() argument
1448 nand_isbad_bbt(struct nand_chip *this, loff_t offs, int allowbbt) nand_isbad_bbt() argument
1477 nand_markbad_bbt(struct nand_chip *this, loff_t offs) nand_markbad_bbt() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dnand_bbt.c157 * @this: NAND chip object
166 static int read_bbt(struct nand_chip *this, uint8_t *buf, int page, int num, in read_bbt() argument
169 struct mtd_info *mtd = nand_to_mtd(this); in read_bbt()
180 from = ((loff_t)page) << this->page_shift; in read_bbt()
183 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
219 this->bbt_erase_shift); in read_bbt()
220 bbt_mark_entry(this, offs + act, in read_bbt()
227 * move this message to pr_debug. in read_bbt()
231 this->bbt_erase_shift); in read_bbt()
234 bbt_mark_entry(this, off in read_bbt()
259 read_abs_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, int chip) read_abs_bbt() argument
287 scan_read_data(struct nand_chip *this, uint8_t *buf, loff_t offs, struct nand_bbt_descr *td) scan_read_data() argument
312 scan_read_oob(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len) scan_read_oob() argument
343 scan_read(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len, struct nand_bbt_descr *td) scan_read() argument
353 scan_write_bbt(struct nand_chip *this, loff_t offs, size_t len, uint8_t *buf, uint8_t *oob) scan_write_bbt() argument
369 bbt_get_ver_offs(struct nand_chip *this, struct nand_bbt_descr *td) bbt_get_ver_offs() argument
389 read_abs_bbts(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) read_abs_bbts() argument
414 scan_block_fast(struct nand_chip *this, struct nand_bbt_descr *bd, loff_t offs, uint8_t *buf) scan_block_fast() argument
461 create_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *bd, int chip) create_bbt() argument
523 search_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td) search_bbt() argument
596 search_read_bbts(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md) search_read_bbts() argument
621 get_bbt_block(struct nand_chip *this, struct nand_bbt_descr *td, struct nand_bbt_descr *md, int chip) get_bbt_block() argument
684 mark_bbt_block_bad(struct nand_chip *this, struct nand_bbt_descr *td, int chip, int block) mark_bbt_block_bad() argument
712 write_bbt(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *td, struct nand_bbt_descr *md, int chipsel) write_bbt() argument
898 nand_memory_bbt(struct nand_chip *this, struct nand_bbt_descr *bd) nand_memory_bbt() argument
917 check_create(struct nand_chip *this, uint8_t *buf, struct nand_bbt_descr *bd) check_create() argument
1041 nand_update_bbt(struct nand_chip *this, loff_t offs) nand_update_bbt() argument
1097 mark_bbt_region(struct nand_chip *this, struct nand_bbt_descr *td) mark_bbt_region() argument
1158 verify_bbt_descr(struct nand_chip *this, struct nand_bbt_descr *bd) verify_bbt_descr() argument
1211 nand_scan_bbt(struct nand_chip *this, struct nand_bbt_descr *bd) nand_scan_bbt() argument
1339 nand_create_badblock_pattern(struct nand_chip *this) nand_create_badblock_pattern() argument
1365 nand_create_bbt(struct nand_chip *this) nand_create_bbt() argument
1401 nand_isreserved_bbt(struct nand_chip *this, loff_t offs) nand_isreserved_bbt() argument
1415 nand_isbad_bbt(struct nand_chip *this, loff_t offs, int allowbbt) nand_isbad_bbt() argument
1441 nand_markbad_bbt(struct nand_chip *this, loff_t offs) nand_markbad_bbt() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/net/
H A Dfsm.c21 fsm_instance *this; in init_fsm() local
25 this = kzalloc(sizeof(fsm_instance), order); in init_fsm()
26 if (this == NULL) { in init_fsm()
31 strlcpy(this->name, name, sizeof(this->name)); in init_fsm()
32 init_waitqueue_head(&this->wait_q); in init_fsm()
38 kfree_fsm(this); in init_fsm()
45 this->f = f; in init_fsm()
51 kfree_fsm(this); in init_fsm()
63 kfree_fsm(this); in init_fsm()
73 kfree_fsm(fsm_instance *this) kfree_fsm() argument
135 fsm_timer *this = from_timer(this, t, tl); fsm_expire_timer() local
144 fsm_settimer(fsm_instance *fi, fsm_timer *this) fsm_settimer() argument
155 fsm_deltimer(fsm_timer *this) fsm_deltimer() argument
165 fsm_addtimer(fsm_timer *this, int millisec, int event, void *arg) fsm_addtimer() argument
183 fsm_modtimer(fsm_timer *this, int millisec, int event, void *arg) fsm_modtimer() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/net/
H A Dfsm.c21 fsm_instance *this; in init_fsm() local
25 this = kzalloc(sizeof(fsm_instance), order); in init_fsm()
26 if (this == NULL) { in init_fsm()
31 strscpy(this->name, name, sizeof(this->name)); in init_fsm()
32 init_waitqueue_head(&this->wait_q); in init_fsm()
38 kfree_fsm(this); in init_fsm()
45 this->f = f; in init_fsm()
51 kfree_fsm(this); in init_fsm()
63 kfree_fsm(this); in init_fsm()
73 kfree_fsm(fsm_instance *this) kfree_fsm() argument
135 fsm_timer *this = from_timer(this, t, tl); fsm_expire_timer() local
144 fsm_settimer(fsm_instance *fi, fsm_timer *this) fsm_settimer() argument
155 fsm_deltimer(fsm_timer *this) fsm_deltimer() argument
165 fsm_addtimer(fsm_timer *this, int millisec, int event, void *arg) fsm_addtimer() argument
183 fsm_modtimer(fsm_timer *this, int millisec, int event, void *arg) fsm_modtimer() argument
[all...]
/kernel/linux/linux-5.10/include/linux/mtd/
H A Donenand.h72 * @chip_lock: [INTERN] spinlock used to protect access to this
153 #define ONENAND_CURRENT_BUFFERRAM(this) (this->bufferram_index)
154 #define ONENAND_NEXT_BUFFERRAM(this) (this->bufferram_index ^ 1)
155 #define ONENAND_SET_NEXT_BUFFERRAM(this) (this->bufferram_index ^= 1)
156 #define ONENAND_SET_PREV_BUFFERRAM(this) (this->bufferram_index ^= 1)
157 #define ONENAND_SET_BUFFERRAM0(this) (thi
[all...]
/kernel/linux/linux-6.6/include/linux/mtd/
H A Donenand.h72 * @chip_lock: [INTERN] spinlock used to protect access to this
153 #define ONENAND_CURRENT_BUFFERRAM(this) (this->bufferram_index)
154 #define ONENAND_NEXT_BUFFERRAM(this) (this->bufferram_index ^ 1)
155 #define ONENAND_SET_NEXT_BUFFERRAM(this) (this->bufferram_index ^= 1)
156 #define ONENAND_SET_PREV_BUFFERRAM(this) (this->bufferram_index ^= 1)
157 #define ONENAND_SET_BUFFERRAM0(this) (thi
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice shall be included in
50 struct nvkm_mm_node *this = *pthis; in nvkm_mm_free() local
52 if (this) { in nvkm_mm_free()
53 struct nvkm_mm_node *prev = node(this, prev); in nvkm_mm_free()
54 struct nvkm_mm_node *next = node(this, next); in nvkm_mm_free()
57 prev->length += this->length; in nvkm_mm_free()
58 list_del(&this->nl_entry); in nvkm_mm_free()
59 kfree(this); this in nvkm_mm_free()
114 struct nvkm_mm_node *prev, *this, *next; nvkm_mm_head() local
189 struct nvkm_mm_node *prev, *this, *next; nvkm_mm_tail() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c5 * copy of this software and associated documentation files (the "Software"),
11 * The above copyright notice and this permission notice shall be included in
50 struct nvkm_mm_node *this = *pthis; in nvkm_mm_free() local
52 if (this) { in nvkm_mm_free()
53 struct nvkm_mm_node *prev = node(this, prev); in nvkm_mm_free()
54 struct nvkm_mm_node *next = node(this, next); in nvkm_mm_free()
57 prev->length += this->length; in nvkm_mm_free()
58 list_del(&this->nl_entry); in nvkm_mm_free()
59 kfree(this); this in nvkm_mm_free()
114 struct nvkm_mm_node *prev, *this, *next; nvkm_mm_head() local
189 struct nvkm_mm_node *prev, *this, *next; nvkm_mm_tail() local
[all...]
/kernel/linux/linux-5.10/fs/jffs2/
H A Dnodelist.c8 * For licensing information, see the file 'LICENCE' in this directory.
24 struct jffs2_node_frag *this);
102 struct jffs2_node_frag *this) in jffs2_obsolete_node_frag()
104 if (this->node) { in jffs2_obsolete_node_frag()
105 this->node->frags--; in jffs2_obsolete_node_frag()
106 if (!this->node->frags) { in jffs2_obsolete_node_frag()
109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this in jffs2_obsolete_node_frag()
101 jffs2_obsolete_node_frag(struct jffs2_sb_info *c, struct jffs2_node_frag *this) jffs2_obsolete_node_frag() argument
169 no_overlapping_node(struct jffs2_sb_info *c, struct rb_root *root, struct jffs2_node_frag *newfrag, struct jffs2_node_frag *this, uint32_t lastend) no_overlapping_node() argument
217 struct jffs2_node_frag *this; jffs2_add_frag_to_fragtree() local
490 struct jffs2_inode_cache *this, *next; jffs2_free_ino_caches() local
507 struct jffs2_raw_node_ref *this, *next; jffs2_free_raw_node_refs() local
[all...]
H A Dcompr.c11 * For licensing information, see the file 'LICENCE' in this directory.
21 /* Available compressors are on this list */
32 * Return 1 to use this compression
34 static int jffs2_is_best_compression(struct jffs2_compressor *this, in jffs2_is_best_compression() argument
43 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression()
47 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > (size * FAVOUR_LZO_PERCENT / 100))) in jffs2_is_best_compression()
77 struct jffs2_compressor *this; in jffs2_selected_compress() local
90 list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_selected_compress()
92 if (!this->compress || this in jffs2_selected_compress()
154 struct jffs2_compressor *this, *best=NULL; jffs2_compress() local
257 struct jffs2_compressor *this; jffs2_decompress() local
303 struct jffs2_compressor *this; jffs2_register_compressor() local
[all...]
/kernel/linux/linux-6.6/fs/jffs2/
H A Dnodelist.c8 * For licensing information, see the file 'LICENCE' in this directory.
24 struct jffs2_node_frag *this);
102 struct jffs2_node_frag *this) in jffs2_obsolete_node_frag()
104 if (this->node) { in jffs2_obsolete_node_frag()
105 this->node->frags--; in jffs2_obsolete_node_frag()
106 if (!this->node->frags) { in jffs2_obsolete_node_frag()
109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this in jffs2_obsolete_node_frag()
101 jffs2_obsolete_node_frag(struct jffs2_sb_info *c, struct jffs2_node_frag *this) jffs2_obsolete_node_frag() argument
169 no_overlapping_node(struct jffs2_sb_info *c, struct rb_root *root, struct jffs2_node_frag *newfrag, struct jffs2_node_frag *this, uint32_t lastend) no_overlapping_node() argument
217 struct jffs2_node_frag *this; jffs2_add_frag_to_fragtree() local
490 struct jffs2_inode_cache *this, *next; jffs2_free_ino_caches() local
507 struct jffs2_raw_node_ref *this, *next; jffs2_free_raw_node_refs() local
[all...]
H A Dcompr.c11 * For licensing information, see the file 'LICENCE' in this directory.
21 /* Available compressors are on this list */
32 * Return 1 to use this compression
34 static int jffs2_is_best_compression(struct jffs2_compressor *this, in jffs2_is_best_compression() argument
43 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > size)) in jffs2_is_best_compression()
47 if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > (size * FAVOUR_LZO_PERCENT / 100))) in jffs2_is_best_compression()
77 struct jffs2_compressor *this; in jffs2_selected_compress() local
90 list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_selected_compress()
92 if (!this->compress || this in jffs2_selected_compress()
154 struct jffs2_compressor *this, *best=NULL; jffs2_compress() local
257 struct jffs2_compressor *this; jffs2_decompress() local
303 struct jffs2_compressor *this; jffs2_register_compressor() local
[all...]
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Dutils.h73 struct st_key *this = hash_name(name); in find_key()
75 while (this) { in find_key()
76 if (this->name && !strcmp(name, this->name)) in find_key()
77 return this; in find_key()
78 this = this->next; in find_key()
80 return this; in find_key()
85 struct st_key *this = hash_name(name); in add_key()
89 if (this in add_key()
[all...]
/kernel/linux/linux-5.10/net/caif/
H A Dcffrml.c37 struct cffrml *this = kzalloc(sizeof(struct cffrml), GFP_ATOMIC); in cffrml_create() local
38 if (!this) in cffrml_create()
40 this->pcpu_refcnt = alloc_percpu(int); in cffrml_create()
41 if (this->pcpu_refcnt == NULL) { in cffrml_create()
42 kfree(this); in cffrml_create()
48 this->layer.receive = cffrml_receive; in cffrml_create()
49 this->layer.transmit = cffrml_transmit; in cffrml_create()
50 this->layer.ctrlcmd = cffrml_ctrlcmd; in cffrml_create()
51 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid); in cffrml_create()
52 this in cffrml_create()
59 struct cffrml *this = container_obj(layer); cffrml_free() local
64 cffrml_set_uplayer(struct cflayer *this, struct cflayer *up) cffrml_set_uplayer() argument
69 cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn) cffrml_set_dnlayer() argument
88 struct cffrml *this; cffrml_receive() local
143 struct cffrml *this = container_obj(layr); cffrml_transmit() local
178 struct cffrml *this = container_obj(layr); cffrml_put() local
185 struct cffrml *this = container_obj(layr); cffrml_hold() local
193 struct cffrml *this = container_obj(layr); cffrml_refcnt_read() local
[all...]
/kernel/linux/linux-6.6/net/caif/
H A Dcffrml.c37 struct cffrml *this = kzalloc(sizeof(struct cffrml), GFP_ATOMIC); in cffrml_create() local
38 if (!this) in cffrml_create()
40 this->pcpu_refcnt = alloc_percpu(int); in cffrml_create()
41 if (this->pcpu_refcnt == NULL) { in cffrml_create()
42 kfree(this); in cffrml_create()
48 this->layer.receive = cffrml_receive; in cffrml_create()
49 this->layer.transmit = cffrml_transmit; in cffrml_create()
50 this->layer.ctrlcmd = cffrml_ctrlcmd; in cffrml_create()
51 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid); in cffrml_create()
52 this in cffrml_create()
59 struct cffrml *this = container_obj(layer); cffrml_free() local
64 cffrml_set_uplayer(struct cflayer *this, struct cflayer *up) cffrml_set_uplayer() argument
69 cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn) cffrml_set_dnlayer() argument
88 struct cffrml *this; cffrml_receive() local
143 struct cffrml *this = container_obj(layr); cffrml_transmit() local
178 struct cffrml *this = container_obj(layr); cffrml_put() local
185 struct cffrml *this = container_obj(layr); cffrml_hold() local
193 struct cffrml *this = container_obj(layr); cffrml_refcnt_read() local
[all...]

Completed in 20 milliseconds

12345678910>>...43