Home
last modified time | relevance | path

Searched refs:num_pb (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/sound/xen/
H A Dxen_snd_front_cfg.c292 int *num_pb, int *num_cap) in cfg_get_stream_type()
298 *num_pb = 0; in cfg_get_stream_type()
315 (*num_pb)++; in cfg_get_stream_type()
391 int num_pb, num_cap; in cfg_device() local
428 ret = cfg_get_stream_type(device_path, i, &num_pb, &num_cap); in cfg_device()
432 pcm_instance->num_streams_pb += num_pb; in cfg_device()
291 cfg_get_stream_type(const char *path, int index, int *num_pb, int *num_cap) cfg_get_stream_type() argument
/kernel/linux/linux-6.6/sound/xen/
H A Dxen_snd_front_cfg.c292 int *num_pb, int *num_cap) in cfg_get_stream_type()
298 *num_pb = 0; in cfg_get_stream_type()
315 (*num_pb)++; in cfg_get_stream_type()
391 int num_pb, num_cap; in cfg_device() local
428 ret = cfg_get_stream_type(device_path, i, &num_pb, &num_cap); in cfg_device()
432 pcm_instance->num_streams_pb += num_pb; in cfg_device()
291 cfg_get_stream_type(const char *path, int index, int *num_pb, int *num_cap) cfg_get_stream_type() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3492 * @num_pb: number of packet buffers to allocate
3497 int num_pb, in ixgbe_set_rxpba_generic()
3508 if (!num_pb) in ixgbe_set_rxpba_generic()
3509 num_pb = 1; in ixgbe_set_rxpba_generic()
3519 rxpktsize = ((pbsize * 5 * 2) / (num_pb * 8)); in ixgbe_set_rxpba_generic()
3520 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic()
3522 for (; i < (num_pb / 2); i++) in ixgbe_set_rxpba_generic()
3527 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()
3528 for (; i < num_pb; i++) in ixgbe_set_rxpba_generic()
3540 txpktsize = IXGBE_TXPBSIZE_MAX / num_pb; in ixgbe_set_rxpba_generic()
3496 ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) ixgbe_set_rxpba_generic() argument
[all...]
H A Dixgbe_82598.c1079 * @num_pb: number of packet buffers to allocate
1083 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, in ixgbe_set_rxpba_82598() argument
1089 if (!num_pb) in ixgbe_set_rxpba_82598()
H A Dixgbe_common.h100 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb,
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3508 * @num_pb: number of packet buffers to allocate
3513 int num_pb, in ixgbe_set_rxpba_generic()
3524 if (!num_pb) in ixgbe_set_rxpba_generic()
3525 num_pb = 1; in ixgbe_set_rxpba_generic()
3535 rxpktsize = ((pbsize * 5 * 2) / (num_pb * 8)); in ixgbe_set_rxpba_generic()
3536 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic()
3538 for (; i < (num_pb / 2); i++) in ixgbe_set_rxpba_generic()
3543 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()
3544 for (; i < num_pb; i++) in ixgbe_set_rxpba_generic()
3556 txpktsize = IXGBE_TXPBSIZE_MAX / num_pb; in ixgbe_set_rxpba_generic()
3512 ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) ixgbe_set_rxpba_generic() argument
[all...]
H A Dixgbe_82598.c1079 * @num_pb: number of packet buffers to allocate
1083 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, in ixgbe_set_rxpba_82598() argument
1089 if (!num_pb) in ixgbe_set_rxpba_82598()
H A Dixgbe_common.h99 void ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb,

Completed in 13 milliseconds