/Linux-v4.19/drivers/net/ethernet/sun/ |
D | niu.c | 94 #define niu_lock_parent(np, flags) \ argument 96 #define niu_unlock_parent(np, flags) \ argument 101 static int __niu_wait_bits_clear_mac(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_mac() 116 static int __niu_set_and_wait_clear_mac(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_mac() 136 static int __niu_wait_bits_clear_ipp(struct niu *np, unsigned long reg, in __niu_wait_bits_clear_ipp() 151 static int __niu_set_and_wait_clear_ipp(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear_ipp() 175 static int __niu_wait_bits_clear(struct niu *np, unsigned long reg, in __niu_wait_bits_clear() 195 static int __niu_set_and_wait_clear(struct niu *np, unsigned long reg, in __niu_set_and_wait_clear() 215 static void niu_ldg_rearm(struct niu *np, struct niu_ldg *lp, int on) in niu_ldg_rearm() 225 static int niu_ldn_irq_enable(struct niu *np, int ldn, int on) in niu_ldn_irq_enable() [all …]
|
/Linux-v4.19/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 81 static void sym_print_nego_msg(struct sym_hcb *np, int target, char *label, u_char *msg) in sym_print_nego_msg() 133 static void sym_chip_reset (struct sym_hcb *np) in sym_chip_reset() 152 static void sym_soft_reset (struct sym_hcb *np) in sym_soft_reset() 185 static void sym_start_reset(struct sym_hcb *np) in sym_start_reset() 190 int sym_reset_scsi_bus(struct sym_hcb *np, int enab_int) in sym_reset_scsi_bus() 245 static void sym_selectclock(struct sym_hcb *np, u_char scntl3) in sym_selectclock() 302 static unsigned getfreq (struct sym_hcb *np, int gen) in getfreq() 374 static unsigned sym_getfreq (struct sym_hcb *np) in sym_getfreq() 389 static void sym_getclock (struct sym_hcb *np, int mult) in sym_getclock() 446 static int sym_getpciclock (struct sym_hcb *np) [all …]
|
D | sym_nvram.c | 50 void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) in sym_nvram_setup_host() 156 static void sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) in sym_display_Symbios_nvram() 188 static void sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) in sym_display_Tekram_nvram() 235 static void sym_display_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) { (void)np; (voi… in sym_display_Symbios_nvram() 236 static void sym_display_Tekram_nvram(struct sym_device *np, Tekram_nvram *nvram) { (void)np; (void)… in sym_display_Tekram_nvram() 256 static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_set_bit() 283 static void S24C16_start(struct sym_device *np, u_char *gpreg) in S24C16_start() 294 static void S24C16_stop(struct sym_device *np, u_char *gpreg) in S24C16_stop() 304 static void S24C16_do_bit(struct sym_device *np, u_char *read_bit, u_char write_bit, in S24C16_do_bit() 319 static void S24C16_write_ack(struct sym_device *np, u_char write_bit, u_char *gpreg, in S24C16_write_ack() [all …]
|
D | sym_glue.c | 140 void sym_xpt_done(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_xpt_done() 155 void sym_xpt_async_bus_reset(struct sym_hcb *np) in sym_xpt_async_bus_reset() 187 void sym_set_cam_result_error(struct sym_hcb *np, struct sym_ccb *cp, int resid) in sym_set_cam_result_error() 258 static int sym_scatter(struct sym_hcb *np, struct sym_ccb *cp, struct scsi_cmnd *cmd) in sym_scatter() 300 static int sym_queue_command(struct sym_hcb *np, struct scsi_cmnd *cmd) in sym_queue_command() 332 static inline int sym_setup_cdb(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_cdb() 345 int sym_setup_data_and_start(struct sym_hcb *np, struct scsi_cmnd *cmd, struct sym_ccb *cp) in sym_setup_data_and_start() 443 static void sym_timer(struct sym_hcb *np) in sym_timer() 511 struct sym_hcb *np = SYM_SOFTC_PTR(cmd); in sym53c8xx_queue_command_lck() local 570 struct sym_hcb *np = from_timer(np, t, s.timer); in sym53c8xx_timer() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/dlink/ |
D | dl2k.c | 60 static void dl2k_enable_int(struct netdev_private *np) in dl2k_enable_int() 114 struct netdev_private *np; in rio_probe1() local 314 struct netdev_private *np = netdev_priv(dev); in find_miiphy() local 336 struct netdev_private *np = netdev_priv(dev); in parse_eeprom() local 415 struct netdev_private *np = netdev_priv(dev); in rio_set_led_mode() local 442 struct netdev_private *np = netdev_priv(dev); in free_list() local 469 static void rio_reset_ring(struct netdev_private *np) in rio_reset_ring() 488 struct netdev_private *np = netdev_priv(dev); in alloc_list() local 530 struct netdev_private *np = netdev_priv(dev); in rio_hw_init() local 618 struct netdev_private *np = netdev_priv(dev); in rio_hw_stop() local [all …]
|
/Linux-v4.19/drivers/char/hw_random/ |
D | n2-drv.c | 146 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit) in n2rng_control_settle_v2() 153 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit, in n2rng_write_ctl_one() 200 static unsigned long n2rng_read_diag_data_one(struct n2rng *np, in n2rng_read_diag_data_one() 219 static int n2rng_generic_read_diag_data(struct n2rng *np, in n2rng_generic_read_diag_data() 248 static int n2rng_generic_write_control(struct n2rng *np, in n2rng_generic_write_control() 278 static int n2rng_try_read_ctl(struct n2rng *np) in n2rng_try_read_ctl() 305 static u64 n2rng_control_default(struct n2rng *np, int ctl) in n2rng_control_default() 357 static void n2rng_control_swstate_init(struct n2rng *np) in n2rng_control_swstate_init() 379 static int n2rng_grab_diag_control(struct n2rng *np) in n2rng_grab_diag_control() 401 static int n2rng_init_control(struct n2rng *np) in n2rng_init_control() [all …]
|
/Linux-v4.19/drivers/of/ |
D | base.c | 57 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq() 71 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix() 79 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells() 94 int of_n_size_cells(struct device_node *np) in of_n_size_cells() 110 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid() 131 struct device_node *np; in of_populate_phandle_cache() local 181 struct device_node *np; in of_core_init() local 202 static struct property *__of_find_property(const struct device_node *np, in __of_find_property() 221 struct property *of_find_property(const struct device_node *np, in of_find_property() 238 struct device_node *np; in __of_find_all_nodes() local [all …]
|
D | of_private.h | 25 struct device_node *np; member 45 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify() 61 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() 65 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs() 66 static inline void __of_update_property_sysfs(struct device_node *np, in __of_update_property_sysfs() 68 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs() 72 static inline void __of_detach_node_sysfs(struct device_node *np) {} in __of_detach_node_sysfs()
|
D | unittest.c | 50 struct device_node *np; in of_unittest_find_node_by_name() local 149 struct device_node *np; in of_unittest_dynamic() local 208 static int __init of_unittest_check_node_linkage(struct device_node *np) in of_unittest_check_node_linkage() 235 struct device_node *np; in of_unittest_check_tree_linkage() local 252 static void __init of_unittest_printf_one(struct device_node *np, const char *fmt, in of_unittest_printf_one() 288 struct device_node *np; in of_unittest_printf() local 318 struct device_node *np; member 324 struct device_node *np; in of_unittest_check_phandles() local 362 struct device_node *np; in of_unittest_parse_phandle_with_args() local 465 struct device_node *np, *p0, *p1, *p2, *p3; in of_unittest_parse_phandle_with_args_map() local [all …]
|
D | kobj.c | 63 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() 87 void __of_sysfs_remove_bin_file(struct device_node *np, struct property *prop) in __of_sysfs_remove_bin_file() 96 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) in __of_remove_property_sysfs() 103 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, in __of_update_property_sysfs() 115 int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs() 147 void __of_detach_node_sysfs(struct device_node *np) in __of_detach_node_sysfs()
|
D | property.c | 43 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() 78 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size() 113 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() 145 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index() 183 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array() 231 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array() 276 int of_property_read_variable_u32_array(const struct device_node *np, in of_property_read_variable_u32_array() 315 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64() 350 int of_property_read_variable_u64_array(const struct device_node *np, in of_property_read_variable_u64_array() 393 int of_property_read_string(const struct device_node *np, const char *propname, in of_property_read_string() [all …]
|
/Linux-v4.19/include/linux/ |
D | of.h | 77 struct device_node *np; member 262 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name() 432 static inline int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array() 462 static inline int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array() 490 static inline int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array() 518 static inline int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array() 569 static inline bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq() 574 static inline bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix() 579 static inline const char* of_node_full_name(const struct device_node *np) in of_node_full_name() 685 static inline struct property *of_find_property(const struct device_node *np, in of_find_property() [all …]
|
D | of_mdio.h | 36 const struct device_node *np) in of_mdio_parse_addr() 58 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register() 82 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, in of_phy_get_and_connect() 101 const struct device_node *np) in of_mdio_parse_addr() 105 static inline int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link() 109 static inline void of_phy_deregister_fixed_link(struct device_node *np) in of_phy_deregister_fixed_link() 112 static inline bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
|
D | of_gpio.h | 55 static inline int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 69 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() 107 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() 118 static inline int of_gpio_count(struct device_node *np) in of_gpio_count() 123 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() 138 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() 152 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
|
D | of_net.h | 19 static inline int of_get_phy_mode(struct device_node *np) in of_get_phy_mode() 24 static inline const void *of_get_mac_address(struct device_node *np) in of_get_mac_address() 29 static inline int of_get_nvmem_mac_address(struct device_node *np, void *addr) in of_get_nvmem_mac_address() 34 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node()
|
/Linux-v4.19/drivers/clk/samsung/ |
D | clk-exynos5260.c | 146 static void __init exynos5260_clk_aud_init(struct device_node *np) in exynos5260_clk_aud_init() 336 static void __init exynos5260_clk_disp_init(struct device_node *np) in exynos5260_clk_disp_init() 400 static void __init exynos5260_clk_egl_init(struct device_node *np) in exynos5260_clk_egl_init() 500 static void __init exynos5260_clk_fsys_init(struct device_node *np) in exynos5260_clk_fsys_init() 591 static void __init exynos5260_clk_g2d_init(struct device_node *np) in exynos5260_clk_g2d_init() 654 static void __init exynos5260_clk_g3d_init(struct device_node *np) in exynos5260_clk_g3d_init() 787 static void __init exynos5260_clk_gscl_init(struct device_node *np) in exynos5260_clk_gscl_init() 906 static void __init exynos5260_clk_isp_init(struct device_node *np) in exynos5260_clk_isp_init() 970 static void __init exynos5260_clk_kfc_init(struct device_node *np) in exynos5260_clk_kfc_init() 1026 static void __init exynos5260_clk_mfc_init(struct device_node *np) in exynos5260_clk_mfc_init() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 27 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_q_stats_len() local 145 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_drvinfo() local 165 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_regs() local 179 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_msglevel() local 193 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_set_msglevel() local 208 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_strings() local 284 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_ethtool_stats() local 339 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_link_ksettings() local 455 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_rxnfc() local 474 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_ringparam() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 363 struct netdev_private *np; in w840_probe1() local 568 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 598 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 630 struct netdev_private *np = netdev_priv(dev); in netdev_open() local 671 struct netdev_private *np = netdev_priv(dev); in update_link() local 737 struct netdev_private *np = netdev_priv(dev); in update_csr6() local 777 struct netdev_private *np = from_timer(np, t, timer); in netdev_timer() local 794 struct netdev_private *np = netdev_priv(dev); in init_rxtx_rings() local 839 static void free_rxtx_rings(struct netdev_private* np) in free_rxtx_rings() 868 struct netdev_private *np = netdev_priv(dev); in init_registers() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 672 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_show_dspcfg_workaround() local 681 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_set_dspcfg_workaround() local 705 struct netdev_private *np = netdev_priv(dev); in ns_ioaddr() local 724 struct netdev_private *np = netdev_priv(dev); in move_int_phy() local 749 struct netdev_private *np = netdev_priv(dev); in natsemi_init_media() local 805 struct netdev_private *np; in natsemi_probe1() local 1121 struct netdev_private *np = netdev_priv(dev); in mdio_read() local 1136 struct netdev_private *np = netdev_priv(dev); in mdio_write() local 1148 struct netdev_private *np = netdev_priv(dev); in init_phy_fixup() local 1261 struct netdev_private *np = netdev_priv(dev); in switch_port_external() local [all …]
|
/Linux-v4.19/net/core/ |
D | netpoll.c | 65 #define np_info(np, fmt, ...) \ argument 67 #define np_err(np, fmt, ...) \ argument 69 #define np_notice(np, fmt, ...) \ argument 269 static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve) in find_skb() 307 void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb, in netpoll_send_skb_on_dev() 362 void netpoll_send_udp(struct netpoll *np, const char *msg, int len) in netpoll_send_udp() 465 void netpoll_print_options(struct netpoll *np) in netpoll_print_options() 502 int netpoll_parse_options(struct netpoll *np, char *opt) in netpoll_parse_options() 584 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup() 639 int netpoll_setup(struct netpoll *np) in netpoll_setup() [all …]
|
/Linux-v4.19/drivers/misc/cxl/ |
D | of.c | 20 static const __be32 *read_prop_string(const struct device_node *np, in read_prop_string() 31 static const __be32 *read_prop_dword(const struct device_node *np, in read_prop_dword() 44 static const __be64 *read_prop64_dword(const struct device_node *np, in read_prop64_dword() 58 static int read_handle(struct device_node *np, u64 *handle) in read_handle() 73 static int read_phys_addr(struct device_node *np, char *prop_name, in read_phys_addr() 144 int cxl_of_read_afu_properties(struct cxl_afu *afu, struct device_node *np) in cxl_of_read_afu_properties() 287 static int read_adapter_irq_config(struct cxl *adapter, struct device_node *np) in read_adapter_irq_config() 340 int cxl_of_read_adapter_handle(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_handle() 349 int cxl_of_read_adapter_properties(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_properties() 459 struct device_node *np = NULL; in cxl_of_probe() local
|
/Linux-v4.19/drivers/isdn/capi/ |
D | capilib.c | 32 static inline void mq_init(struct capilib_ncci *np) in mq_init() 46 static inline int mq_enqueue(struct capilib_ncci *np, u16 msgid) in mq_enqueue() 63 static inline int mq_dequeue(struct capilib_ncci *np, u16 msgid) in mq_dequeue() 83 struct capilib_ncci *np; in capilib_new_ncci() local 108 struct capilib_ncci *np; in capilib_free_ncci() local 129 struct capilib_ncci *np; in capilib_release_appl() local 146 struct capilib_ncci *np; in capilib_release() local 161 struct capilib_ncci *np; in capilib_data_b3_req() local 184 struct capilib_ncci *np; in capilib_data_b3_conf() local
|
/Linux-v4.19/drivers/phy/tegra/ |
D | xusb.c | 78 struct device_node *pads, *np; in tegra_xusb_find_pad_node() local 93 struct device_node *np, *lanes; in tegra_xusb_pad_find_phy_node() local 106 struct device_node *np) in tegra_xusb_lane_parse_dt() 151 struct device_node *np) in tegra_xusb_pad_init() 197 struct device_node *np = tegra_xusb_pad_find_phy_node(pad, i); in tegra_xusb_pad_register() local 259 struct device_node *np; in tegra_xusb_pad_create() local 434 struct device_node *ports, *np; in tegra_xusb_find_port_node() local 458 struct device_node *np; in tegra_xusb_find_port() local 510 struct device_node *np, in tegra_xusb_port_init() 548 struct device_node *np = port->dev.of_node; in tegra_xusb_usb2_port_parse_dt() local [all …]
|
/Linux-v4.19/net/ncsi/ |
D | ncsi-manage.c | 33 struct ncsi_package *np; in ncsi_report_link() local 71 struct ncsi_package *np = nc->package; in ncsi_channel_monitor() local 170 struct ncsi_channel *ncsi_find_channel(struct ncsi_package *np, in ncsi_find_channel() 183 struct ncsi_channel *ncsi_add_channel(struct ncsi_package *np, unsigned char id) in ncsi_add_channel() 222 struct ncsi_package *np = nc->package; in ncsi_remove_channel() local 247 struct ncsi_package *np; in ncsi_find_package() local 260 struct ncsi_package *np, *tmp; in ncsi_add_package() local 287 void ncsi_remove_package(struct ncsi_package *np) in ncsi_remove_package() 308 struct ncsi_package **np, in ncsi_find_package_and_channel() 429 struct ncsi_package *np = ndp->active_package; in ncsi_suspend_channel() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 964 static bool nv_optimized(struct fe_priv *np) in nv_optimized() 1001 struct fe_priv *np = get_nvpriv(dev); in setup_hw_rings() local 1023 struct fe_priv *np = get_nvpriv(dev); in free_rings() local 1046 struct fe_priv *np = get_nvpriv(dev); in using_multi_irqs() local 1058 struct fe_priv *np = get_nvpriv(dev); in nv_txrx_gate() local 1075 struct fe_priv *np = get_nvpriv(dev); in nv_enable_irq() local 1091 struct fe_priv *np = get_nvpriv(dev); in nv_disable_irq() local 1115 struct fe_priv *np = get_nvpriv(dev); in nv_disable_hw_interrupts() local 1129 struct fe_priv *np = get_nvpriv(dev); in nv_napi_enable() local 1136 struct fe_priv *np = get_nvpriv(dev); in nv_napi_disable() local [all …]
|