/Linux-v5.10/net/nfc/nci/ |
D | core.c | 42 struct nci_conn_info *nci_get_conn_info_by_conn_id(struct nci_dev *ndev, in nci_get_conn_info_by_conn_id() 55 int nci_get_conn_info_by_dest_type_params(struct nci_dev *ndev, u8 dest_type, in nci_get_conn_info_by_dest_type_params() 77 void nci_req_complete(struct nci_dev *ndev, int result) in nci_req_complete() 87 static void nci_req_cancel(struct nci_dev *ndev, int err) in nci_req_cancel() 97 static int __nci_request(struct nci_dev *ndev, in __nci_request() 98 void (*req)(struct nci_dev *ndev, unsigned long opt), in __nci_request() 140 inline int nci_request(struct nci_dev *ndev, in nci_request() 141 void (*req)(struct nci_dev *ndev, in nci_request() 158 static void nci_reset_req(struct nci_dev *ndev, unsigned long opt) in nci_reset_req() 166 static void nci_init_req(struct nci_dev *ndev, unsigned long opt) in nci_init_req() [all …]
|
D | ntf.c | 30 static void nci_core_conn_credits_ntf_packet(struct nci_dev *ndev, in nci_core_conn_credits_ntf_packet() 65 static void nci_core_generic_error_ntf_packet(struct nci_dev *ndev, in nci_core_generic_error_ntf_packet() 79 static void nci_core_conn_intf_error_ntf_packet(struct nci_dev *ndev, in nci_core_conn_intf_error_ntf_packet() 93 static __u8 *nci_extract_rf_params_nfca_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfca_passive_poll() 120 static __u8 *nci_extract_rf_params_nfcb_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcb_passive_poll() 134 static __u8 *nci_extract_rf_params_nfcf_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_poll() 150 static __u8 *nci_extract_rf_params_nfcv_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcv_passive_poll() 161 static __u8 *nci_extract_rf_params_nfcf_passive_listen(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_listen() 173 static __u32 nci_get_prop_rf_protocol(struct nci_dev *ndev, __u8 rf_protocol) in nci_get_prop_rf_protocol() 180 static int nci_add_new_protocol(struct nci_dev *ndev, in nci_add_new_protocol() [all …]
|
D | rsp.c | 28 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_reset_rsp_packet() 43 static void nci_core_init_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_init_rsp_packet() 109 static void nci_core_set_config_rsp_packet(struct nci_dev *ndev, in nci_core_set_config_rsp_packet() 119 static void nci_rf_disc_map_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_map_rsp_packet() 129 static void nci_rf_disc_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_rf_disc_rsp_packet() 159 static void nci_rf_disc_select_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_select_rsp_packet() 171 static void nci_rf_deactivate_rsp_packet(struct nci_dev *ndev, in nci_rf_deactivate_rsp_packet() 187 static void nci_nfcee_discover_rsp_packet(struct nci_dev *ndev, in nci_nfcee_discover_rsp_packet() 204 static void nci_nfcee_mode_set_rsp_packet(struct nci_dev *ndev, in nci_nfcee_mode_set_rsp_packet() 213 static void nci_core_conn_create_rsp_packet(struct nci_dev *ndev, in nci_core_conn_create_rsp_packet() [all …]
|
/Linux-v5.10/drivers/ntb/hw/intel/ |
D | ntb_hw_gen1.c | 145 static inline void ndev_reset_unsafe_flags(struct intel_ntb_dev *ndev) in ndev_reset_unsafe_flags() 162 static inline int ndev_is_unsafe(struct intel_ntb_dev *ndev, in ndev_is_unsafe() 168 static inline int ndev_ignore_unsafe(struct intel_ntb_dev *ndev, in ndev_ignore_unsafe() 177 int ndev_mw_to_bar(struct intel_ntb_dev *ndev, int idx) in ndev_mw_to_bar() 184 void ndev_db_addr(struct intel_ntb_dev *ndev, in ndev_db_addr() 202 u64 ndev_db_read(struct intel_ntb_dev *ndev, in ndev_db_read() 211 int ndev_db_write(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_write() 225 static inline int ndev_db_set_mask(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_set_mask() 246 static inline int ndev_db_clear_mask(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_clear_mask() 267 static inline u64 ndev_vec_mask(struct intel_ntb_dev *ndev, int db_vector) in ndev_vec_mask() [all …]
|
D | ntb_hw_gen3.c | 93 static int gen3_poll_link(struct intel_ntb_dev *ndev) in gen3_poll_link() 115 static int gen3_init_isr(struct intel_ntb_dev *ndev) in gen3_init_isr() 142 static int gen3_setup_b2b_mw(struct intel_ntb_dev *ndev, in gen3_setup_b2b_mw() 173 static int gen3_init_ntb(struct intel_ntb_dev *ndev) in gen3_init_ntb() 226 int gen3_init_dev(struct intel_ntb_dev *ndev) in gen3_init_dev() 258 struct intel_ntb_dev *ndev; in ndev_ntb3_debugfs_read() local 421 struct intel_ntb_dev *ndev; in intel_ntb3_link_enable() local 446 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_mw_set_trans() local 539 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_addr() local 567 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_set() local [all …]
|
/Linux-v5.10/drivers/crypto/cavium/nitrox/ |
D | nitrox_hal.c | 14 static void emu_enable_cores(struct nitrox_device *ndev) in emu_enable_cores() 39 void nitrox_config_emu_unit(struct nitrox_device *ndev) in nitrox_config_emu_unit() 64 static void reset_pkt_input_ring(struct nitrox_device *ndev, int ring) in reset_pkt_input_ring() 93 void enable_pkt_input_ring(struct nitrox_device *ndev, int ring) in enable_pkt_input_ring() 119 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev) in nitrox_config_pkt_input_rings() 160 static void reset_pkt_solicit_port(struct nitrox_device *ndev, int port) in reset_pkt_solicit_port() 190 void enable_pkt_solicit_port(struct nitrox_device *ndev, int port) in enable_pkt_solicit_port() 217 static void config_pkt_solicit_port(struct nitrox_device *ndev, int port) in config_pkt_solicit_port() 235 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev) in nitrox_config_pkt_solicit_ports() 249 static void enable_nps_core_interrupts(struct nitrox_device *ndev) in enable_nps_core_interrupts() [all …]
|
D | nitrox_lib.c | 27 struct nitrox_device *ndev = cmdq->ndev; in nitrox_cmdq_init() local 62 struct nitrox_device *ndev; in nitrox_cmdq_cleanup() local 87 static void nitrox_free_aqm_queues(struct nitrox_device *ndev) in nitrox_free_aqm_queues() 98 static int nitrox_alloc_aqm_queues(struct nitrox_device *ndev) in nitrox_alloc_aqm_queues() 138 static void nitrox_free_pktin_queues(struct nitrox_device *ndev) in nitrox_free_pktin_queues() 151 static int nitrox_alloc_pktin_queues(struct nitrox_device *ndev) in nitrox_alloc_pktin_queues() 188 static int create_crypto_dma_pool(struct nitrox_device *ndev) in create_crypto_dma_pool() 202 static void destroy_crypto_dma_pool(struct nitrox_device *ndev) in destroy_crypto_dma_pool() 215 void *crypto_alloc_context(struct nitrox_device *ndev) in crypto_alloc_context() 269 int nitrox_common_sw_init(struct nitrox_device *ndev) in nitrox_common_sw_init() [all …]
|
D | nitrox_isr.c | 41 static void clear_nps_core_err_intr(struct nitrox_device *ndev) in clear_nps_core_err_intr() 52 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) in clear_nps_pkt_err_intr() 110 static void clear_pom_err_intr(struct nitrox_device *ndev) in clear_pom_err_intr() 119 static void clear_pem_err_intr(struct nitrox_device *ndev) in clear_pem_err_intr() 128 static void clear_lbc_err_intr(struct nitrox_device *ndev) in clear_lbc_err_intr() 173 static void clear_efl_err_intr(struct nitrox_device *ndev) in clear_efl_err_intr() 194 static void clear_bmi_err_intr(struct nitrox_device *ndev) in clear_bmi_err_intr() 206 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_tasklet() local 225 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_isr() local 262 void nitrox_unregister_interrupts(struct nitrox_device *ndev) in nitrox_unregister_interrupts() [all …]
|
D | nitrox_main.c | 80 static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size, in write_to_ucd_unit() 119 static int nitrox_load_fw(struct nitrox_device *ndev) in nitrox_load_fw() 244 static int nitrox_add_to_devlist(struct nitrox_device *ndev) in nitrox_add_to_devlist() 271 static void nitrox_remove_from_devlist(struct nitrox_device *ndev) in nitrox_remove_from_devlist() 281 struct nitrox_device *ndev; in nitrox_get_first_device() local 298 void nitrox_put_device(struct nitrox_device *ndev) in nitrox_put_device() 327 static int nitrox_pf_sw_init(struct nitrox_device *ndev) in nitrox_pf_sw_init() 342 static void nitrox_pf_sw_cleanup(struct nitrox_device *ndev) in nitrox_pf_sw_cleanup() 352 static int nitrox_bist_check(struct nitrox_device *ndev) in nitrox_bist_check() 377 static int nitrox_pf_hw_init(struct nitrox_device *ndev) in nitrox_pf_hw_init() [all …]
|
/Linux-v5.10/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 299 static void idt_nt_write(struct idt_ntb_dev *ndev, in idt_nt_write() 322 static u32 idt_nt_read(struct idt_ntb_dev *ndev, const unsigned int reg) in idt_nt_read() 343 static void idt_sw_write(struct idt_ntb_dev *ndev, in idt_sw_write() 374 static u32 idt_sw_read(struct idt_ntb_dev *ndev, const unsigned int reg) in idt_sw_read() 414 static inline int idt_reg_set_bits(struct idt_ntb_dev *ndev, unsigned int reg, in idt_reg_set_bits() 450 static inline void idt_reg_clear_bits(struct idt_ntb_dev *ndev, in idt_reg_clear_bits() 480 static int idt_scan_ports(struct idt_ntb_dev *ndev) in idt_scan_ports() 550 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_port_number() local 565 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_count() local 579 struct idt_ntb_dev *ndev = to_ndev_ntb(ntb); in idt_ntb_peer_port_number() local [all …]
|
/Linux-v5.10/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 76 static int ndev_mw_to_bar(struct amd_ntb_dev *ndev, int idx) in ndev_mw_to_bar() 97 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_get_align() local 122 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_set_trans() local 198 static int amd_ntb_get_link_status(struct amd_ntb_dev *ndev) in amd_ntb_get_link_status() 246 static int amd_link_is_up(struct amd_ntb_dev *ndev) in amd_link_is_up() 317 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_is_up() local 345 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_enable() local 361 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_disable() local 384 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_mw_get_addr() local 412 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_vector_mask() local [all …]
|
/Linux-v5.10/drivers/net/ethernet/renesas/ |
D | ravb_main.c | 53 void ravb_modify(struct net_device *ndev, enum ravb_reg reg, u32 clear, in ravb_modify() 59 int ravb_wait(struct net_device *ndev, enum ravb_reg reg, u32 mask, u32 value) in ravb_wait() 71 static int ravb_config(struct net_device *ndev) in ravb_config() 85 static void ravb_set_rate(struct net_device *ndev) in ravb_set_rate() 112 static void ravb_read_mac_address(struct net_device *ndev, const u8 *mac) in ravb_read_mac_address() 174 static int ravb_tx_free(struct net_device *ndev, int q, bool free_txed_only) in ravb_tx_free() 218 static void ravb_ring_free(struct net_device *ndev, int q) in ravb_ring_free() 273 static void ravb_ring_format(struct net_device *ndev, int q) in ravb_ring_format() 337 static int ravb_ring_init(struct net_device *ndev, int q) in ravb_ring_init() 397 static void ravb_emac_init(struct net_device *ndev) in ravb_emac_init() [all …]
|
D | sh_eth.c | 349 static void sh_eth_write(struct net_device *ndev, u32 data, int enum_index) in sh_eth_write() 360 static u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read() 371 static void sh_eth_modify(struct net_device *ndev, int enum_index, u32 clear, in sh_eth_modify() 415 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii() 443 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex() 450 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset() 459 static int sh_eth_soft_reset(struct net_device *ndev) in sh_eth_soft_reset() 468 static int sh_eth_check_soft_reset(struct net_device *ndev) in sh_eth_check_soft_reset() 482 static int sh_eth_soft_reset_gether(struct net_device *ndev) in sh_eth_soft_reset_gether() 515 static void sh_eth_set_rate_gether(struct net_device *ndev) in sh_eth_set_rate_gether() [all …]
|
/Linux-v5.10/drivers/net/ethernet/moxa/ |
D | moxart_ether.c | 42 static inline void moxart_emac_write(struct net_device *ndev, in moxart_emac_write() 50 static void moxart_update_mac_address(struct net_device *ndev) in moxart_update_mac_address() 61 static int moxart_set_mac_address(struct net_device *ndev, void *addr) in moxart_set_mac_address() 74 static void moxart_mac_free_memory(struct net_device *ndev) in moxart_mac_free_memory() 97 static void moxart_mac_reset(struct net_device *ndev) in moxart_mac_reset() 110 static void moxart_mac_enable(struct net_device *ndev) in moxart_mac_enable() 125 static void moxart_mac_setup_desc_ring(struct net_device *ndev) in moxart_mac_setup_desc_ring() 171 static int moxart_mac_open(struct net_device *ndev) in moxart_mac_open() 193 static int moxart_mac_stop(struct net_device *ndev) in moxart_mac_stop() 215 struct net_device *ndev = priv->ndev; in moxart_rx_poll() local [all …]
|
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 19 static void aq_ethtool_get_regs(struct net_device *ndev, in aq_ethtool_get_regs() 31 static int aq_ethtool_get_regs_len(struct net_device *ndev) in aq_ethtool_get_regs_len() 41 static u32 aq_ethtool_get_link(struct net_device *ndev) in aq_ethtool_get_link() 46 static int aq_ethtool_get_link_ksettings(struct net_device *ndev, in aq_ethtool_get_link_ksettings() 59 aq_ethtool_set_link_ksettings(struct net_device *ndev, in aq_ethtool_set_link_ksettings() 171 static u32 aq_ethtool_n_stats(struct net_device *ndev) in aq_ethtool_n_stats() 200 static void aq_ethtool_stats(struct net_device *ndev, in aq_ethtool_stats() 215 static void aq_ethtool_get_drvinfo(struct net_device *ndev, in aq_ethtool_get_drvinfo() 240 static void aq_ethtool_get_strings(struct net_device *ndev, in aq_ethtool_get_strings() 378 static int aq_ethtool_set_phys_id(struct net_device *ndev, in aq_ethtool_set_phys_id() [all …]
|
/Linux-v5.10/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 186 static void axienet_dma_bd_release(struct net_device *ndev) in axienet_dma_bd_release() 238 static int axienet_dma_bd_init(struct net_device *ndev) in axienet_dma_bd_init() 357 static void axienet_set_mac_address(struct net_device *ndev, in axienet_set_mac_address() 391 static int netdev_set_mac_address(struct net_device *ndev, void *p) in netdev_set_mac_address() 409 static void axienet_set_multicast_list(struct net_device *ndev) in axienet_set_multicast_list() 480 static void axienet_setoptions(struct net_device *ndev, u32 options) in axienet_setoptions() 535 static int axienet_device_reset(struct net_device *ndev) in axienet_device_reset() 603 static int axienet_free_tx_chain(struct net_device *ndev, u32 first_bd, in axienet_free_tx_chain() 660 static void axienet_start_xmit_done(struct net_device *ndev) in axienet_start_xmit_done() 718 axienet_start_xmit(struct sk_buff *skb, struct net_device *ndev) in axienet_start_xmit() [all …]
|
/Linux-v5.10/drivers/net/ethernet/ezchip/ |
D | nps_enet.c | 25 static void nps_enet_clean_rx_fifo(struct net_device *ndev, u32 frame_len) in nps_enet_clean_rx_fifo() 35 static void nps_enet_read_rx_fifo(struct net_device *ndev, in nps_enet_read_rx_fifo() 63 static u32 nps_enet_rx_handler(struct net_device *ndev) in nps_enet_rx_handler() 138 static void nps_enet_tx_handler(struct net_device *ndev) in nps_enet_tx_handler() 176 struct net_device *ndev = napi->dev; in nps_enet_poll() local 222 struct net_device *ndev = dev_instance; in nps_enet_irq_handler() local 236 static void nps_enet_set_hw_mac_address(struct net_device *ndev) in nps_enet_set_hw_mac_address() 269 static void nps_enet_hw_reset(struct net_device *ndev) in nps_enet_hw_reset() 292 static void nps_enet_hw_enable_control(struct net_device *ndev) in nps_enet_hw_enable_control() 366 static void nps_enet_hw_disable_control(struct net_device *ndev) in nps_enet_hw_disable_control() [all …]
|
/Linux-v5.10/drivers/net/ethernet/apm/xgene-v2/ |
D | main.c | 17 struct net_device *ndev; in xge_get_resources() local 64 static int xge_refill_buffers(struct net_device *ndev, u32 nbuf) in xge_refill_buffers() 114 static int xge_init_hw(struct net_device *ndev) in xge_init_hw() 141 static int xge_request_irq(struct net_device *ndev) in xge_request_irq() 156 static void xge_free_irq(struct net_device *ndev) in xge_free_irq() 172 static netdev_tx_t xge_start_xmit(struct sk_buff *skb, struct net_device *ndev) in xge_start_xmit() 236 static void xge_txc_poll(struct net_device *ndev) in xge_txc_poll() 285 static int xge_rx_poll(struct net_device *ndev, unsigned int budget) in xge_rx_poll() 351 static void xge_delete_desc_ring(struct net_device *ndev, in xge_delete_desc_ring() 369 static void xge_free_buffers(struct net_device *ndev) in xge_free_buffers() [all …]
|
/Linux-v5.10/drivers/nfc/fdp/ |
D | fdp.c | 43 struct nci_dev *ndev; member 82 static int fdp_nci_create_conn(struct nci_dev *ndev) in fdp_nci_create_conn() 101 static inline int fdp_nci_get_versions(struct nci_dev *ndev) in fdp_nci_get_versions() 108 static inline int fdp_nci_patch_cmd(struct nci_dev *ndev, u8 type) in fdp_nci_patch_cmd() 113 static inline int fdp_nci_set_production_data(struct nci_dev *ndev, u8 len, in fdp_nci_set_production_data() 119 static int fdp_nci_set_clock(struct nci_dev *ndev, u8 clock_type, in fdp_nci_set_clock() 144 static void fdp_nci_send_patch_cb(struct nci_dev *ndev) in fdp_nci_send_patch_cb() 159 static void fdp_nci_set_data_pkt_counter(struct nci_dev *ndev, in fdp_nci_set_data_pkt_counter() 160 void (*cb)(struct nci_dev *ndev), int count) in fdp_nci_set_data_pkt_counter() 181 static int fdp_nci_send_patch(struct nci_dev *ndev, u8 conn_id, u8 type) in fdp_nci_send_patch() [all …]
|
/Linux-v5.10/drivers/net/ethernet/arc/ |
D | emac_main.c | 46 static void arc_emac_adjust_link(struct net_device *ndev) in arc_emac_adjust_link() 89 static void arc_emac_get_drvinfo(struct net_device *ndev, in arc_emac_get_drvinfo() 110 static void arc_emac_tx_clean(struct net_device *ndev) in arc_emac_tx_clean() 174 static int arc_emac_rx(struct net_device *ndev, int budget) in arc_emac_rx() 272 static void arc_emac_rx_miss_handle(struct net_device *ndev) in arc_emac_rx_miss_handle() 297 static void arc_emac_rx_stall_check(struct net_device *ndev, in arc_emac_rx_stall_check() 324 struct net_device *ndev = napi->dev; in arc_emac_poll() local 354 struct net_device *ndev = dev_instance; in arc_emac_intr() local 422 static int arc_emac_open(struct net_device *ndev) in arc_emac_open() 511 static void arc_emac_set_rx_mode(struct net_device *ndev) in arc_emac_set_rx_mode() [all …]
|
/Linux-v5.10/drivers/net/ethernet/ti/ |
D | am65-cpsw-qos.c | 90 static void am65_cpsw_port_est_assign_buf_num(struct net_device *ndev, in am65_cpsw_port_est_assign_buf_num() 114 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper, in am65_cpsw_port_est_is_swapped() 141 static int am65_cpsw_port_est_get_free_buf_num(struct net_device *ndev) in am65_cpsw_port_est_get_free_buf_num() 163 static void am65_cpsw_admin_to_oper(struct net_device *ndev) in am65_cpsw_admin_to_oper() 174 static void am65_cpsw_port_est_get_buf_num(struct net_device *ndev, in am65_cpsw_port_est_get_buf_num() 192 static void am65_cpsw_est_set(struct net_device *ndev, int enable) in am65_cpsw_est_set() 212 static void am65_cpsw_est_update_state(struct net_device *ndev) in am65_cpsw_est_update_state() 270 static int am65_cpsw_est_calc_cmd_num(struct net_device *ndev, in am65_cpsw_est_calc_cmd_num() 299 static int am65_cpsw_est_check_scheds(struct net_device *ndev, in am65_cpsw_est_check_scheds() 318 static void am65_cpsw_est_set_sched_list(struct net_device *ndev, in am65_cpsw_est_set_sched_list() [all …]
|
/Linux-v5.10/drivers/net/ethernet/wiznet/ |
D | w5100-spi.c | 26 static int w5100_spi_read(struct net_device *ndev, u32 addr) in w5100_spi_read() 38 static int w5100_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5100_spi_write() 46 static int w5100_spi_read16(struct net_device *ndev, u32 addr) in w5100_spi_read16() 60 static int w5100_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5100_spi_write16() 71 static int w5100_spi_readbulk(struct net_device *ndev, u32 addr, u8 *buf, in w5100_spi_readbulk() 87 static int w5100_spi_writebulk(struct net_device *ndev, u32 addr, const u8 *buf, in w5100_spi_writebulk() 125 static struct w5200_spi_priv *w5200_spi_priv(struct net_device *ndev) in w5200_spi_priv() 130 static int w5200_spi_init(struct net_device *ndev) in w5200_spi_init() 139 static int w5200_spi_read(struct net_device *ndev, u32 addr) in w5200_spi_read() 151 static int w5200_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5200_spi_write() [all …]
|
/Linux-v5.10/drivers/nfc/st-nci/ |
D | vendor_cmds.c | 42 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_factory_mode() local 67 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_clear_all_pipes() local 75 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_put_data() local 85 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_update_aid() local 96 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_info() local 129 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_data() local 161 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_start() local 175 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_end() local 184 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_direct_load() local 197 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_reset() local [all …]
|
/Linux-v5.10/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 112 struct mlx5_vdpa_net *ndev; member 234 static int create_tis(struct mlx5_vdpa_net *ndev) in create_tis() 250 static void destroy_tis(struct mlx5_vdpa_net *ndev) in destroy_tis() 258 static int cq_frag_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_cq_buf *buf, int nent) in cq_frag_buf_alloc() 278 static int umem_frag_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_umem *umem, int size) in umem_frag_buf_alloc() 286 static void cq_frag_buf_free(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_cq_buf *buf) in cq_frag_buf_free() 326 static void qp_prepare(struct mlx5_vdpa_net *ndev, bool fw, void *in, in qp_prepare() 360 static int rq_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp, u32 num_ent) in rq_buf_alloc() 367 static void rq_buf_free(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp) in rq_buf_free() 372 static int qp_create(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_virtqueue *mvq, in qp_create() [all …]
|
/Linux-v5.10/drivers/net/ |
D | ntb_netdev.c | 75 struct net_device *ndev; member 85 struct net_device *ndev = data; in ntb_netdev_event_handler() local 102 struct net_device *ndev = qp_data; in ntb_netdev_rx_handler() local 166 static int ntb_netdev_maybe_stop_tx(struct net_device *ndev, in ntb_netdev_maybe_stop_tx() 179 struct net_device *ndev = qp_data; in ntb_netdev_tx_handler() local 208 struct net_device *ndev) in ntb_netdev_start_xmit() 233 struct net_device *ndev = dev->ndev; in ntb_netdev_tx_timer() local 247 static int ntb_netdev_open(struct net_device *ndev) in ntb_netdev_open() 283 static int ntb_netdev_close(struct net_device *ndev) in ntb_netdev_close() 299 static int ntb_netdev_change_mtu(struct net_device *ndev, int new_mtu) in ntb_netdev_change_mtu() [all …]
|