/linux/drivers/power/supply/ |
H A D | bq2415x_charger.c | 188 static int bq2415x_i2c_read(struct bq2415x_device *bq, u8 reg) in bq2415x_i2c_read() 218 static int bq2415x_i2c_read_mask(struct bq2415x_device *bq, u8 reg, in bq2415x_i2c_read_mask() 233 static int bq2415x_i2c_read_bit(struct bq2415x_device *bq, u8 reg, u8 bit) in bq2415x_i2c_read_bit() 243 static int bq2415x_i2c_write(struct bq2415x_device *bq, u8 reg, u8 val) in bq2415x_i2c_write() 272 static int bq2415x_i2c_write_mask(struct bq2415x_device *bq, u8 reg, u8 val, in bq2415x_i2c_write_mask() 291 static int bq2415x_i2c_write_bit(struct bq2415x_device *bq, u8 reg, in bq2415x_i2c_write_bit() 302 static int bq2415x_exec_command(struct bq2415x_device *bq, in bq2415x_exec_command() 406 static enum bq2415x_chip bq2415x_detect_chip(struct bq2415x_device *bq) in bq2415x_detect_chip() 456 static int bq2415x_detect_revision(struct bq2415x_device *bq) in bq2415x_detect_revision() 496 static int bq2415x_get_vender_code(struct bq2415x_device *bq) in bq2415x_get_vender_code() [all …]
|
H A D | bq256xx_charger.c | 364 struct bq256xx_device *bq = in bq256xx_usb_notifier() local 375 struct bq256xx_device *bq = in bq256xx_usb_work() local 427 static int bq256xx_get_state(struct bq256xx_device *bq, in bq256xx_get_state() 456 static int bq256xx_set_charge_type(struct bq256xx_device *bq, int type) in bq256xx_set_charge_type() 477 static int bq256xx_get_ichg_curr(struct bq256xx_device *bq) in bq256xx_get_ichg_curr() 493 static int bq25618_619_get_ichg_curr(struct bq256xx_device *bq) in bq25618_619_get_ichg_curr() 512 static int bq256xx_set_ichg_curr(struct bq256xx_device *bq, int ichg) in bq256xx_set_ichg_curr() 524 static int bq25618_619_set_ichg_curr(struct bq256xx_device *bq, int ichg) in bq25618_619_set_ichg_curr() 543 static int bq25618_619_get_chrg_volt(struct bq256xx_device *bq) in bq25618_619_get_chrg_volt() 566 static int bq25611d_get_chrg_volt(struct bq256xx_device *bq) in bq25611d_get_chrg_volt() [all …]
|
H A D | bq25890_charger.c | 361 static int bq25890_field_read(struct bq25890_device *bq, in bq25890_field_read() 374 static int bq25890_field_write(struct bq25890_device *bq, in bq25890_field_write() 456 static int bq25890_get_vbus_voltage(struct bq25890_device *bq) in bq25890_get_vbus_voltage() 467 static void bq25890_update_state(struct bq25890_device *bq, in bq25890_update_state() 492 struct bq25890_device *bq = power_supply_get_drvdata(psy); in bq25890_power_supply_get_property() local 689 struct bq25890_device *bq = power_supply_get_drvdata(psy); in bq25890_power_supply_set_property() local 736 static int bq25890_charger_get_scaled_iinlim_regval(struct bq25890_device *bq, in bq25890_charger_get_scaled_iinlim_regval() 746 struct bq25890_device *bq = power_supply_get_drvdata(psy); in bq25890_charger_external_power_changed() local 781 static int bq25890_get_chip_state(struct bq25890_device *bq, in bq25890_get_chip_state() 817 static irqreturn_t __bq25890_handle_irq(struct bq25890_device *bq) in __bq25890_handle_irq() [all …]
|
H A D | bq24257_charger.c | 205 static int bq24257_field_read(struct bq24257_device *bq, in bq24257_field_read() 218 static int bq24257_field_write(struct bq24257_device *bq, in bq24257_field_write() 256 static int bq24257_get_input_current_limit(struct bq24257_device *bq, in bq24257_get_input_current_limit() 280 static int bq24257_set_input_current_limit(struct bq24257_device *bq, in bq24257_set_input_current_limit() 301 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_get_property() local 395 struct bq24257_device *bq = power_supply_get_drvdata(psy); in bq24257_power_supply_set_property() local 416 static int bq24257_get_chip_state(struct bq24257_device *bq, in bq24257_get_chip_state() 457 static bool bq24257_state_changed(struct bq24257_device *bq, in bq24257_state_changed() 525 static int bq24257_iilimit_autoset(struct bq24257_device *bq) in bq24257_iilimit_autoset() 588 struct bq24257_device *bq = container_of(work, struct bq24257_device, in bq24257_iilimit_setup_work() local [all …]
|
/linux/include/net/libeth/ |
H A D | xsk.h | 24 static inline bool libeth_xsk_tx_queue_head(struct libeth_xdp_tx_bulk *bq, in libeth_xsk_tx_queue_head() 46 static inline void libeth_xsk_tx_queue_frag(struct libeth_xdp_tx_bulk *bq, in libeth_xsk_tx_queue_frag() 64 libeth_xsk_tx_queue_bulk(struct libeth_xdp_tx_bulk *bq, in libeth_xsk_tx_queue_bulk() 66 bool (*flush_bulk)(struct libeth_xdp_tx_bulk *bq, in libeth_xsk_tx_queue_bulk() 149 #define libeth_xsk_tx_flush_bulk(bq, flags, prep, xmit) \ argument 329 #define libeth_xsk_tx_init_bulk(bq, prog, dev, xdpsqs, num) \ argument 391 const struct libeth_xdp_tx_bulk *bq) in __libeth_xsk_run_prog() 419 #define libeth_xsk_run_prog(xdp, bq, fl) \ argument 442 struct libeth_xdp_tx_bulk *bq, struct napi_struct *napi, in __libeth_xsk_run_pass() 447 struct libeth_xdp_tx_bulk *bq), in __libeth_xsk_run_pass() [all …]
|
H A D | xdp.h | 402 #define LIBETH_XDP_ONSTACK_BULK(bq) \ argument 598 static inline bool libeth_xdp_tx_queue_head(struct libeth_xdp_tx_bulk *bq, in libeth_xdp_tx_queue_head() 622 static inline void libeth_xdp_tx_queue_frag(struct libeth_xdp_tx_bulk *bq, in libeth_xdp_tx_queue_frag() 637 libeth_xdp_tx_queue_bulk(struct libeth_xdp_tx_bulk *bq, in libeth_xdp_tx_queue_bulk() 639 bool (*flush_bulk)(struct libeth_xdp_tx_bulk *bq, in libeth_xdp_tx_queue_bulk() 771 __libeth_xdp_tx_flush_bulk(struct libeth_xdp_tx_bulk *bq, u32 flags, in __libeth_xdp_tx_flush_bulk() 810 #define libeth_xdp_tx_flush_bulk(bq, flags, prep, xmit) \ argument 823 #define libeth_xdp_xmit_init_bulk(bq, dev, xdpsqs, num) \ argument 826 static inline void __libeth_xdp_xmit_init_bulk(struct libeth_xdp_tx_bulk *bq, in __libeth_xdp_xmit_init_bulk() 874 static inline u32 libeth_xdp_xmit_queue_head(struct libeth_xdp_tx_bulk *bq, in libeth_xdp_xmit_queue_head() [all …]
|
H A D | tx.h | 105 struct xdp_frame_bulk *bq; member
|
/linux/drivers/net/ethernet/intel/libeth/ |
H A D | xdp.c | 94 libeth_xdp_tx_return_bulk(const struct libeth_xdp_tx_frame *bq, u32 count) in libeth_xdp_tx_return_bulk() 123 void __cold libeth_xdp_tx_exception(struct libeth_xdp_tx_bulk *bq, u32 sent, in libeth_xdp_tx_exception() 152 u32 __cold libeth_xdp_xmit_return_bulk(const struct libeth_xdp_tx_frame *bq, in libeth_xdp_xmit_return_bulk() 295 u32 __cold libeth_xdp_prog_exception(const struct libeth_xdp_tx_bulk *bq, in libeth_xdp_prog_exception() 316 struct xdp_frame_bulk *bq) in libeth_xdp_put_netmem_bulk() 335 struct xdp_frame_bulk *bq, bool frags) in libeth_xdp_return_buff_bulk()
|
H A D | xsk.c | 14 void __cold libeth_xsk_tx_return_bulk(const struct libeth_xdp_tx_frame *bq, in libeth_xsk_tx_return_bulk() 99 const struct libeth_xdp_tx_bulk *bq, in __libeth_xsk_run_prog_slow()
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_biquad.h | 26 static inline void biquad2_init(struct biquad2_state *bq, in biquad2_init() 39 static inline int16_t biquad2(struct biquad2_state *bq, int16_t sample) in biquad2()
|
/linux/kernel/bpf/ |
H A D | cpumap.c | 436 struct xdp_bulk_queue *bq; in __cpu_map_entry_alloc() local 712 static void bq_flush_to_queue(struct xdp_bulk_queue *bq) in bq_flush_to_queue() 751 struct xdp_bulk_queue *bq = this_cpu_ptr(rcpu->bulkq); in bq_enqueue() local 805 struct xdp_bulk_queue *bq, *tmp; in __cpu_map_flush() local
|
/linux/drivers/net/ |
H A D | veth.c | 573 static void veth_xdp_flush_bq(struct veth_rq *rq, struct veth_xdp_tx_bq *bq) in veth_xdp_flush_bq() 597 static void veth_xdp_flush(struct veth_rq *rq, struct veth_xdp_tx_bq *bq) in veth_xdp_flush() 621 struct veth_xdp_tx_bq *bq) in veth_xdp_tx() 638 struct veth_xdp_tx_bq *bq, in veth_xdp_rcv_one() 708 int n_xdpf, struct veth_xdp_tx_bq *bq, in veth_xdp_rcv_bulk_skb() 790 struct veth_xdp_tx_bq *bq, in veth_xdp_rcv_skb() 900 struct veth_xdp_tx_bq *bq, in veth_xdp_rcv() 973 struct veth_xdp_tx_bq bq; in veth_poll() local
|
/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 398 struct xdp_frame_bulk *bq) in vmxnet3_unmap_pkt() 443 struct xdp_frame_bulk bq; in vmxnet3_tq_tx_complete() local 484 struct xdp_frame_bulk bq; in vmxnet3_tq_cleanup() local
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_fdma.c | 335 struct xdp_frame_bulk bq; in lan966x_fdma_tx_clear_buf() local
|
/linux/drivers/net/ethernet/socionext/ |
H A D | netsec.c | 638 struct xdp_frame_bulk bq; in netsec_clean_tx_dring() local
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_main.c | 2813 struct xdp_frame_bulk bq; in mvpp2_txq_bufs_free() local
|
/linux/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 1873 struct xdp_frame_bulk bq; in mvneta_txq_bufs_free() local
|