/openbmc/linux/net/nfc/nci/ |
H A D | core.c | 43 struct nci_conn_info *nci_get_conn_info_by_conn_id(struct nci_dev *ndev, in nci_get_conn_info_by_conn_id() 56 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() 78 void nci_req_complete(struct nci_dev *ndev, int result) in nci_req_complete() 88 static void nci_req_cancel(struct nci_dev *ndev, int err) in nci_req_cancel() 98 static int __nci_request(struct nci_dev *ndev, in __nci_request() 99 void (*req)(struct nci_dev *ndev, const void *opt), in __nci_request() 141 inline int nci_request(struct nci_dev *ndev, in nci_request() 142 void (*req)(struct nci_dev *ndev, in nci_request() 162 static void nci_reset_req(struct nci_dev *ndev, const void *opt) in nci_reset_req() 170 static void nci_init_req(struct nci_dev *ndev, const void *opt) in nci_init_req() [all …]
|
H A D | ntf.c | 30 static void nci_core_reset_ntf_packet(struct nci_dev *ndev, in nci_core_reset_ntf_packet() 47 static void nci_core_conn_credits_ntf_packet(struct nci_dev *ndev, in nci_core_conn_credits_ntf_packet() 82 static void nci_core_generic_error_ntf_packet(struct nci_dev *ndev, in nci_core_generic_error_ntf_packet() 96 static void nci_core_conn_intf_error_ntf_packet(struct nci_dev *ndev, in nci_core_conn_intf_error_ntf_packet() 111 nci_extract_rf_params_nfca_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfca_passive_poll() 139 nci_extract_rf_params_nfcb_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcb_passive_poll() 154 nci_extract_rf_params_nfcf_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_poll() 171 nci_extract_rf_params_nfcv_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcv_passive_poll() 183 nci_extract_rf_params_nfcf_passive_listen(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_listen() 195 static __u32 nci_get_prop_rf_protocol(struct nci_dev *ndev, __u8 rf_protocol) in nci_get_prop_rf_protocol() [all …]
|
H A D | rsp.c | 28 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, in nci_core_reset_rsp_packet() 47 static u8 nci_core_init_rsp_packet_v1(struct nci_dev *ndev, in nci_core_init_rsp_packet_v1() 86 static u8 nci_core_init_rsp_packet_v2(struct nci_dev *ndev, in nci_core_init_rsp_packet_v2() 124 static void nci_core_init_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) in nci_core_init_rsp_packet() 165 static void nci_core_set_config_rsp_packet(struct nci_dev *ndev, in nci_core_set_config_rsp_packet() 175 static void nci_rf_disc_map_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_map_rsp_packet() 185 static void nci_rf_disc_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_rsp_packet() 216 static void nci_rf_disc_select_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_select_rsp_packet() 228 static void nci_rf_deactivate_rsp_packet(struct nci_dev *ndev, in nci_rf_deactivate_rsp_packet() 244 static void nci_nfcee_discover_rsp_packet(struct nci_dev *ndev, in nci_nfcee_discover_rsp_packet() [all …]
|
/openbmc/linux/drivers/ntb/hw/intel/ |
H A 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 …]
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_hal.c | 15 static void emu_enable_cores(struct nitrox_device *ndev) in emu_enable_cores() 40 void nitrox_config_emu_unit(struct nitrox_device *ndev) in nitrox_config_emu_unit() 65 static void reset_pkt_input_ring(struct nitrox_device *ndev, int ring) in reset_pkt_input_ring() 94 void enable_pkt_input_ring(struct nitrox_device *ndev, int ring) in enable_pkt_input_ring() 120 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev) in nitrox_config_pkt_input_rings() 161 static void reset_pkt_solicit_port(struct nitrox_device *ndev, int port) in reset_pkt_solicit_port() 191 void enable_pkt_solicit_port(struct nitrox_device *ndev, int port) in enable_pkt_solicit_port() 218 static void config_pkt_solicit_port(struct nitrox_device *ndev, int port) in config_pkt_solicit_port() 236 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev) in nitrox_config_pkt_solicit_ports() 250 static void enable_nps_core_interrupts(struct nitrox_device *ndev) in enable_nps_core_interrupts() [all …]
|
H A 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 …]
|
H A D | nitrox_isr.c | 42 static void clear_nps_core_err_intr(struct nitrox_device *ndev) in clear_nps_core_err_intr() 53 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) in clear_nps_pkt_err_intr() 111 static void clear_pom_err_intr(struct nitrox_device *ndev) in clear_pom_err_intr() 120 static void clear_pem_err_intr(struct nitrox_device *ndev) in clear_pem_err_intr() 129 static void clear_lbc_err_intr(struct nitrox_device *ndev) in clear_lbc_err_intr() 174 static void clear_efl_err_intr(struct nitrox_device *ndev) in clear_efl_err_intr() 195 static void clear_bmi_err_intr(struct nitrox_device *ndev) in clear_bmi_err_intr() 207 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_tasklet() local 226 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_isr() local 263 void nitrox_unregister_interrupts(struct nitrox_device *ndev) in nitrox_unregister_interrupts() [all …]
|
/openbmc/linux/drivers/ntb/hw/idt/ |
H A 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 …]
|
/openbmc/linux/drivers/ntb/hw/amd/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_ethtool.c | 11 static void emac_get_drvinfo(struct net_device *ndev, in emac_get_drvinfo() 22 static u32 emac_get_msglevel(struct net_device *ndev) in emac_get_msglevel() 29 static void emac_set_msglevel(struct net_device *ndev, u32 value) in emac_set_msglevel() 36 static int emac_get_link_ksettings(struct net_device *ndev, in emac_get_link_ksettings() 42 static int emac_set_link_ksettings(struct net_device *ndev, in emac_set_link_ksettings() 48 static int emac_get_eee(struct net_device *ndev, struct ethtool_eee *edata) in emac_get_eee() 56 static int emac_set_eee(struct net_device *ndev, struct ethtool_eee *edata) in emac_set_eee() 64 static int emac_nway_reset(struct net_device *ndev) in emac_nway_reset() 69 static int emac_get_sset_count(struct net_device *ndev, int stringset) in emac_get_sset_count() 79 static void emac_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in emac_get_strings() [all …]
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | 51 void ravb_modify(struct net_device *ndev, enum ravb_reg reg, u32 clear, in ravb_modify() 57 int ravb_wait(struct net_device *ndev, enum ravb_reg reg, u32 mask, u32 value) in ravb_wait() 69 static int ravb_set_opmode(struct net_device *ndev, u32 opmode) in ravb_set_opmode() 94 static void ravb_set_rate_gbeth(struct net_device *ndev) in ravb_set_rate_gbeth() 111 static void ravb_set_rate_rcar(struct net_device *ndev) in ravb_set_rate_rcar() 139 struct net_device *ndev) in ravb_read_mac_address() 204 static int ravb_tx_free(struct net_device *ndev, int q, bool free_txed_only) in ravb_tx_free() 247 static void ravb_rx_ring_free_gbeth(struct net_device *ndev, int q) in ravb_rx_ring_free_gbeth() 272 static void ravb_rx_ring_free_rcar(struct net_device *ndev, int q) in ravb_rx_ring_free_rcar() 299 static void ravb_ring_free(struct net_device *ndev, int q) in ravb_ring_free() [all …]
|
H A D | sh_eth.c | 347 static void sh_eth_write(struct net_device *ndev, u32 data, int enum_index) in sh_eth_write() 358 static u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read() 369 static void sh_eth_modify(struct net_device *ndev, int enum_index, u32 clear, in sh_eth_modify() 413 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii() 441 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex() 448 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset() 457 static int sh_eth_soft_reset(struct net_device *ndev) in sh_eth_soft_reset() 466 static int sh_eth_check_soft_reset(struct net_device *ndev) in sh_eth_check_soft_reset() 480 static int sh_eth_soft_reset_gether(struct net_device *ndev) in sh_eth_soft_reset_gether() 513 static void sh_eth_set_rate_gether(struct net_device *ndev) in sh_eth_set_rate_gether() [all …]
|
/openbmc/linux/drivers/net/ethernet/moxa/ |
H A 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() 71 static void moxart_mac_free_memory(struct net_device *ndev) in moxart_mac_free_memory() 89 static void moxart_mac_reset(struct net_device *ndev) in moxart_mac_reset() 102 static void moxart_mac_enable(struct net_device *ndev) in moxart_mac_enable() 117 static void moxart_mac_setup_desc_ring(struct net_device *ndev) in moxart_mac_setup_desc_ring() 163 static int moxart_mac_open(struct net_device *ndev) in moxart_mac_open() 182 static int moxart_mac_stop(struct net_device *ndev) in moxart_mac_stop() 210 struct net_device *ndev = priv->ndev; in moxart_rx_poll() local [all …]
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 20 static void aq_ethtool_get_regs(struct net_device *ndev, in aq_ethtool_get_regs() 32 static int aq_ethtool_get_regs_len(struct net_device *ndev) in aq_ethtool_get_regs_len() 42 static u32 aq_ethtool_get_link(struct net_device *ndev) in aq_ethtool_get_link() 47 static int aq_ethtool_get_link_ksettings(struct net_device *ndev, in aq_ethtool_get_link_ksettings() 60 aq_ethtool_set_link_ksettings(struct net_device *ndev, in aq_ethtool_set_link_ksettings() 181 static u32 aq_ethtool_n_stats(struct net_device *ndev) in aq_ethtool_n_stats() 210 static void aq_ethtool_stats(struct net_device *ndev, in aq_ethtool_stats() 225 static void aq_ethtool_get_drvinfo(struct net_device *ndev, in aq_ethtool_get_drvinfo() 250 static void aq_ethtool_get_strings(struct net_device *ndev, in aq_ethtool_get_strings() 388 static int aq_ethtool_set_phys_id(struct net_device *ndev, in aq_ethtool_set_phys_id() [all …]
|
/openbmc/linux/drivers/net/ethernet/ezchip/ |
H A D | nps_enet.c | 24 static void nps_enet_clean_rx_fifo(struct net_device *ndev, u32 frame_len) in nps_enet_clean_rx_fifo() 34 static void nps_enet_read_rx_fifo(struct net_device *ndev, in nps_enet_read_rx_fifo() 62 static u32 nps_enet_rx_handler(struct net_device *ndev) in nps_enet_rx_handler() 137 static void nps_enet_tx_handler(struct net_device *ndev) in nps_enet_tx_handler() 175 struct net_device *ndev = napi->dev; in nps_enet_poll() local 221 struct net_device *ndev = dev_instance; in nps_enet_irq_handler() local 235 static void nps_enet_set_hw_mac_address(struct net_device *ndev) in nps_enet_set_hw_mac_address() 268 static void nps_enet_hw_reset(struct net_device *ndev) in nps_enet_hw_reset() 291 static void nps_enet_hw_enable_control(struct net_device *ndev) in nps_enet_hw_enable_control() 365 static void nps_enet_hw_disable_control(struct net_device *ndev) in nps_enet_hw_disable_control() [all …]
|
/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 164 static void axienet_dma_bd_release(struct net_device *ndev) in axienet_dma_bd_release() argument 286 static int axienet_dma_bd_init(struct net_device *ndev) in axienet_dma_bd_init() argument 361 axienet_set_mac_address(struct net_device * ndev,const void * address) axienet_set_mac_address() argument 395 netdev_set_mac_address(struct net_device * ndev,void * p) netdev_set_mac_address() argument 413 axienet_set_multicast_list(struct net_device * ndev) axienet_set_multicast_list() argument 485 axienet_setoptions(struct net_device * ndev,u32 options) axienet_setoptions() argument 587 axienet_device_reset(struct net_device * ndev) axienet_device_reset() argument 754 struct net_device *ndev = lp->ndev; axienet_tx_poll() local 798 axienet_start_xmit(struct sk_buff * skb,struct net_device * ndev) axienet_start_xmit() argument 1029 struct net_device *ndev = _ndev; axienet_tx_irq() local 1074 struct net_device *ndev = _ndev; axienet_rx_irq() local 1117 struct net_device *ndev = _ndev; axienet_eth_irq() local 1150 axienet_open(struct net_device * ndev) axienet_open() argument 1224 axienet_stop(struct net_device * ndev) axienet_stop() argument 1268 axienet_change_mtu(struct net_device * ndev,int new_mtu) axienet_change_mtu() argument 1292 axienet_poll_controller(struct net_device * ndev) axienet_poll_controller() argument 1358 axienet_ethtools_get_drvinfo(struct net_device * ndev,struct ethtool_drvinfo * ed) axienet_ethtools_get_drvinfo() argument 1375 axienet_ethtools_get_regs_len(struct net_device * ndev) axienet_ethtools_get_regs_len() argument 1390 axienet_ethtools_get_regs(struct net_device * ndev,struct ethtool_regs * regs,void * ret) axienet_ethtools_get_regs() argument 1440 axienet_ethtools_get_ringparam(struct net_device * ndev,struct ethtool_ringparam * ering,struct kernel_ethtool_ringparam * kernel_ering,struct netlink_ext_ack * extack) axienet_ethtools_get_ringparam() argument 1458 axienet_ethtools_set_ringparam(struct net_device * ndev,struct ethtool_ringparam * ering,struct kernel_ethtool_ringparam * kernel_ering,struct netlink_ext_ack * extack) axienet_ethtools_set_ringparam() argument 1490 axienet_ethtools_get_pauseparam(struct net_device * ndev,struct ethtool_pauseparam * epauseparm) axienet_ethtools_get_pauseparam() argument 1511 axienet_ethtools_set_pauseparam(struct net_device * ndev,struct ethtool_pauseparam * epauseparm) axienet_ethtools_set_pauseparam() argument 1533 axienet_ethtools_get_coalesce(struct net_device * ndev,struct ethtool_coalesce * ecoalesce,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) axienet_ethtools_get_coalesce() argument 1561 axienet_ethtools_set_coalesce(struct net_device * ndev,struct ethtool_coalesce * ecoalesce,struct kernel_ethtool_coalesce * kernel_coal,struct netlink_ext_ack * extack) axienet_ethtools_set_coalesce() argument 1587 axienet_ethtools_get_link_ksettings(struct net_device * ndev,struct ethtool_link_ksettings * cmd) axienet_ethtools_get_link_ksettings() argument 1596 axienet_ethtools_set_link_ksettings(struct net_device * ndev,const struct ethtool_link_ksettings * cmd) axienet_ethtools_set_link_ksettings() argument 1655 struct net_device *ndev = pcs_to_axienet_local(pcs)->ndev; axienet_pcs_config() local 1688 struct net_device *ndev = to_net_dev(config->dev); axienet_mac_select_pcs() local 1717 struct net_device *ndev = to_net_dev(config->dev); axienet_mac_link_up() local 1775 struct net_device *ndev = lp->ndev; axienet_dma_err_handler() local 1869 struct net_device *ndev; axienet_probe() local 2206 struct net_device *ndev = platform_get_drvdata(pdev); axienet_remove() local 2229 struct net_device *ndev = platform_get_drvdata(pdev); axienet_shutdown() local 2242 struct net_device *ndev = dev_get_drvdata(dev); axienet_suspend() local 2258 struct net_device *ndev = dev_get_drvdata(dev); axienet_resume() local [all...] |
/openbmc/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_ioctl.c | 24 ax88796c_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *info) in ax88796c_get_drvinfo() 30 static u32 ax88796c_get_msglevel(struct net_device *ndev) in ax88796c_get_msglevel() 37 static void ax88796c_set_msglevel(struct net_device *ndev, u32 level) in ax88796c_set_msglevel() 45 ax88796c_get_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_get_pauseparam() 57 ax88796c_set_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_set_pauseparam() 91 static int ax88796c_get_regs_len(struct net_device *ndev) in ax88796c_get_regs_len() 97 ax88796c_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *_p) in ax88796c_get_regs() 122 ax88796c_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in ax88796c_get_strings() 133 ax88796c_get_sset_count(struct net_device *ndev, int stringset) in ax88796c_get_sset_count() 148 static int ax88796c_set_priv_flags(struct net_device *ndev, u32 flags) in ax88796c_set_priv_flags() [all …]
|
/openbmc/linux/drivers/vdpa/mlx5/net/ |
H A D | debug.c | 10 struct mlx5_vdpa_net *ndev = file->private; in tirn_show() local 18 void mlx5_vdpa_remove_tirn(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_remove_tirn() 24 void mlx5_vdpa_add_tirn(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_add_tirn() 32 struct mlx5_vdpa_net *ndev = file->private; in rx_flow_table_show() local 40 void mlx5_vdpa_remove_rx_flow_table(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_remove_rx_flow_table() 46 void mlx5_vdpa_add_rx_flow_table(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_add_rx_flow_table() 95 void mlx5_vdpa_add_rx_counters(struct mlx5_vdpa_net *ndev, in mlx5_vdpa_add_rx_counters() 130 void mlx5_vdpa_remove_rx_counters(struct mlx5_vdpa_net *ndev, in mlx5_vdpa_remove_rx_counters() 138 void mlx5_vdpa_add_debugfs(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_add_debugfs() 149 void mlx5_vdpa_remove_debugfs(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_remove_debugfs()
|
H A D | mlx5_vnet.c | 118 struct mlx5_vdpa_net *ndev; member 261 static int create_tis(struct mlx5_vdpa_net *ndev) in create_tis() 277 static void destroy_tis(struct mlx5_vdpa_net *ndev) in destroy_tis() 285 static int cq_frag_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_cq_buf *buf, int nent) in cq_frag_buf_alloc() 305 static int umem_frag_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_umem *umem, int size) in umem_frag_buf_alloc() 313 static void cq_frag_buf_free(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_cq_buf *buf) in cq_frag_buf_free() 353 static void qp_prepare(struct mlx5_vdpa_net *ndev, bool fw, void *in, in qp_prepare() 387 static int rq_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp, u32 num_ent) in rq_buf_alloc() 394 static void rq_buf_free(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp) in rq_buf_free() 399 static int qp_create(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_virtqueue *mvq, in qp_create() [all …]
|
/openbmc/linux/drivers/nfc/fdp/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/arc/ |
H A 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() 175 static int arc_emac_rx(struct net_device *ndev, int budget) in arc_emac_rx() 274 static void arc_emac_rx_miss_handle(struct net_device *ndev) in arc_emac_rx_miss_handle() 299 static void arc_emac_rx_stall_check(struct net_device *ndev, in arc_emac_rx_stall_check() 326 struct net_device *ndev = napi->dev; in arc_emac_poll() local 356 struct net_device *ndev = dev_instance; in arc_emac_intr() local 424 static int arc_emac_open(struct net_device *ndev) in arc_emac_open() 514 static void arc_emac_set_rx_mode(struct net_device *ndev) in arc_emac_set_rx_mode() [all …]
|
/openbmc/linux/drivers/net/ethernet/wiznet/ |
H A 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 …]
|
/openbmc/linux/drivers/nfc/st-nci/ |
H A 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 128 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_data() local 159 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_start() local 173 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_end() local 182 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_direct_load() local 195 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_reset() local [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_dcbnl.c | 7 static int hns3_dcbnl_ieee_getets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_getets() 20 static int hns3_dcbnl_ieee_setets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_setets() 33 static int hns3_dcbnl_ieee_getpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_getpfc() 46 static int hns3_dcbnl_ieee_setpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_setpfc() 59 static int hns3_dcbnl_ieee_setapp(struct net_device *ndev, struct dcb_app *app) in hns3_dcbnl_ieee_setapp() 72 static int hns3_dcbnl_ieee_delapp(struct net_device *ndev, struct dcb_app *app) in hns3_dcbnl_ieee_delapp() 86 static u8 hns3_dcbnl_getdcbx(struct net_device *ndev) in hns3_dcbnl_getdcbx() 97 static u8 hns3_dcbnl_setdcbx(struct net_device *ndev, u8 mode) in hns3_dcbnl_setdcbx()
|