/drivers/net/ |
D | b44.c | 166 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32() 171 static inline void bw32(const struct b44 *bp, in bw32() 177 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit() 202 static inline void __b44_cam_read(struct b44 *bp, unsigned char *data, int index) in __b44_cam_read() 224 static inline void __b44_cam_write(struct b44 *bp, unsigned char *data, int index) in __b44_cam_write() 242 static inline void __b44_disable_ints(struct b44 *bp) in __b44_disable_ints() 247 static void b44_disable_ints(struct b44 *bp) in b44_disable_ints() 255 static void b44_enable_ints(struct b44 *bp) in b44_enable_ints() 260 static int __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) in __b44_readphy() 276 static int __b44_writephy(struct b44 *bp, int phy_addr, int reg, u32 val) in __b44_writephy() [all …]
|
D | bnx2x_main.c | 133 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind() 141 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind() 161 static void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, in bnx2x_post_dmae() 177 void bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, in bnx2x_write_dmae() 251 void bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32) in bnx2x_read_dmae() 327 static void bnx2x_wb_wr(struct bnx2x *bp, int reg, u32 val_hi, u32 val_lo) in bnx2x_wb_wr() 337 static u64 bnx2x_wb_rd(struct bnx2x *bp, int reg) in bnx2x_wb_rd() 347 static int bnx2x_mc_assert(struct bnx2x *bp) in bnx2x_mc_assert() 468 static void bnx2x_fw_dump(struct bnx2x *bp) in bnx2x_fw_dump() 495 static void bnx2x_panic_dump(struct bnx2x *bp) in bnx2x_panic_dump() [all …]
|
D | bnx2.c | 238 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() 257 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind() 269 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind() 278 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val) in bnx2_shmem_wr() 284 bnx2_shmem_rd(struct bnx2 *bp, u32 offset) in bnx2_shmem_rd() 290 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) in bnx2_ctx_wr() 314 bnx2_read_phy(struct bnx2 *bp, u32 reg, u32 *val) in bnx2_read_phy() 371 bnx2_write_phy(struct bnx2 *bp, u32 reg, u32 val) in bnx2_write_phy() 420 bnx2_disable_int(struct bnx2 *bp) in bnx2_disable_int() 434 bnx2_enable_int(struct bnx2 *bp) in bnx2_enable_int() [all …]
|
D | macb.c | 40 #define TX_RING_GAP(bp) \ argument 42 #define TX_BUFFS_AVAIL(bp) \ argument 56 static void __macb_set_hwaddr(struct macb *bp) in __macb_set_hwaddr() 67 static void __init macb_get_hwaddr(struct macb *bp) in macb_get_hwaddr() 93 struct macb *bp = bus->priv; in macb_mdio_read() local 114 struct macb *bp = bus->priv; in macb_mdio_write() local 137 struct macb *bp = netdev_priv(dev); in macb_handle_link_change() local 191 struct macb *bp = netdev_priv(dev); in macb_mii_probe() local 239 static int macb_mii_init(struct macb *bp) in macb_mii_init() 295 static void macb_update_stats(struct macb *bp) in macb_update_stats() [all …]
|
D | dnet.c | 31 u16 dnet_readw_mac(struct dnet *bp, u16 reg) in dnet_readw_mac() 50 void dnet_writew_mac(struct dnet *bp, u16 reg, u16 val) in dnet_writew_mac() 63 static void __dnet_set_hwaddr(struct dnet *bp) in __dnet_set_hwaddr() 75 static void __devinit dnet_get_hwaddr(struct dnet *bp) in dnet_get_hwaddr() 105 struct dnet *bp = bus->priv; in dnet_mdio_read() local 138 struct dnet *bp = bus->priv; in dnet_mdio_write() local 181 struct dnet *bp = netdev_priv(dev); in dnet_handle_link_change() local 262 struct dnet *bp = netdev_priv(dev); in dnet_mii_probe() local 315 static int dnet_mii_init(struct dnet *bp) in dnet_mii_init() 370 static void dnet_update_stats(struct dnet *bp) in dnet_update_stats() [all …]
|
D | sunbmac.c | 98 static void qec_init(struct bigmac *bp) in qec_init() 165 static void bigmac_stop(struct bigmac *bp) in bigmac_stop() 171 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters() 193 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings() 212 static void bigmac_init_rings(struct bigmac *bp, int from_irq) in bigmac_init_rings() 270 static void write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) in write_tcvr_bit() 293 static int read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit() 316 static int read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit2() 338 static void put_tcvr_byte(struct bigmac *bp, in put_tcvr_byte() 350 static void bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, in bigmac_tcvr_write() [all …]
|
D | defxx.c | 364 static inline void dfx_writel(DFX_board_t *bp, int offset, u32 data) in dfx_writel() 370 static inline void dfx_outl(DFX_board_t *bp, int offset, u32 data) in dfx_outl() 375 static void dfx_port_write_long(DFX_board_t *bp, int offset, u32 data) in dfx_port_write_long() 388 static inline void dfx_readl(DFX_board_t *bp, int offset, u32 *data) in dfx_readl() 394 static inline void dfx_inl(DFX_board_t *bp, int offset, u32 *data) in dfx_inl() 399 static void dfx_port_read_long(DFX_board_t *bp, int offset, u32 *data) in dfx_port_read_long() 525 DFX_board_t *bp; /* board pointer */ in dfx_register() local 667 DFX_board_t *bp = netdev_priv(dev); in dfx_bus_init() local 813 DFX_board_t *bp = netdev_priv(dev); in dfx_bus_uninit() local 868 static void __devinit dfx_bus_config_check(DFX_board_t *bp) in dfx_bus_config_check() [all …]
|
D | bnx2x_link.c | 159 struct bnx2x *bp = params->bp; in bnx2x_set_phy_mdio() local 166 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en() 175 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis() 188 struct bnx2x *bp = params->bp; in bnx2x_emac_init() local 231 struct bnx2x *bp = params->bp; in bnx2x_emac_enable() local 364 struct bnx2x *bp = params->bp; in bnx2x_bmac_enable() local 481 struct bnx2x *bp = params->bp; in bnx2x_phy_deassert() local 507 struct bnx2x *bp = params->bp; in bnx2x_link_status_update() local 638 struct bnx2x *bp = params->bp; in bnx2x_update_mng() local 645 static void bnx2x_bmac_rx_disable(struct bnx2x *bp, u8 port) in bnx2x_bmac_rx_disable() [all …]
|
D | bmac.c | 227 struct bmac_data *bp = netdev_priv(dev); in bmac_enable_and_reset_chip() local 311 struct bmac_data *bp = netdev_priv(dev); in bmac_init_registers() local 406 struct bmac_data *bp = netdev_priv(dev); in bmac_start_chip() local 426 struct bmac_data *bp = netdev_priv(dev); in bmac_init_phy() local 459 struct bmac_data *bp = netdev_priv(dev); in bmac_suspend() local 509 struct bmac_data *bp = netdev_priv(dev); in bmac_resume() local 526 struct bmac_data *bp = netdev_priv(dev); in bmac_set_address() local 551 struct bmac_data *bp = netdev_priv(dev); in bmac_set_timeout() local 589 bmac_init_tx_ring(struct bmac_data *bp) in bmac_init_tx_ring() 610 bmac_init_rx_ring(struct bmac_data *bp) in bmac_init_rx_ring() [all …]
|
D | bnx2x.h | 91 #define REG_ADDR(bp, offset) (bp->regview + offset) argument 93 #define REG_RD(bp, offset) readl(REG_ADDR(bp, offset)) argument 94 #define REG_RD8(bp, offset) readb(REG_ADDR(bp, offset)) argument 95 #define REG_RD64(bp, offset) readq(REG_ADDR(bp, offset)) argument 97 #define REG_WR(bp, offset, val) writel((u32)val, REG_ADDR(bp, offset)) argument 98 #define REG_WR8(bp, offset, val) writeb((u8)val, REG_ADDR(bp, offset)) argument 99 #define REG_WR16(bp, offset, val) writew((u16)val, REG_ADDR(bp, offset)) argument 100 #define REG_WR32(bp, offset, val) REG_WR(bp, offset, val) argument 102 #define REG_RD_IND(bp, offset) bnx2x_reg_rd_ind(bp, offset) argument 103 #define REG_WR_IND(bp, offset, val) bnx2x_reg_wr_ind(bp, offset, val) argument [all …]
|
D | bnx2x_init.h | 123 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, const u32 *data, in bnx2x_init_str_wr() 137 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, const u32 *data, in bnx2x_init_ind_wr() 151 static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len) in bnx2x_write_big_buf() 168 static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, u32 len) in bnx2x_init_fill() 180 static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, const u32 *data, in bnx2x_init_wr_64() 251 static void bnx2x_init_wr_wb(struct bnx2x *bp, u32 addr, const u32 *data, in bnx2x_init_wr_wb() 304 static void bnx2x_init_block(struct bnx2x *bp, u32 op_start, u32 op_end) in bnx2x_init_block() 561 static void bnx2x_init_pxp(struct bnx2x *bp) in bnx2x_init_pxp()
|
/drivers/char/ |
D | specialix.c | 200 static inline int board_No(struct specialix_board *bp) in board_No() 222 static inline unsigned char sx_in(struct specialix_board *bp, in sx_in() 232 static inline void sx_out(struct specialix_board *bp, unsigned short reg, in sx_out() 242 static inline unsigned char sx_in_off(struct specialix_board *bp, in sx_in_off() 252 static inline void sx_out_off(struct specialix_board *bp, in sx_out_off() 262 static void sx_wait_CCR(struct specialix_board *bp) in sx_wait_CCR() 281 static void sx_wait_CCR_off(struct specialix_board *bp) in sx_wait_CCR_off() 304 static int sx_request_io_range(struct specialix_board *bp) in sx_request_io_range() 312 static void sx_release_io_range(struct specialix_board *bp) in sx_release_io_range() 320 static int sx_set_irq(struct specialix_board *bp) in sx_set_irq() [all …]
|
D | riscom8.c | 143 static inline int board_No(struct riscom_board const *bp) in board_No() 161 static inline unsigned char rc_in(struct riscom_board const *bp, in rc_in() 168 static inline void rc_out(struct riscom_board const *bp, unsigned short reg, in rc_out() 175 static void rc_wait_CCR(struct riscom_board const *bp) in rc_wait_CCR() 191 static int rc_request_io_range(struct riscom_board * const bp) in rc_request_io_range() 209 static void rc_release_io_range(struct riscom_board * const bp) in rc_release_io_range() 218 static void __init rc_init_CD180(struct riscom_board const *bp) in rc_init_CD180() 244 static int __init rc_probe(struct riscom_board *bp) in rc_probe() 316 static struct riscom_port *rc_get_port(struct riscom_board const *bp, in rc_get_port() 333 static void rc_receive_exc(struct riscom_board const *bp) in rc_receive_exc() [all …]
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-io.c | 36 #define BUFFER_CHECK(bp) do { \ argument 46 #define BUFFER_CHECK(bp) do {} while(0) argument 113 static void pvr2_buffer_describe(struct pvr2_buffer *bp,const char *msg) in pvr2_buffer_describe() 130 static void pvr2_buffer_remove(struct pvr2_buffer *bp) in pvr2_buffer_remove() 165 static void pvr2_buffer_set_none(struct pvr2_buffer *bp) in pvr2_buffer_set_none() 181 static int pvr2_buffer_set_ready(struct pvr2_buffer *bp) in pvr2_buffer_set_ready() 209 static void pvr2_buffer_set_idle(struct pvr2_buffer *bp) in pvr2_buffer_set_idle() 234 static void pvr2_buffer_set_queued(struct pvr2_buffer *bp) in pvr2_buffer_set_queued() 259 static void pvr2_buffer_wipe(struct pvr2_buffer *bp) in pvr2_buffer_wipe() 266 static int pvr2_buffer_init(struct pvr2_buffer *bp, in pvr2_buffer_init() [all …]
|
D | pvrusb2-dvb.c | 37 struct pvr2_buffer *bp; in pvr2_dvb_feed_func() local 146 struct pvr2_buffer *bp; in pvr2_dvb_stream_do_start() local
|
/drivers/sbus/char/ |
D | bbc_i2c.c | 54 static void set_device_claimage(struct bbc_i2c_bus *bp, struct of_device *op, int val) in set_device_claimage() 69 struct of_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev() 89 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct of_device *op) in bbc_i2c_attach() 116 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach() local 123 static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status) in wait_for_pin() 152 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_writeb() local 183 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_readb() local 279 struct bbc_i2c_bus *bp = dev_id; in bbc_i2c_interrupt() local 291 static void __init reset_one_i2c(struct bbc_i2c_bus *bp) in reset_one_i2c() 302 struct bbc_i2c_bus *bp; in attach_one_i2c() local [all …]
|
D | bbc_envctrl.c | 445 static void attach_one_temp(struct bbc_i2c_bus *bp, struct of_device *op, in attach_one_temp() 490 static void attach_one_fan(struct bbc_i2c_bus *bp, struct of_device *op, in attach_one_fan() 525 int bbc_envctrl_init(struct bbc_i2c_bus *bp) in bbc_envctrl_init() 559 void bbc_envctrl_cleanup(struct bbc_i2c_bus *bp) in bbc_envctrl_cleanup()
|
/drivers/net/skfp/ |
D | skfddi.c | 392 skfddi_priv *bp = &smc->os; in skfp_driver_init() local 566 skfddi_priv *bp = &smc->os; in skfp_close() local 624 skfddi_priv *bp; in skfp_interrupt() local 689 struct s_smc *bp = netdev_priv(dev); in skfp_ctl_get_stats() local 854 skfddi_priv *bp = &smc->os; in skfp_ctl_set_multicast_list() local 952 skfddi_priv *bp = &smc->os; in skfp_ctl_set_mac_address() local 1071 skfddi_priv *bp = &smc->os; in skfp_send_pkt() local 1133 skfddi_priv *bp = &smc->os; in send_queued_packets() local 1305 skfddi_priv *bp = &smc->os; in llc_restart_tx() local 1489 skfddi_priv *bp = &smc->os; in dma_complete() local [all …]
|
/drivers/isdn/mISDN/ |
D | core.c | 121 char *bp = buf; in _show_channelmap() local 281 struct Bprotocol *bp; in get_all_Bprotocols() local 294 struct Bprotocol *bp; in get_Bprotocol4mask() local 321 mISDN_register_Bprotocol(struct Bprotocol *bp) in mISDN_register_Bprotocol() 344 mISDN_unregister_Bprotocol(struct Bprotocol *bp) in mISDN_unregister_Bprotocol()
|
/drivers/parport/ |
D | ieee1284_ops.c | 734 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_write_data() local 778 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_read_data() local 822 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_write_addr() local 866 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_read_addr() local
|
/drivers/input/joystick/ |
D | twidjoy.c | 107 struct twidjoy_button_spec *bp; in twidjoy_process_packet() local 184 struct twidjoy_button_spec *bp; in twidjoy_connect() local
|
/drivers/ide/ |
D | ide-h8300.c | 134 unsigned short *bp = (unsigned short *)buf; in mm_outsw() local 141 unsigned short *bp = (unsigned short *)buf; in mm_insw() local
|
/drivers/pcmcia/ |
D | m32r_cfc.c | 123 unsigned char *bp = (unsigned char *)buf; in pcc_ioread_byte() local 148 unsigned short *bp = (unsigned short *)buf; in pcc_ioread_word() local 179 unsigned char *bp = (unsigned char *)buf; in pcc_iowrite_byte() local 204 unsigned short *bp = (unsigned short *)buf; in pcc_iowrite_word() local
|
/drivers/power/ |
D | apm_power.c | 46 struct find_bat_param *bp = (struct find_bat_param *)data; in __find_main_battery() local 74 struct find_bat_param bp; in find_main_battery() local
|
/drivers/scsi/libfc/ |
D | fc_frame.c | 37 const u8 *bp; in fc_frame_crc_check() local
|