/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | ldc.c | 177 do { if (lp->cfg.debug & LDC_DEBUG_##TYPE) \ 178 printk(KERN_INFO PFX "ID[%lu] " f, lp->id, ## a); \ 181 #define LDC_ABORT(lp) ldc_abort((lp), __func__) 210 static unsigned long rx_advance(struct ldc_channel *lp, unsigned long off) in rx_advance() argument 212 return __advance(off, lp->rx_num_entries); in rx_advance() 215 static unsigned long tx_advance(struct ldc_channel *lp, unsigned long off) in tx_advance() argument 217 return __advance(off, lp->tx_num_entries); in tx_advance() 220 static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp, in handshake_get_tx_packet() argument 226 t = tx_advance(lp, l in handshake_get_tx_packet() 243 head_for_data(struct ldc_channel *lp) head_for_data() argument 250 tx_has_space_for(struct ldc_channel *lp, unsigned int size) tx_has_space_for() argument 275 data_get_tx_packet(struct ldc_channel *lp, unsigned long *new_tail) data_get_tx_packet() argument 292 set_tx_tail(struct ldc_channel *lp, unsigned long tail) set_tx_tail() argument 320 __set_rx_head(struct ldc_channel *lp, unsigned long head) __set_rx_head() argument 340 send_tx_packet(struct ldc_channel *lp, struct ldc_packet *p, unsigned long new_tail) send_tx_packet() argument 349 handshake_compose_ctrl(struct ldc_channel *lp, u8 stype, u8 ctrl, void *data, int dlen, unsigned long *new_tail) handshake_compose_ctrl() argument 367 start_handshake(struct ldc_channel *lp) start_handshake() argument 389 send_version_nack(struct ldc_channel *lp, u16 major, u16 minor) send_version_nack() argument 410 send_version_ack(struct ldc_channel *lp, struct ldc_version *vp) send_version_ack() argument 427 send_rts(struct ldc_channel *lp) send_rts() argument 447 send_rtr(struct ldc_channel *lp) send_rtr() argument 466 send_rdx(struct ldc_channel *lp) send_rdx() argument 486 send_data_nack(struct ldc_channel *lp, struct ldc_packet *data_pkt) send_data_nack() argument 512 ldc_abort(struct ldc_channel *lp, const char *msg) ldc_abort() argument 573 process_ver_info(struct ldc_channel *lp, struct ldc_version *vp) process_ver_info() argument 607 process_ver_ack(struct ldc_channel *lp, struct ldc_version *vp) process_ver_ack() argument 625 process_ver_nack(struct ldc_channel *lp, struct ldc_version *vp) process_ver_nack() argument 647 process_version(struct ldc_channel *lp, struct ldc_packet *p) process_version() argument 669 process_rts(struct ldc_channel *lp, struct ldc_packet *p) process_rts() argument 689 process_rtr(struct ldc_channel *lp, struct ldc_packet *p) process_rtr() argument 707 rx_seq_ok(struct ldc_channel *lp, u32 seqid) rx_seq_ok() argument 712 process_rdx(struct ldc_channel *lp, struct ldc_packet *p) process_rdx() argument 730 process_control_frame(struct ldc_channel *lp, struct ldc_packet *p) process_control_frame() argument 751 process_error_frame(struct ldc_channel *lp, struct ldc_packet *p) process_error_frame() argument 757 process_data_ack(struct ldc_channel *lp, struct ldc_packet *ack) process_data_ack() argument 779 send_events(struct ldc_channel *lp, unsigned int event_mask) send_events() argument 791 struct ldc_channel *lp = dev_id; ldc_rx() local 914 struct ldc_channel *lp = dev_id; ldc_tx() local 966 struct ldc_channel *lp; __ldc_channel_exists() local 1041 ldc_iommu_init(const char *name, struct ldc_channel *lp) ldc_iommu_init() argument 1100 ldc_iommu_release(struct ldc_channel *lp) ldc_iommu_release() argument 1124 struct ldc_channel *lp; ldc_alloc() local 1265 ldc_unbind(struct ldc_channel *lp) ldc_unbind() argument 1288 ldc_free(struct ldc_channel *lp) ldc_free() argument 1304 ldc_bind(struct ldc_channel *lp) ldc_bind() argument 1381 ldc_connect(struct ldc_channel *lp) ldc_connect() argument 1404 ldc_disconnect(struct ldc_channel *lp) ldc_disconnect() argument 1458 ldc_state(struct ldc_channel *lp) ldc_state() argument 1464 ldc_set_state(struct ldc_channel *lp, u8 state) ldc_set_state() argument 1474 ldc_mode(struct ldc_channel *lp) ldc_mode() argument 1480 ldc_rx_reset(struct ldc_channel *lp) ldc_rx_reset() argument 1486 __ldc_print(struct ldc_channel *lp, const char *caller) __ldc_print() argument 1500 write_raw(struct ldc_channel *lp, const void *buf, unsigned int size) write_raw() argument 1530 read_raw(struct ldc_channel *lp, void *buf, unsigned int size) read_raw() argument 1573 write_nonraw(struct ldc_channel *lp, const void *buf, unsigned int size) write_nonraw() argument 1641 rx_bad_seq(struct ldc_channel *lp, struct ldc_packet *p, struct ldc_packet *first_frag) rx_bad_seq() argument 1660 data_ack_nack(struct ldc_channel *lp, struct ldc_packet *p) data_ack_nack() argument 1673 rx_data_wait(struct ldc_channel *lp, unsigned long cur_head) rx_data_wait() argument 1706 rx_set_head(struct ldc_channel *lp, unsigned long head) rx_set_head() argument 1717 send_data_ack(struct ldc_channel *lp) send_data_ack() argument 1739 read_nonraw(struct ldc_channel *lp, void *buf, unsigned int size) read_nonraw() argument 1903 write_stream(struct ldc_channel *lp, const void *buf, unsigned int size) write_stream() argument 1911 read_stream(struct ldc_channel *lp, void *buf, unsigned int size) read_stream() argument 1937 ldc_write(struct ldc_channel *lp, const void *buf, unsigned int size) ldc_write() argument 1961 ldc_read(struct ldc_channel *lp, void *buf, unsigned int size) ldc_read() argument 2147 ldc_map_sg(struct ldc_channel *lp, struct scatterlist *sg, int num_sg, struct ldc_trans_cookie *cookies, int ncookies, unsigned int map_perm) ldc_map_sg() argument 2193 ldc_map_single(struct ldc_channel *lp, void *buf, unsigned int len, struct ldc_trans_cookie *cookies, int ncookies, unsigned int map_perm) ldc_map_single() argument 2245 ldc_unmap(struct ldc_channel *lp, struct ldc_trans_cookie *cookies, int ncookies) ldc_unmap() argument 2263 ldc_copy(struct ldc_channel *lp, int copy_dir, void *buf, unsigned int len, unsigned long offset, struct ldc_trans_cookie *cookies, int ncookies) ldc_copy() argument 2353 ldc_alloc_exp_dring(struct ldc_channel *lp, unsigned int len, struct ldc_trans_cookie *cookies, int *ncookies, unsigned int map_perm) ldc_alloc_exp_dring() argument 2378 ldc_free_exp_dring(struct ldc_channel *lp, void *buf, unsigned int len, struct ldc_trans_cookie *cookies, int ncookies) ldc_free_exp_dring() argument [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | ldc.c | 177 do { if (lp->cfg.debug & LDC_DEBUG_##TYPE) \ 178 printk(KERN_INFO PFX "ID[%lu] " f, lp->id, ## a); \ 181 #define LDC_ABORT(lp) ldc_abort((lp), __func__) 210 static unsigned long rx_advance(struct ldc_channel *lp, unsigned long off) in rx_advance() argument 212 return __advance(off, lp->rx_num_entries); in rx_advance() 215 static unsigned long tx_advance(struct ldc_channel *lp, unsigned long off) in tx_advance() argument 217 return __advance(off, lp->tx_num_entries); in tx_advance() 220 static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp, in handshake_get_tx_packet() argument 226 t = tx_advance(lp, l in handshake_get_tx_packet() 243 head_for_data(struct ldc_channel *lp) head_for_data() argument 250 tx_has_space_for(struct ldc_channel *lp, unsigned int size) tx_has_space_for() argument 275 data_get_tx_packet(struct ldc_channel *lp, unsigned long *new_tail) data_get_tx_packet() argument 292 set_tx_tail(struct ldc_channel *lp, unsigned long tail) set_tx_tail() argument 320 __set_rx_head(struct ldc_channel *lp, unsigned long head) __set_rx_head() argument 340 send_tx_packet(struct ldc_channel *lp, struct ldc_packet *p, unsigned long new_tail) send_tx_packet() argument 349 handshake_compose_ctrl(struct ldc_channel *lp, u8 stype, u8 ctrl, void *data, int dlen, unsigned long *new_tail) handshake_compose_ctrl() argument 367 start_handshake(struct ldc_channel *lp) start_handshake() argument 389 send_version_nack(struct ldc_channel *lp, u16 major, u16 minor) send_version_nack() argument 410 send_version_ack(struct ldc_channel *lp, struct ldc_version *vp) send_version_ack() argument 427 send_rts(struct ldc_channel *lp) send_rts() argument 447 send_rtr(struct ldc_channel *lp) send_rtr() argument 466 send_rdx(struct ldc_channel *lp) send_rdx() argument 486 send_data_nack(struct ldc_channel *lp, struct ldc_packet *data_pkt) send_data_nack() argument 512 ldc_abort(struct ldc_channel *lp, const char *msg) ldc_abort() argument 573 process_ver_info(struct ldc_channel *lp, struct ldc_version *vp) process_ver_info() argument 607 process_ver_ack(struct ldc_channel *lp, struct ldc_version *vp) process_ver_ack() argument 625 process_ver_nack(struct ldc_channel *lp, struct ldc_version *vp) process_ver_nack() argument 647 process_version(struct ldc_channel *lp, struct ldc_packet *p) process_version() argument 669 process_rts(struct ldc_channel *lp, struct ldc_packet *p) process_rts() argument 689 process_rtr(struct ldc_channel *lp, struct ldc_packet *p) process_rtr() argument 707 rx_seq_ok(struct ldc_channel *lp, u32 seqid) rx_seq_ok() argument 712 process_rdx(struct ldc_channel *lp, struct ldc_packet *p) process_rdx() argument 730 process_control_frame(struct ldc_channel *lp, struct ldc_packet *p) process_control_frame() argument 751 process_error_frame(struct ldc_channel *lp, struct ldc_packet *p) process_error_frame() argument 757 process_data_ack(struct ldc_channel *lp, struct ldc_packet *ack) process_data_ack() argument 779 send_events(struct ldc_channel *lp, unsigned int event_mask) send_events() argument 791 struct ldc_channel *lp = dev_id; ldc_rx() local 914 struct ldc_channel *lp = dev_id; ldc_tx() local 966 struct ldc_channel *lp; __ldc_channel_exists() local 1041 ldc_iommu_init(const char *name, struct ldc_channel *lp) ldc_iommu_init() argument 1100 ldc_iommu_release(struct ldc_channel *lp) ldc_iommu_release() argument 1124 struct ldc_channel *lp; ldc_alloc() local 1265 ldc_unbind(struct ldc_channel *lp) ldc_unbind() argument 1288 ldc_free(struct ldc_channel *lp) ldc_free() argument 1304 ldc_bind(struct ldc_channel *lp) ldc_bind() argument 1381 ldc_connect(struct ldc_channel *lp) ldc_connect() argument 1404 ldc_disconnect(struct ldc_channel *lp) ldc_disconnect() argument 1458 ldc_state(struct ldc_channel *lp) ldc_state() argument 1464 ldc_set_state(struct ldc_channel *lp, u8 state) ldc_set_state() argument 1474 ldc_mode(struct ldc_channel *lp) ldc_mode() argument 1480 ldc_rx_reset(struct ldc_channel *lp) ldc_rx_reset() argument 1486 __ldc_print(struct ldc_channel *lp, const char *caller) __ldc_print() argument 1500 write_raw(struct ldc_channel *lp, const void *buf, unsigned int size) write_raw() argument 1530 read_raw(struct ldc_channel *lp, void *buf, unsigned int size) read_raw() argument 1573 write_nonraw(struct ldc_channel *lp, const void *buf, unsigned int size) write_nonraw() argument 1641 rx_bad_seq(struct ldc_channel *lp, struct ldc_packet *p, struct ldc_packet *first_frag) rx_bad_seq() argument 1660 data_ack_nack(struct ldc_channel *lp, struct ldc_packet *p) data_ack_nack() argument 1673 rx_data_wait(struct ldc_channel *lp, unsigned long cur_head) rx_data_wait() argument 1706 rx_set_head(struct ldc_channel *lp, unsigned long head) rx_set_head() argument 1717 send_data_ack(struct ldc_channel *lp) send_data_ack() argument 1739 read_nonraw(struct ldc_channel *lp, void *buf, unsigned int size) read_nonraw() argument 1903 write_stream(struct ldc_channel *lp, const void *buf, unsigned int size) write_stream() argument 1911 read_stream(struct ldc_channel *lp, void *buf, unsigned int size) read_stream() argument 1937 ldc_write(struct ldc_channel *lp, const void *buf, unsigned int size) ldc_write() argument 1961 ldc_read(struct ldc_channel *lp, void *buf, unsigned int size) ldc_read() argument 2147 ldc_map_sg(struct ldc_channel *lp, struct scatterlist *sg, int num_sg, struct ldc_trans_cookie *cookies, int ncookies, unsigned int map_perm) ldc_map_sg() argument 2193 ldc_map_single(struct ldc_channel *lp, void *buf, unsigned int len, struct ldc_trans_cookie *cookies, int ncookies, unsigned int map_perm) ldc_map_single() argument 2245 ldc_unmap(struct ldc_channel *lp, struct ldc_trans_cookie *cookies, int ncookies) ldc_unmap() argument 2263 ldc_copy(struct ldc_channel *lp, int copy_dir, void *buf, unsigned int len, unsigned long offset, struct ldc_trans_cookie *cookies, int ncookies) ldc_copy() argument 2353 ldc_alloc_exp_dring(struct ldc_channel *lp, unsigned int len, struct ldc_trans_cookie *cookies, int *ncookies, unsigned int map_perm) ldc_alloc_exp_dring() argument 2378 ldc_free_exp_dring(struct ldc_channel *lp, void *buf, unsigned int len, struct ldc_trans_cookie *cookies, int ncookies) ldc_free_exp_dring() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 125 * @lp: Pointer to axienet local structure 132 static inline u32 axienet_dma_in32(struct axienet_local *lp, off_t reg) in axienet_dma_in32() argument 134 return ioread32(lp->dma_regs + reg); in axienet_dma_in32() 137 static void desc_set_phys_addr(struct axienet_local *lp, dma_addr_t addr, in desc_set_phys_addr() argument 141 if (lp->features & XAE_FEATURE_DMA_64BIT) in desc_set_phys_addr() 145 static dma_addr_t desc_get_phys_addr(struct axienet_local *lp, in desc_get_phys_addr() argument 150 if (lp->features & XAE_FEATURE_DMA_64BIT) in desc_get_phys_addr() 167 struct axienet_local *lp = netdev_priv(ndev); in axienet_dma_bd_release() local 170 dma_free_coherent(lp->dev, in axienet_dma_bd_release() 171 sizeof(*lp in axienet_dma_bd_release() 211 axienet_usec_to_timer(struct axienet_local *lp, u32 coalesce_usec) axienet_usec_to_timer() argument 232 axienet_dma_start(struct axienet_local *lp) axienet_dma_start() argument 290 struct axienet_local *lp = netdev_priv(ndev); axienet_dma_bd_init() local 364 struct axienet_local *lp = netdev_priv(ndev); axienet_set_mac_address() local 417 struct axienet_local *lp = netdev_priv(ndev); axienet_set_multicast_list() local 487 struct axienet_local *lp = netdev_priv(ndev); axienet_setoptions() local 501 __axienet_device_reset(struct axienet_local *lp) __axienet_device_reset() argument 540 axienet_dma_stop(struct axienet_local *lp) axienet_dma_stop() argument 589 struct axienet_local *lp = netdev_priv(ndev); axienet_device_reset() local 656 axienet_free_tx_chain(struct axienet_local *lp, u32 first_bd, int nr_bds, bool force, u32 *sizep, int budget) axienet_free_tx_chain() argument 714 axienet_check_tx_bd_space(struct axienet_local *lp, int num_frag) axienet_check_tx_bd_space() argument 744 struct axienet_local *lp = container_of(napi, struct axienet_local, napi_tx); axienet_tx_poll() local 801 struct axienet_local *lp = netdev_priv(ndev); axienet_start_xmit() local 910 struct axienet_local *lp = container_of(napi, struct axienet_local, napi_rx); axienet_rx_poll() local 1022 struct axienet_local *lp = netdev_priv(ndev); axienet_tx_irq() local 1066 struct axienet_local *lp = netdev_priv(ndev); axienet_rx_irq() local 1108 struct axienet_local *lp = netdev_priv(ndev); axienet_eth_irq() local 1143 struct axienet_local *lp = netdev_priv(ndev); axienet_open() local 1215 struct axienet_local *lp = netdev_priv(ndev); axienet_stop() local 1256 struct axienet_local *lp = netdev_priv(ndev); axienet_change_mtu() local 1280 struct axienet_local *lp = netdev_priv(ndev); axienet_poll_controller() local 1292 struct axienet_local *lp = netdev_priv(dev); axienet_ioctl() local 1303 struct axienet_local *lp = netdev_priv(dev); axienet_get_stats64() local 1381 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_regs() local 1431 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_ringparam() local 1449 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_ringparam() local 1479 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_pauseparam() local 1500 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_pauseparam() local 1524 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_coalesce() local 1552 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_coalesce() local 1576 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_link_ksettings() local 1585 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_link_ksettings() local 1592 struct axienet_local *lp = netdev_priv(dev); axienet_ethtools_nway_reset() local 1642 struct axienet_local *lp = netdev_priv(ndev); axienet_pcs_config() local 1675 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_select_pcs() local 1704 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_link_up() local 1759 struct axienet_local *lp = container_of(work, struct axienet_local, axienet_dma_err_handler() local 1850 struct axienet_local *lp; axienet_probe() local 2189 struct axienet_local *lp = netdev_priv(ndev); axienet_remove() local [all...] |
H A D | xilinx_axienet_mdio.c | 24 static int axienet_mdio_wait_until_ready(struct axienet_local *lp) in axienet_mdio_wait_until_ready() argument 28 return readx_poll_timeout(axinet_ior_read_mcr, lp, in axienet_mdio_wait_until_ready() 34 static void axienet_mdio_mdc_enable(struct axienet_local *lp) in axienet_mdio_mdc_enable() argument 36 axienet_iow(lp, XAE_MDIO_MC_OFFSET, in axienet_mdio_mdc_enable() 37 ((u32)lp->mii_clk_div | XAE_MDIO_MC_MDIOEN_MASK)); in axienet_mdio_mdc_enable() 41 static void axienet_mdio_mdc_disable(struct axienet_local *lp) in axienet_mdio_mdc_disable() argument 45 mc_reg = axienet_ior(lp, XAE_MDIO_MC_OFFSET); in axienet_mdio_mdc_disable() 46 axienet_iow(lp, XAE_MDIO_MC_OFFSET, in axienet_mdio_mdc_disable() 66 struct axienet_local *lp = bus->priv; in axienet_mdio_read() local 68 axienet_mdio_mdc_enable(lp); in axienet_mdio_read() 116 struct axienet_local *lp = bus->priv; axienet_mdio_write() local 158 axienet_mdio_enable(struct axienet_local *lp, struct device_node *np) axienet_mdio_enable() argument 263 axienet_mdio_setup(struct axienet_local *lp) axienet_mdio_setup() argument 309 axienet_mdio_teardown(struct axienet_local *lp) axienet_mdio_teardown() argument [all...] |
H A D | ll_temac_main.c | 69 static u32 _temac_ior_be(struct temac_local *lp, int offset) in _temac_ior_be() argument 71 return ioread32be(lp->regs + offset); in _temac_ior_be() 74 static void _temac_iow_be(struct temac_local *lp, int offset, u32 value) in _temac_iow_be() argument 76 return iowrite32be(value, lp->regs + offset); in _temac_iow_be() 79 static u32 _temac_ior_le(struct temac_local *lp, int offset) in _temac_ior_le() argument 81 return ioread32(lp->regs + offset); in _temac_ior_le() 84 static void _temac_iow_le(struct temac_local *lp, int offset, u32 value) in _temac_iow_le() argument 86 return iowrite32(value, lp->regs + offset); in _temac_iow_le() 89 static bool hard_acs_rdy(struct temac_local *lp) in hard_acs_rdy() argument 91 return temac_ior(lp, XTE_RDY0_OFFSE in hard_acs_rdy() 94 hard_acs_rdy_or_timeout(struct temac_local *lp, ktime_t timeout) hard_acs_rdy_or_timeout() argument 111 temac_indirect_busywait(struct temac_local *lp) temac_indirect_busywait() argument 126 temac_indirect_in32(struct temac_local *lp, int reg) temac_indirect_in32() argument 144 temac_indirect_in32_locked(struct temac_local *lp, int reg) temac_indirect_in32_locked() argument 169 temac_indirect_out32(struct temac_local *lp, int reg, u32 value) temac_indirect_out32() argument 185 temac_indirect_out32_locked(struct temac_local *lp, int reg, u32 value) temac_indirect_out32_locked() argument 209 temac_dma_in32_be(struct temac_local *lp, int reg) temac_dma_in32_be() argument 214 temac_dma_in32_le(struct temac_local *lp, int reg) temac_dma_in32_le() argument 225 temac_dma_out32_be(struct temac_local *lp, int reg, u32 value) temac_dma_out32_be() argument 230 temac_dma_out32_le(struct temac_local *lp, int reg, u32 value) temac_dma_out32_le() argument 244 temac_dma_dcr_in(struct temac_local *lp, int reg) temac_dma_dcr_in() argument 252 temac_dma_dcr_out(struct temac_local *lp, int reg, u32 value) temac_dma_dcr_out() argument 261 temac_dcr_setup(struct temac_local *lp, struct platform_device *op, struct device_node *np) temac_dcr_setup() argument 286 temac_dcr_setup(struct temac_local *lp, struct platform_device *op, struct device_node *np) temac_dcr_setup() argument 299 struct temac_local *lp = netdev_priv(ndev); temac_dma_bd_release() local 327 struct temac_local *lp = netdev_priv(ndev); temac_dma_bd_init() local 418 struct temac_local *lp = netdev_priv(ndev); temac_do_set_mac_address() local 459 struct temac_local *lp = netdev_priv(ndev); temac_set_multicast_list() local 599 struct temac_local *lp = netdev_priv(ndev); temac_setoptions() local 622 struct temac_local *lp = netdev_priv(ndev); temac_device_reset() local 709 struct temac_local *lp = netdev_priv(ndev); temac_adjust_link() local 773 struct temac_local *lp = netdev_priv(ndev); temac_start_xmit_done() local 819 temac_check_tx_bd_space(struct temac_local *lp, int num_frag) temac_check_tx_bd_space() argument 848 struct temac_local *lp = netdev_priv(ndev); temac_start_xmit() local 956 ll_temac_recv_buffers_available(struct temac_local *lp) ll_temac_recv_buffers_available() argument 970 struct temac_local *lp = netdev_priv(ndev); ll_temac_recv() local 1108 struct temac_local *lp = container_of(work, struct temac_local, ll_temac_restart_work_func() local 1118 struct temac_local *lp = netdev_priv(ndev); ll_temac_tx_irq() local 1137 struct temac_local *lp = netdev_priv(ndev); ll_temac_rx_irq() local 1156 struct temac_local *lp = netdev_priv(ndev); temac_open() local 1202 struct temac_local *lp = netdev_priv(ndev); temac_stop() local 1224 struct temac_local *lp = netdev_priv(ndev); temac_poll_controller() local 1257 struct temac_local *lp = netdev_priv(ndev); temac_show_llink_regs() local 1289 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_get_ringparam() local 1307 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_set_ringparam() local 1329 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_get_coalesce() local 1344 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_set_coalesce() local 1387 struct temac_local *lp; temac_probe() local 1632 struct temac_local *lp = netdev_priv(ndev); temac_remove() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_lp.c | 34 * http://tcp-lp-mod.sourceforge.net/ 61 * struct lp 77 struct lp { struct 98 struct lp *lp = inet_csk_ca(sk); in tcp_lp_init() local 100 lp->flag = 0; in tcp_lp_init() 101 lp->sowd = 0; in tcp_lp_init() 102 lp->owd_min = 0xffffffff; in tcp_lp_init() 103 lp->owd_max = 0; in tcp_lp_init() 104 lp in tcp_lp_init() 121 struct lp *lp = inet_csk_ca(sk); tcp_lp_cong_avoid() local 137 struct lp *lp = inet_csk_ca(sk); tcp_lp_remote_hz_estimator() local 190 struct lp *lp = inet_csk_ca(sk); tcp_lp_owd_calculator() local 223 struct lp *lp = inet_csk_ca(sk); tcp_lp_rtt_sample() local 267 struct lp *lp = inet_csk_ca(sk); tcp_lp_pkts_acked() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_lp.c | 34 * http://tcp-lp-mod.sourceforge.net/ 61 * struct lp 77 struct lp { struct 99 struct lp *lp = inet_csk_ca(sk); in tcp_lp_init() local 101 lp->flag = 0; in tcp_lp_init() 102 lp->sowd = 0; in tcp_lp_init() 103 lp->owd_min = 0xffffffff; in tcp_lp_init() 104 lp->owd_max = 0; in tcp_lp_init() 105 lp in tcp_lp_init() 123 struct lp *lp = inet_csk_ca(sk); tcp_lp_cong_avoid() local 140 struct lp *lp = inet_csk_ca(sk); tcp_lp_remote_hz_estimator() local 194 struct lp *lp = inet_csk_ca(sk); tcp_lp_owd_calculator() local 229 struct lp *lp = inet_csk_ca(sk); tcp_lp_rtt_sample() local 274 struct lp *lp = inet_csk_ca(sk); tcp_lp_pkts_acked() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ |
H A D | korina.c | 378 static dma_addr_t korina_tx_dma(struct korina_private *lp, int idx) in korina_tx_dma() argument 380 return lp->td_dma + (idx * sizeof(struct dma_desc)); in korina_tx_dma() 383 static dma_addr_t korina_rx_dma(struct korina_private *lp, int idx) in korina_rx_dma() argument 385 return lp->rd_dma + (idx * sizeof(struct dma_desc)); in korina_rx_dma() 406 struct korina_private *lp = netdev_priv(dev); in korina_abort_tx() local 408 korina_abort_dma(dev, lp->tx_dma_regs); in korina_abort_tx() 413 struct korina_private *lp = netdev_priv(dev); in korina_abort_rx() local 415 korina_abort_dma(dev, lp->rx_dma_regs); in korina_abort_rx() 422 struct korina_private *lp = netdev_priv(dev); in korina_send_packet() local 430 spin_lock_irqsave(&lp in korina_send_packet() 524 korina_mdio_wait(struct korina_private *lp) korina_mdio_wait() argument 535 struct korina_private *lp = netdev_priv(dev); korina_mdio_read() local 559 struct korina_private *lp = netdev_priv(dev); korina_mdio_write() local 573 struct korina_private *lp = netdev_priv(dev); korina_rx_dma_interrupt() local 598 struct korina_private *lp = netdev_priv(dev); korina_rx() local 705 struct korina_private *lp = korina_poll() local 726 struct korina_private *lp = netdev_priv(dev); korina_multicast_list() local 766 struct korina_private *lp = netdev_priv(dev); korina_tx() local 855 struct korina_private *lp = netdev_priv(dev); korina_tx_dma_interrupt() local 889 struct korina_private *lp = netdev_priv(dev); korina_check_media() local 903 struct korina_private *lp = from_timer(lp, t, media_check_timer); korina_poll_media() local 922 struct korina_private *lp = netdev_priv(dev); korina_ioctl() local 940 struct korina_private *lp = netdev_priv(dev); netdev_get_drvinfo() local 950 struct korina_private *lp = netdev_priv(dev); netdev_get_link_ksettings() local 962 struct korina_private *lp = netdev_priv(dev); netdev_set_link_ksettings() local 975 struct korina_private *lp = netdev_priv(dev); netdev_get_link() local 989 struct korina_private *lp = netdev_priv(dev); korina_alloc_ring() local 1038 struct korina_private *lp = netdev_priv(dev); korina_free_ring() local 1067 struct korina_private *lp = netdev_priv(dev); korina_init() local 1150 struct korina_private *lp = container_of(work, korina_restart_task() local 1183 struct korina_private *lp = netdev_priv(dev); korina_tx_timeout() local 1199 struct korina_private *lp = netdev_priv(dev); korina_open() local 1239 struct korina_private *lp = netdev_priv(dev); korina_close() local 1287 struct korina_private *lp; korina_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
H A D | de4x5.c | 192 SROM, the feature is ignored unless lp->params.fdx is set at compile 343 Fix initialisation problem with lp->timeout in 404 lp->rst not run because lp->ibn not initialised - 420 Change dev->interrupt to lp->interrupt to ensure 682 imr |= lp->irq_en;\ 688 imr &= ~lp->irq_en;\ 693 imr |= lp->irq_mask;\ 699 imr &= ~lp->irq_mask;\ 888 #define TX_BUFFS_AVAIL ((lp 1097 struct de4x5_private *lp = netdev_priv(dev); de4x5_hw_init() local 1291 struct de4x5_private *lp = netdev_priv(dev); de4x5_open() local 1381 struct de4x5_private *lp = netdev_priv(dev); de4x5_sw_reset() local 1459 struct de4x5_private *lp = netdev_priv(dev); de4x5_queue_pkt() local 1539 struct de4x5_private *lp; de4x5_interrupt() local 1603 struct de4x5_private *lp = netdev_priv(dev); de4x5_rx() local 1677 de4x5_free_tx_buff(struct de4x5_private *lp, int entry) de4x5_free_tx_buff() argument 1693 struct de4x5_private *lp = netdev_priv(dev); de4x5_tx() local 1745 struct de4x5_private *lp = from_timer(lp, t, timer); de4x5_ast() local 1771 struct de4x5_private *lp = netdev_priv(dev); de4x5_txur() local 1794 struct de4x5_private *lp = netdev_priv(dev); de4x5_rx_ovfc() local 1815 struct de4x5_private *lp = netdev_priv(dev); de4x5_close() local 1851 struct de4x5_private *lp = netdev_priv(dev); de4x5_get_stats() local 1862 struct de4x5_private *lp = netdev_priv(dev); de4x5_local_stats() local 1898 struct de4x5_private *lp = netdev_priv(dev); load_packet() local 1919 struct de4x5_private *lp = netdev_priv(dev); set_multicast_list() local 1949 struct de4x5_private *lp = netdev_priv(dev); SetMulticastFilter() local 2003 struct de4x5_private *lp; de4x5_eisa_probe() local 2128 struct de4x5_private *lp = netdev_priv(dev); srom_search() local 2203 struct de4x5_private *lp; de4x5_pci_probe() local 2361 struct de4x5_private *lp = netdev_priv(dev); autoconf_media() local 2391 struct de4x5_private *lp = netdev_priv(dev); dc21040_autoconf() local 2464 struct de4x5_private *lp = netdev_priv(dev); dc21040_state() local 2503 struct de4x5_private *lp = netdev_priv(dev); de4x5_suspect_state() local 2545 struct de4x5_private *lp = netdev_priv(dev); dc21041_autoconf() local 2747 struct de4x5_private *lp = netdev_priv(dev); dc21140m_autoconf() local 2931 struct de4x5_private *lp = netdev_priv(dev); dc2114x_autoconf() local 3183 struct de4x5_private *lp = netdev_priv(dev); srom_autoconf() local 3196 struct de4x5_private *lp = netdev_priv(dev); srom_map_media() local 3266 struct de4x5_private *lp = netdev_priv(dev); de4x5_init_connection() local 3293 struct de4x5_private *lp = netdev_priv(dev); de4x5_reset_phy() local 3327 struct de4x5_private *lp = netdev_priv(dev); test_media() local 3365 struct de4x5_private *lp = netdev_priv(dev); test_tp() local 3394 struct de4x5_private *lp = netdev_priv(dev); test_for_100Mb() local 3425 struct de4x5_private *lp = netdev_priv(dev); wait_for_link() local 3447 struct de4x5_private *lp = netdev_priv(dev); test_mii_reg() local 3470 struct de4x5_private *lp = netdev_priv(dev); is_spd_100() local 3494 struct de4x5_private *lp = netdev_priv(dev); is_100_up() local 3515 struct de4x5_private *lp = netdev_priv(dev); is_10_up() local 3538 struct de4x5_private *lp = netdev_priv(dev); is_anc_capable() local 3557 struct de4x5_private *lp = netdev_priv(dev); ping_media() local 3598 struct de4x5_private *lp = netdev_priv(dev); de4x5_alloc_rx_buff() local 3644 struct de4x5_private *lp = netdev_priv(dev); de4x5_free_rx_buffs() local 3659 struct de4x5_private *lp = netdev_priv(dev); de4x5_free_tx_buffs() local 3682 struct de4x5_private *lp = netdev_priv(dev); de4x5_save_skbs() local 3701 struct de4x5_private *lp = netdev_priv(dev); de4x5_rst_desc_ring() local 3732 struct de4x5_private *lp = netdev_priv(dev); de4x5_cache_state() local 3760 struct de4x5_private *lp = netdev_priv(dev); de4x5_put_cache() local 3768 struct de4x5_private *lp = netdev_priv(dev); de4x5_putb_cache() local 3776 struct de4x5_private *lp = netdev_priv(dev); de4x5_get_cache() local 3788 struct de4x5_private *lp = netdev_priv(dev); test_ans() local 3816 struct de4x5_private *lp = netdev_priv(dev); de4x5_setup_intr() local 3835 struct de4x5_private *lp = netdev_priv(dev); reset_init_sia() local 3906 PCI_signature(char *name, struct de4x5_private *lp) PCI_signature() argument 3952 struct de4x5_private *lp = netdev_priv(dev); DevicePresent() local 4031 struct de4x5_private *lp = netdev_priv(dev); get_hw_addr() local 4111 de4x5_bad_srom(struct de4x5_private *lp) de4x5_bad_srom() argument 4133 struct de4x5_private *lp = netdev_priv(dev); srom_repair() local 4152 struct de4x5_private *lp = netdev_priv(dev); test_bad_enet() local 4185 an_exception(struct de4x5_private *lp) an_exception() argument 4295 struct de4x5_private *lp = netdev_priv(dev); srom_infoleaf_info() local 4343 struct de4x5_private *lp = netdev_priv(dev); srom_init() local 4386 struct de4x5_private *lp = netdev_priv(dev); srom_exec() local 4421 struct de4x5_private *lp = netdev_priv(dev); dc21140_infoleaf() local 4459 struct de4x5_private *lp = netdev_priv(dev); dc21142_infoleaf() local 4494 struct de4x5_private *lp = netdev_priv(dev); dc21143_infoleaf() local 4532 struct de4x5_private *lp = netdev_priv(dev); compact_infoblock() local 4572 struct de4x5_private *lp = netdev_priv(dev); type0_infoblock() local 4612 struct de4x5_private *lp = netdev_priv(dev); type1_infoblock() local 4651 struct de4x5_private *lp = netdev_priv(dev); type2_infoblock() local 4692 struct de4x5_private *lp = netdev_priv(dev); type3_infoblock() local 4738 struct de4x5_private *lp = netdev_priv(dev); type4_infoblock() local 4783 struct de4x5_private *lp = netdev_priv(dev); type5_infoblock() local 4973 struct de4x5_private *lp = netdev_priv(dev); mii_get_phy() local 5041 struct de4x5_private *lp = netdev_priv(dev); build_setup_frame() local 5073 struct de4x5_private *lp = netdev_priv(dev); disable_ast() local 5080 struct de4x5_private *lp = netdev_priv(dev); de4x5_switch_mac_port() local 5116 struct de4x5_private *lp = netdev_priv(dev); gep_wr() local 5129 struct de4x5_private *lp = netdev_priv(dev); gep_rd() local 5144 struct de4x5_private *lp = netdev_priv(dev); yawn() local 5188 struct de4x5_private *lp = netdev_priv(dev); de4x5_parse_params() local 5229 struct de4x5_private *lp = netdev_priv(dev); de4x5_dbg_open() local 5274 struct de4x5_private *lp = netdev_priv(dev); de4x5_dbg_mii() local 5300 struct de4x5_private *lp = netdev_priv(dev); de4x5_dbg_media() local 5370 struct de4x5_private *lp = netdev_priv(dev); de4x5_ioctl() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 124 * @lp: Pointer to axienet local structure 131 static inline u32 axienet_dma_in32(struct axienet_local *lp, off_t reg) in axienet_dma_in32() argument 133 return ioread32(lp->dma_regs + reg); in axienet_dma_in32() 138 * @lp: Pointer to axienet local structure 145 static inline void axienet_dma_out32(struct axienet_local *lp, in axienet_dma_out32() argument 148 iowrite32(value, lp->dma_regs + reg); in axienet_dma_out32() 151 static void axienet_dma_out_addr(struct axienet_local *lp, off_t reg, in axienet_dma_out_addr() argument 154 axienet_dma_out32(lp, reg, lower_32_bits(addr)); in axienet_dma_out_addr() 156 if (lp->features & XAE_FEATURE_DMA_64BIT) in axienet_dma_out_addr() 157 axienet_dma_out32(lp, re in axienet_dma_out_addr() 160 desc_set_phys_addr(struct axienet_local *lp, dma_addr_t addr, struct axidma_bd *desc) desc_set_phys_addr() argument 168 desc_get_phys_addr(struct axienet_local *lp, struct axidma_bd *desc) desc_get_phys_addr() argument 190 struct axienet_local *lp = netdev_priv(ndev); axienet_dma_bd_release() local 244 struct axienet_local *lp = netdev_priv(ndev); axienet_dma_bd_init() local 361 struct axienet_local *lp = netdev_priv(ndev); axienet_set_mac_address() local 414 struct axienet_local *lp = netdev_priv(ndev); axienet_set_multicast_list() local 484 struct axienet_local *lp = netdev_priv(ndev); axienet_setoptions() local 498 __axienet_device_reset(struct axienet_local *lp) __axienet_device_reset() argument 548 struct axienet_local *lp = netdev_priv(ndev); axienet_device_reset() local 616 struct axienet_local *lp = netdev_priv(ndev); axienet_free_tx_chain() local 676 axienet_check_tx_bd_space(struct axienet_local *lp, int num_frag) axienet_check_tx_bd_space() argument 702 struct axienet_local *lp = netdev_priv(ndev); axienet_start_xmit_done() local 744 struct axienet_local *lp = netdev_priv(ndev); axienet_start_xmit() local 851 struct axienet_local *lp = netdev_priv(ndev); axienet_recv() local 955 struct axienet_local *lp = netdev_priv(ndev); axienet_tx_irq() local 1005 struct axienet_local *lp = netdev_priv(ndev); axienet_rx_irq() local 1052 struct axienet_local *lp = netdev_priv(ndev); axienet_eth_irq() local 1087 struct axienet_local *lp = netdev_priv(ndev); axienet_open() local 1163 struct axienet_local *lp = netdev_priv(ndev); axienet_stop() local 1227 struct axienet_local *lp = netdev_priv(ndev); axienet_change_mtu() local 1251 struct axienet_local *lp = netdev_priv(ndev); axienet_poll_controller() local 1263 struct axienet_local *lp = netdev_priv(dev); axienet_ioctl() local 1330 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_regs() local 1377 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_ringparam() local 1392 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_ringparam() local 1422 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_pauseparam() local 1443 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_pauseparam() local 1463 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_coalesce() local 1487 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_coalesce() local 1507 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_link_ksettings() local 1516 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_link_ksettings() local 1542 struct axienet_local *lp = netdev_priv(ndev); axienet_validate() local 1592 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_pcs_get_state() local 1607 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_an_restart() local 1616 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_config() local 1649 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_link_up() local 1705 struct axienet_local *lp = container_of(work, struct axienet_local, axienet_dma_err_handler() local 1844 struct axienet_local *lp; axienet_probe() local 2126 struct axienet_local *lp = netdev_priv(ndev); axienet_remove() local [all...] |
H A D | ll_temac_main.c | 71 static u32 _temac_ior_be(struct temac_local *lp, int offset) in _temac_ior_be() argument 73 return ioread32be(lp->regs + offset); in _temac_ior_be() 76 static void _temac_iow_be(struct temac_local *lp, int offset, u32 value) in _temac_iow_be() argument 78 return iowrite32be(value, lp->regs + offset); in _temac_iow_be() 81 static u32 _temac_ior_le(struct temac_local *lp, int offset) in _temac_ior_le() argument 83 return ioread32(lp->regs + offset); in _temac_ior_le() 86 static void _temac_iow_le(struct temac_local *lp, int offset, u32 value) in _temac_iow_le() argument 88 return iowrite32(value, lp->regs + offset); in _temac_iow_le() 91 static bool hard_acs_rdy(struct temac_local *lp) in hard_acs_rdy() argument 93 return temac_ior(lp, XTE_RDY0_OFFSE in hard_acs_rdy() 96 hard_acs_rdy_or_timeout(struct temac_local *lp, ktime_t timeout) hard_acs_rdy_or_timeout() argument 113 temac_indirect_busywait(struct temac_local *lp) temac_indirect_busywait() argument 128 temac_indirect_in32(struct temac_local *lp, int reg) temac_indirect_in32() argument 146 temac_indirect_in32_locked(struct temac_local *lp, int reg) temac_indirect_in32_locked() argument 171 temac_indirect_out32(struct temac_local *lp, int reg, u32 value) temac_indirect_out32() argument 187 temac_indirect_out32_locked(struct temac_local *lp, int reg, u32 value) temac_indirect_out32_locked() argument 211 temac_dma_in32_be(struct temac_local *lp, int reg) temac_dma_in32_be() argument 216 temac_dma_in32_le(struct temac_local *lp, int reg) temac_dma_in32_le() argument 227 temac_dma_out32_be(struct temac_local *lp, int reg, u32 value) temac_dma_out32_be() argument 232 temac_dma_out32_le(struct temac_local *lp, int reg, u32 value) temac_dma_out32_le() argument 246 temac_dma_dcr_in(struct temac_local *lp, int reg) temac_dma_dcr_in() argument 254 temac_dma_dcr_out(struct temac_local *lp, int reg, u32 value) temac_dma_dcr_out() argument 263 temac_dcr_setup(struct temac_local *lp, struct platform_device *op, struct device_node *np) temac_dcr_setup() argument 288 temac_dcr_setup(struct temac_local *lp, struct platform_device *op, struct device_node *np) temac_dcr_setup() argument 301 struct temac_local *lp = netdev_priv(ndev); temac_dma_bd_release() local 331 struct temac_local *lp = netdev_priv(ndev); temac_dma_bd_init() local 421 struct temac_local *lp = netdev_priv(ndev); temac_do_set_mac_address() local 461 struct temac_local *lp = netdev_priv(ndev); temac_set_multicast_list() local 601 struct temac_local *lp = netdev_priv(ndev); temac_setoptions() local 624 struct temac_local *lp = netdev_priv(ndev); temac_device_reset() local 710 struct temac_local *lp = netdev_priv(ndev); temac_adjust_link() local 768 struct temac_local *lp = netdev_priv(ndev); temac_start_xmit_done() local 814 temac_check_tx_bd_space(struct temac_local *lp, int num_frag) temac_check_tx_bd_space() argument 843 struct temac_local *lp = netdev_priv(ndev); temac_start_xmit() local 951 ll_temac_recv_buffers_available(struct temac_local *lp) ll_temac_recv_buffers_available() argument 965 struct temac_local *lp = netdev_priv(ndev); ll_temac_recv() local 1104 struct temac_local *lp = container_of(work, struct temac_local, ll_temac_restart_work_func() local 1114 struct temac_local *lp = netdev_priv(ndev); ll_temac_tx_irq() local 1133 struct temac_local *lp = netdev_priv(ndev); ll_temac_rx_irq() local 1152 struct temac_local *lp = netdev_priv(ndev); temac_open() local 1198 struct temac_local *lp = netdev_priv(ndev); temac_stop() local 1220 struct temac_local *lp = netdev_priv(ndev); temac_poll_controller() local 1253 struct temac_local *lp = netdev_priv(ndev); temac_show_llink_regs() local 1282 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_get_ringparam() local 1297 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_set_ringparam() local 1316 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_get_coalesce() local 1328 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_set_coalesce() local 1371 struct temac_local *lp; temac_probe() local 1617 struct temac_local *lp = netdev_priv(ndev); temac_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ieee802154/ |
H A D | at86rf230.c | 63 struct at86rf230_local *lp; member 103 at86rf230_async_state_change(struct at86rf230_local *lp, 108 at86rf230_sleep(struct at86rf230_local *lp) in at86rf230_sleep() argument 110 if (lp->slp_tr) { in at86rf230_sleep() 111 gpiod_set_value(lp->slp_tr, 1); in at86rf230_sleep() 112 usleep_range(lp->data->t_off_to_sleep, in at86rf230_sleep() 113 lp->data->t_off_to_sleep + 10); in at86rf230_sleep() 114 lp->sleep = true; in at86rf230_sleep() 119 at86rf230_awake(struct at86rf230_local *lp) in at86rf230_awake() argument 121 if (lp in at86rf230_awake() 130 __at86rf230_write(struct at86rf230_local *lp, unsigned int addr, unsigned int data) __at86rf230_write() argument 150 __at86rf230_read(struct at86rf230_local *lp, unsigned int addr, unsigned int *data) __at86rf230_read() argument 170 at86rf230_read_subreg(struct at86rf230_local *lp, unsigned int addr, unsigned int mask, unsigned int shift, unsigned int *data) at86rf230_read_subreg() argument 184 at86rf230_write_subreg(struct at86rf230_local *lp, unsigned int addr, unsigned int mask, unsigned int shift, unsigned int data) at86rf230_write_subreg() argument 205 at86rf230_slp_tr_rising_edge(struct at86rf230_local *lp) at86rf230_slp_tr_rising_edge() argument 331 struct at86rf230_local *lp = ctx->lp; at86rf230_async_error_recover_complete() local 346 struct at86rf230_local *lp = ctx->lp; at86rf230_async_error_recover() local 358 at86rf230_async_error(struct at86rf230_local *lp, struct at86rf230_state_change *ctx, int rc) at86rf230_async_error() argument 369 at86rf230_async_read_reg(struct at86rf230_local *lp, u8 reg, struct at86rf230_state_change *ctx, void (*complete)(void *context)) at86rf230_async_read_reg() argument 385 at86rf230_async_write_reg(struct at86rf230_local *lp, u8 reg, u8 val, struct at86rf230_state_change *ctx, void (*complete)(void *context)) at86rf230_async_write_reg() argument 403 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_assert() local 462 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_timer() local 475 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_delay() local 566 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_change_start() local 596 at86rf230_async_state_change(struct at86rf230_local *lp, struct at86rf230_state_change *ctx, const u8 state, void (*complete)(void *context)) at86rf230_async_state_change() argument 611 struct at86rf230_local *lp = ctx->lp; at86rf230_sync_state_change_complete() local 621 at86rf230_sync_state_change(struct at86rf230_local *lp, unsigned int state) at86rf230_sync_state_change() argument 642 struct at86rf230_local *lp = ctx->lp; at86rf230_tx_complete() local 656 struct at86rf230_local *lp = ctx->lp; at86rf230_tx_on() local 666 struct at86rf230_local *lp = ctx->lp; at86rf230_tx_trac_check() local 691 struct at86rf230_local *lp = ctx->lp; at86rf230_rx_read_frame_complete() local 719 struct at86rf230_local *lp = ctx->lp; at86rf230_rx_trac_check() local 737 struct at86rf230_local *lp = ctx->lp; at86rf230_irq_trx_end() local 753 struct at86rf230_local *lp = ctx->lp; at86rf230_irq_status() local 769 at86rf230_setup_spi_messages(struct at86rf230_local *lp, struct at86rf230_state_change *state) at86rf230_setup_spi_messages() argument 786 struct at86rf230_local *lp = data; at86rf230_isr() local 818 struct at86rf230_local *lp = ctx->lp; at86rf230_write_frame_complete() local 833 struct at86rf230_local *lp = ctx->lp; at86rf230_write_frame() local 856 struct at86rf230_local *lp = ctx->lp; at86rf230_xmit_tx_on() local 866 struct at86rf230_local *lp = ctx->lp; at86rf230_xmit_start() local 880 struct at86rf230_local *lp = hw->priv; at86rf230_xmit() local 916 struct at86rf230_local *lp = hw->priv; at86rf230_start() local 927 struct at86rf230_local *lp = hw->priv; at86rf230_stop() local 947 at86rf23x_set_channel(struct at86rf230_local *lp, u8 page, u8 channel) at86rf23x_set_channel() argument 974 at86rf212_update_cca_ed_level(struct at86rf230_local *lp, int rssi_base_val) at86rf212_update_cca_ed_level() argument 1002 at86rf212_set_channel(struct at86rf230_local *lp, u8 page, u8 channel) at86rf212_set_channel() argument 1033 struct at86rf230_local *lp = hw->priv; at86rf230_channel() local 1050 struct at86rf230_local *lp = hw->priv; at86rf230_set_hw_addr_filt() local 1107 at86rf23x_set_txpower(struct at86rf230_local *lp, s32 mbm) at86rf23x_set_txpower() argument 1120 at86rf212_set_txpower(struct at86rf230_local *lp, s32 mbm) at86rf212_set_txpower() argument 1135 struct at86rf230_local *lp = hw->priv; at86rf230_set_txpower() local 1143 struct at86rf230_local *lp = hw->priv; at86rf230_set_lbt() local 1152 struct at86rf230_local *lp = hw->priv; at86rf230_set_cca_mode() local 1185 struct at86rf230_local *lp = hw->priv; at86rf230_set_cca_ed_level() local 1200 struct at86rf230_local *lp = hw->priv; at86rf230_set_csma_params() local 1217 struct at86rf230_local *lp = hw->priv; at86rf230_set_frame_retries() local 1225 struct at86rf230_local *lp = hw->priv; at86rf230_set_promiscuous_mode() local 1311 at86rf230_hw_init(struct at86rf230_local *lp, u8 xtal_trim) at86rf230_hw_init() argument 1419 at86rf230_detect_device(struct at86rf230_local *lp) at86rf230_detect_device() argument 1522 struct at86rf230_local *lp; at86rf230_probe() local 1635 struct at86rf230_local *lp = spi_get_drvdata(spi); at86rf230_remove() local [all...] |
H A D | adf7242.c | 301 static int adf7242_soft_reset(struct adf7242_local *lp, int line); 303 static int adf7242_status(struct adf7242_local *lp, u8 *stat) in adf7242_status() argument 307 mutex_lock(&lp->bmux); in adf7242_status() 308 status = spi_sync(lp->spi, &lp->stat_msg); in adf7242_status() 309 *stat = lp->buf_stat_rx; in adf7242_status() 310 mutex_unlock(&lp->bmux); in adf7242_status() 315 static int adf7242_wait_status(struct adf7242_local *lp, unsigned int status, in adf7242_wait_status() argument 322 adf7242_status(lp, &stat); in adf7242_wait_status() 330 adf7242_soft_reset(lp, lin in adf7242_wait_status() 348 adf7242_wait_rc_ready(struct adf7242_local *lp, int line) adf7242_wait_rc_ready() argument 354 adf7242_wait_spi_ready(struct adf7242_local *lp, int line) adf7242_wait_spi_ready() argument 360 adf7242_write_fbuf(struct adf7242_local *lp, u8 *data, u8 len) adf7242_write_fbuf() argument 391 adf7242_read_fbuf(struct adf7242_local *lp, u8 *data, size_t len, bool packet_read) adf7242_read_fbuf() argument 431 adf7242_read_reg(struct adf7242_local *lp, u16 addr, u8 *data) adf7242_read_reg() argument 468 adf7242_write_reg(struct adf7242_local *lp, u16 addr, u8 data) adf7242_write_reg() argument 487 adf7242_cmd(struct adf7242_local *lp, unsigned int cmd) adf7242_cmd() argument 504 adf7242_upload_firmware(struct adf7242_local *lp, u8 *data, u16 len) adf7242_upload_firmware() argument 538 adf7242_verify_firmware(struct adf7242_local *lp, const u8 *data, size_t len) adf7242_verify_firmware() argument 567 adf7242_clear_irqstat(struct adf7242_local *lp) adf7242_clear_irqstat() argument 574 adf7242_cmd_rx(struct adf7242_local *lp) adf7242_cmd_rx() argument 586 struct adf7242_local *lp = adf7242_rx_cal_work() local 601 struct adf7242_local *lp = hw->priv; adf7242_set_txpower() local 642 struct adf7242_local *lp = hw->priv; adf7242_set_csma_params() local 667 struct adf7242_local *lp = hw->priv; adf7242_set_frame_retries() local 687 struct adf7242_local *lp = hw->priv; adf7242_ed() local 699 struct adf7242_local *lp = hw->priv; adf7242_start() local 711 struct adf7242_local *lp = hw->priv; adf7242_stop() local 722 struct adf7242_local *lp = hw->priv; adf7242_channel() local 750 struct adf7242_local *lp = hw->priv; adf7242_set_hw_addr_filt() local 794 struct adf7242_local *lp = hw->priv; adf7242_set_promiscuous_mode() local 822 struct adf7242_local *lp = hw->priv; adf7242_set_cca_ed_level() local 832 struct adf7242_local *lp = hw->priv; adf7242_xmit() local 878 adf7242_rx(struct adf7242_local *lp) adf7242_rx() argument 941 adf7242_debug(struct adf7242_local *lp, u8 irq1) adf7242_debug() argument 975 struct adf7242_local *lp = data; adf7242_isr() local 1041 adf7242_soft_reset(struct adf7242_local *lp, int line) adf7242_soft_reset() argument 1065 adf7242_hw_init(struct adf7242_local *lp) adf7242_hw_init() argument 1131 struct adf7242_local *lp = spi_get_drvdata(file->private); adf7242_stats_show() local 1163 adf7242_debugfs_init(struct adf7242_local *lp) adf7242_debugfs_init() argument 1194 struct adf7242_local *lp; adf7242_probe() local 1310 struct adf7242_local *lp = spi_get_drvdata(spi); adf7242_remove() local [all...] |
H A D | mcr20a.c | 447 struct mcr20a_local *lp = context; in mcr20a_write_tx_buf_complete() local 450 dev_dbg(printdev(lp), "%s\n", __func__); in mcr20a_write_tx_buf_complete() 452 lp->reg_msg.complete = NULL; in mcr20a_write_tx_buf_complete() 453 lp->reg_cmd[0] = MCR20A_WRITE_REG(DAR_PHY_CTRL1); in mcr20a_write_tx_buf_complete() 454 lp->reg_data[0] = MCR20A_XCVSEQ_TX; in mcr20a_write_tx_buf_complete() 455 lp->reg_xfer_data.len = 1; in mcr20a_write_tx_buf_complete() 457 ret = spi_async(lp->spi, &lp->reg_msg); in mcr20a_write_tx_buf_complete() 459 dev_err(printdev(lp), "failed to set SEQ TX\n"); in mcr20a_write_tx_buf_complete() 465 struct mcr20a_local *lp in mcr20a_xmit() local 495 struct mcr20a_local *lp = hw->priv; mcr20a_set_channel() local 518 struct mcr20a_local *lp = hw->priv; mcr20a_start() local 552 struct mcr20a_local *lp = hw->priv; mcr20a_stop() local 569 struct mcr20a_local *lp = hw->priv; mcr20a_set_hw_addr_filt() local 619 struct mcr20a_local *lp = hw->priv; mcr20a_set_txpower() local 640 struct mcr20a_local *lp = hw->priv; mcr20a_set_cca_mode() local 699 struct mcr20a_local *lp = hw->priv; mcr20a_set_cca_ed_level() local 715 struct mcr20a_local *lp = hw->priv; mcr20a_set_promiscuous_mode() local 770 mcr20a_request_rx(struct mcr20a_local *lp) mcr20a_request_rx() argument 784 struct mcr20a_local *lp = context; mcr20a_handle_rx_read_buf_complete() local 817 struct mcr20a_local *lp = context; mcr20a_handle_rx_read_len_complete() local 838 mcr20a_handle_rx(struct mcr20a_local *lp) mcr20a_handle_rx() argument 849 mcr20a_handle_tx_complete(struct mcr20a_local *lp) mcr20a_handle_tx_complete() argument 859 mcr20a_handle_tx(struct mcr20a_local *lp) mcr20a_handle_tx() argument 885 struct mcr20a_local *lp = context; mcr20a_irq_clean_complete() local 935 struct mcr20a_local *lp = context; mcr20a_irq_status_complete() local 954 struct mcr20a_local *lp = data; mcr20a_irq_isr() local 970 mcr20a_hw_setup(struct mcr20a_local *lp) mcr20a_hw_setup() argument 1012 mcr20a_setup_tx_spi_messages(struct mcr20a_local *lp) mcr20a_setup_tx_spi_messages() argument 1030 mcr20a_setup_rx_spi_messages(struct mcr20a_local *lp) mcr20a_setup_rx_spi_messages() argument 1063 mcr20a_setup_irq_spi_messages(struct mcr20a_local *lp) mcr20a_setup_irq_spi_messages() argument 1080 mcr20a_phy_init(struct mcr20a_local *lp) mcr20a_phy_init() argument 1223 struct mcr20a_local *lp; mcr20a_probe() local 1332 struct mcr20a_local *lp = spi_get_drvdata(spi); mcr20a_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ |
H A D | korina.c | 174 struct korina_private *lp = netdev_priv(dev); in korina_abort_tx() local 176 korina_abort_dma(dev, lp->tx_dma_regs); in korina_abort_tx() 181 struct korina_private *lp = netdev_priv(dev); in korina_abort_rx() local 183 korina_abort_dma(dev, lp->rx_dma_regs); in korina_abort_rx() 186 static void korina_start_rx(struct korina_private *lp, in korina_start_rx() argument 189 korina_start_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_start_rx() 192 static void korina_chain_rx(struct korina_private *lp, in korina_chain_rx() argument 195 korina_chain_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_chain_rx() 201 struct korina_private *lp = netdev_priv(dev); in korina_send_packet() local 207 spin_lock_irqsave(&lp in korina_send_packet() 297 struct korina_private *lp = netdev_priv(dev); mdio_read() local 313 struct korina_private *lp = netdev_priv(dev); mdio_write() local 328 struct korina_private *lp = netdev_priv(dev); korina_rx_dma_interrupt() local 353 struct korina_private *lp = netdev_priv(dev); korina_rx() local 464 struct korina_private *lp = korina_poll() local 485 struct korina_private *lp = netdev_priv(dev); korina_multicast_list() local 525 struct korina_private *lp = netdev_priv(dev); korina_tx() local 610 struct korina_private *lp = netdev_priv(dev); korina_tx_dma_interrupt() local 644 struct korina_private *lp = netdev_priv(dev); korina_check_media() local 658 struct korina_private *lp = from_timer(lp, t, media_check_timer); korina_poll_media() local 677 struct korina_private *lp = netdev_priv(dev); korina_ioctl() local 695 struct korina_private *lp = netdev_priv(dev); netdev_get_drvinfo() local 705 struct korina_private *lp = netdev_priv(dev); netdev_get_link_ksettings() local 717 struct korina_private *lp = netdev_priv(dev); netdev_set_link_ksettings() local 730 struct korina_private *lp = netdev_priv(dev); netdev_get_link() local 744 struct korina_private *lp = netdev_priv(dev); korina_alloc_ring() local 787 struct korina_private *lp = netdev_priv(dev); korina_free_ring() local 810 struct korina_private *lp = netdev_priv(dev); korina_init() local 889 struct korina_private *lp = container_of(work, korina_restart_task() local 922 struct korina_private *lp = netdev_priv(dev); korina_tx_timeout() local 938 struct korina_private *lp = netdev_priv(dev); korina_open() local 978 struct korina_private *lp = netdev_priv(dev); korina_close() local 1026 struct korina_private *lp; korina_probe() local 1131 struct korina_private *lp = netdev_priv(bif->dev); korina_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
H A D | adf7242.c | 301 static int adf7242_soft_reset(struct adf7242_local *lp, int line); 303 static int adf7242_status(struct adf7242_local *lp, u8 *stat) in adf7242_status() argument 307 mutex_lock(&lp->bmux); in adf7242_status() 308 status = spi_sync(lp->spi, &lp->stat_msg); in adf7242_status() 309 *stat = lp->buf_stat_rx; in adf7242_status() 310 mutex_unlock(&lp->bmux); in adf7242_status() 315 static int adf7242_wait_status(struct adf7242_local *lp, unsigned int status, in adf7242_wait_status() argument 322 adf7242_status(lp, &stat); in adf7242_wait_status() 330 adf7242_soft_reset(lp, lin in adf7242_wait_status() 348 adf7242_wait_rc_ready(struct adf7242_local *lp, int line) adf7242_wait_rc_ready() argument 354 adf7242_wait_spi_ready(struct adf7242_local *lp, int line) adf7242_wait_spi_ready() argument 360 adf7242_write_fbuf(struct adf7242_local *lp, u8 *data, u8 len) adf7242_write_fbuf() argument 391 adf7242_read_fbuf(struct adf7242_local *lp, u8 *data, size_t len, bool packet_read) adf7242_read_fbuf() argument 431 adf7242_read_reg(struct adf7242_local *lp, u16 addr, u8 *data) adf7242_read_reg() argument 468 adf7242_write_reg(struct adf7242_local *lp, u16 addr, u8 data) adf7242_write_reg() argument 487 adf7242_cmd(struct adf7242_local *lp, unsigned int cmd) adf7242_cmd() argument 504 adf7242_upload_firmware(struct adf7242_local *lp, u8 *data, u16 len) adf7242_upload_firmware() argument 538 adf7242_verify_firmware(struct adf7242_local *lp, const u8 *data, size_t len) adf7242_verify_firmware() argument 567 adf7242_clear_irqstat(struct adf7242_local *lp) adf7242_clear_irqstat() argument 574 adf7242_cmd_rx(struct adf7242_local *lp) adf7242_cmd_rx() argument 586 struct adf7242_local *lp = adf7242_rx_cal_work() local 601 struct adf7242_local *lp = hw->priv; adf7242_set_txpower() local 642 struct adf7242_local *lp = hw->priv; adf7242_set_csma_params() local 667 struct adf7242_local *lp = hw->priv; adf7242_set_frame_retries() local 687 struct adf7242_local *lp = hw->priv; adf7242_ed() local 699 struct adf7242_local *lp = hw->priv; adf7242_start() local 711 struct adf7242_local *lp = hw->priv; adf7242_stop() local 722 struct adf7242_local *lp = hw->priv; adf7242_channel() local 750 struct adf7242_local *lp = hw->priv; adf7242_set_hw_addr_filt() local 794 struct adf7242_local *lp = hw->priv; adf7242_set_promiscuous_mode() local 822 struct adf7242_local *lp = hw->priv; adf7242_set_cca_ed_level() local 832 struct adf7242_local *lp = hw->priv; adf7242_xmit() local 878 adf7242_rx(struct adf7242_local *lp) adf7242_rx() argument 941 adf7242_debug(struct adf7242_local *lp, u8 irq1) adf7242_debug() argument 975 struct adf7242_local *lp = data; adf7242_isr() local 1041 adf7242_soft_reset(struct adf7242_local *lp, int line) adf7242_soft_reset() argument 1065 adf7242_hw_init(struct adf7242_local *lp) adf7242_hw_init() argument 1131 struct adf7242_local *lp = spi_get_drvdata(file->private); adf7242_stats_show() local 1163 adf7242_debugfs_init(struct adf7242_local *lp) adf7242_debugfs_init() argument 1194 struct adf7242_local *lp; adf7242_probe() local 1310 struct adf7242_local *lp = spi_get_drvdata(spi); adf7242_remove() local [all...] |
H A D | mcr20a.c | 447 struct mcr20a_local *lp = context; in mcr20a_write_tx_buf_complete() local 450 dev_dbg(printdev(lp), "%s\n", __func__); in mcr20a_write_tx_buf_complete() 452 lp->reg_msg.complete = NULL; in mcr20a_write_tx_buf_complete() 453 lp->reg_cmd[0] = MCR20A_WRITE_REG(DAR_PHY_CTRL1); in mcr20a_write_tx_buf_complete() 454 lp->reg_data[0] = MCR20A_XCVSEQ_TX; in mcr20a_write_tx_buf_complete() 455 lp->reg_xfer_data.len = 1; in mcr20a_write_tx_buf_complete() 457 ret = spi_async(lp->spi, &lp->reg_msg); in mcr20a_write_tx_buf_complete() 459 dev_err(printdev(lp), "failed to set SEQ TX\n"); in mcr20a_write_tx_buf_complete() 465 struct mcr20a_local *lp in mcr20a_xmit() local 495 struct mcr20a_local *lp = hw->priv; mcr20a_set_channel() local 518 struct mcr20a_local *lp = hw->priv; mcr20a_start() local 552 struct mcr20a_local *lp = hw->priv; mcr20a_stop() local 569 struct mcr20a_local *lp = hw->priv; mcr20a_set_hw_addr_filt() local 619 struct mcr20a_local *lp = hw->priv; mcr20a_set_txpower() local 640 struct mcr20a_local *lp = hw->priv; mcr20a_set_cca_mode() local 699 struct mcr20a_local *lp = hw->priv; mcr20a_set_cca_ed_level() local 715 struct mcr20a_local *lp = hw->priv; mcr20a_set_promiscuous_mode() local 770 mcr20a_request_rx(struct mcr20a_local *lp) mcr20a_request_rx() argument 784 struct mcr20a_local *lp = context; mcr20a_handle_rx_read_buf_complete() local 817 struct mcr20a_local *lp = context; mcr20a_handle_rx_read_len_complete() local 838 mcr20a_handle_rx(struct mcr20a_local *lp) mcr20a_handle_rx() argument 849 mcr20a_handle_tx_complete(struct mcr20a_local *lp) mcr20a_handle_tx_complete() argument 859 mcr20a_handle_tx(struct mcr20a_local *lp) mcr20a_handle_tx() argument 885 struct mcr20a_local *lp = context; mcr20a_irq_clean_complete() local 935 struct mcr20a_local *lp = context; mcr20a_irq_status_complete() local 954 struct mcr20a_local *lp = data; mcr20a_irq_isr() local 970 mcr20a_hw_setup(struct mcr20a_local *lp) mcr20a_hw_setup() argument 1017 mcr20a_setup_tx_spi_messages(struct mcr20a_local *lp) mcr20a_setup_tx_spi_messages() argument 1035 mcr20a_setup_rx_spi_messages(struct mcr20a_local *lp) mcr20a_setup_rx_spi_messages() argument 1068 mcr20a_setup_irq_spi_messages(struct mcr20a_local *lp) mcr20a_setup_irq_spi_messages() argument 1085 mcr20a_phy_init(struct mcr20a_local *lp) mcr20a_phy_init() argument 1228 struct mcr20a_local *lp; mcr20a_probe() local 1340 struct mcr20a_local *lp = spi_get_drvdata(spi); mcr20a_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 194 #define SMC_ENABLE_INT(lp, x) do { \ 197 spin_lock_irqsave(&lp->lock, smc_enable_flags); \ 198 mask = SMC_GET_INT_MASK(lp); \ 200 SMC_SET_INT_MASK(lp, mask); \ 201 spin_unlock_irqrestore(&lp->lock, smc_enable_flags); \ 205 #define SMC_DISABLE_INT(lp, x) do { \ 208 spin_lock_irqsave(&lp->lock, smc_disable_flags); \ 209 mask = SMC_GET_INT_MASK(lp); \ 211 SMC_SET_INT_MASK(lp, mask); \ 212 spin_unlock_irqrestore(&lp 240 struct smc_local *lp = netdev_priv(dev); smc_reset() local 334 struct smc_local *lp = netdev_priv(dev); smc_enable() local 368 struct smc_local *lp = netdev_priv(dev); smc_shutdown() local 400 struct smc_local *lp = netdev_priv(dev); smc_rcv() local 540 struct smc_local *lp = from_tasklet(lp, t, tx_task); smc_hardware_send_pkt() local 631 struct smc_local *lp = netdev_priv(dev); smc_hard_start_xmit() local 704 struct smc_local *lp = netdev_priv(dev); smc_tx() local 762 struct smc_local *lp = netdev_priv(dev); smc_mii_out() local 784 struct smc_local *lp = netdev_priv(dev); smc_mii_in() local 809 struct smc_local *lp = netdev_priv(dev); smc_phy_read() local 840 struct smc_local *lp = netdev_priv(dev); smc_phy_write() local 865 struct smc_local *lp = netdev_priv(dev); smc_phy_detect() local 902 struct smc_local *lp = netdev_priv(dev); smc_phy_fixed() local 952 struct smc_local *lp = netdev_priv(dev); smc_phy_reset() local 979 struct smc_local *lp = netdev_priv(dev); smc_phy_powerdown() local 1005 struct smc_local *lp = netdev_priv(dev); smc_phy_check_media() local 1032 struct smc_local *lp = smc_phy_configure() local 1135 struct smc_local *lp = netdev_priv(dev); smc_phy_interrupt() local 1158 struct smc_local *lp = netdev_priv(dev); smc_10bt_check_media() local 1182 struct smc_local *lp = netdev_priv(dev); smc_eph_interrupt() local 1202 struct smc_local *lp = netdev_priv(dev); smc_interrupt() local 1325 struct smc_local *lp = netdev_priv(dev); smc_timeout() local 1367 struct smc_local *lp = netdev_priv(dev); smc_set_multicast_list() local 1463 struct smc_local *lp = netdev_priv(dev); smc_open() local 1507 struct smc_local *lp = netdev_priv(dev); smc_close() local 1528 struct smc_local *lp = netdev_priv(dev); smc_ethtool_get_link_ksettings() local 1560 struct smc_local *lp = netdev_priv(dev); smc_ethtool_set_link_ksettings() local 1598 struct smc_local *lp = netdev_priv(dev); smc_ethtool_nwayreset() local 1612 struct smc_local *lp = netdev_priv(dev); smc_ethtool_getmsglevel() local 1618 struct smc_local *lp = netdev_priv(dev); smc_ethtool_setmsglevel() local 1625 struct smc_local *lp = netdev_priv(dev); smc_write_eeprom_word() local 1653 struct smc_local *lp = netdev_priv(dev); smc_read_eeprom_word() local 1772 smc_findirq(struct smc_local *lp) smc_findirq() argument 1849 struct smc_local *lp = netdev_priv(dev); smc_probe() local 2058 struct smc_local *lp = netdev_priv(ndev); smc_enable_device() local 2147 struct smc_local *lp = netdev_priv(ndev); smc_request_datacs() local 2165 struct smc_local *lp = netdev_priv(ndev); smc_release_datacs() local 2233 struct smc_local *lp; smc_drv_probe() local 2376 struct smc_local *lp = netdev_priv(ndev); smc_drv_probe() local 2408 struct smc_local *lp = netdev_priv(ndev); smc_drv_remove() local 2454 struct smc_local *lp = netdev_priv(ndev); smc_drv_resume() local [all...] |
H A D | smc91x.h | 65 #define SMC_IO_SHIFT (lp->io_shift) 71 SMC_16BIT(lp) ? readw((a) + __smc_r) : \ 72 SMC_8BIT(lp) ? SMC_inw_b(a, __smc_r) : \ 78 #define SMC_outw(lp, v, a, r) \ 81 if (SMC_16BIT(lp)) \ 82 __SMC_outw(lp, __v, a, __smc_r); \ 83 else if (SMC_8BIT(lp)) \ 111 #define __SMC_outw(lp, v, a, r) \ 114 (lp)->cfg.pxa_u16_align4) 127 #define SMC_outw(lp, 299 smc_pxa_dma_inpump(struct smc_local *lp, u_char *buf, int len) smc_pxa_dma_inpump() argument 325 smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, u_char *buf, int len) smc_pxa_dma_insl() argument 368 smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, u_char *buf, int len) smc_pxa_dma_insw() argument [all...] |
H A D | smc911x.h | 112 static inline unsigned int SMC_inl(struct smc911x_local *lp, int reg) in SMC_inl() argument 114 void __iomem *ioaddr = lp->base + reg; in SMC_inl() 116 if (lp->cfg.flags & SMC911X_USE_32BIT) in SMC_inl() 119 if (lp->cfg.flags & SMC911X_USE_16BIT) in SMC_inl() 125 static inline void SMC_outl(unsigned int value, struct smc911x_local *lp, in SMC_outl() argument 128 void __iomem *ioaddr = lp->base + reg; in SMC_outl() 130 if (lp->cfg.flags & SMC911X_USE_32BIT) { in SMC_outl() 135 if (lp->cfg.flags & SMC911X_USE_16BIT) { in SMC_outl() 144 static inline void SMC_insl(struct smc911x_local *lp, int reg, in SMC_insl() argument 147 void __iomem *ioaddr = lp in SMC_insl() 162 SMC_outsl(struct smc911x_local *lp, int reg, void *addr, unsigned int count) SMC_outsl() argument 218 smc_pxa_dma_insl(struct smc911x_local *lp, u_long physaddr, int reg, struct dma_chan *dma, u_char *buf, int len) smc_pxa_dma_insl() argument 250 smc_pxa_dma_outsl(struct smc911x_local *lp, u_long physaddr, int reg, struct dma_chan *dma, u_char *buf, int len) smc_pxa_dma_outsl() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 194 #define SMC_ENABLE_INT(lp, x) do { \ 197 spin_lock_irqsave(&lp->lock, smc_enable_flags); \ 198 mask = SMC_GET_INT_MASK(lp); \ 200 SMC_SET_INT_MASK(lp, mask); \ 201 spin_unlock_irqrestore(&lp->lock, smc_enable_flags); \ 205 #define SMC_DISABLE_INT(lp, x) do { \ 208 spin_lock_irqsave(&lp->lock, smc_disable_flags); \ 209 mask = SMC_GET_INT_MASK(lp); \ 211 SMC_SET_INT_MASK(lp, mask); \ 212 spin_unlock_irqrestore(&lp 240 struct smc_local *lp = netdev_priv(dev); smc_reset() local 334 struct smc_local *lp = netdev_priv(dev); smc_enable() local 368 struct smc_local *lp = netdev_priv(dev); smc_shutdown() local 400 struct smc_local *lp = netdev_priv(dev); smc_rcv() local 540 struct smc_local *lp = from_tasklet(lp, t, tx_task); smc_hardware_send_pkt() local 631 struct smc_local *lp = netdev_priv(dev); smc_hard_start_xmit() local 704 struct smc_local *lp = netdev_priv(dev); smc_tx() local 763 struct smc_local *lp = netdev_priv(dev); smc_mii_out() local 785 struct smc_local *lp = netdev_priv(dev); smc_mii_in() local 810 struct smc_local *lp = netdev_priv(dev); smc_phy_read() local 841 struct smc_local *lp = netdev_priv(dev); smc_phy_write() local 866 struct smc_local *lp = netdev_priv(dev); smc_phy_detect() local 903 struct smc_local *lp = netdev_priv(dev); smc_phy_fixed() local 953 struct smc_local *lp = netdev_priv(dev); smc_phy_reset() local 980 struct smc_local *lp = netdev_priv(dev); smc_phy_powerdown() local 1006 struct smc_local *lp = netdev_priv(dev); smc_phy_check_media() local 1033 struct smc_local *lp = smc_phy_configure() local 1136 struct smc_local *lp = netdev_priv(dev); smc_phy_interrupt() local 1159 struct smc_local *lp = netdev_priv(dev); smc_10bt_check_media() local 1183 struct smc_local *lp = netdev_priv(dev); smc_eph_interrupt() local 1203 struct smc_local *lp = netdev_priv(dev); smc_interrupt() local 1326 struct smc_local *lp = netdev_priv(dev); smc_timeout() local 1368 struct smc_local *lp = netdev_priv(dev); smc_set_multicast_list() local 1464 struct smc_local *lp = netdev_priv(dev); smc_open() local 1508 struct smc_local *lp = netdev_priv(dev); smc_close() local 1529 struct smc_local *lp = netdev_priv(dev); smc_ethtool_get_link_ksettings() local 1561 struct smc_local *lp = netdev_priv(dev); smc_ethtool_set_link_ksettings() local 1599 struct smc_local *lp = netdev_priv(dev); smc_ethtool_nwayreset() local 1613 struct smc_local *lp = netdev_priv(dev); smc_ethtool_getmsglevel() local 1619 struct smc_local *lp = netdev_priv(dev); smc_ethtool_setmsglevel() local 1626 struct smc_local *lp = netdev_priv(dev); smc_write_eeprom_word() local 1654 struct smc_local *lp = netdev_priv(dev); smc_read_eeprom_word() local 1773 smc_findirq(struct smc_local *lp) smc_findirq() argument 1850 struct smc_local *lp = netdev_priv(dev); smc_probe() local 2061 struct smc_local *lp = netdev_priv(ndev); smc_enable_device() local 2150 struct smc_local *lp = netdev_priv(ndev); smc_request_datacs() local 2168 struct smc_local *lp = netdev_priv(ndev); smc_release_datacs() local 2242 struct smc_local *lp; smc_drv_probe() local 2385 struct smc_local *lp = netdev_priv(ndev); smc_drv_probe() local 2417 struct smc_local *lp = netdev_priv(ndev); smc_drv_remove() local 2463 struct smc_local *lp = netdev_priv(ndev); smc_drv_resume() local [all...] |
H A D | smc91x.h | 65 #define SMC_IO_SHIFT (lp->io_shift) 71 SMC_16BIT(lp) ? readw((a) + __smc_r) : \ 72 SMC_8BIT(lp) ? SMC_inw_b(a, __smc_r) : \ 78 #define SMC_outw(lp, v, a, r) \ 81 if (SMC_16BIT(lp)) \ 82 __SMC_outw(lp, __v, a, __smc_r); \ 83 else if (SMC_8BIT(lp)) \ 111 #define __SMC_outw(lp, v, a, r) \ 114 (lp)->cfg.pxa_u16_align4) 127 #define SMC_outw(lp, 288 smc_pxa_dma_inpump(struct smc_local *lp, u_char *buf, int len) smc_pxa_dma_inpump() argument 314 smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, u_char *buf, int len) smc_pxa_dma_insl() argument 357 smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, u_char *buf, int len) smc_pxa_dma_insw() argument [all...] |
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | lp855x_bl.c | 79 static int lp855x_write_byte(struct lp855x *lp, u8 reg, u8 data) in lp855x_write_byte() argument 81 return i2c_smbus_write_byte_data(lp->client, reg, data); in lp855x_write_byte() 84 static int lp855x_update_bit(struct lp855x *lp, u8 reg, u8 mask, u8 data) in lp855x_update_bit() argument 89 ret = i2c_smbus_read_byte_data(lp->client, reg); in lp855x_update_bit() 91 dev_err(lp->dev, "failed to read 0x%.2x\n", reg); in lp855x_update_bit() 99 return lp855x_write_byte(lp, reg, tmp); in lp855x_update_bit() 102 static bool lp855x_is_valid_rom_area(struct lp855x *lp, u8 addr) in lp855x_is_valid_rom_area() argument 106 switch (lp->chip_id) { in lp855x_is_valid_rom_area() 133 static int lp8557_bl_off(struct lp855x *lp) in lp8557_bl_off() argument 136 return lp855x_update_bit(lp, LP8557_BL_CM in lp8557_bl_off() 140 lp8557_bl_on(struct lp855x *lp) lp8557_bl_on() argument 169 lp855x_configure(struct lp855x *lp) lp855x_configure() argument 220 lp855x_pwm_ctrl(struct lp855x *lp, int br, int max_br) lp855x_pwm_ctrl() argument 242 struct lp855x *lp = bl_get_data(bl); lp855x_bl_update_status() local 262 lp855x_backlight_register(struct lp855x *lp) lp855x_backlight_register() argument 291 struct lp855x *lp = dev_get_drvdata(dev); lp855x_get_chip_id() local 299 struct lp855x *lp = dev_get_drvdata(dev); lp855x_get_bl_ctl_mode() local 324 lp855x_parse_dt(struct lp855x *lp) lp855x_parse_dt() argument 366 lp855x_parse_dt(struct lp855x *lp) lp855x_parse_dt() argument 372 lp855x_parse_acpi(struct lp855x *lp) lp855x_parse_acpi() argument 400 struct lp855x *lp; lp855x_probe() local 549 struct lp855x *lp = i2c_get_clientdata(cl); lp855x_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
H A D | arcnet.c | 164 struct arcnet_local *lp = netdev_priv(dev); in arcnet_dump_packet() local 174 spin_lock_irqsave(&lp->lock, flags); in arcnet_dump_packet() 176 lp->hw.copy_from_card(dev, bufnum, 0, buf, 512); in arcnet_dump_packet() 178 spin_unlock_irqrestore(&lp->lock, flags); in arcnet_dump_packet() 198 struct arcnet_local *lp = netdev_priv(dev); in arcnet_led_event() local 204 led_trigger_blink_oneshot(lp->recon_led_trig, in arcnet_led_event() 208 led_trigger_event(lp->tx_led_trig, LED_OFF); in arcnet_led_event() 209 led_trigger_event(lp->recon_led_trig, LED_OFF); in arcnet_led_event() 212 led_trigger_event(lp->tx_led_trig, LED_OFF); in arcnet_led_event() 213 led_trigger_event(lp in arcnet_led_event() 225 struct arcnet_local *lp = netdev_priv(to_net_dev(gendev)); arcnet_led_release() local 237 struct arcnet_local *lp = netdev_priv(netdev); devm_arcnet_led_init() local 290 struct arcnet_local *lp = netdev_priv(dev); release_arcbuf() local 310 struct arcnet_local *lp = netdev_priv(dev); get_arcbuf() local 387 struct arcnet_local *lp = from_timer(lp, t, timer); arcnet_timer() local 402 struct arcnet_local *lp; reset_device_work() local 432 struct arcnet_local *lp = (struct arcnet_local *)data; arcnet_reply_tasklet() local 484 struct arcnet_local *lp = netdev_priv(dev); alloc_arcdev() local 498 struct arcnet_local *lp = netdev_priv(dev); free_arcdev() local 517 struct arcnet_local *lp = netdev_priv(dev); arcnet_open() local 619 struct arcnet_local *lp = netdev_priv(dev); arcnet_close() local 650 const struct arcnet_local *lp = netdev_priv(dev); arcnet_header() local 702 struct arcnet_local *lp = netdev_priv(dev); arcnet_send_packet() local 790 struct arcnet_local *lp = netdev_priv(dev); go_tx() local 820 struct arcnet_local *lp = netdev_priv(dev); arcnet_timeout() local 860 struct arcnet_local *lp; arcnet_interrupt() local 1123 struct arcnet_local *lp = netdev_priv(dev); arcnet_rx() local 1192 struct arcnet_local *lp = netdev_priv(dev); null_build_header() local 1206 struct arcnet_local *lp = netdev_priv(dev); null_prepare_tx() local [all...] |
/kernel/linux/linux-6.6/drivers/net/arcnet/ |
H A D | arcnet.c | 164 struct arcnet_local *lp = netdev_priv(dev); in arcnet_dump_packet() local 174 spin_lock_irqsave(&lp->lock, flags); in arcnet_dump_packet() 176 lp->hw.copy_from_card(dev, bufnum, 0, buf, 512); in arcnet_dump_packet() 178 spin_unlock_irqrestore(&lp->lock, flags); in arcnet_dump_packet() 198 struct arcnet_local *lp = netdev_priv(dev); in arcnet_led_event() local 202 led_trigger_blink_oneshot(lp->recon_led_trig, 350, 350, 0); in arcnet_led_event() 205 led_trigger_event(lp->tx_led_trig, LED_OFF); in arcnet_led_event() 206 led_trigger_event(lp->recon_led_trig, LED_OFF); in arcnet_led_event() 209 led_trigger_event(lp->tx_led_trig, LED_OFF); in arcnet_led_event() 210 led_trigger_event(lp in arcnet_led_event() 221 struct arcnet_local *lp = netdev_priv(to_net_dev(gendev)); arcnet_led_release() local 233 struct arcnet_local *lp = netdev_priv(netdev); devm_arcnet_led_init() local 286 struct arcnet_local *lp = netdev_priv(dev); release_arcbuf() local 306 struct arcnet_local *lp = netdev_priv(dev); get_arcbuf() local 383 struct arcnet_local *lp = from_timer(lp, t, timer); arcnet_timer() local 398 struct arcnet_local *lp; reset_device_work() local 428 struct arcnet_local *lp = from_tasklet(lp, t, reply_tasklet); arcnet_reply_tasklet() local 480 struct arcnet_local *lp = netdev_priv(dev); alloc_arcdev() local 494 struct arcnet_local *lp = netdev_priv(dev); free_arcdev() local 513 struct arcnet_local *lp = netdev_priv(dev); arcnet_open() local 614 struct arcnet_local *lp = netdev_priv(dev); arcnet_close() local 645 const struct arcnet_local *lp = netdev_priv(dev); arcnet_header() local 697 struct arcnet_local *lp = netdev_priv(dev); arcnet_send_packet() local 785 struct arcnet_local *lp = netdev_priv(dev); go_tx() local 815 struct arcnet_local *lp = netdev_priv(dev); arcnet_timeout() local 855 struct arcnet_local *lp; arcnet_interrupt() local 1118 struct arcnet_local *lp = netdev_priv(dev); arcnet_rx() local 1187 struct arcnet_local *lp = netdev_priv(dev); null_build_header() local 1201 struct arcnet_local *lp = netdev_priv(dev); null_prepare_tx() local [all...] |