Home
last modified time | relevance | path

Searched refs:bq (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.3-rc2/drivers/power/supply/
A Dbq2415x_charger.c693 ret = bq2415x_set_##prop(bq, bq->init_data.prop); \
893 if (bq->automode > 0 && (bq->reported_mode != bq->mode)) { in bq2415x_timer_work()
895 bq2415x_set_mode(bq, bq->reported_mode); in bq2415x_timer_work()
1484 bq->charger_desc.name = bq->name; in bq2415x_power_supply_init()
1512 bq->charger = power_supply_register(bq->dev, &bq->charger_desc, in bq2415x_power_supply_init()
1567 bq = devm_kzalloc(&client->dev, sizeof(*bq), GFP_KERNEL); in bq2415x_probe()
1568 if (!bq) { in bq2415x_probe()
1622 memcpy(&bq->init_data, pdata, sizeof(bq->init_data)); in bq2415x_probe()
1639 if (bq->notify_node || bq->init_data.notify_device) { in bq2415x_probe()
1673 bq2415x_set_mode(bq, bq->reported_mode); in bq2415x_probe()
[all …]
A Dbq25890_charger.c841 adc_conv_rate = bq->state.online && !bq->state.hiz; in __bq25890_handle_irq()
972 ret = bq25890_get_chip_state(bq, &bq->state); in bq25890_hw_init()
979 ret = bq25890_field_write(bq, F_CONV_RATE, bq->state.online && !bq->state.hiz); in bq25890_hw_init()
1032 snprintf(bq->name, sizeof(bq->name), "bq25890-charger-%d", bq->id); in bq25890_power_supply_init()
1034 bq->desc.name = bq->name; in bq25890_power_supply_init()
1039 bq->charger = devm_power_supply_register(bq->dev, &bq->desc, &psy_cfg); in bq25890_power_supply_init()
1453 bq = devm_kzalloc(dev, sizeof(*bq), GFP_KERNEL); in bq25890_probe()
1454 if (!bq) in bq25890_probe()
1529 usb_register_notifier(bq->usb_phy, &bq->usb_nb); in bq25890_probe()
1540 usb_unregister_notifier(bq->usb_phy, &bq->usb_nb); in bq25890_remove()
[all …]
A Dbq24257_charger.c438 if (bq->pg) in bq24257_get_chip_state()
627 ret = bq24257_field_write(bq, F_IILIMIT, bq->init_data.iilimit); in bq24257_handle_state_change()
855 bq->charger = devm_power_supply_register(bq->dev, in bq24257_power_supply_init()
871 bq->pg = NULL; in bq24257_pg_gpio_probe()
875 if (bq->pg) in bq24257_pg_gpio_probe()
876 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
963 bq = devm_kzalloc(dev, sizeof(*bq), GFP_KERNEL); in bq24257_probe()
964 if (!bq) in bq24257_probe()
968 bq->dev = dev; in bq24257_probe()
993 bq->rmap_fields[i] = devm_regmap_field_alloc(dev, bq->rmap, in bq24257_probe()
[all …]
A Dbq25980_charger.c1065 bq->charger = devm_power_supply_register(bq->dev, in bq25980_power_supply_init()
1071 bq->battery = devm_power_supply_register(bq->dev, in bq25980_power_supply_init()
1160 bq->init_data.sc_vlim = bq->chip_info->busovp_sc_def; in bq25980_parse_dt()
1162 if (bq->init_data.sc_vlim > bq->chip_info->busovp_sc_max || in bq25980_parse_dt()
1163 bq->init_data.sc_vlim < bq->chip_info->busovp_sc_min) { in bq25980_parse_dt()
1172 bq->init_data.sc_ilim = bq->chip_info->busocp_def; in bq25980_parse_dt()
1174 if (bq->init_data.sc_ilim > bq->chip_info->busocp_sc_max || in bq25980_parse_dt()
1196 bq->init_data.bypass_ilim = bq->chip_info->busocp_def; in bq25980_parse_dt()
1205 bq->state.bypass = device_property_read_bool(bq->dev, in bq25980_parse_dt()
1217 bq = devm_kzalloc(dev, sizeof(*bq), GFP_KERNEL); in bq25980_probe()
[all …]
A Dbq256xx_charger.c1085 ret = bq->chip_info->bq256xx_get_vindpm(bq); in bq256xx_get_charger_property()
1092 ret = bq->chip_info->bq256xx_get_iindpm(bq); in bq256xx_get_charger_property()
1099 ret = bq->chip_info->bq256xx_get_vbatreg(bq); in bq256xx_get_charger_property()
1106 ret = bq->chip_info->bq256xx_get_ichg(bq); in bq256xx_get_charger_property()
1120 ret = bq->chip_info->bq256xx_get_iterm(bq); in bq256xx_get_charger_property()
1557 ret = bq->chip_info->bq256xx_set_vindpm(bq, bq->init_data.vindpm); in bq256xx_hw_init()
1561 ret = bq->chip_info->bq256xx_set_iindpm(bq, bq->init_data.iindpm); in bq256xx_hw_init()
1565 ret = bq->chip_info->bq256xx_set_ichg(bq, in bq256xx_hw_init()
1570 ret = bq->chip_info->bq256xx_set_iprechg(bq, in bq256xx_hw_init()
1575 ret = bq->chip_info->bq256xx_set_vbatreg(bq, in bq256xx_hw_init()
[all …]
/linux-6.3-rc2/drivers/isdn/mISDN/
A Ddsp_biquad.h29 bq->gain = gain; in biquad2_init()
30 bq->a1 = a1; in biquad2_init()
31 bq->a2 = a2; in biquad2_init()
32 bq->b1 = b1; in biquad2_init()
33 bq->b2 = b2; in biquad2_init()
35 bq->z1 = 0; in biquad2_init()
36 bq->z2 = 0; in biquad2_init()
44 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
45 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
47 bq->z2 = bq->z1; in biquad2()
[all …]
/linux-6.3-rc2/kernel/bpf/
A Dcpumap.c428 struct xdp_bulk_queue *bq; in __cpu_map_entry_alloc() local
444 bq = per_cpu_ptr(rcpu->bulkq, i); in __cpu_map_entry_alloc()
445 bq->obj = rcpu; in __cpu_map_entry_alloc()
698 if (unlikely(!bq->count)) in bq_flush_to_queue()
704 for (i = 0; i < bq->count; i++) { in bq_flush_to_queue()
715 bq->count = 0; in bq_flush_to_queue()
733 bq_flush_to_queue(bq); in bq_enqueue()
744 bq->q[bq->count++] = xdpf; in bq_enqueue()
746 if (!bq->flush_node.prev) in bq_enqueue()
782 struct xdp_bulk_queue *bq, *tmp; in __cpu_map_flush() local
[all …]
A Ddevmap.c368 unsigned int cnt = bq->count; in bq_xmit_all()
382 if (bq->xdp_prog) { in bq_xmit_all()
383 to_send = dev_map_bpf_prog_run(bq->xdp_prog, bq->q, cnt, dev); in bq_xmit_all()
404 bq->count = 0; in bq_xmit_all()
419 bq->dev_rx = NULL; in __dev_flush()
420 bq->xdp_prog = NULL; in __dev_flush()
453 bq_xmit_all(bq, 0); in bq_enqueue()
462 if (!bq->dev_rx) { in bq_enqueue()
463 bq->dev_rx = dev_rx; in bq_enqueue()
464 bq->xdp_prog = xdp_prog; in bq_enqueue()
[all …]
/linux-6.3-rc2/net/core/
A Dxdp.c465 page_pool_put_page_bulk(xa->page_pool, bq->q, bq->count); in xdp_flush_frame_bulk()
467 bq->count = 0; in xdp_flush_frame_bulk()
473 struct xdp_frame_bulk *bq) in xdp_return_frame_bulk() argument
483 xa = bq->xa; in xdp_return_frame_bulk()
486 bq->count = 0; in xdp_return_frame_bulk()
487 bq->xa = xa; in xdp_return_frame_bulk()
491 xdp_flush_frame_bulk(bq); in xdp_return_frame_bulk()
494 xdp_flush_frame_bulk(bq); in xdp_return_frame_bulk()
506 bq->q[bq->count++] = skb_frag_address(frag); in xdp_return_frame_bulk()
508 xdp_flush_frame_bulk(bq); in xdp_return_frame_bulk()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_txrx_lib.c231 struct xdp_frame_bulk *bq) in ice_clean_xdp_tx_buf() argument
242 xdp_return_frame_bulk(tx_buf->xdpf, bq); in ice_clean_xdp_tx_buf()
260 struct xdp_frame_bulk bq; in ice_clean_xdp_irq() local
280 xdp_frame_bulk_init(&bq); in ice_clean_xdp_irq()
302 ice_clean_xdp_tx_buf(dev, tx_buf, &bq); in ice_clean_xdp_irq()
308 ice_clean_xdp_tx_buf(dev, head, &bq); in ice_clean_xdp_irq()
311 xdp_flush_frame_bulk(&bq); in ice_clean_xdp_irq()
/linux-6.3-rc2/drivers/net/
A Dveth.c530 sent = veth_xdp_xmit(rq->dev, bq->count, bq->q, 0, false); in veth_xdp_flush_bq()
537 xdp_return_frame(bq->q[i]); in veth_xdp_flush_bq()
539 drops = bq->count - sent; in veth_xdp_flush_bq()
547 bq->count = 0; in veth_xdp_flush_bq()
557 veth_xdp_flush_bq(rq, bq); in veth_xdp_flush()
582 veth_xdp_flush_bq(rq, bq); in veth_xdp_tx()
584 bq->q[bq->count++] = frame; in veth_xdp_tx()
939 bq, stats); in veth_xdp_rcv()
978 struct veth_xdp_tx_bq bq; in veth_poll() local
981 bq.count = 0; in veth_poll()
[all …]
/linux-6.3-rc2/arch/arm/boot/dts/
A Dmt6589-aquaris5.dts12 model = "bq Aquaris5";
13 compatible = "mundoreader,bq-aquaris5", "mediatek,mt6589";
A Drk3066a-bqcurie2.dts12 model = "bq Curie 2";
13 compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
A Drk3188-bqedison2qc.dts4 * Author: Heiko Stuebner <heiko.stuebner@bq.com>
15 compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188";
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.c511 struct xdp_frame_bulk *bq) in mlx5e_free_xdpsq_desc() argument
524 xdp_return_frame_bulk(xdpi.frame.xdpf, bq); in mlx5e_free_xdpsq_desc()
542 struct xdp_frame_bulk bq; in mlx5e_poll_xdpsq_cq() local
549 xdp_frame_bulk_init(&bq); in mlx5e_poll_xdpsq_cq()
582 mlx5e_free_xdpsq_desc(sq, wi, &xsk_frames, true, &bq); in mlx5e_poll_xdpsq_cq()
595 xdp_flush_frame_bulk(&bq); in mlx5e_poll_xdpsq_cq()
613 struct xdp_frame_bulk bq; in mlx5e_free_xdpsq_descs() local
616 xdp_frame_bulk_init(&bq); in mlx5e_free_xdpsq_descs()
629 mlx5e_free_xdpsq_desc(sq, wi, &xsk_frames, false, &bq); in mlx5e_free_xdpsq_descs()
632 xdp_flush_frame_bulk(&bq); in mlx5e_free_xdpsq_descs()
/linux-6.3-rc2/include/net/
A Dxdp.h197 static __always_inline void xdp_frame_bulk_init(struct xdp_frame_bulk *bq) in xdp_frame_bulk_init() argument
200 bq->xa = NULL; in xdp_frame_bulk_init()
316 void xdp_flush_frame_bulk(struct xdp_frame_bulk *bq);
318 struct xdp_frame_bulk *bq);
/linux-6.3-rc2/drivers/staging/qlge/
A Dqlge_main.c956 bq_desc = &bq->queue[bq->next_to_clean]; in qlge_get_curr_buf()
957 bq->next_to_clean = QLGE_BQ_WRAP(bq->next_to_clean + 1); in qlge_get_curr_buf()
1093 bq->next_to_use); in qlge_refill_bq()
1097 i = bq->next_to_use; in qlge_refill_bq()
1098 bq_desc = &bq->queue[i]; in qlge_refill_bq()
1105 if (bq->type == QLGE_SB) in qlge_refill_bq()
1134 bq->next_to_use = i; in qlge_refill_bq()
2795 if (!bq->base) in qlge_init_bq()
2800 if (!bq->queue) in qlge_init_bq()
2803 buf_ptr = bq->base; in qlge_init_bq()
[all …]
A Dqlge.h1437 #define QLGE_BQ_CONTAINER(bq) \ argument
1439 typeof(bq) _bq = bq; \
1452 #define QLGE_BQ_HW_OWNED(bq) \ argument
1454 typeof(bq) _bq = bq; \
/linux-6.3-rc2/Documentation/devicetree/bindings/display/panel/
A Dinnolux,ee101ia-01d.yaml10 - Heiko Stuebner <heiko.stuebner@bq.com>
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_fdma.c394 struct xdp_frame_bulk bq; in lan966x_fdma_tx_clear_buf() local
400 xdp_frame_bulk_init(&bq); in lan966x_fdma_tx_clear_buf()
433 xdp_return_frame_bulk(dcb_buf->data.xdpf, &bq); in lan966x_fdma_tx_clear_buf()
441 xdp_flush_frame_bulk(&bq); in lan966x_fdma_tx_clear_buf()
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/
A Drockchip.yaml73 - description: bq Curie 2 tablet
75 - const: mundoreader,bq-curie2
78 - description: bq Edison 2 Quad-Core tablet
80 - const: mundoreader,bq-edison2qc
A Dmediatek.yaml40 - mundoreader,bq-aquaris5
/linux-6.3-rc2/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.c1143 struct xdp_frame_bulk *bq, bool napi) in mtk_tx_unmap() argument
1186 else if (bq) in mtk_tx_unmap()
1187 xdp_return_frame_bulk(xdpf, bq); in mtk_tx_unmap()
2173 struct xdp_frame_bulk bq; in mtk_poll_tx_qdma() local
2181 xdp_frame_bulk_init(&bq); in mtk_poll_tx_qdma()
2205 mtk_tx_unmap(eth, tx_buf, &bq, true); in mtk_poll_tx_qdma()
2212 xdp_flush_frame_bulk(&bq); in mtk_poll_tx_qdma()
2225 struct xdp_frame_bulk bq; in mtk_poll_tx_pdma() local
2231 xdp_frame_bulk_init(&bq); in mtk_poll_tx_pdma()
2243 mtk_tx_unmap(eth, tx_buf, &bq, true); in mtk_poll_tx_pdma()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/socionext/
A Dnetsec.c638 struct xdp_frame_bulk bq; in netsec_clean_tx_dring() local
647 xdp_frame_bulk_init(&bq); in netsec_clean_tx_dring()
679 xdp_return_frame_bulk(desc->xdpf, &bq); in netsec_clean_tx_dring()
698 xdp_flush_frame_bulk(&bq); in netsec_clean_tx_dring()
/linux-6.3-rc2/drivers/net/ethernet/marvell/
A Dmvneta.c1867 struct xdp_frame_bulk bq; in mvneta_txq_bufs_free() local
1870 xdp_frame_bulk_init(&bq); in mvneta_txq_bufs_free()
1895 xdp_return_frame_bulk(buf->xdpf, &bq); in mvneta_txq_bufs_free()
1898 xdp_flush_frame_bulk(&bq); in mvneta_txq_bufs_free()

Completed in 97 milliseconds

12